Daily bump.
[official-gcc.git] / libstdc++-v3 / configure
blobacd8c6018ffcf31f7997216e43eeb8d581941568
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for package-unused version-unused.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
7 # Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18 emulate sh
19 NULLCMD=:
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24 else
25 case `(set -o) 2>/dev/null` in #(
26 *posix*) :
27 set -o posix ;; #(
28 *) :
30 esac
34 as_nl='
36 export as_nl
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45 as_echo='print -r --'
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo='printf %s\n'
49 as_echo_n='printf %s'
50 else
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
54 else
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56 as_echo_n_body='eval
57 arg=$1;
58 case $arg in #(
59 *"$as_nl"*)
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62 esac;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
65 export as_echo_n_body
66 as_echo_n='sh -c $as_echo_n_body as_echo'
68 export as_echo_body
69 as_echo='sh -c $as_echo_body as_echo'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
74 PATH_SEPARATOR=:
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77 PATH_SEPARATOR=';'
82 # IFS
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
87 IFS=" "" $as_nl"
89 # Find who we are. Look in the path if we contain no directory separator.
90 case $0 in #((
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
93 for as_dir in $PATH
95 IFS=$as_save_IFS
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
98 done
99 IFS=$as_save_IFS
102 esac
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x; then
106 as_myself=$0
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
110 exit 1
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\${$as_var+set} = xset \
119 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
120 done
121 PS1='$ '
122 PS2='> '
123 PS4='+ '
125 # NLS nuisances.
126 LC_ALL=C
127 export LC_ALL
128 LANGUAGE=C
129 export LANGUAGE
131 # CDPATH.
132 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
134 if test "x$CONFIG_SHELL" = x; then
135 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
136 emulate sh
137 NULLCMD=:
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
141 setopt NO_GLOB_SUBST
142 else
143 case \`(set -o) 2>/dev/null\` in #(
144 *posix*) :
145 set -o posix ;; #(
146 *) :
148 esac
151 as_required="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
157 exitcode=0
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
164 else
165 exitcode=1; echo positional parameters were not saved.
167 test x\$exitcode = x0 || exit 1"
168 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172 test \$(( 1 + 1 )) = 2 || exit 1
174 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
175 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
176 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
177 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
178 PATH=/empty FPATH=/empty; export PATH FPATH
179 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
180 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
181 if (eval "$as_required") 2>/dev/null; then :
182 as_have_required=yes
183 else
184 as_have_required=no
186 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
188 else
189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
190 as_found=false
191 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
193 IFS=$as_save_IFS
194 test -z "$as_dir" && as_dir=.
195 as_found=:
196 case $as_dir in #(
198 for as_base in sh bash ksh sh5; do
199 # Try only shells that exist, to save several forks.
200 as_shell=$as_dir/$as_base
201 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
202 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
203 CONFIG_SHELL=$as_shell as_have_required=yes
204 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
205 break 2
208 done;;
209 esac
210 as_found=false
211 done
212 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
213 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
214 CONFIG_SHELL=$SHELL as_have_required=yes
215 fi; }
216 IFS=$as_save_IFS
219 if test "x$CONFIG_SHELL" != x; then :
220 # We cannot yet assume a decent shell, so we have to provide a
221 # neutralization value for shells without unset; and this also
222 # works around shells that cannot unset nonexistent variables.
223 BASH_ENV=/dev/null
224 ENV=/dev/null
225 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
226 export CONFIG_SHELL
227 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
230 if test x$as_have_required = xno; then :
231 $as_echo "$0: This script requires a shell more modern than all"
232 $as_echo "$0: the shells that I found on your system."
233 if test x${ZSH_VERSION+set} = xset ; then
234 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
235 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
236 else
237 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
238 $0: including any error possibly output before this
239 $0: message. Then install a modern shell, or manually run
240 $0: the script under such a shell if you do have one."
242 exit 1
246 SHELL=${CONFIG_SHELL-/bin/sh}
247 export SHELL
248 # Unset more variables known to interfere with behavior of common tools.
249 CLICOLOR_FORCE= GREP_OPTIONS=
250 unset CLICOLOR_FORCE GREP_OPTIONS
252 ## --------------------- ##
253 ## M4sh Shell Functions. ##
254 ## --------------------- ##
255 # as_fn_unset VAR
256 # ---------------
257 # Portably unset VAR.
258 as_fn_unset ()
260 { eval $1=; unset $1;}
262 as_unset=as_fn_unset
264 # as_fn_set_status STATUS
265 # -----------------------
266 # Set $? to STATUS, without forking.
267 as_fn_set_status ()
269 return $1
270 } # as_fn_set_status
272 # as_fn_exit STATUS
273 # -----------------
274 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
275 as_fn_exit ()
277 set +e
278 as_fn_set_status $1
279 exit $1
280 } # as_fn_exit
282 # as_fn_mkdir_p
283 # -------------
284 # Create "$as_dir" as a directory, including parents if necessary.
285 as_fn_mkdir_p ()
288 case $as_dir in #(
289 -*) as_dir=./$as_dir;;
290 esac
291 test -d "$as_dir" || eval $as_mkdir_p || {
292 as_dirs=
293 while :; do
294 case $as_dir in #(
295 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
296 *) as_qdir=$as_dir;;
297 esac
298 as_dirs="'$as_qdir' $as_dirs"
299 as_dir=`$as_dirname -- "$as_dir" ||
300 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
301 X"$as_dir" : 'X\(//\)[^/]' \| \
302 X"$as_dir" : 'X\(//\)$' \| \
303 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
304 $as_echo X"$as_dir" |
305 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
306 s//\1/
309 /^X\(\/\/\)[^/].*/{
310 s//\1/
313 /^X\(\/\/\)$/{
314 s//\1/
317 /^X\(\/\).*/{
318 s//\1/
321 s/.*/./; q'`
322 test -d "$as_dir" && break
323 done
324 test -z "$as_dirs" || eval "mkdir $as_dirs"
325 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
328 } # as_fn_mkdir_p
329 # as_fn_append VAR VALUE
330 # ----------------------
331 # Append the text in VALUE to the end of the definition contained in VAR. Take
332 # advantage of any shell optimizations that allow amortized linear growth over
333 # repeated appends, instead of the typical quadratic growth present in naive
334 # implementations.
335 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
336 eval 'as_fn_append ()
338 eval $1+=\$2
340 else
341 as_fn_append ()
343 eval $1=\$$1\$2
345 fi # as_fn_append
347 # as_fn_arith ARG...
348 # ------------------
349 # Perform arithmetic evaluation on the ARGs, and store the result in the
350 # global $as_val. Take advantage of shells that can avoid forks. The arguments
351 # must be portable across $(()) and expr.
352 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
353 eval 'as_fn_arith ()
355 as_val=$(( $* ))
357 else
358 as_fn_arith ()
360 as_val=`expr "$@" || test $? -eq 1`
362 fi # as_fn_arith
365 # as_fn_error ERROR [LINENO LOG_FD]
366 # ---------------------------------
367 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
368 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
369 # script with status $?, using 1 if that was 0.
370 as_fn_error ()
372 as_status=$?; test $as_status -eq 0 && as_status=1
373 if test "$3"; then
374 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
375 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
377 $as_echo "$as_me: error: $1" >&2
378 as_fn_exit $as_status
379 } # as_fn_error
381 if expr a : '\(a\)' >/dev/null 2>&1 &&
382 test "X`expr 00001 : '.*\(...\)'`" = X001; then
383 as_expr=expr
384 else
385 as_expr=false
388 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
389 as_basename=basename
390 else
391 as_basename=false
394 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
395 as_dirname=dirname
396 else
397 as_dirname=false
400 as_me=`$as_basename -- "$0" ||
401 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
402 X"$0" : 'X\(//\)$' \| \
403 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
404 $as_echo X/"$0" |
405 sed '/^.*\/\([^/][^/]*\)\/*$/{
406 s//\1/
409 /^X\/\(\/\/\)$/{
410 s//\1/
413 /^X\/\(\/\).*/{
414 s//\1/
417 s/.*/./; q'`
419 # Avoid depending upon Character Ranges.
420 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
421 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
422 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
423 as_cr_digits='0123456789'
424 as_cr_alnum=$as_cr_Letters$as_cr_digits
427 as_lineno_1=$LINENO as_lineno_1a=$LINENO
428 as_lineno_2=$LINENO as_lineno_2a=$LINENO
429 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
430 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
431 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
432 sed -n '
434 /[$]LINENO/=
435 ' <$as_myself |
436 sed '
437 s/[$]LINENO.*/&-/
438 t lineno
440 :lineno
442 :loop
443 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
444 t loop
445 s/-\n.*//
446 ' >$as_me.lineno &&
447 chmod +x "$as_me.lineno" ||
448 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
450 # Don't try to exec as it changes $[0], causing all sort of problems
451 # (the dirname of $[0] is not the place where we might find the
452 # original and so on. Autoconf is especially sensitive to this).
453 . "./$as_me.lineno"
454 # Exit status is that of the last command.
455 exit
458 ECHO_C= ECHO_N= ECHO_T=
459 case `echo -n x` in #(((((
460 -n*)
461 case `echo 'xy\c'` in
462 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
463 xy) ECHO_C='\c';;
464 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
465 ECHO_T=' ';;
466 esac;;
468 ECHO_N='-n';;
469 esac
471 rm -f conf$$ conf$$.exe conf$$.file
472 if test -d conf$$.dir; then
473 rm -f conf$$.dir/conf$$.file
474 else
475 rm -f conf$$.dir
476 mkdir conf$$.dir 2>/dev/null
478 if (echo >conf$$.file) 2>/dev/null; then
479 if ln -s conf$$.file conf$$ 2>/dev/null; then
480 as_ln_s='ln -s'
481 # ... but there are two gotchas:
482 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
483 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
484 # In both cases, we have to default to `cp -p'.
485 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
486 as_ln_s='cp -p'
487 elif ln conf$$.file conf$$ 2>/dev/null; then
488 as_ln_s=ln
489 else
490 as_ln_s='cp -p'
492 else
493 as_ln_s='cp -p'
495 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
496 rmdir conf$$.dir 2>/dev/null
498 if mkdir -p . 2>/dev/null; then
499 as_mkdir_p='mkdir -p "$as_dir"'
500 else
501 test -d ./-p && rmdir ./-p
502 as_mkdir_p=false
505 if test -x / >/dev/null 2>&1; then
506 as_test_x='test -x'
507 else
508 if ls -dL / >/dev/null 2>&1; then
509 as_ls_L_option=L
510 else
511 as_ls_L_option=
513 as_test_x='
514 eval sh -c '\''
515 if test -d "$1"; then
516 test -d "$1/.";
517 else
518 case $1 in #(
519 -*)set "./$1";;
520 esac;
521 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
522 ???[sx]*):;;*)false;;esac;fi
523 '\'' sh
526 as_executable_p=$as_test_x
528 # Sed expression to map a string onto a valid CPP name.
529 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
531 # Sed expression to map a string onto a valid variable name.
532 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
534 SHELL=${CONFIG_SHELL-/bin/sh}
537 exec 7<&0 </dev/null 6>&1
539 # Name of the host.
540 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
541 # so uname gets run too.
542 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
545 # Initializations.
547 ac_default_prefix=/usr/local
548 ac_clean_files=
549 ac_config_libobj_dir=.
550 LIBOBJS=
551 cross_compiling=no
552 subdirs=
553 MFLAGS=
554 MAKEFLAGS=
556 # Identity of this package.
557 PACKAGE_NAME='package-unused'
558 PACKAGE_TARNAME='libstdc++'
559 PACKAGE_VERSION='version-unused'
560 PACKAGE_STRING='package-unused version-unused'
561 PACKAGE_BUGREPORT=''
562 PACKAGE_URL=''
564 ac_unique_file="src/shared/hashtable-aux.cc"
565 # Factoring default headers for most tests.
566 ac_includes_default="\
567 #include <stdio.h>
568 #ifdef HAVE_SYS_TYPES_H
569 # include <sys/types.h>
570 #endif
571 #ifdef HAVE_SYS_STAT_H
572 # include <sys/stat.h>
573 #endif
574 #ifdef STDC_HEADERS
575 # include <stdlib.h>
576 # include <stddef.h>
577 #else
578 # ifdef HAVE_STDLIB_H
579 # include <stdlib.h>
580 # endif
581 #endif
582 #ifdef HAVE_STRING_H
583 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
584 # include <memory.h>
585 # endif
586 # include <string.h>
587 #endif
588 #ifdef HAVE_STRINGS_H
589 # include <strings.h>
590 #endif
591 #ifdef HAVE_INTTYPES_H
592 # include <inttypes.h>
593 #endif
594 #ifdef HAVE_STDINT_H
595 # include <stdint.h>
596 #endif
597 #ifdef HAVE_UNISTD_H
598 # include <unistd.h>
599 #endif"
601 ac_subst_vars='am__EXEEXT_FALSE
602 am__EXEEXT_TRUE
603 LTLIBOBJS
604 LIBOBJS
605 WARN_FLAGS
606 OPTIMIZE_CXXFLAGS
607 TOPLEVEL_INCLUDES
608 GLIBCXX_INCLUDES
609 glibcxx_toolexeclibdir
610 glibcxx_toolexecdir
611 gxx_include_dir
612 glibcxx_prefixdir
613 CPU_OPT_BITS_RANDOM
614 CPU_OPT_EXT_RANDOM
615 ERROR_CONSTANTS_SRCDIR
616 OS_INC_SRCDIR
617 ABI_TWEAKS_SRCDIR
618 CPU_DEFINES_SRCDIR
619 ATOMIC_FLAGS
620 ATOMIC_WORD_SRCDIR
621 ATOMICITY_SRCDIR
622 BUILD_PDF_FALSE
623 BUILD_PDF_TRUE
624 PDFLATEX
625 DBLATEX
626 BUILD_MAN_FALSE
627 BUILD_MAN_TRUE
628 BUILD_HTML_FALSE
629 BUILD_HTML_TRUE
630 BUILD_XML_FALSE
631 BUILD_XML_TRUE
632 BUILD_EPUB_FALSE
633 BUILD_EPUB_TRUE
634 XSL_STYLE_DIR
635 XMLLINT
636 XSLTPROC
638 DOXYGEN
639 BUILD_INFO_FALSE
640 BUILD_INFO_TRUE
641 baseline_subdir_switch
642 baseline_dir
643 HWCAP_FLAGS
644 GLIBCXX_LDBL_COMPAT_FALSE
645 GLIBCXX_LDBL_COMPAT_TRUE
646 ENABLE_CXX11_ABI_FALSE
647 ENABLE_CXX11_ABI_TRUE
648 glibcxx_cxx98_abi
649 ENABLE_DUAL_ABI_FALSE
650 ENABLE_DUAL_ABI_TRUE
651 ENABLE_VISIBILITY_FALSE
652 ENABLE_VISIBILITY_TRUE
653 libtool_VERSION
654 ENABLE_SYMVERS_SUN_FALSE
655 ENABLE_SYMVERS_SUN_TRUE
656 ENABLE_SYMVERS_DARWIN_FALSE
657 ENABLE_SYMVERS_DARWIN_TRUE
658 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE
659 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE
660 ENABLE_SYMVERS_GNU_FALSE
661 ENABLE_SYMVERS_GNU_TRUE
662 ENABLE_SYMVERS_FALSE
663 ENABLE_SYMVERS_TRUE
664 port_specific_symbol_files
665 SYMVER_FILE
666 CXXFILT
667 LTLIBICONV
668 LIBICONV
669 OPT_LDFLAGS
670 SECTION_LDFLAGS
671 GLIBCXX_LIBS
672 ENABLE_VTABLE_VERIFY_FALSE
673 ENABLE_VTABLE_VERIFY_TRUE
674 VTV_CYGMIN_FALSE
675 VTV_CYGMIN_TRUE
676 VTV_CXXLINKFLAGS
677 VTV_PCH_CXXFLAGS
678 VTV_CXXFLAGS
679 ENABLE_WERROR_FALSE
680 ENABLE_WERROR_TRUE
681 ENABLE_PYTHONDIR_FALSE
682 ENABLE_PYTHONDIR_TRUE
683 python_mod_dir
684 ENABLE_EXTERN_TEMPLATE_FALSE
685 ENABLE_EXTERN_TEMPLATE_TRUE
686 EXTRA_CXX_FLAGS
687 GLIBCXX_BUILD_DEBUG_FALSE
688 GLIBCXX_BUILD_DEBUG_TRUE
689 DEBUG_FLAGS
690 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE
691 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE
692 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE
693 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE
694 GLIBCXX_C_HEADERS_C_STD_FALSE
695 GLIBCXX_C_HEADERS_C_STD_TRUE
696 GLIBCXX_C_HEADERS_C_FALSE
697 GLIBCXX_C_HEADERS_C_TRUE
698 C_INCLUDE_DIR
699 ALLOCATOR_NAME
700 ALLOCATOR_H
701 CLOCALE_INTERNAL_H
702 CLOCALE_CC
703 CTIME_CC
704 CTIME_H
705 CNUMERIC_CC
706 CMONEY_CC
707 CMESSAGES_CC
708 CCTYPE_CC
709 CCOLLATE_CC
710 CCODECVT_CC
711 CMESSAGES_H
712 CLOCALE_H
713 USE_NLS
714 glibcxx_localedir
715 glibcxx_POFILES
716 glibcxx_MOFILES
717 check_msgfmt
718 BASIC_FILE_CC
719 BASIC_FILE_H
720 CSTDIO_H
721 SECTION_FLAGS
722 WERROR
723 thread_header
724 glibcxx_PCHFLAGS
725 GLIBCXX_BUILD_PCH_FALSE
726 GLIBCXX_BUILD_PCH_TRUE
727 GLIBCXX_HOSTED_FALSE
728 GLIBCXX_HOSTED_TRUE
729 glibcxx_compiler_shared_flag
730 glibcxx_compiler_pic_flag
731 glibcxx_lt_pic_flag
732 enable_static
733 enable_shared
734 lt_host_flags
735 CXXCPP
736 OTOOL64
737 OTOOL
738 LIPO
739 NMEDIT
740 DSYMUTIL
741 OBJDUMP
743 ac_ct_DUMPBIN
744 DUMPBIN
746 FGREP
748 LIBTOOL
749 EGREP
750 GREP
752 MAINT
753 MAINTAINER_MODE_FALSE
754 MAINTAINER_MODE_TRUE
755 RANLIB
758 LN_S
759 toplevel_srcdir
760 toplevel_builddir
761 glibcxx_srcdir
762 glibcxx_builddir
763 ac_ct_CXX
764 CXXFLAGS
766 OBJEXT
767 EXEEXT
768 ac_ct_CC
769 CPPFLAGS
770 LDFLAGS
771 CFLAGS
773 am__untar
774 am__tar
775 AMTAR
776 am__leading_dot
777 SET_MAKE
779 mkdir_p
780 MKDIR_P
781 INSTALL_STRIP_PROGRAM
782 STRIP
783 install_sh
784 MAKEINFO
785 AUTOHEADER
786 AUTOMAKE
787 AUTOCONF
788 ACLOCAL
789 VERSION
790 PACKAGE
791 CYGPATH_W
792 am__isrc
793 INSTALL_DATA
794 INSTALL_SCRIPT
795 INSTALL_PROGRAM
796 target_os
797 target_vendor
798 target_cpu
799 target
800 host_os
801 host_vendor
802 host_cpu
803 host
804 build_os
805 build_vendor
806 build_cpu
807 build
808 multi_basedir
809 target_alias
810 host_alias
811 build_alias
812 LIBS
813 ECHO_T
814 ECHO_N
815 ECHO_C
816 DEFS
817 mandir
818 localedir
819 libdir
820 psdir
821 pdfdir
822 dvidir
823 htmldir
824 infodir
825 docdir
826 oldincludedir
827 includedir
828 localstatedir
829 sharedstatedir
830 sysconfdir
831 datadir
832 datarootdir
833 libexecdir
834 sbindir
835 bindir
836 program_transform_name
837 prefix
838 exec_prefix
839 PACKAGE_URL
840 PACKAGE_BUGREPORT
841 PACKAGE_STRING
842 PACKAGE_VERSION
843 PACKAGE_TARNAME
844 PACKAGE_NAME
845 PATH_SEPARATOR
846 SHELL'
847 ac_subst_files=''
848 ac_user_opts='
849 enable_option_checking
850 enable_multilib
851 with_target_subdir
852 with_cross_host
853 with_newlib
854 enable_maintainer_mode
855 enable_shared
856 enable_static
857 with_pic
858 enable_fast_install
859 with_gnu_ld
860 enable_libtool_lock
861 enable_hosted_libstdcxx
862 enable_libstdcxx_verbose
863 enable_sjlj_exceptions
864 enable_libstdcxx_pch
865 enable_cstdio
866 enable_clocale
867 enable_nls
868 enable_libstdcxx_allocator
869 enable_cheaders
870 enable_long_long
871 enable_wchar_t
872 enable_c99
873 enable_concept_checks
874 enable_libstdcxx_debug_flags
875 enable_libstdcxx_debug
876 enable_cxx_flags
877 enable_fully_dynamic_string
878 enable_extern_template
879 with_python_dir
880 enable_werror
881 enable_vtable_verify
882 enable_libstdcxx_time
883 enable_tls
884 enable_rpath
885 with_libiconv_prefix
886 with_system_libunwind
887 enable_linux_futex
888 enable_symvers
889 enable_libstdcxx_visibility
890 enable_libstdcxx_dual_abi
891 with_default_libstdcxx_abi
892 enable_libstdcxx_threads
893 with_gxx_include_dir
894 enable_version_specific_runtime_libs
896 ac_precious_vars='build_alias
897 host_alias
898 target_alias
900 CFLAGS
901 LDFLAGS
902 LIBS
903 CPPFLAGS
905 CXXFLAGS
908 CXXCPP
909 CXXFILT'
912 # Initialize some variables set by options.
913 ac_init_help=
914 ac_init_version=false
915 ac_unrecognized_opts=
916 ac_unrecognized_sep=
917 # The variables have the same names as the options, with
918 # dashes changed to underlines.
919 cache_file=/dev/null
920 exec_prefix=NONE
921 no_create=
922 no_recursion=
923 prefix=NONE
924 program_prefix=NONE
925 program_suffix=NONE
926 program_transform_name=s,x,x,
927 silent=
928 site=
929 srcdir=
930 verbose=
931 x_includes=NONE
932 x_libraries=NONE
934 # Installation directory options.
935 # These are left unexpanded so users can "make install exec_prefix=/foo"
936 # and all the variables that are supposed to be based on exec_prefix
937 # by default will actually change.
938 # Use braces instead of parens because sh, perl, etc. also accept them.
939 # (The list follows the same order as the GNU Coding Standards.)
940 bindir='${exec_prefix}/bin'
941 sbindir='${exec_prefix}/sbin'
942 libexecdir='${exec_prefix}/libexec'
943 datarootdir='${prefix}/share'
944 datadir='${datarootdir}'
945 sysconfdir='${prefix}/etc'
946 sharedstatedir='${prefix}/com'
947 localstatedir='${prefix}/var'
948 includedir='${prefix}/include'
949 oldincludedir='/usr/include'
950 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
951 infodir='${datarootdir}/info'
952 htmldir='${docdir}'
953 dvidir='${docdir}'
954 pdfdir='${docdir}'
955 psdir='${docdir}'
956 libdir='${exec_prefix}/lib'
957 localedir='${datarootdir}/locale'
958 mandir='${datarootdir}/man'
960 ac_prev=
961 ac_dashdash=
962 for ac_option
964 # If the previous option needs an argument, assign it.
965 if test -n "$ac_prev"; then
966 eval $ac_prev=\$ac_option
967 ac_prev=
968 continue
971 case $ac_option in
972 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
973 *) ac_optarg=yes ;;
974 esac
976 # Accept the important Cygnus configure options, so we can diagnose typos.
978 case $ac_dashdash$ac_option in
980 ac_dashdash=yes ;;
982 -bindir | --bindir | --bindi | --bind | --bin | --bi)
983 ac_prev=bindir ;;
984 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
985 bindir=$ac_optarg ;;
987 -build | --build | --buil | --bui | --bu)
988 ac_prev=build_alias ;;
989 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
990 build_alias=$ac_optarg ;;
992 -cache-file | --cache-file | --cache-fil | --cache-fi \
993 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
994 ac_prev=cache_file ;;
995 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
996 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
997 cache_file=$ac_optarg ;;
999 --config-cache | -C)
1000 cache_file=config.cache ;;
1002 -datadir | --datadir | --datadi | --datad)
1003 ac_prev=datadir ;;
1004 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1005 datadir=$ac_optarg ;;
1007 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1008 | --dataroo | --dataro | --datar)
1009 ac_prev=datarootdir ;;
1010 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1011 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1012 datarootdir=$ac_optarg ;;
1014 -disable-* | --disable-*)
1015 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1016 # Reject names that are not valid shell variable names.
1017 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1018 as_fn_error "invalid feature name: $ac_useropt"
1019 ac_useropt_orig=$ac_useropt
1020 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1021 case $ac_user_opts in
1023 "enable_$ac_useropt"
1024 "*) ;;
1025 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1026 ac_unrecognized_sep=', ';;
1027 esac
1028 eval enable_$ac_useropt=no ;;
1030 -docdir | --docdir | --docdi | --doc | --do)
1031 ac_prev=docdir ;;
1032 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1033 docdir=$ac_optarg ;;
1035 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1036 ac_prev=dvidir ;;
1037 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1038 dvidir=$ac_optarg ;;
1040 -enable-* | --enable-*)
1041 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1042 # Reject names that are not valid shell variable names.
1043 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1044 as_fn_error "invalid feature name: $ac_useropt"
1045 ac_useropt_orig=$ac_useropt
1046 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1047 case $ac_user_opts in
1049 "enable_$ac_useropt"
1050 "*) ;;
1051 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1052 ac_unrecognized_sep=', ';;
1053 esac
1054 eval enable_$ac_useropt=\$ac_optarg ;;
1056 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1057 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1058 | --exec | --exe | --ex)
1059 ac_prev=exec_prefix ;;
1060 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1061 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1062 | --exec=* | --exe=* | --ex=*)
1063 exec_prefix=$ac_optarg ;;
1065 -gas | --gas | --ga | --g)
1066 # Obsolete; use --with-gas.
1067 with_gas=yes ;;
1069 -help | --help | --hel | --he | -h)
1070 ac_init_help=long ;;
1071 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1072 ac_init_help=recursive ;;
1073 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1074 ac_init_help=short ;;
1076 -host | --host | --hos | --ho)
1077 ac_prev=host_alias ;;
1078 -host=* | --host=* | --hos=* | --ho=*)
1079 host_alias=$ac_optarg ;;
1081 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1082 ac_prev=htmldir ;;
1083 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1084 | --ht=*)
1085 htmldir=$ac_optarg ;;
1087 -includedir | --includedir | --includedi | --included | --include \
1088 | --includ | --inclu | --incl | --inc)
1089 ac_prev=includedir ;;
1090 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1091 | --includ=* | --inclu=* | --incl=* | --inc=*)
1092 includedir=$ac_optarg ;;
1094 -infodir | --infodir | --infodi | --infod | --info | --inf)
1095 ac_prev=infodir ;;
1096 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1097 infodir=$ac_optarg ;;
1099 -libdir | --libdir | --libdi | --libd)
1100 ac_prev=libdir ;;
1101 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1102 libdir=$ac_optarg ;;
1104 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1105 | --libexe | --libex | --libe)
1106 ac_prev=libexecdir ;;
1107 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1108 | --libexe=* | --libex=* | --libe=*)
1109 libexecdir=$ac_optarg ;;
1111 -localedir | --localedir | --localedi | --localed | --locale)
1112 ac_prev=localedir ;;
1113 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1114 localedir=$ac_optarg ;;
1116 -localstatedir | --localstatedir | --localstatedi | --localstated \
1117 | --localstate | --localstat | --localsta | --localst | --locals)
1118 ac_prev=localstatedir ;;
1119 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1120 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1121 localstatedir=$ac_optarg ;;
1123 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1124 ac_prev=mandir ;;
1125 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1126 mandir=$ac_optarg ;;
1128 -nfp | --nfp | --nf)
1129 # Obsolete; use --without-fp.
1130 with_fp=no ;;
1132 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1133 | --no-cr | --no-c | -n)
1134 no_create=yes ;;
1136 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1137 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1138 no_recursion=yes ;;
1140 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1141 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1142 | --oldin | --oldi | --old | --ol | --o)
1143 ac_prev=oldincludedir ;;
1144 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1145 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1146 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1147 oldincludedir=$ac_optarg ;;
1149 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1150 ac_prev=prefix ;;
1151 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1152 prefix=$ac_optarg ;;
1154 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1155 | --program-pre | --program-pr | --program-p)
1156 ac_prev=program_prefix ;;
1157 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1158 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1159 program_prefix=$ac_optarg ;;
1161 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1162 | --program-suf | --program-su | --program-s)
1163 ac_prev=program_suffix ;;
1164 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1165 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1166 program_suffix=$ac_optarg ;;
1168 -program-transform-name | --program-transform-name \
1169 | --program-transform-nam | --program-transform-na \
1170 | --program-transform-n | --program-transform- \
1171 | --program-transform | --program-transfor \
1172 | --program-transfo | --program-transf \
1173 | --program-trans | --program-tran \
1174 | --progr-tra | --program-tr | --program-t)
1175 ac_prev=program_transform_name ;;
1176 -program-transform-name=* | --program-transform-name=* \
1177 | --program-transform-nam=* | --program-transform-na=* \
1178 | --program-transform-n=* | --program-transform-=* \
1179 | --program-transform=* | --program-transfor=* \
1180 | --program-transfo=* | --program-transf=* \
1181 | --program-trans=* | --program-tran=* \
1182 | --progr-tra=* | --program-tr=* | --program-t=*)
1183 program_transform_name=$ac_optarg ;;
1185 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1186 ac_prev=pdfdir ;;
1187 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1188 pdfdir=$ac_optarg ;;
1190 -psdir | --psdir | --psdi | --psd | --ps)
1191 ac_prev=psdir ;;
1192 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1193 psdir=$ac_optarg ;;
1195 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1196 | -silent | --silent | --silen | --sile | --sil)
1197 silent=yes ;;
1199 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1200 ac_prev=sbindir ;;
1201 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1202 | --sbi=* | --sb=*)
1203 sbindir=$ac_optarg ;;
1205 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1206 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1207 | --sharedst | --shareds | --shared | --share | --shar \
1208 | --sha | --sh)
1209 ac_prev=sharedstatedir ;;
1210 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1211 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1212 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1213 | --sha=* | --sh=*)
1214 sharedstatedir=$ac_optarg ;;
1216 -site | --site | --sit)
1217 ac_prev=site ;;
1218 -site=* | --site=* | --sit=*)
1219 site=$ac_optarg ;;
1221 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1222 ac_prev=srcdir ;;
1223 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1224 srcdir=$ac_optarg ;;
1226 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1227 | --syscon | --sysco | --sysc | --sys | --sy)
1228 ac_prev=sysconfdir ;;
1229 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1230 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1231 sysconfdir=$ac_optarg ;;
1233 -target | --target | --targe | --targ | --tar | --ta | --t)
1234 ac_prev=target_alias ;;
1235 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1236 target_alias=$ac_optarg ;;
1238 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1239 verbose=yes ;;
1241 -version | --version | --versio | --versi | --vers | -V)
1242 ac_init_version=: ;;
1244 -with-* | --with-*)
1245 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1246 # Reject names that are not valid shell variable names.
1247 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1248 as_fn_error "invalid package name: $ac_useropt"
1249 ac_useropt_orig=$ac_useropt
1250 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1251 case $ac_user_opts in
1253 "with_$ac_useropt"
1254 "*) ;;
1255 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1256 ac_unrecognized_sep=', ';;
1257 esac
1258 eval with_$ac_useropt=\$ac_optarg ;;
1260 -without-* | --without-*)
1261 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1262 # Reject names that are not valid shell variable names.
1263 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1264 as_fn_error "invalid package name: $ac_useropt"
1265 ac_useropt_orig=$ac_useropt
1266 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1267 case $ac_user_opts in
1269 "with_$ac_useropt"
1270 "*) ;;
1271 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1272 ac_unrecognized_sep=', ';;
1273 esac
1274 eval with_$ac_useropt=no ;;
1276 --x)
1277 # Obsolete; use --with-x.
1278 with_x=yes ;;
1280 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1281 | --x-incl | --x-inc | --x-in | --x-i)
1282 ac_prev=x_includes ;;
1283 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1284 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1285 x_includes=$ac_optarg ;;
1287 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1288 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1289 ac_prev=x_libraries ;;
1290 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1291 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1292 x_libraries=$ac_optarg ;;
1294 -*) as_fn_error "unrecognized option: \`$ac_option'
1295 Try \`$0 --help' for more information."
1298 *=*)
1299 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1300 # Reject names that are not valid shell variable names.
1301 case $ac_envvar in #(
1302 '' | [0-9]* | *[!_$as_cr_alnum]* )
1303 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1304 esac
1305 eval $ac_envvar=\$ac_optarg
1306 export $ac_envvar ;;
1309 # FIXME: should be removed in autoconf 3.0.
1310 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1311 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1312 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1313 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1316 esac
1317 done
1319 if test -n "$ac_prev"; then
1320 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1321 as_fn_error "missing argument to $ac_option"
1324 if test -n "$ac_unrecognized_opts"; then
1325 case $enable_option_checking in
1326 no) ;;
1327 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1328 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1329 esac
1332 # Check all directory arguments for consistency.
1333 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1334 datadir sysconfdir sharedstatedir localstatedir includedir \
1335 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1336 libdir localedir mandir
1338 eval ac_val=\$$ac_var
1339 # Remove trailing slashes.
1340 case $ac_val in
1341 */ )
1342 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1343 eval $ac_var=\$ac_val;;
1344 esac
1345 # Be sure to have absolute directory names.
1346 case $ac_val in
1347 [\\/$]* | ?:[\\/]* ) continue;;
1348 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1349 esac
1350 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1351 done
1353 # There might be people who depend on the old broken behavior: `$host'
1354 # used to hold the argument of --host etc.
1355 # FIXME: To remove some day.
1356 build=$build_alias
1357 host=$host_alias
1358 target=$target_alias
1360 # FIXME: To remove some day.
1361 if test "x$host_alias" != x; then
1362 if test "x$build_alias" = x; then
1363 cross_compiling=maybe
1364 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1365 If a cross compiler is detected then cross compile mode will be used." >&2
1366 elif test "x$build_alias" != "x$host_alias"; then
1367 cross_compiling=yes
1371 ac_tool_prefix=
1372 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1374 test "$silent" = yes && exec 6>/dev/null
1377 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1378 ac_ls_di=`ls -di .` &&
1379 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1380 as_fn_error "working directory cannot be determined"
1381 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1382 as_fn_error "pwd does not report name of working directory"
1385 # Find the source files, if location was not specified.
1386 if test -z "$srcdir"; then
1387 ac_srcdir_defaulted=yes
1388 # Try the directory containing this script, then the parent directory.
1389 ac_confdir=`$as_dirname -- "$as_myself" ||
1390 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1391 X"$as_myself" : 'X\(//\)[^/]' \| \
1392 X"$as_myself" : 'X\(//\)$' \| \
1393 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1394 $as_echo X"$as_myself" |
1395 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1396 s//\1/
1399 /^X\(\/\/\)[^/].*/{
1400 s//\1/
1403 /^X\(\/\/\)$/{
1404 s//\1/
1407 /^X\(\/\).*/{
1408 s//\1/
1411 s/.*/./; q'`
1412 srcdir=$ac_confdir
1413 if test ! -r "$srcdir/$ac_unique_file"; then
1414 srcdir=..
1416 else
1417 ac_srcdir_defaulted=no
1419 if test ! -r "$srcdir/$ac_unique_file"; then
1420 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1421 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1423 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1424 ac_abs_confdir=`(
1425 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1426 pwd)`
1427 # When building in place, set srcdir=.
1428 if test "$ac_abs_confdir" = "$ac_pwd"; then
1429 srcdir=.
1431 # Remove unnecessary trailing slashes from srcdir.
1432 # Double slashes in file names in object file debugging info
1433 # mess up M-x gdb in Emacs.
1434 case $srcdir in
1435 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1436 esac
1437 for ac_var in $ac_precious_vars; do
1438 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1439 eval ac_env_${ac_var}_value=\$${ac_var}
1440 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1441 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1442 done
1445 # Report the --help message.
1447 if test "$ac_init_help" = "long"; then
1448 # Omit some internal or obsolete options to make the list less imposing.
1449 # This message is too long to be a string in the A/UX 3.1 sh.
1450 cat <<_ACEOF
1451 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1453 Usage: $0 [OPTION]... [VAR=VALUE]...
1455 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1456 VAR=VALUE. See below for descriptions of some of the useful variables.
1458 Defaults for the options are specified in brackets.
1460 Configuration:
1461 -h, --help display this help and exit
1462 --help=short display options specific to this package
1463 --help=recursive display the short help of all the included packages
1464 -V, --version display version information and exit
1465 -q, --quiet, --silent do not print \`checking...' messages
1466 --cache-file=FILE cache test results in FILE [disabled]
1467 -C, --config-cache alias for \`--cache-file=config.cache'
1468 -n, --no-create do not create output files
1469 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1471 Installation directories:
1472 --prefix=PREFIX install architecture-independent files in PREFIX
1473 [$ac_default_prefix]
1474 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1475 [PREFIX]
1477 By default, \`make install' will install all the files in
1478 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1479 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1480 for instance \`--prefix=\$HOME'.
1482 For better control, use the options below.
1484 Fine tuning of the installation directories:
1485 --bindir=DIR user executables [EPREFIX/bin]
1486 --sbindir=DIR system admin executables [EPREFIX/sbin]
1487 --libexecdir=DIR program executables [EPREFIX/libexec]
1488 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1489 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1490 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1491 --libdir=DIR object code libraries [EPREFIX/lib]
1492 --includedir=DIR C header files [PREFIX/include]
1493 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1494 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1495 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1496 --infodir=DIR info documentation [DATAROOTDIR/info]
1497 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1498 --mandir=DIR man documentation [DATAROOTDIR/man]
1499 --docdir=DIR documentation root [DATAROOTDIR/doc/libstdc++]
1500 --htmldir=DIR html documentation [DOCDIR]
1501 --dvidir=DIR dvi documentation [DOCDIR]
1502 --pdfdir=DIR pdf documentation [DOCDIR]
1503 --psdir=DIR ps documentation [DOCDIR]
1504 _ACEOF
1506 cat <<\_ACEOF
1508 Program names:
1509 --program-prefix=PREFIX prepend PREFIX to installed program names
1510 --program-suffix=SUFFIX append SUFFIX to installed program names
1511 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1513 System types:
1514 --build=BUILD configure for building on BUILD [guessed]
1515 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1516 --target=TARGET configure for building compilers for TARGET [HOST]
1517 _ACEOF
1520 if test -n "$ac_init_help"; then
1521 case $ac_init_help in
1522 short | recursive ) echo "Configuration of package-unused version-unused:";;
1523 esac
1524 cat <<\_ACEOF
1526 Optional Features:
1527 --disable-option-checking ignore unrecognized --enable/--with options
1528 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1529 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1530 --enable-multilib build many library versions (default)
1531 --enable-maintainer-mode enable make rules and dependencies not useful
1532 (and sometimes confusing) to the casual installer
1533 --enable-shared[=PKGS] build shared libraries [default=yes]
1534 --enable-static[=PKGS] build static libraries [default=yes]
1535 --enable-fast-install[=PKGS]
1536 optimize for fast installation [default=yes]
1537 --disable-libtool-lock avoid locking (might break parallel builds)
1538 --disable-hosted-libstdcxx
1539 only build freestanding C++ runtime support
1540 --disable-libstdcxx-verbose
1541 disable termination messages to standard error
1542 --enable-sjlj-exceptions
1543 force use of builtin_setjmp for exceptions
1544 [default=auto]
1545 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
1546 [default=$is_hosted]
1547 --enable-cstdio[=PACKAGE]
1548 use target-specific I/O package [default=stdio]
1549 --enable-clocale[=MODEL]
1550 use MODEL for target locale package [default=auto]
1551 --enable-nls use Native Language Support (default)
1552 --enable-libstdcxx-allocator[=KIND]
1553 use KIND for target std::allocator base
1554 [default=auto]
1555 --enable-cheaders[=KIND]
1556 construct "C" headers for g++ [default=$c_model]
1557 --enable-long-long enable template specializations for 'long long'
1558 [default=yes]
1559 --enable-wchar_t enable template specializations for 'wchar_t'
1560 [default=yes]
1561 --enable-c99 turns on ISO/IEC 9899:1999 support [default=yes]
1562 --enable-concept-checks use Boost-derived template checks [default=no]
1563 --enable-libstdcxx-debug-flags=FLAGS
1564 pass compiler FLAGS when building debug library
1565 [default="-gdwarf-4 -g3 -O0"]
1566 --enable-libstdcxx-debug
1567 build extra debug library [default=no]
1568 --enable-cxx-flags=FLAGS
1569 pass compiler FLAGS when building library [default=]
1570 --enable-fully-dynamic-string
1571 do not put empty strings in per-process static
1572 memory [default=no]
1573 --enable-extern-template
1574 enable extern template [default=yes]
1575 --enable-werror turns on -Werror [default=yes]
1576 --enable-vtable-verify enable vtable verify [default=no]
1577 --enable-libstdcxx-time[=KIND]
1578 use KIND for check type [default=auto]
1579 --enable-tls Use thread-local storage [default=yes]
1580 --disable-rpath do not hardcode runtime library paths
1581 --enable-linux-futex use the Linux futex system call [default=default]
1582 --enable-symvers[=STYLE]
1583 enables symbol versioning of the shared library
1584 [default=yes]
1585 --enable-libstdcxx-visibility
1586 enables visibility safe usage [default=yes]
1587 --enable-libstdcxx-dual-abi
1588 support two versions of std::string [default=yes]
1589 --enable-libstdcxx-threads
1590 enable C++11 threads support [default=auto]
1591 --enable-version-specific-runtime-libs
1592 Specify that runtime libraries should be installed
1593 in a compiler-specific directory
1595 Optional Packages:
1596 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1597 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1598 --with-target-subdir=SUBDIR
1599 configuring in a subdirectory
1600 --with-cross-host=HOST configuring with a cross compiler
1601 --with-newlib assume newlib as a system C library
1602 --with-pic try to use only PIC/non-PIC objects [default=use
1603 both]
1604 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1605 --with-python-dir the location to install Python modules. This path is
1606 relative starting from the prefix.
1607 --with-gnu-ld assume the C compiler uses GNU ld default=no
1608 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1609 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1610 --with-system-libunwind use installed libunwind
1611 --with-default-libstdcxx-abi
1612 set the std::string ABI to use by default
1613 --with-gxx-include-dir=DIR
1614 installation directory for include files
1616 Some influential environment variables:
1617 CC C compiler command
1618 CFLAGS C compiler flags
1619 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1620 nonstandard directory <lib dir>
1621 LIBS libraries to pass to the linker, e.g. -l<library>
1622 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1623 you have headers in a nonstandard directory <include dir>
1624 CXX C++ compiler command
1625 CXXFLAGS C++ compiler flags
1626 CPP C preprocessor
1627 CXXCPP C++ preprocessor
1628 CXXFILT Location of GNU c++filt. Defaults to the first GNU version of
1629 `c++filt', `gc++filt' on PATH.
1631 Use these variables to override the choices made by `configure' or to help
1632 it to find libraries and programs with nonstandard names/locations.
1634 Report bugs to the package provider.
1635 _ACEOF
1636 ac_status=$?
1639 if test "$ac_init_help" = "recursive"; then
1640 # If there are subdirs, report their specific --help.
1641 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1642 test -d "$ac_dir" ||
1643 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1644 continue
1645 ac_builddir=.
1647 case "$ac_dir" in
1648 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1650 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1651 # A ".." for each directory in $ac_dir_suffix.
1652 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1653 case $ac_top_builddir_sub in
1654 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1655 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1656 esac ;;
1657 esac
1658 ac_abs_top_builddir=$ac_pwd
1659 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1660 # for backward compatibility:
1661 ac_top_builddir=$ac_top_build_prefix
1663 case $srcdir in
1664 .) # We are building in place.
1665 ac_srcdir=.
1666 ac_top_srcdir=$ac_top_builddir_sub
1667 ac_abs_top_srcdir=$ac_pwd ;;
1668 [\\/]* | ?:[\\/]* ) # Absolute name.
1669 ac_srcdir=$srcdir$ac_dir_suffix;
1670 ac_top_srcdir=$srcdir
1671 ac_abs_top_srcdir=$srcdir ;;
1672 *) # Relative name.
1673 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1674 ac_top_srcdir=$ac_top_build_prefix$srcdir
1675 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1676 esac
1677 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1679 cd "$ac_dir" || { ac_status=$?; continue; }
1680 # Check for guested configure.
1681 if test -f "$ac_srcdir/configure.gnu"; then
1682 echo &&
1683 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1684 elif test -f "$ac_srcdir/configure"; then
1685 echo &&
1686 $SHELL "$ac_srcdir/configure" --help=recursive
1687 else
1688 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1689 fi || ac_status=$?
1690 cd "$ac_pwd" || { ac_status=$?; break; }
1691 done
1694 test -n "$ac_init_help" && exit $ac_status
1695 if $ac_init_version; then
1696 cat <<\_ACEOF
1697 package-unused configure version-unused
1698 generated by GNU Autoconf 2.64
1700 Copyright (C) 2009 Free Software Foundation, Inc.
1701 This configure script is free software; the Free Software Foundation
1702 gives unlimited permission to copy, distribute and modify it.
1703 _ACEOF
1704 exit
1707 ## ------------------------ ##
1708 ## Autoconf initialization. ##
1709 ## ------------------------ ##
1711 # ac_fn_c_try_compile LINENO
1712 # --------------------------
1713 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1714 ac_fn_c_try_compile ()
1716 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1717 rm -f conftest.$ac_objext
1718 if { { ac_try="$ac_compile"
1719 case "(($ac_try" in
1720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1721 *) ac_try_echo=$ac_try;;
1722 esac
1723 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1724 $as_echo "$ac_try_echo"; } >&5
1725 (eval "$ac_compile") 2>conftest.err
1726 ac_status=$?
1727 if test -s conftest.err; then
1728 grep -v '^ *+' conftest.err >conftest.er1
1729 cat conftest.er1 >&5
1730 mv -f conftest.er1 conftest.err
1732 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1733 test $ac_status = 0; } && {
1734 test -z "$ac_c_werror_flag" ||
1735 test ! -s conftest.err
1736 } && test -s conftest.$ac_objext; then :
1737 ac_retval=0
1738 else
1739 $as_echo "$as_me: failed program was:" >&5
1740 sed 's/^/| /' conftest.$ac_ext >&5
1742 ac_retval=1
1744 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1745 return $ac_retval
1747 } # ac_fn_c_try_compile
1749 # ac_fn_cxx_try_compile LINENO
1750 # ----------------------------
1751 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1752 ac_fn_cxx_try_compile ()
1754 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1755 rm -f conftest.$ac_objext
1756 if { { ac_try="$ac_compile"
1757 case "(($ac_try" in
1758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1759 *) ac_try_echo=$ac_try;;
1760 esac
1761 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1762 $as_echo "$ac_try_echo"; } >&5
1763 (eval "$ac_compile") 2>conftest.err
1764 ac_status=$?
1765 if test -s conftest.err; then
1766 grep -v '^ *+' conftest.err >conftest.er1
1767 cat conftest.er1 >&5
1768 mv -f conftest.er1 conftest.err
1770 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1771 test $ac_status = 0; } && {
1772 test -z "$ac_cxx_werror_flag" ||
1773 test ! -s conftest.err
1774 } && test -s conftest.$ac_objext; then :
1775 ac_retval=0
1776 else
1777 $as_echo "$as_me: failed program was:" >&5
1778 sed 's/^/| /' conftest.$ac_ext >&5
1780 ac_retval=1
1782 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1783 return $ac_retval
1785 } # ac_fn_cxx_try_compile
1787 # ac_fn_c_try_cpp LINENO
1788 # ----------------------
1789 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1790 ac_fn_c_try_cpp ()
1792 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1793 if { { ac_try="$ac_cpp conftest.$ac_ext"
1794 case "(($ac_try" in
1795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1796 *) ac_try_echo=$ac_try;;
1797 esac
1798 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1799 $as_echo "$ac_try_echo"; } >&5
1800 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1801 ac_status=$?
1802 if test -s conftest.err; then
1803 grep -v '^ *+' conftest.err >conftest.er1
1804 cat conftest.er1 >&5
1805 mv -f conftest.er1 conftest.err
1807 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1808 test $ac_status = 0; } >/dev/null && {
1809 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1810 test ! -s conftest.err
1811 }; then :
1812 ac_retval=0
1813 else
1814 $as_echo "$as_me: failed program was:" >&5
1815 sed 's/^/| /' conftest.$ac_ext >&5
1817 ac_retval=1
1819 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1820 return $ac_retval
1822 } # ac_fn_c_try_cpp
1824 # ac_fn_c_try_link LINENO
1825 # -----------------------
1826 # Try to link conftest.$ac_ext, and return whether this succeeded.
1827 ac_fn_c_try_link ()
1829 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1830 rm -f conftest.$ac_objext conftest$ac_exeext
1831 if { { ac_try="$ac_link"
1832 case "(($ac_try" in
1833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1834 *) ac_try_echo=$ac_try;;
1835 esac
1836 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1837 $as_echo "$ac_try_echo"; } >&5
1838 (eval "$ac_link") 2>conftest.err
1839 ac_status=$?
1840 if test -s conftest.err; then
1841 grep -v '^ *+' conftest.err >conftest.er1
1842 cat conftest.er1 >&5
1843 mv -f conftest.er1 conftest.err
1845 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1846 test $ac_status = 0; } && {
1847 test -z "$ac_c_werror_flag" ||
1848 test ! -s conftest.err
1849 } && test -s conftest$ac_exeext && {
1850 test "$cross_compiling" = yes ||
1851 $as_test_x conftest$ac_exeext
1852 }; then :
1853 ac_retval=0
1854 else
1855 $as_echo "$as_me: failed program was:" >&5
1856 sed 's/^/| /' conftest.$ac_ext >&5
1858 ac_retval=1
1860 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1861 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1862 # interfere with the next link command; also delete a directory that is
1863 # left behind by Apple's compiler. We do this before executing the actions.
1864 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1865 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1866 return $ac_retval
1868 } # ac_fn_c_try_link
1870 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1871 # -------------------------------------------------------
1872 # Tests whether HEADER exists and can be compiled using the include files in
1873 # INCLUDES, setting the cache variable VAR accordingly.
1874 ac_fn_c_check_header_compile ()
1876 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1878 $as_echo_n "checking for $2... " >&6; }
1879 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1880 $as_echo_n "(cached) " >&6
1881 else
1882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1883 /* end confdefs.h. */
1885 #include <$2>
1886 _ACEOF
1887 if ac_fn_c_try_compile "$LINENO"; then :
1888 eval "$3=yes"
1889 else
1890 eval "$3=no"
1892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1894 eval ac_res=\$$3
1895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1896 $as_echo "$ac_res" >&6; }
1897 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1899 } # ac_fn_c_check_header_compile
1901 # ac_fn_c_try_run LINENO
1902 # ----------------------
1903 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1904 # that executables *can* be run.
1905 ac_fn_c_try_run ()
1907 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1908 if { { ac_try="$ac_link"
1909 case "(($ac_try" in
1910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1911 *) ac_try_echo=$ac_try;;
1912 esac
1913 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1914 $as_echo "$ac_try_echo"; } >&5
1915 (eval "$ac_link") 2>&5
1916 ac_status=$?
1917 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1918 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1919 { { case "(($ac_try" in
1920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1921 *) ac_try_echo=$ac_try;;
1922 esac
1923 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1924 $as_echo "$ac_try_echo"; } >&5
1925 (eval "$ac_try") 2>&5
1926 ac_status=$?
1927 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1928 test $ac_status = 0; }; }; then :
1929 ac_retval=0
1930 else
1931 $as_echo "$as_me: program exited with status $ac_status" >&5
1932 $as_echo "$as_me: failed program was:" >&5
1933 sed 's/^/| /' conftest.$ac_ext >&5
1935 ac_retval=$ac_status
1937 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1938 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1939 return $ac_retval
1941 } # ac_fn_c_try_run
1943 # ac_fn_c_check_func LINENO FUNC VAR
1944 # ----------------------------------
1945 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1946 ac_fn_c_check_func ()
1948 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1950 $as_echo_n "checking for $2... " >&6; }
1951 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1952 $as_echo_n "(cached) " >&6
1953 else
1954 if test x$gcc_no_link = xyes; then
1955 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1958 /* end confdefs.h. */
1959 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1960 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1961 #define $2 innocuous_$2
1963 /* System header to define __stub macros and hopefully few prototypes,
1964 which can conflict with char $2 (); below.
1965 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1966 <limits.h> exists even on freestanding compilers. */
1968 #ifdef __STDC__
1969 # include <limits.h>
1970 #else
1971 # include <assert.h>
1972 #endif
1974 #undef $2
1976 /* Override any GCC internal prototype to avoid an error.
1977 Use char because int might match the return type of a GCC
1978 builtin and then its argument prototype would still apply. */
1979 #ifdef __cplusplus
1980 extern "C"
1981 #endif
1982 char $2 ();
1983 /* The GNU C library defines this for functions which it implements
1984 to always fail with ENOSYS. Some functions are actually named
1985 something starting with __ and the normal name is an alias. */
1986 #if defined __stub_$2 || defined __stub___$2
1987 choke me
1988 #endif
1991 main ()
1993 return $2 ();
1995 return 0;
1997 _ACEOF
1998 if ac_fn_c_try_link "$LINENO"; then :
1999 eval "$3=yes"
2000 else
2001 eval "$3=no"
2003 rm -f core conftest.err conftest.$ac_objext \
2004 conftest$ac_exeext conftest.$ac_ext
2006 eval ac_res=\$$3
2007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2008 $as_echo "$ac_res" >&6; }
2009 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2011 } # ac_fn_c_check_func
2013 # ac_fn_cxx_try_cpp LINENO
2014 # ------------------------
2015 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2016 ac_fn_cxx_try_cpp ()
2018 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2019 if { { ac_try="$ac_cpp conftest.$ac_ext"
2020 case "(($ac_try" in
2021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2022 *) ac_try_echo=$ac_try;;
2023 esac
2024 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2025 $as_echo "$ac_try_echo"; } >&5
2026 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2027 ac_status=$?
2028 if test -s conftest.err; then
2029 grep -v '^ *+' conftest.err >conftest.er1
2030 cat conftest.er1 >&5
2031 mv -f conftest.er1 conftest.err
2033 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2034 test $ac_status = 0; } >/dev/null && {
2035 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2036 test ! -s conftest.err
2037 }; then :
2038 ac_retval=0
2039 else
2040 $as_echo "$as_me: failed program was:" >&5
2041 sed 's/^/| /' conftest.$ac_ext >&5
2043 ac_retval=1
2045 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2046 return $ac_retval
2048 } # ac_fn_cxx_try_cpp
2050 # ac_fn_cxx_try_link LINENO
2051 # -------------------------
2052 # Try to link conftest.$ac_ext, and return whether this succeeded.
2053 ac_fn_cxx_try_link ()
2055 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2056 rm -f conftest.$ac_objext conftest$ac_exeext
2057 if { { ac_try="$ac_link"
2058 case "(($ac_try" in
2059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2060 *) ac_try_echo=$ac_try;;
2061 esac
2062 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2063 $as_echo "$ac_try_echo"; } >&5
2064 (eval "$ac_link") 2>conftest.err
2065 ac_status=$?
2066 if test -s conftest.err; then
2067 grep -v '^ *+' conftest.err >conftest.er1
2068 cat conftest.er1 >&5
2069 mv -f conftest.er1 conftest.err
2071 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2072 test $ac_status = 0; } && {
2073 test -z "$ac_cxx_werror_flag" ||
2074 test ! -s conftest.err
2075 } && test -s conftest$ac_exeext && {
2076 test "$cross_compiling" = yes ||
2077 $as_test_x conftest$ac_exeext
2078 }; then :
2079 ac_retval=0
2080 else
2081 $as_echo "$as_me: failed program was:" >&5
2082 sed 's/^/| /' conftest.$ac_ext >&5
2084 ac_retval=1
2086 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2087 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2088 # interfere with the next link command; also delete a directory that is
2089 # left behind by Apple's compiler. We do this before executing the actions.
2090 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2091 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2092 return $ac_retval
2094 } # ac_fn_cxx_try_link
2096 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2097 # -------------------------------------------------------
2098 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2099 # the include files in INCLUDES and setting the cache variable VAR
2100 # accordingly.
2101 ac_fn_c_check_header_mongrel ()
2103 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2104 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2106 $as_echo_n "checking for $2... " >&6; }
2107 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2108 $as_echo_n "(cached) " >&6
2110 eval ac_res=\$$3
2111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2112 $as_echo "$ac_res" >&6; }
2113 else
2114 # Is the header compilable?
2115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2116 $as_echo_n "checking $2 usability... " >&6; }
2117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2118 /* end confdefs.h. */
2120 #include <$2>
2121 _ACEOF
2122 if ac_fn_c_try_compile "$LINENO"; then :
2123 ac_header_compiler=yes
2124 else
2125 ac_header_compiler=no
2127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2129 $as_echo "$ac_header_compiler" >&6; }
2131 # Is the header present?
2132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2133 $as_echo_n "checking $2 presence... " >&6; }
2134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2135 /* end confdefs.h. */
2136 #include <$2>
2137 _ACEOF
2138 if ac_fn_c_try_cpp "$LINENO"; then :
2139 ac_header_preproc=yes
2140 else
2141 ac_header_preproc=no
2143 rm -f conftest.err conftest.$ac_ext
2144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2145 $as_echo "$ac_header_preproc" >&6; }
2147 # So? What about this header?
2148 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2149 yes:no: )
2150 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2151 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2152 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2153 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2155 no:yes:* )
2156 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2157 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2158 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2159 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2160 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2161 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2162 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2163 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2164 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2165 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2167 esac
2168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2169 $as_echo_n "checking for $2... " >&6; }
2170 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2171 $as_echo_n "(cached) " >&6
2172 else
2173 eval "$3=\$ac_header_compiler"
2175 eval ac_res=\$$3
2176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2177 $as_echo "$ac_res" >&6; }
2179 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2181 } # ac_fn_c_check_header_mongrel
2183 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2184 # ---------------------------------------------------------
2185 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2186 # the include files in INCLUDES and setting the cache variable VAR
2187 # accordingly.
2188 ac_fn_cxx_check_header_mongrel ()
2190 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2191 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2193 $as_echo_n "checking for $2... " >&6; }
2194 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2195 $as_echo_n "(cached) " >&6
2197 eval ac_res=\$$3
2198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2199 $as_echo "$ac_res" >&6; }
2200 else
2201 # Is the header compilable?
2202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2203 $as_echo_n "checking $2 usability... " >&6; }
2204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2205 /* end confdefs.h. */
2207 #include <$2>
2208 _ACEOF
2209 if ac_fn_cxx_try_compile "$LINENO"; then :
2210 ac_header_compiler=yes
2211 else
2212 ac_header_compiler=no
2214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2216 $as_echo "$ac_header_compiler" >&6; }
2218 # Is the header present?
2219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2220 $as_echo_n "checking $2 presence... " >&6; }
2221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2222 /* end confdefs.h. */
2223 #include <$2>
2224 _ACEOF
2225 if ac_fn_cxx_try_cpp "$LINENO"; then :
2226 ac_header_preproc=yes
2227 else
2228 ac_header_preproc=no
2230 rm -f conftest.err conftest.$ac_ext
2231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2232 $as_echo "$ac_header_preproc" >&6; }
2234 # So? What about this header?
2235 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2236 yes:no: )
2237 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2238 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2239 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2240 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2242 no:yes:* )
2243 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2244 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2245 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2246 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2247 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2248 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2249 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2250 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2251 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2252 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2254 esac
2255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2256 $as_echo_n "checking for $2... " >&6; }
2257 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2258 $as_echo_n "(cached) " >&6
2259 else
2260 eval "$3=\$ac_header_compiler"
2262 eval ac_res=\$$3
2263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2264 $as_echo "$ac_res" >&6; }
2266 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2268 } # ac_fn_cxx_check_header_mongrel
2270 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2271 # --------------------------------------------
2272 # Tries to find the compile-time value of EXPR in a program that includes
2273 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2274 # computed
2275 ac_fn_c_compute_int ()
2277 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2278 if test "$cross_compiling" = yes; then
2279 # Depending upon the size, compute the lo and hi bounds.
2280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2281 /* end confdefs.h. */
2284 main ()
2286 static int test_array [1 - 2 * !(($2) >= 0)];
2287 test_array [0] = 0
2290 return 0;
2292 _ACEOF
2293 if ac_fn_c_try_compile "$LINENO"; then :
2294 ac_lo=0 ac_mid=0
2295 while :; do
2296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2297 /* end confdefs.h. */
2300 main ()
2302 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2303 test_array [0] = 0
2306 return 0;
2308 _ACEOF
2309 if ac_fn_c_try_compile "$LINENO"; then :
2310 ac_hi=$ac_mid; break
2311 else
2312 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2313 if test $ac_lo -le $ac_mid; then
2314 ac_lo= ac_hi=
2315 break
2317 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2320 done
2321 else
2322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2323 /* end confdefs.h. */
2326 main ()
2328 static int test_array [1 - 2 * !(($2) < 0)];
2329 test_array [0] = 0
2332 return 0;
2334 _ACEOF
2335 if ac_fn_c_try_compile "$LINENO"; then :
2336 ac_hi=-1 ac_mid=-1
2337 while :; do
2338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2339 /* end confdefs.h. */
2342 main ()
2344 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2345 test_array [0] = 0
2348 return 0;
2350 _ACEOF
2351 if ac_fn_c_try_compile "$LINENO"; then :
2352 ac_lo=$ac_mid; break
2353 else
2354 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2355 if test $ac_mid -le $ac_hi; then
2356 ac_lo= ac_hi=
2357 break
2359 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2362 done
2363 else
2364 ac_lo= ac_hi=
2366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2369 # Binary search between lo and hi bounds.
2370 while test "x$ac_lo" != "x$ac_hi"; do
2371 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2373 /* end confdefs.h. */
2376 main ()
2378 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2379 test_array [0] = 0
2382 return 0;
2384 _ACEOF
2385 if ac_fn_c_try_compile "$LINENO"; then :
2386 ac_hi=$ac_mid
2387 else
2388 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2391 done
2392 case $ac_lo in #((
2393 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2394 '') ac_retval=1 ;;
2395 esac
2396 else
2397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2398 /* end confdefs.h. */
2400 static long int longval () { return $2; }
2401 static unsigned long int ulongval () { return $2; }
2402 #include <stdio.h>
2403 #include <stdlib.h>
2405 main ()
2408 FILE *f = fopen ("conftest.val", "w");
2409 if (! f)
2410 return 1;
2411 if (($2) < 0)
2413 long int i = longval ();
2414 if (i != ($2))
2415 return 1;
2416 fprintf (f, "%ld", i);
2418 else
2420 unsigned long int i = ulongval ();
2421 if (i != ($2))
2422 return 1;
2423 fprintf (f, "%lu", i);
2425 /* Do not output a trailing newline, as this causes \r\n confusion
2426 on some platforms. */
2427 return ferror (f) || fclose (f) != 0;
2430 return 0;
2432 _ACEOF
2433 if ac_fn_c_try_run "$LINENO"; then :
2434 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2435 else
2436 ac_retval=1
2438 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2439 conftest.$ac_objext conftest.beam conftest.$ac_ext
2440 rm -f conftest.val
2443 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2444 return $ac_retval
2446 } # ac_fn_c_compute_int
2448 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2449 # -------------------------------------------
2450 # Tests whether TYPE exists after having included INCLUDES, setting cache
2451 # variable VAR accordingly.
2452 ac_fn_c_check_type ()
2454 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2456 $as_echo_n "checking for $2... " >&6; }
2457 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2458 $as_echo_n "(cached) " >&6
2459 else
2460 eval "$3=no"
2461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2462 /* end confdefs.h. */
2465 main ()
2467 if (sizeof ($2))
2468 return 0;
2470 return 0;
2472 _ACEOF
2473 if ac_fn_c_try_compile "$LINENO"; then :
2474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2475 /* end confdefs.h. */
2478 main ()
2480 if (sizeof (($2)))
2481 return 0;
2483 return 0;
2485 _ACEOF
2486 if ac_fn_c_try_compile "$LINENO"; then :
2488 else
2489 eval "$3=yes"
2491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2495 eval ac_res=\$$3
2496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2497 $as_echo "$ac_res" >&6; }
2498 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2500 } # ac_fn_c_check_type
2501 cat >config.log <<_ACEOF
2502 This file contains any messages produced by compilers while
2503 running configure, to aid debugging if configure makes a mistake.
2505 It was created by package-unused $as_me version-unused, which was
2506 generated by GNU Autoconf 2.64. Invocation command line was
2508 $ $0 $@
2510 _ACEOF
2511 exec 5>>config.log
2513 cat <<_ASUNAME
2514 ## --------- ##
2515 ## Platform. ##
2516 ## --------- ##
2518 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2519 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2520 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2521 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2522 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2524 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2525 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2527 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2528 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2529 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2530 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2531 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2532 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2533 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2535 _ASUNAME
2537 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2538 for as_dir in $PATH
2540 IFS=$as_save_IFS
2541 test -z "$as_dir" && as_dir=.
2542 $as_echo "PATH: $as_dir"
2543 done
2544 IFS=$as_save_IFS
2546 } >&5
2548 cat >&5 <<_ACEOF
2551 ## ----------- ##
2552 ## Core tests. ##
2553 ## ----------- ##
2555 _ACEOF
2558 # Keep a trace of the command line.
2559 # Strip out --no-create and --no-recursion so they do not pile up.
2560 # Strip out --silent because we don't want to record it for future runs.
2561 # Also quote any args containing shell meta-characters.
2562 # Make two passes to allow for proper duplicate-argument suppression.
2563 ac_configure_args=
2564 ac_configure_args0=
2565 ac_configure_args1=
2566 ac_must_keep_next=false
2567 for ac_pass in 1 2
2569 for ac_arg
2571 case $ac_arg in
2572 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2573 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2574 | -silent | --silent | --silen | --sile | --sil)
2575 continue ;;
2576 *\'*)
2577 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2578 esac
2579 case $ac_pass in
2580 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2582 as_fn_append ac_configure_args1 " '$ac_arg'"
2583 if test $ac_must_keep_next = true; then
2584 ac_must_keep_next=false # Got value, back to normal.
2585 else
2586 case $ac_arg in
2587 *=* | --config-cache | -C | -disable-* | --disable-* \
2588 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2589 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2590 | -with-* | --with-* | -without-* | --without-* | --x)
2591 case "$ac_configure_args0 " in
2592 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2593 esac
2595 -* ) ac_must_keep_next=true ;;
2596 esac
2598 as_fn_append ac_configure_args " '$ac_arg'"
2600 esac
2601 done
2602 done
2603 { ac_configure_args0=; unset ac_configure_args0;}
2604 { ac_configure_args1=; unset ac_configure_args1;}
2606 # When interrupted or exit'd, cleanup temporary files, and complete
2607 # config.log. We remove comments because anyway the quotes in there
2608 # would cause problems or look ugly.
2609 # WARNING: Use '\'' to represent an apostrophe within the trap.
2610 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2611 trap 'exit_status=$?
2612 # Save into config.log some information that might help in debugging.
2614 echo
2616 cat <<\_ASBOX
2617 ## ---------------- ##
2618 ## Cache variables. ##
2619 ## ---------------- ##
2620 _ASBOX
2621 echo
2622 # The following way of writing the cache mishandles newlines in values,
2624 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2625 eval ac_val=\$$ac_var
2626 case $ac_val in #(
2627 *${as_nl}*)
2628 case $ac_var in #(
2629 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2630 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2631 esac
2632 case $ac_var in #(
2633 _ | IFS | as_nl) ;; #(
2634 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2635 *) { eval $ac_var=; unset $ac_var;} ;;
2636 esac ;;
2637 esac
2638 done
2639 (set) 2>&1 |
2640 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2641 *${as_nl}ac_space=\ *)
2642 sed -n \
2643 "s/'\''/'\''\\\\'\'''\''/g;
2644 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2645 ;; #(
2647 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2649 esac |
2650 sort
2652 echo
2654 cat <<\_ASBOX
2655 ## ----------------- ##
2656 ## Output variables. ##
2657 ## ----------------- ##
2658 _ASBOX
2659 echo
2660 for ac_var in $ac_subst_vars
2662 eval ac_val=\$$ac_var
2663 case $ac_val in
2664 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2665 esac
2666 $as_echo "$ac_var='\''$ac_val'\''"
2667 done | sort
2668 echo
2670 if test -n "$ac_subst_files"; then
2671 cat <<\_ASBOX
2672 ## ------------------- ##
2673 ## File substitutions. ##
2674 ## ------------------- ##
2675 _ASBOX
2676 echo
2677 for ac_var in $ac_subst_files
2679 eval ac_val=\$$ac_var
2680 case $ac_val in
2681 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2682 esac
2683 $as_echo "$ac_var='\''$ac_val'\''"
2684 done | sort
2685 echo
2688 if test -s confdefs.h; then
2689 cat <<\_ASBOX
2690 ## ----------- ##
2691 ## confdefs.h. ##
2692 ## ----------- ##
2693 _ASBOX
2694 echo
2695 cat confdefs.h
2696 echo
2698 test "$ac_signal" != 0 &&
2699 $as_echo "$as_me: caught signal $ac_signal"
2700 $as_echo "$as_me: exit $exit_status"
2701 } >&5
2702 rm -f core *.core core.conftest.* &&
2703 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2704 exit $exit_status
2706 for ac_signal in 1 2 13 15; do
2707 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2708 done
2709 ac_signal=0
2711 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2712 rm -f -r conftest* confdefs.h
2714 $as_echo "/* confdefs.h */" > confdefs.h
2716 # Predefined preprocessor variables.
2718 cat >>confdefs.h <<_ACEOF
2719 #define PACKAGE_NAME "$PACKAGE_NAME"
2720 _ACEOF
2722 cat >>confdefs.h <<_ACEOF
2723 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2724 _ACEOF
2726 cat >>confdefs.h <<_ACEOF
2727 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2728 _ACEOF
2730 cat >>confdefs.h <<_ACEOF
2731 #define PACKAGE_STRING "$PACKAGE_STRING"
2732 _ACEOF
2734 cat >>confdefs.h <<_ACEOF
2735 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2736 _ACEOF
2738 cat >>confdefs.h <<_ACEOF
2739 #define PACKAGE_URL "$PACKAGE_URL"
2740 _ACEOF
2743 # Let the site file select an alternate cache file if it wants to.
2744 # Prefer an explicitly selected file to automatically selected ones.
2745 ac_site_file1=NONE
2746 ac_site_file2=NONE
2747 if test -n "$CONFIG_SITE"; then
2748 ac_site_file1=$CONFIG_SITE
2749 elif test "x$prefix" != xNONE; then
2750 ac_site_file1=$prefix/share/config.site
2751 ac_site_file2=$prefix/etc/config.site
2752 else
2753 ac_site_file1=$ac_default_prefix/share/config.site
2754 ac_site_file2=$ac_default_prefix/etc/config.site
2756 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2758 test "x$ac_site_file" = xNONE && continue
2759 if test -r "$ac_site_file"; then
2760 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2761 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2762 sed 's/^/| /' "$ac_site_file" >&5
2763 . "$ac_site_file"
2765 done
2767 if test -r "$cache_file"; then
2768 # Some versions of bash will fail to source /dev/null (special
2769 # files actually), so we avoid doing that.
2770 if test -f "$cache_file"; then
2771 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2772 $as_echo "$as_me: loading cache $cache_file" >&6;}
2773 case $cache_file in
2774 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2775 *) . "./$cache_file";;
2776 esac
2778 else
2779 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2780 $as_echo "$as_me: creating cache $cache_file" >&6;}
2781 >$cache_file
2784 # Check that the precious variables saved in the cache have kept the same
2785 # value.
2786 ac_cache_corrupted=false
2787 for ac_var in $ac_precious_vars; do
2788 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2789 eval ac_new_set=\$ac_env_${ac_var}_set
2790 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2791 eval ac_new_val=\$ac_env_${ac_var}_value
2792 case $ac_old_set,$ac_new_set in
2793 set,)
2794 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2795 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2796 ac_cache_corrupted=: ;;
2797 ,set)
2798 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2799 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2800 ac_cache_corrupted=: ;;
2801 ,);;
2803 if test "x$ac_old_val" != "x$ac_new_val"; then
2804 # differences in whitespace do not lead to failure.
2805 ac_old_val_w=`echo x $ac_old_val`
2806 ac_new_val_w=`echo x $ac_new_val`
2807 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2808 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2809 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2810 ac_cache_corrupted=:
2811 else
2812 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2813 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2814 eval $ac_var=\$ac_old_val
2816 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2817 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2818 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2819 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2820 fi;;
2821 esac
2822 # Pass precious variables to config.status.
2823 if test "$ac_new_set" = set; then
2824 case $ac_new_val in
2825 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2826 *) ac_arg=$ac_var=$ac_new_val ;;
2827 esac
2828 case " $ac_configure_args " in
2829 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2830 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2831 esac
2833 done
2834 if $ac_cache_corrupted; then
2835 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2836 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2837 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2838 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2839 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2841 ## -------------------- ##
2842 ## Main body of script. ##
2843 ## -------------------- ##
2845 ac_ext=c
2846 ac_cpp='$CPP $CPPFLAGS'
2847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2856 ac_config_headers="$ac_config_headers config.h"
2859 # This works around the fact that libtool configuration may change LD
2860 # for this particular configuration, but some shells, instead of
2861 # keeping the changes in LD private, export them just because LD is
2862 # exported. Only used at the end of this file.
2863 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
2865 # Find the rest of the source tree framework.
2866 # Default to --enable-multilib
2867 # Check whether --enable-multilib was given.
2868 if test "${enable_multilib+set}" = set; then :
2869 enableval=$enable_multilib; case "$enableval" in
2870 yes) multilib=yes ;;
2871 no) multilib=no ;;
2872 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2873 esac
2874 else
2875 multilib=yes
2879 # We may get other options which we leave undocumented:
2880 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2881 # See config-ml.in if you want the gory details.
2883 if test "$srcdir" = "."; then
2884 if test "$with_target_subdir" != "."; then
2885 multi_basedir="$srcdir/$with_multisrctop../.."
2886 else
2887 multi_basedir="$srcdir/$with_multisrctop.."
2889 else
2890 multi_basedir="$srcdir/.."
2894 # Even if the default multilib is not a cross compilation,
2895 # it may be that some of the other multilibs are.
2896 if test $cross_compiling = no && test $multilib = yes \
2897 && test "x${with_multisubdir}" != x ; then
2898 cross_compiling=maybe
2901 ac_config_commands="$ac_config_commands default-1"
2904 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2906 # You will slowly go insane if you do not grok the following fact: when
2907 # building v3 as part of the compiler, the top-level /target/ becomes the
2908 # library's /host/. configure then causes --target to default to --host,
2909 # exactly like any other package using autoconf. Therefore, 'target' and
2910 # 'host' will always be the same. This makes sense both for native and
2911 # cross compilers, just think about it for a little while. :-)
2913 # Also, if v3 is being configured as part of a cross compiler, the top-level
2914 # configure script will pass the "real" host as $with_cross_host.
2916 # Do not delete or change the following two lines. For why, see
2917 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2918 ac_aux_dir=
2919 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2920 for ac_t in install-sh install.sh shtool; do
2921 if test -f "$ac_dir/$ac_t"; then
2922 ac_aux_dir=$ac_dir
2923 ac_install_sh="$ac_aux_dir/$ac_t -c"
2924 break 2
2926 done
2927 done
2928 if test -z "$ac_aux_dir"; then
2929 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2932 # These three variables are undocumented and unsupported,
2933 # and are intended to be withdrawn in a future Autoconf release.
2934 # They can cause serious problems if a builder's source tree is in a directory
2935 # whose full name contains unusual characters.
2936 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2937 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2938 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2941 # Make sure we can run config.sub.
2942 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2943 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2946 $as_echo_n "checking build system type... " >&6; }
2947 if test "${ac_cv_build+set}" = set; then :
2948 $as_echo_n "(cached) " >&6
2949 else
2950 ac_build_alias=$build_alias
2951 test "x$ac_build_alias" = x &&
2952 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2953 test "x$ac_build_alias" = x &&
2954 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2955 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2956 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2960 $as_echo "$ac_cv_build" >&6; }
2961 case $ac_cv_build in
2962 *-*-*) ;;
2963 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2964 esac
2965 build=$ac_cv_build
2966 ac_save_IFS=$IFS; IFS='-'
2967 set x $ac_cv_build
2968 shift
2969 build_cpu=$1
2970 build_vendor=$2
2971 shift; shift
2972 # Remember, the first character of IFS is used to create $*,
2973 # except with old shells:
2974 build_os=$*
2975 IFS=$ac_save_IFS
2976 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2980 $as_echo_n "checking host system type... " >&6; }
2981 if test "${ac_cv_host+set}" = set; then :
2982 $as_echo_n "(cached) " >&6
2983 else
2984 if test "x$host_alias" = x; then
2985 ac_cv_host=$ac_cv_build
2986 else
2987 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2988 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2993 $as_echo "$ac_cv_host" >&6; }
2994 case $ac_cv_host in
2995 *-*-*) ;;
2996 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2997 esac
2998 host=$ac_cv_host
2999 ac_save_IFS=$IFS; IFS='-'
3000 set x $ac_cv_host
3001 shift
3002 host_cpu=$1
3003 host_vendor=$2
3004 shift; shift
3005 # Remember, the first character of IFS is used to create $*,
3006 # except with old shells:
3007 host_os=$*
3008 IFS=$ac_save_IFS
3009 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3013 $as_echo_n "checking target system type... " >&6; }
3014 if test "${ac_cv_target+set}" = set; then :
3015 $as_echo_n "(cached) " >&6
3016 else
3017 if test "x$target_alias" = x; then
3018 ac_cv_target=$ac_cv_host
3019 else
3020 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3021 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3026 $as_echo "$ac_cv_target" >&6; }
3027 case $ac_cv_target in
3028 *-*-*) ;;
3029 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
3030 esac
3031 target=$ac_cv_target
3032 ac_save_IFS=$IFS; IFS='-'
3033 set x $ac_cv_target
3034 shift
3035 target_cpu=$1
3036 target_vendor=$2
3037 shift; shift
3038 # Remember, the first character of IFS is used to create $*,
3039 # except with old shells:
3040 target_os=$*
3041 IFS=$ac_save_IFS
3042 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3045 # The aliases save the names the user supplied, while $host etc.
3046 # will get canonicalized.
3047 test -n "$target_alias" &&
3048 test "$program_prefix$program_suffix$program_transform_name" = \
3049 NONENONEs,x,x, &&
3050 program_prefix=${target_alias}-
3052 target_alias=${target_alias-$host_alias}
3054 # Handy for debugging:
3055 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3057 if test "$build" != "$host"; then
3058 # We are being configured with some form of cross compiler.
3059 GLIBCXX_IS_NATIVE=false
3060 case "$host","$target" in
3061 # Darwin crosses can use the host system's libraries and headers,
3062 # because of the fat library support. Of course, it must be the
3063 # same version of Darwin on both sides. Allow the user to
3064 # just say --target=foo-darwin without a version number to mean
3065 # "the version on this system".
3066 *-*-darwin*,*-*-darwin*)
3067 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3068 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3069 if test $hostos = $targetos -o $targetos = darwin ; then
3070 GLIBCXX_IS_NATIVE=true
3077 esac
3078 else
3079 GLIBCXX_IS_NATIVE=true
3082 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
3083 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3084 # 1.x: minimum required version
3085 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
3086 # of other PACKAGE_* variables will, however, and there's nothing
3087 # we can do about that; they come from AC_INIT).
3088 # foreign: we don't follow the normal rules for GNU packages (no COPYING
3089 # file in the top srcdir, etc, etc), so stop complaining.
3090 # no-dependencies: turns off auto dependency generation (just for now)
3091 # no-dist: we don't want 'dist' and related rules.
3092 # -Wall: turns on all automake warnings...
3093 # -Wno-portability: ...except this one, since GNU make is now required.
3094 am__api_version='1.11'
3096 # Find a good install program. We prefer a C program (faster),
3097 # so one script is as good as another. But avoid the broken or
3098 # incompatible versions:
3099 # SysV /etc/install, /usr/sbin/install
3100 # SunOS /usr/etc/install
3101 # IRIX /sbin/install
3102 # AIX /bin/install
3103 # AmigaOS /C/install, which installs bootblocks on floppy discs
3104 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3105 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3106 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3107 # OS/2's system install, which has a completely different semantic
3108 # ./install, which can be erroneously created by make from ./install.sh.
3109 # Reject install programs that cannot install multiple files.
3110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3111 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3112 if test -z "$INSTALL"; then
3113 if test "${ac_cv_path_install+set}" = set; then :
3114 $as_echo_n "(cached) " >&6
3115 else
3116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3117 for as_dir in $PATH
3119 IFS=$as_save_IFS
3120 test -z "$as_dir" && as_dir=.
3121 # Account for people who put trailing slashes in PATH elements.
3122 case $as_dir/ in #((
3123 ./ | .// | /[cC]/* | \
3124 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3125 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3126 /usr/ucb/* ) ;;
3128 # OSF1 and SCO ODT 3.0 have their own names for install.
3129 # Don't use installbsd from OSF since it installs stuff as root
3130 # by default.
3131 for ac_prog in ginstall scoinst install; do
3132 for ac_exec_ext in '' $ac_executable_extensions; do
3133 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3134 if test $ac_prog = install &&
3135 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3136 # AIX install. It has an incompatible calling convention.
3138 elif test $ac_prog = install &&
3139 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3140 # program-specific install script used by HP pwplus--don't use.
3142 else
3143 rm -rf conftest.one conftest.two conftest.dir
3144 echo one > conftest.one
3145 echo two > conftest.two
3146 mkdir conftest.dir
3147 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3148 test -s conftest.one && test -s conftest.two &&
3149 test -s conftest.dir/conftest.one &&
3150 test -s conftest.dir/conftest.two
3151 then
3152 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3153 break 3
3157 done
3158 done
3160 esac
3162 done
3163 IFS=$as_save_IFS
3165 rm -rf conftest.one conftest.two conftest.dir
3168 if test "${ac_cv_path_install+set}" = set; then
3169 INSTALL=$ac_cv_path_install
3170 else
3171 # As a last resort, use the slow shell script. Don't cache a
3172 # value for INSTALL within a source directory, because that will
3173 # break other packages using the cache if that directory is
3174 # removed, or if the value is a relative name.
3175 INSTALL=$ac_install_sh
3178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3179 $as_echo "$INSTALL" >&6; }
3181 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3182 # It thinks the first close brace ends the variable substitution.
3183 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3185 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3187 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3190 $as_echo_n "checking whether build environment is sane... " >&6; }
3191 # Just in case
3192 sleep 1
3193 echo timestamp > conftest.file
3194 # Reject unsafe characters in $srcdir or the absolute working directory
3195 # name. Accept space and tab only in the latter.
3196 am_lf='
3198 case `pwd` in
3199 *[\\\"\#\$\&\'\`$am_lf]*)
3200 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3201 esac
3202 case $srcdir in
3203 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3204 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3205 esac
3207 # Do `set' in a subshell so we don't clobber the current shell's
3208 # arguments. Must try -L first in case configure is actually a
3209 # symlink; some systems play weird games with the mod time of symlinks
3210 # (eg FreeBSD returns the mod time of the symlink's containing
3211 # directory).
3212 if (
3213 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3214 if test "$*" = "X"; then
3215 # -L didn't work.
3216 set X `ls -t "$srcdir/configure" conftest.file`
3218 rm -f conftest.file
3219 if test "$*" != "X $srcdir/configure conftest.file" \
3220 && test "$*" != "X conftest.file $srcdir/configure"; then
3222 # If neither matched, then we have a broken ls. This can happen
3223 # if, for instance, CONFIG_SHELL is bash and it inherits a
3224 # broken ls alias from the environment. This has actually
3225 # happened. Such a system could not be considered "sane".
3226 as_fn_error "ls -t appears to fail. Make sure there is not a broken
3227 alias in your environment" "$LINENO" 5
3230 test "$2" = conftest.file
3232 then
3233 # Ok.
3235 else
3236 as_fn_error "newly created file is older than distributed files!
3237 Check your system clock" "$LINENO" 5
3239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3240 $as_echo "yes" >&6; }
3241 test "$program_prefix" != NONE &&
3242 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3243 # Use a double $ so make ignores it.
3244 test "$program_suffix" != NONE &&
3245 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3246 # Double any \ or $.
3247 # By default was `s,x,x', remove it if useless.
3248 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3249 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3251 # expand $ac_aux_dir to an absolute path
3252 am_aux_dir=`cd $ac_aux_dir && pwd`
3254 if test x"${MISSING+set}" != xset; then
3255 case $am_aux_dir in
3256 *\ * | *\ *)
3257 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3259 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3260 esac
3262 # Use eval to expand $SHELL
3263 if eval "$MISSING --run true"; then
3264 am_missing_run="$MISSING --run "
3265 else
3266 am_missing_run=
3267 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3268 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3271 if test x"${install_sh}" != xset; then
3272 case $am_aux_dir in
3273 *\ * | *\ *)
3274 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3276 install_sh="\${SHELL} $am_aux_dir/install-sh"
3277 esac
3280 # Installed binaries are usually stripped using `strip' when the user
3281 # run `make install-strip'. However `strip' might not be the right
3282 # tool to use in cross-compilation environments, therefore Automake
3283 # will honor the `STRIP' environment variable to overrule this program.
3284 if test "$cross_compiling" != no; then
3285 if test -n "$ac_tool_prefix"; then
3286 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3287 set dummy ${ac_tool_prefix}strip; ac_word=$2
3288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3289 $as_echo_n "checking for $ac_word... " >&6; }
3290 if test "${ac_cv_prog_STRIP+set}" = set; then :
3291 $as_echo_n "(cached) " >&6
3292 else
3293 if test -n "$STRIP"; then
3294 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3295 else
3296 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3297 for as_dir in $PATH
3299 IFS=$as_save_IFS
3300 test -z "$as_dir" && as_dir=.
3301 for ac_exec_ext in '' $ac_executable_extensions; do
3302 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3303 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3304 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3305 break 2
3307 done
3308 done
3309 IFS=$as_save_IFS
3313 STRIP=$ac_cv_prog_STRIP
3314 if test -n "$STRIP"; then
3315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3316 $as_echo "$STRIP" >&6; }
3317 else
3318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3319 $as_echo "no" >&6; }
3324 if test -z "$ac_cv_prog_STRIP"; then
3325 ac_ct_STRIP=$STRIP
3326 # Extract the first word of "strip", so it can be a program name with args.
3327 set dummy strip; ac_word=$2
3328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3329 $as_echo_n "checking for $ac_word... " >&6; }
3330 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3331 $as_echo_n "(cached) " >&6
3332 else
3333 if test -n "$ac_ct_STRIP"; then
3334 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3335 else
3336 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3337 for as_dir in $PATH
3339 IFS=$as_save_IFS
3340 test -z "$as_dir" && as_dir=.
3341 for ac_exec_ext in '' $ac_executable_extensions; do
3342 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3343 ac_cv_prog_ac_ct_STRIP="strip"
3344 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3345 break 2
3347 done
3348 done
3349 IFS=$as_save_IFS
3353 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3354 if test -n "$ac_ct_STRIP"; then
3355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3356 $as_echo "$ac_ct_STRIP" >&6; }
3357 else
3358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3359 $as_echo "no" >&6; }
3362 if test "x$ac_ct_STRIP" = x; then
3363 STRIP=":"
3364 else
3365 case $cross_compiling:$ac_tool_warned in
3366 yes:)
3367 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3368 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3369 ac_tool_warned=yes ;;
3370 esac
3371 STRIP=$ac_ct_STRIP
3373 else
3374 STRIP="$ac_cv_prog_STRIP"
3378 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3381 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3382 if test -z "$MKDIR_P"; then
3383 if test "${ac_cv_path_mkdir+set}" = set; then :
3384 $as_echo_n "(cached) " >&6
3385 else
3386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3387 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3389 IFS=$as_save_IFS
3390 test -z "$as_dir" && as_dir=.
3391 for ac_prog in mkdir gmkdir; do
3392 for ac_exec_ext in '' $ac_executable_extensions; do
3393 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3394 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3395 'mkdir (GNU coreutils) '* | \
3396 'mkdir (coreutils) '* | \
3397 'mkdir (fileutils) '4.1*)
3398 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3399 break 3;;
3400 esac
3401 done
3402 done
3403 done
3404 IFS=$as_save_IFS
3408 if test "${ac_cv_path_mkdir+set}" = set; then
3409 MKDIR_P="$ac_cv_path_mkdir -p"
3410 else
3411 # As a last resort, use the slow shell script. Don't cache a
3412 # value for MKDIR_P within a source directory, because that will
3413 # break other packages using the cache if that directory is
3414 # removed, or if the value is a relative name.
3415 test -d ./--version && rmdir ./--version
3416 MKDIR_P="$ac_install_sh -d"
3419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3420 $as_echo "$MKDIR_P" >&6; }
3422 mkdir_p="$MKDIR_P"
3423 case $mkdir_p in
3424 [\\/$]* | ?:[\\/]*) ;;
3425 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3426 esac
3428 for ac_prog in gawk mawk nawk awk
3430 # Extract the first word of "$ac_prog", so it can be a program name with args.
3431 set dummy $ac_prog; ac_word=$2
3432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3433 $as_echo_n "checking for $ac_word... " >&6; }
3434 if test "${ac_cv_prog_AWK+set}" = set; then :
3435 $as_echo_n "(cached) " >&6
3436 else
3437 if test -n "$AWK"; then
3438 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3439 else
3440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3441 for as_dir in $PATH
3443 IFS=$as_save_IFS
3444 test -z "$as_dir" && as_dir=.
3445 for ac_exec_ext in '' $ac_executable_extensions; do
3446 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3447 ac_cv_prog_AWK="$ac_prog"
3448 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3449 break 2
3451 done
3452 done
3453 IFS=$as_save_IFS
3457 AWK=$ac_cv_prog_AWK
3458 if test -n "$AWK"; then
3459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3460 $as_echo "$AWK" >&6; }
3461 else
3462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3463 $as_echo "no" >&6; }
3467 test -n "$AWK" && break
3468 done
3470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3471 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3472 set x ${MAKE-make}
3473 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3474 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3475 $as_echo_n "(cached) " >&6
3476 else
3477 cat >conftest.make <<\_ACEOF
3478 SHELL = /bin/sh
3479 all:
3480 @echo '@@@%%%=$(MAKE)=@@@%%%'
3481 _ACEOF
3482 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3483 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3484 *@@@%%%=?*=@@@%%%*)
3485 eval ac_cv_prog_make_${ac_make}_set=yes;;
3487 eval ac_cv_prog_make_${ac_make}_set=no;;
3488 esac
3489 rm -f conftest.make
3491 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3493 $as_echo "yes" >&6; }
3494 SET_MAKE=
3495 else
3496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3497 $as_echo "no" >&6; }
3498 SET_MAKE="MAKE=${MAKE-make}"
3501 rm -rf .tst 2>/dev/null
3502 mkdir .tst 2>/dev/null
3503 if test -d .tst; then
3504 am__leading_dot=.
3505 else
3506 am__leading_dot=_
3508 rmdir .tst 2>/dev/null
3510 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3511 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3512 # is not polluted with repeated "-I."
3513 am__isrc=' -I$(srcdir)'
3514 # test to see if srcdir already configured
3515 if test -f $srcdir/config.status; then
3516 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3520 # test whether we have cygpath
3521 if test -z "$CYGPATH_W"; then
3522 if (cygpath --version) >/dev/null 2>/dev/null; then
3523 CYGPATH_W='cygpath -w'
3524 else
3525 CYGPATH_W=echo
3530 # Define the identity of the package.
3531 PACKAGE='libstdc++'
3532 VERSION='version-unused'
3535 # Some tools Automake needs.
3537 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3540 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3543 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3546 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3549 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3551 # We need awk for the "check" target. The system "awk" is bad on
3552 # some platforms.
3553 # Always define AMTAR for backward compatibility.
3555 AMTAR=${AMTAR-"${am_missing_run}tar"}
3557 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3566 # -fno-builtin must be present here so that a non-conflicting form of
3567 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3569 save_CXXFLAGS="$CXXFLAGS"
3570 CXXFLAGS="$CXXFLAGS -fno-builtin"
3571 ac_ext=c
3572 ac_cpp='$CPP $CPPFLAGS'
3573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3576 if test -n "$ac_tool_prefix"; then
3577 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3578 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3580 $as_echo_n "checking for $ac_word... " >&6; }
3581 if test "${ac_cv_prog_CC+set}" = set; then :
3582 $as_echo_n "(cached) " >&6
3583 else
3584 if test -n "$CC"; then
3585 ac_cv_prog_CC="$CC" # Let the user override the test.
3586 else
3587 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3588 for as_dir in $PATH
3590 IFS=$as_save_IFS
3591 test -z "$as_dir" && as_dir=.
3592 for ac_exec_ext in '' $ac_executable_extensions; do
3593 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3594 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3595 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3596 break 2
3598 done
3599 done
3600 IFS=$as_save_IFS
3604 CC=$ac_cv_prog_CC
3605 if test -n "$CC"; then
3606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3607 $as_echo "$CC" >&6; }
3608 else
3609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3610 $as_echo "no" >&6; }
3615 if test -z "$ac_cv_prog_CC"; then
3616 ac_ct_CC=$CC
3617 # Extract the first word of "gcc", so it can be a program name with args.
3618 set dummy gcc; ac_word=$2
3619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3620 $as_echo_n "checking for $ac_word... " >&6; }
3621 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3622 $as_echo_n "(cached) " >&6
3623 else
3624 if test -n "$ac_ct_CC"; then
3625 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3626 else
3627 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3628 for as_dir in $PATH
3630 IFS=$as_save_IFS
3631 test -z "$as_dir" && as_dir=.
3632 for ac_exec_ext in '' $ac_executable_extensions; do
3633 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3634 ac_cv_prog_ac_ct_CC="gcc"
3635 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3636 break 2
3638 done
3639 done
3640 IFS=$as_save_IFS
3644 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3645 if test -n "$ac_ct_CC"; then
3646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3647 $as_echo "$ac_ct_CC" >&6; }
3648 else
3649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3650 $as_echo "no" >&6; }
3653 if test "x$ac_ct_CC" = x; then
3654 CC=""
3655 else
3656 case $cross_compiling:$ac_tool_warned in
3657 yes:)
3658 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3659 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3660 ac_tool_warned=yes ;;
3661 esac
3662 CC=$ac_ct_CC
3664 else
3665 CC="$ac_cv_prog_CC"
3668 if test -z "$CC"; then
3669 if test -n "$ac_tool_prefix"; then
3670 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3671 set dummy ${ac_tool_prefix}cc; ac_word=$2
3672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3673 $as_echo_n "checking for $ac_word... " >&6; }
3674 if test "${ac_cv_prog_CC+set}" = set; then :
3675 $as_echo_n "(cached) " >&6
3676 else
3677 if test -n "$CC"; then
3678 ac_cv_prog_CC="$CC" # Let the user override the test.
3679 else
3680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3681 for as_dir in $PATH
3683 IFS=$as_save_IFS
3684 test -z "$as_dir" && as_dir=.
3685 for ac_exec_ext in '' $ac_executable_extensions; do
3686 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3687 ac_cv_prog_CC="${ac_tool_prefix}cc"
3688 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3689 break 2
3691 done
3692 done
3693 IFS=$as_save_IFS
3697 CC=$ac_cv_prog_CC
3698 if test -n "$CC"; then
3699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3700 $as_echo "$CC" >&6; }
3701 else
3702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3703 $as_echo "no" >&6; }
3709 if test -z "$CC"; then
3710 # Extract the first word of "cc", so it can be a program name with args.
3711 set dummy cc; ac_word=$2
3712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3713 $as_echo_n "checking for $ac_word... " >&6; }
3714 if test "${ac_cv_prog_CC+set}" = set; then :
3715 $as_echo_n "(cached) " >&6
3716 else
3717 if test -n "$CC"; then
3718 ac_cv_prog_CC="$CC" # Let the user override the test.
3719 else
3720 ac_prog_rejected=no
3721 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3722 for as_dir in $PATH
3724 IFS=$as_save_IFS
3725 test -z "$as_dir" && as_dir=.
3726 for ac_exec_ext in '' $ac_executable_extensions; do
3727 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3728 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3729 ac_prog_rejected=yes
3730 continue
3732 ac_cv_prog_CC="cc"
3733 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3734 break 2
3736 done
3737 done
3738 IFS=$as_save_IFS
3740 if test $ac_prog_rejected = yes; then
3741 # We found a bogon in the path, so make sure we never use it.
3742 set dummy $ac_cv_prog_CC
3743 shift
3744 if test $# != 0; then
3745 # We chose a different compiler from the bogus one.
3746 # However, it has the same basename, so the bogon will be chosen
3747 # first if we set CC to just the basename; use the full file name.
3748 shift
3749 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
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; }
3765 if test -z "$CC"; then
3766 if test -n "$ac_tool_prefix"; then
3767 for ac_prog in cl.exe
3769 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3770 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3772 $as_echo_n "checking for $ac_word... " >&6; }
3773 if test "${ac_cv_prog_CC+set}" = set; then :
3774 $as_echo_n "(cached) " >&6
3775 else
3776 if test -n "$CC"; then
3777 ac_cv_prog_CC="$CC" # Let the user override the test.
3778 else
3779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3780 for as_dir in $PATH
3782 IFS=$as_save_IFS
3783 test -z "$as_dir" && as_dir=.
3784 for ac_exec_ext in '' $ac_executable_extensions; do
3785 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3786 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3787 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3788 break 2
3790 done
3791 done
3792 IFS=$as_save_IFS
3796 CC=$ac_cv_prog_CC
3797 if test -n "$CC"; then
3798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3799 $as_echo "$CC" >&6; }
3800 else
3801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3802 $as_echo "no" >&6; }
3806 test -n "$CC" && break
3807 done
3809 if test -z "$CC"; then
3810 ac_ct_CC=$CC
3811 for ac_prog in cl.exe
3813 # Extract the first word of "$ac_prog", so it can be a program name with args.
3814 set dummy $ac_prog; ac_word=$2
3815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3816 $as_echo_n "checking for $ac_word... " >&6; }
3817 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3818 $as_echo_n "(cached) " >&6
3819 else
3820 if test -n "$ac_ct_CC"; then
3821 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3822 else
3823 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3824 for as_dir in $PATH
3826 IFS=$as_save_IFS
3827 test -z "$as_dir" && as_dir=.
3828 for ac_exec_ext in '' $ac_executable_extensions; do
3829 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3830 ac_cv_prog_ac_ct_CC="$ac_prog"
3831 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3832 break 2
3834 done
3835 done
3836 IFS=$as_save_IFS
3840 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3841 if test -n "$ac_ct_CC"; then
3842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3843 $as_echo "$ac_ct_CC" >&6; }
3844 else
3845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3846 $as_echo "no" >&6; }
3850 test -n "$ac_ct_CC" && break
3851 done
3853 if test "x$ac_ct_CC" = x; then
3854 CC=""
3855 else
3856 case $cross_compiling:$ac_tool_warned in
3857 yes:)
3858 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3859 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3860 ac_tool_warned=yes ;;
3861 esac
3862 CC=$ac_ct_CC
3869 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3870 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3871 as_fn_error "no acceptable C compiler found in \$PATH
3872 See \`config.log' for more details." "$LINENO" 5; }
3874 # Provide some information about the compiler.
3875 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3876 set X $ac_compile
3877 ac_compiler=$2
3878 for ac_option in --version -v -V -qversion; do
3879 { { ac_try="$ac_compiler $ac_option >&5"
3880 case "(($ac_try" in
3881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3882 *) ac_try_echo=$ac_try;;
3883 esac
3884 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3885 $as_echo "$ac_try_echo"; } >&5
3886 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3887 ac_status=$?
3888 if test -s conftest.err; then
3889 sed '10a\
3890 ... rest of stderr output deleted ...
3891 10q' conftest.err >conftest.er1
3892 cat conftest.er1 >&5
3893 rm -f conftest.er1 conftest.err
3895 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3896 test $ac_status = 0; }
3897 done
3899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3900 /* end confdefs.h. */
3903 main ()
3907 return 0;
3909 _ACEOF
3910 # FIXME: Cleanup?
3911 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3912 (eval $ac_link) 2>&5
3913 ac_status=$?
3914 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3915 test $ac_status = 0; }; then :
3916 gcc_no_link=no
3917 else
3918 gcc_no_link=yes
3920 if test x$gcc_no_link = xyes; then
3921 # Setting cross_compile will disable run tests; it will
3922 # also disable AC_CHECK_FILE but that's generally
3923 # correct if we can't link.
3924 cross_compiling=yes
3925 EXEEXT=
3926 else
3927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3928 /* end confdefs.h. */
3931 main ()
3935 return 0;
3937 _ACEOF
3938 ac_clean_files_save=$ac_clean_files
3939 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3940 # Try to create an executable without -o first, disregard a.out.
3941 # It will help us diagnose broken compilers, and finding out an intuition
3942 # of exeext.
3943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3944 $as_echo_n "checking for C compiler default output file name... " >&6; }
3945 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3947 # The possible output files:
3948 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3950 ac_rmfiles=
3951 for ac_file in $ac_files
3953 case $ac_file in
3954 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3955 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3956 esac
3957 done
3958 rm -f $ac_rmfiles
3960 if { { ac_try="$ac_link_default"
3961 case "(($ac_try" in
3962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3963 *) ac_try_echo=$ac_try;;
3964 esac
3965 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3966 $as_echo "$ac_try_echo"; } >&5
3967 (eval "$ac_link_default") 2>&5
3968 ac_status=$?
3969 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3970 test $ac_status = 0; }; then :
3971 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3972 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3973 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3974 # so that the user can short-circuit this test for compilers unknown to
3975 # Autoconf.
3976 for ac_file in $ac_files ''
3978 test -f "$ac_file" || continue
3979 case $ac_file in
3980 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3982 [ab].out )
3983 # We found the default executable, but exeext='' is most
3984 # certainly right.
3985 break;;
3986 *.* )
3987 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3988 then :; else
3989 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3991 # We set ac_cv_exeext here because the later test for it is not
3992 # safe: cross compilers may not add the suffix if given an `-o'
3993 # argument, so we may need to know it at that point already.
3994 # Even if this section looks crufty: it has the advantage of
3995 # actually working.
3996 break;;
3998 break;;
3999 esac
4000 done
4001 test "$ac_cv_exeext" = no && ac_cv_exeext=
4003 else
4004 ac_file=''
4006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4007 $as_echo "$ac_file" >&6; }
4008 if test -z "$ac_file"; then :
4009 $as_echo "$as_me: failed program was:" >&5
4010 sed 's/^/| /' conftest.$ac_ext >&5
4012 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4013 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4014 { as_fn_set_status 77
4015 as_fn_error "C compiler cannot create executables
4016 See \`config.log' for more details." "$LINENO" 5; }; }
4018 ac_exeext=$ac_cv_exeext
4020 # Check that the compiler produces executables we can run. If not, either
4021 # the compiler is broken, or we cross compile.
4022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4023 $as_echo_n "checking whether the C compiler works... " >&6; }
4024 # If not cross compiling, check that we can run a simple program.
4025 if test "$cross_compiling" != yes; then
4026 if { ac_try='./$ac_file'
4027 { { case "(($ac_try" in
4028 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4029 *) ac_try_echo=$ac_try;;
4030 esac
4031 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4032 $as_echo "$ac_try_echo"; } >&5
4033 (eval "$ac_try") 2>&5
4034 ac_status=$?
4035 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4036 test $ac_status = 0; }; }; then
4037 cross_compiling=no
4038 else
4039 if test "$cross_compiling" = maybe; then
4040 cross_compiling=yes
4041 else
4042 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4043 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4044 as_fn_error "cannot run C compiled programs.
4045 If you meant to cross compile, use \`--host'.
4046 See \`config.log' for more details." "$LINENO" 5; }
4050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4051 $as_echo "yes" >&6; }
4053 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4054 ac_clean_files=$ac_clean_files_save
4055 # Check that the compiler produces executables we can run. If not, either
4056 # the compiler is broken, or we cross compile.
4057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4058 $as_echo_n "checking whether we are cross compiling... " >&6; }
4059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4060 $as_echo "$cross_compiling" >&6; }
4062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4063 $as_echo_n "checking for suffix of executables... " >&6; }
4064 if { { ac_try="$ac_link"
4065 case "(($ac_try" in
4066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4067 *) ac_try_echo=$ac_try;;
4068 esac
4069 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4070 $as_echo "$ac_try_echo"; } >&5
4071 (eval "$ac_link") 2>&5
4072 ac_status=$?
4073 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4074 test $ac_status = 0; }; then :
4075 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4076 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4077 # work properly (i.e., refer to `conftest.exe'), while it won't with
4078 # `rm'.
4079 for ac_file in conftest.exe conftest conftest.*; do
4080 test -f "$ac_file" || continue
4081 case $ac_file in
4082 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4083 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4084 break;;
4085 * ) break;;
4086 esac
4087 done
4088 else
4089 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4090 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4091 as_fn_error "cannot compute suffix of executables: cannot compile and link
4092 See \`config.log' for more details." "$LINENO" 5; }
4094 rm -f conftest$ac_cv_exeext
4095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4096 $as_echo "$ac_cv_exeext" >&6; }
4098 rm -f conftest.$ac_ext
4099 EXEEXT=$ac_cv_exeext
4100 ac_exeext=$EXEEXT
4102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4103 $as_echo_n "checking for suffix of object files... " >&6; }
4104 if test "${ac_cv_objext+set}" = set; then :
4105 $as_echo_n "(cached) " >&6
4106 else
4107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4108 /* end confdefs.h. */
4111 main ()
4115 return 0;
4117 _ACEOF
4118 rm -f conftest.o conftest.obj
4119 if { { ac_try="$ac_compile"
4120 case "(($ac_try" in
4121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4122 *) ac_try_echo=$ac_try;;
4123 esac
4124 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4125 $as_echo "$ac_try_echo"; } >&5
4126 (eval "$ac_compile") 2>&5
4127 ac_status=$?
4128 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4129 test $ac_status = 0; }; then :
4130 for ac_file in conftest.o conftest.obj conftest.*; do
4131 test -f "$ac_file" || continue;
4132 case $ac_file in
4133 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4134 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4135 break;;
4136 esac
4137 done
4138 else
4139 $as_echo "$as_me: failed program was:" >&5
4140 sed 's/^/| /' conftest.$ac_ext >&5
4142 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4143 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4144 as_fn_error "cannot compute suffix of object files: cannot compile
4145 See \`config.log' for more details." "$LINENO" 5; }
4147 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4150 $as_echo "$ac_cv_objext" >&6; }
4151 OBJEXT=$ac_cv_objext
4152 ac_objext=$OBJEXT
4153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4154 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4155 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4156 $as_echo_n "(cached) " >&6
4157 else
4158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4159 /* end confdefs.h. */
4162 main ()
4164 #ifndef __GNUC__
4165 choke me
4166 #endif
4169 return 0;
4171 _ACEOF
4172 if ac_fn_c_try_compile "$LINENO"; then :
4173 ac_compiler_gnu=yes
4174 else
4175 ac_compiler_gnu=no
4177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4178 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4182 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4183 if test $ac_compiler_gnu = yes; then
4184 GCC=yes
4185 else
4186 GCC=
4188 ac_test_CFLAGS=${CFLAGS+set}
4189 ac_save_CFLAGS=$CFLAGS
4190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4191 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4192 if test "${ac_cv_prog_cc_g+set}" = set; then :
4193 $as_echo_n "(cached) " >&6
4194 else
4195 ac_save_c_werror_flag=$ac_c_werror_flag
4196 ac_c_werror_flag=yes
4197 ac_cv_prog_cc_g=no
4198 CFLAGS="-g"
4199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4200 /* end confdefs.h. */
4203 main ()
4207 return 0;
4209 _ACEOF
4210 if ac_fn_c_try_compile "$LINENO"; then :
4211 ac_cv_prog_cc_g=yes
4212 else
4213 CFLAGS=""
4214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4215 /* end confdefs.h. */
4218 main ()
4222 return 0;
4224 _ACEOF
4225 if ac_fn_c_try_compile "$LINENO"; then :
4227 else
4228 ac_c_werror_flag=$ac_save_c_werror_flag
4229 CFLAGS="-g"
4230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4231 /* end confdefs.h. */
4234 main ()
4238 return 0;
4240 _ACEOF
4241 if ac_fn_c_try_compile "$LINENO"; then :
4242 ac_cv_prog_cc_g=yes
4244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4249 ac_c_werror_flag=$ac_save_c_werror_flag
4251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4252 $as_echo "$ac_cv_prog_cc_g" >&6; }
4253 if test "$ac_test_CFLAGS" = set; then
4254 CFLAGS=$ac_save_CFLAGS
4255 elif test $ac_cv_prog_cc_g = yes; then
4256 if test "$GCC" = yes; then
4257 CFLAGS="-g -O2"
4258 else
4259 CFLAGS="-g"
4261 else
4262 if test "$GCC" = yes; then
4263 CFLAGS="-O2"
4264 else
4265 CFLAGS=
4268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4269 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4270 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4271 $as_echo_n "(cached) " >&6
4272 else
4273 ac_cv_prog_cc_c89=no
4274 ac_save_CC=$CC
4275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4276 /* end confdefs.h. */
4277 #include <stdarg.h>
4278 #include <stdio.h>
4279 #include <sys/types.h>
4280 #include <sys/stat.h>
4281 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4282 struct buf { int x; };
4283 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4284 static char *e (p, i)
4285 char **p;
4286 int i;
4288 return p[i];
4290 static char *f (char * (*g) (char **, int), char **p, ...)
4292 char *s;
4293 va_list v;
4294 va_start (v,p);
4295 s = g (p, va_arg (v,int));
4296 va_end (v);
4297 return s;
4300 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4301 function prototypes and stuff, but not '\xHH' hex character constants.
4302 These don't provoke an error unfortunately, instead are silently treated
4303 as 'x'. The following induces an error, until -std is added to get
4304 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4305 array size at least. It's necessary to write '\x00'==0 to get something
4306 that's true only with -std. */
4307 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4309 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4310 inside strings and character constants. */
4311 #define FOO(x) 'x'
4312 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4314 int test (int i, double x);
4315 struct s1 {int (*f) (int a);};
4316 struct s2 {int (*f) (double a);};
4317 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4318 int argc;
4319 char **argv;
4321 main ()
4323 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4325 return 0;
4327 _ACEOF
4328 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4329 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4331 CC="$ac_save_CC $ac_arg"
4332 if ac_fn_c_try_compile "$LINENO"; then :
4333 ac_cv_prog_cc_c89=$ac_arg
4335 rm -f core conftest.err conftest.$ac_objext
4336 test "x$ac_cv_prog_cc_c89" != "xno" && break
4337 done
4338 rm -f conftest.$ac_ext
4339 CC=$ac_save_CC
4342 # AC_CACHE_VAL
4343 case "x$ac_cv_prog_cc_c89" in
4345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4346 $as_echo "none needed" >&6; } ;;
4347 xno)
4348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4349 $as_echo "unsupported" >&6; } ;;
4351 CC="$CC $ac_cv_prog_cc_c89"
4352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4353 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4354 esac
4355 if test "x$ac_cv_prog_cc_c89" != xno; then :
4359 ac_ext=c
4360 ac_cpp='$CPP $CPPFLAGS'
4361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4365 ac_ext=cpp
4366 ac_cpp='$CXXCPP $CPPFLAGS'
4367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4370 if test -z "$CXX"; then
4371 if test -n "$CCC"; then
4372 CXX=$CCC
4373 else
4374 if test -n "$ac_tool_prefix"; then
4375 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4377 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4378 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4380 $as_echo_n "checking for $ac_word... " >&6; }
4381 if test "${ac_cv_prog_CXX+set}" = set; then :
4382 $as_echo_n "(cached) " >&6
4383 else
4384 if test -n "$CXX"; then
4385 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4386 else
4387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4388 for as_dir in $PATH
4390 IFS=$as_save_IFS
4391 test -z "$as_dir" && as_dir=.
4392 for ac_exec_ext in '' $ac_executable_extensions; do
4393 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4394 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4395 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4396 break 2
4398 done
4399 done
4400 IFS=$as_save_IFS
4404 CXX=$ac_cv_prog_CXX
4405 if test -n "$CXX"; then
4406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4407 $as_echo "$CXX" >&6; }
4408 else
4409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4410 $as_echo "no" >&6; }
4414 test -n "$CXX" && break
4415 done
4417 if test -z "$CXX"; then
4418 ac_ct_CXX=$CXX
4419 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4421 # Extract the first word of "$ac_prog", so it can be a program name with args.
4422 set dummy $ac_prog; ac_word=$2
4423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4424 $as_echo_n "checking for $ac_word... " >&6; }
4425 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4426 $as_echo_n "(cached) " >&6
4427 else
4428 if test -n "$ac_ct_CXX"; then
4429 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4430 else
4431 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4432 for as_dir in $PATH
4434 IFS=$as_save_IFS
4435 test -z "$as_dir" && as_dir=.
4436 for ac_exec_ext in '' $ac_executable_extensions; do
4437 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4438 ac_cv_prog_ac_ct_CXX="$ac_prog"
4439 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4440 break 2
4442 done
4443 done
4444 IFS=$as_save_IFS
4448 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4449 if test -n "$ac_ct_CXX"; then
4450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4451 $as_echo "$ac_ct_CXX" >&6; }
4452 else
4453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4454 $as_echo "no" >&6; }
4458 test -n "$ac_ct_CXX" && break
4459 done
4461 if test "x$ac_ct_CXX" = x; then
4462 CXX="g++"
4463 else
4464 case $cross_compiling:$ac_tool_warned in
4465 yes:)
4466 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4467 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4468 ac_tool_warned=yes ;;
4469 esac
4470 CXX=$ac_ct_CXX
4476 # Provide some information about the compiler.
4477 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4478 set X $ac_compile
4479 ac_compiler=$2
4480 for ac_option in --version -v -V -qversion; do
4481 { { ac_try="$ac_compiler $ac_option >&5"
4482 case "(($ac_try" in
4483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4484 *) ac_try_echo=$ac_try;;
4485 esac
4486 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4487 $as_echo "$ac_try_echo"; } >&5
4488 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4489 ac_status=$?
4490 if test -s conftest.err; then
4491 sed '10a\
4492 ... rest of stderr output deleted ...
4493 10q' conftest.err >conftest.er1
4494 cat conftest.er1 >&5
4495 rm -f conftest.er1 conftest.err
4497 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4498 test $ac_status = 0; }
4499 done
4501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4502 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4503 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4504 $as_echo_n "(cached) " >&6
4505 else
4506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4507 /* end confdefs.h. */
4510 main ()
4512 #ifndef __GNUC__
4513 choke me
4514 #endif
4517 return 0;
4519 _ACEOF
4520 if ac_fn_cxx_try_compile "$LINENO"; then :
4521 ac_compiler_gnu=yes
4522 else
4523 ac_compiler_gnu=no
4525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4526 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4530 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4531 if test $ac_compiler_gnu = yes; then
4532 GXX=yes
4533 else
4534 GXX=
4536 ac_test_CXXFLAGS=${CXXFLAGS+set}
4537 ac_save_CXXFLAGS=$CXXFLAGS
4538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4539 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4540 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4541 $as_echo_n "(cached) " >&6
4542 else
4543 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4544 ac_cxx_werror_flag=yes
4545 ac_cv_prog_cxx_g=no
4546 CXXFLAGS="-g"
4547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4548 /* end confdefs.h. */
4551 main ()
4555 return 0;
4557 _ACEOF
4558 if ac_fn_cxx_try_compile "$LINENO"; then :
4559 ac_cv_prog_cxx_g=yes
4560 else
4561 CXXFLAGS=""
4562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4563 /* end confdefs.h. */
4566 main ()
4570 return 0;
4572 _ACEOF
4573 if ac_fn_cxx_try_compile "$LINENO"; then :
4575 else
4576 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4577 CXXFLAGS="-g"
4578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4579 /* end confdefs.h. */
4582 main ()
4586 return 0;
4588 _ACEOF
4589 if ac_fn_cxx_try_compile "$LINENO"; then :
4590 ac_cv_prog_cxx_g=yes
4592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4597 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4600 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4601 if test "$ac_test_CXXFLAGS" = set; then
4602 CXXFLAGS=$ac_save_CXXFLAGS
4603 elif test $ac_cv_prog_cxx_g = yes; then
4604 if test "$GXX" = yes; then
4605 CXXFLAGS="-g -O2"
4606 else
4607 CXXFLAGS="-g"
4609 else
4610 if test "$GXX" = yes; then
4611 CXXFLAGS="-O2"
4612 else
4613 CXXFLAGS=
4616 ac_ext=c
4617 ac_cpp='$CPP $CPPFLAGS'
4618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4622 CXXFLAGS="$save_CXXFLAGS"
4624 # Runs configure.host, and assorted other critical bits. Sets
4625 # up critical shell variables.
4627 ac_ext=c
4628 ac_cpp='$CPP $CPPFLAGS'
4629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4633 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4634 # On Suns, sometimes $CPP names a directory.
4635 if test -n "$CPP" && test -d "$CPP"; then
4636 CPP=
4638 if test -z "$CPP"; then
4639 if test "${ac_cv_prog_CPP+set}" = set; then :
4640 $as_echo_n "(cached) " >&6
4641 else
4642 # Double quotes because CPP needs to be expanded
4643 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4645 ac_preproc_ok=false
4646 for ac_c_preproc_warn_flag in '' yes
4648 # Use a header file that comes with gcc, so configuring glibc
4649 # with a fresh cross-compiler works.
4650 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4651 # <limits.h> exists even on freestanding compilers.
4652 # On the NeXT, cc -E runs the code through the compiler's parser,
4653 # not just through cpp. "Syntax error" is here to catch this case.
4654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4655 /* end confdefs.h. */
4656 #ifdef __STDC__
4657 # include <limits.h>
4658 #else
4659 # include <assert.h>
4660 #endif
4661 Syntax error
4662 _ACEOF
4663 if ac_fn_c_try_cpp "$LINENO"; then :
4665 else
4666 # Broken: fails on valid input.
4667 continue
4669 rm -f conftest.err conftest.$ac_ext
4671 # OK, works on sane cases. Now check whether nonexistent headers
4672 # can be detected and how.
4673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4674 /* end confdefs.h. */
4675 #include <ac_nonexistent.h>
4676 _ACEOF
4677 if ac_fn_c_try_cpp "$LINENO"; then :
4678 # Broken: success on invalid input.
4679 continue
4680 else
4681 # Passes both tests.
4682 ac_preproc_ok=:
4683 break
4685 rm -f conftest.err conftest.$ac_ext
4687 done
4688 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4689 rm -f conftest.err conftest.$ac_ext
4690 if $ac_preproc_ok; then :
4691 break
4694 done
4695 ac_cv_prog_CPP=$CPP
4698 CPP=$ac_cv_prog_CPP
4699 else
4700 ac_cv_prog_CPP=$CPP
4702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4703 $as_echo "$CPP" >&6; }
4704 ac_preproc_ok=false
4705 for ac_c_preproc_warn_flag in '' yes
4707 # Use a header file that comes with gcc, so configuring glibc
4708 # with a fresh cross-compiler works.
4709 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4710 # <limits.h> exists even on freestanding compilers.
4711 # On the NeXT, cc -E runs the code through the compiler's parser,
4712 # not just through cpp. "Syntax error" is here to catch this case.
4713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4714 /* end confdefs.h. */
4715 #ifdef __STDC__
4716 # include <limits.h>
4717 #else
4718 # include <assert.h>
4719 #endif
4720 Syntax error
4721 _ACEOF
4722 if ac_fn_c_try_cpp "$LINENO"; then :
4724 else
4725 # Broken: fails on valid input.
4726 continue
4728 rm -f conftest.err conftest.$ac_ext
4730 # OK, works on sane cases. Now check whether nonexistent headers
4731 # can be detected and how.
4732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4733 /* end confdefs.h. */
4734 #include <ac_nonexistent.h>
4735 _ACEOF
4736 if ac_fn_c_try_cpp "$LINENO"; then :
4737 # Broken: success on invalid input.
4738 continue
4739 else
4740 # Passes both tests.
4741 ac_preproc_ok=:
4742 break
4744 rm -f conftest.err conftest.$ac_ext
4746 done
4747 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4748 rm -f conftest.err conftest.$ac_ext
4749 if $ac_preproc_ok; then :
4751 else
4752 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4753 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4754 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4755 See \`config.log' for more details." "$LINENO" 5; }
4758 ac_ext=c
4759 ac_cpp='$CPP $CPPFLAGS'
4760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4766 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4767 if test "${ac_cv_path_GREP+set}" = set; then :
4768 $as_echo_n "(cached) " >&6
4769 else
4770 if test -z "$GREP"; then
4771 ac_path_GREP_found=false
4772 # Loop through the user's path and test for each of PROGNAME-LIST
4773 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4774 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4776 IFS=$as_save_IFS
4777 test -z "$as_dir" && as_dir=.
4778 for ac_prog in grep ggrep; do
4779 for ac_exec_ext in '' $ac_executable_extensions; do
4780 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4781 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4782 # Check for GNU ac_path_GREP and select it if it is found.
4783 # Check for GNU $ac_path_GREP
4784 case `"$ac_path_GREP" --version 2>&1` in
4785 *GNU*)
4786 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4788 ac_count=0
4789 $as_echo_n 0123456789 >"conftest.in"
4790 while :
4792 cat "conftest.in" "conftest.in" >"conftest.tmp"
4793 mv "conftest.tmp" "conftest.in"
4794 cp "conftest.in" "conftest.nl"
4795 $as_echo 'GREP' >> "conftest.nl"
4796 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4797 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4798 as_fn_arith $ac_count + 1 && ac_count=$as_val
4799 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4800 # Best one so far, save it but keep looking for a better one
4801 ac_cv_path_GREP="$ac_path_GREP"
4802 ac_path_GREP_max=$ac_count
4804 # 10*(2^10) chars as input seems more than enough
4805 test $ac_count -gt 10 && break
4806 done
4807 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4808 esac
4810 $ac_path_GREP_found && break 3
4811 done
4812 done
4813 done
4814 IFS=$as_save_IFS
4815 if test -z "$ac_cv_path_GREP"; then
4816 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4818 else
4819 ac_cv_path_GREP=$GREP
4823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4824 $as_echo "$ac_cv_path_GREP" >&6; }
4825 GREP="$ac_cv_path_GREP"
4828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4829 $as_echo_n "checking for egrep... " >&6; }
4830 if test "${ac_cv_path_EGREP+set}" = set; then :
4831 $as_echo_n "(cached) " >&6
4832 else
4833 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4834 then ac_cv_path_EGREP="$GREP -E"
4835 else
4836 if test -z "$EGREP"; then
4837 ac_path_EGREP_found=false
4838 # Loop through the user's path and test for each of PROGNAME-LIST
4839 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4840 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4842 IFS=$as_save_IFS
4843 test -z "$as_dir" && as_dir=.
4844 for ac_prog in egrep; do
4845 for ac_exec_ext in '' $ac_executable_extensions; do
4846 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4847 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4848 # Check for GNU ac_path_EGREP and select it if it is found.
4849 # Check for GNU $ac_path_EGREP
4850 case `"$ac_path_EGREP" --version 2>&1` in
4851 *GNU*)
4852 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4854 ac_count=0
4855 $as_echo_n 0123456789 >"conftest.in"
4856 while :
4858 cat "conftest.in" "conftest.in" >"conftest.tmp"
4859 mv "conftest.tmp" "conftest.in"
4860 cp "conftest.in" "conftest.nl"
4861 $as_echo 'EGREP' >> "conftest.nl"
4862 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4863 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4864 as_fn_arith $ac_count + 1 && ac_count=$as_val
4865 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4866 # Best one so far, save it but keep looking for a better one
4867 ac_cv_path_EGREP="$ac_path_EGREP"
4868 ac_path_EGREP_max=$ac_count
4870 # 10*(2^10) chars as input seems more than enough
4871 test $ac_count -gt 10 && break
4872 done
4873 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4874 esac
4876 $ac_path_EGREP_found && break 3
4877 done
4878 done
4879 done
4880 IFS=$as_save_IFS
4881 if test -z "$ac_cv_path_EGREP"; then
4882 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4884 else
4885 ac_cv_path_EGREP=$EGREP
4890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4891 $as_echo "$ac_cv_path_EGREP" >&6; }
4892 EGREP="$ac_cv_path_EGREP"
4896 # Keep these sync'd with the list in Makefile.am. The first provides an
4897 # expandable list at autoconf time; the second provides an expandable list
4898 # (i.e., shell variable) at configure time.
4900 SUBDIRS='include libsupc++ python src src/c++98 src/c++11 doc po testsuite'
4902 # These need to be absolute paths, yet at the same time need to
4903 # canonicalize only relative paths, because then amd will not unmount
4904 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
4905 glibcxx_builddir=`${PWDCMD-pwd}`
4906 case $srcdir in
4907 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
4908 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
4909 esac
4910 toplevel_builddir=${glibcxx_builddir}/..
4911 toplevel_srcdir=${glibcxx_srcdir}/..
4917 # We use these options to decide which functions to include. They are
4918 # set from the top level.
4920 # Check whether --with-target-subdir was given.
4921 if test "${with_target_subdir+set}" = set; then :
4922 withval=$with_target_subdir;
4927 # Check whether --with-cross-host was given.
4928 if test "${with_cross_host+set}" = set; then :
4929 withval=$with_cross_host;
4934 # Check whether --with-newlib was given.
4935 if test "${with_newlib+set}" = set; then :
4936 withval=$with_newlib;
4940 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
4941 # available). Uncomment the next line to force a particular method.
4942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4943 $as_echo_n "checking whether ln -s works... " >&6; }
4944 LN_S=$as_ln_s
4945 if test "$LN_S" = "ln -s"; then
4946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4947 $as_echo "yes" >&6; }
4948 else
4949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4950 $as_echo "no, using $LN_S" >&6; }
4953 #LN_S='cp -p'
4955 if test -n "$ac_tool_prefix"; then
4956 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4957 set dummy ${ac_tool_prefix}as; ac_word=$2
4958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4959 $as_echo_n "checking for $ac_word... " >&6; }
4960 if test "${ac_cv_prog_AS+set}" = set; then :
4961 $as_echo_n "(cached) " >&6
4962 else
4963 if test -n "$AS"; then
4964 ac_cv_prog_AS="$AS" # Let the user override the test.
4965 else
4966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4967 for as_dir in $PATH
4969 IFS=$as_save_IFS
4970 test -z "$as_dir" && as_dir=.
4971 for ac_exec_ext in '' $ac_executable_extensions; do
4972 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4973 ac_cv_prog_AS="${ac_tool_prefix}as"
4974 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4975 break 2
4977 done
4978 done
4979 IFS=$as_save_IFS
4983 AS=$ac_cv_prog_AS
4984 if test -n "$AS"; then
4985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4986 $as_echo "$AS" >&6; }
4987 else
4988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4989 $as_echo "no" >&6; }
4994 if test -z "$ac_cv_prog_AS"; then
4995 ac_ct_AS=$AS
4996 # Extract the first word of "as", so it can be a program name with args.
4997 set dummy as; ac_word=$2
4998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4999 $as_echo_n "checking for $ac_word... " >&6; }
5000 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
5001 $as_echo_n "(cached) " >&6
5002 else
5003 if test -n "$ac_ct_AS"; then
5004 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5005 else
5006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5007 for as_dir in $PATH
5009 IFS=$as_save_IFS
5010 test -z "$as_dir" && as_dir=.
5011 for ac_exec_ext in '' $ac_executable_extensions; do
5012 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5013 ac_cv_prog_ac_ct_AS="as"
5014 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5015 break 2
5017 done
5018 done
5019 IFS=$as_save_IFS
5023 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5024 if test -n "$ac_ct_AS"; then
5025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5026 $as_echo "$ac_ct_AS" >&6; }
5027 else
5028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5029 $as_echo "no" >&6; }
5032 if test "x$ac_ct_AS" = x; then
5033 AS=""
5034 else
5035 case $cross_compiling:$ac_tool_warned in
5036 yes:)
5037 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5038 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5039 ac_tool_warned=yes ;;
5040 esac
5041 AS=$ac_ct_AS
5043 else
5044 AS="$ac_cv_prog_AS"
5047 if test -n "$ac_tool_prefix"; then
5048 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5049 set dummy ${ac_tool_prefix}ar; ac_word=$2
5050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5051 $as_echo_n "checking for $ac_word... " >&6; }
5052 if test "${ac_cv_prog_AR+set}" = set; then :
5053 $as_echo_n "(cached) " >&6
5054 else
5055 if test -n "$AR"; then
5056 ac_cv_prog_AR="$AR" # Let the user override the test.
5057 else
5058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5059 for as_dir in $PATH
5061 IFS=$as_save_IFS
5062 test -z "$as_dir" && as_dir=.
5063 for ac_exec_ext in '' $ac_executable_extensions; do
5064 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5065 ac_cv_prog_AR="${ac_tool_prefix}ar"
5066 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5067 break 2
5069 done
5070 done
5071 IFS=$as_save_IFS
5075 AR=$ac_cv_prog_AR
5076 if test -n "$AR"; then
5077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5078 $as_echo "$AR" >&6; }
5079 else
5080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5081 $as_echo "no" >&6; }
5086 if test -z "$ac_cv_prog_AR"; then
5087 ac_ct_AR=$AR
5088 # Extract the first word of "ar", so it can be a program name with args.
5089 set dummy ar; ac_word=$2
5090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5091 $as_echo_n "checking for $ac_word... " >&6; }
5092 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5093 $as_echo_n "(cached) " >&6
5094 else
5095 if test -n "$ac_ct_AR"; then
5096 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5097 else
5098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5099 for as_dir in $PATH
5101 IFS=$as_save_IFS
5102 test -z "$as_dir" && as_dir=.
5103 for ac_exec_ext in '' $ac_executable_extensions; do
5104 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5105 ac_cv_prog_ac_ct_AR="ar"
5106 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5107 break 2
5109 done
5110 done
5111 IFS=$as_save_IFS
5115 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5116 if test -n "$ac_ct_AR"; then
5117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5118 $as_echo "$ac_ct_AR" >&6; }
5119 else
5120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5121 $as_echo "no" >&6; }
5124 if test "x$ac_ct_AR" = x; then
5125 AR=""
5126 else
5127 case $cross_compiling:$ac_tool_warned in
5128 yes:)
5129 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5130 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5131 ac_tool_warned=yes ;;
5132 esac
5133 AR=$ac_ct_AR
5135 else
5136 AR="$ac_cv_prog_AR"
5139 if test -n "$ac_tool_prefix"; then
5140 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5141 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5143 $as_echo_n "checking for $ac_word... " >&6; }
5144 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5145 $as_echo_n "(cached) " >&6
5146 else
5147 if test -n "$RANLIB"; then
5148 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5149 else
5150 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5151 for as_dir in $PATH
5153 IFS=$as_save_IFS
5154 test -z "$as_dir" && as_dir=.
5155 for ac_exec_ext in '' $ac_executable_extensions; do
5156 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5157 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5158 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5159 break 2
5161 done
5162 done
5163 IFS=$as_save_IFS
5167 RANLIB=$ac_cv_prog_RANLIB
5168 if test -n "$RANLIB"; then
5169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5170 $as_echo "$RANLIB" >&6; }
5171 else
5172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5173 $as_echo "no" >&6; }
5178 if test -z "$ac_cv_prog_RANLIB"; then
5179 ac_ct_RANLIB=$RANLIB
5180 # Extract the first word of "ranlib", so it can be a program name with args.
5181 set dummy ranlib; ac_word=$2
5182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5183 $as_echo_n "checking for $ac_word... " >&6; }
5184 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5185 $as_echo_n "(cached) " >&6
5186 else
5187 if test -n "$ac_ct_RANLIB"; then
5188 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5189 else
5190 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5191 for as_dir in $PATH
5193 IFS=$as_save_IFS
5194 test -z "$as_dir" && as_dir=.
5195 for ac_exec_ext in '' $ac_executable_extensions; do
5196 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5197 ac_cv_prog_ac_ct_RANLIB="ranlib"
5198 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5199 break 2
5201 done
5202 done
5203 IFS=$as_save_IFS
5207 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5208 if test -n "$ac_ct_RANLIB"; then
5209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5210 $as_echo "$ac_ct_RANLIB" >&6; }
5211 else
5212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5213 $as_echo "no" >&6; }
5216 if test "x$ac_ct_RANLIB" = x; then
5217 RANLIB="ranlib-not-found-in-path-error"
5218 else
5219 case $cross_compiling:$ac_tool_warned in
5220 yes:)
5221 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5222 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5223 ac_tool_warned=yes ;;
5224 esac
5225 RANLIB=$ac_ct_RANLIB
5227 else
5228 RANLIB="$ac_cv_prog_RANLIB"
5233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5234 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5235 # Check whether --enable-maintainer-mode was given.
5236 if test "${enable_maintainer_mode+set}" = set; then :
5237 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5238 else
5239 USE_MAINTAINER_MODE=no
5242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5243 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5244 if test $USE_MAINTAINER_MODE = yes; then
5245 MAINTAINER_MODE_TRUE=
5246 MAINTAINER_MODE_FALSE='#'
5247 else
5248 MAINTAINER_MODE_TRUE='#'
5249 MAINTAINER_MODE_FALSE=
5252 MAINT=$MAINTAINER_MODE_TRUE
5256 # Set up safe default values for all subsequent AM_CONDITIONAL tests
5257 # which are themselves conditionally expanded.
5258 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5259 ## other macros from doing the same. This should be automated.) -pme
5261 # Check for C library flavor since GNU/Linux platforms use different
5262 # configuration directories depending on the C library in use.
5263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5264 /* end confdefs.h. */
5266 #include <stdio.h>
5267 #if __UCLIBC__
5268 _using_uclibc
5269 #endif
5271 _ACEOF
5272 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5273 $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5274 uclibc=yes
5275 else
5276 uclibc=no
5278 rm -f conftest*
5281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5282 /* end confdefs.h. */
5284 #include <stdio.h>
5285 #if __BIONIC__
5286 _using_bionic
5287 #endif
5289 _ACEOF
5290 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5291 $EGREP "_using_bionic" >/dev/null 2>&1; then :
5292 bionic=yes
5293 else
5294 bionic=no
5296 rm -f conftest*
5299 # Find platform-specific directories containing configuration info.
5300 # Also possibly modify flags used elsewhere, as needed by the platform.
5302 . $glibcxx_srcdir/configure.host
5303 { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5304 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5305 { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5306 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5310 # Libtool setup.
5311 if test "x${with_newlib}" != "xyes"; then
5312 enable_dlopen=yes
5317 case `pwd` in
5318 *\ * | *\ *)
5319 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5320 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5321 esac
5325 macro_version='2.2.7a'
5326 macro_revision='1.3134'
5340 ltmain="$ac_aux_dir/ltmain.sh"
5342 # Backslashify metacharacters that are still active within
5343 # double-quoted strings.
5344 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5346 # Same as above, but do not quote variable references.
5347 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5349 # Sed substitution to delay expansion of an escaped shell variable in a
5350 # double_quote_subst'ed string.
5351 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5353 # Sed substitution to delay expansion of an escaped single quote.
5354 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5356 # Sed substitution to avoid accidental globbing in evaled expressions
5357 no_glob_subst='s/\*/\\\*/g'
5359 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5360 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5361 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5364 $as_echo_n "checking how to print strings... " >&6; }
5365 # Test print first, because it will be a builtin if present.
5366 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5367 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5368 ECHO='print -r --'
5369 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5370 ECHO='printf %s\n'
5371 else
5372 # Use this function as a fallback that always works.
5373 func_fallback_echo ()
5375 eval 'cat <<_LTECHO_EOF
5377 _LTECHO_EOF'
5379 ECHO='func_fallback_echo'
5382 # func_echo_all arg...
5383 # Invoke $ECHO with all args, space-separated.
5384 func_echo_all ()
5386 $ECHO ""
5389 case "$ECHO" in
5390 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5391 $as_echo "printf" >&6; } ;;
5392 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5393 $as_echo "print -r" >&6; } ;;
5394 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5395 $as_echo "cat" >&6; } ;;
5396 esac
5411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5412 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5413 if test "${ac_cv_path_SED+set}" = set; then :
5414 $as_echo_n "(cached) " >&6
5415 else
5416 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5417 for ac_i in 1 2 3 4 5 6 7; do
5418 ac_script="$ac_script$as_nl$ac_script"
5419 done
5420 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5421 { ac_script=; unset ac_script;}
5422 if test -z "$SED"; then
5423 ac_path_SED_found=false
5424 # Loop through the user's path and test for each of PROGNAME-LIST
5425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5426 for as_dir in $PATH
5428 IFS=$as_save_IFS
5429 test -z "$as_dir" && as_dir=.
5430 for ac_prog in sed gsed; do
5431 for ac_exec_ext in '' $ac_executable_extensions; do
5432 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5433 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5434 # Check for GNU ac_path_SED and select it if it is found.
5435 # Check for GNU $ac_path_SED
5436 case `"$ac_path_SED" --version 2>&1` in
5437 *GNU*)
5438 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5440 ac_count=0
5441 $as_echo_n 0123456789 >"conftest.in"
5442 while :
5444 cat "conftest.in" "conftest.in" >"conftest.tmp"
5445 mv "conftest.tmp" "conftest.in"
5446 cp "conftest.in" "conftest.nl"
5447 $as_echo '' >> "conftest.nl"
5448 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5449 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5450 as_fn_arith $ac_count + 1 && ac_count=$as_val
5451 if test $ac_count -gt ${ac_path_SED_max-0}; then
5452 # Best one so far, save it but keep looking for a better one
5453 ac_cv_path_SED="$ac_path_SED"
5454 ac_path_SED_max=$ac_count
5456 # 10*(2^10) chars as input seems more than enough
5457 test $ac_count -gt 10 && break
5458 done
5459 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5460 esac
5462 $ac_path_SED_found && break 3
5463 done
5464 done
5465 done
5466 IFS=$as_save_IFS
5467 if test -z "$ac_cv_path_SED"; then
5468 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5470 else
5471 ac_cv_path_SED=$SED
5475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5476 $as_echo "$ac_cv_path_SED" >&6; }
5477 SED="$ac_cv_path_SED"
5478 rm -f conftest.sed
5480 test -z "$SED" && SED=sed
5481 Xsed="$SED -e 1s/^X//"
5493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5494 $as_echo_n "checking for fgrep... " >&6; }
5495 if test "${ac_cv_path_FGREP+set}" = set; then :
5496 $as_echo_n "(cached) " >&6
5497 else
5498 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5499 then ac_cv_path_FGREP="$GREP -F"
5500 else
5501 if test -z "$FGREP"; then
5502 ac_path_FGREP_found=false
5503 # Loop through the user's path and test for each of PROGNAME-LIST
5504 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5505 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5507 IFS=$as_save_IFS
5508 test -z "$as_dir" && as_dir=.
5509 for ac_prog in fgrep; do
5510 for ac_exec_ext in '' $ac_executable_extensions; do
5511 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5512 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5513 # Check for GNU ac_path_FGREP and select it if it is found.
5514 # Check for GNU $ac_path_FGREP
5515 case `"$ac_path_FGREP" --version 2>&1` in
5516 *GNU*)
5517 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5519 ac_count=0
5520 $as_echo_n 0123456789 >"conftest.in"
5521 while :
5523 cat "conftest.in" "conftest.in" >"conftest.tmp"
5524 mv "conftest.tmp" "conftest.in"
5525 cp "conftest.in" "conftest.nl"
5526 $as_echo 'FGREP' >> "conftest.nl"
5527 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5528 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5529 as_fn_arith $ac_count + 1 && ac_count=$as_val
5530 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5531 # Best one so far, save it but keep looking for a better one
5532 ac_cv_path_FGREP="$ac_path_FGREP"
5533 ac_path_FGREP_max=$ac_count
5535 # 10*(2^10) chars as input seems more than enough
5536 test $ac_count -gt 10 && break
5537 done
5538 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5539 esac
5541 $ac_path_FGREP_found && break 3
5542 done
5543 done
5544 done
5545 IFS=$as_save_IFS
5546 if test -z "$ac_cv_path_FGREP"; then
5547 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5549 else
5550 ac_cv_path_FGREP=$FGREP
5555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5556 $as_echo "$ac_cv_path_FGREP" >&6; }
5557 FGREP="$ac_cv_path_FGREP"
5560 test -z "$GREP" && GREP=grep
5580 # Check whether --with-gnu-ld was given.
5581 if test "${with_gnu_ld+set}" = set; then :
5582 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5583 else
5584 with_gnu_ld=no
5587 ac_prog=ld
5588 if test "$GCC" = yes; then
5589 # Check if gcc -print-prog-name=ld gives a path.
5590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5591 $as_echo_n "checking for ld used by $CC... " >&6; }
5592 case $host in
5593 *-*-mingw*)
5594 # gcc leaves a trailing carriage return which upsets mingw
5595 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5597 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5598 esac
5599 case $ac_prog in
5600 # Accept absolute paths.
5601 [\\/]* | ?:[\\/]*)
5602 re_direlt='/[^/][^/]*/\.\./'
5603 # Canonicalize the pathname of ld
5604 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5605 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5606 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5607 done
5608 test -z "$LD" && LD="$ac_prog"
5611 # If it fails, then pretend we aren't using GCC.
5612 ac_prog=ld
5615 # If it is relative, then search for the first ld in PATH.
5616 with_gnu_ld=unknown
5618 esac
5619 elif test "$with_gnu_ld" = yes; then
5620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5621 $as_echo_n "checking for GNU ld... " >&6; }
5622 else
5623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5624 $as_echo_n "checking for non-GNU ld... " >&6; }
5626 if test "${lt_cv_path_LD+set}" = set; then :
5627 $as_echo_n "(cached) " >&6
5628 else
5629 if test -z "$LD"; then
5630 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5631 for ac_dir in $PATH; do
5632 IFS="$lt_save_ifs"
5633 test -z "$ac_dir" && ac_dir=.
5634 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5635 lt_cv_path_LD="$ac_dir/$ac_prog"
5636 # Check to see if the program is GNU ld. I'd rather use --version,
5637 # but apparently some variants of GNU ld only accept -v.
5638 # Break only if it was the GNU/non-GNU ld that we prefer.
5639 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5640 *GNU* | *'with BFD'*)
5641 test "$with_gnu_ld" != no && break
5644 test "$with_gnu_ld" != yes && break
5646 esac
5648 done
5649 IFS="$lt_save_ifs"
5650 else
5651 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5655 LD="$lt_cv_path_LD"
5656 if test -n "$LD"; then
5657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5658 $as_echo "$LD" >&6; }
5659 else
5660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5661 $as_echo "no" >&6; }
5663 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5665 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5666 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5667 $as_echo_n "(cached) " >&6
5668 else
5669 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5670 case `$LD -v 2>&1 </dev/null` in
5671 *GNU* | *'with BFD'*)
5672 lt_cv_prog_gnu_ld=yes
5675 lt_cv_prog_gnu_ld=no
5677 esac
5679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5680 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5681 with_gnu_ld=$lt_cv_prog_gnu_ld
5691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5692 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5693 if test "${lt_cv_path_NM+set}" = set; then :
5694 $as_echo_n "(cached) " >&6
5695 else
5696 if test -n "$NM"; then
5697 # Let the user override the test.
5698 lt_cv_path_NM="$NM"
5699 else
5700 lt_nm_to_check="${ac_tool_prefix}nm"
5701 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5702 lt_nm_to_check="$lt_nm_to_check nm"
5704 for lt_tmp_nm in $lt_nm_to_check; do
5705 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5706 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5707 IFS="$lt_save_ifs"
5708 test -z "$ac_dir" && ac_dir=.
5709 tmp_nm="$ac_dir/$lt_tmp_nm"
5710 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5711 # Check to see if the nm accepts a BSD-compat flag.
5712 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5713 # nm: unknown option "B" ignored
5714 # Tru64's nm complains that /dev/null is an invalid object file
5715 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5716 */dev/null* | *'Invalid file or object type'*)
5717 lt_cv_path_NM="$tmp_nm -B"
5718 break
5721 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5722 */dev/null*)
5723 lt_cv_path_NM="$tmp_nm -p"
5724 break
5727 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5728 continue # so that we can try to find one that supports BSD flags
5730 esac
5732 esac
5734 done
5735 IFS="$lt_save_ifs"
5736 done
5737 : ${lt_cv_path_NM=no}
5740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5741 $as_echo "$lt_cv_path_NM" >&6; }
5742 if test "$lt_cv_path_NM" != "no"; then
5743 NM="$lt_cv_path_NM"
5744 else
5745 # Didn't find any BSD compatible name lister, look for dumpbin.
5746 if test -n "$DUMPBIN"; then :
5747 # Let the user override the test.
5748 else
5749 if test -n "$ac_tool_prefix"; then
5750 for ac_prog in dumpbin "link -dump"
5752 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5753 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5755 $as_echo_n "checking for $ac_word... " >&6; }
5756 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5757 $as_echo_n "(cached) " >&6
5758 else
5759 if test -n "$DUMPBIN"; then
5760 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5761 else
5762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5763 for as_dir in $PATH
5765 IFS=$as_save_IFS
5766 test -z "$as_dir" && as_dir=.
5767 for ac_exec_ext in '' $ac_executable_extensions; do
5768 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5769 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5770 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5771 break 2
5773 done
5774 done
5775 IFS=$as_save_IFS
5779 DUMPBIN=$ac_cv_prog_DUMPBIN
5780 if test -n "$DUMPBIN"; then
5781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5782 $as_echo "$DUMPBIN" >&6; }
5783 else
5784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5785 $as_echo "no" >&6; }
5789 test -n "$DUMPBIN" && break
5790 done
5792 if test -z "$DUMPBIN"; then
5793 ac_ct_DUMPBIN=$DUMPBIN
5794 for ac_prog in dumpbin "link -dump"
5796 # Extract the first word of "$ac_prog", so it can be a program name with args.
5797 set dummy $ac_prog; ac_word=$2
5798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5799 $as_echo_n "checking for $ac_word... " >&6; }
5800 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5801 $as_echo_n "(cached) " >&6
5802 else
5803 if test -n "$ac_ct_DUMPBIN"; then
5804 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5805 else
5806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5807 for as_dir in $PATH
5809 IFS=$as_save_IFS
5810 test -z "$as_dir" && as_dir=.
5811 for ac_exec_ext in '' $ac_executable_extensions; do
5812 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5813 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5814 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5815 break 2
5817 done
5818 done
5819 IFS=$as_save_IFS
5823 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5824 if test -n "$ac_ct_DUMPBIN"; then
5825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5826 $as_echo "$ac_ct_DUMPBIN" >&6; }
5827 else
5828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5829 $as_echo "no" >&6; }
5833 test -n "$ac_ct_DUMPBIN" && break
5834 done
5836 if test "x$ac_ct_DUMPBIN" = x; then
5837 DUMPBIN=":"
5838 else
5839 case $cross_compiling:$ac_tool_warned in
5840 yes:)
5841 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5842 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5843 ac_tool_warned=yes ;;
5844 esac
5845 DUMPBIN=$ac_ct_DUMPBIN
5849 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5850 *COFF*)
5851 DUMPBIN="$DUMPBIN -symbols"
5854 DUMPBIN=:
5856 esac
5859 if test "$DUMPBIN" != ":"; then
5860 NM="$DUMPBIN"
5863 test -z "$NM" && NM=nm
5870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5871 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5872 if test "${lt_cv_nm_interface+set}" = set; then :
5873 $as_echo_n "(cached) " >&6
5874 else
5875 lt_cv_nm_interface="BSD nm"
5876 echo "int some_variable = 0;" > conftest.$ac_ext
5877 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5878 (eval "$ac_compile" 2>conftest.err)
5879 cat conftest.err >&5
5880 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5881 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5882 cat conftest.err >&5
5883 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5884 cat conftest.out >&5
5885 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5886 lt_cv_nm_interface="MS dumpbin"
5888 rm -f conftest*
5890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5891 $as_echo "$lt_cv_nm_interface" >&6; }
5893 # find the maximum length of command line arguments
5894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5895 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5896 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5897 $as_echo_n "(cached) " >&6
5898 else
5900 teststring="ABCD"
5902 case $build_os in
5903 msdosdjgpp*)
5904 # On DJGPP, this test can blow up pretty badly due to problems in libc
5905 # (any single argument exceeding 2000 bytes causes a buffer overrun
5906 # during glob expansion). Even if it were fixed, the result of this
5907 # check would be larger than it should be.
5908 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5911 gnu*)
5912 # Under GNU Hurd, this test is not required because there is
5913 # no limit to the length of command line arguments.
5914 # Libtool will interpret -1 as no limit whatsoever
5915 lt_cv_sys_max_cmd_len=-1;
5918 cygwin* | mingw* | cegcc*)
5919 # On Win9x/ME, this test blows up -- it succeeds, but takes
5920 # about 5 minutes as the teststring grows exponentially.
5921 # Worse, since 9x/ME are not pre-emptively multitasking,
5922 # you end up with a "frozen" computer, even though with patience
5923 # the test eventually succeeds (with a max line length of 256k).
5924 # Instead, let's just punt: use the minimum linelength reported by
5925 # all of the supported platforms: 8192 (on NT/2K/XP).
5926 lt_cv_sys_max_cmd_len=8192;
5929 mint*)
5930 # On MiNT this can take a long time and run out of memory.
5931 lt_cv_sys_max_cmd_len=8192;
5934 amigaos*)
5935 # On AmigaOS with pdksh, this test takes hours, literally.
5936 # So we just punt and use a minimum line length of 8192.
5937 lt_cv_sys_max_cmd_len=8192;
5940 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5941 # This has been around since 386BSD, at least. Likely further.
5942 if test -x /sbin/sysctl; then
5943 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5944 elif test -x /usr/sbin/sysctl; then
5945 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5946 else
5947 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5949 # And add a safety zone
5950 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5951 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5954 interix*)
5955 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5956 lt_cv_sys_max_cmd_len=196608
5959 osf*)
5960 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5961 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5962 # nice to cause kernel panics so lets avoid the loop below.
5963 # First set a reasonable default.
5964 lt_cv_sys_max_cmd_len=16384
5966 if test -x /sbin/sysconfig; then
5967 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5968 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5969 esac
5972 sco3.2v5*)
5973 lt_cv_sys_max_cmd_len=102400
5975 sysv5* | sco5v6* | sysv4.2uw2*)
5976 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5977 if test -n "$kargmax"; then
5978 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5979 else
5980 lt_cv_sys_max_cmd_len=32768
5984 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5985 if test -n "$lt_cv_sys_max_cmd_len"; then
5986 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5987 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5988 else
5989 # Make teststring a little bigger before we do anything with it.
5990 # a 1K string should be a reasonable start.
5991 for i in 1 2 3 4 5 6 7 8 ; do
5992 teststring=$teststring$teststring
5993 done
5994 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5995 # If test is not a shell built-in, we'll probably end up computing a
5996 # maximum length that is only half of the actual maximum length, but
5997 # we can't tell.
5998 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5999 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6000 test $i != 17 # 1/2 MB should be enough
6002 i=`expr $i + 1`
6003 teststring=$teststring$teststring
6004 done
6005 # Only check the string length outside the loop.
6006 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6007 teststring=
6008 # Add a significant safety factor because C++ compilers can tack on
6009 # massive amounts of additional arguments before passing them to the
6010 # linker. It appears as though 1/2 is a usable value.
6011 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6014 esac
6018 if test -n $lt_cv_sys_max_cmd_len ; then
6019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6020 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6021 else
6022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6023 $as_echo "none" >&6; }
6025 max_cmd_len=$lt_cv_sys_max_cmd_len
6032 : ${CP="cp -f"}
6033 : ${MV="mv -f"}
6034 : ${RM="rm -f"}
6036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6037 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6038 # Try some XSI features
6039 xsi_shell=no
6040 ( _lt_dummy="a/b/c"
6041 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6042 = c,a/b,, \
6043 && eval 'test $(( 1 + 1 )) -eq 2 \
6044 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6045 && xsi_shell=yes
6046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6047 $as_echo "$xsi_shell" >&6; }
6050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6051 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6052 lt_shell_append=no
6053 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6054 >/dev/null 2>&1 \
6055 && lt_shell_append=yes
6056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6057 $as_echo "$lt_shell_append" >&6; }
6060 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6061 lt_unset=unset
6062 else
6063 lt_unset=false
6070 # test EBCDIC or ASCII
6071 case `echo X|tr X '\101'` in
6072 A) # ASCII based system
6073 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6074 lt_SP2NL='tr \040 \012'
6075 lt_NL2SP='tr \015\012 \040\040'
6077 *) # EBCDIC based system
6078 lt_SP2NL='tr \100 \n'
6079 lt_NL2SP='tr \r\n \100\100'
6081 esac
6091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6092 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6093 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6094 $as_echo_n "(cached) " >&6
6095 else
6096 lt_cv_ld_reload_flag='-r'
6098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6099 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6100 reload_flag=$lt_cv_ld_reload_flag
6101 case $reload_flag in
6102 "" | " "*) ;;
6103 *) reload_flag=" $reload_flag" ;;
6104 esac
6105 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6106 case $host_os in
6107 darwin*)
6108 if test "$GCC" = yes; then
6109 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6110 else
6111 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6114 esac
6124 if test -n "$ac_tool_prefix"; then
6125 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6126 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6128 $as_echo_n "checking for $ac_word... " >&6; }
6129 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6130 $as_echo_n "(cached) " >&6
6131 else
6132 if test -n "$OBJDUMP"; then
6133 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6134 else
6135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6136 for as_dir in $PATH
6138 IFS=$as_save_IFS
6139 test -z "$as_dir" && as_dir=.
6140 for ac_exec_ext in '' $ac_executable_extensions; do
6141 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6142 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6143 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6144 break 2
6146 done
6147 done
6148 IFS=$as_save_IFS
6152 OBJDUMP=$ac_cv_prog_OBJDUMP
6153 if test -n "$OBJDUMP"; then
6154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6155 $as_echo "$OBJDUMP" >&6; }
6156 else
6157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6158 $as_echo "no" >&6; }
6163 if test -z "$ac_cv_prog_OBJDUMP"; then
6164 ac_ct_OBJDUMP=$OBJDUMP
6165 # Extract the first word of "objdump", so it can be a program name with args.
6166 set dummy objdump; ac_word=$2
6167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6168 $as_echo_n "checking for $ac_word... " >&6; }
6169 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6170 $as_echo_n "(cached) " >&6
6171 else
6172 if test -n "$ac_ct_OBJDUMP"; then
6173 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6174 else
6175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6176 for as_dir in $PATH
6178 IFS=$as_save_IFS
6179 test -z "$as_dir" && as_dir=.
6180 for ac_exec_ext in '' $ac_executable_extensions; do
6181 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6182 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6183 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6184 break 2
6186 done
6187 done
6188 IFS=$as_save_IFS
6192 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6193 if test -n "$ac_ct_OBJDUMP"; then
6194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6195 $as_echo "$ac_ct_OBJDUMP" >&6; }
6196 else
6197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6198 $as_echo "no" >&6; }
6201 if test "x$ac_ct_OBJDUMP" = x; then
6202 OBJDUMP="false"
6203 else
6204 case $cross_compiling:$ac_tool_warned in
6205 yes:)
6206 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6207 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6208 ac_tool_warned=yes ;;
6209 esac
6210 OBJDUMP=$ac_ct_OBJDUMP
6212 else
6213 OBJDUMP="$ac_cv_prog_OBJDUMP"
6216 test -z "$OBJDUMP" && OBJDUMP=objdump
6226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6227 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6228 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6229 $as_echo_n "(cached) " >&6
6230 else
6231 lt_cv_file_magic_cmd='$MAGIC_CMD'
6232 lt_cv_file_magic_test_file=
6233 lt_cv_deplibs_check_method='unknown'
6234 # Need to set the preceding variable on all platforms that support
6235 # interlibrary dependencies.
6236 # 'none' -- dependencies not supported.
6237 # `unknown' -- same as none, but documents that we really don't know.
6238 # 'pass_all' -- all dependencies passed with no checks.
6239 # 'test_compile' -- check by making test program.
6240 # 'file_magic [[regex]]' -- check by looking for files in library path
6241 # which responds to the $file_magic_cmd with a given extended regex.
6242 # If you have `file' or equivalent on your system and you're not sure
6243 # whether `pass_all' will *always* work, you probably want this one.
6245 case $host_os in
6246 aix[4-9]*)
6247 lt_cv_deplibs_check_method=pass_all
6250 beos*)
6251 lt_cv_deplibs_check_method=pass_all
6254 bsdi[45]*)
6255 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6256 lt_cv_file_magic_cmd='/usr/bin/file -L'
6257 lt_cv_file_magic_test_file=/shlib/libc.so
6260 cygwin*)
6261 # func_win32_libid is a shell function defined in ltmain.sh
6262 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6263 lt_cv_file_magic_cmd='func_win32_libid'
6266 mingw* | pw32*)
6267 # Base MSYS/MinGW do not provide the 'file' command needed by
6268 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6269 # unless we find 'file', for example because we are cross-compiling.
6270 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6271 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6272 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6273 lt_cv_file_magic_cmd='func_win32_libid'
6274 else
6275 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6276 lt_cv_file_magic_cmd='$OBJDUMP -f'
6280 cegcc*)
6281 # use the weaker test based on 'objdump'. See mingw*.
6282 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6283 lt_cv_file_magic_cmd='$OBJDUMP -f'
6286 darwin* | rhapsody*)
6287 lt_cv_deplibs_check_method=pass_all
6290 freebsd* | dragonfly*)
6291 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6292 case $host_cpu in
6293 i*86 )
6294 # Not sure whether the presence of OpenBSD here was a mistake.
6295 # Let's accept both of them until this is cleared up.
6296 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6297 lt_cv_file_magic_cmd=/usr/bin/file
6298 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6300 esac
6301 else
6302 lt_cv_deplibs_check_method=pass_all
6306 gnu*)
6307 lt_cv_deplibs_check_method=pass_all
6310 haiku*)
6311 lt_cv_deplibs_check_method=pass_all
6314 hpux10.20* | hpux11*)
6315 lt_cv_file_magic_cmd=/usr/bin/file
6316 case $host_cpu in
6317 ia64*)
6318 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6319 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6321 hppa*64*)
6322 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]'
6323 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6326 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6327 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6329 esac
6332 interix[3-9]*)
6333 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6334 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6337 irix5* | irix6* | nonstopux*)
6338 case $LD in
6339 *-32|*"-32 ") libmagic=32-bit;;
6340 *-n32|*"-n32 ") libmagic=N32;;
6341 *-64|*"-64 ") libmagic=64-bit;;
6342 *) libmagic=never-match;;
6343 esac
6344 lt_cv_deplibs_check_method=pass_all
6347 # This must be Linux ELF.
6348 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6349 lt_cv_deplibs_check_method=pass_all
6352 netbsd*)
6353 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6354 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6355 else
6356 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6360 newos6*)
6361 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6362 lt_cv_file_magic_cmd=/usr/bin/file
6363 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6366 *nto* | *qnx*)
6367 lt_cv_deplibs_check_method=pass_all
6370 openbsd*)
6371 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6372 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6373 else
6374 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6378 osf3* | osf4* | osf5*)
6379 lt_cv_deplibs_check_method=pass_all
6382 rdos*)
6383 lt_cv_deplibs_check_method=pass_all
6386 solaris*)
6387 lt_cv_deplibs_check_method=pass_all
6390 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6391 lt_cv_deplibs_check_method=pass_all
6394 sysv4 | sysv4.3*)
6395 case $host_vendor in
6396 motorola)
6397 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]'
6398 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6400 ncr)
6401 lt_cv_deplibs_check_method=pass_all
6403 sequent)
6404 lt_cv_file_magic_cmd='/bin/file'
6405 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6407 sni)
6408 lt_cv_file_magic_cmd='/bin/file'
6409 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6410 lt_cv_file_magic_test_file=/lib/libc.so
6412 siemens)
6413 lt_cv_deplibs_check_method=pass_all
6416 lt_cv_deplibs_check_method=pass_all
6418 esac
6421 tpf*)
6422 lt_cv_deplibs_check_method=pass_all
6424 esac
6427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6428 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6429 file_magic_cmd=$lt_cv_file_magic_cmd
6430 deplibs_check_method=$lt_cv_deplibs_check_method
6431 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6444 if test -n "$ac_tool_prefix"; then
6445 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6446 set dummy ${ac_tool_prefix}ar; ac_word=$2
6447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6448 $as_echo_n "checking for $ac_word... " >&6; }
6449 if test "${ac_cv_prog_AR+set}" = set; then :
6450 $as_echo_n "(cached) " >&6
6451 else
6452 if test -n "$AR"; then
6453 ac_cv_prog_AR="$AR" # Let the user override the test.
6454 else
6455 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6456 for as_dir in $PATH
6458 IFS=$as_save_IFS
6459 test -z "$as_dir" && as_dir=.
6460 for ac_exec_ext in '' $ac_executable_extensions; do
6461 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6462 ac_cv_prog_AR="${ac_tool_prefix}ar"
6463 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6464 break 2
6466 done
6467 done
6468 IFS=$as_save_IFS
6472 AR=$ac_cv_prog_AR
6473 if test -n "$AR"; then
6474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6475 $as_echo "$AR" >&6; }
6476 else
6477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6478 $as_echo "no" >&6; }
6483 if test -z "$ac_cv_prog_AR"; then
6484 ac_ct_AR=$AR
6485 # Extract the first word of "ar", so it can be a program name with args.
6486 set dummy ar; ac_word=$2
6487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6488 $as_echo_n "checking for $ac_word... " >&6; }
6489 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6490 $as_echo_n "(cached) " >&6
6491 else
6492 if test -n "$ac_ct_AR"; then
6493 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6494 else
6495 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6496 for as_dir in $PATH
6498 IFS=$as_save_IFS
6499 test -z "$as_dir" && as_dir=.
6500 for ac_exec_ext in '' $ac_executable_extensions; do
6501 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6502 ac_cv_prog_ac_ct_AR="ar"
6503 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6504 break 2
6506 done
6507 done
6508 IFS=$as_save_IFS
6512 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6513 if test -n "$ac_ct_AR"; then
6514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6515 $as_echo "$ac_ct_AR" >&6; }
6516 else
6517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6518 $as_echo "no" >&6; }
6521 if test "x$ac_ct_AR" = x; then
6522 AR="false"
6523 else
6524 case $cross_compiling:$ac_tool_warned in
6525 yes:)
6526 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6527 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6528 ac_tool_warned=yes ;;
6529 esac
6530 AR=$ac_ct_AR
6532 else
6533 AR="$ac_cv_prog_AR"
6536 test -z "$AR" && AR=ar
6537 test -z "$AR_FLAGS" && AR_FLAGS=cru
6549 if test -n "$ac_tool_prefix"; then
6550 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6551 set dummy ${ac_tool_prefix}strip; ac_word=$2
6552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6553 $as_echo_n "checking for $ac_word... " >&6; }
6554 if test "${ac_cv_prog_STRIP+set}" = set; then :
6555 $as_echo_n "(cached) " >&6
6556 else
6557 if test -n "$STRIP"; then
6558 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6559 else
6560 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6561 for as_dir in $PATH
6563 IFS=$as_save_IFS
6564 test -z "$as_dir" && as_dir=.
6565 for ac_exec_ext in '' $ac_executable_extensions; do
6566 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6567 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6568 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6569 break 2
6571 done
6572 done
6573 IFS=$as_save_IFS
6577 STRIP=$ac_cv_prog_STRIP
6578 if test -n "$STRIP"; then
6579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6580 $as_echo "$STRIP" >&6; }
6581 else
6582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6583 $as_echo "no" >&6; }
6588 if test -z "$ac_cv_prog_STRIP"; then
6589 ac_ct_STRIP=$STRIP
6590 # Extract the first word of "strip", so it can be a program name with args.
6591 set dummy strip; ac_word=$2
6592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6593 $as_echo_n "checking for $ac_word... " >&6; }
6594 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6595 $as_echo_n "(cached) " >&6
6596 else
6597 if test -n "$ac_ct_STRIP"; then
6598 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6599 else
6600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6601 for as_dir in $PATH
6603 IFS=$as_save_IFS
6604 test -z "$as_dir" && as_dir=.
6605 for ac_exec_ext in '' $ac_executable_extensions; do
6606 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6607 ac_cv_prog_ac_ct_STRIP="strip"
6608 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6609 break 2
6611 done
6612 done
6613 IFS=$as_save_IFS
6617 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6618 if test -n "$ac_ct_STRIP"; then
6619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6620 $as_echo "$ac_ct_STRIP" >&6; }
6621 else
6622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6623 $as_echo "no" >&6; }
6626 if test "x$ac_ct_STRIP" = x; then
6627 STRIP=":"
6628 else
6629 case $cross_compiling:$ac_tool_warned in
6630 yes:)
6631 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6632 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6633 ac_tool_warned=yes ;;
6634 esac
6635 STRIP=$ac_ct_STRIP
6637 else
6638 STRIP="$ac_cv_prog_STRIP"
6641 test -z "$STRIP" && STRIP=:
6648 if test -n "$ac_tool_prefix"; then
6649 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6650 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6652 $as_echo_n "checking for $ac_word... " >&6; }
6653 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6654 $as_echo_n "(cached) " >&6
6655 else
6656 if test -n "$RANLIB"; then
6657 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6658 else
6659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6660 for as_dir in $PATH
6662 IFS=$as_save_IFS
6663 test -z "$as_dir" && as_dir=.
6664 for ac_exec_ext in '' $ac_executable_extensions; do
6665 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6666 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6667 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6668 break 2
6670 done
6671 done
6672 IFS=$as_save_IFS
6676 RANLIB=$ac_cv_prog_RANLIB
6677 if test -n "$RANLIB"; then
6678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6679 $as_echo "$RANLIB" >&6; }
6680 else
6681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6682 $as_echo "no" >&6; }
6687 if test -z "$ac_cv_prog_RANLIB"; then
6688 ac_ct_RANLIB=$RANLIB
6689 # Extract the first word of "ranlib", so it can be a program name with args.
6690 set dummy ranlib; ac_word=$2
6691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6692 $as_echo_n "checking for $ac_word... " >&6; }
6693 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6694 $as_echo_n "(cached) " >&6
6695 else
6696 if test -n "$ac_ct_RANLIB"; then
6697 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6698 else
6699 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6700 for as_dir in $PATH
6702 IFS=$as_save_IFS
6703 test -z "$as_dir" && as_dir=.
6704 for ac_exec_ext in '' $ac_executable_extensions; do
6705 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6706 ac_cv_prog_ac_ct_RANLIB="ranlib"
6707 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6708 break 2
6710 done
6711 done
6712 IFS=$as_save_IFS
6716 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6717 if test -n "$ac_ct_RANLIB"; then
6718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6719 $as_echo "$ac_ct_RANLIB" >&6; }
6720 else
6721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6722 $as_echo "no" >&6; }
6725 if test "x$ac_ct_RANLIB" = x; then
6726 RANLIB=":"
6727 else
6728 case $cross_compiling:$ac_tool_warned in
6729 yes:)
6730 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6731 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6732 ac_tool_warned=yes ;;
6733 esac
6734 RANLIB=$ac_ct_RANLIB
6736 else
6737 RANLIB="$ac_cv_prog_RANLIB"
6740 test -z "$RANLIB" && RANLIB=:
6747 # Determine commands to create old-style static archives.
6748 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6749 old_postinstall_cmds='chmod 644 $oldlib'
6750 old_postuninstall_cmds=
6752 if test -n "$RANLIB"; then
6753 case $host_os in
6754 openbsd*)
6755 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6758 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6760 esac
6761 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6764 case $host_os in
6765 darwin*)
6766 lock_old_archive_extraction=yes ;;
6768 lock_old_archive_extraction=no ;;
6769 esac
6809 # If no C compiler was specified, use CC.
6810 LTCC=${LTCC-"$CC"}
6812 # If no C compiler flags were specified, use CFLAGS.
6813 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6815 # Allow CC to be a program name with arguments.
6816 compiler=$CC
6819 # Check for command to grab the raw symbol name followed by C symbol from nm.
6820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6821 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6822 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6823 $as_echo_n "(cached) " >&6
6824 else
6826 # These are sane defaults that work on at least a few old systems.
6827 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6829 # Character class describing NM global symbol codes.
6830 symcode='[BCDEGRST]'
6832 # Regexp to match symbols that can be accessed directly from C.
6833 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6835 # Define system-specific variables.
6836 case $host_os in
6837 aix*)
6838 symcode='[BCDT]'
6840 cygwin* | mingw* | pw32* | cegcc*)
6841 symcode='[ABCDGISTW]'
6843 hpux*)
6844 if test "$host_cpu" = ia64; then
6845 symcode='[ABCDEGRST]'
6848 irix* | nonstopux*)
6849 symcode='[BCDEGRST]'
6851 osf*)
6852 symcode='[BCDEGQRST]'
6854 solaris*)
6855 symcode='[BDRT]'
6857 sco3.2v5*)
6858 symcode='[DT]'
6860 sysv4.2uw2*)
6861 symcode='[DT]'
6863 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6864 symcode='[ABDT]'
6866 sysv4)
6867 symcode='[DFNSTU]'
6869 esac
6871 # If we're using GNU nm, then use its standard symbol codes.
6872 case `$NM -V 2>&1` in
6873 *GNU* | *'with BFD'*)
6874 symcode='[ABCDGIRSTW]' ;;
6875 esac
6877 # Transform an extracted symbol line into a proper C declaration.
6878 # Some systems (esp. on ia64) link data and code symbols differently,
6879 # so use this general approach.
6880 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6882 # Transform an extracted symbol line into symbol name and symbol address
6883 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6884 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'"
6886 # Handle CRLF in mingw tool chain
6887 opt_cr=
6888 case $build_os in
6889 mingw*)
6890 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6892 esac
6894 # Try without a prefix underscore, then with it.
6895 for ac_symprfx in "" "_"; do
6897 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6898 symxfrm="\\1 $ac_symprfx\\2 \\2"
6900 # Write the raw and C identifiers.
6901 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6902 # Fake it for dumpbin and say T for any non-static function
6903 # and D for any global variable.
6904 # Also find C++ and __fastcall symbols from MSVC++,
6905 # which start with @ or ?.
6906 lt_cv_sys_global_symbol_pipe="$AWK '"\
6907 " {last_section=section; section=\$ 3};"\
6908 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6909 " \$ 0!~/External *\|/{next};"\
6910 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6911 " {if(hide[section]) next};"\
6912 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6913 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6914 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6915 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6916 " ' prfx=^$ac_symprfx"
6917 else
6918 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6921 # Check to see that the pipe works correctly.
6922 pipe_works=no
6924 rm -f conftest*
6925 cat > conftest.$ac_ext <<_LT_EOF
6926 #ifdef __cplusplus
6927 extern "C" {
6928 #endif
6929 char nm_test_var;
6930 void nm_test_func(void);
6931 void nm_test_func(void){}
6932 #ifdef __cplusplus
6934 #endif
6935 int main(){nm_test_var='a';nm_test_func();return(0);}
6936 _LT_EOF
6938 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6939 (eval $ac_compile) 2>&5
6940 ac_status=$?
6941 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6942 test $ac_status = 0; }; then
6943 # Now try to grab the symbols.
6944 nlist=conftest.nm
6945 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6946 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6947 ac_status=$?
6948 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6949 test $ac_status = 0; } && test -s "$nlist"; then
6950 # Try sorting and uniquifying the output.
6951 if sort "$nlist" | uniq > "$nlist"T; then
6952 mv -f "$nlist"T "$nlist"
6953 else
6954 rm -f "$nlist"T
6957 # Make sure that we snagged all the symbols we need.
6958 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6959 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6960 cat <<_LT_EOF > conftest.$ac_ext
6961 #ifdef __cplusplus
6962 extern "C" {
6963 #endif
6965 _LT_EOF
6966 # Now generate the symbol file.
6967 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6969 cat <<_LT_EOF >> conftest.$ac_ext
6971 /* The mapping between symbol names and symbols. */
6972 const struct {
6973 const char *name;
6974 void *address;
6976 lt__PROGRAM__LTX_preloaded_symbols[] =
6978 { "@PROGRAM@", (void *) 0 },
6979 _LT_EOF
6980 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6981 cat <<\_LT_EOF >> conftest.$ac_ext
6982 {0, (void *) 0}
6985 /* This works around a problem in FreeBSD linker */
6986 #ifdef FREEBSD_WORKAROUND
6987 static const void *lt_preloaded_setup() {
6988 return lt__PROGRAM__LTX_preloaded_symbols;
6990 #endif
6992 #ifdef __cplusplus
6994 #endif
6995 _LT_EOF
6996 # Now try linking the two files.
6997 mv conftest.$ac_objext conftstm.$ac_objext
6998 lt_save_LIBS="$LIBS"
6999 lt_save_CFLAGS="$CFLAGS"
7000 LIBS="conftstm.$ac_objext"
7001 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7002 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7003 (eval $ac_link) 2>&5
7004 ac_status=$?
7005 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7006 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7007 pipe_works=yes
7009 LIBS="$lt_save_LIBS"
7010 CFLAGS="$lt_save_CFLAGS"
7011 else
7012 echo "cannot find nm_test_func in $nlist" >&5
7014 else
7015 echo "cannot find nm_test_var in $nlist" >&5
7017 else
7018 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7020 else
7021 echo "$progname: failed program was:" >&5
7022 cat conftest.$ac_ext >&5
7024 rm -rf conftest* conftst*
7026 # Do not use the global_symbol_pipe unless it works.
7027 if test "$pipe_works" = yes; then
7028 break
7029 else
7030 lt_cv_sys_global_symbol_pipe=
7032 done
7036 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7037 lt_cv_sys_global_symbol_to_cdecl=
7039 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7041 $as_echo "failed" >&6; }
7042 else
7043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7044 $as_echo "ok" >&6; }
7068 # Check whether --enable-libtool-lock was given.
7069 if test "${enable_libtool_lock+set}" = set; then :
7070 enableval=$enable_libtool_lock;
7073 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7075 # Some flags need to be propagated to the compiler or linker for good
7076 # libtool support.
7077 case $host in
7078 ia64-*-hpux*)
7079 # Find out which ABI we are using.
7080 echo 'int i;' > conftest.$ac_ext
7081 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7082 (eval $ac_compile) 2>&5
7083 ac_status=$?
7084 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7085 test $ac_status = 0; }; then
7086 case `/usr/bin/file conftest.$ac_objext` in
7087 *ELF-32*)
7088 HPUX_IA64_MODE="32"
7090 *ELF-64*)
7091 HPUX_IA64_MODE="64"
7093 esac
7095 rm -rf conftest*
7097 *-*-irix6*)
7098 # Find out which ABI we are using.
7099 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7100 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7101 (eval $ac_compile) 2>&5
7102 ac_status=$?
7103 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7104 test $ac_status = 0; }; then
7105 if test "$lt_cv_prog_gnu_ld" = yes; then
7106 case `/usr/bin/file conftest.$ac_objext` in
7107 *32-bit*)
7108 LD="${LD-ld} -melf32bsmip"
7110 *N32*)
7111 LD="${LD-ld} -melf32bmipn32"
7113 *64-bit*)
7114 LD="${LD-ld} -melf64bmip"
7116 esac
7117 else
7118 case `/usr/bin/file conftest.$ac_objext` in
7119 *32-bit*)
7120 LD="${LD-ld} -32"
7122 *N32*)
7123 LD="${LD-ld} -n32"
7125 *64-bit*)
7126 LD="${LD-ld} -64"
7128 esac
7131 rm -rf conftest*
7134 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7135 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
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.o` in
7144 *32-bit*)
7145 case $host in
7146 x86_64-*kfreebsd*-gnu)
7147 LD="${LD-ld} -m elf_i386_fbsd"
7149 x86_64-*linux*)
7150 case `/usr/bin/file conftest.o` in
7151 *x86-64*)
7152 LD="${LD-ld} -m elf32_x86_64"
7155 LD="${LD-ld} -m elf_i386"
7157 esac
7159 powerpc64le-*linux*)
7160 LD="${LD-ld} -m elf32lppclinux"
7162 powerpc64-*linux*)
7163 LD="${LD-ld} -m elf32ppclinux"
7165 s390x-*linux*)
7166 LD="${LD-ld} -m elf_s390"
7168 sparc64-*linux*)
7169 LD="${LD-ld} -m elf32_sparc"
7171 esac
7173 *64-bit*)
7174 case $host in
7175 x86_64-*kfreebsd*-gnu)
7176 LD="${LD-ld} -m elf_x86_64_fbsd"
7178 x86_64-*linux*)
7179 LD="${LD-ld} -m elf_x86_64"
7181 powerpcle-*linux*)
7182 LD="${LD-ld} -m elf64lppc"
7184 powerpc-*linux*)
7185 LD="${LD-ld} -m elf64ppc"
7187 s390*-*linux*|s390*-*tpf*)
7188 LD="${LD-ld} -m elf64_s390"
7190 sparc*-*linux*)
7191 LD="${LD-ld} -m elf64_sparc"
7193 esac
7195 esac
7197 rm -rf conftest*
7200 *-*-sco3.2v5*)
7201 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7202 SAVE_CFLAGS="$CFLAGS"
7203 CFLAGS="$CFLAGS -belf"
7204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7205 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7206 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7207 $as_echo_n "(cached) " >&6
7208 else
7209 ac_ext=c
7210 ac_cpp='$CPP $CPPFLAGS'
7211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7215 if test x$gcc_no_link = xyes; then
7216 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7219 /* end confdefs.h. */
7222 main ()
7226 return 0;
7228 _ACEOF
7229 if ac_fn_c_try_link "$LINENO"; then :
7230 lt_cv_cc_needs_belf=yes
7231 else
7232 lt_cv_cc_needs_belf=no
7234 rm -f core conftest.err conftest.$ac_objext \
7235 conftest$ac_exeext conftest.$ac_ext
7236 ac_ext=c
7237 ac_cpp='$CPP $CPPFLAGS'
7238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7244 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7245 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7246 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7247 CFLAGS="$SAVE_CFLAGS"
7250 sparc*-*solaris*)
7251 # Find out which ABI we are using.
7252 echo 'int i;' > conftest.$ac_ext
7253 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7254 (eval $ac_compile) 2>&5
7255 ac_status=$?
7256 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7257 test $ac_status = 0; }; then
7258 case `/usr/bin/file conftest.o` in
7259 *64-bit*)
7260 case $lt_cv_prog_gnu_ld in
7261 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7263 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7264 LD="${LD-ld} -64"
7267 esac
7269 esac
7271 rm -rf conftest*
7273 esac
7275 need_locks="$enable_libtool_lock"
7278 case $host_os in
7279 rhapsody* | darwin*)
7280 if test -n "$ac_tool_prefix"; then
7281 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7282 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7284 $as_echo_n "checking for $ac_word... " >&6; }
7285 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7286 $as_echo_n "(cached) " >&6
7287 else
7288 if test -n "$DSYMUTIL"; then
7289 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7290 else
7291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7292 for as_dir in $PATH
7294 IFS=$as_save_IFS
7295 test -z "$as_dir" && as_dir=.
7296 for ac_exec_ext in '' $ac_executable_extensions; do
7297 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7298 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7299 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7300 break 2
7302 done
7303 done
7304 IFS=$as_save_IFS
7308 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7309 if test -n "$DSYMUTIL"; then
7310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7311 $as_echo "$DSYMUTIL" >&6; }
7312 else
7313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7314 $as_echo "no" >&6; }
7319 if test -z "$ac_cv_prog_DSYMUTIL"; then
7320 ac_ct_DSYMUTIL=$DSYMUTIL
7321 # Extract the first word of "dsymutil", so it can be a program name with args.
7322 set dummy dsymutil; ac_word=$2
7323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7324 $as_echo_n "checking for $ac_word... " >&6; }
7325 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7326 $as_echo_n "(cached) " >&6
7327 else
7328 if test -n "$ac_ct_DSYMUTIL"; then
7329 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7330 else
7331 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7332 for as_dir in $PATH
7334 IFS=$as_save_IFS
7335 test -z "$as_dir" && as_dir=.
7336 for ac_exec_ext in '' $ac_executable_extensions; do
7337 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7338 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7339 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7340 break 2
7342 done
7343 done
7344 IFS=$as_save_IFS
7348 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7349 if test -n "$ac_ct_DSYMUTIL"; then
7350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7351 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7352 else
7353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7354 $as_echo "no" >&6; }
7357 if test "x$ac_ct_DSYMUTIL" = x; then
7358 DSYMUTIL=":"
7359 else
7360 case $cross_compiling:$ac_tool_warned in
7361 yes:)
7362 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7363 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7364 ac_tool_warned=yes ;;
7365 esac
7366 DSYMUTIL=$ac_ct_DSYMUTIL
7368 else
7369 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7372 if test -n "$ac_tool_prefix"; then
7373 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7374 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7376 $as_echo_n "checking for $ac_word... " >&6; }
7377 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7378 $as_echo_n "(cached) " >&6
7379 else
7380 if test -n "$NMEDIT"; then
7381 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7382 else
7383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7384 for as_dir in $PATH
7386 IFS=$as_save_IFS
7387 test -z "$as_dir" && as_dir=.
7388 for ac_exec_ext in '' $ac_executable_extensions; do
7389 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7390 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7391 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7392 break 2
7394 done
7395 done
7396 IFS=$as_save_IFS
7400 NMEDIT=$ac_cv_prog_NMEDIT
7401 if test -n "$NMEDIT"; then
7402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7403 $as_echo "$NMEDIT" >&6; }
7404 else
7405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7406 $as_echo "no" >&6; }
7411 if test -z "$ac_cv_prog_NMEDIT"; then
7412 ac_ct_NMEDIT=$NMEDIT
7413 # Extract the first word of "nmedit", so it can be a program name with args.
7414 set dummy nmedit; ac_word=$2
7415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7416 $as_echo_n "checking for $ac_word... " >&6; }
7417 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7418 $as_echo_n "(cached) " >&6
7419 else
7420 if test -n "$ac_ct_NMEDIT"; then
7421 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7422 else
7423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7424 for as_dir in $PATH
7426 IFS=$as_save_IFS
7427 test -z "$as_dir" && as_dir=.
7428 for ac_exec_ext in '' $ac_executable_extensions; do
7429 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7430 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7431 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7432 break 2
7434 done
7435 done
7436 IFS=$as_save_IFS
7440 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7441 if test -n "$ac_ct_NMEDIT"; then
7442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7443 $as_echo "$ac_ct_NMEDIT" >&6; }
7444 else
7445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7446 $as_echo "no" >&6; }
7449 if test "x$ac_ct_NMEDIT" = x; then
7450 NMEDIT=":"
7451 else
7452 case $cross_compiling:$ac_tool_warned in
7453 yes:)
7454 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7455 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7456 ac_tool_warned=yes ;;
7457 esac
7458 NMEDIT=$ac_ct_NMEDIT
7460 else
7461 NMEDIT="$ac_cv_prog_NMEDIT"
7464 if test -n "$ac_tool_prefix"; then
7465 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7466 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7468 $as_echo_n "checking for $ac_word... " >&6; }
7469 if test "${ac_cv_prog_LIPO+set}" = set; then :
7470 $as_echo_n "(cached) " >&6
7471 else
7472 if test -n "$LIPO"; then
7473 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7474 else
7475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7476 for as_dir in $PATH
7478 IFS=$as_save_IFS
7479 test -z "$as_dir" && as_dir=.
7480 for ac_exec_ext in '' $ac_executable_extensions; do
7481 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7482 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7483 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7484 break 2
7486 done
7487 done
7488 IFS=$as_save_IFS
7492 LIPO=$ac_cv_prog_LIPO
7493 if test -n "$LIPO"; then
7494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7495 $as_echo "$LIPO" >&6; }
7496 else
7497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7498 $as_echo "no" >&6; }
7503 if test -z "$ac_cv_prog_LIPO"; then
7504 ac_ct_LIPO=$LIPO
7505 # Extract the first word of "lipo", so it can be a program name with args.
7506 set dummy lipo; ac_word=$2
7507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7508 $as_echo_n "checking for $ac_word... " >&6; }
7509 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7510 $as_echo_n "(cached) " >&6
7511 else
7512 if test -n "$ac_ct_LIPO"; then
7513 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7514 else
7515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7516 for as_dir in $PATH
7518 IFS=$as_save_IFS
7519 test -z "$as_dir" && as_dir=.
7520 for ac_exec_ext in '' $ac_executable_extensions; do
7521 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7522 ac_cv_prog_ac_ct_LIPO="lipo"
7523 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7524 break 2
7526 done
7527 done
7528 IFS=$as_save_IFS
7532 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7533 if test -n "$ac_ct_LIPO"; then
7534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7535 $as_echo "$ac_ct_LIPO" >&6; }
7536 else
7537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7538 $as_echo "no" >&6; }
7541 if test "x$ac_ct_LIPO" = x; then
7542 LIPO=":"
7543 else
7544 case $cross_compiling:$ac_tool_warned in
7545 yes:)
7546 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7547 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7548 ac_tool_warned=yes ;;
7549 esac
7550 LIPO=$ac_ct_LIPO
7552 else
7553 LIPO="$ac_cv_prog_LIPO"
7556 if test -n "$ac_tool_prefix"; then
7557 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7558 set dummy ${ac_tool_prefix}otool; ac_word=$2
7559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7560 $as_echo_n "checking for $ac_word... " >&6; }
7561 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7562 $as_echo_n "(cached) " >&6
7563 else
7564 if test -n "$OTOOL"; then
7565 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7566 else
7567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7568 for as_dir in $PATH
7570 IFS=$as_save_IFS
7571 test -z "$as_dir" && as_dir=.
7572 for ac_exec_ext in '' $ac_executable_extensions; do
7573 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7574 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7575 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7576 break 2
7578 done
7579 done
7580 IFS=$as_save_IFS
7584 OTOOL=$ac_cv_prog_OTOOL
7585 if test -n "$OTOOL"; then
7586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7587 $as_echo "$OTOOL" >&6; }
7588 else
7589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7590 $as_echo "no" >&6; }
7595 if test -z "$ac_cv_prog_OTOOL"; then
7596 ac_ct_OTOOL=$OTOOL
7597 # Extract the first word of "otool", so it can be a program name with args.
7598 set dummy otool; ac_word=$2
7599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7600 $as_echo_n "checking for $ac_word... " >&6; }
7601 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7602 $as_echo_n "(cached) " >&6
7603 else
7604 if test -n "$ac_ct_OTOOL"; then
7605 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7606 else
7607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7608 for as_dir in $PATH
7610 IFS=$as_save_IFS
7611 test -z "$as_dir" && as_dir=.
7612 for ac_exec_ext in '' $ac_executable_extensions; do
7613 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7614 ac_cv_prog_ac_ct_OTOOL="otool"
7615 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7616 break 2
7618 done
7619 done
7620 IFS=$as_save_IFS
7624 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7625 if test -n "$ac_ct_OTOOL"; then
7626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7627 $as_echo "$ac_ct_OTOOL" >&6; }
7628 else
7629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7630 $as_echo "no" >&6; }
7633 if test "x$ac_ct_OTOOL" = x; then
7634 OTOOL=":"
7635 else
7636 case $cross_compiling:$ac_tool_warned in
7637 yes:)
7638 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7639 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7640 ac_tool_warned=yes ;;
7641 esac
7642 OTOOL=$ac_ct_OTOOL
7644 else
7645 OTOOL="$ac_cv_prog_OTOOL"
7648 if test -n "$ac_tool_prefix"; then
7649 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7650 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7652 $as_echo_n "checking for $ac_word... " >&6; }
7653 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7654 $as_echo_n "(cached) " >&6
7655 else
7656 if test -n "$OTOOL64"; then
7657 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7658 else
7659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7660 for as_dir in $PATH
7662 IFS=$as_save_IFS
7663 test -z "$as_dir" && as_dir=.
7664 for ac_exec_ext in '' $ac_executable_extensions; do
7665 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7666 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7667 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7668 break 2
7670 done
7671 done
7672 IFS=$as_save_IFS
7676 OTOOL64=$ac_cv_prog_OTOOL64
7677 if test -n "$OTOOL64"; then
7678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7679 $as_echo "$OTOOL64" >&6; }
7680 else
7681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7682 $as_echo "no" >&6; }
7687 if test -z "$ac_cv_prog_OTOOL64"; then
7688 ac_ct_OTOOL64=$OTOOL64
7689 # Extract the first word of "otool64", so it can be a program name with args.
7690 set dummy otool64; ac_word=$2
7691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7692 $as_echo_n "checking for $ac_word... " >&6; }
7693 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7694 $as_echo_n "(cached) " >&6
7695 else
7696 if test -n "$ac_ct_OTOOL64"; then
7697 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7698 else
7699 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7700 for as_dir in $PATH
7702 IFS=$as_save_IFS
7703 test -z "$as_dir" && as_dir=.
7704 for ac_exec_ext in '' $ac_executable_extensions; do
7705 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7706 ac_cv_prog_ac_ct_OTOOL64="otool64"
7707 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7708 break 2
7710 done
7711 done
7712 IFS=$as_save_IFS
7716 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7717 if test -n "$ac_ct_OTOOL64"; then
7718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7719 $as_echo "$ac_ct_OTOOL64" >&6; }
7720 else
7721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7722 $as_echo "no" >&6; }
7725 if test "x$ac_ct_OTOOL64" = x; then
7726 OTOOL64=":"
7727 else
7728 case $cross_compiling:$ac_tool_warned in
7729 yes:)
7730 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7731 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7732 ac_tool_warned=yes ;;
7733 esac
7734 OTOOL64=$ac_ct_OTOOL64
7736 else
7737 OTOOL64="$ac_cv_prog_OTOOL64"
7766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7767 $as_echo_n "checking for -single_module linker flag... " >&6; }
7768 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7769 $as_echo_n "(cached) " >&6
7770 else
7771 lt_cv_apple_cc_single_mod=no
7772 if test -z "${LT_MULTI_MODULE}"; then
7773 # By default we will add the -single_module flag. You can override
7774 # by either setting the environment variable LT_MULTI_MODULE
7775 # non-empty at configure time, or by adding -multi_module to the
7776 # link flags.
7777 rm -rf libconftest.dylib*
7778 echo "int foo(void){return 1;}" > conftest.c
7779 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7780 -dynamiclib -Wl,-single_module conftest.c" >&5
7781 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7782 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7783 _lt_result=$?
7784 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7785 lt_cv_apple_cc_single_mod=yes
7786 else
7787 cat conftest.err >&5
7789 rm -rf libconftest.dylib*
7790 rm -f conftest.*
7793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7794 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7796 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7797 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7798 $as_echo_n "(cached) " >&6
7799 else
7800 lt_cv_ld_exported_symbols_list=no
7801 save_LDFLAGS=$LDFLAGS
7802 echo "_main" > conftest.sym
7803 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7804 if test x$gcc_no_link = xyes; then
7805 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7808 /* end confdefs.h. */
7811 main ()
7815 return 0;
7817 _ACEOF
7818 if ac_fn_c_try_link "$LINENO"; then :
7819 lt_cv_ld_exported_symbols_list=yes
7820 else
7821 lt_cv_ld_exported_symbols_list=no
7823 rm -f core conftest.err conftest.$ac_objext \
7824 conftest$ac_exeext conftest.$ac_ext
7825 LDFLAGS="$save_LDFLAGS"
7828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7829 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7831 $as_echo_n "checking for -force_load linker flag... " >&6; }
7832 if test "${lt_cv_ld_force_load+set}" = set; then :
7833 $as_echo_n "(cached) " >&6
7834 else
7835 lt_cv_ld_force_load=no
7836 cat > conftest.c << _LT_EOF
7837 int forced_loaded() { return 2;}
7838 _LT_EOF
7839 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7840 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7841 echo "$AR cru libconftest.a conftest.o" >&5
7842 $AR cru libconftest.a conftest.o 2>&5
7843 cat > conftest.c << _LT_EOF
7844 int main() { return 0;}
7845 _LT_EOF
7846 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7847 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7848 _lt_result=$?
7849 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7850 lt_cv_ld_force_load=yes
7851 else
7852 cat conftest.err >&5
7854 rm -f conftest.err libconftest.a conftest conftest.c
7855 rm -rf conftest.dSYM
7858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7859 $as_echo "$lt_cv_ld_force_load" >&6; }
7860 case $host_os in
7861 rhapsody* | darwin1.[012])
7862 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7863 darwin1.*)
7864 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7865 darwin*) # darwin 5.x on
7866 # if running on 10.5 or later, the deployment target defaults
7867 # to the OS version, if on x86, and 10.4, the deployment
7868 # target defaults to 10.4. Don't you love it?
7869 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7870 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7871 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7872 10.[012][,.]*)
7873 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7874 10.*)
7875 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7876 esac
7878 esac
7879 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7880 _lt_dar_single_mod='$single_module'
7882 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7883 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7884 else
7885 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7887 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7888 _lt_dsymutil='~$DSYMUTIL $lib || :'
7889 else
7890 _lt_dsymutil=
7893 esac
7895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7896 $as_echo_n "checking for ANSI C header files... " >&6; }
7897 if test "${ac_cv_header_stdc+set}" = set; then :
7898 $as_echo_n "(cached) " >&6
7899 else
7900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7901 /* end confdefs.h. */
7902 #include <stdlib.h>
7903 #include <stdarg.h>
7904 #include <string.h>
7905 #include <float.h>
7908 main ()
7912 return 0;
7914 _ACEOF
7915 if ac_fn_c_try_compile "$LINENO"; then :
7916 ac_cv_header_stdc=yes
7917 else
7918 ac_cv_header_stdc=no
7920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7922 if test $ac_cv_header_stdc = yes; then
7923 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7925 /* end confdefs.h. */
7926 #include <string.h>
7928 _ACEOF
7929 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7930 $EGREP "memchr" >/dev/null 2>&1; then :
7932 else
7933 ac_cv_header_stdc=no
7935 rm -f conftest*
7939 if test $ac_cv_header_stdc = yes; then
7940 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7942 /* end confdefs.h. */
7943 #include <stdlib.h>
7945 _ACEOF
7946 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7947 $EGREP "free" >/dev/null 2>&1; then :
7949 else
7950 ac_cv_header_stdc=no
7952 rm -f conftest*
7956 if test $ac_cv_header_stdc = yes; then
7957 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7958 if test "$cross_compiling" = yes; then :
7960 else
7961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7962 /* end confdefs.h. */
7963 #include <ctype.h>
7964 #include <stdlib.h>
7965 #if ((' ' & 0x0FF) == 0x020)
7966 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7967 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7968 #else
7969 # define ISLOWER(c) \
7970 (('a' <= (c) && (c) <= 'i') \
7971 || ('j' <= (c) && (c) <= 'r') \
7972 || ('s' <= (c) && (c) <= 'z'))
7973 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7974 #endif
7976 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7978 main ()
7980 int i;
7981 for (i = 0; i < 256; i++)
7982 if (XOR (islower (i), ISLOWER (i))
7983 || toupper (i) != TOUPPER (i))
7984 return 2;
7985 return 0;
7987 _ACEOF
7988 if ac_fn_c_try_run "$LINENO"; then :
7990 else
7991 ac_cv_header_stdc=no
7993 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7994 conftest.$ac_objext conftest.beam conftest.$ac_ext
7999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8000 $as_echo "$ac_cv_header_stdc" >&6; }
8001 if test $ac_cv_header_stdc = yes; then
8003 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8007 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8008 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8009 inttypes.h stdint.h unistd.h
8010 do :
8011 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8012 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8014 eval as_val=\$$as_ac_Header
8015 if test "x$as_val" = x""yes; then :
8016 cat >>confdefs.h <<_ACEOF
8017 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8018 _ACEOF
8022 done
8025 for ac_header in dlfcn.h
8026 do :
8027 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8029 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
8030 cat >>confdefs.h <<_ACEOF
8031 #define HAVE_DLFCN_H 1
8032 _ACEOF
8036 done
8043 # Set options
8048 enable_win32_dll=no
8051 # Check whether --enable-shared was given.
8052 if test "${enable_shared+set}" = set; then :
8053 enableval=$enable_shared; p=${PACKAGE-default}
8054 case $enableval in
8055 yes) enable_shared=yes ;;
8056 no) enable_shared=no ;;
8058 enable_shared=no
8059 # Look at the argument we got. We use all the common list separators.
8060 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8061 for pkg in $enableval; do
8062 IFS="$lt_save_ifs"
8063 if test "X$pkg" = "X$p"; then
8064 enable_shared=yes
8066 done
8067 IFS="$lt_save_ifs"
8069 esac
8070 else
8071 enable_shared=yes
8082 # Check whether --enable-static was given.
8083 if test "${enable_static+set}" = set; then :
8084 enableval=$enable_static; p=${PACKAGE-default}
8085 case $enableval in
8086 yes) enable_static=yes ;;
8087 no) enable_static=no ;;
8089 enable_static=no
8090 # Look at the argument we got. We use all the common list separators.
8091 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8092 for pkg in $enableval; do
8093 IFS="$lt_save_ifs"
8094 if test "X$pkg" = "X$p"; then
8095 enable_static=yes
8097 done
8098 IFS="$lt_save_ifs"
8100 esac
8101 else
8102 enable_static=yes
8114 # Check whether --with-pic was given.
8115 if test "${with_pic+set}" = set; then :
8116 withval=$with_pic; pic_mode="$withval"
8117 else
8118 pic_mode=default
8122 test -z "$pic_mode" && pic_mode=default
8130 # Check whether --enable-fast-install was given.
8131 if test "${enable_fast_install+set}" = set; then :
8132 enableval=$enable_fast_install; p=${PACKAGE-default}
8133 case $enableval in
8134 yes) enable_fast_install=yes ;;
8135 no) enable_fast_install=no ;;
8137 enable_fast_install=no
8138 # Look at the argument we got. We use all the common list separators.
8139 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8140 for pkg in $enableval; do
8141 IFS="$lt_save_ifs"
8142 if test "X$pkg" = "X$p"; then
8143 enable_fast_install=yes
8145 done
8146 IFS="$lt_save_ifs"
8148 esac
8149 else
8150 enable_fast_install=yes
8163 # This can be used to rebuild libtool when needed
8164 LIBTOOL_DEPS="$ltmain"
8166 # Always use our own libtool.
8167 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8194 test -z "$LN_S" && LN_S="ln -s"
8209 if test -n "${ZSH_VERSION+set}" ; then
8210 setopt NO_GLOB_SUBST
8213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8214 $as_echo_n "checking for objdir... " >&6; }
8215 if test "${lt_cv_objdir+set}" = set; then :
8216 $as_echo_n "(cached) " >&6
8217 else
8218 rm -f .libs 2>/dev/null
8219 mkdir .libs 2>/dev/null
8220 if test -d .libs; then
8221 lt_cv_objdir=.libs
8222 else
8223 # MS-DOS does not allow filenames that begin with a dot.
8224 lt_cv_objdir=_libs
8226 rmdir .libs 2>/dev/null
8228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8229 $as_echo "$lt_cv_objdir" >&6; }
8230 objdir=$lt_cv_objdir
8236 cat >>confdefs.h <<_ACEOF
8237 #define LT_OBJDIR "$lt_cv_objdir/"
8238 _ACEOF
8243 case $host_os in
8244 aix3*)
8245 # AIX sometimes has problems with the GCC collect2 program. For some
8246 # reason, if we set the COLLECT_NAMES environment variable, the problems
8247 # vanish in a puff of smoke.
8248 if test "X${COLLECT_NAMES+set}" != Xset; then
8249 COLLECT_NAMES=
8250 export COLLECT_NAMES
8253 esac
8255 # Global variables:
8256 ofile=libtool
8257 can_build_shared=yes
8259 # All known linkers require a `.a' archive for static linking (except MSVC,
8260 # which needs '.lib').
8261 libext=a
8263 with_gnu_ld="$lt_cv_prog_gnu_ld"
8265 old_CC="$CC"
8266 old_CFLAGS="$CFLAGS"
8268 # Set sane defaults for various variables
8269 test -z "$CC" && CC=cc
8270 test -z "$LTCC" && LTCC=$CC
8271 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8272 test -z "$LD" && LD=ld
8273 test -z "$ac_objext" && ac_objext=o
8275 for cc_temp in $compiler""; do
8276 case $cc_temp in
8277 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8278 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8279 \-*) ;;
8280 *) break;;
8281 esac
8282 done
8283 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8286 # Only perform the check for file, if the check method requires it
8287 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8288 case $deplibs_check_method in
8289 file_magic*)
8290 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8292 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8293 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8294 $as_echo_n "(cached) " >&6
8295 else
8296 case $MAGIC_CMD in
8297 [\\/*] | ?:[\\/]*)
8298 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8301 lt_save_MAGIC_CMD="$MAGIC_CMD"
8302 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8303 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8304 for ac_dir in $ac_dummy; do
8305 IFS="$lt_save_ifs"
8306 test -z "$ac_dir" && ac_dir=.
8307 if test -f $ac_dir/${ac_tool_prefix}file; then
8308 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8309 if test -n "$file_magic_test_file"; then
8310 case $deplibs_check_method in
8311 "file_magic "*)
8312 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8313 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8314 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8315 $EGREP "$file_magic_regex" > /dev/null; then
8317 else
8318 cat <<_LT_EOF 1>&2
8320 *** Warning: the command libtool uses to detect shared libraries,
8321 *** $file_magic_cmd, produces output that libtool cannot recognize.
8322 *** The result is that libtool may fail to recognize shared libraries
8323 *** as such. This will affect the creation of libtool libraries that
8324 *** depend on shared libraries, but programs linked with such libtool
8325 *** libraries will work regardless of this problem. Nevertheless, you
8326 *** may want to report the problem to your system manager and/or to
8327 *** bug-libtool@gnu.org
8329 _LT_EOF
8330 fi ;;
8331 esac
8333 break
8335 done
8336 IFS="$lt_save_ifs"
8337 MAGIC_CMD="$lt_save_MAGIC_CMD"
8339 esac
8342 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8343 if test -n "$MAGIC_CMD"; then
8344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8345 $as_echo "$MAGIC_CMD" >&6; }
8346 else
8347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8348 $as_echo "no" >&6; }
8355 if test -z "$lt_cv_path_MAGIC_CMD"; then
8356 if test -n "$ac_tool_prefix"; then
8357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8358 $as_echo_n "checking for file... " >&6; }
8359 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8360 $as_echo_n "(cached) " >&6
8361 else
8362 case $MAGIC_CMD in
8363 [\\/*] | ?:[\\/]*)
8364 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8367 lt_save_MAGIC_CMD="$MAGIC_CMD"
8368 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8369 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8370 for ac_dir in $ac_dummy; do
8371 IFS="$lt_save_ifs"
8372 test -z "$ac_dir" && ac_dir=.
8373 if test -f $ac_dir/file; then
8374 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8375 if test -n "$file_magic_test_file"; then
8376 case $deplibs_check_method in
8377 "file_magic "*)
8378 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8379 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8380 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8381 $EGREP "$file_magic_regex" > /dev/null; then
8383 else
8384 cat <<_LT_EOF 1>&2
8386 *** Warning: the command libtool uses to detect shared libraries,
8387 *** $file_magic_cmd, produces output that libtool cannot recognize.
8388 *** The result is that libtool may fail to recognize shared libraries
8389 *** as such. This will affect the creation of libtool libraries that
8390 *** depend on shared libraries, but programs linked with such libtool
8391 *** libraries will work regardless of this problem. Nevertheless, you
8392 *** may want to report the problem to your system manager and/or to
8393 *** bug-libtool@gnu.org
8395 _LT_EOF
8396 fi ;;
8397 esac
8399 break
8401 done
8402 IFS="$lt_save_ifs"
8403 MAGIC_CMD="$lt_save_MAGIC_CMD"
8405 esac
8408 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8409 if test -n "$MAGIC_CMD"; then
8410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8411 $as_echo "$MAGIC_CMD" >&6; }
8412 else
8413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8414 $as_echo "no" >&6; }
8418 else
8419 MAGIC_CMD=:
8425 esac
8427 # Use C for the default configuration in the libtool script
8429 lt_save_CC="$CC"
8430 ac_ext=c
8431 ac_cpp='$CPP $CPPFLAGS'
8432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8437 # Source file extension for C test sources.
8438 ac_ext=c
8440 # Object file extension for compiled C test sources.
8441 objext=o
8442 objext=$objext
8444 # Code to be used in simple compile tests
8445 lt_simple_compile_test_code="int some_variable = 0;"
8447 # Code to be used in simple link tests
8448 lt_simple_link_test_code='int main(){return(0);}'
8456 # If no C compiler was specified, use CC.
8457 LTCC=${LTCC-"$CC"}
8459 # If no C compiler flags were specified, use CFLAGS.
8460 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8462 # Allow CC to be a program name with arguments.
8463 compiler=$CC
8465 # Save the default compiler, since it gets overwritten when the other
8466 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8467 compiler_DEFAULT=$CC
8469 # save warnings/boilerplate of simple test code
8470 ac_outfile=conftest.$ac_objext
8471 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8472 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8473 _lt_compiler_boilerplate=`cat conftest.err`
8474 $RM conftest*
8476 ac_outfile=conftest.$ac_objext
8477 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8478 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8479 _lt_linker_boilerplate=`cat conftest.err`
8480 $RM -r conftest*
8483 ## CAVEAT EMPTOR:
8484 ## There is no encapsulation within the following macros, do not change
8485 ## the running order or otherwise move them around unless you know exactly
8486 ## what you are doing...
8487 if test -n "$compiler"; then
8489 lt_prog_compiler_no_builtin_flag=
8491 if test "$GCC" = yes; then
8492 case $cc_basename in
8493 nvcc*)
8494 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8496 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8497 esac
8499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8500 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8501 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8502 $as_echo_n "(cached) " >&6
8503 else
8504 lt_cv_prog_compiler_rtti_exceptions=no
8505 ac_outfile=conftest.$ac_objext
8506 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8507 lt_compiler_flag="-fno-rtti -fno-exceptions"
8508 # Insert the option either (1) after the last *FLAGS variable, or
8509 # (2) before a word containing "conftest.", or (3) at the end.
8510 # Note that $ac_compile itself does not contain backslashes and begins
8511 # with a dollar sign (not a hyphen), so the echo should work correctly.
8512 # The option is referenced via a variable to avoid confusing sed.
8513 lt_compile=`echo "$ac_compile" | $SED \
8514 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8515 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8516 -e 's:$: $lt_compiler_flag:'`
8517 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8518 (eval "$lt_compile" 2>conftest.err)
8519 ac_status=$?
8520 cat conftest.err >&5
8521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8522 if (exit $ac_status) && test -s "$ac_outfile"; then
8523 # The compiler can only warn and ignore the option if not recognized
8524 # So say no if there are warnings other than the usual output.
8525 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8526 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8527 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8528 lt_cv_prog_compiler_rtti_exceptions=yes
8531 $RM conftest*
8534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8535 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8537 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8538 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8539 else
8550 lt_prog_compiler_wl=
8551 lt_prog_compiler_pic=
8552 lt_prog_compiler_static=
8554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8555 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8557 if test "$GCC" = yes; then
8558 lt_prog_compiler_wl='-Wl,'
8559 lt_prog_compiler_static='-static'
8561 case $host_os in
8562 aix*)
8563 # All AIX code is PIC.
8564 if test "$host_cpu" = ia64; then
8565 # AIX 5 now supports IA64 processor
8566 lt_prog_compiler_static='-Bstatic'
8568 lt_prog_compiler_pic='-fPIC'
8571 amigaos*)
8572 case $host_cpu in
8573 powerpc)
8574 # see comment about AmigaOS4 .so support
8575 lt_prog_compiler_pic='-fPIC'
8577 m68k)
8578 # FIXME: we need at least 68020 code to build shared libraries, but
8579 # adding the `-m68020' flag to GCC prevents building anything better,
8580 # like `-m68040'.
8581 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8583 esac
8586 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8587 # PIC is the default for these OSes.
8590 mingw* | cygwin* | pw32* | os2* | cegcc*)
8591 # This hack is so that the source file can tell whether it is being
8592 # built for inclusion in a dll (and should export symbols for example).
8593 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8594 # (--disable-auto-import) libraries
8595 lt_prog_compiler_pic='-DDLL_EXPORT'
8598 darwin* | rhapsody*)
8599 # PIC is the default on this platform
8600 # Common symbols not allowed in MH_DYLIB files
8601 lt_prog_compiler_pic='-fno-common'
8604 haiku*)
8605 # PIC is the default for Haiku.
8606 # The "-static" flag exists, but is broken.
8607 lt_prog_compiler_static=
8610 hpux*)
8611 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8612 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8613 # sets the default TLS model and affects inlining.
8614 case $host_cpu in
8615 hppa*64*)
8616 # +Z the default
8619 lt_prog_compiler_pic='-fPIC'
8621 esac
8624 interix[3-9]*)
8625 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8626 # Instead, we relocate shared libraries at runtime.
8629 msdosdjgpp*)
8630 # Just because we use GCC doesn't mean we suddenly get shared libraries
8631 # on systems that don't support them.
8632 lt_prog_compiler_can_build_shared=no
8633 enable_shared=no
8636 *nto* | *qnx*)
8637 # QNX uses GNU C++, but need to define -shared option too, otherwise
8638 # it will coredump.
8639 lt_prog_compiler_pic='-fPIC -shared'
8642 sysv4*MP*)
8643 if test -d /usr/nec; then
8644 lt_prog_compiler_pic=-Kconform_pic
8649 lt_prog_compiler_pic='-fPIC'
8651 esac
8653 case $cc_basename in
8654 nvcc*) # Cuda Compiler Driver 2.2
8655 lt_prog_compiler_wl='-Xlinker '
8656 lt_prog_compiler_pic='-Xcompiler -fPIC'
8658 esac
8659 else
8660 # PORTME Check for flag to pass linker flags through the system compiler.
8661 case $host_os in
8662 aix*)
8663 lt_prog_compiler_wl='-Wl,'
8664 if test "$host_cpu" = ia64; then
8665 # AIX 5 now supports IA64 processor
8666 lt_prog_compiler_static='-Bstatic'
8667 else
8668 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8672 mingw* | cygwin* | pw32* | os2* | cegcc*)
8673 # This hack is so that the source file can tell whether it is being
8674 # built for inclusion in a dll (and should export symbols for example).
8675 lt_prog_compiler_pic='-DDLL_EXPORT'
8678 hpux9* | hpux10* | hpux11*)
8679 lt_prog_compiler_wl='-Wl,'
8680 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8681 # not for PA HP-UX.
8682 case $host_cpu in
8683 hppa*64*|ia64*)
8684 # +Z the default
8687 lt_prog_compiler_pic='+Z'
8689 esac
8690 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8691 lt_prog_compiler_static='${wl}-a ${wl}archive'
8694 irix5* | irix6* | nonstopux*)
8695 lt_prog_compiler_wl='-Wl,'
8696 # PIC (with -KPIC) is the default.
8697 lt_prog_compiler_static='-non_shared'
8700 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8701 case $cc_basename in
8702 # old Intel for x86_64 which still supported -KPIC.
8703 ecc*)
8704 lt_prog_compiler_wl='-Wl,'
8705 lt_prog_compiler_pic='-KPIC'
8706 lt_prog_compiler_static='-static'
8708 # icc used to be incompatible with GCC.
8709 # ICC 10 doesn't accept -KPIC any more.
8710 icc* | ifort*)
8711 lt_prog_compiler_wl='-Wl,'
8712 lt_prog_compiler_pic='-fPIC'
8713 lt_prog_compiler_static='-static'
8715 # Lahey Fortran 8.1.
8716 lf95*)
8717 lt_prog_compiler_wl='-Wl,'
8718 lt_prog_compiler_pic='--shared'
8719 lt_prog_compiler_static='--static'
8721 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8722 # Portland Group compilers (*not* the Pentium gcc compiler,
8723 # which looks to be a dead project)
8724 lt_prog_compiler_wl='-Wl,'
8725 lt_prog_compiler_pic='-fpic'
8726 lt_prog_compiler_static='-Bstatic'
8728 ccc*)
8729 lt_prog_compiler_wl='-Wl,'
8730 # All Alpha code is PIC.
8731 lt_prog_compiler_static='-non_shared'
8733 xl* | bgxl* | bgf* | mpixl*)
8734 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8735 lt_prog_compiler_wl='-Wl,'
8736 lt_prog_compiler_pic='-qpic'
8737 lt_prog_compiler_static='-qstaticlink'
8740 case `$CC -V 2>&1 | sed 5q` in
8741 *Sun\ F* | *Sun*Fortran*)
8742 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8743 lt_prog_compiler_pic='-KPIC'
8744 lt_prog_compiler_static='-Bstatic'
8745 lt_prog_compiler_wl=''
8747 *Sun\ C*)
8748 # Sun C 5.9
8749 lt_prog_compiler_pic='-KPIC'
8750 lt_prog_compiler_static='-Bstatic'
8751 lt_prog_compiler_wl='-Wl,'
8753 esac
8755 esac
8758 newsos6)
8759 lt_prog_compiler_pic='-KPIC'
8760 lt_prog_compiler_static='-Bstatic'
8763 *nto* | *qnx*)
8764 # QNX uses GNU C++, but need to define -shared option too, otherwise
8765 # it will coredump.
8766 lt_prog_compiler_pic='-fPIC -shared'
8769 osf3* | osf4* | osf5*)
8770 lt_prog_compiler_wl='-Wl,'
8771 # All OSF/1 code is PIC.
8772 lt_prog_compiler_static='-non_shared'
8775 rdos*)
8776 lt_prog_compiler_static='-non_shared'
8779 solaris*)
8780 lt_prog_compiler_pic='-KPIC'
8781 lt_prog_compiler_static='-Bstatic'
8782 case $cc_basename in
8783 f77* | f90* | f95*)
8784 lt_prog_compiler_wl='-Qoption ld ';;
8786 lt_prog_compiler_wl='-Wl,';;
8787 esac
8790 sunos4*)
8791 lt_prog_compiler_wl='-Qoption ld '
8792 lt_prog_compiler_pic='-PIC'
8793 lt_prog_compiler_static='-Bstatic'
8796 sysv4 | sysv4.2uw2* | sysv4.3*)
8797 lt_prog_compiler_wl='-Wl,'
8798 lt_prog_compiler_pic='-KPIC'
8799 lt_prog_compiler_static='-Bstatic'
8802 sysv4*MP*)
8803 if test -d /usr/nec ;then
8804 lt_prog_compiler_pic='-Kconform_pic'
8805 lt_prog_compiler_static='-Bstatic'
8809 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8810 lt_prog_compiler_wl='-Wl,'
8811 lt_prog_compiler_pic='-KPIC'
8812 lt_prog_compiler_static='-Bstatic'
8815 unicos*)
8816 lt_prog_compiler_wl='-Wl,'
8817 lt_prog_compiler_can_build_shared=no
8820 uts4*)
8821 lt_prog_compiler_pic='-pic'
8822 lt_prog_compiler_static='-Bstatic'
8826 lt_prog_compiler_can_build_shared=no
8828 esac
8831 case $host_os in
8832 # For platforms which do not support PIC, -DPIC is meaningless:
8833 *djgpp*)
8834 lt_prog_compiler_pic=
8837 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8839 esac
8840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8841 $as_echo "$lt_prog_compiler_pic" >&6; }
8849 # Check to make sure the PIC flag actually works.
8851 if test -n "$lt_prog_compiler_pic"; then
8852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8853 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8854 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8855 $as_echo_n "(cached) " >&6
8856 else
8857 lt_cv_prog_compiler_pic_works=no
8858 ac_outfile=conftest.$ac_objext
8859 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8860 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8861 # Insert the option either (1) after the last *FLAGS variable, or
8862 # (2) before a word containing "conftest.", or (3) at the end.
8863 # Note that $ac_compile itself does not contain backslashes and begins
8864 # with a dollar sign (not a hyphen), so the echo should work correctly.
8865 # The option is referenced via a variable to avoid confusing sed.
8866 lt_compile=`echo "$ac_compile" | $SED \
8867 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8868 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8869 -e 's:$: $lt_compiler_flag:'`
8870 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8871 (eval "$lt_compile" 2>conftest.err)
8872 ac_status=$?
8873 cat conftest.err >&5
8874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8875 if (exit $ac_status) && test -s "$ac_outfile"; then
8876 # The compiler can only warn and ignore the option if not recognized
8877 # So say no if there are warnings other than the usual output.
8878 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8879 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8880 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8881 lt_cv_prog_compiler_pic_works=yes
8884 $RM conftest*
8887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8888 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8890 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8891 case $lt_prog_compiler_pic in
8892 "" | " "*) ;;
8893 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8894 esac
8895 else
8896 lt_prog_compiler_pic=
8897 lt_prog_compiler_can_build_shared=no
8908 # Check to make sure the static flag actually works.
8910 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8912 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8913 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8914 $as_echo_n "(cached) " >&6
8915 else
8916 lt_cv_prog_compiler_static_works=no
8917 save_LDFLAGS="$LDFLAGS"
8918 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8919 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8920 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8921 # The linker can only warn and ignore the option if not recognized
8922 # So say no if there are warnings
8923 if test -s conftest.err; then
8924 # Append any errors to the config.log.
8925 cat conftest.err 1>&5
8926 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8927 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8928 if diff conftest.exp conftest.er2 >/dev/null; then
8929 lt_cv_prog_compiler_static_works=yes
8931 else
8932 lt_cv_prog_compiler_static_works=yes
8935 $RM -r conftest*
8936 LDFLAGS="$save_LDFLAGS"
8939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8940 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8942 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8944 else
8945 lt_prog_compiler_static=
8954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8955 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8956 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8957 $as_echo_n "(cached) " >&6
8958 else
8959 lt_cv_prog_compiler_c_o=no
8960 $RM -r conftest 2>/dev/null
8961 mkdir conftest
8962 cd conftest
8963 mkdir out
8964 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8966 lt_compiler_flag="-o out/conftest2.$ac_objext"
8967 # Insert the option either (1) after the last *FLAGS variable, or
8968 # (2) before a word containing "conftest.", or (3) at the end.
8969 # Note that $ac_compile itself does not contain backslashes and begins
8970 # with a dollar sign (not a hyphen), so the echo should work correctly.
8971 lt_compile=`echo "$ac_compile" | $SED \
8972 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8973 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8974 -e 's:$: $lt_compiler_flag:'`
8975 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8976 (eval "$lt_compile" 2>out/conftest.err)
8977 ac_status=$?
8978 cat out/conftest.err >&5
8979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8980 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8981 then
8982 # The compiler can only warn and ignore the option if not recognized
8983 # So say no if there are warnings
8984 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8985 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8986 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8987 lt_cv_prog_compiler_c_o=yes
8990 chmod u+w . 2>&5
8991 $RM conftest*
8992 # SGI C++ compiler will create directory out/ii_files/ for
8993 # template instantiation
8994 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8995 $RM out/* && rmdir out
8996 cd ..
8997 $RM -r conftest
8998 $RM conftest*
9001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9002 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9010 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9011 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9012 $as_echo_n "(cached) " >&6
9013 else
9014 lt_cv_prog_compiler_c_o=no
9015 $RM -r conftest 2>/dev/null
9016 mkdir conftest
9017 cd conftest
9018 mkdir out
9019 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9021 lt_compiler_flag="-o out/conftest2.$ac_objext"
9022 # Insert the option either (1) after the last *FLAGS variable, or
9023 # (2) before a word containing "conftest.", or (3) at the end.
9024 # Note that $ac_compile itself does not contain backslashes and begins
9025 # with a dollar sign (not a hyphen), so the echo should work correctly.
9026 lt_compile=`echo "$ac_compile" | $SED \
9027 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9028 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9029 -e 's:$: $lt_compiler_flag:'`
9030 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9031 (eval "$lt_compile" 2>out/conftest.err)
9032 ac_status=$?
9033 cat out/conftest.err >&5
9034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9035 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9036 then
9037 # The compiler can only warn and ignore the option if not recognized
9038 # So say no if there are warnings
9039 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9040 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9041 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9042 lt_cv_prog_compiler_c_o=yes
9045 chmod u+w . 2>&5
9046 $RM conftest*
9047 # SGI C++ compiler will create directory out/ii_files/ for
9048 # template instantiation
9049 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9050 $RM out/* && rmdir out
9051 cd ..
9052 $RM -r conftest
9053 $RM conftest*
9056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9057 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9062 hard_links="nottested"
9063 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9064 # do not overwrite the value of need_locks provided by the user
9065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9066 $as_echo_n "checking if we can lock with hard links... " >&6; }
9067 hard_links=yes
9068 $RM conftest*
9069 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9070 touch conftest.a
9071 ln conftest.a conftest.b 2>&5 || hard_links=no
9072 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9074 $as_echo "$hard_links" >&6; }
9075 if test "$hard_links" = no; then
9076 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9077 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9078 need_locks=warn
9080 else
9081 need_locks=no
9089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9090 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9092 runpath_var=
9093 allow_undefined_flag=
9094 always_export_symbols=no
9095 archive_cmds=
9096 archive_expsym_cmds=
9097 compiler_needs_object=no
9098 enable_shared_with_static_runtimes=no
9099 export_dynamic_flag_spec=
9100 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9101 hardcode_automatic=no
9102 hardcode_direct=no
9103 hardcode_direct_absolute=no
9104 hardcode_libdir_flag_spec=
9105 hardcode_libdir_flag_spec_ld=
9106 hardcode_libdir_separator=
9107 hardcode_minus_L=no
9108 hardcode_shlibpath_var=unsupported
9109 inherit_rpath=no
9110 link_all_deplibs=unknown
9111 module_cmds=
9112 module_expsym_cmds=
9113 old_archive_from_new_cmds=
9114 old_archive_from_expsyms_cmds=
9115 thread_safe_flag_spec=
9116 whole_archive_flag_spec=
9117 # include_expsyms should be a list of space-separated symbols to be *always*
9118 # included in the symbol list
9119 include_expsyms=
9120 # exclude_expsyms can be an extended regexp of symbols to exclude
9121 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9122 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9123 # as well as any symbol that contains `d'.
9124 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9125 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9126 # platforms (ab)use it in PIC code, but their linkers get confused if
9127 # the symbol is explicitly referenced. Since portable code cannot
9128 # rely on this symbol name, it's probably fine to never include it in
9129 # preloaded symbol tables.
9130 # Exclude shared library initialization/finalization symbols.
9131 extract_expsyms_cmds=
9133 case $host_os in
9134 cygwin* | mingw* | pw32* | cegcc*)
9135 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9136 # When not using gcc, we currently assume that we are using
9137 # Microsoft Visual C++.
9138 if test "$GCC" != yes; then
9139 with_gnu_ld=no
9142 interix*)
9143 # we just hope/assume this is gcc and not c89 (= MSVC++)
9144 with_gnu_ld=yes
9146 openbsd*)
9147 with_gnu_ld=no
9149 esac
9151 ld_shlibs=yes
9153 # On some targets, GNU ld is compatible enough with the native linker
9154 # that we're better off using the native interface for both.
9155 lt_use_gnu_ld_interface=no
9156 if test "$with_gnu_ld" = yes; then
9157 case $host_os in
9158 aix*)
9159 # The AIX port of GNU ld has always aspired to compatibility
9160 # with the native linker. However, as the warning in the GNU ld
9161 # block says, versions before 2.19.5* couldn't really create working
9162 # shared libraries, regardless of the interface used.
9163 case `$LD -v 2>&1` in
9164 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9165 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9166 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9168 lt_use_gnu_ld_interface=yes
9170 esac
9173 lt_use_gnu_ld_interface=yes
9175 esac
9178 if test "$lt_use_gnu_ld_interface" = yes; then
9179 # If archive_cmds runs LD, not CC, wlarc should be empty
9180 wlarc='${wl}'
9182 # Set some defaults for GNU ld with shared library support. These
9183 # are reset later if shared libraries are not supported. Putting them
9184 # here allows them to be overridden if necessary.
9185 runpath_var=LD_RUN_PATH
9186 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9187 export_dynamic_flag_spec='${wl}--export-dynamic'
9188 # ancient GNU ld didn't support --whole-archive et. al.
9189 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9190 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9191 else
9192 whole_archive_flag_spec=
9194 supports_anon_versioning=no
9195 case `$LD -v 2>&1` in
9196 *GNU\ gold*) supports_anon_versioning=yes ;;
9197 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9198 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9199 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9200 *\ 2.11.*) ;; # other 2.11 versions
9201 *) supports_anon_versioning=yes ;;
9202 esac
9204 # See if GNU ld supports shared libraries.
9205 case $host_os in
9206 aix[3-9]*)
9207 # On AIX/PPC, the GNU linker is very broken
9208 if test "$host_cpu" != ia64; then
9209 ld_shlibs=no
9210 cat <<_LT_EOF 1>&2
9212 *** Warning: the GNU linker, at least up to release 2.19, is reported
9213 *** to be unable to reliably create shared libraries on AIX.
9214 *** Therefore, libtool is disabling shared libraries support. If you
9215 *** really care for shared libraries, you may want to install binutils
9216 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9217 *** You will then need to restart the configuration process.
9219 _LT_EOF
9223 amigaos*)
9224 case $host_cpu in
9225 powerpc)
9226 # see comment about AmigaOS4 .so support
9227 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9228 archive_expsym_cmds=''
9230 m68k)
9231 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)'
9232 hardcode_libdir_flag_spec='-L$libdir'
9233 hardcode_minus_L=yes
9235 esac
9238 beos*)
9239 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9240 allow_undefined_flag=unsupported
9241 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9242 # support --undefined. This deserves some investigation. FIXME
9243 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9244 else
9245 ld_shlibs=no
9249 cygwin* | mingw* | pw32* | cegcc*)
9250 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9251 # as there is no search path for DLLs.
9252 hardcode_libdir_flag_spec='-L$libdir'
9253 export_dynamic_flag_spec='${wl}--export-all-symbols'
9254 allow_undefined_flag=unsupported
9255 always_export_symbols=no
9256 enable_shared_with_static_runtimes=yes
9257 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9259 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9260 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9261 # If the export-symbols file already is a .def file (1st line
9262 # is EXPORTS), use it as is; otherwise, prepend...
9263 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9264 cp $export_symbols $output_objdir/$soname.def;
9265 else
9266 echo EXPORTS > $output_objdir/$soname.def;
9267 cat $export_symbols >> $output_objdir/$soname.def;
9269 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9270 else
9271 ld_shlibs=no
9275 haiku*)
9276 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9277 link_all_deplibs=yes
9280 interix[3-9]*)
9281 hardcode_direct=no
9282 hardcode_shlibpath_var=no
9283 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9284 export_dynamic_flag_spec='${wl}-E'
9285 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9286 # Instead, shared libraries are loaded at an image base (0x10000000 by
9287 # default) and relocated if they conflict, which is a slow very memory
9288 # consuming and fragmenting process. To avoid this, we pick a random,
9289 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9290 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9291 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9292 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'
9295 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9296 tmp_diet=no
9297 if test "$host_os" = linux-dietlibc; then
9298 case $cc_basename in
9299 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9300 esac
9302 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9303 && test "$tmp_diet" = no
9304 then
9305 tmp_addflag=' $pic_flag'
9306 tmp_sharedflag='-shared'
9307 case $cc_basename,$host_cpu in
9308 pgcc*) # Portland Group C compiler
9309 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'
9310 tmp_addflag=' $pic_flag'
9312 pgf77* | pgf90* | pgf95* | pgfortran*)
9313 # Portland Group f77 and f90 compilers
9314 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'
9315 tmp_addflag=' $pic_flag -Mnomain' ;;
9316 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9317 tmp_addflag=' -i_dynamic' ;;
9318 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9319 tmp_addflag=' -i_dynamic -nofor_main' ;;
9320 ifc* | ifort*) # Intel Fortran compiler
9321 tmp_addflag=' -nofor_main' ;;
9322 lf95*) # Lahey Fortran 8.1
9323 whole_archive_flag_spec=
9324 tmp_sharedflag='--shared' ;;
9325 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9326 tmp_sharedflag='-qmkshrobj'
9327 tmp_addflag= ;;
9328 nvcc*) # Cuda Compiler Driver 2.2
9329 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'
9330 compiler_needs_object=yes
9332 esac
9333 case `$CC -V 2>&1 | sed 5q` in
9334 *Sun\ C*) # Sun C 5.9
9335 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'
9336 compiler_needs_object=yes
9337 tmp_sharedflag='-G' ;;
9338 *Sun\ F*) # Sun Fortran 8.3
9339 tmp_sharedflag='-G' ;;
9340 esac
9341 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9343 if test "x$supports_anon_versioning" = xyes; then
9344 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9345 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9346 echo "local: *; };" >> $output_objdir/$libname.ver~
9347 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9350 case $cc_basename in
9351 xlf* | bgf* | bgxlf* | mpixlf*)
9352 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9353 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9354 hardcode_libdir_flag_spec=
9355 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9356 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9357 if test "x$supports_anon_versioning" = xyes; then
9358 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9359 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9360 echo "local: *; };" >> $output_objdir/$libname.ver~
9361 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9364 esac
9365 else
9366 ld_shlibs=no
9370 netbsd*)
9371 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9372 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9373 wlarc=
9374 else
9375 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9376 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9380 solaris*)
9381 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9382 ld_shlibs=no
9383 cat <<_LT_EOF 1>&2
9385 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9386 *** create shared libraries on Solaris systems. Therefore, libtool
9387 *** is disabling shared libraries support. We urge you to upgrade GNU
9388 *** binutils to release 2.9.1 or newer. Another option is to modify
9389 *** your PATH or compiler configuration so that the native linker is
9390 *** used, and then restart.
9392 _LT_EOF
9393 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9394 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9395 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9396 else
9397 ld_shlibs=no
9401 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9402 case `$LD -v 2>&1` in
9403 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9404 ld_shlibs=no
9405 cat <<_LT_EOF 1>&2
9407 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9408 *** reliably create shared libraries on SCO systems. Therefore, libtool
9409 *** is disabling shared libraries support. We urge you to upgrade GNU
9410 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9411 *** your PATH or compiler configuration so that the native linker is
9412 *** used, and then restart.
9414 _LT_EOF
9417 # For security reasons, it is highly recommended that you always
9418 # use absolute paths for naming shared libraries, and exclude the
9419 # DT_RUNPATH tag from executables and libraries. But doing so
9420 # requires that you compile everything twice, which is a pain.
9421 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9422 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9423 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9424 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9425 else
9426 ld_shlibs=no
9429 esac
9432 sunos4*)
9433 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9434 wlarc=
9435 hardcode_direct=yes
9436 hardcode_shlibpath_var=no
9440 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9441 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9442 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9443 else
9444 ld_shlibs=no
9447 esac
9449 if test "$ld_shlibs" = no; then
9450 runpath_var=
9451 hardcode_libdir_flag_spec=
9452 export_dynamic_flag_spec=
9453 whole_archive_flag_spec=
9455 else
9456 # PORTME fill in a description of your system's linker (not GNU ld)
9457 case $host_os in
9458 aix3*)
9459 allow_undefined_flag=unsupported
9460 always_export_symbols=yes
9461 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'
9462 # Note: this linker hardcodes the directories in LIBPATH if there
9463 # are no directories specified by -L.
9464 hardcode_minus_L=yes
9465 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9466 # Neither direct hardcoding nor static linking is supported with a
9467 # broken collect2.
9468 hardcode_direct=unsupported
9472 aix[4-9]*)
9473 if test "$host_cpu" = ia64; then
9474 # On IA64, the linker does run time linking by default, so we don't
9475 # have to do anything special.
9476 aix_use_runtimelinking=no
9477 exp_sym_flag='-Bexport'
9478 no_entry_flag=""
9479 else
9480 # If we're using GNU nm, then we don't want the "-C" option.
9481 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9482 # Also, AIX nm treats weak defined symbols like other global
9483 # defined symbols, whereas GNU nm marks them as "W".
9484 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9485 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'
9486 else
9487 export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9489 aix_use_runtimelinking=no
9491 # Test if we are trying to use run time linking or normal
9492 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9493 # need to do runtime linking.
9494 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9495 for ld_flag in $LDFLAGS; do
9496 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9497 aix_use_runtimelinking=yes
9498 break
9500 done
9502 esac
9504 exp_sym_flag='-bexport'
9505 no_entry_flag='-bnoentry'
9508 # When large executables or shared objects are built, AIX ld can
9509 # have problems creating the table of contents. If linking a library
9510 # or program results in "error TOC overflow" add -mminimal-toc to
9511 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9512 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9514 archive_cmds=''
9515 hardcode_direct=yes
9516 hardcode_direct_absolute=yes
9517 hardcode_libdir_separator=':'
9518 link_all_deplibs=yes
9519 file_list_spec='${wl}-f,'
9521 if test "$GCC" = yes; then
9522 case $host_os in aix4.[012]|aix4.[012].*)
9523 # We only want to do this on AIX 4.2 and lower, the check
9524 # below for broken collect2 doesn't work under 4.3+
9525 collect2name=`${CC} -print-prog-name=collect2`
9526 if test -f "$collect2name" &&
9527 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9528 then
9529 # We have reworked collect2
9531 else
9532 # We have old collect2
9533 hardcode_direct=unsupported
9534 # It fails to find uninstalled libraries when the uninstalled
9535 # path is not listed in the libpath. Setting hardcode_minus_L
9536 # to unsupported forces relinking
9537 hardcode_minus_L=yes
9538 hardcode_libdir_flag_spec='-L$libdir'
9539 hardcode_libdir_separator=
9542 esac
9543 shared_flag='-shared'
9544 if test "$aix_use_runtimelinking" = yes; then
9545 shared_flag="$shared_flag "'${wl}-G'
9547 else
9548 # not using gcc
9549 if test "$host_cpu" = ia64; then
9550 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9551 # chokes on -Wl,-G. The following line is correct:
9552 shared_flag='-G'
9553 else
9554 if test "$aix_use_runtimelinking" = yes; then
9555 shared_flag='${wl}-G'
9556 else
9557 shared_flag='${wl}-bM:SRE'
9562 export_dynamic_flag_spec='${wl}-bexpall'
9563 # It seems that -bexpall does not export symbols beginning with
9564 # underscore (_), so it is better to generate a list of symbols to export.
9565 always_export_symbols=yes
9566 if test "$aix_use_runtimelinking" = yes; then
9567 # Warning - without using the other runtime loading flags (-brtl),
9568 # -berok will link without error, but may produce a broken library.
9569 allow_undefined_flag='-berok'
9570 # Determine the default libpath from the value encoded in an
9571 # empty executable.
9572 if test x$gcc_no_link = xyes; then
9573 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9576 /* end confdefs.h. */
9579 main ()
9583 return 0;
9585 _ACEOF
9586 if ac_fn_c_try_link "$LINENO"; then :
9588 lt_aix_libpath_sed='
9589 /Import File Strings/,/^$/ {
9590 /^0/ {
9591 s/^0 *\(.*\)$/\1/
9595 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9596 # Check for a 64-bit object if we didn't find anything.
9597 if test -z "$aix_libpath"; then
9598 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9601 rm -f core conftest.err conftest.$ac_objext \
9602 conftest$ac_exeext conftest.$ac_ext
9603 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9605 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9606 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"
9607 else
9608 if test "$host_cpu" = ia64; then
9609 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9610 allow_undefined_flag="-z nodefs"
9611 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"
9612 else
9613 # Determine the default libpath from the value encoded in an
9614 # empty executable.
9615 if test x$gcc_no_link = xyes; then
9616 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9619 /* end confdefs.h. */
9622 main ()
9626 return 0;
9628 _ACEOF
9629 if ac_fn_c_try_link "$LINENO"; then :
9631 lt_aix_libpath_sed='
9632 /Import File Strings/,/^$/ {
9633 /^0/ {
9634 s/^0 *\(.*\)$/\1/
9638 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9639 # Check for a 64-bit object if we didn't find anything.
9640 if test -z "$aix_libpath"; then
9641 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9644 rm -f core conftest.err conftest.$ac_objext \
9645 conftest$ac_exeext conftest.$ac_ext
9646 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9648 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9649 # Warning - without using the other run time loading flags,
9650 # -berok will link without error, but may produce a broken library.
9651 no_undefined_flag=' ${wl}-bernotok'
9652 allow_undefined_flag=' ${wl}-berok'
9653 if test "$with_gnu_ld" = yes; then
9654 # We only use this code for GNU lds that support --whole-archive.
9655 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9656 else
9657 # Exported symbols can be pulled into shared objects from archives
9658 whole_archive_flag_spec='$convenience'
9660 archive_cmds_need_lc=yes
9661 # This is similar to how AIX traditionally builds its shared libraries.
9662 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'
9667 amigaos*)
9668 case $host_cpu in
9669 powerpc)
9670 # see comment about AmigaOS4 .so support
9671 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9672 archive_expsym_cmds=''
9674 m68k)
9675 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)'
9676 hardcode_libdir_flag_spec='-L$libdir'
9677 hardcode_minus_L=yes
9679 esac
9682 bsdi[45]*)
9683 export_dynamic_flag_spec=-rdynamic
9686 cygwin* | mingw* | pw32* | cegcc*)
9687 # When not using gcc, we currently assume that we are using
9688 # Microsoft Visual C++.
9689 # hardcode_libdir_flag_spec is actually meaningless, as there is
9690 # no search path for DLLs.
9691 hardcode_libdir_flag_spec=' '
9692 allow_undefined_flag=unsupported
9693 # Tell ltmain to make .lib files, not .a files.
9694 libext=lib
9695 # Tell ltmain to make .dll files, not .so files.
9696 shrext_cmds=".dll"
9697 # FIXME: Setting linknames here is a bad hack.
9698 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9699 # The linker will automatically build a .lib file if we build a DLL.
9700 old_archive_from_new_cmds='true'
9701 # FIXME: Should let the user specify the lib program.
9702 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9703 fix_srcfile_path='`cygpath -w "$srcfile"`'
9704 enable_shared_with_static_runtimes=yes
9707 darwin* | rhapsody*)
9710 archive_cmds_need_lc=no
9711 hardcode_direct=no
9712 hardcode_automatic=yes
9713 hardcode_shlibpath_var=unsupported
9714 if test "$lt_cv_ld_force_load" = "yes"; then
9715 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\"`'
9716 else
9717 whole_archive_flag_spec=''
9719 link_all_deplibs=yes
9720 allow_undefined_flag="$_lt_dar_allow_undefined"
9721 case $cc_basename in
9722 ifort*) _lt_dar_can_shared=yes ;;
9723 *) _lt_dar_can_shared=$GCC ;;
9724 esac
9725 if test "$_lt_dar_can_shared" = "yes"; then
9726 output_verbose_link_cmd=func_echo_all
9727 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9728 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9729 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}"
9730 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}"
9732 else
9733 ld_shlibs=no
9738 dgux*)
9739 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9740 hardcode_libdir_flag_spec='-L$libdir'
9741 hardcode_shlibpath_var=no
9744 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9745 # support. Future versions do this automatically, but an explicit c++rt0.o
9746 # does not break anything, and helps significantly (at the cost of a little
9747 # extra space).
9748 freebsd2.2*)
9749 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9750 hardcode_libdir_flag_spec='-R$libdir'
9751 hardcode_direct=yes
9752 hardcode_shlibpath_var=no
9755 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9756 freebsd2.*)
9757 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9758 hardcode_direct=yes
9759 hardcode_minus_L=yes
9760 hardcode_shlibpath_var=no
9763 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9764 freebsd* | dragonfly*)
9765 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9766 hardcode_libdir_flag_spec='-R$libdir'
9767 hardcode_direct=yes
9768 hardcode_shlibpath_var=no
9771 hpux9*)
9772 if test "$GCC" = yes; then
9773 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'
9774 else
9775 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'
9777 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9778 hardcode_libdir_separator=:
9779 hardcode_direct=yes
9781 # hardcode_minus_L: Not really in the search PATH,
9782 # but as the default location of the library.
9783 hardcode_minus_L=yes
9784 export_dynamic_flag_spec='${wl}-E'
9787 hpux10*)
9788 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9789 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9790 else
9791 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9793 if test "$with_gnu_ld" = no; then
9794 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9795 hardcode_libdir_flag_spec_ld='+b $libdir'
9796 hardcode_libdir_separator=:
9797 hardcode_direct=yes
9798 hardcode_direct_absolute=yes
9799 export_dynamic_flag_spec='${wl}-E'
9800 # hardcode_minus_L: Not really in the search PATH,
9801 # but as the default location of the library.
9802 hardcode_minus_L=yes
9806 hpux11*)
9807 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9808 case $host_cpu in
9809 hppa*64*)
9810 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9812 ia64*)
9813 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9816 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9818 esac
9819 else
9820 case $host_cpu in
9821 hppa*64*)
9822 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9824 ia64*)
9825 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9829 # Older versions of the 11.00 compiler do not understand -b yet
9830 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9832 $as_echo_n "checking if $CC understands -b... " >&6; }
9833 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9834 $as_echo_n "(cached) " >&6
9835 else
9836 lt_cv_prog_compiler__b=no
9837 save_LDFLAGS="$LDFLAGS"
9838 LDFLAGS="$LDFLAGS -b"
9839 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9840 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9841 # The linker can only warn and ignore the option if not recognized
9842 # So say no if there are warnings
9843 if test -s conftest.err; then
9844 # Append any errors to the config.log.
9845 cat conftest.err 1>&5
9846 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9847 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9848 if diff conftest.exp conftest.er2 >/dev/null; then
9849 lt_cv_prog_compiler__b=yes
9851 else
9852 lt_cv_prog_compiler__b=yes
9855 $RM -r conftest*
9856 LDFLAGS="$save_LDFLAGS"
9859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9860 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9862 if test x"$lt_cv_prog_compiler__b" = xyes; then
9863 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9864 else
9865 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9869 esac
9871 if test "$with_gnu_ld" = no; then
9872 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9873 hardcode_libdir_separator=:
9875 case $host_cpu in
9876 hppa*64*|ia64*)
9877 hardcode_direct=no
9878 hardcode_shlibpath_var=no
9881 hardcode_direct=yes
9882 hardcode_direct_absolute=yes
9883 export_dynamic_flag_spec='${wl}-E'
9885 # hardcode_minus_L: Not really in the search PATH,
9886 # but as the default location of the library.
9887 hardcode_minus_L=yes
9889 esac
9893 irix5* | irix6* | nonstopux*)
9894 if test "$GCC" = yes; then
9895 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'
9896 # Try to use the -exported_symbol ld option, if it does not
9897 # work, assume that -exports_file does not work either and
9898 # implicitly export all symbols.
9899 save_LDFLAGS="$LDFLAGS"
9900 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9901 if test x$gcc_no_link = xyes; then
9902 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9905 /* end confdefs.h. */
9906 int foo(void) {}
9907 _ACEOF
9908 if ac_fn_c_try_link "$LINENO"; then :
9909 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'
9912 rm -f core conftest.err conftest.$ac_objext \
9913 conftest$ac_exeext conftest.$ac_ext
9914 LDFLAGS="$save_LDFLAGS"
9915 else
9916 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'
9917 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'
9919 archive_cmds_need_lc='no'
9920 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9921 hardcode_libdir_separator=:
9922 inherit_rpath=yes
9923 link_all_deplibs=yes
9926 netbsd*)
9927 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9928 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9929 else
9930 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9932 hardcode_libdir_flag_spec='-R$libdir'
9933 hardcode_direct=yes
9934 hardcode_shlibpath_var=no
9937 newsos6)
9938 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9939 hardcode_direct=yes
9940 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9941 hardcode_libdir_separator=:
9942 hardcode_shlibpath_var=no
9945 *nto* | *qnx*)
9948 openbsd*)
9949 if test -f /usr/libexec/ld.so; then
9950 hardcode_direct=yes
9951 hardcode_shlibpath_var=no
9952 hardcode_direct_absolute=yes
9953 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9954 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9955 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9956 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9957 export_dynamic_flag_spec='${wl}-E'
9958 else
9959 case $host_os in
9960 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9961 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9962 hardcode_libdir_flag_spec='-R$libdir'
9965 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9966 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9968 esac
9970 else
9971 ld_shlibs=no
9975 os2*)
9976 hardcode_libdir_flag_spec='-L$libdir'
9977 hardcode_minus_L=yes
9978 allow_undefined_flag=unsupported
9979 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'
9980 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9983 osf3*)
9984 if test "$GCC" = yes; then
9985 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9986 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9987 else
9988 allow_undefined_flag=' -expect_unresolved \*'
9989 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'
9991 archive_cmds_need_lc='no'
9992 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9993 hardcode_libdir_separator=:
9996 osf4* | osf5*) # as osf3* with the addition of -msym flag
9997 if test "$GCC" = yes; then
9998 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9999 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'
10000 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10001 else
10002 allow_undefined_flag=' -expect_unresolved \*'
10003 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'
10004 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~
10005 $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'
10007 # Both c and cxx compiler support -rpath directly
10008 hardcode_libdir_flag_spec='-rpath $libdir'
10010 archive_cmds_need_lc='no'
10011 hardcode_libdir_separator=:
10014 solaris*)
10015 no_undefined_flag=' -z defs'
10016 if test "$GCC" = yes; then
10017 wlarc='${wl}'
10018 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10019 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10020 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10021 else
10022 case `$CC -V 2>&1` in
10023 *"Compilers 5.0"*)
10024 wlarc=''
10025 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10026 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10027 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10030 wlarc='${wl}'
10031 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10032 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10033 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10035 esac
10037 hardcode_libdir_flag_spec='-R$libdir'
10038 hardcode_shlibpath_var=no
10039 case $host_os in
10040 solaris2.[0-5] | solaris2.[0-5].*) ;;
10042 # The compiler driver will combine and reorder linker options,
10043 # but understands `-z linker_flag'. GCC discards it without `$wl',
10044 # but is careful enough not to reorder.
10045 # Supported since Solaris 2.6 (maybe 2.5.1?)
10046 if test "$GCC" = yes; then
10047 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10048 else
10049 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10052 esac
10053 link_all_deplibs=yes
10056 sunos4*)
10057 if test "x$host_vendor" = xsequent; then
10058 # Use $CC to link under sequent, because it throws in some extra .o
10059 # files that make .init and .fini sections work.
10060 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10061 else
10062 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10064 hardcode_libdir_flag_spec='-L$libdir'
10065 hardcode_direct=yes
10066 hardcode_minus_L=yes
10067 hardcode_shlibpath_var=no
10070 sysv4)
10071 case $host_vendor in
10072 sni)
10073 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10074 hardcode_direct=yes # is this really true???
10076 siemens)
10077 ## LD is ld it makes a PLAMLIB
10078 ## CC just makes a GrossModule.
10079 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10080 reload_cmds='$CC -r -o $output$reload_objs'
10081 hardcode_direct=no
10083 motorola)
10084 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10085 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10087 esac
10088 runpath_var='LD_RUN_PATH'
10089 hardcode_shlibpath_var=no
10092 sysv4.3*)
10093 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10094 hardcode_shlibpath_var=no
10095 export_dynamic_flag_spec='-Bexport'
10098 sysv4*MP*)
10099 if test -d /usr/nec; then
10100 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10101 hardcode_shlibpath_var=no
10102 runpath_var=LD_RUN_PATH
10103 hardcode_runpath_var=yes
10104 ld_shlibs=yes
10108 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10109 no_undefined_flag='${wl}-z,text'
10110 archive_cmds_need_lc=no
10111 hardcode_shlibpath_var=no
10112 runpath_var='LD_RUN_PATH'
10114 if test "$GCC" = yes; then
10115 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10116 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10117 else
10118 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10119 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10123 sysv5* | sco3.2v5* | sco5v6*)
10124 # Note: We can NOT use -z defs as we might desire, because we do not
10125 # link with -lc, and that would cause any symbols used from libc to
10126 # always be unresolved, which means just about no library would
10127 # ever link correctly. If we're not using GNU ld we use -z text
10128 # though, which does catch some bad symbols but isn't as heavy-handed
10129 # as -z defs.
10130 no_undefined_flag='${wl}-z,text'
10131 allow_undefined_flag='${wl}-z,nodefs'
10132 archive_cmds_need_lc=no
10133 hardcode_shlibpath_var=no
10134 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10135 hardcode_libdir_separator=':'
10136 link_all_deplibs=yes
10137 export_dynamic_flag_spec='${wl}-Bexport'
10138 runpath_var='LD_RUN_PATH'
10140 if test "$GCC" = yes; then
10141 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10142 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10143 else
10144 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10145 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10149 uts4*)
10150 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10151 hardcode_libdir_flag_spec='-L$libdir'
10152 hardcode_shlibpath_var=no
10156 ld_shlibs=no
10158 esac
10160 if test x$host_vendor = xsni; then
10161 case $host in
10162 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10163 export_dynamic_flag_spec='${wl}-Blargedynsym'
10165 esac
10169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10170 $as_echo "$ld_shlibs" >&6; }
10171 test "$ld_shlibs" = no && can_build_shared=no
10173 with_gnu_ld=$with_gnu_ld
10190 # Do we need to explicitly link libc?
10192 case "x$archive_cmds_need_lc" in
10193 x|xyes)
10194 # Assume -lc should be added
10195 archive_cmds_need_lc=yes
10197 if test "$enable_shared" = yes && test "$GCC" = yes; then
10198 case $archive_cmds in
10199 *'~'*)
10200 # FIXME: we may have to deal with multi-command sequences.
10202 '$CC '*)
10203 # Test whether the compiler implicitly links with -lc since on some
10204 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10205 # to ld, don't add -lc before -lgcc.
10206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10207 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10208 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10209 $as_echo_n "(cached) " >&6
10210 else
10211 $RM conftest*
10212 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10214 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10215 (eval $ac_compile) 2>&5
10216 ac_status=$?
10217 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10218 test $ac_status = 0; } 2>conftest.err; then
10219 soname=conftest
10220 lib=conftest
10221 libobjs=conftest.$ac_objext
10222 deplibs=
10223 wl=$lt_prog_compiler_wl
10224 pic_flag=$lt_prog_compiler_pic
10225 compiler_flags=-v
10226 linker_flags=-v
10227 verstring=
10228 output_objdir=.
10229 libname=conftest
10230 lt_save_allow_undefined_flag=$allow_undefined_flag
10231 allow_undefined_flag=
10232 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10233 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10234 ac_status=$?
10235 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10236 test $ac_status = 0; }
10237 then
10238 lt_cv_archive_cmds_need_lc=no
10239 else
10240 lt_cv_archive_cmds_need_lc=yes
10242 allow_undefined_flag=$lt_save_allow_undefined_flag
10243 else
10244 cat conftest.err 1>&5
10246 $RM conftest*
10249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10250 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10251 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10253 esac
10256 esac
10414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10415 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10417 if test "$GCC" = yes; then
10418 case $host_os in
10419 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10420 *) lt_awk_arg="/^libraries:/" ;;
10421 esac
10422 case $host_os in
10423 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10424 *) lt_sed_strip_eq="s,=/,/,g" ;;
10425 esac
10426 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10427 case $lt_search_path_spec in
10428 *\;*)
10429 # if the path contains ";" then we assume it to be the separator
10430 # otherwise default to the standard path separator (i.e. ":") - it is
10431 # assumed that no part of a normal pathname contains ";" but that should
10432 # okay in the real world where ";" in dirpaths is itself problematic.
10433 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10436 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10438 esac
10439 # Ok, now we have the path, separated by spaces, we can step through it
10440 # and add multilib dir if necessary.
10441 lt_tmp_lt_search_path_spec=
10442 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10443 for lt_sys_path in $lt_search_path_spec; do
10444 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10445 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10446 else
10447 test -d "$lt_sys_path" && \
10448 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10450 done
10451 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10452 BEGIN {RS=" "; FS="/|\n";} {
10453 lt_foo="";
10454 lt_count=0;
10455 for (lt_i = NF; lt_i > 0; lt_i--) {
10456 if ($lt_i != "" && $lt_i != ".") {
10457 if ($lt_i == "..") {
10458 lt_count++;
10459 } else {
10460 if (lt_count == 0) {
10461 lt_foo="/" $lt_i lt_foo;
10462 } else {
10463 lt_count--;
10468 if (lt_foo != "") { lt_freq[lt_foo]++; }
10469 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10471 # AWK program above erroneously prepends '/' to C:/dos/paths
10472 # for these hosts.
10473 case $host_os in
10474 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10475 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10476 esac
10477 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10478 else
10479 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10481 library_names_spec=
10482 libname_spec='lib$name'
10483 soname_spec=
10484 shrext_cmds=".so"
10485 postinstall_cmds=
10486 postuninstall_cmds=
10487 finish_cmds=
10488 finish_eval=
10489 shlibpath_var=
10490 shlibpath_overrides_runpath=unknown
10491 version_type=none
10492 dynamic_linker="$host_os ld.so"
10493 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10494 need_lib_prefix=unknown
10495 hardcode_into_libs=no
10497 # when you set need_version to no, make sure it does not cause -set_version
10498 # flags to be left without arguments
10499 need_version=unknown
10501 case $host_os in
10502 aix3*)
10503 version_type=linux
10504 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10505 shlibpath_var=LIBPATH
10507 # AIX 3 has no versioning support, so we append a major version to the name.
10508 soname_spec='${libname}${release}${shared_ext}$major'
10511 aix[4-9]*)
10512 version_type=linux
10513 need_lib_prefix=no
10514 need_version=no
10515 hardcode_into_libs=yes
10516 if test "$host_cpu" = ia64; then
10517 # AIX 5 supports IA64
10518 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10519 shlibpath_var=LD_LIBRARY_PATH
10520 else
10521 # With GCC up to 2.95.x, collect2 would create an import file
10522 # for dependence libraries. The import file would start with
10523 # the line `#! .'. This would cause the generated library to
10524 # depend on `.', always an invalid library. This was fixed in
10525 # development snapshots of GCC prior to 3.0.
10526 case $host_os in
10527 aix4 | aix4.[01] | aix4.[01].*)
10528 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10529 echo ' yes '
10530 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10532 else
10533 can_build_shared=no
10536 esac
10537 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10538 # soname into executable. Probably we can add versioning support to
10539 # collect2, so additional links can be useful in future.
10540 if test "$aix_use_runtimelinking" = yes; then
10541 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10542 # instead of lib<name>.a to let people know that these are not
10543 # typical AIX shared libraries.
10544 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10545 else
10546 # We preserve .a as extension for shared libraries through AIX4.2
10547 # and later when we are not doing run time linking.
10548 library_names_spec='${libname}${release}.a $libname.a'
10549 soname_spec='${libname}${release}${shared_ext}$major'
10551 shlibpath_var=LIBPATH
10555 amigaos*)
10556 case $host_cpu in
10557 powerpc)
10558 # Since July 2007 AmigaOS4 officially supports .so libraries.
10559 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10560 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10562 m68k)
10563 library_names_spec='$libname.ixlibrary $libname.a'
10564 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10565 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'
10567 esac
10570 beos*)
10571 library_names_spec='${libname}${shared_ext}'
10572 dynamic_linker="$host_os ld.so"
10573 shlibpath_var=LIBRARY_PATH
10576 bsdi[45]*)
10577 version_type=linux
10578 need_version=no
10579 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10580 soname_spec='${libname}${release}${shared_ext}$major'
10581 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10582 shlibpath_var=LD_LIBRARY_PATH
10583 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10584 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10585 # the default ld.so.conf also contains /usr/contrib/lib and
10586 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10587 # libtool to hard-code these into programs
10590 cygwin* | mingw* | pw32* | cegcc*)
10591 version_type=windows
10592 shrext_cmds=".dll"
10593 need_version=no
10594 need_lib_prefix=no
10596 case $GCC,$host_os in
10597 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10598 library_names_spec='$libname.dll.a'
10599 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10600 postinstall_cmds='base_file=`basename \${file}`~
10601 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10602 dldir=$destdir/`dirname \$dlpath`~
10603 test -d \$dldir || mkdir -p \$dldir~
10604 $install_prog $dir/$dlname \$dldir/$dlname~
10605 chmod a+x \$dldir/$dlname~
10606 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10607 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10609 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10610 dlpath=$dir/\$dldll~
10611 $RM \$dlpath'
10612 shlibpath_overrides_runpath=yes
10614 case $host_os in
10615 cygwin*)
10616 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10617 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10619 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10621 mingw* | cegcc*)
10622 # MinGW DLLs use traditional 'lib' prefix
10623 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10625 pw32*)
10626 # pw32 DLLs use 'pw' prefix rather than 'lib'
10627 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10629 esac
10633 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10635 esac
10636 dynamic_linker='Win32 ld.exe'
10637 # FIXME: first we should search . and the directory the executable is in
10638 shlibpath_var=PATH
10641 darwin* | rhapsody*)
10642 dynamic_linker="$host_os dyld"
10643 version_type=darwin
10644 need_lib_prefix=no
10645 need_version=no
10646 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10647 soname_spec='${libname}${release}${major}$shared_ext'
10648 shlibpath_overrides_runpath=yes
10649 shlibpath_var=DYLD_LIBRARY_PATH
10650 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10652 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10653 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10656 dgux*)
10657 version_type=linux
10658 need_lib_prefix=no
10659 need_version=no
10660 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10661 soname_spec='${libname}${release}${shared_ext}$major'
10662 shlibpath_var=LD_LIBRARY_PATH
10665 freebsd* | dragonfly*)
10666 # DragonFly does not have aout. When/if they implement a new
10667 # versioning mechanism, adjust this.
10668 if test -x /usr/bin/objformat; then
10669 objformat=`/usr/bin/objformat`
10670 else
10671 case $host_os in
10672 freebsd[23].*) objformat=aout ;;
10673 *) objformat=elf ;;
10674 esac
10676 version_type=freebsd-$objformat
10677 case $version_type in
10678 freebsd-elf*)
10679 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10680 need_version=no
10681 need_lib_prefix=no
10683 freebsd-*)
10684 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10685 need_version=yes
10687 esac
10688 shlibpath_var=LD_LIBRARY_PATH
10689 case $host_os in
10690 freebsd2.*)
10691 shlibpath_overrides_runpath=yes
10693 freebsd3.[01]* | freebsdelf3.[01]*)
10694 shlibpath_overrides_runpath=yes
10695 hardcode_into_libs=yes
10697 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10698 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10699 shlibpath_overrides_runpath=no
10700 hardcode_into_libs=yes
10702 *) # from 4.6 on, and DragonFly
10703 shlibpath_overrides_runpath=yes
10704 hardcode_into_libs=yes
10706 esac
10709 gnu*)
10710 version_type=linux
10711 need_lib_prefix=no
10712 need_version=no
10713 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10714 soname_spec='${libname}${release}${shared_ext}$major'
10715 shlibpath_var=LD_LIBRARY_PATH
10716 hardcode_into_libs=yes
10719 haiku*)
10720 version_type=linux
10721 need_lib_prefix=no
10722 need_version=no
10723 dynamic_linker="$host_os runtime_loader"
10724 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10725 soname_spec='${libname}${release}${shared_ext}$major'
10726 shlibpath_var=LIBRARY_PATH
10727 shlibpath_overrides_runpath=yes
10728 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10729 hardcode_into_libs=yes
10732 hpux9* | hpux10* | hpux11*)
10733 # Give a soname corresponding to the major version so that dld.sl refuses to
10734 # link against other versions.
10735 version_type=sunos
10736 need_lib_prefix=no
10737 need_version=no
10738 case $host_cpu in
10739 ia64*)
10740 shrext_cmds='.so'
10741 hardcode_into_libs=yes
10742 dynamic_linker="$host_os dld.so"
10743 shlibpath_var=LD_LIBRARY_PATH
10744 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10745 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10746 soname_spec='${libname}${release}${shared_ext}$major'
10747 if test "X$HPUX_IA64_MODE" = X32; then
10748 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10749 else
10750 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10752 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10754 hppa*64*)
10755 shrext_cmds='.sl'
10756 hardcode_into_libs=yes
10757 dynamic_linker="$host_os dld.sl"
10758 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10759 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10760 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10761 soname_spec='${libname}${release}${shared_ext}$major'
10762 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10763 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10766 shrext_cmds='.sl'
10767 dynamic_linker="$host_os dld.sl"
10768 shlibpath_var=SHLIB_PATH
10769 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
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'
10773 esac
10774 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10775 postinstall_cmds='chmod 555 $lib'
10776 # or fails outright, so override atomically:
10777 install_override_mode=555
10780 interix[3-9]*)
10781 version_type=linux
10782 need_lib_prefix=no
10783 need_version=no
10784 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10785 soname_spec='${libname}${release}${shared_ext}$major'
10786 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10787 shlibpath_var=LD_LIBRARY_PATH
10788 shlibpath_overrides_runpath=no
10789 hardcode_into_libs=yes
10792 irix5* | irix6* | nonstopux*)
10793 case $host_os in
10794 nonstopux*) version_type=nonstopux ;;
10796 if test "$lt_cv_prog_gnu_ld" = yes; then
10797 version_type=linux
10798 else
10799 version_type=irix
10800 fi ;;
10801 esac
10802 need_lib_prefix=no
10803 need_version=no
10804 soname_spec='${libname}${release}${shared_ext}$major'
10805 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10806 case $host_os in
10807 irix5* | nonstopux*)
10808 libsuff= shlibsuff=
10811 case $LD in # libtool.m4 will add one of these switches to LD
10812 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10813 libsuff= shlibsuff= libmagic=32-bit;;
10814 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10815 libsuff=32 shlibsuff=N32 libmagic=N32;;
10816 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10817 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10818 *) libsuff= shlibsuff= libmagic=never-match;;
10819 esac
10821 esac
10822 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10823 shlibpath_overrides_runpath=no
10824 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10825 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10826 hardcode_into_libs=yes
10829 # No shared lib support for Linux oldld, aout, or coff.
10830 linux*oldld* | linux*aout* | linux*coff*)
10831 dynamic_linker=no
10834 # This must be Linux ELF.
10835 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10836 version_type=linux
10837 need_lib_prefix=no
10838 need_version=no
10839 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10840 soname_spec='${libname}${release}${shared_ext}$major'
10841 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10842 shlibpath_var=LD_LIBRARY_PATH
10843 shlibpath_overrides_runpath=no
10845 # Some binutils ld are patched to set DT_RUNPATH
10846 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10847 $as_echo_n "(cached) " >&6
10848 else
10849 lt_cv_shlibpath_overrides_runpath=no
10850 save_LDFLAGS=$LDFLAGS
10851 save_libdir=$libdir
10852 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10853 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10854 if test x$gcc_no_link = xyes; then
10855 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10858 /* end confdefs.h. */
10861 main ()
10865 return 0;
10867 _ACEOF
10868 if ac_fn_c_try_link "$LINENO"; then :
10869 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10870 lt_cv_shlibpath_overrides_runpath=yes
10873 rm -f core conftest.err conftest.$ac_objext \
10874 conftest$ac_exeext conftest.$ac_ext
10875 LDFLAGS=$save_LDFLAGS
10876 libdir=$save_libdir
10880 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10882 # This implies no fast_install, which is unacceptable.
10883 # Some rework will be needed to allow for fast_install
10884 # before this can be enabled.
10885 hardcode_into_libs=yes
10887 # Append ld.so.conf contents to the search path
10888 if test -f /etc/ld.so.conf; then
10889 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' ' '`
10890 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10893 # We used to test for /lib/ld.so.1 and disable shared libraries on
10894 # powerpc, because MkLinux only supported shared libraries with the
10895 # GNU dynamic linker. Since this was broken with cross compilers,
10896 # most powerpc-linux boxes support dynamic linking these days and
10897 # people can always --disable-shared, the test was removed, and we
10898 # assume the GNU/Linux dynamic linker is in use.
10899 dynamic_linker='GNU/Linux ld.so'
10902 netbsd*)
10903 version_type=sunos
10904 need_lib_prefix=no
10905 need_version=no
10906 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10907 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10908 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10909 dynamic_linker='NetBSD (a.out) ld.so'
10910 else
10911 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10912 soname_spec='${libname}${release}${shared_ext}$major'
10913 dynamic_linker='NetBSD ld.elf_so'
10915 shlibpath_var=LD_LIBRARY_PATH
10916 shlibpath_overrides_runpath=yes
10917 hardcode_into_libs=yes
10920 newsos6)
10921 version_type=linux
10922 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10923 shlibpath_var=LD_LIBRARY_PATH
10924 shlibpath_overrides_runpath=yes
10927 *nto* | *qnx*)
10928 version_type=qnx
10929 need_lib_prefix=no
10930 need_version=no
10931 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10932 soname_spec='${libname}${release}${shared_ext}$major'
10933 shlibpath_var=LD_LIBRARY_PATH
10934 shlibpath_overrides_runpath=no
10935 hardcode_into_libs=yes
10936 dynamic_linker='ldqnx.so'
10939 openbsd*)
10940 version_type=sunos
10941 sys_lib_dlsearch_path_spec="/usr/lib"
10942 need_lib_prefix=no
10943 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10944 case $host_os in
10945 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10946 *) need_version=no ;;
10947 esac
10948 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10949 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10950 shlibpath_var=LD_LIBRARY_PATH
10951 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10952 case $host_os in
10953 openbsd2.[89] | openbsd2.[89].*)
10954 shlibpath_overrides_runpath=no
10957 shlibpath_overrides_runpath=yes
10959 esac
10960 else
10961 shlibpath_overrides_runpath=yes
10965 os2*)
10966 libname_spec='$name'
10967 shrext_cmds=".dll"
10968 need_lib_prefix=no
10969 library_names_spec='$libname${shared_ext} $libname.a'
10970 dynamic_linker='OS/2 ld.exe'
10971 shlibpath_var=LIBPATH
10974 osf3* | osf4* | osf5*)
10975 version_type=osf
10976 need_lib_prefix=no
10977 need_version=no
10978 soname_spec='${libname}${release}${shared_ext}$major'
10979 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10980 shlibpath_var=LD_LIBRARY_PATH
10981 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10982 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10985 rdos*)
10986 dynamic_linker=no
10989 solaris*)
10990 version_type=linux
10991 need_lib_prefix=no
10992 need_version=no
10993 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10994 soname_spec='${libname}${release}${shared_ext}$major'
10995 shlibpath_var=LD_LIBRARY_PATH
10996 shlibpath_overrides_runpath=yes
10997 hardcode_into_libs=yes
10998 # ldd complains unless libraries are executable
10999 postinstall_cmds='chmod +x $lib'
11002 sunos4*)
11003 version_type=sunos
11004 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11005 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11006 shlibpath_var=LD_LIBRARY_PATH
11007 shlibpath_overrides_runpath=yes
11008 if test "$with_gnu_ld" = yes; then
11009 need_lib_prefix=no
11011 need_version=yes
11014 sysv4 | sysv4.3*)
11015 version_type=linux
11016 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11017 soname_spec='${libname}${release}${shared_ext}$major'
11018 shlibpath_var=LD_LIBRARY_PATH
11019 case $host_vendor in
11020 sni)
11021 shlibpath_overrides_runpath=no
11022 need_lib_prefix=no
11023 runpath_var=LD_RUN_PATH
11025 siemens)
11026 need_lib_prefix=no
11028 motorola)
11029 need_lib_prefix=no
11030 need_version=no
11031 shlibpath_overrides_runpath=no
11032 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11034 esac
11037 sysv4*MP*)
11038 if test -d /usr/nec ;then
11039 version_type=linux
11040 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11041 soname_spec='$libname${shared_ext}.$major'
11042 shlibpath_var=LD_LIBRARY_PATH
11046 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11047 version_type=freebsd-elf
11048 need_lib_prefix=no
11049 need_version=no
11050 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $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 if test "$with_gnu_ld" = yes; then
11056 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11057 else
11058 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11059 case $host_os in
11060 sco3.2v5*)
11061 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11063 esac
11065 sys_lib_dlsearch_path_spec='/usr/lib'
11068 tpf*)
11069 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11070 version_type=linux
11071 need_lib_prefix=no
11072 need_version=no
11073 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11074 shlibpath_var=LD_LIBRARY_PATH
11075 shlibpath_overrides_runpath=no
11076 hardcode_into_libs=yes
11079 uts4*)
11080 version_type=linux
11081 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11082 soname_spec='${libname}${release}${shared_ext}$major'
11083 shlibpath_var=LD_LIBRARY_PATH
11087 dynamic_linker=no
11089 esac
11090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11091 $as_echo "$dynamic_linker" >&6; }
11092 test "$dynamic_linker" = no && can_build_shared=no
11094 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11095 if test "$GCC" = yes; then
11096 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11099 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11100 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11102 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11103 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11198 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11199 hardcode_action=
11200 if test -n "$hardcode_libdir_flag_spec" ||
11201 test -n "$runpath_var" ||
11202 test "X$hardcode_automatic" = "Xyes" ; then
11204 # We can hardcode non-existent directories.
11205 if test "$hardcode_direct" != no &&
11206 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11207 # have to relink, otherwise we might link with an installed library
11208 # when we should be linking with a yet-to-be-installed one
11209 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11210 test "$hardcode_minus_L" != no; then
11211 # Linking always hardcodes the temporary library directory.
11212 hardcode_action=relink
11213 else
11214 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11215 hardcode_action=immediate
11217 else
11218 # We cannot hardcode anything, or else we can only hardcode existing
11219 # directories.
11220 hardcode_action=unsupported
11222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11223 $as_echo "$hardcode_action" >&6; }
11225 if test "$hardcode_action" = relink ||
11226 test "$inherit_rpath" = yes; then
11227 # Fast installation is not supported
11228 enable_fast_install=no
11229 elif test "$shlibpath_overrides_runpath" = yes ||
11230 test "$enable_shared" = no; then
11231 # Fast installation is not necessary
11232 enable_fast_install=needless
11240 if test "x$enable_dlopen" != xyes; then
11241 enable_dlopen=unknown
11242 enable_dlopen_self=unknown
11243 enable_dlopen_self_static=unknown
11244 else
11245 lt_cv_dlopen=no
11246 lt_cv_dlopen_libs=
11248 case $host_os in
11249 beos*)
11250 lt_cv_dlopen="load_add_on"
11251 lt_cv_dlopen_libs=
11252 lt_cv_dlopen_self=yes
11255 mingw* | pw32* | cegcc*)
11256 lt_cv_dlopen="LoadLibrary"
11257 lt_cv_dlopen_libs=
11260 cygwin*)
11261 lt_cv_dlopen="dlopen"
11262 lt_cv_dlopen_libs=
11265 darwin*)
11266 # if libdl is installed we need to link against it
11267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11268 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11269 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11270 $as_echo_n "(cached) " >&6
11271 else
11272 ac_check_lib_save_LIBS=$LIBS
11273 LIBS="-ldl $LIBS"
11274 if test x$gcc_no_link = xyes; then
11275 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11278 /* end confdefs.h. */
11280 /* Override any GCC internal prototype to avoid an error.
11281 Use char because int might match the return type of a GCC
11282 builtin and then its argument prototype would still apply. */
11283 #ifdef __cplusplus
11284 extern "C"
11285 #endif
11286 char dlopen ();
11288 main ()
11290 return dlopen ();
11292 return 0;
11294 _ACEOF
11295 if ac_fn_c_try_link "$LINENO"; then :
11296 ac_cv_lib_dl_dlopen=yes
11297 else
11298 ac_cv_lib_dl_dlopen=no
11300 rm -f core conftest.err conftest.$ac_objext \
11301 conftest$ac_exeext conftest.$ac_ext
11302 LIBS=$ac_check_lib_save_LIBS
11304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11305 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11306 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11307 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11308 else
11310 lt_cv_dlopen="dyld"
11311 lt_cv_dlopen_libs=
11312 lt_cv_dlopen_self=yes
11319 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11320 if test "x$ac_cv_func_shl_load" = x""yes; then :
11321 lt_cv_dlopen="shl_load"
11322 else
11323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11324 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11325 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11326 $as_echo_n "(cached) " >&6
11327 else
11328 ac_check_lib_save_LIBS=$LIBS
11329 LIBS="-ldld $LIBS"
11330 if test x$gcc_no_link = xyes; then
11331 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11334 /* end confdefs.h. */
11336 /* Override any GCC internal prototype to avoid an error.
11337 Use char because int might match the return type of a GCC
11338 builtin and then its argument prototype would still apply. */
11339 #ifdef __cplusplus
11340 extern "C"
11341 #endif
11342 char shl_load ();
11344 main ()
11346 return shl_load ();
11348 return 0;
11350 _ACEOF
11351 if ac_fn_c_try_link "$LINENO"; then :
11352 ac_cv_lib_dld_shl_load=yes
11353 else
11354 ac_cv_lib_dld_shl_load=no
11356 rm -f core conftest.err conftest.$ac_objext \
11357 conftest$ac_exeext conftest.$ac_ext
11358 LIBS=$ac_check_lib_save_LIBS
11360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11361 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11362 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11363 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11364 else
11365 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11366 if test "x$ac_cv_func_dlopen" = x""yes; then :
11367 lt_cv_dlopen="dlopen"
11368 else
11369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11370 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11371 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11372 $as_echo_n "(cached) " >&6
11373 else
11374 ac_check_lib_save_LIBS=$LIBS
11375 LIBS="-ldl $LIBS"
11376 if test x$gcc_no_link = xyes; then
11377 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11380 /* end confdefs.h. */
11382 /* Override any GCC internal prototype to avoid an error.
11383 Use char because int might match the return type of a GCC
11384 builtin and then its argument prototype would still apply. */
11385 #ifdef __cplusplus
11386 extern "C"
11387 #endif
11388 char dlopen ();
11390 main ()
11392 return dlopen ();
11394 return 0;
11396 _ACEOF
11397 if ac_fn_c_try_link "$LINENO"; then :
11398 ac_cv_lib_dl_dlopen=yes
11399 else
11400 ac_cv_lib_dl_dlopen=no
11402 rm -f core conftest.err conftest.$ac_objext \
11403 conftest$ac_exeext conftest.$ac_ext
11404 LIBS=$ac_check_lib_save_LIBS
11406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11407 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11408 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11409 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11410 else
11411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11412 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11413 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11414 $as_echo_n "(cached) " >&6
11415 else
11416 ac_check_lib_save_LIBS=$LIBS
11417 LIBS="-lsvld $LIBS"
11418 if test x$gcc_no_link = xyes; then
11419 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11422 /* end confdefs.h. */
11424 /* Override any GCC internal prototype to avoid an error.
11425 Use char because int might match the return type of a GCC
11426 builtin and then its argument prototype would still apply. */
11427 #ifdef __cplusplus
11428 extern "C"
11429 #endif
11430 char dlopen ();
11432 main ()
11434 return dlopen ();
11436 return 0;
11438 _ACEOF
11439 if ac_fn_c_try_link "$LINENO"; then :
11440 ac_cv_lib_svld_dlopen=yes
11441 else
11442 ac_cv_lib_svld_dlopen=no
11444 rm -f core conftest.err conftest.$ac_objext \
11445 conftest$ac_exeext conftest.$ac_ext
11446 LIBS=$ac_check_lib_save_LIBS
11448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11449 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11450 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11451 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11452 else
11453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11454 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11455 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11456 $as_echo_n "(cached) " >&6
11457 else
11458 ac_check_lib_save_LIBS=$LIBS
11459 LIBS="-ldld $LIBS"
11460 if test x$gcc_no_link = xyes; then
11461 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11464 /* end confdefs.h. */
11466 /* Override any GCC internal prototype to avoid an error.
11467 Use char because int might match the return type of a GCC
11468 builtin and then its argument prototype would still apply. */
11469 #ifdef __cplusplus
11470 extern "C"
11471 #endif
11472 char dld_link ();
11474 main ()
11476 return dld_link ();
11478 return 0;
11480 _ACEOF
11481 if ac_fn_c_try_link "$LINENO"; then :
11482 ac_cv_lib_dld_dld_link=yes
11483 else
11484 ac_cv_lib_dld_dld_link=no
11486 rm -f core conftest.err conftest.$ac_objext \
11487 conftest$ac_exeext conftest.$ac_ext
11488 LIBS=$ac_check_lib_save_LIBS
11490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11491 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11492 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11493 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11512 esac
11514 if test "x$lt_cv_dlopen" != xno; then
11515 enable_dlopen=yes
11516 else
11517 enable_dlopen=no
11520 case $lt_cv_dlopen in
11521 dlopen)
11522 save_CPPFLAGS="$CPPFLAGS"
11523 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11525 save_LDFLAGS="$LDFLAGS"
11526 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11528 save_LIBS="$LIBS"
11529 LIBS="$lt_cv_dlopen_libs $LIBS"
11531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11532 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11533 if test "${lt_cv_dlopen_self+set}" = set; then :
11534 $as_echo_n "(cached) " >&6
11535 else
11536 if test "$cross_compiling" = yes; then :
11537 lt_cv_dlopen_self=cross
11538 else
11539 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11540 lt_status=$lt_dlunknown
11541 cat > conftest.$ac_ext <<_LT_EOF
11542 #line 11542 "configure"
11543 #include "confdefs.h"
11545 #if HAVE_DLFCN_H
11546 #include <dlfcn.h>
11547 #endif
11549 #include <stdio.h>
11551 #ifdef RTLD_GLOBAL
11552 # define LT_DLGLOBAL RTLD_GLOBAL
11553 #else
11554 # ifdef DL_GLOBAL
11555 # define LT_DLGLOBAL DL_GLOBAL
11556 # else
11557 # define LT_DLGLOBAL 0
11558 # endif
11559 #endif
11561 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11562 find out it does not work in some platform. */
11563 #ifndef LT_DLLAZY_OR_NOW
11564 # ifdef RTLD_LAZY
11565 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11566 # else
11567 # ifdef DL_LAZY
11568 # define LT_DLLAZY_OR_NOW DL_LAZY
11569 # else
11570 # ifdef RTLD_NOW
11571 # define LT_DLLAZY_OR_NOW RTLD_NOW
11572 # else
11573 # ifdef DL_NOW
11574 # define LT_DLLAZY_OR_NOW DL_NOW
11575 # else
11576 # define LT_DLLAZY_OR_NOW 0
11577 # endif
11578 # endif
11579 # endif
11580 # endif
11581 #endif
11583 /* When -fvisbility=hidden is used, assume the code has been annotated
11584 correspondingly for the symbols needed. */
11585 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11586 void fnord () __attribute__((visibility("default")));
11587 #endif
11589 void fnord () { int i=42; }
11590 int main ()
11592 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11593 int status = $lt_dlunknown;
11595 if (self)
11597 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11598 else
11600 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11601 else puts (dlerror ());
11603 /* dlclose (self); */
11605 else
11606 puts (dlerror ());
11608 return status;
11610 _LT_EOF
11611 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11612 (eval $ac_link) 2>&5
11613 ac_status=$?
11614 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11615 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11616 (./conftest; exit; ) >&5 2>/dev/null
11617 lt_status=$?
11618 case x$lt_status in
11619 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11620 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11621 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11622 esac
11623 else :
11624 # compilation failed
11625 lt_cv_dlopen_self=no
11628 rm -fr conftest*
11632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11633 $as_echo "$lt_cv_dlopen_self" >&6; }
11635 if test "x$lt_cv_dlopen_self" = xyes; then
11636 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11638 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11639 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11640 $as_echo_n "(cached) " >&6
11641 else
11642 if test "$cross_compiling" = yes; then :
11643 lt_cv_dlopen_self_static=cross
11644 else
11645 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11646 lt_status=$lt_dlunknown
11647 cat > conftest.$ac_ext <<_LT_EOF
11648 #line 11648 "configure"
11649 #include "confdefs.h"
11651 #if HAVE_DLFCN_H
11652 #include <dlfcn.h>
11653 #endif
11655 #include <stdio.h>
11657 #ifdef RTLD_GLOBAL
11658 # define LT_DLGLOBAL RTLD_GLOBAL
11659 #else
11660 # ifdef DL_GLOBAL
11661 # define LT_DLGLOBAL DL_GLOBAL
11662 # else
11663 # define LT_DLGLOBAL 0
11664 # endif
11665 #endif
11667 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11668 find out it does not work in some platform. */
11669 #ifndef LT_DLLAZY_OR_NOW
11670 # ifdef RTLD_LAZY
11671 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11672 # else
11673 # ifdef DL_LAZY
11674 # define LT_DLLAZY_OR_NOW DL_LAZY
11675 # else
11676 # ifdef RTLD_NOW
11677 # define LT_DLLAZY_OR_NOW RTLD_NOW
11678 # else
11679 # ifdef DL_NOW
11680 # define LT_DLLAZY_OR_NOW DL_NOW
11681 # else
11682 # define LT_DLLAZY_OR_NOW 0
11683 # endif
11684 # endif
11685 # endif
11686 # endif
11687 #endif
11689 /* When -fvisbility=hidden is used, assume the code has been annotated
11690 correspondingly for the symbols needed. */
11691 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11692 void fnord () __attribute__((visibility("default")));
11693 #endif
11695 void fnord () { int i=42; }
11696 int main ()
11698 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11699 int status = $lt_dlunknown;
11701 if (self)
11703 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11704 else
11706 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11707 else puts (dlerror ());
11709 /* dlclose (self); */
11711 else
11712 puts (dlerror ());
11714 return status;
11716 _LT_EOF
11717 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11718 (eval $ac_link) 2>&5
11719 ac_status=$?
11720 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11721 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11722 (./conftest; exit; ) >&5 2>/dev/null
11723 lt_status=$?
11724 case x$lt_status in
11725 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11726 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11727 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11728 esac
11729 else :
11730 # compilation failed
11731 lt_cv_dlopen_self_static=no
11734 rm -fr conftest*
11738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11739 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11742 CPPFLAGS="$save_CPPFLAGS"
11743 LDFLAGS="$save_LDFLAGS"
11744 LIBS="$save_LIBS"
11746 esac
11748 case $lt_cv_dlopen_self in
11749 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11750 *) enable_dlopen_self=unknown ;;
11751 esac
11753 case $lt_cv_dlopen_self_static in
11754 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11755 *) enable_dlopen_self_static=unknown ;;
11756 esac
11775 striplib=
11776 old_striplib=
11777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11778 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11779 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11780 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11781 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11783 $as_echo "yes" >&6; }
11784 else
11785 # FIXME - insert some real tests, host_os isn't really good enough
11786 case $host_os in
11787 darwin*)
11788 if test -n "$STRIP" ; then
11789 striplib="$STRIP -x"
11790 old_striplib="$STRIP -S"
11791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11792 $as_echo "yes" >&6; }
11793 else
11794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11795 $as_echo "no" >&6; }
11799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11800 $as_echo "no" >&6; }
11802 esac
11816 # Report which library types will actually be built
11817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11818 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11820 $as_echo "$can_build_shared" >&6; }
11822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11823 $as_echo_n "checking whether to build shared libraries... " >&6; }
11824 test "$can_build_shared" = "no" && enable_shared=no
11826 # On AIX, shared libraries and static libraries use the same namespace, and
11827 # are all built from PIC.
11828 case $host_os in
11829 aix3*)
11830 test "$enable_shared" = yes && enable_static=no
11831 if test -n "$RANLIB"; then
11832 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11833 postinstall_cmds='$RANLIB $lib'
11837 aix[4-9]*)
11838 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11839 test "$enable_shared" = yes && enable_static=no
11842 esac
11843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11844 $as_echo "$enable_shared" >&6; }
11846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11847 $as_echo_n "checking whether to build static libraries... " >&6; }
11848 # Make sure either enable_shared or enable_static is yes.
11849 test "$enable_shared" = yes || enable_static=yes
11850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11851 $as_echo "$enable_static" >&6; }
11857 ac_ext=c
11858 ac_cpp='$CPP $CPPFLAGS'
11859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11863 CC="$lt_save_CC"
11865 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11866 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11867 (test "X$CXX" != "Xg++"))) ; then
11868 ac_ext=cpp
11869 ac_cpp='$CXXCPP $CPPFLAGS'
11870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11874 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11875 if test -z "$CXXCPP"; then
11876 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11877 $as_echo_n "(cached) " >&6
11878 else
11879 # Double quotes because CXXCPP needs to be expanded
11880 for CXXCPP in "$CXX -E" "/lib/cpp"
11882 ac_preproc_ok=false
11883 for ac_cxx_preproc_warn_flag in '' yes
11885 # Use a header file that comes with gcc, so configuring glibc
11886 # with a fresh cross-compiler works.
11887 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11888 # <limits.h> exists even on freestanding compilers.
11889 # On the NeXT, cc -E runs the code through the compiler's parser,
11890 # not just through cpp. "Syntax error" is here to catch this case.
11891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11892 /* end confdefs.h. */
11893 #ifdef __STDC__
11894 # include <limits.h>
11895 #else
11896 # include <assert.h>
11897 #endif
11898 Syntax error
11899 _ACEOF
11900 if ac_fn_cxx_try_cpp "$LINENO"; then :
11902 else
11903 # Broken: fails on valid input.
11904 continue
11906 rm -f conftest.err conftest.$ac_ext
11908 # OK, works on sane cases. Now check whether nonexistent headers
11909 # can be detected and how.
11910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11911 /* end confdefs.h. */
11912 #include <ac_nonexistent.h>
11913 _ACEOF
11914 if ac_fn_cxx_try_cpp "$LINENO"; then :
11915 # Broken: success on invalid input.
11916 continue
11917 else
11918 # Passes both tests.
11919 ac_preproc_ok=:
11920 break
11922 rm -f conftest.err conftest.$ac_ext
11924 done
11925 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11926 rm -f conftest.err conftest.$ac_ext
11927 if $ac_preproc_ok; then :
11928 break
11931 done
11932 ac_cv_prog_CXXCPP=$CXXCPP
11935 CXXCPP=$ac_cv_prog_CXXCPP
11936 else
11937 ac_cv_prog_CXXCPP=$CXXCPP
11939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11940 $as_echo "$CXXCPP" >&6; }
11941 ac_preproc_ok=false
11942 for ac_cxx_preproc_warn_flag in '' yes
11944 # Use a header file that comes with gcc, so configuring glibc
11945 # with a fresh cross-compiler works.
11946 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11947 # <limits.h> exists even on freestanding compilers.
11948 # On the NeXT, cc -E runs the code through the compiler's parser,
11949 # not just through cpp. "Syntax error" is here to catch this case.
11950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11951 /* end confdefs.h. */
11952 #ifdef __STDC__
11953 # include <limits.h>
11954 #else
11955 # include <assert.h>
11956 #endif
11957 Syntax error
11958 _ACEOF
11959 if ac_fn_cxx_try_cpp "$LINENO"; then :
11961 else
11962 # Broken: fails on valid input.
11963 continue
11965 rm -f conftest.err conftest.$ac_ext
11967 # OK, works on sane cases. Now check whether nonexistent headers
11968 # can be detected and how.
11969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11970 /* end confdefs.h. */
11971 #include <ac_nonexistent.h>
11972 _ACEOF
11973 if ac_fn_cxx_try_cpp "$LINENO"; then :
11974 # Broken: success on invalid input.
11975 continue
11976 else
11977 # Passes both tests.
11978 ac_preproc_ok=:
11979 break
11981 rm -f conftest.err conftest.$ac_ext
11983 done
11984 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11985 rm -f conftest.err conftest.$ac_ext
11986 if $ac_preproc_ok; then :
11988 else
11989 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11990 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11991 as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
11992 See \`config.log' for more details." "$LINENO" 5; }
11995 ac_ext=c
11996 ac_cpp='$CPP $CPPFLAGS'
11997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12001 else
12002 _lt_caught_CXX_error=yes
12005 ac_ext=cpp
12006 ac_cpp='$CXXCPP $CPPFLAGS'
12007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12011 archive_cmds_need_lc_CXX=no
12012 allow_undefined_flag_CXX=
12013 always_export_symbols_CXX=no
12014 archive_expsym_cmds_CXX=
12015 compiler_needs_object_CXX=no
12016 export_dynamic_flag_spec_CXX=
12017 hardcode_direct_CXX=no
12018 hardcode_direct_absolute_CXX=no
12019 hardcode_libdir_flag_spec_CXX=
12020 hardcode_libdir_flag_spec_ld_CXX=
12021 hardcode_libdir_separator_CXX=
12022 hardcode_minus_L_CXX=no
12023 hardcode_shlibpath_var_CXX=unsupported
12024 hardcode_automatic_CXX=no
12025 inherit_rpath_CXX=no
12026 module_cmds_CXX=
12027 module_expsym_cmds_CXX=
12028 link_all_deplibs_CXX=unknown
12029 old_archive_cmds_CXX=$old_archive_cmds
12030 reload_flag_CXX=$reload_flag
12031 reload_cmds_CXX=$reload_cmds
12032 no_undefined_flag_CXX=
12033 whole_archive_flag_spec_CXX=
12034 enable_shared_with_static_runtimes_CXX=no
12036 # Source file extension for C++ test sources.
12037 ac_ext=cpp
12039 # Object file extension for compiled C++ test sources.
12040 objext=o
12041 objext_CXX=$objext
12043 # No sense in running all these tests if we already determined that
12044 # the CXX compiler isn't working. Some variables (like enable_shared)
12045 # are currently assumed to apply to all compilers on this platform,
12046 # and will be corrupted by setting them based on a non-working compiler.
12047 if test "$_lt_caught_CXX_error" != yes; then
12048 # Code to be used in simple compile tests
12049 lt_simple_compile_test_code="int some_variable = 0;"
12051 # Code to be used in simple link tests
12052 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12054 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12061 # If no C compiler was specified, use CC.
12062 LTCC=${LTCC-"$CC"}
12064 # If no C compiler flags were specified, use CFLAGS.
12065 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12067 # Allow CC to be a program name with arguments.
12068 compiler=$CC
12071 # save warnings/boilerplate of simple test code
12072 ac_outfile=conftest.$ac_objext
12073 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12074 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12075 _lt_compiler_boilerplate=`cat conftest.err`
12076 $RM conftest*
12078 ac_outfile=conftest.$ac_objext
12079 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12080 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12081 _lt_linker_boilerplate=`cat conftest.err`
12082 $RM -r conftest*
12085 # Allow CC to be a program name with arguments.
12086 lt_save_CC=$CC
12087 lt_save_LD=$LD
12088 lt_save_GCC=$GCC
12089 GCC=$GXX
12090 lt_save_with_gnu_ld=$with_gnu_ld
12091 lt_save_path_LD=$lt_cv_path_LD
12092 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12093 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12094 else
12095 $as_unset lt_cv_prog_gnu_ld
12097 if test -n "${lt_cv_path_LDCXX+set}"; then
12098 lt_cv_path_LD=$lt_cv_path_LDCXX
12099 else
12100 $as_unset lt_cv_path_LD
12102 test -z "${LDCXX+set}" || LD=$LDCXX
12103 CC=${CXX-"c++"}
12104 compiler=$CC
12105 compiler_CXX=$CC
12106 for cc_temp in $compiler""; do
12107 case $cc_temp in
12108 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12109 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12110 \-*) ;;
12111 *) break;;
12112 esac
12113 done
12114 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12117 if test -n "$compiler"; then
12118 # We don't want -fno-exception when compiling C++ code, so set the
12119 # no_builtin_flag separately
12120 if test "$GXX" = yes; then
12121 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12122 else
12123 lt_prog_compiler_no_builtin_flag_CXX=
12126 if test "$GXX" = yes; then
12127 # Set up default GNU C++ configuration
12131 # Check whether --with-gnu-ld was given.
12132 if test "${with_gnu_ld+set}" = set; then :
12133 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12134 else
12135 with_gnu_ld=no
12138 ac_prog=ld
12139 if test "$GCC" = yes; then
12140 # Check if gcc -print-prog-name=ld gives a path.
12141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12142 $as_echo_n "checking for ld used by $CC... " >&6; }
12143 case $host in
12144 *-*-mingw*)
12145 # gcc leaves a trailing carriage return which upsets mingw
12146 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12148 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12149 esac
12150 case $ac_prog in
12151 # Accept absolute paths.
12152 [\\/]* | ?:[\\/]*)
12153 re_direlt='/[^/][^/]*/\.\./'
12154 # Canonicalize the pathname of ld
12155 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12156 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12157 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12158 done
12159 test -z "$LD" && LD="$ac_prog"
12162 # If it fails, then pretend we aren't using GCC.
12163 ac_prog=ld
12166 # If it is relative, then search for the first ld in PATH.
12167 with_gnu_ld=unknown
12169 esac
12170 elif test "$with_gnu_ld" = yes; then
12171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12172 $as_echo_n "checking for GNU ld... " >&6; }
12173 else
12174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12175 $as_echo_n "checking for non-GNU ld... " >&6; }
12177 if test "${lt_cv_path_LD+set}" = set; then :
12178 $as_echo_n "(cached) " >&6
12179 else
12180 if test -z "$LD"; then
12181 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12182 for ac_dir in $PATH; do
12183 IFS="$lt_save_ifs"
12184 test -z "$ac_dir" && ac_dir=.
12185 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12186 lt_cv_path_LD="$ac_dir/$ac_prog"
12187 # Check to see if the program is GNU ld. I'd rather use --version,
12188 # but apparently some variants of GNU ld only accept -v.
12189 # Break only if it was the GNU/non-GNU ld that we prefer.
12190 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12191 *GNU* | *'with BFD'*)
12192 test "$with_gnu_ld" != no && break
12195 test "$with_gnu_ld" != yes && break
12197 esac
12199 done
12200 IFS="$lt_save_ifs"
12201 else
12202 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12206 LD="$lt_cv_path_LD"
12207 if test -n "$LD"; then
12208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12209 $as_echo "$LD" >&6; }
12210 else
12211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12212 $as_echo "no" >&6; }
12214 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
12215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12216 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12217 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12218 $as_echo_n "(cached) " >&6
12219 else
12220 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12221 case `$LD -v 2>&1 </dev/null` in
12222 *GNU* | *'with BFD'*)
12223 lt_cv_prog_gnu_ld=yes
12226 lt_cv_prog_gnu_ld=no
12228 esac
12230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12231 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12232 with_gnu_ld=$lt_cv_prog_gnu_ld
12240 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12241 # archiving commands below assume that GNU ld is being used.
12242 if test "$with_gnu_ld" = yes; then
12243 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12244 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'
12246 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12247 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12249 # If archive_cmds runs LD, not CC, wlarc should be empty
12250 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12251 # investigate it a little bit more. (MM)
12252 wlarc='${wl}'
12254 # ancient GNU ld didn't support --whole-archive et. al.
12255 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12256 $GREP 'no-whole-archive' > /dev/null; then
12257 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12258 else
12259 whole_archive_flag_spec_CXX=
12261 else
12262 with_gnu_ld=no
12263 wlarc=
12265 # A generic and very simple default shared library creation
12266 # command for GNU C++ for the case where it uses the native
12267 # linker, instead of GNU ld. If possible, this setting should
12268 # overridden to take advantage of the native linker features on
12269 # the platform it is being used on.
12270 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12273 # Commands to make compiler produce verbose output that lists
12274 # what "hidden" libraries, object files and flags are used when
12275 # linking a shared library.
12276 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12278 else
12279 GXX=no
12280 with_gnu_ld=no
12281 wlarc=
12284 # PORTME: fill in a description of your system's C++ link characteristics
12285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12286 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12287 ld_shlibs_CXX=yes
12288 case $host_os in
12289 aix3*)
12290 # FIXME: insert proper C++ library support
12291 ld_shlibs_CXX=no
12293 aix[4-9]*)
12294 if test "$host_cpu" = ia64; then
12295 # On IA64, the linker does run time linking by default, so we don't
12296 # have to do anything special.
12297 aix_use_runtimelinking=no
12298 exp_sym_flag='-Bexport'
12299 no_entry_flag=""
12300 else
12301 aix_use_runtimelinking=no
12303 # Test if we are trying to use run time linking or normal
12304 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12305 # need to do runtime linking.
12306 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12307 for ld_flag in $LDFLAGS; do
12308 case $ld_flag in
12309 *-brtl*)
12310 aix_use_runtimelinking=yes
12311 break
12313 esac
12314 done
12316 esac
12318 exp_sym_flag='-bexport'
12319 no_entry_flag='-bnoentry'
12322 # When large executables or shared objects are built, AIX ld can
12323 # have problems creating the table of contents. If linking a library
12324 # or program results in "error TOC overflow" add -mminimal-toc to
12325 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12326 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12328 archive_cmds_CXX=''
12329 hardcode_direct_CXX=yes
12330 hardcode_direct_absolute_CXX=yes
12331 hardcode_libdir_separator_CXX=':'
12332 link_all_deplibs_CXX=yes
12333 file_list_spec_CXX='${wl}-f,'
12335 if test "$GXX" = yes; then
12336 case $host_os in aix4.[012]|aix4.[012].*)
12337 # We only want to do this on AIX 4.2 and lower, the check
12338 # below for broken collect2 doesn't work under 4.3+
12339 collect2name=`${CC} -print-prog-name=collect2`
12340 if test -f "$collect2name" &&
12341 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12342 then
12343 # We have reworked collect2
12345 else
12346 # We have old collect2
12347 hardcode_direct_CXX=unsupported
12348 # It fails to find uninstalled libraries when the uninstalled
12349 # path is not listed in the libpath. Setting hardcode_minus_L
12350 # to unsupported forces relinking
12351 hardcode_minus_L_CXX=yes
12352 hardcode_libdir_flag_spec_CXX='-L$libdir'
12353 hardcode_libdir_separator_CXX=
12355 esac
12356 shared_flag='-shared'
12357 if test "$aix_use_runtimelinking" = yes; then
12358 shared_flag="$shared_flag "'${wl}-G'
12360 else
12361 # not using gcc
12362 if test "$host_cpu" = ia64; then
12363 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12364 # chokes on -Wl,-G. The following line is correct:
12365 shared_flag='-G'
12366 else
12367 if test "$aix_use_runtimelinking" = yes; then
12368 shared_flag='${wl}-G'
12369 else
12370 shared_flag='${wl}-bM:SRE'
12375 export_dynamic_flag_spec_CXX='${wl}-bexpall'
12376 # It seems that -bexpall does not export symbols beginning with
12377 # underscore (_), so it is better to generate a list of symbols to
12378 # export.
12379 always_export_symbols_CXX=yes
12380 if test "$aix_use_runtimelinking" = yes; then
12381 # Warning - without using the other runtime loading flags (-brtl),
12382 # -berok will link without error, but may produce a broken library.
12383 allow_undefined_flag_CXX='-berok'
12384 # Determine the default libpath from the value encoded in an empty
12385 # executable.
12386 if test x$gcc_no_link = xyes; then
12387 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12390 /* end confdefs.h. */
12393 main ()
12397 return 0;
12399 _ACEOF
12400 if ac_fn_cxx_try_link "$LINENO"; then :
12402 lt_aix_libpath_sed='
12403 /Import File Strings/,/^$/ {
12404 /^0/ {
12405 s/^0 *\(.*\)$/\1/
12409 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12410 # Check for a 64-bit object if we didn't find anything.
12411 if test -z "$aix_libpath"; then
12412 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12415 rm -f core conftest.err conftest.$ac_objext \
12416 conftest$ac_exeext conftest.$ac_ext
12417 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12419 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12421 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"
12422 else
12423 if test "$host_cpu" = ia64; then
12424 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12425 allow_undefined_flag_CXX="-z nodefs"
12426 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"
12427 else
12428 # Determine the default libpath from the value encoded in an
12429 # empty executable.
12430 if test x$gcc_no_link = xyes; then
12431 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12434 /* end confdefs.h. */
12437 main ()
12441 return 0;
12443 _ACEOF
12444 if ac_fn_cxx_try_link "$LINENO"; then :
12446 lt_aix_libpath_sed='
12447 /Import File Strings/,/^$/ {
12448 /^0/ {
12449 s/^0 *\(.*\)$/\1/
12453 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12454 # Check for a 64-bit object if we didn't find anything.
12455 if test -z "$aix_libpath"; then
12456 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12459 rm -f core conftest.err conftest.$ac_objext \
12460 conftest$ac_exeext conftest.$ac_ext
12461 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12463 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12464 # Warning - without using the other run time loading flags,
12465 # -berok will link without error, but may produce a broken library.
12466 no_undefined_flag_CXX=' ${wl}-bernotok'
12467 allow_undefined_flag_CXX=' ${wl}-berok'
12468 if test "$with_gnu_ld" = yes; then
12469 # We only use this code for GNU lds that support --whole-archive.
12470 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12471 else
12472 # Exported symbols can be pulled into shared objects from archives
12473 whole_archive_flag_spec_CXX='$convenience'
12475 archive_cmds_need_lc_CXX=yes
12476 # This is similar to how AIX traditionally builds its shared
12477 # libraries.
12478 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'
12483 beos*)
12484 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12485 allow_undefined_flag_CXX=unsupported
12486 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12487 # support --undefined. This deserves some investigation. FIXME
12488 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12489 else
12490 ld_shlibs_CXX=no
12494 chorus*)
12495 case $cc_basename in
12497 # FIXME: insert proper C++ library support
12498 ld_shlibs_CXX=no
12500 esac
12503 cygwin* | mingw* | pw32* | cegcc*)
12504 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12505 # as there is no search path for DLLs.
12506 hardcode_libdir_flag_spec_CXX='-L$libdir'
12507 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12508 allow_undefined_flag_CXX=unsupported
12509 always_export_symbols_CXX=no
12510 enable_shared_with_static_runtimes_CXX=yes
12512 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12513 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'
12514 # If the export-symbols file already is a .def file (1st line
12515 # is EXPORTS), use it as is; otherwise, prepend...
12516 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12517 cp $export_symbols $output_objdir/$soname.def;
12518 else
12519 echo EXPORTS > $output_objdir/$soname.def;
12520 cat $export_symbols >> $output_objdir/$soname.def;
12522 $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'
12523 else
12524 ld_shlibs_CXX=no
12527 darwin* | rhapsody*)
12530 archive_cmds_need_lc_CXX=no
12531 hardcode_direct_CXX=no
12532 hardcode_automatic_CXX=yes
12533 hardcode_shlibpath_var_CXX=unsupported
12534 if test "$lt_cv_ld_force_load" = "yes"; then
12535 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\"`'
12536 else
12537 whole_archive_flag_spec_CXX=''
12539 link_all_deplibs_CXX=yes
12540 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12541 case $cc_basename in
12542 ifort*) _lt_dar_can_shared=yes ;;
12543 *) _lt_dar_can_shared=$GCC ;;
12544 esac
12545 if test "$_lt_dar_can_shared" = "yes"; then
12546 output_verbose_link_cmd=func_echo_all
12547 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}"
12548 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12549 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}"
12550 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}"
12551 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12552 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}"
12553 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}"
12556 else
12557 ld_shlibs_CXX=no
12562 dgux*)
12563 case $cc_basename in
12564 ec++*)
12565 # FIXME: insert proper C++ library support
12566 ld_shlibs_CXX=no
12568 ghcx*)
12569 # Green Hills C++ Compiler
12570 # FIXME: insert proper C++ library support
12571 ld_shlibs_CXX=no
12574 # FIXME: insert proper C++ library support
12575 ld_shlibs_CXX=no
12577 esac
12580 freebsd2.*)
12581 # C++ shared libraries reported to be fairly broken before
12582 # switch to ELF
12583 ld_shlibs_CXX=no
12586 freebsd-elf*)
12587 archive_cmds_need_lc_CXX=no
12590 freebsd* | dragonfly*)
12591 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12592 # conventions
12593 ld_shlibs_CXX=yes
12596 gnu*)
12599 haiku*)
12600 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12601 link_all_deplibs_CXX=yes
12604 hpux9*)
12605 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12606 hardcode_libdir_separator_CXX=:
12607 export_dynamic_flag_spec_CXX='${wl}-E'
12608 hardcode_direct_CXX=yes
12609 hardcode_minus_L_CXX=yes # Not in the search PATH,
12610 # but as the default
12611 # location of the library.
12613 case $cc_basename in
12614 CC*)
12615 # FIXME: insert proper C++ library support
12616 ld_shlibs_CXX=no
12618 aCC*)
12619 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'
12620 # Commands to make compiler produce verbose output that lists
12621 # what "hidden" libraries, object files and flags are used when
12622 # linking a shared library.
12624 # There doesn't appear to be a way to prevent this compiler from
12625 # explicitly linking system object files so we need to strip them
12626 # from the output so that they don't get included in the library
12627 # dependencies.
12628 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"'
12631 if test "$GXX" = yes; then
12632 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'
12633 else
12634 # FIXME: insert proper C++ library support
12635 ld_shlibs_CXX=no
12638 esac
12641 hpux10*|hpux11*)
12642 if test $with_gnu_ld = no; then
12643 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12644 hardcode_libdir_separator_CXX=:
12646 case $host_cpu in
12647 hppa*64*|ia64*)
12650 export_dynamic_flag_spec_CXX='${wl}-E'
12652 esac
12654 case $host_cpu in
12655 hppa*64*|ia64*)
12656 hardcode_direct_CXX=no
12657 hardcode_shlibpath_var_CXX=no
12660 hardcode_direct_CXX=yes
12661 hardcode_direct_absolute_CXX=yes
12662 hardcode_minus_L_CXX=yes # Not in the search PATH,
12663 # but as the default
12664 # location of the library.
12666 esac
12668 case $cc_basename in
12669 CC*)
12670 # FIXME: insert proper C++ library support
12671 ld_shlibs_CXX=no
12673 aCC*)
12674 case $host_cpu in
12675 hppa*64*)
12676 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12678 ia64*)
12679 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12682 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12684 esac
12685 # Commands to make compiler produce verbose output that lists
12686 # what "hidden" libraries, object files and flags are used when
12687 # linking a shared library.
12689 # There doesn't appear to be a way to prevent this compiler from
12690 # explicitly linking system object files so we need to strip them
12691 # from the output so that they don't get included in the library
12692 # dependencies.
12693 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"'
12696 if test "$GXX" = yes; then
12697 if test $with_gnu_ld = no; then
12698 case $host_cpu in
12699 hppa*64*)
12700 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12702 ia64*)
12703 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12706 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'
12708 esac
12710 else
12711 # FIXME: insert proper C++ library support
12712 ld_shlibs_CXX=no
12715 esac
12718 interix[3-9]*)
12719 hardcode_direct_CXX=no
12720 hardcode_shlibpath_var_CXX=no
12721 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12722 export_dynamic_flag_spec_CXX='${wl}-E'
12723 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12724 # Instead, shared libraries are loaded at an image base (0x10000000 by
12725 # default) and relocated if they conflict, which is a slow very memory
12726 # consuming and fragmenting process. To avoid this, we pick a random,
12727 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12728 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12729 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'
12730 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'
12732 irix5* | irix6*)
12733 case $cc_basename in
12734 CC*)
12735 # SGI C++
12736 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'
12738 # Archives containing C++ object files must be created using
12739 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12740 # necessary to make sure instantiated templates are included
12741 # in the archive.
12742 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12745 if test "$GXX" = yes; then
12746 if test "$with_gnu_ld" = no; then
12747 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'
12748 else
12749 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'
12752 link_all_deplibs_CXX=yes
12754 esac
12755 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12756 hardcode_libdir_separator_CXX=:
12757 inherit_rpath_CXX=yes
12760 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12761 case $cc_basename in
12762 KCC*)
12763 # Kuck and Associates, Inc. (KAI) C++ Compiler
12765 # KCC will only create a shared library if the output file
12766 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12767 # to its proper name (with version) after linking.
12768 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'
12769 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'
12770 # Commands to make compiler produce verbose output that lists
12771 # what "hidden" libraries, object files and flags are used when
12772 # linking a shared library.
12774 # There doesn't appear to be a way to prevent this compiler from
12775 # explicitly linking system object files so we need to strip them
12776 # from the output so that they don't get included in the library
12777 # dependencies.
12778 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"'
12780 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12781 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12783 # Archives containing C++ object files must be created using
12784 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12785 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12787 icpc* | ecpc* )
12788 # Intel C++
12789 with_gnu_ld=yes
12790 # version 8.0 and above of icpc choke on multiply defined symbols
12791 # if we add $predep_objects and $postdep_objects, however 7.1 and
12792 # earlier do not add the objects themselves.
12793 case `$CC -V 2>&1` in
12794 *"Version 7."*)
12795 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12796 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'
12798 *) # Version 8.0 or newer
12799 tmp_idyn=
12800 case $host_cpu in
12801 ia64*) tmp_idyn=' -i_dynamic';;
12802 esac
12803 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12804 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'
12806 esac
12807 archive_cmds_need_lc_CXX=no
12808 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12809 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12810 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12812 pgCC* | pgcpp*)
12813 # Portland Group C++ compiler
12814 case `$CC -V` in
12815 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12816 prelink_cmds_CXX='tpldir=Template.dir~
12817 rm -rf $tpldir~
12818 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12819 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12820 old_archive_cmds_CXX='tpldir=Template.dir~
12821 rm -rf $tpldir~
12822 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12823 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12824 $RANLIB $oldlib'
12825 archive_cmds_CXX='tpldir=Template.dir~
12826 rm -rf $tpldir~
12827 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12828 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12829 archive_expsym_cmds_CXX='tpldir=Template.dir~
12830 rm -rf $tpldir~
12831 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12832 $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'
12834 *) # Version 6 and above use weak symbols
12835 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12836 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'
12838 esac
12840 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12841 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12842 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'
12844 cxx*)
12845 # Compaq C++
12846 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12847 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'
12849 runpath_var=LD_RUN_PATH
12850 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12851 hardcode_libdir_separator_CXX=:
12853 # Commands to make compiler produce verbose output that lists
12854 # what "hidden" libraries, object files and flags are used when
12855 # linking a shared library.
12857 # There doesn't appear to be a way to prevent this compiler from
12858 # explicitly linking system object files so we need to strip them
12859 # from the output so that they don't get included in the library
12860 # dependencies.
12861 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'
12863 xl* | mpixl* | bgxl*)
12864 # IBM XL 8.0 on PPC, with GNU ld
12865 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12866 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12867 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12868 if test "x$supports_anon_versioning" = xyes; then
12869 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12870 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12871 echo "local: *; };" >> $output_objdir/$libname.ver~
12872 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12876 case `$CC -V 2>&1 | sed 5q` in
12877 *Sun\ C*)
12878 # Sun C++ 5.9
12879 no_undefined_flag_CXX=' -zdefs'
12880 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12881 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'
12882 hardcode_libdir_flag_spec_CXX='-R$libdir'
12883 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'
12884 compiler_needs_object_CXX=yes
12886 # Not sure whether something based on
12887 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12888 # would be better.
12889 output_verbose_link_cmd='func_echo_all'
12891 # Archives containing C++ object files must be created using
12892 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12893 # necessary to make sure instantiated templates are included
12894 # in the archive.
12895 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12897 esac
12899 esac
12902 lynxos*)
12903 # FIXME: insert proper C++ library support
12904 ld_shlibs_CXX=no
12907 m88k*)
12908 # FIXME: insert proper C++ library support
12909 ld_shlibs_CXX=no
12912 mvs*)
12913 case $cc_basename in
12914 cxx*)
12915 # FIXME: insert proper C++ library support
12916 ld_shlibs_CXX=no
12919 # FIXME: insert proper C++ library support
12920 ld_shlibs_CXX=no
12922 esac
12925 netbsd*)
12926 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12927 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12928 wlarc=
12929 hardcode_libdir_flag_spec_CXX='-R$libdir'
12930 hardcode_direct_CXX=yes
12931 hardcode_shlibpath_var_CXX=no
12933 # Workaround some broken pre-1.5 toolchains
12934 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12937 *nto* | *qnx*)
12938 ld_shlibs_CXX=yes
12941 openbsd2*)
12942 # C++ shared libraries are fairly broken
12943 ld_shlibs_CXX=no
12946 openbsd*)
12947 if test -f /usr/libexec/ld.so; then
12948 hardcode_direct_CXX=yes
12949 hardcode_shlibpath_var_CXX=no
12950 hardcode_direct_absolute_CXX=yes
12951 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12952 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12953 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12954 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12955 export_dynamic_flag_spec_CXX='${wl}-E'
12956 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12958 output_verbose_link_cmd=func_echo_all
12959 else
12960 ld_shlibs_CXX=no
12964 osf3* | osf4* | osf5*)
12965 case $cc_basename in
12966 KCC*)
12967 # Kuck and Associates, Inc. (KAI) C++ Compiler
12969 # KCC will only create a shared library if the output file
12970 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12971 # to its proper name (with version) after linking.
12972 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'
12974 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12975 hardcode_libdir_separator_CXX=:
12977 # Archives containing C++ object files must be created using
12978 # the KAI C++ compiler.
12979 case $host in
12980 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
12981 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
12982 esac
12984 RCC*)
12985 # Rational C++ 2.4.1
12986 # FIXME: insert proper C++ library support
12987 ld_shlibs_CXX=no
12989 cxx*)
12990 case $host in
12991 osf3*)
12992 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12993 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'
12994 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12997 allow_undefined_flag_CXX=' -expect_unresolved \*'
12998 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'
12999 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13000 echo "-hidden">> $lib.exp~
13001 $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~
13002 $RM $lib.exp'
13003 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13005 esac
13007 hardcode_libdir_separator_CXX=:
13009 # Commands to make compiler produce verbose output that lists
13010 # what "hidden" libraries, object files and flags are used when
13011 # linking a shared library.
13013 # There doesn't appear to be a way to prevent this compiler from
13014 # explicitly linking system object files so we need to strip them
13015 # from the output so that they don't get included in the library
13016 # dependencies.
13017 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"'
13020 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13021 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13022 case $host in
13023 osf3*)
13024 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'
13027 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'
13029 esac
13031 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13032 hardcode_libdir_separator_CXX=:
13034 # Commands to make compiler produce verbose output that lists
13035 # what "hidden" libraries, object files and flags are used when
13036 # linking a shared library.
13037 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13039 else
13040 # FIXME: insert proper C++ library support
13041 ld_shlibs_CXX=no
13044 esac
13047 psos*)
13048 # FIXME: insert proper C++ library support
13049 ld_shlibs_CXX=no
13052 sunos4*)
13053 case $cc_basename in
13054 CC*)
13055 # Sun C++ 4.x
13056 # FIXME: insert proper C++ library support
13057 ld_shlibs_CXX=no
13059 lcc*)
13060 # Lucid
13061 # FIXME: insert proper C++ library support
13062 ld_shlibs_CXX=no
13065 # FIXME: insert proper C++ library support
13066 ld_shlibs_CXX=no
13068 esac
13071 solaris*)
13072 case $cc_basename in
13073 CC*)
13074 # Sun C++ 4.2, 5.x and Centerline C++
13075 archive_cmds_need_lc_CXX=yes
13076 no_undefined_flag_CXX=' -zdefs'
13077 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13078 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13079 $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'
13081 hardcode_libdir_flag_spec_CXX='-R$libdir'
13082 hardcode_shlibpath_var_CXX=no
13083 case $host_os in
13084 solaris2.[0-5] | solaris2.[0-5].*) ;;
13086 # The compiler driver will combine and reorder linker options,
13087 # but understands `-z linker_flag'.
13088 # Supported since Solaris 2.6 (maybe 2.5.1?)
13089 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13091 esac
13092 link_all_deplibs_CXX=yes
13094 output_verbose_link_cmd='func_echo_all'
13096 # Archives containing C++ object files must be created using
13097 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13098 # necessary to make sure instantiated templates are included
13099 # in the archive.
13100 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13102 gcx*)
13103 # Green Hills C++ Compiler
13104 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13106 # The C++ compiler must be used to create the archive.
13107 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13110 # GNU C++ compiler with Solaris linker
13111 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13112 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13113 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13114 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13115 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13116 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13118 # Commands to make compiler produce verbose output that lists
13119 # what "hidden" libraries, object files and flags are used when
13120 # linking a shared library.
13121 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13122 else
13123 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13124 # platform.
13125 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13126 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13127 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13129 # Commands to make compiler produce verbose output that lists
13130 # what "hidden" libraries, object files and flags are used when
13131 # linking a shared library.
13132 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13135 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13136 case $host_os in
13137 solaris2.[0-5] | solaris2.[0-5].*) ;;
13139 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13141 esac
13144 esac
13147 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13148 no_undefined_flag_CXX='${wl}-z,text'
13149 archive_cmds_need_lc_CXX=no
13150 hardcode_shlibpath_var_CXX=no
13151 runpath_var='LD_RUN_PATH'
13153 case $cc_basename in
13154 CC*)
13155 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13156 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13159 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13160 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13162 esac
13165 sysv5* | sco3.2v5* | sco5v6*)
13166 # Note: We can NOT use -z defs as we might desire, because we do not
13167 # link with -lc, and that would cause any symbols used from libc to
13168 # always be unresolved, which means just about no library would
13169 # ever link correctly. If we're not using GNU ld we use -z text
13170 # though, which does catch some bad symbols but isn't as heavy-handed
13171 # as -z defs.
13172 no_undefined_flag_CXX='${wl}-z,text'
13173 allow_undefined_flag_CXX='${wl}-z,nodefs'
13174 archive_cmds_need_lc_CXX=no
13175 hardcode_shlibpath_var_CXX=no
13176 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13177 hardcode_libdir_separator_CXX=':'
13178 link_all_deplibs_CXX=yes
13179 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13180 runpath_var='LD_RUN_PATH'
13182 case $cc_basename in
13183 CC*)
13184 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13185 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13186 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13187 '"$old_archive_cmds_CXX"
13188 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13189 '"$reload_cmds_CXX"
13192 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13193 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13195 esac
13198 tandem*)
13199 case $cc_basename in
13200 NCC*)
13201 # NonStop-UX NCC 3.20
13202 # FIXME: insert proper C++ library support
13203 ld_shlibs_CXX=no
13206 # FIXME: insert proper C++ library support
13207 ld_shlibs_CXX=no
13209 esac
13212 vxworks*)
13213 # FIXME: insert proper C++ library support
13214 ld_shlibs_CXX=no
13218 # FIXME: insert proper C++ library support
13219 ld_shlibs_CXX=no
13221 esac
13223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13224 $as_echo "$ld_shlibs_CXX" >&6; }
13225 test "$ld_shlibs_CXX" = no && can_build_shared=no
13227 GCC_CXX="$GXX"
13228 LD_CXX="$LD"
13230 ## CAVEAT EMPTOR:
13231 ## There is no encapsulation within the following macros, do not change
13232 ## the running order or otherwise move them around unless you know exactly
13233 ## what you are doing...
13234 # Dependencies to place before and after the object being linked:
13235 predep_objects_CXX=
13236 postdep_objects_CXX=
13237 predeps_CXX=
13238 postdeps_CXX=
13239 compiler_lib_search_path_CXX=
13241 cat > conftest.$ac_ext <<_LT_EOF
13242 class Foo
13244 public:
13245 Foo (void) { a = 0; }
13246 private:
13247 int a;
13249 _LT_EOF
13251 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13252 (eval $ac_compile) 2>&5
13253 ac_status=$?
13254 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13255 test $ac_status = 0; }; then
13256 # Parse the compiler output and extract the necessary
13257 # objects, libraries and library flags.
13259 # Sentinel used to keep track of whether or not we are before
13260 # the conftest object file.
13261 pre_test_object_deps_done=no
13263 for p in `eval "$output_verbose_link_cmd"`; do
13264 case $p in
13266 -L* | -R* | -l*)
13267 # Some compilers place space between "-{L,R}" and the path.
13268 # Remove the space.
13269 if test $p = "-L" ||
13270 test $p = "-R"; then
13271 prev=$p
13272 continue
13273 else
13274 prev=
13277 if test "$pre_test_object_deps_done" = no; then
13278 case $p in
13279 -L* | -R*)
13280 # Internal compiler library paths should come after those
13281 # provided the user. The postdeps already come after the
13282 # user supplied libs so there is no need to process them.
13283 if test -z "$compiler_lib_search_path_CXX"; then
13284 compiler_lib_search_path_CXX="${prev}${p}"
13285 else
13286 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13289 # The "-l" case would never come before the object being
13290 # linked, so don't bother handling this case.
13291 esac
13292 else
13293 if test -z "$postdeps_CXX"; then
13294 postdeps_CXX="${prev}${p}"
13295 else
13296 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13301 *.$objext)
13302 # This assumes that the test object file only shows up
13303 # once in the compiler output.
13304 if test "$p" = "conftest.$objext"; then
13305 pre_test_object_deps_done=yes
13306 continue
13309 if test "$pre_test_object_deps_done" = no; then
13310 if test -z "$predep_objects_CXX"; then
13311 predep_objects_CXX="$p"
13312 else
13313 predep_objects_CXX="$predep_objects_CXX $p"
13315 else
13316 if test -z "$postdep_objects_CXX"; then
13317 postdep_objects_CXX="$p"
13318 else
13319 postdep_objects_CXX="$postdep_objects_CXX $p"
13324 *) ;; # Ignore the rest.
13326 esac
13327 done
13329 # Clean up.
13330 rm -f a.out a.exe
13331 else
13332 echo "libtool.m4: error: problem compiling CXX test program"
13335 $RM -f confest.$objext
13337 # PORTME: override above test on systems where it is broken
13338 case $host_os in
13339 interix[3-9]*)
13340 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13341 # hack all around it, let's just trust "g++" to DTRT.
13342 predep_objects_CXX=
13343 postdep_objects_CXX=
13344 postdeps_CXX=
13347 linux*)
13348 case `$CC -V 2>&1 | sed 5q` in
13349 *Sun\ C*)
13350 # Sun C++ 5.9
13352 # The more standards-conforming stlport4 library is
13353 # incompatible with the Cstd library. Avoid specifying
13354 # it if it's in CXXFLAGS. Ignore libCrun as
13355 # -library=stlport4 depends on it.
13356 case " $CXX $CXXFLAGS " in
13357 *" -library=stlport4 "*)
13358 solaris_use_stlport4=yes
13360 esac
13362 if test "$solaris_use_stlport4" != yes; then
13363 postdeps_CXX='-library=Cstd -library=Crun'
13366 esac
13369 solaris*)
13370 case $cc_basename in
13371 CC*)
13372 # The more standards-conforming stlport4 library is
13373 # incompatible with the Cstd library. Avoid specifying
13374 # it if it's in CXXFLAGS. Ignore libCrun as
13375 # -library=stlport4 depends on it.
13376 case " $CXX $CXXFLAGS " in
13377 *" -library=stlport4 "*)
13378 solaris_use_stlport4=yes
13380 esac
13382 # Adding this requires a known-good setup of shared libraries for
13383 # Sun compiler versions before 5.6, else PIC objects from an old
13384 # archive will be linked into the output, leading to subtle bugs.
13385 if test "$solaris_use_stlport4" != yes; then
13386 postdeps_CXX='-library=Cstd -library=Crun'
13389 esac
13391 esac
13394 case " $postdeps_CXX " in
13395 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13396 esac
13397 compiler_lib_search_dirs_CXX=
13398 if test -n "${compiler_lib_search_path_CXX}"; then
13399 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13432 lt_prog_compiler_wl_CXX=
13433 lt_prog_compiler_pic_CXX=
13434 lt_prog_compiler_static_CXX=
13436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13437 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13439 # C++ specific cases for pic, static, wl, etc.
13440 if test "$GXX" = yes; then
13441 lt_prog_compiler_wl_CXX='-Wl,'
13442 lt_prog_compiler_static_CXX='-static'
13444 case $host_os in
13445 aix*)
13446 # All AIX code is PIC.
13447 if test "$host_cpu" = ia64; then
13448 # AIX 5 now supports IA64 processor
13449 lt_prog_compiler_static_CXX='-Bstatic'
13451 lt_prog_compiler_pic_CXX='-fPIC'
13454 amigaos*)
13455 case $host_cpu in
13456 powerpc)
13457 # see comment about AmigaOS4 .so support
13458 lt_prog_compiler_pic_CXX='-fPIC'
13460 m68k)
13461 # FIXME: we need at least 68020 code to build shared libraries, but
13462 # adding the `-m68020' flag to GCC prevents building anything better,
13463 # like `-m68040'.
13464 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13466 esac
13469 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13470 # PIC is the default for these OSes.
13472 mingw* | cygwin* | os2* | pw32* | cegcc*)
13473 # This hack is so that the source file can tell whether it is being
13474 # built for inclusion in a dll (and should export symbols for example).
13475 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13476 # (--disable-auto-import) libraries
13477 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13479 darwin* | rhapsody*)
13480 # PIC is the default on this platform
13481 # Common symbols not allowed in MH_DYLIB files
13482 lt_prog_compiler_pic_CXX='-fno-common'
13484 *djgpp*)
13485 # DJGPP does not support shared libraries at all
13486 lt_prog_compiler_pic_CXX=
13488 haiku*)
13489 # PIC is the default for Haiku.
13490 # The "-static" flag exists, but is broken.
13491 lt_prog_compiler_static_CXX=
13493 interix[3-9]*)
13494 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13495 # Instead, we relocate shared libraries at runtime.
13497 sysv4*MP*)
13498 if test -d /usr/nec; then
13499 lt_prog_compiler_pic_CXX=-Kconform_pic
13502 hpux*)
13503 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13504 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13505 # sets the default TLS model and affects inlining.
13506 case $host_cpu in
13507 hppa*64*)
13510 lt_prog_compiler_pic_CXX='-fPIC'
13512 esac
13514 *qnx* | *nto*)
13515 # QNX uses GNU C++, but need to define -shared option too, otherwise
13516 # it will coredump.
13517 lt_prog_compiler_pic_CXX='-fPIC -shared'
13520 lt_prog_compiler_pic_CXX='-fPIC'
13522 esac
13523 else
13524 case $host_os in
13525 aix[4-9]*)
13526 # All AIX code is PIC.
13527 if test "$host_cpu" = ia64; then
13528 # AIX 5 now supports IA64 processor
13529 lt_prog_compiler_static_CXX='-Bstatic'
13530 else
13531 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13534 chorus*)
13535 case $cc_basename in
13536 cxch68*)
13537 # Green Hills C++ Compiler
13538 # _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"
13540 esac
13542 dgux*)
13543 case $cc_basename in
13544 ec++*)
13545 lt_prog_compiler_pic_CXX='-KPIC'
13547 ghcx*)
13548 # Green Hills C++ Compiler
13549 lt_prog_compiler_pic_CXX='-pic'
13553 esac
13555 freebsd* | dragonfly*)
13556 # FreeBSD uses GNU C++
13558 hpux9* | hpux10* | hpux11*)
13559 case $cc_basename in
13560 CC*)
13561 lt_prog_compiler_wl_CXX='-Wl,'
13562 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13563 if test "$host_cpu" != ia64; then
13564 lt_prog_compiler_pic_CXX='+Z'
13567 aCC*)
13568 lt_prog_compiler_wl_CXX='-Wl,'
13569 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13570 case $host_cpu in
13571 hppa*64*|ia64*)
13572 # +Z the default
13575 lt_prog_compiler_pic_CXX='+Z'
13577 esac
13581 esac
13583 interix*)
13584 # This is c89, which is MS Visual C++ (no shared libs)
13585 # Anyone wants to do a port?
13587 irix5* | irix6* | nonstopux*)
13588 case $cc_basename in
13589 CC*)
13590 lt_prog_compiler_wl_CXX='-Wl,'
13591 lt_prog_compiler_static_CXX='-non_shared'
13592 # CC pic flag -KPIC is the default.
13596 esac
13598 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13599 case $cc_basename in
13600 KCC*)
13601 # KAI C++ Compiler
13602 lt_prog_compiler_wl_CXX='--backend -Wl,'
13603 lt_prog_compiler_pic_CXX='-fPIC'
13605 ecpc* )
13606 # old Intel C++ for x86_64 which still supported -KPIC.
13607 lt_prog_compiler_wl_CXX='-Wl,'
13608 lt_prog_compiler_pic_CXX='-KPIC'
13609 lt_prog_compiler_static_CXX='-static'
13611 icpc* )
13612 # Intel C++, used to be incompatible with GCC.
13613 # ICC 10 doesn't accept -KPIC any more.
13614 lt_prog_compiler_wl_CXX='-Wl,'
13615 lt_prog_compiler_pic_CXX='-fPIC'
13616 lt_prog_compiler_static_CXX='-static'
13618 pgCC* | pgcpp*)
13619 # Portland Group C++ compiler
13620 lt_prog_compiler_wl_CXX='-Wl,'
13621 lt_prog_compiler_pic_CXX='-fpic'
13622 lt_prog_compiler_static_CXX='-Bstatic'
13624 cxx*)
13625 # Compaq C++
13626 # Make sure the PIC flag is empty. It appears that all Alpha
13627 # Linux and Compaq Tru64 Unix objects are PIC.
13628 lt_prog_compiler_pic_CXX=
13629 lt_prog_compiler_static_CXX='-non_shared'
13631 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13632 # IBM XL 8.0, 9.0 on PPC and BlueGene
13633 lt_prog_compiler_wl_CXX='-Wl,'
13634 lt_prog_compiler_pic_CXX='-qpic'
13635 lt_prog_compiler_static_CXX='-qstaticlink'
13638 case `$CC -V 2>&1 | sed 5q` in
13639 *Sun\ C*)
13640 # Sun C++ 5.9
13641 lt_prog_compiler_pic_CXX='-KPIC'
13642 lt_prog_compiler_static_CXX='-Bstatic'
13643 lt_prog_compiler_wl_CXX='-Qoption ld '
13645 esac
13647 esac
13649 lynxos*)
13651 m88k*)
13653 mvs*)
13654 case $cc_basename in
13655 cxx*)
13656 lt_prog_compiler_pic_CXX='-W c,exportall'
13660 esac
13662 netbsd*)
13664 *qnx* | *nto*)
13665 # QNX uses GNU C++, but need to define -shared option too, otherwise
13666 # it will coredump.
13667 lt_prog_compiler_pic_CXX='-fPIC -shared'
13669 osf3* | osf4* | osf5*)
13670 case $cc_basename in
13671 KCC*)
13672 lt_prog_compiler_wl_CXX='--backend -Wl,'
13674 RCC*)
13675 # Rational C++ 2.4.1
13676 lt_prog_compiler_pic_CXX='-pic'
13678 cxx*)
13679 # Digital/Compaq C++
13680 lt_prog_compiler_wl_CXX='-Wl,'
13681 # Make sure the PIC flag is empty. It appears that all Alpha
13682 # Linux and Compaq Tru64 Unix objects are PIC.
13683 lt_prog_compiler_pic_CXX=
13684 lt_prog_compiler_static_CXX='-non_shared'
13688 esac
13690 psos*)
13692 solaris*)
13693 case $cc_basename in
13694 CC*)
13695 # Sun C++ 4.2, 5.x and Centerline C++
13696 lt_prog_compiler_pic_CXX='-KPIC'
13697 lt_prog_compiler_static_CXX='-Bstatic'
13698 lt_prog_compiler_wl_CXX='-Qoption ld '
13700 gcx*)
13701 # Green Hills C++ Compiler
13702 lt_prog_compiler_pic_CXX='-PIC'
13706 esac
13708 sunos4*)
13709 case $cc_basename in
13710 CC*)
13711 # Sun C++ 4.x
13712 lt_prog_compiler_pic_CXX='-pic'
13713 lt_prog_compiler_static_CXX='-Bstatic'
13715 lcc*)
13716 # Lucid
13717 lt_prog_compiler_pic_CXX='-pic'
13721 esac
13723 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13724 case $cc_basename in
13725 CC*)
13726 lt_prog_compiler_wl_CXX='-Wl,'
13727 lt_prog_compiler_pic_CXX='-KPIC'
13728 lt_prog_compiler_static_CXX='-Bstatic'
13730 esac
13732 tandem*)
13733 case $cc_basename in
13734 NCC*)
13735 # NonStop-UX NCC 3.20
13736 lt_prog_compiler_pic_CXX='-KPIC'
13740 esac
13742 vxworks*)
13745 lt_prog_compiler_can_build_shared_CXX=no
13747 esac
13750 case $host_os in
13751 # For platforms which do not support PIC, -DPIC is meaningless:
13752 *djgpp*)
13753 lt_prog_compiler_pic_CXX=
13756 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13758 esac
13759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13760 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13765 # Check to make sure the PIC flag actually works.
13767 if test -n "$lt_prog_compiler_pic_CXX"; then
13768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13769 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13770 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13771 $as_echo_n "(cached) " >&6
13772 else
13773 lt_cv_prog_compiler_pic_works_CXX=no
13774 ac_outfile=conftest.$ac_objext
13775 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13776 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13777 # Insert the option either (1) after the last *FLAGS variable, or
13778 # (2) before a word containing "conftest.", or (3) at the end.
13779 # Note that $ac_compile itself does not contain backslashes and begins
13780 # with a dollar sign (not a hyphen), so the echo should work correctly.
13781 # The option is referenced via a variable to avoid confusing sed.
13782 lt_compile=`echo "$ac_compile" | $SED \
13783 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13784 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13785 -e 's:$: $lt_compiler_flag:'`
13786 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13787 (eval "$lt_compile" 2>conftest.err)
13788 ac_status=$?
13789 cat conftest.err >&5
13790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13791 if (exit $ac_status) && test -s "$ac_outfile"; then
13792 # The compiler can only warn and ignore the option if not recognized
13793 # So say no if there are warnings other than the usual output.
13794 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13795 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13796 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13797 lt_cv_prog_compiler_pic_works_CXX=yes
13800 $RM conftest*
13803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13804 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13806 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13807 case $lt_prog_compiler_pic_CXX in
13808 "" | " "*) ;;
13809 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13810 esac
13811 else
13812 lt_prog_compiler_pic_CXX=
13813 lt_prog_compiler_can_build_shared_CXX=no
13821 # Check to make sure the static flag actually works.
13823 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13825 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13826 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13827 $as_echo_n "(cached) " >&6
13828 else
13829 lt_cv_prog_compiler_static_works_CXX=no
13830 save_LDFLAGS="$LDFLAGS"
13831 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13832 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13833 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13834 # The linker can only warn and ignore the option if not recognized
13835 # So say no if there are warnings
13836 if test -s conftest.err; then
13837 # Append any errors to the config.log.
13838 cat conftest.err 1>&5
13839 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13840 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13841 if diff conftest.exp conftest.er2 >/dev/null; then
13842 lt_cv_prog_compiler_static_works_CXX=yes
13844 else
13845 lt_cv_prog_compiler_static_works_CXX=yes
13848 $RM -r conftest*
13849 LDFLAGS="$save_LDFLAGS"
13852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13853 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13855 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13857 else
13858 lt_prog_compiler_static_CXX=
13864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13865 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13866 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13867 $as_echo_n "(cached) " >&6
13868 else
13869 lt_cv_prog_compiler_c_o_CXX=no
13870 $RM -r conftest 2>/dev/null
13871 mkdir conftest
13872 cd conftest
13873 mkdir out
13874 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13876 lt_compiler_flag="-o out/conftest2.$ac_objext"
13877 # Insert the option either (1) after the last *FLAGS variable, or
13878 # (2) before a word containing "conftest.", or (3) at the end.
13879 # Note that $ac_compile itself does not contain backslashes and begins
13880 # with a dollar sign (not a hyphen), so the echo should work correctly.
13881 lt_compile=`echo "$ac_compile" | $SED \
13882 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13883 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13884 -e 's:$: $lt_compiler_flag:'`
13885 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13886 (eval "$lt_compile" 2>out/conftest.err)
13887 ac_status=$?
13888 cat out/conftest.err >&5
13889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13890 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13891 then
13892 # The compiler can only warn and ignore the option if not recognized
13893 # So say no if there are warnings
13894 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13895 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13896 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13897 lt_cv_prog_compiler_c_o_CXX=yes
13900 chmod u+w . 2>&5
13901 $RM conftest*
13902 # SGI C++ compiler will create directory out/ii_files/ for
13903 # template instantiation
13904 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13905 $RM out/* && rmdir out
13906 cd ..
13907 $RM -r conftest
13908 $RM conftest*
13911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13912 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13917 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13918 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13919 $as_echo_n "(cached) " >&6
13920 else
13921 lt_cv_prog_compiler_c_o_CXX=no
13922 $RM -r conftest 2>/dev/null
13923 mkdir conftest
13924 cd conftest
13925 mkdir out
13926 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13928 lt_compiler_flag="-o out/conftest2.$ac_objext"
13929 # Insert the option either (1) after the last *FLAGS variable, or
13930 # (2) before a word containing "conftest.", or (3) at the end.
13931 # Note that $ac_compile itself does not contain backslashes and begins
13932 # with a dollar sign (not a hyphen), so the echo should work correctly.
13933 lt_compile=`echo "$ac_compile" | $SED \
13934 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13935 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13936 -e 's:$: $lt_compiler_flag:'`
13937 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13938 (eval "$lt_compile" 2>out/conftest.err)
13939 ac_status=$?
13940 cat out/conftest.err >&5
13941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13942 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13943 then
13944 # The compiler can only warn and ignore the option if not recognized
13945 # So say no if there are warnings
13946 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13947 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13948 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13949 lt_cv_prog_compiler_c_o_CXX=yes
13952 chmod u+w . 2>&5
13953 $RM conftest*
13954 # SGI C++ compiler will create directory out/ii_files/ for
13955 # template instantiation
13956 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13957 $RM out/* && rmdir out
13958 cd ..
13959 $RM -r conftest
13960 $RM conftest*
13963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13964 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13969 hard_links="nottested"
13970 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13971 # do not overwrite the value of need_locks provided by the user
13972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13973 $as_echo_n "checking if we can lock with hard links... " >&6; }
13974 hard_links=yes
13975 $RM conftest*
13976 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13977 touch conftest.a
13978 ln conftest.a conftest.b 2>&5 || hard_links=no
13979 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13981 $as_echo "$hard_links" >&6; }
13982 if test "$hard_links" = no; then
13983 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13984 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13985 need_locks=warn
13987 else
13988 need_locks=no
13993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13994 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13996 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13997 case $host_os in
13998 aix[4-9]*)
13999 # If we're using GNU nm, then we don't want the "-C" option.
14000 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14001 # Also, AIX nm treats weak defined symbols like other global defined
14002 # symbols, whereas GNU nm marks them as "W".
14003 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14004 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'
14005 else
14006 export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14009 pw32*)
14010 export_symbols_cmds_CXX="$ltdll_cmds"
14012 cygwin* | mingw* | cegcc*)
14013 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'
14016 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14018 esac
14019 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14022 $as_echo "$ld_shlibs_CXX" >&6; }
14023 test "$ld_shlibs_CXX" = no && can_build_shared=no
14025 with_gnu_ld_CXX=$with_gnu_ld
14033 # Do we need to explicitly link libc?
14035 case "x$archive_cmds_need_lc_CXX" in
14036 x|xyes)
14037 # Assume -lc should be added
14038 archive_cmds_need_lc_CXX=yes
14040 if test "$enable_shared" = yes && test "$GCC" = yes; then
14041 case $archive_cmds_CXX in
14042 *'~'*)
14043 # FIXME: we may have to deal with multi-command sequences.
14045 '$CC '*)
14046 # Test whether the compiler implicitly links with -lc since on some
14047 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14048 # to ld, don't add -lc before -lgcc.
14049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14050 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14051 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
14052 $as_echo_n "(cached) " >&6
14053 else
14054 $RM conftest*
14055 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14057 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14058 (eval $ac_compile) 2>&5
14059 ac_status=$?
14060 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14061 test $ac_status = 0; } 2>conftest.err; then
14062 soname=conftest
14063 lib=conftest
14064 libobjs=conftest.$ac_objext
14065 deplibs=
14066 wl=$lt_prog_compiler_wl_CXX
14067 pic_flag=$lt_prog_compiler_pic_CXX
14068 compiler_flags=-v
14069 linker_flags=-v
14070 verstring=
14071 output_objdir=.
14072 libname=conftest
14073 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14074 allow_undefined_flag_CXX=
14075 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14076 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14077 ac_status=$?
14078 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14079 test $ac_status = 0; }
14080 then
14081 lt_cv_archive_cmds_need_lc_CXX=no
14082 else
14083 lt_cv_archive_cmds_need_lc_CXX=yes
14085 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14086 else
14087 cat conftest.err 1>&5
14089 $RM conftest*
14092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14093 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14094 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14096 esac
14099 esac
14164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14165 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14167 library_names_spec=
14168 libname_spec='lib$name'
14169 soname_spec=
14170 shrext_cmds=".so"
14171 postinstall_cmds=
14172 postuninstall_cmds=
14173 finish_cmds=
14174 finish_eval=
14175 shlibpath_var=
14176 shlibpath_overrides_runpath=unknown
14177 version_type=none
14178 dynamic_linker="$host_os ld.so"
14179 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14180 need_lib_prefix=unknown
14181 hardcode_into_libs=no
14183 # when you set need_version to no, make sure it does not cause -set_version
14184 # flags to be left without arguments
14185 need_version=unknown
14187 case $host_os in
14188 aix3*)
14189 version_type=linux
14190 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14191 shlibpath_var=LIBPATH
14193 # AIX 3 has no versioning support, so we append a major version to the name.
14194 soname_spec='${libname}${release}${shared_ext}$major'
14197 aix[4-9]*)
14198 version_type=linux
14199 need_lib_prefix=no
14200 need_version=no
14201 hardcode_into_libs=yes
14202 if test "$host_cpu" = ia64; then
14203 # AIX 5 supports IA64
14204 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14205 shlibpath_var=LD_LIBRARY_PATH
14206 else
14207 # With GCC up to 2.95.x, collect2 would create an import file
14208 # for dependence libraries. The import file would start with
14209 # the line `#! .'. This would cause the generated library to
14210 # depend on `.', always an invalid library. This was fixed in
14211 # development snapshots of GCC prior to 3.0.
14212 case $host_os in
14213 aix4 | aix4.[01] | aix4.[01].*)
14214 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14215 echo ' yes '
14216 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14218 else
14219 can_build_shared=no
14222 esac
14223 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14224 # soname into executable. Probably we can add versioning support to
14225 # collect2, so additional links can be useful in future.
14226 if test "$aix_use_runtimelinking" = yes; then
14227 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14228 # instead of lib<name>.a to let people know that these are not
14229 # typical AIX shared libraries.
14230 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14231 else
14232 # We preserve .a as extension for shared libraries through AIX4.2
14233 # and later when we are not doing run time linking.
14234 library_names_spec='${libname}${release}.a $libname.a'
14235 soname_spec='${libname}${release}${shared_ext}$major'
14237 shlibpath_var=LIBPATH
14241 amigaos*)
14242 case $host_cpu in
14243 powerpc)
14244 # Since July 2007 AmigaOS4 officially supports .so libraries.
14245 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14246 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14248 m68k)
14249 library_names_spec='$libname.ixlibrary $libname.a'
14250 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14251 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'
14253 esac
14256 beos*)
14257 library_names_spec='${libname}${shared_ext}'
14258 dynamic_linker="$host_os ld.so"
14259 shlibpath_var=LIBRARY_PATH
14262 bsdi[45]*)
14263 version_type=linux
14264 need_version=no
14265 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14266 soname_spec='${libname}${release}${shared_ext}$major'
14267 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14268 shlibpath_var=LD_LIBRARY_PATH
14269 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14270 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14271 # the default ld.so.conf also contains /usr/contrib/lib and
14272 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14273 # libtool to hard-code these into programs
14276 cygwin* | mingw* | pw32* | cegcc*)
14277 version_type=windows
14278 shrext_cmds=".dll"
14279 need_version=no
14280 need_lib_prefix=no
14282 case $GCC,$host_os in
14283 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14284 library_names_spec='$libname.dll.a'
14285 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14286 postinstall_cmds='base_file=`basename \${file}`~
14287 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14288 dldir=$destdir/`dirname \$dlpath`~
14289 test -d \$dldir || mkdir -p \$dldir~
14290 $install_prog $dir/$dlname \$dldir/$dlname~
14291 chmod a+x \$dldir/$dlname~
14292 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14293 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14295 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14296 dlpath=$dir/\$dldll~
14297 $RM \$dlpath'
14298 shlibpath_overrides_runpath=yes
14300 case $host_os in
14301 cygwin*)
14302 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14303 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14306 mingw* | cegcc*)
14307 # MinGW DLLs use traditional 'lib' prefix
14308 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14310 pw32*)
14311 # pw32 DLLs use 'pw' prefix rather than 'lib'
14312 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14314 esac
14318 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14320 esac
14321 dynamic_linker='Win32 ld.exe'
14322 # FIXME: first we should search . and the directory the executable is in
14323 shlibpath_var=PATH
14326 darwin* | rhapsody*)
14327 dynamic_linker="$host_os dyld"
14328 version_type=darwin
14329 need_lib_prefix=no
14330 need_version=no
14331 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14332 soname_spec='${libname}${release}${major}$shared_ext'
14333 shlibpath_overrides_runpath=yes
14334 shlibpath_var=DYLD_LIBRARY_PATH
14335 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14337 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14340 dgux*)
14341 version_type=linux
14342 need_lib_prefix=no
14343 need_version=no
14344 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14345 soname_spec='${libname}${release}${shared_ext}$major'
14346 shlibpath_var=LD_LIBRARY_PATH
14349 freebsd* | dragonfly*)
14350 # DragonFly does not have aout. When/if they implement a new
14351 # versioning mechanism, adjust this.
14352 if test -x /usr/bin/objformat; then
14353 objformat=`/usr/bin/objformat`
14354 else
14355 case $host_os in
14356 freebsd[23].*) objformat=aout ;;
14357 *) objformat=elf ;;
14358 esac
14360 version_type=freebsd-$objformat
14361 case $version_type in
14362 freebsd-elf*)
14363 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14364 need_version=no
14365 need_lib_prefix=no
14367 freebsd-*)
14368 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14369 need_version=yes
14371 esac
14372 shlibpath_var=LD_LIBRARY_PATH
14373 case $host_os in
14374 freebsd2.*)
14375 shlibpath_overrides_runpath=yes
14377 freebsd3.[01]* | freebsdelf3.[01]*)
14378 shlibpath_overrides_runpath=yes
14379 hardcode_into_libs=yes
14381 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14382 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14383 shlibpath_overrides_runpath=no
14384 hardcode_into_libs=yes
14386 *) # from 4.6 on, and DragonFly
14387 shlibpath_overrides_runpath=yes
14388 hardcode_into_libs=yes
14390 esac
14393 gnu*)
14394 version_type=linux
14395 need_lib_prefix=no
14396 need_version=no
14397 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14398 soname_spec='${libname}${release}${shared_ext}$major'
14399 shlibpath_var=LD_LIBRARY_PATH
14400 hardcode_into_libs=yes
14403 haiku*)
14404 version_type=linux
14405 need_lib_prefix=no
14406 need_version=no
14407 dynamic_linker="$host_os runtime_loader"
14408 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14409 soname_spec='${libname}${release}${shared_ext}$major'
14410 shlibpath_var=LIBRARY_PATH
14411 shlibpath_overrides_runpath=yes
14412 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14413 hardcode_into_libs=yes
14416 hpux9* | hpux10* | hpux11*)
14417 # Give a soname corresponding to the major version so that dld.sl refuses to
14418 # link against other versions.
14419 version_type=sunos
14420 need_lib_prefix=no
14421 need_version=no
14422 case $host_cpu in
14423 ia64*)
14424 shrext_cmds='.so'
14425 hardcode_into_libs=yes
14426 dynamic_linker="$host_os dld.so"
14427 shlibpath_var=LD_LIBRARY_PATH
14428 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14429 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14430 soname_spec='${libname}${release}${shared_ext}$major'
14431 if test "X$HPUX_IA64_MODE" = X32; then
14432 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14433 else
14434 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14436 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14438 hppa*64*)
14439 shrext_cmds='.sl'
14440 hardcode_into_libs=yes
14441 dynamic_linker="$host_os dld.sl"
14442 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14443 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14444 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14445 soname_spec='${libname}${release}${shared_ext}$major'
14446 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14447 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14450 shrext_cmds='.sl'
14451 dynamic_linker="$host_os dld.sl"
14452 shlibpath_var=SHLIB_PATH
14453 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
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'
14457 esac
14458 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14459 postinstall_cmds='chmod 555 $lib'
14460 # or fails outright, so override atomically:
14461 install_override_mode=555
14464 interix[3-9]*)
14465 version_type=linux
14466 need_lib_prefix=no
14467 need_version=no
14468 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14469 soname_spec='${libname}${release}${shared_ext}$major'
14470 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14471 shlibpath_var=LD_LIBRARY_PATH
14472 shlibpath_overrides_runpath=no
14473 hardcode_into_libs=yes
14476 irix5* | irix6* | nonstopux*)
14477 case $host_os in
14478 nonstopux*) version_type=nonstopux ;;
14480 if test "$lt_cv_prog_gnu_ld" = yes; then
14481 version_type=linux
14482 else
14483 version_type=irix
14484 fi ;;
14485 esac
14486 need_lib_prefix=no
14487 need_version=no
14488 soname_spec='${libname}${release}${shared_ext}$major'
14489 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14490 case $host_os in
14491 irix5* | nonstopux*)
14492 libsuff= shlibsuff=
14495 case $LD in # libtool.m4 will add one of these switches to LD
14496 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14497 libsuff= shlibsuff= libmagic=32-bit;;
14498 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14499 libsuff=32 shlibsuff=N32 libmagic=N32;;
14500 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14501 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14502 *) libsuff= shlibsuff= libmagic=never-match;;
14503 esac
14505 esac
14506 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14507 shlibpath_overrides_runpath=no
14508 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14509 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14510 hardcode_into_libs=yes
14513 # No shared lib support for Linux oldld, aout, or coff.
14514 linux*oldld* | linux*aout* | linux*coff*)
14515 dynamic_linker=no
14518 # This must be Linux ELF.
14519 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14520 version_type=linux
14521 need_lib_prefix=no
14522 need_version=no
14523 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14524 soname_spec='${libname}${release}${shared_ext}$major'
14525 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14526 shlibpath_var=LD_LIBRARY_PATH
14527 shlibpath_overrides_runpath=no
14529 # Some binutils ld are patched to set DT_RUNPATH
14530 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14531 $as_echo_n "(cached) " >&6
14532 else
14533 lt_cv_shlibpath_overrides_runpath=no
14534 save_LDFLAGS=$LDFLAGS
14535 save_libdir=$libdir
14536 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14537 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14538 if test x$gcc_no_link = xyes; then
14539 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14542 /* end confdefs.h. */
14545 main ()
14549 return 0;
14551 _ACEOF
14552 if ac_fn_cxx_try_link "$LINENO"; then :
14553 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14554 lt_cv_shlibpath_overrides_runpath=yes
14557 rm -f core conftest.err conftest.$ac_objext \
14558 conftest$ac_exeext conftest.$ac_ext
14559 LDFLAGS=$save_LDFLAGS
14560 libdir=$save_libdir
14564 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14566 # This implies no fast_install, which is unacceptable.
14567 # Some rework will be needed to allow for fast_install
14568 # before this can be enabled.
14569 hardcode_into_libs=yes
14571 # Append ld.so.conf contents to the search path
14572 if test -f /etc/ld.so.conf; then
14573 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' ' '`
14574 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14577 # We used to test for /lib/ld.so.1 and disable shared libraries on
14578 # powerpc, because MkLinux only supported shared libraries with the
14579 # GNU dynamic linker. Since this was broken with cross compilers,
14580 # most powerpc-linux boxes support dynamic linking these days and
14581 # people can always --disable-shared, the test was removed, and we
14582 # assume the GNU/Linux dynamic linker is in use.
14583 dynamic_linker='GNU/Linux ld.so'
14586 netbsd*)
14587 version_type=sunos
14588 need_lib_prefix=no
14589 need_version=no
14590 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14591 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14592 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14593 dynamic_linker='NetBSD (a.out) ld.so'
14594 else
14595 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14596 soname_spec='${libname}${release}${shared_ext}$major'
14597 dynamic_linker='NetBSD ld.elf_so'
14599 shlibpath_var=LD_LIBRARY_PATH
14600 shlibpath_overrides_runpath=yes
14601 hardcode_into_libs=yes
14604 newsos6)
14605 version_type=linux
14606 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14607 shlibpath_var=LD_LIBRARY_PATH
14608 shlibpath_overrides_runpath=yes
14611 *nto* | *qnx*)
14612 version_type=qnx
14613 need_lib_prefix=no
14614 need_version=no
14615 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14616 soname_spec='${libname}${release}${shared_ext}$major'
14617 shlibpath_var=LD_LIBRARY_PATH
14618 shlibpath_overrides_runpath=no
14619 hardcode_into_libs=yes
14620 dynamic_linker='ldqnx.so'
14623 openbsd*)
14624 version_type=sunos
14625 sys_lib_dlsearch_path_spec="/usr/lib"
14626 need_lib_prefix=no
14627 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14628 case $host_os in
14629 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14630 *) need_version=no ;;
14631 esac
14632 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14633 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14634 shlibpath_var=LD_LIBRARY_PATH
14635 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14636 case $host_os in
14637 openbsd2.[89] | openbsd2.[89].*)
14638 shlibpath_overrides_runpath=no
14641 shlibpath_overrides_runpath=yes
14643 esac
14644 else
14645 shlibpath_overrides_runpath=yes
14649 os2*)
14650 libname_spec='$name'
14651 shrext_cmds=".dll"
14652 need_lib_prefix=no
14653 library_names_spec='$libname${shared_ext} $libname.a'
14654 dynamic_linker='OS/2 ld.exe'
14655 shlibpath_var=LIBPATH
14658 osf3* | osf4* | osf5*)
14659 version_type=osf
14660 need_lib_prefix=no
14661 need_version=no
14662 soname_spec='${libname}${release}${shared_ext}$major'
14663 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14664 shlibpath_var=LD_LIBRARY_PATH
14665 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14666 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14669 rdos*)
14670 dynamic_linker=no
14673 solaris*)
14674 version_type=linux
14675 need_lib_prefix=no
14676 need_version=no
14677 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14678 soname_spec='${libname}${release}${shared_ext}$major'
14679 shlibpath_var=LD_LIBRARY_PATH
14680 shlibpath_overrides_runpath=yes
14681 hardcode_into_libs=yes
14682 # ldd complains unless libraries are executable
14683 postinstall_cmds='chmod +x $lib'
14686 sunos4*)
14687 version_type=sunos
14688 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14689 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14690 shlibpath_var=LD_LIBRARY_PATH
14691 shlibpath_overrides_runpath=yes
14692 if test "$with_gnu_ld" = yes; then
14693 need_lib_prefix=no
14695 need_version=yes
14698 sysv4 | sysv4.3*)
14699 version_type=linux
14700 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14701 soname_spec='${libname}${release}${shared_ext}$major'
14702 shlibpath_var=LD_LIBRARY_PATH
14703 case $host_vendor in
14704 sni)
14705 shlibpath_overrides_runpath=no
14706 need_lib_prefix=no
14707 runpath_var=LD_RUN_PATH
14709 siemens)
14710 need_lib_prefix=no
14712 motorola)
14713 need_lib_prefix=no
14714 need_version=no
14715 shlibpath_overrides_runpath=no
14716 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14718 esac
14721 sysv4*MP*)
14722 if test -d /usr/nec ;then
14723 version_type=linux
14724 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14725 soname_spec='$libname${shared_ext}.$major'
14726 shlibpath_var=LD_LIBRARY_PATH
14730 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14731 version_type=freebsd-elf
14732 need_lib_prefix=no
14733 need_version=no
14734 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $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 if test "$with_gnu_ld" = yes; then
14740 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14741 else
14742 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14743 case $host_os in
14744 sco3.2v5*)
14745 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14747 esac
14749 sys_lib_dlsearch_path_spec='/usr/lib'
14752 tpf*)
14753 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14754 version_type=linux
14755 need_lib_prefix=no
14756 need_version=no
14757 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14758 shlibpath_var=LD_LIBRARY_PATH
14759 shlibpath_overrides_runpath=no
14760 hardcode_into_libs=yes
14763 uts4*)
14764 version_type=linux
14765 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14766 soname_spec='${libname}${release}${shared_ext}$major'
14767 shlibpath_var=LD_LIBRARY_PATH
14771 dynamic_linker=no
14773 esac
14774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14775 $as_echo "$dynamic_linker" >&6; }
14776 test "$dynamic_linker" = no && can_build_shared=no
14778 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14779 if test "$GCC" = yes; then
14780 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14783 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14784 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14786 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14787 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14828 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14829 hardcode_action_CXX=
14830 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14831 test -n "$runpath_var_CXX" ||
14832 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14834 # We can hardcode non-existent directories.
14835 if test "$hardcode_direct_CXX" != no &&
14836 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14837 # have to relink, otherwise we might link with an installed library
14838 # when we should be linking with a yet-to-be-installed one
14839 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14840 test "$hardcode_minus_L_CXX" != no; then
14841 # Linking always hardcodes the temporary library directory.
14842 hardcode_action_CXX=relink
14843 else
14844 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14845 hardcode_action_CXX=immediate
14847 else
14848 # We cannot hardcode anything, or else we can only hardcode existing
14849 # directories.
14850 hardcode_action_CXX=unsupported
14852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14853 $as_echo "$hardcode_action_CXX" >&6; }
14855 if test "$hardcode_action_CXX" = relink ||
14856 test "$inherit_rpath_CXX" = yes; then
14857 # Fast installation is not supported
14858 enable_fast_install=no
14859 elif test "$shlibpath_overrides_runpath" = yes ||
14860 test "$enable_shared" = no; then
14861 # Fast installation is not necessary
14862 enable_fast_install=needless
14871 fi # test -n "$compiler"
14873 CC=$lt_save_CC
14874 LDCXX=$LD
14875 LD=$lt_save_LD
14876 GCC=$lt_save_GCC
14877 with_gnu_ld=$lt_save_with_gnu_ld
14878 lt_cv_path_LDCXX=$lt_cv_path_LD
14879 lt_cv_path_LD=$lt_save_path_LD
14880 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14881 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14882 fi # test "$_lt_caught_CXX_error" != yes
14884 ac_ext=c
14885 ac_cpp='$CPP $CPPFLAGS'
14886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14902 ac_config_commands="$ac_config_commands libtool"
14907 # Only expand once:
14913 case $host in
14914 *-cygwin* | *-mingw*)
14915 # 'host' will be top-level target in the case of a target lib,
14916 # we must compare to with_cross_host to decide if this is a native
14917 # or cross-compiler and select where to install dlls appropriately.
14918 if test -n "$with_cross_host" &&
14919 test x"$with_cross_host" != x"no"; then
14920 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
14921 else
14922 lt_host_flags='-no-undefined -bindir "$(bindir)"';
14926 lt_host_flags=
14928 esac
14935 if test "$enable_vtable_verify" = yes; then
14936 predep_objects_CXX="${predep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_start.o"
14937 postdep_objects_CXX="${postdep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_end.o"
14941 # libtool variables for C++ shared and position-independent compiles.
14943 # Use glibcxx_lt_pic_flag to designate the automake variable
14944 # used to encapsulate the default libtool approach to creating objects
14945 # with position-independent code. Default: -prefer-pic.
14947 # Use glibcxx_compiler_shared_flag to designate a compile-time flags for
14948 # creating shared objects. Default: -D_GLIBCXX_SHARED.
14950 # Use glibcxx_compiler_pic_flag to designate a compile-time flags for
14951 # creating position-independent objects. This varies with the target
14952 # hardware and operating system, but is often: -DPIC -fPIC.
14953 if test "$enable_shared" = yes; then
14954 glibcxx_lt_pic_flag="-prefer-pic"
14955 glibcxx_compiler_pic_flag="$lt_prog_compiler_pic_CXX"
14956 glibcxx_compiler_shared_flag="-D_GLIBCXX_SHARED"
14958 else
14959 glibcxx_lt_pic_flag=
14960 glibcxx_compiler_pic_flag=
14961 glibcxx_compiler_shared_flag=
14967 # Override the libtool's pic_flag and pic_mode.
14968 # Do this step after AM_PROG_LIBTOOL, but before AC_OUTPUT.
14969 # NB: this impacts --with-pic and --without-pic.
14970 lt_prog_compiler_pic_CXX="$glibcxx_compiler_pic_flag $glibcxx_compiler_shared_flag"
14971 pic_mode='default'
14973 # Eliminate -lstdc++ addition to postdeps for cross compiles.
14974 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
14976 # Possibly disable most of the library.
14977 ## TODO: Consider skipping unncessary tests altogether in this case, rather
14978 ## than just ignoring the results. Faster /and/ more correct, win win.
14980 # Check whether --enable-hosted-libstdcxx was given.
14981 if test "${enable_hosted_libstdcxx+set}" = set; then :
14982 enableval=$enable_hosted_libstdcxx;
14983 else
14984 case "$host" in
14985 arm*-*-symbianelf*)
14986 enable_hosted_libstdcxx=no
14989 enable_hosted_libstdcxx=yes
14991 esac
14994 if test "$enable_hosted_libstdcxx" = no; then
14995 { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
14996 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
14997 is_hosted=no
14998 hosted_define=0
14999 enable_abi_check=no
15000 enable_libstdcxx_pch=no
15001 else
15002 is_hosted=yes
15003 hosted_define=1
15007 cat >>confdefs.h <<_ACEOF
15008 #define _GLIBCXX_HOSTED $hosted_define
15009 _ACEOF
15013 # Enable descriptive messages to standard output on termination.
15015 # Check whether --enable-libstdcxx-verbose was given.
15016 if test "${enable_libstdcxx_verbose+set}" = set; then :
15017 enableval=$enable_libstdcxx_verbose;
15018 else
15019 enable_libstdcxx_verbose=yes
15022 if test x"$enable_libstdcxx_verbose" = xyes; then
15023 verbose_define=1
15024 else
15025 { $as_echo "$as_me:${as_lineno-$LINENO}: verbose termination messages are disabled" >&5
15026 $as_echo "$as_me: verbose termination messages are disabled" >&6;}
15027 verbose_define=0
15030 cat >>confdefs.h <<_ACEOF
15031 #define _GLIBCXX_VERBOSE $verbose_define
15032 _ACEOF
15036 # Enable compiler support that doesn't require linking.
15038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exception model to use" >&5
15039 $as_echo_n "checking for exception model to use... " >&6; }
15041 ac_ext=cpp
15042 ac_cpp='$CXXCPP $CPPFLAGS'
15043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15047 # Check whether --enable-sjlj-exceptions was given.
15048 if test "${enable_sjlj_exceptions+set}" = set; then :
15049 enableval=$enable_sjlj_exceptions;
15050 case "$enableval" in
15051 yes|no|auto) ;;
15052 *) as_fn_error "Unknown argument to enable/disable sjlj-exceptions" "$LINENO" 5 ;;
15053 esac
15055 else
15056 enable_sjlj_exceptions=auto
15061 if test $enable_sjlj_exceptions = auto; then
15062 # Botheration. Now we've got to detect the exception model. Link tests
15063 # against libgcc.a are problematic since we've not been given proper -L
15064 # bits for single-tree newlib and libgloss.
15066 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
15067 cat > conftest.$ac_ext << EOF
15068 #line 15068 "configure"
15069 struct S { ~S(); };
15070 void bar();
15071 void foo()
15073 S s;
15074 bar();
15077 old_CXXFLAGS="$CXXFLAGS"
15078 CXXFLAGS=-S
15079 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15080 (eval $ac_compile) 2>&5
15081 ac_status=$?
15082 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15083 test $ac_status = 0; }; then
15084 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
15085 enable_sjlj_exceptions=yes
15086 elif grep _Unwind_SjLj_Register conftest.s >/dev/null 2>&1 ; then
15087 enable_sjlj_exceptions=yes
15088 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
15089 enable_sjlj_exceptions=no
15090 elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
15091 enable_sjlj_exceptions=no
15094 CXXFLAGS="$old_CXXFLAGS"
15095 rm -f conftest*
15098 # This is a tad weird, for hysterical raisins. We have to map
15099 # enable/disable to two different models.
15100 case $enable_sjlj_exceptions in
15101 yes)
15103 $as_echo "#define _GLIBCXX_SJLJ_EXCEPTIONS 1" >>confdefs.h
15105 ac_exception_model_name=sjlj
15108 ac_exception_model_name="call frame"
15111 as_fn_error "unable to detect exception model" "$LINENO" 5
15113 esac
15114 ac_ext=c
15115 ac_cpp='$CPP $CPPFLAGS'
15116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_exception_model_name" >&5
15121 $as_echo "$ac_exception_model_name" >&6; }
15124 # Check whether --enable-libstdcxx-pch was given.
15125 if test "${enable_libstdcxx_pch+set}" = set; then :
15126 enableval=$enable_libstdcxx_pch;
15127 case "$enableval" in
15128 yes|no) ;;
15129 *) as_fn_error "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15130 esac
15132 else
15133 enable_libstdcxx_pch=$is_hosted
15137 if test $enable_libstdcxx_pch = yes; then
15138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15139 $as_echo_n "checking for compiler with PCH support... " >&6; }
15140 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then :
15141 $as_echo_n "(cached) " >&6
15142 else
15143 ac_save_CXXFLAGS="$CXXFLAGS"
15144 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15146 ac_ext=cpp
15147 ac_cpp='$CXXCPP $CPPFLAGS'
15148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15152 echo '#include <math.h>' > conftest.h
15153 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15154 -o conftest.h.gch 1>&5 2>&1 &&
15155 echo '#error "pch failed"' > conftest.h &&
15156 echo '#include "conftest.h"' > conftest.cc &&
15157 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15158 then
15159 glibcxx_cv_prog_CXX_pch=yes
15160 else
15161 glibcxx_cv_prog_CXX_pch=no
15163 rm -f conftest*
15164 CXXFLAGS=$ac_save_CXXFLAGS
15165 ac_ext=c
15166 ac_cpp='$CPP $CPPFLAGS'
15167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15174 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15175 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15179 $as_echo_n "checking for enabled PCH... " >&6; }
15180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15181 $as_echo "$enable_libstdcxx_pch" >&6; }
15184 if test $enable_libstdcxx_pch = yes; then
15185 glibcxx_PCHFLAGS="-include bits/stdc++.h"
15186 else
15187 glibcxx_PCHFLAGS=""
15192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15193 $as_echo_n "checking for thread model used by GCC... " >&6; }
15194 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15196 $as_echo "$target_thread_file" >&6; }
15198 case $target_thread_file in
15199 aix) thread_header=config/rs6000/gthr-aix.h ;;
15200 dce) thread_header=config/pa/gthr-dce.h ;;
15201 lynx) thread_header=config/gthr-lynx.h ;;
15202 mipssde) thread_header=config/mips/gthr-mipssde.h ;;
15203 posix) thread_header=gthr-posix.h ;;
15204 rtems) thread_header=config/gthr-rtems.h ;;
15205 single) thread_header=gthr-single.h ;;
15206 tpf) thread_header=config/s390/gthr-tpf.h ;;
15207 vxworks) thread_header=config/gthr-vxworks.h ;;
15208 win32) thread_header=config/i386/gthr-win32.h ;;
15209 esac
15215 ac_ext=cpp
15216 ac_cpp='$CXXCPP $CPPFLAGS'
15217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15221 old_CXXFLAGS="$CXXFLAGS"
15223 # Do link tests if possible, instead asm tests, limited to some platforms
15224 # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15225 # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15226 atomic_builtins_link_tests=no
15227 if test x$gcc_no_link != xyes; then
15228 # Can do link tests. Limit to some tested platforms
15229 case "$host" in
15230 *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15231 atomic_builtins_link_tests=yes
15233 esac
15236 if test x$atomic_builtins_link_tests = xyes; then
15238 # Do link tests.
15240 CXXFLAGS="$CXXFLAGS -fno-exceptions"
15242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15243 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15244 if test "${glibcxx_cv_atomic_bool+set}" = set; then :
15245 $as_echo_n "(cached) " >&6
15246 else
15248 if test x$gcc_no_link = xyes; then
15249 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15252 /* end confdefs.h. */
15255 main ()
15257 typedef bool atomic_type;
15258 atomic_type c1;
15259 atomic_type c2;
15260 atomic_type c3(0);
15261 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15262 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15263 __ATOMIC_RELAXED);
15264 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15265 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15268 return 0;
15270 _ACEOF
15271 if ac_fn_cxx_try_link "$LINENO"; then :
15272 glibcxx_cv_atomic_bool=yes
15273 else
15274 glibcxx_cv_atomic_bool=no
15276 rm -f core conftest.err conftest.$ac_objext \
15277 conftest$ac_exeext conftest.$ac_ext
15281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15282 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15285 $as_echo_n "checking for atomic builtins for short... " >&6; }
15286 if test "${glibcxx_cv_atomic_short+set}" = set; then :
15287 $as_echo_n "(cached) " >&6
15288 else
15290 if test x$gcc_no_link = xyes; then
15291 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15294 /* end confdefs.h. */
15297 main ()
15299 typedef short atomic_type;
15300 atomic_type c1;
15301 atomic_type c2;
15302 atomic_type c3(0);
15303 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15304 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15305 __ATOMIC_RELAXED);
15306 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15307 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15310 return 0;
15312 _ACEOF
15313 if ac_fn_cxx_try_link "$LINENO"; then :
15314 glibcxx_cv_atomic_short=yes
15315 else
15316 glibcxx_cv_atomic_short=no
15318 rm -f core conftest.err conftest.$ac_objext \
15319 conftest$ac_exeext conftest.$ac_ext
15323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15324 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15327 $as_echo_n "checking for atomic builtins for int... " >&6; }
15328 if test "${glibcxx_cv_atomic_int+set}" = set; then :
15329 $as_echo_n "(cached) " >&6
15330 else
15332 if test x$gcc_no_link = xyes; then
15333 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15336 /* end confdefs.h. */
15339 main ()
15341 typedef int atomic_type;
15342 atomic_type c1;
15343 atomic_type c2;
15344 atomic_type c3(0);
15345 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15346 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15347 __ATOMIC_RELAXED);
15348 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15349 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15352 return 0;
15354 _ACEOF
15355 if ac_fn_cxx_try_link "$LINENO"; then :
15356 glibcxx_cv_atomic_int=yes
15357 else
15358 glibcxx_cv_atomic_int=no
15360 rm -f core conftest.err conftest.$ac_objext \
15361 conftest$ac_exeext conftest.$ac_ext
15365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15366 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15369 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15370 if test "${glibcxx_cv_atomic_long_long+set}" = set; then :
15371 $as_echo_n "(cached) " >&6
15372 else
15374 if test x$gcc_no_link = xyes; then
15375 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15378 /* end confdefs.h. */
15381 main ()
15383 typedef long long atomic_type;
15384 atomic_type c1;
15385 atomic_type c2;
15386 atomic_type c3(0);
15387 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15388 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15389 __ATOMIC_RELAXED);
15390 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15391 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15394 return 0;
15396 _ACEOF
15397 if ac_fn_cxx_try_link "$LINENO"; then :
15398 glibcxx_cv_atomic_long_long=yes
15399 else
15400 glibcxx_cv_atomic_long_long=no
15402 rm -f core conftest.err conftest.$ac_objext \
15403 conftest$ac_exeext conftest.$ac_ext
15407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15408 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15410 else
15412 # Do asm tests.
15414 # Compile unoptimized.
15415 CXXFLAGS='-O0 -S'
15417 # Fake what AC_TRY_COMPILE does.
15419 cat > conftest.$ac_ext << EOF
15420 #line 15420 "configure"
15421 int main()
15423 typedef bool atomic_type;
15424 atomic_type c1;
15425 atomic_type c2;
15426 atomic_type c3(0);
15427 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15428 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15429 __ATOMIC_RELAXED);
15430 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15431 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15433 return 0;
15437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15438 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15439 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15440 (eval $ac_compile) 2>&5
15441 ac_status=$?
15442 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15443 test $ac_status = 0; }; then
15444 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15445 glibcxx_cv_atomic_bool=no
15446 else
15447 glibcxx_cv_atomic_bool=yes
15450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15451 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15452 rm -f conftest*
15454 cat > conftest.$ac_ext << EOF
15455 #line 15455 "configure"
15456 int main()
15458 typedef short atomic_type;
15459 atomic_type c1;
15460 atomic_type c2;
15461 atomic_type c3(0);
15462 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15463 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15464 __ATOMIC_RELAXED);
15465 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15466 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15468 return 0;
15472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15473 $as_echo_n "checking for atomic builtins for short... " >&6; }
15474 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15475 (eval $ac_compile) 2>&5
15476 ac_status=$?
15477 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15478 test $ac_status = 0; }; then
15479 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15480 glibcxx_cv_atomic_short=no
15481 else
15482 glibcxx_cv_atomic_short=yes
15485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15486 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15487 rm -f conftest*
15489 cat > conftest.$ac_ext << EOF
15490 #line 15490 "configure"
15491 int main()
15493 // NB: _Atomic_word not necessarily int.
15494 typedef int atomic_type;
15495 atomic_type c1;
15496 atomic_type c2;
15497 atomic_type c3(0);
15498 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15499 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15500 __ATOMIC_RELAXED);
15501 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15502 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15504 return 0;
15508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15509 $as_echo_n "checking for atomic builtins for int... " >&6; }
15510 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15511 (eval $ac_compile) 2>&5
15512 ac_status=$?
15513 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15514 test $ac_status = 0; }; then
15515 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15516 glibcxx_cv_atomic_int=no
15517 else
15518 glibcxx_cv_atomic_int=yes
15521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15522 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15523 rm -f conftest*
15525 cat > conftest.$ac_ext << EOF
15526 #line 15526 "configure"
15527 int main()
15529 typedef long long atomic_type;
15530 atomic_type c1;
15531 atomic_type c2;
15532 atomic_type c3(0);
15533 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15534 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15535 __ATOMIC_RELAXED);
15536 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15537 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15539 return 0;
15543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15544 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15545 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15546 (eval $ac_compile) 2>&5
15547 ac_status=$?
15548 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15549 test $ac_status = 0; }; then
15550 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15551 glibcxx_cv_atomic_long_long=no
15552 else
15553 glibcxx_cv_atomic_long_long=yes
15556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15557 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15558 rm -f conftest*
15562 CXXFLAGS="$old_CXXFLAGS"
15563 ac_ext=c
15564 ac_cpp='$CPP $CPPFLAGS'
15565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15570 # Set atomicity_dir to builtins if all but the long long test above passes.
15571 if test $glibcxx_cv_atomic_bool = yes \
15572 && test $glibcxx_cv_atomic_short = yes \
15573 && test $glibcxx_cv_atomic_int = yes; then
15575 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS 1" >>confdefs.h
15577 atomicity_dir=cpu/generic/atomicity_builtins
15580 # If still generic, set to mutex.
15581 if test $atomicity_dir = "cpu/generic" ; then
15582 atomicity_dir=cpu/generic/atomicity_mutex
15583 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
15584 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
15585 if test "x$target_thread_file" = xsingle; then
15586 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
15587 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
15588 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
15589 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
15590 else
15591 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
15592 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
15593 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
15594 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
15601 # Fake what AC_TRY_COMPILE does, without linking as this is
15602 # unnecessary for this test.
15604 cat > conftest.$ac_ext << EOF
15605 #line 15605 "configure"
15606 int main()
15608 _Decimal32 d1;
15609 _Decimal64 d2;
15610 _Decimal128 d3;
15611 return 0;
15615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
15616 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
15617 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15618 (eval $ac_compile) 2>&5
15619 ac_status=$?
15620 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15621 test $ac_status = 0; }; then
15623 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
15625 enable_dfp=yes
15626 else
15627 enable_dfp=no
15629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
15630 $as_echo "$enable_dfp" >&6; }
15631 rm -f conftest*
15636 ac_ext=cpp
15637 ac_cpp='$CXXCPP $CPPFLAGS'
15638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15643 # Fake what AC_TRY_COMPILE does, without linking as this is
15644 # unnecessary for this test.
15646 cat > conftest.$ac_ext << EOF
15647 #line 15647 "configure"
15648 template<typename T1, typename T2>
15649 struct same
15650 { typedef T2 type; };
15652 template<typename T>
15653 struct same<T, T>;
15655 int main()
15657 typename same<long, __int128>::type i1;
15658 typename same<long long, __int128>::type i2;
15662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __int128" >&5
15663 $as_echo_n "checking for __int128... " >&6; }
15664 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15665 (eval $ac_compile) 2>&5
15666 ac_status=$?
15667 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15668 test $ac_status = 0; }; then
15670 $as_echo "#define _GLIBCXX_USE_INT128 1" >>confdefs.h
15672 enable_int128=yes
15673 else
15674 enable_int128=no
15676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_int128" >&5
15677 $as_echo "$enable_int128" >&6; }
15678 rm -f conftest*
15680 cat > conftest.$ac_ext << EOF
15681 #line 15681 "configure"
15682 template<typename T1, typename T2>
15683 struct same
15684 { typedef T2 type; };
15686 template<typename T>
15687 struct same<T, T>;
15689 int main()
15691 typename same<double, __float128>::type f1;
15692 typename same<long double, __float128>::type f2;
15696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __float128" >&5
15697 $as_echo_n "checking for __float128... " >&6; }
15698 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15699 (eval $ac_compile) 2>&5
15700 ac_status=$?
15701 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15702 test $ac_status = 0; }; then
15704 $as_echo "#define _GLIBCXX_USE_FLOAT128 1" >>confdefs.h
15706 enable_float128=yes
15707 else
15708 enable_float128=no
15710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_float128" >&5
15711 $as_echo "$enable_float128" >&6; }
15712 rm -f conftest*
15714 ac_ext=c
15715 ac_cpp='$CPP $CPPFLAGS'
15716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15721 if test "$enable_float128" = yes; then
15722 port_specific_symbol_files="$port_specific_symbol_files \$(top_srcdir)/config/abi/pre/float128.ver"
15725 # Checks for compiler support that doesn't require linking.
15727 # All these tests are for C++; save the language and the compiler flags.
15728 # The CXXFLAGS thing is suspicious, but based on similar bits previously
15729 # found in GLIBCXX_CONFIGURE.
15731 ac_ext=cpp
15732 ac_cpp='$CXXCPP $CPPFLAGS'
15733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15737 ac_test_CXXFLAGS="${CXXFLAGS+set}"
15738 ac_save_CXXFLAGS="$CXXFLAGS"
15740 # Check for maintainer-mode bits.
15741 if test x"$USE_MAINTAINER_MODE" = xno; then
15742 WERROR=''
15743 else
15744 WERROR='-Werror'
15747 # Check for -ffunction-sections -fdata-sections
15748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
15749 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
15750 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
15751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15752 /* end confdefs.h. */
15753 int foo; void bar() { };
15755 main ()
15759 return 0;
15761 _ACEOF
15762 if ac_fn_cxx_try_compile "$LINENO"; then :
15763 ac_fdsections=yes
15764 else
15765 ac_fdsections=no
15767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15768 if test "$ac_test_CXXFLAGS" = set; then
15769 CXXFLAGS="$ac_save_CXXFLAGS"
15770 else
15771 # this is the suspicious part
15772 CXXFLAGS=''
15774 if test x"$ac_fdsections" = x"yes"; then
15775 SECTION_FLAGS='-ffunction-sections -fdata-sections'
15777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
15778 $as_echo "$ac_fdsections" >&6; }
15780 ac_ext=c
15781 ac_cpp='$CPP $CPPFLAGS'
15782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15790 # Enable all the variable C++ runtime options that don't require linking.
15792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
15793 $as_echo_n "checking for underlying I/O to use... " >&6; }
15794 # Check whether --enable-cstdio was given.
15795 if test "${enable_cstdio+set}" = set; then :
15796 enableval=$enable_cstdio;
15797 case "$enableval" in
15798 stdio) ;;
15799 *) as_fn_error "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
15800 esac
15802 else
15803 enable_cstdio=stdio
15808 # Now that libio has been removed, you can have any color you want as long
15809 # as it's black. This is one big no-op until other packages are added, but
15810 # showing the framework never hurts.
15811 case ${enable_cstdio} in
15812 stdio)
15813 CSTDIO_H=config/io/c_io_stdio.h
15814 BASIC_FILE_H=config/io/basic_file_stdio.h
15815 BASIC_FILE_CC=config/io/basic_file_stdio.cc
15816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
15817 $as_echo "stdio" >&6; }
15819 esac
15826 # Check whether --enable-clocale was given.
15827 if test "${enable_clocale+set}" = set; then :
15828 enableval=$enable_clocale;
15829 case "$enableval" in
15830 generic|gnu|ieee_1003.1-2001|newlib|yes|no|auto) ;;
15831 *) as_fn_error "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
15832 esac
15834 else
15835 enable_clocale=auto
15840 # Deal with gettext issues. Default to not using it (=no) until we detect
15841 # support for it later. Let the user turn it off via --e/d, but let that
15842 # default to on for easier handling.
15843 USE_NLS=no
15844 # Check whether --enable-nls was given.
15845 if test "${enable_nls+set}" = set; then :
15846 enableval=$enable_nls;
15847 else
15848 enable_nls=yes
15852 # Either a known package, or "auto"
15853 if test $enable_clocale = no || test $enable_clocale = yes; then
15854 enable_clocale=auto
15856 enable_clocale_flag=$enable_clocale
15858 # Probe for locale model to use if none specified.
15859 # Default to "generic".
15860 if test $enable_clocale_flag = auto; then
15861 case ${target_os} in
15862 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15863 enable_clocale_flag=gnu
15865 darwin* | freebsd*)
15866 enable_clocale_flag=darwin
15868 dragonfly*)
15869 enable_clocale_flag=dragonfly
15871 openbsd*)
15872 enable_clocale_flag=newlib
15875 if test x"$with_newlib" = x"yes"; then
15876 enable_clocale_flag=newlib
15877 else
15878 enable_clocale_flag=generic
15881 esac
15884 # Sanity check model, and test for special functionality.
15885 if test $enable_clocale_flag = gnu; then
15886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15887 /* end confdefs.h. */
15889 #include <features.h>
15890 #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
15891 _GLIBCXX_ok
15892 #endif
15894 _ACEOF
15895 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15896 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
15897 enable_clocale_flag=gnu
15898 else
15899 enable_clocale_flag=generic
15901 rm -f conftest*
15904 # Set it to scream when it hurts.
15905 ac_save_CFLAGS="$CFLAGS"
15906 CFLAGS="-Wimplicit-function-declaration -Werror"
15908 # Use strxfrm_l if available.
15909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15910 /* end confdefs.h. */
15911 #define _GNU_SOURCE 1
15912 #include <string.h>
15913 #include <locale.h>
15915 main ()
15917 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
15919 return 0;
15921 _ACEOF
15922 if ac_fn_c_try_compile "$LINENO"; then :
15924 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
15927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15929 # Use strerror_l if available.
15930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15931 /* end confdefs.h. */
15932 #define _GNU_SOURCE 1
15933 #include <string.h>
15934 #include <locale.h>
15936 main ()
15938 __locale_t loc; strerror_l(5, loc);
15940 return 0;
15942 _ACEOF
15943 if ac_fn_c_try_compile "$LINENO"; then :
15945 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
15948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15950 CFLAGS="$ac_save_CFLAGS"
15953 # Perhaps use strerror_r if available, and strerror_l isn't.
15954 ac_save_CFLAGS="$CFLAGS"
15955 CFLAGS="-Wimplicit-function-declaration -Werror"
15956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15957 /* end confdefs.h. */
15958 #define _GNU_SOURCE 1
15959 #include <string.h>
15960 #include <locale.h>
15962 main ()
15964 char s[128]; strerror_r(5, s, 128);
15966 return 0;
15968 _ACEOF
15969 if ac_fn_c_try_compile "$LINENO"; then :
15971 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
15974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15975 CFLAGS="$ac_save_CFLAGS"
15977 # Set configure bits for specified locale package
15978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
15979 $as_echo_n "checking for C locale to use... " >&6; }
15980 case ${enable_clocale_flag} in
15981 generic)
15982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
15983 $as_echo "generic" >&6; }
15985 CLOCALE_H=config/locale/generic/c_locale.h
15986 CLOCALE_CC=config/locale/generic/c_locale.cc
15987 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15988 CCOLLATE_CC=config/locale/generic/collate_members.cc
15989 CCTYPE_CC=config/locale/generic/ctype_members.cc
15990 CMESSAGES_H=config/locale/generic/messages_members.h
15991 CMESSAGES_CC=config/locale/generic/messages_members.cc
15992 CMONEY_CC=config/locale/generic/monetary_members.cc
15993 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15994 CTIME_H=config/locale/generic/time_members.h
15995 CTIME_CC=config/locale/generic/time_members.cc
15996 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15998 darwin)
15999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin or freebsd" >&5
16000 $as_echo "darwin or freebsd" >&6; }
16002 CLOCALE_H=config/locale/generic/c_locale.h
16003 CLOCALE_CC=config/locale/generic/c_locale.cc
16004 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16005 CCOLLATE_CC=config/locale/generic/collate_members.cc
16006 CCTYPE_CC=config/locale/darwin/ctype_members.cc
16007 CMESSAGES_H=config/locale/generic/messages_members.h
16008 CMESSAGES_CC=config/locale/generic/messages_members.cc
16009 CMONEY_CC=config/locale/generic/monetary_members.cc
16010 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16011 CTIME_H=config/locale/generic/time_members.h
16012 CTIME_CC=config/locale/generic/time_members.cc
16013 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16016 dragonfly)
16017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: dragonfly" >&5
16018 $as_echo "dragonfly" >&6; }
16020 CLOCALE_H=config/locale/generic/c_locale.h
16021 CLOCALE_CC=config/locale/dragonfly/c_locale.cc
16022 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16023 CCOLLATE_CC=config/locale/generic/collate_members.cc
16024 CCTYPE_CC=config/locale/dragonfly/ctype_members.cc
16025 CMESSAGES_H=config/locale/generic/messages_members.h
16026 CMESSAGES_CC=config/locale/generic/messages_members.cc
16027 CMONEY_CC=config/locale/generic/monetary_members.cc
16028 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16029 CTIME_H=config/locale/generic/time_members.h
16030 CTIME_CC=config/locale/generic/time_members.cc
16031 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16034 gnu)
16035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
16036 $as_echo "gnu" >&6; }
16038 # Declare intention to use gettext, and add support for specific
16039 # languages.
16040 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
16041 ALL_LINGUAS="de fr"
16043 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
16044 # Extract the first word of "msgfmt", so it can be a program name with args.
16045 set dummy msgfmt; ac_word=$2
16046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16047 $as_echo_n "checking for $ac_word... " >&6; }
16048 if test "${ac_cv_prog_check_msgfmt+set}" = set; then :
16049 $as_echo_n "(cached) " >&6
16050 else
16051 if test -n "$check_msgfmt"; then
16052 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
16053 else
16054 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16055 for as_dir in $PATH
16057 IFS=$as_save_IFS
16058 test -z "$as_dir" && as_dir=.
16059 for ac_exec_ext in '' $ac_executable_extensions; do
16060 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16061 ac_cv_prog_check_msgfmt="yes"
16062 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16063 break 2
16065 done
16066 done
16067 IFS=$as_save_IFS
16069 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
16072 check_msgfmt=$ac_cv_prog_check_msgfmt
16073 if test -n "$check_msgfmt"; then
16074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
16075 $as_echo "$check_msgfmt" >&6; }
16076 else
16077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16078 $as_echo "no" >&6; }
16082 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
16083 USE_NLS=yes
16085 # Export the build objects.
16086 for ling in $ALL_LINGUAS; do \
16087 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
16088 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
16089 done
16093 CLOCALE_H=config/locale/gnu/c_locale.h
16094 CLOCALE_CC=config/locale/gnu/c_locale.cc
16095 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
16096 CCOLLATE_CC=config/locale/gnu/collate_members.cc
16097 CCTYPE_CC=config/locale/gnu/ctype_members.cc
16098 CMESSAGES_H=config/locale/gnu/messages_members.h
16099 CMESSAGES_CC=config/locale/gnu/messages_members.cc
16100 CMONEY_CC=config/locale/gnu/monetary_members.cc
16101 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
16102 CTIME_H=config/locale/gnu/time_members.h
16103 CTIME_CC=config/locale/gnu/time_members.cc
16104 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
16106 ieee_1003.1-2001)
16107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
16108 $as_echo "IEEE 1003.1" >&6; }
16110 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
16111 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
16112 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16113 CCOLLATE_CC=config/locale/generic/collate_members.cc
16114 CCTYPE_CC=config/locale/generic/ctype_members.cc
16115 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
16116 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
16117 CMONEY_CC=config/locale/generic/monetary_members.cc
16118 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16119 CTIME_H=config/locale/generic/time_members.h
16120 CTIME_CC=config/locale/generic/time_members.cc
16121 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16123 newlib)
16124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: newlib" >&5
16125 $as_echo "newlib" >&6; }
16127 CLOCALE_H=config/locale/generic/c_locale.h
16128 CLOCALE_CC=config/locale/generic/c_locale.cc
16129 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16130 CCOLLATE_CC=config/locale/generic/collate_members.cc
16131 CCTYPE_CC=config/locale/newlib/ctype_members.cc
16132 CMESSAGES_H=config/locale/generic/messages_members.h
16133 CMESSAGES_CC=config/locale/generic/messages_members.cc
16134 CMONEY_CC=config/locale/generic/monetary_members.cc
16135 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16136 CTIME_H=config/locale/generic/time_members.h
16137 CTIME_CC=config/locale/generic/time_members.cc
16138 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16140 esac
16142 # This is where the testsuite looks for locale catalogs, using the
16143 # -DLOCALEDIR define during testsuite compilation.
16144 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
16147 # A standalone libintl (e.g., GNU libintl) may be in use.
16148 if test $USE_NLS = yes; then
16149 for ac_header in libintl.h
16150 do :
16151 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
16152 if test "x$ac_cv_header_libintl_h" = x""yes; then :
16153 cat >>confdefs.h <<_ACEOF
16154 #define HAVE_LIBINTL_H 1
16155 _ACEOF
16157 else
16158 USE_NLS=no
16161 done
16163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
16164 $as_echo_n "checking for library containing gettext... " >&6; }
16165 if test "${ac_cv_search_gettext+set}" = set; then :
16166 $as_echo_n "(cached) " >&6
16167 else
16168 ac_func_search_save_LIBS=$LIBS
16169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16170 /* end confdefs.h. */
16172 /* Override any GCC internal prototype to avoid an error.
16173 Use char because int might match the return type of a GCC
16174 builtin and then its argument prototype would still apply. */
16175 #ifdef __cplusplus
16176 extern "C"
16177 #endif
16178 char gettext ();
16180 main ()
16182 return gettext ();
16184 return 0;
16186 _ACEOF
16187 for ac_lib in '' intl; do
16188 if test -z "$ac_lib"; then
16189 ac_res="none required"
16190 else
16191 ac_res=-l$ac_lib
16192 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16194 if test x$gcc_no_link = xyes; then
16195 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16197 if ac_fn_c_try_link "$LINENO"; then :
16198 ac_cv_search_gettext=$ac_res
16200 rm -f core conftest.err conftest.$ac_objext \
16201 conftest$ac_exeext
16202 if test "${ac_cv_search_gettext+set}" = set; then :
16203 break
16205 done
16206 if test "${ac_cv_search_gettext+set}" = set; then :
16208 else
16209 ac_cv_search_gettext=no
16211 rm conftest.$ac_ext
16212 LIBS=$ac_func_search_save_LIBS
16214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
16215 $as_echo "$ac_cv_search_gettext" >&6; }
16216 ac_res=$ac_cv_search_gettext
16217 if test "$ac_res" != no; then :
16218 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16220 else
16221 USE_NLS=no
16225 if test $USE_NLS = yes; then
16227 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16247 $as_echo_n "checking for std::allocator base class... " >&6; }
16248 # Check whether --enable-libstdcxx-allocator was given.
16249 if test "${enable_libstdcxx_allocator+set}" = set; then :
16250 enableval=$enable_libstdcxx_allocator;
16251 case "$enableval" in
16252 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
16253 *) as_fn_error "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16254 esac
16256 else
16257 enable_libstdcxx_allocator=auto
16262 # If they didn't use this option switch, or if they specified --enable
16263 # with no specific model, we'll have to look for one. If they
16264 # specified --disable (???), do likewise.
16265 if test $enable_libstdcxx_allocator = no ||
16266 test $enable_libstdcxx_allocator = yes;
16267 then
16268 enable_libstdcxx_allocator=auto
16271 # Either a known package, or "auto". Auto implies the default choice
16272 # for a particular platform.
16273 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16275 # Probe for host-specific support if no specific model is specified.
16276 # Default to "new".
16277 if test $enable_libstdcxx_allocator_flag = auto; then
16278 case ${target_os} in
16279 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16280 enable_libstdcxx_allocator_flag=new
16283 enable_libstdcxx_allocator_flag=new
16285 esac
16287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16288 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16291 # Set configure bits for specified locale package
16292 case ${enable_libstdcxx_allocator_flag} in
16293 bitmap)
16294 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16295 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16297 malloc)
16298 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16299 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16302 ALLOCATOR_H=config/allocator/mt_allocator_base.h
16303 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16305 new)
16306 ALLOCATOR_H=config/allocator/new_allocator_base.h
16307 ALLOCATOR_NAME=__gnu_cxx::new_allocator
16309 pool)
16310 ALLOCATOR_H=config/allocator/pool_allocator_base.h
16311 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16313 esac
16319 # Check whether --enable-cheaders was given.
16320 if test "${enable_cheaders+set}" = set; then :
16321 enableval=$enable_cheaders;
16322 case "$enableval" in
16323 c|c_std|c_global) ;;
16324 *) as_fn_error "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16325 esac
16327 else
16328 enable_cheaders=$c_model
16332 { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16333 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16335 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16337 # Allow overrides to configure.host here.
16338 if test $enable_cheaders = c_global; then
16339 c_compatibility=yes
16348 # Check whether --enable-long-long was given.
16349 if test "${enable_long_long+set}" = set; then :
16350 enableval=$enable_long_long;
16351 case "$enableval" in
16352 yes|no) ;;
16353 *) as_fn_error "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16354 esac
16356 else
16357 enable_long_long=yes
16361 if test $enable_long_long = yes; then
16363 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16367 $as_echo_n "checking for enabled long long specializations... " >&6; }
16368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16369 $as_echo "$enable_long_long" >&6; }
16372 # Check whether --enable-wchar_t was given.
16373 if test "${enable_wchar_t+set}" = set; then :
16374 enableval=$enable_wchar_t;
16375 case "$enableval" in
16376 yes|no) ;;
16377 *) as_fn_error "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16378 esac
16380 else
16381 enable_wchar_t=yes
16386 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16387 for ac_header in wchar.h
16388 do :
16389 ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16390 if test "x$ac_cv_header_wchar_h" = x""yes; then :
16391 cat >>confdefs.h <<_ACEOF
16392 #define HAVE_WCHAR_H 1
16393 _ACEOF
16394 ac_has_wchar_h=yes
16395 else
16396 ac_has_wchar_h=no
16399 done
16401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16402 $as_echo_n "checking for mbstate_t... " >&6; }
16403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16404 /* end confdefs.h. */
16405 #include <wchar.h>
16407 main ()
16409 mbstate_t teststate;
16411 return 0;
16413 _ACEOF
16414 if ac_fn_c_try_compile "$LINENO"; then :
16415 have_mbstate_t=yes
16416 else
16417 have_mbstate_t=no
16419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16421 $as_echo "$have_mbstate_t" >&6; }
16422 if test x"$have_mbstate_t" = xyes; then
16424 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16428 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16429 # ac_has_wchar_h.
16430 for ac_header in wctype.h
16431 do :
16432 ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16433 if test "x$ac_cv_header_wctype_h" = x""yes; then :
16434 cat >>confdefs.h <<_ACEOF
16435 #define HAVE_WCTYPE_H 1
16436 _ACEOF
16437 ac_has_wctype_h=yes
16438 else
16439 ac_has_wctype_h=no
16442 done
16445 if test x"$enable_wchar_t" = x"yes"; then
16448 ac_ext=cpp
16449 ac_cpp='$CXXCPP $CPPFLAGS'
16450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16455 if test x"$ac_has_wchar_h" = xyes &&
16456 test x"$ac_has_wctype_h" = xyes; then
16457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16458 /* end confdefs.h. */
16459 #include <wchar.h>
16460 #include <stddef.h>
16461 wint_t i;
16462 long l = WEOF;
16463 long j = WCHAR_MIN;
16464 long k = WCHAR_MAX;
16465 namespace test
16467 using ::btowc;
16468 using ::fgetwc;
16469 using ::fgetws;
16470 using ::fputwc;
16471 using ::fputws;
16472 using ::fwide;
16473 using ::fwprintf;
16474 using ::fwscanf;
16475 using ::getwc;
16476 using ::getwchar;
16477 using ::mbrlen;
16478 using ::mbrtowc;
16479 using ::mbsinit;
16480 using ::mbsrtowcs;
16481 using ::putwc;
16482 using ::putwchar;
16483 using ::swprintf;
16484 using ::swscanf;
16485 using ::ungetwc;
16486 using ::vfwprintf;
16487 using ::vswprintf;
16488 using ::vwprintf;
16489 using ::wcrtomb;
16490 using ::wcscat;
16491 using ::wcschr;
16492 using ::wcscmp;
16493 using ::wcscoll;
16494 using ::wcscpy;
16495 using ::wcscspn;
16496 using ::wcsftime;
16497 using ::wcslen;
16498 using ::wcsncat;
16499 using ::wcsncmp;
16500 using ::wcsncpy;
16501 using ::wcspbrk;
16502 using ::wcsrchr;
16503 using ::wcsrtombs;
16504 using ::wcsspn;
16505 using ::wcsstr;
16506 using ::wcstod;
16507 using ::wcstok;
16508 using ::wcstol;
16509 using ::wcstoul;
16510 using ::wcsxfrm;
16511 using ::wctob;
16512 using ::wmemchr;
16513 using ::wmemcmp;
16514 using ::wmemcpy;
16515 using ::wmemmove;
16516 using ::wmemset;
16517 using ::wprintf;
16518 using ::wscanf;
16522 main ()
16526 return 0;
16528 _ACEOF
16529 if ac_fn_cxx_try_compile "$LINENO"; then :
16531 else
16532 enable_wchar_t=no
16534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16535 else
16536 enable_wchar_t=no
16539 ac_ext=c
16540 ac_cpp='$CPP $CPPFLAGS'
16541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16547 if test x"$enable_wchar_t" = x"yes"; then
16549 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
16553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
16554 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
16555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
16556 $as_echo "$enable_wchar_t" >&6; }
16560 # Check whether --enable-c99 was given.
16561 if test "${enable_c99+set}" = set; then :
16562 enableval=$enable_c99;
16563 case "$enableval" in
16564 yes|no) ;;
16565 *) as_fn_error "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
16566 esac
16568 else
16569 enable_c99=yes
16574 if test x"$enable_c99" = x"yes"; then
16577 ac_ext=cpp
16578 ac_cpp='$CXXCPP $CPPFLAGS'
16579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16584 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
16585 # undefined and fake C99 facilities - like pre-standard snprintf - may be
16586 # spuriously enabled.
16587 # Long term, -std=c++0x could be even better, could manage to explicitly
16588 # request C99 facilities to the underlying C headers.
16589 ac_save_CXXFLAGS="$CXXFLAGS"
16590 CXXFLAGS="$CXXFLAGS -std=c++98"
16591 ac_save_LIBS="$LIBS"
16592 ac_save_gcc_no_link="$gcc_no_link"
16594 if test x$gcc_no_link != xyes; then
16595 # Use -fno-exceptions to that the C driver can link these tests without
16596 # hitting undefined references to personality routines.
16597 CXXFLAGS="$CXXFLAGS -fno-exceptions"
16598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16599 $as_echo_n "checking for sin in -lm... " >&6; }
16600 if test "${ac_cv_lib_m_sin+set}" = set; then :
16601 $as_echo_n "(cached) " >&6
16602 else
16603 ac_check_lib_save_LIBS=$LIBS
16604 LIBS="-lm $LIBS"
16605 if test x$gcc_no_link = xyes; then
16606 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16609 /* end confdefs.h. */
16611 /* Override any GCC internal prototype to avoid an error.
16612 Use char because int might match the return type of a GCC
16613 builtin and then its argument prototype would still apply. */
16614 #ifdef __cplusplus
16615 extern "C"
16616 #endif
16617 char sin ();
16619 main ()
16621 return sin ();
16623 return 0;
16625 _ACEOF
16626 if ac_fn_cxx_try_link "$LINENO"; then :
16627 ac_cv_lib_m_sin=yes
16628 else
16629 ac_cv_lib_m_sin=no
16631 rm -f core conftest.err conftest.$ac_objext \
16632 conftest$ac_exeext conftest.$ac_ext
16633 LIBS=$ac_check_lib_save_LIBS
16635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16636 $as_echo "$ac_cv_lib_m_sin" >&6; }
16637 if test "x$ac_cv_lib_m_sin" = x""yes; then :
16639 LIBS="$LIBS -lm"
16641 else
16643 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16644 gcc_no_link=yes
16650 # Check for the existence of <math.h> functions used if C99 is enabled.
16651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h>" >&5
16652 $as_echo_n "checking for ISO C99 support in <math.h>... " >&6; }
16653 if test "${glibcxx_cv_c99_math+set}" = set; then :
16654 $as_echo_n "(cached) " >&6
16655 else
16657 if test x$gcc_no_link = xyes; then
16658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16659 /* end confdefs.h. */
16660 #include <math.h>
16661 volatile double d1, d2;
16662 volatile int i;
16664 main ()
16666 i = fpclassify(d1);
16667 i = isfinite(d1);
16668 i = isinf(d1);
16669 i = isnan(d1);
16670 i = isnormal(d1);
16671 i = signbit(d1);
16672 i = isgreater(d1, d2);
16673 i = isgreaterequal(d1, d2);
16674 i = isless(d1, d2);
16675 i = islessequal(d1, d2);
16676 i = islessgreater(d1, d2);
16677 i = islessgreater(d1, d2);
16678 i = isunordered(d1, d2);
16681 return 0;
16683 _ACEOF
16684 if ac_fn_cxx_try_compile "$LINENO"; then :
16685 glibcxx_cv_c99_math=yes
16686 else
16687 glibcxx_cv_c99_math=no
16689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16690 else
16691 if test x$gcc_no_link = xyes; then
16692 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16695 /* end confdefs.h. */
16696 #include <math.h>
16697 volatile double d1, d2;
16698 volatile int i;
16700 main ()
16702 i = fpclassify(d1);
16703 i = isfinite(d1);
16704 i = isinf(d1);
16705 i = isnan(d1);
16706 i = isnormal(d1);
16707 i = signbit(d1);
16708 i = isgreater(d1, d2);
16709 i = isgreaterequal(d1, d2);
16710 i = isless(d1, d2);
16711 i = islessequal(d1, d2);
16712 i = islessgreater(d1, d2);
16713 i = islessgreater(d1, d2);
16714 i = isunordered(d1, d2);
16717 return 0;
16719 _ACEOF
16720 if ac_fn_cxx_try_link "$LINENO"; then :
16721 glibcxx_cv_c99_math=yes
16722 else
16723 glibcxx_cv_c99_math=no
16725 rm -f core conftest.err conftest.$ac_objext \
16726 conftest$ac_exeext conftest.$ac_ext
16731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math" >&5
16732 $as_echo "$glibcxx_cv_c99_math" >&6; }
16733 if test x"$glibcxx_cv_c99_math" = x"yes"; then
16735 $as_echo "#define _GLIBCXX_USE_C99_MATH 1" >>confdefs.h
16739 # Check for the existence of <complex.h> complex math functions.
16740 # This is necessary even though libstdc++ uses the builtin versions
16741 # of these functions, because if the builtin cannot be used, a reference
16742 # to the library function is emitted.
16743 for ac_header in tgmath.h
16744 do :
16745 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
16746 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
16747 cat >>confdefs.h <<_ACEOF
16748 #define HAVE_TGMATH_H 1
16749 _ACEOF
16750 ac_has_tgmath_h=yes
16751 else
16752 ac_has_tgmath_h=no
16755 done
16757 for ac_header in complex.h
16758 do :
16759 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
16760 if test "x$ac_cv_header_complex_h" = x""yes; then :
16761 cat >>confdefs.h <<_ACEOF
16762 #define HAVE_COMPLEX_H 1
16763 _ACEOF
16764 ac_has_complex_h=yes
16765 else
16766 ac_has_complex_h=no
16769 done
16771 glibcxx_cv_c99_complex=no;
16772 if test x"$ac_has_complex_h" = x"yes"; then
16773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h>" >&5
16774 $as_echo_n "checking for ISO C99 support in <complex.h>... " >&6; }
16775 if test x$gcc_no_link = xyes; then
16776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16777 /* end confdefs.h. */
16778 #include <complex.h>
16779 typedef __complex__ float float_type;
16780 typedef __complex__ double double_type;
16781 typedef __complex__ long double ld_type;
16782 volatile float_type tmpf;
16783 volatile double_type tmpd;
16784 volatile ld_type tmpld;
16785 volatile float f;
16786 volatile double d;
16787 volatile long double ld;
16789 main ()
16791 f = cabsf(tmpf);
16792 f = cargf(tmpf);
16793 tmpf = ccosf(tmpf);
16794 tmpf = ccoshf(tmpf);
16795 tmpf = cexpf(tmpf);
16796 tmpf = clogf(tmpf);
16797 tmpf = csinf(tmpf);
16798 tmpf = csinhf(tmpf);
16799 tmpf = csqrtf(tmpf);
16800 tmpf = ctanf(tmpf);
16801 tmpf = ctanhf(tmpf);
16802 tmpf = cpowf(tmpf, tmpf);
16803 tmpf = cprojf(tmpf);
16804 d = cabs(tmpd);
16805 d = carg(tmpd);
16806 tmpd = ccos(tmpd);
16807 tmpd = ccosh(tmpd);
16808 tmpd = cexp(tmpd);
16809 tmpd = clog(tmpd);
16810 tmpd = csin(tmpd);
16811 tmpd = csinh(tmpd);
16812 tmpd = csqrt(tmpd);
16813 tmpd = ctan(tmpd);
16814 tmpd = ctanh(tmpd);
16815 tmpd = cpow(tmpd, tmpd);
16816 tmpd = cproj(tmpd);
16817 ld = cabsl(tmpld);
16818 ld = cargl(tmpld);
16819 tmpld = ccosl(tmpld);
16820 tmpld = ccoshl(tmpld);
16821 tmpld = cexpl(tmpld);
16822 tmpld = clogl(tmpld);
16823 tmpld = csinl(tmpld);
16824 tmpld = csinhl(tmpld);
16825 tmpld = csqrtl(tmpld);
16826 tmpld = ctanl(tmpld);
16827 tmpld = ctanhl(tmpld);
16828 tmpld = cpowl(tmpld, tmpld);
16829 tmpld = cprojl(tmpld);
16832 return 0;
16834 _ACEOF
16835 if ac_fn_cxx_try_compile "$LINENO"; then :
16836 glibcxx_cv_c99_complex=yes
16837 else
16838 glibcxx_cv_c99_complex=no
16840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16841 else
16842 if test x$gcc_no_link = xyes; then
16843 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16846 /* end confdefs.h. */
16847 #include <complex.h>
16848 typedef __complex__ float float_type;
16849 typedef __complex__ double double_type;
16850 typedef __complex__ long double ld_type;
16851 volatile float_type tmpf;
16852 volatile double_type tmpd;
16853 volatile ld_type tmpld;
16854 volatile float f;
16855 volatile double d;
16856 volatile long double ld;
16858 main ()
16860 f = cabsf(tmpf);
16861 f = cargf(tmpf);
16862 tmpf = ccosf(tmpf);
16863 tmpf = ccoshf(tmpf);
16864 tmpf = cexpf(tmpf);
16865 tmpf = clogf(tmpf);
16866 tmpf = csinf(tmpf);
16867 tmpf = csinhf(tmpf);
16868 tmpf = csqrtf(tmpf);
16869 tmpf = ctanf(tmpf);
16870 tmpf = ctanhf(tmpf);
16871 tmpf = cpowf(tmpf, tmpf);
16872 tmpf = cprojf(tmpf);
16873 d = cabs(tmpd);
16874 d = carg(tmpd);
16875 tmpd = ccos(tmpd);
16876 tmpd = ccosh(tmpd);
16877 tmpd = cexp(tmpd);
16878 tmpd = clog(tmpd);
16879 tmpd = csin(tmpd);
16880 tmpd = csinh(tmpd);
16881 tmpd = csqrt(tmpd);
16882 tmpd = ctan(tmpd);
16883 tmpd = ctanh(tmpd);
16884 tmpd = cpow(tmpd, tmpd);
16885 tmpd = cproj(tmpd);
16886 ld = cabsl(tmpld);
16887 ld = cargl(tmpld);
16888 tmpld = ccosl(tmpld);
16889 tmpld = ccoshl(tmpld);
16890 tmpld = cexpl(tmpld);
16891 tmpld = clogl(tmpld);
16892 tmpld = csinl(tmpld);
16893 tmpld = csinhl(tmpld);
16894 tmpld = csqrtl(tmpld);
16895 tmpld = ctanl(tmpld);
16896 tmpld = ctanhl(tmpld);
16897 tmpld = cpowl(tmpld, tmpld);
16898 tmpld = cprojl(tmpld);
16901 return 0;
16903 _ACEOF
16904 if ac_fn_cxx_try_link "$LINENO"; then :
16905 glibcxx_cv_c99_complex=yes
16906 else
16907 glibcxx_cv_c99_complex=no
16909 rm -f core conftest.err conftest.$ac_objext \
16910 conftest$ac_exeext conftest.$ac_ext
16913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex" >&5
16914 $as_echo "$glibcxx_cv_c99_complex" >&6; }
16915 if test x"$glibcxx_cv_c99_complex" = x"yes"; then
16917 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX 1" >>confdefs.h
16921 # Check for the existence in <stdio.h> of vscanf, et. al.
16922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h>" >&5
16923 $as_echo_n "checking for ISO C99 support in <stdio.h>... " >&6; }
16924 if test "${glibcxx_cv_c99_stdio+set}" = set; then :
16925 $as_echo_n "(cached) " >&6
16926 else
16928 if test x$gcc_no_link = xyes; then
16929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16930 /* end confdefs.h. */
16931 #include <stdio.h>
16932 #include <stdarg.h>
16933 void foo(char* fmt, ...)
16935 va_list args; va_start(args, fmt);
16936 vfscanf(stderr, "%i", args);
16937 vscanf("%i", args);
16938 vsnprintf(fmt, 0, "%i", args);
16939 vsscanf(fmt, "%i", args);
16940 snprintf(fmt, 0, "%i");
16943 main ()
16947 return 0;
16949 _ACEOF
16950 if ac_fn_cxx_try_compile "$LINENO"; then :
16951 glibcxx_cv_c99_stdio=yes
16952 else
16953 glibcxx_cv_c99_stdio=no
16955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16956 else
16957 if test x$gcc_no_link = xyes; then
16958 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16961 /* end confdefs.h. */
16962 #include <stdio.h>
16963 #include <stdarg.h>
16964 void foo(char* fmt, ...)
16966 va_list args; va_start(args, fmt);
16967 vfscanf(stderr, "%i", args);
16968 vscanf("%i", args);
16969 vsnprintf(fmt, 0, "%i", args);
16970 vsscanf(fmt, "%i", args);
16971 snprintf(fmt, 0, "%i");
16974 main ()
16978 return 0;
16980 _ACEOF
16981 if ac_fn_cxx_try_link "$LINENO"; then :
16982 glibcxx_cv_c99_stdio=yes
16983 else
16984 glibcxx_cv_c99_stdio=no
16986 rm -f core conftest.err conftest.$ac_objext \
16987 conftest$ac_exeext conftest.$ac_ext
16992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio" >&5
16993 $as_echo "$glibcxx_cv_c99_stdio" >&6; }
16995 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
16996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h>" >&5
16997 $as_echo_n "checking for ISO C99 support in <stdlib.h>... " >&6; }
16998 if test "${glibcxx_cv_c99_stdlib+set}" = set; then :
16999 $as_echo_n "(cached) " >&6
17000 else
17002 if test x$gcc_no_link = xyes; then
17003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17004 /* end confdefs.h. */
17005 #include <stdlib.h>
17006 volatile float f;
17007 volatile long double ld;
17008 volatile unsigned long long ll;
17009 lldiv_t mydivt;
17011 main ()
17013 char* tmp;
17014 f = strtof("gnu", &tmp);
17015 ld = strtold("gnu", &tmp);
17016 ll = strtoll("gnu", &tmp, 10);
17017 ll = strtoull("gnu", &tmp, 10);
17018 ll = llabs(10);
17019 mydivt = lldiv(10,1);
17020 ll = mydivt.quot;
17021 ll = mydivt.rem;
17022 ll = atoll("10");
17023 _Exit(0);
17026 return 0;
17028 _ACEOF
17029 if ac_fn_cxx_try_compile "$LINENO"; then :
17030 glibcxx_cv_c99_stdlib=yes
17031 else
17032 glibcxx_cv_c99_stdlib=no
17034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17035 else
17036 if test x$gcc_no_link = xyes; then
17037 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17040 /* end confdefs.h. */
17041 #include <stdlib.h>
17042 volatile float f;
17043 volatile long double ld;
17044 volatile unsigned long long ll;
17045 lldiv_t mydivt;
17047 main ()
17049 char* tmp;
17050 f = strtof("gnu", &tmp);
17051 ld = strtold("gnu", &tmp);
17052 ll = strtoll("gnu", &tmp, 10);
17053 ll = strtoull("gnu", &tmp, 10);
17054 ll = llabs(10);
17055 mydivt = lldiv(10,1);
17056 ll = mydivt.quot;
17057 ll = mydivt.rem;
17058 ll = atoll("10");
17059 _Exit(0);
17062 return 0;
17064 _ACEOF
17065 if ac_fn_cxx_try_link "$LINENO"; then :
17066 glibcxx_cv_c99_stdlib=yes
17067 else
17068 glibcxx_cv_c99_stdlib=no
17070 rm -f core conftest.err conftest.$ac_objext \
17071 conftest$ac_exeext conftest.$ac_ext
17076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib" >&5
17077 $as_echo "$glibcxx_cv_c99_stdlib" >&6; }
17079 # Check for the existence in <wchar.h> of wcstold, etc.
17080 glibcxx_cv_c99_wchar=no;
17081 if test x"$ac_has_wchar_h" = xyes &&
17082 test x"$ac_has_wctype_h" = xyes; then
17083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h>" >&5
17084 $as_echo_n "checking for ISO C99 support in <wchar.h>... " >&6; }
17085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17086 /* end confdefs.h. */
17087 #include <wchar.h>
17088 namespace test
17090 using ::wcstold;
17091 using ::wcstoll;
17092 using ::wcstoull;
17096 main ()
17100 return 0;
17102 _ACEOF
17103 if ac_fn_cxx_try_compile "$LINENO"; then :
17104 glibcxx_cv_c99_wchar=yes
17105 else
17106 glibcxx_cv_c99_wchar=no
17108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17110 # Checks for wide character functions that may not be present.
17111 # Injection of these is wrapped with guard macros.
17112 # NB: only put functions here, instead of immediately above, if
17113 # absolutely necessary.
17114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17115 /* end confdefs.h. */
17116 #include <wchar.h>
17117 namespace test { using ::vfwscanf; }
17119 main ()
17123 return 0;
17125 _ACEOF
17126 if ac_fn_cxx_try_compile "$LINENO"; then :
17128 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17134 /* end confdefs.h. */
17135 #include <wchar.h>
17136 namespace test { using ::vswscanf; }
17138 main ()
17142 return 0;
17144 _ACEOF
17145 if ac_fn_cxx_try_compile "$LINENO"; then :
17147 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17153 /* end confdefs.h. */
17154 #include <wchar.h>
17155 namespace test { using ::vwscanf; }
17157 main ()
17161 return 0;
17163 _ACEOF
17164 if ac_fn_cxx_try_compile "$LINENO"; then :
17166 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17172 /* end confdefs.h. */
17173 #include <wchar.h>
17174 namespace test { using ::wcstof; }
17176 main ()
17180 return 0;
17182 _ACEOF
17183 if ac_fn_cxx_try_compile "$LINENO"; then :
17185 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17191 /* end confdefs.h. */
17192 #include <wctype.h>
17194 main ()
17196 wint_t t; int i = iswblank(t);
17198 return 0;
17200 _ACEOF
17201 if ac_fn_cxx_try_compile "$LINENO"; then :
17203 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar" >&5
17209 $as_echo "$glibcxx_cv_c99_wchar" >&6; }
17212 # Option parsed, now set things appropriately.
17213 if test x"$glibcxx_cv_c99_math" = x"no" ||
17214 test x"$glibcxx_cv_c99_complex" = x"no" ||
17215 test x"$glibcxx_cv_c99_stdio" = x"no" ||
17216 test x"$glibcxx_cv_c99_stdlib" = x"no" ||
17217 test x"$glibcxx_cv_c99_wchar" = x"no"; then
17218 enable_c99=no;
17219 else
17221 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
17225 gcc_no_link="$ac_save_gcc_no_link"
17226 LIBS="$ac_save_LIBS"
17227 CXXFLAGS="$ac_save_CXXFLAGS"
17228 ac_ext=c
17229 ac_cpp='$CPP $CPPFLAGS'
17230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
17237 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
17238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
17239 $as_echo "$enable_c99" >&6; }
17242 # Check whether --enable-concept-checks was given.
17243 if test "${enable_concept_checks+set}" = set; then :
17244 enableval=$enable_concept_checks;
17245 case "$enableval" in
17246 yes|no) ;;
17247 *) as_fn_error "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
17248 esac
17250 else
17251 enable_concept_checks=no
17255 if test $enable_concept_checks = yes; then
17257 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
17262 # Check whether --enable-libstdcxx-debug-flags was given.
17263 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
17264 enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
17265 xno | x) enable_libstdcxx_debug_flags= ;;
17266 x-*) ;;
17267 *) as_fn_error "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17268 esac
17269 else
17270 enable_libstdcxx_debug_flags="-gdwarf-4 -g3 -O0"
17275 # Option parsed, now set things appropriately
17276 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
17279 { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
17280 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
17283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
17284 $as_echo_n "checking for additional debug build... " >&6; }
17285 # Check whether --enable-libstdcxx-debug was given.
17286 if test "${enable_libstdcxx_debug+set}" = set; then :
17287 enableval=$enable_libstdcxx_debug;
17288 case "$enableval" in
17289 yes|no) ;;
17290 *) as_fn_error "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
17291 esac
17293 else
17294 enable_libstdcxx_debug=no
17298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug" >&5
17299 $as_echo "$enable_libstdcxx_debug" >&6; }
17304 enable_parallel=no;
17306 # See if configured libgomp/omp.h exists. (libgomp may be in
17307 # noconfigdirs but not explicitly disabled.)
17308 if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
17309 enable_parallel=yes;
17310 else
17311 { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
17312 $as_echo "$as_me: target-libgomp not built" >&6;}
17315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
17316 $as_echo_n "checking for parallel mode support... " >&6; }
17317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
17318 $as_echo "$enable_parallel" >&6; }
17320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
17321 $as_echo_n "checking for extra compiler flags for building... " >&6; }
17322 # Check whether --enable-cxx-flags was given.
17323 if test "${enable_cxx_flags+set}" = set; then :
17324 enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
17325 xno | x) enable_cxx_flags= ;;
17326 x-*) ;;
17327 *) as_fn_error "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17328 esac
17329 else
17330 enable_cxx_flags=
17335 # Run through flags (either default or command-line) and set anything
17336 # extra (e.g., #defines) that must accompany particular g++ options.
17337 if test -n "$enable_cxx_flags"; then
17338 for f in $enable_cxx_flags; do
17339 case "$f" in
17340 -fhonor-std) ;;
17341 -*) ;;
17342 *) # and we're trying to pass /what/ exactly?
17343 as_fn_error "compiler flags start with a -" "$LINENO" 5 ;;
17344 esac
17345 done
17348 EXTRA_CXX_FLAGS="$enable_cxx_flags"
17349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
17350 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
17354 # Check whether --enable-fully-dynamic-string was given.
17355 if test "${enable_fully_dynamic_string+set}" = set; then :
17356 enableval=$enable_fully_dynamic_string;
17357 case "$enableval" in
17358 yes|no) ;;
17359 *) as_fn_error "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
17360 esac
17362 else
17363 enable_fully_dynamic_string=no
17367 if test $enable_fully_dynamic_string = yes; then
17368 enable_fully_dynamic_string_def=1
17369 else
17370 enable_fully_dynamic_string_def=0
17373 cat >>confdefs.h <<_ACEOF
17374 #define _GLIBCXX_FULLY_DYNAMIC_STRING ${enable_fully_dynamic_string_def}
17375 _ACEOF
17380 # Check whether --enable-extern-template was given.
17381 if test "${enable_extern_template+set}" = set; then :
17382 enableval=$enable_extern_template;
17383 case "$enableval" in
17384 yes|no) ;;
17385 *) as_fn_error "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
17386 esac
17388 else
17389 enable_extern_template=yes
17394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
17395 $as_echo_n "checking for extern template support... " >&6; }
17396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
17397 $as_echo "$enable_extern_template" >&6; }
17403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for custom python install directory" >&5
17404 $as_echo_n "checking for custom python install directory... " >&6; }
17406 # Check whether --with-python-dir was given.
17407 if test "${with_python_dir+set}" = set; then :
17408 withval=$with_python_dir; with_python_dir=$withval
17409 else
17410 with_python_dir="no"
17413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_python_dir}" >&5
17414 $as_echo "${with_python_dir}" >&6; }
17416 # Needed for installing Python modules during make install.
17417 python_mod_dir="${with_python_dir}"
17422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Werror" >&5
17423 $as_echo_n "checking for -Werror... " >&6; }
17424 # Check whether --enable-werror was given.
17425 if test "${enable_werror+set}" = set; then :
17426 enableval=$enable_werror;
17427 case "$enableval" in
17428 yes|no) ;;
17429 *) as_fn_error "Argument to enable/disable werror must be yes or no" "$LINENO" 5 ;;
17430 esac
17432 else
17433 enable_werror=yes
17437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_werror" >&5
17438 $as_echo "$enable_werror" >&6; }
17443 # Check whether --enable-vtable-verify was given.
17444 if test "${enable_vtable_verify+set}" = set; then :
17445 enableval=$enable_vtable_verify;
17446 case "$enableval" in
17447 yes|no) ;;
17448 *) as_fn_error "Argument to enable/disable vtable-verify must be yes or no" "$LINENO" 5 ;;
17449 esac
17451 else
17452 enable_vtable_verify=no
17457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vtable verify support" >&5
17458 $as_echo_n "checking for vtable verify support... " >&6; }
17459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
17460 $as_echo "$enable_vtable_verify" >&6; }
17462 vtv_cygmin=no
17463 if test $enable_vtable_verify = yes; then
17464 case ${target_os} in
17465 cygwin*|mingw32*)
17466 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-lvtv,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
17467 vtv_cygmin=yes
17470 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
17472 esac
17473 VTV_PCH_CXXFLAGS="-fvtable-verify=std"
17474 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
17475 else
17476 VTV_CXXFLAGS=
17477 VTV_PCH_CXXFLAGS=
17478 VTV_CXXLINKFLAGS=
17484 if test x$vtv_cygmin = xyes; then
17485 VTV_CYGMIN_TRUE=
17486 VTV_CYGMIN_FALSE='#'
17487 else
17488 VTV_CYGMIN_TRUE='#'
17489 VTV_CYGMIN_FALSE=
17495 # Checks for operating systems support that doesn't require linking.
17499 ac_ext=cpp
17500 ac_cpp='$CXXCPP $CPPFLAGS'
17501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gets declaration" >&5
17507 $as_echo_n "checking for gets declaration... " >&6; }
17508 if test "${glibcxx_cv_gets+set}" = set; then :
17509 $as_echo_n "(cached) " >&6
17510 else
17512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17513 /* end confdefs.h. */
17514 #include <stdio.h>
17515 namespace test
17517 using ::gets;
17520 _ACEOF
17521 if ac_fn_cxx_try_compile "$LINENO"; then :
17522 glibcxx_cv_gets=yes
17523 else
17524 glibcxx_cv_gets=no
17527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17531 if test $glibcxx_cv_gets = yes; then
17533 $as_echo "#define HAVE_GETS 1" >>confdefs.h
17536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_gets" >&5
17537 $as_echo "$glibcxx_cv_gets" >&6; }
17539 ac_ext=c
17540 ac_cpp='$CPP $CPPFLAGS'
17541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
17549 $as_echo_n "checking for EOWNERDEAD... " >&6; }
17550 if test "${glibcxx_cv_system_error1+set}" = set; then :
17551 $as_echo_n "(cached) " >&6
17552 else
17554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17555 /* end confdefs.h. */
17556 #include <errno.h>
17558 main ()
17560 int i = EOWNERDEAD;
17562 return 0;
17564 _ACEOF
17565 if ac_fn_c_try_compile "$LINENO"; then :
17566 glibcxx_cv_system_error1=yes
17567 else
17568 glibcxx_cv_system_error1=no
17570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
17575 $as_echo "$glibcxx_cv_system_error1" >&6; }
17576 if test x"$glibcxx_cv_system_error1" = x"yes"; then
17578 $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
17581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
17582 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
17583 if test "${glibcxx_cv_system_error2+set}" = set; then :
17584 $as_echo_n "(cached) " >&6
17585 else
17587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17588 /* end confdefs.h. */
17589 #include <errno.h>
17591 main ()
17593 int i = ENOTRECOVERABLE;
17595 return 0;
17597 _ACEOF
17598 if ac_fn_c_try_compile "$LINENO"; then :
17599 glibcxx_cv_system_error2=yes
17600 else
17601 glibcxx_cv_system_error2=no
17603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
17608 $as_echo "$glibcxx_cv_system_error2" >&6; }
17609 if test x"$glibcxx_cv_system_error2" = x"yes"; then
17611 $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
17614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
17615 $as_echo_n "checking for ENOLINK... " >&6; }
17616 if test "${glibcxx_cv_system_error3+set}" = set; then :
17617 $as_echo_n "(cached) " >&6
17618 else
17620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17621 /* end confdefs.h. */
17622 #include <errno.h>
17624 main ()
17626 int i = ENOLINK;
17628 return 0;
17630 _ACEOF
17631 if ac_fn_c_try_compile "$LINENO"; then :
17632 glibcxx_cv_system_error3=yes
17633 else
17634 glibcxx_cv_system_error3=no
17636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
17641 $as_echo "$glibcxx_cv_system_error3" >&6; }
17642 if test x"$glibcxx_cv_system_error3" = x"yes"; then
17644 $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
17647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
17648 $as_echo_n "checking for EPROTO... " >&6; }
17649 if test "${glibcxx_cv_system_error4+set}" = set; then :
17650 $as_echo_n "(cached) " >&6
17651 else
17653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17654 /* end confdefs.h. */
17655 #include <errno.h>
17657 main ()
17659 int i = EPROTO;
17661 return 0;
17663 _ACEOF
17664 if ac_fn_c_try_compile "$LINENO"; then :
17665 glibcxx_cv_system_error4=yes
17666 else
17667 glibcxx_cv_system_error4=no
17669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
17674 $as_echo "$glibcxx_cv_system_error4" >&6; }
17675 if test x"$glibcxx_cv_system_error4" = x"yes"; then
17677 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
17680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
17681 $as_echo_n "checking for ENODATA... " >&6; }
17682 if test "${glibcxx_cv_system_error5+set}" = set; then :
17683 $as_echo_n "(cached) " >&6
17684 else
17686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17687 /* end confdefs.h. */
17688 #include <errno.h>
17690 main ()
17692 int i = ENODATA;
17694 return 0;
17696 _ACEOF
17697 if ac_fn_c_try_compile "$LINENO"; then :
17698 glibcxx_cv_system_error5=yes
17699 else
17700 glibcxx_cv_system_error5=no
17702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
17707 $as_echo "$glibcxx_cv_system_error5" >&6; }
17708 if test x"$glibcxx_cv_system_error5" = x"yes"; then
17710 $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
17713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
17714 $as_echo_n "checking for ENOSR... " >&6; }
17715 if test "${glibcxx_cv_system_error6+set}" = set; then :
17716 $as_echo_n "(cached) " >&6
17717 else
17719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17720 /* end confdefs.h. */
17721 #include <errno.h>
17723 main ()
17725 int i = ENOSR;
17727 return 0;
17729 _ACEOF
17730 if ac_fn_c_try_compile "$LINENO"; then :
17731 glibcxx_cv_system_error6=yes
17732 else
17733 glibcxx_cv_system_error6=no
17735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
17740 $as_echo "$glibcxx_cv_system_error6" >&6; }
17741 if test x"$glibcxx_cv_system_error6" = x"yes"; then
17743 $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
17746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
17747 $as_echo_n "checking for ENOSTR... " >&6; }
17748 if test "${glibcxx_cv_system_error7+set}" = set; then :
17749 $as_echo_n "(cached) " >&6
17750 else
17752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17753 /* end confdefs.h. */
17754 #include <errno.h>
17756 main ()
17758 int i = ENOSTR;
17760 return 0;
17762 _ACEOF
17763 if ac_fn_c_try_compile "$LINENO"; then :
17764 glibcxx_cv_system_error7=yes
17765 else
17766 glibcxx_cv_system_error7=no
17768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
17773 $as_echo "$glibcxx_cv_system_error7" >&6; }
17774 if test x"$glibcxx_cv_system_error7" = x"yes"; then
17776 $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
17779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
17780 $as_echo_n "checking for ETIME... " >&6; }
17781 if test "${glibcxx_cv_system_error8+set}" = set; then :
17782 $as_echo_n "(cached) " >&6
17783 else
17785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17786 /* end confdefs.h. */
17787 #include <errno.h>
17789 main ()
17791 int i = ETIME;
17793 return 0;
17795 _ACEOF
17796 if ac_fn_c_try_compile "$LINENO"; then :
17797 glibcxx_cv_system_error8=yes
17798 else
17799 glibcxx_cv_system_error8=no
17801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
17806 $as_echo "$glibcxx_cv_system_error8" >&6; }
17807 if test x"$glibcxx_cv_system_error8" = x"yes"; then
17809 $as_echo "#define HAVE_ETIME 1" >>confdefs.h
17812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
17813 $as_echo_n "checking for EBADMSG... " >&6; }
17814 if test "${glibcxx_cv_system_error9+set}" = set; then :
17815 $as_echo_n "(cached) " >&6
17816 else
17818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17819 /* end confdefs.h. */
17820 #include <errno.h>
17822 main ()
17824 int i = EBADMSG;
17826 return 0;
17828 _ACEOF
17829 if ac_fn_c_try_compile "$LINENO"; then :
17830 glibcxx_cv_system_error9=yes
17831 else
17832 glibcxx_cv_system_error9=no
17834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
17839 $as_echo "$glibcxx_cv_system_error9" >&6; }
17840 if test x"$glibcxx_cv_system_error9" = x"yes"; then
17842 $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
17845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
17846 $as_echo_n "checking for ECANCELED... " >&6; }
17847 if test "${glibcxx_cv_system_error10+set}" = set; then :
17848 $as_echo_n "(cached) " >&6
17849 else
17851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17852 /* end confdefs.h. */
17853 #include <errno.h>
17855 main ()
17857 int i = ECANCELED;
17859 return 0;
17861 _ACEOF
17862 if ac_fn_c_try_compile "$LINENO"; then :
17863 glibcxx_cv_system_error10=yes
17864 else
17865 glibcxx_cv_system_error10=no
17867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
17872 $as_echo "$glibcxx_cv_system_error10" >&6; }
17873 if test x"$glibcxx_cv_system_error10" = x"yes"; then
17875 $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
17878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
17879 $as_echo_n "checking for EOVERFLOW... " >&6; }
17880 if test "${glibcxx_cv_system_error11+set}" = set; then :
17881 $as_echo_n "(cached) " >&6
17882 else
17884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17885 /* end confdefs.h. */
17886 #include <errno.h>
17888 main ()
17890 int i = EOVERFLOW;
17892 return 0;
17894 _ACEOF
17895 if ac_fn_c_try_compile "$LINENO"; then :
17896 glibcxx_cv_system_error11=yes
17897 else
17898 glibcxx_cv_system_error11=no
17900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
17905 $as_echo "$glibcxx_cv_system_error11" >&6; }
17906 if test x"$glibcxx_cv_system_error11" = x"yes"; then
17908 $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
17911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
17912 $as_echo_n "checking for ENOTSUP... " >&6; }
17913 if test "${glibcxx_cv_system_error12+set}" = set; then :
17914 $as_echo_n "(cached) " >&6
17915 else
17917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17918 /* end confdefs.h. */
17919 #include <errno.h>
17921 main ()
17923 int i = ENOTSUP;
17925 return 0;
17927 _ACEOF
17928 if ac_fn_c_try_compile "$LINENO"; then :
17929 glibcxx_cv_system_error12=yes
17930 else
17931 glibcxx_cv_system_error12=no
17933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
17938 $as_echo "$glibcxx_cv_system_error12" >&6; }
17939 if test x"$glibcxx_cv_system_error12" = x"yes"; then
17941 $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
17944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
17945 $as_echo_n "checking for EIDRM... " >&6; }
17946 if test "${glibcxx_cv_system_error13+set}" = set; then :
17947 $as_echo_n "(cached) " >&6
17948 else
17950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17951 /* end confdefs.h. */
17952 #include <errno.h>
17954 main ()
17956 int i = EIDRM;
17958 return 0;
17960 _ACEOF
17961 if ac_fn_c_try_compile "$LINENO"; then :
17962 glibcxx_cv_system_error13=yes
17963 else
17964 glibcxx_cv_system_error13=no
17966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
17971 $as_echo "$glibcxx_cv_system_error13" >&6; }
17972 if test x"$glibcxx_cv_system_error13" = x"yes"; then
17974 $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
17977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
17978 $as_echo_n "checking for ETXTBSY... " >&6; }
17979 if test "${glibcxx_cv_system_error14+set}" = set; then :
17980 $as_echo_n "(cached) " >&6
17981 else
17983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17984 /* end confdefs.h. */
17985 #include <errno.h>
17987 main ()
17989 int i = ETXTBSY;
17991 return 0;
17993 _ACEOF
17994 if ac_fn_c_try_compile "$LINENO"; then :
17995 glibcxx_cv_system_error14=yes
17996 else
17997 glibcxx_cv_system_error14=no
17999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
18004 $as_echo "$glibcxx_cv_system_error14" >&6; }
18005 if test x"$glibcxx_cv_system_error14" = x"yes"; then
18007 $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
18010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECHILD" >&5
18011 $as_echo_n "checking for ECHILD... " >&6; }
18012 if test "${glibcxx_cv_system_error15+set}" = set; then :
18013 $as_echo_n "(cached) " >&6
18014 else
18016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18017 /* end confdefs.h. */
18018 #include <errno.h>
18020 main ()
18022 int i = ECHILD;
18024 return 0;
18026 _ACEOF
18027 if ac_fn_c_try_compile "$LINENO"; then :
18028 glibcxx_cv_system_error15=yes
18029 else
18030 glibcxx_cv_system_error15=no
18032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error15" >&5
18037 $as_echo "$glibcxx_cv_system_error15" >&6; }
18038 if test x"$glibcxx_cv_system_error15" = x"yes"; then
18040 $as_echo "#define HAVE_ECHILD 1" >>confdefs.h
18043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSPC" >&5
18044 $as_echo_n "checking for ENOSPC... " >&6; }
18045 if test "${glibcxx_cv_system_error16+set}" = set; then :
18046 $as_echo_n "(cached) " >&6
18047 else
18049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18050 /* end confdefs.h. */
18051 #include <errno.h>
18053 main ()
18055 int i = ENOSPC;
18057 return 0;
18059 _ACEOF
18060 if ac_fn_c_try_compile "$LINENO"; then :
18061 glibcxx_cv_system_error16=yes
18062 else
18063 glibcxx_cv_system_error16=no
18065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error16" >&5
18070 $as_echo "$glibcxx_cv_system_error16" >&6; }
18071 if test x"$glibcxx_cv_system_error16" = x"yes"; then
18073 $as_echo "#define HAVE_ENOSPC 1" >>confdefs.h
18076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPERM" >&5
18077 $as_echo_n "checking for EPERM... " >&6; }
18078 if test "${glibcxx_cv_system_error17+set}" = set; then :
18079 $as_echo_n "(cached) " >&6
18080 else
18082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18083 /* end confdefs.h. */
18084 #include <errno.h>
18086 main ()
18088 int i = EPERM;
18090 return 0;
18092 _ACEOF
18093 if ac_fn_c_try_compile "$LINENO"; then :
18094 glibcxx_cv_system_error17=yes
18095 else
18096 glibcxx_cv_system_error17=no
18098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error17" >&5
18103 $as_echo "$glibcxx_cv_system_error17" >&6; }
18104 if test x"$glibcxx_cv_system_error17" = x"yes"; then
18106 $as_echo "#define HAVE_EPERM 1" >>confdefs.h
18109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIMEDOUT" >&5
18110 $as_echo_n "checking for ETIMEDOUT... " >&6; }
18111 if test "${glibcxx_cv_system_error18+set}" = set; then :
18112 $as_echo_n "(cached) " >&6
18113 else
18115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18116 /* end confdefs.h. */
18117 #include <errno.h>
18119 main ()
18121 int i = ETIMEDOUT;
18123 return 0;
18125 _ACEOF
18126 if ac_fn_c_try_compile "$LINENO"; then :
18127 glibcxx_cv_system_error18=yes
18128 else
18129 glibcxx_cv_system_error18=no
18131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error18" >&5
18136 $as_echo "$glibcxx_cv_system_error18" >&6; }
18137 if test x"$glibcxx_cv_system_error18" = x"yes"; then
18139 $as_echo "#define HAVE_ETIMEDOUT 1" >>confdefs.h
18142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EWOULDBLOCK" >&5
18143 $as_echo_n "checking for EWOULDBLOCK... " >&6; }
18144 if test "${glibcxx_cv_system_error19+set}" = set; then :
18145 $as_echo_n "(cached) " >&6
18146 else
18148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18149 /* end confdefs.h. */
18150 #include <errno.h>
18152 main ()
18154 int i = EWOULDBLOCK;
18156 return 0;
18158 _ACEOF
18159 if ac_fn_c_try_compile "$LINENO"; then :
18160 glibcxx_cv_system_error19=yes
18161 else
18162 glibcxx_cv_system_error19=no
18164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error19" >&5
18169 $as_echo "$glibcxx_cv_system_error19" >&6; }
18170 if test x"$glibcxx_cv_system_error19" = x"yes"; then
18172 $as_echo "#define HAVE_EWOULDBLOCK 1" >>confdefs.h
18178 # For the streamoff typedef.
18182 ac_ext=cpp
18183 ac_cpp='$CXXCPP $CPPFLAGS'
18184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
18190 $as_echo_n "checking for int64_t... " >&6; }
18191 if test "${glibcxx_cv_INT64_T+set}" = set; then :
18192 $as_echo_n "(cached) " >&6
18193 else
18195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18196 /* end confdefs.h. */
18197 #include <stdint.h>
18199 main ()
18201 int64_t var;
18203 return 0;
18205 _ACEOF
18206 if ac_fn_cxx_try_compile "$LINENO"; then :
18207 glibcxx_cv_INT64_T=yes
18208 else
18209 glibcxx_cv_INT64_T=no
18211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18216 if test $glibcxx_cv_INT64_T = yes; then
18218 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
18220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
18221 $as_echo "$glibcxx_cv_INT64_T" >&6; }
18223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
18224 $as_echo_n "checking for int64_t as long... " >&6; }
18225 if test "${glibcxx_cv_int64_t_long+set}" = set; then :
18226 $as_echo_n "(cached) " >&6
18227 else
18229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18230 /* end confdefs.h. */
18231 #include <stdint.h>
18232 template<typename, typename> struct same { enum { value = -1 }; };
18233 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18234 int array[same<int64_t, long>::value];
18236 main ()
18240 return 0;
18242 _ACEOF
18243 if ac_fn_cxx_try_compile "$LINENO"; then :
18244 glibcxx_cv_int64_t_long=yes
18245 else
18246 glibcxx_cv_int64_t_long=no
18248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18253 if test $glibcxx_cv_int64_t_long = yes; then
18255 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
18257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
18258 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
18261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
18262 $as_echo_n "checking for int64_t as long long... " >&6; }
18263 if test "${glibcxx_cv_int64_t_long_long+set}" = set; then :
18264 $as_echo_n "(cached) " >&6
18265 else
18267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18268 /* end confdefs.h. */
18269 #include <stdint.h>
18270 template<typename, typename> struct same { enum { value = -1 }; };
18271 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18272 int array[same<int64_t, long long>::value];
18274 main ()
18278 return 0;
18280 _ACEOF
18281 if ac_fn_cxx_try_compile "$LINENO"; then :
18282 glibcxx_cv_int64_t_long_long=yes
18283 else
18284 glibcxx_cv_int64_t_long_long=no
18286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18291 if test $glibcxx_cv_int64_t_long_long = yes; then
18293 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
18295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
18296 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
18300 ac_ext=c
18301 ac_cpp='$CPP $CPPFLAGS'
18302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18308 # For LFS support.
18311 ac_ext=cpp
18312 ac_cpp='$CXXCPP $CPPFLAGS'
18313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18317 ac_save_CXXFLAGS="$CXXFLAGS"
18318 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
18320 $as_echo_n "checking for LFS support... " >&6; }
18321 if test "${glibcxx_cv_LFS+set}" = set; then :
18322 $as_echo_n "(cached) " >&6
18323 else
18325 if test x$gcc_no_link = xyes; then
18326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18327 /* end confdefs.h. */
18328 #include <unistd.h>
18329 #include <stdio.h>
18330 #include <sys/stat.h>
18333 main ()
18335 FILE* fp;
18336 fopen64("t", "w");
18337 fseeko64(fp, 0, SEEK_CUR);
18338 ftello64(fp);
18339 lseek64(1, 0, SEEK_CUR);
18340 struct stat64 buf;
18341 fstat64(1, &buf);
18343 return 0;
18345 _ACEOF
18346 if ac_fn_cxx_try_compile "$LINENO"; then :
18347 glibcxx_cv_LFS=yes
18348 else
18349 glibcxx_cv_LFS=no
18351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18352 else
18353 if test x$gcc_no_link = xyes; then
18354 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18357 /* end confdefs.h. */
18358 #include <unistd.h>
18359 #include <stdio.h>
18360 #include <sys/stat.h>
18363 main ()
18365 FILE* fp;
18366 fopen64("t", "w");
18367 fseeko64(fp, 0, SEEK_CUR);
18368 ftello64(fp);
18369 lseek64(1, 0, SEEK_CUR);
18370 struct stat64 buf;
18371 fstat64(1, &buf);
18373 return 0;
18375 _ACEOF
18376 if ac_fn_cxx_try_link "$LINENO"; then :
18377 glibcxx_cv_LFS=yes
18378 else
18379 glibcxx_cv_LFS=no
18381 rm -f core conftest.err conftest.$ac_objext \
18382 conftest$ac_exeext conftest.$ac_ext
18387 if test $glibcxx_cv_LFS = yes; then
18389 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
18392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
18393 $as_echo "$glibcxx_cv_LFS" >&6; }
18394 CXXFLAGS="$ac_save_CXXFLAGS"
18395 ac_ext=c
18396 ac_cpp='$CPP $CPPFLAGS'
18397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18403 # For showmanyc_helper().
18404 for ac_header in sys/ioctl.h sys/filio.h
18405 do :
18406 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18407 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18408 eval as_val=\$$as_ac_Header
18409 if test "x$as_val" = x""yes; then :
18410 cat >>confdefs.h <<_ACEOF
18411 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18412 _ACEOF
18416 done
18421 ac_ext=cpp
18422 ac_cpp='$CXXCPP $CPPFLAGS'
18423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18427 ac_save_CXXFLAGS="$CXXFLAGS"
18428 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
18431 $as_echo_n "checking for poll... " >&6; }
18432 if test "${glibcxx_cv_POLL+set}" = set; then :
18433 $as_echo_n "(cached) " >&6
18434 else
18436 if test x$gcc_no_link = xyes; then
18437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18438 /* end confdefs.h. */
18439 #include <poll.h>
18441 main ()
18443 struct pollfd pfd[1];
18444 pfd[0].events = POLLIN;
18445 poll(pfd, 1, 0);
18447 return 0;
18449 _ACEOF
18450 if ac_fn_cxx_try_compile "$LINENO"; then :
18451 glibcxx_cv_POLL=yes
18452 else
18453 glibcxx_cv_POLL=no
18455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18456 else
18457 if test x$gcc_no_link = xyes; then
18458 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18461 /* end confdefs.h. */
18462 #include <poll.h>
18464 main ()
18466 struct pollfd pfd[1];
18467 pfd[0].events = POLLIN;
18468 poll(pfd, 1, 0);
18470 return 0;
18472 _ACEOF
18473 if ac_fn_cxx_try_link "$LINENO"; then :
18474 glibcxx_cv_POLL=yes
18475 else
18476 glibcxx_cv_POLL=no
18478 rm -f core conftest.err conftest.$ac_objext \
18479 conftest$ac_exeext conftest.$ac_ext
18484 if test $glibcxx_cv_POLL = yes; then
18486 $as_echo "#define HAVE_POLL 1" >>confdefs.h
18489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
18490 $as_echo "$glibcxx_cv_POLL" >&6; }
18492 CXXFLAGS="$ac_save_CXXFLAGS"
18493 ac_ext=c
18494 ac_cpp='$CPP $CPPFLAGS'
18495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18503 ac_ext=cpp
18504 ac_cpp='$CXXCPP $CPPFLAGS'
18505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18509 ac_save_CXXFLAGS="$CXXFLAGS"
18510 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
18513 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
18514 if test "${glibcxx_cv_S_ISREG+set}" = set; then :
18515 $as_echo_n "(cached) " >&6
18516 else
18518 if test x$gcc_no_link = xyes; then
18519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18520 /* end confdefs.h. */
18521 #include <sys/stat.h>
18523 main ()
18525 struct stat buffer;
18526 fstat(0, &buffer);
18527 S_ISREG(buffer.st_mode);
18529 return 0;
18531 _ACEOF
18532 if ac_fn_cxx_try_compile "$LINENO"; then :
18533 glibcxx_cv_S_ISREG=yes
18534 else
18535 glibcxx_cv_S_ISREG=no
18537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18538 else
18539 if test x$gcc_no_link = xyes; then
18540 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18543 /* end confdefs.h. */
18544 #include <sys/stat.h>
18546 main ()
18548 struct stat buffer;
18549 fstat(0, &buffer);
18550 S_ISREG(buffer.st_mode);
18552 return 0;
18554 _ACEOF
18555 if ac_fn_cxx_try_link "$LINENO"; then :
18556 glibcxx_cv_S_ISREG=yes
18557 else
18558 glibcxx_cv_S_ISREG=no
18560 rm -f core conftest.err conftest.$ac_objext \
18561 conftest$ac_exeext conftest.$ac_ext
18566 if test "${glibcxx_cv_S_IFREG+set}" = set; then :
18567 $as_echo_n "(cached) " >&6
18568 else
18570 if test x$gcc_no_link = xyes; then
18571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18572 /* end confdefs.h. */
18573 #include <sys/stat.h>
18575 main ()
18577 struct stat buffer;
18578 fstat(0, &buffer);
18579 S_IFREG & buffer.st_mode;
18581 return 0;
18583 _ACEOF
18584 if ac_fn_cxx_try_compile "$LINENO"; then :
18585 glibcxx_cv_S_IFREG=yes
18586 else
18587 glibcxx_cv_S_IFREG=no
18589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18590 else
18591 if test x$gcc_no_link = xyes; then
18592 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18595 /* end confdefs.h. */
18596 #include <sys/stat.h>
18598 main ()
18600 struct stat buffer;
18601 fstat(0, &buffer);
18602 S_IFREG & buffer.st_mode;
18604 return 0;
18606 _ACEOF
18607 if ac_fn_cxx_try_link "$LINENO"; then :
18608 glibcxx_cv_S_IFREG=yes
18609 else
18610 glibcxx_cv_S_IFREG=no
18612 rm -f core conftest.err conftest.$ac_objext \
18613 conftest$ac_exeext conftest.$ac_ext
18618 res=no
18619 if test $glibcxx_cv_S_ISREG = yes; then
18621 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
18623 res=S_ISREG
18624 elif test $glibcxx_cv_S_IFREG = yes; then
18626 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
18628 res=S_IFREG
18630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
18631 $as_echo "$res" >&6; }
18633 CXXFLAGS="$ac_save_CXXFLAGS"
18634 ac_ext=c
18635 ac_cpp='$CPP $CPPFLAGS'
18636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18642 # For xsputn_2().
18643 for ac_header in sys/uio.h
18644 do :
18645 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
18646 if test "x$ac_cv_header_sys_uio_h" = x""yes; then :
18647 cat >>confdefs.h <<_ACEOF
18648 #define HAVE_SYS_UIO_H 1
18649 _ACEOF
18653 done
18658 ac_ext=cpp
18659 ac_cpp='$CXXCPP $CPPFLAGS'
18660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18664 ac_save_CXXFLAGS="$CXXFLAGS"
18665 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
18668 $as_echo_n "checking for writev... " >&6; }
18669 if test "${glibcxx_cv_WRITEV+set}" = set; then :
18670 $as_echo_n "(cached) " >&6
18671 else
18673 if test x$gcc_no_link = xyes; then
18674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18675 /* end confdefs.h. */
18676 #include <sys/uio.h>
18678 main ()
18680 struct iovec iov[2];
18681 writev(0, iov, 0);
18683 return 0;
18685 _ACEOF
18686 if ac_fn_cxx_try_compile "$LINENO"; then :
18687 glibcxx_cv_WRITEV=yes
18688 else
18689 glibcxx_cv_WRITEV=no
18691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18692 else
18693 if test x$gcc_no_link = xyes; then
18694 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18697 /* end confdefs.h. */
18698 #include <sys/uio.h>
18700 main ()
18702 struct iovec iov[2];
18703 writev(0, iov, 0);
18705 return 0;
18707 _ACEOF
18708 if ac_fn_cxx_try_link "$LINENO"; then :
18709 glibcxx_cv_WRITEV=yes
18710 else
18711 glibcxx_cv_WRITEV=no
18713 rm -f core conftest.err conftest.$ac_objext \
18714 conftest$ac_exeext conftest.$ac_ext
18719 if test $glibcxx_cv_WRITEV = yes; then
18721 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
18724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
18725 $as_echo "$glibcxx_cv_WRITEV" >&6; }
18727 CXXFLAGS="$ac_save_CXXFLAGS"
18728 ac_ext=c
18729 ac_cpp='$CPP $CPPFLAGS'
18730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18736 # Check for fenv.h and complex.h before GLIBCXX_CHECK_C99_TR1
18737 # so that the check is done with the C compiler (not C++).
18738 # Checking with C++ can break a canadian cross build if either
18739 # file does not exist in C but does in C++.
18740 for ac_header in fenv.h complex.h
18741 do :
18742 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18743 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18744 eval as_val=\$$as_ac_Header
18745 if test "x$as_val" = x""yes; then :
18746 cat >>confdefs.h <<_ACEOF
18747 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18748 _ACEOF
18752 done
18755 # For C99 support to TR1.
18759 ac_ext=cpp
18760 ac_cpp='$CXXCPP $CPPFLAGS'
18761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18766 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
18767 # undefined and fake C99 facilities may be spuriously enabled.
18768 ac_save_CXXFLAGS="$CXXFLAGS"
18769 CXXFLAGS="$CXXFLAGS -std=c++98"
18771 # Check for the existence of <complex.h> complex math functions used
18772 # by tr1/complex.
18773 for ac_header in complex.h
18774 do :
18775 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
18776 if test "x$ac_cv_header_complex_h" = x""yes; then :
18777 cat >>confdefs.h <<_ACEOF
18778 #define HAVE_COMPLEX_H 1
18779 _ACEOF
18780 ac_has_complex_h=yes
18781 else
18782 ac_has_complex_h=no
18785 done
18787 ac_c99_complex_tr1=no;
18788 if test x"$ac_has_complex_h" = x"yes"; then
18789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
18790 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
18791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18792 /* end confdefs.h. */
18793 #include <complex.h>
18795 main ()
18797 typedef __complex__ float float_type; float_type tmpf;
18798 cacosf(tmpf);
18799 casinf(tmpf);
18800 catanf(tmpf);
18801 cacoshf(tmpf);
18802 casinhf(tmpf);
18803 catanhf(tmpf);
18804 typedef __complex__ double double_type; double_type tmpd;
18805 cacos(tmpd);
18806 casin(tmpd);
18807 catan(tmpd);
18808 cacosh(tmpd);
18809 casinh(tmpd);
18810 catanh(tmpd);
18811 typedef __complex__ long double ld_type; ld_type tmpld;
18812 cacosl(tmpld);
18813 casinl(tmpld);
18814 catanl(tmpld);
18815 cacoshl(tmpld);
18816 casinhl(tmpld);
18817 catanhl(tmpld);
18820 return 0;
18822 _ACEOF
18823 if ac_fn_cxx_try_compile "$LINENO"; then :
18824 ac_c99_complex_tr1=yes
18825 else
18826 ac_c99_complex_tr1=no
18828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
18831 $as_echo "$ac_c99_complex_tr1" >&6; }
18832 if test x"$ac_c99_complex_tr1" = x"yes"; then
18834 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
18838 # Check for the existence of <ctype.h> functions.
18839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
18840 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
18841 if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then :
18842 $as_echo_n "(cached) " >&6
18843 else
18845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18846 /* end confdefs.h. */
18847 #include <ctype.h>
18849 main ()
18851 int ch;
18852 int ret;
18853 ret = isblank(ch);
18856 return 0;
18858 _ACEOF
18859 if ac_fn_cxx_try_compile "$LINENO"; then :
18860 glibcxx_cv_c99_ctype_tr1=yes
18861 else
18862 glibcxx_cv_c99_ctype_tr1=no
18864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
18869 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
18870 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
18872 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
18876 # Check for the existence of <fenv.h> functions.
18877 for ac_header in fenv.h
18878 do :
18879 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
18880 if test "x$ac_cv_header_fenv_h" = x""yes; then :
18881 cat >>confdefs.h <<_ACEOF
18882 #define HAVE_FENV_H 1
18883 _ACEOF
18884 ac_has_fenv_h=yes
18885 else
18886 ac_has_fenv_h=no
18889 done
18891 ac_c99_fenv_tr1=no;
18892 if test x"$ac_has_fenv_h" = x"yes"; then
18893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
18894 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
18895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18896 /* end confdefs.h. */
18897 #include <fenv.h>
18899 main ()
18901 int except, mode;
18902 fexcept_t* pflag;
18903 fenv_t* penv;
18904 int ret;
18905 ret = feclearexcept(except);
18906 ret = fegetexceptflag(pflag, except);
18907 ret = feraiseexcept(except);
18908 ret = fesetexceptflag(pflag, except);
18909 ret = fetestexcept(except);
18910 ret = fegetround();
18911 ret = fesetround(mode);
18912 ret = fegetenv(penv);
18913 ret = feholdexcept(penv);
18914 ret = fesetenv(penv);
18915 ret = feupdateenv(penv);
18918 return 0;
18920 _ACEOF
18921 if ac_fn_cxx_try_compile "$LINENO"; then :
18922 ac_c99_fenv_tr1=yes
18923 else
18924 ac_c99_fenv_tr1=no
18926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
18929 $as_echo "$ac_c99_fenv_tr1" >&6; }
18930 if test x"$ac_c99_fenv_tr1" = x"yes"; then
18932 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
18936 # Check for the existence of <stdint.h> types.
18937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
18938 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
18939 if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then :
18940 $as_echo_n "(cached) " >&6
18941 else
18943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18944 /* end confdefs.h. */
18945 #define __STDC_LIMIT_MACROS
18946 #define __STDC_CONSTANT_MACROS
18947 #include <stdint.h>
18949 main ()
18951 typedef int8_t my_int8_t;
18952 my_int8_t i8 = INT8_MIN;
18953 i8 = INT8_MAX;
18954 typedef int16_t my_int16_t;
18955 my_int16_t i16 = INT16_MIN;
18956 i16 = INT16_MAX;
18957 typedef int32_t my_int32_t;
18958 my_int32_t i32 = INT32_MIN;
18959 i32 = INT32_MAX;
18960 typedef int64_t my_int64_t;
18961 my_int64_t i64 = INT64_MIN;
18962 i64 = INT64_MAX;
18963 typedef int_fast8_t my_int_fast8_t;
18964 my_int_fast8_t if8 = INT_FAST8_MIN;
18965 if8 = INT_FAST8_MAX;
18966 typedef int_fast16_t my_int_fast16_t;
18967 my_int_fast16_t if16 = INT_FAST16_MIN;
18968 if16 = INT_FAST16_MAX;
18969 typedef int_fast32_t my_int_fast32_t;
18970 my_int_fast32_t if32 = INT_FAST32_MIN;
18971 if32 = INT_FAST32_MAX;
18972 typedef int_fast64_t my_int_fast64_t;
18973 my_int_fast64_t if64 = INT_FAST64_MIN;
18974 if64 = INT_FAST64_MAX;
18975 typedef int_least8_t my_int_least8_t;
18976 my_int_least8_t il8 = INT_LEAST8_MIN;
18977 il8 = INT_LEAST8_MAX;
18978 typedef int_least16_t my_int_least16_t;
18979 my_int_least16_t il16 = INT_LEAST16_MIN;
18980 il16 = INT_LEAST16_MAX;
18981 typedef int_least32_t my_int_least32_t;
18982 my_int_least32_t il32 = INT_LEAST32_MIN;
18983 il32 = INT_LEAST32_MAX;
18984 typedef int_least64_t my_int_least64_t;
18985 my_int_least64_t il64 = INT_LEAST64_MIN;
18986 il64 = INT_LEAST64_MAX;
18987 typedef intmax_t my_intmax_t;
18988 my_intmax_t im = INTMAX_MAX;
18989 im = INTMAX_MIN;
18990 typedef intptr_t my_intptr_t;
18991 my_intptr_t ip = INTPTR_MAX;
18992 ip = INTPTR_MIN;
18993 typedef uint8_t my_uint8_t;
18994 my_uint8_t ui8 = UINT8_MAX;
18995 ui8 = UINT8_MAX;
18996 typedef uint16_t my_uint16_t;
18997 my_uint16_t ui16 = UINT16_MAX;
18998 ui16 = UINT16_MAX;
18999 typedef uint32_t my_uint32_t;
19000 my_uint32_t ui32 = UINT32_MAX;
19001 ui32 = UINT32_MAX;
19002 typedef uint64_t my_uint64_t;
19003 my_uint64_t ui64 = UINT64_MAX;
19004 ui64 = UINT64_MAX;
19005 typedef uint_fast8_t my_uint_fast8_t;
19006 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
19007 uif8 = UINT_FAST8_MAX;
19008 typedef uint_fast16_t my_uint_fast16_t;
19009 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
19010 uif16 = UINT_FAST16_MAX;
19011 typedef uint_fast32_t my_uint_fast32_t;
19012 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
19013 uif32 = UINT_FAST32_MAX;
19014 typedef uint_fast64_t my_uint_fast64_t;
19015 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
19016 uif64 = UINT_FAST64_MAX;
19017 typedef uint_least8_t my_uint_least8_t;
19018 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
19019 uil8 = UINT_LEAST8_MAX;
19020 typedef uint_least16_t my_uint_least16_t;
19021 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
19022 uil16 = UINT_LEAST16_MAX;
19023 typedef uint_least32_t my_uint_least32_t;
19024 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
19025 uil32 = UINT_LEAST32_MAX;
19026 typedef uint_least64_t my_uint_least64_t;
19027 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
19028 uil64 = UINT_LEAST64_MAX;
19029 typedef uintmax_t my_uintmax_t;
19030 my_uintmax_t uim = UINTMAX_MAX;
19031 uim = UINTMAX_MAX;
19032 typedef uintptr_t my_uintptr_t;
19033 my_uintptr_t uip = UINTPTR_MAX;
19034 uip = UINTPTR_MAX;
19037 return 0;
19039 _ACEOF
19040 if ac_fn_cxx_try_compile "$LINENO"; then :
19041 glibcxx_cv_c99_stdint_tr1=yes
19042 else
19043 glibcxx_cv_c99_stdint_tr1=no
19045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
19050 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
19051 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19053 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
19057 # Check for the existence of <math.h> functions.
19058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
19059 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
19060 if test "${glibcxx_cv_c99_math_tr1+set}" = set; then :
19061 $as_echo_n "(cached) " >&6
19062 else
19064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19065 /* end confdefs.h. */
19066 #include <math.h>
19068 main ()
19070 typedef double_t my_double_t;
19071 typedef float_t my_float_t;
19072 acosh(0.0);
19073 acoshf(0.0f);
19074 acoshl(0.0l);
19075 asinh(0.0);
19076 asinhf(0.0f);
19077 asinhl(0.0l);
19078 atanh(0.0);
19079 atanhf(0.0f);
19080 atanhl(0.0l);
19081 cbrt(0.0);
19082 cbrtf(0.0f);
19083 cbrtl(0.0l);
19084 copysign(0.0, 0.0);
19085 copysignf(0.0f, 0.0f);
19086 copysignl(0.0l, 0.0l);
19087 erf(0.0);
19088 erff(0.0f);
19089 erfl(0.0l);
19090 erfc(0.0);
19091 erfcf(0.0f);
19092 erfcl(0.0l);
19093 exp2(0.0);
19094 exp2f(0.0f);
19095 exp2l(0.0l);
19096 expm1(0.0);
19097 expm1f(0.0f);
19098 expm1l(0.0l);
19099 fdim(0.0, 0.0);
19100 fdimf(0.0f, 0.0f);
19101 fdiml(0.0l, 0.0l);
19102 fma(0.0, 0.0, 0.0);
19103 fmaf(0.0f, 0.0f, 0.0f);
19104 fmal(0.0l, 0.0l, 0.0l);
19105 fmax(0.0, 0.0);
19106 fmaxf(0.0f, 0.0f);
19107 fmaxl(0.0l, 0.0l);
19108 fmin(0.0, 0.0);
19109 fminf(0.0f, 0.0f);
19110 fminl(0.0l, 0.0l);
19111 hypot(0.0, 0.0);
19112 hypotf(0.0f, 0.0f);
19113 hypotl(0.0l, 0.0l);
19114 ilogb(0.0);
19115 ilogbf(0.0f);
19116 ilogbl(0.0l);
19117 lgamma(0.0);
19118 lgammaf(0.0f);
19119 lgammal(0.0l);
19120 llrint(0.0);
19121 llrintf(0.0f);
19122 llrintl(0.0l);
19123 llround(0.0);
19124 llroundf(0.0f);
19125 llroundl(0.0l);
19126 log1p(0.0);
19127 log1pf(0.0f);
19128 log1pl(0.0l);
19129 log2(0.0);
19130 log2f(0.0f);
19131 log2l(0.0l);
19132 logb(0.0);
19133 logbf(0.0f);
19134 logbl(0.0l);
19135 lrint(0.0);
19136 lrintf(0.0f);
19137 lrintl(0.0l);
19138 lround(0.0);
19139 lroundf(0.0f);
19140 lroundl(0.0l);
19141 nan(0);
19142 nanf(0);
19143 nanl(0);
19144 nearbyint(0.0);
19145 nearbyintf(0.0f);
19146 nearbyintl(0.0l);
19147 nextafter(0.0, 0.0);
19148 nextafterf(0.0f, 0.0f);
19149 nextafterl(0.0l, 0.0l);
19150 nexttoward(0.0, 0.0);
19151 nexttowardf(0.0f, 0.0f);
19152 nexttowardl(0.0l, 0.0l);
19153 remainder(0.0, 0.0);
19154 remainderf(0.0f, 0.0f);
19155 remainderl(0.0l, 0.0l);
19156 remquo(0.0, 0.0, 0);
19157 remquof(0.0f, 0.0f, 0);
19158 remquol(0.0l, 0.0l, 0);
19159 rint(0.0);
19160 rintf(0.0f);
19161 rintl(0.0l);
19162 round(0.0);
19163 roundf(0.0f);
19164 roundl(0.0l);
19165 scalbln(0.0, 0l);
19166 scalblnf(0.0f, 0l);
19167 scalblnl(0.0l, 0l);
19168 scalbn(0.0, 0);
19169 scalbnf(0.0f, 0);
19170 scalbnl(0.0l, 0);
19171 tgamma(0.0);
19172 tgammaf(0.0f);
19173 tgammal(0.0l);
19174 trunc(0.0);
19175 truncf(0.0f);
19176 truncl(0.0l);
19179 return 0;
19181 _ACEOF
19182 if ac_fn_cxx_try_compile "$LINENO"; then :
19183 glibcxx_cv_c99_math_tr1=yes
19184 else
19185 glibcxx_cv_c99_math_tr1=no
19187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
19192 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
19193 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
19195 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
19199 # Check for the existence of <inttypes.h> functions (NB: doesn't make
19200 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
19201 ac_c99_inttypes_tr1=no;
19202 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
19204 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
19205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19206 /* end confdefs.h. */
19207 #include <inttypes.h>
19209 main ()
19211 intmax_t i, numer, denom, base;
19212 const char* s;
19213 char** endptr;
19214 intmax_t ret = imaxabs(i);
19215 imaxdiv_t dret = imaxdiv(numer, denom);
19216 ret = strtoimax(s, endptr, base);
19217 uintmax_t uret = strtoumax(s, endptr, base);
19220 return 0;
19222 _ACEOF
19223 if ac_fn_cxx_try_compile "$LINENO"; then :
19224 ac_c99_inttypes_tr1=yes
19225 else
19226 ac_c99_inttypes_tr1=no
19228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
19231 $as_echo "$ac_c99_inttypes_tr1" >&6; }
19232 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
19234 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
19238 # Check for the existence of wchar_t <inttypes.h> functions (NB: doesn't
19239 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
19240 ac_c99_inttypes_wchar_t_tr1=no;
19241 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
19243 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
19244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19245 /* end confdefs.h. */
19246 #include <inttypes.h>
19248 main ()
19250 intmax_t base;
19251 const wchar_t* s;
19252 wchar_t** endptr;
19253 intmax_t ret = wcstoimax(s, endptr, base);
19254 uintmax_t uret = wcstoumax(s, endptr, base);
19257 return 0;
19259 _ACEOF
19260 if ac_fn_cxx_try_compile "$LINENO"; then :
19261 ac_c99_inttypes_wchar_t_tr1=yes
19262 else
19263 ac_c99_inttypes_wchar_t_tr1=no
19265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
19268 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
19269 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
19271 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
19275 # Check for the existence of the <stdbool.h> header.
19276 for ac_header in stdbool.h
19277 do :
19278 ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
19279 if test "x$ac_cv_header_stdbool_h" = x""yes; then :
19280 cat >>confdefs.h <<_ACEOF
19281 #define HAVE_STDBOOL_H 1
19282 _ACEOF
19286 done
19289 # Check for the existence of the <stdalign.h> header.
19290 for ac_header in stdalign.h
19291 do :
19292 ac_fn_cxx_check_header_mongrel "$LINENO" "stdalign.h" "ac_cv_header_stdalign_h" "$ac_includes_default"
19293 if test "x$ac_cv_header_stdalign_h" = x""yes; then :
19294 cat >>confdefs.h <<_ACEOF
19295 #define HAVE_STDALIGN_H 1
19296 _ACEOF
19300 done
19303 CXXFLAGS="$ac_save_CXXFLAGS"
19304 ac_ext=c
19305 ac_cpp='$CPP $CPPFLAGS'
19306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19312 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
19315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
19316 $as_echo_n "checking for the value of EOF... " >&6; }
19317 if test "${glibcxx_cv_stdio_eof+set}" = set; then :
19318 $as_echo_n "(cached) " >&6
19319 else
19321 if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof" "#include <stdio.h>"; then :
19323 else
19324 as_fn_error "computing EOF failed" "$LINENO" 5
19329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
19330 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
19332 cat >>confdefs.h <<_ACEOF
19333 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
19334 _ACEOF
19337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
19338 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
19339 if test "${glibcxx_cv_stdio_seek_cur+set}" = set; then :
19340 $as_echo_n "(cached) " >&6
19341 else
19343 if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur" "#include <stdio.h>"; then :
19345 else
19346 as_fn_error "computing SEEK_CUR failed" "$LINENO" 5
19351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
19352 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
19354 cat >>confdefs.h <<_ACEOF
19355 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
19356 _ACEOF
19359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
19360 $as_echo_n "checking for the value of SEEK_END... " >&6; }
19361 if test "${glibcxx_cv_stdio_seek_end+set}" = set; then :
19362 $as_echo_n "(cached) " >&6
19363 else
19365 if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end" "#include <stdio.h>"; then :
19367 else
19368 as_fn_error "computing SEEK_END failed" "$LINENO" 5
19373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
19374 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
19376 cat >>confdefs.h <<_ACEOF
19377 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
19378 _ACEOF
19382 # For gettimeofday support.
19385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19386 $as_echo_n "checking for gettimeofday... " >&6; }
19389 ac_ext=cpp
19390 ac_cpp='$CXXCPP $CPPFLAGS'
19391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19395 ac_save_CXXFLAGS="$CXXFLAGS"
19396 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19398 ac_has_gettimeofday=no;
19399 for ac_header in sys/time.h
19400 do :
19401 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
19402 if test "x$ac_cv_header_sys_time_h" = x""yes; then :
19403 cat >>confdefs.h <<_ACEOF
19404 #define HAVE_SYS_TIME_H 1
19405 _ACEOF
19406 ac_has_sys_time_h=yes
19407 else
19408 ac_has_sys_time_h=no
19411 done
19413 if test x"$ac_has_sys_time_h" = x"yes"; then
19414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19415 $as_echo_n "checking for gettimeofday... " >&6; }
19416 if test x$gcc_no_link = xyes; then
19417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19418 /* end confdefs.h. */
19419 #include <sys/time.h>
19421 main ()
19423 timeval tv; gettimeofday(&tv, 0);
19425 return 0;
19427 _ACEOF
19428 if ac_fn_cxx_try_compile "$LINENO"; then :
19429 ac_has_gettimeofday=yes
19430 else
19431 ac_has_gettimeofday=no
19433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19434 else
19435 if test x$gcc_no_link = xyes; then
19436 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19439 /* end confdefs.h. */
19440 #include <sys/time.h>
19442 main ()
19444 timeval tv; gettimeofday(&tv, 0);
19446 return 0;
19448 _ACEOF
19449 if ac_fn_cxx_try_link "$LINENO"; then :
19450 ac_has_gettimeofday=yes
19451 else
19452 ac_has_gettimeofday=no
19454 rm -f core conftest.err conftest.$ac_objext \
19455 conftest$ac_exeext conftest.$ac_ext
19458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
19459 $as_echo "$ac_has_gettimeofday" >&6; }
19462 if test x"$ac_has_gettimeofday" = x"yes"; then
19464 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
19468 CXXFLAGS="$ac_save_CXXFLAGS"
19469 ac_ext=c
19470 ac_cpp='$CPP $CPPFLAGS'
19471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19477 # For clock_gettime, nanosleep and sched_yield support.
19480 # Check whether --enable-libstdcxx-time was given.
19481 if test "${enable_libstdcxx_time+set}" = set; then :
19482 enableval=$enable_libstdcxx_time;
19483 case "$enableval" in
19484 yes|no|rt) ;;
19485 *) as_fn_error "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
19486 esac
19488 else
19489 enable_libstdcxx_time=auto
19495 ac_ext=cpp
19496 ac_cpp='$CXXCPP $CPPFLAGS'
19497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19501 ac_save_CXXFLAGS="$CXXFLAGS"
19502 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19503 ac_save_LIBS="$LIBS"
19505 ac_has_clock_monotonic=no
19506 ac_has_clock_realtime=no
19507 ac_has_nanosleep=no
19508 ac_has_sched_yield=no
19510 if test x"$enable_libstdcxx_time" = x"auto"; then
19512 case "${target_os}" in
19513 cygwin*)
19514 ac_has_nanosleep=yes
19516 darwin*)
19517 ac_has_nanosleep=yes
19518 ac_has_sched_yield=yes
19520 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
19521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at least GNU libc 2.17" >&5
19522 $as_echo_n "checking for at least GNU libc 2.17... " >&6; }
19523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19524 /* end confdefs.h. */
19525 #include <features.h>
19527 main ()
19530 #if ! __GLIBC_PREREQ(2, 17)
19531 #error
19532 #endif
19535 return 0;
19537 _ACEOF
19538 if ac_fn_cxx_try_compile "$LINENO"; then :
19539 glibcxx_glibc217=yes
19540 else
19541 glibcxx_glibc217=no
19543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_glibc217" >&5
19545 $as_echo "$glibcxx_glibc217" >&6; }
19547 if test x"$glibcxx_glibc217" = x"yes"; then
19548 ac_has_clock_monotonic=yes
19549 ac_has_clock_realtime=yes
19551 ac_has_nanosleep=yes
19552 ac_has_sched_yield=yes
19554 freebsd*|netbsd*)
19555 ac_has_clock_monotonic=yes
19556 ac_has_clock_realtime=yes
19557 ac_has_nanosleep=yes
19558 ac_has_sched_yield=yes
19560 openbsd*)
19561 ac_has_clock_monotonic=yes
19562 ac_has_clock_realtime=yes
19563 ac_has_nanosleep=yes
19565 solaris*)
19566 GLIBCXX_LIBS="$GLIBCXX_LIBS -lrt"
19567 ac_has_clock_monotonic=yes
19568 ac_has_clock_realtime=yes
19569 ac_has_nanosleep=yes
19570 ac_has_sched_yield=yes
19572 esac
19574 elif test x"$enable_libstdcxx_time" != x"no"; then
19576 if test x"$enable_libstdcxx_time" = x"rt"; then
19577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19578 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19579 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19580 $as_echo_n "(cached) " >&6
19581 else
19582 ac_func_search_save_LIBS=$LIBS
19583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19584 /* end confdefs.h. */
19586 /* Override any GCC internal prototype to avoid an error.
19587 Use char because int might match the return type of a GCC
19588 builtin and then its argument prototype would still apply. */
19589 #ifdef __cplusplus
19590 extern "C"
19591 #endif
19592 char clock_gettime ();
19594 main ()
19596 return clock_gettime ();
19598 return 0;
19600 _ACEOF
19601 for ac_lib in '' rt posix4; do
19602 if test -z "$ac_lib"; then
19603 ac_res="none required"
19604 else
19605 ac_res=-l$ac_lib
19606 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19608 if test x$gcc_no_link = xyes; then
19609 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19611 if ac_fn_cxx_try_link "$LINENO"; then :
19612 ac_cv_search_clock_gettime=$ac_res
19614 rm -f core conftest.err conftest.$ac_objext \
19615 conftest$ac_exeext
19616 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19617 break
19619 done
19620 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19622 else
19623 ac_cv_search_clock_gettime=no
19625 rm conftest.$ac_ext
19626 LIBS=$ac_func_search_save_LIBS
19628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19629 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19630 ac_res=$ac_cv_search_clock_gettime
19631 if test "$ac_res" != no; then :
19632 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19637 $as_echo_n "checking for library containing nanosleep... " >&6; }
19638 if test "${ac_cv_search_nanosleep+set}" = set; then :
19639 $as_echo_n "(cached) " >&6
19640 else
19641 ac_func_search_save_LIBS=$LIBS
19642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19643 /* end confdefs.h. */
19645 /* Override any GCC internal prototype to avoid an error.
19646 Use char because int might match the return type of a GCC
19647 builtin and then its argument prototype would still apply. */
19648 #ifdef __cplusplus
19649 extern "C"
19650 #endif
19651 char nanosleep ();
19653 main ()
19655 return nanosleep ();
19657 return 0;
19659 _ACEOF
19660 for ac_lib in '' rt posix4; do
19661 if test -z "$ac_lib"; then
19662 ac_res="none required"
19663 else
19664 ac_res=-l$ac_lib
19665 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19667 if test x$gcc_no_link = xyes; then
19668 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19670 if ac_fn_cxx_try_link "$LINENO"; then :
19671 ac_cv_search_nanosleep=$ac_res
19673 rm -f core conftest.err conftest.$ac_objext \
19674 conftest$ac_exeext
19675 if test "${ac_cv_search_nanosleep+set}" = set; then :
19676 break
19678 done
19679 if test "${ac_cv_search_nanosleep+set}" = set; then :
19681 else
19682 ac_cv_search_nanosleep=no
19684 rm conftest.$ac_ext
19685 LIBS=$ac_func_search_save_LIBS
19687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19688 $as_echo "$ac_cv_search_nanosleep" >&6; }
19689 ac_res=$ac_cv_search_nanosleep
19690 if test "$ac_res" != no; then :
19691 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19695 else
19696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19697 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19698 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19699 $as_echo_n "(cached) " >&6
19700 else
19701 ac_func_search_save_LIBS=$LIBS
19702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19703 /* end confdefs.h. */
19705 /* Override any GCC internal prototype to avoid an error.
19706 Use char because int might match the return type of a GCC
19707 builtin and then its argument prototype would still apply. */
19708 #ifdef __cplusplus
19709 extern "C"
19710 #endif
19711 char clock_gettime ();
19713 main ()
19715 return clock_gettime ();
19717 return 0;
19719 _ACEOF
19720 for ac_lib in '' posix4; do
19721 if test -z "$ac_lib"; then
19722 ac_res="none required"
19723 else
19724 ac_res=-l$ac_lib
19725 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19727 if test x$gcc_no_link = xyes; then
19728 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19730 if ac_fn_cxx_try_link "$LINENO"; then :
19731 ac_cv_search_clock_gettime=$ac_res
19733 rm -f core conftest.err conftest.$ac_objext \
19734 conftest$ac_exeext
19735 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19736 break
19738 done
19739 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19741 else
19742 ac_cv_search_clock_gettime=no
19744 rm conftest.$ac_ext
19745 LIBS=$ac_func_search_save_LIBS
19747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19748 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19749 ac_res=$ac_cv_search_clock_gettime
19750 if test "$ac_res" != no; then :
19751 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19756 $as_echo_n "checking for library containing nanosleep... " >&6; }
19757 if test "${ac_cv_search_nanosleep+set}" = set; then :
19758 $as_echo_n "(cached) " >&6
19759 else
19760 ac_func_search_save_LIBS=$LIBS
19761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19762 /* end confdefs.h. */
19764 /* Override any GCC internal prototype to avoid an error.
19765 Use char because int might match the return type of a GCC
19766 builtin and then its argument prototype would still apply. */
19767 #ifdef __cplusplus
19768 extern "C"
19769 #endif
19770 char nanosleep ();
19772 main ()
19774 return nanosleep ();
19776 return 0;
19778 _ACEOF
19779 for ac_lib in '' posix4; do
19780 if test -z "$ac_lib"; then
19781 ac_res="none required"
19782 else
19783 ac_res=-l$ac_lib
19784 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19786 if test x$gcc_no_link = xyes; then
19787 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19789 if ac_fn_cxx_try_link "$LINENO"; then :
19790 ac_cv_search_nanosleep=$ac_res
19792 rm -f core conftest.err conftest.$ac_objext \
19793 conftest$ac_exeext
19794 if test "${ac_cv_search_nanosleep+set}" = set; then :
19795 break
19797 done
19798 if test "${ac_cv_search_nanosleep+set}" = set; then :
19800 else
19801 ac_cv_search_nanosleep=no
19803 rm conftest.$ac_ext
19804 LIBS=$ac_func_search_save_LIBS
19806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19807 $as_echo "$ac_cv_search_nanosleep" >&6; }
19808 ac_res=$ac_cv_search_nanosleep
19809 if test "$ac_res" != no; then :
19810 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19816 case "$ac_cv_search_clock_gettime" in
19817 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
19819 esac
19820 case "$ac_cv_search_nanosleep" in
19821 -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
19823 esac
19825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
19826 $as_echo_n "checking for library containing sched_yield... " >&6; }
19827 if test "${ac_cv_search_sched_yield+set}" = set; then :
19828 $as_echo_n "(cached) " >&6
19829 else
19830 ac_func_search_save_LIBS=$LIBS
19831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19832 /* end confdefs.h. */
19834 /* Override any GCC internal prototype to avoid an error.
19835 Use char because int might match the return type of a GCC
19836 builtin and then its argument prototype would still apply. */
19837 #ifdef __cplusplus
19838 extern "C"
19839 #endif
19840 char sched_yield ();
19842 main ()
19844 return sched_yield ();
19846 return 0;
19848 _ACEOF
19849 for ac_lib in '' rt posix4; do
19850 if test -z "$ac_lib"; then
19851 ac_res="none required"
19852 else
19853 ac_res=-l$ac_lib
19854 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19856 if test x$gcc_no_link = xyes; then
19857 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19859 if ac_fn_cxx_try_link "$LINENO"; then :
19860 ac_cv_search_sched_yield=$ac_res
19862 rm -f core conftest.err conftest.$ac_objext \
19863 conftest$ac_exeext
19864 if test "${ac_cv_search_sched_yield+set}" = set; then :
19865 break
19867 done
19868 if test "${ac_cv_search_sched_yield+set}" = set; then :
19870 else
19871 ac_cv_search_sched_yield=no
19873 rm conftest.$ac_ext
19874 LIBS=$ac_func_search_save_LIBS
19876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
19877 $as_echo "$ac_cv_search_sched_yield" >&6; }
19878 ac_res=$ac_cv_search_sched_yield
19879 if test "$ac_res" != no; then :
19880 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19885 case "$ac_cv_search_sched_yield" in
19886 -lposix4*)
19887 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19888 ac_has_sched_yield=yes
19890 -lrt*)
19891 if test x"$enable_libstdcxx_time" = x"rt"; then
19892 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19893 ac_has_sched_yield=yes
19897 ac_has_sched_yield=yes
19899 esac
19901 for ac_header in unistd.h
19902 do :
19903 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
19904 if test "x$ac_cv_header_unistd_h" = x""yes; then :
19905 cat >>confdefs.h <<_ACEOF
19906 #define HAVE_UNISTD_H 1
19907 _ACEOF
19908 ac_has_unistd_h=yes
19909 else
19910 ac_has_unistd_h=no
19913 done
19916 if test x"$ac_has_unistd_h" = x"yes"; then
19917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
19918 $as_echo_n "checking for monotonic clock... " >&6; }
19919 if test x$gcc_no_link = xyes; then
19920 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19923 /* end confdefs.h. */
19924 #include <unistd.h>
19925 #include <time.h>
19928 main ()
19930 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
19931 timespec tp;
19932 #endif
19933 clock_gettime(CLOCK_MONOTONIC, &tp);
19936 return 0;
19938 _ACEOF
19939 if ac_fn_cxx_try_link "$LINENO"; then :
19940 ac_has_clock_monotonic=yes
19941 else
19942 ac_has_clock_monotonic=no
19944 rm -f core conftest.err conftest.$ac_objext \
19945 conftest$ac_exeext conftest.$ac_ext
19947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
19948 $as_echo "$ac_has_clock_monotonic" >&6; }
19950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
19951 $as_echo_n "checking for realtime clock... " >&6; }
19952 if test x$gcc_no_link = xyes; then
19953 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19956 /* end confdefs.h. */
19957 #include <unistd.h>
19958 #include <time.h>
19961 main ()
19963 #if _POSIX_TIMERS > 0
19964 timespec tp;
19965 #endif
19966 clock_gettime(CLOCK_REALTIME, &tp);
19969 return 0;
19971 _ACEOF
19972 if ac_fn_cxx_try_link "$LINENO"; then :
19973 ac_has_clock_realtime=yes
19974 else
19975 ac_has_clock_realtime=no
19977 rm -f core conftest.err conftest.$ac_objext \
19978 conftest$ac_exeext conftest.$ac_ext
19980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
19981 $as_echo "$ac_has_clock_realtime" >&6; }
19983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
19984 $as_echo_n "checking for nanosleep... " >&6; }
19985 if test x$gcc_no_link = xyes; then
19986 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19989 /* end confdefs.h. */
19990 #include <unistd.h>
19991 #include <time.h>
19994 main ()
19996 #if _POSIX_TIMERS > 0
19997 timespec tp;
19998 #endif
19999 nanosleep(&tp, 0);
20002 return 0;
20004 _ACEOF
20005 if ac_fn_cxx_try_link "$LINENO"; then :
20006 ac_has_nanosleep=yes
20007 else
20008 ac_has_nanosleep=no
20010 rm -f core conftest.err conftest.$ac_objext \
20011 conftest$ac_exeext conftest.$ac_ext
20013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
20014 $as_echo "$ac_has_nanosleep" >&6; }
20018 if test x"$ac_has_clock_monotonic" != x"yes"; then
20019 case ${target_os} in
20020 linux*)
20021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime syscall" >&5
20022 $as_echo_n "checking for clock_gettime syscall... " >&6; }
20023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20024 /* end confdefs.h. */
20025 #include <unistd.h>
20026 #include <time.h>
20027 #include <sys/syscall.h>
20030 main ()
20032 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
20033 timespec tp;
20034 #endif
20035 syscall(SYS_clock_gettime, CLOCK_MONOTONIC, &tp);
20036 syscall(SYS_clock_gettime, CLOCK_REALTIME, &tp);
20039 return 0;
20041 _ACEOF
20042 if ac_fn_cxx_try_compile "$LINENO"; then :
20043 ac_has_clock_monotonic_syscall=yes
20044 else
20045 ac_has_clock_monotonic_syscall=no
20047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic_syscall" >&5
20049 $as_echo "$ac_has_clock_monotonic_syscall" >&6; }
20050 if test x"$ac_has_clock_monotonic_syscall" = x"yes"; then
20052 $as_echo "#define _GLIBCXX_USE_CLOCK_GETTIME_SYSCALL 1" >>confdefs.h
20054 ac_has_clock_monotonic=yes
20055 ac_has_clock_realtime=yes
20056 fi;;
20057 esac
20060 if test x"$ac_has_clock_monotonic" = x"yes"; then
20062 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
20066 if test x"$ac_has_clock_realtime" = x"yes"; then
20068 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
20072 if test x"$ac_has_sched_yield" = x"yes"; then
20074 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
20078 if test x"$ac_has_nanosleep" = x"yes"; then
20080 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
20082 else
20083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sleep" >&5
20084 $as_echo_n "checking for sleep... " >&6; }
20085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20086 /* end confdefs.h. */
20087 #include <unistd.h>
20089 main ()
20091 sleep(1)
20093 return 0;
20095 _ACEOF
20096 if ac_fn_cxx_try_compile "$LINENO"; then :
20097 ac_has_sleep=yes
20098 else
20099 ac_has_sleep=no
20101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20102 if test x"$ac_has_sleep" = x"yes"; then
20104 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
20107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_sleep" >&5
20108 $as_echo "$ac_has_sleep" >&6; }
20109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usleep" >&5
20110 $as_echo_n "checking for usleep... " >&6; }
20111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20112 /* end confdefs.h. */
20113 #include <unistd.h>
20115 main ()
20117 sleep(1);
20118 usleep(100);
20120 return 0;
20122 _ACEOF
20123 if ac_fn_cxx_try_compile "$LINENO"; then :
20124 ac_has_usleep=yes
20125 else
20126 ac_has_usleep=no
20128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20129 if test x"$ac_has_usleep" = x"yes"; then
20131 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
20134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_usleep" >&5
20135 $as_echo "$ac_has_usleep" >&6; }
20138 if test x"$ac_has_nanosleep$ac_has_sleep" = x"nono"; then
20139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Sleep" >&5
20140 $as_echo_n "checking for Sleep... " >&6; }
20141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20142 /* end confdefs.h. */
20143 #include <windows.h>
20145 main ()
20147 Sleep(1)
20149 return 0;
20151 _ACEOF
20152 if ac_fn_cxx_try_compile "$LINENO"; then :
20153 ac_has_win32_sleep=yes
20154 else
20155 ac_has_win32_sleep=no
20157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20158 if test x"$ac_has_win32_sleep" = x"yes"; then
20160 $as_echo "#define HAVE_WIN32_SLEEP 1" >>confdefs.h
20163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_win32_sleep" >&5
20164 $as_echo "$ac_has_win32_sleep" >&6; }
20169 CXXFLAGS="$ac_save_CXXFLAGS"
20170 LIBS="$ac_save_LIBS"
20171 ac_ext=c
20172 ac_cpp='$CPP $CPPFLAGS'
20173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20179 # Check for tmpnam which is obsolescent in POSIX.1-2008
20181 ac_ext=cpp
20182 ac_cpp='$CXXCPP $CPPFLAGS'
20183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20187 ac_save_CXXFLAGS="$CXXFLAGS"
20188 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tmpnam" >&5
20190 $as_echo_n "checking for tmpnam... " >&6; }
20191 if test "${glibcxx_cv_TMPNAM+set}" = set; then :
20192 $as_echo_n "(cached) " >&6
20193 else
20194 if test x$gcc_no_link = xyes; then
20195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20196 /* end confdefs.h. */
20197 #include <stdio.h>
20199 main ()
20201 char *tmp = tmpnam(NULL);
20203 return 0;
20205 _ACEOF
20206 if ac_fn_cxx_try_compile "$LINENO"; then :
20207 glibcxx_cv_TMPNAM=yes
20208 else
20209 glibcxx_cv_TMPNAM=no
20211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20212 else
20213 if test x$gcc_no_link = xyes; then
20214 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20217 /* end confdefs.h. */
20218 #include <stdio.h>
20220 main ()
20222 char *tmp = tmpnam(NULL);
20224 return 0;
20226 _ACEOF
20227 if ac_fn_cxx_try_link "$LINENO"; then :
20228 glibcxx_cv_TMPNAM=yes
20229 else
20230 glibcxx_cv_TMPNAM=no
20232 rm -f core conftest.err conftest.$ac_objext \
20233 conftest$ac_exeext conftest.$ac_ext
20238 if test $glibcxx_cv_TMPNAM = yes; then
20240 $as_echo "#define _GLIBCXX_USE_TMPNAM 1" >>confdefs.h
20243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_TMPNAM" >&5
20244 $as_echo "$glibcxx_cv_TMPNAM" >&6; }
20245 CXXFLAGS="$ac_save_CXXFLAGS"
20246 ac_ext=c
20247 ac_cpp='$CPP $CPPFLAGS'
20248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20255 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
20256 if test "x$ac_cv_header_locale_h" = x""yes; then :
20258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
20259 $as_echo_n "checking for LC_MESSAGES... " >&6; }
20260 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then :
20261 $as_echo_n "(cached) " >&6
20262 else
20263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20264 /* end confdefs.h. */
20265 #include <locale.h>
20267 main ()
20269 return LC_MESSAGES
20271 return 0;
20273 _ACEOF
20274 if ac_fn_c_try_compile "$LINENO"; then :
20275 ac_cv_val_LC_MESSAGES=yes
20276 else
20277 ac_cv_val_LC_MESSAGES=no
20279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
20282 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
20283 if test $ac_cv_val_LC_MESSAGES = yes; then
20285 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
20294 # For hardware_concurrency
20295 for ac_header in sys/sysinfo.h
20296 do :
20297 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
20298 if test "x$ac_cv_header_sys_sysinfo_h" = x""yes; then :
20299 cat >>confdefs.h <<_ACEOF
20300 #define HAVE_SYS_SYSINFO_H 1
20301 _ACEOF
20305 done
20310 ac_ext=cpp
20311 ac_cpp='$CXXCPP $CPPFLAGS'
20312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20316 ac_save_CXXFLAGS="$CXXFLAGS"
20317 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
20320 $as_echo_n "checking for get_nprocs... " >&6; }
20321 if test "${glibcxx_cv_GET_NPROCS+set}" = set; then :
20322 $as_echo_n "(cached) " >&6
20323 else
20325 if test x$gcc_no_link = xyes; then
20326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20327 /* end confdefs.h. */
20328 #include <sys/sysinfo.h>
20330 main ()
20332 int n = get_nprocs();
20334 return 0;
20336 _ACEOF
20337 if ac_fn_cxx_try_compile "$LINENO"; then :
20338 glibcxx_cv_GET_NPROCS=yes
20339 else
20340 glibcxx_cv_GET_NPROCS=no
20342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20343 else
20344 if test x$gcc_no_link = xyes; then
20345 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20348 /* end confdefs.h. */
20349 #include <sys/sysinfo.h>
20351 main ()
20353 int n = get_nprocs();
20355 return 0;
20357 _ACEOF
20358 if ac_fn_cxx_try_link "$LINENO"; then :
20359 glibcxx_cv_GET_NPROCS=yes
20360 else
20361 glibcxx_cv_GET_NPROCS=no
20363 rm -f core conftest.err conftest.$ac_objext \
20364 conftest$ac_exeext conftest.$ac_ext
20369 if test $glibcxx_cv_GET_NPROCS = yes; then
20371 $as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
20374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
20375 $as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
20377 CXXFLAGS="$ac_save_CXXFLAGS"
20378 ac_ext=c
20379 ac_cpp='$CPP $CPPFLAGS'
20380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20385 for ac_header in unistd.h
20386 do :
20387 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
20388 if test "x$ac_cv_header_unistd_h" = x""yes; then :
20389 cat >>confdefs.h <<_ACEOF
20390 #define HAVE_UNISTD_H 1
20391 _ACEOF
20395 done
20400 ac_ext=cpp
20401 ac_cpp='$CXXCPP $CPPFLAGS'
20402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20406 ac_save_CXXFLAGS="$CXXFLAGS"
20407 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
20410 $as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
20411 if test "${glibcxx_cv_SC_NPROCESSORS_ONLN+set}" = set; then :
20412 $as_echo_n "(cached) " >&6
20413 else
20415 if test x$gcc_no_link = xyes; then
20416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20417 /* end confdefs.h. */
20418 #include <unistd.h>
20420 main ()
20422 int n = sysconf(_SC_NPROCESSORS_ONLN);
20424 return 0;
20426 _ACEOF
20427 if ac_fn_cxx_try_compile "$LINENO"; then :
20428 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
20429 else
20430 glibcxx_cv_SC_NPROCESSORS_ONLN=no
20432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20433 else
20434 if test x$gcc_no_link = xyes; then
20435 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20438 /* end confdefs.h. */
20439 #include <unistd.h>
20441 main ()
20443 int n = sysconf(_SC_NPROCESSORS_ONLN);
20445 return 0;
20447 _ACEOF
20448 if ac_fn_cxx_try_link "$LINENO"; then :
20449 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
20450 else
20451 glibcxx_cv_SC_NPROCESSORS_ONLN=no
20453 rm -f core conftest.err conftest.$ac_objext \
20454 conftest$ac_exeext conftest.$ac_ext
20459 if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
20461 $as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
20464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
20465 $as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
20467 CXXFLAGS="$ac_save_CXXFLAGS"
20468 ac_ext=c
20469 ac_cpp='$CPP $CPPFLAGS'
20470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20478 ac_ext=cpp
20479 ac_cpp='$CXXCPP $CPPFLAGS'
20480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20484 ac_save_CXXFLAGS="$CXXFLAGS"
20485 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROC_ONLN" >&5
20488 $as_echo_n "checking for _SC_NPROC_ONLN... " >&6; }
20489 if test "${glibcxx_cv_SC_NPROC_ONLN+set}" = set; then :
20490 $as_echo_n "(cached) " >&6
20491 else
20493 if test x$gcc_no_link = xyes; then
20494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20495 /* end confdefs.h. */
20496 #include <unistd.h>
20498 main ()
20500 int n = sysconf(_SC_NPROC_ONLN);
20502 return 0;
20504 _ACEOF
20505 if ac_fn_cxx_try_compile "$LINENO"; then :
20506 glibcxx_cv_SC_NPROC_ONLN=yes
20507 else
20508 glibcxx_cv_SC_NPROC_ONLN=no
20510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20511 else
20512 if test x$gcc_no_link = xyes; then
20513 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20516 /* end confdefs.h. */
20517 #include <unistd.h>
20519 main ()
20521 int n = sysconf(_SC_NPROC_ONLN);
20523 return 0;
20525 _ACEOF
20526 if ac_fn_cxx_try_link "$LINENO"; then :
20527 glibcxx_cv_SC_NPROC_ONLN=yes
20528 else
20529 glibcxx_cv_SC_NPROC_ONLN=no
20531 rm -f core conftest.err conftest.$ac_objext \
20532 conftest$ac_exeext conftest.$ac_ext
20537 if test $glibcxx_cv_SC_NPROC_ONLN = yes; then
20539 $as_echo "#define _GLIBCXX_USE_SC_NPROC_ONLN 1" >>confdefs.h
20542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROC_ONLN" >&5
20543 $as_echo "$glibcxx_cv_SC_NPROC_ONLN" >&6; }
20545 CXXFLAGS="$ac_save_CXXFLAGS"
20546 ac_ext=c
20547 ac_cpp='$CPP $CPPFLAGS'
20548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20556 ac_ext=cpp
20557 ac_cpp='$CXXCPP $CPPFLAGS'
20558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20562 ac_save_CXXFLAGS="$CXXFLAGS"
20563 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthreads_num_processors_np" >&5
20566 $as_echo_n "checking for pthreads_num_processors_np... " >&6; }
20567 if test "${glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP+set}" = set; then :
20568 $as_echo_n "(cached) " >&6
20569 else
20571 if test x$gcc_no_link = xyes; then
20572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20573 /* end confdefs.h. */
20574 #include <pthread.h>
20576 main ()
20578 int n = pthread_num_processors_np();
20580 return 0;
20582 _ACEOF
20583 if ac_fn_cxx_try_compile "$LINENO"; then :
20584 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
20585 else
20586 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
20588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20589 else
20590 if test x$gcc_no_link = xyes; then
20591 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20594 /* end confdefs.h. */
20595 #include <pthread.h>
20597 main ()
20599 int n = pthread_num_processors_np();
20601 return 0;
20603 _ACEOF
20604 if ac_fn_cxx_try_link "$LINENO"; then :
20605 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
20606 else
20607 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
20609 rm -f core conftest.err conftest.$ac_objext \
20610 conftest$ac_exeext conftest.$ac_ext
20615 if test $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP = yes; then
20617 $as_echo "#define _GLIBCXX_USE_PTHREADS_NUM_PROCESSORS_NP 1" >>confdefs.h
20620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&5
20621 $as_echo "$glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&6; }
20623 CXXFLAGS="$ac_save_CXXFLAGS"
20624 ac_ext=c
20625 ac_cpp='$CPP $CPPFLAGS'
20626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20634 ac_ext=cpp
20635 ac_cpp='$CXXCPP $CPPFLAGS'
20636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20640 ac_save_CXXFLAGS="$CXXFLAGS"
20641 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hw.ncpu sysctl" >&5
20644 $as_echo_n "checking for hw.ncpu sysctl... " >&6; }
20645 if test "${glibcxx_cv_SYSCTL_HW_NCPU+set}" = set; then :
20646 $as_echo_n "(cached) " >&6
20647 else
20649 if test x$gcc_no_link = xyes; then
20650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20651 /* end confdefs.h. */
20653 #include <stddef.h>
20654 #include <sys/sysctl.h>
20657 main ()
20660 int count;
20661 size_t size = sizeof(count);
20662 int mib[] = { CTL_HW, HW_NCPU };
20663 sysctl(mib, 2, &count, &size, NULL, 0);
20666 return 0;
20668 _ACEOF
20669 if ac_fn_cxx_try_compile "$LINENO"; then :
20670 glibcxx_cv_SYSCTL_HW_NCPU=yes
20671 else
20672 glibcxx_cv_SYSCTL_HW_NCPU=no
20674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20675 else
20676 if test x$gcc_no_link = xyes; then
20677 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20680 /* end confdefs.h. */
20682 #include <stddef.h>
20683 #include <sys/sysctl.h>
20686 main ()
20689 int count;
20690 size_t size = sizeof(count);
20691 int mib[] = { CTL_HW, HW_NCPU };
20692 sysctl(mib, 2, &count, &size, NULL, 0);
20695 return 0;
20697 _ACEOF
20698 if ac_fn_cxx_try_link "$LINENO"; then :
20699 glibcxx_cv_SYSCTL_HW_NCPU=yes
20700 else
20701 glibcxx_cv_SYSCTL_HW_NCPU=no
20703 rm -f core conftest.err conftest.$ac_objext \
20704 conftest$ac_exeext conftest.$ac_ext
20709 if test $glibcxx_cv_SYSCTL_HW_NCPU = yes; then
20711 $as_echo "#define _GLIBCXX_USE_SYSCTL_HW_NCPU 1" >>confdefs.h
20714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SYSCTL_HW_NCPU" >&5
20715 $as_echo "$glibcxx_cv_SYSCTL_HW_NCPU" >&6; }
20717 CXXFLAGS="$ac_save_CXXFLAGS"
20718 ac_ext=c
20719 ac_cpp='$CPP $CPPFLAGS'
20720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suitable sys/sdt.h" >&5
20727 $as_echo_n "checking for suitable sys/sdt.h... " >&6; }
20728 # Note that this test has to be run with the C language.
20729 # Otherwise, sdt.h will try to include some headers from
20730 # libstdc++ itself.
20732 ac_ext=c
20733 ac_cpp='$CPP $CPPFLAGS'
20734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20738 if test "${glibcxx_cv_sys_sdt_h+set}" = set; then :
20739 $as_echo_n "(cached) " >&6
20740 else
20742 # Because we have to run the test in C, we use grep rather
20743 # than the compiler to check for the bug. The bug is that
20744 # were strings without trailing whitespace, causing g++
20745 # to look for operator"". The pattern searches for the fixed
20746 # output.
20747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20748 /* end confdefs.h. */
20750 #include <sys/sdt.h>
20751 int f() { STAP_PROBE(hi, bob); }
20753 _ACEOF
20754 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20755 $EGREP " \",\" " >/dev/null 2>&1; then :
20756 glibcxx_cv_sys_sdt_h=yes
20757 else
20758 glibcxx_cv_sys_sdt_h=no
20760 rm -f conftest*
20765 ac_ext=c
20766 ac_cpp='$CPP $CPPFLAGS'
20767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20771 if test $glibcxx_cv_sys_sdt_h = yes; then
20773 $as_echo "#define HAVE_SYS_SDT_H 1" >>confdefs.h
20776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sys_sdt_h" >&5
20777 $as_echo "$glibcxx_cv_sys_sdt_h" >&6; }
20780 # Check for available headers.
20781 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
20782 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
20783 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
20784 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
20785 wchar.h wctype.h
20786 do :
20787 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20788 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20789 eval as_val=\$$as_ac_Header
20790 if test "x$as_val" = x""yes; then :
20791 cat >>confdefs.h <<_ACEOF
20792 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20793 _ACEOF
20797 done
20800 # Only do link tests if native. Else, hardcode.
20801 if $GLIBCXX_IS_NATIVE; then
20803 # We can do more elaborate tests that assume a working linker.
20804 CANADIAN=no
20808 # Check whether --with-gnu-ld was given.
20809 if test "${with_gnu_ld+set}" = set; then :
20810 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
20811 else
20812 with_gnu_ld=no
20815 ac_prog=ld
20816 if test "$GCC" = yes; then
20817 # Check if gcc -print-prog-name=ld gives a path.
20818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
20819 $as_echo_n "checking for ld used by $CC... " >&6; }
20820 case $host in
20821 *-*-mingw*)
20822 # gcc leaves a trailing carriage return which upsets mingw
20823 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
20825 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
20826 esac
20827 case $ac_prog in
20828 # Accept absolute paths.
20829 [\\/]* | ?:[\\/]*)
20830 re_direlt='/[^/][^/]*/\.\./'
20831 # Canonicalize the pathname of ld
20832 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
20833 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
20834 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
20835 done
20836 test -z "$LD" && LD="$ac_prog"
20839 # If it fails, then pretend we aren't using GCC.
20840 ac_prog=ld
20843 # If it is relative, then search for the first ld in PATH.
20844 with_gnu_ld=unknown
20846 esac
20847 elif test "$with_gnu_ld" = yes; then
20848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
20849 $as_echo_n "checking for GNU ld... " >&6; }
20850 else
20851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
20852 $as_echo_n "checking for non-GNU ld... " >&6; }
20854 if test "${lt_cv_path_LD+set}" = set; then :
20855 $as_echo_n "(cached) " >&6
20856 else
20857 if test -z "$LD"; then
20858 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
20859 for ac_dir in $PATH; do
20860 IFS="$lt_save_ifs"
20861 test -z "$ac_dir" && ac_dir=.
20862 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
20863 lt_cv_path_LD="$ac_dir/$ac_prog"
20864 # Check to see if the program is GNU ld. I'd rather use --version,
20865 # but apparently some variants of GNU ld only accept -v.
20866 # Break only if it was the GNU/non-GNU ld that we prefer.
20867 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
20868 *GNU* | *'with BFD'*)
20869 test "$with_gnu_ld" != no && break
20872 test "$with_gnu_ld" != yes && break
20874 esac
20876 done
20877 IFS="$lt_save_ifs"
20878 else
20879 lt_cv_path_LD="$LD" # Let the user override the test with a path.
20883 LD="$lt_cv_path_LD"
20884 if test -n "$LD"; then
20885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
20886 $as_echo "$LD" >&6; }
20887 else
20888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20889 $as_echo "no" >&6; }
20891 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
20892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
20893 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
20894 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
20895 $as_echo_n "(cached) " >&6
20896 else
20897 # I'd rather use --version here, but apparently some GNU lds only accept -v.
20898 case `$LD -v 2>&1 </dev/null` in
20899 *GNU* | *'with BFD'*)
20900 lt_cv_prog_gnu_ld=yes
20903 lt_cv_prog_gnu_ld=no
20905 esac
20907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
20908 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
20909 with_gnu_ld=$lt_cv_prog_gnu_ld
20917 # If we're not using GNU ld, then there's no point in even trying these
20918 # tests. Check for that first. We should have already tested for gld
20919 # by now (in libtool), but require it now just to be safe...
20920 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
20921 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
20925 # The name set by libtool depends on the version of libtool. Shame on us
20926 # for depending on an impl detail, but c'est la vie. Older versions used
20927 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
20928 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
20929 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
20930 # set (hence we're using an older libtool), then set it.
20931 if test x${with_gnu_ld+set} != xset; then
20932 if test x${ac_cv_prog_gnu_ld+set} != xset; then
20933 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
20934 with_gnu_ld=no
20935 else
20936 with_gnu_ld=$ac_cv_prog_gnu_ld
20940 # Start by getting the version number. I think the libtool test already
20941 # does some of this, but throws away the result.
20942 glibcxx_ld_is_gold=no
20943 if test x"$with_gnu_ld" = x"yes"; then
20944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
20945 $as_echo_n "checking for ld version... " >&6; }
20947 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
20948 glibcxx_ld_is_gold=yes
20950 ldver=`$LD --version 2>/dev/null |
20951 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'`
20953 glibcxx_gnu_ld_version=`echo $ldver | \
20954 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
20955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
20956 $as_echo "$glibcxx_gnu_ld_version" >&6; }
20959 # Set --gc-sections.
20960 glibcxx_have_gc_sections=no
20961 if test "$glibcxx_ld_is_gold" = "yes"; then
20962 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
20963 glibcxx_have_gc_sections=yes
20965 else
20966 glibcxx_gcsections_min_ld=21602
20967 if test x"$with_gnu_ld" = x"yes" &&
20968 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
20969 glibcxx_have_gc_sections=yes
20972 if test "$glibcxx_have_gc_sections" = "yes"; then
20973 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
20974 # NB: This flag only works reliably after 2.16.1. Configure tests
20975 # for this are difficult, so hard wire a value that should work.
20977 ac_test_CFLAGS="${CFLAGS+set}"
20978 ac_save_CFLAGS="$CFLAGS"
20979 CFLAGS='-Wl,--gc-sections'
20981 # Check for -Wl,--gc-sections
20982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
20983 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
20984 if test x$gcc_no_link = xyes; then
20985 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20988 /* end confdefs.h. */
20989 int one(void) { return 1; }
20990 int two(void) { return 2; }
20993 main ()
20995 two();
20997 return 0;
20999 _ACEOF
21000 if ac_fn_c_try_link "$LINENO"; then :
21001 ac_gcsections=yes
21002 else
21003 ac_gcsections=no
21005 rm -f core conftest.err conftest.$ac_objext \
21006 conftest$ac_exeext conftest.$ac_ext
21007 if test "$ac_gcsections" = "yes"; then
21008 rm -f conftest.c
21009 touch conftest.c
21010 if $CC -c conftest.c; then
21011 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
21012 grep "Warning: gc-sections option ignored" > /dev/null; then
21013 ac_gcsections=no
21016 rm -f conftest.c conftest.o conftest
21018 if test "$ac_gcsections" = "yes"; then
21019 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
21021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
21022 $as_echo "$ac_gcsections" >&6; }
21024 if test "$ac_test_CFLAGS" = set; then
21025 CFLAGS="$ac_save_CFLAGS"
21026 else
21027 # this is the suspicious part
21028 CFLAGS=''
21032 # Set -z,relro.
21033 # Note this is only for shared objects.
21034 ac_ld_relro=no
21035 if test x"$with_gnu_ld" = x"yes"; then
21036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
21037 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
21038 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
21039 if test -n "$cxx_z_relo"; then
21040 OPT_LDFLAGS="-Wl,-z,relro"
21041 ac_ld_relro=yes
21043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
21044 $as_echo "$ac_ld_relro" >&6; }
21047 # Set linker optimization flags.
21048 if test x"$with_gnu_ld" = x"yes"; then
21049 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
21056 ac_test_CXXFLAGS="${CXXFLAGS+set}"
21057 ac_save_CXXFLAGS="$CXXFLAGS"
21058 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
21060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
21061 $as_echo_n "checking for sin in -lm... " >&6; }
21062 if test "${ac_cv_lib_m_sin+set}" = set; then :
21063 $as_echo_n "(cached) " >&6
21064 else
21065 ac_check_lib_save_LIBS=$LIBS
21066 LIBS="-lm $LIBS"
21067 if test x$gcc_no_link = xyes; then
21068 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21071 /* end confdefs.h. */
21073 /* Override any GCC internal prototype to avoid an error.
21074 Use char because int might match the return type of a GCC
21075 builtin and then its argument prototype would still apply. */
21076 #ifdef __cplusplus
21077 extern "C"
21078 #endif
21079 char sin ();
21081 main ()
21083 return sin ();
21085 return 0;
21087 _ACEOF
21088 if ac_fn_c_try_link "$LINENO"; then :
21089 ac_cv_lib_m_sin=yes
21090 else
21091 ac_cv_lib_m_sin=no
21093 rm -f core conftest.err conftest.$ac_objext \
21094 conftest$ac_exeext conftest.$ac_ext
21095 LIBS=$ac_check_lib_save_LIBS
21097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
21098 $as_echo "$ac_cv_lib_m_sin" >&6; }
21099 if test "x$ac_cv_lib_m_sin" = x""yes; then :
21100 libm="-lm"
21103 ac_save_LIBS="$LIBS"
21104 LIBS="$LIBS $libm"
21108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
21109 $as_echo_n "checking for isinf declaration... " >&6; }
21110 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
21111 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
21112 $as_echo_n "(cached) " >&6
21113 else
21116 ac_ext=cpp
21117 ac_cpp='$CXXCPP $CPPFLAGS'
21118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21123 /* end confdefs.h. */
21124 #include <math.h>
21125 #ifdef HAVE_IEEEFP_H
21126 #include <ieeefp.h>
21127 #endif
21130 main ()
21132 isinf(0);
21134 return 0;
21136 _ACEOF
21137 if ac_fn_cxx_try_compile "$LINENO"; then :
21138 glibcxx_cv_func_isinf_use=yes
21139 else
21140 glibcxx_cv_func_isinf_use=no
21142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21143 ac_ext=c
21144 ac_cpp='$CPP $CPPFLAGS'
21145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
21154 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
21156 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
21157 for ac_func in isinf
21158 do :
21159 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
21160 if test "x$ac_cv_func_isinf" = x""yes; then :
21161 cat >>confdefs.h <<_ACEOF
21162 #define HAVE_ISINF 1
21163 _ACEOF
21166 done
21168 else
21170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
21171 $as_echo_n "checking for _isinf declaration... " >&6; }
21172 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
21173 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
21174 $as_echo_n "(cached) " >&6
21175 else
21178 ac_ext=cpp
21179 ac_cpp='$CXXCPP $CPPFLAGS'
21180 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21181 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21182 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21185 /* end confdefs.h. */
21186 #include <math.h>
21187 #ifdef HAVE_IEEEFP_H
21188 #include <ieeefp.h>
21189 #endif
21192 main ()
21194 _isinf(0);
21196 return 0;
21198 _ACEOF
21199 if ac_fn_cxx_try_compile "$LINENO"; then :
21200 glibcxx_cv_func__isinf_use=yes
21201 else
21202 glibcxx_cv_func__isinf_use=no
21204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21205 ac_ext=c
21206 ac_cpp='$CPP $CPPFLAGS'
21207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
21216 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
21218 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
21219 for ac_func in _isinf
21220 do :
21221 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
21222 if test "x$ac_cv_func__isinf" = x""yes; then :
21223 cat >>confdefs.h <<_ACEOF
21224 #define HAVE__ISINF 1
21225 _ACEOF
21228 done
21237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
21238 $as_echo_n "checking for isnan declaration... " >&6; }
21239 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
21240 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
21241 $as_echo_n "(cached) " >&6
21242 else
21245 ac_ext=cpp
21246 ac_cpp='$CXXCPP $CPPFLAGS'
21247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21252 /* end confdefs.h. */
21253 #include <math.h>
21254 #ifdef HAVE_IEEEFP_H
21255 #include <ieeefp.h>
21256 #endif
21259 main ()
21261 isnan(0);
21263 return 0;
21265 _ACEOF
21266 if ac_fn_cxx_try_compile "$LINENO"; then :
21267 glibcxx_cv_func_isnan_use=yes
21268 else
21269 glibcxx_cv_func_isnan_use=no
21271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
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
21282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
21283 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
21285 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
21286 for ac_func in isnan
21287 do :
21288 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
21289 if test "x$ac_cv_func_isnan" = x""yes; then :
21290 cat >>confdefs.h <<_ACEOF
21291 #define HAVE_ISNAN 1
21292 _ACEOF
21295 done
21297 else
21299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
21300 $as_echo_n "checking for _isnan declaration... " >&6; }
21301 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
21302 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
21303 $as_echo_n "(cached) " >&6
21304 else
21307 ac_ext=cpp
21308 ac_cpp='$CXXCPP $CPPFLAGS'
21309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21314 /* end confdefs.h. */
21315 #include <math.h>
21316 #ifdef HAVE_IEEEFP_H
21317 #include <ieeefp.h>
21318 #endif
21321 main ()
21323 _isnan(0);
21325 return 0;
21327 _ACEOF
21328 if ac_fn_cxx_try_compile "$LINENO"; then :
21329 glibcxx_cv_func__isnan_use=yes
21330 else
21331 glibcxx_cv_func__isnan_use=no
21333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21334 ac_ext=c
21335 ac_cpp='$CPP $CPPFLAGS'
21336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
21345 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
21347 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
21348 for ac_func in _isnan
21349 do :
21350 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
21351 if test "x$ac_cv_func__isnan" = x""yes; then :
21352 cat >>confdefs.h <<_ACEOF
21353 #define HAVE__ISNAN 1
21354 _ACEOF
21357 done
21366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
21367 $as_echo_n "checking for finite declaration... " >&6; }
21368 if test x${glibcxx_cv_func_finite_use+set} != xset; then
21369 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
21370 $as_echo_n "(cached) " >&6
21371 else
21374 ac_ext=cpp
21375 ac_cpp='$CXXCPP $CPPFLAGS'
21376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21381 /* end confdefs.h. */
21382 #include <math.h>
21383 #ifdef HAVE_IEEEFP_H
21384 #include <ieeefp.h>
21385 #endif
21388 main ()
21390 finite(0);
21392 return 0;
21394 _ACEOF
21395 if ac_fn_cxx_try_compile "$LINENO"; then :
21396 glibcxx_cv_func_finite_use=yes
21397 else
21398 glibcxx_cv_func_finite_use=no
21400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21401 ac_ext=c
21402 ac_cpp='$CPP $CPPFLAGS'
21403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
21412 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
21414 if test x$glibcxx_cv_func_finite_use = x"yes"; then
21415 for ac_func in finite
21416 do :
21417 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
21418 if test "x$ac_cv_func_finite" = x""yes; then :
21419 cat >>confdefs.h <<_ACEOF
21420 #define HAVE_FINITE 1
21421 _ACEOF
21424 done
21426 else
21428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
21429 $as_echo_n "checking for _finite declaration... " >&6; }
21430 if test x${glibcxx_cv_func__finite_use+set} != xset; then
21431 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
21432 $as_echo_n "(cached) " >&6
21433 else
21436 ac_ext=cpp
21437 ac_cpp='$CXXCPP $CPPFLAGS'
21438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21443 /* end confdefs.h. */
21444 #include <math.h>
21445 #ifdef HAVE_IEEEFP_H
21446 #include <ieeefp.h>
21447 #endif
21450 main ()
21452 _finite(0);
21454 return 0;
21456 _ACEOF
21457 if ac_fn_cxx_try_compile "$LINENO"; then :
21458 glibcxx_cv_func__finite_use=yes
21459 else
21460 glibcxx_cv_func__finite_use=no
21462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21463 ac_ext=c
21464 ac_cpp='$CPP $CPPFLAGS'
21465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
21474 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
21476 if test x$glibcxx_cv_func__finite_use = x"yes"; then
21477 for ac_func in _finite
21478 do :
21479 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
21480 if test "x$ac_cv_func__finite" = x""yes; then :
21481 cat >>confdefs.h <<_ACEOF
21482 #define HAVE__FINITE 1
21483 _ACEOF
21486 done
21495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
21496 $as_echo_n "checking for sincos declaration... " >&6; }
21497 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
21498 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
21499 $as_echo_n "(cached) " >&6
21500 else
21503 ac_ext=cpp
21504 ac_cpp='$CXXCPP $CPPFLAGS'
21505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21510 /* end confdefs.h. */
21511 #include <math.h>
21513 main ()
21515 sincos(0, 0, 0);
21517 return 0;
21519 _ACEOF
21520 if ac_fn_cxx_try_compile "$LINENO"; then :
21521 glibcxx_cv_func_sincos_use=yes
21522 else
21523 glibcxx_cv_func_sincos_use=no
21525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21526 ac_ext=c
21527 ac_cpp='$CPP $CPPFLAGS'
21528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
21537 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
21539 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
21540 for ac_func in sincos
21541 do :
21542 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
21543 if test "x$ac_cv_func_sincos" = x""yes; then :
21544 cat >>confdefs.h <<_ACEOF
21545 #define HAVE_SINCOS 1
21546 _ACEOF
21549 done
21551 else
21553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
21554 $as_echo_n "checking for _sincos declaration... " >&6; }
21555 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
21556 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
21557 $as_echo_n "(cached) " >&6
21558 else
21561 ac_ext=cpp
21562 ac_cpp='$CXXCPP $CPPFLAGS'
21563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21568 /* end confdefs.h. */
21569 #include <math.h>
21571 main ()
21573 _sincos(0, 0, 0);
21575 return 0;
21577 _ACEOF
21578 if ac_fn_cxx_try_compile "$LINENO"; then :
21579 glibcxx_cv_func__sincos_use=yes
21580 else
21581 glibcxx_cv_func__sincos_use=no
21583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21584 ac_ext=c
21585 ac_cpp='$CPP $CPPFLAGS'
21586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
21595 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
21597 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
21598 for ac_func in _sincos
21599 do :
21600 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
21601 if test "x$ac_cv_func__sincos" = x""yes; then :
21602 cat >>confdefs.h <<_ACEOF
21603 #define HAVE__SINCOS 1
21604 _ACEOF
21607 done
21616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
21617 $as_echo_n "checking for fpclass declaration... " >&6; }
21618 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
21619 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
21620 $as_echo_n "(cached) " >&6
21621 else
21624 ac_ext=cpp
21625 ac_cpp='$CXXCPP $CPPFLAGS'
21626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21631 /* end confdefs.h. */
21632 #include <math.h>
21633 #ifdef HAVE_IEEEFP_H
21634 #include <ieeefp.h>
21635 #endif
21638 main ()
21640 fpclass(0);
21642 return 0;
21644 _ACEOF
21645 if ac_fn_cxx_try_compile "$LINENO"; then :
21646 glibcxx_cv_func_fpclass_use=yes
21647 else
21648 glibcxx_cv_func_fpclass_use=no
21650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21651 ac_ext=c
21652 ac_cpp='$CPP $CPPFLAGS'
21653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
21662 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
21664 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
21665 for ac_func in fpclass
21666 do :
21667 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
21668 if test "x$ac_cv_func_fpclass" = x""yes; then :
21669 cat >>confdefs.h <<_ACEOF
21670 #define HAVE_FPCLASS 1
21671 _ACEOF
21674 done
21676 else
21678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
21679 $as_echo_n "checking for _fpclass declaration... " >&6; }
21680 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
21681 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
21682 $as_echo_n "(cached) " >&6
21683 else
21686 ac_ext=cpp
21687 ac_cpp='$CXXCPP $CPPFLAGS'
21688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21693 /* end confdefs.h. */
21694 #include <math.h>
21695 #ifdef HAVE_IEEEFP_H
21696 #include <ieeefp.h>
21697 #endif
21700 main ()
21702 _fpclass(0);
21704 return 0;
21706 _ACEOF
21707 if ac_fn_cxx_try_compile "$LINENO"; then :
21708 glibcxx_cv_func__fpclass_use=yes
21709 else
21710 glibcxx_cv_func__fpclass_use=no
21712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21713 ac_ext=c
21714 ac_cpp='$CPP $CPPFLAGS'
21715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
21724 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
21726 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
21727 for ac_func in _fpclass
21728 do :
21729 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
21730 if test "x$ac_cv_func__fpclass" = x""yes; then :
21731 cat >>confdefs.h <<_ACEOF
21732 #define HAVE__FPCLASS 1
21733 _ACEOF
21736 done
21745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
21746 $as_echo_n "checking for qfpclass declaration... " >&6; }
21747 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
21748 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
21749 $as_echo_n "(cached) " >&6
21750 else
21753 ac_ext=cpp
21754 ac_cpp='$CXXCPP $CPPFLAGS'
21755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21760 /* end confdefs.h. */
21761 #include <math.h>
21762 #ifdef HAVE_IEEEFP_H
21763 #include <ieeefp.h>
21764 #endif
21767 main ()
21769 qfpclass(0);
21771 return 0;
21773 _ACEOF
21774 if ac_fn_cxx_try_compile "$LINENO"; then :
21775 glibcxx_cv_func_qfpclass_use=yes
21776 else
21777 glibcxx_cv_func_qfpclass_use=no
21779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21780 ac_ext=c
21781 ac_cpp='$CPP $CPPFLAGS'
21782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
21791 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
21793 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
21794 for ac_func in qfpclass
21795 do :
21796 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
21797 if test "x$ac_cv_func_qfpclass" = x""yes; then :
21798 cat >>confdefs.h <<_ACEOF
21799 #define HAVE_QFPCLASS 1
21800 _ACEOF
21803 done
21805 else
21807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
21808 $as_echo_n "checking for _qfpclass declaration... " >&6; }
21809 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
21810 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
21811 $as_echo_n "(cached) " >&6
21812 else
21815 ac_ext=cpp
21816 ac_cpp='$CXXCPP $CPPFLAGS'
21817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21822 /* end confdefs.h. */
21823 #include <math.h>
21824 #ifdef HAVE_IEEEFP_H
21825 #include <ieeefp.h>
21826 #endif
21829 main ()
21831 _qfpclass(0);
21833 return 0;
21835 _ACEOF
21836 if ac_fn_cxx_try_compile "$LINENO"; then :
21837 glibcxx_cv_func__qfpclass_use=yes
21838 else
21839 glibcxx_cv_func__qfpclass_use=no
21841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21842 ac_ext=c
21843 ac_cpp='$CPP $CPPFLAGS'
21844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
21853 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
21855 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
21856 for ac_func in _qfpclass
21857 do :
21858 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
21859 if test "x$ac_cv_func__qfpclass" = x""yes; then :
21860 cat >>confdefs.h <<_ACEOF
21861 #define HAVE__QFPCLASS 1
21862 _ACEOF
21865 done
21874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
21875 $as_echo_n "checking for hypot declaration... " >&6; }
21876 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
21877 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
21878 $as_echo_n "(cached) " >&6
21879 else
21882 ac_ext=cpp
21883 ac_cpp='$CXXCPP $CPPFLAGS'
21884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21889 /* end confdefs.h. */
21890 #include <math.h>
21892 main ()
21894 hypot(0, 0);
21896 return 0;
21898 _ACEOF
21899 if ac_fn_cxx_try_compile "$LINENO"; then :
21900 glibcxx_cv_func_hypot_use=yes
21901 else
21902 glibcxx_cv_func_hypot_use=no
21904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21905 ac_ext=c
21906 ac_cpp='$CPP $CPPFLAGS'
21907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
21916 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
21918 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
21919 for ac_func in hypot
21920 do :
21921 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
21922 if test "x$ac_cv_func_hypot" = x""yes; then :
21923 cat >>confdefs.h <<_ACEOF
21924 #define HAVE_HYPOT 1
21925 _ACEOF
21928 done
21930 else
21932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
21933 $as_echo_n "checking for _hypot declaration... " >&6; }
21934 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
21935 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
21936 $as_echo_n "(cached) " >&6
21937 else
21940 ac_ext=cpp
21941 ac_cpp='$CXXCPP $CPPFLAGS'
21942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21947 /* end confdefs.h. */
21948 #include <math.h>
21950 main ()
21952 _hypot(0, 0);
21954 return 0;
21956 _ACEOF
21957 if ac_fn_cxx_try_compile "$LINENO"; then :
21958 glibcxx_cv_func__hypot_use=yes
21959 else
21960 glibcxx_cv_func__hypot_use=no
21962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21963 ac_ext=c
21964 ac_cpp='$CPP $CPPFLAGS'
21965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
21974 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
21976 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
21977 for ac_func in _hypot
21978 do :
21979 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
21980 if test "x$ac_cv_func__hypot" = x""yes; then :
21981 cat >>confdefs.h <<_ACEOF
21982 #define HAVE__HYPOT 1
21983 _ACEOF
21986 done
21995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
21996 $as_echo_n "checking for float trig functions... " >&6; }
21997 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
21998 $as_echo_n "(cached) " >&6
21999 else
22002 ac_ext=cpp
22003 ac_cpp='$CXXCPP $CPPFLAGS'
22004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22009 /* end confdefs.h. */
22010 #include <math.h>
22012 main ()
22014 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
22016 return 0;
22018 _ACEOF
22019 if ac_fn_cxx_try_compile "$LINENO"; then :
22020 glibcxx_cv_func_float_trig_use=yes
22021 else
22022 glibcxx_cv_func_float_trig_use=no
22024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22025 ac_ext=c
22026 ac_cpp='$CPP $CPPFLAGS'
22027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
22034 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
22035 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
22036 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
22037 do :
22038 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22039 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22040 eval as_val=\$$as_ac_var
22041 if test "x$as_val" = x""yes; then :
22042 cat >>confdefs.h <<_ACEOF
22043 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22044 _ACEOF
22047 done
22049 else
22050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
22051 $as_echo_n "checking for _float trig functions... " >&6; }
22052 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
22053 $as_echo_n "(cached) " >&6
22054 else
22057 ac_ext=cpp
22058 ac_cpp='$CXXCPP $CPPFLAGS'
22059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22064 /* end confdefs.h. */
22065 #include <math.h>
22067 main ()
22069 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
22071 return 0;
22073 _ACEOF
22074 if ac_fn_cxx_try_compile "$LINENO"; then :
22075 glibcxx_cv_func__float_trig_use=yes
22076 else
22077 glibcxx_cv_func__float_trig_use=no
22079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22080 ac_ext=c
22081 ac_cpp='$CPP $CPPFLAGS'
22082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
22089 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
22090 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
22091 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
22092 do :
22093 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22094 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22095 eval as_val=\$$as_ac_var
22096 if test "x$as_val" = x""yes; then :
22097 cat >>confdefs.h <<_ACEOF
22098 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22099 _ACEOF
22102 done
22111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
22112 $as_echo_n "checking for float round functions... " >&6; }
22113 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
22114 $as_echo_n "(cached) " >&6
22115 else
22118 ac_ext=cpp
22119 ac_cpp='$CXXCPP $CPPFLAGS'
22120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22125 /* end confdefs.h. */
22126 #include <math.h>
22128 main ()
22130 ceilf (0); floorf (0);
22132 return 0;
22134 _ACEOF
22135 if ac_fn_cxx_try_compile "$LINENO"; then :
22136 glibcxx_cv_func_float_round_use=yes
22137 else
22138 glibcxx_cv_func_float_round_use=no
22140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22141 ac_ext=c
22142 ac_cpp='$CPP $CPPFLAGS'
22143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
22150 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
22151 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
22152 for ac_func in ceilf floorf
22153 do :
22154 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22155 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22156 eval as_val=\$$as_ac_var
22157 if test "x$as_val" = x""yes; then :
22158 cat >>confdefs.h <<_ACEOF
22159 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22160 _ACEOF
22163 done
22165 else
22166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
22167 $as_echo_n "checking for _float round functions... " >&6; }
22168 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
22169 $as_echo_n "(cached) " >&6
22170 else
22173 ac_ext=cpp
22174 ac_cpp='$CXXCPP $CPPFLAGS'
22175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22180 /* end confdefs.h. */
22181 #include <math.h>
22183 main ()
22185 _ceilf (0); _floorf (0);
22187 return 0;
22189 _ACEOF
22190 if ac_fn_cxx_try_compile "$LINENO"; then :
22191 glibcxx_cv_func__float_round_use=yes
22192 else
22193 glibcxx_cv_func__float_round_use=no
22195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22196 ac_ext=c
22197 ac_cpp='$CPP $CPPFLAGS'
22198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
22205 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
22206 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
22207 for ac_func in _ceilf _floorf
22208 do :
22209 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22210 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22211 eval as_val=\$$as_ac_var
22212 if test "x$as_val" = x""yes; then :
22213 cat >>confdefs.h <<_ACEOF
22214 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22215 _ACEOF
22218 done
22228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
22229 $as_echo_n "checking for expf declaration... " >&6; }
22230 if test x${glibcxx_cv_func_expf_use+set} != xset; then
22231 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
22232 $as_echo_n "(cached) " >&6
22233 else
22236 ac_ext=cpp
22237 ac_cpp='$CXXCPP $CPPFLAGS'
22238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22243 /* end confdefs.h. */
22244 #include <math.h>
22245 #ifdef HAVE_IEEEFP_H
22246 #include <ieeefp.h>
22247 #endif
22250 main ()
22252 expf(0);
22254 return 0;
22256 _ACEOF
22257 if ac_fn_cxx_try_compile "$LINENO"; then :
22258 glibcxx_cv_func_expf_use=yes
22259 else
22260 glibcxx_cv_func_expf_use=no
22262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22263 ac_ext=c
22264 ac_cpp='$CPP $CPPFLAGS'
22265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
22274 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
22276 if test x$glibcxx_cv_func_expf_use = x"yes"; then
22277 for ac_func in expf
22278 do :
22279 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
22280 if test "x$ac_cv_func_expf" = x""yes; then :
22281 cat >>confdefs.h <<_ACEOF
22282 #define HAVE_EXPF 1
22283 _ACEOF
22286 done
22288 else
22290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
22291 $as_echo_n "checking for _expf declaration... " >&6; }
22292 if test x${glibcxx_cv_func__expf_use+set} != xset; then
22293 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
22294 $as_echo_n "(cached) " >&6
22295 else
22298 ac_ext=cpp
22299 ac_cpp='$CXXCPP $CPPFLAGS'
22300 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22301 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22302 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22305 /* end confdefs.h. */
22306 #include <math.h>
22307 #ifdef HAVE_IEEEFP_H
22308 #include <ieeefp.h>
22309 #endif
22312 main ()
22314 _expf(0);
22316 return 0;
22318 _ACEOF
22319 if ac_fn_cxx_try_compile "$LINENO"; then :
22320 glibcxx_cv_func__expf_use=yes
22321 else
22322 glibcxx_cv_func__expf_use=no
22324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22325 ac_ext=c
22326 ac_cpp='$CPP $CPPFLAGS'
22327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
22336 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
22338 if test x$glibcxx_cv_func__expf_use = x"yes"; then
22339 for ac_func in _expf
22340 do :
22341 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
22342 if test "x$ac_cv_func__expf" = x""yes; then :
22343 cat >>confdefs.h <<_ACEOF
22344 #define HAVE__EXPF 1
22345 _ACEOF
22348 done
22357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
22358 $as_echo_n "checking for isnanf declaration... " >&6; }
22359 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
22360 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
22361 $as_echo_n "(cached) " >&6
22362 else
22365 ac_ext=cpp
22366 ac_cpp='$CXXCPP $CPPFLAGS'
22367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22372 /* end confdefs.h. */
22373 #include <math.h>
22374 #ifdef HAVE_IEEEFP_H
22375 #include <ieeefp.h>
22376 #endif
22379 main ()
22381 isnanf(0);
22383 return 0;
22385 _ACEOF
22386 if ac_fn_cxx_try_compile "$LINENO"; then :
22387 glibcxx_cv_func_isnanf_use=yes
22388 else
22389 glibcxx_cv_func_isnanf_use=no
22391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22392 ac_ext=c
22393 ac_cpp='$CPP $CPPFLAGS'
22394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
22403 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
22405 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
22406 for ac_func in isnanf
22407 do :
22408 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
22409 if test "x$ac_cv_func_isnanf" = x""yes; then :
22410 cat >>confdefs.h <<_ACEOF
22411 #define HAVE_ISNANF 1
22412 _ACEOF
22415 done
22417 else
22419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
22420 $as_echo_n "checking for _isnanf declaration... " >&6; }
22421 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
22422 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
22423 $as_echo_n "(cached) " >&6
22424 else
22427 ac_ext=cpp
22428 ac_cpp='$CXXCPP $CPPFLAGS'
22429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22434 /* end confdefs.h. */
22435 #include <math.h>
22436 #ifdef HAVE_IEEEFP_H
22437 #include <ieeefp.h>
22438 #endif
22441 main ()
22443 _isnanf(0);
22445 return 0;
22447 _ACEOF
22448 if ac_fn_cxx_try_compile "$LINENO"; then :
22449 glibcxx_cv_func__isnanf_use=yes
22450 else
22451 glibcxx_cv_func__isnanf_use=no
22453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22454 ac_ext=c
22455 ac_cpp='$CPP $CPPFLAGS'
22456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
22465 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
22467 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
22468 for ac_func in _isnanf
22469 do :
22470 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
22471 if test "x$ac_cv_func__isnanf" = x""yes; then :
22472 cat >>confdefs.h <<_ACEOF
22473 #define HAVE__ISNANF 1
22474 _ACEOF
22477 done
22486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
22487 $as_echo_n "checking for isinff declaration... " >&6; }
22488 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
22489 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
22490 $as_echo_n "(cached) " >&6
22491 else
22494 ac_ext=cpp
22495 ac_cpp='$CXXCPP $CPPFLAGS'
22496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22501 /* end confdefs.h. */
22502 #include <math.h>
22503 #ifdef HAVE_IEEEFP_H
22504 #include <ieeefp.h>
22505 #endif
22508 main ()
22510 isinff(0);
22512 return 0;
22514 _ACEOF
22515 if ac_fn_cxx_try_compile "$LINENO"; then :
22516 glibcxx_cv_func_isinff_use=yes
22517 else
22518 glibcxx_cv_func_isinff_use=no
22520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22521 ac_ext=c
22522 ac_cpp='$CPP $CPPFLAGS'
22523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
22532 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
22534 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
22535 for ac_func in isinff
22536 do :
22537 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
22538 if test "x$ac_cv_func_isinff" = x""yes; then :
22539 cat >>confdefs.h <<_ACEOF
22540 #define HAVE_ISINFF 1
22541 _ACEOF
22544 done
22546 else
22548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
22549 $as_echo_n "checking for _isinff declaration... " >&6; }
22550 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
22551 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
22552 $as_echo_n "(cached) " >&6
22553 else
22556 ac_ext=cpp
22557 ac_cpp='$CXXCPP $CPPFLAGS'
22558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22563 /* end confdefs.h. */
22564 #include <math.h>
22565 #ifdef HAVE_IEEEFP_H
22566 #include <ieeefp.h>
22567 #endif
22570 main ()
22572 _isinff(0);
22574 return 0;
22576 _ACEOF
22577 if ac_fn_cxx_try_compile "$LINENO"; then :
22578 glibcxx_cv_func__isinff_use=yes
22579 else
22580 glibcxx_cv_func__isinff_use=no
22582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22583 ac_ext=c
22584 ac_cpp='$CPP $CPPFLAGS'
22585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
22594 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
22596 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
22597 for ac_func in _isinff
22598 do :
22599 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
22600 if test "x$ac_cv_func__isinff" = x""yes; then :
22601 cat >>confdefs.h <<_ACEOF
22602 #define HAVE__ISINFF 1
22603 _ACEOF
22606 done
22615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
22616 $as_echo_n "checking for atan2f declaration... " >&6; }
22617 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
22618 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
22619 $as_echo_n "(cached) " >&6
22620 else
22623 ac_ext=cpp
22624 ac_cpp='$CXXCPP $CPPFLAGS'
22625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22630 /* end confdefs.h. */
22631 #include <math.h>
22633 main ()
22635 atan2f(0, 0);
22637 return 0;
22639 _ACEOF
22640 if ac_fn_cxx_try_compile "$LINENO"; then :
22641 glibcxx_cv_func_atan2f_use=yes
22642 else
22643 glibcxx_cv_func_atan2f_use=no
22645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22646 ac_ext=c
22647 ac_cpp='$CPP $CPPFLAGS'
22648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
22657 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
22659 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
22660 for ac_func in atan2f
22661 do :
22662 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
22663 if test "x$ac_cv_func_atan2f" = x""yes; then :
22664 cat >>confdefs.h <<_ACEOF
22665 #define HAVE_ATAN2F 1
22666 _ACEOF
22669 done
22671 else
22673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
22674 $as_echo_n "checking for _atan2f declaration... " >&6; }
22675 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
22676 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
22677 $as_echo_n "(cached) " >&6
22678 else
22681 ac_ext=cpp
22682 ac_cpp='$CXXCPP $CPPFLAGS'
22683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22688 /* end confdefs.h. */
22689 #include <math.h>
22691 main ()
22693 _atan2f(0, 0);
22695 return 0;
22697 _ACEOF
22698 if ac_fn_cxx_try_compile "$LINENO"; then :
22699 glibcxx_cv_func__atan2f_use=yes
22700 else
22701 glibcxx_cv_func__atan2f_use=no
22703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22704 ac_ext=c
22705 ac_cpp='$CPP $CPPFLAGS'
22706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
22715 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
22717 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
22718 for ac_func in _atan2f
22719 do :
22720 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
22721 if test "x$ac_cv_func__atan2f" = x""yes; then :
22722 cat >>confdefs.h <<_ACEOF
22723 #define HAVE__ATAN2F 1
22724 _ACEOF
22727 done
22736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
22737 $as_echo_n "checking for fabsf declaration... " >&6; }
22738 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
22739 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
22740 $as_echo_n "(cached) " >&6
22741 else
22744 ac_ext=cpp
22745 ac_cpp='$CXXCPP $CPPFLAGS'
22746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22751 /* end confdefs.h. */
22752 #include <math.h>
22753 #ifdef HAVE_IEEEFP_H
22754 #include <ieeefp.h>
22755 #endif
22758 main ()
22760 fabsf(0);
22762 return 0;
22764 _ACEOF
22765 if ac_fn_cxx_try_compile "$LINENO"; then :
22766 glibcxx_cv_func_fabsf_use=yes
22767 else
22768 glibcxx_cv_func_fabsf_use=no
22770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22771 ac_ext=c
22772 ac_cpp='$CPP $CPPFLAGS'
22773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
22782 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
22784 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
22785 for ac_func in fabsf
22786 do :
22787 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
22788 if test "x$ac_cv_func_fabsf" = x""yes; then :
22789 cat >>confdefs.h <<_ACEOF
22790 #define HAVE_FABSF 1
22791 _ACEOF
22794 done
22796 else
22798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
22799 $as_echo_n "checking for _fabsf declaration... " >&6; }
22800 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
22801 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
22802 $as_echo_n "(cached) " >&6
22803 else
22806 ac_ext=cpp
22807 ac_cpp='$CXXCPP $CPPFLAGS'
22808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22813 /* end confdefs.h. */
22814 #include <math.h>
22815 #ifdef HAVE_IEEEFP_H
22816 #include <ieeefp.h>
22817 #endif
22820 main ()
22822 _fabsf(0);
22824 return 0;
22826 _ACEOF
22827 if ac_fn_cxx_try_compile "$LINENO"; then :
22828 glibcxx_cv_func__fabsf_use=yes
22829 else
22830 glibcxx_cv_func__fabsf_use=no
22832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22833 ac_ext=c
22834 ac_cpp='$CPP $CPPFLAGS'
22835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
22844 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
22846 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
22847 for ac_func in _fabsf
22848 do :
22849 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
22850 if test "x$ac_cv_func__fabsf" = x""yes; then :
22851 cat >>confdefs.h <<_ACEOF
22852 #define HAVE__FABSF 1
22853 _ACEOF
22856 done
22865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
22866 $as_echo_n "checking for fmodf declaration... " >&6; }
22867 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
22868 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
22869 $as_echo_n "(cached) " >&6
22870 else
22873 ac_ext=cpp
22874 ac_cpp='$CXXCPP $CPPFLAGS'
22875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22880 /* end confdefs.h. */
22881 #include <math.h>
22883 main ()
22885 fmodf(0, 0);
22887 return 0;
22889 _ACEOF
22890 if ac_fn_cxx_try_compile "$LINENO"; then :
22891 glibcxx_cv_func_fmodf_use=yes
22892 else
22893 glibcxx_cv_func_fmodf_use=no
22895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22896 ac_ext=c
22897 ac_cpp='$CPP $CPPFLAGS'
22898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
22907 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
22909 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
22910 for ac_func in fmodf
22911 do :
22912 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
22913 if test "x$ac_cv_func_fmodf" = x""yes; then :
22914 cat >>confdefs.h <<_ACEOF
22915 #define HAVE_FMODF 1
22916 _ACEOF
22919 done
22921 else
22923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
22924 $as_echo_n "checking for _fmodf declaration... " >&6; }
22925 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
22926 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
22927 $as_echo_n "(cached) " >&6
22928 else
22931 ac_ext=cpp
22932 ac_cpp='$CXXCPP $CPPFLAGS'
22933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22938 /* end confdefs.h. */
22939 #include <math.h>
22941 main ()
22943 _fmodf(0, 0);
22945 return 0;
22947 _ACEOF
22948 if ac_fn_cxx_try_compile "$LINENO"; then :
22949 glibcxx_cv_func__fmodf_use=yes
22950 else
22951 glibcxx_cv_func__fmodf_use=no
22953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22954 ac_ext=c
22955 ac_cpp='$CPP $CPPFLAGS'
22956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
22965 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
22967 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
22968 for ac_func in _fmodf
22969 do :
22970 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
22971 if test "x$ac_cv_func__fmodf" = x""yes; then :
22972 cat >>confdefs.h <<_ACEOF
22973 #define HAVE__FMODF 1
22974 _ACEOF
22977 done
22986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
22987 $as_echo_n "checking for frexpf declaration... " >&6; }
22988 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
22989 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
22990 $as_echo_n "(cached) " >&6
22991 else
22994 ac_ext=cpp
22995 ac_cpp='$CXXCPP $CPPFLAGS'
22996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23001 /* end confdefs.h. */
23002 #include <math.h>
23004 main ()
23006 frexpf(0, 0);
23008 return 0;
23010 _ACEOF
23011 if ac_fn_cxx_try_compile "$LINENO"; then :
23012 glibcxx_cv_func_frexpf_use=yes
23013 else
23014 glibcxx_cv_func_frexpf_use=no
23016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23017 ac_ext=c
23018 ac_cpp='$CPP $CPPFLAGS'
23019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
23028 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
23030 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
23031 for ac_func in frexpf
23032 do :
23033 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
23034 if test "x$ac_cv_func_frexpf" = x""yes; then :
23035 cat >>confdefs.h <<_ACEOF
23036 #define HAVE_FREXPF 1
23037 _ACEOF
23040 done
23042 else
23044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
23045 $as_echo_n "checking for _frexpf declaration... " >&6; }
23046 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
23047 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
23048 $as_echo_n "(cached) " >&6
23049 else
23052 ac_ext=cpp
23053 ac_cpp='$CXXCPP $CPPFLAGS'
23054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23059 /* end confdefs.h. */
23060 #include <math.h>
23062 main ()
23064 _frexpf(0, 0);
23066 return 0;
23068 _ACEOF
23069 if ac_fn_cxx_try_compile "$LINENO"; then :
23070 glibcxx_cv_func__frexpf_use=yes
23071 else
23072 glibcxx_cv_func__frexpf_use=no
23074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23075 ac_ext=c
23076 ac_cpp='$CPP $CPPFLAGS'
23077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
23086 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
23088 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
23089 for ac_func in _frexpf
23090 do :
23091 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
23092 if test "x$ac_cv_func__frexpf" = x""yes; then :
23093 cat >>confdefs.h <<_ACEOF
23094 #define HAVE__FREXPF 1
23095 _ACEOF
23098 done
23107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
23108 $as_echo_n "checking for hypotf declaration... " >&6; }
23109 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
23110 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
23111 $as_echo_n "(cached) " >&6
23112 else
23115 ac_ext=cpp
23116 ac_cpp='$CXXCPP $CPPFLAGS'
23117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23122 /* end confdefs.h. */
23123 #include <math.h>
23125 main ()
23127 hypotf(0, 0);
23129 return 0;
23131 _ACEOF
23132 if ac_fn_cxx_try_compile "$LINENO"; then :
23133 glibcxx_cv_func_hypotf_use=yes
23134 else
23135 glibcxx_cv_func_hypotf_use=no
23137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23138 ac_ext=c
23139 ac_cpp='$CPP $CPPFLAGS'
23140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
23149 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
23151 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
23152 for ac_func in hypotf
23153 do :
23154 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
23155 if test "x$ac_cv_func_hypotf" = x""yes; then :
23156 cat >>confdefs.h <<_ACEOF
23157 #define HAVE_HYPOTF 1
23158 _ACEOF
23161 done
23163 else
23165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
23166 $as_echo_n "checking for _hypotf declaration... " >&6; }
23167 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
23168 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
23169 $as_echo_n "(cached) " >&6
23170 else
23173 ac_ext=cpp
23174 ac_cpp='$CXXCPP $CPPFLAGS'
23175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23180 /* end confdefs.h. */
23181 #include <math.h>
23183 main ()
23185 _hypotf(0, 0);
23187 return 0;
23189 _ACEOF
23190 if ac_fn_cxx_try_compile "$LINENO"; then :
23191 glibcxx_cv_func__hypotf_use=yes
23192 else
23193 glibcxx_cv_func__hypotf_use=no
23195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23196 ac_ext=c
23197 ac_cpp='$CPP $CPPFLAGS'
23198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
23207 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
23209 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
23210 for ac_func in _hypotf
23211 do :
23212 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
23213 if test "x$ac_cv_func__hypotf" = x""yes; then :
23214 cat >>confdefs.h <<_ACEOF
23215 #define HAVE__HYPOTF 1
23216 _ACEOF
23219 done
23228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
23229 $as_echo_n "checking for ldexpf declaration... " >&6; }
23230 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
23231 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
23232 $as_echo_n "(cached) " >&6
23233 else
23236 ac_ext=cpp
23237 ac_cpp='$CXXCPP $CPPFLAGS'
23238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23243 /* end confdefs.h. */
23244 #include <math.h>
23246 main ()
23248 ldexpf(0, 0);
23250 return 0;
23252 _ACEOF
23253 if ac_fn_cxx_try_compile "$LINENO"; then :
23254 glibcxx_cv_func_ldexpf_use=yes
23255 else
23256 glibcxx_cv_func_ldexpf_use=no
23258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23259 ac_ext=c
23260 ac_cpp='$CPP $CPPFLAGS'
23261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
23270 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
23272 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
23273 for ac_func in ldexpf
23274 do :
23275 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
23276 if test "x$ac_cv_func_ldexpf" = x""yes; then :
23277 cat >>confdefs.h <<_ACEOF
23278 #define HAVE_LDEXPF 1
23279 _ACEOF
23282 done
23284 else
23286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
23287 $as_echo_n "checking for _ldexpf declaration... " >&6; }
23288 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
23289 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
23290 $as_echo_n "(cached) " >&6
23291 else
23294 ac_ext=cpp
23295 ac_cpp='$CXXCPP $CPPFLAGS'
23296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23301 /* end confdefs.h. */
23302 #include <math.h>
23304 main ()
23306 _ldexpf(0, 0);
23308 return 0;
23310 _ACEOF
23311 if ac_fn_cxx_try_compile "$LINENO"; then :
23312 glibcxx_cv_func__ldexpf_use=yes
23313 else
23314 glibcxx_cv_func__ldexpf_use=no
23316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23317 ac_ext=c
23318 ac_cpp='$CPP $CPPFLAGS'
23319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
23328 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
23330 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
23331 for ac_func in _ldexpf
23332 do :
23333 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
23334 if test "x$ac_cv_func__ldexpf" = x""yes; then :
23335 cat >>confdefs.h <<_ACEOF
23336 #define HAVE__LDEXPF 1
23337 _ACEOF
23340 done
23349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
23350 $as_echo_n "checking for logf declaration... " >&6; }
23351 if test x${glibcxx_cv_func_logf_use+set} != xset; then
23352 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
23353 $as_echo_n "(cached) " >&6
23354 else
23357 ac_ext=cpp
23358 ac_cpp='$CXXCPP $CPPFLAGS'
23359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23364 /* end confdefs.h. */
23365 #include <math.h>
23366 #ifdef HAVE_IEEEFP_H
23367 #include <ieeefp.h>
23368 #endif
23371 main ()
23373 logf(0);
23375 return 0;
23377 _ACEOF
23378 if ac_fn_cxx_try_compile "$LINENO"; then :
23379 glibcxx_cv_func_logf_use=yes
23380 else
23381 glibcxx_cv_func_logf_use=no
23383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23384 ac_ext=c
23385 ac_cpp='$CPP $CPPFLAGS'
23386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
23395 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
23397 if test x$glibcxx_cv_func_logf_use = x"yes"; then
23398 for ac_func in logf
23399 do :
23400 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
23401 if test "x$ac_cv_func_logf" = x""yes; then :
23402 cat >>confdefs.h <<_ACEOF
23403 #define HAVE_LOGF 1
23404 _ACEOF
23407 done
23409 else
23411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
23412 $as_echo_n "checking for _logf declaration... " >&6; }
23413 if test x${glibcxx_cv_func__logf_use+set} != xset; then
23414 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
23415 $as_echo_n "(cached) " >&6
23416 else
23419 ac_ext=cpp
23420 ac_cpp='$CXXCPP $CPPFLAGS'
23421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23426 /* end confdefs.h. */
23427 #include <math.h>
23428 #ifdef HAVE_IEEEFP_H
23429 #include <ieeefp.h>
23430 #endif
23433 main ()
23435 _logf(0);
23437 return 0;
23439 _ACEOF
23440 if ac_fn_cxx_try_compile "$LINENO"; then :
23441 glibcxx_cv_func__logf_use=yes
23442 else
23443 glibcxx_cv_func__logf_use=no
23445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23446 ac_ext=c
23447 ac_cpp='$CPP $CPPFLAGS'
23448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
23457 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
23459 if test x$glibcxx_cv_func__logf_use = x"yes"; then
23460 for ac_func in _logf
23461 do :
23462 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
23463 if test "x$ac_cv_func__logf" = x""yes; then :
23464 cat >>confdefs.h <<_ACEOF
23465 #define HAVE__LOGF 1
23466 _ACEOF
23469 done
23478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
23479 $as_echo_n "checking for log10f declaration... " >&6; }
23480 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
23481 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
23482 $as_echo_n "(cached) " >&6
23483 else
23486 ac_ext=cpp
23487 ac_cpp='$CXXCPP $CPPFLAGS'
23488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23493 /* end confdefs.h. */
23494 #include <math.h>
23495 #ifdef HAVE_IEEEFP_H
23496 #include <ieeefp.h>
23497 #endif
23500 main ()
23502 log10f(0);
23504 return 0;
23506 _ACEOF
23507 if ac_fn_cxx_try_compile "$LINENO"; then :
23508 glibcxx_cv_func_log10f_use=yes
23509 else
23510 glibcxx_cv_func_log10f_use=no
23512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23513 ac_ext=c
23514 ac_cpp='$CPP $CPPFLAGS'
23515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
23524 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
23526 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
23527 for ac_func in log10f
23528 do :
23529 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
23530 if test "x$ac_cv_func_log10f" = x""yes; then :
23531 cat >>confdefs.h <<_ACEOF
23532 #define HAVE_LOG10F 1
23533 _ACEOF
23536 done
23538 else
23540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
23541 $as_echo_n "checking for _log10f declaration... " >&6; }
23542 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
23543 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
23544 $as_echo_n "(cached) " >&6
23545 else
23548 ac_ext=cpp
23549 ac_cpp='$CXXCPP $CPPFLAGS'
23550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23555 /* end confdefs.h. */
23556 #include <math.h>
23557 #ifdef HAVE_IEEEFP_H
23558 #include <ieeefp.h>
23559 #endif
23562 main ()
23564 _log10f(0);
23566 return 0;
23568 _ACEOF
23569 if ac_fn_cxx_try_compile "$LINENO"; then :
23570 glibcxx_cv_func__log10f_use=yes
23571 else
23572 glibcxx_cv_func__log10f_use=no
23574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23575 ac_ext=c
23576 ac_cpp='$CPP $CPPFLAGS'
23577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
23586 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
23588 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
23589 for ac_func in _log10f
23590 do :
23591 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
23592 if test "x$ac_cv_func__log10f" = x""yes; then :
23593 cat >>confdefs.h <<_ACEOF
23594 #define HAVE__LOG10F 1
23595 _ACEOF
23598 done
23607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
23608 $as_echo_n "checking for modff declaration... " >&6; }
23609 if test x${glibcxx_cv_func_modff_use+set} != xset; then
23610 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
23611 $as_echo_n "(cached) " >&6
23612 else
23615 ac_ext=cpp
23616 ac_cpp='$CXXCPP $CPPFLAGS'
23617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23622 /* end confdefs.h. */
23623 #include <math.h>
23625 main ()
23627 modff(0, 0);
23629 return 0;
23631 _ACEOF
23632 if ac_fn_cxx_try_compile "$LINENO"; then :
23633 glibcxx_cv_func_modff_use=yes
23634 else
23635 glibcxx_cv_func_modff_use=no
23637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23638 ac_ext=c
23639 ac_cpp='$CPP $CPPFLAGS'
23640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
23649 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
23651 if test x$glibcxx_cv_func_modff_use = x"yes"; then
23652 for ac_func in modff
23653 do :
23654 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
23655 if test "x$ac_cv_func_modff" = x""yes; then :
23656 cat >>confdefs.h <<_ACEOF
23657 #define HAVE_MODFF 1
23658 _ACEOF
23661 done
23663 else
23665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
23666 $as_echo_n "checking for _modff declaration... " >&6; }
23667 if test x${glibcxx_cv_func__modff_use+set} != xset; then
23668 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
23669 $as_echo_n "(cached) " >&6
23670 else
23673 ac_ext=cpp
23674 ac_cpp='$CXXCPP $CPPFLAGS'
23675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23680 /* end confdefs.h. */
23681 #include <math.h>
23683 main ()
23685 _modff(0, 0);
23687 return 0;
23689 _ACEOF
23690 if ac_fn_cxx_try_compile "$LINENO"; then :
23691 glibcxx_cv_func__modff_use=yes
23692 else
23693 glibcxx_cv_func__modff_use=no
23695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23696 ac_ext=c
23697 ac_cpp='$CPP $CPPFLAGS'
23698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
23707 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
23709 if test x$glibcxx_cv_func__modff_use = x"yes"; then
23710 for ac_func in _modff
23711 do :
23712 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
23713 if test "x$ac_cv_func__modff" = x""yes; then :
23714 cat >>confdefs.h <<_ACEOF
23715 #define HAVE__MODFF 1
23716 _ACEOF
23719 done
23728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
23729 $as_echo_n "checking for modf declaration... " >&6; }
23730 if test x${glibcxx_cv_func_modf_use+set} != xset; then
23731 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
23732 $as_echo_n "(cached) " >&6
23733 else
23736 ac_ext=cpp
23737 ac_cpp='$CXXCPP $CPPFLAGS'
23738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23743 /* end confdefs.h. */
23744 #include <math.h>
23746 main ()
23748 modf(0, 0);
23750 return 0;
23752 _ACEOF
23753 if ac_fn_cxx_try_compile "$LINENO"; then :
23754 glibcxx_cv_func_modf_use=yes
23755 else
23756 glibcxx_cv_func_modf_use=no
23758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23759 ac_ext=c
23760 ac_cpp='$CPP $CPPFLAGS'
23761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
23770 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
23772 if test x$glibcxx_cv_func_modf_use = x"yes"; then
23773 for ac_func in modf
23774 do :
23775 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
23776 if test "x$ac_cv_func_modf" = x""yes; then :
23777 cat >>confdefs.h <<_ACEOF
23778 #define HAVE_MODF 1
23779 _ACEOF
23782 done
23784 else
23786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
23787 $as_echo_n "checking for _modf declaration... " >&6; }
23788 if test x${glibcxx_cv_func__modf_use+set} != xset; then
23789 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
23790 $as_echo_n "(cached) " >&6
23791 else
23794 ac_ext=cpp
23795 ac_cpp='$CXXCPP $CPPFLAGS'
23796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23801 /* end confdefs.h. */
23802 #include <math.h>
23804 main ()
23806 _modf(0, 0);
23808 return 0;
23810 _ACEOF
23811 if ac_fn_cxx_try_compile "$LINENO"; then :
23812 glibcxx_cv_func__modf_use=yes
23813 else
23814 glibcxx_cv_func__modf_use=no
23816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23817 ac_ext=c
23818 ac_cpp='$CPP $CPPFLAGS'
23819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
23828 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
23830 if test x$glibcxx_cv_func__modf_use = x"yes"; then
23831 for ac_func in _modf
23832 do :
23833 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
23834 if test "x$ac_cv_func__modf" = x""yes; then :
23835 cat >>confdefs.h <<_ACEOF
23836 #define HAVE__MODF 1
23837 _ACEOF
23840 done
23849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
23850 $as_echo_n "checking for powf declaration... " >&6; }
23851 if test x${glibcxx_cv_func_powf_use+set} != xset; then
23852 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
23853 $as_echo_n "(cached) " >&6
23854 else
23857 ac_ext=cpp
23858 ac_cpp='$CXXCPP $CPPFLAGS'
23859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23864 /* end confdefs.h. */
23865 #include <math.h>
23867 main ()
23869 powf(0, 0);
23871 return 0;
23873 _ACEOF
23874 if ac_fn_cxx_try_compile "$LINENO"; then :
23875 glibcxx_cv_func_powf_use=yes
23876 else
23877 glibcxx_cv_func_powf_use=no
23879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23880 ac_ext=c
23881 ac_cpp='$CPP $CPPFLAGS'
23882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
23891 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
23893 if test x$glibcxx_cv_func_powf_use = x"yes"; then
23894 for ac_func in powf
23895 do :
23896 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
23897 if test "x$ac_cv_func_powf" = x""yes; then :
23898 cat >>confdefs.h <<_ACEOF
23899 #define HAVE_POWF 1
23900 _ACEOF
23903 done
23905 else
23907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
23908 $as_echo_n "checking for _powf declaration... " >&6; }
23909 if test x${glibcxx_cv_func__powf_use+set} != xset; then
23910 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
23911 $as_echo_n "(cached) " >&6
23912 else
23915 ac_ext=cpp
23916 ac_cpp='$CXXCPP $CPPFLAGS'
23917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23922 /* end confdefs.h. */
23923 #include <math.h>
23925 main ()
23927 _powf(0, 0);
23929 return 0;
23931 _ACEOF
23932 if ac_fn_cxx_try_compile "$LINENO"; then :
23933 glibcxx_cv_func__powf_use=yes
23934 else
23935 glibcxx_cv_func__powf_use=no
23937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23938 ac_ext=c
23939 ac_cpp='$CPP $CPPFLAGS'
23940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
23949 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
23951 if test x$glibcxx_cv_func__powf_use = x"yes"; then
23952 for ac_func in _powf
23953 do :
23954 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
23955 if test "x$ac_cv_func__powf" = x""yes; then :
23956 cat >>confdefs.h <<_ACEOF
23957 #define HAVE__POWF 1
23958 _ACEOF
23961 done
23970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
23971 $as_echo_n "checking for sqrtf declaration... " >&6; }
23972 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
23973 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
23974 $as_echo_n "(cached) " >&6
23975 else
23978 ac_ext=cpp
23979 ac_cpp='$CXXCPP $CPPFLAGS'
23980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23985 /* end confdefs.h. */
23986 #include <math.h>
23987 #ifdef HAVE_IEEEFP_H
23988 #include <ieeefp.h>
23989 #endif
23992 main ()
23994 sqrtf(0);
23996 return 0;
23998 _ACEOF
23999 if ac_fn_cxx_try_compile "$LINENO"; then :
24000 glibcxx_cv_func_sqrtf_use=yes
24001 else
24002 glibcxx_cv_func_sqrtf_use=no
24004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24005 ac_ext=c
24006 ac_cpp='$CPP $CPPFLAGS'
24007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
24016 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
24018 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
24019 for ac_func in sqrtf
24020 do :
24021 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
24022 if test "x$ac_cv_func_sqrtf" = x""yes; then :
24023 cat >>confdefs.h <<_ACEOF
24024 #define HAVE_SQRTF 1
24025 _ACEOF
24028 done
24030 else
24032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
24033 $as_echo_n "checking for _sqrtf declaration... " >&6; }
24034 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
24035 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
24036 $as_echo_n "(cached) " >&6
24037 else
24040 ac_ext=cpp
24041 ac_cpp='$CXXCPP $CPPFLAGS'
24042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24047 /* end confdefs.h. */
24048 #include <math.h>
24049 #ifdef HAVE_IEEEFP_H
24050 #include <ieeefp.h>
24051 #endif
24054 main ()
24056 _sqrtf(0);
24058 return 0;
24060 _ACEOF
24061 if ac_fn_cxx_try_compile "$LINENO"; then :
24062 glibcxx_cv_func__sqrtf_use=yes
24063 else
24064 glibcxx_cv_func__sqrtf_use=no
24066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24067 ac_ext=c
24068 ac_cpp='$CPP $CPPFLAGS'
24069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
24078 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
24080 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
24081 for ac_func in _sqrtf
24082 do :
24083 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
24084 if test "x$ac_cv_func__sqrtf" = x""yes; then :
24085 cat >>confdefs.h <<_ACEOF
24086 #define HAVE__SQRTF 1
24087 _ACEOF
24090 done
24099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
24100 $as_echo_n "checking for sincosf declaration... " >&6; }
24101 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
24102 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
24103 $as_echo_n "(cached) " >&6
24104 else
24107 ac_ext=cpp
24108 ac_cpp='$CXXCPP $CPPFLAGS'
24109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24114 /* end confdefs.h. */
24115 #include <math.h>
24117 main ()
24119 sincosf(0, 0, 0);
24121 return 0;
24123 _ACEOF
24124 if ac_fn_cxx_try_compile "$LINENO"; then :
24125 glibcxx_cv_func_sincosf_use=yes
24126 else
24127 glibcxx_cv_func_sincosf_use=no
24129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24130 ac_ext=c
24131 ac_cpp='$CPP $CPPFLAGS'
24132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
24141 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
24143 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
24144 for ac_func in sincosf
24145 do :
24146 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
24147 if test "x$ac_cv_func_sincosf" = x""yes; then :
24148 cat >>confdefs.h <<_ACEOF
24149 #define HAVE_SINCOSF 1
24150 _ACEOF
24153 done
24155 else
24157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
24158 $as_echo_n "checking for _sincosf declaration... " >&6; }
24159 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
24160 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
24161 $as_echo_n "(cached) " >&6
24162 else
24165 ac_ext=cpp
24166 ac_cpp='$CXXCPP $CPPFLAGS'
24167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24172 /* end confdefs.h. */
24173 #include <math.h>
24175 main ()
24177 _sincosf(0, 0, 0);
24179 return 0;
24181 _ACEOF
24182 if ac_fn_cxx_try_compile "$LINENO"; then :
24183 glibcxx_cv_func__sincosf_use=yes
24184 else
24185 glibcxx_cv_func__sincosf_use=no
24187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24188 ac_ext=c
24189 ac_cpp='$CPP $CPPFLAGS'
24190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
24199 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
24201 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
24202 for ac_func in _sincosf
24203 do :
24204 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
24205 if test "x$ac_cv_func__sincosf" = x""yes; then :
24206 cat >>confdefs.h <<_ACEOF
24207 #define HAVE__SINCOSF 1
24208 _ACEOF
24211 done
24220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
24221 $as_echo_n "checking for finitef declaration... " >&6; }
24222 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
24223 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
24224 $as_echo_n "(cached) " >&6
24225 else
24228 ac_ext=cpp
24229 ac_cpp='$CXXCPP $CPPFLAGS'
24230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24235 /* end confdefs.h. */
24236 #include <math.h>
24237 #ifdef HAVE_IEEEFP_H
24238 #include <ieeefp.h>
24239 #endif
24242 main ()
24244 finitef(0);
24246 return 0;
24248 _ACEOF
24249 if ac_fn_cxx_try_compile "$LINENO"; then :
24250 glibcxx_cv_func_finitef_use=yes
24251 else
24252 glibcxx_cv_func_finitef_use=no
24254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24255 ac_ext=c
24256 ac_cpp='$CPP $CPPFLAGS'
24257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
24266 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
24268 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
24269 for ac_func in finitef
24270 do :
24271 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
24272 if test "x$ac_cv_func_finitef" = x""yes; then :
24273 cat >>confdefs.h <<_ACEOF
24274 #define HAVE_FINITEF 1
24275 _ACEOF
24278 done
24280 else
24282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
24283 $as_echo_n "checking for _finitef declaration... " >&6; }
24284 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
24285 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
24286 $as_echo_n "(cached) " >&6
24287 else
24290 ac_ext=cpp
24291 ac_cpp='$CXXCPP $CPPFLAGS'
24292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24297 /* end confdefs.h. */
24298 #include <math.h>
24299 #ifdef HAVE_IEEEFP_H
24300 #include <ieeefp.h>
24301 #endif
24304 main ()
24306 _finitef(0);
24308 return 0;
24310 _ACEOF
24311 if ac_fn_cxx_try_compile "$LINENO"; then :
24312 glibcxx_cv_func__finitef_use=yes
24313 else
24314 glibcxx_cv_func__finitef_use=no
24316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24317 ac_ext=c
24318 ac_cpp='$CPP $CPPFLAGS'
24319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
24328 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
24330 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
24331 for ac_func in _finitef
24332 do :
24333 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
24334 if test "x$ac_cv_func__finitef" = x""yes; then :
24335 cat >>confdefs.h <<_ACEOF
24336 #define HAVE__FINITEF 1
24337 _ACEOF
24340 done
24349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
24350 $as_echo_n "checking for long double trig functions... " >&6; }
24351 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
24352 $as_echo_n "(cached) " >&6
24353 else
24356 ac_ext=cpp
24357 ac_cpp='$CXXCPP $CPPFLAGS'
24358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24363 /* end confdefs.h. */
24364 #include <math.h>
24366 main ()
24368 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
24370 return 0;
24372 _ACEOF
24373 if ac_fn_cxx_try_compile "$LINENO"; then :
24374 glibcxx_cv_func_long_double_trig_use=yes
24375 else
24376 glibcxx_cv_func_long_double_trig_use=no
24378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24379 ac_ext=c
24380 ac_cpp='$CPP $CPPFLAGS'
24381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
24388 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
24389 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
24390 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
24391 do :
24392 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24393 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24394 eval as_val=\$$as_ac_var
24395 if test "x$as_val" = x""yes; then :
24396 cat >>confdefs.h <<_ACEOF
24397 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24398 _ACEOF
24401 done
24403 else
24404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
24405 $as_echo_n "checking for _long double trig functions... " >&6; }
24406 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
24407 $as_echo_n "(cached) " >&6
24408 else
24411 ac_ext=cpp
24412 ac_cpp='$CXXCPP $CPPFLAGS'
24413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24418 /* end confdefs.h. */
24419 #include <math.h>
24421 main ()
24423 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
24425 return 0;
24427 _ACEOF
24428 if ac_fn_cxx_try_compile "$LINENO"; then :
24429 glibcxx_cv_func__long_double_trig_use=yes
24430 else
24431 glibcxx_cv_func__long_double_trig_use=no
24433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24434 ac_ext=c
24435 ac_cpp='$CPP $CPPFLAGS'
24436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
24443 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
24444 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
24445 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
24446 do :
24447 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24448 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24449 eval as_val=\$$as_ac_var
24450 if test "x$as_val" = x""yes; then :
24451 cat >>confdefs.h <<_ACEOF
24452 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24453 _ACEOF
24456 done
24465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
24466 $as_echo_n "checking for long double round functions... " >&6; }
24467 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
24468 $as_echo_n "(cached) " >&6
24469 else
24472 ac_ext=cpp
24473 ac_cpp='$CXXCPP $CPPFLAGS'
24474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24479 /* end confdefs.h. */
24480 #include <math.h>
24482 main ()
24484 ceill (0); floorl (0);
24486 return 0;
24488 _ACEOF
24489 if ac_fn_cxx_try_compile "$LINENO"; then :
24490 glibcxx_cv_func_long_double_round_use=yes
24491 else
24492 glibcxx_cv_func_long_double_round_use=no
24494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24495 ac_ext=c
24496 ac_cpp='$CPP $CPPFLAGS'
24497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
24504 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
24505 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
24506 for ac_func in ceill floorl
24507 do :
24508 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24509 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24510 eval as_val=\$$as_ac_var
24511 if test "x$as_val" = x""yes; then :
24512 cat >>confdefs.h <<_ACEOF
24513 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24514 _ACEOF
24517 done
24519 else
24520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
24521 $as_echo_n "checking for _long double round functions... " >&6; }
24522 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
24523 $as_echo_n "(cached) " >&6
24524 else
24527 ac_ext=cpp
24528 ac_cpp='$CXXCPP $CPPFLAGS'
24529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24534 /* end confdefs.h. */
24535 #include <math.h>
24537 main ()
24539 _ceill (0); _floorl (0);
24541 return 0;
24543 _ACEOF
24544 if ac_fn_cxx_try_compile "$LINENO"; then :
24545 glibcxx_cv_func__long_double_round_use=yes
24546 else
24547 glibcxx_cv_func__long_double_round_use=no
24549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24550 ac_ext=c
24551 ac_cpp='$CPP $CPPFLAGS'
24552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
24559 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
24560 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
24561 for ac_func in _ceill _floorl
24562 do :
24563 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24564 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24565 eval as_val=\$$as_ac_var
24566 if test "x$as_val" = x""yes; then :
24567 cat >>confdefs.h <<_ACEOF
24568 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24569 _ACEOF
24572 done
24582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
24583 $as_echo_n "checking for isnanl declaration... " >&6; }
24584 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
24585 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
24586 $as_echo_n "(cached) " >&6
24587 else
24590 ac_ext=cpp
24591 ac_cpp='$CXXCPP $CPPFLAGS'
24592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24597 /* end confdefs.h. */
24598 #include <math.h>
24599 #ifdef HAVE_IEEEFP_H
24600 #include <ieeefp.h>
24601 #endif
24604 main ()
24606 isnanl(0);
24608 return 0;
24610 _ACEOF
24611 if ac_fn_cxx_try_compile "$LINENO"; then :
24612 glibcxx_cv_func_isnanl_use=yes
24613 else
24614 glibcxx_cv_func_isnanl_use=no
24616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24617 ac_ext=c
24618 ac_cpp='$CPP $CPPFLAGS'
24619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
24628 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
24630 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
24631 for ac_func in isnanl
24632 do :
24633 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
24634 if test "x$ac_cv_func_isnanl" = x""yes; then :
24635 cat >>confdefs.h <<_ACEOF
24636 #define HAVE_ISNANL 1
24637 _ACEOF
24640 done
24642 else
24644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
24645 $as_echo_n "checking for _isnanl declaration... " >&6; }
24646 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
24647 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
24648 $as_echo_n "(cached) " >&6
24649 else
24652 ac_ext=cpp
24653 ac_cpp='$CXXCPP $CPPFLAGS'
24654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24659 /* end confdefs.h. */
24660 #include <math.h>
24661 #ifdef HAVE_IEEEFP_H
24662 #include <ieeefp.h>
24663 #endif
24666 main ()
24668 _isnanl(0);
24670 return 0;
24672 _ACEOF
24673 if ac_fn_cxx_try_compile "$LINENO"; then :
24674 glibcxx_cv_func__isnanl_use=yes
24675 else
24676 glibcxx_cv_func__isnanl_use=no
24678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24679 ac_ext=c
24680 ac_cpp='$CPP $CPPFLAGS'
24681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
24690 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
24692 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
24693 for ac_func in _isnanl
24694 do :
24695 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
24696 if test "x$ac_cv_func__isnanl" = x""yes; then :
24697 cat >>confdefs.h <<_ACEOF
24698 #define HAVE__ISNANL 1
24699 _ACEOF
24702 done
24711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
24712 $as_echo_n "checking for isinfl declaration... " >&6; }
24713 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
24714 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
24715 $as_echo_n "(cached) " >&6
24716 else
24719 ac_ext=cpp
24720 ac_cpp='$CXXCPP $CPPFLAGS'
24721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24726 /* end confdefs.h. */
24727 #include <math.h>
24728 #ifdef HAVE_IEEEFP_H
24729 #include <ieeefp.h>
24730 #endif
24733 main ()
24735 isinfl(0);
24737 return 0;
24739 _ACEOF
24740 if ac_fn_cxx_try_compile "$LINENO"; then :
24741 glibcxx_cv_func_isinfl_use=yes
24742 else
24743 glibcxx_cv_func_isinfl_use=no
24745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24746 ac_ext=c
24747 ac_cpp='$CPP $CPPFLAGS'
24748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
24757 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
24759 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
24760 for ac_func in isinfl
24761 do :
24762 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
24763 if test "x$ac_cv_func_isinfl" = x""yes; then :
24764 cat >>confdefs.h <<_ACEOF
24765 #define HAVE_ISINFL 1
24766 _ACEOF
24769 done
24771 else
24773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
24774 $as_echo_n "checking for _isinfl declaration... " >&6; }
24775 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
24776 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
24777 $as_echo_n "(cached) " >&6
24778 else
24781 ac_ext=cpp
24782 ac_cpp='$CXXCPP $CPPFLAGS'
24783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24788 /* end confdefs.h. */
24789 #include <math.h>
24790 #ifdef HAVE_IEEEFP_H
24791 #include <ieeefp.h>
24792 #endif
24795 main ()
24797 _isinfl(0);
24799 return 0;
24801 _ACEOF
24802 if ac_fn_cxx_try_compile "$LINENO"; then :
24803 glibcxx_cv_func__isinfl_use=yes
24804 else
24805 glibcxx_cv_func__isinfl_use=no
24807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24808 ac_ext=c
24809 ac_cpp='$CPP $CPPFLAGS'
24810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
24819 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
24821 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
24822 for ac_func in _isinfl
24823 do :
24824 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
24825 if test "x$ac_cv_func__isinfl" = x""yes; then :
24826 cat >>confdefs.h <<_ACEOF
24827 #define HAVE__ISINFL 1
24828 _ACEOF
24831 done
24840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
24841 $as_echo_n "checking for atan2l declaration... " >&6; }
24842 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
24843 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
24844 $as_echo_n "(cached) " >&6
24845 else
24848 ac_ext=cpp
24849 ac_cpp='$CXXCPP $CPPFLAGS'
24850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24855 /* end confdefs.h. */
24856 #include <math.h>
24858 main ()
24860 atan2l(0, 0);
24862 return 0;
24864 _ACEOF
24865 if ac_fn_cxx_try_compile "$LINENO"; then :
24866 glibcxx_cv_func_atan2l_use=yes
24867 else
24868 glibcxx_cv_func_atan2l_use=no
24870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24871 ac_ext=c
24872 ac_cpp='$CPP $CPPFLAGS'
24873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
24882 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
24884 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
24885 for ac_func in atan2l
24886 do :
24887 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
24888 if test "x$ac_cv_func_atan2l" = x""yes; then :
24889 cat >>confdefs.h <<_ACEOF
24890 #define HAVE_ATAN2L 1
24891 _ACEOF
24894 done
24896 else
24898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
24899 $as_echo_n "checking for _atan2l declaration... " >&6; }
24900 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
24901 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
24902 $as_echo_n "(cached) " >&6
24903 else
24906 ac_ext=cpp
24907 ac_cpp='$CXXCPP $CPPFLAGS'
24908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24913 /* end confdefs.h. */
24914 #include <math.h>
24916 main ()
24918 _atan2l(0, 0);
24920 return 0;
24922 _ACEOF
24923 if ac_fn_cxx_try_compile "$LINENO"; then :
24924 glibcxx_cv_func__atan2l_use=yes
24925 else
24926 glibcxx_cv_func__atan2l_use=no
24928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24929 ac_ext=c
24930 ac_cpp='$CPP $CPPFLAGS'
24931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
24940 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
24942 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
24943 for ac_func in _atan2l
24944 do :
24945 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
24946 if test "x$ac_cv_func__atan2l" = x""yes; then :
24947 cat >>confdefs.h <<_ACEOF
24948 #define HAVE__ATAN2L 1
24949 _ACEOF
24952 done
24961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
24962 $as_echo_n "checking for expl declaration... " >&6; }
24963 if test x${glibcxx_cv_func_expl_use+set} != xset; then
24964 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
24965 $as_echo_n "(cached) " >&6
24966 else
24969 ac_ext=cpp
24970 ac_cpp='$CXXCPP $CPPFLAGS'
24971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24976 /* end confdefs.h. */
24977 #include <math.h>
24978 #ifdef HAVE_IEEEFP_H
24979 #include <ieeefp.h>
24980 #endif
24983 main ()
24985 expl(0);
24987 return 0;
24989 _ACEOF
24990 if ac_fn_cxx_try_compile "$LINENO"; then :
24991 glibcxx_cv_func_expl_use=yes
24992 else
24993 glibcxx_cv_func_expl_use=no
24995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24996 ac_ext=c
24997 ac_cpp='$CPP $CPPFLAGS'
24998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
25007 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
25009 if test x$glibcxx_cv_func_expl_use = x"yes"; then
25010 for ac_func in expl
25011 do :
25012 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
25013 if test "x$ac_cv_func_expl" = x""yes; then :
25014 cat >>confdefs.h <<_ACEOF
25015 #define HAVE_EXPL 1
25016 _ACEOF
25019 done
25021 else
25023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
25024 $as_echo_n "checking for _expl declaration... " >&6; }
25025 if test x${glibcxx_cv_func__expl_use+set} != xset; then
25026 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
25027 $as_echo_n "(cached) " >&6
25028 else
25031 ac_ext=cpp
25032 ac_cpp='$CXXCPP $CPPFLAGS'
25033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25038 /* end confdefs.h. */
25039 #include <math.h>
25040 #ifdef HAVE_IEEEFP_H
25041 #include <ieeefp.h>
25042 #endif
25045 main ()
25047 _expl(0);
25049 return 0;
25051 _ACEOF
25052 if ac_fn_cxx_try_compile "$LINENO"; then :
25053 glibcxx_cv_func__expl_use=yes
25054 else
25055 glibcxx_cv_func__expl_use=no
25057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25058 ac_ext=c
25059 ac_cpp='$CPP $CPPFLAGS'
25060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
25069 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
25071 if test x$glibcxx_cv_func__expl_use = x"yes"; then
25072 for ac_func in _expl
25073 do :
25074 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
25075 if test "x$ac_cv_func__expl" = x""yes; then :
25076 cat >>confdefs.h <<_ACEOF
25077 #define HAVE__EXPL 1
25078 _ACEOF
25081 done
25090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
25091 $as_echo_n "checking for fabsl declaration... " >&6; }
25092 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
25093 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
25094 $as_echo_n "(cached) " >&6
25095 else
25098 ac_ext=cpp
25099 ac_cpp='$CXXCPP $CPPFLAGS'
25100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25105 /* end confdefs.h. */
25106 #include <math.h>
25107 #ifdef HAVE_IEEEFP_H
25108 #include <ieeefp.h>
25109 #endif
25112 main ()
25114 fabsl(0);
25116 return 0;
25118 _ACEOF
25119 if ac_fn_cxx_try_compile "$LINENO"; then :
25120 glibcxx_cv_func_fabsl_use=yes
25121 else
25122 glibcxx_cv_func_fabsl_use=no
25124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25125 ac_ext=c
25126 ac_cpp='$CPP $CPPFLAGS'
25127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
25136 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
25138 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
25139 for ac_func in fabsl
25140 do :
25141 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
25142 if test "x$ac_cv_func_fabsl" = x""yes; then :
25143 cat >>confdefs.h <<_ACEOF
25144 #define HAVE_FABSL 1
25145 _ACEOF
25148 done
25150 else
25152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
25153 $as_echo_n "checking for _fabsl declaration... " >&6; }
25154 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
25155 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
25156 $as_echo_n "(cached) " >&6
25157 else
25160 ac_ext=cpp
25161 ac_cpp='$CXXCPP $CPPFLAGS'
25162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25167 /* end confdefs.h. */
25168 #include <math.h>
25169 #ifdef HAVE_IEEEFP_H
25170 #include <ieeefp.h>
25171 #endif
25174 main ()
25176 _fabsl(0);
25178 return 0;
25180 _ACEOF
25181 if ac_fn_cxx_try_compile "$LINENO"; then :
25182 glibcxx_cv_func__fabsl_use=yes
25183 else
25184 glibcxx_cv_func__fabsl_use=no
25186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25187 ac_ext=c
25188 ac_cpp='$CPP $CPPFLAGS'
25189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
25198 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
25200 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
25201 for ac_func in _fabsl
25202 do :
25203 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
25204 if test "x$ac_cv_func__fabsl" = x""yes; then :
25205 cat >>confdefs.h <<_ACEOF
25206 #define HAVE__FABSL 1
25207 _ACEOF
25210 done
25219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
25220 $as_echo_n "checking for fmodl declaration... " >&6; }
25221 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
25222 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
25223 $as_echo_n "(cached) " >&6
25224 else
25227 ac_ext=cpp
25228 ac_cpp='$CXXCPP $CPPFLAGS'
25229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25234 /* end confdefs.h. */
25235 #include <math.h>
25237 main ()
25239 fmodl(0, 0);
25241 return 0;
25243 _ACEOF
25244 if ac_fn_cxx_try_compile "$LINENO"; then :
25245 glibcxx_cv_func_fmodl_use=yes
25246 else
25247 glibcxx_cv_func_fmodl_use=no
25249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25250 ac_ext=c
25251 ac_cpp='$CPP $CPPFLAGS'
25252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
25261 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
25263 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
25264 for ac_func in fmodl
25265 do :
25266 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
25267 if test "x$ac_cv_func_fmodl" = x""yes; then :
25268 cat >>confdefs.h <<_ACEOF
25269 #define HAVE_FMODL 1
25270 _ACEOF
25273 done
25275 else
25277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
25278 $as_echo_n "checking for _fmodl declaration... " >&6; }
25279 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
25280 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
25281 $as_echo_n "(cached) " >&6
25282 else
25285 ac_ext=cpp
25286 ac_cpp='$CXXCPP $CPPFLAGS'
25287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25292 /* end confdefs.h. */
25293 #include <math.h>
25295 main ()
25297 _fmodl(0, 0);
25299 return 0;
25301 _ACEOF
25302 if ac_fn_cxx_try_compile "$LINENO"; then :
25303 glibcxx_cv_func__fmodl_use=yes
25304 else
25305 glibcxx_cv_func__fmodl_use=no
25307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25308 ac_ext=c
25309 ac_cpp='$CPP $CPPFLAGS'
25310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
25319 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
25321 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
25322 for ac_func in _fmodl
25323 do :
25324 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
25325 if test "x$ac_cv_func__fmodl" = x""yes; then :
25326 cat >>confdefs.h <<_ACEOF
25327 #define HAVE__FMODL 1
25328 _ACEOF
25331 done
25340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
25341 $as_echo_n "checking for frexpl declaration... " >&6; }
25342 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
25343 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
25344 $as_echo_n "(cached) " >&6
25345 else
25348 ac_ext=cpp
25349 ac_cpp='$CXXCPP $CPPFLAGS'
25350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25355 /* end confdefs.h. */
25356 #include <math.h>
25358 main ()
25360 frexpl(0, 0);
25362 return 0;
25364 _ACEOF
25365 if ac_fn_cxx_try_compile "$LINENO"; then :
25366 glibcxx_cv_func_frexpl_use=yes
25367 else
25368 glibcxx_cv_func_frexpl_use=no
25370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25371 ac_ext=c
25372 ac_cpp='$CPP $CPPFLAGS'
25373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
25382 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
25384 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
25385 for ac_func in frexpl
25386 do :
25387 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
25388 if test "x$ac_cv_func_frexpl" = x""yes; then :
25389 cat >>confdefs.h <<_ACEOF
25390 #define HAVE_FREXPL 1
25391 _ACEOF
25394 done
25396 else
25398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
25399 $as_echo_n "checking for _frexpl declaration... " >&6; }
25400 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
25401 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
25402 $as_echo_n "(cached) " >&6
25403 else
25406 ac_ext=cpp
25407 ac_cpp='$CXXCPP $CPPFLAGS'
25408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25413 /* end confdefs.h. */
25414 #include <math.h>
25416 main ()
25418 _frexpl(0, 0);
25420 return 0;
25422 _ACEOF
25423 if ac_fn_cxx_try_compile "$LINENO"; then :
25424 glibcxx_cv_func__frexpl_use=yes
25425 else
25426 glibcxx_cv_func__frexpl_use=no
25428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25429 ac_ext=c
25430 ac_cpp='$CPP $CPPFLAGS'
25431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
25440 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
25442 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
25443 for ac_func in _frexpl
25444 do :
25445 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
25446 if test "x$ac_cv_func__frexpl" = x""yes; then :
25447 cat >>confdefs.h <<_ACEOF
25448 #define HAVE__FREXPL 1
25449 _ACEOF
25452 done
25461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
25462 $as_echo_n "checking for hypotl declaration... " >&6; }
25463 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
25464 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
25465 $as_echo_n "(cached) " >&6
25466 else
25469 ac_ext=cpp
25470 ac_cpp='$CXXCPP $CPPFLAGS'
25471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25476 /* end confdefs.h. */
25477 #include <math.h>
25479 main ()
25481 hypotl(0, 0);
25483 return 0;
25485 _ACEOF
25486 if ac_fn_cxx_try_compile "$LINENO"; then :
25487 glibcxx_cv_func_hypotl_use=yes
25488 else
25489 glibcxx_cv_func_hypotl_use=no
25491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25492 ac_ext=c
25493 ac_cpp='$CPP $CPPFLAGS'
25494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
25503 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
25505 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
25506 for ac_func in hypotl
25507 do :
25508 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
25509 if test "x$ac_cv_func_hypotl" = x""yes; then :
25510 cat >>confdefs.h <<_ACEOF
25511 #define HAVE_HYPOTL 1
25512 _ACEOF
25515 done
25517 else
25519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
25520 $as_echo_n "checking for _hypotl declaration... " >&6; }
25521 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
25522 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
25523 $as_echo_n "(cached) " >&6
25524 else
25527 ac_ext=cpp
25528 ac_cpp='$CXXCPP $CPPFLAGS'
25529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25534 /* end confdefs.h. */
25535 #include <math.h>
25537 main ()
25539 _hypotl(0, 0);
25541 return 0;
25543 _ACEOF
25544 if ac_fn_cxx_try_compile "$LINENO"; then :
25545 glibcxx_cv_func__hypotl_use=yes
25546 else
25547 glibcxx_cv_func__hypotl_use=no
25549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25550 ac_ext=c
25551 ac_cpp='$CPP $CPPFLAGS'
25552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
25561 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
25563 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
25564 for ac_func in _hypotl
25565 do :
25566 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
25567 if test "x$ac_cv_func__hypotl" = x""yes; then :
25568 cat >>confdefs.h <<_ACEOF
25569 #define HAVE__HYPOTL 1
25570 _ACEOF
25573 done
25582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
25583 $as_echo_n "checking for ldexpl declaration... " >&6; }
25584 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
25585 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
25586 $as_echo_n "(cached) " >&6
25587 else
25590 ac_ext=cpp
25591 ac_cpp='$CXXCPP $CPPFLAGS'
25592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25597 /* end confdefs.h. */
25598 #include <math.h>
25600 main ()
25602 ldexpl(0, 0);
25604 return 0;
25606 _ACEOF
25607 if ac_fn_cxx_try_compile "$LINENO"; then :
25608 glibcxx_cv_func_ldexpl_use=yes
25609 else
25610 glibcxx_cv_func_ldexpl_use=no
25612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25613 ac_ext=c
25614 ac_cpp='$CPP $CPPFLAGS'
25615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
25624 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
25626 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
25627 for ac_func in ldexpl
25628 do :
25629 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
25630 if test "x$ac_cv_func_ldexpl" = x""yes; then :
25631 cat >>confdefs.h <<_ACEOF
25632 #define HAVE_LDEXPL 1
25633 _ACEOF
25636 done
25638 else
25640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
25641 $as_echo_n "checking for _ldexpl declaration... " >&6; }
25642 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
25643 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
25644 $as_echo_n "(cached) " >&6
25645 else
25648 ac_ext=cpp
25649 ac_cpp='$CXXCPP $CPPFLAGS'
25650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25655 /* end confdefs.h. */
25656 #include <math.h>
25658 main ()
25660 _ldexpl(0, 0);
25662 return 0;
25664 _ACEOF
25665 if ac_fn_cxx_try_compile "$LINENO"; then :
25666 glibcxx_cv_func__ldexpl_use=yes
25667 else
25668 glibcxx_cv_func__ldexpl_use=no
25670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25671 ac_ext=c
25672 ac_cpp='$CPP $CPPFLAGS'
25673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
25682 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
25684 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
25685 for ac_func in _ldexpl
25686 do :
25687 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
25688 if test "x$ac_cv_func__ldexpl" = x""yes; then :
25689 cat >>confdefs.h <<_ACEOF
25690 #define HAVE__LDEXPL 1
25691 _ACEOF
25694 done
25703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
25704 $as_echo_n "checking for logl declaration... " >&6; }
25705 if test x${glibcxx_cv_func_logl_use+set} != xset; then
25706 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
25707 $as_echo_n "(cached) " >&6
25708 else
25711 ac_ext=cpp
25712 ac_cpp='$CXXCPP $CPPFLAGS'
25713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25718 /* end confdefs.h. */
25719 #include <math.h>
25720 #ifdef HAVE_IEEEFP_H
25721 #include <ieeefp.h>
25722 #endif
25725 main ()
25727 logl(0);
25729 return 0;
25731 _ACEOF
25732 if ac_fn_cxx_try_compile "$LINENO"; then :
25733 glibcxx_cv_func_logl_use=yes
25734 else
25735 glibcxx_cv_func_logl_use=no
25737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25738 ac_ext=c
25739 ac_cpp='$CPP $CPPFLAGS'
25740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
25749 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
25751 if test x$glibcxx_cv_func_logl_use = x"yes"; then
25752 for ac_func in logl
25753 do :
25754 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
25755 if test "x$ac_cv_func_logl" = x""yes; then :
25756 cat >>confdefs.h <<_ACEOF
25757 #define HAVE_LOGL 1
25758 _ACEOF
25761 done
25763 else
25765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
25766 $as_echo_n "checking for _logl declaration... " >&6; }
25767 if test x${glibcxx_cv_func__logl_use+set} != xset; then
25768 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
25769 $as_echo_n "(cached) " >&6
25770 else
25773 ac_ext=cpp
25774 ac_cpp='$CXXCPP $CPPFLAGS'
25775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25780 /* end confdefs.h. */
25781 #include <math.h>
25782 #ifdef HAVE_IEEEFP_H
25783 #include <ieeefp.h>
25784 #endif
25787 main ()
25789 _logl(0);
25791 return 0;
25793 _ACEOF
25794 if ac_fn_cxx_try_compile "$LINENO"; then :
25795 glibcxx_cv_func__logl_use=yes
25796 else
25797 glibcxx_cv_func__logl_use=no
25799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25800 ac_ext=c
25801 ac_cpp='$CPP $CPPFLAGS'
25802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
25811 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
25813 if test x$glibcxx_cv_func__logl_use = x"yes"; then
25814 for ac_func in _logl
25815 do :
25816 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
25817 if test "x$ac_cv_func__logl" = x""yes; then :
25818 cat >>confdefs.h <<_ACEOF
25819 #define HAVE__LOGL 1
25820 _ACEOF
25823 done
25832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
25833 $as_echo_n "checking for log10l declaration... " >&6; }
25834 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
25835 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
25836 $as_echo_n "(cached) " >&6
25837 else
25840 ac_ext=cpp
25841 ac_cpp='$CXXCPP $CPPFLAGS'
25842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25847 /* end confdefs.h. */
25848 #include <math.h>
25849 #ifdef HAVE_IEEEFP_H
25850 #include <ieeefp.h>
25851 #endif
25854 main ()
25856 log10l(0);
25858 return 0;
25860 _ACEOF
25861 if ac_fn_cxx_try_compile "$LINENO"; then :
25862 glibcxx_cv_func_log10l_use=yes
25863 else
25864 glibcxx_cv_func_log10l_use=no
25866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25867 ac_ext=c
25868 ac_cpp='$CPP $CPPFLAGS'
25869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
25878 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
25880 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
25881 for ac_func in log10l
25882 do :
25883 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
25884 if test "x$ac_cv_func_log10l" = x""yes; then :
25885 cat >>confdefs.h <<_ACEOF
25886 #define HAVE_LOG10L 1
25887 _ACEOF
25890 done
25892 else
25894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
25895 $as_echo_n "checking for _log10l declaration... " >&6; }
25896 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
25897 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
25898 $as_echo_n "(cached) " >&6
25899 else
25902 ac_ext=cpp
25903 ac_cpp='$CXXCPP $CPPFLAGS'
25904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25909 /* end confdefs.h. */
25910 #include <math.h>
25911 #ifdef HAVE_IEEEFP_H
25912 #include <ieeefp.h>
25913 #endif
25916 main ()
25918 _log10l(0);
25920 return 0;
25922 _ACEOF
25923 if ac_fn_cxx_try_compile "$LINENO"; then :
25924 glibcxx_cv_func__log10l_use=yes
25925 else
25926 glibcxx_cv_func__log10l_use=no
25928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25929 ac_ext=c
25930 ac_cpp='$CPP $CPPFLAGS'
25931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
25940 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
25942 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
25943 for ac_func in _log10l
25944 do :
25945 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
25946 if test "x$ac_cv_func__log10l" = x""yes; then :
25947 cat >>confdefs.h <<_ACEOF
25948 #define HAVE__LOG10L 1
25949 _ACEOF
25952 done
25961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
25962 $as_echo_n "checking for modfl declaration... " >&6; }
25963 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
25964 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
25965 $as_echo_n "(cached) " >&6
25966 else
25969 ac_ext=cpp
25970 ac_cpp='$CXXCPP $CPPFLAGS'
25971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25976 /* end confdefs.h. */
25977 #include <math.h>
25979 main ()
25981 modfl(0, 0);
25983 return 0;
25985 _ACEOF
25986 if ac_fn_cxx_try_compile "$LINENO"; then :
25987 glibcxx_cv_func_modfl_use=yes
25988 else
25989 glibcxx_cv_func_modfl_use=no
25991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25992 ac_ext=c
25993 ac_cpp='$CPP $CPPFLAGS'
25994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
26003 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
26005 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
26006 for ac_func in modfl
26007 do :
26008 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
26009 if test "x$ac_cv_func_modfl" = x""yes; then :
26010 cat >>confdefs.h <<_ACEOF
26011 #define HAVE_MODFL 1
26012 _ACEOF
26015 done
26017 else
26019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
26020 $as_echo_n "checking for _modfl declaration... " >&6; }
26021 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
26022 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
26023 $as_echo_n "(cached) " >&6
26024 else
26027 ac_ext=cpp
26028 ac_cpp='$CXXCPP $CPPFLAGS'
26029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26034 /* end confdefs.h. */
26035 #include <math.h>
26037 main ()
26039 _modfl(0, 0);
26041 return 0;
26043 _ACEOF
26044 if ac_fn_cxx_try_compile "$LINENO"; then :
26045 glibcxx_cv_func__modfl_use=yes
26046 else
26047 glibcxx_cv_func__modfl_use=no
26049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26050 ac_ext=c
26051 ac_cpp='$CPP $CPPFLAGS'
26052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
26061 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
26063 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
26064 for ac_func in _modfl
26065 do :
26066 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
26067 if test "x$ac_cv_func__modfl" = x""yes; then :
26068 cat >>confdefs.h <<_ACEOF
26069 #define HAVE__MODFL 1
26070 _ACEOF
26073 done
26082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
26083 $as_echo_n "checking for powl declaration... " >&6; }
26084 if test x${glibcxx_cv_func_powl_use+set} != xset; then
26085 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
26086 $as_echo_n "(cached) " >&6
26087 else
26090 ac_ext=cpp
26091 ac_cpp='$CXXCPP $CPPFLAGS'
26092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26097 /* end confdefs.h. */
26098 #include <math.h>
26100 main ()
26102 powl(0, 0);
26104 return 0;
26106 _ACEOF
26107 if ac_fn_cxx_try_compile "$LINENO"; then :
26108 glibcxx_cv_func_powl_use=yes
26109 else
26110 glibcxx_cv_func_powl_use=no
26112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26113 ac_ext=c
26114 ac_cpp='$CPP $CPPFLAGS'
26115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
26124 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
26126 if test x$glibcxx_cv_func_powl_use = x"yes"; then
26127 for ac_func in powl
26128 do :
26129 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
26130 if test "x$ac_cv_func_powl" = x""yes; then :
26131 cat >>confdefs.h <<_ACEOF
26132 #define HAVE_POWL 1
26133 _ACEOF
26136 done
26138 else
26140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
26141 $as_echo_n "checking for _powl declaration... " >&6; }
26142 if test x${glibcxx_cv_func__powl_use+set} != xset; then
26143 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
26144 $as_echo_n "(cached) " >&6
26145 else
26148 ac_ext=cpp
26149 ac_cpp='$CXXCPP $CPPFLAGS'
26150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26155 /* end confdefs.h. */
26156 #include <math.h>
26158 main ()
26160 _powl(0, 0);
26162 return 0;
26164 _ACEOF
26165 if ac_fn_cxx_try_compile "$LINENO"; then :
26166 glibcxx_cv_func__powl_use=yes
26167 else
26168 glibcxx_cv_func__powl_use=no
26170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26171 ac_ext=c
26172 ac_cpp='$CPP $CPPFLAGS'
26173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
26182 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
26184 if test x$glibcxx_cv_func__powl_use = x"yes"; then
26185 for ac_func in _powl
26186 do :
26187 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
26188 if test "x$ac_cv_func__powl" = x""yes; then :
26189 cat >>confdefs.h <<_ACEOF
26190 #define HAVE__POWL 1
26191 _ACEOF
26194 done
26203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
26204 $as_echo_n "checking for sqrtl declaration... " >&6; }
26205 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
26206 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
26207 $as_echo_n "(cached) " >&6
26208 else
26211 ac_ext=cpp
26212 ac_cpp='$CXXCPP $CPPFLAGS'
26213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26218 /* end confdefs.h. */
26219 #include <math.h>
26220 #ifdef HAVE_IEEEFP_H
26221 #include <ieeefp.h>
26222 #endif
26225 main ()
26227 sqrtl(0);
26229 return 0;
26231 _ACEOF
26232 if ac_fn_cxx_try_compile "$LINENO"; then :
26233 glibcxx_cv_func_sqrtl_use=yes
26234 else
26235 glibcxx_cv_func_sqrtl_use=no
26237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26238 ac_ext=c
26239 ac_cpp='$CPP $CPPFLAGS'
26240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
26249 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
26251 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
26252 for ac_func in sqrtl
26253 do :
26254 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
26255 if test "x$ac_cv_func_sqrtl" = x""yes; then :
26256 cat >>confdefs.h <<_ACEOF
26257 #define HAVE_SQRTL 1
26258 _ACEOF
26261 done
26263 else
26265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
26266 $as_echo_n "checking for _sqrtl declaration... " >&6; }
26267 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
26268 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
26269 $as_echo_n "(cached) " >&6
26270 else
26273 ac_ext=cpp
26274 ac_cpp='$CXXCPP $CPPFLAGS'
26275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26280 /* end confdefs.h. */
26281 #include <math.h>
26282 #ifdef HAVE_IEEEFP_H
26283 #include <ieeefp.h>
26284 #endif
26287 main ()
26289 _sqrtl(0);
26291 return 0;
26293 _ACEOF
26294 if ac_fn_cxx_try_compile "$LINENO"; then :
26295 glibcxx_cv_func__sqrtl_use=yes
26296 else
26297 glibcxx_cv_func__sqrtl_use=no
26299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26300 ac_ext=c
26301 ac_cpp='$CPP $CPPFLAGS'
26302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
26311 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
26313 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
26314 for ac_func in _sqrtl
26315 do :
26316 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
26317 if test "x$ac_cv_func__sqrtl" = x""yes; then :
26318 cat >>confdefs.h <<_ACEOF
26319 #define HAVE__SQRTL 1
26320 _ACEOF
26323 done
26332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
26333 $as_echo_n "checking for sincosl declaration... " >&6; }
26334 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
26335 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
26336 $as_echo_n "(cached) " >&6
26337 else
26340 ac_ext=cpp
26341 ac_cpp='$CXXCPP $CPPFLAGS'
26342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26347 /* end confdefs.h. */
26348 #include <math.h>
26350 main ()
26352 sincosl(0, 0, 0);
26354 return 0;
26356 _ACEOF
26357 if ac_fn_cxx_try_compile "$LINENO"; then :
26358 glibcxx_cv_func_sincosl_use=yes
26359 else
26360 glibcxx_cv_func_sincosl_use=no
26362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26363 ac_ext=c
26364 ac_cpp='$CPP $CPPFLAGS'
26365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
26374 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
26376 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
26377 for ac_func in sincosl
26378 do :
26379 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
26380 if test "x$ac_cv_func_sincosl" = x""yes; then :
26381 cat >>confdefs.h <<_ACEOF
26382 #define HAVE_SINCOSL 1
26383 _ACEOF
26386 done
26388 else
26390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
26391 $as_echo_n "checking for _sincosl declaration... " >&6; }
26392 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
26393 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
26394 $as_echo_n "(cached) " >&6
26395 else
26398 ac_ext=cpp
26399 ac_cpp='$CXXCPP $CPPFLAGS'
26400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26405 /* end confdefs.h. */
26406 #include <math.h>
26408 main ()
26410 _sincosl(0, 0, 0);
26412 return 0;
26414 _ACEOF
26415 if ac_fn_cxx_try_compile "$LINENO"; then :
26416 glibcxx_cv_func__sincosl_use=yes
26417 else
26418 glibcxx_cv_func__sincosl_use=no
26420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26421 ac_ext=c
26422 ac_cpp='$CPP $CPPFLAGS'
26423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
26432 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
26434 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
26435 for ac_func in _sincosl
26436 do :
26437 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
26438 if test "x$ac_cv_func__sincosl" = x""yes; then :
26439 cat >>confdefs.h <<_ACEOF
26440 #define HAVE__SINCOSL 1
26441 _ACEOF
26444 done
26453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
26454 $as_echo_n "checking for finitel declaration... " >&6; }
26455 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
26456 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
26457 $as_echo_n "(cached) " >&6
26458 else
26461 ac_ext=cpp
26462 ac_cpp='$CXXCPP $CPPFLAGS'
26463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26468 /* end confdefs.h. */
26469 #include <math.h>
26470 #ifdef HAVE_IEEEFP_H
26471 #include <ieeefp.h>
26472 #endif
26475 main ()
26477 finitel(0);
26479 return 0;
26481 _ACEOF
26482 if ac_fn_cxx_try_compile "$LINENO"; then :
26483 glibcxx_cv_func_finitel_use=yes
26484 else
26485 glibcxx_cv_func_finitel_use=no
26487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26488 ac_ext=c
26489 ac_cpp='$CPP $CPPFLAGS'
26490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
26499 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
26501 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
26502 for ac_func in finitel
26503 do :
26504 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
26505 if test "x$ac_cv_func_finitel" = x""yes; then :
26506 cat >>confdefs.h <<_ACEOF
26507 #define HAVE_FINITEL 1
26508 _ACEOF
26511 done
26513 else
26515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
26516 $as_echo_n "checking for _finitel declaration... " >&6; }
26517 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
26518 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
26519 $as_echo_n "(cached) " >&6
26520 else
26523 ac_ext=cpp
26524 ac_cpp='$CXXCPP $CPPFLAGS'
26525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26530 /* end confdefs.h. */
26531 #include <math.h>
26532 #ifdef HAVE_IEEEFP_H
26533 #include <ieeefp.h>
26534 #endif
26537 main ()
26539 _finitel(0);
26541 return 0;
26543 _ACEOF
26544 if ac_fn_cxx_try_compile "$LINENO"; then :
26545 glibcxx_cv_func__finitel_use=yes
26546 else
26547 glibcxx_cv_func__finitel_use=no
26549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26550 ac_ext=c
26551 ac_cpp='$CPP $CPPFLAGS'
26552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
26561 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
26563 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
26564 for ac_func in _finitel
26565 do :
26566 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
26567 if test "x$ac_cv_func__finitel" = x""yes; then :
26568 cat >>confdefs.h <<_ACEOF
26569 #define HAVE__FINITEL 1
26570 _ACEOF
26573 done
26581 LIBS="$ac_save_LIBS"
26582 CXXFLAGS="$ac_save_CXXFLAGS"
26585 ac_test_CXXFLAGS="${CXXFLAGS+set}"
26586 ac_save_CXXFLAGS="$CXXFLAGS"
26587 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
26590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
26591 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
26592 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
26593 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
26594 $as_echo_n "(cached) " >&6
26595 else
26598 ac_ext=cpp
26599 ac_cpp='$CXXCPP $CPPFLAGS'
26600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26605 /* end confdefs.h. */
26606 #include <stdlib.h>
26608 main ()
26610 at_quick_exit(0);
26612 return 0;
26614 _ACEOF
26615 if ac_fn_cxx_try_compile "$LINENO"; then :
26616 glibcxx_cv_func_at_quick_exit_use=yes
26617 else
26618 glibcxx_cv_func_at_quick_exit_use=no
26620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26621 ac_ext=c
26622 ac_cpp='$CPP $CPPFLAGS'
26623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
26632 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
26633 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
26634 for ac_func in at_quick_exit
26635 do :
26636 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
26637 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
26638 cat >>confdefs.h <<_ACEOF
26639 #define HAVE_AT_QUICK_EXIT 1
26640 _ACEOF
26643 done
26648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
26649 $as_echo_n "checking for quick_exit declaration... " >&6; }
26650 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
26651 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
26652 $as_echo_n "(cached) " >&6
26653 else
26656 ac_ext=cpp
26657 ac_cpp='$CXXCPP $CPPFLAGS'
26658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26663 /* end confdefs.h. */
26664 #include <stdlib.h>
26666 main ()
26668 quick_exit(0);
26670 return 0;
26672 _ACEOF
26673 if ac_fn_cxx_try_compile "$LINENO"; then :
26674 glibcxx_cv_func_quick_exit_use=yes
26675 else
26676 glibcxx_cv_func_quick_exit_use=no
26678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26679 ac_ext=c
26680 ac_cpp='$CPP $CPPFLAGS'
26681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
26690 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
26691 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
26692 for ac_func in quick_exit
26693 do :
26694 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
26695 if test "x$ac_cv_func_quick_exit" = x""yes; then :
26696 cat >>confdefs.h <<_ACEOF
26697 #define HAVE_QUICK_EXIT 1
26698 _ACEOF
26701 done
26706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
26707 $as_echo_n "checking for strtold declaration... " >&6; }
26708 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
26709 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
26710 $as_echo_n "(cached) " >&6
26711 else
26714 ac_ext=cpp
26715 ac_cpp='$CXXCPP $CPPFLAGS'
26716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26721 /* end confdefs.h. */
26722 #include <stdlib.h>
26724 main ()
26726 strtold(0, 0);
26728 return 0;
26730 _ACEOF
26731 if ac_fn_cxx_try_compile "$LINENO"; then :
26732 glibcxx_cv_func_strtold_use=yes
26733 else
26734 glibcxx_cv_func_strtold_use=no
26736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26737 ac_ext=c
26738 ac_cpp='$CPP $CPPFLAGS'
26739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
26748 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
26749 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
26750 for ac_func in strtold
26751 do :
26752 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
26753 if test "x$ac_cv_func_strtold" = x""yes; then :
26754 cat >>confdefs.h <<_ACEOF
26755 #define HAVE_STRTOLD 1
26756 _ACEOF
26759 done
26766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
26767 $as_echo_n "checking for strtof declaration... " >&6; }
26768 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
26769 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
26770 $as_echo_n "(cached) " >&6
26771 else
26774 ac_ext=cpp
26775 ac_cpp='$CXXCPP $CPPFLAGS'
26776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26781 /* end confdefs.h. */
26782 #include <stdlib.h>
26784 main ()
26786 strtof(0, 0);
26788 return 0;
26790 _ACEOF
26791 if ac_fn_cxx_try_compile "$LINENO"; then :
26792 glibcxx_cv_func_strtof_use=yes
26793 else
26794 glibcxx_cv_func_strtof_use=no
26796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26797 ac_ext=c
26798 ac_cpp='$CPP $CPPFLAGS'
26799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
26808 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
26809 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
26810 for ac_func in strtof
26811 do :
26812 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
26813 if test "x$ac_cv_func_strtof" = x""yes; then :
26814 cat >>confdefs.h <<_ACEOF
26815 #define HAVE_STRTOF 1
26816 _ACEOF
26819 done
26826 CXXFLAGS="$ac_save_CXXFLAGS"
26829 # For /dev/random and /dev/urandom for TR1.
26832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
26833 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... " >&6; }
26834 if test "${glibcxx_cv_random_tr1+set}" = set; then :
26835 $as_echo_n "(cached) " >&6
26836 else
26838 if test -r /dev/random && test -r /dev/urandom; then
26839 ## For MSys environment the test above is detect as false-positive
26840 ## on mingw-targets. So disable it explicit for them.
26841 case ${target_os} in
26842 *mingw*) glibcxx_cv_random_tr1=no ;;
26843 *) glibcxx_cv_random_tr1=yes ;;
26844 esac
26845 else
26846 glibcxx_cv_random_tr1=no;
26851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_random_tr1" >&5
26852 $as_echo "$glibcxx_cv_random_tr1" >&6; }
26854 if test x"$glibcxx_cv_random_tr1" = x"yes"; then
26856 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
26862 # For TLS support.
26865 # Check whether --enable-tls was given.
26866 if test "${enable_tls+set}" = set; then :
26867 enableval=$enable_tls;
26868 case "$enableval" in
26869 yes|no) ;;
26870 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
26871 esac
26873 else
26874 enable_tls=yes
26878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
26879 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
26880 if test "${gcc_cv_have_tls+set}" = set; then :
26881 $as_echo_n "(cached) " >&6
26882 else
26884 if test "$cross_compiling" = yes; then :
26885 if test x$gcc_no_link = xyes; then
26886 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26889 /* end confdefs.h. */
26890 __thread int a; int b; int main() { return a = b; }
26891 _ACEOF
26892 if ac_fn_c_try_link "$LINENO"; then :
26893 chktls_save_LDFLAGS="$LDFLAGS"
26894 case $host in
26895 *-*-linux*)
26896 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
26898 esac
26899 chktls_save_CFLAGS="$CFLAGS"
26900 CFLAGS="-fPIC $CFLAGS"
26901 if test x$gcc_no_link = xyes; then
26902 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26905 /* end confdefs.h. */
26906 int f() { return 0; }
26907 _ACEOF
26908 if ac_fn_c_try_link "$LINENO"; then :
26909 if test x$gcc_no_link = xyes; then
26910 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26913 /* end confdefs.h. */
26914 __thread int a; int b; int f() { return a = b; }
26915 _ACEOF
26916 if ac_fn_c_try_link "$LINENO"; then :
26917 gcc_cv_have_tls=yes
26918 else
26919 gcc_cv_have_tls=no
26921 rm -f core conftest.err conftest.$ac_objext \
26922 conftest$ac_exeext conftest.$ac_ext
26923 else
26924 gcc_cv_have_tls=yes
26926 rm -f core conftest.err conftest.$ac_objext \
26927 conftest$ac_exeext conftest.$ac_ext
26928 CFLAGS="$chktls_save_CFLAGS"
26929 LDFLAGS="$chktls_save_LDFLAGS"
26930 else
26931 gcc_cv_have_tls=no
26933 rm -f core conftest.err conftest.$ac_objext \
26934 conftest$ac_exeext conftest.$ac_ext
26937 else
26938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26939 /* end confdefs.h. */
26940 __thread int a; int b; int main() { return a = b; }
26941 _ACEOF
26942 if ac_fn_c_try_run "$LINENO"; then :
26943 chktls_save_LDFLAGS="$LDFLAGS"
26944 LDFLAGS="-static $LDFLAGS"
26945 if test x$gcc_no_link = xyes; then
26946 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26949 /* end confdefs.h. */
26950 int main() { return 0; }
26951 _ACEOF
26952 if ac_fn_c_try_link "$LINENO"; then :
26953 if test "$cross_compiling" = yes; then :
26954 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26955 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26956 as_fn_error "cannot run test program while cross compiling
26957 See \`config.log' for more details." "$LINENO" 5; }
26958 else
26959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26960 /* end confdefs.h. */
26961 __thread int a; int b; int main() { return a = b; }
26962 _ACEOF
26963 if ac_fn_c_try_run "$LINENO"; then :
26964 gcc_cv_have_tls=yes
26965 else
26966 gcc_cv_have_tls=no
26968 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26969 conftest.$ac_objext conftest.beam conftest.$ac_ext
26972 else
26973 gcc_cv_have_tls=yes
26975 rm -f core conftest.err conftest.$ac_objext \
26976 conftest$ac_exeext conftest.$ac_ext
26977 LDFLAGS="$chktls_save_LDFLAGS"
26978 if test $gcc_cv_have_tls = yes; then
26979 chktls_save_CFLAGS="$CFLAGS"
26980 thread_CFLAGS=failed
26981 for flag in '' '-pthread' '-lpthread'; do
26982 CFLAGS="$flag $chktls_save_CFLAGS"
26983 if test x$gcc_no_link = xyes; then
26984 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26987 /* end confdefs.h. */
26988 #include <pthread.h>
26989 void *g(void *d) { return NULL; }
26991 main ()
26993 pthread_t t; pthread_create(&t,NULL,g,NULL);
26995 return 0;
26997 _ACEOF
26998 if ac_fn_c_try_link "$LINENO"; then :
26999 thread_CFLAGS="$flag"
27001 rm -f core conftest.err conftest.$ac_objext \
27002 conftest$ac_exeext conftest.$ac_ext
27003 if test "X$thread_CFLAGS" != Xfailed; then
27004 break
27006 done
27007 CFLAGS="$chktls_save_CFLAGS"
27008 if test "X$thread_CFLAGS" != Xfailed; then
27009 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
27010 if test "$cross_compiling" = yes; then :
27011 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
27012 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
27013 as_fn_error "cannot run test program while cross compiling
27014 See \`config.log' for more details." "$LINENO" 5; }
27015 else
27016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27017 /* end confdefs.h. */
27018 #include <pthread.h>
27019 __thread int a;
27020 static int *volatile a_in_other_thread;
27021 static void *
27022 thread_func (void *arg)
27024 a_in_other_thread = &a;
27025 return (void *)0;
27028 main ()
27030 pthread_t thread;
27031 void *thread_retval;
27032 int *volatile a_in_main_thread;
27033 a_in_main_thread = &a;
27034 if (pthread_create (&thread, (pthread_attr_t *)0,
27035 thread_func, (void *)0))
27036 return 0;
27037 if (pthread_join (thread, &thread_retval))
27038 return 0;
27039 return (a_in_other_thread == a_in_main_thread);
27041 return 0;
27043 _ACEOF
27044 if ac_fn_c_try_run "$LINENO"; then :
27045 gcc_cv_have_tls=yes
27046 else
27047 gcc_cv_have_tls=no
27049 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
27050 conftest.$ac_objext conftest.beam conftest.$ac_ext
27053 CFLAGS="$chktls_save_CFLAGS"
27056 else
27057 gcc_cv_have_tls=no
27059 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
27060 conftest.$ac_objext conftest.beam conftest.$ac_ext
27064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
27065 $as_echo "$gcc_cv_have_tls" >&6; }
27066 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
27068 $as_echo "#define HAVE_TLS 1" >>confdefs.h
27072 for ac_func in __cxa_thread_atexit_impl
27073 do :
27074 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit_impl" "ac_cv_func___cxa_thread_atexit_impl"
27075 if test "x$ac_cv_func___cxa_thread_atexit_impl" = x""yes; then :
27076 cat >>confdefs.h <<_ACEOF
27077 #define HAVE___CXA_THREAD_ATEXIT_IMPL 1
27078 _ACEOF
27081 done
27084 # For iconv support.
27086 if test "X$prefix" = "XNONE"; then
27087 acl_final_prefix="$ac_default_prefix"
27088 else
27089 acl_final_prefix="$prefix"
27091 if test "X$exec_prefix" = "XNONE"; then
27092 acl_final_exec_prefix='${prefix}'
27093 else
27094 acl_final_exec_prefix="$exec_prefix"
27096 acl_save_prefix="$prefix"
27097 prefix="$acl_final_prefix"
27098 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
27099 prefix="$acl_save_prefix"
27102 # Check whether --with-gnu-ld was given.
27103 if test "${with_gnu_ld+set}" = set; then :
27104 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
27105 else
27106 with_gnu_ld=no
27109 # Prepare PATH_SEPARATOR.
27110 # The user is always right.
27111 if test "${PATH_SEPARATOR+set}" != set; then
27112 echo "#! /bin/sh" >conf$$.sh
27113 echo "exit 0" >>conf$$.sh
27114 chmod +x conf$$.sh
27115 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
27116 PATH_SEPARATOR=';'
27117 else
27118 PATH_SEPARATOR=:
27120 rm -f conf$$.sh
27122 ac_prog=ld
27123 if test "$GCC" = yes; then
27124 # Check if gcc -print-prog-name=ld gives a path.
27125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
27126 $as_echo_n "checking for ld used by GCC... " >&6; }
27127 case $host in
27128 *-*-mingw*)
27129 # gcc leaves a trailing carriage return which upsets mingw
27130 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
27132 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
27133 esac
27134 case $ac_prog in
27135 # Accept absolute paths.
27136 [\\/]* | [A-Za-z]:[\\/]*)
27137 re_direlt='/[^/][^/]*/\.\./'
27138 # Canonicalize the path of ld
27139 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
27140 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
27141 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
27142 done
27143 test -z "$LD" && LD="$ac_prog"
27146 # If it fails, then pretend we aren't using GCC.
27147 ac_prog=ld
27150 # If it is relative, then search for the first ld in PATH.
27151 with_gnu_ld=unknown
27153 esac
27154 elif test "$with_gnu_ld" = yes; then
27155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
27156 $as_echo_n "checking for GNU ld... " >&6; }
27157 else
27158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
27159 $as_echo_n "checking for non-GNU ld... " >&6; }
27161 if test "${acl_cv_path_LD+set}" = set; then :
27162 $as_echo_n "(cached) " >&6
27163 else
27164 if test -z "$LD"; then
27165 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
27166 for ac_dir in $PATH; do
27167 test -z "$ac_dir" && ac_dir=.
27168 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
27169 acl_cv_path_LD="$ac_dir/$ac_prog"
27170 # Check to see if the program is GNU ld. I'd rather use --version,
27171 # but apparently some GNU ld's only accept -v.
27172 # Break only if it was the GNU/non-GNU ld that we prefer.
27173 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
27174 test "$with_gnu_ld" != no && break
27175 else
27176 test "$with_gnu_ld" != yes && break
27179 done
27180 IFS="$ac_save_ifs"
27181 else
27182 acl_cv_path_LD="$LD" # Let the user override the test with a path.
27186 LD="$acl_cv_path_LD"
27187 if test -n "$LD"; then
27188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
27189 $as_echo "$LD" >&6; }
27190 else
27191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27192 $as_echo "no" >&6; }
27194 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
27195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
27196 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
27197 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
27198 $as_echo_n "(cached) " >&6
27199 else
27200 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
27201 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
27202 acl_cv_prog_gnu_ld=yes
27203 else
27204 acl_cv_prog_gnu_ld=no
27207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
27208 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
27209 with_gnu_ld=$acl_cv_prog_gnu_ld
27213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
27214 $as_echo_n "checking for shared library run path origin... " >&6; }
27215 if test "${acl_cv_rpath+set}" = set; then :
27216 $as_echo_n "(cached) " >&6
27217 else
27219 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
27220 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
27221 . ./conftest.sh
27222 rm -f ./conftest.sh
27223 acl_cv_rpath=done
27226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
27227 $as_echo "$acl_cv_rpath" >&6; }
27228 wl="$acl_cv_wl"
27229 libext="$acl_cv_libext"
27230 shlibext="$acl_cv_shlibext"
27231 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
27232 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
27233 hardcode_direct="$acl_cv_hardcode_direct"
27234 hardcode_minus_L="$acl_cv_hardcode_minus_L"
27235 # Check whether --enable-rpath was given.
27236 if test "${enable_rpath+set}" = set; then :
27237 enableval=$enable_rpath; :
27238 else
27239 enable_rpath=yes
27249 use_additional=yes
27251 acl_save_prefix="$prefix"
27252 prefix="$acl_final_prefix"
27253 acl_save_exec_prefix="$exec_prefix"
27254 exec_prefix="$acl_final_exec_prefix"
27256 eval additional_includedir=\"$includedir\"
27257 eval additional_libdir=\"$libdir\"
27259 exec_prefix="$acl_save_exec_prefix"
27260 prefix="$acl_save_prefix"
27263 # Check whether --with-libiconv-prefix was given.
27264 if test "${with_libiconv_prefix+set}" = set; then :
27265 withval=$with_libiconv_prefix;
27266 if test "X$withval" = "Xno"; then
27267 use_additional=no
27268 else
27269 if test "X$withval" = "X"; then
27271 acl_save_prefix="$prefix"
27272 prefix="$acl_final_prefix"
27273 acl_save_exec_prefix="$exec_prefix"
27274 exec_prefix="$acl_final_exec_prefix"
27276 eval additional_includedir=\"$includedir\"
27277 eval additional_libdir=\"$libdir\"
27279 exec_prefix="$acl_save_exec_prefix"
27280 prefix="$acl_save_prefix"
27282 else
27283 additional_includedir="$withval/include"
27284 additional_libdir="$withval/lib"
27290 LIBICONV=
27291 LTLIBICONV=
27292 INCICONV=
27293 rpathdirs=
27294 ltrpathdirs=
27295 names_already_handled=
27296 names_next_round='iconv '
27297 while test -n "$names_next_round"; do
27298 names_this_round="$names_next_round"
27299 names_next_round=
27300 for name in $names_this_round; do
27301 already_handled=
27302 for n in $names_already_handled; do
27303 if test "$n" = "$name"; then
27304 already_handled=yes
27305 break
27307 done
27308 if test -z "$already_handled"; then
27309 names_already_handled="$names_already_handled $name"
27310 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
27311 eval value=\"\$HAVE_LIB$uppername\"
27312 if test -n "$value"; then
27313 if test "$value" = yes; then
27314 eval value=\"\$LIB$uppername\"
27315 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
27316 eval value=\"\$LTLIB$uppername\"
27317 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
27318 else
27321 else
27322 found_dir=
27323 found_la=
27324 found_so=
27325 found_a=
27326 if test $use_additional = yes; then
27327 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
27328 found_dir="$additional_libdir"
27329 found_so="$additional_libdir/lib$name.$shlibext"
27330 if test -f "$additional_libdir/lib$name.la"; then
27331 found_la="$additional_libdir/lib$name.la"
27333 else
27334 if test -f "$additional_libdir/lib$name.$libext"; then
27335 found_dir="$additional_libdir"
27336 found_a="$additional_libdir/lib$name.$libext"
27337 if test -f "$additional_libdir/lib$name.la"; then
27338 found_la="$additional_libdir/lib$name.la"
27343 if test "X$found_dir" = "X"; then
27344 for x in $LDFLAGS $LTLIBICONV; do
27346 acl_save_prefix="$prefix"
27347 prefix="$acl_final_prefix"
27348 acl_save_exec_prefix="$exec_prefix"
27349 exec_prefix="$acl_final_exec_prefix"
27350 eval x=\"$x\"
27351 exec_prefix="$acl_save_exec_prefix"
27352 prefix="$acl_save_prefix"
27354 case "$x" in
27355 -L*)
27356 dir=`echo "X$x" | sed -e 's/^X-L//'`
27357 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
27358 found_dir="$dir"
27359 found_so="$dir/lib$name.$shlibext"
27360 if test -f "$dir/lib$name.la"; then
27361 found_la="$dir/lib$name.la"
27363 else
27364 if test -f "$dir/lib$name.$libext"; then
27365 found_dir="$dir"
27366 found_a="$dir/lib$name.$libext"
27367 if test -f "$dir/lib$name.la"; then
27368 found_la="$dir/lib$name.la"
27373 esac
27374 if test "X$found_dir" != "X"; then
27375 break
27377 done
27379 if test "X$found_dir" != "X"; then
27380 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
27381 if test "X$found_so" != "X"; then
27382 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
27383 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27384 else
27385 haveit=
27386 for x in $ltrpathdirs; do
27387 if test "X$x" = "X$found_dir"; then
27388 haveit=yes
27389 break
27391 done
27392 if test -z "$haveit"; then
27393 ltrpathdirs="$ltrpathdirs $found_dir"
27395 if test "$hardcode_direct" = yes; then
27396 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27397 else
27398 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
27399 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27400 haveit=
27401 for x in $rpathdirs; do
27402 if test "X$x" = "X$found_dir"; then
27403 haveit=yes
27404 break
27406 done
27407 if test -z "$haveit"; then
27408 rpathdirs="$rpathdirs $found_dir"
27410 else
27411 haveit=
27412 for x in $LDFLAGS $LIBICONV; do
27414 acl_save_prefix="$prefix"
27415 prefix="$acl_final_prefix"
27416 acl_save_exec_prefix="$exec_prefix"
27417 exec_prefix="$acl_final_exec_prefix"
27418 eval x=\"$x\"
27419 exec_prefix="$acl_save_exec_prefix"
27420 prefix="$acl_save_prefix"
27422 if test "X$x" = "X-L$found_dir"; then
27423 haveit=yes
27424 break
27426 done
27427 if test -z "$haveit"; then
27428 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
27430 if test "$hardcode_minus_L" != no; then
27431 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27432 else
27433 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
27438 else
27439 if test "X$found_a" != "X"; then
27440 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
27441 else
27442 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
27445 additional_includedir=
27446 case "$found_dir" in
27447 */lib | */lib/)
27448 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
27449 additional_includedir="$basedir/include"
27451 esac
27452 if test "X$additional_includedir" != "X"; then
27453 if test "X$additional_includedir" != "X/usr/include"; then
27454 haveit=
27455 if test "X$additional_includedir" = "X/usr/local/include"; then
27456 if test -n "$GCC"; then
27457 case $host_os in
27458 linux*) haveit=yes;;
27459 esac
27462 if test -z "$haveit"; then
27463 for x in $CPPFLAGS $INCICONV; do
27465 acl_save_prefix="$prefix"
27466 prefix="$acl_final_prefix"
27467 acl_save_exec_prefix="$exec_prefix"
27468 exec_prefix="$acl_final_exec_prefix"
27469 eval x=\"$x\"
27470 exec_prefix="$acl_save_exec_prefix"
27471 prefix="$acl_save_prefix"
27473 if test "X$x" = "X-I$additional_includedir"; then
27474 haveit=yes
27475 break
27477 done
27478 if test -z "$haveit"; then
27479 if test -d "$additional_includedir"; then
27480 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
27486 if test -n "$found_la"; then
27487 save_libdir="$libdir"
27488 case "$found_la" in
27489 */* | *\\*) . "$found_la" ;;
27490 *) . "./$found_la" ;;
27491 esac
27492 libdir="$save_libdir"
27493 for dep in $dependency_libs; do
27494 case "$dep" in
27495 -L*)
27496 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
27497 if test "X$additional_libdir" != "X/usr/lib"; then
27498 haveit=
27499 if test "X$additional_libdir" = "X/usr/local/lib"; then
27500 if test -n "$GCC"; then
27501 case $host_os in
27502 linux*) haveit=yes;;
27503 esac
27506 if test -z "$haveit"; then
27507 haveit=
27508 for x in $LDFLAGS $LIBICONV; do
27510 acl_save_prefix="$prefix"
27511 prefix="$acl_final_prefix"
27512 acl_save_exec_prefix="$exec_prefix"
27513 exec_prefix="$acl_final_exec_prefix"
27514 eval x=\"$x\"
27515 exec_prefix="$acl_save_exec_prefix"
27516 prefix="$acl_save_prefix"
27518 if test "X$x" = "X-L$additional_libdir"; then
27519 haveit=yes
27520 break
27522 done
27523 if test -z "$haveit"; then
27524 if test -d "$additional_libdir"; then
27525 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
27528 haveit=
27529 for x in $LDFLAGS $LTLIBICONV; do
27531 acl_save_prefix="$prefix"
27532 prefix="$acl_final_prefix"
27533 acl_save_exec_prefix="$exec_prefix"
27534 exec_prefix="$acl_final_exec_prefix"
27535 eval x=\"$x\"
27536 exec_prefix="$acl_save_exec_prefix"
27537 prefix="$acl_save_prefix"
27539 if test "X$x" = "X-L$additional_libdir"; then
27540 haveit=yes
27541 break
27543 done
27544 if test -z "$haveit"; then
27545 if test -d "$additional_libdir"; then
27546 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
27552 -R*)
27553 dir=`echo "X$dep" | sed -e 's/^X-R//'`
27554 if test "$enable_rpath" != no; then
27555 haveit=
27556 for x in $rpathdirs; do
27557 if test "X$x" = "X$dir"; then
27558 haveit=yes
27559 break
27561 done
27562 if test -z "$haveit"; then
27563 rpathdirs="$rpathdirs $dir"
27565 haveit=
27566 for x in $ltrpathdirs; do
27567 if test "X$x" = "X$dir"; then
27568 haveit=yes
27569 break
27571 done
27572 if test -z "$haveit"; then
27573 ltrpathdirs="$ltrpathdirs $dir"
27577 -l*)
27578 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
27580 *.la)
27581 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
27584 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
27585 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
27587 esac
27588 done
27590 else
27591 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
27592 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
27596 done
27597 done
27598 if test "X$rpathdirs" != "X"; then
27599 if test -n "$hardcode_libdir_separator"; then
27600 alldirs=
27601 for found_dir in $rpathdirs; do
27602 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
27603 done
27604 acl_save_libdir="$libdir"
27605 libdir="$alldirs"
27606 eval flag=\"$hardcode_libdir_flag_spec\"
27607 libdir="$acl_save_libdir"
27608 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
27609 else
27610 for found_dir in $rpathdirs; do
27611 acl_save_libdir="$libdir"
27612 libdir="$found_dir"
27613 eval flag=\"$hardcode_libdir_flag_spec\"
27614 libdir="$acl_save_libdir"
27615 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
27616 done
27619 if test "X$ltrpathdirs" != "X"; then
27620 for found_dir in $ltrpathdirs; do
27621 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
27622 done
27631 am_save_CPPFLAGS="$CPPFLAGS"
27633 for element in $INCICONV; do
27634 haveit=
27635 for x in $CPPFLAGS; do
27637 acl_save_prefix="$prefix"
27638 prefix="$acl_final_prefix"
27639 acl_save_exec_prefix="$exec_prefix"
27640 exec_prefix="$acl_final_exec_prefix"
27641 eval x=\"$x\"
27642 exec_prefix="$acl_save_exec_prefix"
27643 prefix="$acl_save_prefix"
27645 if test "X$x" = "X$element"; then
27646 haveit=yes
27647 break
27649 done
27650 if test -z "$haveit"; then
27651 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
27653 done
27656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
27657 $as_echo_n "checking for iconv... " >&6; }
27658 if test "${am_cv_func_iconv+set}" = set; then :
27659 $as_echo_n "(cached) " >&6
27660 else
27662 am_cv_func_iconv="no, consider installing GNU libiconv"
27663 am_cv_lib_iconv=no
27664 if test x$gcc_no_link = xyes; then
27665 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27668 /* end confdefs.h. */
27669 #include <stdlib.h>
27670 #include <iconv.h>
27672 main ()
27674 iconv_t cd = iconv_open("","");
27675 iconv(cd,NULL,NULL,NULL,NULL);
27676 iconv_close(cd);
27678 return 0;
27680 _ACEOF
27681 if ac_fn_c_try_link "$LINENO"; then :
27682 am_cv_func_iconv=yes
27684 rm -f core conftest.err conftest.$ac_objext \
27685 conftest$ac_exeext conftest.$ac_ext
27686 if test "$am_cv_func_iconv" != yes; then
27687 am_save_LIBS="$LIBS"
27688 LIBS="$LIBS $LIBICONV"
27689 if test x$gcc_no_link = xyes; then
27690 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27693 /* end confdefs.h. */
27694 #include <stdlib.h>
27695 #include <iconv.h>
27697 main ()
27699 iconv_t cd = iconv_open("","");
27700 iconv(cd,NULL,NULL,NULL,NULL);
27701 iconv_close(cd);
27703 return 0;
27705 _ACEOF
27706 if ac_fn_c_try_link "$LINENO"; then :
27707 am_cv_lib_iconv=yes
27708 am_cv_func_iconv=yes
27710 rm -f core conftest.err conftest.$ac_objext \
27711 conftest$ac_exeext conftest.$ac_ext
27712 LIBS="$am_save_LIBS"
27716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
27717 $as_echo "$am_cv_func_iconv" >&6; }
27718 if test "$am_cv_func_iconv" = yes; then
27720 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27723 if test "$am_cv_lib_iconv" = yes; then
27724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
27725 $as_echo_n "checking how to link with libiconv... " >&6; }
27726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
27727 $as_echo "$LIBICONV" >&6; }
27728 else
27729 CPPFLAGS="$am_save_CPPFLAGS"
27730 LIBICONV=
27731 LTLIBICONV=
27736 if test "$am_cv_func_iconv" = yes; then
27737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
27738 $as_echo_n "checking for iconv declaration... " >&6; }
27739 if test "${am_cv_proto_iconv+set}" = set; then :
27740 $as_echo_n "(cached) " >&6
27741 else
27743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27744 /* end confdefs.h. */
27746 #include <stdlib.h>
27747 #include <iconv.h>
27748 extern
27749 #ifdef __cplusplus
27751 #endif
27752 #if defined(__STDC__) || defined(__cplusplus)
27753 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
27754 #else
27755 size_t iconv();
27756 #endif
27759 main ()
27763 return 0;
27765 _ACEOF
27766 if ac_fn_c_try_compile "$LINENO"; then :
27767 am_cv_proto_iconv_arg1=""
27768 else
27769 am_cv_proto_iconv_arg1="const"
27771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27772 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);"
27775 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
27776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
27777 }$am_cv_proto_iconv" >&5
27778 $as_echo "${ac_t:-
27779 }$am_cv_proto_iconv" >&6; }
27781 cat >>confdefs.h <<_ACEOF
27782 #define ICONV_CONST $am_cv_proto_iconv_arg1
27783 _ACEOF
27788 else
27790 # This lets us hard-code the functionality we know we'll have in the cross
27791 # target environment. "Let" is a sugar-coated word placed on an especially
27792 # dull and tedious hack, actually.
27794 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
27795 # that involve linking, can't be used:
27796 # "cannot open sim-crt0.o"
27797 # "cannot open crt0.o"
27798 # etc. All this is because there currently exists no unified, consistent
27799 # way for top level CC information to be passed down to target directories:
27800 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
27801 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
27802 # crosses can be removed.
27804 # If Canadian cross, then don't pick up tools from the build directory.
27805 # Used only in GLIBCXX_EXPORT_INCLUDES.
27806 if test -n "$with_cross_host" &&
27807 test x"$build_alias" != x"$with_cross_host" &&
27808 test x"$build" != x"$target";
27809 then
27810 CANADIAN=yes
27811 else
27812 CANADIAN=no
27815 # Construct crosses by hand, eliminating bits that need ld...
27816 # GLIBCXX_CHECK_MATH_SUPPORT
27818 # First, test for "known" system libraries. We may be using newlib even
27819 # on a hosted environment.
27820 if test "x${with_newlib}" = "xyes"; then
27821 os_include_dir="os/newlib"
27822 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
27825 # GLIBCXX_CHECK_STDLIB_SUPPORT
27826 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
27829 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
27831 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
27833 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
27835 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
27837 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
27839 $as_echo "#define HAVE_COSF 1" >>confdefs.h
27841 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
27843 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
27845 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
27847 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
27849 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
27851 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
27853 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
27855 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
27857 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
27859 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
27861 $as_echo "#define HAVE_POWF 1" >>confdefs.h
27863 $as_echo "#define HAVE_SINF 1" >>confdefs.h
27865 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
27867 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
27869 $as_echo "#define HAVE_TANF 1" >>confdefs.h
27871 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
27874 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27876 else
27878 # Base decisions on target environment.
27879 case "${host}" in
27880 arm*-*-symbianelf*)
27881 # This is a freestanding configuration; there is nothing to do here.
27884 mips*-sde-elf*)
27885 # These definitions are for the SDE C library rather than newlib.
27886 SECTION_FLAGS='-ffunction-sections -fdata-sections'
27889 # All these tests are for C++; save the language and the compiler flags.
27890 # The CXXFLAGS thing is suspicious, but based on similar bits previously
27891 # found in GLIBCXX_CONFIGURE.
27893 ac_ext=cpp
27894 ac_cpp='$CXXCPP $CPPFLAGS'
27895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27899 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27900 ac_save_CXXFLAGS="$CXXFLAGS"
27902 # Check for maintainer-mode bits.
27903 if test x"$USE_MAINTAINER_MODE" = xno; then
27904 WERROR=''
27905 else
27906 WERROR='-Werror'
27909 # Check for -ffunction-sections -fdata-sections
27910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
27911 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
27912 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
27913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27914 /* end confdefs.h. */
27915 int foo; void bar() { };
27917 main ()
27921 return 0;
27923 _ACEOF
27924 if ac_fn_cxx_try_compile "$LINENO"; then :
27925 ac_fdsections=yes
27926 else
27927 ac_fdsections=no
27929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27930 if test "$ac_test_CXXFLAGS" = set; then
27931 CXXFLAGS="$ac_save_CXXFLAGS"
27932 else
27933 # this is the suspicious part
27934 CXXFLAGS=''
27936 if test x"$ac_fdsections" = x"yes"; then
27937 SECTION_FLAGS='-ffunction-sections -fdata-sections'
27939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
27940 $as_echo "$ac_fdsections" >&6; }
27942 ac_ext=c
27943 ac_cpp='$CPP $CPPFLAGS'
27944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27952 # If we're not using GNU ld, then there's no point in even trying these
27953 # tests. Check for that first. We should have already tested for gld
27954 # by now (in libtool), but require it now just to be safe...
27955 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
27956 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
27960 # The name set by libtool depends on the version of libtool. Shame on us
27961 # for depending on an impl detail, but c'est la vie. Older versions used
27962 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
27963 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
27964 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
27965 # set (hence we're using an older libtool), then set it.
27966 if test x${with_gnu_ld+set} != xset; then
27967 if test x${ac_cv_prog_gnu_ld+set} != xset; then
27968 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
27969 with_gnu_ld=no
27970 else
27971 with_gnu_ld=$ac_cv_prog_gnu_ld
27975 # Start by getting the version number. I think the libtool test already
27976 # does some of this, but throws away the result.
27977 glibcxx_ld_is_gold=no
27978 if test x"$with_gnu_ld" = x"yes"; then
27979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
27980 $as_echo_n "checking for ld version... " >&6; }
27982 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
27983 glibcxx_ld_is_gold=yes
27985 ldver=`$LD --version 2>/dev/null |
27986 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'`
27988 glibcxx_gnu_ld_version=`echo $ldver | \
27989 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
27990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
27991 $as_echo "$glibcxx_gnu_ld_version" >&6; }
27994 # Set --gc-sections.
27995 glibcxx_have_gc_sections=no
27996 if test "$glibcxx_ld_is_gold" = "yes"; then
27997 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
27998 glibcxx_have_gc_sections=yes
28000 else
28001 glibcxx_gcsections_min_ld=21602
28002 if test x"$with_gnu_ld" = x"yes" &&
28003 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
28004 glibcxx_have_gc_sections=yes
28007 if test "$glibcxx_have_gc_sections" = "yes"; then
28008 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
28009 # NB: This flag only works reliably after 2.16.1. Configure tests
28010 # for this are difficult, so hard wire a value that should work.
28012 ac_test_CFLAGS="${CFLAGS+set}"
28013 ac_save_CFLAGS="$CFLAGS"
28014 CFLAGS='-Wl,--gc-sections'
28016 # Check for -Wl,--gc-sections
28017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
28018 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
28019 if test x$gcc_no_link = xyes; then
28020 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28023 /* end confdefs.h. */
28024 int one(void) { return 1; }
28025 int two(void) { return 2; }
28028 main ()
28030 two();
28032 return 0;
28034 _ACEOF
28035 if ac_fn_c_try_link "$LINENO"; then :
28036 ac_gcsections=yes
28037 else
28038 ac_gcsections=no
28040 rm -f core conftest.err conftest.$ac_objext \
28041 conftest$ac_exeext conftest.$ac_ext
28042 if test "$ac_gcsections" = "yes"; then
28043 rm -f conftest.c
28044 touch conftest.c
28045 if $CC -c conftest.c; then
28046 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
28047 grep "Warning: gc-sections option ignored" > /dev/null; then
28048 ac_gcsections=no
28051 rm -f conftest.c conftest.o conftest
28053 if test "$ac_gcsections" = "yes"; then
28054 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
28056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
28057 $as_echo "$ac_gcsections" >&6; }
28059 if test "$ac_test_CFLAGS" = set; then
28060 CFLAGS="$ac_save_CFLAGS"
28061 else
28062 # this is the suspicious part
28063 CFLAGS=''
28067 # Set -z,relro.
28068 # Note this is only for shared objects.
28069 ac_ld_relro=no
28070 if test x"$with_gnu_ld" = x"yes"; then
28071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
28072 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
28073 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
28074 if test -n "$cxx_z_relo"; then
28075 OPT_LDFLAGS="-Wl,-z,relro"
28076 ac_ld_relro=yes
28078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
28079 $as_echo "$ac_ld_relro" >&6; }
28082 # Set linker optimization flags.
28083 if test x"$with_gnu_ld" = x"yes"; then
28084 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
28091 ac_test_CXXFLAGS="${CXXFLAGS+set}"
28092 ac_save_CXXFLAGS="$CXXFLAGS"
28093 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
28095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
28096 $as_echo_n "checking for sin in -lm... " >&6; }
28097 if test "${ac_cv_lib_m_sin+set}" = set; then :
28098 $as_echo_n "(cached) " >&6
28099 else
28100 ac_check_lib_save_LIBS=$LIBS
28101 LIBS="-lm $LIBS"
28102 if test x$gcc_no_link = xyes; then
28103 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28106 /* end confdefs.h. */
28108 /* Override any GCC internal prototype to avoid an error.
28109 Use char because int might match the return type of a GCC
28110 builtin and then its argument prototype would still apply. */
28111 #ifdef __cplusplus
28112 extern "C"
28113 #endif
28114 char sin ();
28116 main ()
28118 return sin ();
28120 return 0;
28122 _ACEOF
28123 if ac_fn_c_try_link "$LINENO"; then :
28124 ac_cv_lib_m_sin=yes
28125 else
28126 ac_cv_lib_m_sin=no
28128 rm -f core conftest.err conftest.$ac_objext \
28129 conftest$ac_exeext conftest.$ac_ext
28130 LIBS=$ac_check_lib_save_LIBS
28132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
28133 $as_echo "$ac_cv_lib_m_sin" >&6; }
28134 if test "x$ac_cv_lib_m_sin" = x""yes; then :
28135 libm="-lm"
28138 ac_save_LIBS="$LIBS"
28139 LIBS="$LIBS $libm"
28143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
28144 $as_echo_n "checking for isinf declaration... " >&6; }
28145 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
28146 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
28147 $as_echo_n "(cached) " >&6
28148 else
28151 ac_ext=cpp
28152 ac_cpp='$CXXCPP $CPPFLAGS'
28153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28158 /* end confdefs.h. */
28159 #include <math.h>
28160 #ifdef HAVE_IEEEFP_H
28161 #include <ieeefp.h>
28162 #endif
28165 main ()
28167 isinf(0);
28169 return 0;
28171 _ACEOF
28172 if ac_fn_cxx_try_compile "$LINENO"; then :
28173 glibcxx_cv_func_isinf_use=yes
28174 else
28175 glibcxx_cv_func_isinf_use=no
28177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28178 ac_ext=c
28179 ac_cpp='$CPP $CPPFLAGS'
28180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
28189 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
28191 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
28192 for ac_func in isinf
28193 do :
28194 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
28195 if test "x$ac_cv_func_isinf" = x""yes; then :
28196 cat >>confdefs.h <<_ACEOF
28197 #define HAVE_ISINF 1
28198 _ACEOF
28201 done
28203 else
28205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
28206 $as_echo_n "checking for _isinf declaration... " >&6; }
28207 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
28208 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
28209 $as_echo_n "(cached) " >&6
28210 else
28213 ac_ext=cpp
28214 ac_cpp='$CXXCPP $CPPFLAGS'
28215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28220 /* end confdefs.h. */
28221 #include <math.h>
28222 #ifdef HAVE_IEEEFP_H
28223 #include <ieeefp.h>
28224 #endif
28227 main ()
28229 _isinf(0);
28231 return 0;
28233 _ACEOF
28234 if ac_fn_cxx_try_compile "$LINENO"; then :
28235 glibcxx_cv_func__isinf_use=yes
28236 else
28237 glibcxx_cv_func__isinf_use=no
28239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28240 ac_ext=c
28241 ac_cpp='$CPP $CPPFLAGS'
28242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
28251 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
28253 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
28254 for ac_func in _isinf
28255 do :
28256 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
28257 if test "x$ac_cv_func__isinf" = x""yes; then :
28258 cat >>confdefs.h <<_ACEOF
28259 #define HAVE__ISINF 1
28260 _ACEOF
28263 done
28272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
28273 $as_echo_n "checking for isnan declaration... " >&6; }
28274 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
28275 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
28276 $as_echo_n "(cached) " >&6
28277 else
28280 ac_ext=cpp
28281 ac_cpp='$CXXCPP $CPPFLAGS'
28282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28287 /* end confdefs.h. */
28288 #include <math.h>
28289 #ifdef HAVE_IEEEFP_H
28290 #include <ieeefp.h>
28291 #endif
28294 main ()
28296 isnan(0);
28298 return 0;
28300 _ACEOF
28301 if ac_fn_cxx_try_compile "$LINENO"; then :
28302 glibcxx_cv_func_isnan_use=yes
28303 else
28304 glibcxx_cv_func_isnan_use=no
28306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28307 ac_ext=c
28308 ac_cpp='$CPP $CPPFLAGS'
28309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
28318 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
28320 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
28321 for ac_func in isnan
28322 do :
28323 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
28324 if test "x$ac_cv_func_isnan" = x""yes; then :
28325 cat >>confdefs.h <<_ACEOF
28326 #define HAVE_ISNAN 1
28327 _ACEOF
28330 done
28332 else
28334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
28335 $as_echo_n "checking for _isnan declaration... " >&6; }
28336 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
28337 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
28338 $as_echo_n "(cached) " >&6
28339 else
28342 ac_ext=cpp
28343 ac_cpp='$CXXCPP $CPPFLAGS'
28344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28349 /* end confdefs.h. */
28350 #include <math.h>
28351 #ifdef HAVE_IEEEFP_H
28352 #include <ieeefp.h>
28353 #endif
28356 main ()
28358 _isnan(0);
28360 return 0;
28362 _ACEOF
28363 if ac_fn_cxx_try_compile "$LINENO"; then :
28364 glibcxx_cv_func__isnan_use=yes
28365 else
28366 glibcxx_cv_func__isnan_use=no
28368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28369 ac_ext=c
28370 ac_cpp='$CPP $CPPFLAGS'
28371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
28380 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
28382 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
28383 for ac_func in _isnan
28384 do :
28385 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
28386 if test "x$ac_cv_func__isnan" = x""yes; then :
28387 cat >>confdefs.h <<_ACEOF
28388 #define HAVE__ISNAN 1
28389 _ACEOF
28392 done
28401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
28402 $as_echo_n "checking for finite declaration... " >&6; }
28403 if test x${glibcxx_cv_func_finite_use+set} != xset; then
28404 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
28405 $as_echo_n "(cached) " >&6
28406 else
28409 ac_ext=cpp
28410 ac_cpp='$CXXCPP $CPPFLAGS'
28411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28416 /* end confdefs.h. */
28417 #include <math.h>
28418 #ifdef HAVE_IEEEFP_H
28419 #include <ieeefp.h>
28420 #endif
28423 main ()
28425 finite(0);
28427 return 0;
28429 _ACEOF
28430 if ac_fn_cxx_try_compile "$LINENO"; then :
28431 glibcxx_cv_func_finite_use=yes
28432 else
28433 glibcxx_cv_func_finite_use=no
28435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28436 ac_ext=c
28437 ac_cpp='$CPP $CPPFLAGS'
28438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
28447 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
28449 if test x$glibcxx_cv_func_finite_use = x"yes"; then
28450 for ac_func in finite
28451 do :
28452 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
28453 if test "x$ac_cv_func_finite" = x""yes; then :
28454 cat >>confdefs.h <<_ACEOF
28455 #define HAVE_FINITE 1
28456 _ACEOF
28459 done
28461 else
28463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
28464 $as_echo_n "checking for _finite declaration... " >&6; }
28465 if test x${glibcxx_cv_func__finite_use+set} != xset; then
28466 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
28467 $as_echo_n "(cached) " >&6
28468 else
28471 ac_ext=cpp
28472 ac_cpp='$CXXCPP $CPPFLAGS'
28473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28478 /* end confdefs.h. */
28479 #include <math.h>
28480 #ifdef HAVE_IEEEFP_H
28481 #include <ieeefp.h>
28482 #endif
28485 main ()
28487 _finite(0);
28489 return 0;
28491 _ACEOF
28492 if ac_fn_cxx_try_compile "$LINENO"; then :
28493 glibcxx_cv_func__finite_use=yes
28494 else
28495 glibcxx_cv_func__finite_use=no
28497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28498 ac_ext=c
28499 ac_cpp='$CPP $CPPFLAGS'
28500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
28509 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
28511 if test x$glibcxx_cv_func__finite_use = x"yes"; then
28512 for ac_func in _finite
28513 do :
28514 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
28515 if test "x$ac_cv_func__finite" = x""yes; then :
28516 cat >>confdefs.h <<_ACEOF
28517 #define HAVE__FINITE 1
28518 _ACEOF
28521 done
28530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
28531 $as_echo_n "checking for sincos declaration... " >&6; }
28532 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
28533 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
28534 $as_echo_n "(cached) " >&6
28535 else
28538 ac_ext=cpp
28539 ac_cpp='$CXXCPP $CPPFLAGS'
28540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28545 /* end confdefs.h. */
28546 #include <math.h>
28548 main ()
28550 sincos(0, 0, 0);
28552 return 0;
28554 _ACEOF
28555 if ac_fn_cxx_try_compile "$LINENO"; then :
28556 glibcxx_cv_func_sincos_use=yes
28557 else
28558 glibcxx_cv_func_sincos_use=no
28560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28561 ac_ext=c
28562 ac_cpp='$CPP $CPPFLAGS'
28563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
28572 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
28574 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
28575 for ac_func in sincos
28576 do :
28577 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
28578 if test "x$ac_cv_func_sincos" = x""yes; then :
28579 cat >>confdefs.h <<_ACEOF
28580 #define HAVE_SINCOS 1
28581 _ACEOF
28584 done
28586 else
28588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
28589 $as_echo_n "checking for _sincos declaration... " >&6; }
28590 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
28591 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
28592 $as_echo_n "(cached) " >&6
28593 else
28596 ac_ext=cpp
28597 ac_cpp='$CXXCPP $CPPFLAGS'
28598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28603 /* end confdefs.h. */
28604 #include <math.h>
28606 main ()
28608 _sincos(0, 0, 0);
28610 return 0;
28612 _ACEOF
28613 if ac_fn_cxx_try_compile "$LINENO"; then :
28614 glibcxx_cv_func__sincos_use=yes
28615 else
28616 glibcxx_cv_func__sincos_use=no
28618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28619 ac_ext=c
28620 ac_cpp='$CPP $CPPFLAGS'
28621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
28630 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
28632 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
28633 for ac_func in _sincos
28634 do :
28635 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
28636 if test "x$ac_cv_func__sincos" = x""yes; then :
28637 cat >>confdefs.h <<_ACEOF
28638 #define HAVE__SINCOS 1
28639 _ACEOF
28642 done
28651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
28652 $as_echo_n "checking for fpclass declaration... " >&6; }
28653 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
28654 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
28655 $as_echo_n "(cached) " >&6
28656 else
28659 ac_ext=cpp
28660 ac_cpp='$CXXCPP $CPPFLAGS'
28661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28666 /* end confdefs.h. */
28667 #include <math.h>
28668 #ifdef HAVE_IEEEFP_H
28669 #include <ieeefp.h>
28670 #endif
28673 main ()
28675 fpclass(0);
28677 return 0;
28679 _ACEOF
28680 if ac_fn_cxx_try_compile "$LINENO"; then :
28681 glibcxx_cv_func_fpclass_use=yes
28682 else
28683 glibcxx_cv_func_fpclass_use=no
28685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28686 ac_ext=c
28687 ac_cpp='$CPP $CPPFLAGS'
28688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
28697 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
28699 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
28700 for ac_func in fpclass
28701 do :
28702 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
28703 if test "x$ac_cv_func_fpclass" = x""yes; then :
28704 cat >>confdefs.h <<_ACEOF
28705 #define HAVE_FPCLASS 1
28706 _ACEOF
28709 done
28711 else
28713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
28714 $as_echo_n "checking for _fpclass declaration... " >&6; }
28715 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
28716 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
28717 $as_echo_n "(cached) " >&6
28718 else
28721 ac_ext=cpp
28722 ac_cpp='$CXXCPP $CPPFLAGS'
28723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28728 /* end confdefs.h. */
28729 #include <math.h>
28730 #ifdef HAVE_IEEEFP_H
28731 #include <ieeefp.h>
28732 #endif
28735 main ()
28737 _fpclass(0);
28739 return 0;
28741 _ACEOF
28742 if ac_fn_cxx_try_compile "$LINENO"; then :
28743 glibcxx_cv_func__fpclass_use=yes
28744 else
28745 glibcxx_cv_func__fpclass_use=no
28747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28748 ac_ext=c
28749 ac_cpp='$CPP $CPPFLAGS'
28750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
28759 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
28761 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
28762 for ac_func in _fpclass
28763 do :
28764 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
28765 if test "x$ac_cv_func__fpclass" = x""yes; then :
28766 cat >>confdefs.h <<_ACEOF
28767 #define HAVE__FPCLASS 1
28768 _ACEOF
28771 done
28780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
28781 $as_echo_n "checking for qfpclass declaration... " >&6; }
28782 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
28783 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
28784 $as_echo_n "(cached) " >&6
28785 else
28788 ac_ext=cpp
28789 ac_cpp='$CXXCPP $CPPFLAGS'
28790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28795 /* end confdefs.h. */
28796 #include <math.h>
28797 #ifdef HAVE_IEEEFP_H
28798 #include <ieeefp.h>
28799 #endif
28802 main ()
28804 qfpclass(0);
28806 return 0;
28808 _ACEOF
28809 if ac_fn_cxx_try_compile "$LINENO"; then :
28810 glibcxx_cv_func_qfpclass_use=yes
28811 else
28812 glibcxx_cv_func_qfpclass_use=no
28814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28815 ac_ext=c
28816 ac_cpp='$CPP $CPPFLAGS'
28817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
28826 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
28828 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
28829 for ac_func in qfpclass
28830 do :
28831 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
28832 if test "x$ac_cv_func_qfpclass" = x""yes; then :
28833 cat >>confdefs.h <<_ACEOF
28834 #define HAVE_QFPCLASS 1
28835 _ACEOF
28838 done
28840 else
28842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
28843 $as_echo_n "checking for _qfpclass declaration... " >&6; }
28844 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
28845 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
28846 $as_echo_n "(cached) " >&6
28847 else
28850 ac_ext=cpp
28851 ac_cpp='$CXXCPP $CPPFLAGS'
28852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28857 /* end confdefs.h. */
28858 #include <math.h>
28859 #ifdef HAVE_IEEEFP_H
28860 #include <ieeefp.h>
28861 #endif
28864 main ()
28866 _qfpclass(0);
28868 return 0;
28870 _ACEOF
28871 if ac_fn_cxx_try_compile "$LINENO"; then :
28872 glibcxx_cv_func__qfpclass_use=yes
28873 else
28874 glibcxx_cv_func__qfpclass_use=no
28876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28877 ac_ext=c
28878 ac_cpp='$CPP $CPPFLAGS'
28879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
28888 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
28890 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
28891 for ac_func in _qfpclass
28892 do :
28893 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
28894 if test "x$ac_cv_func__qfpclass" = x""yes; then :
28895 cat >>confdefs.h <<_ACEOF
28896 #define HAVE__QFPCLASS 1
28897 _ACEOF
28900 done
28909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
28910 $as_echo_n "checking for hypot declaration... " >&6; }
28911 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
28912 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
28913 $as_echo_n "(cached) " >&6
28914 else
28917 ac_ext=cpp
28918 ac_cpp='$CXXCPP $CPPFLAGS'
28919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28924 /* end confdefs.h. */
28925 #include <math.h>
28927 main ()
28929 hypot(0, 0);
28931 return 0;
28933 _ACEOF
28934 if ac_fn_cxx_try_compile "$LINENO"; then :
28935 glibcxx_cv_func_hypot_use=yes
28936 else
28937 glibcxx_cv_func_hypot_use=no
28939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28940 ac_ext=c
28941 ac_cpp='$CPP $CPPFLAGS'
28942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
28951 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
28953 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
28954 for ac_func in hypot
28955 do :
28956 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
28957 if test "x$ac_cv_func_hypot" = x""yes; then :
28958 cat >>confdefs.h <<_ACEOF
28959 #define HAVE_HYPOT 1
28960 _ACEOF
28963 done
28965 else
28967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
28968 $as_echo_n "checking for _hypot declaration... " >&6; }
28969 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
28970 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
28971 $as_echo_n "(cached) " >&6
28972 else
28975 ac_ext=cpp
28976 ac_cpp='$CXXCPP $CPPFLAGS'
28977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28982 /* end confdefs.h. */
28983 #include <math.h>
28985 main ()
28987 _hypot(0, 0);
28989 return 0;
28991 _ACEOF
28992 if ac_fn_cxx_try_compile "$LINENO"; then :
28993 glibcxx_cv_func__hypot_use=yes
28994 else
28995 glibcxx_cv_func__hypot_use=no
28997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28998 ac_ext=c
28999 ac_cpp='$CPP $CPPFLAGS'
29000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
29009 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
29011 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
29012 for ac_func in _hypot
29013 do :
29014 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
29015 if test "x$ac_cv_func__hypot" = x""yes; then :
29016 cat >>confdefs.h <<_ACEOF
29017 #define HAVE__HYPOT 1
29018 _ACEOF
29021 done
29030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
29031 $as_echo_n "checking for float trig functions... " >&6; }
29032 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
29033 $as_echo_n "(cached) " >&6
29034 else
29037 ac_ext=cpp
29038 ac_cpp='$CXXCPP $CPPFLAGS'
29039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29044 /* end confdefs.h. */
29045 #include <math.h>
29047 main ()
29049 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
29051 return 0;
29053 _ACEOF
29054 if ac_fn_cxx_try_compile "$LINENO"; then :
29055 glibcxx_cv_func_float_trig_use=yes
29056 else
29057 glibcxx_cv_func_float_trig_use=no
29059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29060 ac_ext=c
29061 ac_cpp='$CPP $CPPFLAGS'
29062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
29069 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
29070 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
29071 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
29072 do :
29073 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29074 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29075 eval as_val=\$$as_ac_var
29076 if test "x$as_val" = x""yes; then :
29077 cat >>confdefs.h <<_ACEOF
29078 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29079 _ACEOF
29082 done
29084 else
29085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
29086 $as_echo_n "checking for _float trig functions... " >&6; }
29087 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
29088 $as_echo_n "(cached) " >&6
29089 else
29092 ac_ext=cpp
29093 ac_cpp='$CXXCPP $CPPFLAGS'
29094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29099 /* end confdefs.h. */
29100 #include <math.h>
29102 main ()
29104 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
29106 return 0;
29108 _ACEOF
29109 if ac_fn_cxx_try_compile "$LINENO"; then :
29110 glibcxx_cv_func__float_trig_use=yes
29111 else
29112 glibcxx_cv_func__float_trig_use=no
29114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29115 ac_ext=c
29116 ac_cpp='$CPP $CPPFLAGS'
29117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
29124 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
29125 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
29126 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
29127 do :
29128 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29129 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29130 eval as_val=\$$as_ac_var
29131 if test "x$as_val" = x""yes; then :
29132 cat >>confdefs.h <<_ACEOF
29133 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29134 _ACEOF
29137 done
29146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
29147 $as_echo_n "checking for float round functions... " >&6; }
29148 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
29149 $as_echo_n "(cached) " >&6
29150 else
29153 ac_ext=cpp
29154 ac_cpp='$CXXCPP $CPPFLAGS'
29155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29160 /* end confdefs.h. */
29161 #include <math.h>
29163 main ()
29165 ceilf (0); floorf (0);
29167 return 0;
29169 _ACEOF
29170 if ac_fn_cxx_try_compile "$LINENO"; then :
29171 glibcxx_cv_func_float_round_use=yes
29172 else
29173 glibcxx_cv_func_float_round_use=no
29175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29176 ac_ext=c
29177 ac_cpp='$CPP $CPPFLAGS'
29178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
29185 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
29186 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
29187 for ac_func in ceilf floorf
29188 do :
29189 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29190 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29191 eval as_val=\$$as_ac_var
29192 if test "x$as_val" = x""yes; then :
29193 cat >>confdefs.h <<_ACEOF
29194 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29195 _ACEOF
29198 done
29200 else
29201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
29202 $as_echo_n "checking for _float round functions... " >&6; }
29203 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
29204 $as_echo_n "(cached) " >&6
29205 else
29208 ac_ext=cpp
29209 ac_cpp='$CXXCPP $CPPFLAGS'
29210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29215 /* end confdefs.h. */
29216 #include <math.h>
29218 main ()
29220 _ceilf (0); _floorf (0);
29222 return 0;
29224 _ACEOF
29225 if ac_fn_cxx_try_compile "$LINENO"; then :
29226 glibcxx_cv_func__float_round_use=yes
29227 else
29228 glibcxx_cv_func__float_round_use=no
29230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29231 ac_ext=c
29232 ac_cpp='$CPP $CPPFLAGS'
29233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
29240 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
29241 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
29242 for ac_func in _ceilf _floorf
29243 do :
29244 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29245 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29246 eval as_val=\$$as_ac_var
29247 if test "x$as_val" = x""yes; then :
29248 cat >>confdefs.h <<_ACEOF
29249 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29250 _ACEOF
29253 done
29263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
29264 $as_echo_n "checking for expf declaration... " >&6; }
29265 if test x${glibcxx_cv_func_expf_use+set} != xset; then
29266 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
29267 $as_echo_n "(cached) " >&6
29268 else
29271 ac_ext=cpp
29272 ac_cpp='$CXXCPP $CPPFLAGS'
29273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29278 /* end confdefs.h. */
29279 #include <math.h>
29280 #ifdef HAVE_IEEEFP_H
29281 #include <ieeefp.h>
29282 #endif
29285 main ()
29287 expf(0);
29289 return 0;
29291 _ACEOF
29292 if ac_fn_cxx_try_compile "$LINENO"; then :
29293 glibcxx_cv_func_expf_use=yes
29294 else
29295 glibcxx_cv_func_expf_use=no
29297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29298 ac_ext=c
29299 ac_cpp='$CPP $CPPFLAGS'
29300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
29309 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
29311 if test x$glibcxx_cv_func_expf_use = x"yes"; then
29312 for ac_func in expf
29313 do :
29314 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
29315 if test "x$ac_cv_func_expf" = x""yes; then :
29316 cat >>confdefs.h <<_ACEOF
29317 #define HAVE_EXPF 1
29318 _ACEOF
29321 done
29323 else
29325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
29326 $as_echo_n "checking for _expf declaration... " >&6; }
29327 if test x${glibcxx_cv_func__expf_use+set} != xset; then
29328 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
29329 $as_echo_n "(cached) " >&6
29330 else
29333 ac_ext=cpp
29334 ac_cpp='$CXXCPP $CPPFLAGS'
29335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29340 /* end confdefs.h. */
29341 #include <math.h>
29342 #ifdef HAVE_IEEEFP_H
29343 #include <ieeefp.h>
29344 #endif
29347 main ()
29349 _expf(0);
29351 return 0;
29353 _ACEOF
29354 if ac_fn_cxx_try_compile "$LINENO"; then :
29355 glibcxx_cv_func__expf_use=yes
29356 else
29357 glibcxx_cv_func__expf_use=no
29359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29360 ac_ext=c
29361 ac_cpp='$CPP $CPPFLAGS'
29362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
29371 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
29373 if test x$glibcxx_cv_func__expf_use = x"yes"; then
29374 for ac_func in _expf
29375 do :
29376 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
29377 if test "x$ac_cv_func__expf" = x""yes; then :
29378 cat >>confdefs.h <<_ACEOF
29379 #define HAVE__EXPF 1
29380 _ACEOF
29383 done
29392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
29393 $as_echo_n "checking for isnanf declaration... " >&6; }
29394 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
29395 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
29396 $as_echo_n "(cached) " >&6
29397 else
29400 ac_ext=cpp
29401 ac_cpp='$CXXCPP $CPPFLAGS'
29402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29407 /* end confdefs.h. */
29408 #include <math.h>
29409 #ifdef HAVE_IEEEFP_H
29410 #include <ieeefp.h>
29411 #endif
29414 main ()
29416 isnanf(0);
29418 return 0;
29420 _ACEOF
29421 if ac_fn_cxx_try_compile "$LINENO"; then :
29422 glibcxx_cv_func_isnanf_use=yes
29423 else
29424 glibcxx_cv_func_isnanf_use=no
29426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29427 ac_ext=c
29428 ac_cpp='$CPP $CPPFLAGS'
29429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
29438 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
29440 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
29441 for ac_func in isnanf
29442 do :
29443 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
29444 if test "x$ac_cv_func_isnanf" = x""yes; then :
29445 cat >>confdefs.h <<_ACEOF
29446 #define HAVE_ISNANF 1
29447 _ACEOF
29450 done
29452 else
29454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
29455 $as_echo_n "checking for _isnanf declaration... " >&6; }
29456 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
29457 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
29458 $as_echo_n "(cached) " >&6
29459 else
29462 ac_ext=cpp
29463 ac_cpp='$CXXCPP $CPPFLAGS'
29464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29469 /* end confdefs.h. */
29470 #include <math.h>
29471 #ifdef HAVE_IEEEFP_H
29472 #include <ieeefp.h>
29473 #endif
29476 main ()
29478 _isnanf(0);
29480 return 0;
29482 _ACEOF
29483 if ac_fn_cxx_try_compile "$LINENO"; then :
29484 glibcxx_cv_func__isnanf_use=yes
29485 else
29486 glibcxx_cv_func__isnanf_use=no
29488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29489 ac_ext=c
29490 ac_cpp='$CPP $CPPFLAGS'
29491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
29500 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
29502 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
29503 for ac_func in _isnanf
29504 do :
29505 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
29506 if test "x$ac_cv_func__isnanf" = x""yes; then :
29507 cat >>confdefs.h <<_ACEOF
29508 #define HAVE__ISNANF 1
29509 _ACEOF
29512 done
29521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
29522 $as_echo_n "checking for isinff declaration... " >&6; }
29523 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
29524 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
29525 $as_echo_n "(cached) " >&6
29526 else
29529 ac_ext=cpp
29530 ac_cpp='$CXXCPP $CPPFLAGS'
29531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29536 /* end confdefs.h. */
29537 #include <math.h>
29538 #ifdef HAVE_IEEEFP_H
29539 #include <ieeefp.h>
29540 #endif
29543 main ()
29545 isinff(0);
29547 return 0;
29549 _ACEOF
29550 if ac_fn_cxx_try_compile "$LINENO"; then :
29551 glibcxx_cv_func_isinff_use=yes
29552 else
29553 glibcxx_cv_func_isinff_use=no
29555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29556 ac_ext=c
29557 ac_cpp='$CPP $CPPFLAGS'
29558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
29567 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
29569 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
29570 for ac_func in isinff
29571 do :
29572 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
29573 if test "x$ac_cv_func_isinff" = x""yes; then :
29574 cat >>confdefs.h <<_ACEOF
29575 #define HAVE_ISINFF 1
29576 _ACEOF
29579 done
29581 else
29583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
29584 $as_echo_n "checking for _isinff declaration... " >&6; }
29585 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
29586 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
29587 $as_echo_n "(cached) " >&6
29588 else
29591 ac_ext=cpp
29592 ac_cpp='$CXXCPP $CPPFLAGS'
29593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29598 /* end confdefs.h. */
29599 #include <math.h>
29600 #ifdef HAVE_IEEEFP_H
29601 #include <ieeefp.h>
29602 #endif
29605 main ()
29607 _isinff(0);
29609 return 0;
29611 _ACEOF
29612 if ac_fn_cxx_try_compile "$LINENO"; then :
29613 glibcxx_cv_func__isinff_use=yes
29614 else
29615 glibcxx_cv_func__isinff_use=no
29617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29618 ac_ext=c
29619 ac_cpp='$CPP $CPPFLAGS'
29620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
29629 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
29631 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
29632 for ac_func in _isinff
29633 do :
29634 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
29635 if test "x$ac_cv_func__isinff" = x""yes; then :
29636 cat >>confdefs.h <<_ACEOF
29637 #define HAVE__ISINFF 1
29638 _ACEOF
29641 done
29650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
29651 $as_echo_n "checking for atan2f declaration... " >&6; }
29652 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
29653 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
29654 $as_echo_n "(cached) " >&6
29655 else
29658 ac_ext=cpp
29659 ac_cpp='$CXXCPP $CPPFLAGS'
29660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29665 /* end confdefs.h. */
29666 #include <math.h>
29668 main ()
29670 atan2f(0, 0);
29672 return 0;
29674 _ACEOF
29675 if ac_fn_cxx_try_compile "$LINENO"; then :
29676 glibcxx_cv_func_atan2f_use=yes
29677 else
29678 glibcxx_cv_func_atan2f_use=no
29680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29681 ac_ext=c
29682 ac_cpp='$CPP $CPPFLAGS'
29683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
29692 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
29694 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
29695 for ac_func in atan2f
29696 do :
29697 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
29698 if test "x$ac_cv_func_atan2f" = x""yes; then :
29699 cat >>confdefs.h <<_ACEOF
29700 #define HAVE_ATAN2F 1
29701 _ACEOF
29704 done
29706 else
29708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
29709 $as_echo_n "checking for _atan2f declaration... " >&6; }
29710 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
29711 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
29712 $as_echo_n "(cached) " >&6
29713 else
29716 ac_ext=cpp
29717 ac_cpp='$CXXCPP $CPPFLAGS'
29718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29723 /* end confdefs.h. */
29724 #include <math.h>
29726 main ()
29728 _atan2f(0, 0);
29730 return 0;
29732 _ACEOF
29733 if ac_fn_cxx_try_compile "$LINENO"; then :
29734 glibcxx_cv_func__atan2f_use=yes
29735 else
29736 glibcxx_cv_func__atan2f_use=no
29738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29739 ac_ext=c
29740 ac_cpp='$CPP $CPPFLAGS'
29741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
29750 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
29752 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
29753 for ac_func in _atan2f
29754 do :
29755 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
29756 if test "x$ac_cv_func__atan2f" = x""yes; then :
29757 cat >>confdefs.h <<_ACEOF
29758 #define HAVE__ATAN2F 1
29759 _ACEOF
29762 done
29771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
29772 $as_echo_n "checking for fabsf declaration... " >&6; }
29773 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
29774 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
29775 $as_echo_n "(cached) " >&6
29776 else
29779 ac_ext=cpp
29780 ac_cpp='$CXXCPP $CPPFLAGS'
29781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29786 /* end confdefs.h. */
29787 #include <math.h>
29788 #ifdef HAVE_IEEEFP_H
29789 #include <ieeefp.h>
29790 #endif
29793 main ()
29795 fabsf(0);
29797 return 0;
29799 _ACEOF
29800 if ac_fn_cxx_try_compile "$LINENO"; then :
29801 glibcxx_cv_func_fabsf_use=yes
29802 else
29803 glibcxx_cv_func_fabsf_use=no
29805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29806 ac_ext=c
29807 ac_cpp='$CPP $CPPFLAGS'
29808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
29817 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
29819 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
29820 for ac_func in fabsf
29821 do :
29822 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
29823 if test "x$ac_cv_func_fabsf" = x""yes; then :
29824 cat >>confdefs.h <<_ACEOF
29825 #define HAVE_FABSF 1
29826 _ACEOF
29829 done
29831 else
29833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
29834 $as_echo_n "checking for _fabsf declaration... " >&6; }
29835 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
29836 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
29837 $as_echo_n "(cached) " >&6
29838 else
29841 ac_ext=cpp
29842 ac_cpp='$CXXCPP $CPPFLAGS'
29843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29848 /* end confdefs.h. */
29849 #include <math.h>
29850 #ifdef HAVE_IEEEFP_H
29851 #include <ieeefp.h>
29852 #endif
29855 main ()
29857 _fabsf(0);
29859 return 0;
29861 _ACEOF
29862 if ac_fn_cxx_try_compile "$LINENO"; then :
29863 glibcxx_cv_func__fabsf_use=yes
29864 else
29865 glibcxx_cv_func__fabsf_use=no
29867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29868 ac_ext=c
29869 ac_cpp='$CPP $CPPFLAGS'
29870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
29879 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
29881 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
29882 for ac_func in _fabsf
29883 do :
29884 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
29885 if test "x$ac_cv_func__fabsf" = x""yes; then :
29886 cat >>confdefs.h <<_ACEOF
29887 #define HAVE__FABSF 1
29888 _ACEOF
29891 done
29900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
29901 $as_echo_n "checking for fmodf declaration... " >&6; }
29902 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
29903 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
29904 $as_echo_n "(cached) " >&6
29905 else
29908 ac_ext=cpp
29909 ac_cpp='$CXXCPP $CPPFLAGS'
29910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29915 /* end confdefs.h. */
29916 #include <math.h>
29918 main ()
29920 fmodf(0, 0);
29922 return 0;
29924 _ACEOF
29925 if ac_fn_cxx_try_compile "$LINENO"; then :
29926 glibcxx_cv_func_fmodf_use=yes
29927 else
29928 glibcxx_cv_func_fmodf_use=no
29930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29931 ac_ext=c
29932 ac_cpp='$CPP $CPPFLAGS'
29933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
29942 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
29944 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
29945 for ac_func in fmodf
29946 do :
29947 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
29948 if test "x$ac_cv_func_fmodf" = x""yes; then :
29949 cat >>confdefs.h <<_ACEOF
29950 #define HAVE_FMODF 1
29951 _ACEOF
29954 done
29956 else
29958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
29959 $as_echo_n "checking for _fmodf declaration... " >&6; }
29960 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
29961 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
29962 $as_echo_n "(cached) " >&6
29963 else
29966 ac_ext=cpp
29967 ac_cpp='$CXXCPP $CPPFLAGS'
29968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29973 /* end confdefs.h. */
29974 #include <math.h>
29976 main ()
29978 _fmodf(0, 0);
29980 return 0;
29982 _ACEOF
29983 if ac_fn_cxx_try_compile "$LINENO"; then :
29984 glibcxx_cv_func__fmodf_use=yes
29985 else
29986 glibcxx_cv_func__fmodf_use=no
29988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29989 ac_ext=c
29990 ac_cpp='$CPP $CPPFLAGS'
29991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
30000 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
30002 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
30003 for ac_func in _fmodf
30004 do :
30005 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
30006 if test "x$ac_cv_func__fmodf" = x""yes; then :
30007 cat >>confdefs.h <<_ACEOF
30008 #define HAVE__FMODF 1
30009 _ACEOF
30012 done
30021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
30022 $as_echo_n "checking for frexpf declaration... " >&6; }
30023 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
30024 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
30025 $as_echo_n "(cached) " >&6
30026 else
30029 ac_ext=cpp
30030 ac_cpp='$CXXCPP $CPPFLAGS'
30031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30036 /* end confdefs.h. */
30037 #include <math.h>
30039 main ()
30041 frexpf(0, 0);
30043 return 0;
30045 _ACEOF
30046 if ac_fn_cxx_try_compile "$LINENO"; then :
30047 glibcxx_cv_func_frexpf_use=yes
30048 else
30049 glibcxx_cv_func_frexpf_use=no
30051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30052 ac_ext=c
30053 ac_cpp='$CPP $CPPFLAGS'
30054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
30063 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
30065 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
30066 for ac_func in frexpf
30067 do :
30068 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
30069 if test "x$ac_cv_func_frexpf" = x""yes; then :
30070 cat >>confdefs.h <<_ACEOF
30071 #define HAVE_FREXPF 1
30072 _ACEOF
30075 done
30077 else
30079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
30080 $as_echo_n "checking for _frexpf declaration... " >&6; }
30081 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
30082 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
30083 $as_echo_n "(cached) " >&6
30084 else
30087 ac_ext=cpp
30088 ac_cpp='$CXXCPP $CPPFLAGS'
30089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30094 /* end confdefs.h. */
30095 #include <math.h>
30097 main ()
30099 _frexpf(0, 0);
30101 return 0;
30103 _ACEOF
30104 if ac_fn_cxx_try_compile "$LINENO"; then :
30105 glibcxx_cv_func__frexpf_use=yes
30106 else
30107 glibcxx_cv_func__frexpf_use=no
30109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30110 ac_ext=c
30111 ac_cpp='$CPP $CPPFLAGS'
30112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
30121 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
30123 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
30124 for ac_func in _frexpf
30125 do :
30126 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
30127 if test "x$ac_cv_func__frexpf" = x""yes; then :
30128 cat >>confdefs.h <<_ACEOF
30129 #define HAVE__FREXPF 1
30130 _ACEOF
30133 done
30142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
30143 $as_echo_n "checking for hypotf declaration... " >&6; }
30144 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
30145 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
30146 $as_echo_n "(cached) " >&6
30147 else
30150 ac_ext=cpp
30151 ac_cpp='$CXXCPP $CPPFLAGS'
30152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30157 /* end confdefs.h. */
30158 #include <math.h>
30160 main ()
30162 hypotf(0, 0);
30164 return 0;
30166 _ACEOF
30167 if ac_fn_cxx_try_compile "$LINENO"; then :
30168 glibcxx_cv_func_hypotf_use=yes
30169 else
30170 glibcxx_cv_func_hypotf_use=no
30172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30173 ac_ext=c
30174 ac_cpp='$CPP $CPPFLAGS'
30175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
30184 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
30186 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
30187 for ac_func in hypotf
30188 do :
30189 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
30190 if test "x$ac_cv_func_hypotf" = x""yes; then :
30191 cat >>confdefs.h <<_ACEOF
30192 #define HAVE_HYPOTF 1
30193 _ACEOF
30196 done
30198 else
30200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
30201 $as_echo_n "checking for _hypotf declaration... " >&6; }
30202 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
30203 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
30204 $as_echo_n "(cached) " >&6
30205 else
30208 ac_ext=cpp
30209 ac_cpp='$CXXCPP $CPPFLAGS'
30210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30215 /* end confdefs.h. */
30216 #include <math.h>
30218 main ()
30220 _hypotf(0, 0);
30222 return 0;
30224 _ACEOF
30225 if ac_fn_cxx_try_compile "$LINENO"; then :
30226 glibcxx_cv_func__hypotf_use=yes
30227 else
30228 glibcxx_cv_func__hypotf_use=no
30230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30231 ac_ext=c
30232 ac_cpp='$CPP $CPPFLAGS'
30233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
30242 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
30244 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
30245 for ac_func in _hypotf
30246 do :
30247 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
30248 if test "x$ac_cv_func__hypotf" = x""yes; then :
30249 cat >>confdefs.h <<_ACEOF
30250 #define HAVE__HYPOTF 1
30251 _ACEOF
30254 done
30263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
30264 $as_echo_n "checking for ldexpf declaration... " >&6; }
30265 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
30266 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
30267 $as_echo_n "(cached) " >&6
30268 else
30271 ac_ext=cpp
30272 ac_cpp='$CXXCPP $CPPFLAGS'
30273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30278 /* end confdefs.h. */
30279 #include <math.h>
30281 main ()
30283 ldexpf(0, 0);
30285 return 0;
30287 _ACEOF
30288 if ac_fn_cxx_try_compile "$LINENO"; then :
30289 glibcxx_cv_func_ldexpf_use=yes
30290 else
30291 glibcxx_cv_func_ldexpf_use=no
30293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30294 ac_ext=c
30295 ac_cpp='$CPP $CPPFLAGS'
30296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
30305 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
30307 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
30308 for ac_func in ldexpf
30309 do :
30310 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
30311 if test "x$ac_cv_func_ldexpf" = x""yes; then :
30312 cat >>confdefs.h <<_ACEOF
30313 #define HAVE_LDEXPF 1
30314 _ACEOF
30317 done
30319 else
30321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
30322 $as_echo_n "checking for _ldexpf declaration... " >&6; }
30323 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
30324 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
30325 $as_echo_n "(cached) " >&6
30326 else
30329 ac_ext=cpp
30330 ac_cpp='$CXXCPP $CPPFLAGS'
30331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30336 /* end confdefs.h. */
30337 #include <math.h>
30339 main ()
30341 _ldexpf(0, 0);
30343 return 0;
30345 _ACEOF
30346 if ac_fn_cxx_try_compile "$LINENO"; then :
30347 glibcxx_cv_func__ldexpf_use=yes
30348 else
30349 glibcxx_cv_func__ldexpf_use=no
30351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30352 ac_ext=c
30353 ac_cpp='$CPP $CPPFLAGS'
30354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
30363 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
30365 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
30366 for ac_func in _ldexpf
30367 do :
30368 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
30369 if test "x$ac_cv_func__ldexpf" = x""yes; then :
30370 cat >>confdefs.h <<_ACEOF
30371 #define HAVE__LDEXPF 1
30372 _ACEOF
30375 done
30384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
30385 $as_echo_n "checking for logf declaration... " >&6; }
30386 if test x${glibcxx_cv_func_logf_use+set} != xset; then
30387 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
30388 $as_echo_n "(cached) " >&6
30389 else
30392 ac_ext=cpp
30393 ac_cpp='$CXXCPP $CPPFLAGS'
30394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30399 /* end confdefs.h. */
30400 #include <math.h>
30401 #ifdef HAVE_IEEEFP_H
30402 #include <ieeefp.h>
30403 #endif
30406 main ()
30408 logf(0);
30410 return 0;
30412 _ACEOF
30413 if ac_fn_cxx_try_compile "$LINENO"; then :
30414 glibcxx_cv_func_logf_use=yes
30415 else
30416 glibcxx_cv_func_logf_use=no
30418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30419 ac_ext=c
30420 ac_cpp='$CPP $CPPFLAGS'
30421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
30430 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
30432 if test x$glibcxx_cv_func_logf_use = x"yes"; then
30433 for ac_func in logf
30434 do :
30435 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
30436 if test "x$ac_cv_func_logf" = x""yes; then :
30437 cat >>confdefs.h <<_ACEOF
30438 #define HAVE_LOGF 1
30439 _ACEOF
30442 done
30444 else
30446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
30447 $as_echo_n "checking for _logf declaration... " >&6; }
30448 if test x${glibcxx_cv_func__logf_use+set} != xset; then
30449 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
30450 $as_echo_n "(cached) " >&6
30451 else
30454 ac_ext=cpp
30455 ac_cpp='$CXXCPP $CPPFLAGS'
30456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30461 /* end confdefs.h. */
30462 #include <math.h>
30463 #ifdef HAVE_IEEEFP_H
30464 #include <ieeefp.h>
30465 #endif
30468 main ()
30470 _logf(0);
30472 return 0;
30474 _ACEOF
30475 if ac_fn_cxx_try_compile "$LINENO"; then :
30476 glibcxx_cv_func__logf_use=yes
30477 else
30478 glibcxx_cv_func__logf_use=no
30480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30481 ac_ext=c
30482 ac_cpp='$CPP $CPPFLAGS'
30483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
30492 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
30494 if test x$glibcxx_cv_func__logf_use = x"yes"; then
30495 for ac_func in _logf
30496 do :
30497 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
30498 if test "x$ac_cv_func__logf" = x""yes; then :
30499 cat >>confdefs.h <<_ACEOF
30500 #define HAVE__LOGF 1
30501 _ACEOF
30504 done
30513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
30514 $as_echo_n "checking for log10f declaration... " >&6; }
30515 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
30516 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
30517 $as_echo_n "(cached) " >&6
30518 else
30521 ac_ext=cpp
30522 ac_cpp='$CXXCPP $CPPFLAGS'
30523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30528 /* end confdefs.h. */
30529 #include <math.h>
30530 #ifdef HAVE_IEEEFP_H
30531 #include <ieeefp.h>
30532 #endif
30535 main ()
30537 log10f(0);
30539 return 0;
30541 _ACEOF
30542 if ac_fn_cxx_try_compile "$LINENO"; then :
30543 glibcxx_cv_func_log10f_use=yes
30544 else
30545 glibcxx_cv_func_log10f_use=no
30547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30548 ac_ext=c
30549 ac_cpp='$CPP $CPPFLAGS'
30550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
30559 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
30561 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
30562 for ac_func in log10f
30563 do :
30564 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
30565 if test "x$ac_cv_func_log10f" = x""yes; then :
30566 cat >>confdefs.h <<_ACEOF
30567 #define HAVE_LOG10F 1
30568 _ACEOF
30571 done
30573 else
30575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
30576 $as_echo_n "checking for _log10f declaration... " >&6; }
30577 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
30578 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
30579 $as_echo_n "(cached) " >&6
30580 else
30583 ac_ext=cpp
30584 ac_cpp='$CXXCPP $CPPFLAGS'
30585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30590 /* end confdefs.h. */
30591 #include <math.h>
30592 #ifdef HAVE_IEEEFP_H
30593 #include <ieeefp.h>
30594 #endif
30597 main ()
30599 _log10f(0);
30601 return 0;
30603 _ACEOF
30604 if ac_fn_cxx_try_compile "$LINENO"; then :
30605 glibcxx_cv_func__log10f_use=yes
30606 else
30607 glibcxx_cv_func__log10f_use=no
30609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30610 ac_ext=c
30611 ac_cpp='$CPP $CPPFLAGS'
30612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
30621 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
30623 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
30624 for ac_func in _log10f
30625 do :
30626 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
30627 if test "x$ac_cv_func__log10f" = x""yes; then :
30628 cat >>confdefs.h <<_ACEOF
30629 #define HAVE__LOG10F 1
30630 _ACEOF
30633 done
30642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
30643 $as_echo_n "checking for modff declaration... " >&6; }
30644 if test x${glibcxx_cv_func_modff_use+set} != xset; then
30645 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
30646 $as_echo_n "(cached) " >&6
30647 else
30650 ac_ext=cpp
30651 ac_cpp='$CXXCPP $CPPFLAGS'
30652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30657 /* end confdefs.h. */
30658 #include <math.h>
30660 main ()
30662 modff(0, 0);
30664 return 0;
30666 _ACEOF
30667 if ac_fn_cxx_try_compile "$LINENO"; then :
30668 glibcxx_cv_func_modff_use=yes
30669 else
30670 glibcxx_cv_func_modff_use=no
30672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30673 ac_ext=c
30674 ac_cpp='$CPP $CPPFLAGS'
30675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
30684 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
30686 if test x$glibcxx_cv_func_modff_use = x"yes"; then
30687 for ac_func in modff
30688 do :
30689 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
30690 if test "x$ac_cv_func_modff" = x""yes; then :
30691 cat >>confdefs.h <<_ACEOF
30692 #define HAVE_MODFF 1
30693 _ACEOF
30696 done
30698 else
30700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
30701 $as_echo_n "checking for _modff declaration... " >&6; }
30702 if test x${glibcxx_cv_func__modff_use+set} != xset; then
30703 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
30704 $as_echo_n "(cached) " >&6
30705 else
30708 ac_ext=cpp
30709 ac_cpp='$CXXCPP $CPPFLAGS'
30710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30715 /* end confdefs.h. */
30716 #include <math.h>
30718 main ()
30720 _modff(0, 0);
30722 return 0;
30724 _ACEOF
30725 if ac_fn_cxx_try_compile "$LINENO"; then :
30726 glibcxx_cv_func__modff_use=yes
30727 else
30728 glibcxx_cv_func__modff_use=no
30730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30731 ac_ext=c
30732 ac_cpp='$CPP $CPPFLAGS'
30733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
30742 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
30744 if test x$glibcxx_cv_func__modff_use = x"yes"; then
30745 for ac_func in _modff
30746 do :
30747 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
30748 if test "x$ac_cv_func__modff" = x""yes; then :
30749 cat >>confdefs.h <<_ACEOF
30750 #define HAVE__MODFF 1
30751 _ACEOF
30754 done
30763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
30764 $as_echo_n "checking for modf declaration... " >&6; }
30765 if test x${glibcxx_cv_func_modf_use+set} != xset; then
30766 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
30767 $as_echo_n "(cached) " >&6
30768 else
30771 ac_ext=cpp
30772 ac_cpp='$CXXCPP $CPPFLAGS'
30773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30778 /* end confdefs.h. */
30779 #include <math.h>
30781 main ()
30783 modf(0, 0);
30785 return 0;
30787 _ACEOF
30788 if ac_fn_cxx_try_compile "$LINENO"; then :
30789 glibcxx_cv_func_modf_use=yes
30790 else
30791 glibcxx_cv_func_modf_use=no
30793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30794 ac_ext=c
30795 ac_cpp='$CPP $CPPFLAGS'
30796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
30805 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
30807 if test x$glibcxx_cv_func_modf_use = x"yes"; then
30808 for ac_func in modf
30809 do :
30810 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
30811 if test "x$ac_cv_func_modf" = x""yes; then :
30812 cat >>confdefs.h <<_ACEOF
30813 #define HAVE_MODF 1
30814 _ACEOF
30817 done
30819 else
30821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
30822 $as_echo_n "checking for _modf declaration... " >&6; }
30823 if test x${glibcxx_cv_func__modf_use+set} != xset; then
30824 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
30825 $as_echo_n "(cached) " >&6
30826 else
30829 ac_ext=cpp
30830 ac_cpp='$CXXCPP $CPPFLAGS'
30831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30836 /* end confdefs.h. */
30837 #include <math.h>
30839 main ()
30841 _modf(0, 0);
30843 return 0;
30845 _ACEOF
30846 if ac_fn_cxx_try_compile "$LINENO"; then :
30847 glibcxx_cv_func__modf_use=yes
30848 else
30849 glibcxx_cv_func__modf_use=no
30851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30852 ac_ext=c
30853 ac_cpp='$CPP $CPPFLAGS'
30854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
30863 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
30865 if test x$glibcxx_cv_func__modf_use = x"yes"; then
30866 for ac_func in _modf
30867 do :
30868 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
30869 if test "x$ac_cv_func__modf" = x""yes; then :
30870 cat >>confdefs.h <<_ACEOF
30871 #define HAVE__MODF 1
30872 _ACEOF
30875 done
30884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
30885 $as_echo_n "checking for powf declaration... " >&6; }
30886 if test x${glibcxx_cv_func_powf_use+set} != xset; then
30887 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
30888 $as_echo_n "(cached) " >&6
30889 else
30892 ac_ext=cpp
30893 ac_cpp='$CXXCPP $CPPFLAGS'
30894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30899 /* end confdefs.h. */
30900 #include <math.h>
30902 main ()
30904 powf(0, 0);
30906 return 0;
30908 _ACEOF
30909 if ac_fn_cxx_try_compile "$LINENO"; then :
30910 glibcxx_cv_func_powf_use=yes
30911 else
30912 glibcxx_cv_func_powf_use=no
30914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30915 ac_ext=c
30916 ac_cpp='$CPP $CPPFLAGS'
30917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
30926 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
30928 if test x$glibcxx_cv_func_powf_use = x"yes"; then
30929 for ac_func in powf
30930 do :
30931 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
30932 if test "x$ac_cv_func_powf" = x""yes; then :
30933 cat >>confdefs.h <<_ACEOF
30934 #define HAVE_POWF 1
30935 _ACEOF
30938 done
30940 else
30942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
30943 $as_echo_n "checking for _powf declaration... " >&6; }
30944 if test x${glibcxx_cv_func__powf_use+set} != xset; then
30945 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
30946 $as_echo_n "(cached) " >&6
30947 else
30950 ac_ext=cpp
30951 ac_cpp='$CXXCPP $CPPFLAGS'
30952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30957 /* end confdefs.h. */
30958 #include <math.h>
30960 main ()
30962 _powf(0, 0);
30964 return 0;
30966 _ACEOF
30967 if ac_fn_cxx_try_compile "$LINENO"; then :
30968 glibcxx_cv_func__powf_use=yes
30969 else
30970 glibcxx_cv_func__powf_use=no
30972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30973 ac_ext=c
30974 ac_cpp='$CPP $CPPFLAGS'
30975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
30984 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
30986 if test x$glibcxx_cv_func__powf_use = x"yes"; then
30987 for ac_func in _powf
30988 do :
30989 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
30990 if test "x$ac_cv_func__powf" = x""yes; then :
30991 cat >>confdefs.h <<_ACEOF
30992 #define HAVE__POWF 1
30993 _ACEOF
30996 done
31005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
31006 $as_echo_n "checking for sqrtf declaration... " >&6; }
31007 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
31008 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
31009 $as_echo_n "(cached) " >&6
31010 else
31013 ac_ext=cpp
31014 ac_cpp='$CXXCPP $CPPFLAGS'
31015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31020 /* end confdefs.h. */
31021 #include <math.h>
31022 #ifdef HAVE_IEEEFP_H
31023 #include <ieeefp.h>
31024 #endif
31027 main ()
31029 sqrtf(0);
31031 return 0;
31033 _ACEOF
31034 if ac_fn_cxx_try_compile "$LINENO"; then :
31035 glibcxx_cv_func_sqrtf_use=yes
31036 else
31037 glibcxx_cv_func_sqrtf_use=no
31039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31040 ac_ext=c
31041 ac_cpp='$CPP $CPPFLAGS'
31042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
31051 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
31053 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
31054 for ac_func in sqrtf
31055 do :
31056 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
31057 if test "x$ac_cv_func_sqrtf" = x""yes; then :
31058 cat >>confdefs.h <<_ACEOF
31059 #define HAVE_SQRTF 1
31060 _ACEOF
31063 done
31065 else
31067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
31068 $as_echo_n "checking for _sqrtf declaration... " >&6; }
31069 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
31070 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
31071 $as_echo_n "(cached) " >&6
31072 else
31075 ac_ext=cpp
31076 ac_cpp='$CXXCPP $CPPFLAGS'
31077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31082 /* end confdefs.h. */
31083 #include <math.h>
31084 #ifdef HAVE_IEEEFP_H
31085 #include <ieeefp.h>
31086 #endif
31089 main ()
31091 _sqrtf(0);
31093 return 0;
31095 _ACEOF
31096 if ac_fn_cxx_try_compile "$LINENO"; then :
31097 glibcxx_cv_func__sqrtf_use=yes
31098 else
31099 glibcxx_cv_func__sqrtf_use=no
31101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31102 ac_ext=c
31103 ac_cpp='$CPP $CPPFLAGS'
31104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
31113 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
31115 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
31116 for ac_func in _sqrtf
31117 do :
31118 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
31119 if test "x$ac_cv_func__sqrtf" = x""yes; then :
31120 cat >>confdefs.h <<_ACEOF
31121 #define HAVE__SQRTF 1
31122 _ACEOF
31125 done
31134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
31135 $as_echo_n "checking for sincosf declaration... " >&6; }
31136 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
31137 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
31138 $as_echo_n "(cached) " >&6
31139 else
31142 ac_ext=cpp
31143 ac_cpp='$CXXCPP $CPPFLAGS'
31144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31149 /* end confdefs.h. */
31150 #include <math.h>
31152 main ()
31154 sincosf(0, 0, 0);
31156 return 0;
31158 _ACEOF
31159 if ac_fn_cxx_try_compile "$LINENO"; then :
31160 glibcxx_cv_func_sincosf_use=yes
31161 else
31162 glibcxx_cv_func_sincosf_use=no
31164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31165 ac_ext=c
31166 ac_cpp='$CPP $CPPFLAGS'
31167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
31176 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
31178 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
31179 for ac_func in sincosf
31180 do :
31181 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
31182 if test "x$ac_cv_func_sincosf" = x""yes; then :
31183 cat >>confdefs.h <<_ACEOF
31184 #define HAVE_SINCOSF 1
31185 _ACEOF
31188 done
31190 else
31192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
31193 $as_echo_n "checking for _sincosf declaration... " >&6; }
31194 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
31195 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
31196 $as_echo_n "(cached) " >&6
31197 else
31200 ac_ext=cpp
31201 ac_cpp='$CXXCPP $CPPFLAGS'
31202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31207 /* end confdefs.h. */
31208 #include <math.h>
31210 main ()
31212 _sincosf(0, 0, 0);
31214 return 0;
31216 _ACEOF
31217 if ac_fn_cxx_try_compile "$LINENO"; then :
31218 glibcxx_cv_func__sincosf_use=yes
31219 else
31220 glibcxx_cv_func__sincosf_use=no
31222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31223 ac_ext=c
31224 ac_cpp='$CPP $CPPFLAGS'
31225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
31234 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
31236 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
31237 for ac_func in _sincosf
31238 do :
31239 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
31240 if test "x$ac_cv_func__sincosf" = x""yes; then :
31241 cat >>confdefs.h <<_ACEOF
31242 #define HAVE__SINCOSF 1
31243 _ACEOF
31246 done
31255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
31256 $as_echo_n "checking for finitef declaration... " >&6; }
31257 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
31258 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
31259 $as_echo_n "(cached) " >&6
31260 else
31263 ac_ext=cpp
31264 ac_cpp='$CXXCPP $CPPFLAGS'
31265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31270 /* end confdefs.h. */
31271 #include <math.h>
31272 #ifdef HAVE_IEEEFP_H
31273 #include <ieeefp.h>
31274 #endif
31277 main ()
31279 finitef(0);
31281 return 0;
31283 _ACEOF
31284 if ac_fn_cxx_try_compile "$LINENO"; then :
31285 glibcxx_cv_func_finitef_use=yes
31286 else
31287 glibcxx_cv_func_finitef_use=no
31289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31290 ac_ext=c
31291 ac_cpp='$CPP $CPPFLAGS'
31292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
31301 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
31303 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
31304 for ac_func in finitef
31305 do :
31306 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
31307 if test "x$ac_cv_func_finitef" = x""yes; then :
31308 cat >>confdefs.h <<_ACEOF
31309 #define HAVE_FINITEF 1
31310 _ACEOF
31313 done
31315 else
31317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
31318 $as_echo_n "checking for _finitef declaration... " >&6; }
31319 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
31320 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
31321 $as_echo_n "(cached) " >&6
31322 else
31325 ac_ext=cpp
31326 ac_cpp='$CXXCPP $CPPFLAGS'
31327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31332 /* end confdefs.h. */
31333 #include <math.h>
31334 #ifdef HAVE_IEEEFP_H
31335 #include <ieeefp.h>
31336 #endif
31339 main ()
31341 _finitef(0);
31343 return 0;
31345 _ACEOF
31346 if ac_fn_cxx_try_compile "$LINENO"; then :
31347 glibcxx_cv_func__finitef_use=yes
31348 else
31349 glibcxx_cv_func__finitef_use=no
31351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31352 ac_ext=c
31353 ac_cpp='$CPP $CPPFLAGS'
31354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
31363 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
31365 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
31366 for ac_func in _finitef
31367 do :
31368 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
31369 if test "x$ac_cv_func__finitef" = x""yes; then :
31370 cat >>confdefs.h <<_ACEOF
31371 #define HAVE__FINITEF 1
31372 _ACEOF
31375 done
31384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
31385 $as_echo_n "checking for long double trig functions... " >&6; }
31386 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
31387 $as_echo_n "(cached) " >&6
31388 else
31391 ac_ext=cpp
31392 ac_cpp='$CXXCPP $CPPFLAGS'
31393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31398 /* end confdefs.h. */
31399 #include <math.h>
31401 main ()
31403 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
31405 return 0;
31407 _ACEOF
31408 if ac_fn_cxx_try_compile "$LINENO"; then :
31409 glibcxx_cv_func_long_double_trig_use=yes
31410 else
31411 glibcxx_cv_func_long_double_trig_use=no
31413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31414 ac_ext=c
31415 ac_cpp='$CPP $CPPFLAGS'
31416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
31423 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
31424 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
31425 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
31426 do :
31427 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31428 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31429 eval as_val=\$$as_ac_var
31430 if test "x$as_val" = x""yes; then :
31431 cat >>confdefs.h <<_ACEOF
31432 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31433 _ACEOF
31436 done
31438 else
31439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
31440 $as_echo_n "checking for _long double trig functions... " >&6; }
31441 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
31442 $as_echo_n "(cached) " >&6
31443 else
31446 ac_ext=cpp
31447 ac_cpp='$CXXCPP $CPPFLAGS'
31448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31453 /* end confdefs.h. */
31454 #include <math.h>
31456 main ()
31458 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
31460 return 0;
31462 _ACEOF
31463 if ac_fn_cxx_try_compile "$LINENO"; then :
31464 glibcxx_cv_func__long_double_trig_use=yes
31465 else
31466 glibcxx_cv_func__long_double_trig_use=no
31468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31469 ac_ext=c
31470 ac_cpp='$CPP $CPPFLAGS'
31471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
31478 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
31479 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
31480 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
31481 do :
31482 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31483 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31484 eval as_val=\$$as_ac_var
31485 if test "x$as_val" = x""yes; then :
31486 cat >>confdefs.h <<_ACEOF
31487 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31488 _ACEOF
31491 done
31500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
31501 $as_echo_n "checking for long double round functions... " >&6; }
31502 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
31503 $as_echo_n "(cached) " >&6
31504 else
31507 ac_ext=cpp
31508 ac_cpp='$CXXCPP $CPPFLAGS'
31509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31514 /* end confdefs.h. */
31515 #include <math.h>
31517 main ()
31519 ceill (0); floorl (0);
31521 return 0;
31523 _ACEOF
31524 if ac_fn_cxx_try_compile "$LINENO"; then :
31525 glibcxx_cv_func_long_double_round_use=yes
31526 else
31527 glibcxx_cv_func_long_double_round_use=no
31529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31530 ac_ext=c
31531 ac_cpp='$CPP $CPPFLAGS'
31532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
31539 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
31540 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
31541 for ac_func in ceill floorl
31542 do :
31543 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31544 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31545 eval as_val=\$$as_ac_var
31546 if test "x$as_val" = x""yes; then :
31547 cat >>confdefs.h <<_ACEOF
31548 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31549 _ACEOF
31552 done
31554 else
31555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
31556 $as_echo_n "checking for _long double round functions... " >&6; }
31557 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
31558 $as_echo_n "(cached) " >&6
31559 else
31562 ac_ext=cpp
31563 ac_cpp='$CXXCPP $CPPFLAGS'
31564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31569 /* end confdefs.h. */
31570 #include <math.h>
31572 main ()
31574 _ceill (0); _floorl (0);
31576 return 0;
31578 _ACEOF
31579 if ac_fn_cxx_try_compile "$LINENO"; then :
31580 glibcxx_cv_func__long_double_round_use=yes
31581 else
31582 glibcxx_cv_func__long_double_round_use=no
31584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31585 ac_ext=c
31586 ac_cpp='$CPP $CPPFLAGS'
31587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
31594 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
31595 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
31596 for ac_func in _ceill _floorl
31597 do :
31598 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31599 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31600 eval as_val=\$$as_ac_var
31601 if test "x$as_val" = x""yes; then :
31602 cat >>confdefs.h <<_ACEOF
31603 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31604 _ACEOF
31607 done
31617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
31618 $as_echo_n "checking for isnanl declaration... " >&6; }
31619 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
31620 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
31621 $as_echo_n "(cached) " >&6
31622 else
31625 ac_ext=cpp
31626 ac_cpp='$CXXCPP $CPPFLAGS'
31627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31632 /* end confdefs.h. */
31633 #include <math.h>
31634 #ifdef HAVE_IEEEFP_H
31635 #include <ieeefp.h>
31636 #endif
31639 main ()
31641 isnanl(0);
31643 return 0;
31645 _ACEOF
31646 if ac_fn_cxx_try_compile "$LINENO"; then :
31647 glibcxx_cv_func_isnanl_use=yes
31648 else
31649 glibcxx_cv_func_isnanl_use=no
31651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31652 ac_ext=c
31653 ac_cpp='$CPP $CPPFLAGS'
31654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
31663 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
31665 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
31666 for ac_func in isnanl
31667 do :
31668 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
31669 if test "x$ac_cv_func_isnanl" = x""yes; then :
31670 cat >>confdefs.h <<_ACEOF
31671 #define HAVE_ISNANL 1
31672 _ACEOF
31675 done
31677 else
31679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
31680 $as_echo_n "checking for _isnanl declaration... " >&6; }
31681 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
31682 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
31683 $as_echo_n "(cached) " >&6
31684 else
31687 ac_ext=cpp
31688 ac_cpp='$CXXCPP $CPPFLAGS'
31689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31694 /* end confdefs.h. */
31695 #include <math.h>
31696 #ifdef HAVE_IEEEFP_H
31697 #include <ieeefp.h>
31698 #endif
31701 main ()
31703 _isnanl(0);
31705 return 0;
31707 _ACEOF
31708 if ac_fn_cxx_try_compile "$LINENO"; then :
31709 glibcxx_cv_func__isnanl_use=yes
31710 else
31711 glibcxx_cv_func__isnanl_use=no
31713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31714 ac_ext=c
31715 ac_cpp='$CPP $CPPFLAGS'
31716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
31725 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
31727 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
31728 for ac_func in _isnanl
31729 do :
31730 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
31731 if test "x$ac_cv_func__isnanl" = x""yes; then :
31732 cat >>confdefs.h <<_ACEOF
31733 #define HAVE__ISNANL 1
31734 _ACEOF
31737 done
31746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
31747 $as_echo_n "checking for isinfl declaration... " >&6; }
31748 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
31749 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
31750 $as_echo_n "(cached) " >&6
31751 else
31754 ac_ext=cpp
31755 ac_cpp='$CXXCPP $CPPFLAGS'
31756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31761 /* end confdefs.h. */
31762 #include <math.h>
31763 #ifdef HAVE_IEEEFP_H
31764 #include <ieeefp.h>
31765 #endif
31768 main ()
31770 isinfl(0);
31772 return 0;
31774 _ACEOF
31775 if ac_fn_cxx_try_compile "$LINENO"; then :
31776 glibcxx_cv_func_isinfl_use=yes
31777 else
31778 glibcxx_cv_func_isinfl_use=no
31780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31781 ac_ext=c
31782 ac_cpp='$CPP $CPPFLAGS'
31783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
31792 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
31794 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
31795 for ac_func in isinfl
31796 do :
31797 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
31798 if test "x$ac_cv_func_isinfl" = x""yes; then :
31799 cat >>confdefs.h <<_ACEOF
31800 #define HAVE_ISINFL 1
31801 _ACEOF
31804 done
31806 else
31808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
31809 $as_echo_n "checking for _isinfl declaration... " >&6; }
31810 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
31811 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
31812 $as_echo_n "(cached) " >&6
31813 else
31816 ac_ext=cpp
31817 ac_cpp='$CXXCPP $CPPFLAGS'
31818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31823 /* end confdefs.h. */
31824 #include <math.h>
31825 #ifdef HAVE_IEEEFP_H
31826 #include <ieeefp.h>
31827 #endif
31830 main ()
31832 _isinfl(0);
31834 return 0;
31836 _ACEOF
31837 if ac_fn_cxx_try_compile "$LINENO"; then :
31838 glibcxx_cv_func__isinfl_use=yes
31839 else
31840 glibcxx_cv_func__isinfl_use=no
31842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31843 ac_ext=c
31844 ac_cpp='$CPP $CPPFLAGS'
31845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
31854 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
31856 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
31857 for ac_func in _isinfl
31858 do :
31859 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
31860 if test "x$ac_cv_func__isinfl" = x""yes; then :
31861 cat >>confdefs.h <<_ACEOF
31862 #define HAVE__ISINFL 1
31863 _ACEOF
31866 done
31875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
31876 $as_echo_n "checking for atan2l declaration... " >&6; }
31877 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
31878 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
31879 $as_echo_n "(cached) " >&6
31880 else
31883 ac_ext=cpp
31884 ac_cpp='$CXXCPP $CPPFLAGS'
31885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31890 /* end confdefs.h. */
31891 #include <math.h>
31893 main ()
31895 atan2l(0, 0);
31897 return 0;
31899 _ACEOF
31900 if ac_fn_cxx_try_compile "$LINENO"; then :
31901 glibcxx_cv_func_atan2l_use=yes
31902 else
31903 glibcxx_cv_func_atan2l_use=no
31905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31906 ac_ext=c
31907 ac_cpp='$CPP $CPPFLAGS'
31908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
31917 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
31919 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
31920 for ac_func in atan2l
31921 do :
31922 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
31923 if test "x$ac_cv_func_atan2l" = x""yes; then :
31924 cat >>confdefs.h <<_ACEOF
31925 #define HAVE_ATAN2L 1
31926 _ACEOF
31929 done
31931 else
31933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
31934 $as_echo_n "checking for _atan2l declaration... " >&6; }
31935 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
31936 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
31937 $as_echo_n "(cached) " >&6
31938 else
31941 ac_ext=cpp
31942 ac_cpp='$CXXCPP $CPPFLAGS'
31943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31948 /* end confdefs.h. */
31949 #include <math.h>
31951 main ()
31953 _atan2l(0, 0);
31955 return 0;
31957 _ACEOF
31958 if ac_fn_cxx_try_compile "$LINENO"; then :
31959 glibcxx_cv_func__atan2l_use=yes
31960 else
31961 glibcxx_cv_func__atan2l_use=no
31963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31964 ac_ext=c
31965 ac_cpp='$CPP $CPPFLAGS'
31966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
31975 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
31977 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
31978 for ac_func in _atan2l
31979 do :
31980 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
31981 if test "x$ac_cv_func__atan2l" = x""yes; then :
31982 cat >>confdefs.h <<_ACEOF
31983 #define HAVE__ATAN2L 1
31984 _ACEOF
31987 done
31996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
31997 $as_echo_n "checking for expl declaration... " >&6; }
31998 if test x${glibcxx_cv_func_expl_use+set} != xset; then
31999 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
32000 $as_echo_n "(cached) " >&6
32001 else
32004 ac_ext=cpp
32005 ac_cpp='$CXXCPP $CPPFLAGS'
32006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32011 /* end confdefs.h. */
32012 #include <math.h>
32013 #ifdef HAVE_IEEEFP_H
32014 #include <ieeefp.h>
32015 #endif
32018 main ()
32020 expl(0);
32022 return 0;
32024 _ACEOF
32025 if ac_fn_cxx_try_compile "$LINENO"; then :
32026 glibcxx_cv_func_expl_use=yes
32027 else
32028 glibcxx_cv_func_expl_use=no
32030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32031 ac_ext=c
32032 ac_cpp='$CPP $CPPFLAGS'
32033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
32042 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
32044 if test x$glibcxx_cv_func_expl_use = x"yes"; then
32045 for ac_func in expl
32046 do :
32047 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
32048 if test "x$ac_cv_func_expl" = x""yes; then :
32049 cat >>confdefs.h <<_ACEOF
32050 #define HAVE_EXPL 1
32051 _ACEOF
32054 done
32056 else
32058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
32059 $as_echo_n "checking for _expl declaration... " >&6; }
32060 if test x${glibcxx_cv_func__expl_use+set} != xset; then
32061 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
32062 $as_echo_n "(cached) " >&6
32063 else
32066 ac_ext=cpp
32067 ac_cpp='$CXXCPP $CPPFLAGS'
32068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32073 /* end confdefs.h. */
32074 #include <math.h>
32075 #ifdef HAVE_IEEEFP_H
32076 #include <ieeefp.h>
32077 #endif
32080 main ()
32082 _expl(0);
32084 return 0;
32086 _ACEOF
32087 if ac_fn_cxx_try_compile "$LINENO"; then :
32088 glibcxx_cv_func__expl_use=yes
32089 else
32090 glibcxx_cv_func__expl_use=no
32092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32093 ac_ext=c
32094 ac_cpp='$CPP $CPPFLAGS'
32095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
32104 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
32106 if test x$glibcxx_cv_func__expl_use = x"yes"; then
32107 for ac_func in _expl
32108 do :
32109 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
32110 if test "x$ac_cv_func__expl" = x""yes; then :
32111 cat >>confdefs.h <<_ACEOF
32112 #define HAVE__EXPL 1
32113 _ACEOF
32116 done
32125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
32126 $as_echo_n "checking for fabsl declaration... " >&6; }
32127 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
32128 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
32129 $as_echo_n "(cached) " >&6
32130 else
32133 ac_ext=cpp
32134 ac_cpp='$CXXCPP $CPPFLAGS'
32135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32140 /* end confdefs.h. */
32141 #include <math.h>
32142 #ifdef HAVE_IEEEFP_H
32143 #include <ieeefp.h>
32144 #endif
32147 main ()
32149 fabsl(0);
32151 return 0;
32153 _ACEOF
32154 if ac_fn_cxx_try_compile "$LINENO"; then :
32155 glibcxx_cv_func_fabsl_use=yes
32156 else
32157 glibcxx_cv_func_fabsl_use=no
32159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32160 ac_ext=c
32161 ac_cpp='$CPP $CPPFLAGS'
32162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
32171 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
32173 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
32174 for ac_func in fabsl
32175 do :
32176 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
32177 if test "x$ac_cv_func_fabsl" = x""yes; then :
32178 cat >>confdefs.h <<_ACEOF
32179 #define HAVE_FABSL 1
32180 _ACEOF
32183 done
32185 else
32187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
32188 $as_echo_n "checking for _fabsl declaration... " >&6; }
32189 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
32190 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
32191 $as_echo_n "(cached) " >&6
32192 else
32195 ac_ext=cpp
32196 ac_cpp='$CXXCPP $CPPFLAGS'
32197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32202 /* end confdefs.h. */
32203 #include <math.h>
32204 #ifdef HAVE_IEEEFP_H
32205 #include <ieeefp.h>
32206 #endif
32209 main ()
32211 _fabsl(0);
32213 return 0;
32215 _ACEOF
32216 if ac_fn_cxx_try_compile "$LINENO"; then :
32217 glibcxx_cv_func__fabsl_use=yes
32218 else
32219 glibcxx_cv_func__fabsl_use=no
32221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32222 ac_ext=c
32223 ac_cpp='$CPP $CPPFLAGS'
32224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
32233 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
32235 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
32236 for ac_func in _fabsl
32237 do :
32238 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
32239 if test "x$ac_cv_func__fabsl" = x""yes; then :
32240 cat >>confdefs.h <<_ACEOF
32241 #define HAVE__FABSL 1
32242 _ACEOF
32245 done
32254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
32255 $as_echo_n "checking for fmodl declaration... " >&6; }
32256 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
32257 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
32258 $as_echo_n "(cached) " >&6
32259 else
32262 ac_ext=cpp
32263 ac_cpp='$CXXCPP $CPPFLAGS'
32264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32269 /* end confdefs.h. */
32270 #include <math.h>
32272 main ()
32274 fmodl(0, 0);
32276 return 0;
32278 _ACEOF
32279 if ac_fn_cxx_try_compile "$LINENO"; then :
32280 glibcxx_cv_func_fmodl_use=yes
32281 else
32282 glibcxx_cv_func_fmodl_use=no
32284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32285 ac_ext=c
32286 ac_cpp='$CPP $CPPFLAGS'
32287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
32296 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
32298 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
32299 for ac_func in fmodl
32300 do :
32301 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
32302 if test "x$ac_cv_func_fmodl" = x""yes; then :
32303 cat >>confdefs.h <<_ACEOF
32304 #define HAVE_FMODL 1
32305 _ACEOF
32308 done
32310 else
32312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
32313 $as_echo_n "checking for _fmodl declaration... " >&6; }
32314 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
32315 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
32316 $as_echo_n "(cached) " >&6
32317 else
32320 ac_ext=cpp
32321 ac_cpp='$CXXCPP $CPPFLAGS'
32322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32327 /* end confdefs.h. */
32328 #include <math.h>
32330 main ()
32332 _fmodl(0, 0);
32334 return 0;
32336 _ACEOF
32337 if ac_fn_cxx_try_compile "$LINENO"; then :
32338 glibcxx_cv_func__fmodl_use=yes
32339 else
32340 glibcxx_cv_func__fmodl_use=no
32342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32343 ac_ext=c
32344 ac_cpp='$CPP $CPPFLAGS'
32345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
32354 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
32356 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
32357 for ac_func in _fmodl
32358 do :
32359 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
32360 if test "x$ac_cv_func__fmodl" = x""yes; then :
32361 cat >>confdefs.h <<_ACEOF
32362 #define HAVE__FMODL 1
32363 _ACEOF
32366 done
32375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
32376 $as_echo_n "checking for frexpl declaration... " >&6; }
32377 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
32378 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
32379 $as_echo_n "(cached) " >&6
32380 else
32383 ac_ext=cpp
32384 ac_cpp='$CXXCPP $CPPFLAGS'
32385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32390 /* end confdefs.h. */
32391 #include <math.h>
32393 main ()
32395 frexpl(0, 0);
32397 return 0;
32399 _ACEOF
32400 if ac_fn_cxx_try_compile "$LINENO"; then :
32401 glibcxx_cv_func_frexpl_use=yes
32402 else
32403 glibcxx_cv_func_frexpl_use=no
32405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32406 ac_ext=c
32407 ac_cpp='$CPP $CPPFLAGS'
32408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
32417 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
32419 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
32420 for ac_func in frexpl
32421 do :
32422 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
32423 if test "x$ac_cv_func_frexpl" = x""yes; then :
32424 cat >>confdefs.h <<_ACEOF
32425 #define HAVE_FREXPL 1
32426 _ACEOF
32429 done
32431 else
32433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
32434 $as_echo_n "checking for _frexpl declaration... " >&6; }
32435 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
32436 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
32437 $as_echo_n "(cached) " >&6
32438 else
32441 ac_ext=cpp
32442 ac_cpp='$CXXCPP $CPPFLAGS'
32443 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32444 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32445 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32448 /* end confdefs.h. */
32449 #include <math.h>
32451 main ()
32453 _frexpl(0, 0);
32455 return 0;
32457 _ACEOF
32458 if ac_fn_cxx_try_compile "$LINENO"; then :
32459 glibcxx_cv_func__frexpl_use=yes
32460 else
32461 glibcxx_cv_func__frexpl_use=no
32463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32464 ac_ext=c
32465 ac_cpp='$CPP $CPPFLAGS'
32466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
32475 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
32477 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
32478 for ac_func in _frexpl
32479 do :
32480 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
32481 if test "x$ac_cv_func__frexpl" = x""yes; then :
32482 cat >>confdefs.h <<_ACEOF
32483 #define HAVE__FREXPL 1
32484 _ACEOF
32487 done
32496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
32497 $as_echo_n "checking for hypotl declaration... " >&6; }
32498 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
32499 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
32500 $as_echo_n "(cached) " >&6
32501 else
32504 ac_ext=cpp
32505 ac_cpp='$CXXCPP $CPPFLAGS'
32506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32511 /* end confdefs.h. */
32512 #include <math.h>
32514 main ()
32516 hypotl(0, 0);
32518 return 0;
32520 _ACEOF
32521 if ac_fn_cxx_try_compile "$LINENO"; then :
32522 glibcxx_cv_func_hypotl_use=yes
32523 else
32524 glibcxx_cv_func_hypotl_use=no
32526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32527 ac_ext=c
32528 ac_cpp='$CPP $CPPFLAGS'
32529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
32538 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
32540 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
32541 for ac_func in hypotl
32542 do :
32543 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
32544 if test "x$ac_cv_func_hypotl" = x""yes; then :
32545 cat >>confdefs.h <<_ACEOF
32546 #define HAVE_HYPOTL 1
32547 _ACEOF
32550 done
32552 else
32554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
32555 $as_echo_n "checking for _hypotl declaration... " >&6; }
32556 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
32557 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
32558 $as_echo_n "(cached) " >&6
32559 else
32562 ac_ext=cpp
32563 ac_cpp='$CXXCPP $CPPFLAGS'
32564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32569 /* end confdefs.h. */
32570 #include <math.h>
32572 main ()
32574 _hypotl(0, 0);
32576 return 0;
32578 _ACEOF
32579 if ac_fn_cxx_try_compile "$LINENO"; then :
32580 glibcxx_cv_func__hypotl_use=yes
32581 else
32582 glibcxx_cv_func__hypotl_use=no
32584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32585 ac_ext=c
32586 ac_cpp='$CPP $CPPFLAGS'
32587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
32596 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
32598 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
32599 for ac_func in _hypotl
32600 do :
32601 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
32602 if test "x$ac_cv_func__hypotl" = x""yes; then :
32603 cat >>confdefs.h <<_ACEOF
32604 #define HAVE__HYPOTL 1
32605 _ACEOF
32608 done
32617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
32618 $as_echo_n "checking for ldexpl declaration... " >&6; }
32619 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
32620 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
32621 $as_echo_n "(cached) " >&6
32622 else
32625 ac_ext=cpp
32626 ac_cpp='$CXXCPP $CPPFLAGS'
32627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32632 /* end confdefs.h. */
32633 #include <math.h>
32635 main ()
32637 ldexpl(0, 0);
32639 return 0;
32641 _ACEOF
32642 if ac_fn_cxx_try_compile "$LINENO"; then :
32643 glibcxx_cv_func_ldexpl_use=yes
32644 else
32645 glibcxx_cv_func_ldexpl_use=no
32647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32648 ac_ext=c
32649 ac_cpp='$CPP $CPPFLAGS'
32650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
32659 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
32661 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
32662 for ac_func in ldexpl
32663 do :
32664 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
32665 if test "x$ac_cv_func_ldexpl" = x""yes; then :
32666 cat >>confdefs.h <<_ACEOF
32667 #define HAVE_LDEXPL 1
32668 _ACEOF
32671 done
32673 else
32675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
32676 $as_echo_n "checking for _ldexpl declaration... " >&6; }
32677 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
32678 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
32679 $as_echo_n "(cached) " >&6
32680 else
32683 ac_ext=cpp
32684 ac_cpp='$CXXCPP $CPPFLAGS'
32685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32690 /* end confdefs.h. */
32691 #include <math.h>
32693 main ()
32695 _ldexpl(0, 0);
32697 return 0;
32699 _ACEOF
32700 if ac_fn_cxx_try_compile "$LINENO"; then :
32701 glibcxx_cv_func__ldexpl_use=yes
32702 else
32703 glibcxx_cv_func__ldexpl_use=no
32705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32706 ac_ext=c
32707 ac_cpp='$CPP $CPPFLAGS'
32708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
32717 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
32719 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
32720 for ac_func in _ldexpl
32721 do :
32722 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
32723 if test "x$ac_cv_func__ldexpl" = x""yes; then :
32724 cat >>confdefs.h <<_ACEOF
32725 #define HAVE__LDEXPL 1
32726 _ACEOF
32729 done
32738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
32739 $as_echo_n "checking for logl declaration... " >&6; }
32740 if test x${glibcxx_cv_func_logl_use+set} != xset; then
32741 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
32742 $as_echo_n "(cached) " >&6
32743 else
32746 ac_ext=cpp
32747 ac_cpp='$CXXCPP $CPPFLAGS'
32748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32753 /* end confdefs.h. */
32754 #include <math.h>
32755 #ifdef HAVE_IEEEFP_H
32756 #include <ieeefp.h>
32757 #endif
32760 main ()
32762 logl(0);
32764 return 0;
32766 _ACEOF
32767 if ac_fn_cxx_try_compile "$LINENO"; then :
32768 glibcxx_cv_func_logl_use=yes
32769 else
32770 glibcxx_cv_func_logl_use=no
32772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32773 ac_ext=c
32774 ac_cpp='$CPP $CPPFLAGS'
32775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
32784 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
32786 if test x$glibcxx_cv_func_logl_use = x"yes"; then
32787 for ac_func in logl
32788 do :
32789 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
32790 if test "x$ac_cv_func_logl" = x""yes; then :
32791 cat >>confdefs.h <<_ACEOF
32792 #define HAVE_LOGL 1
32793 _ACEOF
32796 done
32798 else
32800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
32801 $as_echo_n "checking for _logl declaration... " >&6; }
32802 if test x${glibcxx_cv_func__logl_use+set} != xset; then
32803 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
32804 $as_echo_n "(cached) " >&6
32805 else
32808 ac_ext=cpp
32809 ac_cpp='$CXXCPP $CPPFLAGS'
32810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32815 /* end confdefs.h. */
32816 #include <math.h>
32817 #ifdef HAVE_IEEEFP_H
32818 #include <ieeefp.h>
32819 #endif
32822 main ()
32824 _logl(0);
32826 return 0;
32828 _ACEOF
32829 if ac_fn_cxx_try_compile "$LINENO"; then :
32830 glibcxx_cv_func__logl_use=yes
32831 else
32832 glibcxx_cv_func__logl_use=no
32834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32835 ac_ext=c
32836 ac_cpp='$CPP $CPPFLAGS'
32837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
32846 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
32848 if test x$glibcxx_cv_func__logl_use = x"yes"; then
32849 for ac_func in _logl
32850 do :
32851 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
32852 if test "x$ac_cv_func__logl" = x""yes; then :
32853 cat >>confdefs.h <<_ACEOF
32854 #define HAVE__LOGL 1
32855 _ACEOF
32858 done
32867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
32868 $as_echo_n "checking for log10l declaration... " >&6; }
32869 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
32870 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
32871 $as_echo_n "(cached) " >&6
32872 else
32875 ac_ext=cpp
32876 ac_cpp='$CXXCPP $CPPFLAGS'
32877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32882 /* end confdefs.h. */
32883 #include <math.h>
32884 #ifdef HAVE_IEEEFP_H
32885 #include <ieeefp.h>
32886 #endif
32889 main ()
32891 log10l(0);
32893 return 0;
32895 _ACEOF
32896 if ac_fn_cxx_try_compile "$LINENO"; then :
32897 glibcxx_cv_func_log10l_use=yes
32898 else
32899 glibcxx_cv_func_log10l_use=no
32901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32902 ac_ext=c
32903 ac_cpp='$CPP $CPPFLAGS'
32904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
32913 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
32915 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
32916 for ac_func in log10l
32917 do :
32918 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
32919 if test "x$ac_cv_func_log10l" = x""yes; then :
32920 cat >>confdefs.h <<_ACEOF
32921 #define HAVE_LOG10L 1
32922 _ACEOF
32925 done
32927 else
32929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
32930 $as_echo_n "checking for _log10l declaration... " >&6; }
32931 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
32932 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
32933 $as_echo_n "(cached) " >&6
32934 else
32937 ac_ext=cpp
32938 ac_cpp='$CXXCPP $CPPFLAGS'
32939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32944 /* end confdefs.h. */
32945 #include <math.h>
32946 #ifdef HAVE_IEEEFP_H
32947 #include <ieeefp.h>
32948 #endif
32951 main ()
32953 _log10l(0);
32955 return 0;
32957 _ACEOF
32958 if ac_fn_cxx_try_compile "$LINENO"; then :
32959 glibcxx_cv_func__log10l_use=yes
32960 else
32961 glibcxx_cv_func__log10l_use=no
32963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32964 ac_ext=c
32965 ac_cpp='$CPP $CPPFLAGS'
32966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
32975 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
32977 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
32978 for ac_func in _log10l
32979 do :
32980 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
32981 if test "x$ac_cv_func__log10l" = x""yes; then :
32982 cat >>confdefs.h <<_ACEOF
32983 #define HAVE__LOG10L 1
32984 _ACEOF
32987 done
32996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
32997 $as_echo_n "checking for modfl declaration... " >&6; }
32998 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
32999 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
33000 $as_echo_n "(cached) " >&6
33001 else
33004 ac_ext=cpp
33005 ac_cpp='$CXXCPP $CPPFLAGS'
33006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33011 /* end confdefs.h. */
33012 #include <math.h>
33014 main ()
33016 modfl(0, 0);
33018 return 0;
33020 _ACEOF
33021 if ac_fn_cxx_try_compile "$LINENO"; then :
33022 glibcxx_cv_func_modfl_use=yes
33023 else
33024 glibcxx_cv_func_modfl_use=no
33026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33027 ac_ext=c
33028 ac_cpp='$CPP $CPPFLAGS'
33029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
33038 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
33040 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
33041 for ac_func in modfl
33042 do :
33043 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
33044 if test "x$ac_cv_func_modfl" = x""yes; then :
33045 cat >>confdefs.h <<_ACEOF
33046 #define HAVE_MODFL 1
33047 _ACEOF
33050 done
33052 else
33054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
33055 $as_echo_n "checking for _modfl declaration... " >&6; }
33056 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
33057 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
33058 $as_echo_n "(cached) " >&6
33059 else
33062 ac_ext=cpp
33063 ac_cpp='$CXXCPP $CPPFLAGS'
33064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33069 /* end confdefs.h. */
33070 #include <math.h>
33072 main ()
33074 _modfl(0, 0);
33076 return 0;
33078 _ACEOF
33079 if ac_fn_cxx_try_compile "$LINENO"; then :
33080 glibcxx_cv_func__modfl_use=yes
33081 else
33082 glibcxx_cv_func__modfl_use=no
33084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33085 ac_ext=c
33086 ac_cpp='$CPP $CPPFLAGS'
33087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
33096 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
33098 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
33099 for ac_func in _modfl
33100 do :
33101 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
33102 if test "x$ac_cv_func__modfl" = x""yes; then :
33103 cat >>confdefs.h <<_ACEOF
33104 #define HAVE__MODFL 1
33105 _ACEOF
33108 done
33117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
33118 $as_echo_n "checking for powl declaration... " >&6; }
33119 if test x${glibcxx_cv_func_powl_use+set} != xset; then
33120 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
33121 $as_echo_n "(cached) " >&6
33122 else
33125 ac_ext=cpp
33126 ac_cpp='$CXXCPP $CPPFLAGS'
33127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33132 /* end confdefs.h. */
33133 #include <math.h>
33135 main ()
33137 powl(0, 0);
33139 return 0;
33141 _ACEOF
33142 if ac_fn_cxx_try_compile "$LINENO"; then :
33143 glibcxx_cv_func_powl_use=yes
33144 else
33145 glibcxx_cv_func_powl_use=no
33147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33148 ac_ext=c
33149 ac_cpp='$CPP $CPPFLAGS'
33150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
33159 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
33161 if test x$glibcxx_cv_func_powl_use = x"yes"; then
33162 for ac_func in powl
33163 do :
33164 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
33165 if test "x$ac_cv_func_powl" = x""yes; then :
33166 cat >>confdefs.h <<_ACEOF
33167 #define HAVE_POWL 1
33168 _ACEOF
33171 done
33173 else
33175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
33176 $as_echo_n "checking for _powl declaration... " >&6; }
33177 if test x${glibcxx_cv_func__powl_use+set} != xset; then
33178 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
33179 $as_echo_n "(cached) " >&6
33180 else
33183 ac_ext=cpp
33184 ac_cpp='$CXXCPP $CPPFLAGS'
33185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33190 /* end confdefs.h. */
33191 #include <math.h>
33193 main ()
33195 _powl(0, 0);
33197 return 0;
33199 _ACEOF
33200 if ac_fn_cxx_try_compile "$LINENO"; then :
33201 glibcxx_cv_func__powl_use=yes
33202 else
33203 glibcxx_cv_func__powl_use=no
33205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33206 ac_ext=c
33207 ac_cpp='$CPP $CPPFLAGS'
33208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
33217 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
33219 if test x$glibcxx_cv_func__powl_use = x"yes"; then
33220 for ac_func in _powl
33221 do :
33222 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
33223 if test "x$ac_cv_func__powl" = x""yes; then :
33224 cat >>confdefs.h <<_ACEOF
33225 #define HAVE__POWL 1
33226 _ACEOF
33229 done
33238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
33239 $as_echo_n "checking for sqrtl declaration... " >&6; }
33240 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
33241 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
33242 $as_echo_n "(cached) " >&6
33243 else
33246 ac_ext=cpp
33247 ac_cpp='$CXXCPP $CPPFLAGS'
33248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33253 /* end confdefs.h. */
33254 #include <math.h>
33255 #ifdef HAVE_IEEEFP_H
33256 #include <ieeefp.h>
33257 #endif
33260 main ()
33262 sqrtl(0);
33264 return 0;
33266 _ACEOF
33267 if ac_fn_cxx_try_compile "$LINENO"; then :
33268 glibcxx_cv_func_sqrtl_use=yes
33269 else
33270 glibcxx_cv_func_sqrtl_use=no
33272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33273 ac_ext=c
33274 ac_cpp='$CPP $CPPFLAGS'
33275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
33284 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
33286 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
33287 for ac_func in sqrtl
33288 do :
33289 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
33290 if test "x$ac_cv_func_sqrtl" = x""yes; then :
33291 cat >>confdefs.h <<_ACEOF
33292 #define HAVE_SQRTL 1
33293 _ACEOF
33296 done
33298 else
33300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
33301 $as_echo_n "checking for _sqrtl declaration... " >&6; }
33302 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
33303 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
33304 $as_echo_n "(cached) " >&6
33305 else
33308 ac_ext=cpp
33309 ac_cpp='$CXXCPP $CPPFLAGS'
33310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33315 /* end confdefs.h. */
33316 #include <math.h>
33317 #ifdef HAVE_IEEEFP_H
33318 #include <ieeefp.h>
33319 #endif
33322 main ()
33324 _sqrtl(0);
33326 return 0;
33328 _ACEOF
33329 if ac_fn_cxx_try_compile "$LINENO"; then :
33330 glibcxx_cv_func__sqrtl_use=yes
33331 else
33332 glibcxx_cv_func__sqrtl_use=no
33334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33335 ac_ext=c
33336 ac_cpp='$CPP $CPPFLAGS'
33337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
33346 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
33348 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
33349 for ac_func in _sqrtl
33350 do :
33351 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
33352 if test "x$ac_cv_func__sqrtl" = x""yes; then :
33353 cat >>confdefs.h <<_ACEOF
33354 #define HAVE__SQRTL 1
33355 _ACEOF
33358 done
33367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
33368 $as_echo_n "checking for sincosl declaration... " >&6; }
33369 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
33370 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
33371 $as_echo_n "(cached) " >&6
33372 else
33375 ac_ext=cpp
33376 ac_cpp='$CXXCPP $CPPFLAGS'
33377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33382 /* end confdefs.h. */
33383 #include <math.h>
33385 main ()
33387 sincosl(0, 0, 0);
33389 return 0;
33391 _ACEOF
33392 if ac_fn_cxx_try_compile "$LINENO"; then :
33393 glibcxx_cv_func_sincosl_use=yes
33394 else
33395 glibcxx_cv_func_sincosl_use=no
33397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33398 ac_ext=c
33399 ac_cpp='$CPP $CPPFLAGS'
33400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
33409 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
33411 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
33412 for ac_func in sincosl
33413 do :
33414 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
33415 if test "x$ac_cv_func_sincosl" = x""yes; then :
33416 cat >>confdefs.h <<_ACEOF
33417 #define HAVE_SINCOSL 1
33418 _ACEOF
33421 done
33423 else
33425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
33426 $as_echo_n "checking for _sincosl declaration... " >&6; }
33427 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
33428 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
33429 $as_echo_n "(cached) " >&6
33430 else
33433 ac_ext=cpp
33434 ac_cpp='$CXXCPP $CPPFLAGS'
33435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33440 /* end confdefs.h. */
33441 #include <math.h>
33443 main ()
33445 _sincosl(0, 0, 0);
33447 return 0;
33449 _ACEOF
33450 if ac_fn_cxx_try_compile "$LINENO"; then :
33451 glibcxx_cv_func__sincosl_use=yes
33452 else
33453 glibcxx_cv_func__sincosl_use=no
33455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33456 ac_ext=c
33457 ac_cpp='$CPP $CPPFLAGS'
33458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
33467 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
33469 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
33470 for ac_func in _sincosl
33471 do :
33472 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
33473 if test "x$ac_cv_func__sincosl" = x""yes; then :
33474 cat >>confdefs.h <<_ACEOF
33475 #define HAVE__SINCOSL 1
33476 _ACEOF
33479 done
33488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
33489 $as_echo_n "checking for finitel declaration... " >&6; }
33490 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
33491 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
33492 $as_echo_n "(cached) " >&6
33493 else
33496 ac_ext=cpp
33497 ac_cpp='$CXXCPP $CPPFLAGS'
33498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33503 /* end confdefs.h. */
33504 #include <math.h>
33505 #ifdef HAVE_IEEEFP_H
33506 #include <ieeefp.h>
33507 #endif
33510 main ()
33512 finitel(0);
33514 return 0;
33516 _ACEOF
33517 if ac_fn_cxx_try_compile "$LINENO"; then :
33518 glibcxx_cv_func_finitel_use=yes
33519 else
33520 glibcxx_cv_func_finitel_use=no
33522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33523 ac_ext=c
33524 ac_cpp='$CPP $CPPFLAGS'
33525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
33534 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
33536 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
33537 for ac_func in finitel
33538 do :
33539 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
33540 if test "x$ac_cv_func_finitel" = x""yes; then :
33541 cat >>confdefs.h <<_ACEOF
33542 #define HAVE_FINITEL 1
33543 _ACEOF
33546 done
33548 else
33550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
33551 $as_echo_n "checking for _finitel declaration... " >&6; }
33552 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
33553 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
33554 $as_echo_n "(cached) " >&6
33555 else
33558 ac_ext=cpp
33559 ac_cpp='$CXXCPP $CPPFLAGS'
33560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33565 /* end confdefs.h. */
33566 #include <math.h>
33567 #ifdef HAVE_IEEEFP_H
33568 #include <ieeefp.h>
33569 #endif
33572 main ()
33574 _finitel(0);
33576 return 0;
33578 _ACEOF
33579 if ac_fn_cxx_try_compile "$LINENO"; then :
33580 glibcxx_cv_func__finitel_use=yes
33581 else
33582 glibcxx_cv_func__finitel_use=no
33584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33585 ac_ext=c
33586 ac_cpp='$CPP $CPPFLAGS'
33587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
33596 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
33598 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
33599 for ac_func in _finitel
33600 do :
33601 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
33602 if test "x$ac_cv_func__finitel" = x""yes; then :
33603 cat >>confdefs.h <<_ACEOF
33604 #define HAVE__FINITEL 1
33605 _ACEOF
33608 done
33616 LIBS="$ac_save_LIBS"
33617 CXXFLAGS="$ac_save_CXXFLAGS"
33620 ac_test_CXXFLAGS="${CXXFLAGS+set}"
33621 ac_save_CXXFLAGS="$CXXFLAGS"
33622 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
33625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
33626 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
33627 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
33628 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
33629 $as_echo_n "(cached) " >&6
33630 else
33633 ac_ext=cpp
33634 ac_cpp='$CXXCPP $CPPFLAGS'
33635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33640 /* end confdefs.h. */
33641 #include <stdlib.h>
33643 main ()
33645 at_quick_exit(0);
33647 return 0;
33649 _ACEOF
33650 if ac_fn_cxx_try_compile "$LINENO"; then :
33651 glibcxx_cv_func_at_quick_exit_use=yes
33652 else
33653 glibcxx_cv_func_at_quick_exit_use=no
33655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33656 ac_ext=c
33657 ac_cpp='$CPP $CPPFLAGS'
33658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
33667 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
33668 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
33669 for ac_func in at_quick_exit
33670 do :
33671 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
33672 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
33673 cat >>confdefs.h <<_ACEOF
33674 #define HAVE_AT_QUICK_EXIT 1
33675 _ACEOF
33678 done
33683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
33684 $as_echo_n "checking for quick_exit declaration... " >&6; }
33685 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
33686 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
33687 $as_echo_n "(cached) " >&6
33688 else
33691 ac_ext=cpp
33692 ac_cpp='$CXXCPP $CPPFLAGS'
33693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33698 /* end confdefs.h. */
33699 #include <stdlib.h>
33701 main ()
33703 quick_exit(0);
33705 return 0;
33707 _ACEOF
33708 if ac_fn_cxx_try_compile "$LINENO"; then :
33709 glibcxx_cv_func_quick_exit_use=yes
33710 else
33711 glibcxx_cv_func_quick_exit_use=no
33713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33714 ac_ext=c
33715 ac_cpp='$CPP $CPPFLAGS'
33716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
33725 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
33726 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
33727 for ac_func in quick_exit
33728 do :
33729 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
33730 if test "x$ac_cv_func_quick_exit" = x""yes; then :
33731 cat >>confdefs.h <<_ACEOF
33732 #define HAVE_QUICK_EXIT 1
33733 _ACEOF
33736 done
33741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
33742 $as_echo_n "checking for strtold declaration... " >&6; }
33743 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
33744 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
33745 $as_echo_n "(cached) " >&6
33746 else
33749 ac_ext=cpp
33750 ac_cpp='$CXXCPP $CPPFLAGS'
33751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33756 /* end confdefs.h. */
33757 #include <stdlib.h>
33759 main ()
33761 strtold(0, 0);
33763 return 0;
33765 _ACEOF
33766 if ac_fn_cxx_try_compile "$LINENO"; then :
33767 glibcxx_cv_func_strtold_use=yes
33768 else
33769 glibcxx_cv_func_strtold_use=no
33771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33772 ac_ext=c
33773 ac_cpp='$CPP $CPPFLAGS'
33774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
33783 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
33784 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
33785 for ac_func in strtold
33786 do :
33787 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
33788 if test "x$ac_cv_func_strtold" = x""yes; then :
33789 cat >>confdefs.h <<_ACEOF
33790 #define HAVE_STRTOLD 1
33791 _ACEOF
33794 done
33801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
33802 $as_echo_n "checking for strtof declaration... " >&6; }
33803 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
33804 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
33805 $as_echo_n "(cached) " >&6
33806 else
33809 ac_ext=cpp
33810 ac_cpp='$CXXCPP $CPPFLAGS'
33811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33816 /* end confdefs.h. */
33817 #include <stdlib.h>
33819 main ()
33821 strtof(0, 0);
33823 return 0;
33825 _ACEOF
33826 if ac_fn_cxx_try_compile "$LINENO"; then :
33827 glibcxx_cv_func_strtof_use=yes
33828 else
33829 glibcxx_cv_func_strtof_use=no
33831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33832 ac_ext=c
33833 ac_cpp='$CPP $CPPFLAGS'
33834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
33843 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
33844 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
33845 for ac_func in strtof
33846 do :
33847 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
33848 if test "x$ac_cv_func_strtof" = x""yes; then :
33849 cat >>confdefs.h <<_ACEOF
33850 #define HAVE_STRTOF 1
33851 _ACEOF
33854 done
33861 CXXFLAGS="$ac_save_CXXFLAGS"
33864 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
33866 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
33868 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
33870 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
33873 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
33875 $as_echo "#define HAVE_MODF 1" >>confdefs.h
33877 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
33881 spu-*-elf*)
33883 # All these tests are for C++; save the language and the compiler flags.
33884 # The CXXFLAGS thing is suspicious, but based on similar bits previously
33885 # found in GLIBCXX_CONFIGURE.
33887 ac_ext=cpp
33888 ac_cpp='$CXXCPP $CPPFLAGS'
33889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33893 ac_test_CXXFLAGS="${CXXFLAGS+set}"
33894 ac_save_CXXFLAGS="$CXXFLAGS"
33896 # Check for maintainer-mode bits.
33897 if test x"$USE_MAINTAINER_MODE" = xno; then
33898 WERROR=''
33899 else
33900 WERROR='-Werror'
33903 # Check for -ffunction-sections -fdata-sections
33904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
33905 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
33906 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
33907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33908 /* end confdefs.h. */
33909 int foo; void bar() { };
33911 main ()
33915 return 0;
33917 _ACEOF
33918 if ac_fn_cxx_try_compile "$LINENO"; then :
33919 ac_fdsections=yes
33920 else
33921 ac_fdsections=no
33923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33924 if test "$ac_test_CXXFLAGS" = set; then
33925 CXXFLAGS="$ac_save_CXXFLAGS"
33926 else
33927 # this is the suspicious part
33928 CXXFLAGS=''
33930 if test x"$ac_fdsections" = x"yes"; then
33931 SECTION_FLAGS='-ffunction-sections -fdata-sections'
33933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
33934 $as_echo "$ac_fdsections" >&6; }
33936 ac_ext=c
33937 ac_cpp='$CPP $CPPFLAGS'
33938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33946 # If we're not using GNU ld, then there's no point in even trying these
33947 # tests. Check for that first. We should have already tested for gld
33948 # by now (in libtool), but require it now just to be safe...
33949 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
33950 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
33954 # The name set by libtool depends on the version of libtool. Shame on us
33955 # for depending on an impl detail, but c'est la vie. Older versions used
33956 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
33957 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
33958 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
33959 # set (hence we're using an older libtool), then set it.
33960 if test x${with_gnu_ld+set} != xset; then
33961 if test x${ac_cv_prog_gnu_ld+set} != xset; then
33962 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
33963 with_gnu_ld=no
33964 else
33965 with_gnu_ld=$ac_cv_prog_gnu_ld
33969 # Start by getting the version number. I think the libtool test already
33970 # does some of this, but throws away the result.
33971 glibcxx_ld_is_gold=no
33972 if test x"$with_gnu_ld" = x"yes"; then
33973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
33974 $as_echo_n "checking for ld version... " >&6; }
33976 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
33977 glibcxx_ld_is_gold=yes
33979 ldver=`$LD --version 2>/dev/null |
33980 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'`
33982 glibcxx_gnu_ld_version=`echo $ldver | \
33983 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
33984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
33985 $as_echo "$glibcxx_gnu_ld_version" >&6; }
33988 # Set --gc-sections.
33989 glibcxx_have_gc_sections=no
33990 if test "$glibcxx_ld_is_gold" = "yes"; then
33991 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
33992 glibcxx_have_gc_sections=yes
33994 else
33995 glibcxx_gcsections_min_ld=21602
33996 if test x"$with_gnu_ld" = x"yes" &&
33997 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
33998 glibcxx_have_gc_sections=yes
34001 if test "$glibcxx_have_gc_sections" = "yes"; then
34002 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
34003 # NB: This flag only works reliably after 2.16.1. Configure tests
34004 # for this are difficult, so hard wire a value that should work.
34006 ac_test_CFLAGS="${CFLAGS+set}"
34007 ac_save_CFLAGS="$CFLAGS"
34008 CFLAGS='-Wl,--gc-sections'
34010 # Check for -Wl,--gc-sections
34011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
34012 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
34013 if test x$gcc_no_link = xyes; then
34014 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
34016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34017 /* end confdefs.h. */
34018 int one(void) { return 1; }
34019 int two(void) { return 2; }
34022 main ()
34024 two();
34026 return 0;
34028 _ACEOF
34029 if ac_fn_c_try_link "$LINENO"; then :
34030 ac_gcsections=yes
34031 else
34032 ac_gcsections=no
34034 rm -f core conftest.err conftest.$ac_objext \
34035 conftest$ac_exeext conftest.$ac_ext
34036 if test "$ac_gcsections" = "yes"; then
34037 rm -f conftest.c
34038 touch conftest.c
34039 if $CC -c conftest.c; then
34040 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
34041 grep "Warning: gc-sections option ignored" > /dev/null; then
34042 ac_gcsections=no
34045 rm -f conftest.c conftest.o conftest
34047 if test "$ac_gcsections" = "yes"; then
34048 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
34050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
34051 $as_echo "$ac_gcsections" >&6; }
34053 if test "$ac_test_CFLAGS" = set; then
34054 CFLAGS="$ac_save_CFLAGS"
34055 else
34056 # this is the suspicious part
34057 CFLAGS=''
34061 # Set -z,relro.
34062 # Note this is only for shared objects.
34063 ac_ld_relro=no
34064 if test x"$with_gnu_ld" = x"yes"; then
34065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
34066 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
34067 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
34068 if test -n "$cxx_z_relo"; then
34069 OPT_LDFLAGS="-Wl,-z,relro"
34070 ac_ld_relro=yes
34072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
34073 $as_echo "$ac_ld_relro" >&6; }
34076 # Set linker optimization flags.
34077 if test x"$with_gnu_ld" = x"yes"; then
34078 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
34085 ac_test_CXXFLAGS="${CXXFLAGS+set}"
34086 ac_save_CXXFLAGS="$CXXFLAGS"
34087 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
34089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
34090 $as_echo_n "checking for sin in -lm... " >&6; }
34091 if test "${ac_cv_lib_m_sin+set}" = set; then :
34092 $as_echo_n "(cached) " >&6
34093 else
34094 ac_check_lib_save_LIBS=$LIBS
34095 LIBS="-lm $LIBS"
34096 if test x$gcc_no_link = xyes; then
34097 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
34099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34100 /* end confdefs.h. */
34102 /* Override any GCC internal prototype to avoid an error.
34103 Use char because int might match the return type of a GCC
34104 builtin and then its argument prototype would still apply. */
34105 #ifdef __cplusplus
34106 extern "C"
34107 #endif
34108 char sin ();
34110 main ()
34112 return sin ();
34114 return 0;
34116 _ACEOF
34117 if ac_fn_c_try_link "$LINENO"; then :
34118 ac_cv_lib_m_sin=yes
34119 else
34120 ac_cv_lib_m_sin=no
34122 rm -f core conftest.err conftest.$ac_objext \
34123 conftest$ac_exeext conftest.$ac_ext
34124 LIBS=$ac_check_lib_save_LIBS
34126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
34127 $as_echo "$ac_cv_lib_m_sin" >&6; }
34128 if test "x$ac_cv_lib_m_sin" = x""yes; then :
34129 libm="-lm"
34132 ac_save_LIBS="$LIBS"
34133 LIBS="$LIBS $libm"
34137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
34138 $as_echo_n "checking for isinf declaration... " >&6; }
34139 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
34140 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
34141 $as_echo_n "(cached) " >&6
34142 else
34145 ac_ext=cpp
34146 ac_cpp='$CXXCPP $CPPFLAGS'
34147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34152 /* end confdefs.h. */
34153 #include <math.h>
34154 #ifdef HAVE_IEEEFP_H
34155 #include <ieeefp.h>
34156 #endif
34159 main ()
34161 isinf(0);
34163 return 0;
34165 _ACEOF
34166 if ac_fn_cxx_try_compile "$LINENO"; then :
34167 glibcxx_cv_func_isinf_use=yes
34168 else
34169 glibcxx_cv_func_isinf_use=no
34171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34172 ac_ext=c
34173 ac_cpp='$CPP $CPPFLAGS'
34174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
34183 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
34185 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
34186 for ac_func in isinf
34187 do :
34188 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
34189 if test "x$ac_cv_func_isinf" = x""yes; then :
34190 cat >>confdefs.h <<_ACEOF
34191 #define HAVE_ISINF 1
34192 _ACEOF
34195 done
34197 else
34199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
34200 $as_echo_n "checking for _isinf declaration... " >&6; }
34201 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
34202 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
34203 $as_echo_n "(cached) " >&6
34204 else
34207 ac_ext=cpp
34208 ac_cpp='$CXXCPP $CPPFLAGS'
34209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34214 /* end confdefs.h. */
34215 #include <math.h>
34216 #ifdef HAVE_IEEEFP_H
34217 #include <ieeefp.h>
34218 #endif
34221 main ()
34223 _isinf(0);
34225 return 0;
34227 _ACEOF
34228 if ac_fn_cxx_try_compile "$LINENO"; then :
34229 glibcxx_cv_func__isinf_use=yes
34230 else
34231 glibcxx_cv_func__isinf_use=no
34233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34234 ac_ext=c
34235 ac_cpp='$CPP $CPPFLAGS'
34236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
34245 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
34247 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
34248 for ac_func in _isinf
34249 do :
34250 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
34251 if test "x$ac_cv_func__isinf" = x""yes; then :
34252 cat >>confdefs.h <<_ACEOF
34253 #define HAVE__ISINF 1
34254 _ACEOF
34257 done
34266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
34267 $as_echo_n "checking for isnan declaration... " >&6; }
34268 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
34269 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
34270 $as_echo_n "(cached) " >&6
34271 else
34274 ac_ext=cpp
34275 ac_cpp='$CXXCPP $CPPFLAGS'
34276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34281 /* end confdefs.h. */
34282 #include <math.h>
34283 #ifdef HAVE_IEEEFP_H
34284 #include <ieeefp.h>
34285 #endif
34288 main ()
34290 isnan(0);
34292 return 0;
34294 _ACEOF
34295 if ac_fn_cxx_try_compile "$LINENO"; then :
34296 glibcxx_cv_func_isnan_use=yes
34297 else
34298 glibcxx_cv_func_isnan_use=no
34300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34301 ac_ext=c
34302 ac_cpp='$CPP $CPPFLAGS'
34303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
34312 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
34314 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
34315 for ac_func in isnan
34316 do :
34317 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
34318 if test "x$ac_cv_func_isnan" = x""yes; then :
34319 cat >>confdefs.h <<_ACEOF
34320 #define HAVE_ISNAN 1
34321 _ACEOF
34324 done
34326 else
34328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
34329 $as_echo_n "checking for _isnan declaration... " >&6; }
34330 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
34331 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
34332 $as_echo_n "(cached) " >&6
34333 else
34336 ac_ext=cpp
34337 ac_cpp='$CXXCPP $CPPFLAGS'
34338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34343 /* end confdefs.h. */
34344 #include <math.h>
34345 #ifdef HAVE_IEEEFP_H
34346 #include <ieeefp.h>
34347 #endif
34350 main ()
34352 _isnan(0);
34354 return 0;
34356 _ACEOF
34357 if ac_fn_cxx_try_compile "$LINENO"; then :
34358 glibcxx_cv_func__isnan_use=yes
34359 else
34360 glibcxx_cv_func__isnan_use=no
34362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34363 ac_ext=c
34364 ac_cpp='$CPP $CPPFLAGS'
34365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
34374 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
34376 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
34377 for ac_func in _isnan
34378 do :
34379 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
34380 if test "x$ac_cv_func__isnan" = x""yes; then :
34381 cat >>confdefs.h <<_ACEOF
34382 #define HAVE__ISNAN 1
34383 _ACEOF
34386 done
34395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
34396 $as_echo_n "checking for finite declaration... " >&6; }
34397 if test x${glibcxx_cv_func_finite_use+set} != xset; then
34398 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
34399 $as_echo_n "(cached) " >&6
34400 else
34403 ac_ext=cpp
34404 ac_cpp='$CXXCPP $CPPFLAGS'
34405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34410 /* end confdefs.h. */
34411 #include <math.h>
34412 #ifdef HAVE_IEEEFP_H
34413 #include <ieeefp.h>
34414 #endif
34417 main ()
34419 finite(0);
34421 return 0;
34423 _ACEOF
34424 if ac_fn_cxx_try_compile "$LINENO"; then :
34425 glibcxx_cv_func_finite_use=yes
34426 else
34427 glibcxx_cv_func_finite_use=no
34429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34430 ac_ext=c
34431 ac_cpp='$CPP $CPPFLAGS'
34432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
34441 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
34443 if test x$glibcxx_cv_func_finite_use = x"yes"; then
34444 for ac_func in finite
34445 do :
34446 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
34447 if test "x$ac_cv_func_finite" = x""yes; then :
34448 cat >>confdefs.h <<_ACEOF
34449 #define HAVE_FINITE 1
34450 _ACEOF
34453 done
34455 else
34457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
34458 $as_echo_n "checking for _finite declaration... " >&6; }
34459 if test x${glibcxx_cv_func__finite_use+set} != xset; then
34460 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
34461 $as_echo_n "(cached) " >&6
34462 else
34465 ac_ext=cpp
34466 ac_cpp='$CXXCPP $CPPFLAGS'
34467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34472 /* end confdefs.h. */
34473 #include <math.h>
34474 #ifdef HAVE_IEEEFP_H
34475 #include <ieeefp.h>
34476 #endif
34479 main ()
34481 _finite(0);
34483 return 0;
34485 _ACEOF
34486 if ac_fn_cxx_try_compile "$LINENO"; then :
34487 glibcxx_cv_func__finite_use=yes
34488 else
34489 glibcxx_cv_func__finite_use=no
34491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34492 ac_ext=c
34493 ac_cpp='$CPP $CPPFLAGS'
34494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
34503 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
34505 if test x$glibcxx_cv_func__finite_use = x"yes"; then
34506 for ac_func in _finite
34507 do :
34508 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
34509 if test "x$ac_cv_func__finite" = x""yes; then :
34510 cat >>confdefs.h <<_ACEOF
34511 #define HAVE__FINITE 1
34512 _ACEOF
34515 done
34524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
34525 $as_echo_n "checking for sincos declaration... " >&6; }
34526 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
34527 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
34528 $as_echo_n "(cached) " >&6
34529 else
34532 ac_ext=cpp
34533 ac_cpp='$CXXCPP $CPPFLAGS'
34534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34539 /* end confdefs.h. */
34540 #include <math.h>
34542 main ()
34544 sincos(0, 0, 0);
34546 return 0;
34548 _ACEOF
34549 if ac_fn_cxx_try_compile "$LINENO"; then :
34550 glibcxx_cv_func_sincos_use=yes
34551 else
34552 glibcxx_cv_func_sincos_use=no
34554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34555 ac_ext=c
34556 ac_cpp='$CPP $CPPFLAGS'
34557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
34566 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
34568 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
34569 for ac_func in sincos
34570 do :
34571 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
34572 if test "x$ac_cv_func_sincos" = x""yes; then :
34573 cat >>confdefs.h <<_ACEOF
34574 #define HAVE_SINCOS 1
34575 _ACEOF
34578 done
34580 else
34582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
34583 $as_echo_n "checking for _sincos declaration... " >&6; }
34584 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
34585 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
34586 $as_echo_n "(cached) " >&6
34587 else
34590 ac_ext=cpp
34591 ac_cpp='$CXXCPP $CPPFLAGS'
34592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34597 /* end confdefs.h. */
34598 #include <math.h>
34600 main ()
34602 _sincos(0, 0, 0);
34604 return 0;
34606 _ACEOF
34607 if ac_fn_cxx_try_compile "$LINENO"; then :
34608 glibcxx_cv_func__sincos_use=yes
34609 else
34610 glibcxx_cv_func__sincos_use=no
34612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34613 ac_ext=c
34614 ac_cpp='$CPP $CPPFLAGS'
34615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
34624 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
34626 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
34627 for ac_func in _sincos
34628 do :
34629 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
34630 if test "x$ac_cv_func__sincos" = x""yes; then :
34631 cat >>confdefs.h <<_ACEOF
34632 #define HAVE__SINCOS 1
34633 _ACEOF
34636 done
34645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
34646 $as_echo_n "checking for fpclass declaration... " >&6; }
34647 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
34648 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
34649 $as_echo_n "(cached) " >&6
34650 else
34653 ac_ext=cpp
34654 ac_cpp='$CXXCPP $CPPFLAGS'
34655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34660 /* end confdefs.h. */
34661 #include <math.h>
34662 #ifdef HAVE_IEEEFP_H
34663 #include <ieeefp.h>
34664 #endif
34667 main ()
34669 fpclass(0);
34671 return 0;
34673 _ACEOF
34674 if ac_fn_cxx_try_compile "$LINENO"; then :
34675 glibcxx_cv_func_fpclass_use=yes
34676 else
34677 glibcxx_cv_func_fpclass_use=no
34679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34680 ac_ext=c
34681 ac_cpp='$CPP $CPPFLAGS'
34682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
34691 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
34693 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
34694 for ac_func in fpclass
34695 do :
34696 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
34697 if test "x$ac_cv_func_fpclass" = x""yes; then :
34698 cat >>confdefs.h <<_ACEOF
34699 #define HAVE_FPCLASS 1
34700 _ACEOF
34703 done
34705 else
34707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
34708 $as_echo_n "checking for _fpclass declaration... " >&6; }
34709 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
34710 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
34711 $as_echo_n "(cached) " >&6
34712 else
34715 ac_ext=cpp
34716 ac_cpp='$CXXCPP $CPPFLAGS'
34717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34722 /* end confdefs.h. */
34723 #include <math.h>
34724 #ifdef HAVE_IEEEFP_H
34725 #include <ieeefp.h>
34726 #endif
34729 main ()
34731 _fpclass(0);
34733 return 0;
34735 _ACEOF
34736 if ac_fn_cxx_try_compile "$LINENO"; then :
34737 glibcxx_cv_func__fpclass_use=yes
34738 else
34739 glibcxx_cv_func__fpclass_use=no
34741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34742 ac_ext=c
34743 ac_cpp='$CPP $CPPFLAGS'
34744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
34753 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
34755 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
34756 for ac_func in _fpclass
34757 do :
34758 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
34759 if test "x$ac_cv_func__fpclass" = x""yes; then :
34760 cat >>confdefs.h <<_ACEOF
34761 #define HAVE__FPCLASS 1
34762 _ACEOF
34765 done
34774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
34775 $as_echo_n "checking for qfpclass declaration... " >&6; }
34776 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
34777 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
34778 $as_echo_n "(cached) " >&6
34779 else
34782 ac_ext=cpp
34783 ac_cpp='$CXXCPP $CPPFLAGS'
34784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34789 /* end confdefs.h. */
34790 #include <math.h>
34791 #ifdef HAVE_IEEEFP_H
34792 #include <ieeefp.h>
34793 #endif
34796 main ()
34798 qfpclass(0);
34800 return 0;
34802 _ACEOF
34803 if ac_fn_cxx_try_compile "$LINENO"; then :
34804 glibcxx_cv_func_qfpclass_use=yes
34805 else
34806 glibcxx_cv_func_qfpclass_use=no
34808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34809 ac_ext=c
34810 ac_cpp='$CPP $CPPFLAGS'
34811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
34820 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
34822 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
34823 for ac_func in qfpclass
34824 do :
34825 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
34826 if test "x$ac_cv_func_qfpclass" = x""yes; then :
34827 cat >>confdefs.h <<_ACEOF
34828 #define HAVE_QFPCLASS 1
34829 _ACEOF
34832 done
34834 else
34836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
34837 $as_echo_n "checking for _qfpclass declaration... " >&6; }
34838 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
34839 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
34840 $as_echo_n "(cached) " >&6
34841 else
34844 ac_ext=cpp
34845 ac_cpp='$CXXCPP $CPPFLAGS'
34846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34851 /* end confdefs.h. */
34852 #include <math.h>
34853 #ifdef HAVE_IEEEFP_H
34854 #include <ieeefp.h>
34855 #endif
34858 main ()
34860 _qfpclass(0);
34862 return 0;
34864 _ACEOF
34865 if ac_fn_cxx_try_compile "$LINENO"; then :
34866 glibcxx_cv_func__qfpclass_use=yes
34867 else
34868 glibcxx_cv_func__qfpclass_use=no
34870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34871 ac_ext=c
34872 ac_cpp='$CPP $CPPFLAGS'
34873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
34882 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
34884 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
34885 for ac_func in _qfpclass
34886 do :
34887 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
34888 if test "x$ac_cv_func__qfpclass" = x""yes; then :
34889 cat >>confdefs.h <<_ACEOF
34890 #define HAVE__QFPCLASS 1
34891 _ACEOF
34894 done
34903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
34904 $as_echo_n "checking for hypot declaration... " >&6; }
34905 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
34906 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
34907 $as_echo_n "(cached) " >&6
34908 else
34911 ac_ext=cpp
34912 ac_cpp='$CXXCPP $CPPFLAGS'
34913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34918 /* end confdefs.h. */
34919 #include <math.h>
34921 main ()
34923 hypot(0, 0);
34925 return 0;
34927 _ACEOF
34928 if ac_fn_cxx_try_compile "$LINENO"; then :
34929 glibcxx_cv_func_hypot_use=yes
34930 else
34931 glibcxx_cv_func_hypot_use=no
34933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34934 ac_ext=c
34935 ac_cpp='$CPP $CPPFLAGS'
34936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
34945 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
34947 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
34948 for ac_func in hypot
34949 do :
34950 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
34951 if test "x$ac_cv_func_hypot" = x""yes; then :
34952 cat >>confdefs.h <<_ACEOF
34953 #define HAVE_HYPOT 1
34954 _ACEOF
34957 done
34959 else
34961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
34962 $as_echo_n "checking for _hypot declaration... " >&6; }
34963 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
34964 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
34965 $as_echo_n "(cached) " >&6
34966 else
34969 ac_ext=cpp
34970 ac_cpp='$CXXCPP $CPPFLAGS'
34971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34976 /* end confdefs.h. */
34977 #include <math.h>
34979 main ()
34981 _hypot(0, 0);
34983 return 0;
34985 _ACEOF
34986 if ac_fn_cxx_try_compile "$LINENO"; then :
34987 glibcxx_cv_func__hypot_use=yes
34988 else
34989 glibcxx_cv_func__hypot_use=no
34991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34992 ac_ext=c
34993 ac_cpp='$CPP $CPPFLAGS'
34994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
35003 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
35005 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
35006 for ac_func in _hypot
35007 do :
35008 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
35009 if test "x$ac_cv_func__hypot" = x""yes; then :
35010 cat >>confdefs.h <<_ACEOF
35011 #define HAVE__HYPOT 1
35012 _ACEOF
35015 done
35024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
35025 $as_echo_n "checking for float trig functions... " >&6; }
35026 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
35027 $as_echo_n "(cached) " >&6
35028 else
35031 ac_ext=cpp
35032 ac_cpp='$CXXCPP $CPPFLAGS'
35033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35038 /* end confdefs.h. */
35039 #include <math.h>
35041 main ()
35043 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
35045 return 0;
35047 _ACEOF
35048 if ac_fn_cxx_try_compile "$LINENO"; then :
35049 glibcxx_cv_func_float_trig_use=yes
35050 else
35051 glibcxx_cv_func_float_trig_use=no
35053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35054 ac_ext=c
35055 ac_cpp='$CPP $CPPFLAGS'
35056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
35063 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
35064 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
35065 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
35066 do :
35067 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35068 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35069 eval as_val=\$$as_ac_var
35070 if test "x$as_val" = x""yes; then :
35071 cat >>confdefs.h <<_ACEOF
35072 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35073 _ACEOF
35076 done
35078 else
35079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
35080 $as_echo_n "checking for _float trig functions... " >&6; }
35081 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
35082 $as_echo_n "(cached) " >&6
35083 else
35086 ac_ext=cpp
35087 ac_cpp='$CXXCPP $CPPFLAGS'
35088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35093 /* end confdefs.h. */
35094 #include <math.h>
35096 main ()
35098 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
35100 return 0;
35102 _ACEOF
35103 if ac_fn_cxx_try_compile "$LINENO"; then :
35104 glibcxx_cv_func__float_trig_use=yes
35105 else
35106 glibcxx_cv_func__float_trig_use=no
35108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35109 ac_ext=c
35110 ac_cpp='$CPP $CPPFLAGS'
35111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
35118 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
35119 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
35120 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
35121 do :
35122 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35123 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35124 eval as_val=\$$as_ac_var
35125 if test "x$as_val" = x""yes; then :
35126 cat >>confdefs.h <<_ACEOF
35127 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35128 _ACEOF
35131 done
35140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
35141 $as_echo_n "checking for float round functions... " >&6; }
35142 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
35143 $as_echo_n "(cached) " >&6
35144 else
35147 ac_ext=cpp
35148 ac_cpp='$CXXCPP $CPPFLAGS'
35149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35154 /* end confdefs.h. */
35155 #include <math.h>
35157 main ()
35159 ceilf (0); floorf (0);
35161 return 0;
35163 _ACEOF
35164 if ac_fn_cxx_try_compile "$LINENO"; then :
35165 glibcxx_cv_func_float_round_use=yes
35166 else
35167 glibcxx_cv_func_float_round_use=no
35169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35170 ac_ext=c
35171 ac_cpp='$CPP $CPPFLAGS'
35172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
35179 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
35180 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
35181 for ac_func in ceilf floorf
35182 do :
35183 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35184 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35185 eval as_val=\$$as_ac_var
35186 if test "x$as_val" = x""yes; then :
35187 cat >>confdefs.h <<_ACEOF
35188 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35189 _ACEOF
35192 done
35194 else
35195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
35196 $as_echo_n "checking for _float round functions... " >&6; }
35197 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
35198 $as_echo_n "(cached) " >&6
35199 else
35202 ac_ext=cpp
35203 ac_cpp='$CXXCPP $CPPFLAGS'
35204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35209 /* end confdefs.h. */
35210 #include <math.h>
35212 main ()
35214 _ceilf (0); _floorf (0);
35216 return 0;
35218 _ACEOF
35219 if ac_fn_cxx_try_compile "$LINENO"; then :
35220 glibcxx_cv_func__float_round_use=yes
35221 else
35222 glibcxx_cv_func__float_round_use=no
35224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35225 ac_ext=c
35226 ac_cpp='$CPP $CPPFLAGS'
35227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
35234 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
35235 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
35236 for ac_func in _ceilf _floorf
35237 do :
35238 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35239 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35240 eval as_val=\$$as_ac_var
35241 if test "x$as_val" = x""yes; then :
35242 cat >>confdefs.h <<_ACEOF
35243 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35244 _ACEOF
35247 done
35257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
35258 $as_echo_n "checking for expf declaration... " >&6; }
35259 if test x${glibcxx_cv_func_expf_use+set} != xset; then
35260 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
35261 $as_echo_n "(cached) " >&6
35262 else
35265 ac_ext=cpp
35266 ac_cpp='$CXXCPP $CPPFLAGS'
35267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35272 /* end confdefs.h. */
35273 #include <math.h>
35274 #ifdef HAVE_IEEEFP_H
35275 #include <ieeefp.h>
35276 #endif
35279 main ()
35281 expf(0);
35283 return 0;
35285 _ACEOF
35286 if ac_fn_cxx_try_compile "$LINENO"; then :
35287 glibcxx_cv_func_expf_use=yes
35288 else
35289 glibcxx_cv_func_expf_use=no
35291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35292 ac_ext=c
35293 ac_cpp='$CPP $CPPFLAGS'
35294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
35303 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
35305 if test x$glibcxx_cv_func_expf_use = x"yes"; then
35306 for ac_func in expf
35307 do :
35308 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
35309 if test "x$ac_cv_func_expf" = x""yes; then :
35310 cat >>confdefs.h <<_ACEOF
35311 #define HAVE_EXPF 1
35312 _ACEOF
35315 done
35317 else
35319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
35320 $as_echo_n "checking for _expf declaration... " >&6; }
35321 if test x${glibcxx_cv_func__expf_use+set} != xset; then
35322 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
35323 $as_echo_n "(cached) " >&6
35324 else
35327 ac_ext=cpp
35328 ac_cpp='$CXXCPP $CPPFLAGS'
35329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35334 /* end confdefs.h. */
35335 #include <math.h>
35336 #ifdef HAVE_IEEEFP_H
35337 #include <ieeefp.h>
35338 #endif
35341 main ()
35343 _expf(0);
35345 return 0;
35347 _ACEOF
35348 if ac_fn_cxx_try_compile "$LINENO"; then :
35349 glibcxx_cv_func__expf_use=yes
35350 else
35351 glibcxx_cv_func__expf_use=no
35353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35354 ac_ext=c
35355 ac_cpp='$CPP $CPPFLAGS'
35356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
35365 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
35367 if test x$glibcxx_cv_func__expf_use = x"yes"; then
35368 for ac_func in _expf
35369 do :
35370 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
35371 if test "x$ac_cv_func__expf" = x""yes; then :
35372 cat >>confdefs.h <<_ACEOF
35373 #define HAVE__EXPF 1
35374 _ACEOF
35377 done
35386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
35387 $as_echo_n "checking for isnanf declaration... " >&6; }
35388 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
35389 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
35390 $as_echo_n "(cached) " >&6
35391 else
35394 ac_ext=cpp
35395 ac_cpp='$CXXCPP $CPPFLAGS'
35396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35401 /* end confdefs.h. */
35402 #include <math.h>
35403 #ifdef HAVE_IEEEFP_H
35404 #include <ieeefp.h>
35405 #endif
35408 main ()
35410 isnanf(0);
35412 return 0;
35414 _ACEOF
35415 if ac_fn_cxx_try_compile "$LINENO"; then :
35416 glibcxx_cv_func_isnanf_use=yes
35417 else
35418 glibcxx_cv_func_isnanf_use=no
35420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35421 ac_ext=c
35422 ac_cpp='$CPP $CPPFLAGS'
35423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
35432 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
35434 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
35435 for ac_func in isnanf
35436 do :
35437 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
35438 if test "x$ac_cv_func_isnanf" = x""yes; then :
35439 cat >>confdefs.h <<_ACEOF
35440 #define HAVE_ISNANF 1
35441 _ACEOF
35444 done
35446 else
35448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
35449 $as_echo_n "checking for _isnanf declaration... " >&6; }
35450 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
35451 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
35452 $as_echo_n "(cached) " >&6
35453 else
35456 ac_ext=cpp
35457 ac_cpp='$CXXCPP $CPPFLAGS'
35458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35463 /* end confdefs.h. */
35464 #include <math.h>
35465 #ifdef HAVE_IEEEFP_H
35466 #include <ieeefp.h>
35467 #endif
35470 main ()
35472 _isnanf(0);
35474 return 0;
35476 _ACEOF
35477 if ac_fn_cxx_try_compile "$LINENO"; then :
35478 glibcxx_cv_func__isnanf_use=yes
35479 else
35480 glibcxx_cv_func__isnanf_use=no
35482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35483 ac_ext=c
35484 ac_cpp='$CPP $CPPFLAGS'
35485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
35494 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
35496 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
35497 for ac_func in _isnanf
35498 do :
35499 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
35500 if test "x$ac_cv_func__isnanf" = x""yes; then :
35501 cat >>confdefs.h <<_ACEOF
35502 #define HAVE__ISNANF 1
35503 _ACEOF
35506 done
35515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
35516 $as_echo_n "checking for isinff declaration... " >&6; }
35517 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
35518 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
35519 $as_echo_n "(cached) " >&6
35520 else
35523 ac_ext=cpp
35524 ac_cpp='$CXXCPP $CPPFLAGS'
35525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35530 /* end confdefs.h. */
35531 #include <math.h>
35532 #ifdef HAVE_IEEEFP_H
35533 #include <ieeefp.h>
35534 #endif
35537 main ()
35539 isinff(0);
35541 return 0;
35543 _ACEOF
35544 if ac_fn_cxx_try_compile "$LINENO"; then :
35545 glibcxx_cv_func_isinff_use=yes
35546 else
35547 glibcxx_cv_func_isinff_use=no
35549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35550 ac_ext=c
35551 ac_cpp='$CPP $CPPFLAGS'
35552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
35561 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
35563 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
35564 for ac_func in isinff
35565 do :
35566 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
35567 if test "x$ac_cv_func_isinff" = x""yes; then :
35568 cat >>confdefs.h <<_ACEOF
35569 #define HAVE_ISINFF 1
35570 _ACEOF
35573 done
35575 else
35577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
35578 $as_echo_n "checking for _isinff declaration... " >&6; }
35579 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
35580 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
35581 $as_echo_n "(cached) " >&6
35582 else
35585 ac_ext=cpp
35586 ac_cpp='$CXXCPP $CPPFLAGS'
35587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35592 /* end confdefs.h. */
35593 #include <math.h>
35594 #ifdef HAVE_IEEEFP_H
35595 #include <ieeefp.h>
35596 #endif
35599 main ()
35601 _isinff(0);
35603 return 0;
35605 _ACEOF
35606 if ac_fn_cxx_try_compile "$LINENO"; then :
35607 glibcxx_cv_func__isinff_use=yes
35608 else
35609 glibcxx_cv_func__isinff_use=no
35611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35612 ac_ext=c
35613 ac_cpp='$CPP $CPPFLAGS'
35614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
35623 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
35625 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
35626 for ac_func in _isinff
35627 do :
35628 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
35629 if test "x$ac_cv_func__isinff" = x""yes; then :
35630 cat >>confdefs.h <<_ACEOF
35631 #define HAVE__ISINFF 1
35632 _ACEOF
35635 done
35644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
35645 $as_echo_n "checking for atan2f declaration... " >&6; }
35646 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
35647 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
35648 $as_echo_n "(cached) " >&6
35649 else
35652 ac_ext=cpp
35653 ac_cpp='$CXXCPP $CPPFLAGS'
35654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35659 /* end confdefs.h. */
35660 #include <math.h>
35662 main ()
35664 atan2f(0, 0);
35666 return 0;
35668 _ACEOF
35669 if ac_fn_cxx_try_compile "$LINENO"; then :
35670 glibcxx_cv_func_atan2f_use=yes
35671 else
35672 glibcxx_cv_func_atan2f_use=no
35674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35675 ac_ext=c
35676 ac_cpp='$CPP $CPPFLAGS'
35677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
35686 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
35688 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
35689 for ac_func in atan2f
35690 do :
35691 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
35692 if test "x$ac_cv_func_atan2f" = x""yes; then :
35693 cat >>confdefs.h <<_ACEOF
35694 #define HAVE_ATAN2F 1
35695 _ACEOF
35698 done
35700 else
35702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
35703 $as_echo_n "checking for _atan2f declaration... " >&6; }
35704 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
35705 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
35706 $as_echo_n "(cached) " >&6
35707 else
35710 ac_ext=cpp
35711 ac_cpp='$CXXCPP $CPPFLAGS'
35712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35717 /* end confdefs.h. */
35718 #include <math.h>
35720 main ()
35722 _atan2f(0, 0);
35724 return 0;
35726 _ACEOF
35727 if ac_fn_cxx_try_compile "$LINENO"; then :
35728 glibcxx_cv_func__atan2f_use=yes
35729 else
35730 glibcxx_cv_func__atan2f_use=no
35732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35733 ac_ext=c
35734 ac_cpp='$CPP $CPPFLAGS'
35735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
35744 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
35746 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
35747 for ac_func in _atan2f
35748 do :
35749 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
35750 if test "x$ac_cv_func__atan2f" = x""yes; then :
35751 cat >>confdefs.h <<_ACEOF
35752 #define HAVE__ATAN2F 1
35753 _ACEOF
35756 done
35765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
35766 $as_echo_n "checking for fabsf declaration... " >&6; }
35767 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
35768 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
35769 $as_echo_n "(cached) " >&6
35770 else
35773 ac_ext=cpp
35774 ac_cpp='$CXXCPP $CPPFLAGS'
35775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35780 /* end confdefs.h. */
35781 #include <math.h>
35782 #ifdef HAVE_IEEEFP_H
35783 #include <ieeefp.h>
35784 #endif
35787 main ()
35789 fabsf(0);
35791 return 0;
35793 _ACEOF
35794 if ac_fn_cxx_try_compile "$LINENO"; then :
35795 glibcxx_cv_func_fabsf_use=yes
35796 else
35797 glibcxx_cv_func_fabsf_use=no
35799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35800 ac_ext=c
35801 ac_cpp='$CPP $CPPFLAGS'
35802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
35811 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
35813 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
35814 for ac_func in fabsf
35815 do :
35816 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
35817 if test "x$ac_cv_func_fabsf" = x""yes; then :
35818 cat >>confdefs.h <<_ACEOF
35819 #define HAVE_FABSF 1
35820 _ACEOF
35823 done
35825 else
35827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
35828 $as_echo_n "checking for _fabsf declaration... " >&6; }
35829 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
35830 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
35831 $as_echo_n "(cached) " >&6
35832 else
35835 ac_ext=cpp
35836 ac_cpp='$CXXCPP $CPPFLAGS'
35837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35842 /* end confdefs.h. */
35843 #include <math.h>
35844 #ifdef HAVE_IEEEFP_H
35845 #include <ieeefp.h>
35846 #endif
35849 main ()
35851 _fabsf(0);
35853 return 0;
35855 _ACEOF
35856 if ac_fn_cxx_try_compile "$LINENO"; then :
35857 glibcxx_cv_func__fabsf_use=yes
35858 else
35859 glibcxx_cv_func__fabsf_use=no
35861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35862 ac_ext=c
35863 ac_cpp='$CPP $CPPFLAGS'
35864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
35873 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
35875 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
35876 for ac_func in _fabsf
35877 do :
35878 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
35879 if test "x$ac_cv_func__fabsf" = x""yes; then :
35880 cat >>confdefs.h <<_ACEOF
35881 #define HAVE__FABSF 1
35882 _ACEOF
35885 done
35894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
35895 $as_echo_n "checking for fmodf declaration... " >&6; }
35896 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
35897 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
35898 $as_echo_n "(cached) " >&6
35899 else
35902 ac_ext=cpp
35903 ac_cpp='$CXXCPP $CPPFLAGS'
35904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35909 /* end confdefs.h. */
35910 #include <math.h>
35912 main ()
35914 fmodf(0, 0);
35916 return 0;
35918 _ACEOF
35919 if ac_fn_cxx_try_compile "$LINENO"; then :
35920 glibcxx_cv_func_fmodf_use=yes
35921 else
35922 glibcxx_cv_func_fmodf_use=no
35924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35925 ac_ext=c
35926 ac_cpp='$CPP $CPPFLAGS'
35927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
35936 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
35938 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
35939 for ac_func in fmodf
35940 do :
35941 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
35942 if test "x$ac_cv_func_fmodf" = x""yes; then :
35943 cat >>confdefs.h <<_ACEOF
35944 #define HAVE_FMODF 1
35945 _ACEOF
35948 done
35950 else
35952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
35953 $as_echo_n "checking for _fmodf declaration... " >&6; }
35954 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
35955 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
35956 $as_echo_n "(cached) " >&6
35957 else
35960 ac_ext=cpp
35961 ac_cpp='$CXXCPP $CPPFLAGS'
35962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35967 /* end confdefs.h. */
35968 #include <math.h>
35970 main ()
35972 _fmodf(0, 0);
35974 return 0;
35976 _ACEOF
35977 if ac_fn_cxx_try_compile "$LINENO"; then :
35978 glibcxx_cv_func__fmodf_use=yes
35979 else
35980 glibcxx_cv_func__fmodf_use=no
35982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35983 ac_ext=c
35984 ac_cpp='$CPP $CPPFLAGS'
35985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
35994 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
35996 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
35997 for ac_func in _fmodf
35998 do :
35999 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
36000 if test "x$ac_cv_func__fmodf" = x""yes; then :
36001 cat >>confdefs.h <<_ACEOF
36002 #define HAVE__FMODF 1
36003 _ACEOF
36006 done
36015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
36016 $as_echo_n "checking for frexpf declaration... " >&6; }
36017 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
36018 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
36019 $as_echo_n "(cached) " >&6
36020 else
36023 ac_ext=cpp
36024 ac_cpp='$CXXCPP $CPPFLAGS'
36025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36030 /* end confdefs.h. */
36031 #include <math.h>
36033 main ()
36035 frexpf(0, 0);
36037 return 0;
36039 _ACEOF
36040 if ac_fn_cxx_try_compile "$LINENO"; then :
36041 glibcxx_cv_func_frexpf_use=yes
36042 else
36043 glibcxx_cv_func_frexpf_use=no
36045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36046 ac_ext=c
36047 ac_cpp='$CPP $CPPFLAGS'
36048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
36057 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
36059 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
36060 for ac_func in frexpf
36061 do :
36062 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
36063 if test "x$ac_cv_func_frexpf" = x""yes; then :
36064 cat >>confdefs.h <<_ACEOF
36065 #define HAVE_FREXPF 1
36066 _ACEOF
36069 done
36071 else
36073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
36074 $as_echo_n "checking for _frexpf declaration... " >&6; }
36075 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
36076 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
36077 $as_echo_n "(cached) " >&6
36078 else
36081 ac_ext=cpp
36082 ac_cpp='$CXXCPP $CPPFLAGS'
36083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36088 /* end confdefs.h. */
36089 #include <math.h>
36091 main ()
36093 _frexpf(0, 0);
36095 return 0;
36097 _ACEOF
36098 if ac_fn_cxx_try_compile "$LINENO"; then :
36099 glibcxx_cv_func__frexpf_use=yes
36100 else
36101 glibcxx_cv_func__frexpf_use=no
36103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36104 ac_ext=c
36105 ac_cpp='$CPP $CPPFLAGS'
36106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
36115 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
36117 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
36118 for ac_func in _frexpf
36119 do :
36120 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
36121 if test "x$ac_cv_func__frexpf" = x""yes; then :
36122 cat >>confdefs.h <<_ACEOF
36123 #define HAVE__FREXPF 1
36124 _ACEOF
36127 done
36136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
36137 $as_echo_n "checking for hypotf declaration... " >&6; }
36138 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
36139 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
36140 $as_echo_n "(cached) " >&6
36141 else
36144 ac_ext=cpp
36145 ac_cpp='$CXXCPP $CPPFLAGS'
36146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36151 /* end confdefs.h. */
36152 #include <math.h>
36154 main ()
36156 hypotf(0, 0);
36158 return 0;
36160 _ACEOF
36161 if ac_fn_cxx_try_compile "$LINENO"; then :
36162 glibcxx_cv_func_hypotf_use=yes
36163 else
36164 glibcxx_cv_func_hypotf_use=no
36166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36167 ac_ext=c
36168 ac_cpp='$CPP $CPPFLAGS'
36169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
36178 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
36180 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
36181 for ac_func in hypotf
36182 do :
36183 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
36184 if test "x$ac_cv_func_hypotf" = x""yes; then :
36185 cat >>confdefs.h <<_ACEOF
36186 #define HAVE_HYPOTF 1
36187 _ACEOF
36190 done
36192 else
36194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
36195 $as_echo_n "checking for _hypotf declaration... " >&6; }
36196 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
36197 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
36198 $as_echo_n "(cached) " >&6
36199 else
36202 ac_ext=cpp
36203 ac_cpp='$CXXCPP $CPPFLAGS'
36204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36209 /* end confdefs.h. */
36210 #include <math.h>
36212 main ()
36214 _hypotf(0, 0);
36216 return 0;
36218 _ACEOF
36219 if ac_fn_cxx_try_compile "$LINENO"; then :
36220 glibcxx_cv_func__hypotf_use=yes
36221 else
36222 glibcxx_cv_func__hypotf_use=no
36224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36225 ac_ext=c
36226 ac_cpp='$CPP $CPPFLAGS'
36227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
36236 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
36238 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
36239 for ac_func in _hypotf
36240 do :
36241 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
36242 if test "x$ac_cv_func__hypotf" = x""yes; then :
36243 cat >>confdefs.h <<_ACEOF
36244 #define HAVE__HYPOTF 1
36245 _ACEOF
36248 done
36257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
36258 $as_echo_n "checking for ldexpf declaration... " >&6; }
36259 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
36260 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
36261 $as_echo_n "(cached) " >&6
36262 else
36265 ac_ext=cpp
36266 ac_cpp='$CXXCPP $CPPFLAGS'
36267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36272 /* end confdefs.h. */
36273 #include <math.h>
36275 main ()
36277 ldexpf(0, 0);
36279 return 0;
36281 _ACEOF
36282 if ac_fn_cxx_try_compile "$LINENO"; then :
36283 glibcxx_cv_func_ldexpf_use=yes
36284 else
36285 glibcxx_cv_func_ldexpf_use=no
36287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36288 ac_ext=c
36289 ac_cpp='$CPP $CPPFLAGS'
36290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
36299 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
36301 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
36302 for ac_func in ldexpf
36303 do :
36304 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
36305 if test "x$ac_cv_func_ldexpf" = x""yes; then :
36306 cat >>confdefs.h <<_ACEOF
36307 #define HAVE_LDEXPF 1
36308 _ACEOF
36311 done
36313 else
36315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
36316 $as_echo_n "checking for _ldexpf declaration... " >&6; }
36317 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
36318 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
36319 $as_echo_n "(cached) " >&6
36320 else
36323 ac_ext=cpp
36324 ac_cpp='$CXXCPP $CPPFLAGS'
36325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36330 /* end confdefs.h. */
36331 #include <math.h>
36333 main ()
36335 _ldexpf(0, 0);
36337 return 0;
36339 _ACEOF
36340 if ac_fn_cxx_try_compile "$LINENO"; then :
36341 glibcxx_cv_func__ldexpf_use=yes
36342 else
36343 glibcxx_cv_func__ldexpf_use=no
36345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36346 ac_ext=c
36347 ac_cpp='$CPP $CPPFLAGS'
36348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
36357 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
36359 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
36360 for ac_func in _ldexpf
36361 do :
36362 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
36363 if test "x$ac_cv_func__ldexpf" = x""yes; then :
36364 cat >>confdefs.h <<_ACEOF
36365 #define HAVE__LDEXPF 1
36366 _ACEOF
36369 done
36378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
36379 $as_echo_n "checking for logf declaration... " >&6; }
36380 if test x${glibcxx_cv_func_logf_use+set} != xset; then
36381 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
36382 $as_echo_n "(cached) " >&6
36383 else
36386 ac_ext=cpp
36387 ac_cpp='$CXXCPP $CPPFLAGS'
36388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36393 /* end confdefs.h. */
36394 #include <math.h>
36395 #ifdef HAVE_IEEEFP_H
36396 #include <ieeefp.h>
36397 #endif
36400 main ()
36402 logf(0);
36404 return 0;
36406 _ACEOF
36407 if ac_fn_cxx_try_compile "$LINENO"; then :
36408 glibcxx_cv_func_logf_use=yes
36409 else
36410 glibcxx_cv_func_logf_use=no
36412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36413 ac_ext=c
36414 ac_cpp='$CPP $CPPFLAGS'
36415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
36424 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
36426 if test x$glibcxx_cv_func_logf_use = x"yes"; then
36427 for ac_func in logf
36428 do :
36429 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
36430 if test "x$ac_cv_func_logf" = x""yes; then :
36431 cat >>confdefs.h <<_ACEOF
36432 #define HAVE_LOGF 1
36433 _ACEOF
36436 done
36438 else
36440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
36441 $as_echo_n "checking for _logf declaration... " >&6; }
36442 if test x${glibcxx_cv_func__logf_use+set} != xset; then
36443 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
36444 $as_echo_n "(cached) " >&6
36445 else
36448 ac_ext=cpp
36449 ac_cpp='$CXXCPP $CPPFLAGS'
36450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36455 /* end confdefs.h. */
36456 #include <math.h>
36457 #ifdef HAVE_IEEEFP_H
36458 #include <ieeefp.h>
36459 #endif
36462 main ()
36464 _logf(0);
36466 return 0;
36468 _ACEOF
36469 if ac_fn_cxx_try_compile "$LINENO"; then :
36470 glibcxx_cv_func__logf_use=yes
36471 else
36472 glibcxx_cv_func__logf_use=no
36474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36475 ac_ext=c
36476 ac_cpp='$CPP $CPPFLAGS'
36477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
36486 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
36488 if test x$glibcxx_cv_func__logf_use = x"yes"; then
36489 for ac_func in _logf
36490 do :
36491 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
36492 if test "x$ac_cv_func__logf" = x""yes; then :
36493 cat >>confdefs.h <<_ACEOF
36494 #define HAVE__LOGF 1
36495 _ACEOF
36498 done
36507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
36508 $as_echo_n "checking for log10f declaration... " >&6; }
36509 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
36510 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
36511 $as_echo_n "(cached) " >&6
36512 else
36515 ac_ext=cpp
36516 ac_cpp='$CXXCPP $CPPFLAGS'
36517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36522 /* end confdefs.h. */
36523 #include <math.h>
36524 #ifdef HAVE_IEEEFP_H
36525 #include <ieeefp.h>
36526 #endif
36529 main ()
36531 log10f(0);
36533 return 0;
36535 _ACEOF
36536 if ac_fn_cxx_try_compile "$LINENO"; then :
36537 glibcxx_cv_func_log10f_use=yes
36538 else
36539 glibcxx_cv_func_log10f_use=no
36541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36542 ac_ext=c
36543 ac_cpp='$CPP $CPPFLAGS'
36544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
36553 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
36555 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
36556 for ac_func in log10f
36557 do :
36558 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
36559 if test "x$ac_cv_func_log10f" = x""yes; then :
36560 cat >>confdefs.h <<_ACEOF
36561 #define HAVE_LOG10F 1
36562 _ACEOF
36565 done
36567 else
36569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
36570 $as_echo_n "checking for _log10f declaration... " >&6; }
36571 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
36572 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
36573 $as_echo_n "(cached) " >&6
36574 else
36577 ac_ext=cpp
36578 ac_cpp='$CXXCPP $CPPFLAGS'
36579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36584 /* end confdefs.h. */
36585 #include <math.h>
36586 #ifdef HAVE_IEEEFP_H
36587 #include <ieeefp.h>
36588 #endif
36591 main ()
36593 _log10f(0);
36595 return 0;
36597 _ACEOF
36598 if ac_fn_cxx_try_compile "$LINENO"; then :
36599 glibcxx_cv_func__log10f_use=yes
36600 else
36601 glibcxx_cv_func__log10f_use=no
36603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36604 ac_ext=c
36605 ac_cpp='$CPP $CPPFLAGS'
36606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
36615 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
36617 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
36618 for ac_func in _log10f
36619 do :
36620 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
36621 if test "x$ac_cv_func__log10f" = x""yes; then :
36622 cat >>confdefs.h <<_ACEOF
36623 #define HAVE__LOG10F 1
36624 _ACEOF
36627 done
36636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
36637 $as_echo_n "checking for modff declaration... " >&6; }
36638 if test x${glibcxx_cv_func_modff_use+set} != xset; then
36639 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
36640 $as_echo_n "(cached) " >&6
36641 else
36644 ac_ext=cpp
36645 ac_cpp='$CXXCPP $CPPFLAGS'
36646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36651 /* end confdefs.h. */
36652 #include <math.h>
36654 main ()
36656 modff(0, 0);
36658 return 0;
36660 _ACEOF
36661 if ac_fn_cxx_try_compile "$LINENO"; then :
36662 glibcxx_cv_func_modff_use=yes
36663 else
36664 glibcxx_cv_func_modff_use=no
36666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36667 ac_ext=c
36668 ac_cpp='$CPP $CPPFLAGS'
36669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
36678 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
36680 if test x$glibcxx_cv_func_modff_use = x"yes"; then
36681 for ac_func in modff
36682 do :
36683 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
36684 if test "x$ac_cv_func_modff" = x""yes; then :
36685 cat >>confdefs.h <<_ACEOF
36686 #define HAVE_MODFF 1
36687 _ACEOF
36690 done
36692 else
36694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
36695 $as_echo_n "checking for _modff declaration... " >&6; }
36696 if test x${glibcxx_cv_func__modff_use+set} != xset; then
36697 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
36698 $as_echo_n "(cached) " >&6
36699 else
36702 ac_ext=cpp
36703 ac_cpp='$CXXCPP $CPPFLAGS'
36704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36709 /* end confdefs.h. */
36710 #include <math.h>
36712 main ()
36714 _modff(0, 0);
36716 return 0;
36718 _ACEOF
36719 if ac_fn_cxx_try_compile "$LINENO"; then :
36720 glibcxx_cv_func__modff_use=yes
36721 else
36722 glibcxx_cv_func__modff_use=no
36724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36725 ac_ext=c
36726 ac_cpp='$CPP $CPPFLAGS'
36727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
36736 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
36738 if test x$glibcxx_cv_func__modff_use = x"yes"; then
36739 for ac_func in _modff
36740 do :
36741 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
36742 if test "x$ac_cv_func__modff" = x""yes; then :
36743 cat >>confdefs.h <<_ACEOF
36744 #define HAVE__MODFF 1
36745 _ACEOF
36748 done
36757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
36758 $as_echo_n "checking for modf declaration... " >&6; }
36759 if test x${glibcxx_cv_func_modf_use+set} != xset; then
36760 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
36761 $as_echo_n "(cached) " >&6
36762 else
36765 ac_ext=cpp
36766 ac_cpp='$CXXCPP $CPPFLAGS'
36767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36772 /* end confdefs.h. */
36773 #include <math.h>
36775 main ()
36777 modf(0, 0);
36779 return 0;
36781 _ACEOF
36782 if ac_fn_cxx_try_compile "$LINENO"; then :
36783 glibcxx_cv_func_modf_use=yes
36784 else
36785 glibcxx_cv_func_modf_use=no
36787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36788 ac_ext=c
36789 ac_cpp='$CPP $CPPFLAGS'
36790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
36799 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
36801 if test x$glibcxx_cv_func_modf_use = x"yes"; then
36802 for ac_func in modf
36803 do :
36804 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
36805 if test "x$ac_cv_func_modf" = x""yes; then :
36806 cat >>confdefs.h <<_ACEOF
36807 #define HAVE_MODF 1
36808 _ACEOF
36811 done
36813 else
36815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
36816 $as_echo_n "checking for _modf declaration... " >&6; }
36817 if test x${glibcxx_cv_func__modf_use+set} != xset; then
36818 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
36819 $as_echo_n "(cached) " >&6
36820 else
36823 ac_ext=cpp
36824 ac_cpp='$CXXCPP $CPPFLAGS'
36825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36830 /* end confdefs.h. */
36831 #include <math.h>
36833 main ()
36835 _modf(0, 0);
36837 return 0;
36839 _ACEOF
36840 if ac_fn_cxx_try_compile "$LINENO"; then :
36841 glibcxx_cv_func__modf_use=yes
36842 else
36843 glibcxx_cv_func__modf_use=no
36845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36846 ac_ext=c
36847 ac_cpp='$CPP $CPPFLAGS'
36848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
36857 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
36859 if test x$glibcxx_cv_func__modf_use = x"yes"; then
36860 for ac_func in _modf
36861 do :
36862 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
36863 if test "x$ac_cv_func__modf" = x""yes; then :
36864 cat >>confdefs.h <<_ACEOF
36865 #define HAVE__MODF 1
36866 _ACEOF
36869 done
36878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
36879 $as_echo_n "checking for powf declaration... " >&6; }
36880 if test x${glibcxx_cv_func_powf_use+set} != xset; then
36881 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
36882 $as_echo_n "(cached) " >&6
36883 else
36886 ac_ext=cpp
36887 ac_cpp='$CXXCPP $CPPFLAGS'
36888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36893 /* end confdefs.h. */
36894 #include <math.h>
36896 main ()
36898 powf(0, 0);
36900 return 0;
36902 _ACEOF
36903 if ac_fn_cxx_try_compile "$LINENO"; then :
36904 glibcxx_cv_func_powf_use=yes
36905 else
36906 glibcxx_cv_func_powf_use=no
36908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36909 ac_ext=c
36910 ac_cpp='$CPP $CPPFLAGS'
36911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
36920 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
36922 if test x$glibcxx_cv_func_powf_use = x"yes"; then
36923 for ac_func in powf
36924 do :
36925 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
36926 if test "x$ac_cv_func_powf" = x""yes; then :
36927 cat >>confdefs.h <<_ACEOF
36928 #define HAVE_POWF 1
36929 _ACEOF
36932 done
36934 else
36936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
36937 $as_echo_n "checking for _powf declaration... " >&6; }
36938 if test x${glibcxx_cv_func__powf_use+set} != xset; then
36939 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
36940 $as_echo_n "(cached) " >&6
36941 else
36944 ac_ext=cpp
36945 ac_cpp='$CXXCPP $CPPFLAGS'
36946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36951 /* end confdefs.h. */
36952 #include <math.h>
36954 main ()
36956 _powf(0, 0);
36958 return 0;
36960 _ACEOF
36961 if ac_fn_cxx_try_compile "$LINENO"; then :
36962 glibcxx_cv_func__powf_use=yes
36963 else
36964 glibcxx_cv_func__powf_use=no
36966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36967 ac_ext=c
36968 ac_cpp='$CPP $CPPFLAGS'
36969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
36978 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
36980 if test x$glibcxx_cv_func__powf_use = x"yes"; then
36981 for ac_func in _powf
36982 do :
36983 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
36984 if test "x$ac_cv_func__powf" = x""yes; then :
36985 cat >>confdefs.h <<_ACEOF
36986 #define HAVE__POWF 1
36987 _ACEOF
36990 done
36999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
37000 $as_echo_n "checking for sqrtf declaration... " >&6; }
37001 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
37002 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
37003 $as_echo_n "(cached) " >&6
37004 else
37007 ac_ext=cpp
37008 ac_cpp='$CXXCPP $CPPFLAGS'
37009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37014 /* end confdefs.h. */
37015 #include <math.h>
37016 #ifdef HAVE_IEEEFP_H
37017 #include <ieeefp.h>
37018 #endif
37021 main ()
37023 sqrtf(0);
37025 return 0;
37027 _ACEOF
37028 if ac_fn_cxx_try_compile "$LINENO"; then :
37029 glibcxx_cv_func_sqrtf_use=yes
37030 else
37031 glibcxx_cv_func_sqrtf_use=no
37033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37034 ac_ext=c
37035 ac_cpp='$CPP $CPPFLAGS'
37036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
37045 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
37047 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
37048 for ac_func in sqrtf
37049 do :
37050 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
37051 if test "x$ac_cv_func_sqrtf" = x""yes; then :
37052 cat >>confdefs.h <<_ACEOF
37053 #define HAVE_SQRTF 1
37054 _ACEOF
37057 done
37059 else
37061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
37062 $as_echo_n "checking for _sqrtf declaration... " >&6; }
37063 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
37064 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
37065 $as_echo_n "(cached) " >&6
37066 else
37069 ac_ext=cpp
37070 ac_cpp='$CXXCPP $CPPFLAGS'
37071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37076 /* end confdefs.h. */
37077 #include <math.h>
37078 #ifdef HAVE_IEEEFP_H
37079 #include <ieeefp.h>
37080 #endif
37083 main ()
37085 _sqrtf(0);
37087 return 0;
37089 _ACEOF
37090 if ac_fn_cxx_try_compile "$LINENO"; then :
37091 glibcxx_cv_func__sqrtf_use=yes
37092 else
37093 glibcxx_cv_func__sqrtf_use=no
37095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37096 ac_ext=c
37097 ac_cpp='$CPP $CPPFLAGS'
37098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
37107 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
37109 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
37110 for ac_func in _sqrtf
37111 do :
37112 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
37113 if test "x$ac_cv_func__sqrtf" = x""yes; then :
37114 cat >>confdefs.h <<_ACEOF
37115 #define HAVE__SQRTF 1
37116 _ACEOF
37119 done
37128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
37129 $as_echo_n "checking for sincosf declaration... " >&6; }
37130 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
37131 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
37132 $as_echo_n "(cached) " >&6
37133 else
37136 ac_ext=cpp
37137 ac_cpp='$CXXCPP $CPPFLAGS'
37138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37143 /* end confdefs.h. */
37144 #include <math.h>
37146 main ()
37148 sincosf(0, 0, 0);
37150 return 0;
37152 _ACEOF
37153 if ac_fn_cxx_try_compile "$LINENO"; then :
37154 glibcxx_cv_func_sincosf_use=yes
37155 else
37156 glibcxx_cv_func_sincosf_use=no
37158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37159 ac_ext=c
37160 ac_cpp='$CPP $CPPFLAGS'
37161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
37170 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
37172 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
37173 for ac_func in sincosf
37174 do :
37175 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
37176 if test "x$ac_cv_func_sincosf" = x""yes; then :
37177 cat >>confdefs.h <<_ACEOF
37178 #define HAVE_SINCOSF 1
37179 _ACEOF
37182 done
37184 else
37186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
37187 $as_echo_n "checking for _sincosf declaration... " >&6; }
37188 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
37189 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
37190 $as_echo_n "(cached) " >&6
37191 else
37194 ac_ext=cpp
37195 ac_cpp='$CXXCPP $CPPFLAGS'
37196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37201 /* end confdefs.h. */
37202 #include <math.h>
37204 main ()
37206 _sincosf(0, 0, 0);
37208 return 0;
37210 _ACEOF
37211 if ac_fn_cxx_try_compile "$LINENO"; then :
37212 glibcxx_cv_func__sincosf_use=yes
37213 else
37214 glibcxx_cv_func__sincosf_use=no
37216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37217 ac_ext=c
37218 ac_cpp='$CPP $CPPFLAGS'
37219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
37228 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
37230 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
37231 for ac_func in _sincosf
37232 do :
37233 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
37234 if test "x$ac_cv_func__sincosf" = x""yes; then :
37235 cat >>confdefs.h <<_ACEOF
37236 #define HAVE__SINCOSF 1
37237 _ACEOF
37240 done
37249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
37250 $as_echo_n "checking for finitef declaration... " >&6; }
37251 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
37252 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
37253 $as_echo_n "(cached) " >&6
37254 else
37257 ac_ext=cpp
37258 ac_cpp='$CXXCPP $CPPFLAGS'
37259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37264 /* end confdefs.h. */
37265 #include <math.h>
37266 #ifdef HAVE_IEEEFP_H
37267 #include <ieeefp.h>
37268 #endif
37271 main ()
37273 finitef(0);
37275 return 0;
37277 _ACEOF
37278 if ac_fn_cxx_try_compile "$LINENO"; then :
37279 glibcxx_cv_func_finitef_use=yes
37280 else
37281 glibcxx_cv_func_finitef_use=no
37283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37284 ac_ext=c
37285 ac_cpp='$CPP $CPPFLAGS'
37286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
37295 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
37297 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
37298 for ac_func in finitef
37299 do :
37300 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
37301 if test "x$ac_cv_func_finitef" = x""yes; then :
37302 cat >>confdefs.h <<_ACEOF
37303 #define HAVE_FINITEF 1
37304 _ACEOF
37307 done
37309 else
37311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
37312 $as_echo_n "checking for _finitef declaration... " >&6; }
37313 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
37314 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
37315 $as_echo_n "(cached) " >&6
37316 else
37319 ac_ext=cpp
37320 ac_cpp='$CXXCPP $CPPFLAGS'
37321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37326 /* end confdefs.h. */
37327 #include <math.h>
37328 #ifdef HAVE_IEEEFP_H
37329 #include <ieeefp.h>
37330 #endif
37333 main ()
37335 _finitef(0);
37337 return 0;
37339 _ACEOF
37340 if ac_fn_cxx_try_compile "$LINENO"; then :
37341 glibcxx_cv_func__finitef_use=yes
37342 else
37343 glibcxx_cv_func__finitef_use=no
37345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37346 ac_ext=c
37347 ac_cpp='$CPP $CPPFLAGS'
37348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
37357 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
37359 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
37360 for ac_func in _finitef
37361 do :
37362 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
37363 if test "x$ac_cv_func__finitef" = x""yes; then :
37364 cat >>confdefs.h <<_ACEOF
37365 #define HAVE__FINITEF 1
37366 _ACEOF
37369 done
37378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
37379 $as_echo_n "checking for long double trig functions... " >&6; }
37380 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
37381 $as_echo_n "(cached) " >&6
37382 else
37385 ac_ext=cpp
37386 ac_cpp='$CXXCPP $CPPFLAGS'
37387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37392 /* end confdefs.h. */
37393 #include <math.h>
37395 main ()
37397 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
37399 return 0;
37401 _ACEOF
37402 if ac_fn_cxx_try_compile "$LINENO"; then :
37403 glibcxx_cv_func_long_double_trig_use=yes
37404 else
37405 glibcxx_cv_func_long_double_trig_use=no
37407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37408 ac_ext=c
37409 ac_cpp='$CPP $CPPFLAGS'
37410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
37417 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
37418 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
37419 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
37420 do :
37421 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37422 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37423 eval as_val=\$$as_ac_var
37424 if test "x$as_val" = x""yes; then :
37425 cat >>confdefs.h <<_ACEOF
37426 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37427 _ACEOF
37430 done
37432 else
37433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
37434 $as_echo_n "checking for _long double trig functions... " >&6; }
37435 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
37436 $as_echo_n "(cached) " >&6
37437 else
37440 ac_ext=cpp
37441 ac_cpp='$CXXCPP $CPPFLAGS'
37442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37447 /* end confdefs.h. */
37448 #include <math.h>
37450 main ()
37452 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
37454 return 0;
37456 _ACEOF
37457 if ac_fn_cxx_try_compile "$LINENO"; then :
37458 glibcxx_cv_func__long_double_trig_use=yes
37459 else
37460 glibcxx_cv_func__long_double_trig_use=no
37462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37463 ac_ext=c
37464 ac_cpp='$CPP $CPPFLAGS'
37465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
37472 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
37473 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
37474 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
37475 do :
37476 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37477 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37478 eval as_val=\$$as_ac_var
37479 if test "x$as_val" = x""yes; then :
37480 cat >>confdefs.h <<_ACEOF
37481 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37482 _ACEOF
37485 done
37494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
37495 $as_echo_n "checking for long double round functions... " >&6; }
37496 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
37497 $as_echo_n "(cached) " >&6
37498 else
37501 ac_ext=cpp
37502 ac_cpp='$CXXCPP $CPPFLAGS'
37503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37508 /* end confdefs.h. */
37509 #include <math.h>
37511 main ()
37513 ceill (0); floorl (0);
37515 return 0;
37517 _ACEOF
37518 if ac_fn_cxx_try_compile "$LINENO"; then :
37519 glibcxx_cv_func_long_double_round_use=yes
37520 else
37521 glibcxx_cv_func_long_double_round_use=no
37523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37524 ac_ext=c
37525 ac_cpp='$CPP $CPPFLAGS'
37526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
37533 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
37534 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
37535 for ac_func in ceill floorl
37536 do :
37537 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37538 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37539 eval as_val=\$$as_ac_var
37540 if test "x$as_val" = x""yes; then :
37541 cat >>confdefs.h <<_ACEOF
37542 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37543 _ACEOF
37546 done
37548 else
37549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
37550 $as_echo_n "checking for _long double round functions... " >&6; }
37551 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
37552 $as_echo_n "(cached) " >&6
37553 else
37556 ac_ext=cpp
37557 ac_cpp='$CXXCPP $CPPFLAGS'
37558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37563 /* end confdefs.h. */
37564 #include <math.h>
37566 main ()
37568 _ceill (0); _floorl (0);
37570 return 0;
37572 _ACEOF
37573 if ac_fn_cxx_try_compile "$LINENO"; then :
37574 glibcxx_cv_func__long_double_round_use=yes
37575 else
37576 glibcxx_cv_func__long_double_round_use=no
37578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37579 ac_ext=c
37580 ac_cpp='$CPP $CPPFLAGS'
37581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
37588 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
37589 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
37590 for ac_func in _ceill _floorl
37591 do :
37592 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37593 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37594 eval as_val=\$$as_ac_var
37595 if test "x$as_val" = x""yes; then :
37596 cat >>confdefs.h <<_ACEOF
37597 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37598 _ACEOF
37601 done
37611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
37612 $as_echo_n "checking for isnanl declaration... " >&6; }
37613 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
37614 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
37615 $as_echo_n "(cached) " >&6
37616 else
37619 ac_ext=cpp
37620 ac_cpp='$CXXCPP $CPPFLAGS'
37621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37626 /* end confdefs.h. */
37627 #include <math.h>
37628 #ifdef HAVE_IEEEFP_H
37629 #include <ieeefp.h>
37630 #endif
37633 main ()
37635 isnanl(0);
37637 return 0;
37639 _ACEOF
37640 if ac_fn_cxx_try_compile "$LINENO"; then :
37641 glibcxx_cv_func_isnanl_use=yes
37642 else
37643 glibcxx_cv_func_isnanl_use=no
37645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37646 ac_ext=c
37647 ac_cpp='$CPP $CPPFLAGS'
37648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
37657 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
37659 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
37660 for ac_func in isnanl
37661 do :
37662 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
37663 if test "x$ac_cv_func_isnanl" = x""yes; then :
37664 cat >>confdefs.h <<_ACEOF
37665 #define HAVE_ISNANL 1
37666 _ACEOF
37669 done
37671 else
37673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
37674 $as_echo_n "checking for _isnanl declaration... " >&6; }
37675 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
37676 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
37677 $as_echo_n "(cached) " >&6
37678 else
37681 ac_ext=cpp
37682 ac_cpp='$CXXCPP $CPPFLAGS'
37683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37688 /* end confdefs.h. */
37689 #include <math.h>
37690 #ifdef HAVE_IEEEFP_H
37691 #include <ieeefp.h>
37692 #endif
37695 main ()
37697 _isnanl(0);
37699 return 0;
37701 _ACEOF
37702 if ac_fn_cxx_try_compile "$LINENO"; then :
37703 glibcxx_cv_func__isnanl_use=yes
37704 else
37705 glibcxx_cv_func__isnanl_use=no
37707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37708 ac_ext=c
37709 ac_cpp='$CPP $CPPFLAGS'
37710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
37719 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
37721 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
37722 for ac_func in _isnanl
37723 do :
37724 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
37725 if test "x$ac_cv_func__isnanl" = x""yes; then :
37726 cat >>confdefs.h <<_ACEOF
37727 #define HAVE__ISNANL 1
37728 _ACEOF
37731 done
37740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
37741 $as_echo_n "checking for isinfl declaration... " >&6; }
37742 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
37743 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
37744 $as_echo_n "(cached) " >&6
37745 else
37748 ac_ext=cpp
37749 ac_cpp='$CXXCPP $CPPFLAGS'
37750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37755 /* end confdefs.h. */
37756 #include <math.h>
37757 #ifdef HAVE_IEEEFP_H
37758 #include <ieeefp.h>
37759 #endif
37762 main ()
37764 isinfl(0);
37766 return 0;
37768 _ACEOF
37769 if ac_fn_cxx_try_compile "$LINENO"; then :
37770 glibcxx_cv_func_isinfl_use=yes
37771 else
37772 glibcxx_cv_func_isinfl_use=no
37774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37775 ac_ext=c
37776 ac_cpp='$CPP $CPPFLAGS'
37777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
37786 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
37788 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
37789 for ac_func in isinfl
37790 do :
37791 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
37792 if test "x$ac_cv_func_isinfl" = x""yes; then :
37793 cat >>confdefs.h <<_ACEOF
37794 #define HAVE_ISINFL 1
37795 _ACEOF
37798 done
37800 else
37802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
37803 $as_echo_n "checking for _isinfl declaration... " >&6; }
37804 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
37805 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
37806 $as_echo_n "(cached) " >&6
37807 else
37810 ac_ext=cpp
37811 ac_cpp='$CXXCPP $CPPFLAGS'
37812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37817 /* end confdefs.h. */
37818 #include <math.h>
37819 #ifdef HAVE_IEEEFP_H
37820 #include <ieeefp.h>
37821 #endif
37824 main ()
37826 _isinfl(0);
37828 return 0;
37830 _ACEOF
37831 if ac_fn_cxx_try_compile "$LINENO"; then :
37832 glibcxx_cv_func__isinfl_use=yes
37833 else
37834 glibcxx_cv_func__isinfl_use=no
37836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37837 ac_ext=c
37838 ac_cpp='$CPP $CPPFLAGS'
37839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
37848 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
37850 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
37851 for ac_func in _isinfl
37852 do :
37853 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
37854 if test "x$ac_cv_func__isinfl" = x""yes; then :
37855 cat >>confdefs.h <<_ACEOF
37856 #define HAVE__ISINFL 1
37857 _ACEOF
37860 done
37869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
37870 $as_echo_n "checking for atan2l declaration... " >&6; }
37871 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
37872 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
37873 $as_echo_n "(cached) " >&6
37874 else
37877 ac_ext=cpp
37878 ac_cpp='$CXXCPP $CPPFLAGS'
37879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37884 /* end confdefs.h. */
37885 #include <math.h>
37887 main ()
37889 atan2l(0, 0);
37891 return 0;
37893 _ACEOF
37894 if ac_fn_cxx_try_compile "$LINENO"; then :
37895 glibcxx_cv_func_atan2l_use=yes
37896 else
37897 glibcxx_cv_func_atan2l_use=no
37899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37900 ac_ext=c
37901 ac_cpp='$CPP $CPPFLAGS'
37902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
37911 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
37913 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
37914 for ac_func in atan2l
37915 do :
37916 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
37917 if test "x$ac_cv_func_atan2l" = x""yes; then :
37918 cat >>confdefs.h <<_ACEOF
37919 #define HAVE_ATAN2L 1
37920 _ACEOF
37923 done
37925 else
37927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
37928 $as_echo_n "checking for _atan2l declaration... " >&6; }
37929 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
37930 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
37931 $as_echo_n "(cached) " >&6
37932 else
37935 ac_ext=cpp
37936 ac_cpp='$CXXCPP $CPPFLAGS'
37937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37942 /* end confdefs.h. */
37943 #include <math.h>
37945 main ()
37947 _atan2l(0, 0);
37949 return 0;
37951 _ACEOF
37952 if ac_fn_cxx_try_compile "$LINENO"; then :
37953 glibcxx_cv_func__atan2l_use=yes
37954 else
37955 glibcxx_cv_func__atan2l_use=no
37957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37958 ac_ext=c
37959 ac_cpp='$CPP $CPPFLAGS'
37960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
37969 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
37971 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
37972 for ac_func in _atan2l
37973 do :
37974 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
37975 if test "x$ac_cv_func__atan2l" = x""yes; then :
37976 cat >>confdefs.h <<_ACEOF
37977 #define HAVE__ATAN2L 1
37978 _ACEOF
37981 done
37990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
37991 $as_echo_n "checking for expl declaration... " >&6; }
37992 if test x${glibcxx_cv_func_expl_use+set} != xset; then
37993 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
37994 $as_echo_n "(cached) " >&6
37995 else
37998 ac_ext=cpp
37999 ac_cpp='$CXXCPP $CPPFLAGS'
38000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38005 /* end confdefs.h. */
38006 #include <math.h>
38007 #ifdef HAVE_IEEEFP_H
38008 #include <ieeefp.h>
38009 #endif
38012 main ()
38014 expl(0);
38016 return 0;
38018 _ACEOF
38019 if ac_fn_cxx_try_compile "$LINENO"; then :
38020 glibcxx_cv_func_expl_use=yes
38021 else
38022 glibcxx_cv_func_expl_use=no
38024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38025 ac_ext=c
38026 ac_cpp='$CPP $CPPFLAGS'
38027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
38036 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
38038 if test x$glibcxx_cv_func_expl_use = x"yes"; then
38039 for ac_func in expl
38040 do :
38041 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
38042 if test "x$ac_cv_func_expl" = x""yes; then :
38043 cat >>confdefs.h <<_ACEOF
38044 #define HAVE_EXPL 1
38045 _ACEOF
38048 done
38050 else
38052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
38053 $as_echo_n "checking for _expl declaration... " >&6; }
38054 if test x${glibcxx_cv_func__expl_use+set} != xset; then
38055 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
38056 $as_echo_n "(cached) " >&6
38057 else
38060 ac_ext=cpp
38061 ac_cpp='$CXXCPP $CPPFLAGS'
38062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38067 /* end confdefs.h. */
38068 #include <math.h>
38069 #ifdef HAVE_IEEEFP_H
38070 #include <ieeefp.h>
38071 #endif
38074 main ()
38076 _expl(0);
38078 return 0;
38080 _ACEOF
38081 if ac_fn_cxx_try_compile "$LINENO"; then :
38082 glibcxx_cv_func__expl_use=yes
38083 else
38084 glibcxx_cv_func__expl_use=no
38086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38087 ac_ext=c
38088 ac_cpp='$CPP $CPPFLAGS'
38089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
38098 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
38100 if test x$glibcxx_cv_func__expl_use = x"yes"; then
38101 for ac_func in _expl
38102 do :
38103 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
38104 if test "x$ac_cv_func__expl" = x""yes; then :
38105 cat >>confdefs.h <<_ACEOF
38106 #define HAVE__EXPL 1
38107 _ACEOF
38110 done
38119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
38120 $as_echo_n "checking for fabsl declaration... " >&6; }
38121 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
38122 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
38123 $as_echo_n "(cached) " >&6
38124 else
38127 ac_ext=cpp
38128 ac_cpp='$CXXCPP $CPPFLAGS'
38129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38134 /* end confdefs.h. */
38135 #include <math.h>
38136 #ifdef HAVE_IEEEFP_H
38137 #include <ieeefp.h>
38138 #endif
38141 main ()
38143 fabsl(0);
38145 return 0;
38147 _ACEOF
38148 if ac_fn_cxx_try_compile "$LINENO"; then :
38149 glibcxx_cv_func_fabsl_use=yes
38150 else
38151 glibcxx_cv_func_fabsl_use=no
38153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38154 ac_ext=c
38155 ac_cpp='$CPP $CPPFLAGS'
38156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
38165 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
38167 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
38168 for ac_func in fabsl
38169 do :
38170 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
38171 if test "x$ac_cv_func_fabsl" = x""yes; then :
38172 cat >>confdefs.h <<_ACEOF
38173 #define HAVE_FABSL 1
38174 _ACEOF
38177 done
38179 else
38181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
38182 $as_echo_n "checking for _fabsl declaration... " >&6; }
38183 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
38184 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
38185 $as_echo_n "(cached) " >&6
38186 else
38189 ac_ext=cpp
38190 ac_cpp='$CXXCPP $CPPFLAGS'
38191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38196 /* end confdefs.h. */
38197 #include <math.h>
38198 #ifdef HAVE_IEEEFP_H
38199 #include <ieeefp.h>
38200 #endif
38203 main ()
38205 _fabsl(0);
38207 return 0;
38209 _ACEOF
38210 if ac_fn_cxx_try_compile "$LINENO"; then :
38211 glibcxx_cv_func__fabsl_use=yes
38212 else
38213 glibcxx_cv_func__fabsl_use=no
38215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38216 ac_ext=c
38217 ac_cpp='$CPP $CPPFLAGS'
38218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
38227 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
38229 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
38230 for ac_func in _fabsl
38231 do :
38232 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
38233 if test "x$ac_cv_func__fabsl" = x""yes; then :
38234 cat >>confdefs.h <<_ACEOF
38235 #define HAVE__FABSL 1
38236 _ACEOF
38239 done
38248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
38249 $as_echo_n "checking for fmodl declaration... " >&6; }
38250 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
38251 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
38252 $as_echo_n "(cached) " >&6
38253 else
38256 ac_ext=cpp
38257 ac_cpp='$CXXCPP $CPPFLAGS'
38258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38263 /* end confdefs.h. */
38264 #include <math.h>
38266 main ()
38268 fmodl(0, 0);
38270 return 0;
38272 _ACEOF
38273 if ac_fn_cxx_try_compile "$LINENO"; then :
38274 glibcxx_cv_func_fmodl_use=yes
38275 else
38276 glibcxx_cv_func_fmodl_use=no
38278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38279 ac_ext=c
38280 ac_cpp='$CPP $CPPFLAGS'
38281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
38290 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
38292 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
38293 for ac_func in fmodl
38294 do :
38295 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
38296 if test "x$ac_cv_func_fmodl" = x""yes; then :
38297 cat >>confdefs.h <<_ACEOF
38298 #define HAVE_FMODL 1
38299 _ACEOF
38302 done
38304 else
38306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
38307 $as_echo_n "checking for _fmodl declaration... " >&6; }
38308 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
38309 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
38310 $as_echo_n "(cached) " >&6
38311 else
38314 ac_ext=cpp
38315 ac_cpp='$CXXCPP $CPPFLAGS'
38316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38321 /* end confdefs.h. */
38322 #include <math.h>
38324 main ()
38326 _fmodl(0, 0);
38328 return 0;
38330 _ACEOF
38331 if ac_fn_cxx_try_compile "$LINENO"; then :
38332 glibcxx_cv_func__fmodl_use=yes
38333 else
38334 glibcxx_cv_func__fmodl_use=no
38336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38337 ac_ext=c
38338 ac_cpp='$CPP $CPPFLAGS'
38339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
38348 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
38350 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
38351 for ac_func in _fmodl
38352 do :
38353 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
38354 if test "x$ac_cv_func__fmodl" = x""yes; then :
38355 cat >>confdefs.h <<_ACEOF
38356 #define HAVE__FMODL 1
38357 _ACEOF
38360 done
38369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
38370 $as_echo_n "checking for frexpl declaration... " >&6; }
38371 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
38372 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
38373 $as_echo_n "(cached) " >&6
38374 else
38377 ac_ext=cpp
38378 ac_cpp='$CXXCPP $CPPFLAGS'
38379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38384 /* end confdefs.h. */
38385 #include <math.h>
38387 main ()
38389 frexpl(0, 0);
38391 return 0;
38393 _ACEOF
38394 if ac_fn_cxx_try_compile "$LINENO"; then :
38395 glibcxx_cv_func_frexpl_use=yes
38396 else
38397 glibcxx_cv_func_frexpl_use=no
38399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38400 ac_ext=c
38401 ac_cpp='$CPP $CPPFLAGS'
38402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
38411 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
38413 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
38414 for ac_func in frexpl
38415 do :
38416 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
38417 if test "x$ac_cv_func_frexpl" = x""yes; then :
38418 cat >>confdefs.h <<_ACEOF
38419 #define HAVE_FREXPL 1
38420 _ACEOF
38423 done
38425 else
38427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
38428 $as_echo_n "checking for _frexpl declaration... " >&6; }
38429 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
38430 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
38431 $as_echo_n "(cached) " >&6
38432 else
38435 ac_ext=cpp
38436 ac_cpp='$CXXCPP $CPPFLAGS'
38437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38442 /* end confdefs.h. */
38443 #include <math.h>
38445 main ()
38447 _frexpl(0, 0);
38449 return 0;
38451 _ACEOF
38452 if ac_fn_cxx_try_compile "$LINENO"; then :
38453 glibcxx_cv_func__frexpl_use=yes
38454 else
38455 glibcxx_cv_func__frexpl_use=no
38457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38458 ac_ext=c
38459 ac_cpp='$CPP $CPPFLAGS'
38460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
38469 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
38471 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
38472 for ac_func in _frexpl
38473 do :
38474 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
38475 if test "x$ac_cv_func__frexpl" = x""yes; then :
38476 cat >>confdefs.h <<_ACEOF
38477 #define HAVE__FREXPL 1
38478 _ACEOF
38481 done
38490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
38491 $as_echo_n "checking for hypotl declaration... " >&6; }
38492 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
38493 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
38494 $as_echo_n "(cached) " >&6
38495 else
38498 ac_ext=cpp
38499 ac_cpp='$CXXCPP $CPPFLAGS'
38500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38505 /* end confdefs.h. */
38506 #include <math.h>
38508 main ()
38510 hypotl(0, 0);
38512 return 0;
38514 _ACEOF
38515 if ac_fn_cxx_try_compile "$LINENO"; then :
38516 glibcxx_cv_func_hypotl_use=yes
38517 else
38518 glibcxx_cv_func_hypotl_use=no
38520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38521 ac_ext=c
38522 ac_cpp='$CPP $CPPFLAGS'
38523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
38532 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
38534 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
38535 for ac_func in hypotl
38536 do :
38537 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
38538 if test "x$ac_cv_func_hypotl" = x""yes; then :
38539 cat >>confdefs.h <<_ACEOF
38540 #define HAVE_HYPOTL 1
38541 _ACEOF
38544 done
38546 else
38548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
38549 $as_echo_n "checking for _hypotl declaration... " >&6; }
38550 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
38551 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
38552 $as_echo_n "(cached) " >&6
38553 else
38556 ac_ext=cpp
38557 ac_cpp='$CXXCPP $CPPFLAGS'
38558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38563 /* end confdefs.h. */
38564 #include <math.h>
38566 main ()
38568 _hypotl(0, 0);
38570 return 0;
38572 _ACEOF
38573 if ac_fn_cxx_try_compile "$LINENO"; then :
38574 glibcxx_cv_func__hypotl_use=yes
38575 else
38576 glibcxx_cv_func__hypotl_use=no
38578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38579 ac_ext=c
38580 ac_cpp='$CPP $CPPFLAGS'
38581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
38590 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
38592 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
38593 for ac_func in _hypotl
38594 do :
38595 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
38596 if test "x$ac_cv_func__hypotl" = x""yes; then :
38597 cat >>confdefs.h <<_ACEOF
38598 #define HAVE__HYPOTL 1
38599 _ACEOF
38602 done
38611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
38612 $as_echo_n "checking for ldexpl declaration... " >&6; }
38613 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
38614 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
38615 $as_echo_n "(cached) " >&6
38616 else
38619 ac_ext=cpp
38620 ac_cpp='$CXXCPP $CPPFLAGS'
38621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38626 /* end confdefs.h. */
38627 #include <math.h>
38629 main ()
38631 ldexpl(0, 0);
38633 return 0;
38635 _ACEOF
38636 if ac_fn_cxx_try_compile "$LINENO"; then :
38637 glibcxx_cv_func_ldexpl_use=yes
38638 else
38639 glibcxx_cv_func_ldexpl_use=no
38641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38642 ac_ext=c
38643 ac_cpp='$CPP $CPPFLAGS'
38644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
38653 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
38655 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
38656 for ac_func in ldexpl
38657 do :
38658 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
38659 if test "x$ac_cv_func_ldexpl" = x""yes; then :
38660 cat >>confdefs.h <<_ACEOF
38661 #define HAVE_LDEXPL 1
38662 _ACEOF
38665 done
38667 else
38669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
38670 $as_echo_n "checking for _ldexpl declaration... " >&6; }
38671 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
38672 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
38673 $as_echo_n "(cached) " >&6
38674 else
38677 ac_ext=cpp
38678 ac_cpp='$CXXCPP $CPPFLAGS'
38679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38684 /* end confdefs.h. */
38685 #include <math.h>
38687 main ()
38689 _ldexpl(0, 0);
38691 return 0;
38693 _ACEOF
38694 if ac_fn_cxx_try_compile "$LINENO"; then :
38695 glibcxx_cv_func__ldexpl_use=yes
38696 else
38697 glibcxx_cv_func__ldexpl_use=no
38699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38700 ac_ext=c
38701 ac_cpp='$CPP $CPPFLAGS'
38702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
38711 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
38713 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
38714 for ac_func in _ldexpl
38715 do :
38716 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
38717 if test "x$ac_cv_func__ldexpl" = x""yes; then :
38718 cat >>confdefs.h <<_ACEOF
38719 #define HAVE__LDEXPL 1
38720 _ACEOF
38723 done
38732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
38733 $as_echo_n "checking for logl declaration... " >&6; }
38734 if test x${glibcxx_cv_func_logl_use+set} != xset; then
38735 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
38736 $as_echo_n "(cached) " >&6
38737 else
38740 ac_ext=cpp
38741 ac_cpp='$CXXCPP $CPPFLAGS'
38742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38747 /* end confdefs.h. */
38748 #include <math.h>
38749 #ifdef HAVE_IEEEFP_H
38750 #include <ieeefp.h>
38751 #endif
38754 main ()
38756 logl(0);
38758 return 0;
38760 _ACEOF
38761 if ac_fn_cxx_try_compile "$LINENO"; then :
38762 glibcxx_cv_func_logl_use=yes
38763 else
38764 glibcxx_cv_func_logl_use=no
38766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38767 ac_ext=c
38768 ac_cpp='$CPP $CPPFLAGS'
38769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
38778 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
38780 if test x$glibcxx_cv_func_logl_use = x"yes"; then
38781 for ac_func in logl
38782 do :
38783 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
38784 if test "x$ac_cv_func_logl" = x""yes; then :
38785 cat >>confdefs.h <<_ACEOF
38786 #define HAVE_LOGL 1
38787 _ACEOF
38790 done
38792 else
38794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
38795 $as_echo_n "checking for _logl declaration... " >&6; }
38796 if test x${glibcxx_cv_func__logl_use+set} != xset; then
38797 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
38798 $as_echo_n "(cached) " >&6
38799 else
38802 ac_ext=cpp
38803 ac_cpp='$CXXCPP $CPPFLAGS'
38804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38809 /* end confdefs.h. */
38810 #include <math.h>
38811 #ifdef HAVE_IEEEFP_H
38812 #include <ieeefp.h>
38813 #endif
38816 main ()
38818 _logl(0);
38820 return 0;
38822 _ACEOF
38823 if ac_fn_cxx_try_compile "$LINENO"; then :
38824 glibcxx_cv_func__logl_use=yes
38825 else
38826 glibcxx_cv_func__logl_use=no
38828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38829 ac_ext=c
38830 ac_cpp='$CPP $CPPFLAGS'
38831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
38840 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
38842 if test x$glibcxx_cv_func__logl_use = x"yes"; then
38843 for ac_func in _logl
38844 do :
38845 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
38846 if test "x$ac_cv_func__logl" = x""yes; then :
38847 cat >>confdefs.h <<_ACEOF
38848 #define HAVE__LOGL 1
38849 _ACEOF
38852 done
38861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
38862 $as_echo_n "checking for log10l declaration... " >&6; }
38863 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
38864 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
38865 $as_echo_n "(cached) " >&6
38866 else
38869 ac_ext=cpp
38870 ac_cpp='$CXXCPP $CPPFLAGS'
38871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38876 /* end confdefs.h. */
38877 #include <math.h>
38878 #ifdef HAVE_IEEEFP_H
38879 #include <ieeefp.h>
38880 #endif
38883 main ()
38885 log10l(0);
38887 return 0;
38889 _ACEOF
38890 if ac_fn_cxx_try_compile "$LINENO"; then :
38891 glibcxx_cv_func_log10l_use=yes
38892 else
38893 glibcxx_cv_func_log10l_use=no
38895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38896 ac_ext=c
38897 ac_cpp='$CPP $CPPFLAGS'
38898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
38907 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
38909 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
38910 for ac_func in log10l
38911 do :
38912 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
38913 if test "x$ac_cv_func_log10l" = x""yes; then :
38914 cat >>confdefs.h <<_ACEOF
38915 #define HAVE_LOG10L 1
38916 _ACEOF
38919 done
38921 else
38923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
38924 $as_echo_n "checking for _log10l declaration... " >&6; }
38925 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
38926 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
38927 $as_echo_n "(cached) " >&6
38928 else
38931 ac_ext=cpp
38932 ac_cpp='$CXXCPP $CPPFLAGS'
38933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38938 /* end confdefs.h. */
38939 #include <math.h>
38940 #ifdef HAVE_IEEEFP_H
38941 #include <ieeefp.h>
38942 #endif
38945 main ()
38947 _log10l(0);
38949 return 0;
38951 _ACEOF
38952 if ac_fn_cxx_try_compile "$LINENO"; then :
38953 glibcxx_cv_func__log10l_use=yes
38954 else
38955 glibcxx_cv_func__log10l_use=no
38957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38958 ac_ext=c
38959 ac_cpp='$CPP $CPPFLAGS'
38960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
38969 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
38971 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
38972 for ac_func in _log10l
38973 do :
38974 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
38975 if test "x$ac_cv_func__log10l" = x""yes; then :
38976 cat >>confdefs.h <<_ACEOF
38977 #define HAVE__LOG10L 1
38978 _ACEOF
38981 done
38990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
38991 $as_echo_n "checking for modfl declaration... " >&6; }
38992 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
38993 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
38994 $as_echo_n "(cached) " >&6
38995 else
38998 ac_ext=cpp
38999 ac_cpp='$CXXCPP $CPPFLAGS'
39000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39005 /* end confdefs.h. */
39006 #include <math.h>
39008 main ()
39010 modfl(0, 0);
39012 return 0;
39014 _ACEOF
39015 if ac_fn_cxx_try_compile "$LINENO"; then :
39016 glibcxx_cv_func_modfl_use=yes
39017 else
39018 glibcxx_cv_func_modfl_use=no
39020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39021 ac_ext=c
39022 ac_cpp='$CPP $CPPFLAGS'
39023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
39032 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
39034 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
39035 for ac_func in modfl
39036 do :
39037 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
39038 if test "x$ac_cv_func_modfl" = x""yes; then :
39039 cat >>confdefs.h <<_ACEOF
39040 #define HAVE_MODFL 1
39041 _ACEOF
39044 done
39046 else
39048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
39049 $as_echo_n "checking for _modfl declaration... " >&6; }
39050 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
39051 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
39052 $as_echo_n "(cached) " >&6
39053 else
39056 ac_ext=cpp
39057 ac_cpp='$CXXCPP $CPPFLAGS'
39058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39063 /* end confdefs.h. */
39064 #include <math.h>
39066 main ()
39068 _modfl(0, 0);
39070 return 0;
39072 _ACEOF
39073 if ac_fn_cxx_try_compile "$LINENO"; then :
39074 glibcxx_cv_func__modfl_use=yes
39075 else
39076 glibcxx_cv_func__modfl_use=no
39078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39079 ac_ext=c
39080 ac_cpp='$CPP $CPPFLAGS'
39081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
39090 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
39092 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
39093 for ac_func in _modfl
39094 do :
39095 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
39096 if test "x$ac_cv_func__modfl" = x""yes; then :
39097 cat >>confdefs.h <<_ACEOF
39098 #define HAVE__MODFL 1
39099 _ACEOF
39102 done
39111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
39112 $as_echo_n "checking for powl declaration... " >&6; }
39113 if test x${glibcxx_cv_func_powl_use+set} != xset; then
39114 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
39115 $as_echo_n "(cached) " >&6
39116 else
39119 ac_ext=cpp
39120 ac_cpp='$CXXCPP $CPPFLAGS'
39121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39126 /* end confdefs.h. */
39127 #include <math.h>
39129 main ()
39131 powl(0, 0);
39133 return 0;
39135 _ACEOF
39136 if ac_fn_cxx_try_compile "$LINENO"; then :
39137 glibcxx_cv_func_powl_use=yes
39138 else
39139 glibcxx_cv_func_powl_use=no
39141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39142 ac_ext=c
39143 ac_cpp='$CPP $CPPFLAGS'
39144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
39153 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
39155 if test x$glibcxx_cv_func_powl_use = x"yes"; then
39156 for ac_func in powl
39157 do :
39158 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
39159 if test "x$ac_cv_func_powl" = x""yes; then :
39160 cat >>confdefs.h <<_ACEOF
39161 #define HAVE_POWL 1
39162 _ACEOF
39165 done
39167 else
39169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
39170 $as_echo_n "checking for _powl declaration... " >&6; }
39171 if test x${glibcxx_cv_func__powl_use+set} != xset; then
39172 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
39173 $as_echo_n "(cached) " >&6
39174 else
39177 ac_ext=cpp
39178 ac_cpp='$CXXCPP $CPPFLAGS'
39179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39184 /* end confdefs.h. */
39185 #include <math.h>
39187 main ()
39189 _powl(0, 0);
39191 return 0;
39193 _ACEOF
39194 if ac_fn_cxx_try_compile "$LINENO"; then :
39195 glibcxx_cv_func__powl_use=yes
39196 else
39197 glibcxx_cv_func__powl_use=no
39199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39200 ac_ext=c
39201 ac_cpp='$CPP $CPPFLAGS'
39202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
39211 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
39213 if test x$glibcxx_cv_func__powl_use = x"yes"; then
39214 for ac_func in _powl
39215 do :
39216 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
39217 if test "x$ac_cv_func__powl" = x""yes; then :
39218 cat >>confdefs.h <<_ACEOF
39219 #define HAVE__POWL 1
39220 _ACEOF
39223 done
39232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
39233 $as_echo_n "checking for sqrtl declaration... " >&6; }
39234 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
39235 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
39236 $as_echo_n "(cached) " >&6
39237 else
39240 ac_ext=cpp
39241 ac_cpp='$CXXCPP $CPPFLAGS'
39242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39247 /* end confdefs.h. */
39248 #include <math.h>
39249 #ifdef HAVE_IEEEFP_H
39250 #include <ieeefp.h>
39251 #endif
39254 main ()
39256 sqrtl(0);
39258 return 0;
39260 _ACEOF
39261 if ac_fn_cxx_try_compile "$LINENO"; then :
39262 glibcxx_cv_func_sqrtl_use=yes
39263 else
39264 glibcxx_cv_func_sqrtl_use=no
39266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39267 ac_ext=c
39268 ac_cpp='$CPP $CPPFLAGS'
39269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
39278 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
39280 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
39281 for ac_func in sqrtl
39282 do :
39283 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
39284 if test "x$ac_cv_func_sqrtl" = x""yes; then :
39285 cat >>confdefs.h <<_ACEOF
39286 #define HAVE_SQRTL 1
39287 _ACEOF
39290 done
39292 else
39294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
39295 $as_echo_n "checking for _sqrtl declaration... " >&6; }
39296 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
39297 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
39298 $as_echo_n "(cached) " >&6
39299 else
39302 ac_ext=cpp
39303 ac_cpp='$CXXCPP $CPPFLAGS'
39304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39309 /* end confdefs.h. */
39310 #include <math.h>
39311 #ifdef HAVE_IEEEFP_H
39312 #include <ieeefp.h>
39313 #endif
39316 main ()
39318 _sqrtl(0);
39320 return 0;
39322 _ACEOF
39323 if ac_fn_cxx_try_compile "$LINENO"; then :
39324 glibcxx_cv_func__sqrtl_use=yes
39325 else
39326 glibcxx_cv_func__sqrtl_use=no
39328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39329 ac_ext=c
39330 ac_cpp='$CPP $CPPFLAGS'
39331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
39340 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
39342 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
39343 for ac_func in _sqrtl
39344 do :
39345 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
39346 if test "x$ac_cv_func__sqrtl" = x""yes; then :
39347 cat >>confdefs.h <<_ACEOF
39348 #define HAVE__SQRTL 1
39349 _ACEOF
39352 done
39361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
39362 $as_echo_n "checking for sincosl declaration... " >&6; }
39363 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
39364 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
39365 $as_echo_n "(cached) " >&6
39366 else
39369 ac_ext=cpp
39370 ac_cpp='$CXXCPP $CPPFLAGS'
39371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39376 /* end confdefs.h. */
39377 #include <math.h>
39379 main ()
39381 sincosl(0, 0, 0);
39383 return 0;
39385 _ACEOF
39386 if ac_fn_cxx_try_compile "$LINENO"; then :
39387 glibcxx_cv_func_sincosl_use=yes
39388 else
39389 glibcxx_cv_func_sincosl_use=no
39391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39392 ac_ext=c
39393 ac_cpp='$CPP $CPPFLAGS'
39394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
39403 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
39405 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
39406 for ac_func in sincosl
39407 do :
39408 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
39409 if test "x$ac_cv_func_sincosl" = x""yes; then :
39410 cat >>confdefs.h <<_ACEOF
39411 #define HAVE_SINCOSL 1
39412 _ACEOF
39415 done
39417 else
39419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
39420 $as_echo_n "checking for _sincosl declaration... " >&6; }
39421 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
39422 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
39423 $as_echo_n "(cached) " >&6
39424 else
39427 ac_ext=cpp
39428 ac_cpp='$CXXCPP $CPPFLAGS'
39429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39434 /* end confdefs.h. */
39435 #include <math.h>
39437 main ()
39439 _sincosl(0, 0, 0);
39441 return 0;
39443 _ACEOF
39444 if ac_fn_cxx_try_compile "$LINENO"; then :
39445 glibcxx_cv_func__sincosl_use=yes
39446 else
39447 glibcxx_cv_func__sincosl_use=no
39449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39450 ac_ext=c
39451 ac_cpp='$CPP $CPPFLAGS'
39452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
39461 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
39463 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
39464 for ac_func in _sincosl
39465 do :
39466 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
39467 if test "x$ac_cv_func__sincosl" = x""yes; then :
39468 cat >>confdefs.h <<_ACEOF
39469 #define HAVE__SINCOSL 1
39470 _ACEOF
39473 done
39482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
39483 $as_echo_n "checking for finitel declaration... " >&6; }
39484 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
39485 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
39486 $as_echo_n "(cached) " >&6
39487 else
39490 ac_ext=cpp
39491 ac_cpp='$CXXCPP $CPPFLAGS'
39492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39497 /* end confdefs.h. */
39498 #include <math.h>
39499 #ifdef HAVE_IEEEFP_H
39500 #include <ieeefp.h>
39501 #endif
39504 main ()
39506 finitel(0);
39508 return 0;
39510 _ACEOF
39511 if ac_fn_cxx_try_compile "$LINENO"; then :
39512 glibcxx_cv_func_finitel_use=yes
39513 else
39514 glibcxx_cv_func_finitel_use=no
39516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39517 ac_ext=c
39518 ac_cpp='$CPP $CPPFLAGS'
39519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
39528 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
39530 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
39531 for ac_func in finitel
39532 do :
39533 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
39534 if test "x$ac_cv_func_finitel" = x""yes; then :
39535 cat >>confdefs.h <<_ACEOF
39536 #define HAVE_FINITEL 1
39537 _ACEOF
39540 done
39542 else
39544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
39545 $as_echo_n "checking for _finitel declaration... " >&6; }
39546 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
39547 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
39548 $as_echo_n "(cached) " >&6
39549 else
39552 ac_ext=cpp
39553 ac_cpp='$CXXCPP $CPPFLAGS'
39554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39559 /* end confdefs.h. */
39560 #include <math.h>
39561 #ifdef HAVE_IEEEFP_H
39562 #include <ieeefp.h>
39563 #endif
39566 main ()
39568 _finitel(0);
39570 return 0;
39572 _ACEOF
39573 if ac_fn_cxx_try_compile "$LINENO"; then :
39574 glibcxx_cv_func__finitel_use=yes
39575 else
39576 glibcxx_cv_func__finitel_use=no
39578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39579 ac_ext=c
39580 ac_cpp='$CPP $CPPFLAGS'
39581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
39590 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
39592 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
39593 for ac_func in _finitel
39594 do :
39595 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
39596 if test "x$ac_cv_func__finitel" = x""yes; then :
39597 cat >>confdefs.h <<_ACEOF
39598 #define HAVE__FINITEL 1
39599 _ACEOF
39602 done
39610 LIBS="$ac_save_LIBS"
39611 CXXFLAGS="$ac_save_CXXFLAGS"
39614 ac_test_CXXFLAGS="${CXXFLAGS+set}"
39615 ac_save_CXXFLAGS="$CXXFLAGS"
39616 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
39619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
39620 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
39621 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
39622 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
39623 $as_echo_n "(cached) " >&6
39624 else
39627 ac_ext=cpp
39628 ac_cpp='$CXXCPP $CPPFLAGS'
39629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39634 /* end confdefs.h. */
39635 #include <stdlib.h>
39637 main ()
39639 at_quick_exit(0);
39641 return 0;
39643 _ACEOF
39644 if ac_fn_cxx_try_compile "$LINENO"; then :
39645 glibcxx_cv_func_at_quick_exit_use=yes
39646 else
39647 glibcxx_cv_func_at_quick_exit_use=no
39649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39650 ac_ext=c
39651 ac_cpp='$CPP $CPPFLAGS'
39652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
39661 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
39662 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
39663 for ac_func in at_quick_exit
39664 do :
39665 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
39666 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
39667 cat >>confdefs.h <<_ACEOF
39668 #define HAVE_AT_QUICK_EXIT 1
39669 _ACEOF
39672 done
39677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
39678 $as_echo_n "checking for quick_exit declaration... " >&6; }
39679 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
39680 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
39681 $as_echo_n "(cached) " >&6
39682 else
39685 ac_ext=cpp
39686 ac_cpp='$CXXCPP $CPPFLAGS'
39687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39692 /* end confdefs.h. */
39693 #include <stdlib.h>
39695 main ()
39697 quick_exit(0);
39699 return 0;
39701 _ACEOF
39702 if ac_fn_cxx_try_compile "$LINENO"; then :
39703 glibcxx_cv_func_quick_exit_use=yes
39704 else
39705 glibcxx_cv_func_quick_exit_use=no
39707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39708 ac_ext=c
39709 ac_cpp='$CPP $CPPFLAGS'
39710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
39719 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
39720 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
39721 for ac_func in quick_exit
39722 do :
39723 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
39724 if test "x$ac_cv_func_quick_exit" = x""yes; then :
39725 cat >>confdefs.h <<_ACEOF
39726 #define HAVE_QUICK_EXIT 1
39727 _ACEOF
39730 done
39735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
39736 $as_echo_n "checking for strtold declaration... " >&6; }
39737 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
39738 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
39739 $as_echo_n "(cached) " >&6
39740 else
39743 ac_ext=cpp
39744 ac_cpp='$CXXCPP $CPPFLAGS'
39745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39750 /* end confdefs.h. */
39751 #include <stdlib.h>
39753 main ()
39755 strtold(0, 0);
39757 return 0;
39759 _ACEOF
39760 if ac_fn_cxx_try_compile "$LINENO"; then :
39761 glibcxx_cv_func_strtold_use=yes
39762 else
39763 glibcxx_cv_func_strtold_use=no
39765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39766 ac_ext=c
39767 ac_cpp='$CPP $CPPFLAGS'
39768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
39777 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
39778 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
39779 for ac_func in strtold
39780 do :
39781 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
39782 if test "x$ac_cv_func_strtold" = x""yes; then :
39783 cat >>confdefs.h <<_ACEOF
39784 #define HAVE_STRTOLD 1
39785 _ACEOF
39788 done
39795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
39796 $as_echo_n "checking for strtof declaration... " >&6; }
39797 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
39798 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
39799 $as_echo_n "(cached) " >&6
39800 else
39803 ac_ext=cpp
39804 ac_cpp='$CXXCPP $CPPFLAGS'
39805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39810 /* end confdefs.h. */
39811 #include <stdlib.h>
39813 main ()
39815 strtof(0, 0);
39817 return 0;
39819 _ACEOF
39820 if ac_fn_cxx_try_compile "$LINENO"; then :
39821 glibcxx_cv_func_strtof_use=yes
39822 else
39823 glibcxx_cv_func_strtof_use=no
39825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39826 ac_ext=c
39827 ac_cpp='$CPP $CPPFLAGS'
39828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
39837 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
39838 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
39839 for ac_func in strtof
39840 do :
39841 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
39842 if test "x$ac_cv_func_strtof" = x""yes; then :
39843 cat >>confdefs.h <<_ACEOF
39844 #define HAVE_STRTOF 1
39845 _ACEOF
39848 done
39855 CXXFLAGS="$ac_save_CXXFLAGS"
39862 am_save_CPPFLAGS="$CPPFLAGS"
39864 for element in $INCICONV; do
39865 haveit=
39866 for x in $CPPFLAGS; do
39868 acl_save_prefix="$prefix"
39869 prefix="$acl_final_prefix"
39870 acl_save_exec_prefix="$exec_prefix"
39871 exec_prefix="$acl_final_exec_prefix"
39872 eval x=\"$x\"
39873 exec_prefix="$acl_save_exec_prefix"
39874 prefix="$acl_save_prefix"
39876 if test "X$x" = "X$element"; then
39877 haveit=yes
39878 break
39880 done
39881 if test -z "$haveit"; then
39882 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
39884 done
39887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
39888 $as_echo_n "checking for iconv... " >&6; }
39889 if test "${am_cv_func_iconv+set}" = set; then :
39890 $as_echo_n "(cached) " >&6
39891 else
39893 am_cv_func_iconv="no, consider installing GNU libiconv"
39894 am_cv_lib_iconv=no
39895 if test x$gcc_no_link = xyes; then
39896 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39899 /* end confdefs.h. */
39900 #include <stdlib.h>
39901 #include <iconv.h>
39903 main ()
39905 iconv_t cd = iconv_open("","");
39906 iconv(cd,NULL,NULL,NULL,NULL);
39907 iconv_close(cd);
39909 return 0;
39911 _ACEOF
39912 if ac_fn_c_try_link "$LINENO"; then :
39913 am_cv_func_iconv=yes
39915 rm -f core conftest.err conftest.$ac_objext \
39916 conftest$ac_exeext conftest.$ac_ext
39917 if test "$am_cv_func_iconv" != yes; then
39918 am_save_LIBS="$LIBS"
39919 LIBS="$LIBS $LIBICONV"
39920 if test x$gcc_no_link = xyes; then
39921 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39924 /* end confdefs.h. */
39925 #include <stdlib.h>
39926 #include <iconv.h>
39928 main ()
39930 iconv_t cd = iconv_open("","");
39931 iconv(cd,NULL,NULL,NULL,NULL);
39932 iconv_close(cd);
39934 return 0;
39936 _ACEOF
39937 if ac_fn_c_try_link "$LINENO"; then :
39938 am_cv_lib_iconv=yes
39939 am_cv_func_iconv=yes
39941 rm -f core conftest.err conftest.$ac_objext \
39942 conftest$ac_exeext conftest.$ac_ext
39943 LIBS="$am_save_LIBS"
39947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
39948 $as_echo "$am_cv_func_iconv" >&6; }
39949 if test "$am_cv_func_iconv" = yes; then
39951 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
39954 if test "$am_cv_lib_iconv" = yes; then
39955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
39956 $as_echo_n "checking how to link with libiconv... " >&6; }
39957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
39958 $as_echo "$LIBICONV" >&6; }
39959 else
39960 CPPFLAGS="$am_save_CPPFLAGS"
39961 LIBICONV=
39962 LTLIBICONV=
39967 if test "$am_cv_func_iconv" = yes; then
39968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
39969 $as_echo_n "checking for iconv declaration... " >&6; }
39970 if test "${am_cv_proto_iconv+set}" = set; then :
39971 $as_echo_n "(cached) " >&6
39972 else
39974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39975 /* end confdefs.h. */
39977 #include <stdlib.h>
39978 #include <iconv.h>
39979 extern
39980 #ifdef __cplusplus
39982 #endif
39983 #if defined(__STDC__) || defined(__cplusplus)
39984 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
39985 #else
39986 size_t iconv();
39987 #endif
39990 main ()
39994 return 0;
39996 _ACEOF
39997 if ac_fn_c_try_compile "$LINENO"; then :
39998 am_cv_proto_iconv_arg1=""
39999 else
40000 am_cv_proto_iconv_arg1="const"
40002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40003 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);"
40006 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
40007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
40008 }$am_cv_proto_iconv" >&5
40009 $as_echo "${ac_t:-
40010 }$am_cv_proto_iconv" >&6; }
40012 cat >>confdefs.h <<_ACEOF
40013 #define ICONV_CONST $am_cv_proto_iconv_arg1
40014 _ACEOF
40020 *-aix*)
40022 # If we're not using GNU ld, then there's no point in even trying these
40023 # tests. Check for that first. We should have already tested for gld
40024 # by now (in libtool), but require it now just to be safe...
40025 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
40026 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
40030 # The name set by libtool depends on the version of libtool. Shame on us
40031 # for depending on an impl detail, but c'est la vie. Older versions used
40032 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
40033 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
40034 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
40035 # set (hence we're using an older libtool), then set it.
40036 if test x${with_gnu_ld+set} != xset; then
40037 if test x${ac_cv_prog_gnu_ld+set} != xset; then
40038 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
40039 with_gnu_ld=no
40040 else
40041 with_gnu_ld=$ac_cv_prog_gnu_ld
40045 # Start by getting the version number. I think the libtool test already
40046 # does some of this, but throws away the result.
40047 glibcxx_ld_is_gold=no
40048 if test x"$with_gnu_ld" = x"yes"; then
40049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
40050 $as_echo_n "checking for ld version... " >&6; }
40052 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
40053 glibcxx_ld_is_gold=yes
40055 ldver=`$LD --version 2>/dev/null |
40056 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'`
40058 glibcxx_gnu_ld_version=`echo $ldver | \
40059 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
40060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
40061 $as_echo "$glibcxx_gnu_ld_version" >&6; }
40064 # Set --gc-sections.
40065 glibcxx_have_gc_sections=no
40066 if test "$glibcxx_ld_is_gold" = "yes"; then
40067 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
40068 glibcxx_have_gc_sections=yes
40070 else
40071 glibcxx_gcsections_min_ld=21602
40072 if test x"$with_gnu_ld" = x"yes" &&
40073 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
40074 glibcxx_have_gc_sections=yes
40077 if test "$glibcxx_have_gc_sections" = "yes"; then
40078 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
40079 # NB: This flag only works reliably after 2.16.1. Configure tests
40080 # for this are difficult, so hard wire a value that should work.
40082 ac_test_CFLAGS="${CFLAGS+set}"
40083 ac_save_CFLAGS="$CFLAGS"
40084 CFLAGS='-Wl,--gc-sections'
40086 # Check for -Wl,--gc-sections
40087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
40088 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
40089 if test x$gcc_no_link = xyes; then
40090 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
40092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40093 /* end confdefs.h. */
40094 int one(void) { return 1; }
40095 int two(void) { return 2; }
40098 main ()
40100 two();
40102 return 0;
40104 _ACEOF
40105 if ac_fn_c_try_link "$LINENO"; then :
40106 ac_gcsections=yes
40107 else
40108 ac_gcsections=no
40110 rm -f core conftest.err conftest.$ac_objext \
40111 conftest$ac_exeext conftest.$ac_ext
40112 if test "$ac_gcsections" = "yes"; then
40113 rm -f conftest.c
40114 touch conftest.c
40115 if $CC -c conftest.c; then
40116 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
40117 grep "Warning: gc-sections option ignored" > /dev/null; then
40118 ac_gcsections=no
40121 rm -f conftest.c conftest.o conftest
40123 if test "$ac_gcsections" = "yes"; then
40124 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
40126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
40127 $as_echo "$ac_gcsections" >&6; }
40129 if test "$ac_test_CFLAGS" = set; then
40130 CFLAGS="$ac_save_CFLAGS"
40131 else
40132 # this is the suspicious part
40133 CFLAGS=''
40137 # Set -z,relro.
40138 # Note this is only for shared objects.
40139 ac_ld_relro=no
40140 if test x"$with_gnu_ld" = x"yes"; then
40141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
40142 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
40143 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
40144 if test -n "$cxx_z_relo"; then
40145 OPT_LDFLAGS="-Wl,-z,relro"
40146 ac_ld_relro=yes
40148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
40149 $as_echo "$ac_ld_relro" >&6; }
40152 # Set linker optimization flags.
40153 if test x"$with_gnu_ld" = x"yes"; then
40154 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
40161 ac_test_CXXFLAGS="${CXXFLAGS+set}"
40162 ac_save_CXXFLAGS="$CXXFLAGS"
40163 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
40165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
40166 $as_echo_n "checking for sin in -lm... " >&6; }
40167 if test "${ac_cv_lib_m_sin+set}" = set; then :
40168 $as_echo_n "(cached) " >&6
40169 else
40170 ac_check_lib_save_LIBS=$LIBS
40171 LIBS="-lm $LIBS"
40172 if test x$gcc_no_link = xyes; then
40173 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
40175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40176 /* end confdefs.h. */
40178 /* Override any GCC internal prototype to avoid an error.
40179 Use char because int might match the return type of a GCC
40180 builtin and then its argument prototype would still apply. */
40181 #ifdef __cplusplus
40182 extern "C"
40183 #endif
40184 char sin ();
40186 main ()
40188 return sin ();
40190 return 0;
40192 _ACEOF
40193 if ac_fn_c_try_link "$LINENO"; then :
40194 ac_cv_lib_m_sin=yes
40195 else
40196 ac_cv_lib_m_sin=no
40198 rm -f core conftest.err conftest.$ac_objext \
40199 conftest$ac_exeext conftest.$ac_ext
40200 LIBS=$ac_check_lib_save_LIBS
40202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
40203 $as_echo "$ac_cv_lib_m_sin" >&6; }
40204 if test "x$ac_cv_lib_m_sin" = x""yes; then :
40205 libm="-lm"
40208 ac_save_LIBS="$LIBS"
40209 LIBS="$LIBS $libm"
40213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
40214 $as_echo_n "checking for isinf declaration... " >&6; }
40215 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
40216 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
40217 $as_echo_n "(cached) " >&6
40218 else
40221 ac_ext=cpp
40222 ac_cpp='$CXXCPP $CPPFLAGS'
40223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40228 /* end confdefs.h. */
40229 #include <math.h>
40230 #ifdef HAVE_IEEEFP_H
40231 #include <ieeefp.h>
40232 #endif
40235 main ()
40237 isinf(0);
40239 return 0;
40241 _ACEOF
40242 if ac_fn_cxx_try_compile "$LINENO"; then :
40243 glibcxx_cv_func_isinf_use=yes
40244 else
40245 glibcxx_cv_func_isinf_use=no
40247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40248 ac_ext=c
40249 ac_cpp='$CPP $CPPFLAGS'
40250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
40259 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
40261 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
40262 for ac_func in isinf
40263 do :
40264 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
40265 if test "x$ac_cv_func_isinf" = x""yes; then :
40266 cat >>confdefs.h <<_ACEOF
40267 #define HAVE_ISINF 1
40268 _ACEOF
40271 done
40273 else
40275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
40276 $as_echo_n "checking for _isinf declaration... " >&6; }
40277 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
40278 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
40279 $as_echo_n "(cached) " >&6
40280 else
40283 ac_ext=cpp
40284 ac_cpp='$CXXCPP $CPPFLAGS'
40285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40290 /* end confdefs.h. */
40291 #include <math.h>
40292 #ifdef HAVE_IEEEFP_H
40293 #include <ieeefp.h>
40294 #endif
40297 main ()
40299 _isinf(0);
40301 return 0;
40303 _ACEOF
40304 if ac_fn_cxx_try_compile "$LINENO"; then :
40305 glibcxx_cv_func__isinf_use=yes
40306 else
40307 glibcxx_cv_func__isinf_use=no
40309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40310 ac_ext=c
40311 ac_cpp='$CPP $CPPFLAGS'
40312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
40321 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
40323 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
40324 for ac_func in _isinf
40325 do :
40326 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
40327 if test "x$ac_cv_func__isinf" = x""yes; then :
40328 cat >>confdefs.h <<_ACEOF
40329 #define HAVE__ISINF 1
40330 _ACEOF
40333 done
40342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
40343 $as_echo_n "checking for isnan declaration... " >&6; }
40344 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
40345 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
40346 $as_echo_n "(cached) " >&6
40347 else
40350 ac_ext=cpp
40351 ac_cpp='$CXXCPP $CPPFLAGS'
40352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40357 /* end confdefs.h. */
40358 #include <math.h>
40359 #ifdef HAVE_IEEEFP_H
40360 #include <ieeefp.h>
40361 #endif
40364 main ()
40366 isnan(0);
40368 return 0;
40370 _ACEOF
40371 if ac_fn_cxx_try_compile "$LINENO"; then :
40372 glibcxx_cv_func_isnan_use=yes
40373 else
40374 glibcxx_cv_func_isnan_use=no
40376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40377 ac_ext=c
40378 ac_cpp='$CPP $CPPFLAGS'
40379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
40388 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
40390 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
40391 for ac_func in isnan
40392 do :
40393 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
40394 if test "x$ac_cv_func_isnan" = x""yes; then :
40395 cat >>confdefs.h <<_ACEOF
40396 #define HAVE_ISNAN 1
40397 _ACEOF
40400 done
40402 else
40404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
40405 $as_echo_n "checking for _isnan declaration... " >&6; }
40406 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
40407 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
40408 $as_echo_n "(cached) " >&6
40409 else
40412 ac_ext=cpp
40413 ac_cpp='$CXXCPP $CPPFLAGS'
40414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40419 /* end confdefs.h. */
40420 #include <math.h>
40421 #ifdef HAVE_IEEEFP_H
40422 #include <ieeefp.h>
40423 #endif
40426 main ()
40428 _isnan(0);
40430 return 0;
40432 _ACEOF
40433 if ac_fn_cxx_try_compile "$LINENO"; then :
40434 glibcxx_cv_func__isnan_use=yes
40435 else
40436 glibcxx_cv_func__isnan_use=no
40438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40439 ac_ext=c
40440 ac_cpp='$CPP $CPPFLAGS'
40441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
40450 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
40452 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
40453 for ac_func in _isnan
40454 do :
40455 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
40456 if test "x$ac_cv_func__isnan" = x""yes; then :
40457 cat >>confdefs.h <<_ACEOF
40458 #define HAVE__ISNAN 1
40459 _ACEOF
40462 done
40471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
40472 $as_echo_n "checking for finite declaration... " >&6; }
40473 if test x${glibcxx_cv_func_finite_use+set} != xset; then
40474 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
40475 $as_echo_n "(cached) " >&6
40476 else
40479 ac_ext=cpp
40480 ac_cpp='$CXXCPP $CPPFLAGS'
40481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40486 /* end confdefs.h. */
40487 #include <math.h>
40488 #ifdef HAVE_IEEEFP_H
40489 #include <ieeefp.h>
40490 #endif
40493 main ()
40495 finite(0);
40497 return 0;
40499 _ACEOF
40500 if ac_fn_cxx_try_compile "$LINENO"; then :
40501 glibcxx_cv_func_finite_use=yes
40502 else
40503 glibcxx_cv_func_finite_use=no
40505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40506 ac_ext=c
40507 ac_cpp='$CPP $CPPFLAGS'
40508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
40517 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
40519 if test x$glibcxx_cv_func_finite_use = x"yes"; then
40520 for ac_func in finite
40521 do :
40522 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
40523 if test "x$ac_cv_func_finite" = x""yes; then :
40524 cat >>confdefs.h <<_ACEOF
40525 #define HAVE_FINITE 1
40526 _ACEOF
40529 done
40531 else
40533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
40534 $as_echo_n "checking for _finite declaration... " >&6; }
40535 if test x${glibcxx_cv_func__finite_use+set} != xset; then
40536 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
40537 $as_echo_n "(cached) " >&6
40538 else
40541 ac_ext=cpp
40542 ac_cpp='$CXXCPP $CPPFLAGS'
40543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40548 /* end confdefs.h. */
40549 #include <math.h>
40550 #ifdef HAVE_IEEEFP_H
40551 #include <ieeefp.h>
40552 #endif
40555 main ()
40557 _finite(0);
40559 return 0;
40561 _ACEOF
40562 if ac_fn_cxx_try_compile "$LINENO"; then :
40563 glibcxx_cv_func__finite_use=yes
40564 else
40565 glibcxx_cv_func__finite_use=no
40567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40568 ac_ext=c
40569 ac_cpp='$CPP $CPPFLAGS'
40570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
40579 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
40581 if test x$glibcxx_cv_func__finite_use = x"yes"; then
40582 for ac_func in _finite
40583 do :
40584 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
40585 if test "x$ac_cv_func__finite" = x""yes; then :
40586 cat >>confdefs.h <<_ACEOF
40587 #define HAVE__FINITE 1
40588 _ACEOF
40591 done
40600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
40601 $as_echo_n "checking for sincos declaration... " >&6; }
40602 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
40603 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
40604 $as_echo_n "(cached) " >&6
40605 else
40608 ac_ext=cpp
40609 ac_cpp='$CXXCPP $CPPFLAGS'
40610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40615 /* end confdefs.h. */
40616 #include <math.h>
40618 main ()
40620 sincos(0, 0, 0);
40622 return 0;
40624 _ACEOF
40625 if ac_fn_cxx_try_compile "$LINENO"; then :
40626 glibcxx_cv_func_sincos_use=yes
40627 else
40628 glibcxx_cv_func_sincos_use=no
40630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40631 ac_ext=c
40632 ac_cpp='$CPP $CPPFLAGS'
40633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
40642 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
40644 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
40645 for ac_func in sincos
40646 do :
40647 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
40648 if test "x$ac_cv_func_sincos" = x""yes; then :
40649 cat >>confdefs.h <<_ACEOF
40650 #define HAVE_SINCOS 1
40651 _ACEOF
40654 done
40656 else
40658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
40659 $as_echo_n "checking for _sincos declaration... " >&6; }
40660 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
40661 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
40662 $as_echo_n "(cached) " >&6
40663 else
40666 ac_ext=cpp
40667 ac_cpp='$CXXCPP $CPPFLAGS'
40668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40673 /* end confdefs.h. */
40674 #include <math.h>
40676 main ()
40678 _sincos(0, 0, 0);
40680 return 0;
40682 _ACEOF
40683 if ac_fn_cxx_try_compile "$LINENO"; then :
40684 glibcxx_cv_func__sincos_use=yes
40685 else
40686 glibcxx_cv_func__sincos_use=no
40688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40689 ac_ext=c
40690 ac_cpp='$CPP $CPPFLAGS'
40691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
40700 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
40702 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
40703 for ac_func in _sincos
40704 do :
40705 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
40706 if test "x$ac_cv_func__sincos" = x""yes; then :
40707 cat >>confdefs.h <<_ACEOF
40708 #define HAVE__SINCOS 1
40709 _ACEOF
40712 done
40721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
40722 $as_echo_n "checking for fpclass declaration... " >&6; }
40723 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
40724 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
40725 $as_echo_n "(cached) " >&6
40726 else
40729 ac_ext=cpp
40730 ac_cpp='$CXXCPP $CPPFLAGS'
40731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40736 /* end confdefs.h. */
40737 #include <math.h>
40738 #ifdef HAVE_IEEEFP_H
40739 #include <ieeefp.h>
40740 #endif
40743 main ()
40745 fpclass(0);
40747 return 0;
40749 _ACEOF
40750 if ac_fn_cxx_try_compile "$LINENO"; then :
40751 glibcxx_cv_func_fpclass_use=yes
40752 else
40753 glibcxx_cv_func_fpclass_use=no
40755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40756 ac_ext=c
40757 ac_cpp='$CPP $CPPFLAGS'
40758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
40767 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
40769 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
40770 for ac_func in fpclass
40771 do :
40772 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
40773 if test "x$ac_cv_func_fpclass" = x""yes; then :
40774 cat >>confdefs.h <<_ACEOF
40775 #define HAVE_FPCLASS 1
40776 _ACEOF
40779 done
40781 else
40783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
40784 $as_echo_n "checking for _fpclass declaration... " >&6; }
40785 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
40786 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
40787 $as_echo_n "(cached) " >&6
40788 else
40791 ac_ext=cpp
40792 ac_cpp='$CXXCPP $CPPFLAGS'
40793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40798 /* end confdefs.h. */
40799 #include <math.h>
40800 #ifdef HAVE_IEEEFP_H
40801 #include <ieeefp.h>
40802 #endif
40805 main ()
40807 _fpclass(0);
40809 return 0;
40811 _ACEOF
40812 if ac_fn_cxx_try_compile "$LINENO"; then :
40813 glibcxx_cv_func__fpclass_use=yes
40814 else
40815 glibcxx_cv_func__fpclass_use=no
40817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40818 ac_ext=c
40819 ac_cpp='$CPP $CPPFLAGS'
40820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
40829 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
40831 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
40832 for ac_func in _fpclass
40833 do :
40834 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
40835 if test "x$ac_cv_func__fpclass" = x""yes; then :
40836 cat >>confdefs.h <<_ACEOF
40837 #define HAVE__FPCLASS 1
40838 _ACEOF
40841 done
40850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
40851 $as_echo_n "checking for qfpclass declaration... " >&6; }
40852 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
40853 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
40854 $as_echo_n "(cached) " >&6
40855 else
40858 ac_ext=cpp
40859 ac_cpp='$CXXCPP $CPPFLAGS'
40860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40865 /* end confdefs.h. */
40866 #include <math.h>
40867 #ifdef HAVE_IEEEFP_H
40868 #include <ieeefp.h>
40869 #endif
40872 main ()
40874 qfpclass(0);
40876 return 0;
40878 _ACEOF
40879 if ac_fn_cxx_try_compile "$LINENO"; then :
40880 glibcxx_cv_func_qfpclass_use=yes
40881 else
40882 glibcxx_cv_func_qfpclass_use=no
40884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40885 ac_ext=c
40886 ac_cpp='$CPP $CPPFLAGS'
40887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
40896 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
40898 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
40899 for ac_func in qfpclass
40900 do :
40901 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
40902 if test "x$ac_cv_func_qfpclass" = x""yes; then :
40903 cat >>confdefs.h <<_ACEOF
40904 #define HAVE_QFPCLASS 1
40905 _ACEOF
40908 done
40910 else
40912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
40913 $as_echo_n "checking for _qfpclass declaration... " >&6; }
40914 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
40915 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
40916 $as_echo_n "(cached) " >&6
40917 else
40920 ac_ext=cpp
40921 ac_cpp='$CXXCPP $CPPFLAGS'
40922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40927 /* end confdefs.h. */
40928 #include <math.h>
40929 #ifdef HAVE_IEEEFP_H
40930 #include <ieeefp.h>
40931 #endif
40934 main ()
40936 _qfpclass(0);
40938 return 0;
40940 _ACEOF
40941 if ac_fn_cxx_try_compile "$LINENO"; then :
40942 glibcxx_cv_func__qfpclass_use=yes
40943 else
40944 glibcxx_cv_func__qfpclass_use=no
40946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40947 ac_ext=c
40948 ac_cpp='$CPP $CPPFLAGS'
40949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
40958 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
40960 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
40961 for ac_func in _qfpclass
40962 do :
40963 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
40964 if test "x$ac_cv_func__qfpclass" = x""yes; then :
40965 cat >>confdefs.h <<_ACEOF
40966 #define HAVE__QFPCLASS 1
40967 _ACEOF
40970 done
40979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
40980 $as_echo_n "checking for hypot declaration... " >&6; }
40981 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
40982 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
40983 $as_echo_n "(cached) " >&6
40984 else
40987 ac_ext=cpp
40988 ac_cpp='$CXXCPP $CPPFLAGS'
40989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40994 /* end confdefs.h. */
40995 #include <math.h>
40997 main ()
40999 hypot(0, 0);
41001 return 0;
41003 _ACEOF
41004 if ac_fn_cxx_try_compile "$LINENO"; then :
41005 glibcxx_cv_func_hypot_use=yes
41006 else
41007 glibcxx_cv_func_hypot_use=no
41009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41010 ac_ext=c
41011 ac_cpp='$CPP $CPPFLAGS'
41012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
41021 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
41023 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
41024 for ac_func in hypot
41025 do :
41026 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
41027 if test "x$ac_cv_func_hypot" = x""yes; then :
41028 cat >>confdefs.h <<_ACEOF
41029 #define HAVE_HYPOT 1
41030 _ACEOF
41033 done
41035 else
41037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
41038 $as_echo_n "checking for _hypot declaration... " >&6; }
41039 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
41040 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
41041 $as_echo_n "(cached) " >&6
41042 else
41045 ac_ext=cpp
41046 ac_cpp='$CXXCPP $CPPFLAGS'
41047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41052 /* end confdefs.h. */
41053 #include <math.h>
41055 main ()
41057 _hypot(0, 0);
41059 return 0;
41061 _ACEOF
41062 if ac_fn_cxx_try_compile "$LINENO"; then :
41063 glibcxx_cv_func__hypot_use=yes
41064 else
41065 glibcxx_cv_func__hypot_use=no
41067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41068 ac_ext=c
41069 ac_cpp='$CPP $CPPFLAGS'
41070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
41079 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
41081 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
41082 for ac_func in _hypot
41083 do :
41084 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
41085 if test "x$ac_cv_func__hypot" = x""yes; then :
41086 cat >>confdefs.h <<_ACEOF
41087 #define HAVE__HYPOT 1
41088 _ACEOF
41091 done
41100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
41101 $as_echo_n "checking for float trig functions... " >&6; }
41102 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
41103 $as_echo_n "(cached) " >&6
41104 else
41107 ac_ext=cpp
41108 ac_cpp='$CXXCPP $CPPFLAGS'
41109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41114 /* end confdefs.h. */
41115 #include <math.h>
41117 main ()
41119 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
41121 return 0;
41123 _ACEOF
41124 if ac_fn_cxx_try_compile "$LINENO"; then :
41125 glibcxx_cv_func_float_trig_use=yes
41126 else
41127 glibcxx_cv_func_float_trig_use=no
41129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41130 ac_ext=c
41131 ac_cpp='$CPP $CPPFLAGS'
41132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
41139 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
41140 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
41141 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
41142 do :
41143 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41144 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41145 eval as_val=\$$as_ac_var
41146 if test "x$as_val" = x""yes; then :
41147 cat >>confdefs.h <<_ACEOF
41148 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41149 _ACEOF
41152 done
41154 else
41155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
41156 $as_echo_n "checking for _float trig functions... " >&6; }
41157 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
41158 $as_echo_n "(cached) " >&6
41159 else
41162 ac_ext=cpp
41163 ac_cpp='$CXXCPP $CPPFLAGS'
41164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41169 /* end confdefs.h. */
41170 #include <math.h>
41172 main ()
41174 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
41176 return 0;
41178 _ACEOF
41179 if ac_fn_cxx_try_compile "$LINENO"; then :
41180 glibcxx_cv_func__float_trig_use=yes
41181 else
41182 glibcxx_cv_func__float_trig_use=no
41184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41185 ac_ext=c
41186 ac_cpp='$CPP $CPPFLAGS'
41187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
41194 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
41195 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
41196 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
41197 do :
41198 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41199 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41200 eval as_val=\$$as_ac_var
41201 if test "x$as_val" = x""yes; then :
41202 cat >>confdefs.h <<_ACEOF
41203 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41204 _ACEOF
41207 done
41216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
41217 $as_echo_n "checking for float round functions... " >&6; }
41218 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
41219 $as_echo_n "(cached) " >&6
41220 else
41223 ac_ext=cpp
41224 ac_cpp='$CXXCPP $CPPFLAGS'
41225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41230 /* end confdefs.h. */
41231 #include <math.h>
41233 main ()
41235 ceilf (0); floorf (0);
41237 return 0;
41239 _ACEOF
41240 if ac_fn_cxx_try_compile "$LINENO"; then :
41241 glibcxx_cv_func_float_round_use=yes
41242 else
41243 glibcxx_cv_func_float_round_use=no
41245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41246 ac_ext=c
41247 ac_cpp='$CPP $CPPFLAGS'
41248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
41255 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
41256 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
41257 for ac_func in ceilf floorf
41258 do :
41259 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41260 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41261 eval as_val=\$$as_ac_var
41262 if test "x$as_val" = x""yes; then :
41263 cat >>confdefs.h <<_ACEOF
41264 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41265 _ACEOF
41268 done
41270 else
41271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
41272 $as_echo_n "checking for _float round functions... " >&6; }
41273 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
41274 $as_echo_n "(cached) " >&6
41275 else
41278 ac_ext=cpp
41279 ac_cpp='$CXXCPP $CPPFLAGS'
41280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41285 /* end confdefs.h. */
41286 #include <math.h>
41288 main ()
41290 _ceilf (0); _floorf (0);
41292 return 0;
41294 _ACEOF
41295 if ac_fn_cxx_try_compile "$LINENO"; then :
41296 glibcxx_cv_func__float_round_use=yes
41297 else
41298 glibcxx_cv_func__float_round_use=no
41300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41301 ac_ext=c
41302 ac_cpp='$CPP $CPPFLAGS'
41303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
41310 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
41311 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
41312 for ac_func in _ceilf _floorf
41313 do :
41314 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41315 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41316 eval as_val=\$$as_ac_var
41317 if test "x$as_val" = x""yes; then :
41318 cat >>confdefs.h <<_ACEOF
41319 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41320 _ACEOF
41323 done
41333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
41334 $as_echo_n "checking for expf declaration... " >&6; }
41335 if test x${glibcxx_cv_func_expf_use+set} != xset; then
41336 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
41337 $as_echo_n "(cached) " >&6
41338 else
41341 ac_ext=cpp
41342 ac_cpp='$CXXCPP $CPPFLAGS'
41343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41348 /* end confdefs.h. */
41349 #include <math.h>
41350 #ifdef HAVE_IEEEFP_H
41351 #include <ieeefp.h>
41352 #endif
41355 main ()
41357 expf(0);
41359 return 0;
41361 _ACEOF
41362 if ac_fn_cxx_try_compile "$LINENO"; then :
41363 glibcxx_cv_func_expf_use=yes
41364 else
41365 glibcxx_cv_func_expf_use=no
41367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41368 ac_ext=c
41369 ac_cpp='$CPP $CPPFLAGS'
41370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
41379 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
41381 if test x$glibcxx_cv_func_expf_use = x"yes"; then
41382 for ac_func in expf
41383 do :
41384 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
41385 if test "x$ac_cv_func_expf" = x""yes; then :
41386 cat >>confdefs.h <<_ACEOF
41387 #define HAVE_EXPF 1
41388 _ACEOF
41391 done
41393 else
41395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
41396 $as_echo_n "checking for _expf declaration... " >&6; }
41397 if test x${glibcxx_cv_func__expf_use+set} != xset; then
41398 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
41399 $as_echo_n "(cached) " >&6
41400 else
41403 ac_ext=cpp
41404 ac_cpp='$CXXCPP $CPPFLAGS'
41405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41410 /* end confdefs.h. */
41411 #include <math.h>
41412 #ifdef HAVE_IEEEFP_H
41413 #include <ieeefp.h>
41414 #endif
41417 main ()
41419 _expf(0);
41421 return 0;
41423 _ACEOF
41424 if ac_fn_cxx_try_compile "$LINENO"; then :
41425 glibcxx_cv_func__expf_use=yes
41426 else
41427 glibcxx_cv_func__expf_use=no
41429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41430 ac_ext=c
41431 ac_cpp='$CPP $CPPFLAGS'
41432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
41441 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
41443 if test x$glibcxx_cv_func__expf_use = x"yes"; then
41444 for ac_func in _expf
41445 do :
41446 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
41447 if test "x$ac_cv_func__expf" = x""yes; then :
41448 cat >>confdefs.h <<_ACEOF
41449 #define HAVE__EXPF 1
41450 _ACEOF
41453 done
41462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
41463 $as_echo_n "checking for isnanf declaration... " >&6; }
41464 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
41465 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
41466 $as_echo_n "(cached) " >&6
41467 else
41470 ac_ext=cpp
41471 ac_cpp='$CXXCPP $CPPFLAGS'
41472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41477 /* end confdefs.h. */
41478 #include <math.h>
41479 #ifdef HAVE_IEEEFP_H
41480 #include <ieeefp.h>
41481 #endif
41484 main ()
41486 isnanf(0);
41488 return 0;
41490 _ACEOF
41491 if ac_fn_cxx_try_compile "$LINENO"; then :
41492 glibcxx_cv_func_isnanf_use=yes
41493 else
41494 glibcxx_cv_func_isnanf_use=no
41496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41497 ac_ext=c
41498 ac_cpp='$CPP $CPPFLAGS'
41499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
41508 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
41510 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
41511 for ac_func in isnanf
41512 do :
41513 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
41514 if test "x$ac_cv_func_isnanf" = x""yes; then :
41515 cat >>confdefs.h <<_ACEOF
41516 #define HAVE_ISNANF 1
41517 _ACEOF
41520 done
41522 else
41524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
41525 $as_echo_n "checking for _isnanf declaration... " >&6; }
41526 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
41527 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
41528 $as_echo_n "(cached) " >&6
41529 else
41532 ac_ext=cpp
41533 ac_cpp='$CXXCPP $CPPFLAGS'
41534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41539 /* end confdefs.h. */
41540 #include <math.h>
41541 #ifdef HAVE_IEEEFP_H
41542 #include <ieeefp.h>
41543 #endif
41546 main ()
41548 _isnanf(0);
41550 return 0;
41552 _ACEOF
41553 if ac_fn_cxx_try_compile "$LINENO"; then :
41554 glibcxx_cv_func__isnanf_use=yes
41555 else
41556 glibcxx_cv_func__isnanf_use=no
41558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41559 ac_ext=c
41560 ac_cpp='$CPP $CPPFLAGS'
41561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
41570 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
41572 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
41573 for ac_func in _isnanf
41574 do :
41575 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
41576 if test "x$ac_cv_func__isnanf" = x""yes; then :
41577 cat >>confdefs.h <<_ACEOF
41578 #define HAVE__ISNANF 1
41579 _ACEOF
41582 done
41591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
41592 $as_echo_n "checking for isinff declaration... " >&6; }
41593 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
41594 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
41595 $as_echo_n "(cached) " >&6
41596 else
41599 ac_ext=cpp
41600 ac_cpp='$CXXCPP $CPPFLAGS'
41601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41606 /* end confdefs.h. */
41607 #include <math.h>
41608 #ifdef HAVE_IEEEFP_H
41609 #include <ieeefp.h>
41610 #endif
41613 main ()
41615 isinff(0);
41617 return 0;
41619 _ACEOF
41620 if ac_fn_cxx_try_compile "$LINENO"; then :
41621 glibcxx_cv_func_isinff_use=yes
41622 else
41623 glibcxx_cv_func_isinff_use=no
41625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41626 ac_ext=c
41627 ac_cpp='$CPP $CPPFLAGS'
41628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
41637 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
41639 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
41640 for ac_func in isinff
41641 do :
41642 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
41643 if test "x$ac_cv_func_isinff" = x""yes; then :
41644 cat >>confdefs.h <<_ACEOF
41645 #define HAVE_ISINFF 1
41646 _ACEOF
41649 done
41651 else
41653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
41654 $as_echo_n "checking for _isinff declaration... " >&6; }
41655 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
41656 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
41657 $as_echo_n "(cached) " >&6
41658 else
41661 ac_ext=cpp
41662 ac_cpp='$CXXCPP $CPPFLAGS'
41663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41668 /* end confdefs.h. */
41669 #include <math.h>
41670 #ifdef HAVE_IEEEFP_H
41671 #include <ieeefp.h>
41672 #endif
41675 main ()
41677 _isinff(0);
41679 return 0;
41681 _ACEOF
41682 if ac_fn_cxx_try_compile "$LINENO"; then :
41683 glibcxx_cv_func__isinff_use=yes
41684 else
41685 glibcxx_cv_func__isinff_use=no
41687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41688 ac_ext=c
41689 ac_cpp='$CPP $CPPFLAGS'
41690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
41699 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
41701 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
41702 for ac_func in _isinff
41703 do :
41704 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
41705 if test "x$ac_cv_func__isinff" = x""yes; then :
41706 cat >>confdefs.h <<_ACEOF
41707 #define HAVE__ISINFF 1
41708 _ACEOF
41711 done
41720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
41721 $as_echo_n "checking for atan2f declaration... " >&6; }
41722 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
41723 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
41724 $as_echo_n "(cached) " >&6
41725 else
41728 ac_ext=cpp
41729 ac_cpp='$CXXCPP $CPPFLAGS'
41730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41735 /* end confdefs.h. */
41736 #include <math.h>
41738 main ()
41740 atan2f(0, 0);
41742 return 0;
41744 _ACEOF
41745 if ac_fn_cxx_try_compile "$LINENO"; then :
41746 glibcxx_cv_func_atan2f_use=yes
41747 else
41748 glibcxx_cv_func_atan2f_use=no
41750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41751 ac_ext=c
41752 ac_cpp='$CPP $CPPFLAGS'
41753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
41762 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
41764 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
41765 for ac_func in atan2f
41766 do :
41767 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
41768 if test "x$ac_cv_func_atan2f" = x""yes; then :
41769 cat >>confdefs.h <<_ACEOF
41770 #define HAVE_ATAN2F 1
41771 _ACEOF
41774 done
41776 else
41778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
41779 $as_echo_n "checking for _atan2f declaration... " >&6; }
41780 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
41781 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
41782 $as_echo_n "(cached) " >&6
41783 else
41786 ac_ext=cpp
41787 ac_cpp='$CXXCPP $CPPFLAGS'
41788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41793 /* end confdefs.h. */
41794 #include <math.h>
41796 main ()
41798 _atan2f(0, 0);
41800 return 0;
41802 _ACEOF
41803 if ac_fn_cxx_try_compile "$LINENO"; then :
41804 glibcxx_cv_func__atan2f_use=yes
41805 else
41806 glibcxx_cv_func__atan2f_use=no
41808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41809 ac_ext=c
41810 ac_cpp='$CPP $CPPFLAGS'
41811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
41820 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
41822 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
41823 for ac_func in _atan2f
41824 do :
41825 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
41826 if test "x$ac_cv_func__atan2f" = x""yes; then :
41827 cat >>confdefs.h <<_ACEOF
41828 #define HAVE__ATAN2F 1
41829 _ACEOF
41832 done
41841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
41842 $as_echo_n "checking for fabsf declaration... " >&6; }
41843 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
41844 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
41845 $as_echo_n "(cached) " >&6
41846 else
41849 ac_ext=cpp
41850 ac_cpp='$CXXCPP $CPPFLAGS'
41851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41856 /* end confdefs.h. */
41857 #include <math.h>
41858 #ifdef HAVE_IEEEFP_H
41859 #include <ieeefp.h>
41860 #endif
41863 main ()
41865 fabsf(0);
41867 return 0;
41869 _ACEOF
41870 if ac_fn_cxx_try_compile "$LINENO"; then :
41871 glibcxx_cv_func_fabsf_use=yes
41872 else
41873 glibcxx_cv_func_fabsf_use=no
41875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41876 ac_ext=c
41877 ac_cpp='$CPP $CPPFLAGS'
41878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
41887 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
41889 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
41890 for ac_func in fabsf
41891 do :
41892 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
41893 if test "x$ac_cv_func_fabsf" = x""yes; then :
41894 cat >>confdefs.h <<_ACEOF
41895 #define HAVE_FABSF 1
41896 _ACEOF
41899 done
41901 else
41903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
41904 $as_echo_n "checking for _fabsf declaration... " >&6; }
41905 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
41906 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
41907 $as_echo_n "(cached) " >&6
41908 else
41911 ac_ext=cpp
41912 ac_cpp='$CXXCPP $CPPFLAGS'
41913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41918 /* end confdefs.h. */
41919 #include <math.h>
41920 #ifdef HAVE_IEEEFP_H
41921 #include <ieeefp.h>
41922 #endif
41925 main ()
41927 _fabsf(0);
41929 return 0;
41931 _ACEOF
41932 if ac_fn_cxx_try_compile "$LINENO"; then :
41933 glibcxx_cv_func__fabsf_use=yes
41934 else
41935 glibcxx_cv_func__fabsf_use=no
41937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41938 ac_ext=c
41939 ac_cpp='$CPP $CPPFLAGS'
41940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
41949 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
41951 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
41952 for ac_func in _fabsf
41953 do :
41954 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
41955 if test "x$ac_cv_func__fabsf" = x""yes; then :
41956 cat >>confdefs.h <<_ACEOF
41957 #define HAVE__FABSF 1
41958 _ACEOF
41961 done
41970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
41971 $as_echo_n "checking for fmodf declaration... " >&6; }
41972 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
41973 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
41974 $as_echo_n "(cached) " >&6
41975 else
41978 ac_ext=cpp
41979 ac_cpp='$CXXCPP $CPPFLAGS'
41980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41985 /* end confdefs.h. */
41986 #include <math.h>
41988 main ()
41990 fmodf(0, 0);
41992 return 0;
41994 _ACEOF
41995 if ac_fn_cxx_try_compile "$LINENO"; then :
41996 glibcxx_cv_func_fmodf_use=yes
41997 else
41998 glibcxx_cv_func_fmodf_use=no
42000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42001 ac_ext=c
42002 ac_cpp='$CPP $CPPFLAGS'
42003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
42012 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
42014 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
42015 for ac_func in fmodf
42016 do :
42017 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
42018 if test "x$ac_cv_func_fmodf" = x""yes; then :
42019 cat >>confdefs.h <<_ACEOF
42020 #define HAVE_FMODF 1
42021 _ACEOF
42024 done
42026 else
42028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
42029 $as_echo_n "checking for _fmodf declaration... " >&6; }
42030 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
42031 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
42032 $as_echo_n "(cached) " >&6
42033 else
42036 ac_ext=cpp
42037 ac_cpp='$CXXCPP $CPPFLAGS'
42038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42043 /* end confdefs.h. */
42044 #include <math.h>
42046 main ()
42048 _fmodf(0, 0);
42050 return 0;
42052 _ACEOF
42053 if ac_fn_cxx_try_compile "$LINENO"; then :
42054 glibcxx_cv_func__fmodf_use=yes
42055 else
42056 glibcxx_cv_func__fmodf_use=no
42058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42059 ac_ext=c
42060 ac_cpp='$CPP $CPPFLAGS'
42061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
42070 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
42072 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
42073 for ac_func in _fmodf
42074 do :
42075 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
42076 if test "x$ac_cv_func__fmodf" = x""yes; then :
42077 cat >>confdefs.h <<_ACEOF
42078 #define HAVE__FMODF 1
42079 _ACEOF
42082 done
42091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
42092 $as_echo_n "checking for frexpf declaration... " >&6; }
42093 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
42094 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
42095 $as_echo_n "(cached) " >&6
42096 else
42099 ac_ext=cpp
42100 ac_cpp='$CXXCPP $CPPFLAGS'
42101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42106 /* end confdefs.h. */
42107 #include <math.h>
42109 main ()
42111 frexpf(0, 0);
42113 return 0;
42115 _ACEOF
42116 if ac_fn_cxx_try_compile "$LINENO"; then :
42117 glibcxx_cv_func_frexpf_use=yes
42118 else
42119 glibcxx_cv_func_frexpf_use=no
42121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42122 ac_ext=c
42123 ac_cpp='$CPP $CPPFLAGS'
42124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
42133 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
42135 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
42136 for ac_func in frexpf
42137 do :
42138 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
42139 if test "x$ac_cv_func_frexpf" = x""yes; then :
42140 cat >>confdefs.h <<_ACEOF
42141 #define HAVE_FREXPF 1
42142 _ACEOF
42145 done
42147 else
42149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
42150 $as_echo_n "checking for _frexpf declaration... " >&6; }
42151 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
42152 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
42153 $as_echo_n "(cached) " >&6
42154 else
42157 ac_ext=cpp
42158 ac_cpp='$CXXCPP $CPPFLAGS'
42159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42164 /* end confdefs.h. */
42165 #include <math.h>
42167 main ()
42169 _frexpf(0, 0);
42171 return 0;
42173 _ACEOF
42174 if ac_fn_cxx_try_compile "$LINENO"; then :
42175 glibcxx_cv_func__frexpf_use=yes
42176 else
42177 glibcxx_cv_func__frexpf_use=no
42179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42180 ac_ext=c
42181 ac_cpp='$CPP $CPPFLAGS'
42182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
42191 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
42193 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
42194 for ac_func in _frexpf
42195 do :
42196 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
42197 if test "x$ac_cv_func__frexpf" = x""yes; then :
42198 cat >>confdefs.h <<_ACEOF
42199 #define HAVE__FREXPF 1
42200 _ACEOF
42203 done
42212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
42213 $as_echo_n "checking for hypotf declaration... " >&6; }
42214 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
42215 if test "${glibcxx_cv_func_hypotf_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 hypotf(0, 0);
42234 return 0;
42236 _ACEOF
42237 if ac_fn_cxx_try_compile "$LINENO"; then :
42238 glibcxx_cv_func_hypotf_use=yes
42239 else
42240 glibcxx_cv_func_hypotf_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
42253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
42254 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
42256 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
42257 for ac_func in hypotf
42258 do :
42259 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
42260 if test "x$ac_cv_func_hypotf" = x""yes; then :
42261 cat >>confdefs.h <<_ACEOF
42262 #define HAVE_HYPOTF 1
42263 _ACEOF
42266 done
42268 else
42270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
42271 $as_echo_n "checking for _hypotf declaration... " >&6; }
42272 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
42273 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
42274 $as_echo_n "(cached) " >&6
42275 else
42278 ac_ext=cpp
42279 ac_cpp='$CXXCPP $CPPFLAGS'
42280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42285 /* end confdefs.h. */
42286 #include <math.h>
42288 main ()
42290 _hypotf(0, 0);
42292 return 0;
42294 _ACEOF
42295 if ac_fn_cxx_try_compile "$LINENO"; then :
42296 glibcxx_cv_func__hypotf_use=yes
42297 else
42298 glibcxx_cv_func__hypotf_use=no
42300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42301 ac_ext=c
42302 ac_cpp='$CPP $CPPFLAGS'
42303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
42312 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
42314 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
42315 for ac_func in _hypotf
42316 do :
42317 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
42318 if test "x$ac_cv_func__hypotf" = x""yes; then :
42319 cat >>confdefs.h <<_ACEOF
42320 #define HAVE__HYPOTF 1
42321 _ACEOF
42324 done
42333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
42334 $as_echo_n "checking for ldexpf declaration... " >&6; }
42335 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
42336 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
42337 $as_echo_n "(cached) " >&6
42338 else
42341 ac_ext=cpp
42342 ac_cpp='$CXXCPP $CPPFLAGS'
42343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42348 /* end confdefs.h. */
42349 #include <math.h>
42351 main ()
42353 ldexpf(0, 0);
42355 return 0;
42357 _ACEOF
42358 if ac_fn_cxx_try_compile "$LINENO"; then :
42359 glibcxx_cv_func_ldexpf_use=yes
42360 else
42361 glibcxx_cv_func_ldexpf_use=no
42363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42364 ac_ext=c
42365 ac_cpp='$CPP $CPPFLAGS'
42366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
42375 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
42377 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
42378 for ac_func in ldexpf
42379 do :
42380 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
42381 if test "x$ac_cv_func_ldexpf" = x""yes; then :
42382 cat >>confdefs.h <<_ACEOF
42383 #define HAVE_LDEXPF 1
42384 _ACEOF
42387 done
42389 else
42391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
42392 $as_echo_n "checking for _ldexpf declaration... " >&6; }
42393 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
42394 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
42395 $as_echo_n "(cached) " >&6
42396 else
42399 ac_ext=cpp
42400 ac_cpp='$CXXCPP $CPPFLAGS'
42401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42406 /* end confdefs.h. */
42407 #include <math.h>
42409 main ()
42411 _ldexpf(0, 0);
42413 return 0;
42415 _ACEOF
42416 if ac_fn_cxx_try_compile "$LINENO"; then :
42417 glibcxx_cv_func__ldexpf_use=yes
42418 else
42419 glibcxx_cv_func__ldexpf_use=no
42421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42422 ac_ext=c
42423 ac_cpp='$CPP $CPPFLAGS'
42424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
42433 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
42435 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
42436 for ac_func in _ldexpf
42437 do :
42438 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
42439 if test "x$ac_cv_func__ldexpf" = x""yes; then :
42440 cat >>confdefs.h <<_ACEOF
42441 #define HAVE__LDEXPF 1
42442 _ACEOF
42445 done
42454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
42455 $as_echo_n "checking for logf declaration... " >&6; }
42456 if test x${glibcxx_cv_func_logf_use+set} != xset; then
42457 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
42458 $as_echo_n "(cached) " >&6
42459 else
42462 ac_ext=cpp
42463 ac_cpp='$CXXCPP $CPPFLAGS'
42464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42469 /* end confdefs.h. */
42470 #include <math.h>
42471 #ifdef HAVE_IEEEFP_H
42472 #include <ieeefp.h>
42473 #endif
42476 main ()
42478 logf(0);
42480 return 0;
42482 _ACEOF
42483 if ac_fn_cxx_try_compile "$LINENO"; then :
42484 glibcxx_cv_func_logf_use=yes
42485 else
42486 glibcxx_cv_func_logf_use=no
42488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42489 ac_ext=c
42490 ac_cpp='$CPP $CPPFLAGS'
42491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
42500 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
42502 if test x$glibcxx_cv_func_logf_use = x"yes"; then
42503 for ac_func in logf
42504 do :
42505 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
42506 if test "x$ac_cv_func_logf" = x""yes; then :
42507 cat >>confdefs.h <<_ACEOF
42508 #define HAVE_LOGF 1
42509 _ACEOF
42512 done
42514 else
42516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
42517 $as_echo_n "checking for _logf declaration... " >&6; }
42518 if test x${glibcxx_cv_func__logf_use+set} != xset; then
42519 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
42520 $as_echo_n "(cached) " >&6
42521 else
42524 ac_ext=cpp
42525 ac_cpp='$CXXCPP $CPPFLAGS'
42526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42531 /* end confdefs.h. */
42532 #include <math.h>
42533 #ifdef HAVE_IEEEFP_H
42534 #include <ieeefp.h>
42535 #endif
42538 main ()
42540 _logf(0);
42542 return 0;
42544 _ACEOF
42545 if ac_fn_cxx_try_compile "$LINENO"; then :
42546 glibcxx_cv_func__logf_use=yes
42547 else
42548 glibcxx_cv_func__logf_use=no
42550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42551 ac_ext=c
42552 ac_cpp='$CPP $CPPFLAGS'
42553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
42562 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
42564 if test x$glibcxx_cv_func__logf_use = x"yes"; then
42565 for ac_func in _logf
42566 do :
42567 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
42568 if test "x$ac_cv_func__logf" = x""yes; then :
42569 cat >>confdefs.h <<_ACEOF
42570 #define HAVE__LOGF 1
42571 _ACEOF
42574 done
42583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
42584 $as_echo_n "checking for log10f declaration... " >&6; }
42585 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
42586 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
42587 $as_echo_n "(cached) " >&6
42588 else
42591 ac_ext=cpp
42592 ac_cpp='$CXXCPP $CPPFLAGS'
42593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42598 /* end confdefs.h. */
42599 #include <math.h>
42600 #ifdef HAVE_IEEEFP_H
42601 #include <ieeefp.h>
42602 #endif
42605 main ()
42607 log10f(0);
42609 return 0;
42611 _ACEOF
42612 if ac_fn_cxx_try_compile "$LINENO"; then :
42613 glibcxx_cv_func_log10f_use=yes
42614 else
42615 glibcxx_cv_func_log10f_use=no
42617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42618 ac_ext=c
42619 ac_cpp='$CPP $CPPFLAGS'
42620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
42629 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
42631 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
42632 for ac_func in log10f
42633 do :
42634 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
42635 if test "x$ac_cv_func_log10f" = x""yes; then :
42636 cat >>confdefs.h <<_ACEOF
42637 #define HAVE_LOG10F 1
42638 _ACEOF
42641 done
42643 else
42645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
42646 $as_echo_n "checking for _log10f declaration... " >&6; }
42647 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
42648 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
42649 $as_echo_n "(cached) " >&6
42650 else
42653 ac_ext=cpp
42654 ac_cpp='$CXXCPP $CPPFLAGS'
42655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42660 /* end confdefs.h. */
42661 #include <math.h>
42662 #ifdef HAVE_IEEEFP_H
42663 #include <ieeefp.h>
42664 #endif
42667 main ()
42669 _log10f(0);
42671 return 0;
42673 _ACEOF
42674 if ac_fn_cxx_try_compile "$LINENO"; then :
42675 glibcxx_cv_func__log10f_use=yes
42676 else
42677 glibcxx_cv_func__log10f_use=no
42679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42680 ac_ext=c
42681 ac_cpp='$CPP $CPPFLAGS'
42682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
42691 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
42693 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
42694 for ac_func in _log10f
42695 do :
42696 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
42697 if test "x$ac_cv_func__log10f" = x""yes; then :
42698 cat >>confdefs.h <<_ACEOF
42699 #define HAVE__LOG10F 1
42700 _ACEOF
42703 done
42712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
42713 $as_echo_n "checking for modff declaration... " >&6; }
42714 if test x${glibcxx_cv_func_modff_use+set} != xset; then
42715 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
42716 $as_echo_n "(cached) " >&6
42717 else
42720 ac_ext=cpp
42721 ac_cpp='$CXXCPP $CPPFLAGS'
42722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42727 /* end confdefs.h. */
42728 #include <math.h>
42730 main ()
42732 modff(0, 0);
42734 return 0;
42736 _ACEOF
42737 if ac_fn_cxx_try_compile "$LINENO"; then :
42738 glibcxx_cv_func_modff_use=yes
42739 else
42740 glibcxx_cv_func_modff_use=no
42742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42743 ac_ext=c
42744 ac_cpp='$CPP $CPPFLAGS'
42745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
42754 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
42756 if test x$glibcxx_cv_func_modff_use = x"yes"; then
42757 for ac_func in modff
42758 do :
42759 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
42760 if test "x$ac_cv_func_modff" = x""yes; then :
42761 cat >>confdefs.h <<_ACEOF
42762 #define HAVE_MODFF 1
42763 _ACEOF
42766 done
42768 else
42770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
42771 $as_echo_n "checking for _modff declaration... " >&6; }
42772 if test x${glibcxx_cv_func__modff_use+set} != xset; then
42773 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
42774 $as_echo_n "(cached) " >&6
42775 else
42778 ac_ext=cpp
42779 ac_cpp='$CXXCPP $CPPFLAGS'
42780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42785 /* end confdefs.h. */
42786 #include <math.h>
42788 main ()
42790 _modff(0, 0);
42792 return 0;
42794 _ACEOF
42795 if ac_fn_cxx_try_compile "$LINENO"; then :
42796 glibcxx_cv_func__modff_use=yes
42797 else
42798 glibcxx_cv_func__modff_use=no
42800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42801 ac_ext=c
42802 ac_cpp='$CPP $CPPFLAGS'
42803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
42812 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
42814 if test x$glibcxx_cv_func__modff_use = x"yes"; then
42815 for ac_func in _modff
42816 do :
42817 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
42818 if test "x$ac_cv_func__modff" = x""yes; then :
42819 cat >>confdefs.h <<_ACEOF
42820 #define HAVE__MODFF 1
42821 _ACEOF
42824 done
42833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
42834 $as_echo_n "checking for modf declaration... " >&6; }
42835 if test x${glibcxx_cv_func_modf_use+set} != xset; then
42836 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
42837 $as_echo_n "(cached) " >&6
42838 else
42841 ac_ext=cpp
42842 ac_cpp='$CXXCPP $CPPFLAGS'
42843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42848 /* end confdefs.h. */
42849 #include <math.h>
42851 main ()
42853 modf(0, 0);
42855 return 0;
42857 _ACEOF
42858 if ac_fn_cxx_try_compile "$LINENO"; then :
42859 glibcxx_cv_func_modf_use=yes
42860 else
42861 glibcxx_cv_func_modf_use=no
42863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42864 ac_ext=c
42865 ac_cpp='$CPP $CPPFLAGS'
42866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
42875 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
42877 if test x$glibcxx_cv_func_modf_use = x"yes"; then
42878 for ac_func in modf
42879 do :
42880 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
42881 if test "x$ac_cv_func_modf" = x""yes; then :
42882 cat >>confdefs.h <<_ACEOF
42883 #define HAVE_MODF 1
42884 _ACEOF
42887 done
42889 else
42891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
42892 $as_echo_n "checking for _modf declaration... " >&6; }
42893 if test x${glibcxx_cv_func__modf_use+set} != xset; then
42894 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
42895 $as_echo_n "(cached) " >&6
42896 else
42899 ac_ext=cpp
42900 ac_cpp='$CXXCPP $CPPFLAGS'
42901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42906 /* end confdefs.h. */
42907 #include <math.h>
42909 main ()
42911 _modf(0, 0);
42913 return 0;
42915 _ACEOF
42916 if ac_fn_cxx_try_compile "$LINENO"; then :
42917 glibcxx_cv_func__modf_use=yes
42918 else
42919 glibcxx_cv_func__modf_use=no
42921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42922 ac_ext=c
42923 ac_cpp='$CPP $CPPFLAGS'
42924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
42933 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
42935 if test x$glibcxx_cv_func__modf_use = x"yes"; then
42936 for ac_func in _modf
42937 do :
42938 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
42939 if test "x$ac_cv_func__modf" = x""yes; then :
42940 cat >>confdefs.h <<_ACEOF
42941 #define HAVE__MODF 1
42942 _ACEOF
42945 done
42954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
42955 $as_echo_n "checking for powf declaration... " >&6; }
42956 if test x${glibcxx_cv_func_powf_use+set} != xset; then
42957 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
42958 $as_echo_n "(cached) " >&6
42959 else
42962 ac_ext=cpp
42963 ac_cpp='$CXXCPP $CPPFLAGS'
42964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42969 /* end confdefs.h. */
42970 #include <math.h>
42972 main ()
42974 powf(0, 0);
42976 return 0;
42978 _ACEOF
42979 if ac_fn_cxx_try_compile "$LINENO"; then :
42980 glibcxx_cv_func_powf_use=yes
42981 else
42982 glibcxx_cv_func_powf_use=no
42984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42985 ac_ext=c
42986 ac_cpp='$CPP $CPPFLAGS'
42987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
42996 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
42998 if test x$glibcxx_cv_func_powf_use = x"yes"; then
42999 for ac_func in powf
43000 do :
43001 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
43002 if test "x$ac_cv_func_powf" = x""yes; then :
43003 cat >>confdefs.h <<_ACEOF
43004 #define HAVE_POWF 1
43005 _ACEOF
43008 done
43010 else
43012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
43013 $as_echo_n "checking for _powf declaration... " >&6; }
43014 if test x${glibcxx_cv_func__powf_use+set} != xset; then
43015 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
43016 $as_echo_n "(cached) " >&6
43017 else
43020 ac_ext=cpp
43021 ac_cpp='$CXXCPP $CPPFLAGS'
43022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43027 /* end confdefs.h. */
43028 #include <math.h>
43030 main ()
43032 _powf(0, 0);
43034 return 0;
43036 _ACEOF
43037 if ac_fn_cxx_try_compile "$LINENO"; then :
43038 glibcxx_cv_func__powf_use=yes
43039 else
43040 glibcxx_cv_func__powf_use=no
43042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43043 ac_ext=c
43044 ac_cpp='$CPP $CPPFLAGS'
43045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
43054 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
43056 if test x$glibcxx_cv_func__powf_use = x"yes"; then
43057 for ac_func in _powf
43058 do :
43059 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
43060 if test "x$ac_cv_func__powf" = x""yes; then :
43061 cat >>confdefs.h <<_ACEOF
43062 #define HAVE__POWF 1
43063 _ACEOF
43066 done
43075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
43076 $as_echo_n "checking for sqrtf declaration... " >&6; }
43077 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
43078 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
43079 $as_echo_n "(cached) " >&6
43080 else
43083 ac_ext=cpp
43084 ac_cpp='$CXXCPP $CPPFLAGS'
43085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43090 /* end confdefs.h. */
43091 #include <math.h>
43092 #ifdef HAVE_IEEEFP_H
43093 #include <ieeefp.h>
43094 #endif
43097 main ()
43099 sqrtf(0);
43101 return 0;
43103 _ACEOF
43104 if ac_fn_cxx_try_compile "$LINENO"; then :
43105 glibcxx_cv_func_sqrtf_use=yes
43106 else
43107 glibcxx_cv_func_sqrtf_use=no
43109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43110 ac_ext=c
43111 ac_cpp='$CPP $CPPFLAGS'
43112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
43121 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
43123 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
43124 for ac_func in sqrtf
43125 do :
43126 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
43127 if test "x$ac_cv_func_sqrtf" = x""yes; then :
43128 cat >>confdefs.h <<_ACEOF
43129 #define HAVE_SQRTF 1
43130 _ACEOF
43133 done
43135 else
43137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
43138 $as_echo_n "checking for _sqrtf declaration... " >&6; }
43139 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
43140 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
43141 $as_echo_n "(cached) " >&6
43142 else
43145 ac_ext=cpp
43146 ac_cpp='$CXXCPP $CPPFLAGS'
43147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43152 /* end confdefs.h. */
43153 #include <math.h>
43154 #ifdef HAVE_IEEEFP_H
43155 #include <ieeefp.h>
43156 #endif
43159 main ()
43161 _sqrtf(0);
43163 return 0;
43165 _ACEOF
43166 if ac_fn_cxx_try_compile "$LINENO"; then :
43167 glibcxx_cv_func__sqrtf_use=yes
43168 else
43169 glibcxx_cv_func__sqrtf_use=no
43171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43172 ac_ext=c
43173 ac_cpp='$CPP $CPPFLAGS'
43174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
43183 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
43185 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
43186 for ac_func in _sqrtf
43187 do :
43188 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
43189 if test "x$ac_cv_func__sqrtf" = x""yes; then :
43190 cat >>confdefs.h <<_ACEOF
43191 #define HAVE__SQRTF 1
43192 _ACEOF
43195 done
43204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
43205 $as_echo_n "checking for sincosf declaration... " >&6; }
43206 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
43207 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
43208 $as_echo_n "(cached) " >&6
43209 else
43212 ac_ext=cpp
43213 ac_cpp='$CXXCPP $CPPFLAGS'
43214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43219 /* end confdefs.h. */
43220 #include <math.h>
43222 main ()
43224 sincosf(0, 0, 0);
43226 return 0;
43228 _ACEOF
43229 if ac_fn_cxx_try_compile "$LINENO"; then :
43230 glibcxx_cv_func_sincosf_use=yes
43231 else
43232 glibcxx_cv_func_sincosf_use=no
43234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43235 ac_ext=c
43236 ac_cpp='$CPP $CPPFLAGS'
43237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
43246 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
43248 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
43249 for ac_func in sincosf
43250 do :
43251 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
43252 if test "x$ac_cv_func_sincosf" = x""yes; then :
43253 cat >>confdefs.h <<_ACEOF
43254 #define HAVE_SINCOSF 1
43255 _ACEOF
43258 done
43260 else
43262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
43263 $as_echo_n "checking for _sincosf declaration... " >&6; }
43264 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
43265 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
43266 $as_echo_n "(cached) " >&6
43267 else
43270 ac_ext=cpp
43271 ac_cpp='$CXXCPP $CPPFLAGS'
43272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43277 /* end confdefs.h. */
43278 #include <math.h>
43280 main ()
43282 _sincosf(0, 0, 0);
43284 return 0;
43286 _ACEOF
43287 if ac_fn_cxx_try_compile "$LINENO"; then :
43288 glibcxx_cv_func__sincosf_use=yes
43289 else
43290 glibcxx_cv_func__sincosf_use=no
43292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43293 ac_ext=c
43294 ac_cpp='$CPP $CPPFLAGS'
43295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
43304 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
43306 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
43307 for ac_func in _sincosf
43308 do :
43309 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
43310 if test "x$ac_cv_func__sincosf" = x""yes; then :
43311 cat >>confdefs.h <<_ACEOF
43312 #define HAVE__SINCOSF 1
43313 _ACEOF
43316 done
43325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
43326 $as_echo_n "checking for finitef declaration... " >&6; }
43327 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
43328 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
43329 $as_echo_n "(cached) " >&6
43330 else
43333 ac_ext=cpp
43334 ac_cpp='$CXXCPP $CPPFLAGS'
43335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43340 /* end confdefs.h. */
43341 #include <math.h>
43342 #ifdef HAVE_IEEEFP_H
43343 #include <ieeefp.h>
43344 #endif
43347 main ()
43349 finitef(0);
43351 return 0;
43353 _ACEOF
43354 if ac_fn_cxx_try_compile "$LINENO"; then :
43355 glibcxx_cv_func_finitef_use=yes
43356 else
43357 glibcxx_cv_func_finitef_use=no
43359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43360 ac_ext=c
43361 ac_cpp='$CPP $CPPFLAGS'
43362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
43371 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
43373 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
43374 for ac_func in finitef
43375 do :
43376 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
43377 if test "x$ac_cv_func_finitef" = x""yes; then :
43378 cat >>confdefs.h <<_ACEOF
43379 #define HAVE_FINITEF 1
43380 _ACEOF
43383 done
43385 else
43387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
43388 $as_echo_n "checking for _finitef declaration... " >&6; }
43389 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
43390 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
43391 $as_echo_n "(cached) " >&6
43392 else
43395 ac_ext=cpp
43396 ac_cpp='$CXXCPP $CPPFLAGS'
43397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43402 /* end confdefs.h. */
43403 #include <math.h>
43404 #ifdef HAVE_IEEEFP_H
43405 #include <ieeefp.h>
43406 #endif
43409 main ()
43411 _finitef(0);
43413 return 0;
43415 _ACEOF
43416 if ac_fn_cxx_try_compile "$LINENO"; then :
43417 glibcxx_cv_func__finitef_use=yes
43418 else
43419 glibcxx_cv_func__finitef_use=no
43421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43422 ac_ext=c
43423 ac_cpp='$CPP $CPPFLAGS'
43424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
43433 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
43435 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
43436 for ac_func in _finitef
43437 do :
43438 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
43439 if test "x$ac_cv_func__finitef" = x""yes; then :
43440 cat >>confdefs.h <<_ACEOF
43441 #define HAVE__FINITEF 1
43442 _ACEOF
43445 done
43454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
43455 $as_echo_n "checking for long double trig functions... " >&6; }
43456 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
43457 $as_echo_n "(cached) " >&6
43458 else
43461 ac_ext=cpp
43462 ac_cpp='$CXXCPP $CPPFLAGS'
43463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43468 /* end confdefs.h. */
43469 #include <math.h>
43471 main ()
43473 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
43475 return 0;
43477 _ACEOF
43478 if ac_fn_cxx_try_compile "$LINENO"; then :
43479 glibcxx_cv_func_long_double_trig_use=yes
43480 else
43481 glibcxx_cv_func_long_double_trig_use=no
43483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43484 ac_ext=c
43485 ac_cpp='$CPP $CPPFLAGS'
43486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
43493 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
43494 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
43495 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
43496 do :
43497 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43498 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43499 eval as_val=\$$as_ac_var
43500 if test "x$as_val" = x""yes; then :
43501 cat >>confdefs.h <<_ACEOF
43502 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43503 _ACEOF
43506 done
43508 else
43509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
43510 $as_echo_n "checking for _long double trig functions... " >&6; }
43511 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
43512 $as_echo_n "(cached) " >&6
43513 else
43516 ac_ext=cpp
43517 ac_cpp='$CXXCPP $CPPFLAGS'
43518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43523 /* end confdefs.h. */
43524 #include <math.h>
43526 main ()
43528 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
43530 return 0;
43532 _ACEOF
43533 if ac_fn_cxx_try_compile "$LINENO"; then :
43534 glibcxx_cv_func__long_double_trig_use=yes
43535 else
43536 glibcxx_cv_func__long_double_trig_use=no
43538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43539 ac_ext=c
43540 ac_cpp='$CPP $CPPFLAGS'
43541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
43548 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
43549 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
43550 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
43551 do :
43552 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43553 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43554 eval as_val=\$$as_ac_var
43555 if test "x$as_val" = x""yes; then :
43556 cat >>confdefs.h <<_ACEOF
43557 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43558 _ACEOF
43561 done
43570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
43571 $as_echo_n "checking for long double round functions... " >&6; }
43572 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
43573 $as_echo_n "(cached) " >&6
43574 else
43577 ac_ext=cpp
43578 ac_cpp='$CXXCPP $CPPFLAGS'
43579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43584 /* end confdefs.h. */
43585 #include <math.h>
43587 main ()
43589 ceill (0); floorl (0);
43591 return 0;
43593 _ACEOF
43594 if ac_fn_cxx_try_compile "$LINENO"; then :
43595 glibcxx_cv_func_long_double_round_use=yes
43596 else
43597 glibcxx_cv_func_long_double_round_use=no
43599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43600 ac_ext=c
43601 ac_cpp='$CPP $CPPFLAGS'
43602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
43609 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
43610 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
43611 for ac_func in ceill floorl
43612 do :
43613 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43614 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43615 eval as_val=\$$as_ac_var
43616 if test "x$as_val" = x""yes; then :
43617 cat >>confdefs.h <<_ACEOF
43618 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43619 _ACEOF
43622 done
43624 else
43625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
43626 $as_echo_n "checking for _long double round functions... " >&6; }
43627 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
43628 $as_echo_n "(cached) " >&6
43629 else
43632 ac_ext=cpp
43633 ac_cpp='$CXXCPP $CPPFLAGS'
43634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43639 /* end confdefs.h. */
43640 #include <math.h>
43642 main ()
43644 _ceill (0); _floorl (0);
43646 return 0;
43648 _ACEOF
43649 if ac_fn_cxx_try_compile "$LINENO"; then :
43650 glibcxx_cv_func__long_double_round_use=yes
43651 else
43652 glibcxx_cv_func__long_double_round_use=no
43654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43655 ac_ext=c
43656 ac_cpp='$CPP $CPPFLAGS'
43657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
43664 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
43665 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
43666 for ac_func in _ceill _floorl
43667 do :
43668 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43669 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43670 eval as_val=\$$as_ac_var
43671 if test "x$as_val" = x""yes; then :
43672 cat >>confdefs.h <<_ACEOF
43673 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43674 _ACEOF
43677 done
43687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
43688 $as_echo_n "checking for isnanl declaration... " >&6; }
43689 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
43690 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
43691 $as_echo_n "(cached) " >&6
43692 else
43695 ac_ext=cpp
43696 ac_cpp='$CXXCPP $CPPFLAGS'
43697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43702 /* end confdefs.h. */
43703 #include <math.h>
43704 #ifdef HAVE_IEEEFP_H
43705 #include <ieeefp.h>
43706 #endif
43709 main ()
43711 isnanl(0);
43713 return 0;
43715 _ACEOF
43716 if ac_fn_cxx_try_compile "$LINENO"; then :
43717 glibcxx_cv_func_isnanl_use=yes
43718 else
43719 glibcxx_cv_func_isnanl_use=no
43721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43722 ac_ext=c
43723 ac_cpp='$CPP $CPPFLAGS'
43724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
43733 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
43735 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
43736 for ac_func in isnanl
43737 do :
43738 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
43739 if test "x$ac_cv_func_isnanl" = x""yes; then :
43740 cat >>confdefs.h <<_ACEOF
43741 #define HAVE_ISNANL 1
43742 _ACEOF
43745 done
43747 else
43749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
43750 $as_echo_n "checking for _isnanl declaration... " >&6; }
43751 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
43752 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
43753 $as_echo_n "(cached) " >&6
43754 else
43757 ac_ext=cpp
43758 ac_cpp='$CXXCPP $CPPFLAGS'
43759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43764 /* end confdefs.h. */
43765 #include <math.h>
43766 #ifdef HAVE_IEEEFP_H
43767 #include <ieeefp.h>
43768 #endif
43771 main ()
43773 _isnanl(0);
43775 return 0;
43777 _ACEOF
43778 if ac_fn_cxx_try_compile "$LINENO"; then :
43779 glibcxx_cv_func__isnanl_use=yes
43780 else
43781 glibcxx_cv_func__isnanl_use=no
43783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43784 ac_ext=c
43785 ac_cpp='$CPP $CPPFLAGS'
43786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
43795 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
43797 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
43798 for ac_func in _isnanl
43799 do :
43800 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
43801 if test "x$ac_cv_func__isnanl" = x""yes; then :
43802 cat >>confdefs.h <<_ACEOF
43803 #define HAVE__ISNANL 1
43804 _ACEOF
43807 done
43816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
43817 $as_echo_n "checking for isinfl declaration... " >&6; }
43818 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
43819 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
43820 $as_echo_n "(cached) " >&6
43821 else
43824 ac_ext=cpp
43825 ac_cpp='$CXXCPP $CPPFLAGS'
43826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43831 /* end confdefs.h. */
43832 #include <math.h>
43833 #ifdef HAVE_IEEEFP_H
43834 #include <ieeefp.h>
43835 #endif
43838 main ()
43840 isinfl(0);
43842 return 0;
43844 _ACEOF
43845 if ac_fn_cxx_try_compile "$LINENO"; then :
43846 glibcxx_cv_func_isinfl_use=yes
43847 else
43848 glibcxx_cv_func_isinfl_use=no
43850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43851 ac_ext=c
43852 ac_cpp='$CPP $CPPFLAGS'
43853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
43862 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
43864 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
43865 for ac_func in isinfl
43866 do :
43867 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
43868 if test "x$ac_cv_func_isinfl" = x""yes; then :
43869 cat >>confdefs.h <<_ACEOF
43870 #define HAVE_ISINFL 1
43871 _ACEOF
43874 done
43876 else
43878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
43879 $as_echo_n "checking for _isinfl declaration... " >&6; }
43880 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
43881 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
43882 $as_echo_n "(cached) " >&6
43883 else
43886 ac_ext=cpp
43887 ac_cpp='$CXXCPP $CPPFLAGS'
43888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43893 /* end confdefs.h. */
43894 #include <math.h>
43895 #ifdef HAVE_IEEEFP_H
43896 #include <ieeefp.h>
43897 #endif
43900 main ()
43902 _isinfl(0);
43904 return 0;
43906 _ACEOF
43907 if ac_fn_cxx_try_compile "$LINENO"; then :
43908 glibcxx_cv_func__isinfl_use=yes
43909 else
43910 glibcxx_cv_func__isinfl_use=no
43912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43913 ac_ext=c
43914 ac_cpp='$CPP $CPPFLAGS'
43915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
43924 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
43926 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
43927 for ac_func in _isinfl
43928 do :
43929 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
43930 if test "x$ac_cv_func__isinfl" = x""yes; then :
43931 cat >>confdefs.h <<_ACEOF
43932 #define HAVE__ISINFL 1
43933 _ACEOF
43936 done
43945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
43946 $as_echo_n "checking for atan2l declaration... " >&6; }
43947 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
43948 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
43949 $as_echo_n "(cached) " >&6
43950 else
43953 ac_ext=cpp
43954 ac_cpp='$CXXCPP $CPPFLAGS'
43955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43960 /* end confdefs.h. */
43961 #include <math.h>
43963 main ()
43965 atan2l(0, 0);
43967 return 0;
43969 _ACEOF
43970 if ac_fn_cxx_try_compile "$LINENO"; then :
43971 glibcxx_cv_func_atan2l_use=yes
43972 else
43973 glibcxx_cv_func_atan2l_use=no
43975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43976 ac_ext=c
43977 ac_cpp='$CPP $CPPFLAGS'
43978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
43987 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
43989 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
43990 for ac_func in atan2l
43991 do :
43992 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
43993 if test "x$ac_cv_func_atan2l" = x""yes; then :
43994 cat >>confdefs.h <<_ACEOF
43995 #define HAVE_ATAN2L 1
43996 _ACEOF
43999 done
44001 else
44003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
44004 $as_echo_n "checking for _atan2l declaration... " >&6; }
44005 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
44006 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
44007 $as_echo_n "(cached) " >&6
44008 else
44011 ac_ext=cpp
44012 ac_cpp='$CXXCPP $CPPFLAGS'
44013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44018 /* end confdefs.h. */
44019 #include <math.h>
44021 main ()
44023 _atan2l(0, 0);
44025 return 0;
44027 _ACEOF
44028 if ac_fn_cxx_try_compile "$LINENO"; then :
44029 glibcxx_cv_func__atan2l_use=yes
44030 else
44031 glibcxx_cv_func__atan2l_use=no
44033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44034 ac_ext=c
44035 ac_cpp='$CPP $CPPFLAGS'
44036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
44045 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
44047 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
44048 for ac_func in _atan2l
44049 do :
44050 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
44051 if test "x$ac_cv_func__atan2l" = x""yes; then :
44052 cat >>confdefs.h <<_ACEOF
44053 #define HAVE__ATAN2L 1
44054 _ACEOF
44057 done
44066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
44067 $as_echo_n "checking for expl declaration... " >&6; }
44068 if test x${glibcxx_cv_func_expl_use+set} != xset; then
44069 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
44070 $as_echo_n "(cached) " >&6
44071 else
44074 ac_ext=cpp
44075 ac_cpp='$CXXCPP $CPPFLAGS'
44076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44081 /* end confdefs.h. */
44082 #include <math.h>
44083 #ifdef HAVE_IEEEFP_H
44084 #include <ieeefp.h>
44085 #endif
44088 main ()
44090 expl(0);
44092 return 0;
44094 _ACEOF
44095 if ac_fn_cxx_try_compile "$LINENO"; then :
44096 glibcxx_cv_func_expl_use=yes
44097 else
44098 glibcxx_cv_func_expl_use=no
44100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44101 ac_ext=c
44102 ac_cpp='$CPP $CPPFLAGS'
44103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
44112 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
44114 if test x$glibcxx_cv_func_expl_use = x"yes"; then
44115 for ac_func in expl
44116 do :
44117 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
44118 if test "x$ac_cv_func_expl" = x""yes; then :
44119 cat >>confdefs.h <<_ACEOF
44120 #define HAVE_EXPL 1
44121 _ACEOF
44124 done
44126 else
44128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
44129 $as_echo_n "checking for _expl declaration... " >&6; }
44130 if test x${glibcxx_cv_func__expl_use+set} != xset; then
44131 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
44132 $as_echo_n "(cached) " >&6
44133 else
44136 ac_ext=cpp
44137 ac_cpp='$CXXCPP $CPPFLAGS'
44138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44143 /* end confdefs.h. */
44144 #include <math.h>
44145 #ifdef HAVE_IEEEFP_H
44146 #include <ieeefp.h>
44147 #endif
44150 main ()
44152 _expl(0);
44154 return 0;
44156 _ACEOF
44157 if ac_fn_cxx_try_compile "$LINENO"; then :
44158 glibcxx_cv_func__expl_use=yes
44159 else
44160 glibcxx_cv_func__expl_use=no
44162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44163 ac_ext=c
44164 ac_cpp='$CPP $CPPFLAGS'
44165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
44174 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
44176 if test x$glibcxx_cv_func__expl_use = x"yes"; then
44177 for ac_func in _expl
44178 do :
44179 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
44180 if test "x$ac_cv_func__expl" = x""yes; then :
44181 cat >>confdefs.h <<_ACEOF
44182 #define HAVE__EXPL 1
44183 _ACEOF
44186 done
44195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
44196 $as_echo_n "checking for fabsl declaration... " >&6; }
44197 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
44198 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
44199 $as_echo_n "(cached) " >&6
44200 else
44203 ac_ext=cpp
44204 ac_cpp='$CXXCPP $CPPFLAGS'
44205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44210 /* end confdefs.h. */
44211 #include <math.h>
44212 #ifdef HAVE_IEEEFP_H
44213 #include <ieeefp.h>
44214 #endif
44217 main ()
44219 fabsl(0);
44221 return 0;
44223 _ACEOF
44224 if ac_fn_cxx_try_compile "$LINENO"; then :
44225 glibcxx_cv_func_fabsl_use=yes
44226 else
44227 glibcxx_cv_func_fabsl_use=no
44229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44230 ac_ext=c
44231 ac_cpp='$CPP $CPPFLAGS'
44232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
44241 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
44243 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
44244 for ac_func in fabsl
44245 do :
44246 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
44247 if test "x$ac_cv_func_fabsl" = x""yes; then :
44248 cat >>confdefs.h <<_ACEOF
44249 #define HAVE_FABSL 1
44250 _ACEOF
44253 done
44255 else
44257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
44258 $as_echo_n "checking for _fabsl declaration... " >&6; }
44259 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
44260 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
44261 $as_echo_n "(cached) " >&6
44262 else
44265 ac_ext=cpp
44266 ac_cpp='$CXXCPP $CPPFLAGS'
44267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44272 /* end confdefs.h. */
44273 #include <math.h>
44274 #ifdef HAVE_IEEEFP_H
44275 #include <ieeefp.h>
44276 #endif
44279 main ()
44281 _fabsl(0);
44283 return 0;
44285 _ACEOF
44286 if ac_fn_cxx_try_compile "$LINENO"; then :
44287 glibcxx_cv_func__fabsl_use=yes
44288 else
44289 glibcxx_cv_func__fabsl_use=no
44291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44292 ac_ext=c
44293 ac_cpp='$CPP $CPPFLAGS'
44294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
44303 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
44305 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
44306 for ac_func in _fabsl
44307 do :
44308 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
44309 if test "x$ac_cv_func__fabsl" = x""yes; then :
44310 cat >>confdefs.h <<_ACEOF
44311 #define HAVE__FABSL 1
44312 _ACEOF
44315 done
44324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
44325 $as_echo_n "checking for fmodl declaration... " >&6; }
44326 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
44327 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
44328 $as_echo_n "(cached) " >&6
44329 else
44332 ac_ext=cpp
44333 ac_cpp='$CXXCPP $CPPFLAGS'
44334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44339 /* end confdefs.h. */
44340 #include <math.h>
44342 main ()
44344 fmodl(0, 0);
44346 return 0;
44348 _ACEOF
44349 if ac_fn_cxx_try_compile "$LINENO"; then :
44350 glibcxx_cv_func_fmodl_use=yes
44351 else
44352 glibcxx_cv_func_fmodl_use=no
44354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44355 ac_ext=c
44356 ac_cpp='$CPP $CPPFLAGS'
44357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
44366 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
44368 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
44369 for ac_func in fmodl
44370 do :
44371 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
44372 if test "x$ac_cv_func_fmodl" = x""yes; then :
44373 cat >>confdefs.h <<_ACEOF
44374 #define HAVE_FMODL 1
44375 _ACEOF
44378 done
44380 else
44382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
44383 $as_echo_n "checking for _fmodl declaration... " >&6; }
44384 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
44385 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
44386 $as_echo_n "(cached) " >&6
44387 else
44390 ac_ext=cpp
44391 ac_cpp='$CXXCPP $CPPFLAGS'
44392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44397 /* end confdefs.h. */
44398 #include <math.h>
44400 main ()
44402 _fmodl(0, 0);
44404 return 0;
44406 _ACEOF
44407 if ac_fn_cxx_try_compile "$LINENO"; then :
44408 glibcxx_cv_func__fmodl_use=yes
44409 else
44410 glibcxx_cv_func__fmodl_use=no
44412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44413 ac_ext=c
44414 ac_cpp='$CPP $CPPFLAGS'
44415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
44424 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
44426 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
44427 for ac_func in _fmodl
44428 do :
44429 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
44430 if test "x$ac_cv_func__fmodl" = x""yes; then :
44431 cat >>confdefs.h <<_ACEOF
44432 #define HAVE__FMODL 1
44433 _ACEOF
44436 done
44445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
44446 $as_echo_n "checking for frexpl declaration... " >&6; }
44447 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
44448 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
44449 $as_echo_n "(cached) " >&6
44450 else
44453 ac_ext=cpp
44454 ac_cpp='$CXXCPP $CPPFLAGS'
44455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44460 /* end confdefs.h. */
44461 #include <math.h>
44463 main ()
44465 frexpl(0, 0);
44467 return 0;
44469 _ACEOF
44470 if ac_fn_cxx_try_compile "$LINENO"; then :
44471 glibcxx_cv_func_frexpl_use=yes
44472 else
44473 glibcxx_cv_func_frexpl_use=no
44475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44476 ac_ext=c
44477 ac_cpp='$CPP $CPPFLAGS'
44478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
44487 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
44489 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
44490 for ac_func in frexpl
44491 do :
44492 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
44493 if test "x$ac_cv_func_frexpl" = x""yes; then :
44494 cat >>confdefs.h <<_ACEOF
44495 #define HAVE_FREXPL 1
44496 _ACEOF
44499 done
44501 else
44503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
44504 $as_echo_n "checking for _frexpl declaration... " >&6; }
44505 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
44506 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
44507 $as_echo_n "(cached) " >&6
44508 else
44511 ac_ext=cpp
44512 ac_cpp='$CXXCPP $CPPFLAGS'
44513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44518 /* end confdefs.h. */
44519 #include <math.h>
44521 main ()
44523 _frexpl(0, 0);
44525 return 0;
44527 _ACEOF
44528 if ac_fn_cxx_try_compile "$LINENO"; then :
44529 glibcxx_cv_func__frexpl_use=yes
44530 else
44531 glibcxx_cv_func__frexpl_use=no
44533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44534 ac_ext=c
44535 ac_cpp='$CPP $CPPFLAGS'
44536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
44545 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
44547 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
44548 for ac_func in _frexpl
44549 do :
44550 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
44551 if test "x$ac_cv_func__frexpl" = x""yes; then :
44552 cat >>confdefs.h <<_ACEOF
44553 #define HAVE__FREXPL 1
44554 _ACEOF
44557 done
44566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
44567 $as_echo_n "checking for hypotl declaration... " >&6; }
44568 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
44569 if test "${glibcxx_cv_func_hypotl_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 hypotl(0, 0);
44588 return 0;
44590 _ACEOF
44591 if ac_fn_cxx_try_compile "$LINENO"; then :
44592 glibcxx_cv_func_hypotl_use=yes
44593 else
44594 glibcxx_cv_func_hypotl_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
44607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
44608 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
44610 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
44611 for ac_func in hypotl
44612 do :
44613 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
44614 if test "x$ac_cv_func_hypotl" = x""yes; then :
44615 cat >>confdefs.h <<_ACEOF
44616 #define HAVE_HYPOTL 1
44617 _ACEOF
44620 done
44622 else
44624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
44625 $as_echo_n "checking for _hypotl declaration... " >&6; }
44626 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
44627 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
44628 $as_echo_n "(cached) " >&6
44629 else
44632 ac_ext=cpp
44633 ac_cpp='$CXXCPP $CPPFLAGS'
44634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44639 /* end confdefs.h. */
44640 #include <math.h>
44642 main ()
44644 _hypotl(0, 0);
44646 return 0;
44648 _ACEOF
44649 if ac_fn_cxx_try_compile "$LINENO"; then :
44650 glibcxx_cv_func__hypotl_use=yes
44651 else
44652 glibcxx_cv_func__hypotl_use=no
44654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44655 ac_ext=c
44656 ac_cpp='$CPP $CPPFLAGS'
44657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
44666 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
44668 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
44669 for ac_func in _hypotl
44670 do :
44671 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
44672 if test "x$ac_cv_func__hypotl" = x""yes; then :
44673 cat >>confdefs.h <<_ACEOF
44674 #define HAVE__HYPOTL 1
44675 _ACEOF
44678 done
44687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
44688 $as_echo_n "checking for ldexpl declaration... " >&6; }
44689 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
44690 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
44691 $as_echo_n "(cached) " >&6
44692 else
44695 ac_ext=cpp
44696 ac_cpp='$CXXCPP $CPPFLAGS'
44697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44702 /* end confdefs.h. */
44703 #include <math.h>
44705 main ()
44707 ldexpl(0, 0);
44709 return 0;
44711 _ACEOF
44712 if ac_fn_cxx_try_compile "$LINENO"; then :
44713 glibcxx_cv_func_ldexpl_use=yes
44714 else
44715 glibcxx_cv_func_ldexpl_use=no
44717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44718 ac_ext=c
44719 ac_cpp='$CPP $CPPFLAGS'
44720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
44729 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
44731 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
44732 for ac_func in ldexpl
44733 do :
44734 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
44735 if test "x$ac_cv_func_ldexpl" = x""yes; then :
44736 cat >>confdefs.h <<_ACEOF
44737 #define HAVE_LDEXPL 1
44738 _ACEOF
44741 done
44743 else
44745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
44746 $as_echo_n "checking for _ldexpl declaration... " >&6; }
44747 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
44748 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
44749 $as_echo_n "(cached) " >&6
44750 else
44753 ac_ext=cpp
44754 ac_cpp='$CXXCPP $CPPFLAGS'
44755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44760 /* end confdefs.h. */
44761 #include <math.h>
44763 main ()
44765 _ldexpl(0, 0);
44767 return 0;
44769 _ACEOF
44770 if ac_fn_cxx_try_compile "$LINENO"; then :
44771 glibcxx_cv_func__ldexpl_use=yes
44772 else
44773 glibcxx_cv_func__ldexpl_use=no
44775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44776 ac_ext=c
44777 ac_cpp='$CPP $CPPFLAGS'
44778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
44787 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
44789 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
44790 for ac_func in _ldexpl
44791 do :
44792 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
44793 if test "x$ac_cv_func__ldexpl" = x""yes; then :
44794 cat >>confdefs.h <<_ACEOF
44795 #define HAVE__LDEXPL 1
44796 _ACEOF
44799 done
44808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
44809 $as_echo_n "checking for logl declaration... " >&6; }
44810 if test x${glibcxx_cv_func_logl_use+set} != xset; then
44811 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
44812 $as_echo_n "(cached) " >&6
44813 else
44816 ac_ext=cpp
44817 ac_cpp='$CXXCPP $CPPFLAGS'
44818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44823 /* end confdefs.h. */
44824 #include <math.h>
44825 #ifdef HAVE_IEEEFP_H
44826 #include <ieeefp.h>
44827 #endif
44830 main ()
44832 logl(0);
44834 return 0;
44836 _ACEOF
44837 if ac_fn_cxx_try_compile "$LINENO"; then :
44838 glibcxx_cv_func_logl_use=yes
44839 else
44840 glibcxx_cv_func_logl_use=no
44842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44843 ac_ext=c
44844 ac_cpp='$CPP $CPPFLAGS'
44845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
44854 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
44856 if test x$glibcxx_cv_func_logl_use = x"yes"; then
44857 for ac_func in logl
44858 do :
44859 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
44860 if test "x$ac_cv_func_logl" = x""yes; then :
44861 cat >>confdefs.h <<_ACEOF
44862 #define HAVE_LOGL 1
44863 _ACEOF
44866 done
44868 else
44870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
44871 $as_echo_n "checking for _logl declaration... " >&6; }
44872 if test x${glibcxx_cv_func__logl_use+set} != xset; then
44873 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
44874 $as_echo_n "(cached) " >&6
44875 else
44878 ac_ext=cpp
44879 ac_cpp='$CXXCPP $CPPFLAGS'
44880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44885 /* end confdefs.h. */
44886 #include <math.h>
44887 #ifdef HAVE_IEEEFP_H
44888 #include <ieeefp.h>
44889 #endif
44892 main ()
44894 _logl(0);
44896 return 0;
44898 _ACEOF
44899 if ac_fn_cxx_try_compile "$LINENO"; then :
44900 glibcxx_cv_func__logl_use=yes
44901 else
44902 glibcxx_cv_func__logl_use=no
44904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44905 ac_ext=c
44906 ac_cpp='$CPP $CPPFLAGS'
44907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
44916 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
44918 if test x$glibcxx_cv_func__logl_use = x"yes"; then
44919 for ac_func in _logl
44920 do :
44921 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
44922 if test "x$ac_cv_func__logl" = x""yes; then :
44923 cat >>confdefs.h <<_ACEOF
44924 #define HAVE__LOGL 1
44925 _ACEOF
44928 done
44937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
44938 $as_echo_n "checking for log10l declaration... " >&6; }
44939 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
44940 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
44941 $as_echo_n "(cached) " >&6
44942 else
44945 ac_ext=cpp
44946 ac_cpp='$CXXCPP $CPPFLAGS'
44947 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44948 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44949 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44952 /* end confdefs.h. */
44953 #include <math.h>
44954 #ifdef HAVE_IEEEFP_H
44955 #include <ieeefp.h>
44956 #endif
44959 main ()
44961 log10l(0);
44963 return 0;
44965 _ACEOF
44966 if ac_fn_cxx_try_compile "$LINENO"; then :
44967 glibcxx_cv_func_log10l_use=yes
44968 else
44969 glibcxx_cv_func_log10l_use=no
44971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44972 ac_ext=c
44973 ac_cpp='$CPP $CPPFLAGS'
44974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
44983 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
44985 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
44986 for ac_func in log10l
44987 do :
44988 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
44989 if test "x$ac_cv_func_log10l" = x""yes; then :
44990 cat >>confdefs.h <<_ACEOF
44991 #define HAVE_LOG10L 1
44992 _ACEOF
44995 done
44997 else
44999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
45000 $as_echo_n "checking for _log10l declaration... " >&6; }
45001 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
45002 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
45003 $as_echo_n "(cached) " >&6
45004 else
45007 ac_ext=cpp
45008 ac_cpp='$CXXCPP $CPPFLAGS'
45009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45014 /* end confdefs.h. */
45015 #include <math.h>
45016 #ifdef HAVE_IEEEFP_H
45017 #include <ieeefp.h>
45018 #endif
45021 main ()
45023 _log10l(0);
45025 return 0;
45027 _ACEOF
45028 if ac_fn_cxx_try_compile "$LINENO"; then :
45029 glibcxx_cv_func__log10l_use=yes
45030 else
45031 glibcxx_cv_func__log10l_use=no
45033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45034 ac_ext=c
45035 ac_cpp='$CPP $CPPFLAGS'
45036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
45045 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
45047 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
45048 for ac_func in _log10l
45049 do :
45050 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
45051 if test "x$ac_cv_func__log10l" = x""yes; then :
45052 cat >>confdefs.h <<_ACEOF
45053 #define HAVE__LOG10L 1
45054 _ACEOF
45057 done
45066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
45067 $as_echo_n "checking for modfl declaration... " >&6; }
45068 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
45069 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
45070 $as_echo_n "(cached) " >&6
45071 else
45074 ac_ext=cpp
45075 ac_cpp='$CXXCPP $CPPFLAGS'
45076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45081 /* end confdefs.h. */
45082 #include <math.h>
45084 main ()
45086 modfl(0, 0);
45088 return 0;
45090 _ACEOF
45091 if ac_fn_cxx_try_compile "$LINENO"; then :
45092 glibcxx_cv_func_modfl_use=yes
45093 else
45094 glibcxx_cv_func_modfl_use=no
45096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45097 ac_ext=c
45098 ac_cpp='$CPP $CPPFLAGS'
45099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
45108 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
45110 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
45111 for ac_func in modfl
45112 do :
45113 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
45114 if test "x$ac_cv_func_modfl" = x""yes; then :
45115 cat >>confdefs.h <<_ACEOF
45116 #define HAVE_MODFL 1
45117 _ACEOF
45120 done
45122 else
45124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
45125 $as_echo_n "checking for _modfl declaration... " >&6; }
45126 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
45127 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
45128 $as_echo_n "(cached) " >&6
45129 else
45132 ac_ext=cpp
45133 ac_cpp='$CXXCPP $CPPFLAGS'
45134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45139 /* end confdefs.h. */
45140 #include <math.h>
45142 main ()
45144 _modfl(0, 0);
45146 return 0;
45148 _ACEOF
45149 if ac_fn_cxx_try_compile "$LINENO"; then :
45150 glibcxx_cv_func__modfl_use=yes
45151 else
45152 glibcxx_cv_func__modfl_use=no
45154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45155 ac_ext=c
45156 ac_cpp='$CPP $CPPFLAGS'
45157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
45166 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
45168 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
45169 for ac_func in _modfl
45170 do :
45171 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
45172 if test "x$ac_cv_func__modfl" = x""yes; then :
45173 cat >>confdefs.h <<_ACEOF
45174 #define HAVE__MODFL 1
45175 _ACEOF
45178 done
45187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
45188 $as_echo_n "checking for powl declaration... " >&6; }
45189 if test x${glibcxx_cv_func_powl_use+set} != xset; then
45190 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
45191 $as_echo_n "(cached) " >&6
45192 else
45195 ac_ext=cpp
45196 ac_cpp='$CXXCPP $CPPFLAGS'
45197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45202 /* end confdefs.h. */
45203 #include <math.h>
45205 main ()
45207 powl(0, 0);
45209 return 0;
45211 _ACEOF
45212 if ac_fn_cxx_try_compile "$LINENO"; then :
45213 glibcxx_cv_func_powl_use=yes
45214 else
45215 glibcxx_cv_func_powl_use=no
45217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45218 ac_ext=c
45219 ac_cpp='$CPP $CPPFLAGS'
45220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
45229 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
45231 if test x$glibcxx_cv_func_powl_use = x"yes"; then
45232 for ac_func in powl
45233 do :
45234 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
45235 if test "x$ac_cv_func_powl" = x""yes; then :
45236 cat >>confdefs.h <<_ACEOF
45237 #define HAVE_POWL 1
45238 _ACEOF
45241 done
45243 else
45245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
45246 $as_echo_n "checking for _powl declaration... " >&6; }
45247 if test x${glibcxx_cv_func__powl_use+set} != xset; then
45248 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
45249 $as_echo_n "(cached) " >&6
45250 else
45253 ac_ext=cpp
45254 ac_cpp='$CXXCPP $CPPFLAGS'
45255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45260 /* end confdefs.h. */
45261 #include <math.h>
45263 main ()
45265 _powl(0, 0);
45267 return 0;
45269 _ACEOF
45270 if ac_fn_cxx_try_compile "$LINENO"; then :
45271 glibcxx_cv_func__powl_use=yes
45272 else
45273 glibcxx_cv_func__powl_use=no
45275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45276 ac_ext=c
45277 ac_cpp='$CPP $CPPFLAGS'
45278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
45287 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
45289 if test x$glibcxx_cv_func__powl_use = x"yes"; then
45290 for ac_func in _powl
45291 do :
45292 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
45293 if test "x$ac_cv_func__powl" = x""yes; then :
45294 cat >>confdefs.h <<_ACEOF
45295 #define HAVE__POWL 1
45296 _ACEOF
45299 done
45308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
45309 $as_echo_n "checking for sqrtl declaration... " >&6; }
45310 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
45311 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
45312 $as_echo_n "(cached) " >&6
45313 else
45316 ac_ext=cpp
45317 ac_cpp='$CXXCPP $CPPFLAGS'
45318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45323 /* end confdefs.h. */
45324 #include <math.h>
45325 #ifdef HAVE_IEEEFP_H
45326 #include <ieeefp.h>
45327 #endif
45330 main ()
45332 sqrtl(0);
45334 return 0;
45336 _ACEOF
45337 if ac_fn_cxx_try_compile "$LINENO"; then :
45338 glibcxx_cv_func_sqrtl_use=yes
45339 else
45340 glibcxx_cv_func_sqrtl_use=no
45342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45343 ac_ext=c
45344 ac_cpp='$CPP $CPPFLAGS'
45345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
45354 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
45356 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
45357 for ac_func in sqrtl
45358 do :
45359 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
45360 if test "x$ac_cv_func_sqrtl" = x""yes; then :
45361 cat >>confdefs.h <<_ACEOF
45362 #define HAVE_SQRTL 1
45363 _ACEOF
45366 done
45368 else
45370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
45371 $as_echo_n "checking for _sqrtl declaration... " >&6; }
45372 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
45373 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
45374 $as_echo_n "(cached) " >&6
45375 else
45378 ac_ext=cpp
45379 ac_cpp='$CXXCPP $CPPFLAGS'
45380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45385 /* end confdefs.h. */
45386 #include <math.h>
45387 #ifdef HAVE_IEEEFP_H
45388 #include <ieeefp.h>
45389 #endif
45392 main ()
45394 _sqrtl(0);
45396 return 0;
45398 _ACEOF
45399 if ac_fn_cxx_try_compile "$LINENO"; then :
45400 glibcxx_cv_func__sqrtl_use=yes
45401 else
45402 glibcxx_cv_func__sqrtl_use=no
45404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45405 ac_ext=c
45406 ac_cpp='$CPP $CPPFLAGS'
45407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
45416 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
45418 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
45419 for ac_func in _sqrtl
45420 do :
45421 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
45422 if test "x$ac_cv_func__sqrtl" = x""yes; then :
45423 cat >>confdefs.h <<_ACEOF
45424 #define HAVE__SQRTL 1
45425 _ACEOF
45428 done
45437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
45438 $as_echo_n "checking for sincosl declaration... " >&6; }
45439 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
45440 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
45441 $as_echo_n "(cached) " >&6
45442 else
45445 ac_ext=cpp
45446 ac_cpp='$CXXCPP $CPPFLAGS'
45447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45452 /* end confdefs.h. */
45453 #include <math.h>
45455 main ()
45457 sincosl(0, 0, 0);
45459 return 0;
45461 _ACEOF
45462 if ac_fn_cxx_try_compile "$LINENO"; then :
45463 glibcxx_cv_func_sincosl_use=yes
45464 else
45465 glibcxx_cv_func_sincosl_use=no
45467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45468 ac_ext=c
45469 ac_cpp='$CPP $CPPFLAGS'
45470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
45479 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
45481 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
45482 for ac_func in sincosl
45483 do :
45484 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
45485 if test "x$ac_cv_func_sincosl" = x""yes; then :
45486 cat >>confdefs.h <<_ACEOF
45487 #define HAVE_SINCOSL 1
45488 _ACEOF
45491 done
45493 else
45495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
45496 $as_echo_n "checking for _sincosl declaration... " >&6; }
45497 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
45498 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
45499 $as_echo_n "(cached) " >&6
45500 else
45503 ac_ext=cpp
45504 ac_cpp='$CXXCPP $CPPFLAGS'
45505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45510 /* end confdefs.h. */
45511 #include <math.h>
45513 main ()
45515 _sincosl(0, 0, 0);
45517 return 0;
45519 _ACEOF
45520 if ac_fn_cxx_try_compile "$LINENO"; then :
45521 glibcxx_cv_func__sincosl_use=yes
45522 else
45523 glibcxx_cv_func__sincosl_use=no
45525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45526 ac_ext=c
45527 ac_cpp='$CPP $CPPFLAGS'
45528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
45537 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
45539 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
45540 for ac_func in _sincosl
45541 do :
45542 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
45543 if test "x$ac_cv_func__sincosl" = x""yes; then :
45544 cat >>confdefs.h <<_ACEOF
45545 #define HAVE__SINCOSL 1
45546 _ACEOF
45549 done
45558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
45559 $as_echo_n "checking for finitel declaration... " >&6; }
45560 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
45561 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
45562 $as_echo_n "(cached) " >&6
45563 else
45566 ac_ext=cpp
45567 ac_cpp='$CXXCPP $CPPFLAGS'
45568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45573 /* end confdefs.h. */
45574 #include <math.h>
45575 #ifdef HAVE_IEEEFP_H
45576 #include <ieeefp.h>
45577 #endif
45580 main ()
45582 finitel(0);
45584 return 0;
45586 _ACEOF
45587 if ac_fn_cxx_try_compile "$LINENO"; then :
45588 glibcxx_cv_func_finitel_use=yes
45589 else
45590 glibcxx_cv_func_finitel_use=no
45592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45593 ac_ext=c
45594 ac_cpp='$CPP $CPPFLAGS'
45595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
45604 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
45606 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
45607 for ac_func in finitel
45608 do :
45609 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
45610 if test "x$ac_cv_func_finitel" = x""yes; then :
45611 cat >>confdefs.h <<_ACEOF
45612 #define HAVE_FINITEL 1
45613 _ACEOF
45616 done
45618 else
45620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
45621 $as_echo_n "checking for _finitel declaration... " >&6; }
45622 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
45623 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
45624 $as_echo_n "(cached) " >&6
45625 else
45628 ac_ext=cpp
45629 ac_cpp='$CXXCPP $CPPFLAGS'
45630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45635 /* end confdefs.h. */
45636 #include <math.h>
45637 #ifdef HAVE_IEEEFP_H
45638 #include <ieeefp.h>
45639 #endif
45642 main ()
45644 _finitel(0);
45646 return 0;
45648 _ACEOF
45649 if ac_fn_cxx_try_compile "$LINENO"; then :
45650 glibcxx_cv_func__finitel_use=yes
45651 else
45652 glibcxx_cv_func__finitel_use=no
45654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45655 ac_ext=c
45656 ac_cpp='$CPP $CPPFLAGS'
45657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
45666 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
45668 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
45669 for ac_func in _finitel
45670 do :
45671 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
45672 if test "x$ac_cv_func__finitel" = x""yes; then :
45673 cat >>confdefs.h <<_ACEOF
45674 #define HAVE__FINITEL 1
45675 _ACEOF
45678 done
45686 LIBS="$ac_save_LIBS"
45687 CXXFLAGS="$ac_save_CXXFLAGS"
45690 ac_test_CXXFLAGS="${CXXFLAGS+set}"
45691 ac_save_CXXFLAGS="$CXXFLAGS"
45692 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
45695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
45696 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
45697 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
45698 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
45699 $as_echo_n "(cached) " >&6
45700 else
45703 ac_ext=cpp
45704 ac_cpp='$CXXCPP $CPPFLAGS'
45705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45710 /* end confdefs.h. */
45711 #include <stdlib.h>
45713 main ()
45715 at_quick_exit(0);
45717 return 0;
45719 _ACEOF
45720 if ac_fn_cxx_try_compile "$LINENO"; then :
45721 glibcxx_cv_func_at_quick_exit_use=yes
45722 else
45723 glibcxx_cv_func_at_quick_exit_use=no
45725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45726 ac_ext=c
45727 ac_cpp='$CPP $CPPFLAGS'
45728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
45737 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
45738 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
45739 for ac_func in at_quick_exit
45740 do :
45741 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
45742 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
45743 cat >>confdefs.h <<_ACEOF
45744 #define HAVE_AT_QUICK_EXIT 1
45745 _ACEOF
45748 done
45753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
45754 $as_echo_n "checking for quick_exit declaration... " >&6; }
45755 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
45756 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
45757 $as_echo_n "(cached) " >&6
45758 else
45761 ac_ext=cpp
45762 ac_cpp='$CXXCPP $CPPFLAGS'
45763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45768 /* end confdefs.h. */
45769 #include <stdlib.h>
45771 main ()
45773 quick_exit(0);
45775 return 0;
45777 _ACEOF
45778 if ac_fn_cxx_try_compile "$LINENO"; then :
45779 glibcxx_cv_func_quick_exit_use=yes
45780 else
45781 glibcxx_cv_func_quick_exit_use=no
45783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45784 ac_ext=c
45785 ac_cpp='$CPP $CPPFLAGS'
45786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
45795 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
45796 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
45797 for ac_func in quick_exit
45798 do :
45799 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
45800 if test "x$ac_cv_func_quick_exit" = x""yes; then :
45801 cat >>confdefs.h <<_ACEOF
45802 #define HAVE_QUICK_EXIT 1
45803 _ACEOF
45806 done
45811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
45812 $as_echo_n "checking for strtold declaration... " >&6; }
45813 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
45814 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
45815 $as_echo_n "(cached) " >&6
45816 else
45819 ac_ext=cpp
45820 ac_cpp='$CXXCPP $CPPFLAGS'
45821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45826 /* end confdefs.h. */
45827 #include <stdlib.h>
45829 main ()
45831 strtold(0, 0);
45833 return 0;
45835 _ACEOF
45836 if ac_fn_cxx_try_compile "$LINENO"; then :
45837 glibcxx_cv_func_strtold_use=yes
45838 else
45839 glibcxx_cv_func_strtold_use=no
45841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45842 ac_ext=c
45843 ac_cpp='$CPP $CPPFLAGS'
45844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
45853 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
45854 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
45855 for ac_func in strtold
45856 do :
45857 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
45858 if test "x$ac_cv_func_strtold" = x""yes; then :
45859 cat >>confdefs.h <<_ACEOF
45860 #define HAVE_STRTOLD 1
45861 _ACEOF
45864 done
45871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
45872 $as_echo_n "checking for strtof declaration... " >&6; }
45873 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
45874 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
45875 $as_echo_n "(cached) " >&6
45876 else
45879 ac_ext=cpp
45880 ac_cpp='$CXXCPP $CPPFLAGS'
45881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45886 /* end confdefs.h. */
45887 #include <stdlib.h>
45889 main ()
45891 strtof(0, 0);
45893 return 0;
45895 _ACEOF
45896 if ac_fn_cxx_try_compile "$LINENO"; then :
45897 glibcxx_cv_func_strtof_use=yes
45898 else
45899 glibcxx_cv_func_strtof_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_strtof_use" >&5
45913 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
45914 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
45915 for ac_func in strtof
45916 do :
45917 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
45918 if test "x$ac_cv_func_strtof" = x""yes; then :
45919 cat >>confdefs.h <<_ACEOF
45920 #define HAVE_STRTOF 1
45921 _ACEOF
45924 done
45931 CXXFLAGS="$ac_save_CXXFLAGS"
45933 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
45935 # We don't yet support AIX's TLS ABI.
45936 #GCC_CHECK_TLS
45942 am_save_CPPFLAGS="$CPPFLAGS"
45944 for element in $INCICONV; do
45945 haveit=
45946 for x in $CPPFLAGS; do
45948 acl_save_prefix="$prefix"
45949 prefix="$acl_final_prefix"
45950 acl_save_exec_prefix="$exec_prefix"
45951 exec_prefix="$acl_final_exec_prefix"
45952 eval x=\"$x\"
45953 exec_prefix="$acl_save_exec_prefix"
45954 prefix="$acl_save_prefix"
45956 if test "X$x" = "X$element"; then
45957 haveit=yes
45958 break
45960 done
45961 if test -z "$haveit"; then
45962 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
45964 done
45967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
45968 $as_echo_n "checking for iconv... " >&6; }
45969 if test "${am_cv_func_iconv+set}" = set; then :
45970 $as_echo_n "(cached) " >&6
45971 else
45973 am_cv_func_iconv="no, consider installing GNU libiconv"
45974 am_cv_lib_iconv=no
45975 if test x$gcc_no_link = xyes; then
45976 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45979 /* end confdefs.h. */
45980 #include <stdlib.h>
45981 #include <iconv.h>
45983 main ()
45985 iconv_t cd = iconv_open("","");
45986 iconv(cd,NULL,NULL,NULL,NULL);
45987 iconv_close(cd);
45989 return 0;
45991 _ACEOF
45992 if ac_fn_c_try_link "$LINENO"; then :
45993 am_cv_func_iconv=yes
45995 rm -f core conftest.err conftest.$ac_objext \
45996 conftest$ac_exeext conftest.$ac_ext
45997 if test "$am_cv_func_iconv" != yes; then
45998 am_save_LIBS="$LIBS"
45999 LIBS="$LIBS $LIBICONV"
46000 if test x$gcc_no_link = xyes; then
46001 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46004 /* end confdefs.h. */
46005 #include <stdlib.h>
46006 #include <iconv.h>
46008 main ()
46010 iconv_t cd = iconv_open("","");
46011 iconv(cd,NULL,NULL,NULL,NULL);
46012 iconv_close(cd);
46014 return 0;
46016 _ACEOF
46017 if ac_fn_c_try_link "$LINENO"; then :
46018 am_cv_lib_iconv=yes
46019 am_cv_func_iconv=yes
46021 rm -f core conftest.err conftest.$ac_objext \
46022 conftest$ac_exeext conftest.$ac_ext
46023 LIBS="$am_save_LIBS"
46027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
46028 $as_echo "$am_cv_func_iconv" >&6; }
46029 if test "$am_cv_func_iconv" = yes; then
46031 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
46034 if test "$am_cv_lib_iconv" = yes; then
46035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
46036 $as_echo_n "checking how to link with libiconv... " >&6; }
46037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
46038 $as_echo "$LIBICONV" >&6; }
46039 else
46040 CPPFLAGS="$am_save_CPPFLAGS"
46041 LIBICONV=
46042 LTLIBICONV=
46047 if test "$am_cv_func_iconv" = yes; then
46048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
46049 $as_echo_n "checking for iconv declaration... " >&6; }
46050 if test "${am_cv_proto_iconv+set}" = set; then :
46051 $as_echo_n "(cached) " >&6
46052 else
46054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46055 /* end confdefs.h. */
46057 #include <stdlib.h>
46058 #include <iconv.h>
46059 extern
46060 #ifdef __cplusplus
46062 #endif
46063 #if defined(__STDC__) || defined(__cplusplus)
46064 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
46065 #else
46066 size_t iconv();
46067 #endif
46070 main ()
46074 return 0;
46076 _ACEOF
46077 if ac_fn_c_try_compile "$LINENO"; then :
46078 am_cv_proto_iconv_arg1=""
46079 else
46080 am_cv_proto_iconv_arg1="const"
46082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46083 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);"
46086 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
46087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
46088 }$am_cv_proto_iconv" >&5
46089 $as_echo "${ac_t:-
46090 }$am_cv_proto_iconv" >&6; }
46092 cat >>confdefs.h <<_ACEOF
46093 #define ICONV_CONST $am_cv_proto_iconv_arg1
46094 _ACEOF
46100 *-darwin*)
46101 # Darwin versions vary, but the linker should work in a cross environment,
46102 # so we just check for all the features here.
46103 # Check for available headers.
46105 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
46107 ac_test_CXXFLAGS="${CXXFLAGS+set}"
46108 ac_save_CXXFLAGS="$CXXFLAGS"
46109 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
46111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
46112 $as_echo_n "checking for sin in -lm... " >&6; }
46113 if test "${ac_cv_lib_m_sin+set}" = set; then :
46114 $as_echo_n "(cached) " >&6
46115 else
46116 ac_check_lib_save_LIBS=$LIBS
46117 LIBS="-lm $LIBS"
46118 if test x$gcc_no_link = xyes; then
46119 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46122 /* end confdefs.h. */
46124 /* Override any GCC internal prototype to avoid an error.
46125 Use char because int might match the return type of a GCC
46126 builtin and then its argument prototype would still apply. */
46127 #ifdef __cplusplus
46128 extern "C"
46129 #endif
46130 char sin ();
46132 main ()
46134 return sin ();
46136 return 0;
46138 _ACEOF
46139 if ac_fn_c_try_link "$LINENO"; then :
46140 ac_cv_lib_m_sin=yes
46141 else
46142 ac_cv_lib_m_sin=no
46144 rm -f core conftest.err conftest.$ac_objext \
46145 conftest$ac_exeext conftest.$ac_ext
46146 LIBS=$ac_check_lib_save_LIBS
46148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
46149 $as_echo "$ac_cv_lib_m_sin" >&6; }
46150 if test "x$ac_cv_lib_m_sin" = x""yes; then :
46151 libm="-lm"
46154 ac_save_LIBS="$LIBS"
46155 LIBS="$LIBS $libm"
46159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
46160 $as_echo_n "checking for isinf declaration... " >&6; }
46161 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
46162 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
46163 $as_echo_n "(cached) " >&6
46164 else
46167 ac_ext=cpp
46168 ac_cpp='$CXXCPP $CPPFLAGS'
46169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46174 /* end confdefs.h. */
46175 #include <math.h>
46176 #ifdef HAVE_IEEEFP_H
46177 #include <ieeefp.h>
46178 #endif
46181 main ()
46183 isinf(0);
46185 return 0;
46187 _ACEOF
46188 if ac_fn_cxx_try_compile "$LINENO"; then :
46189 glibcxx_cv_func_isinf_use=yes
46190 else
46191 glibcxx_cv_func_isinf_use=no
46193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46194 ac_ext=c
46195 ac_cpp='$CPP $CPPFLAGS'
46196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
46205 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
46207 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
46208 for ac_func in isinf
46209 do :
46210 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
46211 if test "x$ac_cv_func_isinf" = x""yes; then :
46212 cat >>confdefs.h <<_ACEOF
46213 #define HAVE_ISINF 1
46214 _ACEOF
46217 done
46219 else
46221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
46222 $as_echo_n "checking for _isinf declaration... " >&6; }
46223 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
46224 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
46225 $as_echo_n "(cached) " >&6
46226 else
46229 ac_ext=cpp
46230 ac_cpp='$CXXCPP $CPPFLAGS'
46231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46236 /* end confdefs.h. */
46237 #include <math.h>
46238 #ifdef HAVE_IEEEFP_H
46239 #include <ieeefp.h>
46240 #endif
46243 main ()
46245 _isinf(0);
46247 return 0;
46249 _ACEOF
46250 if ac_fn_cxx_try_compile "$LINENO"; then :
46251 glibcxx_cv_func__isinf_use=yes
46252 else
46253 glibcxx_cv_func__isinf_use=no
46255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46256 ac_ext=c
46257 ac_cpp='$CPP $CPPFLAGS'
46258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
46267 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
46269 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
46270 for ac_func in _isinf
46271 do :
46272 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
46273 if test "x$ac_cv_func__isinf" = x""yes; then :
46274 cat >>confdefs.h <<_ACEOF
46275 #define HAVE__ISINF 1
46276 _ACEOF
46279 done
46288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
46289 $as_echo_n "checking for isnan declaration... " >&6; }
46290 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
46291 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
46292 $as_echo_n "(cached) " >&6
46293 else
46296 ac_ext=cpp
46297 ac_cpp='$CXXCPP $CPPFLAGS'
46298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46303 /* end confdefs.h. */
46304 #include <math.h>
46305 #ifdef HAVE_IEEEFP_H
46306 #include <ieeefp.h>
46307 #endif
46310 main ()
46312 isnan(0);
46314 return 0;
46316 _ACEOF
46317 if ac_fn_cxx_try_compile "$LINENO"; then :
46318 glibcxx_cv_func_isnan_use=yes
46319 else
46320 glibcxx_cv_func_isnan_use=no
46322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46323 ac_ext=c
46324 ac_cpp='$CPP $CPPFLAGS'
46325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
46334 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
46336 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
46337 for ac_func in isnan
46338 do :
46339 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
46340 if test "x$ac_cv_func_isnan" = x""yes; then :
46341 cat >>confdefs.h <<_ACEOF
46342 #define HAVE_ISNAN 1
46343 _ACEOF
46346 done
46348 else
46350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
46351 $as_echo_n "checking for _isnan declaration... " >&6; }
46352 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
46353 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
46354 $as_echo_n "(cached) " >&6
46355 else
46358 ac_ext=cpp
46359 ac_cpp='$CXXCPP $CPPFLAGS'
46360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46365 /* end confdefs.h. */
46366 #include <math.h>
46367 #ifdef HAVE_IEEEFP_H
46368 #include <ieeefp.h>
46369 #endif
46372 main ()
46374 _isnan(0);
46376 return 0;
46378 _ACEOF
46379 if ac_fn_cxx_try_compile "$LINENO"; then :
46380 glibcxx_cv_func__isnan_use=yes
46381 else
46382 glibcxx_cv_func__isnan_use=no
46384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46385 ac_ext=c
46386 ac_cpp='$CPP $CPPFLAGS'
46387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
46396 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
46398 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
46399 for ac_func in _isnan
46400 do :
46401 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
46402 if test "x$ac_cv_func__isnan" = x""yes; then :
46403 cat >>confdefs.h <<_ACEOF
46404 #define HAVE__ISNAN 1
46405 _ACEOF
46408 done
46417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
46418 $as_echo_n "checking for finite declaration... " >&6; }
46419 if test x${glibcxx_cv_func_finite_use+set} != xset; then
46420 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
46421 $as_echo_n "(cached) " >&6
46422 else
46425 ac_ext=cpp
46426 ac_cpp='$CXXCPP $CPPFLAGS'
46427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46432 /* end confdefs.h. */
46433 #include <math.h>
46434 #ifdef HAVE_IEEEFP_H
46435 #include <ieeefp.h>
46436 #endif
46439 main ()
46441 finite(0);
46443 return 0;
46445 _ACEOF
46446 if ac_fn_cxx_try_compile "$LINENO"; then :
46447 glibcxx_cv_func_finite_use=yes
46448 else
46449 glibcxx_cv_func_finite_use=no
46451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46452 ac_ext=c
46453 ac_cpp='$CPP $CPPFLAGS'
46454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
46463 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
46465 if test x$glibcxx_cv_func_finite_use = x"yes"; then
46466 for ac_func in finite
46467 do :
46468 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
46469 if test "x$ac_cv_func_finite" = x""yes; then :
46470 cat >>confdefs.h <<_ACEOF
46471 #define HAVE_FINITE 1
46472 _ACEOF
46475 done
46477 else
46479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
46480 $as_echo_n "checking for _finite declaration... " >&6; }
46481 if test x${glibcxx_cv_func__finite_use+set} != xset; then
46482 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
46483 $as_echo_n "(cached) " >&6
46484 else
46487 ac_ext=cpp
46488 ac_cpp='$CXXCPP $CPPFLAGS'
46489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46494 /* end confdefs.h. */
46495 #include <math.h>
46496 #ifdef HAVE_IEEEFP_H
46497 #include <ieeefp.h>
46498 #endif
46501 main ()
46503 _finite(0);
46505 return 0;
46507 _ACEOF
46508 if ac_fn_cxx_try_compile "$LINENO"; then :
46509 glibcxx_cv_func__finite_use=yes
46510 else
46511 glibcxx_cv_func__finite_use=no
46513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46514 ac_ext=c
46515 ac_cpp='$CPP $CPPFLAGS'
46516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
46525 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
46527 if test x$glibcxx_cv_func__finite_use = x"yes"; then
46528 for ac_func in _finite
46529 do :
46530 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
46531 if test "x$ac_cv_func__finite" = x""yes; then :
46532 cat >>confdefs.h <<_ACEOF
46533 #define HAVE__FINITE 1
46534 _ACEOF
46537 done
46546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
46547 $as_echo_n "checking for sincos declaration... " >&6; }
46548 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
46549 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
46550 $as_echo_n "(cached) " >&6
46551 else
46554 ac_ext=cpp
46555 ac_cpp='$CXXCPP $CPPFLAGS'
46556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46561 /* end confdefs.h. */
46562 #include <math.h>
46564 main ()
46566 sincos(0, 0, 0);
46568 return 0;
46570 _ACEOF
46571 if ac_fn_cxx_try_compile "$LINENO"; then :
46572 glibcxx_cv_func_sincos_use=yes
46573 else
46574 glibcxx_cv_func_sincos_use=no
46576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46577 ac_ext=c
46578 ac_cpp='$CPP $CPPFLAGS'
46579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
46588 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
46590 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
46591 for ac_func in sincos
46592 do :
46593 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
46594 if test "x$ac_cv_func_sincos" = x""yes; then :
46595 cat >>confdefs.h <<_ACEOF
46596 #define HAVE_SINCOS 1
46597 _ACEOF
46600 done
46602 else
46604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
46605 $as_echo_n "checking for _sincos declaration... " >&6; }
46606 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
46607 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
46608 $as_echo_n "(cached) " >&6
46609 else
46612 ac_ext=cpp
46613 ac_cpp='$CXXCPP $CPPFLAGS'
46614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46619 /* end confdefs.h. */
46620 #include <math.h>
46622 main ()
46624 _sincos(0, 0, 0);
46626 return 0;
46628 _ACEOF
46629 if ac_fn_cxx_try_compile "$LINENO"; then :
46630 glibcxx_cv_func__sincos_use=yes
46631 else
46632 glibcxx_cv_func__sincos_use=no
46634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46635 ac_ext=c
46636 ac_cpp='$CPP $CPPFLAGS'
46637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
46646 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
46648 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
46649 for ac_func in _sincos
46650 do :
46651 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
46652 if test "x$ac_cv_func__sincos" = x""yes; then :
46653 cat >>confdefs.h <<_ACEOF
46654 #define HAVE__SINCOS 1
46655 _ACEOF
46658 done
46667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
46668 $as_echo_n "checking for fpclass declaration... " >&6; }
46669 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
46670 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
46671 $as_echo_n "(cached) " >&6
46672 else
46675 ac_ext=cpp
46676 ac_cpp='$CXXCPP $CPPFLAGS'
46677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46682 /* end confdefs.h. */
46683 #include <math.h>
46684 #ifdef HAVE_IEEEFP_H
46685 #include <ieeefp.h>
46686 #endif
46689 main ()
46691 fpclass(0);
46693 return 0;
46695 _ACEOF
46696 if ac_fn_cxx_try_compile "$LINENO"; then :
46697 glibcxx_cv_func_fpclass_use=yes
46698 else
46699 glibcxx_cv_func_fpclass_use=no
46701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46702 ac_ext=c
46703 ac_cpp='$CPP $CPPFLAGS'
46704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
46713 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
46715 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
46716 for ac_func in fpclass
46717 do :
46718 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
46719 if test "x$ac_cv_func_fpclass" = x""yes; then :
46720 cat >>confdefs.h <<_ACEOF
46721 #define HAVE_FPCLASS 1
46722 _ACEOF
46725 done
46727 else
46729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
46730 $as_echo_n "checking for _fpclass declaration... " >&6; }
46731 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
46732 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
46733 $as_echo_n "(cached) " >&6
46734 else
46737 ac_ext=cpp
46738 ac_cpp='$CXXCPP $CPPFLAGS'
46739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46744 /* end confdefs.h. */
46745 #include <math.h>
46746 #ifdef HAVE_IEEEFP_H
46747 #include <ieeefp.h>
46748 #endif
46751 main ()
46753 _fpclass(0);
46755 return 0;
46757 _ACEOF
46758 if ac_fn_cxx_try_compile "$LINENO"; then :
46759 glibcxx_cv_func__fpclass_use=yes
46760 else
46761 glibcxx_cv_func__fpclass_use=no
46763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46764 ac_ext=c
46765 ac_cpp='$CPP $CPPFLAGS'
46766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
46775 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
46777 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
46778 for ac_func in _fpclass
46779 do :
46780 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
46781 if test "x$ac_cv_func__fpclass" = x""yes; then :
46782 cat >>confdefs.h <<_ACEOF
46783 #define HAVE__FPCLASS 1
46784 _ACEOF
46787 done
46796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
46797 $as_echo_n "checking for qfpclass declaration... " >&6; }
46798 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
46799 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
46800 $as_echo_n "(cached) " >&6
46801 else
46804 ac_ext=cpp
46805 ac_cpp='$CXXCPP $CPPFLAGS'
46806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46811 /* end confdefs.h. */
46812 #include <math.h>
46813 #ifdef HAVE_IEEEFP_H
46814 #include <ieeefp.h>
46815 #endif
46818 main ()
46820 qfpclass(0);
46822 return 0;
46824 _ACEOF
46825 if ac_fn_cxx_try_compile "$LINENO"; then :
46826 glibcxx_cv_func_qfpclass_use=yes
46827 else
46828 glibcxx_cv_func_qfpclass_use=no
46830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46831 ac_ext=c
46832 ac_cpp='$CPP $CPPFLAGS'
46833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
46842 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
46844 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
46845 for ac_func in qfpclass
46846 do :
46847 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
46848 if test "x$ac_cv_func_qfpclass" = x""yes; then :
46849 cat >>confdefs.h <<_ACEOF
46850 #define HAVE_QFPCLASS 1
46851 _ACEOF
46854 done
46856 else
46858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
46859 $as_echo_n "checking for _qfpclass declaration... " >&6; }
46860 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
46861 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
46862 $as_echo_n "(cached) " >&6
46863 else
46866 ac_ext=cpp
46867 ac_cpp='$CXXCPP $CPPFLAGS'
46868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46873 /* end confdefs.h. */
46874 #include <math.h>
46875 #ifdef HAVE_IEEEFP_H
46876 #include <ieeefp.h>
46877 #endif
46880 main ()
46882 _qfpclass(0);
46884 return 0;
46886 _ACEOF
46887 if ac_fn_cxx_try_compile "$LINENO"; then :
46888 glibcxx_cv_func__qfpclass_use=yes
46889 else
46890 glibcxx_cv_func__qfpclass_use=no
46892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46893 ac_ext=c
46894 ac_cpp='$CPP $CPPFLAGS'
46895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
46904 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
46906 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
46907 for ac_func in _qfpclass
46908 do :
46909 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
46910 if test "x$ac_cv_func__qfpclass" = x""yes; then :
46911 cat >>confdefs.h <<_ACEOF
46912 #define HAVE__QFPCLASS 1
46913 _ACEOF
46916 done
46925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
46926 $as_echo_n "checking for hypot declaration... " >&6; }
46927 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
46928 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
46929 $as_echo_n "(cached) " >&6
46930 else
46933 ac_ext=cpp
46934 ac_cpp='$CXXCPP $CPPFLAGS'
46935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46940 /* end confdefs.h. */
46941 #include <math.h>
46943 main ()
46945 hypot(0, 0);
46947 return 0;
46949 _ACEOF
46950 if ac_fn_cxx_try_compile "$LINENO"; then :
46951 glibcxx_cv_func_hypot_use=yes
46952 else
46953 glibcxx_cv_func_hypot_use=no
46955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46956 ac_ext=c
46957 ac_cpp='$CPP $CPPFLAGS'
46958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
46967 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
46969 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
46970 for ac_func in hypot
46971 do :
46972 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
46973 if test "x$ac_cv_func_hypot" = x""yes; then :
46974 cat >>confdefs.h <<_ACEOF
46975 #define HAVE_HYPOT 1
46976 _ACEOF
46979 done
46981 else
46983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
46984 $as_echo_n "checking for _hypot declaration... " >&6; }
46985 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
46986 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
46987 $as_echo_n "(cached) " >&6
46988 else
46991 ac_ext=cpp
46992 ac_cpp='$CXXCPP $CPPFLAGS'
46993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46998 /* end confdefs.h. */
46999 #include <math.h>
47001 main ()
47003 _hypot(0, 0);
47005 return 0;
47007 _ACEOF
47008 if ac_fn_cxx_try_compile "$LINENO"; then :
47009 glibcxx_cv_func__hypot_use=yes
47010 else
47011 glibcxx_cv_func__hypot_use=no
47013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47014 ac_ext=c
47015 ac_cpp='$CPP $CPPFLAGS'
47016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
47025 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
47027 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
47028 for ac_func in _hypot
47029 do :
47030 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
47031 if test "x$ac_cv_func__hypot" = x""yes; then :
47032 cat >>confdefs.h <<_ACEOF
47033 #define HAVE__HYPOT 1
47034 _ACEOF
47037 done
47046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
47047 $as_echo_n "checking for float trig functions... " >&6; }
47048 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
47049 $as_echo_n "(cached) " >&6
47050 else
47053 ac_ext=cpp
47054 ac_cpp='$CXXCPP $CPPFLAGS'
47055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47060 /* end confdefs.h. */
47061 #include <math.h>
47063 main ()
47065 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
47067 return 0;
47069 _ACEOF
47070 if ac_fn_cxx_try_compile "$LINENO"; then :
47071 glibcxx_cv_func_float_trig_use=yes
47072 else
47073 glibcxx_cv_func_float_trig_use=no
47075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47076 ac_ext=c
47077 ac_cpp='$CPP $CPPFLAGS'
47078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
47085 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
47086 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
47087 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
47088 do :
47089 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47090 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47091 eval as_val=\$$as_ac_var
47092 if test "x$as_val" = x""yes; then :
47093 cat >>confdefs.h <<_ACEOF
47094 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47095 _ACEOF
47098 done
47100 else
47101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
47102 $as_echo_n "checking for _float trig functions... " >&6; }
47103 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
47104 $as_echo_n "(cached) " >&6
47105 else
47108 ac_ext=cpp
47109 ac_cpp='$CXXCPP $CPPFLAGS'
47110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47115 /* end confdefs.h. */
47116 #include <math.h>
47118 main ()
47120 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
47122 return 0;
47124 _ACEOF
47125 if ac_fn_cxx_try_compile "$LINENO"; then :
47126 glibcxx_cv_func__float_trig_use=yes
47127 else
47128 glibcxx_cv_func__float_trig_use=no
47130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47131 ac_ext=c
47132 ac_cpp='$CPP $CPPFLAGS'
47133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
47140 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
47141 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
47142 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
47143 do :
47144 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47145 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47146 eval as_val=\$$as_ac_var
47147 if test "x$as_val" = x""yes; then :
47148 cat >>confdefs.h <<_ACEOF
47149 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47150 _ACEOF
47153 done
47162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
47163 $as_echo_n "checking for float round functions... " >&6; }
47164 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
47165 $as_echo_n "(cached) " >&6
47166 else
47169 ac_ext=cpp
47170 ac_cpp='$CXXCPP $CPPFLAGS'
47171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47176 /* end confdefs.h. */
47177 #include <math.h>
47179 main ()
47181 ceilf (0); floorf (0);
47183 return 0;
47185 _ACEOF
47186 if ac_fn_cxx_try_compile "$LINENO"; then :
47187 glibcxx_cv_func_float_round_use=yes
47188 else
47189 glibcxx_cv_func_float_round_use=no
47191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47192 ac_ext=c
47193 ac_cpp='$CPP $CPPFLAGS'
47194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
47201 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
47202 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
47203 for ac_func in ceilf floorf
47204 do :
47205 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47206 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47207 eval as_val=\$$as_ac_var
47208 if test "x$as_val" = x""yes; then :
47209 cat >>confdefs.h <<_ACEOF
47210 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47211 _ACEOF
47214 done
47216 else
47217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
47218 $as_echo_n "checking for _float round functions... " >&6; }
47219 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
47220 $as_echo_n "(cached) " >&6
47221 else
47224 ac_ext=cpp
47225 ac_cpp='$CXXCPP $CPPFLAGS'
47226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47231 /* end confdefs.h. */
47232 #include <math.h>
47234 main ()
47236 _ceilf (0); _floorf (0);
47238 return 0;
47240 _ACEOF
47241 if ac_fn_cxx_try_compile "$LINENO"; then :
47242 glibcxx_cv_func__float_round_use=yes
47243 else
47244 glibcxx_cv_func__float_round_use=no
47246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47247 ac_ext=c
47248 ac_cpp='$CPP $CPPFLAGS'
47249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
47256 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
47257 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
47258 for ac_func in _ceilf _floorf
47259 do :
47260 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47261 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47262 eval as_val=\$$as_ac_var
47263 if test "x$as_val" = x""yes; then :
47264 cat >>confdefs.h <<_ACEOF
47265 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47266 _ACEOF
47269 done
47279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
47280 $as_echo_n "checking for expf declaration... " >&6; }
47281 if test x${glibcxx_cv_func_expf_use+set} != xset; then
47282 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
47283 $as_echo_n "(cached) " >&6
47284 else
47287 ac_ext=cpp
47288 ac_cpp='$CXXCPP $CPPFLAGS'
47289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47294 /* end confdefs.h. */
47295 #include <math.h>
47296 #ifdef HAVE_IEEEFP_H
47297 #include <ieeefp.h>
47298 #endif
47301 main ()
47303 expf(0);
47305 return 0;
47307 _ACEOF
47308 if ac_fn_cxx_try_compile "$LINENO"; then :
47309 glibcxx_cv_func_expf_use=yes
47310 else
47311 glibcxx_cv_func_expf_use=no
47313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47314 ac_ext=c
47315 ac_cpp='$CPP $CPPFLAGS'
47316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
47325 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
47327 if test x$glibcxx_cv_func_expf_use = x"yes"; then
47328 for ac_func in expf
47329 do :
47330 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
47331 if test "x$ac_cv_func_expf" = x""yes; then :
47332 cat >>confdefs.h <<_ACEOF
47333 #define HAVE_EXPF 1
47334 _ACEOF
47337 done
47339 else
47341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
47342 $as_echo_n "checking for _expf declaration... " >&6; }
47343 if test x${glibcxx_cv_func__expf_use+set} != xset; then
47344 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
47345 $as_echo_n "(cached) " >&6
47346 else
47349 ac_ext=cpp
47350 ac_cpp='$CXXCPP $CPPFLAGS'
47351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47356 /* end confdefs.h. */
47357 #include <math.h>
47358 #ifdef HAVE_IEEEFP_H
47359 #include <ieeefp.h>
47360 #endif
47363 main ()
47365 _expf(0);
47367 return 0;
47369 _ACEOF
47370 if ac_fn_cxx_try_compile "$LINENO"; then :
47371 glibcxx_cv_func__expf_use=yes
47372 else
47373 glibcxx_cv_func__expf_use=no
47375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47376 ac_ext=c
47377 ac_cpp='$CPP $CPPFLAGS'
47378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
47387 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
47389 if test x$glibcxx_cv_func__expf_use = x"yes"; then
47390 for ac_func in _expf
47391 do :
47392 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
47393 if test "x$ac_cv_func__expf" = x""yes; then :
47394 cat >>confdefs.h <<_ACEOF
47395 #define HAVE__EXPF 1
47396 _ACEOF
47399 done
47408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
47409 $as_echo_n "checking for isnanf declaration... " >&6; }
47410 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
47411 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
47412 $as_echo_n "(cached) " >&6
47413 else
47416 ac_ext=cpp
47417 ac_cpp='$CXXCPP $CPPFLAGS'
47418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47423 /* end confdefs.h. */
47424 #include <math.h>
47425 #ifdef HAVE_IEEEFP_H
47426 #include <ieeefp.h>
47427 #endif
47430 main ()
47432 isnanf(0);
47434 return 0;
47436 _ACEOF
47437 if ac_fn_cxx_try_compile "$LINENO"; then :
47438 glibcxx_cv_func_isnanf_use=yes
47439 else
47440 glibcxx_cv_func_isnanf_use=no
47442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47443 ac_ext=c
47444 ac_cpp='$CPP $CPPFLAGS'
47445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
47454 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
47456 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
47457 for ac_func in isnanf
47458 do :
47459 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
47460 if test "x$ac_cv_func_isnanf" = x""yes; then :
47461 cat >>confdefs.h <<_ACEOF
47462 #define HAVE_ISNANF 1
47463 _ACEOF
47466 done
47468 else
47470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
47471 $as_echo_n "checking for _isnanf declaration... " >&6; }
47472 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
47473 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
47474 $as_echo_n "(cached) " >&6
47475 else
47478 ac_ext=cpp
47479 ac_cpp='$CXXCPP $CPPFLAGS'
47480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47485 /* end confdefs.h. */
47486 #include <math.h>
47487 #ifdef HAVE_IEEEFP_H
47488 #include <ieeefp.h>
47489 #endif
47492 main ()
47494 _isnanf(0);
47496 return 0;
47498 _ACEOF
47499 if ac_fn_cxx_try_compile "$LINENO"; then :
47500 glibcxx_cv_func__isnanf_use=yes
47501 else
47502 glibcxx_cv_func__isnanf_use=no
47504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47505 ac_ext=c
47506 ac_cpp='$CPP $CPPFLAGS'
47507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
47516 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
47518 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
47519 for ac_func in _isnanf
47520 do :
47521 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
47522 if test "x$ac_cv_func__isnanf" = x""yes; then :
47523 cat >>confdefs.h <<_ACEOF
47524 #define HAVE__ISNANF 1
47525 _ACEOF
47528 done
47537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
47538 $as_echo_n "checking for isinff declaration... " >&6; }
47539 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
47540 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
47541 $as_echo_n "(cached) " >&6
47542 else
47545 ac_ext=cpp
47546 ac_cpp='$CXXCPP $CPPFLAGS'
47547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47552 /* end confdefs.h. */
47553 #include <math.h>
47554 #ifdef HAVE_IEEEFP_H
47555 #include <ieeefp.h>
47556 #endif
47559 main ()
47561 isinff(0);
47563 return 0;
47565 _ACEOF
47566 if ac_fn_cxx_try_compile "$LINENO"; then :
47567 glibcxx_cv_func_isinff_use=yes
47568 else
47569 glibcxx_cv_func_isinff_use=no
47571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47572 ac_ext=c
47573 ac_cpp='$CPP $CPPFLAGS'
47574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
47583 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
47585 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
47586 for ac_func in isinff
47587 do :
47588 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
47589 if test "x$ac_cv_func_isinff" = x""yes; then :
47590 cat >>confdefs.h <<_ACEOF
47591 #define HAVE_ISINFF 1
47592 _ACEOF
47595 done
47597 else
47599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
47600 $as_echo_n "checking for _isinff declaration... " >&6; }
47601 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
47602 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
47603 $as_echo_n "(cached) " >&6
47604 else
47607 ac_ext=cpp
47608 ac_cpp='$CXXCPP $CPPFLAGS'
47609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47614 /* end confdefs.h. */
47615 #include <math.h>
47616 #ifdef HAVE_IEEEFP_H
47617 #include <ieeefp.h>
47618 #endif
47621 main ()
47623 _isinff(0);
47625 return 0;
47627 _ACEOF
47628 if ac_fn_cxx_try_compile "$LINENO"; then :
47629 glibcxx_cv_func__isinff_use=yes
47630 else
47631 glibcxx_cv_func__isinff_use=no
47633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47634 ac_ext=c
47635 ac_cpp='$CPP $CPPFLAGS'
47636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
47645 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
47647 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
47648 for ac_func in _isinff
47649 do :
47650 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
47651 if test "x$ac_cv_func__isinff" = x""yes; then :
47652 cat >>confdefs.h <<_ACEOF
47653 #define HAVE__ISINFF 1
47654 _ACEOF
47657 done
47666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
47667 $as_echo_n "checking for atan2f declaration... " >&6; }
47668 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
47669 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
47670 $as_echo_n "(cached) " >&6
47671 else
47674 ac_ext=cpp
47675 ac_cpp='$CXXCPP $CPPFLAGS'
47676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47681 /* end confdefs.h. */
47682 #include <math.h>
47684 main ()
47686 atan2f(0, 0);
47688 return 0;
47690 _ACEOF
47691 if ac_fn_cxx_try_compile "$LINENO"; then :
47692 glibcxx_cv_func_atan2f_use=yes
47693 else
47694 glibcxx_cv_func_atan2f_use=no
47696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47697 ac_ext=c
47698 ac_cpp='$CPP $CPPFLAGS'
47699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
47708 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
47710 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
47711 for ac_func in atan2f
47712 do :
47713 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
47714 if test "x$ac_cv_func_atan2f" = x""yes; then :
47715 cat >>confdefs.h <<_ACEOF
47716 #define HAVE_ATAN2F 1
47717 _ACEOF
47720 done
47722 else
47724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
47725 $as_echo_n "checking for _atan2f declaration... " >&6; }
47726 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
47727 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
47728 $as_echo_n "(cached) " >&6
47729 else
47732 ac_ext=cpp
47733 ac_cpp='$CXXCPP $CPPFLAGS'
47734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47739 /* end confdefs.h. */
47740 #include <math.h>
47742 main ()
47744 _atan2f(0, 0);
47746 return 0;
47748 _ACEOF
47749 if ac_fn_cxx_try_compile "$LINENO"; then :
47750 glibcxx_cv_func__atan2f_use=yes
47751 else
47752 glibcxx_cv_func__atan2f_use=no
47754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47755 ac_ext=c
47756 ac_cpp='$CPP $CPPFLAGS'
47757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
47766 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
47768 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
47769 for ac_func in _atan2f
47770 do :
47771 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
47772 if test "x$ac_cv_func__atan2f" = x""yes; then :
47773 cat >>confdefs.h <<_ACEOF
47774 #define HAVE__ATAN2F 1
47775 _ACEOF
47778 done
47787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
47788 $as_echo_n "checking for fabsf declaration... " >&6; }
47789 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
47790 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
47791 $as_echo_n "(cached) " >&6
47792 else
47795 ac_ext=cpp
47796 ac_cpp='$CXXCPP $CPPFLAGS'
47797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47802 /* end confdefs.h. */
47803 #include <math.h>
47804 #ifdef HAVE_IEEEFP_H
47805 #include <ieeefp.h>
47806 #endif
47809 main ()
47811 fabsf(0);
47813 return 0;
47815 _ACEOF
47816 if ac_fn_cxx_try_compile "$LINENO"; then :
47817 glibcxx_cv_func_fabsf_use=yes
47818 else
47819 glibcxx_cv_func_fabsf_use=no
47821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47822 ac_ext=c
47823 ac_cpp='$CPP $CPPFLAGS'
47824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
47833 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
47835 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
47836 for ac_func in fabsf
47837 do :
47838 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
47839 if test "x$ac_cv_func_fabsf" = x""yes; then :
47840 cat >>confdefs.h <<_ACEOF
47841 #define HAVE_FABSF 1
47842 _ACEOF
47845 done
47847 else
47849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
47850 $as_echo_n "checking for _fabsf declaration... " >&6; }
47851 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
47852 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
47853 $as_echo_n "(cached) " >&6
47854 else
47857 ac_ext=cpp
47858 ac_cpp='$CXXCPP $CPPFLAGS'
47859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47864 /* end confdefs.h. */
47865 #include <math.h>
47866 #ifdef HAVE_IEEEFP_H
47867 #include <ieeefp.h>
47868 #endif
47871 main ()
47873 _fabsf(0);
47875 return 0;
47877 _ACEOF
47878 if ac_fn_cxx_try_compile "$LINENO"; then :
47879 glibcxx_cv_func__fabsf_use=yes
47880 else
47881 glibcxx_cv_func__fabsf_use=no
47883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47884 ac_ext=c
47885 ac_cpp='$CPP $CPPFLAGS'
47886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
47895 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
47897 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
47898 for ac_func in _fabsf
47899 do :
47900 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
47901 if test "x$ac_cv_func__fabsf" = x""yes; then :
47902 cat >>confdefs.h <<_ACEOF
47903 #define HAVE__FABSF 1
47904 _ACEOF
47907 done
47916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
47917 $as_echo_n "checking for fmodf declaration... " >&6; }
47918 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
47919 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
47920 $as_echo_n "(cached) " >&6
47921 else
47924 ac_ext=cpp
47925 ac_cpp='$CXXCPP $CPPFLAGS'
47926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47931 /* end confdefs.h. */
47932 #include <math.h>
47934 main ()
47936 fmodf(0, 0);
47938 return 0;
47940 _ACEOF
47941 if ac_fn_cxx_try_compile "$LINENO"; then :
47942 glibcxx_cv_func_fmodf_use=yes
47943 else
47944 glibcxx_cv_func_fmodf_use=no
47946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47947 ac_ext=c
47948 ac_cpp='$CPP $CPPFLAGS'
47949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
47958 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
47960 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
47961 for ac_func in fmodf
47962 do :
47963 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
47964 if test "x$ac_cv_func_fmodf" = x""yes; then :
47965 cat >>confdefs.h <<_ACEOF
47966 #define HAVE_FMODF 1
47967 _ACEOF
47970 done
47972 else
47974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
47975 $as_echo_n "checking for _fmodf declaration... " >&6; }
47976 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
47977 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
47978 $as_echo_n "(cached) " >&6
47979 else
47982 ac_ext=cpp
47983 ac_cpp='$CXXCPP $CPPFLAGS'
47984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47989 /* end confdefs.h. */
47990 #include <math.h>
47992 main ()
47994 _fmodf(0, 0);
47996 return 0;
47998 _ACEOF
47999 if ac_fn_cxx_try_compile "$LINENO"; then :
48000 glibcxx_cv_func__fmodf_use=yes
48001 else
48002 glibcxx_cv_func__fmodf_use=no
48004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48005 ac_ext=c
48006 ac_cpp='$CPP $CPPFLAGS'
48007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
48016 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
48018 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
48019 for ac_func in _fmodf
48020 do :
48021 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
48022 if test "x$ac_cv_func__fmodf" = x""yes; then :
48023 cat >>confdefs.h <<_ACEOF
48024 #define HAVE__FMODF 1
48025 _ACEOF
48028 done
48037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
48038 $as_echo_n "checking for frexpf declaration... " >&6; }
48039 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
48040 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
48041 $as_echo_n "(cached) " >&6
48042 else
48045 ac_ext=cpp
48046 ac_cpp='$CXXCPP $CPPFLAGS'
48047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48052 /* end confdefs.h. */
48053 #include <math.h>
48055 main ()
48057 frexpf(0, 0);
48059 return 0;
48061 _ACEOF
48062 if ac_fn_cxx_try_compile "$LINENO"; then :
48063 glibcxx_cv_func_frexpf_use=yes
48064 else
48065 glibcxx_cv_func_frexpf_use=no
48067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48068 ac_ext=c
48069 ac_cpp='$CPP $CPPFLAGS'
48070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
48079 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
48081 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
48082 for ac_func in frexpf
48083 do :
48084 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
48085 if test "x$ac_cv_func_frexpf" = x""yes; then :
48086 cat >>confdefs.h <<_ACEOF
48087 #define HAVE_FREXPF 1
48088 _ACEOF
48091 done
48093 else
48095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
48096 $as_echo_n "checking for _frexpf declaration... " >&6; }
48097 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
48098 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
48099 $as_echo_n "(cached) " >&6
48100 else
48103 ac_ext=cpp
48104 ac_cpp='$CXXCPP $CPPFLAGS'
48105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48110 /* end confdefs.h. */
48111 #include <math.h>
48113 main ()
48115 _frexpf(0, 0);
48117 return 0;
48119 _ACEOF
48120 if ac_fn_cxx_try_compile "$LINENO"; then :
48121 glibcxx_cv_func__frexpf_use=yes
48122 else
48123 glibcxx_cv_func__frexpf_use=no
48125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48126 ac_ext=c
48127 ac_cpp='$CPP $CPPFLAGS'
48128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
48137 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
48139 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
48140 for ac_func in _frexpf
48141 do :
48142 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
48143 if test "x$ac_cv_func__frexpf" = x""yes; then :
48144 cat >>confdefs.h <<_ACEOF
48145 #define HAVE__FREXPF 1
48146 _ACEOF
48149 done
48158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
48159 $as_echo_n "checking for hypotf declaration... " >&6; }
48160 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
48161 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
48162 $as_echo_n "(cached) " >&6
48163 else
48166 ac_ext=cpp
48167 ac_cpp='$CXXCPP $CPPFLAGS'
48168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48173 /* end confdefs.h. */
48174 #include <math.h>
48176 main ()
48178 hypotf(0, 0);
48180 return 0;
48182 _ACEOF
48183 if ac_fn_cxx_try_compile "$LINENO"; then :
48184 glibcxx_cv_func_hypotf_use=yes
48185 else
48186 glibcxx_cv_func_hypotf_use=no
48188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48189 ac_ext=c
48190 ac_cpp='$CPP $CPPFLAGS'
48191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
48200 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
48202 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
48203 for ac_func in hypotf
48204 do :
48205 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
48206 if test "x$ac_cv_func_hypotf" = x""yes; then :
48207 cat >>confdefs.h <<_ACEOF
48208 #define HAVE_HYPOTF 1
48209 _ACEOF
48212 done
48214 else
48216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
48217 $as_echo_n "checking for _hypotf declaration... " >&6; }
48218 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
48219 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
48220 $as_echo_n "(cached) " >&6
48221 else
48224 ac_ext=cpp
48225 ac_cpp='$CXXCPP $CPPFLAGS'
48226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48231 /* end confdefs.h. */
48232 #include <math.h>
48234 main ()
48236 _hypotf(0, 0);
48238 return 0;
48240 _ACEOF
48241 if ac_fn_cxx_try_compile "$LINENO"; then :
48242 glibcxx_cv_func__hypotf_use=yes
48243 else
48244 glibcxx_cv_func__hypotf_use=no
48246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48247 ac_ext=c
48248 ac_cpp='$CPP $CPPFLAGS'
48249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
48258 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
48260 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
48261 for ac_func in _hypotf
48262 do :
48263 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
48264 if test "x$ac_cv_func__hypotf" = x""yes; then :
48265 cat >>confdefs.h <<_ACEOF
48266 #define HAVE__HYPOTF 1
48267 _ACEOF
48270 done
48279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
48280 $as_echo_n "checking for ldexpf declaration... " >&6; }
48281 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
48282 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
48283 $as_echo_n "(cached) " >&6
48284 else
48287 ac_ext=cpp
48288 ac_cpp='$CXXCPP $CPPFLAGS'
48289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48294 /* end confdefs.h. */
48295 #include <math.h>
48297 main ()
48299 ldexpf(0, 0);
48301 return 0;
48303 _ACEOF
48304 if ac_fn_cxx_try_compile "$LINENO"; then :
48305 glibcxx_cv_func_ldexpf_use=yes
48306 else
48307 glibcxx_cv_func_ldexpf_use=no
48309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48310 ac_ext=c
48311 ac_cpp='$CPP $CPPFLAGS'
48312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
48321 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
48323 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
48324 for ac_func in ldexpf
48325 do :
48326 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
48327 if test "x$ac_cv_func_ldexpf" = x""yes; then :
48328 cat >>confdefs.h <<_ACEOF
48329 #define HAVE_LDEXPF 1
48330 _ACEOF
48333 done
48335 else
48337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
48338 $as_echo_n "checking for _ldexpf declaration... " >&6; }
48339 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
48340 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
48341 $as_echo_n "(cached) " >&6
48342 else
48345 ac_ext=cpp
48346 ac_cpp='$CXXCPP $CPPFLAGS'
48347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48352 /* end confdefs.h. */
48353 #include <math.h>
48355 main ()
48357 _ldexpf(0, 0);
48359 return 0;
48361 _ACEOF
48362 if ac_fn_cxx_try_compile "$LINENO"; then :
48363 glibcxx_cv_func__ldexpf_use=yes
48364 else
48365 glibcxx_cv_func__ldexpf_use=no
48367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48368 ac_ext=c
48369 ac_cpp='$CPP $CPPFLAGS'
48370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
48379 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
48381 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
48382 for ac_func in _ldexpf
48383 do :
48384 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
48385 if test "x$ac_cv_func__ldexpf" = x""yes; then :
48386 cat >>confdefs.h <<_ACEOF
48387 #define HAVE__LDEXPF 1
48388 _ACEOF
48391 done
48400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
48401 $as_echo_n "checking for logf declaration... " >&6; }
48402 if test x${glibcxx_cv_func_logf_use+set} != xset; then
48403 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
48404 $as_echo_n "(cached) " >&6
48405 else
48408 ac_ext=cpp
48409 ac_cpp='$CXXCPP $CPPFLAGS'
48410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48415 /* end confdefs.h. */
48416 #include <math.h>
48417 #ifdef HAVE_IEEEFP_H
48418 #include <ieeefp.h>
48419 #endif
48422 main ()
48424 logf(0);
48426 return 0;
48428 _ACEOF
48429 if ac_fn_cxx_try_compile "$LINENO"; then :
48430 glibcxx_cv_func_logf_use=yes
48431 else
48432 glibcxx_cv_func_logf_use=no
48434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48435 ac_ext=c
48436 ac_cpp='$CPP $CPPFLAGS'
48437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
48446 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
48448 if test x$glibcxx_cv_func_logf_use = x"yes"; then
48449 for ac_func in logf
48450 do :
48451 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
48452 if test "x$ac_cv_func_logf" = x""yes; then :
48453 cat >>confdefs.h <<_ACEOF
48454 #define HAVE_LOGF 1
48455 _ACEOF
48458 done
48460 else
48462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
48463 $as_echo_n "checking for _logf declaration... " >&6; }
48464 if test x${glibcxx_cv_func__logf_use+set} != xset; then
48465 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
48466 $as_echo_n "(cached) " >&6
48467 else
48470 ac_ext=cpp
48471 ac_cpp='$CXXCPP $CPPFLAGS'
48472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48477 /* end confdefs.h. */
48478 #include <math.h>
48479 #ifdef HAVE_IEEEFP_H
48480 #include <ieeefp.h>
48481 #endif
48484 main ()
48486 _logf(0);
48488 return 0;
48490 _ACEOF
48491 if ac_fn_cxx_try_compile "$LINENO"; then :
48492 glibcxx_cv_func__logf_use=yes
48493 else
48494 glibcxx_cv_func__logf_use=no
48496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48497 ac_ext=c
48498 ac_cpp='$CPP $CPPFLAGS'
48499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
48508 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
48510 if test x$glibcxx_cv_func__logf_use = x"yes"; then
48511 for ac_func in _logf
48512 do :
48513 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
48514 if test "x$ac_cv_func__logf" = x""yes; then :
48515 cat >>confdefs.h <<_ACEOF
48516 #define HAVE__LOGF 1
48517 _ACEOF
48520 done
48529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
48530 $as_echo_n "checking for log10f declaration... " >&6; }
48531 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
48532 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
48533 $as_echo_n "(cached) " >&6
48534 else
48537 ac_ext=cpp
48538 ac_cpp='$CXXCPP $CPPFLAGS'
48539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48544 /* end confdefs.h. */
48545 #include <math.h>
48546 #ifdef HAVE_IEEEFP_H
48547 #include <ieeefp.h>
48548 #endif
48551 main ()
48553 log10f(0);
48555 return 0;
48557 _ACEOF
48558 if ac_fn_cxx_try_compile "$LINENO"; then :
48559 glibcxx_cv_func_log10f_use=yes
48560 else
48561 glibcxx_cv_func_log10f_use=no
48563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48564 ac_ext=c
48565 ac_cpp='$CPP $CPPFLAGS'
48566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
48575 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
48577 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
48578 for ac_func in log10f
48579 do :
48580 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
48581 if test "x$ac_cv_func_log10f" = x""yes; then :
48582 cat >>confdefs.h <<_ACEOF
48583 #define HAVE_LOG10F 1
48584 _ACEOF
48587 done
48589 else
48591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
48592 $as_echo_n "checking for _log10f declaration... " >&6; }
48593 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
48594 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
48595 $as_echo_n "(cached) " >&6
48596 else
48599 ac_ext=cpp
48600 ac_cpp='$CXXCPP $CPPFLAGS'
48601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48606 /* end confdefs.h. */
48607 #include <math.h>
48608 #ifdef HAVE_IEEEFP_H
48609 #include <ieeefp.h>
48610 #endif
48613 main ()
48615 _log10f(0);
48617 return 0;
48619 _ACEOF
48620 if ac_fn_cxx_try_compile "$LINENO"; then :
48621 glibcxx_cv_func__log10f_use=yes
48622 else
48623 glibcxx_cv_func__log10f_use=no
48625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48626 ac_ext=c
48627 ac_cpp='$CPP $CPPFLAGS'
48628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
48637 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
48639 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
48640 for ac_func in _log10f
48641 do :
48642 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
48643 if test "x$ac_cv_func__log10f" = x""yes; then :
48644 cat >>confdefs.h <<_ACEOF
48645 #define HAVE__LOG10F 1
48646 _ACEOF
48649 done
48658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
48659 $as_echo_n "checking for modff declaration... " >&6; }
48660 if test x${glibcxx_cv_func_modff_use+set} != xset; then
48661 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
48662 $as_echo_n "(cached) " >&6
48663 else
48666 ac_ext=cpp
48667 ac_cpp='$CXXCPP $CPPFLAGS'
48668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48673 /* end confdefs.h. */
48674 #include <math.h>
48676 main ()
48678 modff(0, 0);
48680 return 0;
48682 _ACEOF
48683 if ac_fn_cxx_try_compile "$LINENO"; then :
48684 glibcxx_cv_func_modff_use=yes
48685 else
48686 glibcxx_cv_func_modff_use=no
48688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48689 ac_ext=c
48690 ac_cpp='$CPP $CPPFLAGS'
48691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
48700 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
48702 if test x$glibcxx_cv_func_modff_use = x"yes"; then
48703 for ac_func in modff
48704 do :
48705 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
48706 if test "x$ac_cv_func_modff" = x""yes; then :
48707 cat >>confdefs.h <<_ACEOF
48708 #define HAVE_MODFF 1
48709 _ACEOF
48712 done
48714 else
48716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
48717 $as_echo_n "checking for _modff declaration... " >&6; }
48718 if test x${glibcxx_cv_func__modff_use+set} != xset; then
48719 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
48720 $as_echo_n "(cached) " >&6
48721 else
48724 ac_ext=cpp
48725 ac_cpp='$CXXCPP $CPPFLAGS'
48726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48731 /* end confdefs.h. */
48732 #include <math.h>
48734 main ()
48736 _modff(0, 0);
48738 return 0;
48740 _ACEOF
48741 if ac_fn_cxx_try_compile "$LINENO"; then :
48742 glibcxx_cv_func__modff_use=yes
48743 else
48744 glibcxx_cv_func__modff_use=no
48746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48747 ac_ext=c
48748 ac_cpp='$CPP $CPPFLAGS'
48749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
48758 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
48760 if test x$glibcxx_cv_func__modff_use = x"yes"; then
48761 for ac_func in _modff
48762 do :
48763 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
48764 if test "x$ac_cv_func__modff" = x""yes; then :
48765 cat >>confdefs.h <<_ACEOF
48766 #define HAVE__MODFF 1
48767 _ACEOF
48770 done
48779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
48780 $as_echo_n "checking for modf declaration... " >&6; }
48781 if test x${glibcxx_cv_func_modf_use+set} != xset; then
48782 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
48783 $as_echo_n "(cached) " >&6
48784 else
48787 ac_ext=cpp
48788 ac_cpp='$CXXCPP $CPPFLAGS'
48789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48794 /* end confdefs.h. */
48795 #include <math.h>
48797 main ()
48799 modf(0, 0);
48801 return 0;
48803 _ACEOF
48804 if ac_fn_cxx_try_compile "$LINENO"; then :
48805 glibcxx_cv_func_modf_use=yes
48806 else
48807 glibcxx_cv_func_modf_use=no
48809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48810 ac_ext=c
48811 ac_cpp='$CPP $CPPFLAGS'
48812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
48821 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
48823 if test x$glibcxx_cv_func_modf_use = x"yes"; then
48824 for ac_func in modf
48825 do :
48826 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
48827 if test "x$ac_cv_func_modf" = x""yes; then :
48828 cat >>confdefs.h <<_ACEOF
48829 #define HAVE_MODF 1
48830 _ACEOF
48833 done
48835 else
48837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
48838 $as_echo_n "checking for _modf declaration... " >&6; }
48839 if test x${glibcxx_cv_func__modf_use+set} != xset; then
48840 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
48841 $as_echo_n "(cached) " >&6
48842 else
48845 ac_ext=cpp
48846 ac_cpp='$CXXCPP $CPPFLAGS'
48847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48852 /* end confdefs.h. */
48853 #include <math.h>
48855 main ()
48857 _modf(0, 0);
48859 return 0;
48861 _ACEOF
48862 if ac_fn_cxx_try_compile "$LINENO"; then :
48863 glibcxx_cv_func__modf_use=yes
48864 else
48865 glibcxx_cv_func__modf_use=no
48867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48868 ac_ext=c
48869 ac_cpp='$CPP $CPPFLAGS'
48870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
48879 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
48881 if test x$glibcxx_cv_func__modf_use = x"yes"; then
48882 for ac_func in _modf
48883 do :
48884 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
48885 if test "x$ac_cv_func__modf" = x""yes; then :
48886 cat >>confdefs.h <<_ACEOF
48887 #define HAVE__MODF 1
48888 _ACEOF
48891 done
48900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
48901 $as_echo_n "checking for powf declaration... " >&6; }
48902 if test x${glibcxx_cv_func_powf_use+set} != xset; then
48903 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
48904 $as_echo_n "(cached) " >&6
48905 else
48908 ac_ext=cpp
48909 ac_cpp='$CXXCPP $CPPFLAGS'
48910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48915 /* end confdefs.h. */
48916 #include <math.h>
48918 main ()
48920 powf(0, 0);
48922 return 0;
48924 _ACEOF
48925 if ac_fn_cxx_try_compile "$LINENO"; then :
48926 glibcxx_cv_func_powf_use=yes
48927 else
48928 glibcxx_cv_func_powf_use=no
48930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48931 ac_ext=c
48932 ac_cpp='$CPP $CPPFLAGS'
48933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
48942 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
48944 if test x$glibcxx_cv_func_powf_use = x"yes"; then
48945 for ac_func in powf
48946 do :
48947 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
48948 if test "x$ac_cv_func_powf" = x""yes; then :
48949 cat >>confdefs.h <<_ACEOF
48950 #define HAVE_POWF 1
48951 _ACEOF
48954 done
48956 else
48958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
48959 $as_echo_n "checking for _powf declaration... " >&6; }
48960 if test x${glibcxx_cv_func__powf_use+set} != xset; then
48961 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
48962 $as_echo_n "(cached) " >&6
48963 else
48966 ac_ext=cpp
48967 ac_cpp='$CXXCPP $CPPFLAGS'
48968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48973 /* end confdefs.h. */
48974 #include <math.h>
48976 main ()
48978 _powf(0, 0);
48980 return 0;
48982 _ACEOF
48983 if ac_fn_cxx_try_compile "$LINENO"; then :
48984 glibcxx_cv_func__powf_use=yes
48985 else
48986 glibcxx_cv_func__powf_use=no
48988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48989 ac_ext=c
48990 ac_cpp='$CPP $CPPFLAGS'
48991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
49000 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
49002 if test x$glibcxx_cv_func__powf_use = x"yes"; then
49003 for ac_func in _powf
49004 do :
49005 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
49006 if test "x$ac_cv_func__powf" = x""yes; then :
49007 cat >>confdefs.h <<_ACEOF
49008 #define HAVE__POWF 1
49009 _ACEOF
49012 done
49021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
49022 $as_echo_n "checking for sqrtf declaration... " >&6; }
49023 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
49024 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
49025 $as_echo_n "(cached) " >&6
49026 else
49029 ac_ext=cpp
49030 ac_cpp='$CXXCPP $CPPFLAGS'
49031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49036 /* end confdefs.h. */
49037 #include <math.h>
49038 #ifdef HAVE_IEEEFP_H
49039 #include <ieeefp.h>
49040 #endif
49043 main ()
49045 sqrtf(0);
49047 return 0;
49049 _ACEOF
49050 if ac_fn_cxx_try_compile "$LINENO"; then :
49051 glibcxx_cv_func_sqrtf_use=yes
49052 else
49053 glibcxx_cv_func_sqrtf_use=no
49055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49056 ac_ext=c
49057 ac_cpp='$CPP $CPPFLAGS'
49058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
49067 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
49069 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
49070 for ac_func in sqrtf
49071 do :
49072 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
49073 if test "x$ac_cv_func_sqrtf" = x""yes; then :
49074 cat >>confdefs.h <<_ACEOF
49075 #define HAVE_SQRTF 1
49076 _ACEOF
49079 done
49081 else
49083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
49084 $as_echo_n "checking for _sqrtf declaration... " >&6; }
49085 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
49086 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
49087 $as_echo_n "(cached) " >&6
49088 else
49091 ac_ext=cpp
49092 ac_cpp='$CXXCPP $CPPFLAGS'
49093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49098 /* end confdefs.h. */
49099 #include <math.h>
49100 #ifdef HAVE_IEEEFP_H
49101 #include <ieeefp.h>
49102 #endif
49105 main ()
49107 _sqrtf(0);
49109 return 0;
49111 _ACEOF
49112 if ac_fn_cxx_try_compile "$LINENO"; then :
49113 glibcxx_cv_func__sqrtf_use=yes
49114 else
49115 glibcxx_cv_func__sqrtf_use=no
49117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49118 ac_ext=c
49119 ac_cpp='$CPP $CPPFLAGS'
49120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
49129 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
49131 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
49132 for ac_func in _sqrtf
49133 do :
49134 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
49135 if test "x$ac_cv_func__sqrtf" = x""yes; then :
49136 cat >>confdefs.h <<_ACEOF
49137 #define HAVE__SQRTF 1
49138 _ACEOF
49141 done
49150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
49151 $as_echo_n "checking for sincosf declaration... " >&6; }
49152 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
49153 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
49154 $as_echo_n "(cached) " >&6
49155 else
49158 ac_ext=cpp
49159 ac_cpp='$CXXCPP $CPPFLAGS'
49160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49165 /* end confdefs.h. */
49166 #include <math.h>
49168 main ()
49170 sincosf(0, 0, 0);
49172 return 0;
49174 _ACEOF
49175 if ac_fn_cxx_try_compile "$LINENO"; then :
49176 glibcxx_cv_func_sincosf_use=yes
49177 else
49178 glibcxx_cv_func_sincosf_use=no
49180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49181 ac_ext=c
49182 ac_cpp='$CPP $CPPFLAGS'
49183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
49192 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
49194 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
49195 for ac_func in sincosf
49196 do :
49197 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
49198 if test "x$ac_cv_func_sincosf" = x""yes; then :
49199 cat >>confdefs.h <<_ACEOF
49200 #define HAVE_SINCOSF 1
49201 _ACEOF
49204 done
49206 else
49208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
49209 $as_echo_n "checking for _sincosf declaration... " >&6; }
49210 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
49211 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
49212 $as_echo_n "(cached) " >&6
49213 else
49216 ac_ext=cpp
49217 ac_cpp='$CXXCPP $CPPFLAGS'
49218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49223 /* end confdefs.h. */
49224 #include <math.h>
49226 main ()
49228 _sincosf(0, 0, 0);
49230 return 0;
49232 _ACEOF
49233 if ac_fn_cxx_try_compile "$LINENO"; then :
49234 glibcxx_cv_func__sincosf_use=yes
49235 else
49236 glibcxx_cv_func__sincosf_use=no
49238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49239 ac_ext=c
49240 ac_cpp='$CPP $CPPFLAGS'
49241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
49250 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
49252 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
49253 for ac_func in _sincosf
49254 do :
49255 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
49256 if test "x$ac_cv_func__sincosf" = x""yes; then :
49257 cat >>confdefs.h <<_ACEOF
49258 #define HAVE__SINCOSF 1
49259 _ACEOF
49262 done
49271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
49272 $as_echo_n "checking for finitef declaration... " >&6; }
49273 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
49274 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
49275 $as_echo_n "(cached) " >&6
49276 else
49279 ac_ext=cpp
49280 ac_cpp='$CXXCPP $CPPFLAGS'
49281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49286 /* end confdefs.h. */
49287 #include <math.h>
49288 #ifdef HAVE_IEEEFP_H
49289 #include <ieeefp.h>
49290 #endif
49293 main ()
49295 finitef(0);
49297 return 0;
49299 _ACEOF
49300 if ac_fn_cxx_try_compile "$LINENO"; then :
49301 glibcxx_cv_func_finitef_use=yes
49302 else
49303 glibcxx_cv_func_finitef_use=no
49305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49306 ac_ext=c
49307 ac_cpp='$CPP $CPPFLAGS'
49308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
49317 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
49319 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
49320 for ac_func in finitef
49321 do :
49322 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
49323 if test "x$ac_cv_func_finitef" = x""yes; then :
49324 cat >>confdefs.h <<_ACEOF
49325 #define HAVE_FINITEF 1
49326 _ACEOF
49329 done
49331 else
49333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
49334 $as_echo_n "checking for _finitef declaration... " >&6; }
49335 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
49336 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
49337 $as_echo_n "(cached) " >&6
49338 else
49341 ac_ext=cpp
49342 ac_cpp='$CXXCPP $CPPFLAGS'
49343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49348 /* end confdefs.h. */
49349 #include <math.h>
49350 #ifdef HAVE_IEEEFP_H
49351 #include <ieeefp.h>
49352 #endif
49355 main ()
49357 _finitef(0);
49359 return 0;
49361 _ACEOF
49362 if ac_fn_cxx_try_compile "$LINENO"; then :
49363 glibcxx_cv_func__finitef_use=yes
49364 else
49365 glibcxx_cv_func__finitef_use=no
49367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49368 ac_ext=c
49369 ac_cpp='$CPP $CPPFLAGS'
49370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
49379 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
49381 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
49382 for ac_func in _finitef
49383 do :
49384 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
49385 if test "x$ac_cv_func__finitef" = x""yes; then :
49386 cat >>confdefs.h <<_ACEOF
49387 #define HAVE__FINITEF 1
49388 _ACEOF
49391 done
49400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
49401 $as_echo_n "checking for long double trig functions... " >&6; }
49402 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
49403 $as_echo_n "(cached) " >&6
49404 else
49407 ac_ext=cpp
49408 ac_cpp='$CXXCPP $CPPFLAGS'
49409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49414 /* end confdefs.h. */
49415 #include <math.h>
49417 main ()
49419 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
49421 return 0;
49423 _ACEOF
49424 if ac_fn_cxx_try_compile "$LINENO"; then :
49425 glibcxx_cv_func_long_double_trig_use=yes
49426 else
49427 glibcxx_cv_func_long_double_trig_use=no
49429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49430 ac_ext=c
49431 ac_cpp='$CPP $CPPFLAGS'
49432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
49439 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
49440 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
49441 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
49442 do :
49443 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49444 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49445 eval as_val=\$$as_ac_var
49446 if test "x$as_val" = x""yes; then :
49447 cat >>confdefs.h <<_ACEOF
49448 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49449 _ACEOF
49452 done
49454 else
49455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
49456 $as_echo_n "checking for _long double trig functions... " >&6; }
49457 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
49458 $as_echo_n "(cached) " >&6
49459 else
49462 ac_ext=cpp
49463 ac_cpp='$CXXCPP $CPPFLAGS'
49464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49469 /* end confdefs.h. */
49470 #include <math.h>
49472 main ()
49474 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
49476 return 0;
49478 _ACEOF
49479 if ac_fn_cxx_try_compile "$LINENO"; then :
49480 glibcxx_cv_func__long_double_trig_use=yes
49481 else
49482 glibcxx_cv_func__long_double_trig_use=no
49484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49485 ac_ext=c
49486 ac_cpp='$CPP $CPPFLAGS'
49487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
49494 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
49495 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
49496 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
49497 do :
49498 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49499 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49500 eval as_val=\$$as_ac_var
49501 if test "x$as_val" = x""yes; then :
49502 cat >>confdefs.h <<_ACEOF
49503 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49504 _ACEOF
49507 done
49516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
49517 $as_echo_n "checking for long double round functions... " >&6; }
49518 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
49519 $as_echo_n "(cached) " >&6
49520 else
49523 ac_ext=cpp
49524 ac_cpp='$CXXCPP $CPPFLAGS'
49525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49530 /* end confdefs.h. */
49531 #include <math.h>
49533 main ()
49535 ceill (0); floorl (0);
49537 return 0;
49539 _ACEOF
49540 if ac_fn_cxx_try_compile "$LINENO"; then :
49541 glibcxx_cv_func_long_double_round_use=yes
49542 else
49543 glibcxx_cv_func_long_double_round_use=no
49545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49546 ac_ext=c
49547 ac_cpp='$CPP $CPPFLAGS'
49548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
49555 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
49556 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
49557 for ac_func in ceill floorl
49558 do :
49559 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49560 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49561 eval as_val=\$$as_ac_var
49562 if test "x$as_val" = x""yes; then :
49563 cat >>confdefs.h <<_ACEOF
49564 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49565 _ACEOF
49568 done
49570 else
49571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
49572 $as_echo_n "checking for _long double round functions... " >&6; }
49573 if test "${glibcxx_cv_func__long_double_round_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>
49588 main ()
49590 _ceill (0); _floorl (0);
49592 return 0;
49594 _ACEOF
49595 if ac_fn_cxx_try_compile "$LINENO"; then :
49596 glibcxx_cv_func__long_double_round_use=yes
49597 else
49598 glibcxx_cv_func__long_double_round_use=no
49600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49601 ac_ext=c
49602 ac_cpp='$CPP $CPPFLAGS'
49603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
49610 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
49611 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
49612 for ac_func in _ceill _floorl
49613 do :
49614 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49615 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49616 eval as_val=\$$as_ac_var
49617 if test "x$as_val" = x""yes; then :
49618 cat >>confdefs.h <<_ACEOF
49619 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49620 _ACEOF
49623 done
49633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
49634 $as_echo_n "checking for isnanl declaration... " >&6; }
49635 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
49636 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
49637 $as_echo_n "(cached) " >&6
49638 else
49641 ac_ext=cpp
49642 ac_cpp='$CXXCPP $CPPFLAGS'
49643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49648 /* end confdefs.h. */
49649 #include <math.h>
49650 #ifdef HAVE_IEEEFP_H
49651 #include <ieeefp.h>
49652 #endif
49655 main ()
49657 isnanl(0);
49659 return 0;
49661 _ACEOF
49662 if ac_fn_cxx_try_compile "$LINENO"; then :
49663 glibcxx_cv_func_isnanl_use=yes
49664 else
49665 glibcxx_cv_func_isnanl_use=no
49667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49668 ac_ext=c
49669 ac_cpp='$CPP $CPPFLAGS'
49670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
49679 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
49681 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
49682 for ac_func in isnanl
49683 do :
49684 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
49685 if test "x$ac_cv_func_isnanl" = x""yes; then :
49686 cat >>confdefs.h <<_ACEOF
49687 #define HAVE_ISNANL 1
49688 _ACEOF
49691 done
49693 else
49695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
49696 $as_echo_n "checking for _isnanl declaration... " >&6; }
49697 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
49698 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
49699 $as_echo_n "(cached) " >&6
49700 else
49703 ac_ext=cpp
49704 ac_cpp='$CXXCPP $CPPFLAGS'
49705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49710 /* end confdefs.h. */
49711 #include <math.h>
49712 #ifdef HAVE_IEEEFP_H
49713 #include <ieeefp.h>
49714 #endif
49717 main ()
49719 _isnanl(0);
49721 return 0;
49723 _ACEOF
49724 if ac_fn_cxx_try_compile "$LINENO"; then :
49725 glibcxx_cv_func__isnanl_use=yes
49726 else
49727 glibcxx_cv_func__isnanl_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__isnanl_use" >&5
49741 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
49743 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
49744 for ac_func in _isnanl
49745 do :
49746 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
49747 if test "x$ac_cv_func__isnanl" = x""yes; then :
49748 cat >>confdefs.h <<_ACEOF
49749 #define HAVE__ISNANL 1
49750 _ACEOF
49753 done
49762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
49763 $as_echo_n "checking for isinfl declaration... " >&6; }
49764 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
49765 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
49766 $as_echo_n "(cached) " >&6
49767 else
49770 ac_ext=cpp
49771 ac_cpp='$CXXCPP $CPPFLAGS'
49772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49777 /* end confdefs.h. */
49778 #include <math.h>
49779 #ifdef HAVE_IEEEFP_H
49780 #include <ieeefp.h>
49781 #endif
49784 main ()
49786 isinfl(0);
49788 return 0;
49790 _ACEOF
49791 if ac_fn_cxx_try_compile "$LINENO"; then :
49792 glibcxx_cv_func_isinfl_use=yes
49793 else
49794 glibcxx_cv_func_isinfl_use=no
49796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49797 ac_ext=c
49798 ac_cpp='$CPP $CPPFLAGS'
49799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
49808 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
49810 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
49811 for ac_func in isinfl
49812 do :
49813 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
49814 if test "x$ac_cv_func_isinfl" = x""yes; then :
49815 cat >>confdefs.h <<_ACEOF
49816 #define HAVE_ISINFL 1
49817 _ACEOF
49820 done
49822 else
49824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
49825 $as_echo_n "checking for _isinfl declaration... " >&6; }
49826 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
49827 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
49828 $as_echo_n "(cached) " >&6
49829 else
49832 ac_ext=cpp
49833 ac_cpp='$CXXCPP $CPPFLAGS'
49834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49839 /* end confdefs.h. */
49840 #include <math.h>
49841 #ifdef HAVE_IEEEFP_H
49842 #include <ieeefp.h>
49843 #endif
49846 main ()
49848 _isinfl(0);
49850 return 0;
49852 _ACEOF
49853 if ac_fn_cxx_try_compile "$LINENO"; then :
49854 glibcxx_cv_func__isinfl_use=yes
49855 else
49856 glibcxx_cv_func__isinfl_use=no
49858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49859 ac_ext=c
49860 ac_cpp='$CPP $CPPFLAGS'
49861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
49870 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
49872 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
49873 for ac_func in _isinfl
49874 do :
49875 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
49876 if test "x$ac_cv_func__isinfl" = x""yes; then :
49877 cat >>confdefs.h <<_ACEOF
49878 #define HAVE__ISINFL 1
49879 _ACEOF
49882 done
49891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
49892 $as_echo_n "checking for atan2l declaration... " >&6; }
49893 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
49894 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
49895 $as_echo_n "(cached) " >&6
49896 else
49899 ac_ext=cpp
49900 ac_cpp='$CXXCPP $CPPFLAGS'
49901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49906 /* end confdefs.h. */
49907 #include <math.h>
49909 main ()
49911 atan2l(0, 0);
49913 return 0;
49915 _ACEOF
49916 if ac_fn_cxx_try_compile "$LINENO"; then :
49917 glibcxx_cv_func_atan2l_use=yes
49918 else
49919 glibcxx_cv_func_atan2l_use=no
49921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49922 ac_ext=c
49923 ac_cpp='$CPP $CPPFLAGS'
49924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
49933 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
49935 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
49936 for ac_func in atan2l
49937 do :
49938 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
49939 if test "x$ac_cv_func_atan2l" = x""yes; then :
49940 cat >>confdefs.h <<_ACEOF
49941 #define HAVE_ATAN2L 1
49942 _ACEOF
49945 done
49947 else
49949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
49950 $as_echo_n "checking for _atan2l declaration... " >&6; }
49951 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
49952 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
49953 $as_echo_n "(cached) " >&6
49954 else
49957 ac_ext=cpp
49958 ac_cpp='$CXXCPP $CPPFLAGS'
49959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49964 /* end confdefs.h. */
49965 #include <math.h>
49967 main ()
49969 _atan2l(0, 0);
49971 return 0;
49973 _ACEOF
49974 if ac_fn_cxx_try_compile "$LINENO"; then :
49975 glibcxx_cv_func__atan2l_use=yes
49976 else
49977 glibcxx_cv_func__atan2l_use=no
49979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49980 ac_ext=c
49981 ac_cpp='$CPP $CPPFLAGS'
49982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
49991 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
49993 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
49994 for ac_func in _atan2l
49995 do :
49996 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
49997 if test "x$ac_cv_func__atan2l" = x""yes; then :
49998 cat >>confdefs.h <<_ACEOF
49999 #define HAVE__ATAN2L 1
50000 _ACEOF
50003 done
50012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
50013 $as_echo_n "checking for expl declaration... " >&6; }
50014 if test x${glibcxx_cv_func_expl_use+set} != xset; then
50015 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
50016 $as_echo_n "(cached) " >&6
50017 else
50020 ac_ext=cpp
50021 ac_cpp='$CXXCPP $CPPFLAGS'
50022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50027 /* end confdefs.h. */
50028 #include <math.h>
50029 #ifdef HAVE_IEEEFP_H
50030 #include <ieeefp.h>
50031 #endif
50034 main ()
50036 expl(0);
50038 return 0;
50040 _ACEOF
50041 if ac_fn_cxx_try_compile "$LINENO"; then :
50042 glibcxx_cv_func_expl_use=yes
50043 else
50044 glibcxx_cv_func_expl_use=no
50046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50047 ac_ext=c
50048 ac_cpp='$CPP $CPPFLAGS'
50049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
50058 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
50060 if test x$glibcxx_cv_func_expl_use = x"yes"; then
50061 for ac_func in expl
50062 do :
50063 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
50064 if test "x$ac_cv_func_expl" = x""yes; then :
50065 cat >>confdefs.h <<_ACEOF
50066 #define HAVE_EXPL 1
50067 _ACEOF
50070 done
50072 else
50074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
50075 $as_echo_n "checking for _expl declaration... " >&6; }
50076 if test x${glibcxx_cv_func__expl_use+set} != xset; then
50077 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
50078 $as_echo_n "(cached) " >&6
50079 else
50082 ac_ext=cpp
50083 ac_cpp='$CXXCPP $CPPFLAGS'
50084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50089 /* end confdefs.h. */
50090 #include <math.h>
50091 #ifdef HAVE_IEEEFP_H
50092 #include <ieeefp.h>
50093 #endif
50096 main ()
50098 _expl(0);
50100 return 0;
50102 _ACEOF
50103 if ac_fn_cxx_try_compile "$LINENO"; then :
50104 glibcxx_cv_func__expl_use=yes
50105 else
50106 glibcxx_cv_func__expl_use=no
50108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50109 ac_ext=c
50110 ac_cpp='$CPP $CPPFLAGS'
50111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
50120 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
50122 if test x$glibcxx_cv_func__expl_use = x"yes"; then
50123 for ac_func in _expl
50124 do :
50125 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
50126 if test "x$ac_cv_func__expl" = x""yes; then :
50127 cat >>confdefs.h <<_ACEOF
50128 #define HAVE__EXPL 1
50129 _ACEOF
50132 done
50141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
50142 $as_echo_n "checking for fabsl declaration... " >&6; }
50143 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
50144 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
50145 $as_echo_n "(cached) " >&6
50146 else
50149 ac_ext=cpp
50150 ac_cpp='$CXXCPP $CPPFLAGS'
50151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50156 /* end confdefs.h. */
50157 #include <math.h>
50158 #ifdef HAVE_IEEEFP_H
50159 #include <ieeefp.h>
50160 #endif
50163 main ()
50165 fabsl(0);
50167 return 0;
50169 _ACEOF
50170 if ac_fn_cxx_try_compile "$LINENO"; then :
50171 glibcxx_cv_func_fabsl_use=yes
50172 else
50173 glibcxx_cv_func_fabsl_use=no
50175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50176 ac_ext=c
50177 ac_cpp='$CPP $CPPFLAGS'
50178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
50187 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
50189 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
50190 for ac_func in fabsl
50191 do :
50192 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
50193 if test "x$ac_cv_func_fabsl" = x""yes; then :
50194 cat >>confdefs.h <<_ACEOF
50195 #define HAVE_FABSL 1
50196 _ACEOF
50199 done
50201 else
50203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
50204 $as_echo_n "checking for _fabsl declaration... " >&6; }
50205 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
50206 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
50207 $as_echo_n "(cached) " >&6
50208 else
50211 ac_ext=cpp
50212 ac_cpp='$CXXCPP $CPPFLAGS'
50213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50218 /* end confdefs.h. */
50219 #include <math.h>
50220 #ifdef HAVE_IEEEFP_H
50221 #include <ieeefp.h>
50222 #endif
50225 main ()
50227 _fabsl(0);
50229 return 0;
50231 _ACEOF
50232 if ac_fn_cxx_try_compile "$LINENO"; then :
50233 glibcxx_cv_func__fabsl_use=yes
50234 else
50235 glibcxx_cv_func__fabsl_use=no
50237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50238 ac_ext=c
50239 ac_cpp='$CPP $CPPFLAGS'
50240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
50249 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
50251 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
50252 for ac_func in _fabsl
50253 do :
50254 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
50255 if test "x$ac_cv_func__fabsl" = x""yes; then :
50256 cat >>confdefs.h <<_ACEOF
50257 #define HAVE__FABSL 1
50258 _ACEOF
50261 done
50270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
50271 $as_echo_n "checking for fmodl declaration... " >&6; }
50272 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
50273 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
50274 $as_echo_n "(cached) " >&6
50275 else
50278 ac_ext=cpp
50279 ac_cpp='$CXXCPP $CPPFLAGS'
50280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50285 /* end confdefs.h. */
50286 #include <math.h>
50288 main ()
50290 fmodl(0, 0);
50292 return 0;
50294 _ACEOF
50295 if ac_fn_cxx_try_compile "$LINENO"; then :
50296 glibcxx_cv_func_fmodl_use=yes
50297 else
50298 glibcxx_cv_func_fmodl_use=no
50300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50301 ac_ext=c
50302 ac_cpp='$CPP $CPPFLAGS'
50303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
50312 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
50314 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
50315 for ac_func in fmodl
50316 do :
50317 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
50318 if test "x$ac_cv_func_fmodl" = x""yes; then :
50319 cat >>confdefs.h <<_ACEOF
50320 #define HAVE_FMODL 1
50321 _ACEOF
50324 done
50326 else
50328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
50329 $as_echo_n "checking for _fmodl declaration... " >&6; }
50330 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
50331 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
50332 $as_echo_n "(cached) " >&6
50333 else
50336 ac_ext=cpp
50337 ac_cpp='$CXXCPP $CPPFLAGS'
50338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50343 /* end confdefs.h. */
50344 #include <math.h>
50346 main ()
50348 _fmodl(0, 0);
50350 return 0;
50352 _ACEOF
50353 if ac_fn_cxx_try_compile "$LINENO"; then :
50354 glibcxx_cv_func__fmodl_use=yes
50355 else
50356 glibcxx_cv_func__fmodl_use=no
50358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50359 ac_ext=c
50360 ac_cpp='$CPP $CPPFLAGS'
50361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
50370 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
50372 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
50373 for ac_func in _fmodl
50374 do :
50375 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
50376 if test "x$ac_cv_func__fmodl" = x""yes; then :
50377 cat >>confdefs.h <<_ACEOF
50378 #define HAVE__FMODL 1
50379 _ACEOF
50382 done
50391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
50392 $as_echo_n "checking for frexpl declaration... " >&6; }
50393 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
50394 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
50395 $as_echo_n "(cached) " >&6
50396 else
50399 ac_ext=cpp
50400 ac_cpp='$CXXCPP $CPPFLAGS'
50401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50406 /* end confdefs.h. */
50407 #include <math.h>
50409 main ()
50411 frexpl(0, 0);
50413 return 0;
50415 _ACEOF
50416 if ac_fn_cxx_try_compile "$LINENO"; then :
50417 glibcxx_cv_func_frexpl_use=yes
50418 else
50419 glibcxx_cv_func_frexpl_use=no
50421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50422 ac_ext=c
50423 ac_cpp='$CPP $CPPFLAGS'
50424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
50433 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
50435 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
50436 for ac_func in frexpl
50437 do :
50438 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
50439 if test "x$ac_cv_func_frexpl" = x""yes; then :
50440 cat >>confdefs.h <<_ACEOF
50441 #define HAVE_FREXPL 1
50442 _ACEOF
50445 done
50447 else
50449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
50450 $as_echo_n "checking for _frexpl declaration... " >&6; }
50451 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
50452 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
50453 $as_echo_n "(cached) " >&6
50454 else
50457 ac_ext=cpp
50458 ac_cpp='$CXXCPP $CPPFLAGS'
50459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50464 /* end confdefs.h. */
50465 #include <math.h>
50467 main ()
50469 _frexpl(0, 0);
50471 return 0;
50473 _ACEOF
50474 if ac_fn_cxx_try_compile "$LINENO"; then :
50475 glibcxx_cv_func__frexpl_use=yes
50476 else
50477 glibcxx_cv_func__frexpl_use=no
50479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50480 ac_ext=c
50481 ac_cpp='$CPP $CPPFLAGS'
50482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
50491 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
50493 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
50494 for ac_func in _frexpl
50495 do :
50496 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
50497 if test "x$ac_cv_func__frexpl" = x""yes; then :
50498 cat >>confdefs.h <<_ACEOF
50499 #define HAVE__FREXPL 1
50500 _ACEOF
50503 done
50512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
50513 $as_echo_n "checking for hypotl declaration... " >&6; }
50514 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
50515 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
50516 $as_echo_n "(cached) " >&6
50517 else
50520 ac_ext=cpp
50521 ac_cpp='$CXXCPP $CPPFLAGS'
50522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50527 /* end confdefs.h. */
50528 #include <math.h>
50530 main ()
50532 hypotl(0, 0);
50534 return 0;
50536 _ACEOF
50537 if ac_fn_cxx_try_compile "$LINENO"; then :
50538 glibcxx_cv_func_hypotl_use=yes
50539 else
50540 glibcxx_cv_func_hypotl_use=no
50542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50543 ac_ext=c
50544 ac_cpp='$CPP $CPPFLAGS'
50545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
50554 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
50556 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
50557 for ac_func in hypotl
50558 do :
50559 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
50560 if test "x$ac_cv_func_hypotl" = x""yes; then :
50561 cat >>confdefs.h <<_ACEOF
50562 #define HAVE_HYPOTL 1
50563 _ACEOF
50566 done
50568 else
50570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
50571 $as_echo_n "checking for _hypotl declaration... " >&6; }
50572 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
50573 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
50574 $as_echo_n "(cached) " >&6
50575 else
50578 ac_ext=cpp
50579 ac_cpp='$CXXCPP $CPPFLAGS'
50580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50585 /* end confdefs.h. */
50586 #include <math.h>
50588 main ()
50590 _hypotl(0, 0);
50592 return 0;
50594 _ACEOF
50595 if ac_fn_cxx_try_compile "$LINENO"; then :
50596 glibcxx_cv_func__hypotl_use=yes
50597 else
50598 glibcxx_cv_func__hypotl_use=no
50600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50601 ac_ext=c
50602 ac_cpp='$CPP $CPPFLAGS'
50603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
50612 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
50614 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
50615 for ac_func in _hypotl
50616 do :
50617 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
50618 if test "x$ac_cv_func__hypotl" = x""yes; then :
50619 cat >>confdefs.h <<_ACEOF
50620 #define HAVE__HYPOTL 1
50621 _ACEOF
50624 done
50633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
50634 $as_echo_n "checking for ldexpl declaration... " >&6; }
50635 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
50636 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
50637 $as_echo_n "(cached) " >&6
50638 else
50641 ac_ext=cpp
50642 ac_cpp='$CXXCPP $CPPFLAGS'
50643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50648 /* end confdefs.h. */
50649 #include <math.h>
50651 main ()
50653 ldexpl(0, 0);
50655 return 0;
50657 _ACEOF
50658 if ac_fn_cxx_try_compile "$LINENO"; then :
50659 glibcxx_cv_func_ldexpl_use=yes
50660 else
50661 glibcxx_cv_func_ldexpl_use=no
50663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50664 ac_ext=c
50665 ac_cpp='$CPP $CPPFLAGS'
50666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
50675 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
50677 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
50678 for ac_func in ldexpl
50679 do :
50680 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
50681 if test "x$ac_cv_func_ldexpl" = x""yes; then :
50682 cat >>confdefs.h <<_ACEOF
50683 #define HAVE_LDEXPL 1
50684 _ACEOF
50687 done
50689 else
50691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
50692 $as_echo_n "checking for _ldexpl declaration... " >&6; }
50693 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
50694 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
50695 $as_echo_n "(cached) " >&6
50696 else
50699 ac_ext=cpp
50700 ac_cpp='$CXXCPP $CPPFLAGS'
50701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50706 /* end confdefs.h. */
50707 #include <math.h>
50709 main ()
50711 _ldexpl(0, 0);
50713 return 0;
50715 _ACEOF
50716 if ac_fn_cxx_try_compile "$LINENO"; then :
50717 glibcxx_cv_func__ldexpl_use=yes
50718 else
50719 glibcxx_cv_func__ldexpl_use=no
50721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50722 ac_ext=c
50723 ac_cpp='$CPP $CPPFLAGS'
50724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
50733 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
50735 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
50736 for ac_func in _ldexpl
50737 do :
50738 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
50739 if test "x$ac_cv_func__ldexpl" = x""yes; then :
50740 cat >>confdefs.h <<_ACEOF
50741 #define HAVE__LDEXPL 1
50742 _ACEOF
50745 done
50754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
50755 $as_echo_n "checking for logl declaration... " >&6; }
50756 if test x${glibcxx_cv_func_logl_use+set} != xset; then
50757 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
50758 $as_echo_n "(cached) " >&6
50759 else
50762 ac_ext=cpp
50763 ac_cpp='$CXXCPP $CPPFLAGS'
50764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50769 /* end confdefs.h. */
50770 #include <math.h>
50771 #ifdef HAVE_IEEEFP_H
50772 #include <ieeefp.h>
50773 #endif
50776 main ()
50778 logl(0);
50780 return 0;
50782 _ACEOF
50783 if ac_fn_cxx_try_compile "$LINENO"; then :
50784 glibcxx_cv_func_logl_use=yes
50785 else
50786 glibcxx_cv_func_logl_use=no
50788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50789 ac_ext=c
50790 ac_cpp='$CPP $CPPFLAGS'
50791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
50800 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
50802 if test x$glibcxx_cv_func_logl_use = x"yes"; then
50803 for ac_func in logl
50804 do :
50805 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
50806 if test "x$ac_cv_func_logl" = x""yes; then :
50807 cat >>confdefs.h <<_ACEOF
50808 #define HAVE_LOGL 1
50809 _ACEOF
50812 done
50814 else
50816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
50817 $as_echo_n "checking for _logl declaration... " >&6; }
50818 if test x${glibcxx_cv_func__logl_use+set} != xset; then
50819 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
50820 $as_echo_n "(cached) " >&6
50821 else
50824 ac_ext=cpp
50825 ac_cpp='$CXXCPP $CPPFLAGS'
50826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50831 /* end confdefs.h. */
50832 #include <math.h>
50833 #ifdef HAVE_IEEEFP_H
50834 #include <ieeefp.h>
50835 #endif
50838 main ()
50840 _logl(0);
50842 return 0;
50844 _ACEOF
50845 if ac_fn_cxx_try_compile "$LINENO"; then :
50846 glibcxx_cv_func__logl_use=yes
50847 else
50848 glibcxx_cv_func__logl_use=no
50850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50851 ac_ext=c
50852 ac_cpp='$CPP $CPPFLAGS'
50853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
50862 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
50864 if test x$glibcxx_cv_func__logl_use = x"yes"; then
50865 for ac_func in _logl
50866 do :
50867 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
50868 if test "x$ac_cv_func__logl" = x""yes; then :
50869 cat >>confdefs.h <<_ACEOF
50870 #define HAVE__LOGL 1
50871 _ACEOF
50874 done
50883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
50884 $as_echo_n "checking for log10l declaration... " >&6; }
50885 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
50886 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
50887 $as_echo_n "(cached) " >&6
50888 else
50891 ac_ext=cpp
50892 ac_cpp='$CXXCPP $CPPFLAGS'
50893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50898 /* end confdefs.h. */
50899 #include <math.h>
50900 #ifdef HAVE_IEEEFP_H
50901 #include <ieeefp.h>
50902 #endif
50905 main ()
50907 log10l(0);
50909 return 0;
50911 _ACEOF
50912 if ac_fn_cxx_try_compile "$LINENO"; then :
50913 glibcxx_cv_func_log10l_use=yes
50914 else
50915 glibcxx_cv_func_log10l_use=no
50917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50918 ac_ext=c
50919 ac_cpp='$CPP $CPPFLAGS'
50920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
50929 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
50931 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
50932 for ac_func in log10l
50933 do :
50934 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
50935 if test "x$ac_cv_func_log10l" = x""yes; then :
50936 cat >>confdefs.h <<_ACEOF
50937 #define HAVE_LOG10L 1
50938 _ACEOF
50941 done
50943 else
50945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
50946 $as_echo_n "checking for _log10l declaration... " >&6; }
50947 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
50948 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
50949 $as_echo_n "(cached) " >&6
50950 else
50953 ac_ext=cpp
50954 ac_cpp='$CXXCPP $CPPFLAGS'
50955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50960 /* end confdefs.h. */
50961 #include <math.h>
50962 #ifdef HAVE_IEEEFP_H
50963 #include <ieeefp.h>
50964 #endif
50967 main ()
50969 _log10l(0);
50971 return 0;
50973 _ACEOF
50974 if ac_fn_cxx_try_compile "$LINENO"; then :
50975 glibcxx_cv_func__log10l_use=yes
50976 else
50977 glibcxx_cv_func__log10l_use=no
50979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50980 ac_ext=c
50981 ac_cpp='$CPP $CPPFLAGS'
50982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
50991 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
50993 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
50994 for ac_func in _log10l
50995 do :
50996 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
50997 if test "x$ac_cv_func__log10l" = x""yes; then :
50998 cat >>confdefs.h <<_ACEOF
50999 #define HAVE__LOG10L 1
51000 _ACEOF
51003 done
51012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
51013 $as_echo_n "checking for modfl declaration... " >&6; }
51014 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
51015 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
51016 $as_echo_n "(cached) " >&6
51017 else
51020 ac_ext=cpp
51021 ac_cpp='$CXXCPP $CPPFLAGS'
51022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51027 /* end confdefs.h. */
51028 #include <math.h>
51030 main ()
51032 modfl(0, 0);
51034 return 0;
51036 _ACEOF
51037 if ac_fn_cxx_try_compile "$LINENO"; then :
51038 glibcxx_cv_func_modfl_use=yes
51039 else
51040 glibcxx_cv_func_modfl_use=no
51042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51043 ac_ext=c
51044 ac_cpp='$CPP $CPPFLAGS'
51045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
51054 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
51056 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
51057 for ac_func in modfl
51058 do :
51059 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
51060 if test "x$ac_cv_func_modfl" = x""yes; then :
51061 cat >>confdefs.h <<_ACEOF
51062 #define HAVE_MODFL 1
51063 _ACEOF
51066 done
51068 else
51070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
51071 $as_echo_n "checking for _modfl declaration... " >&6; }
51072 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
51073 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
51074 $as_echo_n "(cached) " >&6
51075 else
51078 ac_ext=cpp
51079 ac_cpp='$CXXCPP $CPPFLAGS'
51080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51085 /* end confdefs.h. */
51086 #include <math.h>
51088 main ()
51090 _modfl(0, 0);
51092 return 0;
51094 _ACEOF
51095 if ac_fn_cxx_try_compile "$LINENO"; then :
51096 glibcxx_cv_func__modfl_use=yes
51097 else
51098 glibcxx_cv_func__modfl_use=no
51100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51101 ac_ext=c
51102 ac_cpp='$CPP $CPPFLAGS'
51103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
51112 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
51114 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
51115 for ac_func in _modfl
51116 do :
51117 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
51118 if test "x$ac_cv_func__modfl" = x""yes; then :
51119 cat >>confdefs.h <<_ACEOF
51120 #define HAVE__MODFL 1
51121 _ACEOF
51124 done
51133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
51134 $as_echo_n "checking for powl declaration... " >&6; }
51135 if test x${glibcxx_cv_func_powl_use+set} != xset; then
51136 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
51137 $as_echo_n "(cached) " >&6
51138 else
51141 ac_ext=cpp
51142 ac_cpp='$CXXCPP $CPPFLAGS'
51143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51148 /* end confdefs.h. */
51149 #include <math.h>
51151 main ()
51153 powl(0, 0);
51155 return 0;
51157 _ACEOF
51158 if ac_fn_cxx_try_compile "$LINENO"; then :
51159 glibcxx_cv_func_powl_use=yes
51160 else
51161 glibcxx_cv_func_powl_use=no
51163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51164 ac_ext=c
51165 ac_cpp='$CPP $CPPFLAGS'
51166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
51175 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
51177 if test x$glibcxx_cv_func_powl_use = x"yes"; then
51178 for ac_func in powl
51179 do :
51180 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
51181 if test "x$ac_cv_func_powl" = x""yes; then :
51182 cat >>confdefs.h <<_ACEOF
51183 #define HAVE_POWL 1
51184 _ACEOF
51187 done
51189 else
51191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
51192 $as_echo_n "checking for _powl declaration... " >&6; }
51193 if test x${glibcxx_cv_func__powl_use+set} != xset; then
51194 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
51195 $as_echo_n "(cached) " >&6
51196 else
51199 ac_ext=cpp
51200 ac_cpp='$CXXCPP $CPPFLAGS'
51201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51206 /* end confdefs.h. */
51207 #include <math.h>
51209 main ()
51211 _powl(0, 0);
51213 return 0;
51215 _ACEOF
51216 if ac_fn_cxx_try_compile "$LINENO"; then :
51217 glibcxx_cv_func__powl_use=yes
51218 else
51219 glibcxx_cv_func__powl_use=no
51221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51222 ac_ext=c
51223 ac_cpp='$CPP $CPPFLAGS'
51224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
51233 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
51235 if test x$glibcxx_cv_func__powl_use = x"yes"; then
51236 for ac_func in _powl
51237 do :
51238 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
51239 if test "x$ac_cv_func__powl" = x""yes; then :
51240 cat >>confdefs.h <<_ACEOF
51241 #define HAVE__POWL 1
51242 _ACEOF
51245 done
51254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
51255 $as_echo_n "checking for sqrtl declaration... " >&6; }
51256 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
51257 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
51258 $as_echo_n "(cached) " >&6
51259 else
51262 ac_ext=cpp
51263 ac_cpp='$CXXCPP $CPPFLAGS'
51264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51269 /* end confdefs.h. */
51270 #include <math.h>
51271 #ifdef HAVE_IEEEFP_H
51272 #include <ieeefp.h>
51273 #endif
51276 main ()
51278 sqrtl(0);
51280 return 0;
51282 _ACEOF
51283 if ac_fn_cxx_try_compile "$LINENO"; then :
51284 glibcxx_cv_func_sqrtl_use=yes
51285 else
51286 glibcxx_cv_func_sqrtl_use=no
51288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51289 ac_ext=c
51290 ac_cpp='$CPP $CPPFLAGS'
51291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
51300 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
51302 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
51303 for ac_func in sqrtl
51304 do :
51305 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
51306 if test "x$ac_cv_func_sqrtl" = x""yes; then :
51307 cat >>confdefs.h <<_ACEOF
51308 #define HAVE_SQRTL 1
51309 _ACEOF
51312 done
51314 else
51316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
51317 $as_echo_n "checking for _sqrtl declaration... " >&6; }
51318 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
51319 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
51320 $as_echo_n "(cached) " >&6
51321 else
51324 ac_ext=cpp
51325 ac_cpp='$CXXCPP $CPPFLAGS'
51326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51331 /* end confdefs.h. */
51332 #include <math.h>
51333 #ifdef HAVE_IEEEFP_H
51334 #include <ieeefp.h>
51335 #endif
51338 main ()
51340 _sqrtl(0);
51342 return 0;
51344 _ACEOF
51345 if ac_fn_cxx_try_compile "$LINENO"; then :
51346 glibcxx_cv_func__sqrtl_use=yes
51347 else
51348 glibcxx_cv_func__sqrtl_use=no
51350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51351 ac_ext=c
51352 ac_cpp='$CPP $CPPFLAGS'
51353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
51362 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
51364 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
51365 for ac_func in _sqrtl
51366 do :
51367 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
51368 if test "x$ac_cv_func__sqrtl" = x""yes; then :
51369 cat >>confdefs.h <<_ACEOF
51370 #define HAVE__SQRTL 1
51371 _ACEOF
51374 done
51383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
51384 $as_echo_n "checking for sincosl declaration... " >&6; }
51385 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
51386 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
51387 $as_echo_n "(cached) " >&6
51388 else
51391 ac_ext=cpp
51392 ac_cpp='$CXXCPP $CPPFLAGS'
51393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51398 /* end confdefs.h. */
51399 #include <math.h>
51401 main ()
51403 sincosl(0, 0, 0);
51405 return 0;
51407 _ACEOF
51408 if ac_fn_cxx_try_compile "$LINENO"; then :
51409 glibcxx_cv_func_sincosl_use=yes
51410 else
51411 glibcxx_cv_func_sincosl_use=no
51413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51414 ac_ext=c
51415 ac_cpp='$CPP $CPPFLAGS'
51416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
51425 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
51427 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
51428 for ac_func in sincosl
51429 do :
51430 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
51431 if test "x$ac_cv_func_sincosl" = x""yes; then :
51432 cat >>confdefs.h <<_ACEOF
51433 #define HAVE_SINCOSL 1
51434 _ACEOF
51437 done
51439 else
51441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
51442 $as_echo_n "checking for _sincosl declaration... " >&6; }
51443 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
51444 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
51445 $as_echo_n "(cached) " >&6
51446 else
51449 ac_ext=cpp
51450 ac_cpp='$CXXCPP $CPPFLAGS'
51451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51456 /* end confdefs.h. */
51457 #include <math.h>
51459 main ()
51461 _sincosl(0, 0, 0);
51463 return 0;
51465 _ACEOF
51466 if ac_fn_cxx_try_compile "$LINENO"; then :
51467 glibcxx_cv_func__sincosl_use=yes
51468 else
51469 glibcxx_cv_func__sincosl_use=no
51471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51472 ac_ext=c
51473 ac_cpp='$CPP $CPPFLAGS'
51474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
51483 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
51485 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
51486 for ac_func in _sincosl
51487 do :
51488 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
51489 if test "x$ac_cv_func__sincosl" = x""yes; then :
51490 cat >>confdefs.h <<_ACEOF
51491 #define HAVE__SINCOSL 1
51492 _ACEOF
51495 done
51504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
51505 $as_echo_n "checking for finitel declaration... " >&6; }
51506 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
51507 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
51508 $as_echo_n "(cached) " >&6
51509 else
51512 ac_ext=cpp
51513 ac_cpp='$CXXCPP $CPPFLAGS'
51514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51519 /* end confdefs.h. */
51520 #include <math.h>
51521 #ifdef HAVE_IEEEFP_H
51522 #include <ieeefp.h>
51523 #endif
51526 main ()
51528 finitel(0);
51530 return 0;
51532 _ACEOF
51533 if ac_fn_cxx_try_compile "$LINENO"; then :
51534 glibcxx_cv_func_finitel_use=yes
51535 else
51536 glibcxx_cv_func_finitel_use=no
51538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51539 ac_ext=c
51540 ac_cpp='$CPP $CPPFLAGS'
51541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
51550 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
51552 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
51553 for ac_func in finitel
51554 do :
51555 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
51556 if test "x$ac_cv_func_finitel" = x""yes; then :
51557 cat >>confdefs.h <<_ACEOF
51558 #define HAVE_FINITEL 1
51559 _ACEOF
51562 done
51564 else
51566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
51567 $as_echo_n "checking for _finitel declaration... " >&6; }
51568 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
51569 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
51570 $as_echo_n "(cached) " >&6
51571 else
51574 ac_ext=cpp
51575 ac_cpp='$CXXCPP $CPPFLAGS'
51576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51581 /* end confdefs.h. */
51582 #include <math.h>
51583 #ifdef HAVE_IEEEFP_H
51584 #include <ieeefp.h>
51585 #endif
51588 main ()
51590 _finitel(0);
51592 return 0;
51594 _ACEOF
51595 if ac_fn_cxx_try_compile "$LINENO"; then :
51596 glibcxx_cv_func__finitel_use=yes
51597 else
51598 glibcxx_cv_func__finitel_use=no
51600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51601 ac_ext=c
51602 ac_cpp='$CPP $CPPFLAGS'
51603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
51612 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
51614 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
51615 for ac_func in _finitel
51616 do :
51617 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
51618 if test "x$ac_cv_func__finitel" = x""yes; then :
51619 cat >>confdefs.h <<_ACEOF
51620 #define HAVE__FINITEL 1
51621 _ACEOF
51624 done
51632 LIBS="$ac_save_LIBS"
51633 CXXFLAGS="$ac_save_CXXFLAGS"
51636 ac_test_CXXFLAGS="${CXXFLAGS+set}"
51637 ac_save_CXXFLAGS="$CXXFLAGS"
51638 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
51641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
51642 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
51643 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
51644 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
51645 $as_echo_n "(cached) " >&6
51646 else
51649 ac_ext=cpp
51650 ac_cpp='$CXXCPP $CPPFLAGS'
51651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51656 /* end confdefs.h. */
51657 #include <stdlib.h>
51659 main ()
51661 at_quick_exit(0);
51663 return 0;
51665 _ACEOF
51666 if ac_fn_cxx_try_compile "$LINENO"; then :
51667 glibcxx_cv_func_at_quick_exit_use=yes
51668 else
51669 glibcxx_cv_func_at_quick_exit_use=no
51671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51672 ac_ext=c
51673 ac_cpp='$CPP $CPPFLAGS'
51674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
51683 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
51684 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
51685 for ac_func in at_quick_exit
51686 do :
51687 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
51688 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
51689 cat >>confdefs.h <<_ACEOF
51690 #define HAVE_AT_QUICK_EXIT 1
51691 _ACEOF
51694 done
51699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
51700 $as_echo_n "checking for quick_exit declaration... " >&6; }
51701 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
51702 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
51703 $as_echo_n "(cached) " >&6
51704 else
51707 ac_ext=cpp
51708 ac_cpp='$CXXCPP $CPPFLAGS'
51709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51714 /* end confdefs.h. */
51715 #include <stdlib.h>
51717 main ()
51719 quick_exit(0);
51721 return 0;
51723 _ACEOF
51724 if ac_fn_cxx_try_compile "$LINENO"; then :
51725 glibcxx_cv_func_quick_exit_use=yes
51726 else
51727 glibcxx_cv_func_quick_exit_use=no
51729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51730 ac_ext=c
51731 ac_cpp='$CPP $CPPFLAGS'
51732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
51741 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
51742 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
51743 for ac_func in quick_exit
51744 do :
51745 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
51746 if test "x$ac_cv_func_quick_exit" = x""yes; then :
51747 cat >>confdefs.h <<_ACEOF
51748 #define HAVE_QUICK_EXIT 1
51749 _ACEOF
51752 done
51757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
51758 $as_echo_n "checking for strtold declaration... " >&6; }
51759 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
51760 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
51761 $as_echo_n "(cached) " >&6
51762 else
51765 ac_ext=cpp
51766 ac_cpp='$CXXCPP $CPPFLAGS'
51767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51772 /* end confdefs.h. */
51773 #include <stdlib.h>
51775 main ()
51777 strtold(0, 0);
51779 return 0;
51781 _ACEOF
51782 if ac_fn_cxx_try_compile "$LINENO"; then :
51783 glibcxx_cv_func_strtold_use=yes
51784 else
51785 glibcxx_cv_func_strtold_use=no
51787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51788 ac_ext=c
51789 ac_cpp='$CPP $CPPFLAGS'
51790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
51799 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
51800 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
51801 for ac_func in strtold
51802 do :
51803 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
51804 if test "x$ac_cv_func_strtold" = x""yes; then :
51805 cat >>confdefs.h <<_ACEOF
51806 #define HAVE_STRTOLD 1
51807 _ACEOF
51810 done
51817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
51818 $as_echo_n "checking for strtof declaration... " >&6; }
51819 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
51820 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
51821 $as_echo_n "(cached) " >&6
51822 else
51825 ac_ext=cpp
51826 ac_cpp='$CXXCPP $CPPFLAGS'
51827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51832 /* end confdefs.h. */
51833 #include <stdlib.h>
51835 main ()
51837 strtof(0, 0);
51839 return 0;
51841 _ACEOF
51842 if ac_fn_cxx_try_compile "$LINENO"; then :
51843 glibcxx_cv_func_strtof_use=yes
51844 else
51845 glibcxx_cv_func_strtof_use=no
51847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51848 ac_ext=c
51849 ac_cpp='$CPP $CPPFLAGS'
51850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
51859 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
51860 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
51861 for ac_func in strtof
51862 do :
51863 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
51864 if test "x$ac_cv_func_strtof" = x""yes; then :
51865 cat >>confdefs.h <<_ACEOF
51866 #define HAVE_STRTOF 1
51867 _ACEOF
51870 done
51877 CXXFLAGS="$ac_save_CXXFLAGS"
51881 *djgpp)
51882 # GLIBCXX_CHECK_MATH_SUPPORT
51883 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
51885 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
51887 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
51889 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
51891 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
51895 *-freebsd*)
51896 SECTION_FLAGS='-ffunction-sections -fdata-sections'
51899 # If we're not using GNU ld, then there's no point in even trying these
51900 # tests. Check for that first. We should have already tested for gld
51901 # by now (in libtool), but require it now just to be safe...
51902 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
51903 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
51907 # The name set by libtool depends on the version of libtool. Shame on us
51908 # for depending on an impl detail, but c'est la vie. Older versions used
51909 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
51910 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
51911 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
51912 # set (hence we're using an older libtool), then set it.
51913 if test x${with_gnu_ld+set} != xset; then
51914 if test x${ac_cv_prog_gnu_ld+set} != xset; then
51915 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
51916 with_gnu_ld=no
51917 else
51918 with_gnu_ld=$ac_cv_prog_gnu_ld
51922 # Start by getting the version number. I think the libtool test already
51923 # does some of this, but throws away the result.
51924 glibcxx_ld_is_gold=no
51925 if test x"$with_gnu_ld" = x"yes"; then
51926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
51927 $as_echo_n "checking for ld version... " >&6; }
51929 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
51930 glibcxx_ld_is_gold=yes
51932 ldver=`$LD --version 2>/dev/null |
51933 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'`
51935 glibcxx_gnu_ld_version=`echo $ldver | \
51936 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
51937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
51938 $as_echo "$glibcxx_gnu_ld_version" >&6; }
51941 # Set --gc-sections.
51942 glibcxx_have_gc_sections=no
51943 if test "$glibcxx_ld_is_gold" = "yes"; then
51944 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
51945 glibcxx_have_gc_sections=yes
51947 else
51948 glibcxx_gcsections_min_ld=21602
51949 if test x"$with_gnu_ld" = x"yes" &&
51950 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
51951 glibcxx_have_gc_sections=yes
51954 if test "$glibcxx_have_gc_sections" = "yes"; then
51955 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
51956 # NB: This flag only works reliably after 2.16.1. Configure tests
51957 # for this are difficult, so hard wire a value that should work.
51959 ac_test_CFLAGS="${CFLAGS+set}"
51960 ac_save_CFLAGS="$CFLAGS"
51961 CFLAGS='-Wl,--gc-sections'
51963 # Check for -Wl,--gc-sections
51964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
51965 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
51966 if test x$gcc_no_link = xyes; then
51967 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51970 /* end confdefs.h. */
51971 int one(void) { return 1; }
51972 int two(void) { return 2; }
51975 main ()
51977 two();
51979 return 0;
51981 _ACEOF
51982 if ac_fn_c_try_link "$LINENO"; then :
51983 ac_gcsections=yes
51984 else
51985 ac_gcsections=no
51987 rm -f core conftest.err conftest.$ac_objext \
51988 conftest$ac_exeext conftest.$ac_ext
51989 if test "$ac_gcsections" = "yes"; then
51990 rm -f conftest.c
51991 touch conftest.c
51992 if $CC -c conftest.c; then
51993 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
51994 grep "Warning: gc-sections option ignored" > /dev/null; then
51995 ac_gcsections=no
51998 rm -f conftest.c conftest.o conftest
52000 if test "$ac_gcsections" = "yes"; then
52001 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
52003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
52004 $as_echo "$ac_gcsections" >&6; }
52006 if test "$ac_test_CFLAGS" = set; then
52007 CFLAGS="$ac_save_CFLAGS"
52008 else
52009 # this is the suspicious part
52010 CFLAGS=''
52014 # Set -z,relro.
52015 # Note this is only for shared objects.
52016 ac_ld_relro=no
52017 if test x"$with_gnu_ld" = x"yes"; then
52018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
52019 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
52020 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
52021 if test -n "$cxx_z_relo"; then
52022 OPT_LDFLAGS="-Wl,-z,relro"
52023 ac_ld_relro=yes
52025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
52026 $as_echo "$ac_ld_relro" >&6; }
52029 # Set linker optimization flags.
52030 if test x"$with_gnu_ld" = x"yes"; then
52031 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
52037 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
52039 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
52041 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
52043 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
52045 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
52047 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
52049 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
52051 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
52053 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
52056 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
52058 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
52060 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
52062 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
52064 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
52066 $as_echo "#define HAVE_COSF 1" >>confdefs.h
52068 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
52070 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
52072 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
52074 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
52076 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
52078 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
52080 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
52082 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
52084 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
52086 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
52088 $as_echo "#define HAVE_POWF 1" >>confdefs.h
52090 $as_echo "#define HAVE_SINF 1" >>confdefs.h
52092 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
52094 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
52096 $as_echo "#define HAVE_TANF 1" >>confdefs.h
52098 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
52100 if test x"long_double_math_on_this_cpu" = x"yes"; then
52101 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
52103 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
52105 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
52109 *-hpux*)
52110 SECTION_FLAGS='-ffunction-sections -fdata-sections'
52113 # If we're not using GNU ld, then there's no point in even trying these
52114 # tests. Check for that first. We should have already tested for gld
52115 # by now (in libtool), but require it now just to be safe...
52116 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
52117 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
52121 # The name set by libtool depends on the version of libtool. Shame on us
52122 # for depending on an impl detail, but c'est la vie. Older versions used
52123 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
52124 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
52125 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
52126 # set (hence we're using an older libtool), then set it.
52127 if test x${with_gnu_ld+set} != xset; then
52128 if test x${ac_cv_prog_gnu_ld+set} != xset; then
52129 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
52130 with_gnu_ld=no
52131 else
52132 with_gnu_ld=$ac_cv_prog_gnu_ld
52136 # Start by getting the version number. I think the libtool test already
52137 # does some of this, but throws away the result.
52138 glibcxx_ld_is_gold=no
52139 if test x"$with_gnu_ld" = x"yes"; then
52140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
52141 $as_echo_n "checking for ld version... " >&6; }
52143 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
52144 glibcxx_ld_is_gold=yes
52146 ldver=`$LD --version 2>/dev/null |
52147 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'`
52149 glibcxx_gnu_ld_version=`echo $ldver | \
52150 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
52151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
52152 $as_echo "$glibcxx_gnu_ld_version" >&6; }
52155 # Set --gc-sections.
52156 glibcxx_have_gc_sections=no
52157 if test "$glibcxx_ld_is_gold" = "yes"; then
52158 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
52159 glibcxx_have_gc_sections=yes
52161 else
52162 glibcxx_gcsections_min_ld=21602
52163 if test x"$with_gnu_ld" = x"yes" &&
52164 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
52165 glibcxx_have_gc_sections=yes
52168 if test "$glibcxx_have_gc_sections" = "yes"; then
52169 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
52170 # NB: This flag only works reliably after 2.16.1. Configure tests
52171 # for this are difficult, so hard wire a value that should work.
52173 ac_test_CFLAGS="${CFLAGS+set}"
52174 ac_save_CFLAGS="$CFLAGS"
52175 CFLAGS='-Wl,--gc-sections'
52177 # Check for -Wl,--gc-sections
52178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
52179 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
52180 if test x$gcc_no_link = xyes; then
52181 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52184 /* end confdefs.h. */
52185 int one(void) { return 1; }
52186 int two(void) { return 2; }
52189 main ()
52191 two();
52193 return 0;
52195 _ACEOF
52196 if ac_fn_c_try_link "$LINENO"; then :
52197 ac_gcsections=yes
52198 else
52199 ac_gcsections=no
52201 rm -f core conftest.err conftest.$ac_objext \
52202 conftest$ac_exeext conftest.$ac_ext
52203 if test "$ac_gcsections" = "yes"; then
52204 rm -f conftest.c
52205 touch conftest.c
52206 if $CC -c conftest.c; then
52207 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
52208 grep "Warning: gc-sections option ignored" > /dev/null; then
52209 ac_gcsections=no
52212 rm -f conftest.c conftest.o conftest
52214 if test "$ac_gcsections" = "yes"; then
52215 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
52217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
52218 $as_echo "$ac_gcsections" >&6; }
52220 if test "$ac_test_CFLAGS" = set; then
52221 CFLAGS="$ac_save_CFLAGS"
52222 else
52223 # this is the suspicious part
52224 CFLAGS=''
52228 # Set -z,relro.
52229 # Note this is only for shared objects.
52230 ac_ld_relro=no
52231 if test x"$with_gnu_ld" = x"yes"; then
52232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
52233 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
52234 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
52235 if test -n "$cxx_z_relo"; then
52236 OPT_LDFLAGS="-Wl,-z,relro"
52237 ac_ld_relro=yes
52239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
52240 $as_echo "$ac_ld_relro" >&6; }
52243 # Set linker optimization flags.
52244 if test x"$with_gnu_ld" = x"yes"; then
52245 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
52252 # GLIBCXX_CHECK_MATH_SUPPORT
52253 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
52255 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
52257 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
52259 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
52261 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
52263 $as_echo "#define HAVE_COSF 1" >>confdefs.h
52265 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
52267 $as_echo "#define HAVE_SINF 1" >>confdefs.h
52269 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
52271 $as_echo "#define HAVE_TANF 1" >>confdefs.h
52273 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
52275 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
52277 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
52279 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
52281 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
52283 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
52285 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
52287 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
52289 $as_echo "#define HAVE_MODF 1" >>confdefs.h
52291 $as_echo "#define HAVE_POWF 1" >>confdefs.h
52293 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
52296 # GLIBCXX_CHECK_STDLIB_SUPPORT
52297 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
52302 # Check whether --enable-tls was given.
52303 if test "${enable_tls+set}" = set; then :
52304 enableval=$enable_tls;
52305 case "$enableval" in
52306 yes|no) ;;
52307 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
52308 esac
52310 else
52311 enable_tls=yes
52315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
52316 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
52317 if test "${gcc_cv_have_tls+set}" = set; then :
52318 $as_echo_n "(cached) " >&6
52319 else
52321 if test "$cross_compiling" = yes; then :
52322 if test x$gcc_no_link = xyes; then
52323 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52326 /* end confdefs.h. */
52327 __thread int a; int b; int main() { return a = b; }
52328 _ACEOF
52329 if ac_fn_c_try_link "$LINENO"; then :
52330 chktls_save_LDFLAGS="$LDFLAGS"
52331 case $host in
52332 *-*-linux*)
52333 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
52335 esac
52336 chktls_save_CFLAGS="$CFLAGS"
52337 CFLAGS="-fPIC $CFLAGS"
52338 if test x$gcc_no_link = xyes; then
52339 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52342 /* end confdefs.h. */
52343 int f() { return 0; }
52344 _ACEOF
52345 if ac_fn_c_try_link "$LINENO"; then :
52346 if test x$gcc_no_link = xyes; then
52347 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52350 /* end confdefs.h. */
52351 __thread int a; int b; int f() { return a = b; }
52352 _ACEOF
52353 if ac_fn_c_try_link "$LINENO"; then :
52354 gcc_cv_have_tls=yes
52355 else
52356 gcc_cv_have_tls=no
52358 rm -f core conftest.err conftest.$ac_objext \
52359 conftest$ac_exeext conftest.$ac_ext
52360 else
52361 gcc_cv_have_tls=yes
52363 rm -f core conftest.err conftest.$ac_objext \
52364 conftest$ac_exeext conftest.$ac_ext
52365 CFLAGS="$chktls_save_CFLAGS"
52366 LDFLAGS="$chktls_save_LDFLAGS"
52367 else
52368 gcc_cv_have_tls=no
52370 rm -f core conftest.err conftest.$ac_objext \
52371 conftest$ac_exeext conftest.$ac_ext
52374 else
52375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52376 /* end confdefs.h. */
52377 __thread int a; int b; int main() { return a = b; }
52378 _ACEOF
52379 if ac_fn_c_try_run "$LINENO"; then :
52380 chktls_save_LDFLAGS="$LDFLAGS"
52381 LDFLAGS="-static $LDFLAGS"
52382 if test x$gcc_no_link = xyes; then
52383 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52386 /* end confdefs.h. */
52387 int main() { return 0; }
52388 _ACEOF
52389 if ac_fn_c_try_link "$LINENO"; then :
52390 if test "$cross_compiling" = yes; then :
52391 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
52392 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
52393 as_fn_error "cannot run test program while cross compiling
52394 See \`config.log' for more details." "$LINENO" 5; }
52395 else
52396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52397 /* end confdefs.h. */
52398 __thread int a; int b; int main() { return a = b; }
52399 _ACEOF
52400 if ac_fn_c_try_run "$LINENO"; then :
52401 gcc_cv_have_tls=yes
52402 else
52403 gcc_cv_have_tls=no
52405 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
52406 conftest.$ac_objext conftest.beam conftest.$ac_ext
52409 else
52410 gcc_cv_have_tls=yes
52412 rm -f core conftest.err conftest.$ac_objext \
52413 conftest$ac_exeext conftest.$ac_ext
52414 LDFLAGS="$chktls_save_LDFLAGS"
52415 if test $gcc_cv_have_tls = yes; then
52416 chktls_save_CFLAGS="$CFLAGS"
52417 thread_CFLAGS=failed
52418 for flag in '' '-pthread' '-lpthread'; do
52419 CFLAGS="$flag $chktls_save_CFLAGS"
52420 if test x$gcc_no_link = xyes; then
52421 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52424 /* end confdefs.h. */
52425 #include <pthread.h>
52426 void *g(void *d) { return NULL; }
52428 main ()
52430 pthread_t t; pthread_create(&t,NULL,g,NULL);
52432 return 0;
52434 _ACEOF
52435 if ac_fn_c_try_link "$LINENO"; then :
52436 thread_CFLAGS="$flag"
52438 rm -f core conftest.err conftest.$ac_objext \
52439 conftest$ac_exeext conftest.$ac_ext
52440 if test "X$thread_CFLAGS" != Xfailed; then
52441 break
52443 done
52444 CFLAGS="$chktls_save_CFLAGS"
52445 if test "X$thread_CFLAGS" != Xfailed; then
52446 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
52447 if test "$cross_compiling" = yes; then :
52448 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
52449 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
52450 as_fn_error "cannot run test program while cross compiling
52451 See \`config.log' for more details." "$LINENO" 5; }
52452 else
52453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52454 /* end confdefs.h. */
52455 #include <pthread.h>
52456 __thread int a;
52457 static int *volatile a_in_other_thread;
52458 static void *
52459 thread_func (void *arg)
52461 a_in_other_thread = &a;
52462 return (void *)0;
52465 main ()
52467 pthread_t thread;
52468 void *thread_retval;
52469 int *volatile a_in_main_thread;
52470 a_in_main_thread = &a;
52471 if (pthread_create (&thread, (pthread_attr_t *)0,
52472 thread_func, (void *)0))
52473 return 0;
52474 if (pthread_join (thread, &thread_retval))
52475 return 0;
52476 return (a_in_other_thread == a_in_main_thread);
52478 return 0;
52480 _ACEOF
52481 if ac_fn_c_try_run "$LINENO"; then :
52482 gcc_cv_have_tls=yes
52483 else
52484 gcc_cv_have_tls=no
52486 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
52487 conftest.$ac_objext conftest.beam conftest.$ac_ext
52490 CFLAGS="$chktls_save_CFLAGS"
52493 else
52494 gcc_cv_have_tls=no
52496 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
52497 conftest.$ac_objext conftest.beam conftest.$ac_ext
52501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
52502 $as_echo "$gcc_cv_have_tls" >&6; }
52503 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
52505 $as_echo "#define HAVE_TLS 1" >>confdefs.h
52508 case "$target" in
52509 *-hpux10*)
52510 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
52512 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
52514 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
52516 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
52518 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
52521 esac
52523 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu | *-cygwin*)
52525 # All these tests are for C++; save the language and the compiler flags.
52526 # The CXXFLAGS thing is suspicious, but based on similar bits previously
52527 # found in GLIBCXX_CONFIGURE.
52529 ac_ext=cpp
52530 ac_cpp='$CXXCPP $CPPFLAGS'
52531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52535 ac_test_CXXFLAGS="${CXXFLAGS+set}"
52536 ac_save_CXXFLAGS="$CXXFLAGS"
52538 # Check for maintainer-mode bits.
52539 if test x"$USE_MAINTAINER_MODE" = xno; then
52540 WERROR=''
52541 else
52542 WERROR='-Werror'
52545 # Check for -ffunction-sections -fdata-sections
52546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
52547 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
52548 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
52549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52550 /* end confdefs.h. */
52551 int foo; void bar() { };
52553 main ()
52557 return 0;
52559 _ACEOF
52560 if ac_fn_cxx_try_compile "$LINENO"; then :
52561 ac_fdsections=yes
52562 else
52563 ac_fdsections=no
52565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52566 if test "$ac_test_CXXFLAGS" = set; then
52567 CXXFLAGS="$ac_save_CXXFLAGS"
52568 else
52569 # this is the suspicious part
52570 CXXFLAGS=''
52572 if test x"$ac_fdsections" = x"yes"; then
52573 SECTION_FLAGS='-ffunction-sections -fdata-sections'
52575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
52576 $as_echo "$ac_fdsections" >&6; }
52578 ac_ext=c
52579 ac_cpp='$CPP $CPPFLAGS'
52580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52588 # If we're not using GNU ld, then there's no point in even trying these
52589 # tests. Check for that first. We should have already tested for gld
52590 # by now (in libtool), but require it now just to be safe...
52591 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
52592 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
52596 # The name set by libtool depends on the version of libtool. Shame on us
52597 # for depending on an impl detail, but c'est la vie. Older versions used
52598 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
52599 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
52600 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
52601 # set (hence we're using an older libtool), then set it.
52602 if test x${with_gnu_ld+set} != xset; then
52603 if test x${ac_cv_prog_gnu_ld+set} != xset; then
52604 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
52605 with_gnu_ld=no
52606 else
52607 with_gnu_ld=$ac_cv_prog_gnu_ld
52611 # Start by getting the version number. I think the libtool test already
52612 # does some of this, but throws away the result.
52613 glibcxx_ld_is_gold=no
52614 if test x"$with_gnu_ld" = x"yes"; then
52615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
52616 $as_echo_n "checking for ld version... " >&6; }
52618 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
52619 glibcxx_ld_is_gold=yes
52621 ldver=`$LD --version 2>/dev/null |
52622 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'`
52624 glibcxx_gnu_ld_version=`echo $ldver | \
52625 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
52626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
52627 $as_echo "$glibcxx_gnu_ld_version" >&6; }
52630 # Set --gc-sections.
52631 glibcxx_have_gc_sections=no
52632 if test "$glibcxx_ld_is_gold" = "yes"; then
52633 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
52634 glibcxx_have_gc_sections=yes
52636 else
52637 glibcxx_gcsections_min_ld=21602
52638 if test x"$with_gnu_ld" = x"yes" &&
52639 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
52640 glibcxx_have_gc_sections=yes
52643 if test "$glibcxx_have_gc_sections" = "yes"; then
52644 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
52645 # NB: This flag only works reliably after 2.16.1. Configure tests
52646 # for this are difficult, so hard wire a value that should work.
52648 ac_test_CFLAGS="${CFLAGS+set}"
52649 ac_save_CFLAGS="$CFLAGS"
52650 CFLAGS='-Wl,--gc-sections'
52652 # Check for -Wl,--gc-sections
52653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
52654 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
52655 if test x$gcc_no_link = xyes; then
52656 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52659 /* end confdefs.h. */
52660 int one(void) { return 1; }
52661 int two(void) { return 2; }
52664 main ()
52666 two();
52668 return 0;
52670 _ACEOF
52671 if ac_fn_c_try_link "$LINENO"; then :
52672 ac_gcsections=yes
52673 else
52674 ac_gcsections=no
52676 rm -f core conftest.err conftest.$ac_objext \
52677 conftest$ac_exeext conftest.$ac_ext
52678 if test "$ac_gcsections" = "yes"; then
52679 rm -f conftest.c
52680 touch conftest.c
52681 if $CC -c conftest.c; then
52682 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
52683 grep "Warning: gc-sections option ignored" > /dev/null; then
52684 ac_gcsections=no
52687 rm -f conftest.c conftest.o conftest
52689 if test "$ac_gcsections" = "yes"; then
52690 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
52692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
52693 $as_echo "$ac_gcsections" >&6; }
52695 if test "$ac_test_CFLAGS" = set; then
52696 CFLAGS="$ac_save_CFLAGS"
52697 else
52698 # this is the suspicious part
52699 CFLAGS=''
52703 # Set -z,relro.
52704 # Note this is only for shared objects.
52705 ac_ld_relro=no
52706 if test x"$with_gnu_ld" = x"yes"; then
52707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
52708 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
52709 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
52710 if test -n "$cxx_z_relo"; then
52711 OPT_LDFLAGS="-Wl,-z,relro"
52712 ac_ld_relro=yes
52714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
52715 $as_echo "$ac_ld_relro" >&6; }
52718 # Set linker optimization flags.
52719 if test x"$with_gnu_ld" = x"yes"; then
52720 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
52727 ac_test_CXXFLAGS="${CXXFLAGS+set}"
52728 ac_save_CXXFLAGS="$CXXFLAGS"
52729 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
52731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
52732 $as_echo_n "checking for sin in -lm... " >&6; }
52733 if test "${ac_cv_lib_m_sin+set}" = set; then :
52734 $as_echo_n "(cached) " >&6
52735 else
52736 ac_check_lib_save_LIBS=$LIBS
52737 LIBS="-lm $LIBS"
52738 if test x$gcc_no_link = xyes; then
52739 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52742 /* end confdefs.h. */
52744 /* Override any GCC internal prototype to avoid an error.
52745 Use char because int might match the return type of a GCC
52746 builtin and then its argument prototype would still apply. */
52747 #ifdef __cplusplus
52748 extern "C"
52749 #endif
52750 char sin ();
52752 main ()
52754 return sin ();
52756 return 0;
52758 _ACEOF
52759 if ac_fn_c_try_link "$LINENO"; then :
52760 ac_cv_lib_m_sin=yes
52761 else
52762 ac_cv_lib_m_sin=no
52764 rm -f core conftest.err conftest.$ac_objext \
52765 conftest$ac_exeext conftest.$ac_ext
52766 LIBS=$ac_check_lib_save_LIBS
52768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
52769 $as_echo "$ac_cv_lib_m_sin" >&6; }
52770 if test "x$ac_cv_lib_m_sin" = x""yes; then :
52771 libm="-lm"
52774 ac_save_LIBS="$LIBS"
52775 LIBS="$LIBS $libm"
52779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
52780 $as_echo_n "checking for isinf declaration... " >&6; }
52781 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
52782 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
52783 $as_echo_n "(cached) " >&6
52784 else
52787 ac_ext=cpp
52788 ac_cpp='$CXXCPP $CPPFLAGS'
52789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52794 /* end confdefs.h. */
52795 #include <math.h>
52796 #ifdef HAVE_IEEEFP_H
52797 #include <ieeefp.h>
52798 #endif
52801 main ()
52803 isinf(0);
52805 return 0;
52807 _ACEOF
52808 if ac_fn_cxx_try_compile "$LINENO"; then :
52809 glibcxx_cv_func_isinf_use=yes
52810 else
52811 glibcxx_cv_func_isinf_use=no
52813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52814 ac_ext=c
52815 ac_cpp='$CPP $CPPFLAGS'
52816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
52825 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
52827 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
52828 for ac_func in isinf
52829 do :
52830 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
52831 if test "x$ac_cv_func_isinf" = x""yes; then :
52832 cat >>confdefs.h <<_ACEOF
52833 #define HAVE_ISINF 1
52834 _ACEOF
52837 done
52839 else
52841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
52842 $as_echo_n "checking for _isinf declaration... " >&6; }
52843 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
52844 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
52845 $as_echo_n "(cached) " >&6
52846 else
52849 ac_ext=cpp
52850 ac_cpp='$CXXCPP $CPPFLAGS'
52851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52856 /* end confdefs.h. */
52857 #include <math.h>
52858 #ifdef HAVE_IEEEFP_H
52859 #include <ieeefp.h>
52860 #endif
52863 main ()
52865 _isinf(0);
52867 return 0;
52869 _ACEOF
52870 if ac_fn_cxx_try_compile "$LINENO"; then :
52871 glibcxx_cv_func__isinf_use=yes
52872 else
52873 glibcxx_cv_func__isinf_use=no
52875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52876 ac_ext=c
52877 ac_cpp='$CPP $CPPFLAGS'
52878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
52887 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
52889 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
52890 for ac_func in _isinf
52891 do :
52892 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
52893 if test "x$ac_cv_func__isinf" = x""yes; then :
52894 cat >>confdefs.h <<_ACEOF
52895 #define HAVE__ISINF 1
52896 _ACEOF
52899 done
52908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
52909 $as_echo_n "checking for isnan declaration... " >&6; }
52910 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
52911 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
52912 $as_echo_n "(cached) " >&6
52913 else
52916 ac_ext=cpp
52917 ac_cpp='$CXXCPP $CPPFLAGS'
52918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52923 /* end confdefs.h. */
52924 #include <math.h>
52925 #ifdef HAVE_IEEEFP_H
52926 #include <ieeefp.h>
52927 #endif
52930 main ()
52932 isnan(0);
52934 return 0;
52936 _ACEOF
52937 if ac_fn_cxx_try_compile "$LINENO"; then :
52938 glibcxx_cv_func_isnan_use=yes
52939 else
52940 glibcxx_cv_func_isnan_use=no
52942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52943 ac_ext=c
52944 ac_cpp='$CPP $CPPFLAGS'
52945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
52954 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
52956 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
52957 for ac_func in isnan
52958 do :
52959 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
52960 if test "x$ac_cv_func_isnan" = x""yes; then :
52961 cat >>confdefs.h <<_ACEOF
52962 #define HAVE_ISNAN 1
52963 _ACEOF
52966 done
52968 else
52970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
52971 $as_echo_n "checking for _isnan declaration... " >&6; }
52972 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
52973 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
52974 $as_echo_n "(cached) " >&6
52975 else
52978 ac_ext=cpp
52979 ac_cpp='$CXXCPP $CPPFLAGS'
52980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52985 /* end confdefs.h. */
52986 #include <math.h>
52987 #ifdef HAVE_IEEEFP_H
52988 #include <ieeefp.h>
52989 #endif
52992 main ()
52994 _isnan(0);
52996 return 0;
52998 _ACEOF
52999 if ac_fn_cxx_try_compile "$LINENO"; then :
53000 glibcxx_cv_func__isnan_use=yes
53001 else
53002 glibcxx_cv_func__isnan_use=no
53004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53005 ac_ext=c
53006 ac_cpp='$CPP $CPPFLAGS'
53007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
53016 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
53018 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
53019 for ac_func in _isnan
53020 do :
53021 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
53022 if test "x$ac_cv_func__isnan" = x""yes; then :
53023 cat >>confdefs.h <<_ACEOF
53024 #define HAVE__ISNAN 1
53025 _ACEOF
53028 done
53037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
53038 $as_echo_n "checking for finite declaration... " >&6; }
53039 if test x${glibcxx_cv_func_finite_use+set} != xset; then
53040 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
53041 $as_echo_n "(cached) " >&6
53042 else
53045 ac_ext=cpp
53046 ac_cpp='$CXXCPP $CPPFLAGS'
53047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53052 /* end confdefs.h. */
53053 #include <math.h>
53054 #ifdef HAVE_IEEEFP_H
53055 #include <ieeefp.h>
53056 #endif
53059 main ()
53061 finite(0);
53063 return 0;
53065 _ACEOF
53066 if ac_fn_cxx_try_compile "$LINENO"; then :
53067 glibcxx_cv_func_finite_use=yes
53068 else
53069 glibcxx_cv_func_finite_use=no
53071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53072 ac_ext=c
53073 ac_cpp='$CPP $CPPFLAGS'
53074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
53083 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
53085 if test x$glibcxx_cv_func_finite_use = x"yes"; then
53086 for ac_func in finite
53087 do :
53088 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
53089 if test "x$ac_cv_func_finite" = x""yes; then :
53090 cat >>confdefs.h <<_ACEOF
53091 #define HAVE_FINITE 1
53092 _ACEOF
53095 done
53097 else
53099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
53100 $as_echo_n "checking for _finite declaration... " >&6; }
53101 if test x${glibcxx_cv_func__finite_use+set} != xset; then
53102 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
53103 $as_echo_n "(cached) " >&6
53104 else
53107 ac_ext=cpp
53108 ac_cpp='$CXXCPP $CPPFLAGS'
53109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53114 /* end confdefs.h. */
53115 #include <math.h>
53116 #ifdef HAVE_IEEEFP_H
53117 #include <ieeefp.h>
53118 #endif
53121 main ()
53123 _finite(0);
53125 return 0;
53127 _ACEOF
53128 if ac_fn_cxx_try_compile "$LINENO"; then :
53129 glibcxx_cv_func__finite_use=yes
53130 else
53131 glibcxx_cv_func__finite_use=no
53133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53134 ac_ext=c
53135 ac_cpp='$CPP $CPPFLAGS'
53136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
53145 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
53147 if test x$glibcxx_cv_func__finite_use = x"yes"; then
53148 for ac_func in _finite
53149 do :
53150 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
53151 if test "x$ac_cv_func__finite" = x""yes; then :
53152 cat >>confdefs.h <<_ACEOF
53153 #define HAVE__FINITE 1
53154 _ACEOF
53157 done
53166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
53167 $as_echo_n "checking for sincos declaration... " >&6; }
53168 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
53169 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
53170 $as_echo_n "(cached) " >&6
53171 else
53174 ac_ext=cpp
53175 ac_cpp='$CXXCPP $CPPFLAGS'
53176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53181 /* end confdefs.h. */
53182 #include <math.h>
53184 main ()
53186 sincos(0, 0, 0);
53188 return 0;
53190 _ACEOF
53191 if ac_fn_cxx_try_compile "$LINENO"; then :
53192 glibcxx_cv_func_sincos_use=yes
53193 else
53194 glibcxx_cv_func_sincos_use=no
53196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53197 ac_ext=c
53198 ac_cpp='$CPP $CPPFLAGS'
53199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
53208 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
53210 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
53211 for ac_func in sincos
53212 do :
53213 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
53214 if test "x$ac_cv_func_sincos" = x""yes; then :
53215 cat >>confdefs.h <<_ACEOF
53216 #define HAVE_SINCOS 1
53217 _ACEOF
53220 done
53222 else
53224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
53225 $as_echo_n "checking for _sincos declaration... " >&6; }
53226 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
53227 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
53228 $as_echo_n "(cached) " >&6
53229 else
53232 ac_ext=cpp
53233 ac_cpp='$CXXCPP $CPPFLAGS'
53234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53239 /* end confdefs.h. */
53240 #include <math.h>
53242 main ()
53244 _sincos(0, 0, 0);
53246 return 0;
53248 _ACEOF
53249 if ac_fn_cxx_try_compile "$LINENO"; then :
53250 glibcxx_cv_func__sincos_use=yes
53251 else
53252 glibcxx_cv_func__sincos_use=no
53254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53255 ac_ext=c
53256 ac_cpp='$CPP $CPPFLAGS'
53257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
53266 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
53268 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
53269 for ac_func in _sincos
53270 do :
53271 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
53272 if test "x$ac_cv_func__sincos" = x""yes; then :
53273 cat >>confdefs.h <<_ACEOF
53274 #define HAVE__SINCOS 1
53275 _ACEOF
53278 done
53287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
53288 $as_echo_n "checking for fpclass declaration... " >&6; }
53289 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
53290 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
53291 $as_echo_n "(cached) " >&6
53292 else
53295 ac_ext=cpp
53296 ac_cpp='$CXXCPP $CPPFLAGS'
53297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53302 /* end confdefs.h. */
53303 #include <math.h>
53304 #ifdef HAVE_IEEEFP_H
53305 #include <ieeefp.h>
53306 #endif
53309 main ()
53311 fpclass(0);
53313 return 0;
53315 _ACEOF
53316 if ac_fn_cxx_try_compile "$LINENO"; then :
53317 glibcxx_cv_func_fpclass_use=yes
53318 else
53319 glibcxx_cv_func_fpclass_use=no
53321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53322 ac_ext=c
53323 ac_cpp='$CPP $CPPFLAGS'
53324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
53333 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
53335 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
53336 for ac_func in fpclass
53337 do :
53338 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
53339 if test "x$ac_cv_func_fpclass" = x""yes; then :
53340 cat >>confdefs.h <<_ACEOF
53341 #define HAVE_FPCLASS 1
53342 _ACEOF
53345 done
53347 else
53349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
53350 $as_echo_n "checking for _fpclass declaration... " >&6; }
53351 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
53352 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
53353 $as_echo_n "(cached) " >&6
53354 else
53357 ac_ext=cpp
53358 ac_cpp='$CXXCPP $CPPFLAGS'
53359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53364 /* end confdefs.h. */
53365 #include <math.h>
53366 #ifdef HAVE_IEEEFP_H
53367 #include <ieeefp.h>
53368 #endif
53371 main ()
53373 _fpclass(0);
53375 return 0;
53377 _ACEOF
53378 if ac_fn_cxx_try_compile "$LINENO"; then :
53379 glibcxx_cv_func__fpclass_use=yes
53380 else
53381 glibcxx_cv_func__fpclass_use=no
53383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53384 ac_ext=c
53385 ac_cpp='$CPP $CPPFLAGS'
53386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
53395 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
53397 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
53398 for ac_func in _fpclass
53399 do :
53400 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
53401 if test "x$ac_cv_func__fpclass" = x""yes; then :
53402 cat >>confdefs.h <<_ACEOF
53403 #define HAVE__FPCLASS 1
53404 _ACEOF
53407 done
53416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
53417 $as_echo_n "checking for qfpclass declaration... " >&6; }
53418 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
53419 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
53420 $as_echo_n "(cached) " >&6
53421 else
53424 ac_ext=cpp
53425 ac_cpp='$CXXCPP $CPPFLAGS'
53426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53431 /* end confdefs.h. */
53432 #include <math.h>
53433 #ifdef HAVE_IEEEFP_H
53434 #include <ieeefp.h>
53435 #endif
53438 main ()
53440 qfpclass(0);
53442 return 0;
53444 _ACEOF
53445 if ac_fn_cxx_try_compile "$LINENO"; then :
53446 glibcxx_cv_func_qfpclass_use=yes
53447 else
53448 glibcxx_cv_func_qfpclass_use=no
53450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53451 ac_ext=c
53452 ac_cpp='$CPP $CPPFLAGS'
53453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
53462 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
53464 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
53465 for ac_func in qfpclass
53466 do :
53467 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
53468 if test "x$ac_cv_func_qfpclass" = x""yes; then :
53469 cat >>confdefs.h <<_ACEOF
53470 #define HAVE_QFPCLASS 1
53471 _ACEOF
53474 done
53476 else
53478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
53479 $as_echo_n "checking for _qfpclass declaration... " >&6; }
53480 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
53481 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
53482 $as_echo_n "(cached) " >&6
53483 else
53486 ac_ext=cpp
53487 ac_cpp='$CXXCPP $CPPFLAGS'
53488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53493 /* end confdefs.h. */
53494 #include <math.h>
53495 #ifdef HAVE_IEEEFP_H
53496 #include <ieeefp.h>
53497 #endif
53500 main ()
53502 _qfpclass(0);
53504 return 0;
53506 _ACEOF
53507 if ac_fn_cxx_try_compile "$LINENO"; then :
53508 glibcxx_cv_func__qfpclass_use=yes
53509 else
53510 glibcxx_cv_func__qfpclass_use=no
53512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53513 ac_ext=c
53514 ac_cpp='$CPP $CPPFLAGS'
53515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
53524 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
53526 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
53527 for ac_func in _qfpclass
53528 do :
53529 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
53530 if test "x$ac_cv_func__qfpclass" = x""yes; then :
53531 cat >>confdefs.h <<_ACEOF
53532 #define HAVE__QFPCLASS 1
53533 _ACEOF
53536 done
53545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
53546 $as_echo_n "checking for hypot declaration... " >&6; }
53547 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
53548 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
53549 $as_echo_n "(cached) " >&6
53550 else
53553 ac_ext=cpp
53554 ac_cpp='$CXXCPP $CPPFLAGS'
53555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53560 /* end confdefs.h. */
53561 #include <math.h>
53563 main ()
53565 hypot(0, 0);
53567 return 0;
53569 _ACEOF
53570 if ac_fn_cxx_try_compile "$LINENO"; then :
53571 glibcxx_cv_func_hypot_use=yes
53572 else
53573 glibcxx_cv_func_hypot_use=no
53575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53576 ac_ext=c
53577 ac_cpp='$CPP $CPPFLAGS'
53578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
53587 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
53589 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
53590 for ac_func in hypot
53591 do :
53592 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
53593 if test "x$ac_cv_func_hypot" = x""yes; then :
53594 cat >>confdefs.h <<_ACEOF
53595 #define HAVE_HYPOT 1
53596 _ACEOF
53599 done
53601 else
53603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
53604 $as_echo_n "checking for _hypot declaration... " >&6; }
53605 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
53606 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
53607 $as_echo_n "(cached) " >&6
53608 else
53611 ac_ext=cpp
53612 ac_cpp='$CXXCPP $CPPFLAGS'
53613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53618 /* end confdefs.h. */
53619 #include <math.h>
53621 main ()
53623 _hypot(0, 0);
53625 return 0;
53627 _ACEOF
53628 if ac_fn_cxx_try_compile "$LINENO"; then :
53629 glibcxx_cv_func__hypot_use=yes
53630 else
53631 glibcxx_cv_func__hypot_use=no
53633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53634 ac_ext=c
53635 ac_cpp='$CPP $CPPFLAGS'
53636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
53645 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
53647 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
53648 for ac_func in _hypot
53649 do :
53650 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
53651 if test "x$ac_cv_func__hypot" = x""yes; then :
53652 cat >>confdefs.h <<_ACEOF
53653 #define HAVE__HYPOT 1
53654 _ACEOF
53657 done
53666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
53667 $as_echo_n "checking for float trig functions... " >&6; }
53668 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
53669 $as_echo_n "(cached) " >&6
53670 else
53673 ac_ext=cpp
53674 ac_cpp='$CXXCPP $CPPFLAGS'
53675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53680 /* end confdefs.h. */
53681 #include <math.h>
53683 main ()
53685 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
53687 return 0;
53689 _ACEOF
53690 if ac_fn_cxx_try_compile "$LINENO"; then :
53691 glibcxx_cv_func_float_trig_use=yes
53692 else
53693 glibcxx_cv_func_float_trig_use=no
53695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53696 ac_ext=c
53697 ac_cpp='$CPP $CPPFLAGS'
53698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
53705 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
53706 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
53707 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
53708 do :
53709 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53710 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53711 eval as_val=\$$as_ac_var
53712 if test "x$as_val" = x""yes; then :
53713 cat >>confdefs.h <<_ACEOF
53714 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53715 _ACEOF
53718 done
53720 else
53721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
53722 $as_echo_n "checking for _float trig functions... " >&6; }
53723 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
53724 $as_echo_n "(cached) " >&6
53725 else
53728 ac_ext=cpp
53729 ac_cpp='$CXXCPP $CPPFLAGS'
53730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53735 /* end confdefs.h. */
53736 #include <math.h>
53738 main ()
53740 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
53742 return 0;
53744 _ACEOF
53745 if ac_fn_cxx_try_compile "$LINENO"; then :
53746 glibcxx_cv_func__float_trig_use=yes
53747 else
53748 glibcxx_cv_func__float_trig_use=no
53750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53751 ac_ext=c
53752 ac_cpp='$CPP $CPPFLAGS'
53753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
53760 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
53761 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
53762 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
53763 do :
53764 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53765 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53766 eval as_val=\$$as_ac_var
53767 if test "x$as_val" = x""yes; then :
53768 cat >>confdefs.h <<_ACEOF
53769 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53770 _ACEOF
53773 done
53782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
53783 $as_echo_n "checking for float round functions... " >&6; }
53784 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
53785 $as_echo_n "(cached) " >&6
53786 else
53789 ac_ext=cpp
53790 ac_cpp='$CXXCPP $CPPFLAGS'
53791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53796 /* end confdefs.h. */
53797 #include <math.h>
53799 main ()
53801 ceilf (0); floorf (0);
53803 return 0;
53805 _ACEOF
53806 if ac_fn_cxx_try_compile "$LINENO"; then :
53807 glibcxx_cv_func_float_round_use=yes
53808 else
53809 glibcxx_cv_func_float_round_use=no
53811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53812 ac_ext=c
53813 ac_cpp='$CPP $CPPFLAGS'
53814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
53821 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
53822 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
53823 for ac_func in ceilf floorf
53824 do :
53825 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53826 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53827 eval as_val=\$$as_ac_var
53828 if test "x$as_val" = x""yes; then :
53829 cat >>confdefs.h <<_ACEOF
53830 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53831 _ACEOF
53834 done
53836 else
53837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
53838 $as_echo_n "checking for _float round functions... " >&6; }
53839 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
53840 $as_echo_n "(cached) " >&6
53841 else
53844 ac_ext=cpp
53845 ac_cpp='$CXXCPP $CPPFLAGS'
53846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53851 /* end confdefs.h. */
53852 #include <math.h>
53854 main ()
53856 _ceilf (0); _floorf (0);
53858 return 0;
53860 _ACEOF
53861 if ac_fn_cxx_try_compile "$LINENO"; then :
53862 glibcxx_cv_func__float_round_use=yes
53863 else
53864 glibcxx_cv_func__float_round_use=no
53866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53867 ac_ext=c
53868 ac_cpp='$CPP $CPPFLAGS'
53869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
53876 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
53877 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
53878 for ac_func in _ceilf _floorf
53879 do :
53880 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53881 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53882 eval as_val=\$$as_ac_var
53883 if test "x$as_val" = x""yes; then :
53884 cat >>confdefs.h <<_ACEOF
53885 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53886 _ACEOF
53889 done
53899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
53900 $as_echo_n "checking for expf declaration... " >&6; }
53901 if test x${glibcxx_cv_func_expf_use+set} != xset; then
53902 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
53903 $as_echo_n "(cached) " >&6
53904 else
53907 ac_ext=cpp
53908 ac_cpp='$CXXCPP $CPPFLAGS'
53909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53914 /* end confdefs.h. */
53915 #include <math.h>
53916 #ifdef HAVE_IEEEFP_H
53917 #include <ieeefp.h>
53918 #endif
53921 main ()
53923 expf(0);
53925 return 0;
53927 _ACEOF
53928 if ac_fn_cxx_try_compile "$LINENO"; then :
53929 glibcxx_cv_func_expf_use=yes
53930 else
53931 glibcxx_cv_func_expf_use=no
53933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53934 ac_ext=c
53935 ac_cpp='$CPP $CPPFLAGS'
53936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
53945 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
53947 if test x$glibcxx_cv_func_expf_use = x"yes"; then
53948 for ac_func in expf
53949 do :
53950 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
53951 if test "x$ac_cv_func_expf" = x""yes; then :
53952 cat >>confdefs.h <<_ACEOF
53953 #define HAVE_EXPF 1
53954 _ACEOF
53957 done
53959 else
53961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
53962 $as_echo_n "checking for _expf declaration... " >&6; }
53963 if test x${glibcxx_cv_func__expf_use+set} != xset; then
53964 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
53965 $as_echo_n "(cached) " >&6
53966 else
53969 ac_ext=cpp
53970 ac_cpp='$CXXCPP $CPPFLAGS'
53971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53976 /* end confdefs.h. */
53977 #include <math.h>
53978 #ifdef HAVE_IEEEFP_H
53979 #include <ieeefp.h>
53980 #endif
53983 main ()
53985 _expf(0);
53987 return 0;
53989 _ACEOF
53990 if ac_fn_cxx_try_compile "$LINENO"; then :
53991 glibcxx_cv_func__expf_use=yes
53992 else
53993 glibcxx_cv_func__expf_use=no
53995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53996 ac_ext=c
53997 ac_cpp='$CPP $CPPFLAGS'
53998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
54007 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
54009 if test x$glibcxx_cv_func__expf_use = x"yes"; then
54010 for ac_func in _expf
54011 do :
54012 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
54013 if test "x$ac_cv_func__expf" = x""yes; then :
54014 cat >>confdefs.h <<_ACEOF
54015 #define HAVE__EXPF 1
54016 _ACEOF
54019 done
54028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
54029 $as_echo_n "checking for isnanf declaration... " >&6; }
54030 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
54031 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
54032 $as_echo_n "(cached) " >&6
54033 else
54036 ac_ext=cpp
54037 ac_cpp='$CXXCPP $CPPFLAGS'
54038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54043 /* end confdefs.h. */
54044 #include <math.h>
54045 #ifdef HAVE_IEEEFP_H
54046 #include <ieeefp.h>
54047 #endif
54050 main ()
54052 isnanf(0);
54054 return 0;
54056 _ACEOF
54057 if ac_fn_cxx_try_compile "$LINENO"; then :
54058 glibcxx_cv_func_isnanf_use=yes
54059 else
54060 glibcxx_cv_func_isnanf_use=no
54062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54063 ac_ext=c
54064 ac_cpp='$CPP $CPPFLAGS'
54065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
54074 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
54076 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
54077 for ac_func in isnanf
54078 do :
54079 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
54080 if test "x$ac_cv_func_isnanf" = x""yes; then :
54081 cat >>confdefs.h <<_ACEOF
54082 #define HAVE_ISNANF 1
54083 _ACEOF
54086 done
54088 else
54090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
54091 $as_echo_n "checking for _isnanf declaration... " >&6; }
54092 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
54093 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
54094 $as_echo_n "(cached) " >&6
54095 else
54098 ac_ext=cpp
54099 ac_cpp='$CXXCPP $CPPFLAGS'
54100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54105 /* end confdefs.h. */
54106 #include <math.h>
54107 #ifdef HAVE_IEEEFP_H
54108 #include <ieeefp.h>
54109 #endif
54112 main ()
54114 _isnanf(0);
54116 return 0;
54118 _ACEOF
54119 if ac_fn_cxx_try_compile "$LINENO"; then :
54120 glibcxx_cv_func__isnanf_use=yes
54121 else
54122 glibcxx_cv_func__isnanf_use=no
54124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54125 ac_ext=c
54126 ac_cpp='$CPP $CPPFLAGS'
54127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
54136 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
54138 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
54139 for ac_func in _isnanf
54140 do :
54141 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
54142 if test "x$ac_cv_func__isnanf" = x""yes; then :
54143 cat >>confdefs.h <<_ACEOF
54144 #define HAVE__ISNANF 1
54145 _ACEOF
54148 done
54157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
54158 $as_echo_n "checking for isinff declaration... " >&6; }
54159 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
54160 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
54161 $as_echo_n "(cached) " >&6
54162 else
54165 ac_ext=cpp
54166 ac_cpp='$CXXCPP $CPPFLAGS'
54167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54172 /* end confdefs.h. */
54173 #include <math.h>
54174 #ifdef HAVE_IEEEFP_H
54175 #include <ieeefp.h>
54176 #endif
54179 main ()
54181 isinff(0);
54183 return 0;
54185 _ACEOF
54186 if ac_fn_cxx_try_compile "$LINENO"; then :
54187 glibcxx_cv_func_isinff_use=yes
54188 else
54189 glibcxx_cv_func_isinff_use=no
54191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54192 ac_ext=c
54193 ac_cpp='$CPP $CPPFLAGS'
54194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
54203 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
54205 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
54206 for ac_func in isinff
54207 do :
54208 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
54209 if test "x$ac_cv_func_isinff" = x""yes; then :
54210 cat >>confdefs.h <<_ACEOF
54211 #define HAVE_ISINFF 1
54212 _ACEOF
54215 done
54217 else
54219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
54220 $as_echo_n "checking for _isinff declaration... " >&6; }
54221 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
54222 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
54223 $as_echo_n "(cached) " >&6
54224 else
54227 ac_ext=cpp
54228 ac_cpp='$CXXCPP $CPPFLAGS'
54229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54234 /* end confdefs.h. */
54235 #include <math.h>
54236 #ifdef HAVE_IEEEFP_H
54237 #include <ieeefp.h>
54238 #endif
54241 main ()
54243 _isinff(0);
54245 return 0;
54247 _ACEOF
54248 if ac_fn_cxx_try_compile "$LINENO"; then :
54249 glibcxx_cv_func__isinff_use=yes
54250 else
54251 glibcxx_cv_func__isinff_use=no
54253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54254 ac_ext=c
54255 ac_cpp='$CPP $CPPFLAGS'
54256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
54265 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
54267 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
54268 for ac_func in _isinff
54269 do :
54270 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
54271 if test "x$ac_cv_func__isinff" = x""yes; then :
54272 cat >>confdefs.h <<_ACEOF
54273 #define HAVE__ISINFF 1
54274 _ACEOF
54277 done
54286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
54287 $as_echo_n "checking for atan2f declaration... " >&6; }
54288 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
54289 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
54290 $as_echo_n "(cached) " >&6
54291 else
54294 ac_ext=cpp
54295 ac_cpp='$CXXCPP $CPPFLAGS'
54296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54301 /* end confdefs.h. */
54302 #include <math.h>
54304 main ()
54306 atan2f(0, 0);
54308 return 0;
54310 _ACEOF
54311 if ac_fn_cxx_try_compile "$LINENO"; then :
54312 glibcxx_cv_func_atan2f_use=yes
54313 else
54314 glibcxx_cv_func_atan2f_use=no
54316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54317 ac_ext=c
54318 ac_cpp='$CPP $CPPFLAGS'
54319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
54328 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
54330 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
54331 for ac_func in atan2f
54332 do :
54333 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
54334 if test "x$ac_cv_func_atan2f" = x""yes; then :
54335 cat >>confdefs.h <<_ACEOF
54336 #define HAVE_ATAN2F 1
54337 _ACEOF
54340 done
54342 else
54344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
54345 $as_echo_n "checking for _atan2f declaration... " >&6; }
54346 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
54347 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
54348 $as_echo_n "(cached) " >&6
54349 else
54352 ac_ext=cpp
54353 ac_cpp='$CXXCPP $CPPFLAGS'
54354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54359 /* end confdefs.h. */
54360 #include <math.h>
54362 main ()
54364 _atan2f(0, 0);
54366 return 0;
54368 _ACEOF
54369 if ac_fn_cxx_try_compile "$LINENO"; then :
54370 glibcxx_cv_func__atan2f_use=yes
54371 else
54372 glibcxx_cv_func__atan2f_use=no
54374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54375 ac_ext=c
54376 ac_cpp='$CPP $CPPFLAGS'
54377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
54386 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
54388 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
54389 for ac_func in _atan2f
54390 do :
54391 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
54392 if test "x$ac_cv_func__atan2f" = x""yes; then :
54393 cat >>confdefs.h <<_ACEOF
54394 #define HAVE__ATAN2F 1
54395 _ACEOF
54398 done
54407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
54408 $as_echo_n "checking for fabsf declaration... " >&6; }
54409 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
54410 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
54411 $as_echo_n "(cached) " >&6
54412 else
54415 ac_ext=cpp
54416 ac_cpp='$CXXCPP $CPPFLAGS'
54417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54422 /* end confdefs.h. */
54423 #include <math.h>
54424 #ifdef HAVE_IEEEFP_H
54425 #include <ieeefp.h>
54426 #endif
54429 main ()
54431 fabsf(0);
54433 return 0;
54435 _ACEOF
54436 if ac_fn_cxx_try_compile "$LINENO"; then :
54437 glibcxx_cv_func_fabsf_use=yes
54438 else
54439 glibcxx_cv_func_fabsf_use=no
54441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54442 ac_ext=c
54443 ac_cpp='$CPP $CPPFLAGS'
54444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
54453 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
54455 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
54456 for ac_func in fabsf
54457 do :
54458 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
54459 if test "x$ac_cv_func_fabsf" = x""yes; then :
54460 cat >>confdefs.h <<_ACEOF
54461 #define HAVE_FABSF 1
54462 _ACEOF
54465 done
54467 else
54469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
54470 $as_echo_n "checking for _fabsf declaration... " >&6; }
54471 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
54472 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
54473 $as_echo_n "(cached) " >&6
54474 else
54477 ac_ext=cpp
54478 ac_cpp='$CXXCPP $CPPFLAGS'
54479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54484 /* end confdefs.h. */
54485 #include <math.h>
54486 #ifdef HAVE_IEEEFP_H
54487 #include <ieeefp.h>
54488 #endif
54491 main ()
54493 _fabsf(0);
54495 return 0;
54497 _ACEOF
54498 if ac_fn_cxx_try_compile "$LINENO"; then :
54499 glibcxx_cv_func__fabsf_use=yes
54500 else
54501 glibcxx_cv_func__fabsf_use=no
54503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54504 ac_ext=c
54505 ac_cpp='$CPP $CPPFLAGS'
54506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
54515 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
54517 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
54518 for ac_func in _fabsf
54519 do :
54520 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
54521 if test "x$ac_cv_func__fabsf" = x""yes; then :
54522 cat >>confdefs.h <<_ACEOF
54523 #define HAVE__FABSF 1
54524 _ACEOF
54527 done
54536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
54537 $as_echo_n "checking for fmodf declaration... " >&6; }
54538 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
54539 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
54540 $as_echo_n "(cached) " >&6
54541 else
54544 ac_ext=cpp
54545 ac_cpp='$CXXCPP $CPPFLAGS'
54546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54551 /* end confdefs.h. */
54552 #include <math.h>
54554 main ()
54556 fmodf(0, 0);
54558 return 0;
54560 _ACEOF
54561 if ac_fn_cxx_try_compile "$LINENO"; then :
54562 glibcxx_cv_func_fmodf_use=yes
54563 else
54564 glibcxx_cv_func_fmodf_use=no
54566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54567 ac_ext=c
54568 ac_cpp='$CPP $CPPFLAGS'
54569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
54578 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
54580 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
54581 for ac_func in fmodf
54582 do :
54583 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
54584 if test "x$ac_cv_func_fmodf" = x""yes; then :
54585 cat >>confdefs.h <<_ACEOF
54586 #define HAVE_FMODF 1
54587 _ACEOF
54590 done
54592 else
54594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
54595 $as_echo_n "checking for _fmodf declaration... " >&6; }
54596 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
54597 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
54598 $as_echo_n "(cached) " >&6
54599 else
54602 ac_ext=cpp
54603 ac_cpp='$CXXCPP $CPPFLAGS'
54604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54609 /* end confdefs.h. */
54610 #include <math.h>
54612 main ()
54614 _fmodf(0, 0);
54616 return 0;
54618 _ACEOF
54619 if ac_fn_cxx_try_compile "$LINENO"; then :
54620 glibcxx_cv_func__fmodf_use=yes
54621 else
54622 glibcxx_cv_func__fmodf_use=no
54624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54625 ac_ext=c
54626 ac_cpp='$CPP $CPPFLAGS'
54627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
54636 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
54638 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
54639 for ac_func in _fmodf
54640 do :
54641 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
54642 if test "x$ac_cv_func__fmodf" = x""yes; then :
54643 cat >>confdefs.h <<_ACEOF
54644 #define HAVE__FMODF 1
54645 _ACEOF
54648 done
54657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
54658 $as_echo_n "checking for frexpf declaration... " >&6; }
54659 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
54660 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
54661 $as_echo_n "(cached) " >&6
54662 else
54665 ac_ext=cpp
54666 ac_cpp='$CXXCPP $CPPFLAGS'
54667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54672 /* end confdefs.h. */
54673 #include <math.h>
54675 main ()
54677 frexpf(0, 0);
54679 return 0;
54681 _ACEOF
54682 if ac_fn_cxx_try_compile "$LINENO"; then :
54683 glibcxx_cv_func_frexpf_use=yes
54684 else
54685 glibcxx_cv_func_frexpf_use=no
54687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54688 ac_ext=c
54689 ac_cpp='$CPP $CPPFLAGS'
54690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
54699 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
54701 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
54702 for ac_func in frexpf
54703 do :
54704 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
54705 if test "x$ac_cv_func_frexpf" = x""yes; then :
54706 cat >>confdefs.h <<_ACEOF
54707 #define HAVE_FREXPF 1
54708 _ACEOF
54711 done
54713 else
54715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
54716 $as_echo_n "checking for _frexpf declaration... " >&6; }
54717 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
54718 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
54719 $as_echo_n "(cached) " >&6
54720 else
54723 ac_ext=cpp
54724 ac_cpp='$CXXCPP $CPPFLAGS'
54725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54730 /* end confdefs.h. */
54731 #include <math.h>
54733 main ()
54735 _frexpf(0, 0);
54737 return 0;
54739 _ACEOF
54740 if ac_fn_cxx_try_compile "$LINENO"; then :
54741 glibcxx_cv_func__frexpf_use=yes
54742 else
54743 glibcxx_cv_func__frexpf_use=no
54745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54746 ac_ext=c
54747 ac_cpp='$CPP $CPPFLAGS'
54748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
54757 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
54759 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
54760 for ac_func in _frexpf
54761 do :
54762 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
54763 if test "x$ac_cv_func__frexpf" = x""yes; then :
54764 cat >>confdefs.h <<_ACEOF
54765 #define HAVE__FREXPF 1
54766 _ACEOF
54769 done
54778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
54779 $as_echo_n "checking for hypotf declaration... " >&6; }
54780 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
54781 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
54782 $as_echo_n "(cached) " >&6
54783 else
54786 ac_ext=cpp
54787 ac_cpp='$CXXCPP $CPPFLAGS'
54788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54793 /* end confdefs.h. */
54794 #include <math.h>
54796 main ()
54798 hypotf(0, 0);
54800 return 0;
54802 _ACEOF
54803 if ac_fn_cxx_try_compile "$LINENO"; then :
54804 glibcxx_cv_func_hypotf_use=yes
54805 else
54806 glibcxx_cv_func_hypotf_use=no
54808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54809 ac_ext=c
54810 ac_cpp='$CPP $CPPFLAGS'
54811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
54820 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
54822 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
54823 for ac_func in hypotf
54824 do :
54825 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
54826 if test "x$ac_cv_func_hypotf" = x""yes; then :
54827 cat >>confdefs.h <<_ACEOF
54828 #define HAVE_HYPOTF 1
54829 _ACEOF
54832 done
54834 else
54836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
54837 $as_echo_n "checking for _hypotf declaration... " >&6; }
54838 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
54839 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
54840 $as_echo_n "(cached) " >&6
54841 else
54844 ac_ext=cpp
54845 ac_cpp='$CXXCPP $CPPFLAGS'
54846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54851 /* end confdefs.h. */
54852 #include <math.h>
54854 main ()
54856 _hypotf(0, 0);
54858 return 0;
54860 _ACEOF
54861 if ac_fn_cxx_try_compile "$LINENO"; then :
54862 glibcxx_cv_func__hypotf_use=yes
54863 else
54864 glibcxx_cv_func__hypotf_use=no
54866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54867 ac_ext=c
54868 ac_cpp='$CPP $CPPFLAGS'
54869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
54878 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
54880 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
54881 for ac_func in _hypotf
54882 do :
54883 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
54884 if test "x$ac_cv_func__hypotf" = x""yes; then :
54885 cat >>confdefs.h <<_ACEOF
54886 #define HAVE__HYPOTF 1
54887 _ACEOF
54890 done
54899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
54900 $as_echo_n "checking for ldexpf declaration... " >&6; }
54901 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
54902 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
54903 $as_echo_n "(cached) " >&6
54904 else
54907 ac_ext=cpp
54908 ac_cpp='$CXXCPP $CPPFLAGS'
54909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54914 /* end confdefs.h. */
54915 #include <math.h>
54917 main ()
54919 ldexpf(0, 0);
54921 return 0;
54923 _ACEOF
54924 if ac_fn_cxx_try_compile "$LINENO"; then :
54925 glibcxx_cv_func_ldexpf_use=yes
54926 else
54927 glibcxx_cv_func_ldexpf_use=no
54929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54930 ac_ext=c
54931 ac_cpp='$CPP $CPPFLAGS'
54932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
54941 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
54943 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
54944 for ac_func in ldexpf
54945 do :
54946 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
54947 if test "x$ac_cv_func_ldexpf" = x""yes; then :
54948 cat >>confdefs.h <<_ACEOF
54949 #define HAVE_LDEXPF 1
54950 _ACEOF
54953 done
54955 else
54957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
54958 $as_echo_n "checking for _ldexpf declaration... " >&6; }
54959 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
54960 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
54961 $as_echo_n "(cached) " >&6
54962 else
54965 ac_ext=cpp
54966 ac_cpp='$CXXCPP $CPPFLAGS'
54967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54972 /* end confdefs.h. */
54973 #include <math.h>
54975 main ()
54977 _ldexpf(0, 0);
54979 return 0;
54981 _ACEOF
54982 if ac_fn_cxx_try_compile "$LINENO"; then :
54983 glibcxx_cv_func__ldexpf_use=yes
54984 else
54985 glibcxx_cv_func__ldexpf_use=no
54987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54988 ac_ext=c
54989 ac_cpp='$CPP $CPPFLAGS'
54990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
54999 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
55001 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
55002 for ac_func in _ldexpf
55003 do :
55004 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
55005 if test "x$ac_cv_func__ldexpf" = x""yes; then :
55006 cat >>confdefs.h <<_ACEOF
55007 #define HAVE__LDEXPF 1
55008 _ACEOF
55011 done
55020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
55021 $as_echo_n "checking for logf declaration... " >&6; }
55022 if test x${glibcxx_cv_func_logf_use+set} != xset; then
55023 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
55024 $as_echo_n "(cached) " >&6
55025 else
55028 ac_ext=cpp
55029 ac_cpp='$CXXCPP $CPPFLAGS'
55030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55035 /* end confdefs.h. */
55036 #include <math.h>
55037 #ifdef HAVE_IEEEFP_H
55038 #include <ieeefp.h>
55039 #endif
55042 main ()
55044 logf(0);
55046 return 0;
55048 _ACEOF
55049 if ac_fn_cxx_try_compile "$LINENO"; then :
55050 glibcxx_cv_func_logf_use=yes
55051 else
55052 glibcxx_cv_func_logf_use=no
55054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55055 ac_ext=c
55056 ac_cpp='$CPP $CPPFLAGS'
55057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
55066 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
55068 if test x$glibcxx_cv_func_logf_use = x"yes"; then
55069 for ac_func in logf
55070 do :
55071 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
55072 if test "x$ac_cv_func_logf" = x""yes; then :
55073 cat >>confdefs.h <<_ACEOF
55074 #define HAVE_LOGF 1
55075 _ACEOF
55078 done
55080 else
55082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
55083 $as_echo_n "checking for _logf declaration... " >&6; }
55084 if test x${glibcxx_cv_func__logf_use+set} != xset; then
55085 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
55086 $as_echo_n "(cached) " >&6
55087 else
55090 ac_ext=cpp
55091 ac_cpp='$CXXCPP $CPPFLAGS'
55092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55097 /* end confdefs.h. */
55098 #include <math.h>
55099 #ifdef HAVE_IEEEFP_H
55100 #include <ieeefp.h>
55101 #endif
55104 main ()
55106 _logf(0);
55108 return 0;
55110 _ACEOF
55111 if ac_fn_cxx_try_compile "$LINENO"; then :
55112 glibcxx_cv_func__logf_use=yes
55113 else
55114 glibcxx_cv_func__logf_use=no
55116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55117 ac_ext=c
55118 ac_cpp='$CPP $CPPFLAGS'
55119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
55128 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
55130 if test x$glibcxx_cv_func__logf_use = x"yes"; then
55131 for ac_func in _logf
55132 do :
55133 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
55134 if test "x$ac_cv_func__logf" = x""yes; then :
55135 cat >>confdefs.h <<_ACEOF
55136 #define HAVE__LOGF 1
55137 _ACEOF
55140 done
55149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
55150 $as_echo_n "checking for log10f declaration... " >&6; }
55151 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
55152 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
55153 $as_echo_n "(cached) " >&6
55154 else
55157 ac_ext=cpp
55158 ac_cpp='$CXXCPP $CPPFLAGS'
55159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55164 /* end confdefs.h. */
55165 #include <math.h>
55166 #ifdef HAVE_IEEEFP_H
55167 #include <ieeefp.h>
55168 #endif
55171 main ()
55173 log10f(0);
55175 return 0;
55177 _ACEOF
55178 if ac_fn_cxx_try_compile "$LINENO"; then :
55179 glibcxx_cv_func_log10f_use=yes
55180 else
55181 glibcxx_cv_func_log10f_use=no
55183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55184 ac_ext=c
55185 ac_cpp='$CPP $CPPFLAGS'
55186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
55195 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
55197 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
55198 for ac_func in log10f
55199 do :
55200 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
55201 if test "x$ac_cv_func_log10f" = x""yes; then :
55202 cat >>confdefs.h <<_ACEOF
55203 #define HAVE_LOG10F 1
55204 _ACEOF
55207 done
55209 else
55211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
55212 $as_echo_n "checking for _log10f declaration... " >&6; }
55213 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
55214 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
55215 $as_echo_n "(cached) " >&6
55216 else
55219 ac_ext=cpp
55220 ac_cpp='$CXXCPP $CPPFLAGS'
55221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55226 /* end confdefs.h. */
55227 #include <math.h>
55228 #ifdef HAVE_IEEEFP_H
55229 #include <ieeefp.h>
55230 #endif
55233 main ()
55235 _log10f(0);
55237 return 0;
55239 _ACEOF
55240 if ac_fn_cxx_try_compile "$LINENO"; then :
55241 glibcxx_cv_func__log10f_use=yes
55242 else
55243 glibcxx_cv_func__log10f_use=no
55245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55246 ac_ext=c
55247 ac_cpp='$CPP $CPPFLAGS'
55248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
55257 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
55259 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
55260 for ac_func in _log10f
55261 do :
55262 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
55263 if test "x$ac_cv_func__log10f" = x""yes; then :
55264 cat >>confdefs.h <<_ACEOF
55265 #define HAVE__LOG10F 1
55266 _ACEOF
55269 done
55278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
55279 $as_echo_n "checking for modff declaration... " >&6; }
55280 if test x${glibcxx_cv_func_modff_use+set} != xset; then
55281 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
55282 $as_echo_n "(cached) " >&6
55283 else
55286 ac_ext=cpp
55287 ac_cpp='$CXXCPP $CPPFLAGS'
55288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55293 /* end confdefs.h. */
55294 #include <math.h>
55296 main ()
55298 modff(0, 0);
55300 return 0;
55302 _ACEOF
55303 if ac_fn_cxx_try_compile "$LINENO"; then :
55304 glibcxx_cv_func_modff_use=yes
55305 else
55306 glibcxx_cv_func_modff_use=no
55308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55309 ac_ext=c
55310 ac_cpp='$CPP $CPPFLAGS'
55311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
55320 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
55322 if test x$glibcxx_cv_func_modff_use = x"yes"; then
55323 for ac_func in modff
55324 do :
55325 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
55326 if test "x$ac_cv_func_modff" = x""yes; then :
55327 cat >>confdefs.h <<_ACEOF
55328 #define HAVE_MODFF 1
55329 _ACEOF
55332 done
55334 else
55336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
55337 $as_echo_n "checking for _modff declaration... " >&6; }
55338 if test x${glibcxx_cv_func__modff_use+set} != xset; then
55339 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
55340 $as_echo_n "(cached) " >&6
55341 else
55344 ac_ext=cpp
55345 ac_cpp='$CXXCPP $CPPFLAGS'
55346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55351 /* end confdefs.h. */
55352 #include <math.h>
55354 main ()
55356 _modff(0, 0);
55358 return 0;
55360 _ACEOF
55361 if ac_fn_cxx_try_compile "$LINENO"; then :
55362 glibcxx_cv_func__modff_use=yes
55363 else
55364 glibcxx_cv_func__modff_use=no
55366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55367 ac_ext=c
55368 ac_cpp='$CPP $CPPFLAGS'
55369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
55378 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
55380 if test x$glibcxx_cv_func__modff_use = x"yes"; then
55381 for ac_func in _modff
55382 do :
55383 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
55384 if test "x$ac_cv_func__modff" = x""yes; then :
55385 cat >>confdefs.h <<_ACEOF
55386 #define HAVE__MODFF 1
55387 _ACEOF
55390 done
55399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
55400 $as_echo_n "checking for modf declaration... " >&6; }
55401 if test x${glibcxx_cv_func_modf_use+set} != xset; then
55402 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
55403 $as_echo_n "(cached) " >&6
55404 else
55407 ac_ext=cpp
55408 ac_cpp='$CXXCPP $CPPFLAGS'
55409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55414 /* end confdefs.h. */
55415 #include <math.h>
55417 main ()
55419 modf(0, 0);
55421 return 0;
55423 _ACEOF
55424 if ac_fn_cxx_try_compile "$LINENO"; then :
55425 glibcxx_cv_func_modf_use=yes
55426 else
55427 glibcxx_cv_func_modf_use=no
55429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55430 ac_ext=c
55431 ac_cpp='$CPP $CPPFLAGS'
55432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
55441 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
55443 if test x$glibcxx_cv_func_modf_use = x"yes"; then
55444 for ac_func in modf
55445 do :
55446 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
55447 if test "x$ac_cv_func_modf" = x""yes; then :
55448 cat >>confdefs.h <<_ACEOF
55449 #define HAVE_MODF 1
55450 _ACEOF
55453 done
55455 else
55457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
55458 $as_echo_n "checking for _modf declaration... " >&6; }
55459 if test x${glibcxx_cv_func__modf_use+set} != xset; then
55460 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
55461 $as_echo_n "(cached) " >&6
55462 else
55465 ac_ext=cpp
55466 ac_cpp='$CXXCPP $CPPFLAGS'
55467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55472 /* end confdefs.h. */
55473 #include <math.h>
55475 main ()
55477 _modf(0, 0);
55479 return 0;
55481 _ACEOF
55482 if ac_fn_cxx_try_compile "$LINENO"; then :
55483 glibcxx_cv_func__modf_use=yes
55484 else
55485 glibcxx_cv_func__modf_use=no
55487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55488 ac_ext=c
55489 ac_cpp='$CPP $CPPFLAGS'
55490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
55499 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
55501 if test x$glibcxx_cv_func__modf_use = x"yes"; then
55502 for ac_func in _modf
55503 do :
55504 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
55505 if test "x$ac_cv_func__modf" = x""yes; then :
55506 cat >>confdefs.h <<_ACEOF
55507 #define HAVE__MODF 1
55508 _ACEOF
55511 done
55520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
55521 $as_echo_n "checking for powf declaration... " >&6; }
55522 if test x${glibcxx_cv_func_powf_use+set} != xset; then
55523 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
55524 $as_echo_n "(cached) " >&6
55525 else
55528 ac_ext=cpp
55529 ac_cpp='$CXXCPP $CPPFLAGS'
55530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55535 /* end confdefs.h. */
55536 #include <math.h>
55538 main ()
55540 powf(0, 0);
55542 return 0;
55544 _ACEOF
55545 if ac_fn_cxx_try_compile "$LINENO"; then :
55546 glibcxx_cv_func_powf_use=yes
55547 else
55548 glibcxx_cv_func_powf_use=no
55550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55551 ac_ext=c
55552 ac_cpp='$CPP $CPPFLAGS'
55553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
55562 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
55564 if test x$glibcxx_cv_func_powf_use = x"yes"; then
55565 for ac_func in powf
55566 do :
55567 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
55568 if test "x$ac_cv_func_powf" = x""yes; then :
55569 cat >>confdefs.h <<_ACEOF
55570 #define HAVE_POWF 1
55571 _ACEOF
55574 done
55576 else
55578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
55579 $as_echo_n "checking for _powf declaration... " >&6; }
55580 if test x${glibcxx_cv_func__powf_use+set} != xset; then
55581 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
55582 $as_echo_n "(cached) " >&6
55583 else
55586 ac_ext=cpp
55587 ac_cpp='$CXXCPP $CPPFLAGS'
55588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55593 /* end confdefs.h. */
55594 #include <math.h>
55596 main ()
55598 _powf(0, 0);
55600 return 0;
55602 _ACEOF
55603 if ac_fn_cxx_try_compile "$LINENO"; then :
55604 glibcxx_cv_func__powf_use=yes
55605 else
55606 glibcxx_cv_func__powf_use=no
55608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55609 ac_ext=c
55610 ac_cpp='$CPP $CPPFLAGS'
55611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
55620 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
55622 if test x$glibcxx_cv_func__powf_use = x"yes"; then
55623 for ac_func in _powf
55624 do :
55625 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
55626 if test "x$ac_cv_func__powf" = x""yes; then :
55627 cat >>confdefs.h <<_ACEOF
55628 #define HAVE__POWF 1
55629 _ACEOF
55632 done
55641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
55642 $as_echo_n "checking for sqrtf declaration... " >&6; }
55643 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
55644 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
55645 $as_echo_n "(cached) " >&6
55646 else
55649 ac_ext=cpp
55650 ac_cpp='$CXXCPP $CPPFLAGS'
55651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55656 /* end confdefs.h. */
55657 #include <math.h>
55658 #ifdef HAVE_IEEEFP_H
55659 #include <ieeefp.h>
55660 #endif
55663 main ()
55665 sqrtf(0);
55667 return 0;
55669 _ACEOF
55670 if ac_fn_cxx_try_compile "$LINENO"; then :
55671 glibcxx_cv_func_sqrtf_use=yes
55672 else
55673 glibcxx_cv_func_sqrtf_use=no
55675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55676 ac_ext=c
55677 ac_cpp='$CPP $CPPFLAGS'
55678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
55687 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
55689 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
55690 for ac_func in sqrtf
55691 do :
55692 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
55693 if test "x$ac_cv_func_sqrtf" = x""yes; then :
55694 cat >>confdefs.h <<_ACEOF
55695 #define HAVE_SQRTF 1
55696 _ACEOF
55699 done
55701 else
55703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
55704 $as_echo_n "checking for _sqrtf declaration... " >&6; }
55705 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
55706 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
55707 $as_echo_n "(cached) " >&6
55708 else
55711 ac_ext=cpp
55712 ac_cpp='$CXXCPP $CPPFLAGS'
55713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55718 /* end confdefs.h. */
55719 #include <math.h>
55720 #ifdef HAVE_IEEEFP_H
55721 #include <ieeefp.h>
55722 #endif
55725 main ()
55727 _sqrtf(0);
55729 return 0;
55731 _ACEOF
55732 if ac_fn_cxx_try_compile "$LINENO"; then :
55733 glibcxx_cv_func__sqrtf_use=yes
55734 else
55735 glibcxx_cv_func__sqrtf_use=no
55737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55738 ac_ext=c
55739 ac_cpp='$CPP $CPPFLAGS'
55740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
55749 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
55751 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
55752 for ac_func in _sqrtf
55753 do :
55754 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
55755 if test "x$ac_cv_func__sqrtf" = x""yes; then :
55756 cat >>confdefs.h <<_ACEOF
55757 #define HAVE__SQRTF 1
55758 _ACEOF
55761 done
55770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
55771 $as_echo_n "checking for sincosf declaration... " >&6; }
55772 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
55773 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
55774 $as_echo_n "(cached) " >&6
55775 else
55778 ac_ext=cpp
55779 ac_cpp='$CXXCPP $CPPFLAGS'
55780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55785 /* end confdefs.h. */
55786 #include <math.h>
55788 main ()
55790 sincosf(0, 0, 0);
55792 return 0;
55794 _ACEOF
55795 if ac_fn_cxx_try_compile "$LINENO"; then :
55796 glibcxx_cv_func_sincosf_use=yes
55797 else
55798 glibcxx_cv_func_sincosf_use=no
55800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55801 ac_ext=c
55802 ac_cpp='$CPP $CPPFLAGS'
55803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
55812 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
55814 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
55815 for ac_func in sincosf
55816 do :
55817 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
55818 if test "x$ac_cv_func_sincosf" = x""yes; then :
55819 cat >>confdefs.h <<_ACEOF
55820 #define HAVE_SINCOSF 1
55821 _ACEOF
55824 done
55826 else
55828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
55829 $as_echo_n "checking for _sincosf declaration... " >&6; }
55830 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
55831 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
55832 $as_echo_n "(cached) " >&6
55833 else
55836 ac_ext=cpp
55837 ac_cpp='$CXXCPP $CPPFLAGS'
55838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55843 /* end confdefs.h. */
55844 #include <math.h>
55846 main ()
55848 _sincosf(0, 0, 0);
55850 return 0;
55852 _ACEOF
55853 if ac_fn_cxx_try_compile "$LINENO"; then :
55854 glibcxx_cv_func__sincosf_use=yes
55855 else
55856 glibcxx_cv_func__sincosf_use=no
55858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55859 ac_ext=c
55860 ac_cpp='$CPP $CPPFLAGS'
55861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
55870 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
55872 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
55873 for ac_func in _sincosf
55874 do :
55875 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
55876 if test "x$ac_cv_func__sincosf" = x""yes; then :
55877 cat >>confdefs.h <<_ACEOF
55878 #define HAVE__SINCOSF 1
55879 _ACEOF
55882 done
55891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
55892 $as_echo_n "checking for finitef declaration... " >&6; }
55893 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
55894 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
55895 $as_echo_n "(cached) " >&6
55896 else
55899 ac_ext=cpp
55900 ac_cpp='$CXXCPP $CPPFLAGS'
55901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55906 /* end confdefs.h. */
55907 #include <math.h>
55908 #ifdef HAVE_IEEEFP_H
55909 #include <ieeefp.h>
55910 #endif
55913 main ()
55915 finitef(0);
55917 return 0;
55919 _ACEOF
55920 if ac_fn_cxx_try_compile "$LINENO"; then :
55921 glibcxx_cv_func_finitef_use=yes
55922 else
55923 glibcxx_cv_func_finitef_use=no
55925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55926 ac_ext=c
55927 ac_cpp='$CPP $CPPFLAGS'
55928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
55937 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
55939 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
55940 for ac_func in finitef
55941 do :
55942 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
55943 if test "x$ac_cv_func_finitef" = x""yes; then :
55944 cat >>confdefs.h <<_ACEOF
55945 #define HAVE_FINITEF 1
55946 _ACEOF
55949 done
55951 else
55953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
55954 $as_echo_n "checking for _finitef declaration... " >&6; }
55955 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
55956 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
55957 $as_echo_n "(cached) " >&6
55958 else
55961 ac_ext=cpp
55962 ac_cpp='$CXXCPP $CPPFLAGS'
55963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55968 /* end confdefs.h. */
55969 #include <math.h>
55970 #ifdef HAVE_IEEEFP_H
55971 #include <ieeefp.h>
55972 #endif
55975 main ()
55977 _finitef(0);
55979 return 0;
55981 _ACEOF
55982 if ac_fn_cxx_try_compile "$LINENO"; then :
55983 glibcxx_cv_func__finitef_use=yes
55984 else
55985 glibcxx_cv_func__finitef_use=no
55987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55988 ac_ext=c
55989 ac_cpp='$CPP $CPPFLAGS'
55990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
55999 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
56001 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
56002 for ac_func in _finitef
56003 do :
56004 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
56005 if test "x$ac_cv_func__finitef" = x""yes; then :
56006 cat >>confdefs.h <<_ACEOF
56007 #define HAVE__FINITEF 1
56008 _ACEOF
56011 done
56020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
56021 $as_echo_n "checking for long double trig functions... " >&6; }
56022 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
56023 $as_echo_n "(cached) " >&6
56024 else
56027 ac_ext=cpp
56028 ac_cpp='$CXXCPP $CPPFLAGS'
56029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56034 /* end confdefs.h. */
56035 #include <math.h>
56037 main ()
56039 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
56041 return 0;
56043 _ACEOF
56044 if ac_fn_cxx_try_compile "$LINENO"; then :
56045 glibcxx_cv_func_long_double_trig_use=yes
56046 else
56047 glibcxx_cv_func_long_double_trig_use=no
56049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56050 ac_ext=c
56051 ac_cpp='$CPP $CPPFLAGS'
56052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
56059 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
56060 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
56061 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
56062 do :
56063 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56064 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56065 eval as_val=\$$as_ac_var
56066 if test "x$as_val" = x""yes; then :
56067 cat >>confdefs.h <<_ACEOF
56068 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56069 _ACEOF
56072 done
56074 else
56075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
56076 $as_echo_n "checking for _long double trig functions... " >&6; }
56077 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
56078 $as_echo_n "(cached) " >&6
56079 else
56082 ac_ext=cpp
56083 ac_cpp='$CXXCPP $CPPFLAGS'
56084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56089 /* end confdefs.h. */
56090 #include <math.h>
56092 main ()
56094 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
56096 return 0;
56098 _ACEOF
56099 if ac_fn_cxx_try_compile "$LINENO"; then :
56100 glibcxx_cv_func__long_double_trig_use=yes
56101 else
56102 glibcxx_cv_func__long_double_trig_use=no
56104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56105 ac_ext=c
56106 ac_cpp='$CPP $CPPFLAGS'
56107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
56114 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
56115 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
56116 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
56117 do :
56118 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56119 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56120 eval as_val=\$$as_ac_var
56121 if test "x$as_val" = x""yes; then :
56122 cat >>confdefs.h <<_ACEOF
56123 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56124 _ACEOF
56127 done
56136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
56137 $as_echo_n "checking for long double round functions... " >&6; }
56138 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
56139 $as_echo_n "(cached) " >&6
56140 else
56143 ac_ext=cpp
56144 ac_cpp='$CXXCPP $CPPFLAGS'
56145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56150 /* end confdefs.h. */
56151 #include <math.h>
56153 main ()
56155 ceill (0); floorl (0);
56157 return 0;
56159 _ACEOF
56160 if ac_fn_cxx_try_compile "$LINENO"; then :
56161 glibcxx_cv_func_long_double_round_use=yes
56162 else
56163 glibcxx_cv_func_long_double_round_use=no
56165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56166 ac_ext=c
56167 ac_cpp='$CPP $CPPFLAGS'
56168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
56175 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
56176 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
56177 for ac_func in ceill floorl
56178 do :
56179 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56180 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56181 eval as_val=\$$as_ac_var
56182 if test "x$as_val" = x""yes; then :
56183 cat >>confdefs.h <<_ACEOF
56184 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56185 _ACEOF
56188 done
56190 else
56191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
56192 $as_echo_n "checking for _long double round functions... " >&6; }
56193 if test "${glibcxx_cv_func__long_double_round_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>
56208 main ()
56210 _ceill (0); _floorl (0);
56212 return 0;
56214 _ACEOF
56215 if ac_fn_cxx_try_compile "$LINENO"; then :
56216 glibcxx_cv_func__long_double_round_use=yes
56217 else
56218 glibcxx_cv_func__long_double_round_use=no
56220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56221 ac_ext=c
56222 ac_cpp='$CPP $CPPFLAGS'
56223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
56230 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
56231 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
56232 for ac_func in _ceill _floorl
56233 do :
56234 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56235 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56236 eval as_val=\$$as_ac_var
56237 if test "x$as_val" = x""yes; then :
56238 cat >>confdefs.h <<_ACEOF
56239 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56240 _ACEOF
56243 done
56253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
56254 $as_echo_n "checking for isnanl declaration... " >&6; }
56255 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
56256 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
56257 $as_echo_n "(cached) " >&6
56258 else
56261 ac_ext=cpp
56262 ac_cpp='$CXXCPP $CPPFLAGS'
56263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56268 /* end confdefs.h. */
56269 #include <math.h>
56270 #ifdef HAVE_IEEEFP_H
56271 #include <ieeefp.h>
56272 #endif
56275 main ()
56277 isnanl(0);
56279 return 0;
56281 _ACEOF
56282 if ac_fn_cxx_try_compile "$LINENO"; then :
56283 glibcxx_cv_func_isnanl_use=yes
56284 else
56285 glibcxx_cv_func_isnanl_use=no
56287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56288 ac_ext=c
56289 ac_cpp='$CPP $CPPFLAGS'
56290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
56299 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
56301 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
56302 for ac_func in isnanl
56303 do :
56304 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
56305 if test "x$ac_cv_func_isnanl" = x""yes; then :
56306 cat >>confdefs.h <<_ACEOF
56307 #define HAVE_ISNANL 1
56308 _ACEOF
56311 done
56313 else
56315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
56316 $as_echo_n "checking for _isnanl declaration... " >&6; }
56317 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
56318 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
56319 $as_echo_n "(cached) " >&6
56320 else
56323 ac_ext=cpp
56324 ac_cpp='$CXXCPP $CPPFLAGS'
56325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56330 /* end confdefs.h. */
56331 #include <math.h>
56332 #ifdef HAVE_IEEEFP_H
56333 #include <ieeefp.h>
56334 #endif
56337 main ()
56339 _isnanl(0);
56341 return 0;
56343 _ACEOF
56344 if ac_fn_cxx_try_compile "$LINENO"; then :
56345 glibcxx_cv_func__isnanl_use=yes
56346 else
56347 glibcxx_cv_func__isnanl_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__isnanl_use" >&5
56361 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
56363 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
56364 for ac_func in _isnanl
56365 do :
56366 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
56367 if test "x$ac_cv_func__isnanl" = x""yes; then :
56368 cat >>confdefs.h <<_ACEOF
56369 #define HAVE__ISNANL 1
56370 _ACEOF
56373 done
56382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
56383 $as_echo_n "checking for isinfl declaration... " >&6; }
56384 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
56385 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
56386 $as_echo_n "(cached) " >&6
56387 else
56390 ac_ext=cpp
56391 ac_cpp='$CXXCPP $CPPFLAGS'
56392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56397 /* end confdefs.h. */
56398 #include <math.h>
56399 #ifdef HAVE_IEEEFP_H
56400 #include <ieeefp.h>
56401 #endif
56404 main ()
56406 isinfl(0);
56408 return 0;
56410 _ACEOF
56411 if ac_fn_cxx_try_compile "$LINENO"; then :
56412 glibcxx_cv_func_isinfl_use=yes
56413 else
56414 glibcxx_cv_func_isinfl_use=no
56416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56417 ac_ext=c
56418 ac_cpp='$CPP $CPPFLAGS'
56419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
56428 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
56430 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
56431 for ac_func in isinfl
56432 do :
56433 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
56434 if test "x$ac_cv_func_isinfl" = x""yes; then :
56435 cat >>confdefs.h <<_ACEOF
56436 #define HAVE_ISINFL 1
56437 _ACEOF
56440 done
56442 else
56444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
56445 $as_echo_n "checking for _isinfl declaration... " >&6; }
56446 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
56447 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
56448 $as_echo_n "(cached) " >&6
56449 else
56452 ac_ext=cpp
56453 ac_cpp='$CXXCPP $CPPFLAGS'
56454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56459 /* end confdefs.h. */
56460 #include <math.h>
56461 #ifdef HAVE_IEEEFP_H
56462 #include <ieeefp.h>
56463 #endif
56466 main ()
56468 _isinfl(0);
56470 return 0;
56472 _ACEOF
56473 if ac_fn_cxx_try_compile "$LINENO"; then :
56474 glibcxx_cv_func__isinfl_use=yes
56475 else
56476 glibcxx_cv_func__isinfl_use=no
56478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56479 ac_ext=c
56480 ac_cpp='$CPP $CPPFLAGS'
56481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
56490 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
56492 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
56493 for ac_func in _isinfl
56494 do :
56495 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
56496 if test "x$ac_cv_func__isinfl" = x""yes; then :
56497 cat >>confdefs.h <<_ACEOF
56498 #define HAVE__ISINFL 1
56499 _ACEOF
56502 done
56511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
56512 $as_echo_n "checking for atan2l declaration... " >&6; }
56513 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
56514 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
56515 $as_echo_n "(cached) " >&6
56516 else
56519 ac_ext=cpp
56520 ac_cpp='$CXXCPP $CPPFLAGS'
56521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56526 /* end confdefs.h. */
56527 #include <math.h>
56529 main ()
56531 atan2l(0, 0);
56533 return 0;
56535 _ACEOF
56536 if ac_fn_cxx_try_compile "$LINENO"; then :
56537 glibcxx_cv_func_atan2l_use=yes
56538 else
56539 glibcxx_cv_func_atan2l_use=no
56541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56542 ac_ext=c
56543 ac_cpp='$CPP $CPPFLAGS'
56544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
56553 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
56555 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
56556 for ac_func in atan2l
56557 do :
56558 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
56559 if test "x$ac_cv_func_atan2l" = x""yes; then :
56560 cat >>confdefs.h <<_ACEOF
56561 #define HAVE_ATAN2L 1
56562 _ACEOF
56565 done
56567 else
56569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
56570 $as_echo_n "checking for _atan2l declaration... " >&6; }
56571 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
56572 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
56573 $as_echo_n "(cached) " >&6
56574 else
56577 ac_ext=cpp
56578 ac_cpp='$CXXCPP $CPPFLAGS'
56579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56584 /* end confdefs.h. */
56585 #include <math.h>
56587 main ()
56589 _atan2l(0, 0);
56591 return 0;
56593 _ACEOF
56594 if ac_fn_cxx_try_compile "$LINENO"; then :
56595 glibcxx_cv_func__atan2l_use=yes
56596 else
56597 glibcxx_cv_func__atan2l_use=no
56599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56600 ac_ext=c
56601 ac_cpp='$CPP $CPPFLAGS'
56602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
56611 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
56613 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
56614 for ac_func in _atan2l
56615 do :
56616 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
56617 if test "x$ac_cv_func__atan2l" = x""yes; then :
56618 cat >>confdefs.h <<_ACEOF
56619 #define HAVE__ATAN2L 1
56620 _ACEOF
56623 done
56632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
56633 $as_echo_n "checking for expl declaration... " >&6; }
56634 if test x${glibcxx_cv_func_expl_use+set} != xset; then
56635 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
56636 $as_echo_n "(cached) " >&6
56637 else
56640 ac_ext=cpp
56641 ac_cpp='$CXXCPP $CPPFLAGS'
56642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56647 /* end confdefs.h. */
56648 #include <math.h>
56649 #ifdef HAVE_IEEEFP_H
56650 #include <ieeefp.h>
56651 #endif
56654 main ()
56656 expl(0);
56658 return 0;
56660 _ACEOF
56661 if ac_fn_cxx_try_compile "$LINENO"; then :
56662 glibcxx_cv_func_expl_use=yes
56663 else
56664 glibcxx_cv_func_expl_use=no
56666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56667 ac_ext=c
56668 ac_cpp='$CPP $CPPFLAGS'
56669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
56678 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
56680 if test x$glibcxx_cv_func_expl_use = x"yes"; then
56681 for ac_func in expl
56682 do :
56683 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
56684 if test "x$ac_cv_func_expl" = x""yes; then :
56685 cat >>confdefs.h <<_ACEOF
56686 #define HAVE_EXPL 1
56687 _ACEOF
56690 done
56692 else
56694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
56695 $as_echo_n "checking for _expl declaration... " >&6; }
56696 if test x${glibcxx_cv_func__expl_use+set} != xset; then
56697 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
56698 $as_echo_n "(cached) " >&6
56699 else
56702 ac_ext=cpp
56703 ac_cpp='$CXXCPP $CPPFLAGS'
56704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56709 /* end confdefs.h. */
56710 #include <math.h>
56711 #ifdef HAVE_IEEEFP_H
56712 #include <ieeefp.h>
56713 #endif
56716 main ()
56718 _expl(0);
56720 return 0;
56722 _ACEOF
56723 if ac_fn_cxx_try_compile "$LINENO"; then :
56724 glibcxx_cv_func__expl_use=yes
56725 else
56726 glibcxx_cv_func__expl_use=no
56728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56729 ac_ext=c
56730 ac_cpp='$CPP $CPPFLAGS'
56731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
56740 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
56742 if test x$glibcxx_cv_func__expl_use = x"yes"; then
56743 for ac_func in _expl
56744 do :
56745 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
56746 if test "x$ac_cv_func__expl" = x""yes; then :
56747 cat >>confdefs.h <<_ACEOF
56748 #define HAVE__EXPL 1
56749 _ACEOF
56752 done
56761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
56762 $as_echo_n "checking for fabsl declaration... " >&6; }
56763 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
56764 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
56765 $as_echo_n "(cached) " >&6
56766 else
56769 ac_ext=cpp
56770 ac_cpp='$CXXCPP $CPPFLAGS'
56771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56776 /* end confdefs.h. */
56777 #include <math.h>
56778 #ifdef HAVE_IEEEFP_H
56779 #include <ieeefp.h>
56780 #endif
56783 main ()
56785 fabsl(0);
56787 return 0;
56789 _ACEOF
56790 if ac_fn_cxx_try_compile "$LINENO"; then :
56791 glibcxx_cv_func_fabsl_use=yes
56792 else
56793 glibcxx_cv_func_fabsl_use=no
56795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56796 ac_ext=c
56797 ac_cpp='$CPP $CPPFLAGS'
56798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
56807 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
56809 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
56810 for ac_func in fabsl
56811 do :
56812 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
56813 if test "x$ac_cv_func_fabsl" = x""yes; then :
56814 cat >>confdefs.h <<_ACEOF
56815 #define HAVE_FABSL 1
56816 _ACEOF
56819 done
56821 else
56823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
56824 $as_echo_n "checking for _fabsl declaration... " >&6; }
56825 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
56826 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
56827 $as_echo_n "(cached) " >&6
56828 else
56831 ac_ext=cpp
56832 ac_cpp='$CXXCPP $CPPFLAGS'
56833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56838 /* end confdefs.h. */
56839 #include <math.h>
56840 #ifdef HAVE_IEEEFP_H
56841 #include <ieeefp.h>
56842 #endif
56845 main ()
56847 _fabsl(0);
56849 return 0;
56851 _ACEOF
56852 if ac_fn_cxx_try_compile "$LINENO"; then :
56853 glibcxx_cv_func__fabsl_use=yes
56854 else
56855 glibcxx_cv_func__fabsl_use=no
56857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56858 ac_ext=c
56859 ac_cpp='$CPP $CPPFLAGS'
56860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
56869 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
56871 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
56872 for ac_func in _fabsl
56873 do :
56874 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
56875 if test "x$ac_cv_func__fabsl" = x""yes; then :
56876 cat >>confdefs.h <<_ACEOF
56877 #define HAVE__FABSL 1
56878 _ACEOF
56881 done
56890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
56891 $as_echo_n "checking for fmodl declaration... " >&6; }
56892 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
56893 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
56894 $as_echo_n "(cached) " >&6
56895 else
56898 ac_ext=cpp
56899 ac_cpp='$CXXCPP $CPPFLAGS'
56900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56905 /* end confdefs.h. */
56906 #include <math.h>
56908 main ()
56910 fmodl(0, 0);
56912 return 0;
56914 _ACEOF
56915 if ac_fn_cxx_try_compile "$LINENO"; then :
56916 glibcxx_cv_func_fmodl_use=yes
56917 else
56918 glibcxx_cv_func_fmodl_use=no
56920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56921 ac_ext=c
56922 ac_cpp='$CPP $CPPFLAGS'
56923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
56932 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
56934 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
56935 for ac_func in fmodl
56936 do :
56937 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
56938 if test "x$ac_cv_func_fmodl" = x""yes; then :
56939 cat >>confdefs.h <<_ACEOF
56940 #define HAVE_FMODL 1
56941 _ACEOF
56944 done
56946 else
56948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
56949 $as_echo_n "checking for _fmodl declaration... " >&6; }
56950 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
56951 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
56952 $as_echo_n "(cached) " >&6
56953 else
56956 ac_ext=cpp
56957 ac_cpp='$CXXCPP $CPPFLAGS'
56958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56963 /* end confdefs.h. */
56964 #include <math.h>
56966 main ()
56968 _fmodl(0, 0);
56970 return 0;
56972 _ACEOF
56973 if ac_fn_cxx_try_compile "$LINENO"; then :
56974 glibcxx_cv_func__fmodl_use=yes
56975 else
56976 glibcxx_cv_func__fmodl_use=no
56978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56979 ac_ext=c
56980 ac_cpp='$CPP $CPPFLAGS'
56981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
56990 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
56992 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
56993 for ac_func in _fmodl
56994 do :
56995 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
56996 if test "x$ac_cv_func__fmodl" = x""yes; then :
56997 cat >>confdefs.h <<_ACEOF
56998 #define HAVE__FMODL 1
56999 _ACEOF
57002 done
57011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
57012 $as_echo_n "checking for frexpl declaration... " >&6; }
57013 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
57014 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
57015 $as_echo_n "(cached) " >&6
57016 else
57019 ac_ext=cpp
57020 ac_cpp='$CXXCPP $CPPFLAGS'
57021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57026 /* end confdefs.h. */
57027 #include <math.h>
57029 main ()
57031 frexpl(0, 0);
57033 return 0;
57035 _ACEOF
57036 if ac_fn_cxx_try_compile "$LINENO"; then :
57037 glibcxx_cv_func_frexpl_use=yes
57038 else
57039 glibcxx_cv_func_frexpl_use=no
57041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57042 ac_ext=c
57043 ac_cpp='$CPP $CPPFLAGS'
57044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
57053 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
57055 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
57056 for ac_func in frexpl
57057 do :
57058 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
57059 if test "x$ac_cv_func_frexpl" = x""yes; then :
57060 cat >>confdefs.h <<_ACEOF
57061 #define HAVE_FREXPL 1
57062 _ACEOF
57065 done
57067 else
57069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
57070 $as_echo_n "checking for _frexpl declaration... " >&6; }
57071 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
57072 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
57073 $as_echo_n "(cached) " >&6
57074 else
57077 ac_ext=cpp
57078 ac_cpp='$CXXCPP $CPPFLAGS'
57079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57084 /* end confdefs.h. */
57085 #include <math.h>
57087 main ()
57089 _frexpl(0, 0);
57091 return 0;
57093 _ACEOF
57094 if ac_fn_cxx_try_compile "$LINENO"; then :
57095 glibcxx_cv_func__frexpl_use=yes
57096 else
57097 glibcxx_cv_func__frexpl_use=no
57099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57100 ac_ext=c
57101 ac_cpp='$CPP $CPPFLAGS'
57102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
57111 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
57113 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
57114 for ac_func in _frexpl
57115 do :
57116 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
57117 if test "x$ac_cv_func__frexpl" = x""yes; then :
57118 cat >>confdefs.h <<_ACEOF
57119 #define HAVE__FREXPL 1
57120 _ACEOF
57123 done
57132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
57133 $as_echo_n "checking for hypotl declaration... " >&6; }
57134 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
57135 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
57136 $as_echo_n "(cached) " >&6
57137 else
57140 ac_ext=cpp
57141 ac_cpp='$CXXCPP $CPPFLAGS'
57142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57147 /* end confdefs.h. */
57148 #include <math.h>
57150 main ()
57152 hypotl(0, 0);
57154 return 0;
57156 _ACEOF
57157 if ac_fn_cxx_try_compile "$LINENO"; then :
57158 glibcxx_cv_func_hypotl_use=yes
57159 else
57160 glibcxx_cv_func_hypotl_use=no
57162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57163 ac_ext=c
57164 ac_cpp='$CPP $CPPFLAGS'
57165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
57174 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
57176 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
57177 for ac_func in hypotl
57178 do :
57179 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
57180 if test "x$ac_cv_func_hypotl" = x""yes; then :
57181 cat >>confdefs.h <<_ACEOF
57182 #define HAVE_HYPOTL 1
57183 _ACEOF
57186 done
57188 else
57190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
57191 $as_echo_n "checking for _hypotl declaration... " >&6; }
57192 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
57193 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
57194 $as_echo_n "(cached) " >&6
57195 else
57198 ac_ext=cpp
57199 ac_cpp='$CXXCPP $CPPFLAGS'
57200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57205 /* end confdefs.h. */
57206 #include <math.h>
57208 main ()
57210 _hypotl(0, 0);
57212 return 0;
57214 _ACEOF
57215 if ac_fn_cxx_try_compile "$LINENO"; then :
57216 glibcxx_cv_func__hypotl_use=yes
57217 else
57218 glibcxx_cv_func__hypotl_use=no
57220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57221 ac_ext=c
57222 ac_cpp='$CPP $CPPFLAGS'
57223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
57232 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
57234 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
57235 for ac_func in _hypotl
57236 do :
57237 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
57238 if test "x$ac_cv_func__hypotl" = x""yes; then :
57239 cat >>confdefs.h <<_ACEOF
57240 #define HAVE__HYPOTL 1
57241 _ACEOF
57244 done
57253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
57254 $as_echo_n "checking for ldexpl declaration... " >&6; }
57255 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
57256 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
57257 $as_echo_n "(cached) " >&6
57258 else
57261 ac_ext=cpp
57262 ac_cpp='$CXXCPP $CPPFLAGS'
57263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57268 /* end confdefs.h. */
57269 #include <math.h>
57271 main ()
57273 ldexpl(0, 0);
57275 return 0;
57277 _ACEOF
57278 if ac_fn_cxx_try_compile "$LINENO"; then :
57279 glibcxx_cv_func_ldexpl_use=yes
57280 else
57281 glibcxx_cv_func_ldexpl_use=no
57283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57284 ac_ext=c
57285 ac_cpp='$CPP $CPPFLAGS'
57286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
57295 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
57297 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
57298 for ac_func in ldexpl
57299 do :
57300 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
57301 if test "x$ac_cv_func_ldexpl" = x""yes; then :
57302 cat >>confdefs.h <<_ACEOF
57303 #define HAVE_LDEXPL 1
57304 _ACEOF
57307 done
57309 else
57311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
57312 $as_echo_n "checking for _ldexpl declaration... " >&6; }
57313 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
57314 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
57315 $as_echo_n "(cached) " >&6
57316 else
57319 ac_ext=cpp
57320 ac_cpp='$CXXCPP $CPPFLAGS'
57321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57326 /* end confdefs.h. */
57327 #include <math.h>
57329 main ()
57331 _ldexpl(0, 0);
57333 return 0;
57335 _ACEOF
57336 if ac_fn_cxx_try_compile "$LINENO"; then :
57337 glibcxx_cv_func__ldexpl_use=yes
57338 else
57339 glibcxx_cv_func__ldexpl_use=no
57341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57342 ac_ext=c
57343 ac_cpp='$CPP $CPPFLAGS'
57344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
57353 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
57355 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
57356 for ac_func in _ldexpl
57357 do :
57358 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
57359 if test "x$ac_cv_func__ldexpl" = x""yes; then :
57360 cat >>confdefs.h <<_ACEOF
57361 #define HAVE__LDEXPL 1
57362 _ACEOF
57365 done
57374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
57375 $as_echo_n "checking for logl declaration... " >&6; }
57376 if test x${glibcxx_cv_func_logl_use+set} != xset; then
57377 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
57378 $as_echo_n "(cached) " >&6
57379 else
57382 ac_ext=cpp
57383 ac_cpp='$CXXCPP $CPPFLAGS'
57384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57389 /* end confdefs.h. */
57390 #include <math.h>
57391 #ifdef HAVE_IEEEFP_H
57392 #include <ieeefp.h>
57393 #endif
57396 main ()
57398 logl(0);
57400 return 0;
57402 _ACEOF
57403 if ac_fn_cxx_try_compile "$LINENO"; then :
57404 glibcxx_cv_func_logl_use=yes
57405 else
57406 glibcxx_cv_func_logl_use=no
57408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57409 ac_ext=c
57410 ac_cpp='$CPP $CPPFLAGS'
57411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
57420 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
57422 if test x$glibcxx_cv_func_logl_use = x"yes"; then
57423 for ac_func in logl
57424 do :
57425 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
57426 if test "x$ac_cv_func_logl" = x""yes; then :
57427 cat >>confdefs.h <<_ACEOF
57428 #define HAVE_LOGL 1
57429 _ACEOF
57432 done
57434 else
57436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
57437 $as_echo_n "checking for _logl declaration... " >&6; }
57438 if test x${glibcxx_cv_func__logl_use+set} != xset; then
57439 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
57440 $as_echo_n "(cached) " >&6
57441 else
57444 ac_ext=cpp
57445 ac_cpp='$CXXCPP $CPPFLAGS'
57446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57451 /* end confdefs.h. */
57452 #include <math.h>
57453 #ifdef HAVE_IEEEFP_H
57454 #include <ieeefp.h>
57455 #endif
57458 main ()
57460 _logl(0);
57462 return 0;
57464 _ACEOF
57465 if ac_fn_cxx_try_compile "$LINENO"; then :
57466 glibcxx_cv_func__logl_use=yes
57467 else
57468 glibcxx_cv_func__logl_use=no
57470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57471 ac_ext=c
57472 ac_cpp='$CPP $CPPFLAGS'
57473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
57482 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
57484 if test x$glibcxx_cv_func__logl_use = x"yes"; then
57485 for ac_func in _logl
57486 do :
57487 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
57488 if test "x$ac_cv_func__logl" = x""yes; then :
57489 cat >>confdefs.h <<_ACEOF
57490 #define HAVE__LOGL 1
57491 _ACEOF
57494 done
57503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
57504 $as_echo_n "checking for log10l declaration... " >&6; }
57505 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
57506 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
57507 $as_echo_n "(cached) " >&6
57508 else
57511 ac_ext=cpp
57512 ac_cpp='$CXXCPP $CPPFLAGS'
57513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57518 /* end confdefs.h. */
57519 #include <math.h>
57520 #ifdef HAVE_IEEEFP_H
57521 #include <ieeefp.h>
57522 #endif
57525 main ()
57527 log10l(0);
57529 return 0;
57531 _ACEOF
57532 if ac_fn_cxx_try_compile "$LINENO"; then :
57533 glibcxx_cv_func_log10l_use=yes
57534 else
57535 glibcxx_cv_func_log10l_use=no
57537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57538 ac_ext=c
57539 ac_cpp='$CPP $CPPFLAGS'
57540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
57549 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
57551 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
57552 for ac_func in log10l
57553 do :
57554 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
57555 if test "x$ac_cv_func_log10l" = x""yes; then :
57556 cat >>confdefs.h <<_ACEOF
57557 #define HAVE_LOG10L 1
57558 _ACEOF
57561 done
57563 else
57565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
57566 $as_echo_n "checking for _log10l declaration... " >&6; }
57567 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
57568 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
57569 $as_echo_n "(cached) " >&6
57570 else
57573 ac_ext=cpp
57574 ac_cpp='$CXXCPP $CPPFLAGS'
57575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57580 /* end confdefs.h. */
57581 #include <math.h>
57582 #ifdef HAVE_IEEEFP_H
57583 #include <ieeefp.h>
57584 #endif
57587 main ()
57589 _log10l(0);
57591 return 0;
57593 _ACEOF
57594 if ac_fn_cxx_try_compile "$LINENO"; then :
57595 glibcxx_cv_func__log10l_use=yes
57596 else
57597 glibcxx_cv_func__log10l_use=no
57599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57600 ac_ext=c
57601 ac_cpp='$CPP $CPPFLAGS'
57602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
57611 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
57613 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
57614 for ac_func in _log10l
57615 do :
57616 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
57617 if test "x$ac_cv_func__log10l" = x""yes; then :
57618 cat >>confdefs.h <<_ACEOF
57619 #define HAVE__LOG10L 1
57620 _ACEOF
57623 done
57632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
57633 $as_echo_n "checking for modfl declaration... " >&6; }
57634 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
57635 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
57636 $as_echo_n "(cached) " >&6
57637 else
57640 ac_ext=cpp
57641 ac_cpp='$CXXCPP $CPPFLAGS'
57642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57647 /* end confdefs.h. */
57648 #include <math.h>
57650 main ()
57652 modfl(0, 0);
57654 return 0;
57656 _ACEOF
57657 if ac_fn_cxx_try_compile "$LINENO"; then :
57658 glibcxx_cv_func_modfl_use=yes
57659 else
57660 glibcxx_cv_func_modfl_use=no
57662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57663 ac_ext=c
57664 ac_cpp='$CPP $CPPFLAGS'
57665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
57674 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
57676 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
57677 for ac_func in modfl
57678 do :
57679 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
57680 if test "x$ac_cv_func_modfl" = x""yes; then :
57681 cat >>confdefs.h <<_ACEOF
57682 #define HAVE_MODFL 1
57683 _ACEOF
57686 done
57688 else
57690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
57691 $as_echo_n "checking for _modfl declaration... " >&6; }
57692 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
57693 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
57694 $as_echo_n "(cached) " >&6
57695 else
57698 ac_ext=cpp
57699 ac_cpp='$CXXCPP $CPPFLAGS'
57700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57705 /* end confdefs.h. */
57706 #include <math.h>
57708 main ()
57710 _modfl(0, 0);
57712 return 0;
57714 _ACEOF
57715 if ac_fn_cxx_try_compile "$LINENO"; then :
57716 glibcxx_cv_func__modfl_use=yes
57717 else
57718 glibcxx_cv_func__modfl_use=no
57720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57721 ac_ext=c
57722 ac_cpp='$CPP $CPPFLAGS'
57723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
57732 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
57734 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
57735 for ac_func in _modfl
57736 do :
57737 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
57738 if test "x$ac_cv_func__modfl" = x""yes; then :
57739 cat >>confdefs.h <<_ACEOF
57740 #define HAVE__MODFL 1
57741 _ACEOF
57744 done
57753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
57754 $as_echo_n "checking for powl declaration... " >&6; }
57755 if test x${glibcxx_cv_func_powl_use+set} != xset; then
57756 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
57757 $as_echo_n "(cached) " >&6
57758 else
57761 ac_ext=cpp
57762 ac_cpp='$CXXCPP $CPPFLAGS'
57763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57768 /* end confdefs.h. */
57769 #include <math.h>
57771 main ()
57773 powl(0, 0);
57775 return 0;
57777 _ACEOF
57778 if ac_fn_cxx_try_compile "$LINENO"; then :
57779 glibcxx_cv_func_powl_use=yes
57780 else
57781 glibcxx_cv_func_powl_use=no
57783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57784 ac_ext=c
57785 ac_cpp='$CPP $CPPFLAGS'
57786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
57795 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
57797 if test x$glibcxx_cv_func_powl_use = x"yes"; then
57798 for ac_func in powl
57799 do :
57800 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
57801 if test "x$ac_cv_func_powl" = x""yes; then :
57802 cat >>confdefs.h <<_ACEOF
57803 #define HAVE_POWL 1
57804 _ACEOF
57807 done
57809 else
57811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
57812 $as_echo_n "checking for _powl declaration... " >&6; }
57813 if test x${glibcxx_cv_func__powl_use+set} != xset; then
57814 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
57815 $as_echo_n "(cached) " >&6
57816 else
57819 ac_ext=cpp
57820 ac_cpp='$CXXCPP $CPPFLAGS'
57821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57826 /* end confdefs.h. */
57827 #include <math.h>
57829 main ()
57831 _powl(0, 0);
57833 return 0;
57835 _ACEOF
57836 if ac_fn_cxx_try_compile "$LINENO"; then :
57837 glibcxx_cv_func__powl_use=yes
57838 else
57839 glibcxx_cv_func__powl_use=no
57841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57842 ac_ext=c
57843 ac_cpp='$CPP $CPPFLAGS'
57844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
57853 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
57855 if test x$glibcxx_cv_func__powl_use = x"yes"; then
57856 for ac_func in _powl
57857 do :
57858 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
57859 if test "x$ac_cv_func__powl" = x""yes; then :
57860 cat >>confdefs.h <<_ACEOF
57861 #define HAVE__POWL 1
57862 _ACEOF
57865 done
57874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
57875 $as_echo_n "checking for sqrtl declaration... " >&6; }
57876 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
57877 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
57878 $as_echo_n "(cached) " >&6
57879 else
57882 ac_ext=cpp
57883 ac_cpp='$CXXCPP $CPPFLAGS'
57884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57889 /* end confdefs.h. */
57890 #include <math.h>
57891 #ifdef HAVE_IEEEFP_H
57892 #include <ieeefp.h>
57893 #endif
57896 main ()
57898 sqrtl(0);
57900 return 0;
57902 _ACEOF
57903 if ac_fn_cxx_try_compile "$LINENO"; then :
57904 glibcxx_cv_func_sqrtl_use=yes
57905 else
57906 glibcxx_cv_func_sqrtl_use=no
57908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57909 ac_ext=c
57910 ac_cpp='$CPP $CPPFLAGS'
57911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
57920 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
57922 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
57923 for ac_func in sqrtl
57924 do :
57925 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
57926 if test "x$ac_cv_func_sqrtl" = x""yes; then :
57927 cat >>confdefs.h <<_ACEOF
57928 #define HAVE_SQRTL 1
57929 _ACEOF
57932 done
57934 else
57936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
57937 $as_echo_n "checking for _sqrtl declaration... " >&6; }
57938 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
57939 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
57940 $as_echo_n "(cached) " >&6
57941 else
57944 ac_ext=cpp
57945 ac_cpp='$CXXCPP $CPPFLAGS'
57946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57951 /* end confdefs.h. */
57952 #include <math.h>
57953 #ifdef HAVE_IEEEFP_H
57954 #include <ieeefp.h>
57955 #endif
57958 main ()
57960 _sqrtl(0);
57962 return 0;
57964 _ACEOF
57965 if ac_fn_cxx_try_compile "$LINENO"; then :
57966 glibcxx_cv_func__sqrtl_use=yes
57967 else
57968 glibcxx_cv_func__sqrtl_use=no
57970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57971 ac_ext=c
57972 ac_cpp='$CPP $CPPFLAGS'
57973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
57982 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
57984 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
57985 for ac_func in _sqrtl
57986 do :
57987 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
57988 if test "x$ac_cv_func__sqrtl" = x""yes; then :
57989 cat >>confdefs.h <<_ACEOF
57990 #define HAVE__SQRTL 1
57991 _ACEOF
57994 done
58003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
58004 $as_echo_n "checking for sincosl declaration... " >&6; }
58005 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
58006 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
58007 $as_echo_n "(cached) " >&6
58008 else
58011 ac_ext=cpp
58012 ac_cpp='$CXXCPP $CPPFLAGS'
58013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58018 /* end confdefs.h. */
58019 #include <math.h>
58021 main ()
58023 sincosl(0, 0, 0);
58025 return 0;
58027 _ACEOF
58028 if ac_fn_cxx_try_compile "$LINENO"; then :
58029 glibcxx_cv_func_sincosl_use=yes
58030 else
58031 glibcxx_cv_func_sincosl_use=no
58033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58034 ac_ext=c
58035 ac_cpp='$CPP $CPPFLAGS'
58036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
58045 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
58047 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
58048 for ac_func in sincosl
58049 do :
58050 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
58051 if test "x$ac_cv_func_sincosl" = x""yes; then :
58052 cat >>confdefs.h <<_ACEOF
58053 #define HAVE_SINCOSL 1
58054 _ACEOF
58057 done
58059 else
58061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
58062 $as_echo_n "checking for _sincosl declaration... " >&6; }
58063 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
58064 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
58065 $as_echo_n "(cached) " >&6
58066 else
58069 ac_ext=cpp
58070 ac_cpp='$CXXCPP $CPPFLAGS'
58071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58076 /* end confdefs.h. */
58077 #include <math.h>
58079 main ()
58081 _sincosl(0, 0, 0);
58083 return 0;
58085 _ACEOF
58086 if ac_fn_cxx_try_compile "$LINENO"; then :
58087 glibcxx_cv_func__sincosl_use=yes
58088 else
58089 glibcxx_cv_func__sincosl_use=no
58091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58092 ac_ext=c
58093 ac_cpp='$CPP $CPPFLAGS'
58094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
58103 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
58105 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
58106 for ac_func in _sincosl
58107 do :
58108 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
58109 if test "x$ac_cv_func__sincosl" = x""yes; then :
58110 cat >>confdefs.h <<_ACEOF
58111 #define HAVE__SINCOSL 1
58112 _ACEOF
58115 done
58124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
58125 $as_echo_n "checking for finitel declaration... " >&6; }
58126 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
58127 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
58128 $as_echo_n "(cached) " >&6
58129 else
58132 ac_ext=cpp
58133 ac_cpp='$CXXCPP $CPPFLAGS'
58134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58139 /* end confdefs.h. */
58140 #include <math.h>
58141 #ifdef HAVE_IEEEFP_H
58142 #include <ieeefp.h>
58143 #endif
58146 main ()
58148 finitel(0);
58150 return 0;
58152 _ACEOF
58153 if ac_fn_cxx_try_compile "$LINENO"; then :
58154 glibcxx_cv_func_finitel_use=yes
58155 else
58156 glibcxx_cv_func_finitel_use=no
58158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58159 ac_ext=c
58160 ac_cpp='$CPP $CPPFLAGS'
58161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
58170 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
58172 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
58173 for ac_func in finitel
58174 do :
58175 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
58176 if test "x$ac_cv_func_finitel" = x""yes; then :
58177 cat >>confdefs.h <<_ACEOF
58178 #define HAVE_FINITEL 1
58179 _ACEOF
58182 done
58184 else
58186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
58187 $as_echo_n "checking for _finitel declaration... " >&6; }
58188 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
58189 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
58190 $as_echo_n "(cached) " >&6
58191 else
58194 ac_ext=cpp
58195 ac_cpp='$CXXCPP $CPPFLAGS'
58196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58201 /* end confdefs.h. */
58202 #include <math.h>
58203 #ifdef HAVE_IEEEFP_H
58204 #include <ieeefp.h>
58205 #endif
58208 main ()
58210 _finitel(0);
58212 return 0;
58214 _ACEOF
58215 if ac_fn_cxx_try_compile "$LINENO"; then :
58216 glibcxx_cv_func__finitel_use=yes
58217 else
58218 glibcxx_cv_func__finitel_use=no
58220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58221 ac_ext=c
58222 ac_cpp='$CPP $CPPFLAGS'
58223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
58232 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
58234 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
58235 for ac_func in _finitel
58236 do :
58237 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
58238 if test "x$ac_cv_func__finitel" = x""yes; then :
58239 cat >>confdefs.h <<_ACEOF
58240 #define HAVE__FINITEL 1
58241 _ACEOF
58244 done
58252 LIBS="$ac_save_LIBS"
58253 CXXFLAGS="$ac_save_CXXFLAGS"
58256 ac_test_CXXFLAGS="${CXXFLAGS+set}"
58257 ac_save_CXXFLAGS="$CXXFLAGS"
58258 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
58261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
58262 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
58263 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
58264 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
58265 $as_echo_n "(cached) " >&6
58266 else
58269 ac_ext=cpp
58270 ac_cpp='$CXXCPP $CPPFLAGS'
58271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58276 /* end confdefs.h. */
58277 #include <stdlib.h>
58279 main ()
58281 at_quick_exit(0);
58283 return 0;
58285 _ACEOF
58286 if ac_fn_cxx_try_compile "$LINENO"; then :
58287 glibcxx_cv_func_at_quick_exit_use=yes
58288 else
58289 glibcxx_cv_func_at_quick_exit_use=no
58291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58292 ac_ext=c
58293 ac_cpp='$CPP $CPPFLAGS'
58294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
58303 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
58304 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
58305 for ac_func in at_quick_exit
58306 do :
58307 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
58308 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
58309 cat >>confdefs.h <<_ACEOF
58310 #define HAVE_AT_QUICK_EXIT 1
58311 _ACEOF
58314 done
58319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
58320 $as_echo_n "checking for quick_exit declaration... " >&6; }
58321 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
58322 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
58323 $as_echo_n "(cached) " >&6
58324 else
58327 ac_ext=cpp
58328 ac_cpp='$CXXCPP $CPPFLAGS'
58329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58334 /* end confdefs.h. */
58335 #include <stdlib.h>
58337 main ()
58339 quick_exit(0);
58341 return 0;
58343 _ACEOF
58344 if ac_fn_cxx_try_compile "$LINENO"; then :
58345 glibcxx_cv_func_quick_exit_use=yes
58346 else
58347 glibcxx_cv_func_quick_exit_use=no
58349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58350 ac_ext=c
58351 ac_cpp='$CPP $CPPFLAGS'
58352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
58361 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
58362 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
58363 for ac_func in quick_exit
58364 do :
58365 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
58366 if test "x$ac_cv_func_quick_exit" = x""yes; then :
58367 cat >>confdefs.h <<_ACEOF
58368 #define HAVE_QUICK_EXIT 1
58369 _ACEOF
58372 done
58377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
58378 $as_echo_n "checking for strtold declaration... " >&6; }
58379 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
58380 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
58381 $as_echo_n "(cached) " >&6
58382 else
58385 ac_ext=cpp
58386 ac_cpp='$CXXCPP $CPPFLAGS'
58387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58392 /* end confdefs.h. */
58393 #include <stdlib.h>
58395 main ()
58397 strtold(0, 0);
58399 return 0;
58401 _ACEOF
58402 if ac_fn_cxx_try_compile "$LINENO"; then :
58403 glibcxx_cv_func_strtold_use=yes
58404 else
58405 glibcxx_cv_func_strtold_use=no
58407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58408 ac_ext=c
58409 ac_cpp='$CPP $CPPFLAGS'
58410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
58419 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
58420 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
58421 for ac_func in strtold
58422 do :
58423 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
58424 if test "x$ac_cv_func_strtold" = x""yes; then :
58425 cat >>confdefs.h <<_ACEOF
58426 #define HAVE_STRTOLD 1
58427 _ACEOF
58430 done
58437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
58438 $as_echo_n "checking for strtof declaration... " >&6; }
58439 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
58440 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
58441 $as_echo_n "(cached) " >&6
58442 else
58445 ac_ext=cpp
58446 ac_cpp='$CXXCPP $CPPFLAGS'
58447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58452 /* end confdefs.h. */
58453 #include <stdlib.h>
58455 main ()
58457 strtof(0, 0);
58459 return 0;
58461 _ACEOF
58462 if ac_fn_cxx_try_compile "$LINENO"; then :
58463 glibcxx_cv_func_strtof_use=yes
58464 else
58465 glibcxx_cv_func_strtof_use=no
58467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58468 ac_ext=c
58469 ac_cpp='$CPP $CPPFLAGS'
58470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
58479 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
58480 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
58481 for ac_func in strtof
58482 do :
58483 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
58484 if test "x$ac_cv_func_strtof" = x""yes; then :
58485 cat >>confdefs.h <<_ACEOF
58486 #define HAVE_STRTOF 1
58487 _ACEOF
58490 done
58497 CXXFLAGS="$ac_save_CXXFLAGS"
58499 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
58503 # Check whether --enable-tls was given.
58504 if test "${enable_tls+set}" = set; then :
58505 enableval=$enable_tls;
58506 case "$enableval" in
58507 yes|no) ;;
58508 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
58509 esac
58511 else
58512 enable_tls=yes
58516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
58517 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
58518 if test "${gcc_cv_have_tls+set}" = set; then :
58519 $as_echo_n "(cached) " >&6
58520 else
58522 if test "$cross_compiling" = yes; then :
58523 if test x$gcc_no_link = xyes; then
58524 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58527 /* end confdefs.h. */
58528 __thread int a; int b; int main() { return a = b; }
58529 _ACEOF
58530 if ac_fn_c_try_link "$LINENO"; then :
58531 chktls_save_LDFLAGS="$LDFLAGS"
58532 case $host in
58533 *-*-linux*)
58534 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
58536 esac
58537 chktls_save_CFLAGS="$CFLAGS"
58538 CFLAGS="-fPIC $CFLAGS"
58539 if test x$gcc_no_link = xyes; then
58540 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58543 /* end confdefs.h. */
58544 int f() { return 0; }
58545 _ACEOF
58546 if ac_fn_c_try_link "$LINENO"; then :
58547 if test x$gcc_no_link = xyes; then
58548 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58551 /* end confdefs.h. */
58552 __thread int a; int b; int f() { return a = b; }
58553 _ACEOF
58554 if ac_fn_c_try_link "$LINENO"; then :
58555 gcc_cv_have_tls=yes
58556 else
58557 gcc_cv_have_tls=no
58559 rm -f core conftest.err conftest.$ac_objext \
58560 conftest$ac_exeext conftest.$ac_ext
58561 else
58562 gcc_cv_have_tls=yes
58564 rm -f core conftest.err conftest.$ac_objext \
58565 conftest$ac_exeext conftest.$ac_ext
58566 CFLAGS="$chktls_save_CFLAGS"
58567 LDFLAGS="$chktls_save_LDFLAGS"
58568 else
58569 gcc_cv_have_tls=no
58571 rm -f core conftest.err conftest.$ac_objext \
58572 conftest$ac_exeext conftest.$ac_ext
58575 else
58576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58577 /* end confdefs.h. */
58578 __thread int a; int b; int main() { return a = b; }
58579 _ACEOF
58580 if ac_fn_c_try_run "$LINENO"; then :
58581 chktls_save_LDFLAGS="$LDFLAGS"
58582 LDFLAGS="-static $LDFLAGS"
58583 if test x$gcc_no_link = xyes; then
58584 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58587 /* end confdefs.h. */
58588 int main() { return 0; }
58589 _ACEOF
58590 if ac_fn_c_try_link "$LINENO"; then :
58591 if test "$cross_compiling" = yes; then :
58592 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
58593 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
58594 as_fn_error "cannot run test program while cross compiling
58595 See \`config.log' for more details." "$LINENO" 5; }
58596 else
58597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58598 /* end confdefs.h. */
58599 __thread int a; int b; int main() { return a = b; }
58600 _ACEOF
58601 if ac_fn_c_try_run "$LINENO"; then :
58602 gcc_cv_have_tls=yes
58603 else
58604 gcc_cv_have_tls=no
58606 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
58607 conftest.$ac_objext conftest.beam conftest.$ac_ext
58610 else
58611 gcc_cv_have_tls=yes
58613 rm -f core conftest.err conftest.$ac_objext \
58614 conftest$ac_exeext conftest.$ac_ext
58615 LDFLAGS="$chktls_save_LDFLAGS"
58616 if test $gcc_cv_have_tls = yes; then
58617 chktls_save_CFLAGS="$CFLAGS"
58618 thread_CFLAGS=failed
58619 for flag in '' '-pthread' '-lpthread'; do
58620 CFLAGS="$flag $chktls_save_CFLAGS"
58621 if test x$gcc_no_link = xyes; then
58622 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58625 /* end confdefs.h. */
58626 #include <pthread.h>
58627 void *g(void *d) { return NULL; }
58629 main ()
58631 pthread_t t; pthread_create(&t,NULL,g,NULL);
58633 return 0;
58635 _ACEOF
58636 if ac_fn_c_try_link "$LINENO"; then :
58637 thread_CFLAGS="$flag"
58639 rm -f core conftest.err conftest.$ac_objext \
58640 conftest$ac_exeext conftest.$ac_ext
58641 if test "X$thread_CFLAGS" != Xfailed; then
58642 break
58644 done
58645 CFLAGS="$chktls_save_CFLAGS"
58646 if test "X$thread_CFLAGS" != Xfailed; then
58647 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
58648 if test "$cross_compiling" = yes; then :
58649 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
58650 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
58651 as_fn_error "cannot run test program while cross compiling
58652 See \`config.log' for more details." "$LINENO" 5; }
58653 else
58654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58655 /* end confdefs.h. */
58656 #include <pthread.h>
58657 __thread int a;
58658 static int *volatile a_in_other_thread;
58659 static void *
58660 thread_func (void *arg)
58662 a_in_other_thread = &a;
58663 return (void *)0;
58666 main ()
58668 pthread_t thread;
58669 void *thread_retval;
58670 int *volatile a_in_main_thread;
58671 a_in_main_thread = &a;
58672 if (pthread_create (&thread, (pthread_attr_t *)0,
58673 thread_func, (void *)0))
58674 return 0;
58675 if (pthread_join (thread, &thread_retval))
58676 return 0;
58677 return (a_in_other_thread == a_in_main_thread);
58679 return 0;
58681 _ACEOF
58682 if ac_fn_c_try_run "$LINENO"; then :
58683 gcc_cv_have_tls=yes
58684 else
58685 gcc_cv_have_tls=no
58687 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
58688 conftest.$ac_objext conftest.beam conftest.$ac_ext
58691 CFLAGS="$chktls_save_CFLAGS"
58694 else
58695 gcc_cv_have_tls=no
58697 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
58698 conftest.$ac_objext conftest.beam conftest.$ac_ext
58702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
58703 $as_echo "$gcc_cv_have_tls" >&6; }
58704 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
58706 $as_echo "#define HAVE_TLS 1" >>confdefs.h
58714 am_save_CPPFLAGS="$CPPFLAGS"
58716 for element in $INCICONV; do
58717 haveit=
58718 for x in $CPPFLAGS; do
58720 acl_save_prefix="$prefix"
58721 prefix="$acl_final_prefix"
58722 acl_save_exec_prefix="$exec_prefix"
58723 exec_prefix="$acl_final_exec_prefix"
58724 eval x=\"$x\"
58725 exec_prefix="$acl_save_exec_prefix"
58726 prefix="$acl_save_prefix"
58728 if test "X$x" = "X$element"; then
58729 haveit=yes
58730 break
58732 done
58733 if test -z "$haveit"; then
58734 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
58736 done
58739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
58740 $as_echo_n "checking for iconv... " >&6; }
58741 if test "${am_cv_func_iconv+set}" = set; then :
58742 $as_echo_n "(cached) " >&6
58743 else
58745 am_cv_func_iconv="no, consider installing GNU libiconv"
58746 am_cv_lib_iconv=no
58747 if test x$gcc_no_link = xyes; then
58748 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58751 /* end confdefs.h. */
58752 #include <stdlib.h>
58753 #include <iconv.h>
58755 main ()
58757 iconv_t cd = iconv_open("","");
58758 iconv(cd,NULL,NULL,NULL,NULL);
58759 iconv_close(cd);
58761 return 0;
58763 _ACEOF
58764 if ac_fn_c_try_link "$LINENO"; then :
58765 am_cv_func_iconv=yes
58767 rm -f core conftest.err conftest.$ac_objext \
58768 conftest$ac_exeext conftest.$ac_ext
58769 if test "$am_cv_func_iconv" != yes; then
58770 am_save_LIBS="$LIBS"
58771 LIBS="$LIBS $LIBICONV"
58772 if test x$gcc_no_link = xyes; then
58773 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58776 /* end confdefs.h. */
58777 #include <stdlib.h>
58778 #include <iconv.h>
58780 main ()
58782 iconv_t cd = iconv_open("","");
58783 iconv(cd,NULL,NULL,NULL,NULL);
58784 iconv_close(cd);
58786 return 0;
58788 _ACEOF
58789 if ac_fn_c_try_link "$LINENO"; then :
58790 am_cv_lib_iconv=yes
58791 am_cv_func_iconv=yes
58793 rm -f core conftest.err conftest.$ac_objext \
58794 conftest$ac_exeext conftest.$ac_ext
58795 LIBS="$am_save_LIBS"
58799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
58800 $as_echo "$am_cv_func_iconv" >&6; }
58801 if test "$am_cv_func_iconv" = yes; then
58803 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
58806 if test "$am_cv_lib_iconv" = yes; then
58807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
58808 $as_echo_n "checking how to link with libiconv... " >&6; }
58809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
58810 $as_echo "$LIBICONV" >&6; }
58811 else
58812 CPPFLAGS="$am_save_CPPFLAGS"
58813 LIBICONV=
58814 LTLIBICONV=
58819 if test "$am_cv_func_iconv" = yes; then
58820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
58821 $as_echo_n "checking for iconv declaration... " >&6; }
58822 if test "${am_cv_proto_iconv+set}" = set; then :
58823 $as_echo_n "(cached) " >&6
58824 else
58826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58827 /* end confdefs.h. */
58829 #include <stdlib.h>
58830 #include <iconv.h>
58831 extern
58832 #ifdef __cplusplus
58834 #endif
58835 #if defined(__STDC__) || defined(__cplusplus)
58836 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
58837 #else
58838 size_t iconv();
58839 #endif
58842 main ()
58846 return 0;
58848 _ACEOF
58849 if ac_fn_c_try_compile "$LINENO"; then :
58850 am_cv_proto_iconv_arg1=""
58851 else
58852 am_cv_proto_iconv_arg1="const"
58854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58855 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);"
58858 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
58859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
58860 }$am_cv_proto_iconv" >&5
58861 $as_echo "${ac_t:-
58862 }$am_cv_proto_iconv" >&6; }
58864 cat >>confdefs.h <<_ACEOF
58865 #define ICONV_CONST $am_cv_proto_iconv_arg1
58866 _ACEOF
58871 *-mingw32*)
58873 # If we're not using GNU ld, then there's no point in even trying these
58874 # tests. Check for that first. We should have already tested for gld
58875 # by now (in libtool), but require it now just to be safe...
58876 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
58877 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
58881 # The name set by libtool depends on the version of libtool. Shame on us
58882 # for depending on an impl detail, but c'est la vie. Older versions used
58883 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
58884 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
58885 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
58886 # set (hence we're using an older libtool), then set it.
58887 if test x${with_gnu_ld+set} != xset; then
58888 if test x${ac_cv_prog_gnu_ld+set} != xset; then
58889 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
58890 with_gnu_ld=no
58891 else
58892 with_gnu_ld=$ac_cv_prog_gnu_ld
58896 # Start by getting the version number. I think the libtool test already
58897 # does some of this, but throws away the result.
58898 glibcxx_ld_is_gold=no
58899 if test x"$with_gnu_ld" = x"yes"; then
58900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
58901 $as_echo_n "checking for ld version... " >&6; }
58903 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
58904 glibcxx_ld_is_gold=yes
58906 ldver=`$LD --version 2>/dev/null |
58907 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'`
58909 glibcxx_gnu_ld_version=`echo $ldver | \
58910 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
58911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
58912 $as_echo "$glibcxx_gnu_ld_version" >&6; }
58915 # Set --gc-sections.
58916 glibcxx_have_gc_sections=no
58917 if test "$glibcxx_ld_is_gold" = "yes"; then
58918 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
58919 glibcxx_have_gc_sections=yes
58921 else
58922 glibcxx_gcsections_min_ld=21602
58923 if test x"$with_gnu_ld" = x"yes" &&
58924 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
58925 glibcxx_have_gc_sections=yes
58928 if test "$glibcxx_have_gc_sections" = "yes"; then
58929 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
58930 # NB: This flag only works reliably after 2.16.1. Configure tests
58931 # for this are difficult, so hard wire a value that should work.
58933 ac_test_CFLAGS="${CFLAGS+set}"
58934 ac_save_CFLAGS="$CFLAGS"
58935 CFLAGS='-Wl,--gc-sections'
58937 # Check for -Wl,--gc-sections
58938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
58939 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
58940 if test x$gcc_no_link = xyes; then
58941 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58944 /* end confdefs.h. */
58945 int one(void) { return 1; }
58946 int two(void) { return 2; }
58949 main ()
58951 two();
58953 return 0;
58955 _ACEOF
58956 if ac_fn_c_try_link "$LINENO"; then :
58957 ac_gcsections=yes
58958 else
58959 ac_gcsections=no
58961 rm -f core conftest.err conftest.$ac_objext \
58962 conftest$ac_exeext conftest.$ac_ext
58963 if test "$ac_gcsections" = "yes"; then
58964 rm -f conftest.c
58965 touch conftest.c
58966 if $CC -c conftest.c; then
58967 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
58968 grep "Warning: gc-sections option ignored" > /dev/null; then
58969 ac_gcsections=no
58972 rm -f conftest.c conftest.o conftest
58974 if test "$ac_gcsections" = "yes"; then
58975 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
58977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
58978 $as_echo "$ac_gcsections" >&6; }
58980 if test "$ac_test_CFLAGS" = set; then
58981 CFLAGS="$ac_save_CFLAGS"
58982 else
58983 # this is the suspicious part
58984 CFLAGS=''
58988 # Set -z,relro.
58989 # Note this is only for shared objects.
58990 ac_ld_relro=no
58991 if test x"$with_gnu_ld" = x"yes"; then
58992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
58993 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
58994 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
58995 if test -n "$cxx_z_relo"; then
58996 OPT_LDFLAGS="-Wl,-z,relro"
58997 ac_ld_relro=yes
58999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
59000 $as_echo "$ac_ld_relro" >&6; }
59003 # Set linker optimization flags.
59004 if test x"$with_gnu_ld" = x"yes"; then
59005 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
59012 ac_test_CXXFLAGS="${CXXFLAGS+set}"
59013 ac_save_CXXFLAGS="$CXXFLAGS"
59014 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
59016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
59017 $as_echo_n "checking for sin in -lm... " >&6; }
59018 if test "${ac_cv_lib_m_sin+set}" = set; then :
59019 $as_echo_n "(cached) " >&6
59020 else
59021 ac_check_lib_save_LIBS=$LIBS
59022 LIBS="-lm $LIBS"
59023 if test x$gcc_no_link = xyes; then
59024 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59027 /* end confdefs.h. */
59029 /* Override any GCC internal prototype to avoid an error.
59030 Use char because int might match the return type of a GCC
59031 builtin and then its argument prototype would still apply. */
59032 #ifdef __cplusplus
59033 extern "C"
59034 #endif
59035 char sin ();
59037 main ()
59039 return sin ();
59041 return 0;
59043 _ACEOF
59044 if ac_fn_c_try_link "$LINENO"; then :
59045 ac_cv_lib_m_sin=yes
59046 else
59047 ac_cv_lib_m_sin=no
59049 rm -f core conftest.err conftest.$ac_objext \
59050 conftest$ac_exeext conftest.$ac_ext
59051 LIBS=$ac_check_lib_save_LIBS
59053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
59054 $as_echo "$ac_cv_lib_m_sin" >&6; }
59055 if test "x$ac_cv_lib_m_sin" = x""yes; then :
59056 libm="-lm"
59059 ac_save_LIBS="$LIBS"
59060 LIBS="$LIBS $libm"
59064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
59065 $as_echo_n "checking for isinf declaration... " >&6; }
59066 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
59067 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
59068 $as_echo_n "(cached) " >&6
59069 else
59072 ac_ext=cpp
59073 ac_cpp='$CXXCPP $CPPFLAGS'
59074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59079 /* end confdefs.h. */
59080 #include <math.h>
59081 #ifdef HAVE_IEEEFP_H
59082 #include <ieeefp.h>
59083 #endif
59086 main ()
59088 isinf(0);
59090 return 0;
59092 _ACEOF
59093 if ac_fn_cxx_try_compile "$LINENO"; then :
59094 glibcxx_cv_func_isinf_use=yes
59095 else
59096 glibcxx_cv_func_isinf_use=no
59098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59099 ac_ext=c
59100 ac_cpp='$CPP $CPPFLAGS'
59101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
59110 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
59112 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
59113 for ac_func in isinf
59114 do :
59115 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
59116 if test "x$ac_cv_func_isinf" = x""yes; then :
59117 cat >>confdefs.h <<_ACEOF
59118 #define HAVE_ISINF 1
59119 _ACEOF
59122 done
59124 else
59126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
59127 $as_echo_n "checking for _isinf declaration... " >&6; }
59128 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
59129 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
59130 $as_echo_n "(cached) " >&6
59131 else
59134 ac_ext=cpp
59135 ac_cpp='$CXXCPP $CPPFLAGS'
59136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59141 /* end confdefs.h. */
59142 #include <math.h>
59143 #ifdef HAVE_IEEEFP_H
59144 #include <ieeefp.h>
59145 #endif
59148 main ()
59150 _isinf(0);
59152 return 0;
59154 _ACEOF
59155 if ac_fn_cxx_try_compile "$LINENO"; then :
59156 glibcxx_cv_func__isinf_use=yes
59157 else
59158 glibcxx_cv_func__isinf_use=no
59160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59161 ac_ext=c
59162 ac_cpp='$CPP $CPPFLAGS'
59163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
59172 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
59174 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
59175 for ac_func in _isinf
59176 do :
59177 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
59178 if test "x$ac_cv_func__isinf" = x""yes; then :
59179 cat >>confdefs.h <<_ACEOF
59180 #define HAVE__ISINF 1
59181 _ACEOF
59184 done
59193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
59194 $as_echo_n "checking for isnan declaration... " >&6; }
59195 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
59196 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
59197 $as_echo_n "(cached) " >&6
59198 else
59201 ac_ext=cpp
59202 ac_cpp='$CXXCPP $CPPFLAGS'
59203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59208 /* end confdefs.h. */
59209 #include <math.h>
59210 #ifdef HAVE_IEEEFP_H
59211 #include <ieeefp.h>
59212 #endif
59215 main ()
59217 isnan(0);
59219 return 0;
59221 _ACEOF
59222 if ac_fn_cxx_try_compile "$LINENO"; then :
59223 glibcxx_cv_func_isnan_use=yes
59224 else
59225 glibcxx_cv_func_isnan_use=no
59227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59228 ac_ext=c
59229 ac_cpp='$CPP $CPPFLAGS'
59230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
59239 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
59241 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
59242 for ac_func in isnan
59243 do :
59244 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
59245 if test "x$ac_cv_func_isnan" = x""yes; then :
59246 cat >>confdefs.h <<_ACEOF
59247 #define HAVE_ISNAN 1
59248 _ACEOF
59251 done
59253 else
59255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
59256 $as_echo_n "checking for _isnan declaration... " >&6; }
59257 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
59258 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
59259 $as_echo_n "(cached) " >&6
59260 else
59263 ac_ext=cpp
59264 ac_cpp='$CXXCPP $CPPFLAGS'
59265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59270 /* end confdefs.h. */
59271 #include <math.h>
59272 #ifdef HAVE_IEEEFP_H
59273 #include <ieeefp.h>
59274 #endif
59277 main ()
59279 _isnan(0);
59281 return 0;
59283 _ACEOF
59284 if ac_fn_cxx_try_compile "$LINENO"; then :
59285 glibcxx_cv_func__isnan_use=yes
59286 else
59287 glibcxx_cv_func__isnan_use=no
59289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59290 ac_ext=c
59291 ac_cpp='$CPP $CPPFLAGS'
59292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
59301 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
59303 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
59304 for ac_func in _isnan
59305 do :
59306 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
59307 if test "x$ac_cv_func__isnan" = x""yes; then :
59308 cat >>confdefs.h <<_ACEOF
59309 #define HAVE__ISNAN 1
59310 _ACEOF
59313 done
59322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
59323 $as_echo_n "checking for finite declaration... " >&6; }
59324 if test x${glibcxx_cv_func_finite_use+set} != xset; then
59325 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
59326 $as_echo_n "(cached) " >&6
59327 else
59330 ac_ext=cpp
59331 ac_cpp='$CXXCPP $CPPFLAGS'
59332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59337 /* end confdefs.h. */
59338 #include <math.h>
59339 #ifdef HAVE_IEEEFP_H
59340 #include <ieeefp.h>
59341 #endif
59344 main ()
59346 finite(0);
59348 return 0;
59350 _ACEOF
59351 if ac_fn_cxx_try_compile "$LINENO"; then :
59352 glibcxx_cv_func_finite_use=yes
59353 else
59354 glibcxx_cv_func_finite_use=no
59356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59357 ac_ext=c
59358 ac_cpp='$CPP $CPPFLAGS'
59359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
59368 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
59370 if test x$glibcxx_cv_func_finite_use = x"yes"; then
59371 for ac_func in finite
59372 do :
59373 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
59374 if test "x$ac_cv_func_finite" = x""yes; then :
59375 cat >>confdefs.h <<_ACEOF
59376 #define HAVE_FINITE 1
59377 _ACEOF
59380 done
59382 else
59384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
59385 $as_echo_n "checking for _finite declaration... " >&6; }
59386 if test x${glibcxx_cv_func__finite_use+set} != xset; then
59387 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
59388 $as_echo_n "(cached) " >&6
59389 else
59392 ac_ext=cpp
59393 ac_cpp='$CXXCPP $CPPFLAGS'
59394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59399 /* end confdefs.h. */
59400 #include <math.h>
59401 #ifdef HAVE_IEEEFP_H
59402 #include <ieeefp.h>
59403 #endif
59406 main ()
59408 _finite(0);
59410 return 0;
59412 _ACEOF
59413 if ac_fn_cxx_try_compile "$LINENO"; then :
59414 glibcxx_cv_func__finite_use=yes
59415 else
59416 glibcxx_cv_func__finite_use=no
59418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59419 ac_ext=c
59420 ac_cpp='$CPP $CPPFLAGS'
59421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
59430 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
59432 if test x$glibcxx_cv_func__finite_use = x"yes"; then
59433 for ac_func in _finite
59434 do :
59435 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
59436 if test "x$ac_cv_func__finite" = x""yes; then :
59437 cat >>confdefs.h <<_ACEOF
59438 #define HAVE__FINITE 1
59439 _ACEOF
59442 done
59451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
59452 $as_echo_n "checking for sincos declaration... " >&6; }
59453 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
59454 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
59455 $as_echo_n "(cached) " >&6
59456 else
59459 ac_ext=cpp
59460 ac_cpp='$CXXCPP $CPPFLAGS'
59461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59466 /* end confdefs.h. */
59467 #include <math.h>
59469 main ()
59471 sincos(0, 0, 0);
59473 return 0;
59475 _ACEOF
59476 if ac_fn_cxx_try_compile "$LINENO"; then :
59477 glibcxx_cv_func_sincos_use=yes
59478 else
59479 glibcxx_cv_func_sincos_use=no
59481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59482 ac_ext=c
59483 ac_cpp='$CPP $CPPFLAGS'
59484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
59493 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
59495 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
59496 for ac_func in sincos
59497 do :
59498 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
59499 if test "x$ac_cv_func_sincos" = x""yes; then :
59500 cat >>confdefs.h <<_ACEOF
59501 #define HAVE_SINCOS 1
59502 _ACEOF
59505 done
59507 else
59509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
59510 $as_echo_n "checking for _sincos declaration... " >&6; }
59511 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
59512 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
59513 $as_echo_n "(cached) " >&6
59514 else
59517 ac_ext=cpp
59518 ac_cpp='$CXXCPP $CPPFLAGS'
59519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59524 /* end confdefs.h. */
59525 #include <math.h>
59527 main ()
59529 _sincos(0, 0, 0);
59531 return 0;
59533 _ACEOF
59534 if ac_fn_cxx_try_compile "$LINENO"; then :
59535 glibcxx_cv_func__sincos_use=yes
59536 else
59537 glibcxx_cv_func__sincos_use=no
59539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59540 ac_ext=c
59541 ac_cpp='$CPP $CPPFLAGS'
59542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
59551 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
59553 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
59554 for ac_func in _sincos
59555 do :
59556 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
59557 if test "x$ac_cv_func__sincos" = x""yes; then :
59558 cat >>confdefs.h <<_ACEOF
59559 #define HAVE__SINCOS 1
59560 _ACEOF
59563 done
59572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
59573 $as_echo_n "checking for fpclass declaration... " >&6; }
59574 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
59575 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
59576 $as_echo_n "(cached) " >&6
59577 else
59580 ac_ext=cpp
59581 ac_cpp='$CXXCPP $CPPFLAGS'
59582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59587 /* end confdefs.h. */
59588 #include <math.h>
59589 #ifdef HAVE_IEEEFP_H
59590 #include <ieeefp.h>
59591 #endif
59594 main ()
59596 fpclass(0);
59598 return 0;
59600 _ACEOF
59601 if ac_fn_cxx_try_compile "$LINENO"; then :
59602 glibcxx_cv_func_fpclass_use=yes
59603 else
59604 glibcxx_cv_func_fpclass_use=no
59606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59607 ac_ext=c
59608 ac_cpp='$CPP $CPPFLAGS'
59609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
59618 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
59620 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
59621 for ac_func in fpclass
59622 do :
59623 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
59624 if test "x$ac_cv_func_fpclass" = x""yes; then :
59625 cat >>confdefs.h <<_ACEOF
59626 #define HAVE_FPCLASS 1
59627 _ACEOF
59630 done
59632 else
59634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
59635 $as_echo_n "checking for _fpclass declaration... " >&6; }
59636 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
59637 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
59638 $as_echo_n "(cached) " >&6
59639 else
59642 ac_ext=cpp
59643 ac_cpp='$CXXCPP $CPPFLAGS'
59644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59649 /* end confdefs.h. */
59650 #include <math.h>
59651 #ifdef HAVE_IEEEFP_H
59652 #include <ieeefp.h>
59653 #endif
59656 main ()
59658 _fpclass(0);
59660 return 0;
59662 _ACEOF
59663 if ac_fn_cxx_try_compile "$LINENO"; then :
59664 glibcxx_cv_func__fpclass_use=yes
59665 else
59666 glibcxx_cv_func__fpclass_use=no
59668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59669 ac_ext=c
59670 ac_cpp='$CPP $CPPFLAGS'
59671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
59680 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
59682 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
59683 for ac_func in _fpclass
59684 do :
59685 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
59686 if test "x$ac_cv_func__fpclass" = x""yes; then :
59687 cat >>confdefs.h <<_ACEOF
59688 #define HAVE__FPCLASS 1
59689 _ACEOF
59692 done
59701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
59702 $as_echo_n "checking for qfpclass declaration... " >&6; }
59703 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
59704 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
59705 $as_echo_n "(cached) " >&6
59706 else
59709 ac_ext=cpp
59710 ac_cpp='$CXXCPP $CPPFLAGS'
59711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59716 /* end confdefs.h. */
59717 #include <math.h>
59718 #ifdef HAVE_IEEEFP_H
59719 #include <ieeefp.h>
59720 #endif
59723 main ()
59725 qfpclass(0);
59727 return 0;
59729 _ACEOF
59730 if ac_fn_cxx_try_compile "$LINENO"; then :
59731 glibcxx_cv_func_qfpclass_use=yes
59732 else
59733 glibcxx_cv_func_qfpclass_use=no
59735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59736 ac_ext=c
59737 ac_cpp='$CPP $CPPFLAGS'
59738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
59747 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
59749 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
59750 for ac_func in qfpclass
59751 do :
59752 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
59753 if test "x$ac_cv_func_qfpclass" = x""yes; then :
59754 cat >>confdefs.h <<_ACEOF
59755 #define HAVE_QFPCLASS 1
59756 _ACEOF
59759 done
59761 else
59763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
59764 $as_echo_n "checking for _qfpclass declaration... " >&6; }
59765 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
59766 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
59767 $as_echo_n "(cached) " >&6
59768 else
59771 ac_ext=cpp
59772 ac_cpp='$CXXCPP $CPPFLAGS'
59773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59778 /* end confdefs.h. */
59779 #include <math.h>
59780 #ifdef HAVE_IEEEFP_H
59781 #include <ieeefp.h>
59782 #endif
59785 main ()
59787 _qfpclass(0);
59789 return 0;
59791 _ACEOF
59792 if ac_fn_cxx_try_compile "$LINENO"; then :
59793 glibcxx_cv_func__qfpclass_use=yes
59794 else
59795 glibcxx_cv_func__qfpclass_use=no
59797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59798 ac_ext=c
59799 ac_cpp='$CPP $CPPFLAGS'
59800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
59809 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
59811 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
59812 for ac_func in _qfpclass
59813 do :
59814 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
59815 if test "x$ac_cv_func__qfpclass" = x""yes; then :
59816 cat >>confdefs.h <<_ACEOF
59817 #define HAVE__QFPCLASS 1
59818 _ACEOF
59821 done
59830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
59831 $as_echo_n "checking for hypot declaration... " >&6; }
59832 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
59833 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
59834 $as_echo_n "(cached) " >&6
59835 else
59838 ac_ext=cpp
59839 ac_cpp='$CXXCPP $CPPFLAGS'
59840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59845 /* end confdefs.h. */
59846 #include <math.h>
59848 main ()
59850 hypot(0, 0);
59852 return 0;
59854 _ACEOF
59855 if ac_fn_cxx_try_compile "$LINENO"; then :
59856 glibcxx_cv_func_hypot_use=yes
59857 else
59858 glibcxx_cv_func_hypot_use=no
59860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59861 ac_ext=c
59862 ac_cpp='$CPP $CPPFLAGS'
59863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
59872 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
59874 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
59875 for ac_func in hypot
59876 do :
59877 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
59878 if test "x$ac_cv_func_hypot" = x""yes; then :
59879 cat >>confdefs.h <<_ACEOF
59880 #define HAVE_HYPOT 1
59881 _ACEOF
59884 done
59886 else
59888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
59889 $as_echo_n "checking for _hypot declaration... " >&6; }
59890 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
59891 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
59892 $as_echo_n "(cached) " >&6
59893 else
59896 ac_ext=cpp
59897 ac_cpp='$CXXCPP $CPPFLAGS'
59898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59903 /* end confdefs.h. */
59904 #include <math.h>
59906 main ()
59908 _hypot(0, 0);
59910 return 0;
59912 _ACEOF
59913 if ac_fn_cxx_try_compile "$LINENO"; then :
59914 glibcxx_cv_func__hypot_use=yes
59915 else
59916 glibcxx_cv_func__hypot_use=no
59918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59919 ac_ext=c
59920 ac_cpp='$CPP $CPPFLAGS'
59921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
59930 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
59932 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
59933 for ac_func in _hypot
59934 do :
59935 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
59936 if test "x$ac_cv_func__hypot" = x""yes; then :
59937 cat >>confdefs.h <<_ACEOF
59938 #define HAVE__HYPOT 1
59939 _ACEOF
59942 done
59951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
59952 $as_echo_n "checking for float trig functions... " >&6; }
59953 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
59954 $as_echo_n "(cached) " >&6
59955 else
59958 ac_ext=cpp
59959 ac_cpp='$CXXCPP $CPPFLAGS'
59960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59965 /* end confdefs.h. */
59966 #include <math.h>
59968 main ()
59970 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
59972 return 0;
59974 _ACEOF
59975 if ac_fn_cxx_try_compile "$LINENO"; then :
59976 glibcxx_cv_func_float_trig_use=yes
59977 else
59978 glibcxx_cv_func_float_trig_use=no
59980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59981 ac_ext=c
59982 ac_cpp='$CPP $CPPFLAGS'
59983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
59990 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
59991 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
59992 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
59993 do :
59994 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59995 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59996 eval as_val=\$$as_ac_var
59997 if test "x$as_val" = x""yes; then :
59998 cat >>confdefs.h <<_ACEOF
59999 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60000 _ACEOF
60003 done
60005 else
60006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
60007 $as_echo_n "checking for _float trig functions... " >&6; }
60008 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
60009 $as_echo_n "(cached) " >&6
60010 else
60013 ac_ext=cpp
60014 ac_cpp='$CXXCPP $CPPFLAGS'
60015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60020 /* end confdefs.h. */
60021 #include <math.h>
60023 main ()
60025 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
60027 return 0;
60029 _ACEOF
60030 if ac_fn_cxx_try_compile "$LINENO"; then :
60031 glibcxx_cv_func__float_trig_use=yes
60032 else
60033 glibcxx_cv_func__float_trig_use=no
60035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60036 ac_ext=c
60037 ac_cpp='$CPP $CPPFLAGS'
60038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
60045 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
60046 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
60047 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
60048 do :
60049 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60050 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60051 eval as_val=\$$as_ac_var
60052 if test "x$as_val" = x""yes; then :
60053 cat >>confdefs.h <<_ACEOF
60054 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60055 _ACEOF
60058 done
60067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
60068 $as_echo_n "checking for float round functions... " >&6; }
60069 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
60070 $as_echo_n "(cached) " >&6
60071 else
60074 ac_ext=cpp
60075 ac_cpp='$CXXCPP $CPPFLAGS'
60076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60081 /* end confdefs.h. */
60082 #include <math.h>
60084 main ()
60086 ceilf (0); floorf (0);
60088 return 0;
60090 _ACEOF
60091 if ac_fn_cxx_try_compile "$LINENO"; then :
60092 glibcxx_cv_func_float_round_use=yes
60093 else
60094 glibcxx_cv_func_float_round_use=no
60096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60097 ac_ext=c
60098 ac_cpp='$CPP $CPPFLAGS'
60099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
60106 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
60107 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
60108 for ac_func in ceilf floorf
60109 do :
60110 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60111 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60112 eval as_val=\$$as_ac_var
60113 if test "x$as_val" = x""yes; then :
60114 cat >>confdefs.h <<_ACEOF
60115 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60116 _ACEOF
60119 done
60121 else
60122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
60123 $as_echo_n "checking for _float round functions... " >&6; }
60124 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
60125 $as_echo_n "(cached) " >&6
60126 else
60129 ac_ext=cpp
60130 ac_cpp='$CXXCPP $CPPFLAGS'
60131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60136 /* end confdefs.h. */
60137 #include <math.h>
60139 main ()
60141 _ceilf (0); _floorf (0);
60143 return 0;
60145 _ACEOF
60146 if ac_fn_cxx_try_compile "$LINENO"; then :
60147 glibcxx_cv_func__float_round_use=yes
60148 else
60149 glibcxx_cv_func__float_round_use=no
60151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60152 ac_ext=c
60153 ac_cpp='$CPP $CPPFLAGS'
60154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
60161 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
60162 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
60163 for ac_func in _ceilf _floorf
60164 do :
60165 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60166 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60167 eval as_val=\$$as_ac_var
60168 if test "x$as_val" = x""yes; then :
60169 cat >>confdefs.h <<_ACEOF
60170 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60171 _ACEOF
60174 done
60184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
60185 $as_echo_n "checking for expf declaration... " >&6; }
60186 if test x${glibcxx_cv_func_expf_use+set} != xset; then
60187 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
60188 $as_echo_n "(cached) " >&6
60189 else
60192 ac_ext=cpp
60193 ac_cpp='$CXXCPP $CPPFLAGS'
60194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60199 /* end confdefs.h. */
60200 #include <math.h>
60201 #ifdef HAVE_IEEEFP_H
60202 #include <ieeefp.h>
60203 #endif
60206 main ()
60208 expf(0);
60210 return 0;
60212 _ACEOF
60213 if ac_fn_cxx_try_compile "$LINENO"; then :
60214 glibcxx_cv_func_expf_use=yes
60215 else
60216 glibcxx_cv_func_expf_use=no
60218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60219 ac_ext=c
60220 ac_cpp='$CPP $CPPFLAGS'
60221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
60230 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
60232 if test x$glibcxx_cv_func_expf_use = x"yes"; then
60233 for ac_func in expf
60234 do :
60235 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
60236 if test "x$ac_cv_func_expf" = x""yes; then :
60237 cat >>confdefs.h <<_ACEOF
60238 #define HAVE_EXPF 1
60239 _ACEOF
60242 done
60244 else
60246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
60247 $as_echo_n "checking for _expf declaration... " >&6; }
60248 if test x${glibcxx_cv_func__expf_use+set} != xset; then
60249 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
60250 $as_echo_n "(cached) " >&6
60251 else
60254 ac_ext=cpp
60255 ac_cpp='$CXXCPP $CPPFLAGS'
60256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60261 /* end confdefs.h. */
60262 #include <math.h>
60263 #ifdef HAVE_IEEEFP_H
60264 #include <ieeefp.h>
60265 #endif
60268 main ()
60270 _expf(0);
60272 return 0;
60274 _ACEOF
60275 if ac_fn_cxx_try_compile "$LINENO"; then :
60276 glibcxx_cv_func__expf_use=yes
60277 else
60278 glibcxx_cv_func__expf_use=no
60280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60281 ac_ext=c
60282 ac_cpp='$CPP $CPPFLAGS'
60283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
60292 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
60294 if test x$glibcxx_cv_func__expf_use = x"yes"; then
60295 for ac_func in _expf
60296 do :
60297 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
60298 if test "x$ac_cv_func__expf" = x""yes; then :
60299 cat >>confdefs.h <<_ACEOF
60300 #define HAVE__EXPF 1
60301 _ACEOF
60304 done
60313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
60314 $as_echo_n "checking for isnanf declaration... " >&6; }
60315 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
60316 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
60317 $as_echo_n "(cached) " >&6
60318 else
60321 ac_ext=cpp
60322 ac_cpp='$CXXCPP $CPPFLAGS'
60323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60328 /* end confdefs.h. */
60329 #include <math.h>
60330 #ifdef HAVE_IEEEFP_H
60331 #include <ieeefp.h>
60332 #endif
60335 main ()
60337 isnanf(0);
60339 return 0;
60341 _ACEOF
60342 if ac_fn_cxx_try_compile "$LINENO"; then :
60343 glibcxx_cv_func_isnanf_use=yes
60344 else
60345 glibcxx_cv_func_isnanf_use=no
60347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60348 ac_ext=c
60349 ac_cpp='$CPP $CPPFLAGS'
60350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
60359 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
60361 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
60362 for ac_func in isnanf
60363 do :
60364 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
60365 if test "x$ac_cv_func_isnanf" = x""yes; then :
60366 cat >>confdefs.h <<_ACEOF
60367 #define HAVE_ISNANF 1
60368 _ACEOF
60371 done
60373 else
60375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
60376 $as_echo_n "checking for _isnanf declaration... " >&6; }
60377 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
60378 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
60379 $as_echo_n "(cached) " >&6
60380 else
60383 ac_ext=cpp
60384 ac_cpp='$CXXCPP $CPPFLAGS'
60385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60390 /* end confdefs.h. */
60391 #include <math.h>
60392 #ifdef HAVE_IEEEFP_H
60393 #include <ieeefp.h>
60394 #endif
60397 main ()
60399 _isnanf(0);
60401 return 0;
60403 _ACEOF
60404 if ac_fn_cxx_try_compile "$LINENO"; then :
60405 glibcxx_cv_func__isnanf_use=yes
60406 else
60407 glibcxx_cv_func__isnanf_use=no
60409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60410 ac_ext=c
60411 ac_cpp='$CPP $CPPFLAGS'
60412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
60421 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
60423 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
60424 for ac_func in _isnanf
60425 do :
60426 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
60427 if test "x$ac_cv_func__isnanf" = x""yes; then :
60428 cat >>confdefs.h <<_ACEOF
60429 #define HAVE__ISNANF 1
60430 _ACEOF
60433 done
60442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
60443 $as_echo_n "checking for isinff declaration... " >&6; }
60444 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
60445 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
60446 $as_echo_n "(cached) " >&6
60447 else
60450 ac_ext=cpp
60451 ac_cpp='$CXXCPP $CPPFLAGS'
60452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60457 /* end confdefs.h. */
60458 #include <math.h>
60459 #ifdef HAVE_IEEEFP_H
60460 #include <ieeefp.h>
60461 #endif
60464 main ()
60466 isinff(0);
60468 return 0;
60470 _ACEOF
60471 if ac_fn_cxx_try_compile "$LINENO"; then :
60472 glibcxx_cv_func_isinff_use=yes
60473 else
60474 glibcxx_cv_func_isinff_use=no
60476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60477 ac_ext=c
60478 ac_cpp='$CPP $CPPFLAGS'
60479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
60488 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
60490 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
60491 for ac_func in isinff
60492 do :
60493 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
60494 if test "x$ac_cv_func_isinff" = x""yes; then :
60495 cat >>confdefs.h <<_ACEOF
60496 #define HAVE_ISINFF 1
60497 _ACEOF
60500 done
60502 else
60504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
60505 $as_echo_n "checking for _isinff declaration... " >&6; }
60506 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
60507 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
60508 $as_echo_n "(cached) " >&6
60509 else
60512 ac_ext=cpp
60513 ac_cpp='$CXXCPP $CPPFLAGS'
60514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60519 /* end confdefs.h. */
60520 #include <math.h>
60521 #ifdef HAVE_IEEEFP_H
60522 #include <ieeefp.h>
60523 #endif
60526 main ()
60528 _isinff(0);
60530 return 0;
60532 _ACEOF
60533 if ac_fn_cxx_try_compile "$LINENO"; then :
60534 glibcxx_cv_func__isinff_use=yes
60535 else
60536 glibcxx_cv_func__isinff_use=no
60538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60539 ac_ext=c
60540 ac_cpp='$CPP $CPPFLAGS'
60541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
60550 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
60552 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
60553 for ac_func in _isinff
60554 do :
60555 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
60556 if test "x$ac_cv_func__isinff" = x""yes; then :
60557 cat >>confdefs.h <<_ACEOF
60558 #define HAVE__ISINFF 1
60559 _ACEOF
60562 done
60571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
60572 $as_echo_n "checking for atan2f declaration... " >&6; }
60573 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
60574 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
60575 $as_echo_n "(cached) " >&6
60576 else
60579 ac_ext=cpp
60580 ac_cpp='$CXXCPP $CPPFLAGS'
60581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60586 /* end confdefs.h. */
60587 #include <math.h>
60589 main ()
60591 atan2f(0, 0);
60593 return 0;
60595 _ACEOF
60596 if ac_fn_cxx_try_compile "$LINENO"; then :
60597 glibcxx_cv_func_atan2f_use=yes
60598 else
60599 glibcxx_cv_func_atan2f_use=no
60601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60602 ac_ext=c
60603 ac_cpp='$CPP $CPPFLAGS'
60604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
60613 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
60615 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
60616 for ac_func in atan2f
60617 do :
60618 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
60619 if test "x$ac_cv_func_atan2f" = x""yes; then :
60620 cat >>confdefs.h <<_ACEOF
60621 #define HAVE_ATAN2F 1
60622 _ACEOF
60625 done
60627 else
60629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
60630 $as_echo_n "checking for _atan2f declaration... " >&6; }
60631 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
60632 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
60633 $as_echo_n "(cached) " >&6
60634 else
60637 ac_ext=cpp
60638 ac_cpp='$CXXCPP $CPPFLAGS'
60639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60644 /* end confdefs.h. */
60645 #include <math.h>
60647 main ()
60649 _atan2f(0, 0);
60651 return 0;
60653 _ACEOF
60654 if ac_fn_cxx_try_compile "$LINENO"; then :
60655 glibcxx_cv_func__atan2f_use=yes
60656 else
60657 glibcxx_cv_func__atan2f_use=no
60659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60660 ac_ext=c
60661 ac_cpp='$CPP $CPPFLAGS'
60662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
60671 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
60673 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
60674 for ac_func in _atan2f
60675 do :
60676 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
60677 if test "x$ac_cv_func__atan2f" = x""yes; then :
60678 cat >>confdefs.h <<_ACEOF
60679 #define HAVE__ATAN2F 1
60680 _ACEOF
60683 done
60692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
60693 $as_echo_n "checking for fabsf declaration... " >&6; }
60694 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
60695 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
60696 $as_echo_n "(cached) " >&6
60697 else
60700 ac_ext=cpp
60701 ac_cpp='$CXXCPP $CPPFLAGS'
60702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60707 /* end confdefs.h. */
60708 #include <math.h>
60709 #ifdef HAVE_IEEEFP_H
60710 #include <ieeefp.h>
60711 #endif
60714 main ()
60716 fabsf(0);
60718 return 0;
60720 _ACEOF
60721 if ac_fn_cxx_try_compile "$LINENO"; then :
60722 glibcxx_cv_func_fabsf_use=yes
60723 else
60724 glibcxx_cv_func_fabsf_use=no
60726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60727 ac_ext=c
60728 ac_cpp='$CPP $CPPFLAGS'
60729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
60738 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
60740 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
60741 for ac_func in fabsf
60742 do :
60743 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
60744 if test "x$ac_cv_func_fabsf" = x""yes; then :
60745 cat >>confdefs.h <<_ACEOF
60746 #define HAVE_FABSF 1
60747 _ACEOF
60750 done
60752 else
60754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
60755 $as_echo_n "checking for _fabsf declaration... " >&6; }
60756 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
60757 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
60758 $as_echo_n "(cached) " >&6
60759 else
60762 ac_ext=cpp
60763 ac_cpp='$CXXCPP $CPPFLAGS'
60764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60769 /* end confdefs.h. */
60770 #include <math.h>
60771 #ifdef HAVE_IEEEFP_H
60772 #include <ieeefp.h>
60773 #endif
60776 main ()
60778 _fabsf(0);
60780 return 0;
60782 _ACEOF
60783 if ac_fn_cxx_try_compile "$LINENO"; then :
60784 glibcxx_cv_func__fabsf_use=yes
60785 else
60786 glibcxx_cv_func__fabsf_use=no
60788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60789 ac_ext=c
60790 ac_cpp='$CPP $CPPFLAGS'
60791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
60800 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
60802 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
60803 for ac_func in _fabsf
60804 do :
60805 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
60806 if test "x$ac_cv_func__fabsf" = x""yes; then :
60807 cat >>confdefs.h <<_ACEOF
60808 #define HAVE__FABSF 1
60809 _ACEOF
60812 done
60821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
60822 $as_echo_n "checking for fmodf declaration... " >&6; }
60823 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
60824 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
60825 $as_echo_n "(cached) " >&6
60826 else
60829 ac_ext=cpp
60830 ac_cpp='$CXXCPP $CPPFLAGS'
60831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60836 /* end confdefs.h. */
60837 #include <math.h>
60839 main ()
60841 fmodf(0, 0);
60843 return 0;
60845 _ACEOF
60846 if ac_fn_cxx_try_compile "$LINENO"; then :
60847 glibcxx_cv_func_fmodf_use=yes
60848 else
60849 glibcxx_cv_func_fmodf_use=no
60851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60852 ac_ext=c
60853 ac_cpp='$CPP $CPPFLAGS'
60854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
60863 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
60865 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
60866 for ac_func in fmodf
60867 do :
60868 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
60869 if test "x$ac_cv_func_fmodf" = x""yes; then :
60870 cat >>confdefs.h <<_ACEOF
60871 #define HAVE_FMODF 1
60872 _ACEOF
60875 done
60877 else
60879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
60880 $as_echo_n "checking for _fmodf declaration... " >&6; }
60881 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
60882 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
60883 $as_echo_n "(cached) " >&6
60884 else
60887 ac_ext=cpp
60888 ac_cpp='$CXXCPP $CPPFLAGS'
60889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60894 /* end confdefs.h. */
60895 #include <math.h>
60897 main ()
60899 _fmodf(0, 0);
60901 return 0;
60903 _ACEOF
60904 if ac_fn_cxx_try_compile "$LINENO"; then :
60905 glibcxx_cv_func__fmodf_use=yes
60906 else
60907 glibcxx_cv_func__fmodf_use=no
60909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60910 ac_ext=c
60911 ac_cpp='$CPP $CPPFLAGS'
60912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
60921 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
60923 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
60924 for ac_func in _fmodf
60925 do :
60926 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
60927 if test "x$ac_cv_func__fmodf" = x""yes; then :
60928 cat >>confdefs.h <<_ACEOF
60929 #define HAVE__FMODF 1
60930 _ACEOF
60933 done
60942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
60943 $as_echo_n "checking for frexpf declaration... " >&6; }
60944 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
60945 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
60946 $as_echo_n "(cached) " >&6
60947 else
60950 ac_ext=cpp
60951 ac_cpp='$CXXCPP $CPPFLAGS'
60952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60957 /* end confdefs.h. */
60958 #include <math.h>
60960 main ()
60962 frexpf(0, 0);
60964 return 0;
60966 _ACEOF
60967 if ac_fn_cxx_try_compile "$LINENO"; then :
60968 glibcxx_cv_func_frexpf_use=yes
60969 else
60970 glibcxx_cv_func_frexpf_use=no
60972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60973 ac_ext=c
60974 ac_cpp='$CPP $CPPFLAGS'
60975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
60984 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
60986 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
60987 for ac_func in frexpf
60988 do :
60989 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
60990 if test "x$ac_cv_func_frexpf" = x""yes; then :
60991 cat >>confdefs.h <<_ACEOF
60992 #define HAVE_FREXPF 1
60993 _ACEOF
60996 done
60998 else
61000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
61001 $as_echo_n "checking for _frexpf declaration... " >&6; }
61002 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
61003 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
61004 $as_echo_n "(cached) " >&6
61005 else
61008 ac_ext=cpp
61009 ac_cpp='$CXXCPP $CPPFLAGS'
61010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61015 /* end confdefs.h. */
61016 #include <math.h>
61018 main ()
61020 _frexpf(0, 0);
61022 return 0;
61024 _ACEOF
61025 if ac_fn_cxx_try_compile "$LINENO"; then :
61026 glibcxx_cv_func__frexpf_use=yes
61027 else
61028 glibcxx_cv_func__frexpf_use=no
61030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61031 ac_ext=c
61032 ac_cpp='$CPP $CPPFLAGS'
61033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
61042 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
61044 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
61045 for ac_func in _frexpf
61046 do :
61047 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
61048 if test "x$ac_cv_func__frexpf" = x""yes; then :
61049 cat >>confdefs.h <<_ACEOF
61050 #define HAVE__FREXPF 1
61051 _ACEOF
61054 done
61063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
61064 $as_echo_n "checking for hypotf declaration... " >&6; }
61065 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
61066 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
61067 $as_echo_n "(cached) " >&6
61068 else
61071 ac_ext=cpp
61072 ac_cpp='$CXXCPP $CPPFLAGS'
61073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61078 /* end confdefs.h. */
61079 #include <math.h>
61081 main ()
61083 hypotf(0, 0);
61085 return 0;
61087 _ACEOF
61088 if ac_fn_cxx_try_compile "$LINENO"; then :
61089 glibcxx_cv_func_hypotf_use=yes
61090 else
61091 glibcxx_cv_func_hypotf_use=no
61093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61094 ac_ext=c
61095 ac_cpp='$CPP $CPPFLAGS'
61096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
61105 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
61107 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
61108 for ac_func in hypotf
61109 do :
61110 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
61111 if test "x$ac_cv_func_hypotf" = x""yes; then :
61112 cat >>confdefs.h <<_ACEOF
61113 #define HAVE_HYPOTF 1
61114 _ACEOF
61117 done
61119 else
61121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
61122 $as_echo_n "checking for _hypotf declaration... " >&6; }
61123 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
61124 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
61125 $as_echo_n "(cached) " >&6
61126 else
61129 ac_ext=cpp
61130 ac_cpp='$CXXCPP $CPPFLAGS'
61131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61136 /* end confdefs.h. */
61137 #include <math.h>
61139 main ()
61141 _hypotf(0, 0);
61143 return 0;
61145 _ACEOF
61146 if ac_fn_cxx_try_compile "$LINENO"; then :
61147 glibcxx_cv_func__hypotf_use=yes
61148 else
61149 glibcxx_cv_func__hypotf_use=no
61151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61152 ac_ext=c
61153 ac_cpp='$CPP $CPPFLAGS'
61154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
61163 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
61165 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
61166 for ac_func in _hypotf
61167 do :
61168 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
61169 if test "x$ac_cv_func__hypotf" = x""yes; then :
61170 cat >>confdefs.h <<_ACEOF
61171 #define HAVE__HYPOTF 1
61172 _ACEOF
61175 done
61184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
61185 $as_echo_n "checking for ldexpf declaration... " >&6; }
61186 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
61187 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
61188 $as_echo_n "(cached) " >&6
61189 else
61192 ac_ext=cpp
61193 ac_cpp='$CXXCPP $CPPFLAGS'
61194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61199 /* end confdefs.h. */
61200 #include <math.h>
61202 main ()
61204 ldexpf(0, 0);
61206 return 0;
61208 _ACEOF
61209 if ac_fn_cxx_try_compile "$LINENO"; then :
61210 glibcxx_cv_func_ldexpf_use=yes
61211 else
61212 glibcxx_cv_func_ldexpf_use=no
61214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61215 ac_ext=c
61216 ac_cpp='$CPP $CPPFLAGS'
61217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
61226 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
61228 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
61229 for ac_func in ldexpf
61230 do :
61231 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
61232 if test "x$ac_cv_func_ldexpf" = x""yes; then :
61233 cat >>confdefs.h <<_ACEOF
61234 #define HAVE_LDEXPF 1
61235 _ACEOF
61238 done
61240 else
61242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
61243 $as_echo_n "checking for _ldexpf declaration... " >&6; }
61244 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
61245 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
61246 $as_echo_n "(cached) " >&6
61247 else
61250 ac_ext=cpp
61251 ac_cpp='$CXXCPP $CPPFLAGS'
61252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61257 /* end confdefs.h. */
61258 #include <math.h>
61260 main ()
61262 _ldexpf(0, 0);
61264 return 0;
61266 _ACEOF
61267 if ac_fn_cxx_try_compile "$LINENO"; then :
61268 glibcxx_cv_func__ldexpf_use=yes
61269 else
61270 glibcxx_cv_func__ldexpf_use=no
61272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61273 ac_ext=c
61274 ac_cpp='$CPP $CPPFLAGS'
61275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
61284 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
61286 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
61287 for ac_func in _ldexpf
61288 do :
61289 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
61290 if test "x$ac_cv_func__ldexpf" = x""yes; then :
61291 cat >>confdefs.h <<_ACEOF
61292 #define HAVE__LDEXPF 1
61293 _ACEOF
61296 done
61305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
61306 $as_echo_n "checking for logf declaration... " >&6; }
61307 if test x${glibcxx_cv_func_logf_use+set} != xset; then
61308 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
61309 $as_echo_n "(cached) " >&6
61310 else
61313 ac_ext=cpp
61314 ac_cpp='$CXXCPP $CPPFLAGS'
61315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61320 /* end confdefs.h. */
61321 #include <math.h>
61322 #ifdef HAVE_IEEEFP_H
61323 #include <ieeefp.h>
61324 #endif
61327 main ()
61329 logf(0);
61331 return 0;
61333 _ACEOF
61334 if ac_fn_cxx_try_compile "$LINENO"; then :
61335 glibcxx_cv_func_logf_use=yes
61336 else
61337 glibcxx_cv_func_logf_use=no
61339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61340 ac_ext=c
61341 ac_cpp='$CPP $CPPFLAGS'
61342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
61351 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
61353 if test x$glibcxx_cv_func_logf_use = x"yes"; then
61354 for ac_func in logf
61355 do :
61356 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
61357 if test "x$ac_cv_func_logf" = x""yes; then :
61358 cat >>confdefs.h <<_ACEOF
61359 #define HAVE_LOGF 1
61360 _ACEOF
61363 done
61365 else
61367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
61368 $as_echo_n "checking for _logf declaration... " >&6; }
61369 if test x${glibcxx_cv_func__logf_use+set} != xset; then
61370 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
61371 $as_echo_n "(cached) " >&6
61372 else
61375 ac_ext=cpp
61376 ac_cpp='$CXXCPP $CPPFLAGS'
61377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61382 /* end confdefs.h. */
61383 #include <math.h>
61384 #ifdef HAVE_IEEEFP_H
61385 #include <ieeefp.h>
61386 #endif
61389 main ()
61391 _logf(0);
61393 return 0;
61395 _ACEOF
61396 if ac_fn_cxx_try_compile "$LINENO"; then :
61397 glibcxx_cv_func__logf_use=yes
61398 else
61399 glibcxx_cv_func__logf_use=no
61401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61402 ac_ext=c
61403 ac_cpp='$CPP $CPPFLAGS'
61404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
61413 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
61415 if test x$glibcxx_cv_func__logf_use = x"yes"; then
61416 for ac_func in _logf
61417 do :
61418 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
61419 if test "x$ac_cv_func__logf" = x""yes; then :
61420 cat >>confdefs.h <<_ACEOF
61421 #define HAVE__LOGF 1
61422 _ACEOF
61425 done
61434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
61435 $as_echo_n "checking for log10f declaration... " >&6; }
61436 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
61437 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
61438 $as_echo_n "(cached) " >&6
61439 else
61442 ac_ext=cpp
61443 ac_cpp='$CXXCPP $CPPFLAGS'
61444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61449 /* end confdefs.h. */
61450 #include <math.h>
61451 #ifdef HAVE_IEEEFP_H
61452 #include <ieeefp.h>
61453 #endif
61456 main ()
61458 log10f(0);
61460 return 0;
61462 _ACEOF
61463 if ac_fn_cxx_try_compile "$LINENO"; then :
61464 glibcxx_cv_func_log10f_use=yes
61465 else
61466 glibcxx_cv_func_log10f_use=no
61468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61469 ac_ext=c
61470 ac_cpp='$CPP $CPPFLAGS'
61471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
61480 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
61482 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
61483 for ac_func in log10f
61484 do :
61485 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
61486 if test "x$ac_cv_func_log10f" = x""yes; then :
61487 cat >>confdefs.h <<_ACEOF
61488 #define HAVE_LOG10F 1
61489 _ACEOF
61492 done
61494 else
61496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
61497 $as_echo_n "checking for _log10f declaration... " >&6; }
61498 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
61499 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
61500 $as_echo_n "(cached) " >&6
61501 else
61504 ac_ext=cpp
61505 ac_cpp='$CXXCPP $CPPFLAGS'
61506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61511 /* end confdefs.h. */
61512 #include <math.h>
61513 #ifdef HAVE_IEEEFP_H
61514 #include <ieeefp.h>
61515 #endif
61518 main ()
61520 _log10f(0);
61522 return 0;
61524 _ACEOF
61525 if ac_fn_cxx_try_compile "$LINENO"; then :
61526 glibcxx_cv_func__log10f_use=yes
61527 else
61528 glibcxx_cv_func__log10f_use=no
61530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61531 ac_ext=c
61532 ac_cpp='$CPP $CPPFLAGS'
61533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
61542 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
61544 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
61545 for ac_func in _log10f
61546 do :
61547 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
61548 if test "x$ac_cv_func__log10f" = x""yes; then :
61549 cat >>confdefs.h <<_ACEOF
61550 #define HAVE__LOG10F 1
61551 _ACEOF
61554 done
61563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
61564 $as_echo_n "checking for modff declaration... " >&6; }
61565 if test x${glibcxx_cv_func_modff_use+set} != xset; then
61566 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
61567 $as_echo_n "(cached) " >&6
61568 else
61571 ac_ext=cpp
61572 ac_cpp='$CXXCPP $CPPFLAGS'
61573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61578 /* end confdefs.h. */
61579 #include <math.h>
61581 main ()
61583 modff(0, 0);
61585 return 0;
61587 _ACEOF
61588 if ac_fn_cxx_try_compile "$LINENO"; then :
61589 glibcxx_cv_func_modff_use=yes
61590 else
61591 glibcxx_cv_func_modff_use=no
61593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61594 ac_ext=c
61595 ac_cpp='$CPP $CPPFLAGS'
61596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
61605 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
61607 if test x$glibcxx_cv_func_modff_use = x"yes"; then
61608 for ac_func in modff
61609 do :
61610 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
61611 if test "x$ac_cv_func_modff" = x""yes; then :
61612 cat >>confdefs.h <<_ACEOF
61613 #define HAVE_MODFF 1
61614 _ACEOF
61617 done
61619 else
61621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
61622 $as_echo_n "checking for _modff declaration... " >&6; }
61623 if test x${glibcxx_cv_func__modff_use+set} != xset; then
61624 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
61625 $as_echo_n "(cached) " >&6
61626 else
61629 ac_ext=cpp
61630 ac_cpp='$CXXCPP $CPPFLAGS'
61631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61636 /* end confdefs.h. */
61637 #include <math.h>
61639 main ()
61641 _modff(0, 0);
61643 return 0;
61645 _ACEOF
61646 if ac_fn_cxx_try_compile "$LINENO"; then :
61647 glibcxx_cv_func__modff_use=yes
61648 else
61649 glibcxx_cv_func__modff_use=no
61651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61652 ac_ext=c
61653 ac_cpp='$CPP $CPPFLAGS'
61654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
61663 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
61665 if test x$glibcxx_cv_func__modff_use = x"yes"; then
61666 for ac_func in _modff
61667 do :
61668 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
61669 if test "x$ac_cv_func__modff" = x""yes; then :
61670 cat >>confdefs.h <<_ACEOF
61671 #define HAVE__MODFF 1
61672 _ACEOF
61675 done
61684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
61685 $as_echo_n "checking for modf declaration... " >&6; }
61686 if test x${glibcxx_cv_func_modf_use+set} != xset; then
61687 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
61688 $as_echo_n "(cached) " >&6
61689 else
61692 ac_ext=cpp
61693 ac_cpp='$CXXCPP $CPPFLAGS'
61694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61699 /* end confdefs.h. */
61700 #include <math.h>
61702 main ()
61704 modf(0, 0);
61706 return 0;
61708 _ACEOF
61709 if ac_fn_cxx_try_compile "$LINENO"; then :
61710 glibcxx_cv_func_modf_use=yes
61711 else
61712 glibcxx_cv_func_modf_use=no
61714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61715 ac_ext=c
61716 ac_cpp='$CPP $CPPFLAGS'
61717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
61726 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
61728 if test x$glibcxx_cv_func_modf_use = x"yes"; then
61729 for ac_func in modf
61730 do :
61731 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
61732 if test "x$ac_cv_func_modf" = x""yes; then :
61733 cat >>confdefs.h <<_ACEOF
61734 #define HAVE_MODF 1
61735 _ACEOF
61738 done
61740 else
61742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
61743 $as_echo_n "checking for _modf declaration... " >&6; }
61744 if test x${glibcxx_cv_func__modf_use+set} != xset; then
61745 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
61746 $as_echo_n "(cached) " >&6
61747 else
61750 ac_ext=cpp
61751 ac_cpp='$CXXCPP $CPPFLAGS'
61752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61757 /* end confdefs.h. */
61758 #include <math.h>
61760 main ()
61762 _modf(0, 0);
61764 return 0;
61766 _ACEOF
61767 if ac_fn_cxx_try_compile "$LINENO"; then :
61768 glibcxx_cv_func__modf_use=yes
61769 else
61770 glibcxx_cv_func__modf_use=no
61772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61773 ac_ext=c
61774 ac_cpp='$CPP $CPPFLAGS'
61775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
61784 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
61786 if test x$glibcxx_cv_func__modf_use = x"yes"; then
61787 for ac_func in _modf
61788 do :
61789 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
61790 if test "x$ac_cv_func__modf" = x""yes; then :
61791 cat >>confdefs.h <<_ACEOF
61792 #define HAVE__MODF 1
61793 _ACEOF
61796 done
61805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
61806 $as_echo_n "checking for powf declaration... " >&6; }
61807 if test x${glibcxx_cv_func_powf_use+set} != xset; then
61808 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
61809 $as_echo_n "(cached) " >&6
61810 else
61813 ac_ext=cpp
61814 ac_cpp='$CXXCPP $CPPFLAGS'
61815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61820 /* end confdefs.h. */
61821 #include <math.h>
61823 main ()
61825 powf(0, 0);
61827 return 0;
61829 _ACEOF
61830 if ac_fn_cxx_try_compile "$LINENO"; then :
61831 glibcxx_cv_func_powf_use=yes
61832 else
61833 glibcxx_cv_func_powf_use=no
61835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61836 ac_ext=c
61837 ac_cpp='$CPP $CPPFLAGS'
61838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
61847 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
61849 if test x$glibcxx_cv_func_powf_use = x"yes"; then
61850 for ac_func in powf
61851 do :
61852 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
61853 if test "x$ac_cv_func_powf" = x""yes; then :
61854 cat >>confdefs.h <<_ACEOF
61855 #define HAVE_POWF 1
61856 _ACEOF
61859 done
61861 else
61863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
61864 $as_echo_n "checking for _powf declaration... " >&6; }
61865 if test x${glibcxx_cv_func__powf_use+set} != xset; then
61866 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
61867 $as_echo_n "(cached) " >&6
61868 else
61871 ac_ext=cpp
61872 ac_cpp='$CXXCPP $CPPFLAGS'
61873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61878 /* end confdefs.h. */
61879 #include <math.h>
61881 main ()
61883 _powf(0, 0);
61885 return 0;
61887 _ACEOF
61888 if ac_fn_cxx_try_compile "$LINENO"; then :
61889 glibcxx_cv_func__powf_use=yes
61890 else
61891 glibcxx_cv_func__powf_use=no
61893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61894 ac_ext=c
61895 ac_cpp='$CPP $CPPFLAGS'
61896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
61905 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
61907 if test x$glibcxx_cv_func__powf_use = x"yes"; then
61908 for ac_func in _powf
61909 do :
61910 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
61911 if test "x$ac_cv_func__powf" = x""yes; then :
61912 cat >>confdefs.h <<_ACEOF
61913 #define HAVE__POWF 1
61914 _ACEOF
61917 done
61926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
61927 $as_echo_n "checking for sqrtf declaration... " >&6; }
61928 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
61929 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
61930 $as_echo_n "(cached) " >&6
61931 else
61934 ac_ext=cpp
61935 ac_cpp='$CXXCPP $CPPFLAGS'
61936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61941 /* end confdefs.h. */
61942 #include <math.h>
61943 #ifdef HAVE_IEEEFP_H
61944 #include <ieeefp.h>
61945 #endif
61948 main ()
61950 sqrtf(0);
61952 return 0;
61954 _ACEOF
61955 if ac_fn_cxx_try_compile "$LINENO"; then :
61956 glibcxx_cv_func_sqrtf_use=yes
61957 else
61958 glibcxx_cv_func_sqrtf_use=no
61960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61961 ac_ext=c
61962 ac_cpp='$CPP $CPPFLAGS'
61963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
61972 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
61974 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
61975 for ac_func in sqrtf
61976 do :
61977 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
61978 if test "x$ac_cv_func_sqrtf" = x""yes; then :
61979 cat >>confdefs.h <<_ACEOF
61980 #define HAVE_SQRTF 1
61981 _ACEOF
61984 done
61986 else
61988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
61989 $as_echo_n "checking for _sqrtf declaration... " >&6; }
61990 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
61991 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
61992 $as_echo_n "(cached) " >&6
61993 else
61996 ac_ext=cpp
61997 ac_cpp='$CXXCPP $CPPFLAGS'
61998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62003 /* end confdefs.h. */
62004 #include <math.h>
62005 #ifdef HAVE_IEEEFP_H
62006 #include <ieeefp.h>
62007 #endif
62010 main ()
62012 _sqrtf(0);
62014 return 0;
62016 _ACEOF
62017 if ac_fn_cxx_try_compile "$LINENO"; then :
62018 glibcxx_cv_func__sqrtf_use=yes
62019 else
62020 glibcxx_cv_func__sqrtf_use=no
62022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62023 ac_ext=c
62024 ac_cpp='$CPP $CPPFLAGS'
62025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
62034 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
62036 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
62037 for ac_func in _sqrtf
62038 do :
62039 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
62040 if test "x$ac_cv_func__sqrtf" = x""yes; then :
62041 cat >>confdefs.h <<_ACEOF
62042 #define HAVE__SQRTF 1
62043 _ACEOF
62046 done
62055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
62056 $as_echo_n "checking for sincosf declaration... " >&6; }
62057 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
62058 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
62059 $as_echo_n "(cached) " >&6
62060 else
62063 ac_ext=cpp
62064 ac_cpp='$CXXCPP $CPPFLAGS'
62065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62070 /* end confdefs.h. */
62071 #include <math.h>
62073 main ()
62075 sincosf(0, 0, 0);
62077 return 0;
62079 _ACEOF
62080 if ac_fn_cxx_try_compile "$LINENO"; then :
62081 glibcxx_cv_func_sincosf_use=yes
62082 else
62083 glibcxx_cv_func_sincosf_use=no
62085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62086 ac_ext=c
62087 ac_cpp='$CPP $CPPFLAGS'
62088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
62097 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
62099 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
62100 for ac_func in sincosf
62101 do :
62102 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
62103 if test "x$ac_cv_func_sincosf" = x""yes; then :
62104 cat >>confdefs.h <<_ACEOF
62105 #define HAVE_SINCOSF 1
62106 _ACEOF
62109 done
62111 else
62113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
62114 $as_echo_n "checking for _sincosf declaration... " >&6; }
62115 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
62116 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
62117 $as_echo_n "(cached) " >&6
62118 else
62121 ac_ext=cpp
62122 ac_cpp='$CXXCPP $CPPFLAGS'
62123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62128 /* end confdefs.h. */
62129 #include <math.h>
62131 main ()
62133 _sincosf(0, 0, 0);
62135 return 0;
62137 _ACEOF
62138 if ac_fn_cxx_try_compile "$LINENO"; then :
62139 glibcxx_cv_func__sincosf_use=yes
62140 else
62141 glibcxx_cv_func__sincosf_use=no
62143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62144 ac_ext=c
62145 ac_cpp='$CPP $CPPFLAGS'
62146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
62155 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
62157 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
62158 for ac_func in _sincosf
62159 do :
62160 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
62161 if test "x$ac_cv_func__sincosf" = x""yes; then :
62162 cat >>confdefs.h <<_ACEOF
62163 #define HAVE__SINCOSF 1
62164 _ACEOF
62167 done
62176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
62177 $as_echo_n "checking for finitef declaration... " >&6; }
62178 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
62179 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
62180 $as_echo_n "(cached) " >&6
62181 else
62184 ac_ext=cpp
62185 ac_cpp='$CXXCPP $CPPFLAGS'
62186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62191 /* end confdefs.h. */
62192 #include <math.h>
62193 #ifdef HAVE_IEEEFP_H
62194 #include <ieeefp.h>
62195 #endif
62198 main ()
62200 finitef(0);
62202 return 0;
62204 _ACEOF
62205 if ac_fn_cxx_try_compile "$LINENO"; then :
62206 glibcxx_cv_func_finitef_use=yes
62207 else
62208 glibcxx_cv_func_finitef_use=no
62210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62211 ac_ext=c
62212 ac_cpp='$CPP $CPPFLAGS'
62213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
62222 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
62224 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
62225 for ac_func in finitef
62226 do :
62227 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
62228 if test "x$ac_cv_func_finitef" = x""yes; then :
62229 cat >>confdefs.h <<_ACEOF
62230 #define HAVE_FINITEF 1
62231 _ACEOF
62234 done
62236 else
62238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
62239 $as_echo_n "checking for _finitef declaration... " >&6; }
62240 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
62241 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
62242 $as_echo_n "(cached) " >&6
62243 else
62246 ac_ext=cpp
62247 ac_cpp='$CXXCPP $CPPFLAGS'
62248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62253 /* end confdefs.h. */
62254 #include <math.h>
62255 #ifdef HAVE_IEEEFP_H
62256 #include <ieeefp.h>
62257 #endif
62260 main ()
62262 _finitef(0);
62264 return 0;
62266 _ACEOF
62267 if ac_fn_cxx_try_compile "$LINENO"; then :
62268 glibcxx_cv_func__finitef_use=yes
62269 else
62270 glibcxx_cv_func__finitef_use=no
62272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62273 ac_ext=c
62274 ac_cpp='$CPP $CPPFLAGS'
62275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
62284 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
62286 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
62287 for ac_func in _finitef
62288 do :
62289 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
62290 if test "x$ac_cv_func__finitef" = x""yes; then :
62291 cat >>confdefs.h <<_ACEOF
62292 #define HAVE__FINITEF 1
62293 _ACEOF
62296 done
62305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
62306 $as_echo_n "checking for long double trig functions... " >&6; }
62307 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
62308 $as_echo_n "(cached) " >&6
62309 else
62312 ac_ext=cpp
62313 ac_cpp='$CXXCPP $CPPFLAGS'
62314 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62315 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62316 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62319 /* end confdefs.h. */
62320 #include <math.h>
62322 main ()
62324 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
62326 return 0;
62328 _ACEOF
62329 if ac_fn_cxx_try_compile "$LINENO"; then :
62330 glibcxx_cv_func_long_double_trig_use=yes
62331 else
62332 glibcxx_cv_func_long_double_trig_use=no
62334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62335 ac_ext=c
62336 ac_cpp='$CPP $CPPFLAGS'
62337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
62344 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
62345 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
62346 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
62347 do :
62348 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62349 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62350 eval as_val=\$$as_ac_var
62351 if test "x$as_val" = x""yes; then :
62352 cat >>confdefs.h <<_ACEOF
62353 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62354 _ACEOF
62357 done
62359 else
62360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
62361 $as_echo_n "checking for _long double trig functions... " >&6; }
62362 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
62363 $as_echo_n "(cached) " >&6
62364 else
62367 ac_ext=cpp
62368 ac_cpp='$CXXCPP $CPPFLAGS'
62369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62374 /* end confdefs.h. */
62375 #include <math.h>
62377 main ()
62379 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
62381 return 0;
62383 _ACEOF
62384 if ac_fn_cxx_try_compile "$LINENO"; then :
62385 glibcxx_cv_func__long_double_trig_use=yes
62386 else
62387 glibcxx_cv_func__long_double_trig_use=no
62389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62390 ac_ext=c
62391 ac_cpp='$CPP $CPPFLAGS'
62392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
62399 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
62400 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
62401 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
62402 do :
62403 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62404 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62405 eval as_val=\$$as_ac_var
62406 if test "x$as_val" = x""yes; then :
62407 cat >>confdefs.h <<_ACEOF
62408 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62409 _ACEOF
62412 done
62421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
62422 $as_echo_n "checking for long double round functions... " >&6; }
62423 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
62424 $as_echo_n "(cached) " >&6
62425 else
62428 ac_ext=cpp
62429 ac_cpp='$CXXCPP $CPPFLAGS'
62430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62435 /* end confdefs.h. */
62436 #include <math.h>
62438 main ()
62440 ceill (0); floorl (0);
62442 return 0;
62444 _ACEOF
62445 if ac_fn_cxx_try_compile "$LINENO"; then :
62446 glibcxx_cv_func_long_double_round_use=yes
62447 else
62448 glibcxx_cv_func_long_double_round_use=no
62450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62451 ac_ext=c
62452 ac_cpp='$CPP $CPPFLAGS'
62453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
62460 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
62461 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
62462 for ac_func in ceill floorl
62463 do :
62464 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62465 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62466 eval as_val=\$$as_ac_var
62467 if test "x$as_val" = x""yes; then :
62468 cat >>confdefs.h <<_ACEOF
62469 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62470 _ACEOF
62473 done
62475 else
62476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
62477 $as_echo_n "checking for _long double round functions... " >&6; }
62478 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
62479 $as_echo_n "(cached) " >&6
62480 else
62483 ac_ext=cpp
62484 ac_cpp='$CXXCPP $CPPFLAGS'
62485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62490 /* end confdefs.h. */
62491 #include <math.h>
62493 main ()
62495 _ceill (0); _floorl (0);
62497 return 0;
62499 _ACEOF
62500 if ac_fn_cxx_try_compile "$LINENO"; then :
62501 glibcxx_cv_func__long_double_round_use=yes
62502 else
62503 glibcxx_cv_func__long_double_round_use=no
62505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62506 ac_ext=c
62507 ac_cpp='$CPP $CPPFLAGS'
62508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
62515 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
62516 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
62517 for ac_func in _ceill _floorl
62518 do :
62519 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62520 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62521 eval as_val=\$$as_ac_var
62522 if test "x$as_val" = x""yes; then :
62523 cat >>confdefs.h <<_ACEOF
62524 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62525 _ACEOF
62528 done
62538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
62539 $as_echo_n "checking for isnanl declaration... " >&6; }
62540 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
62541 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
62542 $as_echo_n "(cached) " >&6
62543 else
62546 ac_ext=cpp
62547 ac_cpp='$CXXCPP $CPPFLAGS'
62548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62553 /* end confdefs.h. */
62554 #include <math.h>
62555 #ifdef HAVE_IEEEFP_H
62556 #include <ieeefp.h>
62557 #endif
62560 main ()
62562 isnanl(0);
62564 return 0;
62566 _ACEOF
62567 if ac_fn_cxx_try_compile "$LINENO"; then :
62568 glibcxx_cv_func_isnanl_use=yes
62569 else
62570 glibcxx_cv_func_isnanl_use=no
62572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62573 ac_ext=c
62574 ac_cpp='$CPP $CPPFLAGS'
62575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
62584 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
62586 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
62587 for ac_func in isnanl
62588 do :
62589 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
62590 if test "x$ac_cv_func_isnanl" = x""yes; then :
62591 cat >>confdefs.h <<_ACEOF
62592 #define HAVE_ISNANL 1
62593 _ACEOF
62596 done
62598 else
62600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
62601 $as_echo_n "checking for _isnanl declaration... " >&6; }
62602 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
62603 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
62604 $as_echo_n "(cached) " >&6
62605 else
62608 ac_ext=cpp
62609 ac_cpp='$CXXCPP $CPPFLAGS'
62610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62615 /* end confdefs.h. */
62616 #include <math.h>
62617 #ifdef HAVE_IEEEFP_H
62618 #include <ieeefp.h>
62619 #endif
62622 main ()
62624 _isnanl(0);
62626 return 0;
62628 _ACEOF
62629 if ac_fn_cxx_try_compile "$LINENO"; then :
62630 glibcxx_cv_func__isnanl_use=yes
62631 else
62632 glibcxx_cv_func__isnanl_use=no
62634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62635 ac_ext=c
62636 ac_cpp='$CPP $CPPFLAGS'
62637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
62646 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
62648 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
62649 for ac_func in _isnanl
62650 do :
62651 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
62652 if test "x$ac_cv_func__isnanl" = x""yes; then :
62653 cat >>confdefs.h <<_ACEOF
62654 #define HAVE__ISNANL 1
62655 _ACEOF
62658 done
62667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
62668 $as_echo_n "checking for isinfl declaration... " >&6; }
62669 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
62670 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
62671 $as_echo_n "(cached) " >&6
62672 else
62675 ac_ext=cpp
62676 ac_cpp='$CXXCPP $CPPFLAGS'
62677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62682 /* end confdefs.h. */
62683 #include <math.h>
62684 #ifdef HAVE_IEEEFP_H
62685 #include <ieeefp.h>
62686 #endif
62689 main ()
62691 isinfl(0);
62693 return 0;
62695 _ACEOF
62696 if ac_fn_cxx_try_compile "$LINENO"; then :
62697 glibcxx_cv_func_isinfl_use=yes
62698 else
62699 glibcxx_cv_func_isinfl_use=no
62701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62702 ac_ext=c
62703 ac_cpp='$CPP $CPPFLAGS'
62704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
62713 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
62715 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
62716 for ac_func in isinfl
62717 do :
62718 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
62719 if test "x$ac_cv_func_isinfl" = x""yes; then :
62720 cat >>confdefs.h <<_ACEOF
62721 #define HAVE_ISINFL 1
62722 _ACEOF
62725 done
62727 else
62729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
62730 $as_echo_n "checking for _isinfl declaration... " >&6; }
62731 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
62732 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
62733 $as_echo_n "(cached) " >&6
62734 else
62737 ac_ext=cpp
62738 ac_cpp='$CXXCPP $CPPFLAGS'
62739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62744 /* end confdefs.h. */
62745 #include <math.h>
62746 #ifdef HAVE_IEEEFP_H
62747 #include <ieeefp.h>
62748 #endif
62751 main ()
62753 _isinfl(0);
62755 return 0;
62757 _ACEOF
62758 if ac_fn_cxx_try_compile "$LINENO"; then :
62759 glibcxx_cv_func__isinfl_use=yes
62760 else
62761 glibcxx_cv_func__isinfl_use=no
62763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62764 ac_ext=c
62765 ac_cpp='$CPP $CPPFLAGS'
62766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
62775 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
62777 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
62778 for ac_func in _isinfl
62779 do :
62780 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
62781 if test "x$ac_cv_func__isinfl" = x""yes; then :
62782 cat >>confdefs.h <<_ACEOF
62783 #define HAVE__ISINFL 1
62784 _ACEOF
62787 done
62796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
62797 $as_echo_n "checking for atan2l declaration... " >&6; }
62798 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
62799 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
62800 $as_echo_n "(cached) " >&6
62801 else
62804 ac_ext=cpp
62805 ac_cpp='$CXXCPP $CPPFLAGS'
62806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62811 /* end confdefs.h. */
62812 #include <math.h>
62814 main ()
62816 atan2l(0, 0);
62818 return 0;
62820 _ACEOF
62821 if ac_fn_cxx_try_compile "$LINENO"; then :
62822 glibcxx_cv_func_atan2l_use=yes
62823 else
62824 glibcxx_cv_func_atan2l_use=no
62826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62827 ac_ext=c
62828 ac_cpp='$CPP $CPPFLAGS'
62829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
62838 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
62840 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
62841 for ac_func in atan2l
62842 do :
62843 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
62844 if test "x$ac_cv_func_atan2l" = x""yes; then :
62845 cat >>confdefs.h <<_ACEOF
62846 #define HAVE_ATAN2L 1
62847 _ACEOF
62850 done
62852 else
62854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
62855 $as_echo_n "checking for _atan2l declaration... " >&6; }
62856 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
62857 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
62858 $as_echo_n "(cached) " >&6
62859 else
62862 ac_ext=cpp
62863 ac_cpp='$CXXCPP $CPPFLAGS'
62864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62869 /* end confdefs.h. */
62870 #include <math.h>
62872 main ()
62874 _atan2l(0, 0);
62876 return 0;
62878 _ACEOF
62879 if ac_fn_cxx_try_compile "$LINENO"; then :
62880 glibcxx_cv_func__atan2l_use=yes
62881 else
62882 glibcxx_cv_func__atan2l_use=no
62884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62885 ac_ext=c
62886 ac_cpp='$CPP $CPPFLAGS'
62887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
62896 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
62898 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
62899 for ac_func in _atan2l
62900 do :
62901 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
62902 if test "x$ac_cv_func__atan2l" = x""yes; then :
62903 cat >>confdefs.h <<_ACEOF
62904 #define HAVE__ATAN2L 1
62905 _ACEOF
62908 done
62917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
62918 $as_echo_n "checking for expl declaration... " >&6; }
62919 if test x${glibcxx_cv_func_expl_use+set} != xset; then
62920 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
62921 $as_echo_n "(cached) " >&6
62922 else
62925 ac_ext=cpp
62926 ac_cpp='$CXXCPP $CPPFLAGS'
62927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62932 /* end confdefs.h. */
62933 #include <math.h>
62934 #ifdef HAVE_IEEEFP_H
62935 #include <ieeefp.h>
62936 #endif
62939 main ()
62941 expl(0);
62943 return 0;
62945 _ACEOF
62946 if ac_fn_cxx_try_compile "$LINENO"; then :
62947 glibcxx_cv_func_expl_use=yes
62948 else
62949 glibcxx_cv_func_expl_use=no
62951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62952 ac_ext=c
62953 ac_cpp='$CPP $CPPFLAGS'
62954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
62963 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
62965 if test x$glibcxx_cv_func_expl_use = x"yes"; then
62966 for ac_func in expl
62967 do :
62968 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
62969 if test "x$ac_cv_func_expl" = x""yes; then :
62970 cat >>confdefs.h <<_ACEOF
62971 #define HAVE_EXPL 1
62972 _ACEOF
62975 done
62977 else
62979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
62980 $as_echo_n "checking for _expl declaration... " >&6; }
62981 if test x${glibcxx_cv_func__expl_use+set} != xset; then
62982 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
62983 $as_echo_n "(cached) " >&6
62984 else
62987 ac_ext=cpp
62988 ac_cpp='$CXXCPP $CPPFLAGS'
62989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62994 /* end confdefs.h. */
62995 #include <math.h>
62996 #ifdef HAVE_IEEEFP_H
62997 #include <ieeefp.h>
62998 #endif
63001 main ()
63003 _expl(0);
63005 return 0;
63007 _ACEOF
63008 if ac_fn_cxx_try_compile "$LINENO"; then :
63009 glibcxx_cv_func__expl_use=yes
63010 else
63011 glibcxx_cv_func__expl_use=no
63013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63014 ac_ext=c
63015 ac_cpp='$CPP $CPPFLAGS'
63016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
63025 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
63027 if test x$glibcxx_cv_func__expl_use = x"yes"; then
63028 for ac_func in _expl
63029 do :
63030 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
63031 if test "x$ac_cv_func__expl" = x""yes; then :
63032 cat >>confdefs.h <<_ACEOF
63033 #define HAVE__EXPL 1
63034 _ACEOF
63037 done
63046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
63047 $as_echo_n "checking for fabsl declaration... " >&6; }
63048 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
63049 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
63050 $as_echo_n "(cached) " >&6
63051 else
63054 ac_ext=cpp
63055 ac_cpp='$CXXCPP $CPPFLAGS'
63056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63061 /* end confdefs.h. */
63062 #include <math.h>
63063 #ifdef HAVE_IEEEFP_H
63064 #include <ieeefp.h>
63065 #endif
63068 main ()
63070 fabsl(0);
63072 return 0;
63074 _ACEOF
63075 if ac_fn_cxx_try_compile "$LINENO"; then :
63076 glibcxx_cv_func_fabsl_use=yes
63077 else
63078 glibcxx_cv_func_fabsl_use=no
63080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63081 ac_ext=c
63082 ac_cpp='$CPP $CPPFLAGS'
63083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
63092 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
63094 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
63095 for ac_func in fabsl
63096 do :
63097 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
63098 if test "x$ac_cv_func_fabsl" = x""yes; then :
63099 cat >>confdefs.h <<_ACEOF
63100 #define HAVE_FABSL 1
63101 _ACEOF
63104 done
63106 else
63108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
63109 $as_echo_n "checking for _fabsl declaration... " >&6; }
63110 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
63111 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
63112 $as_echo_n "(cached) " >&6
63113 else
63116 ac_ext=cpp
63117 ac_cpp='$CXXCPP $CPPFLAGS'
63118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63123 /* end confdefs.h. */
63124 #include <math.h>
63125 #ifdef HAVE_IEEEFP_H
63126 #include <ieeefp.h>
63127 #endif
63130 main ()
63132 _fabsl(0);
63134 return 0;
63136 _ACEOF
63137 if ac_fn_cxx_try_compile "$LINENO"; then :
63138 glibcxx_cv_func__fabsl_use=yes
63139 else
63140 glibcxx_cv_func__fabsl_use=no
63142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63143 ac_ext=c
63144 ac_cpp='$CPP $CPPFLAGS'
63145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
63154 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
63156 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
63157 for ac_func in _fabsl
63158 do :
63159 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
63160 if test "x$ac_cv_func__fabsl" = x""yes; then :
63161 cat >>confdefs.h <<_ACEOF
63162 #define HAVE__FABSL 1
63163 _ACEOF
63166 done
63175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
63176 $as_echo_n "checking for fmodl declaration... " >&6; }
63177 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
63178 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
63179 $as_echo_n "(cached) " >&6
63180 else
63183 ac_ext=cpp
63184 ac_cpp='$CXXCPP $CPPFLAGS'
63185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63190 /* end confdefs.h. */
63191 #include <math.h>
63193 main ()
63195 fmodl(0, 0);
63197 return 0;
63199 _ACEOF
63200 if ac_fn_cxx_try_compile "$LINENO"; then :
63201 glibcxx_cv_func_fmodl_use=yes
63202 else
63203 glibcxx_cv_func_fmodl_use=no
63205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63206 ac_ext=c
63207 ac_cpp='$CPP $CPPFLAGS'
63208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
63217 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
63219 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
63220 for ac_func in fmodl
63221 do :
63222 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
63223 if test "x$ac_cv_func_fmodl" = x""yes; then :
63224 cat >>confdefs.h <<_ACEOF
63225 #define HAVE_FMODL 1
63226 _ACEOF
63229 done
63231 else
63233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
63234 $as_echo_n "checking for _fmodl declaration... " >&6; }
63235 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
63236 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
63237 $as_echo_n "(cached) " >&6
63238 else
63241 ac_ext=cpp
63242 ac_cpp='$CXXCPP $CPPFLAGS'
63243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63248 /* end confdefs.h. */
63249 #include <math.h>
63251 main ()
63253 _fmodl(0, 0);
63255 return 0;
63257 _ACEOF
63258 if ac_fn_cxx_try_compile "$LINENO"; then :
63259 glibcxx_cv_func__fmodl_use=yes
63260 else
63261 glibcxx_cv_func__fmodl_use=no
63263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63264 ac_ext=c
63265 ac_cpp='$CPP $CPPFLAGS'
63266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
63275 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
63277 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
63278 for ac_func in _fmodl
63279 do :
63280 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
63281 if test "x$ac_cv_func__fmodl" = x""yes; then :
63282 cat >>confdefs.h <<_ACEOF
63283 #define HAVE__FMODL 1
63284 _ACEOF
63287 done
63296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
63297 $as_echo_n "checking for frexpl declaration... " >&6; }
63298 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
63299 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
63300 $as_echo_n "(cached) " >&6
63301 else
63304 ac_ext=cpp
63305 ac_cpp='$CXXCPP $CPPFLAGS'
63306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63311 /* end confdefs.h. */
63312 #include <math.h>
63314 main ()
63316 frexpl(0, 0);
63318 return 0;
63320 _ACEOF
63321 if ac_fn_cxx_try_compile "$LINENO"; then :
63322 glibcxx_cv_func_frexpl_use=yes
63323 else
63324 glibcxx_cv_func_frexpl_use=no
63326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63327 ac_ext=c
63328 ac_cpp='$CPP $CPPFLAGS'
63329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
63338 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
63340 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
63341 for ac_func in frexpl
63342 do :
63343 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
63344 if test "x$ac_cv_func_frexpl" = x""yes; then :
63345 cat >>confdefs.h <<_ACEOF
63346 #define HAVE_FREXPL 1
63347 _ACEOF
63350 done
63352 else
63354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
63355 $as_echo_n "checking for _frexpl declaration... " >&6; }
63356 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
63357 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
63358 $as_echo_n "(cached) " >&6
63359 else
63362 ac_ext=cpp
63363 ac_cpp='$CXXCPP $CPPFLAGS'
63364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63369 /* end confdefs.h. */
63370 #include <math.h>
63372 main ()
63374 _frexpl(0, 0);
63376 return 0;
63378 _ACEOF
63379 if ac_fn_cxx_try_compile "$LINENO"; then :
63380 glibcxx_cv_func__frexpl_use=yes
63381 else
63382 glibcxx_cv_func__frexpl_use=no
63384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63385 ac_ext=c
63386 ac_cpp='$CPP $CPPFLAGS'
63387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
63396 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
63398 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
63399 for ac_func in _frexpl
63400 do :
63401 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
63402 if test "x$ac_cv_func__frexpl" = x""yes; then :
63403 cat >>confdefs.h <<_ACEOF
63404 #define HAVE__FREXPL 1
63405 _ACEOF
63408 done
63417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
63418 $as_echo_n "checking for hypotl declaration... " >&6; }
63419 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
63420 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
63421 $as_echo_n "(cached) " >&6
63422 else
63425 ac_ext=cpp
63426 ac_cpp='$CXXCPP $CPPFLAGS'
63427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63432 /* end confdefs.h. */
63433 #include <math.h>
63435 main ()
63437 hypotl(0, 0);
63439 return 0;
63441 _ACEOF
63442 if ac_fn_cxx_try_compile "$LINENO"; then :
63443 glibcxx_cv_func_hypotl_use=yes
63444 else
63445 glibcxx_cv_func_hypotl_use=no
63447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63448 ac_ext=c
63449 ac_cpp='$CPP $CPPFLAGS'
63450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
63459 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
63461 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
63462 for ac_func in hypotl
63463 do :
63464 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
63465 if test "x$ac_cv_func_hypotl" = x""yes; then :
63466 cat >>confdefs.h <<_ACEOF
63467 #define HAVE_HYPOTL 1
63468 _ACEOF
63471 done
63473 else
63475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
63476 $as_echo_n "checking for _hypotl declaration... " >&6; }
63477 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
63478 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
63479 $as_echo_n "(cached) " >&6
63480 else
63483 ac_ext=cpp
63484 ac_cpp='$CXXCPP $CPPFLAGS'
63485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63490 /* end confdefs.h. */
63491 #include <math.h>
63493 main ()
63495 _hypotl(0, 0);
63497 return 0;
63499 _ACEOF
63500 if ac_fn_cxx_try_compile "$LINENO"; then :
63501 glibcxx_cv_func__hypotl_use=yes
63502 else
63503 glibcxx_cv_func__hypotl_use=no
63505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63506 ac_ext=c
63507 ac_cpp='$CPP $CPPFLAGS'
63508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
63517 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
63519 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
63520 for ac_func in _hypotl
63521 do :
63522 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
63523 if test "x$ac_cv_func__hypotl" = x""yes; then :
63524 cat >>confdefs.h <<_ACEOF
63525 #define HAVE__HYPOTL 1
63526 _ACEOF
63529 done
63538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
63539 $as_echo_n "checking for ldexpl declaration... " >&6; }
63540 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
63541 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
63542 $as_echo_n "(cached) " >&6
63543 else
63546 ac_ext=cpp
63547 ac_cpp='$CXXCPP $CPPFLAGS'
63548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63553 /* end confdefs.h. */
63554 #include <math.h>
63556 main ()
63558 ldexpl(0, 0);
63560 return 0;
63562 _ACEOF
63563 if ac_fn_cxx_try_compile "$LINENO"; then :
63564 glibcxx_cv_func_ldexpl_use=yes
63565 else
63566 glibcxx_cv_func_ldexpl_use=no
63568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63569 ac_ext=c
63570 ac_cpp='$CPP $CPPFLAGS'
63571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
63580 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
63582 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
63583 for ac_func in ldexpl
63584 do :
63585 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
63586 if test "x$ac_cv_func_ldexpl" = x""yes; then :
63587 cat >>confdefs.h <<_ACEOF
63588 #define HAVE_LDEXPL 1
63589 _ACEOF
63592 done
63594 else
63596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
63597 $as_echo_n "checking for _ldexpl declaration... " >&6; }
63598 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
63599 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
63600 $as_echo_n "(cached) " >&6
63601 else
63604 ac_ext=cpp
63605 ac_cpp='$CXXCPP $CPPFLAGS'
63606 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63607 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63608 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63611 /* end confdefs.h. */
63612 #include <math.h>
63614 main ()
63616 _ldexpl(0, 0);
63618 return 0;
63620 _ACEOF
63621 if ac_fn_cxx_try_compile "$LINENO"; then :
63622 glibcxx_cv_func__ldexpl_use=yes
63623 else
63624 glibcxx_cv_func__ldexpl_use=no
63626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63627 ac_ext=c
63628 ac_cpp='$CPP $CPPFLAGS'
63629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
63638 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
63640 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
63641 for ac_func in _ldexpl
63642 do :
63643 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
63644 if test "x$ac_cv_func__ldexpl" = x""yes; then :
63645 cat >>confdefs.h <<_ACEOF
63646 #define HAVE__LDEXPL 1
63647 _ACEOF
63650 done
63659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
63660 $as_echo_n "checking for logl declaration... " >&6; }
63661 if test x${glibcxx_cv_func_logl_use+set} != xset; then
63662 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
63663 $as_echo_n "(cached) " >&6
63664 else
63667 ac_ext=cpp
63668 ac_cpp='$CXXCPP $CPPFLAGS'
63669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63674 /* end confdefs.h. */
63675 #include <math.h>
63676 #ifdef HAVE_IEEEFP_H
63677 #include <ieeefp.h>
63678 #endif
63681 main ()
63683 logl(0);
63685 return 0;
63687 _ACEOF
63688 if ac_fn_cxx_try_compile "$LINENO"; then :
63689 glibcxx_cv_func_logl_use=yes
63690 else
63691 glibcxx_cv_func_logl_use=no
63693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63694 ac_ext=c
63695 ac_cpp='$CPP $CPPFLAGS'
63696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
63705 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
63707 if test x$glibcxx_cv_func_logl_use = x"yes"; then
63708 for ac_func in logl
63709 do :
63710 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
63711 if test "x$ac_cv_func_logl" = x""yes; then :
63712 cat >>confdefs.h <<_ACEOF
63713 #define HAVE_LOGL 1
63714 _ACEOF
63717 done
63719 else
63721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
63722 $as_echo_n "checking for _logl declaration... " >&6; }
63723 if test x${glibcxx_cv_func__logl_use+set} != xset; then
63724 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
63725 $as_echo_n "(cached) " >&6
63726 else
63729 ac_ext=cpp
63730 ac_cpp='$CXXCPP $CPPFLAGS'
63731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63736 /* end confdefs.h. */
63737 #include <math.h>
63738 #ifdef HAVE_IEEEFP_H
63739 #include <ieeefp.h>
63740 #endif
63743 main ()
63745 _logl(0);
63747 return 0;
63749 _ACEOF
63750 if ac_fn_cxx_try_compile "$LINENO"; then :
63751 glibcxx_cv_func__logl_use=yes
63752 else
63753 glibcxx_cv_func__logl_use=no
63755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63756 ac_ext=c
63757 ac_cpp='$CPP $CPPFLAGS'
63758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
63767 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
63769 if test x$glibcxx_cv_func__logl_use = x"yes"; then
63770 for ac_func in _logl
63771 do :
63772 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
63773 if test "x$ac_cv_func__logl" = x""yes; then :
63774 cat >>confdefs.h <<_ACEOF
63775 #define HAVE__LOGL 1
63776 _ACEOF
63779 done
63788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
63789 $as_echo_n "checking for log10l declaration... " >&6; }
63790 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
63791 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
63792 $as_echo_n "(cached) " >&6
63793 else
63796 ac_ext=cpp
63797 ac_cpp='$CXXCPP $CPPFLAGS'
63798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63803 /* end confdefs.h. */
63804 #include <math.h>
63805 #ifdef HAVE_IEEEFP_H
63806 #include <ieeefp.h>
63807 #endif
63810 main ()
63812 log10l(0);
63814 return 0;
63816 _ACEOF
63817 if ac_fn_cxx_try_compile "$LINENO"; then :
63818 glibcxx_cv_func_log10l_use=yes
63819 else
63820 glibcxx_cv_func_log10l_use=no
63822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63823 ac_ext=c
63824 ac_cpp='$CPP $CPPFLAGS'
63825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
63834 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
63836 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
63837 for ac_func in log10l
63838 do :
63839 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
63840 if test "x$ac_cv_func_log10l" = x""yes; then :
63841 cat >>confdefs.h <<_ACEOF
63842 #define HAVE_LOG10L 1
63843 _ACEOF
63846 done
63848 else
63850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
63851 $as_echo_n "checking for _log10l declaration... " >&6; }
63852 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
63853 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
63854 $as_echo_n "(cached) " >&6
63855 else
63858 ac_ext=cpp
63859 ac_cpp='$CXXCPP $CPPFLAGS'
63860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63865 /* end confdefs.h. */
63866 #include <math.h>
63867 #ifdef HAVE_IEEEFP_H
63868 #include <ieeefp.h>
63869 #endif
63872 main ()
63874 _log10l(0);
63876 return 0;
63878 _ACEOF
63879 if ac_fn_cxx_try_compile "$LINENO"; then :
63880 glibcxx_cv_func__log10l_use=yes
63881 else
63882 glibcxx_cv_func__log10l_use=no
63884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63885 ac_ext=c
63886 ac_cpp='$CPP $CPPFLAGS'
63887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
63896 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
63898 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
63899 for ac_func in _log10l
63900 do :
63901 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
63902 if test "x$ac_cv_func__log10l" = x""yes; then :
63903 cat >>confdefs.h <<_ACEOF
63904 #define HAVE__LOG10L 1
63905 _ACEOF
63908 done
63917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
63918 $as_echo_n "checking for modfl declaration... " >&6; }
63919 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
63920 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
63921 $as_echo_n "(cached) " >&6
63922 else
63925 ac_ext=cpp
63926 ac_cpp='$CXXCPP $CPPFLAGS'
63927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63932 /* end confdefs.h. */
63933 #include <math.h>
63935 main ()
63937 modfl(0, 0);
63939 return 0;
63941 _ACEOF
63942 if ac_fn_cxx_try_compile "$LINENO"; then :
63943 glibcxx_cv_func_modfl_use=yes
63944 else
63945 glibcxx_cv_func_modfl_use=no
63947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63948 ac_ext=c
63949 ac_cpp='$CPP $CPPFLAGS'
63950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
63959 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
63961 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
63962 for ac_func in modfl
63963 do :
63964 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
63965 if test "x$ac_cv_func_modfl" = x""yes; then :
63966 cat >>confdefs.h <<_ACEOF
63967 #define HAVE_MODFL 1
63968 _ACEOF
63971 done
63973 else
63975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
63976 $as_echo_n "checking for _modfl declaration... " >&6; }
63977 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
63978 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
63979 $as_echo_n "(cached) " >&6
63980 else
63983 ac_ext=cpp
63984 ac_cpp='$CXXCPP $CPPFLAGS'
63985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63990 /* end confdefs.h. */
63991 #include <math.h>
63993 main ()
63995 _modfl(0, 0);
63997 return 0;
63999 _ACEOF
64000 if ac_fn_cxx_try_compile "$LINENO"; then :
64001 glibcxx_cv_func__modfl_use=yes
64002 else
64003 glibcxx_cv_func__modfl_use=no
64005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64006 ac_ext=c
64007 ac_cpp='$CPP $CPPFLAGS'
64008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
64017 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
64019 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
64020 for ac_func in _modfl
64021 do :
64022 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
64023 if test "x$ac_cv_func__modfl" = x""yes; then :
64024 cat >>confdefs.h <<_ACEOF
64025 #define HAVE__MODFL 1
64026 _ACEOF
64029 done
64038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
64039 $as_echo_n "checking for powl declaration... " >&6; }
64040 if test x${glibcxx_cv_func_powl_use+set} != xset; then
64041 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
64042 $as_echo_n "(cached) " >&6
64043 else
64046 ac_ext=cpp
64047 ac_cpp='$CXXCPP $CPPFLAGS'
64048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64053 /* end confdefs.h. */
64054 #include <math.h>
64056 main ()
64058 powl(0, 0);
64060 return 0;
64062 _ACEOF
64063 if ac_fn_cxx_try_compile "$LINENO"; then :
64064 glibcxx_cv_func_powl_use=yes
64065 else
64066 glibcxx_cv_func_powl_use=no
64068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64069 ac_ext=c
64070 ac_cpp='$CPP $CPPFLAGS'
64071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
64080 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
64082 if test x$glibcxx_cv_func_powl_use = x"yes"; then
64083 for ac_func in powl
64084 do :
64085 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
64086 if test "x$ac_cv_func_powl" = x""yes; then :
64087 cat >>confdefs.h <<_ACEOF
64088 #define HAVE_POWL 1
64089 _ACEOF
64092 done
64094 else
64096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
64097 $as_echo_n "checking for _powl declaration... " >&6; }
64098 if test x${glibcxx_cv_func__powl_use+set} != xset; then
64099 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
64100 $as_echo_n "(cached) " >&6
64101 else
64104 ac_ext=cpp
64105 ac_cpp='$CXXCPP $CPPFLAGS'
64106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64111 /* end confdefs.h. */
64112 #include <math.h>
64114 main ()
64116 _powl(0, 0);
64118 return 0;
64120 _ACEOF
64121 if ac_fn_cxx_try_compile "$LINENO"; then :
64122 glibcxx_cv_func__powl_use=yes
64123 else
64124 glibcxx_cv_func__powl_use=no
64126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64127 ac_ext=c
64128 ac_cpp='$CPP $CPPFLAGS'
64129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
64138 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
64140 if test x$glibcxx_cv_func__powl_use = x"yes"; then
64141 for ac_func in _powl
64142 do :
64143 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
64144 if test "x$ac_cv_func__powl" = x""yes; then :
64145 cat >>confdefs.h <<_ACEOF
64146 #define HAVE__POWL 1
64147 _ACEOF
64150 done
64159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
64160 $as_echo_n "checking for sqrtl declaration... " >&6; }
64161 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
64162 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
64163 $as_echo_n "(cached) " >&6
64164 else
64167 ac_ext=cpp
64168 ac_cpp='$CXXCPP $CPPFLAGS'
64169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64174 /* end confdefs.h. */
64175 #include <math.h>
64176 #ifdef HAVE_IEEEFP_H
64177 #include <ieeefp.h>
64178 #endif
64181 main ()
64183 sqrtl(0);
64185 return 0;
64187 _ACEOF
64188 if ac_fn_cxx_try_compile "$LINENO"; then :
64189 glibcxx_cv_func_sqrtl_use=yes
64190 else
64191 glibcxx_cv_func_sqrtl_use=no
64193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64194 ac_ext=c
64195 ac_cpp='$CPP $CPPFLAGS'
64196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
64205 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
64207 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
64208 for ac_func in sqrtl
64209 do :
64210 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
64211 if test "x$ac_cv_func_sqrtl" = x""yes; then :
64212 cat >>confdefs.h <<_ACEOF
64213 #define HAVE_SQRTL 1
64214 _ACEOF
64217 done
64219 else
64221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
64222 $as_echo_n "checking for _sqrtl declaration... " >&6; }
64223 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
64224 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
64225 $as_echo_n "(cached) " >&6
64226 else
64229 ac_ext=cpp
64230 ac_cpp='$CXXCPP $CPPFLAGS'
64231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64236 /* end confdefs.h. */
64237 #include <math.h>
64238 #ifdef HAVE_IEEEFP_H
64239 #include <ieeefp.h>
64240 #endif
64243 main ()
64245 _sqrtl(0);
64247 return 0;
64249 _ACEOF
64250 if ac_fn_cxx_try_compile "$LINENO"; then :
64251 glibcxx_cv_func__sqrtl_use=yes
64252 else
64253 glibcxx_cv_func__sqrtl_use=no
64255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64256 ac_ext=c
64257 ac_cpp='$CPP $CPPFLAGS'
64258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
64267 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
64269 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
64270 for ac_func in _sqrtl
64271 do :
64272 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
64273 if test "x$ac_cv_func__sqrtl" = x""yes; then :
64274 cat >>confdefs.h <<_ACEOF
64275 #define HAVE__SQRTL 1
64276 _ACEOF
64279 done
64288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
64289 $as_echo_n "checking for sincosl declaration... " >&6; }
64290 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
64291 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
64292 $as_echo_n "(cached) " >&6
64293 else
64296 ac_ext=cpp
64297 ac_cpp='$CXXCPP $CPPFLAGS'
64298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64303 /* end confdefs.h. */
64304 #include <math.h>
64306 main ()
64308 sincosl(0, 0, 0);
64310 return 0;
64312 _ACEOF
64313 if ac_fn_cxx_try_compile "$LINENO"; then :
64314 glibcxx_cv_func_sincosl_use=yes
64315 else
64316 glibcxx_cv_func_sincosl_use=no
64318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64319 ac_ext=c
64320 ac_cpp='$CPP $CPPFLAGS'
64321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
64330 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
64332 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
64333 for ac_func in sincosl
64334 do :
64335 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
64336 if test "x$ac_cv_func_sincosl" = x""yes; then :
64337 cat >>confdefs.h <<_ACEOF
64338 #define HAVE_SINCOSL 1
64339 _ACEOF
64342 done
64344 else
64346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
64347 $as_echo_n "checking for _sincosl declaration... " >&6; }
64348 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
64349 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
64350 $as_echo_n "(cached) " >&6
64351 else
64354 ac_ext=cpp
64355 ac_cpp='$CXXCPP $CPPFLAGS'
64356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64361 /* end confdefs.h. */
64362 #include <math.h>
64364 main ()
64366 _sincosl(0, 0, 0);
64368 return 0;
64370 _ACEOF
64371 if ac_fn_cxx_try_compile "$LINENO"; then :
64372 glibcxx_cv_func__sincosl_use=yes
64373 else
64374 glibcxx_cv_func__sincosl_use=no
64376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64377 ac_ext=c
64378 ac_cpp='$CPP $CPPFLAGS'
64379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
64388 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
64390 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
64391 for ac_func in _sincosl
64392 do :
64393 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
64394 if test "x$ac_cv_func__sincosl" = x""yes; then :
64395 cat >>confdefs.h <<_ACEOF
64396 #define HAVE__SINCOSL 1
64397 _ACEOF
64400 done
64409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
64410 $as_echo_n "checking for finitel declaration... " >&6; }
64411 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
64412 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
64413 $as_echo_n "(cached) " >&6
64414 else
64417 ac_ext=cpp
64418 ac_cpp='$CXXCPP $CPPFLAGS'
64419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64424 /* end confdefs.h. */
64425 #include <math.h>
64426 #ifdef HAVE_IEEEFP_H
64427 #include <ieeefp.h>
64428 #endif
64431 main ()
64433 finitel(0);
64435 return 0;
64437 _ACEOF
64438 if ac_fn_cxx_try_compile "$LINENO"; then :
64439 glibcxx_cv_func_finitel_use=yes
64440 else
64441 glibcxx_cv_func_finitel_use=no
64443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64444 ac_ext=c
64445 ac_cpp='$CPP $CPPFLAGS'
64446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
64455 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
64457 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
64458 for ac_func in finitel
64459 do :
64460 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
64461 if test "x$ac_cv_func_finitel" = x""yes; then :
64462 cat >>confdefs.h <<_ACEOF
64463 #define HAVE_FINITEL 1
64464 _ACEOF
64467 done
64469 else
64471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
64472 $as_echo_n "checking for _finitel declaration... " >&6; }
64473 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
64474 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
64475 $as_echo_n "(cached) " >&6
64476 else
64479 ac_ext=cpp
64480 ac_cpp='$CXXCPP $CPPFLAGS'
64481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64486 /* end confdefs.h. */
64487 #include <math.h>
64488 #ifdef HAVE_IEEEFP_H
64489 #include <ieeefp.h>
64490 #endif
64493 main ()
64495 _finitel(0);
64497 return 0;
64499 _ACEOF
64500 if ac_fn_cxx_try_compile "$LINENO"; then :
64501 glibcxx_cv_func__finitel_use=yes
64502 else
64503 glibcxx_cv_func__finitel_use=no
64505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64506 ac_ext=c
64507 ac_cpp='$CPP $CPPFLAGS'
64508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
64517 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
64519 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
64520 for ac_func in _finitel
64521 do :
64522 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
64523 if test "x$ac_cv_func__finitel" = x""yes; then :
64524 cat >>confdefs.h <<_ACEOF
64525 #define HAVE__FINITEL 1
64526 _ACEOF
64529 done
64537 LIBS="$ac_save_LIBS"
64538 CXXFLAGS="$ac_save_CXXFLAGS"
64541 ac_test_CXXFLAGS="${CXXFLAGS+set}"
64542 ac_save_CXXFLAGS="$CXXFLAGS"
64543 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
64546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
64547 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
64548 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
64549 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
64550 $as_echo_n "(cached) " >&6
64551 else
64554 ac_ext=cpp
64555 ac_cpp='$CXXCPP $CPPFLAGS'
64556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64561 /* end confdefs.h. */
64562 #include <stdlib.h>
64564 main ()
64566 at_quick_exit(0);
64568 return 0;
64570 _ACEOF
64571 if ac_fn_cxx_try_compile "$LINENO"; then :
64572 glibcxx_cv_func_at_quick_exit_use=yes
64573 else
64574 glibcxx_cv_func_at_quick_exit_use=no
64576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64577 ac_ext=c
64578 ac_cpp='$CPP $CPPFLAGS'
64579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
64588 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
64589 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
64590 for ac_func in at_quick_exit
64591 do :
64592 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
64593 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
64594 cat >>confdefs.h <<_ACEOF
64595 #define HAVE_AT_QUICK_EXIT 1
64596 _ACEOF
64599 done
64604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
64605 $as_echo_n "checking for quick_exit declaration... " >&6; }
64606 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
64607 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
64608 $as_echo_n "(cached) " >&6
64609 else
64612 ac_ext=cpp
64613 ac_cpp='$CXXCPP $CPPFLAGS'
64614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64619 /* end confdefs.h. */
64620 #include <stdlib.h>
64622 main ()
64624 quick_exit(0);
64626 return 0;
64628 _ACEOF
64629 if ac_fn_cxx_try_compile "$LINENO"; then :
64630 glibcxx_cv_func_quick_exit_use=yes
64631 else
64632 glibcxx_cv_func_quick_exit_use=no
64634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64635 ac_ext=c
64636 ac_cpp='$CPP $CPPFLAGS'
64637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
64646 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
64647 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
64648 for ac_func in quick_exit
64649 do :
64650 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
64651 if test "x$ac_cv_func_quick_exit" = x""yes; then :
64652 cat >>confdefs.h <<_ACEOF
64653 #define HAVE_QUICK_EXIT 1
64654 _ACEOF
64657 done
64662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
64663 $as_echo_n "checking for strtold declaration... " >&6; }
64664 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
64665 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
64666 $as_echo_n "(cached) " >&6
64667 else
64670 ac_ext=cpp
64671 ac_cpp='$CXXCPP $CPPFLAGS'
64672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64677 /* end confdefs.h. */
64678 #include <stdlib.h>
64680 main ()
64682 strtold(0, 0);
64684 return 0;
64686 _ACEOF
64687 if ac_fn_cxx_try_compile "$LINENO"; then :
64688 glibcxx_cv_func_strtold_use=yes
64689 else
64690 glibcxx_cv_func_strtold_use=no
64692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64693 ac_ext=c
64694 ac_cpp='$CPP $CPPFLAGS'
64695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
64704 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
64705 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
64706 for ac_func in strtold
64707 do :
64708 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
64709 if test "x$ac_cv_func_strtold" = x""yes; then :
64710 cat >>confdefs.h <<_ACEOF
64711 #define HAVE_STRTOLD 1
64712 _ACEOF
64715 done
64722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
64723 $as_echo_n "checking for strtof declaration... " >&6; }
64724 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
64725 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
64726 $as_echo_n "(cached) " >&6
64727 else
64730 ac_ext=cpp
64731 ac_cpp='$CXXCPP $CPPFLAGS'
64732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64737 /* end confdefs.h. */
64738 #include <stdlib.h>
64740 main ()
64742 strtof(0, 0);
64744 return 0;
64746 _ACEOF
64747 if ac_fn_cxx_try_compile "$LINENO"; then :
64748 glibcxx_cv_func_strtof_use=yes
64749 else
64750 glibcxx_cv_func_strtof_use=no
64752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64753 ac_ext=c
64754 ac_cpp='$CPP $CPPFLAGS'
64755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
64764 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
64765 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
64766 for ac_func in strtof
64767 do :
64768 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
64769 if test "x$ac_cv_func_strtof" = x""yes; then :
64770 cat >>confdefs.h <<_ACEOF
64771 #define HAVE_STRTOF 1
64772 _ACEOF
64775 done
64782 CXXFLAGS="$ac_save_CXXFLAGS"
64785 *-netbsd*)
64786 SECTION_FLAGS='-ffunction-sections -fdata-sections'
64789 # If we're not using GNU ld, then there's no point in even trying these
64790 # tests. Check for that first. We should have already tested for gld
64791 # by now (in libtool), but require it now just to be safe...
64792 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
64793 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
64797 # The name set by libtool depends on the version of libtool. Shame on us
64798 # for depending on an impl detail, but c'est la vie. Older versions used
64799 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
64800 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
64801 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
64802 # set (hence we're using an older libtool), then set it.
64803 if test x${with_gnu_ld+set} != xset; then
64804 if test x${ac_cv_prog_gnu_ld+set} != xset; then
64805 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
64806 with_gnu_ld=no
64807 else
64808 with_gnu_ld=$ac_cv_prog_gnu_ld
64812 # Start by getting the version number. I think the libtool test already
64813 # does some of this, but throws away the result.
64814 glibcxx_ld_is_gold=no
64815 if test x"$with_gnu_ld" = x"yes"; then
64816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
64817 $as_echo_n "checking for ld version... " >&6; }
64819 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
64820 glibcxx_ld_is_gold=yes
64822 ldver=`$LD --version 2>/dev/null |
64823 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'`
64825 glibcxx_gnu_ld_version=`echo $ldver | \
64826 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
64827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
64828 $as_echo "$glibcxx_gnu_ld_version" >&6; }
64831 # Set --gc-sections.
64832 glibcxx_have_gc_sections=no
64833 if test "$glibcxx_ld_is_gold" = "yes"; then
64834 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
64835 glibcxx_have_gc_sections=yes
64837 else
64838 glibcxx_gcsections_min_ld=21602
64839 if test x"$with_gnu_ld" = x"yes" &&
64840 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
64841 glibcxx_have_gc_sections=yes
64844 if test "$glibcxx_have_gc_sections" = "yes"; then
64845 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
64846 # NB: This flag only works reliably after 2.16.1. Configure tests
64847 # for this are difficult, so hard wire a value that should work.
64849 ac_test_CFLAGS="${CFLAGS+set}"
64850 ac_save_CFLAGS="$CFLAGS"
64851 CFLAGS='-Wl,--gc-sections'
64853 # Check for -Wl,--gc-sections
64854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
64855 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
64856 if test x$gcc_no_link = xyes; then
64857 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64860 /* end confdefs.h. */
64861 int one(void) { return 1; }
64862 int two(void) { return 2; }
64865 main ()
64867 two();
64869 return 0;
64871 _ACEOF
64872 if ac_fn_c_try_link "$LINENO"; then :
64873 ac_gcsections=yes
64874 else
64875 ac_gcsections=no
64877 rm -f core conftest.err conftest.$ac_objext \
64878 conftest$ac_exeext conftest.$ac_ext
64879 if test "$ac_gcsections" = "yes"; then
64880 rm -f conftest.c
64881 touch conftest.c
64882 if $CC -c conftest.c; then
64883 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
64884 grep "Warning: gc-sections option ignored" > /dev/null; then
64885 ac_gcsections=no
64888 rm -f conftest.c conftest.o conftest
64890 if test "$ac_gcsections" = "yes"; then
64891 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
64893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
64894 $as_echo "$ac_gcsections" >&6; }
64896 if test "$ac_test_CFLAGS" = set; then
64897 CFLAGS="$ac_save_CFLAGS"
64898 else
64899 # this is the suspicious part
64900 CFLAGS=''
64904 # Set -z,relro.
64905 # Note this is only for shared objects.
64906 ac_ld_relro=no
64907 if test x"$with_gnu_ld" = x"yes"; then
64908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
64909 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
64910 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
64911 if test -n "$cxx_z_relo"; then
64912 OPT_LDFLAGS="-Wl,-z,relro"
64913 ac_ld_relro=yes
64915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
64916 $as_echo "$ac_ld_relro" >&6; }
64919 # Set linker optimization flags.
64920 if test x"$with_gnu_ld" = x"yes"; then
64921 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
64927 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
64929 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
64931 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
64933 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
64935 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
64937 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
64939 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
64941 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
64943 if test x"long_double_math_on_this_cpu" = x"yes"; then
64944 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
64946 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
64948 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
64952 *-qnx6.1* | *-qnx6.2*)
64953 SECTION_FLAGS='-ffunction-sections -fdata-sections'
64956 # If we're not using GNU ld, then there's no point in even trying these
64957 # tests. Check for that first. We should have already tested for gld
64958 # by now (in libtool), but require it now just to be safe...
64959 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
64960 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
64964 # The name set by libtool depends on the version of libtool. Shame on us
64965 # for depending on an impl detail, but c'est la vie. Older versions used
64966 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
64967 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
64968 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
64969 # set (hence we're using an older libtool), then set it.
64970 if test x${with_gnu_ld+set} != xset; then
64971 if test x${ac_cv_prog_gnu_ld+set} != xset; then
64972 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
64973 with_gnu_ld=no
64974 else
64975 with_gnu_ld=$ac_cv_prog_gnu_ld
64979 # Start by getting the version number. I think the libtool test already
64980 # does some of this, but throws away the result.
64981 glibcxx_ld_is_gold=no
64982 if test x"$with_gnu_ld" = x"yes"; then
64983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
64984 $as_echo_n "checking for ld version... " >&6; }
64986 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
64987 glibcxx_ld_is_gold=yes
64989 ldver=`$LD --version 2>/dev/null |
64990 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'`
64992 glibcxx_gnu_ld_version=`echo $ldver | \
64993 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
64994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
64995 $as_echo "$glibcxx_gnu_ld_version" >&6; }
64998 # Set --gc-sections.
64999 glibcxx_have_gc_sections=no
65000 if test "$glibcxx_ld_is_gold" = "yes"; then
65001 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
65002 glibcxx_have_gc_sections=yes
65004 else
65005 glibcxx_gcsections_min_ld=21602
65006 if test x"$with_gnu_ld" = x"yes" &&
65007 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
65008 glibcxx_have_gc_sections=yes
65011 if test "$glibcxx_have_gc_sections" = "yes"; then
65012 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
65013 # NB: This flag only works reliably after 2.16.1. Configure tests
65014 # for this are difficult, so hard wire a value that should work.
65016 ac_test_CFLAGS="${CFLAGS+set}"
65017 ac_save_CFLAGS="$CFLAGS"
65018 CFLAGS='-Wl,--gc-sections'
65020 # Check for -Wl,--gc-sections
65021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
65022 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
65023 if test x$gcc_no_link = xyes; then
65024 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
65026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65027 /* end confdefs.h. */
65028 int one(void) { return 1; }
65029 int two(void) { return 2; }
65032 main ()
65034 two();
65036 return 0;
65038 _ACEOF
65039 if ac_fn_c_try_link "$LINENO"; then :
65040 ac_gcsections=yes
65041 else
65042 ac_gcsections=no
65044 rm -f core conftest.err conftest.$ac_objext \
65045 conftest$ac_exeext conftest.$ac_ext
65046 if test "$ac_gcsections" = "yes"; then
65047 rm -f conftest.c
65048 touch conftest.c
65049 if $CC -c conftest.c; then
65050 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
65051 grep "Warning: gc-sections option ignored" > /dev/null; then
65052 ac_gcsections=no
65055 rm -f conftest.c conftest.o conftest
65057 if test "$ac_gcsections" = "yes"; then
65058 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
65060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
65061 $as_echo "$ac_gcsections" >&6; }
65063 if test "$ac_test_CFLAGS" = set; then
65064 CFLAGS="$ac_save_CFLAGS"
65065 else
65066 # this is the suspicious part
65067 CFLAGS=''
65071 # Set -z,relro.
65072 # Note this is only for shared objects.
65073 ac_ld_relro=no
65074 if test x"$with_gnu_ld" = x"yes"; then
65075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
65076 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
65077 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
65078 if test -n "$cxx_z_relo"; then
65079 OPT_LDFLAGS="-Wl,-z,relro"
65080 ac_ld_relro=yes
65082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
65083 $as_echo "$ac_ld_relro" >&6; }
65086 # Set linker optimization flags.
65087 if test x"$with_gnu_ld" = x"yes"; then
65088 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
65094 $as_echo "#define HAVE_COSF 1" >>confdefs.h
65096 $as_echo "#define HAVE_COSL 1" >>confdefs.h
65098 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
65100 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
65102 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
65104 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
65106 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
65108 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
65110 $as_echo "#define HAVE_SINF 1" >>confdefs.h
65112 $as_echo "#define HAVE_SINL 1" >>confdefs.h
65114 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
65116 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
65119 *-rtems*)
65121 # All these tests are for C++; save the language and the compiler flags.
65122 # The CXXFLAGS thing is suspicious, but based on similar bits previously
65123 # found in GLIBCXX_CONFIGURE.
65125 ac_ext=cpp
65126 ac_cpp='$CXXCPP $CPPFLAGS'
65127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65131 ac_test_CXXFLAGS="${CXXFLAGS+set}"
65132 ac_save_CXXFLAGS="$CXXFLAGS"
65134 # Check for maintainer-mode bits.
65135 if test x"$USE_MAINTAINER_MODE" = xno; then
65136 WERROR=''
65137 else
65138 WERROR='-Werror'
65141 # Check for -ffunction-sections -fdata-sections
65142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
65143 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
65144 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
65145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65146 /* end confdefs.h. */
65147 int foo; void bar() { };
65149 main ()
65153 return 0;
65155 _ACEOF
65156 if ac_fn_cxx_try_compile "$LINENO"; then :
65157 ac_fdsections=yes
65158 else
65159 ac_fdsections=no
65161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65162 if test "$ac_test_CXXFLAGS" = set; then
65163 CXXFLAGS="$ac_save_CXXFLAGS"
65164 else
65165 # this is the suspicious part
65166 CXXFLAGS=''
65168 if test x"$ac_fdsections" = x"yes"; then
65169 SECTION_FLAGS='-ffunction-sections -fdata-sections'
65171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
65172 $as_echo "$ac_fdsections" >&6; }
65174 ac_ext=c
65175 ac_cpp='$CPP $CPPFLAGS'
65176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65184 # If we're not using GNU ld, then there's no point in even trying these
65185 # tests. Check for that first. We should have already tested for gld
65186 # by now (in libtool), but require it now just to be safe...
65187 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
65188 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
65192 # The name set by libtool depends on the version of libtool. Shame on us
65193 # for depending on an impl detail, but c'est la vie. Older versions used
65194 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
65195 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
65196 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
65197 # set (hence we're using an older libtool), then set it.
65198 if test x${with_gnu_ld+set} != xset; then
65199 if test x${ac_cv_prog_gnu_ld+set} != xset; then
65200 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
65201 with_gnu_ld=no
65202 else
65203 with_gnu_ld=$ac_cv_prog_gnu_ld
65207 # Start by getting the version number. I think the libtool test already
65208 # does some of this, but throws away the result.
65209 glibcxx_ld_is_gold=no
65210 if test x"$with_gnu_ld" = x"yes"; then
65211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
65212 $as_echo_n "checking for ld version... " >&6; }
65214 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
65215 glibcxx_ld_is_gold=yes
65217 ldver=`$LD --version 2>/dev/null |
65218 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'`
65220 glibcxx_gnu_ld_version=`echo $ldver | \
65221 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
65222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
65223 $as_echo "$glibcxx_gnu_ld_version" >&6; }
65226 # Set --gc-sections.
65227 glibcxx_have_gc_sections=no
65228 if test "$glibcxx_ld_is_gold" = "yes"; then
65229 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
65230 glibcxx_have_gc_sections=yes
65232 else
65233 glibcxx_gcsections_min_ld=21602
65234 if test x"$with_gnu_ld" = x"yes" &&
65235 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
65236 glibcxx_have_gc_sections=yes
65239 if test "$glibcxx_have_gc_sections" = "yes"; then
65240 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
65241 # NB: This flag only works reliably after 2.16.1. Configure tests
65242 # for this are difficult, so hard wire a value that should work.
65244 ac_test_CFLAGS="${CFLAGS+set}"
65245 ac_save_CFLAGS="$CFLAGS"
65246 CFLAGS='-Wl,--gc-sections'
65248 # Check for -Wl,--gc-sections
65249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
65250 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
65251 if test x$gcc_no_link = xyes; then
65252 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
65254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65255 /* end confdefs.h. */
65256 int one(void) { return 1; }
65257 int two(void) { return 2; }
65260 main ()
65262 two();
65264 return 0;
65266 _ACEOF
65267 if ac_fn_c_try_link "$LINENO"; then :
65268 ac_gcsections=yes
65269 else
65270 ac_gcsections=no
65272 rm -f core conftest.err conftest.$ac_objext \
65273 conftest$ac_exeext conftest.$ac_ext
65274 if test "$ac_gcsections" = "yes"; then
65275 rm -f conftest.c
65276 touch conftest.c
65277 if $CC -c conftest.c; then
65278 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
65279 grep "Warning: gc-sections option ignored" > /dev/null; then
65280 ac_gcsections=no
65283 rm -f conftest.c conftest.o conftest
65285 if test "$ac_gcsections" = "yes"; then
65286 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
65288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
65289 $as_echo "$ac_gcsections" >&6; }
65291 if test "$ac_test_CFLAGS" = set; then
65292 CFLAGS="$ac_save_CFLAGS"
65293 else
65294 # this is the suspicious part
65295 CFLAGS=''
65299 # Set -z,relro.
65300 # Note this is only for shared objects.
65301 ac_ld_relro=no
65302 if test x"$with_gnu_ld" = x"yes"; then
65303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
65304 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
65305 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
65306 if test -n "$cxx_z_relo"; then
65307 OPT_LDFLAGS="-Wl,-z,relro"
65308 ac_ld_relro=yes
65310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
65311 $as_echo "$ac_ld_relro" >&6; }
65314 # Set linker optimization flags.
65315 if test x"$with_gnu_ld" = x"yes"; then
65316 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
65323 ac_test_CXXFLAGS="${CXXFLAGS+set}"
65324 ac_save_CXXFLAGS="$CXXFLAGS"
65325 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
65327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
65328 $as_echo_n "checking for sin in -lm... " >&6; }
65329 if test "${ac_cv_lib_m_sin+set}" = set; then :
65330 $as_echo_n "(cached) " >&6
65331 else
65332 ac_check_lib_save_LIBS=$LIBS
65333 LIBS="-lm $LIBS"
65334 if test x$gcc_no_link = xyes; then
65335 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
65337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65338 /* end confdefs.h. */
65340 /* Override any GCC internal prototype to avoid an error.
65341 Use char because int might match the return type of a GCC
65342 builtin and then its argument prototype would still apply. */
65343 #ifdef __cplusplus
65344 extern "C"
65345 #endif
65346 char sin ();
65348 main ()
65350 return sin ();
65352 return 0;
65354 _ACEOF
65355 if ac_fn_c_try_link "$LINENO"; then :
65356 ac_cv_lib_m_sin=yes
65357 else
65358 ac_cv_lib_m_sin=no
65360 rm -f core conftest.err conftest.$ac_objext \
65361 conftest$ac_exeext conftest.$ac_ext
65362 LIBS=$ac_check_lib_save_LIBS
65364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
65365 $as_echo "$ac_cv_lib_m_sin" >&6; }
65366 if test "x$ac_cv_lib_m_sin" = x""yes; then :
65367 libm="-lm"
65370 ac_save_LIBS="$LIBS"
65371 LIBS="$LIBS $libm"
65375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
65376 $as_echo_n "checking for isinf declaration... " >&6; }
65377 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
65378 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
65379 $as_echo_n "(cached) " >&6
65380 else
65383 ac_ext=cpp
65384 ac_cpp='$CXXCPP $CPPFLAGS'
65385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65390 /* end confdefs.h. */
65391 #include <math.h>
65392 #ifdef HAVE_IEEEFP_H
65393 #include <ieeefp.h>
65394 #endif
65397 main ()
65399 isinf(0);
65401 return 0;
65403 _ACEOF
65404 if ac_fn_cxx_try_compile "$LINENO"; then :
65405 glibcxx_cv_func_isinf_use=yes
65406 else
65407 glibcxx_cv_func_isinf_use=no
65409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65410 ac_ext=c
65411 ac_cpp='$CPP $CPPFLAGS'
65412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
65421 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
65423 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
65424 for ac_func in isinf
65425 do :
65426 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
65427 if test "x$ac_cv_func_isinf" = x""yes; then :
65428 cat >>confdefs.h <<_ACEOF
65429 #define HAVE_ISINF 1
65430 _ACEOF
65433 done
65435 else
65437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
65438 $as_echo_n "checking for _isinf declaration... " >&6; }
65439 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
65440 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
65441 $as_echo_n "(cached) " >&6
65442 else
65445 ac_ext=cpp
65446 ac_cpp='$CXXCPP $CPPFLAGS'
65447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65452 /* end confdefs.h. */
65453 #include <math.h>
65454 #ifdef HAVE_IEEEFP_H
65455 #include <ieeefp.h>
65456 #endif
65459 main ()
65461 _isinf(0);
65463 return 0;
65465 _ACEOF
65466 if ac_fn_cxx_try_compile "$LINENO"; then :
65467 glibcxx_cv_func__isinf_use=yes
65468 else
65469 glibcxx_cv_func__isinf_use=no
65471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65472 ac_ext=c
65473 ac_cpp='$CPP $CPPFLAGS'
65474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
65483 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
65485 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
65486 for ac_func in _isinf
65487 do :
65488 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
65489 if test "x$ac_cv_func__isinf" = x""yes; then :
65490 cat >>confdefs.h <<_ACEOF
65491 #define HAVE__ISINF 1
65492 _ACEOF
65495 done
65504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
65505 $as_echo_n "checking for isnan declaration... " >&6; }
65506 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
65507 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
65508 $as_echo_n "(cached) " >&6
65509 else
65512 ac_ext=cpp
65513 ac_cpp='$CXXCPP $CPPFLAGS'
65514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65519 /* end confdefs.h. */
65520 #include <math.h>
65521 #ifdef HAVE_IEEEFP_H
65522 #include <ieeefp.h>
65523 #endif
65526 main ()
65528 isnan(0);
65530 return 0;
65532 _ACEOF
65533 if ac_fn_cxx_try_compile "$LINENO"; then :
65534 glibcxx_cv_func_isnan_use=yes
65535 else
65536 glibcxx_cv_func_isnan_use=no
65538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65539 ac_ext=c
65540 ac_cpp='$CPP $CPPFLAGS'
65541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
65550 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
65552 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
65553 for ac_func in isnan
65554 do :
65555 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
65556 if test "x$ac_cv_func_isnan" = x""yes; then :
65557 cat >>confdefs.h <<_ACEOF
65558 #define HAVE_ISNAN 1
65559 _ACEOF
65562 done
65564 else
65566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
65567 $as_echo_n "checking for _isnan declaration... " >&6; }
65568 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
65569 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
65570 $as_echo_n "(cached) " >&6
65571 else
65574 ac_ext=cpp
65575 ac_cpp='$CXXCPP $CPPFLAGS'
65576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65581 /* end confdefs.h. */
65582 #include <math.h>
65583 #ifdef HAVE_IEEEFP_H
65584 #include <ieeefp.h>
65585 #endif
65588 main ()
65590 _isnan(0);
65592 return 0;
65594 _ACEOF
65595 if ac_fn_cxx_try_compile "$LINENO"; then :
65596 glibcxx_cv_func__isnan_use=yes
65597 else
65598 glibcxx_cv_func__isnan_use=no
65600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65601 ac_ext=c
65602 ac_cpp='$CPP $CPPFLAGS'
65603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
65612 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
65614 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
65615 for ac_func in _isnan
65616 do :
65617 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
65618 if test "x$ac_cv_func__isnan" = x""yes; then :
65619 cat >>confdefs.h <<_ACEOF
65620 #define HAVE__ISNAN 1
65621 _ACEOF
65624 done
65633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
65634 $as_echo_n "checking for finite declaration... " >&6; }
65635 if test x${glibcxx_cv_func_finite_use+set} != xset; then
65636 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
65637 $as_echo_n "(cached) " >&6
65638 else
65641 ac_ext=cpp
65642 ac_cpp='$CXXCPP $CPPFLAGS'
65643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65648 /* end confdefs.h. */
65649 #include <math.h>
65650 #ifdef HAVE_IEEEFP_H
65651 #include <ieeefp.h>
65652 #endif
65655 main ()
65657 finite(0);
65659 return 0;
65661 _ACEOF
65662 if ac_fn_cxx_try_compile "$LINENO"; then :
65663 glibcxx_cv_func_finite_use=yes
65664 else
65665 glibcxx_cv_func_finite_use=no
65667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65668 ac_ext=c
65669 ac_cpp='$CPP $CPPFLAGS'
65670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
65679 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
65681 if test x$glibcxx_cv_func_finite_use = x"yes"; then
65682 for ac_func in finite
65683 do :
65684 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
65685 if test "x$ac_cv_func_finite" = x""yes; then :
65686 cat >>confdefs.h <<_ACEOF
65687 #define HAVE_FINITE 1
65688 _ACEOF
65691 done
65693 else
65695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
65696 $as_echo_n "checking for _finite declaration... " >&6; }
65697 if test x${glibcxx_cv_func__finite_use+set} != xset; then
65698 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
65699 $as_echo_n "(cached) " >&6
65700 else
65703 ac_ext=cpp
65704 ac_cpp='$CXXCPP $CPPFLAGS'
65705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65710 /* end confdefs.h. */
65711 #include <math.h>
65712 #ifdef HAVE_IEEEFP_H
65713 #include <ieeefp.h>
65714 #endif
65717 main ()
65719 _finite(0);
65721 return 0;
65723 _ACEOF
65724 if ac_fn_cxx_try_compile "$LINENO"; then :
65725 glibcxx_cv_func__finite_use=yes
65726 else
65727 glibcxx_cv_func__finite_use=no
65729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65730 ac_ext=c
65731 ac_cpp='$CPP $CPPFLAGS'
65732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
65741 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
65743 if test x$glibcxx_cv_func__finite_use = x"yes"; then
65744 for ac_func in _finite
65745 do :
65746 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
65747 if test "x$ac_cv_func__finite" = x""yes; then :
65748 cat >>confdefs.h <<_ACEOF
65749 #define HAVE__FINITE 1
65750 _ACEOF
65753 done
65762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
65763 $as_echo_n "checking for sincos declaration... " >&6; }
65764 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
65765 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
65766 $as_echo_n "(cached) " >&6
65767 else
65770 ac_ext=cpp
65771 ac_cpp='$CXXCPP $CPPFLAGS'
65772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65777 /* end confdefs.h. */
65778 #include <math.h>
65780 main ()
65782 sincos(0, 0, 0);
65784 return 0;
65786 _ACEOF
65787 if ac_fn_cxx_try_compile "$LINENO"; then :
65788 glibcxx_cv_func_sincos_use=yes
65789 else
65790 glibcxx_cv_func_sincos_use=no
65792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65793 ac_ext=c
65794 ac_cpp='$CPP $CPPFLAGS'
65795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
65804 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
65806 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
65807 for ac_func in sincos
65808 do :
65809 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
65810 if test "x$ac_cv_func_sincos" = x""yes; then :
65811 cat >>confdefs.h <<_ACEOF
65812 #define HAVE_SINCOS 1
65813 _ACEOF
65816 done
65818 else
65820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
65821 $as_echo_n "checking for _sincos declaration... " >&6; }
65822 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
65823 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
65824 $as_echo_n "(cached) " >&6
65825 else
65828 ac_ext=cpp
65829 ac_cpp='$CXXCPP $CPPFLAGS'
65830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65835 /* end confdefs.h. */
65836 #include <math.h>
65838 main ()
65840 _sincos(0, 0, 0);
65842 return 0;
65844 _ACEOF
65845 if ac_fn_cxx_try_compile "$LINENO"; then :
65846 glibcxx_cv_func__sincos_use=yes
65847 else
65848 glibcxx_cv_func__sincos_use=no
65850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65851 ac_ext=c
65852 ac_cpp='$CPP $CPPFLAGS'
65853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
65862 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
65864 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
65865 for ac_func in _sincos
65866 do :
65867 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
65868 if test "x$ac_cv_func__sincos" = x""yes; then :
65869 cat >>confdefs.h <<_ACEOF
65870 #define HAVE__SINCOS 1
65871 _ACEOF
65874 done
65883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
65884 $as_echo_n "checking for fpclass declaration... " >&6; }
65885 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
65886 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
65887 $as_echo_n "(cached) " >&6
65888 else
65891 ac_ext=cpp
65892 ac_cpp='$CXXCPP $CPPFLAGS'
65893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65898 /* end confdefs.h. */
65899 #include <math.h>
65900 #ifdef HAVE_IEEEFP_H
65901 #include <ieeefp.h>
65902 #endif
65905 main ()
65907 fpclass(0);
65909 return 0;
65911 _ACEOF
65912 if ac_fn_cxx_try_compile "$LINENO"; then :
65913 glibcxx_cv_func_fpclass_use=yes
65914 else
65915 glibcxx_cv_func_fpclass_use=no
65917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65918 ac_ext=c
65919 ac_cpp='$CPP $CPPFLAGS'
65920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
65929 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
65931 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
65932 for ac_func in fpclass
65933 do :
65934 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
65935 if test "x$ac_cv_func_fpclass" = x""yes; then :
65936 cat >>confdefs.h <<_ACEOF
65937 #define HAVE_FPCLASS 1
65938 _ACEOF
65941 done
65943 else
65945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
65946 $as_echo_n "checking for _fpclass declaration... " >&6; }
65947 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
65948 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
65949 $as_echo_n "(cached) " >&6
65950 else
65953 ac_ext=cpp
65954 ac_cpp='$CXXCPP $CPPFLAGS'
65955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65960 /* end confdefs.h. */
65961 #include <math.h>
65962 #ifdef HAVE_IEEEFP_H
65963 #include <ieeefp.h>
65964 #endif
65967 main ()
65969 _fpclass(0);
65971 return 0;
65973 _ACEOF
65974 if ac_fn_cxx_try_compile "$LINENO"; then :
65975 glibcxx_cv_func__fpclass_use=yes
65976 else
65977 glibcxx_cv_func__fpclass_use=no
65979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65980 ac_ext=c
65981 ac_cpp='$CPP $CPPFLAGS'
65982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
65991 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
65993 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
65994 for ac_func in _fpclass
65995 do :
65996 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
65997 if test "x$ac_cv_func__fpclass" = x""yes; then :
65998 cat >>confdefs.h <<_ACEOF
65999 #define HAVE__FPCLASS 1
66000 _ACEOF
66003 done
66012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
66013 $as_echo_n "checking for qfpclass declaration... " >&6; }
66014 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
66015 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
66016 $as_echo_n "(cached) " >&6
66017 else
66020 ac_ext=cpp
66021 ac_cpp='$CXXCPP $CPPFLAGS'
66022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66027 /* end confdefs.h. */
66028 #include <math.h>
66029 #ifdef HAVE_IEEEFP_H
66030 #include <ieeefp.h>
66031 #endif
66034 main ()
66036 qfpclass(0);
66038 return 0;
66040 _ACEOF
66041 if ac_fn_cxx_try_compile "$LINENO"; then :
66042 glibcxx_cv_func_qfpclass_use=yes
66043 else
66044 glibcxx_cv_func_qfpclass_use=no
66046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66047 ac_ext=c
66048 ac_cpp='$CPP $CPPFLAGS'
66049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
66058 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
66060 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
66061 for ac_func in qfpclass
66062 do :
66063 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
66064 if test "x$ac_cv_func_qfpclass" = x""yes; then :
66065 cat >>confdefs.h <<_ACEOF
66066 #define HAVE_QFPCLASS 1
66067 _ACEOF
66070 done
66072 else
66074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
66075 $as_echo_n "checking for _qfpclass declaration... " >&6; }
66076 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
66077 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
66078 $as_echo_n "(cached) " >&6
66079 else
66082 ac_ext=cpp
66083 ac_cpp='$CXXCPP $CPPFLAGS'
66084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66089 /* end confdefs.h. */
66090 #include <math.h>
66091 #ifdef HAVE_IEEEFP_H
66092 #include <ieeefp.h>
66093 #endif
66096 main ()
66098 _qfpclass(0);
66100 return 0;
66102 _ACEOF
66103 if ac_fn_cxx_try_compile "$LINENO"; then :
66104 glibcxx_cv_func__qfpclass_use=yes
66105 else
66106 glibcxx_cv_func__qfpclass_use=no
66108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66109 ac_ext=c
66110 ac_cpp='$CPP $CPPFLAGS'
66111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
66120 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
66122 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
66123 for ac_func in _qfpclass
66124 do :
66125 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
66126 if test "x$ac_cv_func__qfpclass" = x""yes; then :
66127 cat >>confdefs.h <<_ACEOF
66128 #define HAVE__QFPCLASS 1
66129 _ACEOF
66132 done
66141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
66142 $as_echo_n "checking for hypot declaration... " >&6; }
66143 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
66144 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
66145 $as_echo_n "(cached) " >&6
66146 else
66149 ac_ext=cpp
66150 ac_cpp='$CXXCPP $CPPFLAGS'
66151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66156 /* end confdefs.h. */
66157 #include <math.h>
66159 main ()
66161 hypot(0, 0);
66163 return 0;
66165 _ACEOF
66166 if ac_fn_cxx_try_compile "$LINENO"; then :
66167 glibcxx_cv_func_hypot_use=yes
66168 else
66169 glibcxx_cv_func_hypot_use=no
66171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66172 ac_ext=c
66173 ac_cpp='$CPP $CPPFLAGS'
66174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
66183 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
66185 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
66186 for ac_func in hypot
66187 do :
66188 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
66189 if test "x$ac_cv_func_hypot" = x""yes; then :
66190 cat >>confdefs.h <<_ACEOF
66191 #define HAVE_HYPOT 1
66192 _ACEOF
66195 done
66197 else
66199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
66200 $as_echo_n "checking for _hypot declaration... " >&6; }
66201 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
66202 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
66203 $as_echo_n "(cached) " >&6
66204 else
66207 ac_ext=cpp
66208 ac_cpp='$CXXCPP $CPPFLAGS'
66209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66214 /* end confdefs.h. */
66215 #include <math.h>
66217 main ()
66219 _hypot(0, 0);
66221 return 0;
66223 _ACEOF
66224 if ac_fn_cxx_try_compile "$LINENO"; then :
66225 glibcxx_cv_func__hypot_use=yes
66226 else
66227 glibcxx_cv_func__hypot_use=no
66229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66230 ac_ext=c
66231 ac_cpp='$CPP $CPPFLAGS'
66232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
66241 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
66243 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
66244 for ac_func in _hypot
66245 do :
66246 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
66247 if test "x$ac_cv_func__hypot" = x""yes; then :
66248 cat >>confdefs.h <<_ACEOF
66249 #define HAVE__HYPOT 1
66250 _ACEOF
66253 done
66262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
66263 $as_echo_n "checking for float trig functions... " >&6; }
66264 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
66265 $as_echo_n "(cached) " >&6
66266 else
66269 ac_ext=cpp
66270 ac_cpp='$CXXCPP $CPPFLAGS'
66271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66276 /* end confdefs.h. */
66277 #include <math.h>
66279 main ()
66281 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
66283 return 0;
66285 _ACEOF
66286 if ac_fn_cxx_try_compile "$LINENO"; then :
66287 glibcxx_cv_func_float_trig_use=yes
66288 else
66289 glibcxx_cv_func_float_trig_use=no
66291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66292 ac_ext=c
66293 ac_cpp='$CPP $CPPFLAGS'
66294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
66301 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
66302 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
66303 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
66304 do :
66305 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66306 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66307 eval as_val=\$$as_ac_var
66308 if test "x$as_val" = x""yes; then :
66309 cat >>confdefs.h <<_ACEOF
66310 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66311 _ACEOF
66314 done
66316 else
66317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
66318 $as_echo_n "checking for _float trig functions... " >&6; }
66319 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
66320 $as_echo_n "(cached) " >&6
66321 else
66324 ac_ext=cpp
66325 ac_cpp='$CXXCPP $CPPFLAGS'
66326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66331 /* end confdefs.h. */
66332 #include <math.h>
66334 main ()
66336 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
66338 return 0;
66340 _ACEOF
66341 if ac_fn_cxx_try_compile "$LINENO"; then :
66342 glibcxx_cv_func__float_trig_use=yes
66343 else
66344 glibcxx_cv_func__float_trig_use=no
66346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66347 ac_ext=c
66348 ac_cpp='$CPP $CPPFLAGS'
66349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
66356 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
66357 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
66358 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
66359 do :
66360 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66361 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66362 eval as_val=\$$as_ac_var
66363 if test "x$as_val" = x""yes; then :
66364 cat >>confdefs.h <<_ACEOF
66365 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66366 _ACEOF
66369 done
66378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
66379 $as_echo_n "checking for float round functions... " >&6; }
66380 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
66381 $as_echo_n "(cached) " >&6
66382 else
66385 ac_ext=cpp
66386 ac_cpp='$CXXCPP $CPPFLAGS'
66387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66392 /* end confdefs.h. */
66393 #include <math.h>
66395 main ()
66397 ceilf (0); floorf (0);
66399 return 0;
66401 _ACEOF
66402 if ac_fn_cxx_try_compile "$LINENO"; then :
66403 glibcxx_cv_func_float_round_use=yes
66404 else
66405 glibcxx_cv_func_float_round_use=no
66407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66408 ac_ext=c
66409 ac_cpp='$CPP $CPPFLAGS'
66410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
66417 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
66418 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
66419 for ac_func in ceilf floorf
66420 do :
66421 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66422 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66423 eval as_val=\$$as_ac_var
66424 if test "x$as_val" = x""yes; then :
66425 cat >>confdefs.h <<_ACEOF
66426 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66427 _ACEOF
66430 done
66432 else
66433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
66434 $as_echo_n "checking for _float round functions... " >&6; }
66435 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
66436 $as_echo_n "(cached) " >&6
66437 else
66440 ac_ext=cpp
66441 ac_cpp='$CXXCPP $CPPFLAGS'
66442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66447 /* end confdefs.h. */
66448 #include <math.h>
66450 main ()
66452 _ceilf (0); _floorf (0);
66454 return 0;
66456 _ACEOF
66457 if ac_fn_cxx_try_compile "$LINENO"; then :
66458 glibcxx_cv_func__float_round_use=yes
66459 else
66460 glibcxx_cv_func__float_round_use=no
66462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66463 ac_ext=c
66464 ac_cpp='$CPP $CPPFLAGS'
66465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
66472 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
66473 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
66474 for ac_func in _ceilf _floorf
66475 do :
66476 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66477 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66478 eval as_val=\$$as_ac_var
66479 if test "x$as_val" = x""yes; then :
66480 cat >>confdefs.h <<_ACEOF
66481 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66482 _ACEOF
66485 done
66495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
66496 $as_echo_n "checking for expf declaration... " >&6; }
66497 if test x${glibcxx_cv_func_expf_use+set} != xset; then
66498 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
66499 $as_echo_n "(cached) " >&6
66500 else
66503 ac_ext=cpp
66504 ac_cpp='$CXXCPP $CPPFLAGS'
66505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66510 /* end confdefs.h. */
66511 #include <math.h>
66512 #ifdef HAVE_IEEEFP_H
66513 #include <ieeefp.h>
66514 #endif
66517 main ()
66519 expf(0);
66521 return 0;
66523 _ACEOF
66524 if ac_fn_cxx_try_compile "$LINENO"; then :
66525 glibcxx_cv_func_expf_use=yes
66526 else
66527 glibcxx_cv_func_expf_use=no
66529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66530 ac_ext=c
66531 ac_cpp='$CPP $CPPFLAGS'
66532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
66541 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
66543 if test x$glibcxx_cv_func_expf_use = x"yes"; then
66544 for ac_func in expf
66545 do :
66546 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
66547 if test "x$ac_cv_func_expf" = x""yes; then :
66548 cat >>confdefs.h <<_ACEOF
66549 #define HAVE_EXPF 1
66550 _ACEOF
66553 done
66555 else
66557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
66558 $as_echo_n "checking for _expf declaration... " >&6; }
66559 if test x${glibcxx_cv_func__expf_use+set} != xset; then
66560 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
66561 $as_echo_n "(cached) " >&6
66562 else
66565 ac_ext=cpp
66566 ac_cpp='$CXXCPP $CPPFLAGS'
66567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66572 /* end confdefs.h. */
66573 #include <math.h>
66574 #ifdef HAVE_IEEEFP_H
66575 #include <ieeefp.h>
66576 #endif
66579 main ()
66581 _expf(0);
66583 return 0;
66585 _ACEOF
66586 if ac_fn_cxx_try_compile "$LINENO"; then :
66587 glibcxx_cv_func__expf_use=yes
66588 else
66589 glibcxx_cv_func__expf_use=no
66591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66592 ac_ext=c
66593 ac_cpp='$CPP $CPPFLAGS'
66594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
66603 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
66605 if test x$glibcxx_cv_func__expf_use = x"yes"; then
66606 for ac_func in _expf
66607 do :
66608 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
66609 if test "x$ac_cv_func__expf" = x""yes; then :
66610 cat >>confdefs.h <<_ACEOF
66611 #define HAVE__EXPF 1
66612 _ACEOF
66615 done
66624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
66625 $as_echo_n "checking for isnanf declaration... " >&6; }
66626 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
66627 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
66628 $as_echo_n "(cached) " >&6
66629 else
66632 ac_ext=cpp
66633 ac_cpp='$CXXCPP $CPPFLAGS'
66634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66639 /* end confdefs.h. */
66640 #include <math.h>
66641 #ifdef HAVE_IEEEFP_H
66642 #include <ieeefp.h>
66643 #endif
66646 main ()
66648 isnanf(0);
66650 return 0;
66652 _ACEOF
66653 if ac_fn_cxx_try_compile "$LINENO"; then :
66654 glibcxx_cv_func_isnanf_use=yes
66655 else
66656 glibcxx_cv_func_isnanf_use=no
66658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66659 ac_ext=c
66660 ac_cpp='$CPP $CPPFLAGS'
66661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
66670 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
66672 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
66673 for ac_func in isnanf
66674 do :
66675 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
66676 if test "x$ac_cv_func_isnanf" = x""yes; then :
66677 cat >>confdefs.h <<_ACEOF
66678 #define HAVE_ISNANF 1
66679 _ACEOF
66682 done
66684 else
66686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
66687 $as_echo_n "checking for _isnanf declaration... " >&6; }
66688 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
66689 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
66690 $as_echo_n "(cached) " >&6
66691 else
66694 ac_ext=cpp
66695 ac_cpp='$CXXCPP $CPPFLAGS'
66696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66701 /* end confdefs.h. */
66702 #include <math.h>
66703 #ifdef HAVE_IEEEFP_H
66704 #include <ieeefp.h>
66705 #endif
66708 main ()
66710 _isnanf(0);
66712 return 0;
66714 _ACEOF
66715 if ac_fn_cxx_try_compile "$LINENO"; then :
66716 glibcxx_cv_func__isnanf_use=yes
66717 else
66718 glibcxx_cv_func__isnanf_use=no
66720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66721 ac_ext=c
66722 ac_cpp='$CPP $CPPFLAGS'
66723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
66732 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
66734 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
66735 for ac_func in _isnanf
66736 do :
66737 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
66738 if test "x$ac_cv_func__isnanf" = x""yes; then :
66739 cat >>confdefs.h <<_ACEOF
66740 #define HAVE__ISNANF 1
66741 _ACEOF
66744 done
66753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
66754 $as_echo_n "checking for isinff declaration... " >&6; }
66755 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
66756 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
66757 $as_echo_n "(cached) " >&6
66758 else
66761 ac_ext=cpp
66762 ac_cpp='$CXXCPP $CPPFLAGS'
66763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66768 /* end confdefs.h. */
66769 #include <math.h>
66770 #ifdef HAVE_IEEEFP_H
66771 #include <ieeefp.h>
66772 #endif
66775 main ()
66777 isinff(0);
66779 return 0;
66781 _ACEOF
66782 if ac_fn_cxx_try_compile "$LINENO"; then :
66783 glibcxx_cv_func_isinff_use=yes
66784 else
66785 glibcxx_cv_func_isinff_use=no
66787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66788 ac_ext=c
66789 ac_cpp='$CPP $CPPFLAGS'
66790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
66799 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
66801 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
66802 for ac_func in isinff
66803 do :
66804 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
66805 if test "x$ac_cv_func_isinff" = x""yes; then :
66806 cat >>confdefs.h <<_ACEOF
66807 #define HAVE_ISINFF 1
66808 _ACEOF
66811 done
66813 else
66815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
66816 $as_echo_n "checking for _isinff declaration... " >&6; }
66817 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
66818 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
66819 $as_echo_n "(cached) " >&6
66820 else
66823 ac_ext=cpp
66824 ac_cpp='$CXXCPP $CPPFLAGS'
66825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66830 /* end confdefs.h. */
66831 #include <math.h>
66832 #ifdef HAVE_IEEEFP_H
66833 #include <ieeefp.h>
66834 #endif
66837 main ()
66839 _isinff(0);
66841 return 0;
66843 _ACEOF
66844 if ac_fn_cxx_try_compile "$LINENO"; then :
66845 glibcxx_cv_func__isinff_use=yes
66846 else
66847 glibcxx_cv_func__isinff_use=no
66849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66850 ac_ext=c
66851 ac_cpp='$CPP $CPPFLAGS'
66852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
66861 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
66863 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
66864 for ac_func in _isinff
66865 do :
66866 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
66867 if test "x$ac_cv_func__isinff" = x""yes; then :
66868 cat >>confdefs.h <<_ACEOF
66869 #define HAVE__ISINFF 1
66870 _ACEOF
66873 done
66882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
66883 $as_echo_n "checking for atan2f declaration... " >&6; }
66884 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
66885 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
66886 $as_echo_n "(cached) " >&6
66887 else
66890 ac_ext=cpp
66891 ac_cpp='$CXXCPP $CPPFLAGS'
66892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66897 /* end confdefs.h. */
66898 #include <math.h>
66900 main ()
66902 atan2f(0, 0);
66904 return 0;
66906 _ACEOF
66907 if ac_fn_cxx_try_compile "$LINENO"; then :
66908 glibcxx_cv_func_atan2f_use=yes
66909 else
66910 glibcxx_cv_func_atan2f_use=no
66912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66913 ac_ext=c
66914 ac_cpp='$CPP $CPPFLAGS'
66915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
66924 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
66926 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
66927 for ac_func in atan2f
66928 do :
66929 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
66930 if test "x$ac_cv_func_atan2f" = x""yes; then :
66931 cat >>confdefs.h <<_ACEOF
66932 #define HAVE_ATAN2F 1
66933 _ACEOF
66936 done
66938 else
66940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
66941 $as_echo_n "checking for _atan2f declaration... " >&6; }
66942 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
66943 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
66944 $as_echo_n "(cached) " >&6
66945 else
66948 ac_ext=cpp
66949 ac_cpp='$CXXCPP $CPPFLAGS'
66950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66955 /* end confdefs.h. */
66956 #include <math.h>
66958 main ()
66960 _atan2f(0, 0);
66962 return 0;
66964 _ACEOF
66965 if ac_fn_cxx_try_compile "$LINENO"; then :
66966 glibcxx_cv_func__atan2f_use=yes
66967 else
66968 glibcxx_cv_func__atan2f_use=no
66970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66971 ac_ext=c
66972 ac_cpp='$CPP $CPPFLAGS'
66973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
66982 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
66984 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
66985 for ac_func in _atan2f
66986 do :
66987 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
66988 if test "x$ac_cv_func__atan2f" = x""yes; then :
66989 cat >>confdefs.h <<_ACEOF
66990 #define HAVE__ATAN2F 1
66991 _ACEOF
66994 done
67003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
67004 $as_echo_n "checking for fabsf declaration... " >&6; }
67005 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
67006 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
67007 $as_echo_n "(cached) " >&6
67008 else
67011 ac_ext=cpp
67012 ac_cpp='$CXXCPP $CPPFLAGS'
67013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67018 /* end confdefs.h. */
67019 #include <math.h>
67020 #ifdef HAVE_IEEEFP_H
67021 #include <ieeefp.h>
67022 #endif
67025 main ()
67027 fabsf(0);
67029 return 0;
67031 _ACEOF
67032 if ac_fn_cxx_try_compile "$LINENO"; then :
67033 glibcxx_cv_func_fabsf_use=yes
67034 else
67035 glibcxx_cv_func_fabsf_use=no
67037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67038 ac_ext=c
67039 ac_cpp='$CPP $CPPFLAGS'
67040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
67049 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
67051 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
67052 for ac_func in fabsf
67053 do :
67054 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
67055 if test "x$ac_cv_func_fabsf" = x""yes; then :
67056 cat >>confdefs.h <<_ACEOF
67057 #define HAVE_FABSF 1
67058 _ACEOF
67061 done
67063 else
67065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
67066 $as_echo_n "checking for _fabsf declaration... " >&6; }
67067 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
67068 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
67069 $as_echo_n "(cached) " >&6
67070 else
67073 ac_ext=cpp
67074 ac_cpp='$CXXCPP $CPPFLAGS'
67075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67080 /* end confdefs.h. */
67081 #include <math.h>
67082 #ifdef HAVE_IEEEFP_H
67083 #include <ieeefp.h>
67084 #endif
67087 main ()
67089 _fabsf(0);
67091 return 0;
67093 _ACEOF
67094 if ac_fn_cxx_try_compile "$LINENO"; then :
67095 glibcxx_cv_func__fabsf_use=yes
67096 else
67097 glibcxx_cv_func__fabsf_use=no
67099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67100 ac_ext=c
67101 ac_cpp='$CPP $CPPFLAGS'
67102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
67111 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
67113 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
67114 for ac_func in _fabsf
67115 do :
67116 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
67117 if test "x$ac_cv_func__fabsf" = x""yes; then :
67118 cat >>confdefs.h <<_ACEOF
67119 #define HAVE__FABSF 1
67120 _ACEOF
67123 done
67132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
67133 $as_echo_n "checking for fmodf declaration... " >&6; }
67134 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
67135 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
67136 $as_echo_n "(cached) " >&6
67137 else
67140 ac_ext=cpp
67141 ac_cpp='$CXXCPP $CPPFLAGS'
67142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67147 /* end confdefs.h. */
67148 #include <math.h>
67150 main ()
67152 fmodf(0, 0);
67154 return 0;
67156 _ACEOF
67157 if ac_fn_cxx_try_compile "$LINENO"; then :
67158 glibcxx_cv_func_fmodf_use=yes
67159 else
67160 glibcxx_cv_func_fmodf_use=no
67162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67163 ac_ext=c
67164 ac_cpp='$CPP $CPPFLAGS'
67165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
67174 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
67176 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
67177 for ac_func in fmodf
67178 do :
67179 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
67180 if test "x$ac_cv_func_fmodf" = x""yes; then :
67181 cat >>confdefs.h <<_ACEOF
67182 #define HAVE_FMODF 1
67183 _ACEOF
67186 done
67188 else
67190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
67191 $as_echo_n "checking for _fmodf declaration... " >&6; }
67192 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
67193 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
67194 $as_echo_n "(cached) " >&6
67195 else
67198 ac_ext=cpp
67199 ac_cpp='$CXXCPP $CPPFLAGS'
67200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67205 /* end confdefs.h. */
67206 #include <math.h>
67208 main ()
67210 _fmodf(0, 0);
67212 return 0;
67214 _ACEOF
67215 if ac_fn_cxx_try_compile "$LINENO"; then :
67216 glibcxx_cv_func__fmodf_use=yes
67217 else
67218 glibcxx_cv_func__fmodf_use=no
67220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67221 ac_ext=c
67222 ac_cpp='$CPP $CPPFLAGS'
67223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
67232 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
67234 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
67235 for ac_func in _fmodf
67236 do :
67237 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
67238 if test "x$ac_cv_func__fmodf" = x""yes; then :
67239 cat >>confdefs.h <<_ACEOF
67240 #define HAVE__FMODF 1
67241 _ACEOF
67244 done
67253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
67254 $as_echo_n "checking for frexpf declaration... " >&6; }
67255 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
67256 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
67257 $as_echo_n "(cached) " >&6
67258 else
67261 ac_ext=cpp
67262 ac_cpp='$CXXCPP $CPPFLAGS'
67263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67268 /* end confdefs.h. */
67269 #include <math.h>
67271 main ()
67273 frexpf(0, 0);
67275 return 0;
67277 _ACEOF
67278 if ac_fn_cxx_try_compile "$LINENO"; then :
67279 glibcxx_cv_func_frexpf_use=yes
67280 else
67281 glibcxx_cv_func_frexpf_use=no
67283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67284 ac_ext=c
67285 ac_cpp='$CPP $CPPFLAGS'
67286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
67295 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
67297 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
67298 for ac_func in frexpf
67299 do :
67300 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
67301 if test "x$ac_cv_func_frexpf" = x""yes; then :
67302 cat >>confdefs.h <<_ACEOF
67303 #define HAVE_FREXPF 1
67304 _ACEOF
67307 done
67309 else
67311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
67312 $as_echo_n "checking for _frexpf declaration... " >&6; }
67313 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
67314 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
67315 $as_echo_n "(cached) " >&6
67316 else
67319 ac_ext=cpp
67320 ac_cpp='$CXXCPP $CPPFLAGS'
67321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67326 /* end confdefs.h. */
67327 #include <math.h>
67329 main ()
67331 _frexpf(0, 0);
67333 return 0;
67335 _ACEOF
67336 if ac_fn_cxx_try_compile "$LINENO"; then :
67337 glibcxx_cv_func__frexpf_use=yes
67338 else
67339 glibcxx_cv_func__frexpf_use=no
67341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67342 ac_ext=c
67343 ac_cpp='$CPP $CPPFLAGS'
67344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
67353 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
67355 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
67356 for ac_func in _frexpf
67357 do :
67358 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
67359 if test "x$ac_cv_func__frexpf" = x""yes; then :
67360 cat >>confdefs.h <<_ACEOF
67361 #define HAVE__FREXPF 1
67362 _ACEOF
67365 done
67374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
67375 $as_echo_n "checking for hypotf declaration... " >&6; }
67376 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
67377 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
67378 $as_echo_n "(cached) " >&6
67379 else
67382 ac_ext=cpp
67383 ac_cpp='$CXXCPP $CPPFLAGS'
67384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67389 /* end confdefs.h. */
67390 #include <math.h>
67392 main ()
67394 hypotf(0, 0);
67396 return 0;
67398 _ACEOF
67399 if ac_fn_cxx_try_compile "$LINENO"; then :
67400 glibcxx_cv_func_hypotf_use=yes
67401 else
67402 glibcxx_cv_func_hypotf_use=no
67404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67405 ac_ext=c
67406 ac_cpp='$CPP $CPPFLAGS'
67407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
67416 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
67418 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
67419 for ac_func in hypotf
67420 do :
67421 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
67422 if test "x$ac_cv_func_hypotf" = x""yes; then :
67423 cat >>confdefs.h <<_ACEOF
67424 #define HAVE_HYPOTF 1
67425 _ACEOF
67428 done
67430 else
67432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
67433 $as_echo_n "checking for _hypotf declaration... " >&6; }
67434 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
67435 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
67436 $as_echo_n "(cached) " >&6
67437 else
67440 ac_ext=cpp
67441 ac_cpp='$CXXCPP $CPPFLAGS'
67442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67447 /* end confdefs.h. */
67448 #include <math.h>
67450 main ()
67452 _hypotf(0, 0);
67454 return 0;
67456 _ACEOF
67457 if ac_fn_cxx_try_compile "$LINENO"; then :
67458 glibcxx_cv_func__hypotf_use=yes
67459 else
67460 glibcxx_cv_func__hypotf_use=no
67462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67463 ac_ext=c
67464 ac_cpp='$CPP $CPPFLAGS'
67465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
67474 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
67476 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
67477 for ac_func in _hypotf
67478 do :
67479 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
67480 if test "x$ac_cv_func__hypotf" = x""yes; then :
67481 cat >>confdefs.h <<_ACEOF
67482 #define HAVE__HYPOTF 1
67483 _ACEOF
67486 done
67495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
67496 $as_echo_n "checking for ldexpf declaration... " >&6; }
67497 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
67498 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
67499 $as_echo_n "(cached) " >&6
67500 else
67503 ac_ext=cpp
67504 ac_cpp='$CXXCPP $CPPFLAGS'
67505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67510 /* end confdefs.h. */
67511 #include <math.h>
67513 main ()
67515 ldexpf(0, 0);
67517 return 0;
67519 _ACEOF
67520 if ac_fn_cxx_try_compile "$LINENO"; then :
67521 glibcxx_cv_func_ldexpf_use=yes
67522 else
67523 glibcxx_cv_func_ldexpf_use=no
67525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67526 ac_ext=c
67527 ac_cpp='$CPP $CPPFLAGS'
67528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
67537 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
67539 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
67540 for ac_func in ldexpf
67541 do :
67542 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
67543 if test "x$ac_cv_func_ldexpf" = x""yes; then :
67544 cat >>confdefs.h <<_ACEOF
67545 #define HAVE_LDEXPF 1
67546 _ACEOF
67549 done
67551 else
67553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
67554 $as_echo_n "checking for _ldexpf declaration... " >&6; }
67555 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
67556 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
67557 $as_echo_n "(cached) " >&6
67558 else
67561 ac_ext=cpp
67562 ac_cpp='$CXXCPP $CPPFLAGS'
67563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67568 /* end confdefs.h. */
67569 #include <math.h>
67571 main ()
67573 _ldexpf(0, 0);
67575 return 0;
67577 _ACEOF
67578 if ac_fn_cxx_try_compile "$LINENO"; then :
67579 glibcxx_cv_func__ldexpf_use=yes
67580 else
67581 glibcxx_cv_func__ldexpf_use=no
67583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67584 ac_ext=c
67585 ac_cpp='$CPP $CPPFLAGS'
67586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
67595 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
67597 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
67598 for ac_func in _ldexpf
67599 do :
67600 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
67601 if test "x$ac_cv_func__ldexpf" = x""yes; then :
67602 cat >>confdefs.h <<_ACEOF
67603 #define HAVE__LDEXPF 1
67604 _ACEOF
67607 done
67616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
67617 $as_echo_n "checking for logf declaration... " >&6; }
67618 if test x${glibcxx_cv_func_logf_use+set} != xset; then
67619 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
67620 $as_echo_n "(cached) " >&6
67621 else
67624 ac_ext=cpp
67625 ac_cpp='$CXXCPP $CPPFLAGS'
67626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67631 /* end confdefs.h. */
67632 #include <math.h>
67633 #ifdef HAVE_IEEEFP_H
67634 #include <ieeefp.h>
67635 #endif
67638 main ()
67640 logf(0);
67642 return 0;
67644 _ACEOF
67645 if ac_fn_cxx_try_compile "$LINENO"; then :
67646 glibcxx_cv_func_logf_use=yes
67647 else
67648 glibcxx_cv_func_logf_use=no
67650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67651 ac_ext=c
67652 ac_cpp='$CPP $CPPFLAGS'
67653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
67662 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
67664 if test x$glibcxx_cv_func_logf_use = x"yes"; then
67665 for ac_func in logf
67666 do :
67667 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
67668 if test "x$ac_cv_func_logf" = x""yes; then :
67669 cat >>confdefs.h <<_ACEOF
67670 #define HAVE_LOGF 1
67671 _ACEOF
67674 done
67676 else
67678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
67679 $as_echo_n "checking for _logf declaration... " >&6; }
67680 if test x${glibcxx_cv_func__logf_use+set} != xset; then
67681 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
67682 $as_echo_n "(cached) " >&6
67683 else
67686 ac_ext=cpp
67687 ac_cpp='$CXXCPP $CPPFLAGS'
67688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67693 /* end confdefs.h. */
67694 #include <math.h>
67695 #ifdef HAVE_IEEEFP_H
67696 #include <ieeefp.h>
67697 #endif
67700 main ()
67702 _logf(0);
67704 return 0;
67706 _ACEOF
67707 if ac_fn_cxx_try_compile "$LINENO"; then :
67708 glibcxx_cv_func__logf_use=yes
67709 else
67710 glibcxx_cv_func__logf_use=no
67712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67713 ac_ext=c
67714 ac_cpp='$CPP $CPPFLAGS'
67715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
67724 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
67726 if test x$glibcxx_cv_func__logf_use = x"yes"; then
67727 for ac_func in _logf
67728 do :
67729 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
67730 if test "x$ac_cv_func__logf" = x""yes; then :
67731 cat >>confdefs.h <<_ACEOF
67732 #define HAVE__LOGF 1
67733 _ACEOF
67736 done
67745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
67746 $as_echo_n "checking for log10f declaration... " >&6; }
67747 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
67748 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
67749 $as_echo_n "(cached) " >&6
67750 else
67753 ac_ext=cpp
67754 ac_cpp='$CXXCPP $CPPFLAGS'
67755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67760 /* end confdefs.h. */
67761 #include <math.h>
67762 #ifdef HAVE_IEEEFP_H
67763 #include <ieeefp.h>
67764 #endif
67767 main ()
67769 log10f(0);
67771 return 0;
67773 _ACEOF
67774 if ac_fn_cxx_try_compile "$LINENO"; then :
67775 glibcxx_cv_func_log10f_use=yes
67776 else
67777 glibcxx_cv_func_log10f_use=no
67779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67780 ac_ext=c
67781 ac_cpp='$CPP $CPPFLAGS'
67782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
67791 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
67793 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
67794 for ac_func in log10f
67795 do :
67796 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
67797 if test "x$ac_cv_func_log10f" = x""yes; then :
67798 cat >>confdefs.h <<_ACEOF
67799 #define HAVE_LOG10F 1
67800 _ACEOF
67803 done
67805 else
67807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
67808 $as_echo_n "checking for _log10f declaration... " >&6; }
67809 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
67810 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
67811 $as_echo_n "(cached) " >&6
67812 else
67815 ac_ext=cpp
67816 ac_cpp='$CXXCPP $CPPFLAGS'
67817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67822 /* end confdefs.h. */
67823 #include <math.h>
67824 #ifdef HAVE_IEEEFP_H
67825 #include <ieeefp.h>
67826 #endif
67829 main ()
67831 _log10f(0);
67833 return 0;
67835 _ACEOF
67836 if ac_fn_cxx_try_compile "$LINENO"; then :
67837 glibcxx_cv_func__log10f_use=yes
67838 else
67839 glibcxx_cv_func__log10f_use=no
67841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67842 ac_ext=c
67843 ac_cpp='$CPP $CPPFLAGS'
67844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
67853 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
67855 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
67856 for ac_func in _log10f
67857 do :
67858 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
67859 if test "x$ac_cv_func__log10f" = x""yes; then :
67860 cat >>confdefs.h <<_ACEOF
67861 #define HAVE__LOG10F 1
67862 _ACEOF
67865 done
67874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
67875 $as_echo_n "checking for modff declaration... " >&6; }
67876 if test x${glibcxx_cv_func_modff_use+set} != xset; then
67877 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
67878 $as_echo_n "(cached) " >&6
67879 else
67882 ac_ext=cpp
67883 ac_cpp='$CXXCPP $CPPFLAGS'
67884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67889 /* end confdefs.h. */
67890 #include <math.h>
67892 main ()
67894 modff(0, 0);
67896 return 0;
67898 _ACEOF
67899 if ac_fn_cxx_try_compile "$LINENO"; then :
67900 glibcxx_cv_func_modff_use=yes
67901 else
67902 glibcxx_cv_func_modff_use=no
67904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67905 ac_ext=c
67906 ac_cpp='$CPP $CPPFLAGS'
67907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
67916 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
67918 if test x$glibcxx_cv_func_modff_use = x"yes"; then
67919 for ac_func in modff
67920 do :
67921 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
67922 if test "x$ac_cv_func_modff" = x""yes; then :
67923 cat >>confdefs.h <<_ACEOF
67924 #define HAVE_MODFF 1
67925 _ACEOF
67928 done
67930 else
67932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
67933 $as_echo_n "checking for _modff declaration... " >&6; }
67934 if test x${glibcxx_cv_func__modff_use+set} != xset; then
67935 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
67936 $as_echo_n "(cached) " >&6
67937 else
67940 ac_ext=cpp
67941 ac_cpp='$CXXCPP $CPPFLAGS'
67942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67947 /* end confdefs.h. */
67948 #include <math.h>
67950 main ()
67952 _modff(0, 0);
67954 return 0;
67956 _ACEOF
67957 if ac_fn_cxx_try_compile "$LINENO"; then :
67958 glibcxx_cv_func__modff_use=yes
67959 else
67960 glibcxx_cv_func__modff_use=no
67962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67963 ac_ext=c
67964 ac_cpp='$CPP $CPPFLAGS'
67965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
67974 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
67976 if test x$glibcxx_cv_func__modff_use = x"yes"; then
67977 for ac_func in _modff
67978 do :
67979 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
67980 if test "x$ac_cv_func__modff" = x""yes; then :
67981 cat >>confdefs.h <<_ACEOF
67982 #define HAVE__MODFF 1
67983 _ACEOF
67986 done
67995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
67996 $as_echo_n "checking for modf declaration... " >&6; }
67997 if test x${glibcxx_cv_func_modf_use+set} != xset; then
67998 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
67999 $as_echo_n "(cached) " >&6
68000 else
68003 ac_ext=cpp
68004 ac_cpp='$CXXCPP $CPPFLAGS'
68005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68010 /* end confdefs.h. */
68011 #include <math.h>
68013 main ()
68015 modf(0, 0);
68017 return 0;
68019 _ACEOF
68020 if ac_fn_cxx_try_compile "$LINENO"; then :
68021 glibcxx_cv_func_modf_use=yes
68022 else
68023 glibcxx_cv_func_modf_use=no
68025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68026 ac_ext=c
68027 ac_cpp='$CPP $CPPFLAGS'
68028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
68037 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
68039 if test x$glibcxx_cv_func_modf_use = x"yes"; then
68040 for ac_func in modf
68041 do :
68042 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
68043 if test "x$ac_cv_func_modf" = x""yes; then :
68044 cat >>confdefs.h <<_ACEOF
68045 #define HAVE_MODF 1
68046 _ACEOF
68049 done
68051 else
68053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
68054 $as_echo_n "checking for _modf declaration... " >&6; }
68055 if test x${glibcxx_cv_func__modf_use+set} != xset; then
68056 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
68057 $as_echo_n "(cached) " >&6
68058 else
68061 ac_ext=cpp
68062 ac_cpp='$CXXCPP $CPPFLAGS'
68063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68068 /* end confdefs.h. */
68069 #include <math.h>
68071 main ()
68073 _modf(0, 0);
68075 return 0;
68077 _ACEOF
68078 if ac_fn_cxx_try_compile "$LINENO"; then :
68079 glibcxx_cv_func__modf_use=yes
68080 else
68081 glibcxx_cv_func__modf_use=no
68083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68084 ac_ext=c
68085 ac_cpp='$CPP $CPPFLAGS'
68086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
68095 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
68097 if test x$glibcxx_cv_func__modf_use = x"yes"; then
68098 for ac_func in _modf
68099 do :
68100 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
68101 if test "x$ac_cv_func__modf" = x""yes; then :
68102 cat >>confdefs.h <<_ACEOF
68103 #define HAVE__MODF 1
68104 _ACEOF
68107 done
68116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
68117 $as_echo_n "checking for powf declaration... " >&6; }
68118 if test x${glibcxx_cv_func_powf_use+set} != xset; then
68119 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
68120 $as_echo_n "(cached) " >&6
68121 else
68124 ac_ext=cpp
68125 ac_cpp='$CXXCPP $CPPFLAGS'
68126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68131 /* end confdefs.h. */
68132 #include <math.h>
68134 main ()
68136 powf(0, 0);
68138 return 0;
68140 _ACEOF
68141 if ac_fn_cxx_try_compile "$LINENO"; then :
68142 glibcxx_cv_func_powf_use=yes
68143 else
68144 glibcxx_cv_func_powf_use=no
68146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68147 ac_ext=c
68148 ac_cpp='$CPP $CPPFLAGS'
68149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
68158 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
68160 if test x$glibcxx_cv_func_powf_use = x"yes"; then
68161 for ac_func in powf
68162 do :
68163 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
68164 if test "x$ac_cv_func_powf" = x""yes; then :
68165 cat >>confdefs.h <<_ACEOF
68166 #define HAVE_POWF 1
68167 _ACEOF
68170 done
68172 else
68174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
68175 $as_echo_n "checking for _powf declaration... " >&6; }
68176 if test x${glibcxx_cv_func__powf_use+set} != xset; then
68177 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
68178 $as_echo_n "(cached) " >&6
68179 else
68182 ac_ext=cpp
68183 ac_cpp='$CXXCPP $CPPFLAGS'
68184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68189 /* end confdefs.h. */
68190 #include <math.h>
68192 main ()
68194 _powf(0, 0);
68196 return 0;
68198 _ACEOF
68199 if ac_fn_cxx_try_compile "$LINENO"; then :
68200 glibcxx_cv_func__powf_use=yes
68201 else
68202 glibcxx_cv_func__powf_use=no
68204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68205 ac_ext=c
68206 ac_cpp='$CPP $CPPFLAGS'
68207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
68216 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
68218 if test x$glibcxx_cv_func__powf_use = x"yes"; then
68219 for ac_func in _powf
68220 do :
68221 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
68222 if test "x$ac_cv_func__powf" = x""yes; then :
68223 cat >>confdefs.h <<_ACEOF
68224 #define HAVE__POWF 1
68225 _ACEOF
68228 done
68237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
68238 $as_echo_n "checking for sqrtf declaration... " >&6; }
68239 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
68240 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
68241 $as_echo_n "(cached) " >&6
68242 else
68245 ac_ext=cpp
68246 ac_cpp='$CXXCPP $CPPFLAGS'
68247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68252 /* end confdefs.h. */
68253 #include <math.h>
68254 #ifdef HAVE_IEEEFP_H
68255 #include <ieeefp.h>
68256 #endif
68259 main ()
68261 sqrtf(0);
68263 return 0;
68265 _ACEOF
68266 if ac_fn_cxx_try_compile "$LINENO"; then :
68267 glibcxx_cv_func_sqrtf_use=yes
68268 else
68269 glibcxx_cv_func_sqrtf_use=no
68271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68272 ac_ext=c
68273 ac_cpp='$CPP $CPPFLAGS'
68274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
68283 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
68285 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
68286 for ac_func in sqrtf
68287 do :
68288 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
68289 if test "x$ac_cv_func_sqrtf" = x""yes; then :
68290 cat >>confdefs.h <<_ACEOF
68291 #define HAVE_SQRTF 1
68292 _ACEOF
68295 done
68297 else
68299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
68300 $as_echo_n "checking for _sqrtf declaration... " >&6; }
68301 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
68302 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
68303 $as_echo_n "(cached) " >&6
68304 else
68307 ac_ext=cpp
68308 ac_cpp='$CXXCPP $CPPFLAGS'
68309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68314 /* end confdefs.h. */
68315 #include <math.h>
68316 #ifdef HAVE_IEEEFP_H
68317 #include <ieeefp.h>
68318 #endif
68321 main ()
68323 _sqrtf(0);
68325 return 0;
68327 _ACEOF
68328 if ac_fn_cxx_try_compile "$LINENO"; then :
68329 glibcxx_cv_func__sqrtf_use=yes
68330 else
68331 glibcxx_cv_func__sqrtf_use=no
68333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68334 ac_ext=c
68335 ac_cpp='$CPP $CPPFLAGS'
68336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
68345 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
68347 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
68348 for ac_func in _sqrtf
68349 do :
68350 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
68351 if test "x$ac_cv_func__sqrtf" = x""yes; then :
68352 cat >>confdefs.h <<_ACEOF
68353 #define HAVE__SQRTF 1
68354 _ACEOF
68357 done
68366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
68367 $as_echo_n "checking for sincosf declaration... " >&6; }
68368 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
68369 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
68370 $as_echo_n "(cached) " >&6
68371 else
68374 ac_ext=cpp
68375 ac_cpp='$CXXCPP $CPPFLAGS'
68376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68381 /* end confdefs.h. */
68382 #include <math.h>
68384 main ()
68386 sincosf(0, 0, 0);
68388 return 0;
68390 _ACEOF
68391 if ac_fn_cxx_try_compile "$LINENO"; then :
68392 glibcxx_cv_func_sincosf_use=yes
68393 else
68394 glibcxx_cv_func_sincosf_use=no
68396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68397 ac_ext=c
68398 ac_cpp='$CPP $CPPFLAGS'
68399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
68408 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
68410 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
68411 for ac_func in sincosf
68412 do :
68413 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
68414 if test "x$ac_cv_func_sincosf" = x""yes; then :
68415 cat >>confdefs.h <<_ACEOF
68416 #define HAVE_SINCOSF 1
68417 _ACEOF
68420 done
68422 else
68424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
68425 $as_echo_n "checking for _sincosf declaration... " >&6; }
68426 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
68427 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
68428 $as_echo_n "(cached) " >&6
68429 else
68432 ac_ext=cpp
68433 ac_cpp='$CXXCPP $CPPFLAGS'
68434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68439 /* end confdefs.h. */
68440 #include <math.h>
68442 main ()
68444 _sincosf(0, 0, 0);
68446 return 0;
68448 _ACEOF
68449 if ac_fn_cxx_try_compile "$LINENO"; then :
68450 glibcxx_cv_func__sincosf_use=yes
68451 else
68452 glibcxx_cv_func__sincosf_use=no
68454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68455 ac_ext=c
68456 ac_cpp='$CPP $CPPFLAGS'
68457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
68466 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
68468 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
68469 for ac_func in _sincosf
68470 do :
68471 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
68472 if test "x$ac_cv_func__sincosf" = x""yes; then :
68473 cat >>confdefs.h <<_ACEOF
68474 #define HAVE__SINCOSF 1
68475 _ACEOF
68478 done
68487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
68488 $as_echo_n "checking for finitef declaration... " >&6; }
68489 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
68490 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
68491 $as_echo_n "(cached) " >&6
68492 else
68495 ac_ext=cpp
68496 ac_cpp='$CXXCPP $CPPFLAGS'
68497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68502 /* end confdefs.h. */
68503 #include <math.h>
68504 #ifdef HAVE_IEEEFP_H
68505 #include <ieeefp.h>
68506 #endif
68509 main ()
68511 finitef(0);
68513 return 0;
68515 _ACEOF
68516 if ac_fn_cxx_try_compile "$LINENO"; then :
68517 glibcxx_cv_func_finitef_use=yes
68518 else
68519 glibcxx_cv_func_finitef_use=no
68521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68522 ac_ext=c
68523 ac_cpp='$CPP $CPPFLAGS'
68524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
68533 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
68535 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
68536 for ac_func in finitef
68537 do :
68538 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
68539 if test "x$ac_cv_func_finitef" = x""yes; then :
68540 cat >>confdefs.h <<_ACEOF
68541 #define HAVE_FINITEF 1
68542 _ACEOF
68545 done
68547 else
68549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
68550 $as_echo_n "checking for _finitef declaration... " >&6; }
68551 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
68552 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
68553 $as_echo_n "(cached) " >&6
68554 else
68557 ac_ext=cpp
68558 ac_cpp='$CXXCPP $CPPFLAGS'
68559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68564 /* end confdefs.h. */
68565 #include <math.h>
68566 #ifdef HAVE_IEEEFP_H
68567 #include <ieeefp.h>
68568 #endif
68571 main ()
68573 _finitef(0);
68575 return 0;
68577 _ACEOF
68578 if ac_fn_cxx_try_compile "$LINENO"; then :
68579 glibcxx_cv_func__finitef_use=yes
68580 else
68581 glibcxx_cv_func__finitef_use=no
68583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68584 ac_ext=c
68585 ac_cpp='$CPP $CPPFLAGS'
68586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
68595 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
68597 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
68598 for ac_func in _finitef
68599 do :
68600 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
68601 if test "x$ac_cv_func__finitef" = x""yes; then :
68602 cat >>confdefs.h <<_ACEOF
68603 #define HAVE__FINITEF 1
68604 _ACEOF
68607 done
68616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
68617 $as_echo_n "checking for long double trig functions... " >&6; }
68618 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
68619 $as_echo_n "(cached) " >&6
68620 else
68623 ac_ext=cpp
68624 ac_cpp='$CXXCPP $CPPFLAGS'
68625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68630 /* end confdefs.h. */
68631 #include <math.h>
68633 main ()
68635 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
68637 return 0;
68639 _ACEOF
68640 if ac_fn_cxx_try_compile "$LINENO"; then :
68641 glibcxx_cv_func_long_double_trig_use=yes
68642 else
68643 glibcxx_cv_func_long_double_trig_use=no
68645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68646 ac_ext=c
68647 ac_cpp='$CPP $CPPFLAGS'
68648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
68655 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
68656 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
68657 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
68658 do :
68659 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68660 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68661 eval as_val=\$$as_ac_var
68662 if test "x$as_val" = x""yes; then :
68663 cat >>confdefs.h <<_ACEOF
68664 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68665 _ACEOF
68668 done
68670 else
68671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
68672 $as_echo_n "checking for _long double trig functions... " >&6; }
68673 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
68674 $as_echo_n "(cached) " >&6
68675 else
68678 ac_ext=cpp
68679 ac_cpp='$CXXCPP $CPPFLAGS'
68680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68685 /* end confdefs.h. */
68686 #include <math.h>
68688 main ()
68690 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
68692 return 0;
68694 _ACEOF
68695 if ac_fn_cxx_try_compile "$LINENO"; then :
68696 glibcxx_cv_func__long_double_trig_use=yes
68697 else
68698 glibcxx_cv_func__long_double_trig_use=no
68700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68701 ac_ext=c
68702 ac_cpp='$CPP $CPPFLAGS'
68703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
68710 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
68711 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
68712 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
68713 do :
68714 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68715 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68716 eval as_val=\$$as_ac_var
68717 if test "x$as_val" = x""yes; then :
68718 cat >>confdefs.h <<_ACEOF
68719 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68720 _ACEOF
68723 done
68732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
68733 $as_echo_n "checking for long double round functions... " >&6; }
68734 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
68735 $as_echo_n "(cached) " >&6
68736 else
68739 ac_ext=cpp
68740 ac_cpp='$CXXCPP $CPPFLAGS'
68741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68746 /* end confdefs.h. */
68747 #include <math.h>
68749 main ()
68751 ceill (0); floorl (0);
68753 return 0;
68755 _ACEOF
68756 if ac_fn_cxx_try_compile "$LINENO"; then :
68757 glibcxx_cv_func_long_double_round_use=yes
68758 else
68759 glibcxx_cv_func_long_double_round_use=no
68761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68762 ac_ext=c
68763 ac_cpp='$CPP $CPPFLAGS'
68764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
68771 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
68772 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
68773 for ac_func in ceill floorl
68774 do :
68775 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68776 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68777 eval as_val=\$$as_ac_var
68778 if test "x$as_val" = x""yes; then :
68779 cat >>confdefs.h <<_ACEOF
68780 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68781 _ACEOF
68784 done
68786 else
68787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
68788 $as_echo_n "checking for _long double round functions... " >&6; }
68789 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
68790 $as_echo_n "(cached) " >&6
68791 else
68794 ac_ext=cpp
68795 ac_cpp='$CXXCPP $CPPFLAGS'
68796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68801 /* end confdefs.h. */
68802 #include <math.h>
68804 main ()
68806 _ceill (0); _floorl (0);
68808 return 0;
68810 _ACEOF
68811 if ac_fn_cxx_try_compile "$LINENO"; then :
68812 glibcxx_cv_func__long_double_round_use=yes
68813 else
68814 glibcxx_cv_func__long_double_round_use=no
68816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68817 ac_ext=c
68818 ac_cpp='$CPP $CPPFLAGS'
68819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
68826 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
68827 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
68828 for ac_func in _ceill _floorl
68829 do :
68830 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68831 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68832 eval as_val=\$$as_ac_var
68833 if test "x$as_val" = x""yes; then :
68834 cat >>confdefs.h <<_ACEOF
68835 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68836 _ACEOF
68839 done
68849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
68850 $as_echo_n "checking for isnanl declaration... " >&6; }
68851 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
68852 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
68853 $as_echo_n "(cached) " >&6
68854 else
68857 ac_ext=cpp
68858 ac_cpp='$CXXCPP $CPPFLAGS'
68859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68864 /* end confdefs.h. */
68865 #include <math.h>
68866 #ifdef HAVE_IEEEFP_H
68867 #include <ieeefp.h>
68868 #endif
68871 main ()
68873 isnanl(0);
68875 return 0;
68877 _ACEOF
68878 if ac_fn_cxx_try_compile "$LINENO"; then :
68879 glibcxx_cv_func_isnanl_use=yes
68880 else
68881 glibcxx_cv_func_isnanl_use=no
68883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68884 ac_ext=c
68885 ac_cpp='$CPP $CPPFLAGS'
68886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
68895 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
68897 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
68898 for ac_func in isnanl
68899 do :
68900 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
68901 if test "x$ac_cv_func_isnanl" = x""yes; then :
68902 cat >>confdefs.h <<_ACEOF
68903 #define HAVE_ISNANL 1
68904 _ACEOF
68907 done
68909 else
68911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
68912 $as_echo_n "checking for _isnanl declaration... " >&6; }
68913 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
68914 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
68915 $as_echo_n "(cached) " >&6
68916 else
68919 ac_ext=cpp
68920 ac_cpp='$CXXCPP $CPPFLAGS'
68921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68926 /* end confdefs.h. */
68927 #include <math.h>
68928 #ifdef HAVE_IEEEFP_H
68929 #include <ieeefp.h>
68930 #endif
68933 main ()
68935 _isnanl(0);
68937 return 0;
68939 _ACEOF
68940 if ac_fn_cxx_try_compile "$LINENO"; then :
68941 glibcxx_cv_func__isnanl_use=yes
68942 else
68943 glibcxx_cv_func__isnanl_use=no
68945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68946 ac_ext=c
68947 ac_cpp='$CPP $CPPFLAGS'
68948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
68957 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
68959 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
68960 for ac_func in _isnanl
68961 do :
68962 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
68963 if test "x$ac_cv_func__isnanl" = x""yes; then :
68964 cat >>confdefs.h <<_ACEOF
68965 #define HAVE__ISNANL 1
68966 _ACEOF
68969 done
68978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
68979 $as_echo_n "checking for isinfl declaration... " >&6; }
68980 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
68981 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
68982 $as_echo_n "(cached) " >&6
68983 else
68986 ac_ext=cpp
68987 ac_cpp='$CXXCPP $CPPFLAGS'
68988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68993 /* end confdefs.h. */
68994 #include <math.h>
68995 #ifdef HAVE_IEEEFP_H
68996 #include <ieeefp.h>
68997 #endif
69000 main ()
69002 isinfl(0);
69004 return 0;
69006 _ACEOF
69007 if ac_fn_cxx_try_compile "$LINENO"; then :
69008 glibcxx_cv_func_isinfl_use=yes
69009 else
69010 glibcxx_cv_func_isinfl_use=no
69012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69013 ac_ext=c
69014 ac_cpp='$CPP $CPPFLAGS'
69015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
69024 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
69026 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
69027 for ac_func in isinfl
69028 do :
69029 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
69030 if test "x$ac_cv_func_isinfl" = x""yes; then :
69031 cat >>confdefs.h <<_ACEOF
69032 #define HAVE_ISINFL 1
69033 _ACEOF
69036 done
69038 else
69040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
69041 $as_echo_n "checking for _isinfl declaration... " >&6; }
69042 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
69043 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
69044 $as_echo_n "(cached) " >&6
69045 else
69048 ac_ext=cpp
69049 ac_cpp='$CXXCPP $CPPFLAGS'
69050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69055 /* end confdefs.h. */
69056 #include <math.h>
69057 #ifdef HAVE_IEEEFP_H
69058 #include <ieeefp.h>
69059 #endif
69062 main ()
69064 _isinfl(0);
69066 return 0;
69068 _ACEOF
69069 if ac_fn_cxx_try_compile "$LINENO"; then :
69070 glibcxx_cv_func__isinfl_use=yes
69071 else
69072 glibcxx_cv_func__isinfl_use=no
69074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69075 ac_ext=c
69076 ac_cpp='$CPP $CPPFLAGS'
69077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
69086 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
69088 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
69089 for ac_func in _isinfl
69090 do :
69091 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
69092 if test "x$ac_cv_func__isinfl" = x""yes; then :
69093 cat >>confdefs.h <<_ACEOF
69094 #define HAVE__ISINFL 1
69095 _ACEOF
69098 done
69107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
69108 $as_echo_n "checking for atan2l declaration... " >&6; }
69109 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
69110 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
69111 $as_echo_n "(cached) " >&6
69112 else
69115 ac_ext=cpp
69116 ac_cpp='$CXXCPP $CPPFLAGS'
69117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69122 /* end confdefs.h. */
69123 #include <math.h>
69125 main ()
69127 atan2l(0, 0);
69129 return 0;
69131 _ACEOF
69132 if ac_fn_cxx_try_compile "$LINENO"; then :
69133 glibcxx_cv_func_atan2l_use=yes
69134 else
69135 glibcxx_cv_func_atan2l_use=no
69137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69138 ac_ext=c
69139 ac_cpp='$CPP $CPPFLAGS'
69140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
69149 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
69151 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
69152 for ac_func in atan2l
69153 do :
69154 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
69155 if test "x$ac_cv_func_atan2l" = x""yes; then :
69156 cat >>confdefs.h <<_ACEOF
69157 #define HAVE_ATAN2L 1
69158 _ACEOF
69161 done
69163 else
69165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
69166 $as_echo_n "checking for _atan2l declaration... " >&6; }
69167 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
69168 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
69169 $as_echo_n "(cached) " >&6
69170 else
69173 ac_ext=cpp
69174 ac_cpp='$CXXCPP $CPPFLAGS'
69175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69180 /* end confdefs.h. */
69181 #include <math.h>
69183 main ()
69185 _atan2l(0, 0);
69187 return 0;
69189 _ACEOF
69190 if ac_fn_cxx_try_compile "$LINENO"; then :
69191 glibcxx_cv_func__atan2l_use=yes
69192 else
69193 glibcxx_cv_func__atan2l_use=no
69195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69196 ac_ext=c
69197 ac_cpp='$CPP $CPPFLAGS'
69198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
69207 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
69209 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
69210 for ac_func in _atan2l
69211 do :
69212 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
69213 if test "x$ac_cv_func__atan2l" = x""yes; then :
69214 cat >>confdefs.h <<_ACEOF
69215 #define HAVE__ATAN2L 1
69216 _ACEOF
69219 done
69228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
69229 $as_echo_n "checking for expl declaration... " >&6; }
69230 if test x${glibcxx_cv_func_expl_use+set} != xset; then
69231 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
69232 $as_echo_n "(cached) " >&6
69233 else
69236 ac_ext=cpp
69237 ac_cpp='$CXXCPP $CPPFLAGS'
69238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69243 /* end confdefs.h. */
69244 #include <math.h>
69245 #ifdef HAVE_IEEEFP_H
69246 #include <ieeefp.h>
69247 #endif
69250 main ()
69252 expl(0);
69254 return 0;
69256 _ACEOF
69257 if ac_fn_cxx_try_compile "$LINENO"; then :
69258 glibcxx_cv_func_expl_use=yes
69259 else
69260 glibcxx_cv_func_expl_use=no
69262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69263 ac_ext=c
69264 ac_cpp='$CPP $CPPFLAGS'
69265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
69274 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
69276 if test x$glibcxx_cv_func_expl_use = x"yes"; then
69277 for ac_func in expl
69278 do :
69279 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
69280 if test "x$ac_cv_func_expl" = x""yes; then :
69281 cat >>confdefs.h <<_ACEOF
69282 #define HAVE_EXPL 1
69283 _ACEOF
69286 done
69288 else
69290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
69291 $as_echo_n "checking for _expl declaration... " >&6; }
69292 if test x${glibcxx_cv_func__expl_use+set} != xset; then
69293 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
69294 $as_echo_n "(cached) " >&6
69295 else
69298 ac_ext=cpp
69299 ac_cpp='$CXXCPP $CPPFLAGS'
69300 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69301 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69302 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69305 /* end confdefs.h. */
69306 #include <math.h>
69307 #ifdef HAVE_IEEEFP_H
69308 #include <ieeefp.h>
69309 #endif
69312 main ()
69314 _expl(0);
69316 return 0;
69318 _ACEOF
69319 if ac_fn_cxx_try_compile "$LINENO"; then :
69320 glibcxx_cv_func__expl_use=yes
69321 else
69322 glibcxx_cv_func__expl_use=no
69324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69325 ac_ext=c
69326 ac_cpp='$CPP $CPPFLAGS'
69327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
69336 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
69338 if test x$glibcxx_cv_func__expl_use = x"yes"; then
69339 for ac_func in _expl
69340 do :
69341 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
69342 if test "x$ac_cv_func__expl" = x""yes; then :
69343 cat >>confdefs.h <<_ACEOF
69344 #define HAVE__EXPL 1
69345 _ACEOF
69348 done
69357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
69358 $as_echo_n "checking for fabsl declaration... " >&6; }
69359 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
69360 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
69361 $as_echo_n "(cached) " >&6
69362 else
69365 ac_ext=cpp
69366 ac_cpp='$CXXCPP $CPPFLAGS'
69367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69372 /* end confdefs.h. */
69373 #include <math.h>
69374 #ifdef HAVE_IEEEFP_H
69375 #include <ieeefp.h>
69376 #endif
69379 main ()
69381 fabsl(0);
69383 return 0;
69385 _ACEOF
69386 if ac_fn_cxx_try_compile "$LINENO"; then :
69387 glibcxx_cv_func_fabsl_use=yes
69388 else
69389 glibcxx_cv_func_fabsl_use=no
69391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69392 ac_ext=c
69393 ac_cpp='$CPP $CPPFLAGS'
69394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
69403 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
69405 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
69406 for ac_func in fabsl
69407 do :
69408 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
69409 if test "x$ac_cv_func_fabsl" = x""yes; then :
69410 cat >>confdefs.h <<_ACEOF
69411 #define HAVE_FABSL 1
69412 _ACEOF
69415 done
69417 else
69419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
69420 $as_echo_n "checking for _fabsl declaration... " >&6; }
69421 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
69422 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
69423 $as_echo_n "(cached) " >&6
69424 else
69427 ac_ext=cpp
69428 ac_cpp='$CXXCPP $CPPFLAGS'
69429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69434 /* end confdefs.h. */
69435 #include <math.h>
69436 #ifdef HAVE_IEEEFP_H
69437 #include <ieeefp.h>
69438 #endif
69441 main ()
69443 _fabsl(0);
69445 return 0;
69447 _ACEOF
69448 if ac_fn_cxx_try_compile "$LINENO"; then :
69449 glibcxx_cv_func__fabsl_use=yes
69450 else
69451 glibcxx_cv_func__fabsl_use=no
69453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69454 ac_ext=c
69455 ac_cpp='$CPP $CPPFLAGS'
69456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
69465 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
69467 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
69468 for ac_func in _fabsl
69469 do :
69470 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
69471 if test "x$ac_cv_func__fabsl" = x""yes; then :
69472 cat >>confdefs.h <<_ACEOF
69473 #define HAVE__FABSL 1
69474 _ACEOF
69477 done
69486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
69487 $as_echo_n "checking for fmodl declaration... " >&6; }
69488 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
69489 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
69490 $as_echo_n "(cached) " >&6
69491 else
69494 ac_ext=cpp
69495 ac_cpp='$CXXCPP $CPPFLAGS'
69496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69501 /* end confdefs.h. */
69502 #include <math.h>
69504 main ()
69506 fmodl(0, 0);
69508 return 0;
69510 _ACEOF
69511 if ac_fn_cxx_try_compile "$LINENO"; then :
69512 glibcxx_cv_func_fmodl_use=yes
69513 else
69514 glibcxx_cv_func_fmodl_use=no
69516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69517 ac_ext=c
69518 ac_cpp='$CPP $CPPFLAGS'
69519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
69528 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
69530 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
69531 for ac_func in fmodl
69532 do :
69533 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
69534 if test "x$ac_cv_func_fmodl" = x""yes; then :
69535 cat >>confdefs.h <<_ACEOF
69536 #define HAVE_FMODL 1
69537 _ACEOF
69540 done
69542 else
69544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
69545 $as_echo_n "checking for _fmodl declaration... " >&6; }
69546 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
69547 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
69548 $as_echo_n "(cached) " >&6
69549 else
69552 ac_ext=cpp
69553 ac_cpp='$CXXCPP $CPPFLAGS'
69554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69559 /* end confdefs.h. */
69560 #include <math.h>
69562 main ()
69564 _fmodl(0, 0);
69566 return 0;
69568 _ACEOF
69569 if ac_fn_cxx_try_compile "$LINENO"; then :
69570 glibcxx_cv_func__fmodl_use=yes
69571 else
69572 glibcxx_cv_func__fmodl_use=no
69574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69575 ac_ext=c
69576 ac_cpp='$CPP $CPPFLAGS'
69577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
69586 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
69588 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
69589 for ac_func in _fmodl
69590 do :
69591 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
69592 if test "x$ac_cv_func__fmodl" = x""yes; then :
69593 cat >>confdefs.h <<_ACEOF
69594 #define HAVE__FMODL 1
69595 _ACEOF
69598 done
69607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
69608 $as_echo_n "checking for frexpl declaration... " >&6; }
69609 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
69610 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
69611 $as_echo_n "(cached) " >&6
69612 else
69615 ac_ext=cpp
69616 ac_cpp='$CXXCPP $CPPFLAGS'
69617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69622 /* end confdefs.h. */
69623 #include <math.h>
69625 main ()
69627 frexpl(0, 0);
69629 return 0;
69631 _ACEOF
69632 if ac_fn_cxx_try_compile "$LINENO"; then :
69633 glibcxx_cv_func_frexpl_use=yes
69634 else
69635 glibcxx_cv_func_frexpl_use=no
69637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69638 ac_ext=c
69639 ac_cpp='$CPP $CPPFLAGS'
69640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
69649 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
69651 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
69652 for ac_func in frexpl
69653 do :
69654 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
69655 if test "x$ac_cv_func_frexpl" = x""yes; then :
69656 cat >>confdefs.h <<_ACEOF
69657 #define HAVE_FREXPL 1
69658 _ACEOF
69661 done
69663 else
69665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
69666 $as_echo_n "checking for _frexpl declaration... " >&6; }
69667 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
69668 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
69669 $as_echo_n "(cached) " >&6
69670 else
69673 ac_ext=cpp
69674 ac_cpp='$CXXCPP $CPPFLAGS'
69675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69680 /* end confdefs.h. */
69681 #include <math.h>
69683 main ()
69685 _frexpl(0, 0);
69687 return 0;
69689 _ACEOF
69690 if ac_fn_cxx_try_compile "$LINENO"; then :
69691 glibcxx_cv_func__frexpl_use=yes
69692 else
69693 glibcxx_cv_func__frexpl_use=no
69695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69696 ac_ext=c
69697 ac_cpp='$CPP $CPPFLAGS'
69698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
69707 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
69709 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
69710 for ac_func in _frexpl
69711 do :
69712 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
69713 if test "x$ac_cv_func__frexpl" = x""yes; then :
69714 cat >>confdefs.h <<_ACEOF
69715 #define HAVE__FREXPL 1
69716 _ACEOF
69719 done
69728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
69729 $as_echo_n "checking for hypotl declaration... " >&6; }
69730 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
69731 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
69732 $as_echo_n "(cached) " >&6
69733 else
69736 ac_ext=cpp
69737 ac_cpp='$CXXCPP $CPPFLAGS'
69738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69743 /* end confdefs.h. */
69744 #include <math.h>
69746 main ()
69748 hypotl(0, 0);
69750 return 0;
69752 _ACEOF
69753 if ac_fn_cxx_try_compile "$LINENO"; then :
69754 glibcxx_cv_func_hypotl_use=yes
69755 else
69756 glibcxx_cv_func_hypotl_use=no
69758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69759 ac_ext=c
69760 ac_cpp='$CPP $CPPFLAGS'
69761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
69770 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
69772 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
69773 for ac_func in hypotl
69774 do :
69775 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
69776 if test "x$ac_cv_func_hypotl" = x""yes; then :
69777 cat >>confdefs.h <<_ACEOF
69778 #define HAVE_HYPOTL 1
69779 _ACEOF
69782 done
69784 else
69786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
69787 $as_echo_n "checking for _hypotl declaration... " >&6; }
69788 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
69789 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
69790 $as_echo_n "(cached) " >&6
69791 else
69794 ac_ext=cpp
69795 ac_cpp='$CXXCPP $CPPFLAGS'
69796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69801 /* end confdefs.h. */
69802 #include <math.h>
69804 main ()
69806 _hypotl(0, 0);
69808 return 0;
69810 _ACEOF
69811 if ac_fn_cxx_try_compile "$LINENO"; then :
69812 glibcxx_cv_func__hypotl_use=yes
69813 else
69814 glibcxx_cv_func__hypotl_use=no
69816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69817 ac_ext=c
69818 ac_cpp='$CPP $CPPFLAGS'
69819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
69828 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
69830 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
69831 for ac_func in _hypotl
69832 do :
69833 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
69834 if test "x$ac_cv_func__hypotl" = x""yes; then :
69835 cat >>confdefs.h <<_ACEOF
69836 #define HAVE__HYPOTL 1
69837 _ACEOF
69840 done
69849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
69850 $as_echo_n "checking for ldexpl declaration... " >&6; }
69851 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
69852 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
69853 $as_echo_n "(cached) " >&6
69854 else
69857 ac_ext=cpp
69858 ac_cpp='$CXXCPP $CPPFLAGS'
69859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69864 /* end confdefs.h. */
69865 #include <math.h>
69867 main ()
69869 ldexpl(0, 0);
69871 return 0;
69873 _ACEOF
69874 if ac_fn_cxx_try_compile "$LINENO"; then :
69875 glibcxx_cv_func_ldexpl_use=yes
69876 else
69877 glibcxx_cv_func_ldexpl_use=no
69879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69880 ac_ext=c
69881 ac_cpp='$CPP $CPPFLAGS'
69882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
69891 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
69893 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
69894 for ac_func in ldexpl
69895 do :
69896 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
69897 if test "x$ac_cv_func_ldexpl" = x""yes; then :
69898 cat >>confdefs.h <<_ACEOF
69899 #define HAVE_LDEXPL 1
69900 _ACEOF
69903 done
69905 else
69907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
69908 $as_echo_n "checking for _ldexpl declaration... " >&6; }
69909 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
69910 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
69911 $as_echo_n "(cached) " >&6
69912 else
69915 ac_ext=cpp
69916 ac_cpp='$CXXCPP $CPPFLAGS'
69917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69922 /* end confdefs.h. */
69923 #include <math.h>
69925 main ()
69927 _ldexpl(0, 0);
69929 return 0;
69931 _ACEOF
69932 if ac_fn_cxx_try_compile "$LINENO"; then :
69933 glibcxx_cv_func__ldexpl_use=yes
69934 else
69935 glibcxx_cv_func__ldexpl_use=no
69937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69938 ac_ext=c
69939 ac_cpp='$CPP $CPPFLAGS'
69940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
69949 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
69951 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
69952 for ac_func in _ldexpl
69953 do :
69954 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
69955 if test "x$ac_cv_func__ldexpl" = x""yes; then :
69956 cat >>confdefs.h <<_ACEOF
69957 #define HAVE__LDEXPL 1
69958 _ACEOF
69961 done
69970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
69971 $as_echo_n "checking for logl declaration... " >&6; }
69972 if test x${glibcxx_cv_func_logl_use+set} != xset; then
69973 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
69974 $as_echo_n "(cached) " >&6
69975 else
69978 ac_ext=cpp
69979 ac_cpp='$CXXCPP $CPPFLAGS'
69980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69985 /* end confdefs.h. */
69986 #include <math.h>
69987 #ifdef HAVE_IEEEFP_H
69988 #include <ieeefp.h>
69989 #endif
69992 main ()
69994 logl(0);
69996 return 0;
69998 _ACEOF
69999 if ac_fn_cxx_try_compile "$LINENO"; then :
70000 glibcxx_cv_func_logl_use=yes
70001 else
70002 glibcxx_cv_func_logl_use=no
70004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70005 ac_ext=c
70006 ac_cpp='$CPP $CPPFLAGS'
70007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
70016 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
70018 if test x$glibcxx_cv_func_logl_use = x"yes"; then
70019 for ac_func in logl
70020 do :
70021 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
70022 if test "x$ac_cv_func_logl" = x""yes; then :
70023 cat >>confdefs.h <<_ACEOF
70024 #define HAVE_LOGL 1
70025 _ACEOF
70028 done
70030 else
70032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
70033 $as_echo_n "checking for _logl declaration... " >&6; }
70034 if test x${glibcxx_cv_func__logl_use+set} != xset; then
70035 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
70036 $as_echo_n "(cached) " >&6
70037 else
70040 ac_ext=cpp
70041 ac_cpp='$CXXCPP $CPPFLAGS'
70042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70047 /* end confdefs.h. */
70048 #include <math.h>
70049 #ifdef HAVE_IEEEFP_H
70050 #include <ieeefp.h>
70051 #endif
70054 main ()
70056 _logl(0);
70058 return 0;
70060 _ACEOF
70061 if ac_fn_cxx_try_compile "$LINENO"; then :
70062 glibcxx_cv_func__logl_use=yes
70063 else
70064 glibcxx_cv_func__logl_use=no
70066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70067 ac_ext=c
70068 ac_cpp='$CPP $CPPFLAGS'
70069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
70078 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
70080 if test x$glibcxx_cv_func__logl_use = x"yes"; then
70081 for ac_func in _logl
70082 do :
70083 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
70084 if test "x$ac_cv_func__logl" = x""yes; then :
70085 cat >>confdefs.h <<_ACEOF
70086 #define HAVE__LOGL 1
70087 _ACEOF
70090 done
70099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
70100 $as_echo_n "checking for log10l declaration... " >&6; }
70101 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
70102 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
70103 $as_echo_n "(cached) " >&6
70104 else
70107 ac_ext=cpp
70108 ac_cpp='$CXXCPP $CPPFLAGS'
70109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70114 /* end confdefs.h. */
70115 #include <math.h>
70116 #ifdef HAVE_IEEEFP_H
70117 #include <ieeefp.h>
70118 #endif
70121 main ()
70123 log10l(0);
70125 return 0;
70127 _ACEOF
70128 if ac_fn_cxx_try_compile "$LINENO"; then :
70129 glibcxx_cv_func_log10l_use=yes
70130 else
70131 glibcxx_cv_func_log10l_use=no
70133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70134 ac_ext=c
70135 ac_cpp='$CPP $CPPFLAGS'
70136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
70145 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
70147 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
70148 for ac_func in log10l
70149 do :
70150 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
70151 if test "x$ac_cv_func_log10l" = x""yes; then :
70152 cat >>confdefs.h <<_ACEOF
70153 #define HAVE_LOG10L 1
70154 _ACEOF
70157 done
70159 else
70161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
70162 $as_echo_n "checking for _log10l declaration... " >&6; }
70163 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
70164 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
70165 $as_echo_n "(cached) " >&6
70166 else
70169 ac_ext=cpp
70170 ac_cpp='$CXXCPP $CPPFLAGS'
70171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70176 /* end confdefs.h. */
70177 #include <math.h>
70178 #ifdef HAVE_IEEEFP_H
70179 #include <ieeefp.h>
70180 #endif
70183 main ()
70185 _log10l(0);
70187 return 0;
70189 _ACEOF
70190 if ac_fn_cxx_try_compile "$LINENO"; then :
70191 glibcxx_cv_func__log10l_use=yes
70192 else
70193 glibcxx_cv_func__log10l_use=no
70195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70196 ac_ext=c
70197 ac_cpp='$CPP $CPPFLAGS'
70198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
70207 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
70209 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
70210 for ac_func in _log10l
70211 do :
70212 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
70213 if test "x$ac_cv_func__log10l" = x""yes; then :
70214 cat >>confdefs.h <<_ACEOF
70215 #define HAVE__LOG10L 1
70216 _ACEOF
70219 done
70228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
70229 $as_echo_n "checking for modfl declaration... " >&6; }
70230 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
70231 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
70232 $as_echo_n "(cached) " >&6
70233 else
70236 ac_ext=cpp
70237 ac_cpp='$CXXCPP $CPPFLAGS'
70238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70243 /* end confdefs.h. */
70244 #include <math.h>
70246 main ()
70248 modfl(0, 0);
70250 return 0;
70252 _ACEOF
70253 if ac_fn_cxx_try_compile "$LINENO"; then :
70254 glibcxx_cv_func_modfl_use=yes
70255 else
70256 glibcxx_cv_func_modfl_use=no
70258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70259 ac_ext=c
70260 ac_cpp='$CPP $CPPFLAGS'
70261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
70270 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
70272 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
70273 for ac_func in modfl
70274 do :
70275 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
70276 if test "x$ac_cv_func_modfl" = x""yes; then :
70277 cat >>confdefs.h <<_ACEOF
70278 #define HAVE_MODFL 1
70279 _ACEOF
70282 done
70284 else
70286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
70287 $as_echo_n "checking for _modfl declaration... " >&6; }
70288 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
70289 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
70290 $as_echo_n "(cached) " >&6
70291 else
70294 ac_ext=cpp
70295 ac_cpp='$CXXCPP $CPPFLAGS'
70296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70301 /* end confdefs.h. */
70302 #include <math.h>
70304 main ()
70306 _modfl(0, 0);
70308 return 0;
70310 _ACEOF
70311 if ac_fn_cxx_try_compile "$LINENO"; then :
70312 glibcxx_cv_func__modfl_use=yes
70313 else
70314 glibcxx_cv_func__modfl_use=no
70316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70317 ac_ext=c
70318 ac_cpp='$CPP $CPPFLAGS'
70319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
70328 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
70330 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
70331 for ac_func in _modfl
70332 do :
70333 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
70334 if test "x$ac_cv_func__modfl" = x""yes; then :
70335 cat >>confdefs.h <<_ACEOF
70336 #define HAVE__MODFL 1
70337 _ACEOF
70340 done
70349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
70350 $as_echo_n "checking for powl declaration... " >&6; }
70351 if test x${glibcxx_cv_func_powl_use+set} != xset; then
70352 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
70353 $as_echo_n "(cached) " >&6
70354 else
70357 ac_ext=cpp
70358 ac_cpp='$CXXCPP $CPPFLAGS'
70359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70364 /* end confdefs.h. */
70365 #include <math.h>
70367 main ()
70369 powl(0, 0);
70371 return 0;
70373 _ACEOF
70374 if ac_fn_cxx_try_compile "$LINENO"; then :
70375 glibcxx_cv_func_powl_use=yes
70376 else
70377 glibcxx_cv_func_powl_use=no
70379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70380 ac_ext=c
70381 ac_cpp='$CPP $CPPFLAGS'
70382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
70391 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
70393 if test x$glibcxx_cv_func_powl_use = x"yes"; then
70394 for ac_func in powl
70395 do :
70396 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
70397 if test "x$ac_cv_func_powl" = x""yes; then :
70398 cat >>confdefs.h <<_ACEOF
70399 #define HAVE_POWL 1
70400 _ACEOF
70403 done
70405 else
70407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
70408 $as_echo_n "checking for _powl declaration... " >&6; }
70409 if test x${glibcxx_cv_func__powl_use+set} != xset; then
70410 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
70411 $as_echo_n "(cached) " >&6
70412 else
70415 ac_ext=cpp
70416 ac_cpp='$CXXCPP $CPPFLAGS'
70417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70422 /* end confdefs.h. */
70423 #include <math.h>
70425 main ()
70427 _powl(0, 0);
70429 return 0;
70431 _ACEOF
70432 if ac_fn_cxx_try_compile "$LINENO"; then :
70433 glibcxx_cv_func__powl_use=yes
70434 else
70435 glibcxx_cv_func__powl_use=no
70437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70438 ac_ext=c
70439 ac_cpp='$CPP $CPPFLAGS'
70440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
70449 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
70451 if test x$glibcxx_cv_func__powl_use = x"yes"; then
70452 for ac_func in _powl
70453 do :
70454 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
70455 if test "x$ac_cv_func__powl" = x""yes; then :
70456 cat >>confdefs.h <<_ACEOF
70457 #define HAVE__POWL 1
70458 _ACEOF
70461 done
70470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
70471 $as_echo_n "checking for sqrtl declaration... " >&6; }
70472 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
70473 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
70474 $as_echo_n "(cached) " >&6
70475 else
70478 ac_ext=cpp
70479 ac_cpp='$CXXCPP $CPPFLAGS'
70480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70485 /* end confdefs.h. */
70486 #include <math.h>
70487 #ifdef HAVE_IEEEFP_H
70488 #include <ieeefp.h>
70489 #endif
70492 main ()
70494 sqrtl(0);
70496 return 0;
70498 _ACEOF
70499 if ac_fn_cxx_try_compile "$LINENO"; then :
70500 glibcxx_cv_func_sqrtl_use=yes
70501 else
70502 glibcxx_cv_func_sqrtl_use=no
70504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70505 ac_ext=c
70506 ac_cpp='$CPP $CPPFLAGS'
70507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
70516 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
70518 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
70519 for ac_func in sqrtl
70520 do :
70521 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
70522 if test "x$ac_cv_func_sqrtl" = x""yes; then :
70523 cat >>confdefs.h <<_ACEOF
70524 #define HAVE_SQRTL 1
70525 _ACEOF
70528 done
70530 else
70532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
70533 $as_echo_n "checking for _sqrtl declaration... " >&6; }
70534 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
70535 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
70536 $as_echo_n "(cached) " >&6
70537 else
70540 ac_ext=cpp
70541 ac_cpp='$CXXCPP $CPPFLAGS'
70542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70547 /* end confdefs.h. */
70548 #include <math.h>
70549 #ifdef HAVE_IEEEFP_H
70550 #include <ieeefp.h>
70551 #endif
70554 main ()
70556 _sqrtl(0);
70558 return 0;
70560 _ACEOF
70561 if ac_fn_cxx_try_compile "$LINENO"; then :
70562 glibcxx_cv_func__sqrtl_use=yes
70563 else
70564 glibcxx_cv_func__sqrtl_use=no
70566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70567 ac_ext=c
70568 ac_cpp='$CPP $CPPFLAGS'
70569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
70578 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
70580 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
70581 for ac_func in _sqrtl
70582 do :
70583 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
70584 if test "x$ac_cv_func__sqrtl" = x""yes; then :
70585 cat >>confdefs.h <<_ACEOF
70586 #define HAVE__SQRTL 1
70587 _ACEOF
70590 done
70599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
70600 $as_echo_n "checking for sincosl declaration... " >&6; }
70601 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
70602 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
70603 $as_echo_n "(cached) " >&6
70604 else
70607 ac_ext=cpp
70608 ac_cpp='$CXXCPP $CPPFLAGS'
70609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70614 /* end confdefs.h. */
70615 #include <math.h>
70617 main ()
70619 sincosl(0, 0, 0);
70621 return 0;
70623 _ACEOF
70624 if ac_fn_cxx_try_compile "$LINENO"; then :
70625 glibcxx_cv_func_sincosl_use=yes
70626 else
70627 glibcxx_cv_func_sincosl_use=no
70629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70630 ac_ext=c
70631 ac_cpp='$CPP $CPPFLAGS'
70632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
70641 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
70643 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
70644 for ac_func in sincosl
70645 do :
70646 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
70647 if test "x$ac_cv_func_sincosl" = x""yes; then :
70648 cat >>confdefs.h <<_ACEOF
70649 #define HAVE_SINCOSL 1
70650 _ACEOF
70653 done
70655 else
70657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
70658 $as_echo_n "checking for _sincosl declaration... " >&6; }
70659 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
70660 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
70661 $as_echo_n "(cached) " >&6
70662 else
70665 ac_ext=cpp
70666 ac_cpp='$CXXCPP $CPPFLAGS'
70667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70672 /* end confdefs.h. */
70673 #include <math.h>
70675 main ()
70677 _sincosl(0, 0, 0);
70679 return 0;
70681 _ACEOF
70682 if ac_fn_cxx_try_compile "$LINENO"; then :
70683 glibcxx_cv_func__sincosl_use=yes
70684 else
70685 glibcxx_cv_func__sincosl_use=no
70687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70688 ac_ext=c
70689 ac_cpp='$CPP $CPPFLAGS'
70690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
70699 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
70701 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
70702 for ac_func in _sincosl
70703 do :
70704 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
70705 if test "x$ac_cv_func__sincosl" = x""yes; then :
70706 cat >>confdefs.h <<_ACEOF
70707 #define HAVE__SINCOSL 1
70708 _ACEOF
70711 done
70720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
70721 $as_echo_n "checking for finitel declaration... " >&6; }
70722 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
70723 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
70724 $as_echo_n "(cached) " >&6
70725 else
70728 ac_ext=cpp
70729 ac_cpp='$CXXCPP $CPPFLAGS'
70730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70735 /* end confdefs.h. */
70736 #include <math.h>
70737 #ifdef HAVE_IEEEFP_H
70738 #include <ieeefp.h>
70739 #endif
70742 main ()
70744 finitel(0);
70746 return 0;
70748 _ACEOF
70749 if ac_fn_cxx_try_compile "$LINENO"; then :
70750 glibcxx_cv_func_finitel_use=yes
70751 else
70752 glibcxx_cv_func_finitel_use=no
70754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70755 ac_ext=c
70756 ac_cpp='$CPP $CPPFLAGS'
70757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
70766 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
70768 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
70769 for ac_func in finitel
70770 do :
70771 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
70772 if test "x$ac_cv_func_finitel" = x""yes; then :
70773 cat >>confdefs.h <<_ACEOF
70774 #define HAVE_FINITEL 1
70775 _ACEOF
70778 done
70780 else
70782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
70783 $as_echo_n "checking for _finitel declaration... " >&6; }
70784 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
70785 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
70786 $as_echo_n "(cached) " >&6
70787 else
70790 ac_ext=cpp
70791 ac_cpp='$CXXCPP $CPPFLAGS'
70792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70797 /* end confdefs.h. */
70798 #include <math.h>
70799 #ifdef HAVE_IEEEFP_H
70800 #include <ieeefp.h>
70801 #endif
70804 main ()
70806 _finitel(0);
70808 return 0;
70810 _ACEOF
70811 if ac_fn_cxx_try_compile "$LINENO"; then :
70812 glibcxx_cv_func__finitel_use=yes
70813 else
70814 glibcxx_cv_func__finitel_use=no
70816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70817 ac_ext=c
70818 ac_cpp='$CPP $CPPFLAGS'
70819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
70828 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
70830 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
70831 for ac_func in _finitel
70832 do :
70833 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
70834 if test "x$ac_cv_func__finitel" = x""yes; then :
70835 cat >>confdefs.h <<_ACEOF
70836 #define HAVE__FINITEL 1
70837 _ACEOF
70840 done
70848 LIBS="$ac_save_LIBS"
70849 CXXFLAGS="$ac_save_CXXFLAGS"
70852 ac_test_CXXFLAGS="${CXXFLAGS+set}"
70853 ac_save_CXXFLAGS="$CXXFLAGS"
70854 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
70857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
70858 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
70859 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
70860 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
70861 $as_echo_n "(cached) " >&6
70862 else
70865 ac_ext=cpp
70866 ac_cpp='$CXXCPP $CPPFLAGS'
70867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70872 /* end confdefs.h. */
70873 #include <stdlib.h>
70875 main ()
70877 at_quick_exit(0);
70879 return 0;
70881 _ACEOF
70882 if ac_fn_cxx_try_compile "$LINENO"; then :
70883 glibcxx_cv_func_at_quick_exit_use=yes
70884 else
70885 glibcxx_cv_func_at_quick_exit_use=no
70887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70888 ac_ext=c
70889 ac_cpp='$CPP $CPPFLAGS'
70890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
70899 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
70900 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
70901 for ac_func in at_quick_exit
70902 do :
70903 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
70904 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
70905 cat >>confdefs.h <<_ACEOF
70906 #define HAVE_AT_QUICK_EXIT 1
70907 _ACEOF
70910 done
70915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
70916 $as_echo_n "checking for quick_exit declaration... " >&6; }
70917 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
70918 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
70919 $as_echo_n "(cached) " >&6
70920 else
70923 ac_ext=cpp
70924 ac_cpp='$CXXCPP $CPPFLAGS'
70925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70930 /* end confdefs.h. */
70931 #include <stdlib.h>
70933 main ()
70935 quick_exit(0);
70937 return 0;
70939 _ACEOF
70940 if ac_fn_cxx_try_compile "$LINENO"; then :
70941 glibcxx_cv_func_quick_exit_use=yes
70942 else
70943 glibcxx_cv_func_quick_exit_use=no
70945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70946 ac_ext=c
70947 ac_cpp='$CPP $CPPFLAGS'
70948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
70957 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
70958 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
70959 for ac_func in quick_exit
70960 do :
70961 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
70962 if test "x$ac_cv_func_quick_exit" = x""yes; then :
70963 cat >>confdefs.h <<_ACEOF
70964 #define HAVE_QUICK_EXIT 1
70965 _ACEOF
70968 done
70973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
70974 $as_echo_n "checking for strtold declaration... " >&6; }
70975 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
70976 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
70977 $as_echo_n "(cached) " >&6
70978 else
70981 ac_ext=cpp
70982 ac_cpp='$CXXCPP $CPPFLAGS'
70983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70988 /* end confdefs.h. */
70989 #include <stdlib.h>
70991 main ()
70993 strtold(0, 0);
70995 return 0;
70997 _ACEOF
70998 if ac_fn_cxx_try_compile "$LINENO"; then :
70999 glibcxx_cv_func_strtold_use=yes
71000 else
71001 glibcxx_cv_func_strtold_use=no
71003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71004 ac_ext=c
71005 ac_cpp='$CPP $CPPFLAGS'
71006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
71015 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
71016 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
71017 for ac_func in strtold
71018 do :
71019 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
71020 if test "x$ac_cv_func_strtold" = x""yes; then :
71021 cat >>confdefs.h <<_ACEOF
71022 #define HAVE_STRTOLD 1
71023 _ACEOF
71026 done
71033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
71034 $as_echo_n "checking for strtof declaration... " >&6; }
71035 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
71036 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
71037 $as_echo_n "(cached) " >&6
71038 else
71041 ac_ext=cpp
71042 ac_cpp='$CXXCPP $CPPFLAGS'
71043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71048 /* end confdefs.h. */
71049 #include <stdlib.h>
71051 main ()
71053 strtof(0, 0);
71055 return 0;
71057 _ACEOF
71058 if ac_fn_cxx_try_compile "$LINENO"; then :
71059 glibcxx_cv_func_strtof_use=yes
71060 else
71061 glibcxx_cv_func_strtof_use=no
71063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71064 ac_ext=c
71065 ac_cpp='$CPP $CPPFLAGS'
71066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
71075 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
71076 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
71077 for ac_func in strtof
71078 do :
71079 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
71080 if test "x$ac_cv_func_strtof" = x""yes; then :
71081 cat >>confdefs.h <<_ACEOF
71082 #define HAVE_STRTOF 1
71083 _ACEOF
71086 done
71093 CXXFLAGS="$ac_save_CXXFLAGS"
71096 *-solaris*)
71098 # If we're not using GNU ld, then there's no point in even trying these
71099 # tests. Check for that first. We should have already tested for gld
71100 # by now (in libtool), but require it now just to be safe...
71101 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
71102 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
71106 # The name set by libtool depends on the version of libtool. Shame on us
71107 # for depending on an impl detail, but c'est la vie. Older versions used
71108 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
71109 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
71110 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
71111 # set (hence we're using an older libtool), then set it.
71112 if test x${with_gnu_ld+set} != xset; then
71113 if test x${ac_cv_prog_gnu_ld+set} != xset; then
71114 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
71115 with_gnu_ld=no
71116 else
71117 with_gnu_ld=$ac_cv_prog_gnu_ld
71121 # Start by getting the version number. I think the libtool test already
71122 # does some of this, but throws away the result.
71123 glibcxx_ld_is_gold=no
71124 if test x"$with_gnu_ld" = x"yes"; then
71125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
71126 $as_echo_n "checking for ld version... " >&6; }
71128 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
71129 glibcxx_ld_is_gold=yes
71131 ldver=`$LD --version 2>/dev/null |
71132 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'`
71134 glibcxx_gnu_ld_version=`echo $ldver | \
71135 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
71136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
71137 $as_echo "$glibcxx_gnu_ld_version" >&6; }
71140 # Set --gc-sections.
71141 glibcxx_have_gc_sections=no
71142 if test "$glibcxx_ld_is_gold" = "yes"; then
71143 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
71144 glibcxx_have_gc_sections=yes
71146 else
71147 glibcxx_gcsections_min_ld=21602
71148 if test x"$with_gnu_ld" = x"yes" &&
71149 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
71150 glibcxx_have_gc_sections=yes
71153 if test "$glibcxx_have_gc_sections" = "yes"; then
71154 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
71155 # NB: This flag only works reliably after 2.16.1. Configure tests
71156 # for this are difficult, so hard wire a value that should work.
71158 ac_test_CFLAGS="${CFLAGS+set}"
71159 ac_save_CFLAGS="$CFLAGS"
71160 CFLAGS='-Wl,--gc-sections'
71162 # Check for -Wl,--gc-sections
71163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
71164 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
71165 if test x$gcc_no_link = xyes; then
71166 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71169 /* end confdefs.h. */
71170 int one(void) { return 1; }
71171 int two(void) { return 2; }
71174 main ()
71176 two();
71178 return 0;
71180 _ACEOF
71181 if ac_fn_c_try_link "$LINENO"; then :
71182 ac_gcsections=yes
71183 else
71184 ac_gcsections=no
71186 rm -f core conftest.err conftest.$ac_objext \
71187 conftest$ac_exeext conftest.$ac_ext
71188 if test "$ac_gcsections" = "yes"; then
71189 rm -f conftest.c
71190 touch conftest.c
71191 if $CC -c conftest.c; then
71192 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
71193 grep "Warning: gc-sections option ignored" > /dev/null; then
71194 ac_gcsections=no
71197 rm -f conftest.c conftest.o conftest
71199 if test "$ac_gcsections" = "yes"; then
71200 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
71202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
71203 $as_echo "$ac_gcsections" >&6; }
71205 if test "$ac_test_CFLAGS" = set; then
71206 CFLAGS="$ac_save_CFLAGS"
71207 else
71208 # this is the suspicious part
71209 CFLAGS=''
71213 # Set -z,relro.
71214 # Note this is only for shared objects.
71215 ac_ld_relro=no
71216 if test x"$with_gnu_ld" = x"yes"; then
71217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
71218 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
71219 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
71220 if test -n "$cxx_z_relo"; then
71221 OPT_LDFLAGS="-Wl,-z,relro"
71222 ac_ld_relro=yes
71224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
71225 $as_echo "$ac_ld_relro" >&6; }
71228 # Set linker optimization flags.
71229 if test x"$with_gnu_ld" = x"yes"; then
71230 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
71236 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
71238 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
71240 $as_echo "#define HAVE_FPCLASS 1" >>confdefs.h
71242 # All of the dependencies for wide character support are here, so
71243 # turn it on.
71244 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
71246 # These two C99 functions are present only in Solaris >= 10
71247 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
71249 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
71251 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
71253 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
71255 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
71257 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
71260 *-tpf)
71261 SECTION_FLAGS='-ffunction-sections -fdata-sections'
71262 SECTION_LDFLAGS='-Wl,--gc-sections $SECTION_LDFLAGS'
71264 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
71266 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
71268 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
71270 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
71272 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
71274 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
71276 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
71278 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
71280 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
71282 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
71284 if test x"long_double_math_on_this_cpu" = x"yes"; then
71285 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
71287 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
71289 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
71291 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
71295 *-*vms*)
71296 # Check for available headers.
71297 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, VMS doesn't have a GNU ld
71299 ac_test_CXXFLAGS="${CXXFLAGS+set}"
71300 ac_save_CXXFLAGS="$CXXFLAGS"
71301 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
71303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
71304 $as_echo_n "checking for sin in -lm... " >&6; }
71305 if test "${ac_cv_lib_m_sin+set}" = set; then :
71306 $as_echo_n "(cached) " >&6
71307 else
71308 ac_check_lib_save_LIBS=$LIBS
71309 LIBS="-lm $LIBS"
71310 if test x$gcc_no_link = xyes; then
71311 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71314 /* end confdefs.h. */
71316 /* Override any GCC internal prototype to avoid an error.
71317 Use char because int might match the return type of a GCC
71318 builtin and then its argument prototype would still apply. */
71319 #ifdef __cplusplus
71320 extern "C"
71321 #endif
71322 char sin ();
71324 main ()
71326 return sin ();
71328 return 0;
71330 _ACEOF
71331 if ac_fn_c_try_link "$LINENO"; then :
71332 ac_cv_lib_m_sin=yes
71333 else
71334 ac_cv_lib_m_sin=no
71336 rm -f core conftest.err conftest.$ac_objext \
71337 conftest$ac_exeext conftest.$ac_ext
71338 LIBS=$ac_check_lib_save_LIBS
71340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
71341 $as_echo "$ac_cv_lib_m_sin" >&6; }
71342 if test "x$ac_cv_lib_m_sin" = x""yes; then :
71343 libm="-lm"
71346 ac_save_LIBS="$LIBS"
71347 LIBS="$LIBS $libm"
71351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
71352 $as_echo_n "checking for isinf declaration... " >&6; }
71353 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
71354 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
71355 $as_echo_n "(cached) " >&6
71356 else
71359 ac_ext=cpp
71360 ac_cpp='$CXXCPP $CPPFLAGS'
71361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71366 /* end confdefs.h. */
71367 #include <math.h>
71368 #ifdef HAVE_IEEEFP_H
71369 #include <ieeefp.h>
71370 #endif
71373 main ()
71375 isinf(0);
71377 return 0;
71379 _ACEOF
71380 if ac_fn_cxx_try_compile "$LINENO"; then :
71381 glibcxx_cv_func_isinf_use=yes
71382 else
71383 glibcxx_cv_func_isinf_use=no
71385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71386 ac_ext=c
71387 ac_cpp='$CPP $CPPFLAGS'
71388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
71397 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
71399 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
71400 for ac_func in isinf
71401 do :
71402 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
71403 if test "x$ac_cv_func_isinf" = x""yes; then :
71404 cat >>confdefs.h <<_ACEOF
71405 #define HAVE_ISINF 1
71406 _ACEOF
71409 done
71411 else
71413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
71414 $as_echo_n "checking for _isinf declaration... " >&6; }
71415 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
71416 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
71417 $as_echo_n "(cached) " >&6
71418 else
71421 ac_ext=cpp
71422 ac_cpp='$CXXCPP $CPPFLAGS'
71423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71428 /* end confdefs.h. */
71429 #include <math.h>
71430 #ifdef HAVE_IEEEFP_H
71431 #include <ieeefp.h>
71432 #endif
71435 main ()
71437 _isinf(0);
71439 return 0;
71441 _ACEOF
71442 if ac_fn_cxx_try_compile "$LINENO"; then :
71443 glibcxx_cv_func__isinf_use=yes
71444 else
71445 glibcxx_cv_func__isinf_use=no
71447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71448 ac_ext=c
71449 ac_cpp='$CPP $CPPFLAGS'
71450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
71459 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
71461 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
71462 for ac_func in _isinf
71463 do :
71464 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
71465 if test "x$ac_cv_func__isinf" = x""yes; then :
71466 cat >>confdefs.h <<_ACEOF
71467 #define HAVE__ISINF 1
71468 _ACEOF
71471 done
71480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
71481 $as_echo_n "checking for isnan declaration... " >&6; }
71482 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
71483 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
71484 $as_echo_n "(cached) " >&6
71485 else
71488 ac_ext=cpp
71489 ac_cpp='$CXXCPP $CPPFLAGS'
71490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71495 /* end confdefs.h. */
71496 #include <math.h>
71497 #ifdef HAVE_IEEEFP_H
71498 #include <ieeefp.h>
71499 #endif
71502 main ()
71504 isnan(0);
71506 return 0;
71508 _ACEOF
71509 if ac_fn_cxx_try_compile "$LINENO"; then :
71510 glibcxx_cv_func_isnan_use=yes
71511 else
71512 glibcxx_cv_func_isnan_use=no
71514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71515 ac_ext=c
71516 ac_cpp='$CPP $CPPFLAGS'
71517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
71526 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
71528 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
71529 for ac_func in isnan
71530 do :
71531 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
71532 if test "x$ac_cv_func_isnan" = x""yes; then :
71533 cat >>confdefs.h <<_ACEOF
71534 #define HAVE_ISNAN 1
71535 _ACEOF
71538 done
71540 else
71542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
71543 $as_echo_n "checking for _isnan declaration... " >&6; }
71544 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
71545 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
71546 $as_echo_n "(cached) " >&6
71547 else
71550 ac_ext=cpp
71551 ac_cpp='$CXXCPP $CPPFLAGS'
71552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71557 /* end confdefs.h. */
71558 #include <math.h>
71559 #ifdef HAVE_IEEEFP_H
71560 #include <ieeefp.h>
71561 #endif
71564 main ()
71566 _isnan(0);
71568 return 0;
71570 _ACEOF
71571 if ac_fn_cxx_try_compile "$LINENO"; then :
71572 glibcxx_cv_func__isnan_use=yes
71573 else
71574 glibcxx_cv_func__isnan_use=no
71576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71577 ac_ext=c
71578 ac_cpp='$CPP $CPPFLAGS'
71579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
71588 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
71590 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
71591 for ac_func in _isnan
71592 do :
71593 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
71594 if test "x$ac_cv_func__isnan" = x""yes; then :
71595 cat >>confdefs.h <<_ACEOF
71596 #define HAVE__ISNAN 1
71597 _ACEOF
71600 done
71609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
71610 $as_echo_n "checking for finite declaration... " >&6; }
71611 if test x${glibcxx_cv_func_finite_use+set} != xset; then
71612 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
71613 $as_echo_n "(cached) " >&6
71614 else
71617 ac_ext=cpp
71618 ac_cpp='$CXXCPP $CPPFLAGS'
71619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71624 /* end confdefs.h. */
71625 #include <math.h>
71626 #ifdef HAVE_IEEEFP_H
71627 #include <ieeefp.h>
71628 #endif
71631 main ()
71633 finite(0);
71635 return 0;
71637 _ACEOF
71638 if ac_fn_cxx_try_compile "$LINENO"; then :
71639 glibcxx_cv_func_finite_use=yes
71640 else
71641 glibcxx_cv_func_finite_use=no
71643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71644 ac_ext=c
71645 ac_cpp='$CPP $CPPFLAGS'
71646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
71655 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
71657 if test x$glibcxx_cv_func_finite_use = x"yes"; then
71658 for ac_func in finite
71659 do :
71660 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
71661 if test "x$ac_cv_func_finite" = x""yes; then :
71662 cat >>confdefs.h <<_ACEOF
71663 #define HAVE_FINITE 1
71664 _ACEOF
71667 done
71669 else
71671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
71672 $as_echo_n "checking for _finite declaration... " >&6; }
71673 if test x${glibcxx_cv_func__finite_use+set} != xset; then
71674 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
71675 $as_echo_n "(cached) " >&6
71676 else
71679 ac_ext=cpp
71680 ac_cpp='$CXXCPP $CPPFLAGS'
71681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71686 /* end confdefs.h. */
71687 #include <math.h>
71688 #ifdef HAVE_IEEEFP_H
71689 #include <ieeefp.h>
71690 #endif
71693 main ()
71695 _finite(0);
71697 return 0;
71699 _ACEOF
71700 if ac_fn_cxx_try_compile "$LINENO"; then :
71701 glibcxx_cv_func__finite_use=yes
71702 else
71703 glibcxx_cv_func__finite_use=no
71705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71706 ac_ext=c
71707 ac_cpp='$CPP $CPPFLAGS'
71708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
71717 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
71719 if test x$glibcxx_cv_func__finite_use = x"yes"; then
71720 for ac_func in _finite
71721 do :
71722 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
71723 if test "x$ac_cv_func__finite" = x""yes; then :
71724 cat >>confdefs.h <<_ACEOF
71725 #define HAVE__FINITE 1
71726 _ACEOF
71729 done
71738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
71739 $as_echo_n "checking for sincos declaration... " >&6; }
71740 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
71741 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
71742 $as_echo_n "(cached) " >&6
71743 else
71746 ac_ext=cpp
71747 ac_cpp='$CXXCPP $CPPFLAGS'
71748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71753 /* end confdefs.h. */
71754 #include <math.h>
71756 main ()
71758 sincos(0, 0, 0);
71760 return 0;
71762 _ACEOF
71763 if ac_fn_cxx_try_compile "$LINENO"; then :
71764 glibcxx_cv_func_sincos_use=yes
71765 else
71766 glibcxx_cv_func_sincos_use=no
71768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71769 ac_ext=c
71770 ac_cpp='$CPP $CPPFLAGS'
71771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
71780 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
71782 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
71783 for ac_func in sincos
71784 do :
71785 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
71786 if test "x$ac_cv_func_sincos" = x""yes; then :
71787 cat >>confdefs.h <<_ACEOF
71788 #define HAVE_SINCOS 1
71789 _ACEOF
71792 done
71794 else
71796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
71797 $as_echo_n "checking for _sincos declaration... " >&6; }
71798 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
71799 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
71800 $as_echo_n "(cached) " >&6
71801 else
71804 ac_ext=cpp
71805 ac_cpp='$CXXCPP $CPPFLAGS'
71806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71811 /* end confdefs.h. */
71812 #include <math.h>
71814 main ()
71816 _sincos(0, 0, 0);
71818 return 0;
71820 _ACEOF
71821 if ac_fn_cxx_try_compile "$LINENO"; then :
71822 glibcxx_cv_func__sincos_use=yes
71823 else
71824 glibcxx_cv_func__sincos_use=no
71826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71827 ac_ext=c
71828 ac_cpp='$CPP $CPPFLAGS'
71829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
71838 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
71840 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
71841 for ac_func in _sincos
71842 do :
71843 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
71844 if test "x$ac_cv_func__sincos" = x""yes; then :
71845 cat >>confdefs.h <<_ACEOF
71846 #define HAVE__SINCOS 1
71847 _ACEOF
71850 done
71859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
71860 $as_echo_n "checking for fpclass declaration... " >&6; }
71861 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
71862 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
71863 $as_echo_n "(cached) " >&6
71864 else
71867 ac_ext=cpp
71868 ac_cpp='$CXXCPP $CPPFLAGS'
71869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71874 /* end confdefs.h. */
71875 #include <math.h>
71876 #ifdef HAVE_IEEEFP_H
71877 #include <ieeefp.h>
71878 #endif
71881 main ()
71883 fpclass(0);
71885 return 0;
71887 _ACEOF
71888 if ac_fn_cxx_try_compile "$LINENO"; then :
71889 glibcxx_cv_func_fpclass_use=yes
71890 else
71891 glibcxx_cv_func_fpclass_use=no
71893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71894 ac_ext=c
71895 ac_cpp='$CPP $CPPFLAGS'
71896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
71905 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
71907 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
71908 for ac_func in fpclass
71909 do :
71910 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
71911 if test "x$ac_cv_func_fpclass" = x""yes; then :
71912 cat >>confdefs.h <<_ACEOF
71913 #define HAVE_FPCLASS 1
71914 _ACEOF
71917 done
71919 else
71921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
71922 $as_echo_n "checking for _fpclass declaration... " >&6; }
71923 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
71924 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
71925 $as_echo_n "(cached) " >&6
71926 else
71929 ac_ext=cpp
71930 ac_cpp='$CXXCPP $CPPFLAGS'
71931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71936 /* end confdefs.h. */
71937 #include <math.h>
71938 #ifdef HAVE_IEEEFP_H
71939 #include <ieeefp.h>
71940 #endif
71943 main ()
71945 _fpclass(0);
71947 return 0;
71949 _ACEOF
71950 if ac_fn_cxx_try_compile "$LINENO"; then :
71951 glibcxx_cv_func__fpclass_use=yes
71952 else
71953 glibcxx_cv_func__fpclass_use=no
71955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71956 ac_ext=c
71957 ac_cpp='$CPP $CPPFLAGS'
71958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
71967 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
71969 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
71970 for ac_func in _fpclass
71971 do :
71972 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
71973 if test "x$ac_cv_func__fpclass" = x""yes; then :
71974 cat >>confdefs.h <<_ACEOF
71975 #define HAVE__FPCLASS 1
71976 _ACEOF
71979 done
71988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
71989 $as_echo_n "checking for qfpclass declaration... " >&6; }
71990 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
71991 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
71992 $as_echo_n "(cached) " >&6
71993 else
71996 ac_ext=cpp
71997 ac_cpp='$CXXCPP $CPPFLAGS'
71998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72003 /* end confdefs.h. */
72004 #include <math.h>
72005 #ifdef HAVE_IEEEFP_H
72006 #include <ieeefp.h>
72007 #endif
72010 main ()
72012 qfpclass(0);
72014 return 0;
72016 _ACEOF
72017 if ac_fn_cxx_try_compile "$LINENO"; then :
72018 glibcxx_cv_func_qfpclass_use=yes
72019 else
72020 glibcxx_cv_func_qfpclass_use=no
72022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72023 ac_ext=c
72024 ac_cpp='$CPP $CPPFLAGS'
72025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
72034 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
72036 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
72037 for ac_func in qfpclass
72038 do :
72039 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
72040 if test "x$ac_cv_func_qfpclass" = x""yes; then :
72041 cat >>confdefs.h <<_ACEOF
72042 #define HAVE_QFPCLASS 1
72043 _ACEOF
72046 done
72048 else
72050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
72051 $as_echo_n "checking for _qfpclass declaration... " >&6; }
72052 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
72053 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
72054 $as_echo_n "(cached) " >&6
72055 else
72058 ac_ext=cpp
72059 ac_cpp='$CXXCPP $CPPFLAGS'
72060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72065 /* end confdefs.h. */
72066 #include <math.h>
72067 #ifdef HAVE_IEEEFP_H
72068 #include <ieeefp.h>
72069 #endif
72072 main ()
72074 _qfpclass(0);
72076 return 0;
72078 _ACEOF
72079 if ac_fn_cxx_try_compile "$LINENO"; then :
72080 glibcxx_cv_func__qfpclass_use=yes
72081 else
72082 glibcxx_cv_func__qfpclass_use=no
72084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72085 ac_ext=c
72086 ac_cpp='$CPP $CPPFLAGS'
72087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
72096 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
72098 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
72099 for ac_func in _qfpclass
72100 do :
72101 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
72102 if test "x$ac_cv_func__qfpclass" = x""yes; then :
72103 cat >>confdefs.h <<_ACEOF
72104 #define HAVE__QFPCLASS 1
72105 _ACEOF
72108 done
72117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
72118 $as_echo_n "checking for hypot declaration... " >&6; }
72119 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
72120 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
72121 $as_echo_n "(cached) " >&6
72122 else
72125 ac_ext=cpp
72126 ac_cpp='$CXXCPP $CPPFLAGS'
72127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72132 /* end confdefs.h. */
72133 #include <math.h>
72135 main ()
72137 hypot(0, 0);
72139 return 0;
72141 _ACEOF
72142 if ac_fn_cxx_try_compile "$LINENO"; then :
72143 glibcxx_cv_func_hypot_use=yes
72144 else
72145 glibcxx_cv_func_hypot_use=no
72147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72148 ac_ext=c
72149 ac_cpp='$CPP $CPPFLAGS'
72150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
72159 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
72161 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
72162 for ac_func in hypot
72163 do :
72164 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
72165 if test "x$ac_cv_func_hypot" = x""yes; then :
72166 cat >>confdefs.h <<_ACEOF
72167 #define HAVE_HYPOT 1
72168 _ACEOF
72171 done
72173 else
72175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
72176 $as_echo_n "checking for _hypot declaration... " >&6; }
72177 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
72178 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
72179 $as_echo_n "(cached) " >&6
72180 else
72183 ac_ext=cpp
72184 ac_cpp='$CXXCPP $CPPFLAGS'
72185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72190 /* end confdefs.h. */
72191 #include <math.h>
72193 main ()
72195 _hypot(0, 0);
72197 return 0;
72199 _ACEOF
72200 if ac_fn_cxx_try_compile "$LINENO"; then :
72201 glibcxx_cv_func__hypot_use=yes
72202 else
72203 glibcxx_cv_func__hypot_use=no
72205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72206 ac_ext=c
72207 ac_cpp='$CPP $CPPFLAGS'
72208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
72217 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
72219 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
72220 for ac_func in _hypot
72221 do :
72222 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
72223 if test "x$ac_cv_func__hypot" = x""yes; then :
72224 cat >>confdefs.h <<_ACEOF
72225 #define HAVE__HYPOT 1
72226 _ACEOF
72229 done
72238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
72239 $as_echo_n "checking for float trig functions... " >&6; }
72240 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
72241 $as_echo_n "(cached) " >&6
72242 else
72245 ac_ext=cpp
72246 ac_cpp='$CXXCPP $CPPFLAGS'
72247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72252 /* end confdefs.h. */
72253 #include <math.h>
72255 main ()
72257 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
72259 return 0;
72261 _ACEOF
72262 if ac_fn_cxx_try_compile "$LINENO"; then :
72263 glibcxx_cv_func_float_trig_use=yes
72264 else
72265 glibcxx_cv_func_float_trig_use=no
72267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72268 ac_ext=c
72269 ac_cpp='$CPP $CPPFLAGS'
72270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
72277 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
72278 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
72279 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
72280 do :
72281 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
72282 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
72283 eval as_val=\$$as_ac_var
72284 if test "x$as_val" = x""yes; then :
72285 cat >>confdefs.h <<_ACEOF
72286 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
72287 _ACEOF
72290 done
72292 else
72293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
72294 $as_echo_n "checking for _float trig functions... " >&6; }
72295 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
72296 $as_echo_n "(cached) " >&6
72297 else
72300 ac_ext=cpp
72301 ac_cpp='$CXXCPP $CPPFLAGS'
72302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72307 /* end confdefs.h. */
72308 #include <math.h>
72310 main ()
72312 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
72314 return 0;
72316 _ACEOF
72317 if ac_fn_cxx_try_compile "$LINENO"; then :
72318 glibcxx_cv_func__float_trig_use=yes
72319 else
72320 glibcxx_cv_func__float_trig_use=no
72322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72323 ac_ext=c
72324 ac_cpp='$CPP $CPPFLAGS'
72325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
72332 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
72333 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
72334 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
72335 do :
72336 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
72337 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
72338 eval as_val=\$$as_ac_var
72339 if test "x$as_val" = x""yes; then :
72340 cat >>confdefs.h <<_ACEOF
72341 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
72342 _ACEOF
72345 done
72354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
72355 $as_echo_n "checking for float round functions... " >&6; }
72356 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
72357 $as_echo_n "(cached) " >&6
72358 else
72361 ac_ext=cpp
72362 ac_cpp='$CXXCPP $CPPFLAGS'
72363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72368 /* end confdefs.h. */
72369 #include <math.h>
72371 main ()
72373 ceilf (0); floorf (0);
72375 return 0;
72377 _ACEOF
72378 if ac_fn_cxx_try_compile "$LINENO"; then :
72379 glibcxx_cv_func_float_round_use=yes
72380 else
72381 glibcxx_cv_func_float_round_use=no
72383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72384 ac_ext=c
72385 ac_cpp='$CPP $CPPFLAGS'
72386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
72393 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
72394 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
72395 for ac_func in ceilf floorf
72396 do :
72397 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
72398 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
72399 eval as_val=\$$as_ac_var
72400 if test "x$as_val" = x""yes; then :
72401 cat >>confdefs.h <<_ACEOF
72402 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
72403 _ACEOF
72406 done
72408 else
72409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
72410 $as_echo_n "checking for _float round functions... " >&6; }
72411 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
72412 $as_echo_n "(cached) " >&6
72413 else
72416 ac_ext=cpp
72417 ac_cpp='$CXXCPP $CPPFLAGS'
72418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72423 /* end confdefs.h. */
72424 #include <math.h>
72426 main ()
72428 _ceilf (0); _floorf (0);
72430 return 0;
72432 _ACEOF
72433 if ac_fn_cxx_try_compile "$LINENO"; then :
72434 glibcxx_cv_func__float_round_use=yes
72435 else
72436 glibcxx_cv_func__float_round_use=no
72438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72439 ac_ext=c
72440 ac_cpp='$CPP $CPPFLAGS'
72441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
72448 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
72449 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
72450 for ac_func in _ceilf _floorf
72451 do :
72452 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
72453 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
72454 eval as_val=\$$as_ac_var
72455 if test "x$as_val" = x""yes; then :
72456 cat >>confdefs.h <<_ACEOF
72457 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
72458 _ACEOF
72461 done
72471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
72472 $as_echo_n "checking for expf declaration... " >&6; }
72473 if test x${glibcxx_cv_func_expf_use+set} != xset; then
72474 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
72475 $as_echo_n "(cached) " >&6
72476 else
72479 ac_ext=cpp
72480 ac_cpp='$CXXCPP $CPPFLAGS'
72481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72486 /* end confdefs.h. */
72487 #include <math.h>
72488 #ifdef HAVE_IEEEFP_H
72489 #include <ieeefp.h>
72490 #endif
72493 main ()
72495 expf(0);
72497 return 0;
72499 _ACEOF
72500 if ac_fn_cxx_try_compile "$LINENO"; then :
72501 glibcxx_cv_func_expf_use=yes
72502 else
72503 glibcxx_cv_func_expf_use=no
72505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72506 ac_ext=c
72507 ac_cpp='$CPP $CPPFLAGS'
72508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
72517 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
72519 if test x$glibcxx_cv_func_expf_use = x"yes"; then
72520 for ac_func in expf
72521 do :
72522 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
72523 if test "x$ac_cv_func_expf" = x""yes; then :
72524 cat >>confdefs.h <<_ACEOF
72525 #define HAVE_EXPF 1
72526 _ACEOF
72529 done
72531 else
72533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
72534 $as_echo_n "checking for _expf declaration... " >&6; }
72535 if test x${glibcxx_cv_func__expf_use+set} != xset; then
72536 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
72537 $as_echo_n "(cached) " >&6
72538 else
72541 ac_ext=cpp
72542 ac_cpp='$CXXCPP $CPPFLAGS'
72543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72548 /* end confdefs.h. */
72549 #include <math.h>
72550 #ifdef HAVE_IEEEFP_H
72551 #include <ieeefp.h>
72552 #endif
72555 main ()
72557 _expf(0);
72559 return 0;
72561 _ACEOF
72562 if ac_fn_cxx_try_compile "$LINENO"; then :
72563 glibcxx_cv_func__expf_use=yes
72564 else
72565 glibcxx_cv_func__expf_use=no
72567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72568 ac_ext=c
72569 ac_cpp='$CPP $CPPFLAGS'
72570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
72579 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
72581 if test x$glibcxx_cv_func__expf_use = x"yes"; then
72582 for ac_func in _expf
72583 do :
72584 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
72585 if test "x$ac_cv_func__expf" = x""yes; then :
72586 cat >>confdefs.h <<_ACEOF
72587 #define HAVE__EXPF 1
72588 _ACEOF
72591 done
72600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
72601 $as_echo_n "checking for isnanf declaration... " >&6; }
72602 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
72603 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
72604 $as_echo_n "(cached) " >&6
72605 else
72608 ac_ext=cpp
72609 ac_cpp='$CXXCPP $CPPFLAGS'
72610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72615 /* end confdefs.h. */
72616 #include <math.h>
72617 #ifdef HAVE_IEEEFP_H
72618 #include <ieeefp.h>
72619 #endif
72622 main ()
72624 isnanf(0);
72626 return 0;
72628 _ACEOF
72629 if ac_fn_cxx_try_compile "$LINENO"; then :
72630 glibcxx_cv_func_isnanf_use=yes
72631 else
72632 glibcxx_cv_func_isnanf_use=no
72634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72635 ac_ext=c
72636 ac_cpp='$CPP $CPPFLAGS'
72637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
72646 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
72648 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
72649 for ac_func in isnanf
72650 do :
72651 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
72652 if test "x$ac_cv_func_isnanf" = x""yes; then :
72653 cat >>confdefs.h <<_ACEOF
72654 #define HAVE_ISNANF 1
72655 _ACEOF
72658 done
72660 else
72662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
72663 $as_echo_n "checking for _isnanf declaration... " >&6; }
72664 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
72665 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
72666 $as_echo_n "(cached) " >&6
72667 else
72670 ac_ext=cpp
72671 ac_cpp='$CXXCPP $CPPFLAGS'
72672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72677 /* end confdefs.h. */
72678 #include <math.h>
72679 #ifdef HAVE_IEEEFP_H
72680 #include <ieeefp.h>
72681 #endif
72684 main ()
72686 _isnanf(0);
72688 return 0;
72690 _ACEOF
72691 if ac_fn_cxx_try_compile "$LINENO"; then :
72692 glibcxx_cv_func__isnanf_use=yes
72693 else
72694 glibcxx_cv_func__isnanf_use=no
72696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72697 ac_ext=c
72698 ac_cpp='$CPP $CPPFLAGS'
72699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
72708 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
72710 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
72711 for ac_func in _isnanf
72712 do :
72713 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
72714 if test "x$ac_cv_func__isnanf" = x""yes; then :
72715 cat >>confdefs.h <<_ACEOF
72716 #define HAVE__ISNANF 1
72717 _ACEOF
72720 done
72729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
72730 $as_echo_n "checking for isinff declaration... " >&6; }
72731 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
72732 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
72733 $as_echo_n "(cached) " >&6
72734 else
72737 ac_ext=cpp
72738 ac_cpp='$CXXCPP $CPPFLAGS'
72739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72744 /* end confdefs.h. */
72745 #include <math.h>
72746 #ifdef HAVE_IEEEFP_H
72747 #include <ieeefp.h>
72748 #endif
72751 main ()
72753 isinff(0);
72755 return 0;
72757 _ACEOF
72758 if ac_fn_cxx_try_compile "$LINENO"; then :
72759 glibcxx_cv_func_isinff_use=yes
72760 else
72761 glibcxx_cv_func_isinff_use=no
72763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72764 ac_ext=c
72765 ac_cpp='$CPP $CPPFLAGS'
72766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
72775 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
72777 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
72778 for ac_func in isinff
72779 do :
72780 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
72781 if test "x$ac_cv_func_isinff" = x""yes; then :
72782 cat >>confdefs.h <<_ACEOF
72783 #define HAVE_ISINFF 1
72784 _ACEOF
72787 done
72789 else
72791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
72792 $as_echo_n "checking for _isinff declaration... " >&6; }
72793 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
72794 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
72795 $as_echo_n "(cached) " >&6
72796 else
72799 ac_ext=cpp
72800 ac_cpp='$CXXCPP $CPPFLAGS'
72801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72806 /* end confdefs.h. */
72807 #include <math.h>
72808 #ifdef HAVE_IEEEFP_H
72809 #include <ieeefp.h>
72810 #endif
72813 main ()
72815 _isinff(0);
72817 return 0;
72819 _ACEOF
72820 if ac_fn_cxx_try_compile "$LINENO"; then :
72821 glibcxx_cv_func__isinff_use=yes
72822 else
72823 glibcxx_cv_func__isinff_use=no
72825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72826 ac_ext=c
72827 ac_cpp='$CPP $CPPFLAGS'
72828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
72837 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
72839 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
72840 for ac_func in _isinff
72841 do :
72842 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
72843 if test "x$ac_cv_func__isinff" = x""yes; then :
72844 cat >>confdefs.h <<_ACEOF
72845 #define HAVE__ISINFF 1
72846 _ACEOF
72849 done
72858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
72859 $as_echo_n "checking for atan2f declaration... " >&6; }
72860 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
72861 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
72862 $as_echo_n "(cached) " >&6
72863 else
72866 ac_ext=cpp
72867 ac_cpp='$CXXCPP $CPPFLAGS'
72868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72873 /* end confdefs.h. */
72874 #include <math.h>
72876 main ()
72878 atan2f(0, 0);
72880 return 0;
72882 _ACEOF
72883 if ac_fn_cxx_try_compile "$LINENO"; then :
72884 glibcxx_cv_func_atan2f_use=yes
72885 else
72886 glibcxx_cv_func_atan2f_use=no
72888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72889 ac_ext=c
72890 ac_cpp='$CPP $CPPFLAGS'
72891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
72900 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
72902 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
72903 for ac_func in atan2f
72904 do :
72905 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
72906 if test "x$ac_cv_func_atan2f" = x""yes; then :
72907 cat >>confdefs.h <<_ACEOF
72908 #define HAVE_ATAN2F 1
72909 _ACEOF
72912 done
72914 else
72916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
72917 $as_echo_n "checking for _atan2f declaration... " >&6; }
72918 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
72919 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
72920 $as_echo_n "(cached) " >&6
72921 else
72924 ac_ext=cpp
72925 ac_cpp='$CXXCPP $CPPFLAGS'
72926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72931 /* end confdefs.h. */
72932 #include <math.h>
72934 main ()
72936 _atan2f(0, 0);
72938 return 0;
72940 _ACEOF
72941 if ac_fn_cxx_try_compile "$LINENO"; then :
72942 glibcxx_cv_func__atan2f_use=yes
72943 else
72944 glibcxx_cv_func__atan2f_use=no
72946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72947 ac_ext=c
72948 ac_cpp='$CPP $CPPFLAGS'
72949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
72958 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
72960 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
72961 for ac_func in _atan2f
72962 do :
72963 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
72964 if test "x$ac_cv_func__atan2f" = x""yes; then :
72965 cat >>confdefs.h <<_ACEOF
72966 #define HAVE__ATAN2F 1
72967 _ACEOF
72970 done
72979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
72980 $as_echo_n "checking for fabsf declaration... " >&6; }
72981 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
72982 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
72983 $as_echo_n "(cached) " >&6
72984 else
72987 ac_ext=cpp
72988 ac_cpp='$CXXCPP $CPPFLAGS'
72989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72994 /* end confdefs.h. */
72995 #include <math.h>
72996 #ifdef HAVE_IEEEFP_H
72997 #include <ieeefp.h>
72998 #endif
73001 main ()
73003 fabsf(0);
73005 return 0;
73007 _ACEOF
73008 if ac_fn_cxx_try_compile "$LINENO"; then :
73009 glibcxx_cv_func_fabsf_use=yes
73010 else
73011 glibcxx_cv_func_fabsf_use=no
73013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73014 ac_ext=c
73015 ac_cpp='$CPP $CPPFLAGS'
73016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
73025 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
73027 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
73028 for ac_func in fabsf
73029 do :
73030 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
73031 if test "x$ac_cv_func_fabsf" = x""yes; then :
73032 cat >>confdefs.h <<_ACEOF
73033 #define HAVE_FABSF 1
73034 _ACEOF
73037 done
73039 else
73041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
73042 $as_echo_n "checking for _fabsf declaration... " >&6; }
73043 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
73044 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
73045 $as_echo_n "(cached) " >&6
73046 else
73049 ac_ext=cpp
73050 ac_cpp='$CXXCPP $CPPFLAGS'
73051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73056 /* end confdefs.h. */
73057 #include <math.h>
73058 #ifdef HAVE_IEEEFP_H
73059 #include <ieeefp.h>
73060 #endif
73063 main ()
73065 _fabsf(0);
73067 return 0;
73069 _ACEOF
73070 if ac_fn_cxx_try_compile "$LINENO"; then :
73071 glibcxx_cv_func__fabsf_use=yes
73072 else
73073 glibcxx_cv_func__fabsf_use=no
73075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73076 ac_ext=c
73077 ac_cpp='$CPP $CPPFLAGS'
73078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
73087 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
73089 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
73090 for ac_func in _fabsf
73091 do :
73092 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
73093 if test "x$ac_cv_func__fabsf" = x""yes; then :
73094 cat >>confdefs.h <<_ACEOF
73095 #define HAVE__FABSF 1
73096 _ACEOF
73099 done
73108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
73109 $as_echo_n "checking for fmodf declaration... " >&6; }
73110 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
73111 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
73112 $as_echo_n "(cached) " >&6
73113 else
73116 ac_ext=cpp
73117 ac_cpp='$CXXCPP $CPPFLAGS'
73118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73123 /* end confdefs.h. */
73124 #include <math.h>
73126 main ()
73128 fmodf(0, 0);
73130 return 0;
73132 _ACEOF
73133 if ac_fn_cxx_try_compile "$LINENO"; then :
73134 glibcxx_cv_func_fmodf_use=yes
73135 else
73136 glibcxx_cv_func_fmodf_use=no
73138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73139 ac_ext=c
73140 ac_cpp='$CPP $CPPFLAGS'
73141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
73150 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
73152 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
73153 for ac_func in fmodf
73154 do :
73155 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
73156 if test "x$ac_cv_func_fmodf" = x""yes; then :
73157 cat >>confdefs.h <<_ACEOF
73158 #define HAVE_FMODF 1
73159 _ACEOF
73162 done
73164 else
73166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
73167 $as_echo_n "checking for _fmodf declaration... " >&6; }
73168 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
73169 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
73170 $as_echo_n "(cached) " >&6
73171 else
73174 ac_ext=cpp
73175 ac_cpp='$CXXCPP $CPPFLAGS'
73176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73181 /* end confdefs.h. */
73182 #include <math.h>
73184 main ()
73186 _fmodf(0, 0);
73188 return 0;
73190 _ACEOF
73191 if ac_fn_cxx_try_compile "$LINENO"; then :
73192 glibcxx_cv_func__fmodf_use=yes
73193 else
73194 glibcxx_cv_func__fmodf_use=no
73196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73197 ac_ext=c
73198 ac_cpp='$CPP $CPPFLAGS'
73199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
73208 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
73210 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
73211 for ac_func in _fmodf
73212 do :
73213 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
73214 if test "x$ac_cv_func__fmodf" = x""yes; then :
73215 cat >>confdefs.h <<_ACEOF
73216 #define HAVE__FMODF 1
73217 _ACEOF
73220 done
73229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
73230 $as_echo_n "checking for frexpf declaration... " >&6; }
73231 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
73232 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
73233 $as_echo_n "(cached) " >&6
73234 else
73237 ac_ext=cpp
73238 ac_cpp='$CXXCPP $CPPFLAGS'
73239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73244 /* end confdefs.h. */
73245 #include <math.h>
73247 main ()
73249 frexpf(0, 0);
73251 return 0;
73253 _ACEOF
73254 if ac_fn_cxx_try_compile "$LINENO"; then :
73255 glibcxx_cv_func_frexpf_use=yes
73256 else
73257 glibcxx_cv_func_frexpf_use=no
73259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73260 ac_ext=c
73261 ac_cpp='$CPP $CPPFLAGS'
73262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
73271 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
73273 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
73274 for ac_func in frexpf
73275 do :
73276 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
73277 if test "x$ac_cv_func_frexpf" = x""yes; then :
73278 cat >>confdefs.h <<_ACEOF
73279 #define HAVE_FREXPF 1
73280 _ACEOF
73283 done
73285 else
73287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
73288 $as_echo_n "checking for _frexpf declaration... " >&6; }
73289 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
73290 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
73291 $as_echo_n "(cached) " >&6
73292 else
73295 ac_ext=cpp
73296 ac_cpp='$CXXCPP $CPPFLAGS'
73297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73302 /* end confdefs.h. */
73303 #include <math.h>
73305 main ()
73307 _frexpf(0, 0);
73309 return 0;
73311 _ACEOF
73312 if ac_fn_cxx_try_compile "$LINENO"; then :
73313 glibcxx_cv_func__frexpf_use=yes
73314 else
73315 glibcxx_cv_func__frexpf_use=no
73317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73318 ac_ext=c
73319 ac_cpp='$CPP $CPPFLAGS'
73320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
73329 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
73331 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
73332 for ac_func in _frexpf
73333 do :
73334 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
73335 if test "x$ac_cv_func__frexpf" = x""yes; then :
73336 cat >>confdefs.h <<_ACEOF
73337 #define HAVE__FREXPF 1
73338 _ACEOF
73341 done
73350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
73351 $as_echo_n "checking for hypotf declaration... " >&6; }
73352 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
73353 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
73354 $as_echo_n "(cached) " >&6
73355 else
73358 ac_ext=cpp
73359 ac_cpp='$CXXCPP $CPPFLAGS'
73360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73365 /* end confdefs.h. */
73366 #include <math.h>
73368 main ()
73370 hypotf(0, 0);
73372 return 0;
73374 _ACEOF
73375 if ac_fn_cxx_try_compile "$LINENO"; then :
73376 glibcxx_cv_func_hypotf_use=yes
73377 else
73378 glibcxx_cv_func_hypotf_use=no
73380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73381 ac_ext=c
73382 ac_cpp='$CPP $CPPFLAGS'
73383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
73392 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
73394 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
73395 for ac_func in hypotf
73396 do :
73397 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
73398 if test "x$ac_cv_func_hypotf" = x""yes; then :
73399 cat >>confdefs.h <<_ACEOF
73400 #define HAVE_HYPOTF 1
73401 _ACEOF
73404 done
73406 else
73408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
73409 $as_echo_n "checking for _hypotf declaration... " >&6; }
73410 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
73411 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
73412 $as_echo_n "(cached) " >&6
73413 else
73416 ac_ext=cpp
73417 ac_cpp='$CXXCPP $CPPFLAGS'
73418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73423 /* end confdefs.h. */
73424 #include <math.h>
73426 main ()
73428 _hypotf(0, 0);
73430 return 0;
73432 _ACEOF
73433 if ac_fn_cxx_try_compile "$LINENO"; then :
73434 glibcxx_cv_func__hypotf_use=yes
73435 else
73436 glibcxx_cv_func__hypotf_use=no
73438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73439 ac_ext=c
73440 ac_cpp='$CPP $CPPFLAGS'
73441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
73450 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
73452 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
73453 for ac_func in _hypotf
73454 do :
73455 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
73456 if test "x$ac_cv_func__hypotf" = x""yes; then :
73457 cat >>confdefs.h <<_ACEOF
73458 #define HAVE__HYPOTF 1
73459 _ACEOF
73462 done
73471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
73472 $as_echo_n "checking for ldexpf declaration... " >&6; }
73473 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
73474 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
73475 $as_echo_n "(cached) " >&6
73476 else
73479 ac_ext=cpp
73480 ac_cpp='$CXXCPP $CPPFLAGS'
73481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73486 /* end confdefs.h. */
73487 #include <math.h>
73489 main ()
73491 ldexpf(0, 0);
73493 return 0;
73495 _ACEOF
73496 if ac_fn_cxx_try_compile "$LINENO"; then :
73497 glibcxx_cv_func_ldexpf_use=yes
73498 else
73499 glibcxx_cv_func_ldexpf_use=no
73501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73502 ac_ext=c
73503 ac_cpp='$CPP $CPPFLAGS'
73504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
73513 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
73515 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
73516 for ac_func in ldexpf
73517 do :
73518 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
73519 if test "x$ac_cv_func_ldexpf" = x""yes; then :
73520 cat >>confdefs.h <<_ACEOF
73521 #define HAVE_LDEXPF 1
73522 _ACEOF
73525 done
73527 else
73529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
73530 $as_echo_n "checking for _ldexpf declaration... " >&6; }
73531 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
73532 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
73533 $as_echo_n "(cached) " >&6
73534 else
73537 ac_ext=cpp
73538 ac_cpp='$CXXCPP $CPPFLAGS'
73539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73544 /* end confdefs.h. */
73545 #include <math.h>
73547 main ()
73549 _ldexpf(0, 0);
73551 return 0;
73553 _ACEOF
73554 if ac_fn_cxx_try_compile "$LINENO"; then :
73555 glibcxx_cv_func__ldexpf_use=yes
73556 else
73557 glibcxx_cv_func__ldexpf_use=no
73559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73560 ac_ext=c
73561 ac_cpp='$CPP $CPPFLAGS'
73562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
73571 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
73573 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
73574 for ac_func in _ldexpf
73575 do :
73576 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
73577 if test "x$ac_cv_func__ldexpf" = x""yes; then :
73578 cat >>confdefs.h <<_ACEOF
73579 #define HAVE__LDEXPF 1
73580 _ACEOF
73583 done
73592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
73593 $as_echo_n "checking for logf declaration... " >&6; }
73594 if test x${glibcxx_cv_func_logf_use+set} != xset; then
73595 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
73596 $as_echo_n "(cached) " >&6
73597 else
73600 ac_ext=cpp
73601 ac_cpp='$CXXCPP $CPPFLAGS'
73602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73607 /* end confdefs.h. */
73608 #include <math.h>
73609 #ifdef HAVE_IEEEFP_H
73610 #include <ieeefp.h>
73611 #endif
73614 main ()
73616 logf(0);
73618 return 0;
73620 _ACEOF
73621 if ac_fn_cxx_try_compile "$LINENO"; then :
73622 glibcxx_cv_func_logf_use=yes
73623 else
73624 glibcxx_cv_func_logf_use=no
73626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73627 ac_ext=c
73628 ac_cpp='$CPP $CPPFLAGS'
73629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
73638 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
73640 if test x$glibcxx_cv_func_logf_use = x"yes"; then
73641 for ac_func in logf
73642 do :
73643 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
73644 if test "x$ac_cv_func_logf" = x""yes; then :
73645 cat >>confdefs.h <<_ACEOF
73646 #define HAVE_LOGF 1
73647 _ACEOF
73650 done
73652 else
73654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
73655 $as_echo_n "checking for _logf declaration... " >&6; }
73656 if test x${glibcxx_cv_func__logf_use+set} != xset; then
73657 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
73658 $as_echo_n "(cached) " >&6
73659 else
73662 ac_ext=cpp
73663 ac_cpp='$CXXCPP $CPPFLAGS'
73664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73669 /* end confdefs.h. */
73670 #include <math.h>
73671 #ifdef HAVE_IEEEFP_H
73672 #include <ieeefp.h>
73673 #endif
73676 main ()
73678 _logf(0);
73680 return 0;
73682 _ACEOF
73683 if ac_fn_cxx_try_compile "$LINENO"; then :
73684 glibcxx_cv_func__logf_use=yes
73685 else
73686 glibcxx_cv_func__logf_use=no
73688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73689 ac_ext=c
73690 ac_cpp='$CPP $CPPFLAGS'
73691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
73700 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
73702 if test x$glibcxx_cv_func__logf_use = x"yes"; then
73703 for ac_func in _logf
73704 do :
73705 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
73706 if test "x$ac_cv_func__logf" = x""yes; then :
73707 cat >>confdefs.h <<_ACEOF
73708 #define HAVE__LOGF 1
73709 _ACEOF
73712 done
73721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
73722 $as_echo_n "checking for log10f declaration... " >&6; }
73723 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
73724 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
73725 $as_echo_n "(cached) " >&6
73726 else
73729 ac_ext=cpp
73730 ac_cpp='$CXXCPP $CPPFLAGS'
73731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73736 /* end confdefs.h. */
73737 #include <math.h>
73738 #ifdef HAVE_IEEEFP_H
73739 #include <ieeefp.h>
73740 #endif
73743 main ()
73745 log10f(0);
73747 return 0;
73749 _ACEOF
73750 if ac_fn_cxx_try_compile "$LINENO"; then :
73751 glibcxx_cv_func_log10f_use=yes
73752 else
73753 glibcxx_cv_func_log10f_use=no
73755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73756 ac_ext=c
73757 ac_cpp='$CPP $CPPFLAGS'
73758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
73767 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
73769 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
73770 for ac_func in log10f
73771 do :
73772 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
73773 if test "x$ac_cv_func_log10f" = x""yes; then :
73774 cat >>confdefs.h <<_ACEOF
73775 #define HAVE_LOG10F 1
73776 _ACEOF
73779 done
73781 else
73783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
73784 $as_echo_n "checking for _log10f declaration... " >&6; }
73785 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
73786 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
73787 $as_echo_n "(cached) " >&6
73788 else
73791 ac_ext=cpp
73792 ac_cpp='$CXXCPP $CPPFLAGS'
73793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73798 /* end confdefs.h. */
73799 #include <math.h>
73800 #ifdef HAVE_IEEEFP_H
73801 #include <ieeefp.h>
73802 #endif
73805 main ()
73807 _log10f(0);
73809 return 0;
73811 _ACEOF
73812 if ac_fn_cxx_try_compile "$LINENO"; then :
73813 glibcxx_cv_func__log10f_use=yes
73814 else
73815 glibcxx_cv_func__log10f_use=no
73817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73818 ac_ext=c
73819 ac_cpp='$CPP $CPPFLAGS'
73820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
73829 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
73831 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
73832 for ac_func in _log10f
73833 do :
73834 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
73835 if test "x$ac_cv_func__log10f" = x""yes; then :
73836 cat >>confdefs.h <<_ACEOF
73837 #define HAVE__LOG10F 1
73838 _ACEOF
73841 done
73850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
73851 $as_echo_n "checking for modff declaration... " >&6; }
73852 if test x${glibcxx_cv_func_modff_use+set} != xset; then
73853 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
73854 $as_echo_n "(cached) " >&6
73855 else
73858 ac_ext=cpp
73859 ac_cpp='$CXXCPP $CPPFLAGS'
73860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73865 /* end confdefs.h. */
73866 #include <math.h>
73868 main ()
73870 modff(0, 0);
73872 return 0;
73874 _ACEOF
73875 if ac_fn_cxx_try_compile "$LINENO"; then :
73876 glibcxx_cv_func_modff_use=yes
73877 else
73878 glibcxx_cv_func_modff_use=no
73880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73881 ac_ext=c
73882 ac_cpp='$CPP $CPPFLAGS'
73883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
73892 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
73894 if test x$glibcxx_cv_func_modff_use = x"yes"; then
73895 for ac_func in modff
73896 do :
73897 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
73898 if test "x$ac_cv_func_modff" = x""yes; then :
73899 cat >>confdefs.h <<_ACEOF
73900 #define HAVE_MODFF 1
73901 _ACEOF
73904 done
73906 else
73908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
73909 $as_echo_n "checking for _modff declaration... " >&6; }
73910 if test x${glibcxx_cv_func__modff_use+set} != xset; then
73911 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
73912 $as_echo_n "(cached) " >&6
73913 else
73916 ac_ext=cpp
73917 ac_cpp='$CXXCPP $CPPFLAGS'
73918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73923 /* end confdefs.h. */
73924 #include <math.h>
73926 main ()
73928 _modff(0, 0);
73930 return 0;
73932 _ACEOF
73933 if ac_fn_cxx_try_compile "$LINENO"; then :
73934 glibcxx_cv_func__modff_use=yes
73935 else
73936 glibcxx_cv_func__modff_use=no
73938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73939 ac_ext=c
73940 ac_cpp='$CPP $CPPFLAGS'
73941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
73950 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
73952 if test x$glibcxx_cv_func__modff_use = x"yes"; then
73953 for ac_func in _modff
73954 do :
73955 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
73956 if test "x$ac_cv_func__modff" = x""yes; then :
73957 cat >>confdefs.h <<_ACEOF
73958 #define HAVE__MODFF 1
73959 _ACEOF
73962 done
73971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
73972 $as_echo_n "checking for modf declaration... " >&6; }
73973 if test x${glibcxx_cv_func_modf_use+set} != xset; then
73974 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
73975 $as_echo_n "(cached) " >&6
73976 else
73979 ac_ext=cpp
73980 ac_cpp='$CXXCPP $CPPFLAGS'
73981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73986 /* end confdefs.h. */
73987 #include <math.h>
73989 main ()
73991 modf(0, 0);
73993 return 0;
73995 _ACEOF
73996 if ac_fn_cxx_try_compile "$LINENO"; then :
73997 glibcxx_cv_func_modf_use=yes
73998 else
73999 glibcxx_cv_func_modf_use=no
74001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74002 ac_ext=c
74003 ac_cpp='$CPP $CPPFLAGS'
74004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
74013 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
74015 if test x$glibcxx_cv_func_modf_use = x"yes"; then
74016 for ac_func in modf
74017 do :
74018 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
74019 if test "x$ac_cv_func_modf" = x""yes; then :
74020 cat >>confdefs.h <<_ACEOF
74021 #define HAVE_MODF 1
74022 _ACEOF
74025 done
74027 else
74029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
74030 $as_echo_n "checking for _modf declaration... " >&6; }
74031 if test x${glibcxx_cv_func__modf_use+set} != xset; then
74032 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
74033 $as_echo_n "(cached) " >&6
74034 else
74037 ac_ext=cpp
74038 ac_cpp='$CXXCPP $CPPFLAGS'
74039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74044 /* end confdefs.h. */
74045 #include <math.h>
74047 main ()
74049 _modf(0, 0);
74051 return 0;
74053 _ACEOF
74054 if ac_fn_cxx_try_compile "$LINENO"; then :
74055 glibcxx_cv_func__modf_use=yes
74056 else
74057 glibcxx_cv_func__modf_use=no
74059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74060 ac_ext=c
74061 ac_cpp='$CPP $CPPFLAGS'
74062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
74071 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
74073 if test x$glibcxx_cv_func__modf_use = x"yes"; then
74074 for ac_func in _modf
74075 do :
74076 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
74077 if test "x$ac_cv_func__modf" = x""yes; then :
74078 cat >>confdefs.h <<_ACEOF
74079 #define HAVE__MODF 1
74080 _ACEOF
74083 done
74092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
74093 $as_echo_n "checking for powf declaration... " >&6; }
74094 if test x${glibcxx_cv_func_powf_use+set} != xset; then
74095 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
74096 $as_echo_n "(cached) " >&6
74097 else
74100 ac_ext=cpp
74101 ac_cpp='$CXXCPP $CPPFLAGS'
74102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74107 /* end confdefs.h. */
74108 #include <math.h>
74110 main ()
74112 powf(0, 0);
74114 return 0;
74116 _ACEOF
74117 if ac_fn_cxx_try_compile "$LINENO"; then :
74118 glibcxx_cv_func_powf_use=yes
74119 else
74120 glibcxx_cv_func_powf_use=no
74122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74123 ac_ext=c
74124 ac_cpp='$CPP $CPPFLAGS'
74125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
74134 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
74136 if test x$glibcxx_cv_func_powf_use = x"yes"; then
74137 for ac_func in powf
74138 do :
74139 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
74140 if test "x$ac_cv_func_powf" = x""yes; then :
74141 cat >>confdefs.h <<_ACEOF
74142 #define HAVE_POWF 1
74143 _ACEOF
74146 done
74148 else
74150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
74151 $as_echo_n "checking for _powf declaration... " >&6; }
74152 if test x${glibcxx_cv_func__powf_use+set} != xset; then
74153 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
74154 $as_echo_n "(cached) " >&6
74155 else
74158 ac_ext=cpp
74159 ac_cpp='$CXXCPP $CPPFLAGS'
74160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74165 /* end confdefs.h. */
74166 #include <math.h>
74168 main ()
74170 _powf(0, 0);
74172 return 0;
74174 _ACEOF
74175 if ac_fn_cxx_try_compile "$LINENO"; then :
74176 glibcxx_cv_func__powf_use=yes
74177 else
74178 glibcxx_cv_func__powf_use=no
74180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74181 ac_ext=c
74182 ac_cpp='$CPP $CPPFLAGS'
74183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
74192 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
74194 if test x$glibcxx_cv_func__powf_use = x"yes"; then
74195 for ac_func in _powf
74196 do :
74197 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
74198 if test "x$ac_cv_func__powf" = x""yes; then :
74199 cat >>confdefs.h <<_ACEOF
74200 #define HAVE__POWF 1
74201 _ACEOF
74204 done
74213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
74214 $as_echo_n "checking for sqrtf declaration... " >&6; }
74215 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
74216 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
74217 $as_echo_n "(cached) " >&6
74218 else
74221 ac_ext=cpp
74222 ac_cpp='$CXXCPP $CPPFLAGS'
74223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74228 /* end confdefs.h. */
74229 #include <math.h>
74230 #ifdef HAVE_IEEEFP_H
74231 #include <ieeefp.h>
74232 #endif
74235 main ()
74237 sqrtf(0);
74239 return 0;
74241 _ACEOF
74242 if ac_fn_cxx_try_compile "$LINENO"; then :
74243 glibcxx_cv_func_sqrtf_use=yes
74244 else
74245 glibcxx_cv_func_sqrtf_use=no
74247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74248 ac_ext=c
74249 ac_cpp='$CPP $CPPFLAGS'
74250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
74259 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
74261 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
74262 for ac_func in sqrtf
74263 do :
74264 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
74265 if test "x$ac_cv_func_sqrtf" = x""yes; then :
74266 cat >>confdefs.h <<_ACEOF
74267 #define HAVE_SQRTF 1
74268 _ACEOF
74271 done
74273 else
74275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
74276 $as_echo_n "checking for _sqrtf declaration... " >&6; }
74277 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
74278 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
74279 $as_echo_n "(cached) " >&6
74280 else
74283 ac_ext=cpp
74284 ac_cpp='$CXXCPP $CPPFLAGS'
74285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74290 /* end confdefs.h. */
74291 #include <math.h>
74292 #ifdef HAVE_IEEEFP_H
74293 #include <ieeefp.h>
74294 #endif
74297 main ()
74299 _sqrtf(0);
74301 return 0;
74303 _ACEOF
74304 if ac_fn_cxx_try_compile "$LINENO"; then :
74305 glibcxx_cv_func__sqrtf_use=yes
74306 else
74307 glibcxx_cv_func__sqrtf_use=no
74309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74310 ac_ext=c
74311 ac_cpp='$CPP $CPPFLAGS'
74312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
74321 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
74323 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
74324 for ac_func in _sqrtf
74325 do :
74326 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
74327 if test "x$ac_cv_func__sqrtf" = x""yes; then :
74328 cat >>confdefs.h <<_ACEOF
74329 #define HAVE__SQRTF 1
74330 _ACEOF
74333 done
74342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
74343 $as_echo_n "checking for sincosf declaration... " >&6; }
74344 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
74345 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
74346 $as_echo_n "(cached) " >&6
74347 else
74350 ac_ext=cpp
74351 ac_cpp='$CXXCPP $CPPFLAGS'
74352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74357 /* end confdefs.h. */
74358 #include <math.h>
74360 main ()
74362 sincosf(0, 0, 0);
74364 return 0;
74366 _ACEOF
74367 if ac_fn_cxx_try_compile "$LINENO"; then :
74368 glibcxx_cv_func_sincosf_use=yes
74369 else
74370 glibcxx_cv_func_sincosf_use=no
74372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74373 ac_ext=c
74374 ac_cpp='$CPP $CPPFLAGS'
74375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
74384 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
74386 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
74387 for ac_func in sincosf
74388 do :
74389 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
74390 if test "x$ac_cv_func_sincosf" = x""yes; then :
74391 cat >>confdefs.h <<_ACEOF
74392 #define HAVE_SINCOSF 1
74393 _ACEOF
74396 done
74398 else
74400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
74401 $as_echo_n "checking for _sincosf declaration... " >&6; }
74402 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
74403 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
74404 $as_echo_n "(cached) " >&6
74405 else
74408 ac_ext=cpp
74409 ac_cpp='$CXXCPP $CPPFLAGS'
74410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74415 /* end confdefs.h. */
74416 #include <math.h>
74418 main ()
74420 _sincosf(0, 0, 0);
74422 return 0;
74424 _ACEOF
74425 if ac_fn_cxx_try_compile "$LINENO"; then :
74426 glibcxx_cv_func__sincosf_use=yes
74427 else
74428 glibcxx_cv_func__sincosf_use=no
74430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74431 ac_ext=c
74432 ac_cpp='$CPP $CPPFLAGS'
74433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
74442 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
74444 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
74445 for ac_func in _sincosf
74446 do :
74447 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
74448 if test "x$ac_cv_func__sincosf" = x""yes; then :
74449 cat >>confdefs.h <<_ACEOF
74450 #define HAVE__SINCOSF 1
74451 _ACEOF
74454 done
74463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
74464 $as_echo_n "checking for finitef declaration... " >&6; }
74465 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
74466 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
74467 $as_echo_n "(cached) " >&6
74468 else
74471 ac_ext=cpp
74472 ac_cpp='$CXXCPP $CPPFLAGS'
74473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74478 /* end confdefs.h. */
74479 #include <math.h>
74480 #ifdef HAVE_IEEEFP_H
74481 #include <ieeefp.h>
74482 #endif
74485 main ()
74487 finitef(0);
74489 return 0;
74491 _ACEOF
74492 if ac_fn_cxx_try_compile "$LINENO"; then :
74493 glibcxx_cv_func_finitef_use=yes
74494 else
74495 glibcxx_cv_func_finitef_use=no
74497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74498 ac_ext=c
74499 ac_cpp='$CPP $CPPFLAGS'
74500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
74509 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
74511 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
74512 for ac_func in finitef
74513 do :
74514 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
74515 if test "x$ac_cv_func_finitef" = x""yes; then :
74516 cat >>confdefs.h <<_ACEOF
74517 #define HAVE_FINITEF 1
74518 _ACEOF
74521 done
74523 else
74525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
74526 $as_echo_n "checking for _finitef declaration... " >&6; }
74527 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
74528 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
74529 $as_echo_n "(cached) " >&6
74530 else
74533 ac_ext=cpp
74534 ac_cpp='$CXXCPP $CPPFLAGS'
74535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74540 /* end confdefs.h. */
74541 #include <math.h>
74542 #ifdef HAVE_IEEEFP_H
74543 #include <ieeefp.h>
74544 #endif
74547 main ()
74549 _finitef(0);
74551 return 0;
74553 _ACEOF
74554 if ac_fn_cxx_try_compile "$LINENO"; then :
74555 glibcxx_cv_func__finitef_use=yes
74556 else
74557 glibcxx_cv_func__finitef_use=no
74559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74560 ac_ext=c
74561 ac_cpp='$CPP $CPPFLAGS'
74562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
74571 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
74573 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
74574 for ac_func in _finitef
74575 do :
74576 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
74577 if test "x$ac_cv_func__finitef" = x""yes; then :
74578 cat >>confdefs.h <<_ACEOF
74579 #define HAVE__FINITEF 1
74580 _ACEOF
74583 done
74592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
74593 $as_echo_n "checking for long double trig functions... " >&6; }
74594 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
74595 $as_echo_n "(cached) " >&6
74596 else
74599 ac_ext=cpp
74600 ac_cpp='$CXXCPP $CPPFLAGS'
74601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74606 /* end confdefs.h. */
74607 #include <math.h>
74609 main ()
74611 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
74613 return 0;
74615 _ACEOF
74616 if ac_fn_cxx_try_compile "$LINENO"; then :
74617 glibcxx_cv_func_long_double_trig_use=yes
74618 else
74619 glibcxx_cv_func_long_double_trig_use=no
74621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74622 ac_ext=c
74623 ac_cpp='$CPP $CPPFLAGS'
74624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
74631 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
74632 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
74633 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
74634 do :
74635 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
74636 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
74637 eval as_val=\$$as_ac_var
74638 if test "x$as_val" = x""yes; then :
74639 cat >>confdefs.h <<_ACEOF
74640 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
74641 _ACEOF
74644 done
74646 else
74647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
74648 $as_echo_n "checking for _long double trig functions... " >&6; }
74649 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
74650 $as_echo_n "(cached) " >&6
74651 else
74654 ac_ext=cpp
74655 ac_cpp='$CXXCPP $CPPFLAGS'
74656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74661 /* end confdefs.h. */
74662 #include <math.h>
74664 main ()
74666 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
74668 return 0;
74670 _ACEOF
74671 if ac_fn_cxx_try_compile "$LINENO"; then :
74672 glibcxx_cv_func__long_double_trig_use=yes
74673 else
74674 glibcxx_cv_func__long_double_trig_use=no
74676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74677 ac_ext=c
74678 ac_cpp='$CPP $CPPFLAGS'
74679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
74686 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
74687 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
74688 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
74689 do :
74690 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
74691 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
74692 eval as_val=\$$as_ac_var
74693 if test "x$as_val" = x""yes; then :
74694 cat >>confdefs.h <<_ACEOF
74695 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
74696 _ACEOF
74699 done
74708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
74709 $as_echo_n "checking for long double round functions... " >&6; }
74710 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
74711 $as_echo_n "(cached) " >&6
74712 else
74715 ac_ext=cpp
74716 ac_cpp='$CXXCPP $CPPFLAGS'
74717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74722 /* end confdefs.h. */
74723 #include <math.h>
74725 main ()
74727 ceill (0); floorl (0);
74729 return 0;
74731 _ACEOF
74732 if ac_fn_cxx_try_compile "$LINENO"; then :
74733 glibcxx_cv_func_long_double_round_use=yes
74734 else
74735 glibcxx_cv_func_long_double_round_use=no
74737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74738 ac_ext=c
74739 ac_cpp='$CPP $CPPFLAGS'
74740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
74747 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
74748 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
74749 for ac_func in ceill floorl
74750 do :
74751 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
74752 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
74753 eval as_val=\$$as_ac_var
74754 if test "x$as_val" = x""yes; then :
74755 cat >>confdefs.h <<_ACEOF
74756 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
74757 _ACEOF
74760 done
74762 else
74763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
74764 $as_echo_n "checking for _long double round functions... " >&6; }
74765 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
74766 $as_echo_n "(cached) " >&6
74767 else
74770 ac_ext=cpp
74771 ac_cpp='$CXXCPP $CPPFLAGS'
74772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74777 /* end confdefs.h. */
74778 #include <math.h>
74780 main ()
74782 _ceill (0); _floorl (0);
74784 return 0;
74786 _ACEOF
74787 if ac_fn_cxx_try_compile "$LINENO"; then :
74788 glibcxx_cv_func__long_double_round_use=yes
74789 else
74790 glibcxx_cv_func__long_double_round_use=no
74792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74793 ac_ext=c
74794 ac_cpp='$CPP $CPPFLAGS'
74795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
74802 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
74803 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
74804 for ac_func in _ceill _floorl
74805 do :
74806 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
74807 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
74808 eval as_val=\$$as_ac_var
74809 if test "x$as_val" = x""yes; then :
74810 cat >>confdefs.h <<_ACEOF
74811 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
74812 _ACEOF
74815 done
74825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
74826 $as_echo_n "checking for isnanl declaration... " >&6; }
74827 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
74828 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
74829 $as_echo_n "(cached) " >&6
74830 else
74833 ac_ext=cpp
74834 ac_cpp='$CXXCPP $CPPFLAGS'
74835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74840 /* end confdefs.h. */
74841 #include <math.h>
74842 #ifdef HAVE_IEEEFP_H
74843 #include <ieeefp.h>
74844 #endif
74847 main ()
74849 isnanl(0);
74851 return 0;
74853 _ACEOF
74854 if ac_fn_cxx_try_compile "$LINENO"; then :
74855 glibcxx_cv_func_isnanl_use=yes
74856 else
74857 glibcxx_cv_func_isnanl_use=no
74859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74860 ac_ext=c
74861 ac_cpp='$CPP $CPPFLAGS'
74862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
74871 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
74873 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
74874 for ac_func in isnanl
74875 do :
74876 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
74877 if test "x$ac_cv_func_isnanl" = x""yes; then :
74878 cat >>confdefs.h <<_ACEOF
74879 #define HAVE_ISNANL 1
74880 _ACEOF
74883 done
74885 else
74887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
74888 $as_echo_n "checking for _isnanl declaration... " >&6; }
74889 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
74890 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
74891 $as_echo_n "(cached) " >&6
74892 else
74895 ac_ext=cpp
74896 ac_cpp='$CXXCPP $CPPFLAGS'
74897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74902 /* end confdefs.h. */
74903 #include <math.h>
74904 #ifdef HAVE_IEEEFP_H
74905 #include <ieeefp.h>
74906 #endif
74909 main ()
74911 _isnanl(0);
74913 return 0;
74915 _ACEOF
74916 if ac_fn_cxx_try_compile "$LINENO"; then :
74917 glibcxx_cv_func__isnanl_use=yes
74918 else
74919 glibcxx_cv_func__isnanl_use=no
74921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74922 ac_ext=c
74923 ac_cpp='$CPP $CPPFLAGS'
74924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
74933 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
74935 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
74936 for ac_func in _isnanl
74937 do :
74938 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
74939 if test "x$ac_cv_func__isnanl" = x""yes; then :
74940 cat >>confdefs.h <<_ACEOF
74941 #define HAVE__ISNANL 1
74942 _ACEOF
74945 done
74954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
74955 $as_echo_n "checking for isinfl declaration... " >&6; }
74956 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
74957 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
74958 $as_echo_n "(cached) " >&6
74959 else
74962 ac_ext=cpp
74963 ac_cpp='$CXXCPP $CPPFLAGS'
74964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74969 /* end confdefs.h. */
74970 #include <math.h>
74971 #ifdef HAVE_IEEEFP_H
74972 #include <ieeefp.h>
74973 #endif
74976 main ()
74978 isinfl(0);
74980 return 0;
74982 _ACEOF
74983 if ac_fn_cxx_try_compile "$LINENO"; then :
74984 glibcxx_cv_func_isinfl_use=yes
74985 else
74986 glibcxx_cv_func_isinfl_use=no
74988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74989 ac_ext=c
74990 ac_cpp='$CPP $CPPFLAGS'
74991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
75000 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
75002 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
75003 for ac_func in isinfl
75004 do :
75005 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
75006 if test "x$ac_cv_func_isinfl" = x""yes; then :
75007 cat >>confdefs.h <<_ACEOF
75008 #define HAVE_ISINFL 1
75009 _ACEOF
75012 done
75014 else
75016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
75017 $as_echo_n "checking for _isinfl declaration... " >&6; }
75018 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
75019 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
75020 $as_echo_n "(cached) " >&6
75021 else
75024 ac_ext=cpp
75025 ac_cpp='$CXXCPP $CPPFLAGS'
75026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75031 /* end confdefs.h. */
75032 #include <math.h>
75033 #ifdef HAVE_IEEEFP_H
75034 #include <ieeefp.h>
75035 #endif
75038 main ()
75040 _isinfl(0);
75042 return 0;
75044 _ACEOF
75045 if ac_fn_cxx_try_compile "$LINENO"; then :
75046 glibcxx_cv_func__isinfl_use=yes
75047 else
75048 glibcxx_cv_func__isinfl_use=no
75050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75051 ac_ext=c
75052 ac_cpp='$CPP $CPPFLAGS'
75053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
75062 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
75064 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
75065 for ac_func in _isinfl
75066 do :
75067 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
75068 if test "x$ac_cv_func__isinfl" = x""yes; then :
75069 cat >>confdefs.h <<_ACEOF
75070 #define HAVE__ISINFL 1
75071 _ACEOF
75074 done
75083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
75084 $as_echo_n "checking for atan2l declaration... " >&6; }
75085 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
75086 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
75087 $as_echo_n "(cached) " >&6
75088 else
75091 ac_ext=cpp
75092 ac_cpp='$CXXCPP $CPPFLAGS'
75093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75098 /* end confdefs.h. */
75099 #include <math.h>
75101 main ()
75103 atan2l(0, 0);
75105 return 0;
75107 _ACEOF
75108 if ac_fn_cxx_try_compile "$LINENO"; then :
75109 glibcxx_cv_func_atan2l_use=yes
75110 else
75111 glibcxx_cv_func_atan2l_use=no
75113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75114 ac_ext=c
75115 ac_cpp='$CPP $CPPFLAGS'
75116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
75125 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
75127 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
75128 for ac_func in atan2l
75129 do :
75130 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
75131 if test "x$ac_cv_func_atan2l" = x""yes; then :
75132 cat >>confdefs.h <<_ACEOF
75133 #define HAVE_ATAN2L 1
75134 _ACEOF
75137 done
75139 else
75141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
75142 $as_echo_n "checking for _atan2l declaration... " >&6; }
75143 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
75144 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
75145 $as_echo_n "(cached) " >&6
75146 else
75149 ac_ext=cpp
75150 ac_cpp='$CXXCPP $CPPFLAGS'
75151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75156 /* end confdefs.h. */
75157 #include <math.h>
75159 main ()
75161 _atan2l(0, 0);
75163 return 0;
75165 _ACEOF
75166 if ac_fn_cxx_try_compile "$LINENO"; then :
75167 glibcxx_cv_func__atan2l_use=yes
75168 else
75169 glibcxx_cv_func__atan2l_use=no
75171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75172 ac_ext=c
75173 ac_cpp='$CPP $CPPFLAGS'
75174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
75183 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
75185 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
75186 for ac_func in _atan2l
75187 do :
75188 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
75189 if test "x$ac_cv_func__atan2l" = x""yes; then :
75190 cat >>confdefs.h <<_ACEOF
75191 #define HAVE__ATAN2L 1
75192 _ACEOF
75195 done
75204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
75205 $as_echo_n "checking for expl declaration... " >&6; }
75206 if test x${glibcxx_cv_func_expl_use+set} != xset; then
75207 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
75208 $as_echo_n "(cached) " >&6
75209 else
75212 ac_ext=cpp
75213 ac_cpp='$CXXCPP $CPPFLAGS'
75214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75219 /* end confdefs.h. */
75220 #include <math.h>
75221 #ifdef HAVE_IEEEFP_H
75222 #include <ieeefp.h>
75223 #endif
75226 main ()
75228 expl(0);
75230 return 0;
75232 _ACEOF
75233 if ac_fn_cxx_try_compile "$LINENO"; then :
75234 glibcxx_cv_func_expl_use=yes
75235 else
75236 glibcxx_cv_func_expl_use=no
75238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75239 ac_ext=c
75240 ac_cpp='$CPP $CPPFLAGS'
75241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
75250 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
75252 if test x$glibcxx_cv_func_expl_use = x"yes"; then
75253 for ac_func in expl
75254 do :
75255 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
75256 if test "x$ac_cv_func_expl" = x""yes; then :
75257 cat >>confdefs.h <<_ACEOF
75258 #define HAVE_EXPL 1
75259 _ACEOF
75262 done
75264 else
75266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
75267 $as_echo_n "checking for _expl declaration... " >&6; }
75268 if test x${glibcxx_cv_func__expl_use+set} != xset; then
75269 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
75270 $as_echo_n "(cached) " >&6
75271 else
75274 ac_ext=cpp
75275 ac_cpp='$CXXCPP $CPPFLAGS'
75276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75281 /* end confdefs.h. */
75282 #include <math.h>
75283 #ifdef HAVE_IEEEFP_H
75284 #include <ieeefp.h>
75285 #endif
75288 main ()
75290 _expl(0);
75292 return 0;
75294 _ACEOF
75295 if ac_fn_cxx_try_compile "$LINENO"; then :
75296 glibcxx_cv_func__expl_use=yes
75297 else
75298 glibcxx_cv_func__expl_use=no
75300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75301 ac_ext=c
75302 ac_cpp='$CPP $CPPFLAGS'
75303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
75312 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
75314 if test x$glibcxx_cv_func__expl_use = x"yes"; then
75315 for ac_func in _expl
75316 do :
75317 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
75318 if test "x$ac_cv_func__expl" = x""yes; then :
75319 cat >>confdefs.h <<_ACEOF
75320 #define HAVE__EXPL 1
75321 _ACEOF
75324 done
75333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
75334 $as_echo_n "checking for fabsl declaration... " >&6; }
75335 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
75336 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
75337 $as_echo_n "(cached) " >&6
75338 else
75341 ac_ext=cpp
75342 ac_cpp='$CXXCPP $CPPFLAGS'
75343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75348 /* end confdefs.h. */
75349 #include <math.h>
75350 #ifdef HAVE_IEEEFP_H
75351 #include <ieeefp.h>
75352 #endif
75355 main ()
75357 fabsl(0);
75359 return 0;
75361 _ACEOF
75362 if ac_fn_cxx_try_compile "$LINENO"; then :
75363 glibcxx_cv_func_fabsl_use=yes
75364 else
75365 glibcxx_cv_func_fabsl_use=no
75367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75368 ac_ext=c
75369 ac_cpp='$CPP $CPPFLAGS'
75370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
75379 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
75381 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
75382 for ac_func in fabsl
75383 do :
75384 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
75385 if test "x$ac_cv_func_fabsl" = x""yes; then :
75386 cat >>confdefs.h <<_ACEOF
75387 #define HAVE_FABSL 1
75388 _ACEOF
75391 done
75393 else
75395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
75396 $as_echo_n "checking for _fabsl declaration... " >&6; }
75397 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
75398 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
75399 $as_echo_n "(cached) " >&6
75400 else
75403 ac_ext=cpp
75404 ac_cpp='$CXXCPP $CPPFLAGS'
75405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75410 /* end confdefs.h. */
75411 #include <math.h>
75412 #ifdef HAVE_IEEEFP_H
75413 #include <ieeefp.h>
75414 #endif
75417 main ()
75419 _fabsl(0);
75421 return 0;
75423 _ACEOF
75424 if ac_fn_cxx_try_compile "$LINENO"; then :
75425 glibcxx_cv_func__fabsl_use=yes
75426 else
75427 glibcxx_cv_func__fabsl_use=no
75429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75430 ac_ext=c
75431 ac_cpp='$CPP $CPPFLAGS'
75432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
75441 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
75443 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
75444 for ac_func in _fabsl
75445 do :
75446 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
75447 if test "x$ac_cv_func__fabsl" = x""yes; then :
75448 cat >>confdefs.h <<_ACEOF
75449 #define HAVE__FABSL 1
75450 _ACEOF
75453 done
75462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
75463 $as_echo_n "checking for fmodl declaration... " >&6; }
75464 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
75465 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
75466 $as_echo_n "(cached) " >&6
75467 else
75470 ac_ext=cpp
75471 ac_cpp='$CXXCPP $CPPFLAGS'
75472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75477 /* end confdefs.h. */
75478 #include <math.h>
75480 main ()
75482 fmodl(0, 0);
75484 return 0;
75486 _ACEOF
75487 if ac_fn_cxx_try_compile "$LINENO"; then :
75488 glibcxx_cv_func_fmodl_use=yes
75489 else
75490 glibcxx_cv_func_fmodl_use=no
75492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75493 ac_ext=c
75494 ac_cpp='$CPP $CPPFLAGS'
75495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
75504 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
75506 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
75507 for ac_func in fmodl
75508 do :
75509 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
75510 if test "x$ac_cv_func_fmodl" = x""yes; then :
75511 cat >>confdefs.h <<_ACEOF
75512 #define HAVE_FMODL 1
75513 _ACEOF
75516 done
75518 else
75520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
75521 $as_echo_n "checking for _fmodl declaration... " >&6; }
75522 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
75523 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
75524 $as_echo_n "(cached) " >&6
75525 else
75528 ac_ext=cpp
75529 ac_cpp='$CXXCPP $CPPFLAGS'
75530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75535 /* end confdefs.h. */
75536 #include <math.h>
75538 main ()
75540 _fmodl(0, 0);
75542 return 0;
75544 _ACEOF
75545 if ac_fn_cxx_try_compile "$LINENO"; then :
75546 glibcxx_cv_func__fmodl_use=yes
75547 else
75548 glibcxx_cv_func__fmodl_use=no
75550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75551 ac_ext=c
75552 ac_cpp='$CPP $CPPFLAGS'
75553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
75562 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
75564 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
75565 for ac_func in _fmodl
75566 do :
75567 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
75568 if test "x$ac_cv_func__fmodl" = x""yes; then :
75569 cat >>confdefs.h <<_ACEOF
75570 #define HAVE__FMODL 1
75571 _ACEOF
75574 done
75583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
75584 $as_echo_n "checking for frexpl declaration... " >&6; }
75585 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
75586 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
75587 $as_echo_n "(cached) " >&6
75588 else
75591 ac_ext=cpp
75592 ac_cpp='$CXXCPP $CPPFLAGS'
75593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75598 /* end confdefs.h. */
75599 #include <math.h>
75601 main ()
75603 frexpl(0, 0);
75605 return 0;
75607 _ACEOF
75608 if ac_fn_cxx_try_compile "$LINENO"; then :
75609 glibcxx_cv_func_frexpl_use=yes
75610 else
75611 glibcxx_cv_func_frexpl_use=no
75613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75614 ac_ext=c
75615 ac_cpp='$CPP $CPPFLAGS'
75616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
75625 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
75627 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
75628 for ac_func in frexpl
75629 do :
75630 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
75631 if test "x$ac_cv_func_frexpl" = x""yes; then :
75632 cat >>confdefs.h <<_ACEOF
75633 #define HAVE_FREXPL 1
75634 _ACEOF
75637 done
75639 else
75641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
75642 $as_echo_n "checking for _frexpl declaration... " >&6; }
75643 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
75644 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
75645 $as_echo_n "(cached) " >&6
75646 else
75649 ac_ext=cpp
75650 ac_cpp='$CXXCPP $CPPFLAGS'
75651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75656 /* end confdefs.h. */
75657 #include <math.h>
75659 main ()
75661 _frexpl(0, 0);
75663 return 0;
75665 _ACEOF
75666 if ac_fn_cxx_try_compile "$LINENO"; then :
75667 glibcxx_cv_func__frexpl_use=yes
75668 else
75669 glibcxx_cv_func__frexpl_use=no
75671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75672 ac_ext=c
75673 ac_cpp='$CPP $CPPFLAGS'
75674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
75683 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
75685 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
75686 for ac_func in _frexpl
75687 do :
75688 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
75689 if test "x$ac_cv_func__frexpl" = x""yes; then :
75690 cat >>confdefs.h <<_ACEOF
75691 #define HAVE__FREXPL 1
75692 _ACEOF
75695 done
75704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
75705 $as_echo_n "checking for hypotl declaration... " >&6; }
75706 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
75707 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
75708 $as_echo_n "(cached) " >&6
75709 else
75712 ac_ext=cpp
75713 ac_cpp='$CXXCPP $CPPFLAGS'
75714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75719 /* end confdefs.h. */
75720 #include <math.h>
75722 main ()
75724 hypotl(0, 0);
75726 return 0;
75728 _ACEOF
75729 if ac_fn_cxx_try_compile "$LINENO"; then :
75730 glibcxx_cv_func_hypotl_use=yes
75731 else
75732 glibcxx_cv_func_hypotl_use=no
75734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75735 ac_ext=c
75736 ac_cpp='$CPP $CPPFLAGS'
75737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
75746 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
75748 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
75749 for ac_func in hypotl
75750 do :
75751 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
75752 if test "x$ac_cv_func_hypotl" = x""yes; then :
75753 cat >>confdefs.h <<_ACEOF
75754 #define HAVE_HYPOTL 1
75755 _ACEOF
75758 done
75760 else
75762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
75763 $as_echo_n "checking for _hypotl declaration... " >&6; }
75764 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
75765 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
75766 $as_echo_n "(cached) " >&6
75767 else
75770 ac_ext=cpp
75771 ac_cpp='$CXXCPP $CPPFLAGS'
75772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75777 /* end confdefs.h. */
75778 #include <math.h>
75780 main ()
75782 _hypotl(0, 0);
75784 return 0;
75786 _ACEOF
75787 if ac_fn_cxx_try_compile "$LINENO"; then :
75788 glibcxx_cv_func__hypotl_use=yes
75789 else
75790 glibcxx_cv_func__hypotl_use=no
75792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75793 ac_ext=c
75794 ac_cpp='$CPP $CPPFLAGS'
75795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
75804 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
75806 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
75807 for ac_func in _hypotl
75808 do :
75809 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
75810 if test "x$ac_cv_func__hypotl" = x""yes; then :
75811 cat >>confdefs.h <<_ACEOF
75812 #define HAVE__HYPOTL 1
75813 _ACEOF
75816 done
75825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
75826 $as_echo_n "checking for ldexpl declaration... " >&6; }
75827 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
75828 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
75829 $as_echo_n "(cached) " >&6
75830 else
75833 ac_ext=cpp
75834 ac_cpp='$CXXCPP $CPPFLAGS'
75835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75840 /* end confdefs.h. */
75841 #include <math.h>
75843 main ()
75845 ldexpl(0, 0);
75847 return 0;
75849 _ACEOF
75850 if ac_fn_cxx_try_compile "$LINENO"; then :
75851 glibcxx_cv_func_ldexpl_use=yes
75852 else
75853 glibcxx_cv_func_ldexpl_use=no
75855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75856 ac_ext=c
75857 ac_cpp='$CPP $CPPFLAGS'
75858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
75867 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
75869 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
75870 for ac_func in ldexpl
75871 do :
75872 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
75873 if test "x$ac_cv_func_ldexpl" = x""yes; then :
75874 cat >>confdefs.h <<_ACEOF
75875 #define HAVE_LDEXPL 1
75876 _ACEOF
75879 done
75881 else
75883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
75884 $as_echo_n "checking for _ldexpl declaration... " >&6; }
75885 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
75886 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
75887 $as_echo_n "(cached) " >&6
75888 else
75891 ac_ext=cpp
75892 ac_cpp='$CXXCPP $CPPFLAGS'
75893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75898 /* end confdefs.h. */
75899 #include <math.h>
75901 main ()
75903 _ldexpl(0, 0);
75905 return 0;
75907 _ACEOF
75908 if ac_fn_cxx_try_compile "$LINENO"; then :
75909 glibcxx_cv_func__ldexpl_use=yes
75910 else
75911 glibcxx_cv_func__ldexpl_use=no
75913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75914 ac_ext=c
75915 ac_cpp='$CPP $CPPFLAGS'
75916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
75925 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
75927 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
75928 for ac_func in _ldexpl
75929 do :
75930 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
75931 if test "x$ac_cv_func__ldexpl" = x""yes; then :
75932 cat >>confdefs.h <<_ACEOF
75933 #define HAVE__LDEXPL 1
75934 _ACEOF
75937 done
75946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
75947 $as_echo_n "checking for logl declaration... " >&6; }
75948 if test x${glibcxx_cv_func_logl_use+set} != xset; then
75949 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
75950 $as_echo_n "(cached) " >&6
75951 else
75954 ac_ext=cpp
75955 ac_cpp='$CXXCPP $CPPFLAGS'
75956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75961 /* end confdefs.h. */
75962 #include <math.h>
75963 #ifdef HAVE_IEEEFP_H
75964 #include <ieeefp.h>
75965 #endif
75968 main ()
75970 logl(0);
75972 return 0;
75974 _ACEOF
75975 if ac_fn_cxx_try_compile "$LINENO"; then :
75976 glibcxx_cv_func_logl_use=yes
75977 else
75978 glibcxx_cv_func_logl_use=no
75980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75981 ac_ext=c
75982 ac_cpp='$CPP $CPPFLAGS'
75983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
75992 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
75994 if test x$glibcxx_cv_func_logl_use = x"yes"; then
75995 for ac_func in logl
75996 do :
75997 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
75998 if test "x$ac_cv_func_logl" = x""yes; then :
75999 cat >>confdefs.h <<_ACEOF
76000 #define HAVE_LOGL 1
76001 _ACEOF
76004 done
76006 else
76008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
76009 $as_echo_n "checking for _logl declaration... " >&6; }
76010 if test x${glibcxx_cv_func__logl_use+set} != xset; then
76011 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
76012 $as_echo_n "(cached) " >&6
76013 else
76016 ac_ext=cpp
76017 ac_cpp='$CXXCPP $CPPFLAGS'
76018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76023 /* end confdefs.h. */
76024 #include <math.h>
76025 #ifdef HAVE_IEEEFP_H
76026 #include <ieeefp.h>
76027 #endif
76030 main ()
76032 _logl(0);
76034 return 0;
76036 _ACEOF
76037 if ac_fn_cxx_try_compile "$LINENO"; then :
76038 glibcxx_cv_func__logl_use=yes
76039 else
76040 glibcxx_cv_func__logl_use=no
76042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76043 ac_ext=c
76044 ac_cpp='$CPP $CPPFLAGS'
76045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
76054 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
76056 if test x$glibcxx_cv_func__logl_use = x"yes"; then
76057 for ac_func in _logl
76058 do :
76059 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
76060 if test "x$ac_cv_func__logl" = x""yes; then :
76061 cat >>confdefs.h <<_ACEOF
76062 #define HAVE__LOGL 1
76063 _ACEOF
76066 done
76075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
76076 $as_echo_n "checking for log10l declaration... " >&6; }
76077 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
76078 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
76079 $as_echo_n "(cached) " >&6
76080 else
76083 ac_ext=cpp
76084 ac_cpp='$CXXCPP $CPPFLAGS'
76085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76090 /* end confdefs.h. */
76091 #include <math.h>
76092 #ifdef HAVE_IEEEFP_H
76093 #include <ieeefp.h>
76094 #endif
76097 main ()
76099 log10l(0);
76101 return 0;
76103 _ACEOF
76104 if ac_fn_cxx_try_compile "$LINENO"; then :
76105 glibcxx_cv_func_log10l_use=yes
76106 else
76107 glibcxx_cv_func_log10l_use=no
76109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76110 ac_ext=c
76111 ac_cpp='$CPP $CPPFLAGS'
76112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
76121 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
76123 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
76124 for ac_func in log10l
76125 do :
76126 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
76127 if test "x$ac_cv_func_log10l" = x""yes; then :
76128 cat >>confdefs.h <<_ACEOF
76129 #define HAVE_LOG10L 1
76130 _ACEOF
76133 done
76135 else
76137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
76138 $as_echo_n "checking for _log10l declaration... " >&6; }
76139 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
76140 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
76141 $as_echo_n "(cached) " >&6
76142 else
76145 ac_ext=cpp
76146 ac_cpp='$CXXCPP $CPPFLAGS'
76147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76152 /* end confdefs.h. */
76153 #include <math.h>
76154 #ifdef HAVE_IEEEFP_H
76155 #include <ieeefp.h>
76156 #endif
76159 main ()
76161 _log10l(0);
76163 return 0;
76165 _ACEOF
76166 if ac_fn_cxx_try_compile "$LINENO"; then :
76167 glibcxx_cv_func__log10l_use=yes
76168 else
76169 glibcxx_cv_func__log10l_use=no
76171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76172 ac_ext=c
76173 ac_cpp='$CPP $CPPFLAGS'
76174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
76183 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
76185 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
76186 for ac_func in _log10l
76187 do :
76188 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
76189 if test "x$ac_cv_func__log10l" = x""yes; then :
76190 cat >>confdefs.h <<_ACEOF
76191 #define HAVE__LOG10L 1
76192 _ACEOF
76195 done
76204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
76205 $as_echo_n "checking for modfl declaration... " >&6; }
76206 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
76207 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
76208 $as_echo_n "(cached) " >&6
76209 else
76212 ac_ext=cpp
76213 ac_cpp='$CXXCPP $CPPFLAGS'
76214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76219 /* end confdefs.h. */
76220 #include <math.h>
76222 main ()
76224 modfl(0, 0);
76226 return 0;
76228 _ACEOF
76229 if ac_fn_cxx_try_compile "$LINENO"; then :
76230 glibcxx_cv_func_modfl_use=yes
76231 else
76232 glibcxx_cv_func_modfl_use=no
76234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76235 ac_ext=c
76236 ac_cpp='$CPP $CPPFLAGS'
76237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
76246 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
76248 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
76249 for ac_func in modfl
76250 do :
76251 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
76252 if test "x$ac_cv_func_modfl" = x""yes; then :
76253 cat >>confdefs.h <<_ACEOF
76254 #define HAVE_MODFL 1
76255 _ACEOF
76258 done
76260 else
76262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
76263 $as_echo_n "checking for _modfl declaration... " >&6; }
76264 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
76265 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
76266 $as_echo_n "(cached) " >&6
76267 else
76270 ac_ext=cpp
76271 ac_cpp='$CXXCPP $CPPFLAGS'
76272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76277 /* end confdefs.h. */
76278 #include <math.h>
76280 main ()
76282 _modfl(0, 0);
76284 return 0;
76286 _ACEOF
76287 if ac_fn_cxx_try_compile "$LINENO"; then :
76288 glibcxx_cv_func__modfl_use=yes
76289 else
76290 glibcxx_cv_func__modfl_use=no
76292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76293 ac_ext=c
76294 ac_cpp='$CPP $CPPFLAGS'
76295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
76304 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
76306 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
76307 for ac_func in _modfl
76308 do :
76309 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
76310 if test "x$ac_cv_func__modfl" = x""yes; then :
76311 cat >>confdefs.h <<_ACEOF
76312 #define HAVE__MODFL 1
76313 _ACEOF
76316 done
76325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
76326 $as_echo_n "checking for powl declaration... " >&6; }
76327 if test x${glibcxx_cv_func_powl_use+set} != xset; then
76328 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
76329 $as_echo_n "(cached) " >&6
76330 else
76333 ac_ext=cpp
76334 ac_cpp='$CXXCPP $CPPFLAGS'
76335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76340 /* end confdefs.h. */
76341 #include <math.h>
76343 main ()
76345 powl(0, 0);
76347 return 0;
76349 _ACEOF
76350 if ac_fn_cxx_try_compile "$LINENO"; then :
76351 glibcxx_cv_func_powl_use=yes
76352 else
76353 glibcxx_cv_func_powl_use=no
76355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76356 ac_ext=c
76357 ac_cpp='$CPP $CPPFLAGS'
76358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
76367 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
76369 if test x$glibcxx_cv_func_powl_use = x"yes"; then
76370 for ac_func in powl
76371 do :
76372 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
76373 if test "x$ac_cv_func_powl" = x""yes; then :
76374 cat >>confdefs.h <<_ACEOF
76375 #define HAVE_POWL 1
76376 _ACEOF
76379 done
76381 else
76383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
76384 $as_echo_n "checking for _powl declaration... " >&6; }
76385 if test x${glibcxx_cv_func__powl_use+set} != xset; then
76386 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
76387 $as_echo_n "(cached) " >&6
76388 else
76391 ac_ext=cpp
76392 ac_cpp='$CXXCPP $CPPFLAGS'
76393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76398 /* end confdefs.h. */
76399 #include <math.h>
76401 main ()
76403 _powl(0, 0);
76405 return 0;
76407 _ACEOF
76408 if ac_fn_cxx_try_compile "$LINENO"; then :
76409 glibcxx_cv_func__powl_use=yes
76410 else
76411 glibcxx_cv_func__powl_use=no
76413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76414 ac_ext=c
76415 ac_cpp='$CPP $CPPFLAGS'
76416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
76425 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
76427 if test x$glibcxx_cv_func__powl_use = x"yes"; then
76428 for ac_func in _powl
76429 do :
76430 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
76431 if test "x$ac_cv_func__powl" = x""yes; then :
76432 cat >>confdefs.h <<_ACEOF
76433 #define HAVE__POWL 1
76434 _ACEOF
76437 done
76446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
76447 $as_echo_n "checking for sqrtl declaration... " >&6; }
76448 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
76449 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
76450 $as_echo_n "(cached) " >&6
76451 else
76454 ac_ext=cpp
76455 ac_cpp='$CXXCPP $CPPFLAGS'
76456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76461 /* end confdefs.h. */
76462 #include <math.h>
76463 #ifdef HAVE_IEEEFP_H
76464 #include <ieeefp.h>
76465 #endif
76468 main ()
76470 sqrtl(0);
76472 return 0;
76474 _ACEOF
76475 if ac_fn_cxx_try_compile "$LINENO"; then :
76476 glibcxx_cv_func_sqrtl_use=yes
76477 else
76478 glibcxx_cv_func_sqrtl_use=no
76480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76481 ac_ext=c
76482 ac_cpp='$CPP $CPPFLAGS'
76483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
76492 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
76494 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
76495 for ac_func in sqrtl
76496 do :
76497 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
76498 if test "x$ac_cv_func_sqrtl" = x""yes; then :
76499 cat >>confdefs.h <<_ACEOF
76500 #define HAVE_SQRTL 1
76501 _ACEOF
76504 done
76506 else
76508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
76509 $as_echo_n "checking for _sqrtl declaration... " >&6; }
76510 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
76511 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
76512 $as_echo_n "(cached) " >&6
76513 else
76516 ac_ext=cpp
76517 ac_cpp='$CXXCPP $CPPFLAGS'
76518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76523 /* end confdefs.h. */
76524 #include <math.h>
76525 #ifdef HAVE_IEEEFP_H
76526 #include <ieeefp.h>
76527 #endif
76530 main ()
76532 _sqrtl(0);
76534 return 0;
76536 _ACEOF
76537 if ac_fn_cxx_try_compile "$LINENO"; then :
76538 glibcxx_cv_func__sqrtl_use=yes
76539 else
76540 glibcxx_cv_func__sqrtl_use=no
76542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76543 ac_ext=c
76544 ac_cpp='$CPP $CPPFLAGS'
76545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
76554 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
76556 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
76557 for ac_func in _sqrtl
76558 do :
76559 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
76560 if test "x$ac_cv_func__sqrtl" = x""yes; then :
76561 cat >>confdefs.h <<_ACEOF
76562 #define HAVE__SQRTL 1
76563 _ACEOF
76566 done
76575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
76576 $as_echo_n "checking for sincosl declaration... " >&6; }
76577 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
76578 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
76579 $as_echo_n "(cached) " >&6
76580 else
76583 ac_ext=cpp
76584 ac_cpp='$CXXCPP $CPPFLAGS'
76585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76590 /* end confdefs.h. */
76591 #include <math.h>
76593 main ()
76595 sincosl(0, 0, 0);
76597 return 0;
76599 _ACEOF
76600 if ac_fn_cxx_try_compile "$LINENO"; then :
76601 glibcxx_cv_func_sincosl_use=yes
76602 else
76603 glibcxx_cv_func_sincosl_use=no
76605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76606 ac_ext=c
76607 ac_cpp='$CPP $CPPFLAGS'
76608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
76617 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
76619 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
76620 for ac_func in sincosl
76621 do :
76622 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
76623 if test "x$ac_cv_func_sincosl" = x""yes; then :
76624 cat >>confdefs.h <<_ACEOF
76625 #define HAVE_SINCOSL 1
76626 _ACEOF
76629 done
76631 else
76633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
76634 $as_echo_n "checking for _sincosl declaration... " >&6; }
76635 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
76636 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
76637 $as_echo_n "(cached) " >&6
76638 else
76641 ac_ext=cpp
76642 ac_cpp='$CXXCPP $CPPFLAGS'
76643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76648 /* end confdefs.h. */
76649 #include <math.h>
76651 main ()
76653 _sincosl(0, 0, 0);
76655 return 0;
76657 _ACEOF
76658 if ac_fn_cxx_try_compile "$LINENO"; then :
76659 glibcxx_cv_func__sincosl_use=yes
76660 else
76661 glibcxx_cv_func__sincosl_use=no
76663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76664 ac_ext=c
76665 ac_cpp='$CPP $CPPFLAGS'
76666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
76675 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
76677 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
76678 for ac_func in _sincosl
76679 do :
76680 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
76681 if test "x$ac_cv_func__sincosl" = x""yes; then :
76682 cat >>confdefs.h <<_ACEOF
76683 #define HAVE__SINCOSL 1
76684 _ACEOF
76687 done
76696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
76697 $as_echo_n "checking for finitel declaration... " >&6; }
76698 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
76699 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
76700 $as_echo_n "(cached) " >&6
76701 else
76704 ac_ext=cpp
76705 ac_cpp='$CXXCPP $CPPFLAGS'
76706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76711 /* end confdefs.h. */
76712 #include <math.h>
76713 #ifdef HAVE_IEEEFP_H
76714 #include <ieeefp.h>
76715 #endif
76718 main ()
76720 finitel(0);
76722 return 0;
76724 _ACEOF
76725 if ac_fn_cxx_try_compile "$LINENO"; then :
76726 glibcxx_cv_func_finitel_use=yes
76727 else
76728 glibcxx_cv_func_finitel_use=no
76730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76731 ac_ext=c
76732 ac_cpp='$CPP $CPPFLAGS'
76733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
76742 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
76744 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
76745 for ac_func in finitel
76746 do :
76747 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
76748 if test "x$ac_cv_func_finitel" = x""yes; then :
76749 cat >>confdefs.h <<_ACEOF
76750 #define HAVE_FINITEL 1
76751 _ACEOF
76754 done
76756 else
76758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
76759 $as_echo_n "checking for _finitel declaration... " >&6; }
76760 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
76761 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
76762 $as_echo_n "(cached) " >&6
76763 else
76766 ac_ext=cpp
76767 ac_cpp='$CXXCPP $CPPFLAGS'
76768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76773 /* end confdefs.h. */
76774 #include <math.h>
76775 #ifdef HAVE_IEEEFP_H
76776 #include <ieeefp.h>
76777 #endif
76780 main ()
76782 _finitel(0);
76784 return 0;
76786 _ACEOF
76787 if ac_fn_cxx_try_compile "$LINENO"; then :
76788 glibcxx_cv_func__finitel_use=yes
76789 else
76790 glibcxx_cv_func__finitel_use=no
76792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76793 ac_ext=c
76794 ac_cpp='$CPP $CPPFLAGS'
76795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
76804 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
76806 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
76807 for ac_func in _finitel
76808 do :
76809 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
76810 if test "x$ac_cv_func__finitel" = x""yes; then :
76811 cat >>confdefs.h <<_ACEOF
76812 #define HAVE__FINITEL 1
76813 _ACEOF
76816 done
76824 LIBS="$ac_save_LIBS"
76825 CXXFLAGS="$ac_save_CXXFLAGS"
76828 ac_test_CXXFLAGS="${CXXFLAGS+set}"
76829 ac_save_CXXFLAGS="$CXXFLAGS"
76830 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
76833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
76834 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
76835 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
76836 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
76837 $as_echo_n "(cached) " >&6
76838 else
76841 ac_ext=cpp
76842 ac_cpp='$CXXCPP $CPPFLAGS'
76843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76848 /* end confdefs.h. */
76849 #include <stdlib.h>
76851 main ()
76853 at_quick_exit(0);
76855 return 0;
76857 _ACEOF
76858 if ac_fn_cxx_try_compile "$LINENO"; then :
76859 glibcxx_cv_func_at_quick_exit_use=yes
76860 else
76861 glibcxx_cv_func_at_quick_exit_use=no
76863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76864 ac_ext=c
76865 ac_cpp='$CPP $CPPFLAGS'
76866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
76875 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
76876 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
76877 for ac_func in at_quick_exit
76878 do :
76879 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
76880 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
76881 cat >>confdefs.h <<_ACEOF
76882 #define HAVE_AT_QUICK_EXIT 1
76883 _ACEOF
76886 done
76891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
76892 $as_echo_n "checking for quick_exit declaration... " >&6; }
76893 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
76894 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
76895 $as_echo_n "(cached) " >&6
76896 else
76899 ac_ext=cpp
76900 ac_cpp='$CXXCPP $CPPFLAGS'
76901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76906 /* end confdefs.h. */
76907 #include <stdlib.h>
76909 main ()
76911 quick_exit(0);
76913 return 0;
76915 _ACEOF
76916 if ac_fn_cxx_try_compile "$LINENO"; then :
76917 glibcxx_cv_func_quick_exit_use=yes
76918 else
76919 glibcxx_cv_func_quick_exit_use=no
76921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76922 ac_ext=c
76923 ac_cpp='$CPP $CPPFLAGS'
76924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
76933 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
76934 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
76935 for ac_func in quick_exit
76936 do :
76937 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
76938 if test "x$ac_cv_func_quick_exit" = x""yes; then :
76939 cat >>confdefs.h <<_ACEOF
76940 #define HAVE_QUICK_EXIT 1
76941 _ACEOF
76944 done
76949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
76950 $as_echo_n "checking for strtold declaration... " >&6; }
76951 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
76952 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
76953 $as_echo_n "(cached) " >&6
76954 else
76957 ac_ext=cpp
76958 ac_cpp='$CXXCPP $CPPFLAGS'
76959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76964 /* end confdefs.h. */
76965 #include <stdlib.h>
76967 main ()
76969 strtold(0, 0);
76971 return 0;
76973 _ACEOF
76974 if ac_fn_cxx_try_compile "$LINENO"; then :
76975 glibcxx_cv_func_strtold_use=yes
76976 else
76977 glibcxx_cv_func_strtold_use=no
76979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76980 ac_ext=c
76981 ac_cpp='$CPP $CPPFLAGS'
76982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
76991 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
76992 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
76993 for ac_func in strtold
76994 do :
76995 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
76996 if test "x$ac_cv_func_strtold" = x""yes; then :
76997 cat >>confdefs.h <<_ACEOF
76998 #define HAVE_STRTOLD 1
76999 _ACEOF
77002 done
77009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
77010 $as_echo_n "checking for strtof declaration... " >&6; }
77011 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
77012 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
77013 $as_echo_n "(cached) " >&6
77014 else
77017 ac_ext=cpp
77018 ac_cpp='$CXXCPP $CPPFLAGS'
77019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77024 /* end confdefs.h. */
77025 #include <stdlib.h>
77027 main ()
77029 strtof(0, 0);
77031 return 0;
77033 _ACEOF
77034 if ac_fn_cxx_try_compile "$LINENO"; then :
77035 glibcxx_cv_func_strtof_use=yes
77036 else
77037 glibcxx_cv_func_strtof_use=no
77039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77040 ac_ext=c
77041 ac_cpp='$CPP $CPPFLAGS'
77042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
77051 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
77052 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
77053 for ac_func in strtof
77054 do :
77055 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
77056 if test "x$ac_cv_func_strtof" = x""yes; then :
77057 cat >>confdefs.h <<_ACEOF
77058 #define HAVE_STRTOF 1
77059 _ACEOF
77062 done
77069 CXXFLAGS="$ac_save_CXXFLAGS"
77072 *-vxworks)
77073 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
77075 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
77077 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
77079 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
77081 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
77083 $as_echo "#define HAVE_COSF 1" >>confdefs.h
77085 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
77087 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
77089 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
77091 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
77093 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
77095 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
77097 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
77099 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
77101 $as_echo "#define HAVE_POWF 1" >>confdefs.h
77103 $as_echo "#define HAVE_SINF 1" >>confdefs.h
77105 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
77107 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
77109 $as_echo "#define HAVE_TANF 1" >>confdefs.h
77111 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
77115 as_fn_error "No support for this host/target combination." "$LINENO" 5
77117 esac
77121 # At some point, we should differentiate between architectures
77122 # like x86, which have long double versions, and alpha/powerpc/etc.,
77123 # which don't. For the time being, punt.
77124 if test x"long_double_math_on_this_cpu" = x"yes"; then
77125 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
77127 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
77129 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
77131 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
77133 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
77135 $as_echo "#define HAVE_COSL 1" >>confdefs.h
77137 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
77139 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
77141 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
77143 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
77145 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
77147 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
77149 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
77151 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
77153 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
77155 $as_echo "#define HAVE_MODFL 1" >>confdefs.h
77157 $as_echo "#define HAVE_POWL 1" >>confdefs.h
77159 $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
77161 $as_echo "#define HAVE_SINL 1" >>confdefs.h
77163 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
77165 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
77167 $as_echo "#define HAVE_TANL 1" >>confdefs.h
77169 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
77174 # Check for _Unwind_GetIPInfo.
77177 # Check whether --with-system-libunwind was given.
77178 if test "${with_system_libunwind+set}" = set; then :
77179 withval=$with_system_libunwind;
77182 # If system-libunwind was not specifically set, pick a default setting.
77183 if test x$with_system_libunwind = x; then
77184 case ${target} in
77185 ia64-*-hpux*) with_system_libunwind=yes ;;
77186 *) with_system_libunwind=no ;;
77187 esac
77189 # Based on system-libunwind and target, do we have ipinfo?
77190 if test x$with_system_libunwind = xyes; then
77191 case ${target} in
77192 ia64-*-*) have_unwind_getipinfo=no ;;
77193 *) have_unwind_getipinfo=yes ;;
77194 esac
77195 else
77196 # Darwin before version 9 does not have _Unwind_GetIPInfo.
77198 case ${target} in
77199 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
77200 *) have_unwind_getipinfo=yes ;;
77201 esac
77205 if test x$have_unwind_getipinfo = xyes; then
77207 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
77212 # Check whether --enable-linux-futex was given.
77213 if test "${enable_linux_futex+set}" = set; then :
77214 enableval=$enable_linux_futex;
77215 case "$enableval" in
77216 yes|no|default) ;;
77217 *) as_fn_error "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
77218 esac
77220 else
77221 enable_linux_futex=default
77225 case "$target" in
77226 *-linux*)
77227 case "$enable_linux_futex" in
77228 default)
77229 # If headers don't have gettid/futex syscalls definition, then
77230 # default to no, otherwise there will be compile time failures.
77231 # Otherwise, default to yes. If we don't detect we are
77232 # compiled/linked against NPTL and not cross-compiling, check
77233 # if programs are run by default against NPTL and if not, issue
77234 # a warning.
77235 enable_linux_futex=no
77236 if test x$gcc_no_link = xyes; then
77237 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
77239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77240 /* end confdefs.h. */
77241 #include <sys/syscall.h>
77242 int lk;
77244 main ()
77246 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
77248 return 0;
77250 _ACEOF
77251 if ac_fn_c_try_link "$LINENO"; then :
77252 save_LIBS="$LIBS"
77253 LIBS="-lpthread $LIBS"
77254 if test x$gcc_no_link = xyes; then
77255 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
77257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77258 /* end confdefs.h. */
77259 #ifndef _GNU_SOURCE
77260 #define _GNU_SOURCE 1
77261 #endif
77262 #include <pthread.h>
77263 pthread_t th; void *status;
77265 main ()
77267 pthread_tryjoin_np (th, &status);
77269 return 0;
77271 _ACEOF
77272 if ac_fn_c_try_link "$LINENO"; then :
77273 enable_linux_futex=yes
77274 else
77275 if test x$cross_compiling = xno; then
77276 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
77277 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
77278 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
77279 If so, please configure with --disable-linux-futex" >&5
77280 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
77281 If so, please configure with --disable-linux-futex" >&2;}
77284 enable_linux_futex=yes
77286 rm -f core conftest.err conftest.$ac_objext \
77287 conftest$ac_exeext conftest.$ac_ext
77288 LIBS="$save_LIBS"
77290 rm -f core conftest.err conftest.$ac_objext \
77291 conftest$ac_exeext conftest.$ac_ext
77293 yes)
77294 if test x$gcc_no_link = xyes; then
77295 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
77297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77298 /* end confdefs.h. */
77299 #include <sys/syscall.h>
77300 int lk;
77302 main ()
77304 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
77306 return 0;
77308 _ACEOF
77309 if ac_fn_c_try_link "$LINENO"; then :
77311 else
77312 as_fn_error "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
77314 rm -f core conftest.err conftest.$ac_objext \
77315 conftest$ac_exeext conftest.$ac_ext
77317 esac
77320 enable_linux_futex=no
77322 esac
77323 if test x$enable_linux_futex = xyes; then
77325 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
77332 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
77334 acx_cv_header_stdint=stddef.h
77335 acx_cv_header_stdint_kind="(already complete)"
77336 for i in stdint.h $inttype_headers; do
77337 unset ac_cv_type_uintptr_t
77338 unset ac_cv_type_uintmax_t
77339 unset ac_cv_type_int_least32_t
77340 unset ac_cv_type_int_fast32_t
77341 unset ac_cv_type_uint64_t
77342 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
77343 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
77344 #include <$i>
77346 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
77347 acx_cv_header_stdint=$i
77348 else
77349 continue
77352 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
77353 #include <$i>
77355 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
77357 else
77358 acx_cv_header_stdint_kind="(mostly complete)"
77361 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
77362 #include <$i>
77364 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
77366 else
77367 acx_cv_header_stdint_kind="(mostly complete)"
77370 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
77371 #include <$i>
77373 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
77375 else
77376 acx_cv_header_stdint_kind="(mostly complete)"
77379 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
77380 #include <$i>
77382 if test "x$ac_cv_type_uint64_t" = x""yes; then :
77384 else
77385 acx_cv_header_stdint_kind="(lacks uint64_t)"
77388 break
77389 done
77390 if test "$acx_cv_header_stdint" = stddef.h; then
77391 acx_cv_header_stdint_kind="(lacks uintmax_t)"
77392 for i in stdint.h $inttype_headers; do
77393 unset ac_cv_type_uintptr_t
77394 unset ac_cv_type_uint32_t
77395 unset ac_cv_type_uint64_t
77396 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
77397 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
77398 #include <$i>
77400 if test "x$ac_cv_type_uint32_t" = x""yes; then :
77401 acx_cv_header_stdint=$i
77402 else
77403 continue
77406 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
77407 #include <$i>
77409 if test "x$ac_cv_type_uint64_t" = x""yes; then :
77413 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
77414 #include <$i>
77416 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
77420 break
77421 done
77423 if test "$acx_cv_header_stdint" = stddef.h; then
77424 acx_cv_header_stdint_kind="(u_intXX_t style)"
77425 for i in sys/types.h $inttype_headers; do
77426 unset ac_cv_type_u_int32_t
77427 unset ac_cv_type_u_int64_t
77428 $as_echo_n "looking for u_intXX_t types in $i, " >&6
77429 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
77430 #include <$i>
77432 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
77433 acx_cv_header_stdint=$i
77434 else
77435 continue
77438 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
77439 #include <$i>
77441 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
77445 break
77446 done
77448 if test "$acx_cv_header_stdint" = stddef.h; then
77449 acx_cv_header_stdint_kind="(using manual detection)"
77452 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
77453 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
77454 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
77455 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
77456 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
77458 # ----------------- Summarize what we found so far
77460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
77461 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
77463 case `$as_basename -- include/gstdint.h ||
77464 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
77465 Xinclude/gstdint.h : 'X\(//\)$' \| \
77466 Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
77467 $as_echo X/include/gstdint.h |
77468 sed '/^.*\/\([^/][^/]*\)\/*$/{
77469 s//\1/
77472 /^X\/\(\/\/\)$/{
77473 s//\1/
77476 /^X\/\(\/\).*/{
77477 s//\1/
77480 s/.*/./; q'` in
77481 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
77482 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
77483 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
77484 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
77485 *) ;;
77486 esac
77488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
77489 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
77491 # ----------------- done included file, check C basic types --------
77493 # Lacking an uintptr_t? Test size of void *
77494 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
77495 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
77496 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
77497 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
77498 # This bug is HP SR number 8606223364.
77499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
77500 $as_echo_n "checking size of void *... " >&6; }
77501 if test "${ac_cv_sizeof_void_p+set}" = set; then :
77502 $as_echo_n "(cached) " >&6
77503 else
77504 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
77506 else
77507 if test "$ac_cv_type_void_p" = yes; then
77508 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
77509 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
77510 { as_fn_set_status 77
77511 as_fn_error "cannot compute sizeof (void *)
77512 See \`config.log' for more details." "$LINENO" 5; }; }
77513 else
77514 ac_cv_sizeof_void_p=0
77519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
77520 $as_echo "$ac_cv_sizeof_void_p" >&6; }
77524 cat >>confdefs.h <<_ACEOF
77525 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
77526 _ACEOF
77529 esac
77531 # Lacking an uint64_t? Test size of long
77532 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
77533 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
77534 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
77535 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
77536 # This bug is HP SR number 8606223364.
77537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
77538 $as_echo_n "checking size of long... " >&6; }
77539 if test "${ac_cv_sizeof_long+set}" = set; then :
77540 $as_echo_n "(cached) " >&6
77541 else
77542 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
77544 else
77545 if test "$ac_cv_type_long" = yes; then
77546 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
77547 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
77548 { as_fn_set_status 77
77549 as_fn_error "cannot compute sizeof (long)
77550 See \`config.log' for more details." "$LINENO" 5; }; }
77551 else
77552 ac_cv_sizeof_long=0
77557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
77558 $as_echo "$ac_cv_sizeof_long" >&6; }
77562 cat >>confdefs.h <<_ACEOF
77563 #define SIZEOF_LONG $ac_cv_sizeof_long
77564 _ACEOF
77567 esac
77569 if test $acx_cv_header_stdint = stddef.h; then
77570 # Lacking a good header? Test size of everything and deduce all types.
77571 # The cast to long int works around a bug in the HP C Compiler
77572 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
77573 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
77574 # This bug is HP SR number 8606223364.
77575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
77576 $as_echo_n "checking size of int... " >&6; }
77577 if test "${ac_cv_sizeof_int+set}" = set; then :
77578 $as_echo_n "(cached) " >&6
77579 else
77580 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
77582 else
77583 if test "$ac_cv_type_int" = yes; then
77584 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
77585 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
77586 { as_fn_set_status 77
77587 as_fn_error "cannot compute sizeof (int)
77588 See \`config.log' for more details." "$LINENO" 5; }; }
77589 else
77590 ac_cv_sizeof_int=0
77595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
77596 $as_echo "$ac_cv_sizeof_int" >&6; }
77600 cat >>confdefs.h <<_ACEOF
77601 #define SIZEOF_INT $ac_cv_sizeof_int
77602 _ACEOF
77605 # The cast to long int works around a bug in the HP C Compiler
77606 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
77607 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
77608 # This bug is HP SR number 8606223364.
77609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
77610 $as_echo_n "checking size of short... " >&6; }
77611 if test "${ac_cv_sizeof_short+set}" = set; then :
77612 $as_echo_n "(cached) " >&6
77613 else
77614 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
77616 else
77617 if test "$ac_cv_type_short" = yes; then
77618 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
77619 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
77620 { as_fn_set_status 77
77621 as_fn_error "cannot compute sizeof (short)
77622 See \`config.log' for more details." "$LINENO" 5; }; }
77623 else
77624 ac_cv_sizeof_short=0
77629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
77630 $as_echo "$ac_cv_sizeof_short" >&6; }
77634 cat >>confdefs.h <<_ACEOF
77635 #define SIZEOF_SHORT $ac_cv_sizeof_short
77636 _ACEOF
77639 # The cast to long int works around a bug in the HP C Compiler
77640 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
77641 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
77642 # This bug is HP SR number 8606223364.
77643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
77644 $as_echo_n "checking size of char... " >&6; }
77645 if test "${ac_cv_sizeof_char+set}" = set; then :
77646 $as_echo_n "(cached) " >&6
77647 else
77648 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
77650 else
77651 if test "$ac_cv_type_char" = yes; then
77652 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
77653 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
77654 { as_fn_set_status 77
77655 as_fn_error "cannot compute sizeof (char)
77656 See \`config.log' for more details." "$LINENO" 5; }; }
77657 else
77658 ac_cv_sizeof_char=0
77663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
77664 $as_echo "$ac_cv_sizeof_char" >&6; }
77668 cat >>confdefs.h <<_ACEOF
77669 #define SIZEOF_CHAR $ac_cv_sizeof_char
77670 _ACEOF
77674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
77675 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
77676 case "$ac_cv_sizeof_char" in
77677 1) acx_cv_type_int8_t=char ;;
77678 *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
77679 esac
77680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
77681 $as_echo "$acx_cv_type_int8_t" >&6; }
77683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
77684 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
77685 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
77686 2:*) acx_cv_type_int16_t=int ;;
77687 *:2) acx_cv_type_int16_t=short ;;
77688 *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
77689 esac
77690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
77691 $as_echo "$acx_cv_type_int16_t" >&6; }
77693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
77694 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
77695 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
77696 4:*) acx_cv_type_int32_t=int ;;
77697 *:4) acx_cv_type_int32_t=long ;;
77698 *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
77699 esac
77700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
77701 $as_echo "$acx_cv_type_int32_t" >&6; }
77704 # These tests are here to make the output prettier
77706 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
77707 case "$ac_cv_sizeof_long" in
77708 8) acx_cv_type_int64_t=long ;;
77709 esac
77710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
77711 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
77712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
77713 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
77716 # Now we can use the above types
77718 if test "$ac_cv_type_uintptr_t" != yes; then
77719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
77720 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
77721 case $ac_cv_sizeof_void_p in
77722 2) acx_cv_type_intptr_t=int16_t ;;
77723 4) acx_cv_type_intptr_t=int32_t ;;
77724 8) acx_cv_type_intptr_t=int64_t ;;
77725 *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
77726 esac
77727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
77728 $as_echo "$acx_cv_type_intptr_t" >&6; }
77731 # ----------------- done all checks, emit header -------------
77732 ac_config_commands="$ac_config_commands include/gstdint.h"
77738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
77739 $as_echo_n "checking for GNU c++filt... " >&6; }
77740 if test "${ac_cv_path_CXXFILT+set}" = set; then :
77741 $as_echo_n "(cached) " >&6
77742 else
77743 if test -z "$CXXFILT"; then
77744 ac_path_CXXFILT_found=false
77745 # Loop through the user's path and test for each of PROGNAME-LIST
77746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77747 for as_dir in $PATH
77749 IFS=$as_save_IFS
77750 test -z "$as_dir" && as_dir=.
77751 for ac_prog in c++filt gc++filt; do
77752 for ac_exec_ext in '' $ac_executable_extensions; do
77753 ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
77754 { test -f "$ac_path_CXXFILT" && $as_test_x "$ac_path_CXXFILT"; } || continue
77755 # Check for GNU $ac_path_CXXFILT
77756 case `"$ac_path_CXXFILT" --version 2>&1` in
77757 *GNU*)
77758 ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
77759 esac
77761 $ac_path_CXXFILT_found && break 3
77762 done
77763 done
77764 done
77765 IFS=$as_save_IFS
77766 if test -z "$ac_cv_path_CXXFILT"; then
77769 else
77770 ac_cv_path_CXXFILT=$CXXFILT
77774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
77775 $as_echo "$ac_cv_path_CXXFILT" >&6; }
77776 CXXFILT=$ac_cv_path_CXXFILT
77780 # Check whether --enable-symvers was given.
77781 if test "${enable_symvers+set}" = set; then :
77782 enableval=$enable_symvers;
77783 case "$enableval" in
77784 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
77785 *) as_fn_error "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
77786 esac
77788 else
77789 enable_symvers=yes
77794 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
77795 # don't know enough about $LD to do tricks...
77797 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
77798 # with extern "C++" in version scripts.
77801 # Turn a 'yes' into a suitable default.
77802 if test x$enable_symvers = xyes ; then
77803 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
77804 enable_symvers=no
77805 else
77806 if test $with_gnu_ld = yes ; then
77807 case ${target_os} in
77808 hpux*)
77809 enable_symvers=no ;;
77811 enable_symvers=gnu ;;
77812 esac
77813 else
77814 case ${target_os} in
77815 darwin*)
77816 enable_symvers=darwin ;;
77817 # Sun symbol versioning exists since Solaris 2.5.
77818 solaris2.[5-9]* | solaris2.1[0-9]*)
77819 # make_sunver.pl needs GNU c++filt to support extern "C++" in
77820 # version scripts, so disable symbol versioning if none can be
77821 # found.
77822 if test -z "$ac_cv_path_CXXFILT"; then
77823 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
77824 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
77825 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could be found." >&5
77826 $as_echo "$as_me: WARNING: === no GNU c++filt could be found." >&2;}
77827 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
77828 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
77829 enable_symvers=no
77830 else
77831 enable_symvers=sun
77835 enable_symvers=no ;;
77836 esac
77841 # Check to see if 'darwin' or 'darwin-export' can win.
77842 if test x$enable_symvers = xdarwin-export ; then
77843 enable_symvers=darwin
77846 # Check if 'sun' was requested on non-Solaris 2 platforms.
77847 if test x$enable_symvers = xsun ; then
77848 case ${target_os} in
77849 solaris2*)
77850 # All fine.
77853 # Unlikely to work.
77854 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
77855 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
77856 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
77857 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
77858 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
77859 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
77860 enable_symvers=no
77862 esac
77865 # Check to see if 'gnu' can win.
77866 if test $enable_symvers = gnu ||
77867 test $enable_symvers = gnu-versioned-namespace ||
77868 test $enable_symvers = sun; then
77869 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
77870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
77871 $as_echo_n "checking for shared libgcc... " >&6; }
77872 ac_save_CFLAGS="$CFLAGS"
77873 CFLAGS=' -lgcc_s'
77874 if test x$gcc_no_link = xyes; then
77875 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
77877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77878 /* end confdefs.h. */
77881 main ()
77883 return 0;
77885 return 0;
77887 _ACEOF
77888 if ac_fn_c_try_link "$LINENO"; then :
77889 glibcxx_shared_libgcc=yes
77890 else
77891 glibcxx_shared_libgcc=no
77893 rm -f core conftest.err conftest.$ac_objext \
77894 conftest$ac_exeext conftest.$ac_ext
77895 CFLAGS="$ac_save_CFLAGS"
77896 if test $glibcxx_shared_libgcc = no; then
77897 cat > conftest.c <<EOF
77898 int main (void) { return 0; }
77900 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
77901 -shared -shared-libgcc -o conftest.so \
77902 conftest.c -v 2>&1 >/dev/null \
77903 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
77904 rm -f conftest.c conftest.so
77905 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
77906 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
77907 if test x$gcc_no_link = xyes; then
77908 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
77910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77911 /* end confdefs.h. */
77914 main ()
77916 return 0;
77918 return 0;
77920 _ACEOF
77921 if ac_fn_c_try_link "$LINENO"; then :
77922 glibcxx_shared_libgcc=yes
77924 rm -f core conftest.err conftest.$ac_objext \
77925 conftest$ac_exeext conftest.$ac_ext
77926 CFLAGS="$ac_save_CFLAGS"
77929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
77930 $as_echo "$glibcxx_shared_libgcc" >&6; }
77932 # For GNU ld, we need at least this version. The format is described in
77933 # GLIBCXX_CHECK_LINKER_FEATURES above.
77934 glibcxx_min_gnu_ld_version=21400
77936 # If no shared libgcc, can't win.
77937 if test $glibcxx_shared_libgcc != yes; then
77938 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
77939 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
77940 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
77941 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
77942 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
77943 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
77944 enable_symvers=no
77945 elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
77946 : All interesting versions of Sun ld support sun style symbol versioning.
77947 elif test $with_gnu_ld != yes ; then
77948 # just fail for now
77949 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
77950 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
77951 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
77952 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
77953 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
77954 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
77955 enable_symvers=no
77956 elif test $glibcxx_ld_is_gold = yes ; then
77957 : All versions of gold support symbol versioning.
77958 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
77959 # The right tools, the right setup, but too old. Fallbacks?
77960 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
77961 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
77962 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
77963 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
77964 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
77965 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
77966 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
77967 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
77968 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
77969 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
77970 enable_symvers=no
77974 # For libtool versioning info, format is CURRENT:REVISION:AGE
77975 libtool_VERSION=6:21:0
77977 # Everything parsed; figure out what files and settings to use.
77978 case $enable_symvers in
77980 SYMVER_FILE=config/abi/pre/none.ver
77982 gnu)
77983 SYMVER_FILE=config/abi/pre/gnu.ver
77985 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
77988 gnu-versioned-namespace)
77989 libtool_VERSION=7:0:0
77990 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
77992 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
77995 darwin)
77996 SYMVER_FILE=config/abi/pre/gnu.ver
77998 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
78001 sun)
78002 SYMVER_FILE=config/abi/pre/gnu.ver
78004 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
78007 esac
78009 if test x$enable_symvers != xno ; then
78011 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
78015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
78016 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
78017 if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then :
78018 $as_echo_n "(cached) " >&6
78019 else
78021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78022 /* end confdefs.h. */
78023 void foo (void); __asm (".symver foo, bar@SYMVER");
78025 main ()
78029 return 0;
78031 _ACEOF
78032 if ac_fn_c_try_compile "$LINENO"; then :
78033 glibcxx_cv_have_as_symver_directive=yes
78034 else
78035 glibcxx_cv_have_as_symver_directive=no
78037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
78040 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
78041 if test $glibcxx_cv_have_as_symver_directive = yes; then
78043 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
78054 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
78055 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
78057 if test $enable_symvers != no ; then
78058 case ${target_os} in
78059 # The Solaris 2 runtime linker doesn't support the GNU extension of
78060 # binding the same symbol to different versions
78061 solaris2*)
78063 # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
78066 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
78069 esac
78072 # Now, set up compatibility support, if any.
78073 # In addition, need this to deal with std::size_t mangling in
78074 # src/compatibility.cc. In a perfect world, could use
78075 # typeid(std::size_t).name()[0] to do direct substitution.
78076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
78077 $as_echo_n "checking for size_t as unsigned int... " >&6; }
78078 ac_save_CFLAGS="$CFLAGS"
78079 CFLAGS="-Werror"
78080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78081 /* end confdefs.h. */
78084 main ()
78086 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
78088 return 0;
78090 _ACEOF
78091 if ac_fn_c_try_compile "$LINENO"; then :
78092 glibcxx_size_t_is_i=yes
78093 else
78094 glibcxx_size_t_is_i=no
78096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78097 CFLAGS=$ac_save_CFLAGS
78098 if test "$glibcxx_size_t_is_i" = yes; then
78100 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
78103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
78104 $as_echo "$glibcxx_size_t_is_i" >&6; }
78106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
78107 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
78108 ac_save_CFLAGS="$CFLAGS"
78109 CFLAGS="-Werror"
78110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78111 /* end confdefs.h. */
78114 main ()
78116 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
78118 return 0;
78120 _ACEOF
78121 if ac_fn_c_try_compile "$LINENO"; then :
78122 glibcxx_ptrdiff_t_is_i=yes
78123 else
78124 glibcxx_ptrdiff_t_is_i=no
78126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78127 CFLAGS=$ac_save_CFLAGS
78128 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
78130 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
78133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
78134 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
78139 # Check whether --enable-libstdcxx-visibility was given.
78140 if test "${enable_libstdcxx_visibility+set}" = set; then :
78141 enableval=$enable_libstdcxx_visibility;
78142 case "$enableval" in
78143 yes|no) ;;
78144 *) as_fn_error "Argument to enable/disable libstdcxx-visibility must be yes or no" "$LINENO" 5 ;;
78145 esac
78147 else
78148 enable_libstdcxx_visibility=yes
78153 if test x$enable_libstdcxx_visibility = xyes ; then
78154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
78155 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
78156 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then :
78157 $as_echo_n "(cached) " >&6
78158 else
78160 save_CFLAGS="$CFLAGS"
78161 CFLAGS="$CFLAGS -Werror"
78162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78163 /* end confdefs.h. */
78164 void __attribute__((visibility("hidden"))) foo(void) { }
78166 main ()
78170 return 0;
78172 _ACEOF
78173 if ac_fn_c_try_compile "$LINENO"; then :
78174 glibcxx_cv_have_attribute_visibility=yes
78175 else
78176 glibcxx_cv_have_attribute_visibility=no
78178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78179 CFLAGS="$save_CFLAGS"
78181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
78182 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
78183 if test $glibcxx_cv_have_attribute_visibility = no; then
78184 enable_libstdcxx_visibility=no
78189 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_libstdcxx_visibility" >&5
78190 $as_echo "$as_me: visibility supported: $enable_libstdcxx_visibility" >&6;}
78194 # Check whether --enable-libstdcxx-dual-abi was given.
78195 if test "${enable_libstdcxx_dual_abi+set}" = set; then :
78196 enableval=$enable_libstdcxx_dual_abi;
78197 case "$enableval" in
78198 yes|no) ;;
78199 *) as_fn_error "Argument to enable/disable libstdcxx-dual-abi must be yes or no" "$LINENO" 5 ;;
78200 esac
78202 else
78203 enable_libstdcxx_dual_abi=yes
78207 if test x"$enable_libstdcxx_dual_abi" != xyes; then
78208 { $as_echo "$as_me:${as_lineno-$LINENO}: dual ABI is disabled" >&5
78209 $as_echo "$as_me: dual ABI is disabled" >&6;}
78210 default_libstdcxx_abi="c++98"
78215 if test x$enable_libstdcxx_dual_abi = xyes; then
78216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default std::string ABI to use" >&5
78217 $as_echo_n "checking for default std::string ABI to use... " >&6; }
78219 # Check whether --with-default-libstdcxx-abi was given.
78220 if test "${with_default_libstdcxx_abi+set}" = set; then :
78221 withval=$with_default_libstdcxx_abi; case "$withval" in
78222 c++98|gnu++98|c++03|gnu++03) default_libstdcxx_abi="c++98" ;;
78223 c++1?|gnu++1?) default_libstdcxx_abi="c++11" ;;
78224 *) as_fn_error "Invalid argument for --with-default-libstdcxx-abi" "$LINENO" 5 ;;
78225 esac
78226 else
78227 default_libstdcxx_abi="c++11"
78230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${default_libstdcxx_abi}" >&5
78231 $as_echo "${default_libstdcxx_abi}" >&6; }
78233 if test $default_libstdcxx_abi = "c++11"; then
78234 glibcxx_cxx11_abi=1
78235 glibcxx_cxx98_abi=0
78236 else
78237 glibcxx_cxx11_abi=0
78238 glibcxx_cxx98_abi=1
78244 ac_ldbl_compat=no
78245 case "$target" in
78246 powerpc*-*-linux* | \
78247 sparc*-*-linux* | \
78248 s390*-*-linux* | \
78249 alpha*-*-linux*)
78250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78251 /* end confdefs.h. */
78254 main ()
78257 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
78258 #error no need for long double compatibility
78259 #endif
78262 return 0;
78264 _ACEOF
78265 if ac_fn_c_try_compile "$LINENO"; then :
78266 ac_ldbl_compat=yes
78267 else
78268 ac_ldbl_compat=no
78270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78271 if test "$ac_ldbl_compat" = yes; then
78273 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
78275 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
78277 esac
78280 # Check if assembler supports disabling hardware capability support.
78282 test -z "$HWCAP_FLAGS" && HWCAP_FLAGS=''
78284 # Restrict the test to Solaris, other assemblers (e.g. AIX as) have -nH
78285 # with a different meaning.
78286 case ${target_os} in
78287 solaris2*)
78288 ac_save_CFLAGS="$CFLAGS"
78289 CFLAGS="$CFLAGS -Wa,-nH"
78291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for as that supports -Wa,-nH" >&5
78292 $as_echo_n "checking for as that supports -Wa,-nH... " >&6; }
78293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78294 /* end confdefs.h. */
78297 main ()
78299 return 0;
78301 return 0;
78303 _ACEOF
78304 if ac_fn_c_try_compile "$LINENO"; then :
78305 ac_hwcap_flags=yes
78306 else
78307 ac_hwcap_flags=no
78309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78310 if test "$ac_hwcap_flags" = "yes"; then
78311 HWCAP_FLAGS="-Wa,-nH $HWCAP_FLAGS"
78313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_flags" >&5
78314 $as_echo "$ac_hwcap_flags" >&6; }
78316 CFLAGS="$ac_save_CFLAGS"
78318 esac
78323 # Check if assembler supports rdrand opcode.
78325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdrand support in assembler" >&5
78326 $as_echo_n "checking for rdrand support in assembler... " >&6; }
78327 if test "${ac_cv_x86_rdrand+set}" = set; then :
78328 $as_echo_n "(cached) " >&6
78329 else
78331 ac_cv_x86_rdrand=no
78332 case "$target" in
78333 i?86-*-* | \
78334 x86_64-*-*)
78335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78336 /* end confdefs.h. */
78339 main ()
78341 asm("rdrand %eax");
78343 return 0;
78345 _ACEOF
78346 if ac_fn_c_try_compile "$LINENO"; then :
78347 ac_cv_x86_rdrand=yes
78348 else
78349 ac_cv_x86_rdrand=no
78351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78352 esac
78356 if test $ac_cv_x86_rdrand = yes; then
78358 $as_echo "#define _GLIBCXX_X86_RDRAND 1" >>confdefs.h
78361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdrand" >&5
78362 $as_echo "$ac_cv_x86_rdrand" >&6; }
78365 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
78367 if $GLIBCXX_IS_NATIVE ; then
78368 # Do checks for resource limit functions.
78370 setrlimit_have_headers=yes
78371 for ac_header in unistd.h sys/time.h sys/resource.h
78372 do :
78373 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
78374 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
78375 eval as_val=\$$as_ac_Header
78376 if test "x$as_val" = x""yes; then :
78377 cat >>confdefs.h <<_ACEOF
78378 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
78379 _ACEOF
78381 else
78382 setrlimit_have_headers=no
78385 done
78387 # If don't have the headers, then we can't run the tests now, and we
78388 # won't be seeing any of these during testsuite compilation.
78389 if test $setrlimit_have_headers = yes; then
78390 # Can't do these in a loop, else the resulting syntax is wrong.
78392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
78393 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
78394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78395 /* end confdefs.h. */
78396 #include <unistd.h>
78397 #include <sys/time.h>
78398 #include <sys/resource.h>
78401 main ()
78403 int f = RLIMIT_DATA ;
78405 return 0;
78407 _ACEOF
78408 if ac_fn_c_try_compile "$LINENO"; then :
78409 glibcxx_mresult=1
78410 else
78411 glibcxx_mresult=0
78413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78415 cat >>confdefs.h <<_ACEOF
78416 #define HAVE_LIMIT_DATA $glibcxx_mresult
78417 _ACEOF
78419 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
78420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
78421 $as_echo "$res" >&6; }
78424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
78425 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
78426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78427 /* end confdefs.h. */
78428 #include <unistd.h>
78429 #include <sys/time.h>
78430 #include <sys/resource.h>
78433 main ()
78435 int f = RLIMIT_RSS ;
78437 return 0;
78439 _ACEOF
78440 if ac_fn_c_try_compile "$LINENO"; then :
78441 glibcxx_mresult=1
78442 else
78443 glibcxx_mresult=0
78445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78447 cat >>confdefs.h <<_ACEOF
78448 #define HAVE_LIMIT_RSS $glibcxx_mresult
78449 _ACEOF
78451 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
78452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
78453 $as_echo "$res" >&6; }
78456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
78457 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
78458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78459 /* end confdefs.h. */
78460 #include <unistd.h>
78461 #include <sys/time.h>
78462 #include <sys/resource.h>
78465 main ()
78467 int f = RLIMIT_VMEM ;
78469 return 0;
78471 _ACEOF
78472 if ac_fn_c_try_compile "$LINENO"; then :
78473 glibcxx_mresult=1
78474 else
78475 glibcxx_mresult=0
78477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78479 cat >>confdefs.h <<_ACEOF
78480 #define HAVE_LIMIT_VMEM $glibcxx_mresult
78481 _ACEOF
78483 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
78484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
78485 $as_echo "$res" >&6; }
78488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
78489 $as_echo_n "checking for RLIMIT_AS... " >&6; }
78490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78491 /* end confdefs.h. */
78492 #include <unistd.h>
78493 #include <sys/time.h>
78494 #include <sys/resource.h>
78497 main ()
78499 int f = RLIMIT_AS ;
78501 return 0;
78503 _ACEOF
78504 if ac_fn_c_try_compile "$LINENO"; then :
78505 glibcxx_mresult=1
78506 else
78507 glibcxx_mresult=0
78509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78511 cat >>confdefs.h <<_ACEOF
78512 #define HAVE_LIMIT_AS $glibcxx_mresult
78513 _ACEOF
78515 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
78516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
78517 $as_echo "$res" >&6; }
78520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
78521 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
78522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78523 /* end confdefs.h. */
78524 #include <unistd.h>
78525 #include <sys/time.h>
78526 #include <sys/resource.h>
78529 main ()
78531 int f = RLIMIT_FSIZE ;
78533 return 0;
78535 _ACEOF
78536 if ac_fn_c_try_compile "$LINENO"; then :
78537 glibcxx_mresult=1
78538 else
78539 glibcxx_mresult=0
78541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78543 cat >>confdefs.h <<_ACEOF
78544 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
78545 _ACEOF
78547 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
78548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
78549 $as_echo "$res" >&6; }
78552 # Check for rlimit, setrlimit.
78553 if test "${glibcxx_cv_setrlimit+set}" = set; then :
78554 $as_echo_n "(cached) " >&6
78555 else
78557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78558 /* end confdefs.h. */
78559 #include <unistd.h>
78560 #include <sys/time.h>
78561 #include <sys/resource.h>
78564 main ()
78566 struct rlimit r;
78567 setrlimit(0, &r);
78569 return 0;
78571 _ACEOF
78572 if ac_fn_c_try_compile "$LINENO"; then :
78573 glibcxx_cv_setrlimit=yes
78574 else
78575 glibcxx_cv_setrlimit=no
78577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
78584 $as_echo_n "checking for testsuite resource limits support... " >&6; }
78585 if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
78586 ac_res_limits=yes
78588 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
78590 else
78591 ac_res_limits=no
78593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
78594 $as_echo "$ac_res_limits" >&6; }
78597 # Look for setenv, so that extended locale tests can be performed.
78599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
78600 $as_echo_n "checking for setenv declaration... " >&6; }
78601 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
78602 if test "${glibcxx_cv_func_setenv_use+set}" = set; then :
78603 $as_echo_n "(cached) " >&6
78604 else
78607 ac_ext=cpp
78608 ac_cpp='$CXXCPP $CPPFLAGS'
78609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78614 /* end confdefs.h. */
78615 #include <stdlib.h>
78617 main ()
78619 setenv(0, 0, 0);
78621 return 0;
78623 _ACEOF
78624 if ac_fn_cxx_try_compile "$LINENO"; then :
78625 glibcxx_cv_func_setenv_use=yes
78626 else
78627 glibcxx_cv_func_setenv_use=no
78629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78630 ac_ext=c
78631 ac_cpp='$CPP $CPPFLAGS'
78632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
78641 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
78642 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
78643 for ac_func in setenv
78644 do :
78645 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
78646 if test "x$ac_cv_func_setenv" = x""yes; then :
78647 cat >>confdefs.h <<_ACEOF
78648 #define HAVE_SETENV 1
78649 _ACEOF
78652 done
78658 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
78659 test $enable_symvers != no; then
78660 case "$host" in
78661 *-*-cygwin*)
78662 enable_abi_check=no ;;
78664 enable_abi_check=yes ;;
78665 esac
78666 else
78667 # Only build this as native, since automake does not understand
78668 # CXX_FOR_BUILD.
78669 enable_abi_check=no
78672 # Export file names for ABI checking.
78673 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
78675 baseline_subdir_switch="$abi_baseline_subdir_switch"
78679 # For gthread support. Depends on GLIBCXX_ENABLE_SYMVERS.
78681 # Check whether --enable-libstdcxx-threads was given.
78682 if test "${enable_libstdcxx_threads+set}" = set; then :
78683 enableval=$enable_libstdcxx_threads;
78684 case "$enableval" in
78685 yes|no) ;;
78686 *) as_fn_error "Argument to enable/disable libstdcxx-threads must be yes or no" "$LINENO" 5 ;;
78687 esac
78689 else
78690 enable_libstdcxx_threads=auto
78695 if test x$enable_libstdcxx_threads = xauto ||
78696 test x$enable_libstdcxx_threads = xyes; then
78699 ac_ext=cpp
78700 ac_cpp='$CXXCPP $CPPFLAGS'
78701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78706 ac_save_CXXFLAGS="$CXXFLAGS"
78707 CXXFLAGS="$CXXFLAGS -fno-exceptions \
78708 -I${toplevel_srcdir}/libgcc -I${toplevel_builddir}/libgcc"
78710 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
78711 case $target_thread_file in
78712 posix)
78713 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
78714 esac
78716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it can be safely assumed that mutex_timedlock is available" >&5
78717 $as_echo_n "checking whether it can be safely assumed that mutex_timedlock is available... " >&6; }
78719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78720 /* end confdefs.h. */
78721 #include <unistd.h>
78723 main ()
78726 // In case of POSIX threads check _POSIX_TIMEOUTS.
78727 #if (defined(_PTHREADS) \
78728 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
78729 #error
78730 #endif
78733 return 0;
78735 _ACEOF
78736 if ac_fn_cxx_try_compile "$LINENO"; then :
78737 ac_gthread_use_mutex_timedlock=1
78738 else
78739 ac_gthread_use_mutex_timedlock=0
78741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78744 cat >>confdefs.h <<_ACEOF
78745 #define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
78746 _ACEOF
78749 if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
78750 else res_mutex_timedlock=no ; fi
78751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
78752 $as_echo "$res_mutex_timedlock" >&6; }
78754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
78755 $as_echo_n "checking for gthreads library... " >&6; }
78757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78758 /* end confdefs.h. */
78759 #include "gthr.h"
78761 main ()
78764 #ifndef __GTHREADS_CXX0X
78765 #error
78766 #endif
78769 return 0;
78771 _ACEOF
78772 if ac_fn_cxx_try_compile "$LINENO"; then :
78773 ac_has_gthreads=yes
78774 else
78775 ac_has_gthreads=no
78777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78778 else
78779 ac_has_gthreads=no
78782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
78783 $as_echo "$ac_has_gthreads" >&6; }
78785 if test x"$ac_has_gthreads" = x"yes"; then
78787 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
78791 CXXFLAGS="$ac_save_CXXFLAGS"
78792 ac_ext=c
78793 ac_cpp='$CPP $CPPFLAGS'
78794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78800 # Define documentation rules conditionally.
78802 # See if makeinfo has been installed and is modern enough
78803 # that we can use it.
78805 # Extract the first word of "makeinfo", so it can be a program name with args.
78806 set dummy makeinfo; ac_word=$2
78807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
78808 $as_echo_n "checking for $ac_word... " >&6; }
78809 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
78810 $as_echo_n "(cached) " >&6
78811 else
78812 if test -n "$MAKEINFO"; then
78813 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
78814 else
78815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78816 for as_dir in $PATH
78818 IFS=$as_save_IFS
78819 test -z "$as_dir" && as_dir=.
78820 for ac_exec_ext in '' $ac_executable_extensions; do
78821 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
78822 ac_cv_prog_MAKEINFO="makeinfo"
78823 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
78824 break 2
78826 done
78827 done
78828 IFS=$as_save_IFS
78832 MAKEINFO=$ac_cv_prog_MAKEINFO
78833 if test -n "$MAKEINFO"; then
78834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
78835 $as_echo "$MAKEINFO" >&6; }
78836 else
78837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
78838 $as_echo "no" >&6; }
78842 if test -n "$MAKEINFO"; then
78843 # Found it, now check the version.
78844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
78845 $as_echo_n "checking for modern makeinfo... " >&6; }
78846 if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then :
78847 $as_echo_n "(cached) " >&6
78848 else
78849 ac_prog_version=`eval $MAKEINFO --version 2>&1 |
78850 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
78852 case $ac_prog_version in
78853 '') gcc_cv_prog_makeinfo_modern=no;;
78854 4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*) gcc_cv_prog_makeinfo_modern=yes;;
78855 *) gcc_cv_prog_makeinfo_modern=no;;
78856 esac
78859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
78860 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
78861 else
78862 gcc_cv_prog_makeinfo_modern=no
78864 if test $gcc_cv_prog_makeinfo_modern = no; then
78865 MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
78868 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
78869 BUILD_INFO_TRUE=
78870 BUILD_INFO_FALSE='#'
78871 else
78872 BUILD_INFO_TRUE='#'
78873 BUILD_INFO_FALSE=
78877 # Check for doxygen
78878 # Extract the first word of "doxygen", so it can be a program name with args.
78879 set dummy doxygen; ac_word=$2
78880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
78881 $as_echo_n "checking for $ac_word... " >&6; }
78882 if test "${ac_cv_prog_DOXYGEN+set}" = set; then :
78883 $as_echo_n "(cached) " >&6
78884 else
78885 if test -n "$DOXYGEN"; then
78886 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
78887 else
78888 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78889 for as_dir in $PATH
78891 IFS=$as_save_IFS
78892 test -z "$as_dir" && as_dir=.
78893 for ac_exec_ext in '' $ac_executable_extensions; do
78894 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
78895 ac_cv_prog_DOXYGEN="yes"
78896 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
78897 break 2
78899 done
78900 done
78901 IFS=$as_save_IFS
78903 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
78906 DOXYGEN=$ac_cv_prog_DOXYGEN
78907 if test -n "$DOXYGEN"; then
78908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
78909 $as_echo "$DOXYGEN" >&6; }
78910 else
78911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
78912 $as_echo "no" >&6; }
78916 # Extract the first word of "dot", so it can be a program name with args.
78917 set dummy dot; ac_word=$2
78918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
78919 $as_echo_n "checking for $ac_word... " >&6; }
78920 if test "${ac_cv_prog_DOT+set}" = set; then :
78921 $as_echo_n "(cached) " >&6
78922 else
78923 if test -n "$DOT"; then
78924 ac_cv_prog_DOT="$DOT" # Let the user override the test.
78925 else
78926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78927 for as_dir in $PATH
78929 IFS=$as_save_IFS
78930 test -z "$as_dir" && as_dir=.
78931 for ac_exec_ext in '' $ac_executable_extensions; do
78932 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
78933 ac_cv_prog_DOT="yes"
78934 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
78935 break 2
78937 done
78938 done
78939 IFS=$as_save_IFS
78941 test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
78944 DOT=$ac_cv_prog_DOT
78945 if test -n "$DOT"; then
78946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
78947 $as_echo "$DOT" >&6; }
78948 else
78949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
78950 $as_echo "no" >&6; }
78955 # Check for docbook
78956 # Extract the first word of "xsltproc", so it can be a program name with args.
78957 set dummy xsltproc; ac_word=$2
78958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
78959 $as_echo_n "checking for $ac_word... " >&6; }
78960 if test "${ac_cv_prog_XSLTPROC+set}" = set; then :
78961 $as_echo_n "(cached) " >&6
78962 else
78963 if test -n "$XSLTPROC"; then
78964 ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
78965 else
78966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78967 for as_dir in $PATH
78969 IFS=$as_save_IFS
78970 test -z "$as_dir" && as_dir=.
78971 for ac_exec_ext in '' $ac_executable_extensions; do
78972 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
78973 ac_cv_prog_XSLTPROC="yes"
78974 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
78975 break 2
78977 done
78978 done
78979 IFS=$as_save_IFS
78981 test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
78984 XSLTPROC=$ac_cv_prog_XSLTPROC
78985 if test -n "$XSLTPROC"; then
78986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
78987 $as_echo "$XSLTPROC" >&6; }
78988 else
78989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
78990 $as_echo "no" >&6; }
78994 # Extract the first word of "xmllint", so it can be a program name with args.
78995 set dummy xmllint; ac_word=$2
78996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
78997 $as_echo_n "checking for $ac_word... " >&6; }
78998 if test "${ac_cv_prog_XMLLINT+set}" = set; then :
78999 $as_echo_n "(cached) " >&6
79000 else
79001 if test -n "$XMLLINT"; then
79002 ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
79003 else
79004 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79005 for as_dir in $PATH
79007 IFS=$as_save_IFS
79008 test -z "$as_dir" && as_dir=.
79009 for ac_exec_ext in '' $ac_executable_extensions; do
79010 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
79011 ac_cv_prog_XMLLINT="yes"
79012 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
79013 break 2
79015 done
79016 done
79017 IFS=$as_save_IFS
79019 test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
79022 XMLLINT=$ac_cv_prog_XMLLINT
79023 if test -n "$XMLLINT"; then
79024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
79025 $as_echo "$XMLLINT" >&6; }
79026 else
79027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
79028 $as_echo "no" >&6; }
79034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docbook stylesheets for documentation creation" >&5
79035 $as_echo_n "checking for docbook stylesheets for documentation creation... " >&6; }
79036 glibcxx_stylesheets=no
79037 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
79038 glibcxx_stylesheets=yes
79040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
79041 $as_echo "$glibcxx_stylesheets" >&6; }
79043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
79044 $as_echo_n "checking for local stylesheet directory... " >&6; }
79045 glibcxx_local_stylesheets=no
79046 if test x"$glibcxx_stylesheets" = x"yes"; then
79047 if test -d /usr/share/sgml/docbook/xsl-ns-stylesheets; then
79048 glibcxx_local_stylesheets=yes
79049 XSL_STYLE_DIR=/usr/share/sgml/docbook/xsl-ns-stylesheets
79051 if test -d /usr/share/xml/docbook/stylesheet/docbook-xsl-ns; then
79052 glibcxx_local_stylesheets=yes
79053 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/docbook-xsl-ns
79055 if test -d /usr/share/xml/docbook/stylesheet/nwalsh5/current; then
79056 glibcxx_local_stylesheets=yes
79057 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/nwalsh5/current
79060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
79061 $as_echo "$glibcxx_local_stylesheets" >&6; }
79063 if test x"$glibcxx_local_stylesheets" = x"yes"; then
79065 { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
79066 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
79067 else
79068 glibcxx_stylesheets=no
79071 # Check for epub3 dependencies.
79072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epub3 stylesheets for documentation creation" >&5
79073 $as_echo_n "checking for epub3 stylesheets for documentation creation... " >&6; }
79074 glibcxx_epub_stylesheets=no
79075 if test x"$glibcxx_local_stylesheets" = x"yes"; then
79076 if test -f "$XSL_STYLE_DIR/epub3/chunk.xsl"; then
79077 glibcxx_epub_stylesheets=yes
79080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_epub_stylesheets" >&5
79081 $as_echo "$glibcxx_epub_stylesheets" >&6; }
79082 if test x"$glibcxx_epub_stylesheets" = x"yes"; then
79083 BUILD_EPUB_TRUE=
79084 BUILD_EPUB_FALSE='#'
79085 else
79086 BUILD_EPUB_TRUE='#'
79087 BUILD_EPUB_FALSE=
79093 # Check for xml/html dependencies.
79094 if test $ac_cv_prog_DOXYGEN = "yes" &&
79095 test $ac_cv_prog_DOT = "yes" &&
79096 test $ac_cv_prog_XSLTPROC = "yes" &&
79097 test $ac_cv_prog_XMLLINT = "yes" &&
79098 test $glibcxx_stylesheets = "yes"; then
79099 BUILD_XML_TRUE=
79100 BUILD_XML_FALSE='#'
79101 else
79102 BUILD_XML_TRUE='#'
79103 BUILD_XML_FALSE=
79107 if test $ac_cv_prog_DOXYGEN = "yes" &&
79108 test $ac_cv_prog_DOT = "yes" &&
79109 test $ac_cv_prog_XSLTPROC = "yes" &&
79110 test $ac_cv_prog_XMLLINT = "yes" &&
79111 test $glibcxx_stylesheets = "yes"; then
79112 BUILD_HTML_TRUE=
79113 BUILD_HTML_FALSE='#'
79114 else
79115 BUILD_HTML_TRUE='#'
79116 BUILD_HTML_FALSE=
79120 # Check for man dependencies.
79121 if test $ac_cv_prog_DOXYGEN = "yes" &&
79122 test $ac_cv_prog_DOT = "yes"; then
79123 BUILD_MAN_TRUE=
79124 BUILD_MAN_FALSE='#'
79125 else
79126 BUILD_MAN_TRUE='#'
79127 BUILD_MAN_FALSE=
79131 # Check for pdf dependencies.
79132 # Extract the first word of "dblatex", so it can be a program name with args.
79133 set dummy dblatex; ac_word=$2
79134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
79135 $as_echo_n "checking for $ac_word... " >&6; }
79136 if test "${ac_cv_prog_DBLATEX+set}" = set; then :
79137 $as_echo_n "(cached) " >&6
79138 else
79139 if test -n "$DBLATEX"; then
79140 ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
79141 else
79142 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79143 for as_dir in $PATH
79145 IFS=$as_save_IFS
79146 test -z "$as_dir" && as_dir=.
79147 for ac_exec_ext in '' $ac_executable_extensions; do
79148 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
79149 ac_cv_prog_DBLATEX="yes"
79150 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
79151 break 2
79153 done
79154 done
79155 IFS=$as_save_IFS
79157 test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
79160 DBLATEX=$ac_cv_prog_DBLATEX
79161 if test -n "$DBLATEX"; then
79162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
79163 $as_echo "$DBLATEX" >&6; }
79164 else
79165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
79166 $as_echo "no" >&6; }
79170 # Extract the first word of "pdflatex", so it can be a program name with args.
79171 set dummy pdflatex; ac_word=$2
79172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
79173 $as_echo_n "checking for $ac_word... " >&6; }
79174 if test "${ac_cv_prog_PDFLATEX+set}" = set; then :
79175 $as_echo_n "(cached) " >&6
79176 else
79177 if test -n "$PDFLATEX"; then
79178 ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
79179 else
79180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79181 for as_dir in $PATH
79183 IFS=$as_save_IFS
79184 test -z "$as_dir" && as_dir=.
79185 for ac_exec_ext in '' $ac_executable_extensions; do
79186 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
79187 ac_cv_prog_PDFLATEX="yes"
79188 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
79189 break 2
79191 done
79192 done
79193 IFS=$as_save_IFS
79195 test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
79198 PDFLATEX=$ac_cv_prog_PDFLATEX
79199 if test -n "$PDFLATEX"; then
79200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
79201 $as_echo "$PDFLATEX" >&6; }
79202 else
79203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
79204 $as_echo "no" >&6; }
79208 if test $ac_cv_prog_DBLATEX = "yes" &&
79209 test $ac_cv_prog_PDFLATEX = "yes"; then
79210 BUILD_PDF_TRUE=
79211 BUILD_PDF_FALSE='#'
79212 else
79213 BUILD_PDF_TRUE='#'
79214 BUILD_PDF_FALSE=
79219 # Propagate the target-specific source directories through the build chain.
79220 ATOMICITY_SRCDIR=config/${atomicity_dir}
79221 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
79222 ATOMIC_FLAGS=${atomic_flags}
79223 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
79224 OS_INC_SRCDIR=config/${os_include_dir}
79225 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
79226 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
79227 CPU_OPT_EXT_RANDOM=config/${cpu_opt_ext_random}
79228 CPU_OPT_BITS_RANDOM=config/${cpu_opt_bits_random}
79240 # Determine cross-compile flags and AM_CONDITIONALs.
79241 #AC_SUBST(GLIBCXX_IS_NATIVE)
79242 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
79243 if test $is_hosted = yes; then
79244 GLIBCXX_HOSTED_TRUE=
79245 GLIBCXX_HOSTED_FALSE='#'
79246 else
79247 GLIBCXX_HOSTED_TRUE='#'
79248 GLIBCXX_HOSTED_FALSE=
79252 if test $enable_libstdcxx_pch = yes; then
79253 GLIBCXX_BUILD_PCH_TRUE=
79254 GLIBCXX_BUILD_PCH_FALSE='#'
79255 else
79256 GLIBCXX_BUILD_PCH_TRUE='#'
79257 GLIBCXX_BUILD_PCH_FALSE=
79261 if test $enable_cheaders = c; then
79262 GLIBCXX_C_HEADERS_C_TRUE=
79263 GLIBCXX_C_HEADERS_C_FALSE='#'
79264 else
79265 GLIBCXX_C_HEADERS_C_TRUE='#'
79266 GLIBCXX_C_HEADERS_C_FALSE=
79270 if test $enable_cheaders = c_std; then
79271 GLIBCXX_C_HEADERS_C_STD_TRUE=
79272 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
79273 else
79274 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
79275 GLIBCXX_C_HEADERS_C_STD_FALSE=
79279 if test $enable_cheaders = c_global; then
79280 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
79281 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
79282 else
79283 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
79284 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
79288 if test $c_compatibility = yes; then
79289 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
79290 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
79291 else
79292 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
79293 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
79297 if test $enable_libstdcxx_debug = yes; then
79298 GLIBCXX_BUILD_DEBUG_TRUE=
79299 GLIBCXX_BUILD_DEBUG_FALSE='#'
79300 else
79301 GLIBCXX_BUILD_DEBUG_TRUE='#'
79302 GLIBCXX_BUILD_DEBUG_FALSE=
79306 if test $enable_extern_template = yes; then
79307 ENABLE_EXTERN_TEMPLATE_TRUE=
79308 ENABLE_EXTERN_TEMPLATE_FALSE='#'
79309 else
79310 ENABLE_EXTERN_TEMPLATE_TRUE='#'
79311 ENABLE_EXTERN_TEMPLATE_FALSE=
79315 if test $python_mod_dir != no; then
79316 ENABLE_PYTHONDIR_TRUE=
79317 ENABLE_PYTHONDIR_FALSE='#'
79318 else
79319 ENABLE_PYTHONDIR_TRUE='#'
79320 ENABLE_PYTHONDIR_FALSE=
79324 if test $enable_werror = yes; then
79325 ENABLE_WERROR_TRUE=
79326 ENABLE_WERROR_FALSE='#'
79327 else
79328 ENABLE_WERROR_TRUE='#'
79329 ENABLE_WERROR_FALSE=
79333 if test $enable_vtable_verify = yes; then
79334 ENABLE_VTABLE_VERIFY_TRUE=
79335 ENABLE_VTABLE_VERIFY_FALSE='#'
79336 else
79337 ENABLE_VTABLE_VERIFY_TRUE='#'
79338 ENABLE_VTABLE_VERIFY_FALSE=
79342 if test $enable_symvers != no; then
79343 ENABLE_SYMVERS_TRUE=
79344 ENABLE_SYMVERS_FALSE='#'
79345 else
79346 ENABLE_SYMVERS_TRUE='#'
79347 ENABLE_SYMVERS_FALSE=
79351 if test $enable_symvers = gnu; then
79352 ENABLE_SYMVERS_GNU_TRUE=
79353 ENABLE_SYMVERS_GNU_FALSE='#'
79354 else
79355 ENABLE_SYMVERS_GNU_TRUE='#'
79356 ENABLE_SYMVERS_GNU_FALSE=
79360 if test $enable_symvers = gnu-versioned-namespace; then
79361 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
79362 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
79363 else
79364 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
79365 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
79369 if test $enable_symvers = darwin; then
79370 ENABLE_SYMVERS_DARWIN_TRUE=
79371 ENABLE_SYMVERS_DARWIN_FALSE='#'
79372 else
79373 ENABLE_SYMVERS_DARWIN_TRUE='#'
79374 ENABLE_SYMVERS_DARWIN_FALSE=
79378 if test $enable_symvers = sun; then
79379 ENABLE_SYMVERS_SUN_TRUE=
79380 ENABLE_SYMVERS_SUN_FALSE='#'
79381 else
79382 ENABLE_SYMVERS_SUN_TRUE='#'
79383 ENABLE_SYMVERS_SUN_FALSE=
79387 if test $enable_libstdcxx_visibility = yes; then
79388 ENABLE_VISIBILITY_TRUE=
79389 ENABLE_VISIBILITY_FALSE='#'
79390 else
79391 ENABLE_VISIBILITY_TRUE='#'
79392 ENABLE_VISIBILITY_FALSE=
79396 if test $enable_libstdcxx_dual_abi = yes; then
79397 ENABLE_DUAL_ABI_TRUE=
79398 ENABLE_DUAL_ABI_FALSE='#'
79399 else
79400 ENABLE_DUAL_ABI_TRUE='#'
79401 ENABLE_DUAL_ABI_FALSE=
79405 if test $glibcxx_cxx11_abi = 1; then
79406 ENABLE_CXX11_ABI_TRUE=
79407 ENABLE_CXX11_ABI_FALSE='#'
79408 else
79409 ENABLE_CXX11_ABI_TRUE='#'
79410 ENABLE_CXX11_ABI_FALSE=
79414 if test $ac_ldbl_compat = yes; then
79415 GLIBCXX_LDBL_COMPAT_TRUE=
79416 GLIBCXX_LDBL_COMPAT_FALSE='#'
79417 else
79418 GLIBCXX_LDBL_COMPAT_TRUE='#'
79419 GLIBCXX_LDBL_COMPAT_FALSE=
79425 cat >confcache <<\_ACEOF
79426 # This file is a shell script that caches the results of configure
79427 # tests run on this system so they can be shared between configure
79428 # scripts and configure runs, see configure's option --config-cache.
79429 # It is not useful on other systems. If it contains results you don't
79430 # want to keep, you may remove or edit it.
79432 # config.status only pays attention to the cache file if you give it
79433 # the --recheck option to rerun configure.
79435 # `ac_cv_env_foo' variables (set or unset) will be overridden when
79436 # loading this file, other *unset* `ac_cv_foo' will be assigned the
79437 # following values.
79439 _ACEOF
79441 # The following way of writing the cache mishandles newlines in values,
79442 # but we know of no workaround that is simple, portable, and efficient.
79443 # So, we kill variables containing newlines.
79444 # Ultrix sh set writes to stderr and can't be redirected directly,
79445 # and sets the high bit in the cache file unless we assign to the vars.
79447 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
79448 eval ac_val=\$$ac_var
79449 case $ac_val in #(
79450 *${as_nl}*)
79451 case $ac_var in #(
79452 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
79453 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
79454 esac
79455 case $ac_var in #(
79456 _ | IFS | as_nl) ;; #(
79457 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
79458 *) { eval $ac_var=; unset $ac_var;} ;;
79459 esac ;;
79460 esac
79461 done
79463 (set) 2>&1 |
79464 case $as_nl`(ac_space=' '; set) 2>&1` in #(
79465 *${as_nl}ac_space=\ *)
79466 # `set' does not quote correctly, so add quotes: double-quote
79467 # substitution turns \\\\ into \\, and sed turns \\ into \.
79468 sed -n \
79469 "s/'/'\\\\''/g;
79470 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
79471 ;; #(
79473 # `set' quotes correctly as required by POSIX, so do not add quotes.
79474 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
79476 esac |
79477 sort
79479 sed '
79480 /^ac_cv_env_/b end
79481 t clear
79482 :clear
79483 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
79484 t end
79485 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
79486 :end' >>confcache
79487 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
79488 if test -w "$cache_file"; then
79489 test "x$cache_file" != "x/dev/null" &&
79490 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
79491 $as_echo "$as_me: updating cache $cache_file" >&6;}
79492 cat confcache >$cache_file
79493 else
79494 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
79495 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
79498 rm -f confcache
79500 if test ${multilib} = yes; then
79501 multilib_arg="--enable-multilib"
79502 else
79503 multilib_arg=
79506 # Export all the install information.
79508 glibcxx_toolexecdir=no
79509 glibcxx_toolexeclibdir=no
79510 glibcxx_prefixdir=$prefix
79512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
79513 $as_echo_n "checking for gxx-include-dir... " >&6; }
79515 # Check whether --with-gxx-include-dir was given.
79516 if test "${with_gxx_include_dir+set}" = set; then :
79517 withval=$with_gxx_include_dir; case "$withval" in
79518 yes) as_fn_error "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
79519 no) gxx_include_dir=no ;;
79520 *) gxx_include_dir=$withval ;;
79521 esac
79522 else
79523 gxx_include_dir=no
79526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
79527 $as_echo "$gxx_include_dir" >&6; }
79529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
79530 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
79531 # Check whether --enable-version-specific-runtime-libs was given.
79532 if test "${enable_version_specific_runtime_libs+set}" = set; then :
79533 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
79534 yes) version_specific_libs=yes ;;
79535 no) version_specific_libs=no ;;
79536 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
79537 esac
79538 else
79539 version_specific_libs=no
79542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
79543 $as_echo "$version_specific_libs" >&6; }
79545 # Default case for install directory for include files.
79546 if test $version_specific_libs = no && test $gxx_include_dir = no; then
79547 gxx_include_dir='include/c++/${gcc_version}'
79548 if test -n "$with_cross_host" &&
79549 test x"$with_cross_host" != x"no"; then
79550 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
79551 else
79552 gxx_include_dir='${prefix}/'"$gxx_include_dir"
79556 # Version-specific runtime libs processing.
79557 if test $version_specific_libs = yes; then
79558 # Need the gcc compiler version to know where to install libraries
79559 # and header files if --enable-version-specific-runtime-libs option
79560 # is selected. FIXME: these variables are misnamed, there are
79561 # no executables installed in _toolexecdir or _toolexeclibdir.
79562 if test x"$gxx_include_dir" = x"no"; then
79563 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
79565 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
79566 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
79569 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
79570 # Install a library built with a cross compiler in tooldir, not libdir.
79571 if test x"$glibcxx_toolexecdir" = x"no"; then
79572 if test -n "$with_cross_host" &&
79573 test x"$with_cross_host" != x"no"; then
79574 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
79575 glibcxx_toolexeclibdir='${toolexecdir}/lib'
79576 else
79577 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
79578 glibcxx_toolexeclibdir='${libdir}'
79580 multi_os_directory=`$CXX -print-multi-os-directory`
79581 case $multi_os_directory in
79582 .) ;; # Avoid trailing /.
79583 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
79584 esac
79587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
79588 $as_echo_n "checking for install location... " >&6; }
79589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
79590 $as_echo "$gxx_include_dir" >&6; }
79598 # Export all the include and flag information to Makefiles.
79600 # Used for every C++ compile we perform.
79601 GLIBCXX_INCLUDES="\
79602 -I$glibcxx_builddir/include/$host_alias \
79603 -I$glibcxx_builddir/include \
79604 -I$glibcxx_srcdir/libsupc++"
79606 # For Canadian crosses, pick this up too.
79607 if test $CANADIAN = yes; then
79608 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
79611 # Stuff in the actual top level. Currently only used by libsupc++ to
79612 # get unwind* headers from the libgcc dir.
79613 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
79614 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc'
79616 # Now, export this to all the little Makefiles....
79621 # Optimization flags that are probably a good idea for thrill-seekers. Just
79622 # uncomment the lines below and make, everything else is ready to go...
79623 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
79624 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
79627 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi'
79631 ac_config_files="$ac_config_files Makefile"
79633 ac_config_files="$ac_config_files scripts/testsuite_flags"
79635 ac_config_files="$ac_config_files scripts/extract_symvers"
79637 ac_config_files="$ac_config_files doc/xsl/customization.xsl"
79640 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
79641 # that multilib installs will end up installed in the correct place.
79642 # The testsuite needs it for multilib-aware ABI baseline files.
79643 # To work around this not being passed down from config-ml.in ->
79644 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
79645 # append it here. Only modify Makefiles that have just been created.
79647 # Also, get rid of this simulated-VPATH thing that automake does.
79648 ac_config_files="$ac_config_files include/Makefile libsupc++/Makefile python/Makefile src/Makefile src/c++98/Makefile src/c++11/Makefile doc/Makefile po/Makefile testsuite/Makefile"
79651 ac_config_commands="$ac_config_commands generate-headers"
79654 cat >confcache <<\_ACEOF
79655 # This file is a shell script that caches the results of configure
79656 # tests run on this system so they can be shared between configure
79657 # scripts and configure runs, see configure's option --config-cache.
79658 # It is not useful on other systems. If it contains results you don't
79659 # want to keep, you may remove or edit it.
79661 # config.status only pays attention to the cache file if you give it
79662 # the --recheck option to rerun configure.
79664 # `ac_cv_env_foo' variables (set or unset) will be overridden when
79665 # loading this file, other *unset* `ac_cv_foo' will be assigned the
79666 # following values.
79668 _ACEOF
79670 # The following way of writing the cache mishandles newlines in values,
79671 # but we know of no workaround that is simple, portable, and efficient.
79672 # So, we kill variables containing newlines.
79673 # Ultrix sh set writes to stderr and can't be redirected directly,
79674 # and sets the high bit in the cache file unless we assign to the vars.
79676 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
79677 eval ac_val=\$$ac_var
79678 case $ac_val in #(
79679 *${as_nl}*)
79680 case $ac_var in #(
79681 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
79682 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
79683 esac
79684 case $ac_var in #(
79685 _ | IFS | as_nl) ;; #(
79686 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
79687 *) { eval $ac_var=; unset $ac_var;} ;;
79688 esac ;;
79689 esac
79690 done
79692 (set) 2>&1 |
79693 case $as_nl`(ac_space=' '; set) 2>&1` in #(
79694 *${as_nl}ac_space=\ *)
79695 # `set' does not quote correctly, so add quotes: double-quote
79696 # substitution turns \\\\ into \\, and sed turns \\ into \.
79697 sed -n \
79698 "s/'/'\\\\''/g;
79699 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
79700 ;; #(
79702 # `set' quotes correctly as required by POSIX, so do not add quotes.
79703 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
79705 esac |
79706 sort
79708 sed '
79709 /^ac_cv_env_/b end
79710 t clear
79711 :clear
79712 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
79713 t end
79714 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
79715 :end' >>confcache
79716 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
79717 if test -w "$cache_file"; then
79718 test "x$cache_file" != "x/dev/null" &&
79719 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
79720 $as_echo "$as_me: updating cache $cache_file" >&6;}
79721 cat confcache >$cache_file
79722 else
79723 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
79724 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
79727 rm -f confcache
79729 test "x$prefix" = xNONE && prefix=$ac_default_prefix
79730 # Let make expand exec_prefix.
79731 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
79733 DEFS=-DHAVE_CONFIG_H
79735 ac_libobjs=
79736 ac_ltlibobjs=
79737 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
79738 # 1. Remove the extension, and $U if already installed.
79739 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
79740 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
79741 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
79742 # will be set to the directory where LIBOBJS objects are built.
79743 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
79744 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
79745 done
79746 LIBOBJS=$ac_libobjs
79748 LTLIBOBJS=$ac_ltlibobjs
79751 if test -n "$EXEEXT"; then
79752 am__EXEEXT_TRUE=
79753 am__EXEEXT_FALSE='#'
79754 else
79755 am__EXEEXT_TRUE='#'
79756 am__EXEEXT_FALSE=
79759 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
79760 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
79761 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79763 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
79764 as_fn_error "conditional \"GLIBCXX_HOSTED\" was never defined.
79765 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79767 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
79768 as_fn_error "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
79769 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79771 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
79772 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
79773 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79775 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
79776 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
79777 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79779 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
79780 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
79781 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79783 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
79784 as_fn_error "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
79785 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79787 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
79788 as_fn_error "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
79789 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79791 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
79792 as_fn_error "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
79793 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79795 if test -z "${ENABLE_PYTHONDIR_TRUE}" && test -z "${ENABLE_PYTHONDIR_FALSE}"; then
79796 as_fn_error "conditional \"ENABLE_PYTHONDIR\" was never defined.
79797 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79799 if test -z "${ENABLE_WERROR_TRUE}" && test -z "${ENABLE_WERROR_FALSE}"; then
79800 as_fn_error "conditional \"ENABLE_WERROR\" was never defined.
79801 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79803 if test -z "${VTV_CYGMIN_TRUE}" && test -z "${VTV_CYGMIN_FALSE}"; then
79804 as_fn_error "conditional \"VTV_CYGMIN\" was never defined.
79805 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79807 if test -z "${ENABLE_VTABLE_VERIFY_TRUE}" && test -z "${ENABLE_VTABLE_VERIFY_FALSE}"; then
79808 as_fn_error "conditional \"ENABLE_VTABLE_VERIFY\" was never defined.
79809 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79811 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
79812 as_fn_error "conditional \"ENABLE_SYMVERS\" was never defined.
79813 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79815 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
79816 as_fn_error "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
79817 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79819 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
79820 as_fn_error "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
79821 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79823 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
79824 as_fn_error "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
79825 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79827 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
79828 as_fn_error "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
79829 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79831 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
79832 as_fn_error "conditional \"ENABLE_VISIBILITY\" was never defined.
79833 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79835 if test -z "${ENABLE_DUAL_ABI_TRUE}" && test -z "${ENABLE_DUAL_ABI_FALSE}"; then
79836 as_fn_error "conditional \"ENABLE_DUAL_ABI\" was never defined.
79837 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79839 if test -z "${ENABLE_CXX11_ABI_TRUE}" && test -z "${ENABLE_CXX11_ABI_FALSE}"; then
79840 as_fn_error "conditional \"ENABLE_CXX11_ABI\" was never defined.
79841 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79843 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
79844 as_fn_error "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
79845 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79847 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
79848 as_fn_error "conditional \"BUILD_INFO\" was never defined.
79849 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79851 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
79852 as_fn_error "conditional \"BUILD_EPUB\" was never defined.
79853 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79855 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
79856 as_fn_error "conditional \"BUILD_XML\" was never defined.
79857 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79859 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
79860 as_fn_error "conditional \"BUILD_HTML\" was never defined.
79861 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79863 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
79864 as_fn_error "conditional \"BUILD_MAN\" was never defined.
79865 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79867 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
79868 as_fn_error "conditional \"BUILD_PDF\" was never defined.
79869 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79872 : ${CONFIG_STATUS=./config.status}
79873 ac_write_fail=0
79874 ac_clean_files_save=$ac_clean_files
79875 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
79876 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
79877 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
79878 as_write_fail=0
79879 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
79880 #! $SHELL
79881 # Generated by $as_me.
79882 # Run this file to recreate the current configuration.
79883 # Compiler output produced by configure, useful for debugging
79884 # configure, is in config.log if it exists.
79886 debug=false
79887 ac_cs_recheck=false
79888 ac_cs_silent=false
79890 SHELL=\${CONFIG_SHELL-$SHELL}
79891 export SHELL
79892 _ASEOF
79893 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
79894 ## -------------------- ##
79895 ## M4sh Initialization. ##
79896 ## -------------------- ##
79898 # Be more Bourne compatible
79899 DUALCASE=1; export DUALCASE # for MKS sh
79900 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
79901 emulate sh
79902 NULLCMD=:
79903 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
79904 # is contrary to our usage. Disable this feature.
79905 alias -g '${1+"$@"}'='"$@"'
79906 setopt NO_GLOB_SUBST
79907 else
79908 case `(set -o) 2>/dev/null` in #(
79909 *posix*) :
79910 set -o posix ;; #(
79911 *) :
79913 esac
79917 as_nl='
79919 export as_nl
79920 # Printing a long string crashes Solaris 7 /usr/bin/printf.
79921 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
79922 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
79923 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
79924 # Prefer a ksh shell builtin over an external printf program on Solaris,
79925 # but without wasting forks for bash or zsh.
79926 if test -z "$BASH_VERSION$ZSH_VERSION" \
79927 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
79928 as_echo='print -r --'
79929 as_echo_n='print -rn --'
79930 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
79931 as_echo='printf %s\n'
79932 as_echo_n='printf %s'
79933 else
79934 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
79935 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
79936 as_echo_n='/usr/ucb/echo -n'
79937 else
79938 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
79939 as_echo_n_body='eval
79940 arg=$1;
79941 case $arg in #(
79942 *"$as_nl"*)
79943 expr "X$arg" : "X\\(.*\\)$as_nl";
79944 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
79945 esac;
79946 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
79948 export as_echo_n_body
79949 as_echo_n='sh -c $as_echo_n_body as_echo'
79951 export as_echo_body
79952 as_echo='sh -c $as_echo_body as_echo'
79955 # The user is always right.
79956 if test "${PATH_SEPARATOR+set}" != set; then
79957 PATH_SEPARATOR=:
79958 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
79959 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79960 PATH_SEPARATOR=';'
79965 # IFS
79966 # We need space, tab and new line, in precisely that order. Quoting is
79967 # there to prevent editors from complaining about space-tab.
79968 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
79969 # splitting by setting IFS to empty value.)
79970 IFS=" "" $as_nl"
79972 # Find who we are. Look in the path if we contain no directory separator.
79973 case $0 in #((
79974 *[\\/]* ) as_myself=$0 ;;
79975 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79976 for as_dir in $PATH
79978 IFS=$as_save_IFS
79979 test -z "$as_dir" && as_dir=.
79980 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
79981 done
79982 IFS=$as_save_IFS
79985 esac
79986 # We did not find ourselves, most probably we were run as `sh COMMAND'
79987 # in which case we are not to be found in the path.
79988 if test "x$as_myself" = x; then
79989 as_myself=$0
79991 if test ! -f "$as_myself"; then
79992 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
79993 exit 1
79996 # Unset variables that we do not need and which cause bugs (e.g. in
79997 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
79998 # suppresses any "Segmentation fault" message there. '((' could
79999 # trigger a bug in pdksh 5.2.14.
80000 for as_var in BASH_ENV ENV MAIL MAILPATH
80001 do eval test x\${$as_var+set} = xset \
80002 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
80003 done
80004 PS1='$ '
80005 PS2='> '
80006 PS4='+ '
80008 # NLS nuisances.
80009 LC_ALL=C
80010 export LC_ALL
80011 LANGUAGE=C
80012 export LANGUAGE
80014 # CDPATH.
80015 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
80018 # as_fn_error ERROR [LINENO LOG_FD]
80019 # ---------------------------------
80020 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
80021 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
80022 # script with status $?, using 1 if that was 0.
80023 as_fn_error ()
80025 as_status=$?; test $as_status -eq 0 && as_status=1
80026 if test "$3"; then
80027 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
80028 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
80030 $as_echo "$as_me: error: $1" >&2
80031 as_fn_exit $as_status
80032 } # as_fn_error
80035 # as_fn_set_status STATUS
80036 # -----------------------
80037 # Set $? to STATUS, without forking.
80038 as_fn_set_status ()
80040 return $1
80041 } # as_fn_set_status
80043 # as_fn_exit STATUS
80044 # -----------------
80045 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
80046 as_fn_exit ()
80048 set +e
80049 as_fn_set_status $1
80050 exit $1
80051 } # as_fn_exit
80053 # as_fn_unset VAR
80054 # ---------------
80055 # Portably unset VAR.
80056 as_fn_unset ()
80058 { eval $1=; unset $1;}
80060 as_unset=as_fn_unset
80061 # as_fn_append VAR VALUE
80062 # ----------------------
80063 # Append the text in VALUE to the end of the definition contained in VAR. Take
80064 # advantage of any shell optimizations that allow amortized linear growth over
80065 # repeated appends, instead of the typical quadratic growth present in naive
80066 # implementations.
80067 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
80068 eval 'as_fn_append ()
80070 eval $1+=\$2
80072 else
80073 as_fn_append ()
80075 eval $1=\$$1\$2
80077 fi # as_fn_append
80079 # as_fn_arith ARG...
80080 # ------------------
80081 # Perform arithmetic evaluation on the ARGs, and store the result in the
80082 # global $as_val. Take advantage of shells that can avoid forks. The arguments
80083 # must be portable across $(()) and expr.
80084 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
80085 eval 'as_fn_arith ()
80087 as_val=$(( $* ))
80089 else
80090 as_fn_arith ()
80092 as_val=`expr "$@" || test $? -eq 1`
80094 fi # as_fn_arith
80097 if expr a : '\(a\)' >/dev/null 2>&1 &&
80098 test "X`expr 00001 : '.*\(...\)'`" = X001; then
80099 as_expr=expr
80100 else
80101 as_expr=false
80104 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
80105 as_basename=basename
80106 else
80107 as_basename=false
80110 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
80111 as_dirname=dirname
80112 else
80113 as_dirname=false
80116 as_me=`$as_basename -- "$0" ||
80117 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
80118 X"$0" : 'X\(//\)$' \| \
80119 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
80120 $as_echo X/"$0" |
80121 sed '/^.*\/\([^/][^/]*\)\/*$/{
80122 s//\1/
80125 /^X\/\(\/\/\)$/{
80126 s//\1/
80129 /^X\/\(\/\).*/{
80130 s//\1/
80133 s/.*/./; q'`
80135 # Avoid depending upon Character Ranges.
80136 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
80137 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
80138 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
80139 as_cr_digits='0123456789'
80140 as_cr_alnum=$as_cr_Letters$as_cr_digits
80142 ECHO_C= ECHO_N= ECHO_T=
80143 case `echo -n x` in #(((((
80144 -n*)
80145 case `echo 'xy\c'` in
80146 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
80147 xy) ECHO_C='\c';;
80148 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
80149 ECHO_T=' ';;
80150 esac;;
80152 ECHO_N='-n';;
80153 esac
80155 rm -f conf$$ conf$$.exe conf$$.file
80156 if test -d conf$$.dir; then
80157 rm -f conf$$.dir/conf$$.file
80158 else
80159 rm -f conf$$.dir
80160 mkdir conf$$.dir 2>/dev/null
80162 if (echo >conf$$.file) 2>/dev/null; then
80163 if ln -s conf$$.file conf$$ 2>/dev/null; then
80164 as_ln_s='ln -s'
80165 # ... but there are two gotchas:
80166 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
80167 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
80168 # In both cases, we have to default to `cp -p'.
80169 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
80170 as_ln_s='cp -p'
80171 elif ln conf$$.file conf$$ 2>/dev/null; then
80172 as_ln_s=ln
80173 else
80174 as_ln_s='cp -p'
80176 else
80177 as_ln_s='cp -p'
80179 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
80180 rmdir conf$$.dir 2>/dev/null
80183 # as_fn_mkdir_p
80184 # -------------
80185 # Create "$as_dir" as a directory, including parents if necessary.
80186 as_fn_mkdir_p ()
80189 case $as_dir in #(
80190 -*) as_dir=./$as_dir;;
80191 esac
80192 test -d "$as_dir" || eval $as_mkdir_p || {
80193 as_dirs=
80194 while :; do
80195 case $as_dir in #(
80196 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
80197 *) as_qdir=$as_dir;;
80198 esac
80199 as_dirs="'$as_qdir' $as_dirs"
80200 as_dir=`$as_dirname -- "$as_dir" ||
80201 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
80202 X"$as_dir" : 'X\(//\)[^/]' \| \
80203 X"$as_dir" : 'X\(//\)$' \| \
80204 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
80205 $as_echo X"$as_dir" |
80206 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
80207 s//\1/
80210 /^X\(\/\/\)[^/].*/{
80211 s//\1/
80214 /^X\(\/\/\)$/{
80215 s//\1/
80218 /^X\(\/\).*/{
80219 s//\1/
80222 s/.*/./; q'`
80223 test -d "$as_dir" && break
80224 done
80225 test -z "$as_dirs" || eval "mkdir $as_dirs"
80226 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
80229 } # as_fn_mkdir_p
80230 if mkdir -p . 2>/dev/null; then
80231 as_mkdir_p='mkdir -p "$as_dir"'
80232 else
80233 test -d ./-p && rmdir ./-p
80234 as_mkdir_p=false
80237 if test -x / >/dev/null 2>&1; then
80238 as_test_x='test -x'
80239 else
80240 if ls -dL / >/dev/null 2>&1; then
80241 as_ls_L_option=L
80242 else
80243 as_ls_L_option=
80245 as_test_x='
80246 eval sh -c '\''
80247 if test -d "$1"; then
80248 test -d "$1/.";
80249 else
80250 case $1 in #(
80251 -*)set "./$1";;
80252 esac;
80253 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
80254 ???[sx]*):;;*)false;;esac;fi
80255 '\'' sh
80258 as_executable_p=$as_test_x
80260 # Sed expression to map a string onto a valid CPP name.
80261 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
80263 # Sed expression to map a string onto a valid variable name.
80264 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
80267 exec 6>&1
80268 ## ----------------------------------- ##
80269 ## Main body of $CONFIG_STATUS script. ##
80270 ## ----------------------------------- ##
80271 _ASEOF
80272 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
80274 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80275 # Save the log message, to keep $0 and so on meaningful, and to
80276 # report actual input values of CONFIG_FILES etc. instead of their
80277 # values after options handling.
80278 ac_log="
80279 This file was extended by package-unused $as_me version-unused, which was
80280 generated by GNU Autoconf 2.64. Invocation command line was
80282 CONFIG_FILES = $CONFIG_FILES
80283 CONFIG_HEADERS = $CONFIG_HEADERS
80284 CONFIG_LINKS = $CONFIG_LINKS
80285 CONFIG_COMMANDS = $CONFIG_COMMANDS
80286 $ $0 $@
80288 on `(hostname || uname -n) 2>/dev/null | sed 1q`
80291 _ACEOF
80293 case $ac_config_files in *"
80294 "*) set x $ac_config_files; shift; ac_config_files=$*;;
80295 esac
80297 case $ac_config_headers in *"
80298 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
80299 esac
80302 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
80303 # Files that config.status was made for.
80304 config_files="$ac_config_files"
80305 config_headers="$ac_config_headers"
80306 config_commands="$ac_config_commands"
80308 _ACEOF
80310 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80311 ac_cs_usage="\
80312 \`$as_me' instantiates files and other configuration actions
80313 from templates according to the current configuration. Unless the files
80314 and actions are specified as TAGs, all are instantiated by default.
80316 Usage: $0 [OPTION]... [TAG]...
80318 -h, --help print this help, then exit
80319 -V, --version print version number and configuration settings, then exit
80320 -q, --quiet, --silent
80321 do not print progress messages
80322 -d, --debug don't remove temporary files
80323 --recheck update $as_me by reconfiguring in the same conditions
80324 --file=FILE[:TEMPLATE]
80325 instantiate the configuration file FILE
80326 --header=FILE[:TEMPLATE]
80327 instantiate the configuration header FILE
80329 Configuration files:
80330 $config_files
80332 Configuration headers:
80333 $config_headers
80335 Configuration commands:
80336 $config_commands
80338 Report bugs to the package provider."
80340 _ACEOF
80341 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
80342 ac_cs_version="\\
80343 package-unused config.status version-unused
80344 configured by $0, generated by GNU Autoconf 2.64,
80345 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
80347 Copyright (C) 2009 Free Software Foundation, Inc.
80348 This config.status script is free software; the Free Software Foundation
80349 gives unlimited permission to copy, distribute and modify it."
80351 ac_pwd='$ac_pwd'
80352 srcdir='$srcdir'
80353 INSTALL='$INSTALL'
80354 MKDIR_P='$MKDIR_P'
80355 AWK='$AWK'
80356 test -n "\$AWK" || AWK=awk
80357 _ACEOF
80359 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80360 # The default lists apply if the user does not specify any file.
80361 ac_need_defaults=:
80362 while test $# != 0
80364 case $1 in
80365 --*=*)
80366 ac_option=`expr "X$1" : 'X\([^=]*\)='`
80367 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
80368 ac_shift=:
80371 ac_option=$1
80372 ac_optarg=$2
80373 ac_shift=shift
80375 esac
80377 case $ac_option in
80378 # Handling of the options.
80379 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
80380 ac_cs_recheck=: ;;
80381 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
80382 $as_echo "$ac_cs_version"; exit ;;
80383 --debug | --debu | --deb | --de | --d | -d )
80384 debug=: ;;
80385 --file | --fil | --fi | --f )
80386 $ac_shift
80387 case $ac_optarg in
80388 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
80389 esac
80390 as_fn_append CONFIG_FILES " '$ac_optarg'"
80391 ac_need_defaults=false;;
80392 --header | --heade | --head | --hea )
80393 $ac_shift
80394 case $ac_optarg in
80395 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
80396 esac
80397 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
80398 ac_need_defaults=false;;
80399 --he | --h)
80400 # Conflict between --help and --header
80401 as_fn_error "ambiguous option: \`$1'
80402 Try \`$0 --help' for more information.";;
80403 --help | --hel | -h )
80404 $as_echo "$ac_cs_usage"; exit ;;
80405 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
80406 | -silent | --silent | --silen | --sile | --sil | --si | --s)
80407 ac_cs_silent=: ;;
80409 # This is an error.
80410 -*) as_fn_error "unrecognized option: \`$1'
80411 Try \`$0 --help' for more information." ;;
80413 *) as_fn_append ac_config_targets " $1"
80414 ac_need_defaults=false ;;
80416 esac
80417 shift
80418 done
80420 ac_configure_extra_args=
80422 if $ac_cs_silent; then
80423 exec 6>/dev/null
80424 ac_configure_extra_args="$ac_configure_extra_args --silent"
80427 _ACEOF
80428 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
80429 if \$ac_cs_recheck; then
80430 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
80431 shift
80432 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
80433 CONFIG_SHELL='$SHELL'
80434 export CONFIG_SHELL
80435 exec "\$@"
80438 _ACEOF
80439 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80440 exec 5>>config.log
80442 echo
80443 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
80444 ## Running $as_me. ##
80445 _ASBOX
80446 $as_echo "$ac_log"
80447 } >&5
80449 _ACEOF
80450 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
80452 # INIT-COMMANDS
80455 srcdir="$srcdir"
80456 host="$host"
80457 target="$target"
80458 with_multisubdir="$with_multisubdir"
80459 with_multisrctop="$with_multisrctop"
80460 with_target_subdir="$with_target_subdir"
80461 ac_configure_args="${multilib_arg} ${ac_configure_args}"
80462 multi_basedir="$multi_basedir"
80463 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
80464 CC="$CC"
80465 CXX="$CXX"
80466 GFORTRAN="$GFORTRAN"
80467 GCJ="$GCJ"
80470 # The HP-UX ksh and POSIX shell print the target directory to stdout
80471 # if CDPATH is set.
80472 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
80474 sed_quote_subst='$sed_quote_subst'
80475 double_quote_subst='$double_quote_subst'
80476 delay_variable_subst='$delay_variable_subst'
80477 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
80478 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
80479 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
80480 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
80481 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
80482 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
80483 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
80484 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
80485 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
80486 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
80487 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
80488 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
80489 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
80490 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
80491 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
80492 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
80493 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
80494 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
80495 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
80496 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
80497 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
80498 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
80499 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
80500 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
80501 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
80502 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
80503 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
80504 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
80505 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
80506 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
80507 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
80508 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
80509 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
80510 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
80511 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
80512 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
80513 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
80514 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
80515 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
80516 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
80517 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
80518 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
80519 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
80520 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
80521 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
80522 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
80523 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
80524 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
80525 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"`'
80526 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
80527 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
80528 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
80529 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
80530 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
80531 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
80532 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
80533 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
80534 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
80535 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
80536 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
80537 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
80538 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
80539 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
80540 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
80541 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
80542 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
80543 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
80544 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
80545 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
80546 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
80547 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
80548 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
80549 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
80550 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
80551 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
80552 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
80553 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
80554 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
80555 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
80556 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
80557 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
80558 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
80559 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
80560 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
80561 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
80562 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
80563 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
80564 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
80565 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
80566 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
80567 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
80568 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
80569 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
80570 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
80571 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
80572 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
80573 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
80574 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
80575 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
80576 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
80577 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
80578 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
80579 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
80580 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
80581 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
80582 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
80583 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
80584 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
80585 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
80586 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
80587 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
80588 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
80589 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
80590 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
80591 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
80592 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
80593 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
80594 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
80595 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
80596 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
80597 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
80598 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
80599 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
80600 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
80601 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
80602 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
80603 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
80604 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
80605 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80606 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80607 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
80608 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
80609 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
80610 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
80611 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
80612 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
80613 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
80614 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
80615 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
80616 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
80617 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
80618 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
80619 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80620 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80621 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80622 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80623 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80624 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80625 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
80626 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
80627 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
80628 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
80629 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
80630 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
80631 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
80632 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
80633 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
80634 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
80635 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
80636 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
80637 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
80638 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
80639 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
80640 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80641 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
80642 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
80643 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80644 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
80645 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
80646 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
80647 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
80648 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
80649 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
80650 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
80651 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
80653 LTCC='$LTCC'
80654 LTCFLAGS='$LTCFLAGS'
80655 compiler='$compiler_DEFAULT'
80657 # A function that is used when there is no print builtin or printf.
80658 func_fallback_echo ()
80660 eval 'cat <<_LTECHO_EOF
80662 _LTECHO_EOF'
80665 # Quote evaled strings.
80666 for var in SHELL \
80667 ECHO \
80668 SED \
80669 GREP \
80670 EGREP \
80671 FGREP \
80672 LD \
80673 NM \
80674 LN_S \
80675 lt_SP2NL \
80676 lt_NL2SP \
80677 reload_flag \
80678 OBJDUMP \
80679 deplibs_check_method \
80680 file_magic_cmd \
80681 AR \
80682 AR_FLAGS \
80683 STRIP \
80684 RANLIB \
80685 CC \
80686 CFLAGS \
80687 compiler \
80688 lt_cv_sys_global_symbol_pipe \
80689 lt_cv_sys_global_symbol_to_cdecl \
80690 lt_cv_sys_global_symbol_to_c_name_address \
80691 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
80692 lt_prog_compiler_no_builtin_flag \
80693 lt_prog_compiler_wl \
80694 lt_prog_compiler_pic \
80695 lt_prog_compiler_static \
80696 lt_cv_prog_compiler_c_o \
80697 need_locks \
80698 DSYMUTIL \
80699 NMEDIT \
80700 LIPO \
80701 OTOOL \
80702 OTOOL64 \
80703 shrext_cmds \
80704 export_dynamic_flag_spec \
80705 whole_archive_flag_spec \
80706 compiler_needs_object \
80707 with_gnu_ld \
80708 allow_undefined_flag \
80709 no_undefined_flag \
80710 hardcode_libdir_flag_spec \
80711 hardcode_libdir_flag_spec_ld \
80712 hardcode_libdir_separator \
80713 fix_srcfile_path \
80714 exclude_expsyms \
80715 include_expsyms \
80716 file_list_spec \
80717 variables_saved_for_relink \
80718 libname_spec \
80719 library_names_spec \
80720 soname_spec \
80721 install_override_mode \
80722 finish_eval \
80723 old_striplib \
80724 striplib \
80725 compiler_lib_search_dirs \
80726 predep_objects \
80727 postdep_objects \
80728 predeps \
80729 postdeps \
80730 compiler_lib_search_path \
80731 LD_CXX \
80732 reload_flag_CXX \
80733 compiler_CXX \
80734 lt_prog_compiler_no_builtin_flag_CXX \
80735 lt_prog_compiler_wl_CXX \
80736 lt_prog_compiler_pic_CXX \
80737 lt_prog_compiler_static_CXX \
80738 lt_cv_prog_compiler_c_o_CXX \
80739 export_dynamic_flag_spec_CXX \
80740 whole_archive_flag_spec_CXX \
80741 compiler_needs_object_CXX \
80742 with_gnu_ld_CXX \
80743 allow_undefined_flag_CXX \
80744 no_undefined_flag_CXX \
80745 hardcode_libdir_flag_spec_CXX \
80746 hardcode_libdir_flag_spec_ld_CXX \
80747 hardcode_libdir_separator_CXX \
80748 fix_srcfile_path_CXX \
80749 exclude_expsyms_CXX \
80750 include_expsyms_CXX \
80751 file_list_spec_CXX \
80752 compiler_lib_search_dirs_CXX \
80753 predep_objects_CXX \
80754 postdep_objects_CXX \
80755 predeps_CXX \
80756 postdeps_CXX \
80757 compiler_lib_search_path_CXX; do
80758 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
80759 *[\\\\\\\`\\"\\\$]*)
80760 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
80763 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
80765 esac
80766 done
80768 # Double-quote double-evaled strings.
80769 for var in reload_cmds \
80770 old_postinstall_cmds \
80771 old_postuninstall_cmds \
80772 old_archive_cmds \
80773 extract_expsyms_cmds \
80774 old_archive_from_new_cmds \
80775 old_archive_from_expsyms_cmds \
80776 archive_cmds \
80777 archive_expsym_cmds \
80778 module_cmds \
80779 module_expsym_cmds \
80780 export_symbols_cmds \
80781 prelink_cmds \
80782 postinstall_cmds \
80783 postuninstall_cmds \
80784 finish_cmds \
80785 sys_lib_search_path_spec \
80786 sys_lib_dlsearch_path_spec \
80787 reload_cmds_CXX \
80788 old_archive_cmds_CXX \
80789 old_archive_from_new_cmds_CXX \
80790 old_archive_from_expsyms_cmds_CXX \
80791 archive_cmds_CXX \
80792 archive_expsym_cmds_CXX \
80793 module_cmds_CXX \
80794 module_expsym_cmds_CXX \
80795 export_symbols_cmds_CXX \
80796 prelink_cmds_CXX; do
80797 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
80798 *[\\\\\\\`\\"\\\$]*)
80799 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
80802 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
80804 esac
80805 done
80807 ac_aux_dir='$ac_aux_dir'
80808 xsi_shell='$xsi_shell'
80809 lt_shell_append='$lt_shell_append'
80811 # See if we are running on zsh, and set the options which allow our
80812 # commands through without removal of \ escapes INIT.
80813 if test -n "\${ZSH_VERSION+set}" ; then
80814 setopt NO_GLOB_SUBST
80818 PACKAGE='$PACKAGE'
80819 VERSION='$VERSION'
80820 TIMESTAMP='$TIMESTAMP'
80821 RM='$RM'
80822 ofile='$ofile'
80829 GCC="$GCC"
80830 CC="$CC"
80831 acx_cv_header_stdint="$acx_cv_header_stdint"
80832 acx_cv_type_int8_t="$acx_cv_type_int8_t"
80833 acx_cv_type_int16_t="$acx_cv_type_int16_t"
80834 acx_cv_type_int32_t="$acx_cv_type_int32_t"
80835 acx_cv_type_int64_t="$acx_cv_type_int64_t"
80836 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
80837 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
80838 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
80839 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
80840 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
80841 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
80842 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
80843 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
80844 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
80847 _ACEOF
80849 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80851 # Handling of arguments.
80852 for ac_config_target in $ac_config_targets
80854 case $ac_config_target in
80855 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
80856 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
80857 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
80858 "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
80859 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
80860 "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
80861 "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
80862 "doc/xsl/customization.xsl") CONFIG_FILES="$CONFIG_FILES doc/xsl/customization.xsl" ;;
80863 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
80864 "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
80865 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
80866 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
80867 "src/c++98/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++98/Makefile" ;;
80868 "src/c++11/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++11/Makefile" ;;
80869 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
80870 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
80871 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
80872 "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
80874 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
80875 esac
80876 done
80879 # If the user did not use the arguments to specify the items to instantiate,
80880 # then the envvar interface is used. Set only those that are not.
80881 # We use the long form for the default assignment because of an extremely
80882 # bizarre bug on SunOS 4.1.3.
80883 if $ac_need_defaults; then
80884 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
80885 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
80886 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
80889 # Have a temporary directory for convenience. Make it in the build tree
80890 # simply because there is no reason against having it here, and in addition,
80891 # creating and moving files from /tmp can sometimes cause problems.
80892 # Hook for its removal unless debugging.
80893 # Note that there is a small window in which the directory will not be cleaned:
80894 # after its creation but before its name has been assigned to `$tmp'.
80895 $debug ||
80897 tmp=
80898 trap 'exit_status=$?
80899 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
80901 trap 'as_fn_exit 1' 1 2 13 15
80903 # Create a (secure) tmp directory for tmp files.
80906 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
80907 test -n "$tmp" && test -d "$tmp"
80908 } ||
80910 tmp=./conf$$-$RANDOM
80911 (umask 077 && mkdir "$tmp")
80912 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
80914 # Set up the scripts for CONFIG_FILES section.
80915 # No need to generate them if there are no CONFIG_FILES.
80916 # This happens for instance with `./config.status config.h'.
80917 if test -n "$CONFIG_FILES"; then
80920 ac_cr=`echo X | tr X '\015'`
80921 # On cygwin, bash can eat \r inside `` if the user requested igncr.
80922 # But we know of no other shell where ac_cr would be empty at this
80923 # point, so we can use a bashism as a fallback.
80924 if test "x$ac_cr" = x; then
80925 eval ac_cr=\$\'\\r\'
80927 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
80928 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
80929 ac_cs_awk_cr='\r'
80930 else
80931 ac_cs_awk_cr=$ac_cr
80934 echo 'BEGIN {' >"$tmp/subs1.awk" &&
80935 _ACEOF
80939 echo "cat >conf$$subs.awk <<_ACEOF" &&
80940 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
80941 echo "_ACEOF"
80942 } >conf$$subs.sh ||
80943 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
80944 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
80945 ac_delim='%!_!# '
80946 for ac_last_try in false false false false false :; do
80947 . ./conf$$subs.sh ||
80948 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
80950 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
80951 if test $ac_delim_n = $ac_delim_num; then
80952 break
80953 elif $ac_last_try; then
80954 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
80955 else
80956 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
80958 done
80959 rm -f conf$$subs.sh
80961 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
80962 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
80963 _ACEOF
80964 sed -n '
80966 s/^/S["/; s/!.*/"]=/
80969 s/^[^!]*!//
80970 :repl
80971 t repl
80972 s/'"$ac_delim"'$//
80973 t delim
80976 s/\(.\{148\}\).*/\1/
80977 t more1
80978 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
80981 b repl
80982 :more1
80983 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
80986 s/.\{148\}//
80987 t nl
80988 :delim
80990 s/\(.\{148\}\).*/\1/
80991 t more2
80992 s/["\\]/\\&/g; s/^/"/; s/$/"/
80995 :more2
80996 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
80999 s/.\{148\}//
81000 t delim
81001 ' <conf$$subs.awk | sed '
81002 /^[^""]/{
81004 s/\n//
81006 ' >>$CONFIG_STATUS || ac_write_fail=1
81007 rm -f conf$$subs.awk
81008 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
81009 _ACAWK
81010 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
81011 for (key in S) S_is_set[key] = 1
81012 FS = "\a"
81016 line = $ 0
81017 nfields = split(line, field, "@")
81018 substed = 0
81019 len = length(field[1])
81020 for (i = 2; i < nfields; i++) {
81021 key = field[i]
81022 keylen = length(key)
81023 if (S_is_set[key]) {
81024 value = S[key]
81025 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
81026 len += length(value) + length(field[++i])
81027 substed = 1
81028 } else
81029 len += 1 + keylen
81032 print line
81035 _ACAWK
81036 _ACEOF
81037 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
81038 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
81039 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
81040 else
81042 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
81043 || as_fn_error "could not setup config files machinery" "$LINENO" 5
81044 _ACEOF
81046 # VPATH may cause trouble with some makes, so we remove $(srcdir),
81047 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
81048 # trailing colons and then remove the whole line if VPATH becomes empty
81049 # (actually we leave an empty line to preserve line numbers).
81050 if test "x$srcdir" = x.; then
81051 ac_vpsub='/^[ ]*VPATH[ ]*=/{
81052 s/:*\$(srcdir):*/:/
81053 s/:*\${srcdir}:*/:/
81054 s/:*@srcdir@:*/:/
81055 s/^\([^=]*=[ ]*\):*/\1/
81056 s/:*$//
81057 s/^[^=]*=[ ]*$//
81061 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
81062 fi # test -n "$CONFIG_FILES"
81064 # Set up the scripts for CONFIG_HEADERS section.
81065 # No need to generate them if there are no CONFIG_HEADERS.
81066 # This happens for instance with `./config.status Makefile'.
81067 if test -n "$CONFIG_HEADERS"; then
81068 cat >"$tmp/defines.awk" <<\_ACAWK ||
81069 BEGIN {
81070 _ACEOF
81072 # Transform confdefs.h into an awk script `defines.awk', embedded as
81073 # here-document in config.status, that substitutes the proper values into
81074 # config.h.in to produce config.h.
81076 # Create a delimiter string that does not exist in confdefs.h, to ease
81077 # handling of long lines.
81078 ac_delim='%!_!# '
81079 for ac_last_try in false false :; do
81080 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
81081 if test -z "$ac_t"; then
81082 break
81083 elif $ac_last_try; then
81084 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
81085 else
81086 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
81088 done
81090 # For the awk script, D is an array of macro values keyed by name,
81091 # likewise P contains macro parameters if any. Preserve backslash
81092 # newline sequences.
81094 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
81095 sed -n '
81096 s/.\{148\}/&'"$ac_delim"'/g
81097 t rset
81098 :rset
81099 s/^[ ]*#[ ]*define[ ][ ]*/ /
81100 t def
81102 :def
81103 s/\\$//
81104 t bsnl
81105 s/["\\]/\\&/g
81106 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
81107 D["\1"]=" \3"/p
81108 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
81110 :bsnl
81111 s/["\\]/\\&/g
81112 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
81113 D["\1"]=" \3\\\\\\n"\\/p
81114 t cont
81115 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
81116 t cont
81118 :cont
81120 s/.\{148\}/&'"$ac_delim"'/g
81121 t clear
81122 :clear
81123 s/\\$//
81124 t bsnlc
81125 s/["\\]/\\&/g; s/^/"/; s/$/"/p
81127 :bsnlc
81128 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
81129 b cont
81130 ' <confdefs.h | sed '
81131 s/'"$ac_delim"'/"\\\
81132 "/g' >>$CONFIG_STATUS || ac_write_fail=1
81134 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
81135 for (key in D) D_is_set[key] = 1
81136 FS = "\a"
81138 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
81139 line = \$ 0
81140 split(line, arg, " ")
81141 if (arg[1] == "#") {
81142 defundef = arg[2]
81143 mac1 = arg[3]
81144 } else {
81145 defundef = substr(arg[1], 2)
81146 mac1 = arg[2]
81148 split(mac1, mac2, "(") #)
81149 macro = mac2[1]
81150 prefix = substr(line, 1, index(line, defundef) - 1)
81151 if (D_is_set[macro]) {
81152 # Preserve the white space surrounding the "#".
81153 print prefix "define", macro P[macro] D[macro]
81154 next
81155 } else {
81156 # Replace #undef with comments. This is necessary, for example,
81157 # in the case of _POSIX_SOURCE, which is predefined and required
81158 # on some systems where configure will not decide to define it.
81159 if (defundef == "undef") {
81160 print "/*", prefix defundef, macro, "*/"
81161 next
81165 { print }
81166 _ACAWK
81167 _ACEOF
81168 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
81169 as_fn_error "could not setup config headers machinery" "$LINENO" 5
81170 fi # test -n "$CONFIG_HEADERS"
81173 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
81174 shift
81175 for ac_tag
81177 case $ac_tag in
81178 :[FHLC]) ac_mode=$ac_tag; continue;;
81179 esac
81180 case $ac_mode$ac_tag in
81181 :[FHL]*:*);;
81182 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
81183 :[FH]-) ac_tag=-:-;;
81184 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
81185 esac
81186 ac_save_IFS=$IFS
81187 IFS=:
81188 set x $ac_tag
81189 IFS=$ac_save_IFS
81190 shift
81191 ac_file=$1
81192 shift
81194 case $ac_mode in
81195 :L) ac_source=$1;;
81196 :[FH])
81197 ac_file_inputs=
81198 for ac_f
81200 case $ac_f in
81201 -) ac_f="$tmp/stdin";;
81202 *) # Look for the file first in the build tree, then in the source tree
81203 # (if the path is not absolute). The absolute path cannot be DOS-style,
81204 # because $ac_f cannot contain `:'.
81205 test -f "$ac_f" ||
81206 case $ac_f in
81207 [\\/$]*) false;;
81208 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
81209 esac ||
81210 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
81211 esac
81212 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
81213 as_fn_append ac_file_inputs " '$ac_f'"
81214 done
81216 # Let's still pretend it is `configure' which instantiates (i.e., don't
81217 # use $as_me), people would be surprised to read:
81218 # /* config.h. Generated by config.status. */
81219 configure_input='Generated from '`
81220 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
81221 `' by configure.'
81222 if test x"$ac_file" != x-; then
81223 configure_input="$ac_file. $configure_input"
81224 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
81225 $as_echo "$as_me: creating $ac_file" >&6;}
81227 # Neutralize special characters interpreted by sed in replacement strings.
81228 case $configure_input in #(
81229 *\&* | *\|* | *\\* )
81230 ac_sed_conf_input=`$as_echo "$configure_input" |
81231 sed 's/[\\\\&|]/\\\\&/g'`;; #(
81232 *) ac_sed_conf_input=$configure_input;;
81233 esac
81235 case $ac_tag in
81236 *:-:* | *:-) cat >"$tmp/stdin" \
81237 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
81238 esac
81240 esac
81242 ac_dir=`$as_dirname -- "$ac_file" ||
81243 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
81244 X"$ac_file" : 'X\(//\)[^/]' \| \
81245 X"$ac_file" : 'X\(//\)$' \| \
81246 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
81247 $as_echo X"$ac_file" |
81248 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
81249 s//\1/
81252 /^X\(\/\/\)[^/].*/{
81253 s//\1/
81256 /^X\(\/\/\)$/{
81257 s//\1/
81260 /^X\(\/\).*/{
81261 s//\1/
81264 s/.*/./; q'`
81265 as_dir="$ac_dir"; as_fn_mkdir_p
81266 ac_builddir=.
81268 case "$ac_dir" in
81269 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
81271 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
81272 # A ".." for each directory in $ac_dir_suffix.
81273 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
81274 case $ac_top_builddir_sub in
81275 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
81276 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
81277 esac ;;
81278 esac
81279 ac_abs_top_builddir=$ac_pwd
81280 ac_abs_builddir=$ac_pwd$ac_dir_suffix
81281 # for backward compatibility:
81282 ac_top_builddir=$ac_top_build_prefix
81284 case $srcdir in
81285 .) # We are building in place.
81286 ac_srcdir=.
81287 ac_top_srcdir=$ac_top_builddir_sub
81288 ac_abs_top_srcdir=$ac_pwd ;;
81289 [\\/]* | ?:[\\/]* ) # Absolute name.
81290 ac_srcdir=$srcdir$ac_dir_suffix;
81291 ac_top_srcdir=$srcdir
81292 ac_abs_top_srcdir=$srcdir ;;
81293 *) # Relative name.
81294 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
81295 ac_top_srcdir=$ac_top_build_prefix$srcdir
81296 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
81297 esac
81298 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
81301 case $ac_mode in
81304 # CONFIG_FILE
81307 case $INSTALL in
81308 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
81309 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
81310 esac
81311 ac_MKDIR_P=$MKDIR_P
81312 case $MKDIR_P in
81313 [\\/$]* | ?:[\\/]* ) ;;
81314 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
81315 esac
81316 _ACEOF
81318 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
81319 # If the template does not know about datarootdir, expand it.
81320 # FIXME: This hack should be removed a few years after 2.60.
81321 ac_datarootdir_hack=; ac_datarootdir_seen=
81322 ac_sed_dataroot='
81323 /datarootdir/ {
81327 /@datadir@/p
81328 /@docdir@/p
81329 /@infodir@/p
81330 /@localedir@/p
81331 /@mandir@/p'
81332 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
81333 *datarootdir*) ac_datarootdir_seen=yes;;
81334 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
81335 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
81336 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
81337 _ACEOF
81338 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
81339 ac_datarootdir_hack='
81340 s&@datadir@&$datadir&g
81341 s&@docdir@&$docdir&g
81342 s&@infodir@&$infodir&g
81343 s&@localedir@&$localedir&g
81344 s&@mandir@&$mandir&g
81345 s&\\\${datarootdir}&$datarootdir&g' ;;
81346 esac
81347 _ACEOF
81349 # Neutralize VPATH when `$srcdir' = `.'.
81350 # Shell code in configure.ac might set extrasub.
81351 # FIXME: do we really want to maintain this feature?
81352 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
81353 ac_sed_extra="$ac_vpsub
81354 $extrasub
81355 _ACEOF
81356 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
81358 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
81359 s|@configure_input@|$ac_sed_conf_input|;t t
81360 s&@top_builddir@&$ac_top_builddir_sub&;t t
81361 s&@top_build_prefix@&$ac_top_build_prefix&;t t
81362 s&@srcdir@&$ac_srcdir&;t t
81363 s&@abs_srcdir@&$ac_abs_srcdir&;t t
81364 s&@top_srcdir@&$ac_top_srcdir&;t t
81365 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
81366 s&@builddir@&$ac_builddir&;t t
81367 s&@abs_builddir@&$ac_abs_builddir&;t t
81368 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
81369 s&@INSTALL@&$ac_INSTALL&;t t
81370 s&@MKDIR_P@&$ac_MKDIR_P&;t t
81371 $ac_datarootdir_hack
81373 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
81374 || as_fn_error "could not create $ac_file" "$LINENO" 5
81376 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
81377 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
81378 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
81379 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
81380 which seems to be undefined. Please make sure it is defined." >&5
81381 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
81382 which seems to be undefined. Please make sure it is defined." >&2;}
81384 rm -f "$tmp/stdin"
81385 case $ac_file in
81386 -) cat "$tmp/out" && rm -f "$tmp/out";;
81387 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
81388 esac \
81389 || as_fn_error "could not create $ac_file" "$LINENO" 5
81393 # CONFIG_HEADER
81395 if test x"$ac_file" != x-; then
81397 $as_echo "/* $configure_input */" \
81398 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
81399 } >"$tmp/config.h" \
81400 || as_fn_error "could not create $ac_file" "$LINENO" 5
81401 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
81402 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
81403 $as_echo "$as_me: $ac_file is unchanged" >&6;}
81404 else
81405 rm -f "$ac_file"
81406 mv "$tmp/config.h" "$ac_file" \
81407 || as_fn_error "could not create $ac_file" "$LINENO" 5
81409 else
81410 $as_echo "/* $configure_input */" \
81411 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
81412 || as_fn_error "could not create -" "$LINENO" 5
81414 # Compute "$ac_file"'s index in $config_headers.
81415 _am_arg="$ac_file"
81416 _am_stamp_count=1
81417 for _am_header in $config_headers :; do
81418 case $_am_header in
81419 $_am_arg | $_am_arg:* )
81420 break ;;
81422 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
81423 esac
81424 done
81425 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
81426 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
81427 X"$_am_arg" : 'X\(//\)[^/]' \| \
81428 X"$_am_arg" : 'X\(//\)$' \| \
81429 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
81430 $as_echo X"$_am_arg" |
81431 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
81432 s//\1/
81435 /^X\(\/\/\)[^/].*/{
81436 s//\1/
81439 /^X\(\/\/\)$/{
81440 s//\1/
81443 /^X\(\/\).*/{
81444 s//\1/
81447 s/.*/./; q'`/stamp-h$_am_stamp_count
81450 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
81451 $as_echo "$as_me: executing $ac_file commands" >&6;}
81453 esac
81456 case $ac_file$ac_mode in
81457 "default-1":C)
81458 # Only add multilib support code if we just rebuilt the top-level
81459 # Makefile.
81460 case " $CONFIG_FILES " in
81461 *" Makefile "*)
81462 ac_file=Makefile . ${multi_basedir}/config-ml.in
81464 esac ;;
81465 "libtool":C)
81467 # See if we are running on zsh, and set the options which allow our
81468 # commands through without removal of \ escapes.
81469 if test -n "${ZSH_VERSION+set}" ; then
81470 setopt NO_GLOB_SUBST
81473 cfgfile="${ofile}T"
81474 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
81475 $RM "$cfgfile"
81477 cat <<_LT_EOF >> "$cfgfile"
81478 #! $SHELL
81480 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
81481 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
81482 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
81483 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
81485 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
81486 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
81487 # Written by Gordon Matzigkeit, 1996
81489 # This file is part of GNU Libtool.
81491 # GNU Libtool is free software; you can redistribute it and/or
81492 # modify it under the terms of the GNU General Public License as
81493 # published by the Free Software Foundation; either version 2 of
81494 # the License, or (at your option) any later version.
81496 # As a special exception to the GNU General Public License,
81497 # if you distribute this file as part of a program or library that
81498 # is built using GNU Libtool, you may include this file under the
81499 # same distribution terms that you use for the rest of that program.
81501 # GNU Libtool is distributed in the hope that it will be useful,
81502 # but WITHOUT ANY WARRANTY; without even the implied warranty of
81503 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
81504 # GNU General Public License for more details.
81506 # You should have received a copy of the GNU General Public License
81507 # along with GNU Libtool; see the file COPYING. If not, a copy
81508 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
81509 # obtained by writing to the Free Software Foundation, Inc.,
81510 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
81513 # The names of the tagged configurations supported by this script.
81514 available_tags="CXX "
81516 # ### BEGIN LIBTOOL CONFIG
81518 # Which release of libtool.m4 was used?
81519 macro_version=$macro_version
81520 macro_revision=$macro_revision
81522 # Whether or not to build shared libraries.
81523 build_libtool_libs=$enable_shared
81525 # Whether or not to build static libraries.
81526 build_old_libs=$enable_static
81528 # What type of objects to build.
81529 pic_mode=$pic_mode
81531 # Whether or not to optimize for fast installation.
81532 fast_install=$enable_fast_install
81534 # Shell to use when invoking shell scripts.
81535 SHELL=$lt_SHELL
81537 # An echo program that protects backslashes.
81538 ECHO=$lt_ECHO
81540 # The host system.
81541 host_alias=$host_alias
81542 host=$host
81543 host_os=$host_os
81545 # The build system.
81546 build_alias=$build_alias
81547 build=$build
81548 build_os=$build_os
81550 # A sed program that does not truncate output.
81551 SED=$lt_SED
81553 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
81554 Xsed="\$SED -e 1s/^X//"
81556 # A grep program that handles long lines.
81557 GREP=$lt_GREP
81559 # An ERE matcher.
81560 EGREP=$lt_EGREP
81562 # A literal string matcher.
81563 FGREP=$lt_FGREP
81565 # A BSD- or MS-compatible name lister.
81566 NM=$lt_NM
81568 # Whether we need soft or hard links.
81569 LN_S=$lt_LN_S
81571 # What is the maximum length of a command?
81572 max_cmd_len=$max_cmd_len
81574 # Object file suffix (normally "o").
81575 objext=$ac_objext
81577 # Executable file suffix (normally "").
81578 exeext=$exeext
81580 # whether the shell understands "unset".
81581 lt_unset=$lt_unset
81583 # turn spaces into newlines.
81584 SP2NL=$lt_lt_SP2NL
81586 # turn newlines into spaces.
81587 NL2SP=$lt_lt_NL2SP
81589 # An object symbol dumper.
81590 OBJDUMP=$lt_OBJDUMP
81592 # Method to check whether dependent libraries are shared objects.
81593 deplibs_check_method=$lt_deplibs_check_method
81595 # Command to use when deplibs_check_method == "file_magic".
81596 file_magic_cmd=$lt_file_magic_cmd
81598 # The archiver.
81599 AR=$lt_AR
81600 AR_FLAGS=$lt_AR_FLAGS
81602 # A symbol stripping program.
81603 STRIP=$lt_STRIP
81605 # Commands used to install an old-style archive.
81606 RANLIB=$lt_RANLIB
81607 old_postinstall_cmds=$lt_old_postinstall_cmds
81608 old_postuninstall_cmds=$lt_old_postuninstall_cmds
81610 # Whether to use a lock for old archive extraction.
81611 lock_old_archive_extraction=$lock_old_archive_extraction
81613 # A C compiler.
81614 LTCC=$lt_CC
81616 # LTCC compiler flags.
81617 LTCFLAGS=$lt_CFLAGS
81619 # Take the output of nm and produce a listing of raw symbols and C names.
81620 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
81622 # Transform the output of nm in a proper C declaration.
81623 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
81625 # Transform the output of nm in a C name address pair.
81626 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
81628 # Transform the output of nm in a C name address pair when lib prefix is needed.
81629 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
81631 # The name of the directory that contains temporary libtool files.
81632 objdir=$objdir
81634 # Used to examine libraries when file_magic_cmd begins with "file".
81635 MAGIC_CMD=$MAGIC_CMD
81637 # Must we lock files when doing compilation?
81638 need_locks=$lt_need_locks
81640 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
81641 DSYMUTIL=$lt_DSYMUTIL
81643 # Tool to change global to local symbols on Mac OS X.
81644 NMEDIT=$lt_NMEDIT
81646 # Tool to manipulate fat objects and archives on Mac OS X.
81647 LIPO=$lt_LIPO
81649 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
81650 OTOOL=$lt_OTOOL
81652 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
81653 OTOOL64=$lt_OTOOL64
81655 # Old archive suffix (normally "a").
81656 libext=$libext
81658 # Shared library suffix (normally ".so").
81659 shrext_cmds=$lt_shrext_cmds
81661 # The commands to extract the exported symbol list from a shared archive.
81662 extract_expsyms_cmds=$lt_extract_expsyms_cmds
81664 # Variables whose values should be saved in libtool wrapper scripts and
81665 # restored at link time.
81666 variables_saved_for_relink=$lt_variables_saved_for_relink
81668 # Do we need the "lib" prefix for modules?
81669 need_lib_prefix=$need_lib_prefix
81671 # Do we need a version for libraries?
81672 need_version=$need_version
81674 # Library versioning type.
81675 version_type=$version_type
81677 # Shared library runtime path variable.
81678 runpath_var=$runpath_var
81680 # Shared library path variable.
81681 shlibpath_var=$shlibpath_var
81683 # Is shlibpath searched before the hard-coded library search path?
81684 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
81686 # Format of library name prefix.
81687 libname_spec=$lt_libname_spec
81689 # List of archive names. First name is the real one, the rest are links.
81690 # The last name is the one that the linker finds with -lNAME
81691 library_names_spec=$lt_library_names_spec
81693 # The coded name of the library, if different from the real name.
81694 soname_spec=$lt_soname_spec
81696 # Permission mode override for installation of shared libraries.
81697 install_override_mode=$lt_install_override_mode
81699 # Command to use after installation of a shared archive.
81700 postinstall_cmds=$lt_postinstall_cmds
81702 # Command to use after uninstallation of a shared archive.
81703 postuninstall_cmds=$lt_postuninstall_cmds
81705 # Commands used to finish a libtool library installation in a directory.
81706 finish_cmds=$lt_finish_cmds
81708 # As "finish_cmds", except a single script fragment to be evaled but
81709 # not shown.
81710 finish_eval=$lt_finish_eval
81712 # Whether we should hardcode library paths into libraries.
81713 hardcode_into_libs=$hardcode_into_libs
81715 # Compile-time system search path for libraries.
81716 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
81718 # Run-time system search path for libraries.
81719 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
81721 # Whether dlopen is supported.
81722 dlopen_support=$enable_dlopen
81724 # Whether dlopen of programs is supported.
81725 dlopen_self=$enable_dlopen_self
81727 # Whether dlopen of statically linked programs is supported.
81728 dlopen_self_static=$enable_dlopen_self_static
81730 # Commands to strip libraries.
81731 old_striplib=$lt_old_striplib
81732 striplib=$lt_striplib
81735 # The linker used to build libraries.
81736 LD=$lt_LD
81738 # How to create reloadable object files.
81739 reload_flag=$lt_reload_flag
81740 reload_cmds=$lt_reload_cmds
81742 # Commands used to build an old-style archive.
81743 old_archive_cmds=$lt_old_archive_cmds
81745 # A language specific compiler.
81746 CC=$lt_compiler
81748 # Is the compiler the GNU compiler?
81749 with_gcc=$GCC
81751 # Compiler flag to turn off builtin functions.
81752 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
81754 # How to pass a linker flag through the compiler.
81755 wl=$lt_lt_prog_compiler_wl
81757 # Additional compiler flags for building library objects.
81758 pic_flag=$lt_lt_prog_compiler_pic
81760 # Compiler flag to prevent dynamic linking.
81761 link_static_flag=$lt_lt_prog_compiler_static
81763 # Does compiler simultaneously support -c and -o options?
81764 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
81766 # Whether or not to add -lc for building shared libraries.
81767 build_libtool_need_lc=$archive_cmds_need_lc
81769 # Whether or not to disallow shared libs when runtime libs are static.
81770 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
81772 # Compiler flag to allow reflexive dlopens.
81773 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
81775 # Compiler flag to generate shared objects directly from archives.
81776 whole_archive_flag_spec=$lt_whole_archive_flag_spec
81778 # Whether the compiler copes with passing no objects directly.
81779 compiler_needs_object=$lt_compiler_needs_object
81781 # Create an old-style archive from a shared archive.
81782 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
81784 # Create a temporary old-style archive to link instead of a shared archive.
81785 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
81787 # Commands used to build a shared archive.
81788 archive_cmds=$lt_archive_cmds
81789 archive_expsym_cmds=$lt_archive_expsym_cmds
81791 # Commands used to build a loadable module if different from building
81792 # a shared archive.
81793 module_cmds=$lt_module_cmds
81794 module_expsym_cmds=$lt_module_expsym_cmds
81796 # Whether we are building with GNU ld or not.
81797 with_gnu_ld=$lt_with_gnu_ld
81799 # Flag that allows shared libraries with undefined symbols to be built.
81800 allow_undefined_flag=$lt_allow_undefined_flag
81802 # Flag that enforces no undefined symbols.
81803 no_undefined_flag=$lt_no_undefined_flag
81805 # Flag to hardcode \$libdir into a binary during linking.
81806 # This must work even if \$libdir does not exist
81807 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
81809 # If ld is used when linking, flag to hardcode \$libdir into a binary
81810 # during linking. This must work even if \$libdir does not exist.
81811 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
81813 # Whether we need a single "-rpath" flag with a separated argument.
81814 hardcode_libdir_separator=$lt_hardcode_libdir_separator
81816 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
81817 # DIR into the resulting binary.
81818 hardcode_direct=$hardcode_direct
81820 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
81821 # DIR into the resulting binary and the resulting library dependency is
81822 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
81823 # library is relocated.
81824 hardcode_direct_absolute=$hardcode_direct_absolute
81826 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
81827 # into the resulting binary.
81828 hardcode_minus_L=$hardcode_minus_L
81830 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
81831 # into the resulting binary.
81832 hardcode_shlibpath_var=$hardcode_shlibpath_var
81834 # Set to "yes" if building a shared library automatically hardcodes DIR
81835 # into the library and all subsequent libraries and executables linked
81836 # against it.
81837 hardcode_automatic=$hardcode_automatic
81839 # Set to yes if linker adds runtime paths of dependent libraries
81840 # to runtime path list.
81841 inherit_rpath=$inherit_rpath
81843 # Whether libtool must link a program against all its dependency libraries.
81844 link_all_deplibs=$link_all_deplibs
81846 # Fix the shell variable \$srcfile for the compiler.
81847 fix_srcfile_path=$lt_fix_srcfile_path
81849 # Set to "yes" if exported symbols are required.
81850 always_export_symbols=$always_export_symbols
81852 # The commands to list exported symbols.
81853 export_symbols_cmds=$lt_export_symbols_cmds
81855 # Symbols that should not be listed in the preloaded symbols.
81856 exclude_expsyms=$lt_exclude_expsyms
81858 # Symbols that must always be exported.
81859 include_expsyms=$lt_include_expsyms
81861 # Commands necessary for linking programs (against libraries) with templates.
81862 prelink_cmds=$lt_prelink_cmds
81864 # Specify filename containing input files.
81865 file_list_spec=$lt_file_list_spec
81867 # How to hardcode a shared library path into an executable.
81868 hardcode_action=$hardcode_action
81870 # The directories searched by this compiler when creating a shared library.
81871 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
81873 # Dependencies to place before and after the objects being linked to
81874 # create a shared library.
81875 predep_objects=$lt_predep_objects
81876 postdep_objects=$lt_postdep_objects
81877 predeps=$lt_predeps
81878 postdeps=$lt_postdeps
81880 # The library search path used internally by the compiler when linking
81881 # a shared library.
81882 compiler_lib_search_path=$lt_compiler_lib_search_path
81884 # ### END LIBTOOL CONFIG
81886 _LT_EOF
81888 case $host_os in
81889 aix3*)
81890 cat <<\_LT_EOF >> "$cfgfile"
81891 # AIX sometimes has problems with the GCC collect2 program. For some
81892 # reason, if we set the COLLECT_NAMES environment variable, the problems
81893 # vanish in a puff of smoke.
81894 if test "X${COLLECT_NAMES+set}" != Xset; then
81895 COLLECT_NAMES=
81896 export COLLECT_NAMES
81898 _LT_EOF
81900 esac
81903 ltmain="$ac_aux_dir/ltmain.sh"
81906 # We use sed instead of cat because bash on DJGPP gets confused if
81907 # if finds mixed CR/LF and LF-only lines. Since sed operates in
81908 # text mode, it properly converts lines to CR/LF. This bash problem
81909 # is reportedly fixed, but why not run on old versions too?
81910 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
81911 || (rm -f "$cfgfile"; exit 1)
81913 case $xsi_shell in
81914 yes)
81915 cat << \_LT_EOF >> "$cfgfile"
81917 # func_dirname file append nondir_replacement
81918 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
81919 # otherwise set result to NONDIR_REPLACEMENT.
81920 func_dirname ()
81922 case ${1} in
81923 */*) func_dirname_result="${1%/*}${2}" ;;
81924 * ) func_dirname_result="${3}" ;;
81925 esac
81928 # func_basename file
81929 func_basename ()
81931 func_basename_result="${1##*/}"
81934 # func_dirname_and_basename file append nondir_replacement
81935 # perform func_basename and func_dirname in a single function
81936 # call:
81937 # dirname: Compute the dirname of FILE. If nonempty,
81938 # add APPEND to the result, otherwise set result
81939 # to NONDIR_REPLACEMENT.
81940 # value returned in "$func_dirname_result"
81941 # basename: Compute filename of FILE.
81942 # value retuned in "$func_basename_result"
81943 # Implementation must be kept synchronized with func_dirname
81944 # and func_basename. For efficiency, we do not delegate to
81945 # those functions but instead duplicate the functionality here.
81946 func_dirname_and_basename ()
81948 case ${1} in
81949 */*) func_dirname_result="${1%/*}${2}" ;;
81950 * ) func_dirname_result="${3}" ;;
81951 esac
81952 func_basename_result="${1##*/}"
81955 # func_stripname prefix suffix name
81956 # strip PREFIX and SUFFIX off of NAME.
81957 # PREFIX and SUFFIX must not contain globbing or regex special
81958 # characters, hashes, percent signs, but SUFFIX may contain a leading
81959 # dot (in which case that matches only a dot).
81960 func_stripname ()
81962 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
81963 # positional parameters, so assign one to ordinary parameter first.
81964 func_stripname_result=${3}
81965 func_stripname_result=${func_stripname_result#"${1}"}
81966 func_stripname_result=${func_stripname_result%"${2}"}
81969 # func_opt_split
81970 func_opt_split ()
81972 func_opt_split_opt=${1%%=*}
81973 func_opt_split_arg=${1#*=}
81976 # func_lo2o object
81977 func_lo2o ()
81979 case ${1} in
81980 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
81981 *) func_lo2o_result=${1} ;;
81982 esac
81985 # func_xform libobj-or-source
81986 func_xform ()
81988 func_xform_result=${1%.*}.lo
81991 # func_arith arithmetic-term...
81992 func_arith ()
81994 func_arith_result=$(( $* ))
81997 # func_len string
81998 # STRING may not start with a hyphen.
81999 func_len ()
82001 func_len_result=${#1}
82004 _LT_EOF
82006 *) # Bourne compatible functions.
82007 cat << \_LT_EOF >> "$cfgfile"
82009 # func_dirname file append nondir_replacement
82010 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
82011 # otherwise set result to NONDIR_REPLACEMENT.
82012 func_dirname ()
82014 # Extract subdirectory from the argument.
82015 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
82016 if test "X$func_dirname_result" = "X${1}"; then
82017 func_dirname_result="${3}"
82018 else
82019 func_dirname_result="$func_dirname_result${2}"
82023 # func_basename file
82024 func_basename ()
82026 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
82030 # func_stripname prefix suffix name
82031 # strip PREFIX and SUFFIX off of NAME.
82032 # PREFIX and SUFFIX must not contain globbing or regex special
82033 # characters, hashes, percent signs, but SUFFIX may contain a leading
82034 # dot (in which case that matches only a dot).
82035 # func_strip_suffix prefix name
82036 func_stripname ()
82038 case ${2} in
82039 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
82040 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
82041 esac
82044 # sed scripts:
82045 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
82046 my_sed_long_arg='1s/^-[^=]*=//'
82048 # func_opt_split
82049 func_opt_split ()
82051 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
82052 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
82055 # func_lo2o object
82056 func_lo2o ()
82058 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
82061 # func_xform libobj-or-source
82062 func_xform ()
82064 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
82067 # func_arith arithmetic-term...
82068 func_arith ()
82070 func_arith_result=`expr "$@"`
82073 # func_len string
82074 # STRING may not start with a hyphen.
82075 func_len ()
82077 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
82080 _LT_EOF
82081 esac
82083 case $lt_shell_append in
82084 yes)
82085 cat << \_LT_EOF >> "$cfgfile"
82087 # func_append var value
82088 # Append VALUE to the end of shell variable VAR.
82089 func_append ()
82091 eval "$1+=\$2"
82093 _LT_EOF
82096 cat << \_LT_EOF >> "$cfgfile"
82098 # func_append var value
82099 # Append VALUE to the end of shell variable VAR.
82100 func_append ()
82102 eval "$1=\$$1\$2"
82105 _LT_EOF
82107 esac
82110 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
82111 || (rm -f "$cfgfile"; exit 1)
82113 mv -f "$cfgfile" "$ofile" ||
82114 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
82115 chmod +x "$ofile"
82118 cat <<_LT_EOF >> "$ofile"
82120 # ### BEGIN LIBTOOL TAG CONFIG: CXX
82122 # The linker used to build libraries.
82123 LD=$lt_LD_CXX
82125 # How to create reloadable object files.
82126 reload_flag=$lt_reload_flag_CXX
82127 reload_cmds=$lt_reload_cmds_CXX
82129 # Commands used to build an old-style archive.
82130 old_archive_cmds=$lt_old_archive_cmds_CXX
82132 # A language specific compiler.
82133 CC=$lt_compiler_CXX
82135 # Is the compiler the GNU compiler?
82136 with_gcc=$GCC_CXX
82138 # Compiler flag to turn off builtin functions.
82139 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
82141 # How to pass a linker flag through the compiler.
82142 wl=$lt_lt_prog_compiler_wl_CXX
82144 # Additional compiler flags for building library objects.
82145 pic_flag=$lt_lt_prog_compiler_pic_CXX
82147 # Compiler flag to prevent dynamic linking.
82148 link_static_flag=$lt_lt_prog_compiler_static_CXX
82150 # Does compiler simultaneously support -c and -o options?
82151 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
82153 # Whether or not to add -lc for building shared libraries.
82154 build_libtool_need_lc=$archive_cmds_need_lc_CXX
82156 # Whether or not to disallow shared libs when runtime libs are static.
82157 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
82159 # Compiler flag to allow reflexive dlopens.
82160 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
82162 # Compiler flag to generate shared objects directly from archives.
82163 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
82165 # Whether the compiler copes with passing no objects directly.
82166 compiler_needs_object=$lt_compiler_needs_object_CXX
82168 # Create an old-style archive from a shared archive.
82169 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
82171 # Create a temporary old-style archive to link instead of a shared archive.
82172 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
82174 # Commands used to build a shared archive.
82175 archive_cmds=$lt_archive_cmds_CXX
82176 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
82178 # Commands used to build a loadable module if different from building
82179 # a shared archive.
82180 module_cmds=$lt_module_cmds_CXX
82181 module_expsym_cmds=$lt_module_expsym_cmds_CXX
82183 # Whether we are building with GNU ld or not.
82184 with_gnu_ld=$lt_with_gnu_ld_CXX
82186 # Flag that allows shared libraries with undefined symbols to be built.
82187 allow_undefined_flag=$lt_allow_undefined_flag_CXX
82189 # Flag that enforces no undefined symbols.
82190 no_undefined_flag=$lt_no_undefined_flag_CXX
82192 # Flag to hardcode \$libdir into a binary during linking.
82193 # This must work even if \$libdir does not exist
82194 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
82196 # If ld is used when linking, flag to hardcode \$libdir into a binary
82197 # during linking. This must work even if \$libdir does not exist.
82198 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
82200 # Whether we need a single "-rpath" flag with a separated argument.
82201 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
82203 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
82204 # DIR into the resulting binary.
82205 hardcode_direct=$hardcode_direct_CXX
82207 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
82208 # DIR into the resulting binary and the resulting library dependency is
82209 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
82210 # library is relocated.
82211 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
82213 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
82214 # into the resulting binary.
82215 hardcode_minus_L=$hardcode_minus_L_CXX
82217 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
82218 # into the resulting binary.
82219 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
82221 # Set to "yes" if building a shared library automatically hardcodes DIR
82222 # into the library and all subsequent libraries and executables linked
82223 # against it.
82224 hardcode_automatic=$hardcode_automatic_CXX
82226 # Set to yes if linker adds runtime paths of dependent libraries
82227 # to runtime path list.
82228 inherit_rpath=$inherit_rpath_CXX
82230 # Whether libtool must link a program against all its dependency libraries.
82231 link_all_deplibs=$link_all_deplibs_CXX
82233 # Fix the shell variable \$srcfile for the compiler.
82234 fix_srcfile_path=$lt_fix_srcfile_path_CXX
82236 # Set to "yes" if exported symbols are required.
82237 always_export_symbols=$always_export_symbols_CXX
82239 # The commands to list exported symbols.
82240 export_symbols_cmds=$lt_export_symbols_cmds_CXX
82242 # Symbols that should not be listed in the preloaded symbols.
82243 exclude_expsyms=$lt_exclude_expsyms_CXX
82245 # Symbols that must always be exported.
82246 include_expsyms=$lt_include_expsyms_CXX
82248 # Commands necessary for linking programs (against libraries) with templates.
82249 prelink_cmds=$lt_prelink_cmds_CXX
82251 # Specify filename containing input files.
82252 file_list_spec=$lt_file_list_spec_CXX
82254 # How to hardcode a shared library path into an executable.
82255 hardcode_action=$hardcode_action_CXX
82257 # The directories searched by this compiler when creating a shared library.
82258 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
82260 # Dependencies to place before and after the objects being linked to
82261 # create a shared library.
82262 predep_objects=$lt_predep_objects_CXX
82263 postdep_objects=$lt_postdep_objects_CXX
82264 predeps=$lt_predeps_CXX
82265 postdeps=$lt_postdeps_CXX
82267 # The library search path used internally by the compiler when linking
82268 # a shared library.
82269 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
82271 # ### END LIBTOOL TAG CONFIG: CXX
82272 _LT_EOF
82275 "include/gstdint.h":C)
82276 if test "$GCC" = yes; then
82277 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
82278 else
82279 echo "/* generated for $CC */" > tmp-stdint.h
82282 sed 's/^ *//' >> tmp-stdint.h <<EOF
82284 #ifndef GCC_GENERATED_STDINT_H
82285 #define GCC_GENERATED_STDINT_H 1
82287 #include <sys/types.h>
82290 if test "$acx_cv_header_stdint" != stdint.h; then
82291 echo "#include <stddef.h>" >> tmp-stdint.h
82293 if test "$acx_cv_header_stdint" != stddef.h; then
82294 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
82297 sed 's/^ *//' >> tmp-stdint.h <<EOF
82298 /* glibc uses these symbols as guards to prevent redefinitions. */
82299 #ifdef __int8_t_defined
82300 #define _INT8_T
82301 #define _INT16_T
82302 #define _INT32_T
82303 #endif
82304 #ifdef __uint32_t_defined
82305 #define _UINT32_T
82306 #endif
82310 # ----------------- done header, emit basic int types -------------
82311 if test "$acx_cv_header_stdint" = stddef.h; then
82312 sed 's/^ *//' >> tmp-stdint.h <<EOF
82314 #ifndef _UINT8_T
82315 #define _UINT8_T
82316 #ifndef __uint8_t_defined
82317 #define __uint8_t_defined
82318 #ifndef uint8_t
82319 typedef unsigned $acx_cv_type_int8_t uint8_t;
82320 #endif
82321 #endif
82322 #endif
82324 #ifndef _UINT16_T
82325 #define _UINT16_T
82326 #ifndef __uint16_t_defined
82327 #define __uint16_t_defined
82328 #ifndef uint16_t
82329 typedef unsigned $acx_cv_type_int16_t uint16_t;
82330 #endif
82331 #endif
82332 #endif
82334 #ifndef _UINT32_T
82335 #define _UINT32_T
82336 #ifndef __uint32_t_defined
82337 #define __uint32_t_defined
82338 #ifndef uint32_t
82339 typedef unsigned $acx_cv_type_int32_t uint32_t;
82340 #endif
82341 #endif
82342 #endif
82344 #ifndef _INT8_T
82345 #define _INT8_T
82346 #ifndef __int8_t_defined
82347 #define __int8_t_defined
82348 #ifndef int8_t
82349 typedef $acx_cv_type_int8_t int8_t;
82350 #endif
82351 #endif
82352 #endif
82354 #ifndef _INT16_T
82355 #define _INT16_T
82356 #ifndef __int16_t_defined
82357 #define __int16_t_defined
82358 #ifndef int16_t
82359 typedef $acx_cv_type_int16_t int16_t;
82360 #endif
82361 #endif
82362 #endif
82364 #ifndef _INT32_T
82365 #define _INT32_T
82366 #ifndef __int32_t_defined
82367 #define __int32_t_defined
82368 #ifndef int32_t
82369 typedef $acx_cv_type_int32_t int32_t;
82370 #endif
82371 #endif
82372 #endif
82374 elif test "$ac_cv_type_u_int32_t" = yes; then
82375 sed 's/^ *//' >> tmp-stdint.h <<EOF
82377 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
82378 #ifndef _INT8_T
82379 #define _INT8_T
82380 #endif
82381 #ifndef _INT16_T
82382 #define _INT16_T
82383 #endif
82384 #ifndef _INT32_T
82385 #define _INT32_T
82386 #endif
82388 #ifndef _UINT8_T
82389 #define _UINT8_T
82390 #ifndef __uint8_t_defined
82391 #define __uint8_t_defined
82392 #ifndef uint8_t
82393 typedef u_int8_t uint8_t;
82394 #endif
82395 #endif
82396 #endif
82398 #ifndef _UINT16_T
82399 #define _UINT16_T
82400 #ifndef __uint16_t_defined
82401 #define __uint16_t_defined
82402 #ifndef uint16_t
82403 typedef u_int16_t uint16_t;
82404 #endif
82405 #endif
82406 #endif
82408 #ifndef _UINT32_T
82409 #define _UINT32_T
82410 #ifndef __uint32_t_defined
82411 #define __uint32_t_defined
82412 #ifndef uint32_t
82413 typedef u_int32_t uint32_t;
82414 #endif
82415 #endif
82416 #endif
82418 else
82419 sed 's/^ *//' >> tmp-stdint.h <<EOF
82421 /* Some systems have guard macros to prevent redefinitions, define them. */
82422 #ifndef _INT8_T
82423 #define _INT8_T
82424 #endif
82425 #ifndef _INT16_T
82426 #define _INT16_T
82427 #endif
82428 #ifndef _INT32_T
82429 #define _INT32_T
82430 #endif
82431 #ifndef _UINT8_T
82432 #define _UINT8_T
82433 #endif
82434 #ifndef _UINT16_T
82435 #define _UINT16_T
82436 #endif
82437 #ifndef _UINT32_T
82438 #define _UINT32_T
82439 #endif
82443 # ------------- done basic int types, emit int64_t types ------------
82444 if test "$ac_cv_type_uint64_t" = yes; then
82445 sed 's/^ *//' >> tmp-stdint.h <<EOF
82447 /* system headers have good uint64_t and int64_t */
82448 #ifndef _INT64_T
82449 #define _INT64_T
82450 #endif
82451 #ifndef _UINT64_T
82452 #define _UINT64_T
82453 #endif
82455 elif test "$ac_cv_type_u_int64_t" = yes; then
82456 sed 's/^ *//' >> tmp-stdint.h <<EOF
82458 /* system headers have an u_int64_t (and int64_t) */
82459 #ifndef _INT64_T
82460 #define _INT64_T
82461 #endif
82462 #ifndef _UINT64_T
82463 #define _UINT64_T
82464 #ifndef __uint64_t_defined
82465 #define __uint64_t_defined
82466 #ifndef uint64_t
82467 typedef u_int64_t uint64_t;
82468 #endif
82469 #endif
82470 #endif
82472 elif test -n "$acx_cv_type_int64_t"; then
82473 sed 's/^ *//' >> tmp-stdint.h <<EOF
82475 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
82476 #ifndef _INT64_T
82477 #define _INT64_T
82478 #ifndef int64_t
82479 typedef $acx_cv_type_int64_t int64_t;
82480 #endif
82481 #endif
82482 #ifndef _UINT64_T
82483 #define _UINT64_T
82484 #ifndef __uint64_t_defined
82485 #define __uint64_t_defined
82486 #ifndef uint64_t
82487 typedef unsigned $acx_cv_type_int64_t uint64_t;
82488 #endif
82489 #endif
82490 #endif
82492 else
82493 sed 's/^ *//' >> tmp-stdint.h <<EOF
82495 /* some common heuristics for int64_t, using compiler-specific tests */
82496 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
82497 #ifndef _INT64_T
82498 #define _INT64_T
82499 #ifndef __int64_t_defined
82500 #ifndef int64_t
82501 typedef long long int64_t;
82502 #endif
82503 #endif
82504 #endif
82505 #ifndef _UINT64_T
82506 #define _UINT64_T
82507 #ifndef uint64_t
82508 typedef unsigned long long uint64_t;
82509 #endif
82510 #endif
82512 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
82513 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
82514 does not implement __extension__. But that compiler doesn't define
82515 __GNUC_MINOR__. */
82516 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
82517 # define __extension__
82518 # endif
82520 # ifndef _INT64_T
82521 # define _INT64_T
82522 # ifndef int64_t
82523 __extension__ typedef long long int64_t;
82524 # endif
82525 # endif
82526 # ifndef _UINT64_T
82527 # define _UINT64_T
82528 # ifndef uint64_t
82529 __extension__ typedef unsigned long long uint64_t;
82530 # endif
82531 # endif
82533 #elif !defined __STRICT_ANSI__
82534 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
82536 # ifndef _INT64_T
82537 # define _INT64_T
82538 # ifndef int64_t
82539 typedef __int64 int64_t;
82540 # endif
82541 # endif
82542 # ifndef _UINT64_T
82543 # define _UINT64_T
82544 # ifndef uint64_t
82545 typedef unsigned __int64 uint64_t;
82546 # endif
82547 # endif
82548 # endif /* compiler */
82550 #endif /* ANSI version */
82554 # ------------- done int64_t types, emit intptr types ------------
82555 if test "$ac_cv_type_uintptr_t" != yes; then
82556 sed 's/^ *//' >> tmp-stdint.h <<EOF
82558 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
82559 #ifndef __uintptr_t_defined
82560 #ifndef uintptr_t
82561 typedef u$acx_cv_type_intptr_t uintptr_t;
82562 #endif
82563 #endif
82564 #ifndef __intptr_t_defined
82565 #ifndef intptr_t
82566 typedef $acx_cv_type_intptr_t intptr_t;
82567 #endif
82568 #endif
82572 # ------------- done intptr types, emit int_least types ------------
82573 if test "$ac_cv_type_int_least32_t" != yes; then
82574 sed 's/^ *//' >> tmp-stdint.h <<EOF
82576 /* Define int_least types */
82577 typedef int8_t int_least8_t;
82578 typedef int16_t int_least16_t;
82579 typedef int32_t int_least32_t;
82580 #ifdef _INT64_T
82581 typedef int64_t int_least64_t;
82582 #endif
82584 typedef uint8_t uint_least8_t;
82585 typedef uint16_t uint_least16_t;
82586 typedef uint32_t uint_least32_t;
82587 #ifdef _UINT64_T
82588 typedef uint64_t uint_least64_t;
82589 #endif
82593 # ------------- done intptr types, emit int_fast types ------------
82594 if test "$ac_cv_type_int_fast32_t" != yes; then
82595 sed 's/^ *//' >> tmp-stdint.h <<EOF
82597 /* Define int_fast types. short is often slow */
82598 typedef int8_t int_fast8_t;
82599 typedef int int_fast16_t;
82600 typedef int32_t int_fast32_t;
82601 #ifdef _INT64_T
82602 typedef int64_t int_fast64_t;
82603 #endif
82605 typedef uint8_t uint_fast8_t;
82606 typedef unsigned int uint_fast16_t;
82607 typedef uint32_t uint_fast32_t;
82608 #ifdef _UINT64_T
82609 typedef uint64_t uint_fast64_t;
82610 #endif
82614 if test "$ac_cv_type_uintmax_t" != yes; then
82615 sed 's/^ *//' >> tmp-stdint.h <<EOF
82617 /* Define intmax based on what we found */
82618 #ifndef intmax_t
82619 #ifdef _INT64_T
82620 typedef int64_t intmax_t;
82621 #else
82622 typedef long intmax_t;
82623 #endif
82624 #endif
82625 #ifndef uintmax_t
82626 #ifdef _UINT64_T
82627 typedef uint64_t uintmax_t;
82628 #else
82629 typedef unsigned long uintmax_t;
82630 #endif
82631 #endif
82635 sed 's/^ *//' >> tmp-stdint.h <<EOF
82637 #endif /* GCC_GENERATED_STDINT_H */
82640 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
82641 rm -f tmp-stdint.h
82642 else
82643 mv -f tmp-stdint.h include/gstdint.h
82647 "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
82648 "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
82649 "include/Makefile":F) cat > vpsed$$ << \_EOF
82650 s!`test -f '$<' || echo '$(srcdir)/'`!!
82651 _EOF
82652 sed -f vpsed$$ $ac_file > tmp$$
82653 mv tmp$$ $ac_file
82654 rm vpsed$$
82655 echo 'MULTISUBDIR =' >> $ac_file
82656 ml_norecursion=yes
82657 . ${multi_basedir}/config-ml.in
82658 { ml_norecursion=; unset ml_norecursion;}
82660 "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
82661 s!`test -f '$<' || echo '$(srcdir)/'`!!
82662 _EOF
82663 sed -f vpsed$$ $ac_file > tmp$$
82664 mv tmp$$ $ac_file
82665 rm vpsed$$
82666 echo 'MULTISUBDIR =' >> $ac_file
82667 ml_norecursion=yes
82668 . ${multi_basedir}/config-ml.in
82669 { ml_norecursion=; unset ml_norecursion;}
82671 "python/Makefile":F) cat > vpsed$$ << \_EOF
82672 s!`test -f '$<' || echo '$(srcdir)/'`!!
82673 _EOF
82674 sed -f vpsed$$ $ac_file > tmp$$
82675 mv tmp$$ $ac_file
82676 rm vpsed$$
82677 echo 'MULTISUBDIR =' >> $ac_file
82678 ml_norecursion=yes
82679 . ${multi_basedir}/config-ml.in
82680 { ml_norecursion=; unset ml_norecursion;}
82682 "src/Makefile":F) cat > vpsed$$ << \_EOF
82683 s!`test -f '$<' || echo '$(srcdir)/'`!!
82684 _EOF
82685 sed -f vpsed$$ $ac_file > tmp$$
82686 mv tmp$$ $ac_file
82687 rm vpsed$$
82688 echo 'MULTISUBDIR =' >> $ac_file
82689 ml_norecursion=yes
82690 . ${multi_basedir}/config-ml.in
82691 { ml_norecursion=; unset ml_norecursion;}
82693 "src/c++98/Makefile":F) cat > vpsed$$ << \_EOF
82694 s!`test -f '$<' || echo '$(srcdir)/'`!!
82695 _EOF
82696 sed -f vpsed$$ $ac_file > tmp$$
82697 mv tmp$$ $ac_file
82698 rm vpsed$$
82699 echo 'MULTISUBDIR =' >> $ac_file
82700 ml_norecursion=yes
82701 . ${multi_basedir}/config-ml.in
82702 { ml_norecursion=; unset ml_norecursion;}
82704 "src/c++11/Makefile":F) cat > vpsed$$ << \_EOF
82705 s!`test -f '$<' || echo '$(srcdir)/'`!!
82706 _EOF
82707 sed -f vpsed$$ $ac_file > tmp$$
82708 mv tmp$$ $ac_file
82709 rm vpsed$$
82710 echo 'MULTISUBDIR =' >> $ac_file
82711 ml_norecursion=yes
82712 . ${multi_basedir}/config-ml.in
82713 { ml_norecursion=; unset ml_norecursion;}
82715 "doc/Makefile":F) cat > vpsed$$ << \_EOF
82716 s!`test -f '$<' || echo '$(srcdir)/'`!!
82717 _EOF
82718 sed -f vpsed$$ $ac_file > tmp$$
82719 mv tmp$$ $ac_file
82720 rm vpsed$$
82721 echo 'MULTISUBDIR =' >> $ac_file
82722 ml_norecursion=yes
82723 . ${multi_basedir}/config-ml.in
82724 { ml_norecursion=; unset ml_norecursion;}
82726 "po/Makefile":F) cat > vpsed$$ << \_EOF
82727 s!`test -f '$<' || echo '$(srcdir)/'`!!
82728 _EOF
82729 sed -f vpsed$$ $ac_file > tmp$$
82730 mv tmp$$ $ac_file
82731 rm vpsed$$
82732 echo 'MULTISUBDIR =' >> $ac_file
82733 ml_norecursion=yes
82734 . ${multi_basedir}/config-ml.in
82735 { ml_norecursion=; unset ml_norecursion;}
82737 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
82738 s!`test -f '$<' || echo '$(srcdir)/'`!!
82739 _EOF
82740 sed -f vpsed$$ $ac_file > tmp$$
82741 mv tmp$$ $ac_file
82742 rm vpsed$$
82743 echo 'MULTISUBDIR =' >> $ac_file
82744 ml_norecursion=yes
82745 . ${multi_basedir}/config-ml.in
82746 { ml_norecursion=; unset ml_norecursion;}
82748 "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
82750 esac
82751 done # for ac_tag
82754 as_fn_exit 0
82755 _ACEOF
82756 ac_clean_files=$ac_clean_files_save
82758 test $ac_write_fail = 0 ||
82759 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
82762 # configure is writing to config.log, and then calls config.status.
82763 # config.status does its own redirection, appending to config.log.
82764 # Unfortunately, on DOS this fails, as config.log is still kept open
82765 # by configure, so config.status won't be able to write to it; its
82766 # output is simply discarded. So we exec the FD to /dev/null,
82767 # effectively closing config.log, so it can be properly (re)opened and
82768 # appended to by config.status. When coming back to configure, we
82769 # need to make the FD available again.
82770 if test "$no_create" != yes; then
82771 ac_cs_success=:
82772 ac_config_status_args=
82773 test "$silent" = yes &&
82774 ac_config_status_args="$ac_config_status_args --quiet"
82775 exec 5>/dev/null
82776 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
82777 exec 5>>config.log
82778 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
82779 # would make configure fail if this is the last instruction.
82780 $ac_cs_success || as_fn_exit $?
82782 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
82783 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
82784 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}