New std::string implementation.
[official-gcc.git] / libstdc++-v3 / configure
blobbe9337fcec0f8879eeea543630ddcac85a02222f
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_CXXLINKFLAGS
675 VTV_PCH_CXXFLAGS
676 VTV_CXXFLAGS
677 ENABLE_WERROR_FALSE
678 ENABLE_WERROR_TRUE
679 ENABLE_PYTHONDIR_FALSE
680 ENABLE_PYTHONDIR_TRUE
681 python_mod_dir
682 ENABLE_EXTERN_TEMPLATE_FALSE
683 ENABLE_EXTERN_TEMPLATE_TRUE
684 EXTRA_CXX_FLAGS
685 GLIBCXX_BUILD_DEBUG_FALSE
686 GLIBCXX_BUILD_DEBUG_TRUE
687 DEBUG_FLAGS
688 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE
689 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE
690 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE
691 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE
692 GLIBCXX_C_HEADERS_C_STD_FALSE
693 GLIBCXX_C_HEADERS_C_STD_TRUE
694 GLIBCXX_C_HEADERS_C_FALSE
695 GLIBCXX_C_HEADERS_C_TRUE
696 C_INCLUDE_DIR
697 ALLOCATOR_NAME
698 ALLOCATOR_H
699 CLOCALE_INTERNAL_H
700 CLOCALE_CC
701 CTIME_CC
702 CTIME_H
703 CNUMERIC_CC
704 CMONEY_CC
705 CMESSAGES_CC
706 CCTYPE_CC
707 CCOLLATE_CC
708 CCODECVT_CC
709 CMESSAGES_H
710 CLOCALE_H
711 USE_NLS
712 glibcxx_localedir
713 glibcxx_POFILES
714 glibcxx_MOFILES
715 check_msgfmt
716 BASIC_FILE_CC
717 BASIC_FILE_H
718 CSTDIO_H
719 SECTION_FLAGS
720 WERROR
721 thread_header
722 glibcxx_PCHFLAGS
723 GLIBCXX_BUILD_PCH_FALSE
724 GLIBCXX_BUILD_PCH_TRUE
725 GLIBCXX_HOSTED_FALSE
726 GLIBCXX_HOSTED_TRUE
727 glibcxx_compiler_shared_flag
728 glibcxx_compiler_pic_flag
729 glibcxx_lt_pic_flag
730 enable_static
731 enable_shared
732 lt_host_flags
733 CXXCPP
734 OTOOL64
735 OTOOL
736 LIPO
737 NMEDIT
738 DSYMUTIL
739 OBJDUMP
741 ac_ct_DUMPBIN
742 DUMPBIN
744 FGREP
746 LIBTOOL
747 EGREP
748 GREP
750 MAINT
751 MAINTAINER_MODE_FALSE
752 MAINTAINER_MODE_TRUE
753 RANLIB
756 LN_S
757 toplevel_srcdir
758 toplevel_builddir
759 glibcxx_srcdir
760 glibcxx_builddir
761 ac_ct_CXX
762 CXXFLAGS
764 OBJEXT
765 EXEEXT
766 ac_ct_CC
767 CPPFLAGS
768 LDFLAGS
769 CFLAGS
771 am__untar
772 am__tar
773 AMTAR
774 am__leading_dot
775 SET_MAKE
777 mkdir_p
778 MKDIR_P
779 INSTALL_STRIP_PROGRAM
780 STRIP
781 install_sh
782 MAKEINFO
783 AUTOHEADER
784 AUTOMAKE
785 AUTOCONF
786 ACLOCAL
787 VERSION
788 PACKAGE
789 CYGPATH_W
790 am__isrc
791 INSTALL_DATA
792 INSTALL_SCRIPT
793 INSTALL_PROGRAM
794 target_os
795 target_vendor
796 target_cpu
797 target
798 host_os
799 host_vendor
800 host_cpu
801 host
802 build_os
803 build_vendor
804 build_cpu
805 build
806 multi_basedir
807 target_alias
808 host_alias
809 build_alias
810 LIBS
811 ECHO_T
812 ECHO_N
813 ECHO_C
814 DEFS
815 mandir
816 localedir
817 libdir
818 psdir
819 pdfdir
820 dvidir
821 htmldir
822 infodir
823 docdir
824 oldincludedir
825 includedir
826 localstatedir
827 sharedstatedir
828 sysconfdir
829 datadir
830 datarootdir
831 libexecdir
832 sbindir
833 bindir
834 program_transform_name
835 prefix
836 exec_prefix
837 PACKAGE_URL
838 PACKAGE_BUGREPORT
839 PACKAGE_STRING
840 PACKAGE_VERSION
841 PACKAGE_TARNAME
842 PACKAGE_NAME
843 PATH_SEPARATOR
844 SHELL'
845 ac_subst_files=''
846 ac_user_opts='
847 enable_option_checking
848 enable_multilib
849 with_target_subdir
850 with_cross_host
851 with_newlib
852 enable_maintainer_mode
853 enable_shared
854 enable_static
855 with_pic
856 enable_fast_install
857 with_gnu_ld
858 enable_libtool_lock
859 enable_hosted_libstdcxx
860 enable_libstdcxx_verbose
861 enable_sjlj_exceptions
862 enable_libstdcxx_pch
863 enable_cstdio
864 enable_clocale
865 enable_nls
866 enable_libstdcxx_allocator
867 enable_cheaders
868 enable_long_long
869 enable_wchar_t
870 enable_c99
871 enable_concept_checks
872 enable_libstdcxx_debug_flags
873 enable_libstdcxx_debug
874 enable_cxx_flags
875 enable_fully_dynamic_string
876 enable_extern_template
877 with_python_dir
878 enable_werror
879 enable_vtable_verify
880 enable_libstdcxx_time
881 enable_tls
882 enable_rpath
883 with_libiconv_prefix
884 with_system_libunwind
885 enable_linux_futex
886 enable_symvers
887 enable_libstdcxx_visibility
888 enable_libstdcxx_dual_abi
889 with_default_libstdcxx_abi
890 enable_libstdcxx_threads
891 with_gxx_include_dir
892 enable_version_specific_runtime_libs
894 ac_precious_vars='build_alias
895 host_alias
896 target_alias
898 CFLAGS
899 LDFLAGS
900 LIBS
901 CPPFLAGS
903 CXXFLAGS
906 CXXCPP
907 CXXFILT'
910 # Initialize some variables set by options.
911 ac_init_help=
912 ac_init_version=false
913 ac_unrecognized_opts=
914 ac_unrecognized_sep=
915 # The variables have the same names as the options, with
916 # dashes changed to underlines.
917 cache_file=/dev/null
918 exec_prefix=NONE
919 no_create=
920 no_recursion=
921 prefix=NONE
922 program_prefix=NONE
923 program_suffix=NONE
924 program_transform_name=s,x,x,
925 silent=
926 site=
927 srcdir=
928 verbose=
929 x_includes=NONE
930 x_libraries=NONE
932 # Installation directory options.
933 # These are left unexpanded so users can "make install exec_prefix=/foo"
934 # and all the variables that are supposed to be based on exec_prefix
935 # by default will actually change.
936 # Use braces instead of parens because sh, perl, etc. also accept them.
937 # (The list follows the same order as the GNU Coding Standards.)
938 bindir='${exec_prefix}/bin'
939 sbindir='${exec_prefix}/sbin'
940 libexecdir='${exec_prefix}/libexec'
941 datarootdir='${prefix}/share'
942 datadir='${datarootdir}'
943 sysconfdir='${prefix}/etc'
944 sharedstatedir='${prefix}/com'
945 localstatedir='${prefix}/var'
946 includedir='${prefix}/include'
947 oldincludedir='/usr/include'
948 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
949 infodir='${datarootdir}/info'
950 htmldir='${docdir}'
951 dvidir='${docdir}'
952 pdfdir='${docdir}'
953 psdir='${docdir}'
954 libdir='${exec_prefix}/lib'
955 localedir='${datarootdir}/locale'
956 mandir='${datarootdir}/man'
958 ac_prev=
959 ac_dashdash=
960 for ac_option
962 # If the previous option needs an argument, assign it.
963 if test -n "$ac_prev"; then
964 eval $ac_prev=\$ac_option
965 ac_prev=
966 continue
969 case $ac_option in
970 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
971 *) ac_optarg=yes ;;
972 esac
974 # Accept the important Cygnus configure options, so we can diagnose typos.
976 case $ac_dashdash$ac_option in
978 ac_dashdash=yes ;;
980 -bindir | --bindir | --bindi | --bind | --bin | --bi)
981 ac_prev=bindir ;;
982 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
983 bindir=$ac_optarg ;;
985 -build | --build | --buil | --bui | --bu)
986 ac_prev=build_alias ;;
987 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
988 build_alias=$ac_optarg ;;
990 -cache-file | --cache-file | --cache-fil | --cache-fi \
991 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
992 ac_prev=cache_file ;;
993 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
994 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
995 cache_file=$ac_optarg ;;
997 --config-cache | -C)
998 cache_file=config.cache ;;
1000 -datadir | --datadir | --datadi | --datad)
1001 ac_prev=datadir ;;
1002 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1003 datadir=$ac_optarg ;;
1005 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1006 | --dataroo | --dataro | --datar)
1007 ac_prev=datarootdir ;;
1008 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1009 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1010 datarootdir=$ac_optarg ;;
1012 -disable-* | --disable-*)
1013 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1014 # Reject names that are not valid shell variable names.
1015 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1016 as_fn_error "invalid feature name: $ac_useropt"
1017 ac_useropt_orig=$ac_useropt
1018 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1019 case $ac_user_opts in
1021 "enable_$ac_useropt"
1022 "*) ;;
1023 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1024 ac_unrecognized_sep=', ';;
1025 esac
1026 eval enable_$ac_useropt=no ;;
1028 -docdir | --docdir | --docdi | --doc | --do)
1029 ac_prev=docdir ;;
1030 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1031 docdir=$ac_optarg ;;
1033 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1034 ac_prev=dvidir ;;
1035 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1036 dvidir=$ac_optarg ;;
1038 -enable-* | --enable-*)
1039 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1040 # Reject names that are not valid shell variable names.
1041 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1042 as_fn_error "invalid feature name: $ac_useropt"
1043 ac_useropt_orig=$ac_useropt
1044 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1045 case $ac_user_opts in
1047 "enable_$ac_useropt"
1048 "*) ;;
1049 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1050 ac_unrecognized_sep=', ';;
1051 esac
1052 eval enable_$ac_useropt=\$ac_optarg ;;
1054 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1055 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1056 | --exec | --exe | --ex)
1057 ac_prev=exec_prefix ;;
1058 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1059 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1060 | --exec=* | --exe=* | --ex=*)
1061 exec_prefix=$ac_optarg ;;
1063 -gas | --gas | --ga | --g)
1064 # Obsolete; use --with-gas.
1065 with_gas=yes ;;
1067 -help | --help | --hel | --he | -h)
1068 ac_init_help=long ;;
1069 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1070 ac_init_help=recursive ;;
1071 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1072 ac_init_help=short ;;
1074 -host | --host | --hos | --ho)
1075 ac_prev=host_alias ;;
1076 -host=* | --host=* | --hos=* | --ho=*)
1077 host_alias=$ac_optarg ;;
1079 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1080 ac_prev=htmldir ;;
1081 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1082 | --ht=*)
1083 htmldir=$ac_optarg ;;
1085 -includedir | --includedir | --includedi | --included | --include \
1086 | --includ | --inclu | --incl | --inc)
1087 ac_prev=includedir ;;
1088 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1089 | --includ=* | --inclu=* | --incl=* | --inc=*)
1090 includedir=$ac_optarg ;;
1092 -infodir | --infodir | --infodi | --infod | --info | --inf)
1093 ac_prev=infodir ;;
1094 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1095 infodir=$ac_optarg ;;
1097 -libdir | --libdir | --libdi | --libd)
1098 ac_prev=libdir ;;
1099 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1100 libdir=$ac_optarg ;;
1102 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1103 | --libexe | --libex | --libe)
1104 ac_prev=libexecdir ;;
1105 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1106 | --libexe=* | --libex=* | --libe=*)
1107 libexecdir=$ac_optarg ;;
1109 -localedir | --localedir | --localedi | --localed | --locale)
1110 ac_prev=localedir ;;
1111 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1112 localedir=$ac_optarg ;;
1114 -localstatedir | --localstatedir | --localstatedi | --localstated \
1115 | --localstate | --localstat | --localsta | --localst | --locals)
1116 ac_prev=localstatedir ;;
1117 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1118 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1119 localstatedir=$ac_optarg ;;
1121 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1122 ac_prev=mandir ;;
1123 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1124 mandir=$ac_optarg ;;
1126 -nfp | --nfp | --nf)
1127 # Obsolete; use --without-fp.
1128 with_fp=no ;;
1130 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1131 | --no-cr | --no-c | -n)
1132 no_create=yes ;;
1134 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1135 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1136 no_recursion=yes ;;
1138 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1139 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1140 | --oldin | --oldi | --old | --ol | --o)
1141 ac_prev=oldincludedir ;;
1142 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1143 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1144 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1145 oldincludedir=$ac_optarg ;;
1147 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1148 ac_prev=prefix ;;
1149 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1150 prefix=$ac_optarg ;;
1152 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1153 | --program-pre | --program-pr | --program-p)
1154 ac_prev=program_prefix ;;
1155 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1156 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1157 program_prefix=$ac_optarg ;;
1159 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1160 | --program-suf | --program-su | --program-s)
1161 ac_prev=program_suffix ;;
1162 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1163 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1164 program_suffix=$ac_optarg ;;
1166 -program-transform-name | --program-transform-name \
1167 | --program-transform-nam | --program-transform-na \
1168 | --program-transform-n | --program-transform- \
1169 | --program-transform | --program-transfor \
1170 | --program-transfo | --program-transf \
1171 | --program-trans | --program-tran \
1172 | --progr-tra | --program-tr | --program-t)
1173 ac_prev=program_transform_name ;;
1174 -program-transform-name=* | --program-transform-name=* \
1175 | --program-transform-nam=* | --program-transform-na=* \
1176 | --program-transform-n=* | --program-transform-=* \
1177 | --program-transform=* | --program-transfor=* \
1178 | --program-transfo=* | --program-transf=* \
1179 | --program-trans=* | --program-tran=* \
1180 | --progr-tra=* | --program-tr=* | --program-t=*)
1181 program_transform_name=$ac_optarg ;;
1183 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1184 ac_prev=pdfdir ;;
1185 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1186 pdfdir=$ac_optarg ;;
1188 -psdir | --psdir | --psdi | --psd | --ps)
1189 ac_prev=psdir ;;
1190 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1191 psdir=$ac_optarg ;;
1193 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1194 | -silent | --silent | --silen | --sile | --sil)
1195 silent=yes ;;
1197 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1198 ac_prev=sbindir ;;
1199 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1200 | --sbi=* | --sb=*)
1201 sbindir=$ac_optarg ;;
1203 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1204 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1205 | --sharedst | --shareds | --shared | --share | --shar \
1206 | --sha | --sh)
1207 ac_prev=sharedstatedir ;;
1208 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1209 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1210 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1211 | --sha=* | --sh=*)
1212 sharedstatedir=$ac_optarg ;;
1214 -site | --site | --sit)
1215 ac_prev=site ;;
1216 -site=* | --site=* | --sit=*)
1217 site=$ac_optarg ;;
1219 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1220 ac_prev=srcdir ;;
1221 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1222 srcdir=$ac_optarg ;;
1224 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1225 | --syscon | --sysco | --sysc | --sys | --sy)
1226 ac_prev=sysconfdir ;;
1227 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1228 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1229 sysconfdir=$ac_optarg ;;
1231 -target | --target | --targe | --targ | --tar | --ta | --t)
1232 ac_prev=target_alias ;;
1233 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1234 target_alias=$ac_optarg ;;
1236 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1237 verbose=yes ;;
1239 -version | --version | --versio | --versi | --vers | -V)
1240 ac_init_version=: ;;
1242 -with-* | --with-*)
1243 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1244 # Reject names that are not valid shell variable names.
1245 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1246 as_fn_error "invalid package name: $ac_useropt"
1247 ac_useropt_orig=$ac_useropt
1248 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1249 case $ac_user_opts in
1251 "with_$ac_useropt"
1252 "*) ;;
1253 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1254 ac_unrecognized_sep=', ';;
1255 esac
1256 eval with_$ac_useropt=\$ac_optarg ;;
1258 -without-* | --without-*)
1259 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1260 # Reject names that are not valid shell variable names.
1261 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1262 as_fn_error "invalid package name: $ac_useropt"
1263 ac_useropt_orig=$ac_useropt
1264 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1265 case $ac_user_opts in
1267 "with_$ac_useropt"
1268 "*) ;;
1269 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1270 ac_unrecognized_sep=', ';;
1271 esac
1272 eval with_$ac_useropt=no ;;
1274 --x)
1275 # Obsolete; use --with-x.
1276 with_x=yes ;;
1278 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1279 | --x-incl | --x-inc | --x-in | --x-i)
1280 ac_prev=x_includes ;;
1281 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1282 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1283 x_includes=$ac_optarg ;;
1285 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1286 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1287 ac_prev=x_libraries ;;
1288 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1289 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1290 x_libraries=$ac_optarg ;;
1292 -*) as_fn_error "unrecognized option: \`$ac_option'
1293 Try \`$0 --help' for more information."
1296 *=*)
1297 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1298 # Reject names that are not valid shell variable names.
1299 case $ac_envvar in #(
1300 '' | [0-9]* | *[!_$as_cr_alnum]* )
1301 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1302 esac
1303 eval $ac_envvar=\$ac_optarg
1304 export $ac_envvar ;;
1307 # FIXME: should be removed in autoconf 3.0.
1308 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1309 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1310 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1311 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1314 esac
1315 done
1317 if test -n "$ac_prev"; then
1318 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1319 as_fn_error "missing argument to $ac_option"
1322 if test -n "$ac_unrecognized_opts"; then
1323 case $enable_option_checking in
1324 no) ;;
1325 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1326 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1327 esac
1330 # Check all directory arguments for consistency.
1331 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1332 datadir sysconfdir sharedstatedir localstatedir includedir \
1333 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1334 libdir localedir mandir
1336 eval ac_val=\$$ac_var
1337 # Remove trailing slashes.
1338 case $ac_val in
1339 */ )
1340 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1341 eval $ac_var=\$ac_val;;
1342 esac
1343 # Be sure to have absolute directory names.
1344 case $ac_val in
1345 [\\/$]* | ?:[\\/]* ) continue;;
1346 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1347 esac
1348 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1349 done
1351 # There might be people who depend on the old broken behavior: `$host'
1352 # used to hold the argument of --host etc.
1353 # FIXME: To remove some day.
1354 build=$build_alias
1355 host=$host_alias
1356 target=$target_alias
1358 # FIXME: To remove some day.
1359 if test "x$host_alias" != x; then
1360 if test "x$build_alias" = x; then
1361 cross_compiling=maybe
1362 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1363 If a cross compiler is detected then cross compile mode will be used." >&2
1364 elif test "x$build_alias" != "x$host_alias"; then
1365 cross_compiling=yes
1369 ac_tool_prefix=
1370 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1372 test "$silent" = yes && exec 6>/dev/null
1375 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1376 ac_ls_di=`ls -di .` &&
1377 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1378 as_fn_error "working directory cannot be determined"
1379 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1380 as_fn_error "pwd does not report name of working directory"
1383 # Find the source files, if location was not specified.
1384 if test -z "$srcdir"; then
1385 ac_srcdir_defaulted=yes
1386 # Try the directory containing this script, then the parent directory.
1387 ac_confdir=`$as_dirname -- "$as_myself" ||
1388 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1389 X"$as_myself" : 'X\(//\)[^/]' \| \
1390 X"$as_myself" : 'X\(//\)$' \| \
1391 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1392 $as_echo X"$as_myself" |
1393 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1394 s//\1/
1397 /^X\(\/\/\)[^/].*/{
1398 s//\1/
1401 /^X\(\/\/\)$/{
1402 s//\1/
1405 /^X\(\/\).*/{
1406 s//\1/
1409 s/.*/./; q'`
1410 srcdir=$ac_confdir
1411 if test ! -r "$srcdir/$ac_unique_file"; then
1412 srcdir=..
1414 else
1415 ac_srcdir_defaulted=no
1417 if test ! -r "$srcdir/$ac_unique_file"; then
1418 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1419 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1421 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1422 ac_abs_confdir=`(
1423 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1424 pwd)`
1425 # When building in place, set srcdir=.
1426 if test "$ac_abs_confdir" = "$ac_pwd"; then
1427 srcdir=.
1429 # Remove unnecessary trailing slashes from srcdir.
1430 # Double slashes in file names in object file debugging info
1431 # mess up M-x gdb in Emacs.
1432 case $srcdir in
1433 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1434 esac
1435 for ac_var in $ac_precious_vars; do
1436 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1437 eval ac_env_${ac_var}_value=\$${ac_var}
1438 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1439 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1440 done
1443 # Report the --help message.
1445 if test "$ac_init_help" = "long"; then
1446 # Omit some internal or obsolete options to make the list less imposing.
1447 # This message is too long to be a string in the A/UX 3.1 sh.
1448 cat <<_ACEOF
1449 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1451 Usage: $0 [OPTION]... [VAR=VALUE]...
1453 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1454 VAR=VALUE. See below for descriptions of some of the useful variables.
1456 Defaults for the options are specified in brackets.
1458 Configuration:
1459 -h, --help display this help and exit
1460 --help=short display options specific to this package
1461 --help=recursive display the short help of all the included packages
1462 -V, --version display version information and exit
1463 -q, --quiet, --silent do not print \`checking...' messages
1464 --cache-file=FILE cache test results in FILE [disabled]
1465 -C, --config-cache alias for \`--cache-file=config.cache'
1466 -n, --no-create do not create output files
1467 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1469 Installation directories:
1470 --prefix=PREFIX install architecture-independent files in PREFIX
1471 [$ac_default_prefix]
1472 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1473 [PREFIX]
1475 By default, \`make install' will install all the files in
1476 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1477 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1478 for instance \`--prefix=\$HOME'.
1480 For better control, use the options below.
1482 Fine tuning of the installation directories:
1483 --bindir=DIR user executables [EPREFIX/bin]
1484 --sbindir=DIR system admin executables [EPREFIX/sbin]
1485 --libexecdir=DIR program executables [EPREFIX/libexec]
1486 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1487 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1488 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1489 --libdir=DIR object code libraries [EPREFIX/lib]
1490 --includedir=DIR C header files [PREFIX/include]
1491 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1492 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1493 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1494 --infodir=DIR info documentation [DATAROOTDIR/info]
1495 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1496 --mandir=DIR man documentation [DATAROOTDIR/man]
1497 --docdir=DIR documentation root [DATAROOTDIR/doc/libstdc++]
1498 --htmldir=DIR html documentation [DOCDIR]
1499 --dvidir=DIR dvi documentation [DOCDIR]
1500 --pdfdir=DIR pdf documentation [DOCDIR]
1501 --psdir=DIR ps documentation [DOCDIR]
1502 _ACEOF
1504 cat <<\_ACEOF
1506 Program names:
1507 --program-prefix=PREFIX prepend PREFIX to installed program names
1508 --program-suffix=SUFFIX append SUFFIX to installed program names
1509 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1511 System types:
1512 --build=BUILD configure for building on BUILD [guessed]
1513 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1514 --target=TARGET configure for building compilers for TARGET [HOST]
1515 _ACEOF
1518 if test -n "$ac_init_help"; then
1519 case $ac_init_help in
1520 short | recursive ) echo "Configuration of package-unused version-unused:";;
1521 esac
1522 cat <<\_ACEOF
1524 Optional Features:
1525 --disable-option-checking ignore unrecognized --enable/--with options
1526 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1527 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1528 --enable-multilib build many library versions (default)
1529 --enable-maintainer-mode enable make rules and dependencies not useful
1530 (and sometimes confusing) to the casual installer
1531 --enable-shared[=PKGS] build shared libraries [default=yes]
1532 --enable-static[=PKGS] build static libraries [default=yes]
1533 --enable-fast-install[=PKGS]
1534 optimize for fast installation [default=yes]
1535 --disable-libtool-lock avoid locking (might break parallel builds)
1536 --disable-hosted-libstdcxx
1537 only build freestanding C++ runtime support
1538 --disable-libstdcxx-verbose
1539 disable termination messages to standard error
1540 --enable-sjlj-exceptions
1541 force use of builtin_setjmp for exceptions
1542 [default=auto]
1543 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
1544 [default=$is_hosted]
1545 --enable-cstdio[=PACKAGE]
1546 use target-specific I/O package [default=stdio]
1547 --enable-clocale[=MODEL]
1548 use MODEL for target locale package [default=auto]
1549 --enable-nls use Native Language Support (default)
1550 --enable-libstdcxx-allocator[=KIND]
1551 use KIND for target std::allocator base
1552 [default=auto]
1553 --enable-cheaders[=KIND]
1554 construct "C" headers for g++ [default=$c_model]
1555 --enable-long-long enable template specializations for 'long long'
1556 [default=yes]
1557 --enable-wchar_t enable template specializations for 'wchar_t'
1558 [default=yes]
1559 --enable-c99 turns on ISO/IEC 9899:1999 support [default=yes]
1560 --enable-concept-checks use Boost-derived template checks [default=no]
1561 --enable-libstdcxx-debug-flags=FLAGS
1562 pass compiler FLAGS when building debug library
1563 [default="-gdwarf-4 -g3 -O0"]
1564 --enable-libstdcxx-debug
1565 build extra debug library [default=no]
1566 --enable-cxx-flags=FLAGS
1567 pass compiler FLAGS when building library [default=]
1568 --enable-fully-dynamic-string
1569 do not put empty strings in per-process static
1570 memory [default=no]
1571 --enable-extern-template
1572 enable extern template [default=yes]
1573 --enable-werror turns on -Werror [default=yes]
1574 --enable-vtable-verify enable vtable verify [default=no]
1575 --enable-libstdcxx-time[=KIND]
1576 use KIND for check type [default=auto]
1577 --enable-tls Use thread-local storage [default=yes]
1578 --disable-rpath do not hardcode runtime library paths
1579 --enable-linux-futex use the Linux futex system call [default=default]
1580 --enable-symvers[=STYLE]
1581 enables symbol versioning of the shared library
1582 [default=yes]
1583 --enable-libstdcxx-visibility
1584 enables visibility safe usage [default=yes]
1585 --enable-libstdcxx-dual-abi
1586 support two versions of std::string [default=yes]
1587 --enable-libstdcxx-threads
1588 enable C++11 threads support [default=auto]
1589 --enable-version-specific-runtime-libs
1590 Specify that runtime libraries should be installed
1591 in a compiler-specific directory
1593 Optional Packages:
1594 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1595 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1596 --with-target-subdir=SUBDIR
1597 configuring in a subdirectory
1598 --with-cross-host=HOST configuring with a cross compiler
1599 --with-newlib assume newlib as a system C library
1600 --with-pic try to use only PIC/non-PIC objects [default=use
1601 both]
1602 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1603 --with-python-dir the location to install Python modules. This path is
1604 relative starting from the prefix.
1605 --with-gnu-ld assume the C compiler uses GNU ld default=no
1606 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1607 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1608 --with-system-libunwind use installed libunwind
1609 --with-default-libstdcxx-abi
1610 set the std::string ABI to use by default
1611 --with-gxx-include-dir=DIR
1612 installation directory for include files
1614 Some influential environment variables:
1615 CC C compiler command
1616 CFLAGS C compiler flags
1617 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1618 nonstandard directory <lib dir>
1619 LIBS libraries to pass to the linker, e.g. -l<library>
1620 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1621 you have headers in a nonstandard directory <include dir>
1622 CXX C++ compiler command
1623 CXXFLAGS C++ compiler flags
1624 CPP C preprocessor
1625 CXXCPP C++ preprocessor
1626 CXXFILT Location of GNU c++filt. Defaults to the first GNU version of
1627 `c++filt', `gc++filt' on PATH.
1629 Use these variables to override the choices made by `configure' or to help
1630 it to find libraries and programs with nonstandard names/locations.
1632 Report bugs to the package provider.
1633 _ACEOF
1634 ac_status=$?
1637 if test "$ac_init_help" = "recursive"; then
1638 # If there are subdirs, report their specific --help.
1639 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1640 test -d "$ac_dir" ||
1641 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1642 continue
1643 ac_builddir=.
1645 case "$ac_dir" in
1646 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1648 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1649 # A ".." for each directory in $ac_dir_suffix.
1650 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1651 case $ac_top_builddir_sub in
1652 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1653 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1654 esac ;;
1655 esac
1656 ac_abs_top_builddir=$ac_pwd
1657 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1658 # for backward compatibility:
1659 ac_top_builddir=$ac_top_build_prefix
1661 case $srcdir in
1662 .) # We are building in place.
1663 ac_srcdir=.
1664 ac_top_srcdir=$ac_top_builddir_sub
1665 ac_abs_top_srcdir=$ac_pwd ;;
1666 [\\/]* | ?:[\\/]* ) # Absolute name.
1667 ac_srcdir=$srcdir$ac_dir_suffix;
1668 ac_top_srcdir=$srcdir
1669 ac_abs_top_srcdir=$srcdir ;;
1670 *) # Relative name.
1671 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1672 ac_top_srcdir=$ac_top_build_prefix$srcdir
1673 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1674 esac
1675 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1677 cd "$ac_dir" || { ac_status=$?; continue; }
1678 # Check for guested configure.
1679 if test -f "$ac_srcdir/configure.gnu"; then
1680 echo &&
1681 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1682 elif test -f "$ac_srcdir/configure"; then
1683 echo &&
1684 $SHELL "$ac_srcdir/configure" --help=recursive
1685 else
1686 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1687 fi || ac_status=$?
1688 cd "$ac_pwd" || { ac_status=$?; break; }
1689 done
1692 test -n "$ac_init_help" && exit $ac_status
1693 if $ac_init_version; then
1694 cat <<\_ACEOF
1695 package-unused configure version-unused
1696 generated by GNU Autoconf 2.64
1698 Copyright (C) 2009 Free Software Foundation, Inc.
1699 This configure script is free software; the Free Software Foundation
1700 gives unlimited permission to copy, distribute and modify it.
1701 _ACEOF
1702 exit
1705 ## ------------------------ ##
1706 ## Autoconf initialization. ##
1707 ## ------------------------ ##
1709 # ac_fn_c_try_compile LINENO
1710 # --------------------------
1711 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1712 ac_fn_c_try_compile ()
1714 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1715 rm -f conftest.$ac_objext
1716 if { { ac_try="$ac_compile"
1717 case "(($ac_try" in
1718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1719 *) ac_try_echo=$ac_try;;
1720 esac
1721 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1722 $as_echo "$ac_try_echo"; } >&5
1723 (eval "$ac_compile") 2>conftest.err
1724 ac_status=$?
1725 if test -s conftest.err; then
1726 grep -v '^ *+' conftest.err >conftest.er1
1727 cat conftest.er1 >&5
1728 mv -f conftest.er1 conftest.err
1730 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1731 test $ac_status = 0; } && {
1732 test -z "$ac_c_werror_flag" ||
1733 test ! -s conftest.err
1734 } && test -s conftest.$ac_objext; then :
1735 ac_retval=0
1736 else
1737 $as_echo "$as_me: failed program was:" >&5
1738 sed 's/^/| /' conftest.$ac_ext >&5
1740 ac_retval=1
1742 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1743 return $ac_retval
1745 } # ac_fn_c_try_compile
1747 # ac_fn_cxx_try_compile LINENO
1748 # ----------------------------
1749 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1750 ac_fn_cxx_try_compile ()
1752 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1753 rm -f conftest.$ac_objext
1754 if { { ac_try="$ac_compile"
1755 case "(($ac_try" in
1756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1757 *) ac_try_echo=$ac_try;;
1758 esac
1759 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1760 $as_echo "$ac_try_echo"; } >&5
1761 (eval "$ac_compile") 2>conftest.err
1762 ac_status=$?
1763 if test -s conftest.err; then
1764 grep -v '^ *+' conftest.err >conftest.er1
1765 cat conftest.er1 >&5
1766 mv -f conftest.er1 conftest.err
1768 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1769 test $ac_status = 0; } && {
1770 test -z "$ac_cxx_werror_flag" ||
1771 test ! -s conftest.err
1772 } && test -s conftest.$ac_objext; then :
1773 ac_retval=0
1774 else
1775 $as_echo "$as_me: failed program was:" >&5
1776 sed 's/^/| /' conftest.$ac_ext >&5
1778 ac_retval=1
1780 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1781 return $ac_retval
1783 } # ac_fn_cxx_try_compile
1785 # ac_fn_c_try_cpp LINENO
1786 # ----------------------
1787 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1788 ac_fn_c_try_cpp ()
1790 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1791 if { { ac_try="$ac_cpp conftest.$ac_ext"
1792 case "(($ac_try" in
1793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1794 *) ac_try_echo=$ac_try;;
1795 esac
1796 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1797 $as_echo "$ac_try_echo"; } >&5
1798 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1799 ac_status=$?
1800 if test -s conftest.err; then
1801 grep -v '^ *+' conftest.err >conftest.er1
1802 cat conftest.er1 >&5
1803 mv -f conftest.er1 conftest.err
1805 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1806 test $ac_status = 0; } >/dev/null && {
1807 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1808 test ! -s conftest.err
1809 }; then :
1810 ac_retval=0
1811 else
1812 $as_echo "$as_me: failed program was:" >&5
1813 sed 's/^/| /' conftest.$ac_ext >&5
1815 ac_retval=1
1817 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1818 return $ac_retval
1820 } # ac_fn_c_try_cpp
1822 # ac_fn_c_try_link LINENO
1823 # -----------------------
1824 # Try to link conftest.$ac_ext, and return whether this succeeded.
1825 ac_fn_c_try_link ()
1827 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1828 rm -f conftest.$ac_objext conftest$ac_exeext
1829 if { { ac_try="$ac_link"
1830 case "(($ac_try" in
1831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1832 *) ac_try_echo=$ac_try;;
1833 esac
1834 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1835 $as_echo "$ac_try_echo"; } >&5
1836 (eval "$ac_link") 2>conftest.err
1837 ac_status=$?
1838 if test -s conftest.err; then
1839 grep -v '^ *+' conftest.err >conftest.er1
1840 cat conftest.er1 >&5
1841 mv -f conftest.er1 conftest.err
1843 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1844 test $ac_status = 0; } && {
1845 test -z "$ac_c_werror_flag" ||
1846 test ! -s conftest.err
1847 } && test -s conftest$ac_exeext && {
1848 test "$cross_compiling" = yes ||
1849 $as_test_x conftest$ac_exeext
1850 }; then :
1851 ac_retval=0
1852 else
1853 $as_echo "$as_me: failed program was:" >&5
1854 sed 's/^/| /' conftest.$ac_ext >&5
1856 ac_retval=1
1858 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1859 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1860 # interfere with the next link command; also delete a directory that is
1861 # left behind by Apple's compiler. We do this before executing the actions.
1862 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1863 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1864 return $ac_retval
1866 } # ac_fn_c_try_link
1868 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1869 # -------------------------------------------------------
1870 # Tests whether HEADER exists and can be compiled using the include files in
1871 # INCLUDES, setting the cache variable VAR accordingly.
1872 ac_fn_c_check_header_compile ()
1874 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1876 $as_echo_n "checking for $2... " >&6; }
1877 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1878 $as_echo_n "(cached) " >&6
1879 else
1880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1881 /* end confdefs.h. */
1883 #include <$2>
1884 _ACEOF
1885 if ac_fn_c_try_compile "$LINENO"; then :
1886 eval "$3=yes"
1887 else
1888 eval "$3=no"
1890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1892 eval ac_res=\$$3
1893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1894 $as_echo "$ac_res" >&6; }
1895 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1897 } # ac_fn_c_check_header_compile
1899 # ac_fn_c_try_run LINENO
1900 # ----------------------
1901 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1902 # that executables *can* be run.
1903 ac_fn_c_try_run ()
1905 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1906 if { { ac_try="$ac_link"
1907 case "(($ac_try" in
1908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1909 *) ac_try_echo=$ac_try;;
1910 esac
1911 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1912 $as_echo "$ac_try_echo"; } >&5
1913 (eval "$ac_link") 2>&5
1914 ac_status=$?
1915 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1916 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1917 { { case "(($ac_try" in
1918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1919 *) ac_try_echo=$ac_try;;
1920 esac
1921 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1922 $as_echo "$ac_try_echo"; } >&5
1923 (eval "$ac_try") 2>&5
1924 ac_status=$?
1925 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1926 test $ac_status = 0; }; }; then :
1927 ac_retval=0
1928 else
1929 $as_echo "$as_me: program exited with status $ac_status" >&5
1930 $as_echo "$as_me: failed program was:" >&5
1931 sed 's/^/| /' conftest.$ac_ext >&5
1933 ac_retval=$ac_status
1935 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1936 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1937 return $ac_retval
1939 } # ac_fn_c_try_run
1941 # ac_fn_c_check_func LINENO FUNC VAR
1942 # ----------------------------------
1943 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1944 ac_fn_c_check_func ()
1946 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1948 $as_echo_n "checking for $2... " >&6; }
1949 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1950 $as_echo_n "(cached) " >&6
1951 else
1952 if test x$gcc_no_link = xyes; then
1953 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1956 /* end confdefs.h. */
1957 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1958 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1959 #define $2 innocuous_$2
1961 /* System header to define __stub macros and hopefully few prototypes,
1962 which can conflict with char $2 (); below.
1963 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1964 <limits.h> exists even on freestanding compilers. */
1966 #ifdef __STDC__
1967 # include <limits.h>
1968 #else
1969 # include <assert.h>
1970 #endif
1972 #undef $2
1974 /* Override any GCC internal prototype to avoid an error.
1975 Use char because int might match the return type of a GCC
1976 builtin and then its argument prototype would still apply. */
1977 #ifdef __cplusplus
1978 extern "C"
1979 #endif
1980 char $2 ();
1981 /* The GNU C library defines this for functions which it implements
1982 to always fail with ENOSYS. Some functions are actually named
1983 something starting with __ and the normal name is an alias. */
1984 #if defined __stub_$2 || defined __stub___$2
1985 choke me
1986 #endif
1989 main ()
1991 return $2 ();
1993 return 0;
1995 _ACEOF
1996 if ac_fn_c_try_link "$LINENO"; then :
1997 eval "$3=yes"
1998 else
1999 eval "$3=no"
2001 rm -f core conftest.err conftest.$ac_objext \
2002 conftest$ac_exeext conftest.$ac_ext
2004 eval ac_res=\$$3
2005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2006 $as_echo "$ac_res" >&6; }
2007 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2009 } # ac_fn_c_check_func
2011 # ac_fn_cxx_try_cpp LINENO
2012 # ------------------------
2013 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2014 ac_fn_cxx_try_cpp ()
2016 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2017 if { { ac_try="$ac_cpp conftest.$ac_ext"
2018 case "(($ac_try" in
2019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2020 *) ac_try_echo=$ac_try;;
2021 esac
2022 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2023 $as_echo "$ac_try_echo"; } >&5
2024 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2025 ac_status=$?
2026 if test -s conftest.err; then
2027 grep -v '^ *+' conftest.err >conftest.er1
2028 cat conftest.er1 >&5
2029 mv -f conftest.er1 conftest.err
2031 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2032 test $ac_status = 0; } >/dev/null && {
2033 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2034 test ! -s conftest.err
2035 }; then :
2036 ac_retval=0
2037 else
2038 $as_echo "$as_me: failed program was:" >&5
2039 sed 's/^/| /' conftest.$ac_ext >&5
2041 ac_retval=1
2043 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2044 return $ac_retval
2046 } # ac_fn_cxx_try_cpp
2048 # ac_fn_cxx_try_link LINENO
2049 # -------------------------
2050 # Try to link conftest.$ac_ext, and return whether this succeeded.
2051 ac_fn_cxx_try_link ()
2053 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2054 rm -f conftest.$ac_objext conftest$ac_exeext
2055 if { { ac_try="$ac_link"
2056 case "(($ac_try" in
2057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2058 *) ac_try_echo=$ac_try;;
2059 esac
2060 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2061 $as_echo "$ac_try_echo"; } >&5
2062 (eval "$ac_link") 2>conftest.err
2063 ac_status=$?
2064 if test -s conftest.err; then
2065 grep -v '^ *+' conftest.err >conftest.er1
2066 cat conftest.er1 >&5
2067 mv -f conftest.er1 conftest.err
2069 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2070 test $ac_status = 0; } && {
2071 test -z "$ac_cxx_werror_flag" ||
2072 test ! -s conftest.err
2073 } && test -s conftest$ac_exeext && {
2074 test "$cross_compiling" = yes ||
2075 $as_test_x conftest$ac_exeext
2076 }; then :
2077 ac_retval=0
2078 else
2079 $as_echo "$as_me: failed program was:" >&5
2080 sed 's/^/| /' conftest.$ac_ext >&5
2082 ac_retval=1
2084 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2085 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2086 # interfere with the next link command; also delete a directory that is
2087 # left behind by Apple's compiler. We do this before executing the actions.
2088 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2089 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2090 return $ac_retval
2092 } # ac_fn_cxx_try_link
2094 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2095 # -------------------------------------------------------
2096 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2097 # the include files in INCLUDES and setting the cache variable VAR
2098 # accordingly.
2099 ac_fn_c_check_header_mongrel ()
2101 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2102 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2104 $as_echo_n "checking for $2... " >&6; }
2105 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2106 $as_echo_n "(cached) " >&6
2108 eval ac_res=\$$3
2109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2110 $as_echo "$ac_res" >&6; }
2111 else
2112 # Is the header compilable?
2113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2114 $as_echo_n "checking $2 usability... " >&6; }
2115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2116 /* end confdefs.h. */
2118 #include <$2>
2119 _ACEOF
2120 if ac_fn_c_try_compile "$LINENO"; then :
2121 ac_header_compiler=yes
2122 else
2123 ac_header_compiler=no
2125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2127 $as_echo "$ac_header_compiler" >&6; }
2129 # Is the header present?
2130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2131 $as_echo_n "checking $2 presence... " >&6; }
2132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2133 /* end confdefs.h. */
2134 #include <$2>
2135 _ACEOF
2136 if ac_fn_c_try_cpp "$LINENO"; then :
2137 ac_header_preproc=yes
2138 else
2139 ac_header_preproc=no
2141 rm -f conftest.err conftest.$ac_ext
2142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2143 $as_echo "$ac_header_preproc" >&6; }
2145 # So? What about this header?
2146 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2147 yes:no: )
2148 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2149 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2150 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2151 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2153 no:yes:* )
2154 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2155 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2156 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2157 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2158 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2159 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2160 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2161 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2162 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2163 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2165 esac
2166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2167 $as_echo_n "checking for $2... " >&6; }
2168 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2169 $as_echo_n "(cached) " >&6
2170 else
2171 eval "$3=\$ac_header_compiler"
2173 eval ac_res=\$$3
2174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2175 $as_echo "$ac_res" >&6; }
2177 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2179 } # ac_fn_c_check_header_mongrel
2181 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2182 # ---------------------------------------------------------
2183 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2184 # the include files in INCLUDES and setting the cache variable VAR
2185 # accordingly.
2186 ac_fn_cxx_check_header_mongrel ()
2188 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2189 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2191 $as_echo_n "checking for $2... " >&6; }
2192 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2193 $as_echo_n "(cached) " >&6
2195 eval ac_res=\$$3
2196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2197 $as_echo "$ac_res" >&6; }
2198 else
2199 # Is the header compilable?
2200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2201 $as_echo_n "checking $2 usability... " >&6; }
2202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2203 /* end confdefs.h. */
2205 #include <$2>
2206 _ACEOF
2207 if ac_fn_cxx_try_compile "$LINENO"; then :
2208 ac_header_compiler=yes
2209 else
2210 ac_header_compiler=no
2212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2214 $as_echo "$ac_header_compiler" >&6; }
2216 # Is the header present?
2217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2218 $as_echo_n "checking $2 presence... " >&6; }
2219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2220 /* end confdefs.h. */
2221 #include <$2>
2222 _ACEOF
2223 if ac_fn_cxx_try_cpp "$LINENO"; then :
2224 ac_header_preproc=yes
2225 else
2226 ac_header_preproc=no
2228 rm -f conftest.err conftest.$ac_ext
2229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2230 $as_echo "$ac_header_preproc" >&6; }
2232 # So? What about this header?
2233 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2234 yes:no: )
2235 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2236 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2237 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2238 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2240 no:yes:* )
2241 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2242 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2243 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2244 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2245 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2246 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2247 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2248 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2249 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2250 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2252 esac
2253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2254 $as_echo_n "checking for $2... " >&6; }
2255 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2256 $as_echo_n "(cached) " >&6
2257 else
2258 eval "$3=\$ac_header_compiler"
2260 eval ac_res=\$$3
2261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2262 $as_echo "$ac_res" >&6; }
2264 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2266 } # ac_fn_cxx_check_header_mongrel
2268 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2269 # --------------------------------------------
2270 # Tries to find the compile-time value of EXPR in a program that includes
2271 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2272 # computed
2273 ac_fn_c_compute_int ()
2275 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2276 if test "$cross_compiling" = yes; then
2277 # Depending upon the size, compute the lo and hi bounds.
2278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2279 /* end confdefs.h. */
2282 main ()
2284 static int test_array [1 - 2 * !(($2) >= 0)];
2285 test_array [0] = 0
2288 return 0;
2290 _ACEOF
2291 if ac_fn_c_try_compile "$LINENO"; then :
2292 ac_lo=0 ac_mid=0
2293 while :; do
2294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2295 /* end confdefs.h. */
2298 main ()
2300 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2301 test_array [0] = 0
2304 return 0;
2306 _ACEOF
2307 if ac_fn_c_try_compile "$LINENO"; then :
2308 ac_hi=$ac_mid; break
2309 else
2310 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2311 if test $ac_lo -le $ac_mid; then
2312 ac_lo= ac_hi=
2313 break
2315 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2318 done
2319 else
2320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2321 /* end confdefs.h. */
2324 main ()
2326 static int test_array [1 - 2 * !(($2) < 0)];
2327 test_array [0] = 0
2330 return 0;
2332 _ACEOF
2333 if ac_fn_c_try_compile "$LINENO"; then :
2334 ac_hi=-1 ac_mid=-1
2335 while :; do
2336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2337 /* end confdefs.h. */
2340 main ()
2342 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2343 test_array [0] = 0
2346 return 0;
2348 _ACEOF
2349 if ac_fn_c_try_compile "$LINENO"; then :
2350 ac_lo=$ac_mid; break
2351 else
2352 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2353 if test $ac_mid -le $ac_hi; then
2354 ac_lo= ac_hi=
2355 break
2357 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2360 done
2361 else
2362 ac_lo= ac_hi=
2364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2367 # Binary search between lo and hi bounds.
2368 while test "x$ac_lo" != "x$ac_hi"; do
2369 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2371 /* end confdefs.h. */
2374 main ()
2376 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2377 test_array [0] = 0
2380 return 0;
2382 _ACEOF
2383 if ac_fn_c_try_compile "$LINENO"; then :
2384 ac_hi=$ac_mid
2385 else
2386 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2389 done
2390 case $ac_lo in #((
2391 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2392 '') ac_retval=1 ;;
2393 esac
2394 else
2395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2396 /* end confdefs.h. */
2398 static long int longval () { return $2; }
2399 static unsigned long int ulongval () { return $2; }
2400 #include <stdio.h>
2401 #include <stdlib.h>
2403 main ()
2406 FILE *f = fopen ("conftest.val", "w");
2407 if (! f)
2408 return 1;
2409 if (($2) < 0)
2411 long int i = longval ();
2412 if (i != ($2))
2413 return 1;
2414 fprintf (f, "%ld", i);
2416 else
2418 unsigned long int i = ulongval ();
2419 if (i != ($2))
2420 return 1;
2421 fprintf (f, "%lu", i);
2423 /* Do not output a trailing newline, as this causes \r\n confusion
2424 on some platforms. */
2425 return ferror (f) || fclose (f) != 0;
2428 return 0;
2430 _ACEOF
2431 if ac_fn_c_try_run "$LINENO"; then :
2432 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2433 else
2434 ac_retval=1
2436 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2437 conftest.$ac_objext conftest.beam conftest.$ac_ext
2438 rm -f conftest.val
2441 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2442 return $ac_retval
2444 } # ac_fn_c_compute_int
2446 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2447 # -------------------------------------------
2448 # Tests whether TYPE exists after having included INCLUDES, setting cache
2449 # variable VAR accordingly.
2450 ac_fn_c_check_type ()
2452 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2454 $as_echo_n "checking for $2... " >&6; }
2455 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2456 $as_echo_n "(cached) " >&6
2457 else
2458 eval "$3=no"
2459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2460 /* end confdefs.h. */
2463 main ()
2465 if (sizeof ($2))
2466 return 0;
2468 return 0;
2470 _ACEOF
2471 if ac_fn_c_try_compile "$LINENO"; then :
2472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2473 /* end confdefs.h. */
2476 main ()
2478 if (sizeof (($2)))
2479 return 0;
2481 return 0;
2483 _ACEOF
2484 if ac_fn_c_try_compile "$LINENO"; then :
2486 else
2487 eval "$3=yes"
2489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2493 eval ac_res=\$$3
2494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2495 $as_echo "$ac_res" >&6; }
2496 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2498 } # ac_fn_c_check_type
2499 cat >config.log <<_ACEOF
2500 This file contains any messages produced by compilers while
2501 running configure, to aid debugging if configure makes a mistake.
2503 It was created by package-unused $as_me version-unused, which was
2504 generated by GNU Autoconf 2.64. Invocation command line was
2506 $ $0 $@
2508 _ACEOF
2509 exec 5>>config.log
2511 cat <<_ASUNAME
2512 ## --------- ##
2513 ## Platform. ##
2514 ## --------- ##
2516 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2517 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2518 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2519 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2520 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2522 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2523 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2525 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2526 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2527 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2528 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2529 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2530 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2531 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2533 _ASUNAME
2535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2536 for as_dir in $PATH
2538 IFS=$as_save_IFS
2539 test -z "$as_dir" && as_dir=.
2540 $as_echo "PATH: $as_dir"
2541 done
2542 IFS=$as_save_IFS
2544 } >&5
2546 cat >&5 <<_ACEOF
2549 ## ----------- ##
2550 ## Core tests. ##
2551 ## ----------- ##
2553 _ACEOF
2556 # Keep a trace of the command line.
2557 # Strip out --no-create and --no-recursion so they do not pile up.
2558 # Strip out --silent because we don't want to record it for future runs.
2559 # Also quote any args containing shell meta-characters.
2560 # Make two passes to allow for proper duplicate-argument suppression.
2561 ac_configure_args=
2562 ac_configure_args0=
2563 ac_configure_args1=
2564 ac_must_keep_next=false
2565 for ac_pass in 1 2
2567 for ac_arg
2569 case $ac_arg in
2570 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2571 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2572 | -silent | --silent | --silen | --sile | --sil)
2573 continue ;;
2574 *\'*)
2575 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2576 esac
2577 case $ac_pass in
2578 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2580 as_fn_append ac_configure_args1 " '$ac_arg'"
2581 if test $ac_must_keep_next = true; then
2582 ac_must_keep_next=false # Got value, back to normal.
2583 else
2584 case $ac_arg in
2585 *=* | --config-cache | -C | -disable-* | --disable-* \
2586 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2587 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2588 | -with-* | --with-* | -without-* | --without-* | --x)
2589 case "$ac_configure_args0 " in
2590 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2591 esac
2593 -* ) ac_must_keep_next=true ;;
2594 esac
2596 as_fn_append ac_configure_args " '$ac_arg'"
2598 esac
2599 done
2600 done
2601 { ac_configure_args0=; unset ac_configure_args0;}
2602 { ac_configure_args1=; unset ac_configure_args1;}
2604 # When interrupted or exit'd, cleanup temporary files, and complete
2605 # config.log. We remove comments because anyway the quotes in there
2606 # would cause problems or look ugly.
2607 # WARNING: Use '\'' to represent an apostrophe within the trap.
2608 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2609 trap 'exit_status=$?
2610 # Save into config.log some information that might help in debugging.
2612 echo
2614 cat <<\_ASBOX
2615 ## ---------------- ##
2616 ## Cache variables. ##
2617 ## ---------------- ##
2618 _ASBOX
2619 echo
2620 # The following way of writing the cache mishandles newlines in values,
2622 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2623 eval ac_val=\$$ac_var
2624 case $ac_val in #(
2625 *${as_nl}*)
2626 case $ac_var in #(
2627 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2628 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2629 esac
2630 case $ac_var in #(
2631 _ | IFS | as_nl) ;; #(
2632 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2633 *) { eval $ac_var=; unset $ac_var;} ;;
2634 esac ;;
2635 esac
2636 done
2637 (set) 2>&1 |
2638 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2639 *${as_nl}ac_space=\ *)
2640 sed -n \
2641 "s/'\''/'\''\\\\'\'''\''/g;
2642 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2643 ;; #(
2645 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2647 esac |
2648 sort
2650 echo
2652 cat <<\_ASBOX
2653 ## ----------------- ##
2654 ## Output variables. ##
2655 ## ----------------- ##
2656 _ASBOX
2657 echo
2658 for ac_var in $ac_subst_vars
2660 eval ac_val=\$$ac_var
2661 case $ac_val in
2662 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2663 esac
2664 $as_echo "$ac_var='\''$ac_val'\''"
2665 done | sort
2666 echo
2668 if test -n "$ac_subst_files"; then
2669 cat <<\_ASBOX
2670 ## ------------------- ##
2671 ## File substitutions. ##
2672 ## ------------------- ##
2673 _ASBOX
2674 echo
2675 for ac_var in $ac_subst_files
2677 eval ac_val=\$$ac_var
2678 case $ac_val in
2679 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2680 esac
2681 $as_echo "$ac_var='\''$ac_val'\''"
2682 done | sort
2683 echo
2686 if test -s confdefs.h; then
2687 cat <<\_ASBOX
2688 ## ----------- ##
2689 ## confdefs.h. ##
2690 ## ----------- ##
2691 _ASBOX
2692 echo
2693 cat confdefs.h
2694 echo
2696 test "$ac_signal" != 0 &&
2697 $as_echo "$as_me: caught signal $ac_signal"
2698 $as_echo "$as_me: exit $exit_status"
2699 } >&5
2700 rm -f core *.core core.conftest.* &&
2701 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2702 exit $exit_status
2704 for ac_signal in 1 2 13 15; do
2705 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2706 done
2707 ac_signal=0
2709 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2710 rm -f -r conftest* confdefs.h
2712 $as_echo "/* confdefs.h */" > confdefs.h
2714 # Predefined preprocessor variables.
2716 cat >>confdefs.h <<_ACEOF
2717 #define PACKAGE_NAME "$PACKAGE_NAME"
2718 _ACEOF
2720 cat >>confdefs.h <<_ACEOF
2721 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2722 _ACEOF
2724 cat >>confdefs.h <<_ACEOF
2725 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2726 _ACEOF
2728 cat >>confdefs.h <<_ACEOF
2729 #define PACKAGE_STRING "$PACKAGE_STRING"
2730 _ACEOF
2732 cat >>confdefs.h <<_ACEOF
2733 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2734 _ACEOF
2736 cat >>confdefs.h <<_ACEOF
2737 #define PACKAGE_URL "$PACKAGE_URL"
2738 _ACEOF
2741 # Let the site file select an alternate cache file if it wants to.
2742 # Prefer an explicitly selected file to automatically selected ones.
2743 ac_site_file1=NONE
2744 ac_site_file2=NONE
2745 if test -n "$CONFIG_SITE"; then
2746 ac_site_file1=$CONFIG_SITE
2747 elif test "x$prefix" != xNONE; then
2748 ac_site_file1=$prefix/share/config.site
2749 ac_site_file2=$prefix/etc/config.site
2750 else
2751 ac_site_file1=$ac_default_prefix/share/config.site
2752 ac_site_file2=$ac_default_prefix/etc/config.site
2754 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2756 test "x$ac_site_file" = xNONE && continue
2757 if test -r "$ac_site_file"; then
2758 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2759 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2760 sed 's/^/| /' "$ac_site_file" >&5
2761 . "$ac_site_file"
2763 done
2765 if test -r "$cache_file"; then
2766 # Some versions of bash will fail to source /dev/null (special
2767 # files actually), so we avoid doing that.
2768 if test -f "$cache_file"; then
2769 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2770 $as_echo "$as_me: loading cache $cache_file" >&6;}
2771 case $cache_file in
2772 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2773 *) . "./$cache_file";;
2774 esac
2776 else
2777 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2778 $as_echo "$as_me: creating cache $cache_file" >&6;}
2779 >$cache_file
2782 # Check that the precious variables saved in the cache have kept the same
2783 # value.
2784 ac_cache_corrupted=false
2785 for ac_var in $ac_precious_vars; do
2786 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2787 eval ac_new_set=\$ac_env_${ac_var}_set
2788 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2789 eval ac_new_val=\$ac_env_${ac_var}_value
2790 case $ac_old_set,$ac_new_set in
2791 set,)
2792 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2793 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2794 ac_cache_corrupted=: ;;
2795 ,set)
2796 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2797 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2798 ac_cache_corrupted=: ;;
2799 ,);;
2801 if test "x$ac_old_val" != "x$ac_new_val"; then
2802 # differences in whitespace do not lead to failure.
2803 ac_old_val_w=`echo x $ac_old_val`
2804 ac_new_val_w=`echo x $ac_new_val`
2805 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2806 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2807 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2808 ac_cache_corrupted=:
2809 else
2810 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2811 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2812 eval $ac_var=\$ac_old_val
2814 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2815 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2816 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2817 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2818 fi;;
2819 esac
2820 # Pass precious variables to config.status.
2821 if test "$ac_new_set" = set; then
2822 case $ac_new_val in
2823 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2824 *) ac_arg=$ac_var=$ac_new_val ;;
2825 esac
2826 case " $ac_configure_args " in
2827 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2828 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2829 esac
2831 done
2832 if $ac_cache_corrupted; then
2833 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2834 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2835 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2836 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2837 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2839 ## -------------------- ##
2840 ## Main body of script. ##
2841 ## -------------------- ##
2843 ac_ext=c
2844 ac_cpp='$CPP $CPPFLAGS'
2845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2854 ac_config_headers="$ac_config_headers config.h"
2857 # This works around the fact that libtool configuration may change LD
2858 # for this particular configuration, but some shells, instead of
2859 # keeping the changes in LD private, export them just because LD is
2860 # exported. Only used at the end of this file.
2861 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
2863 # Find the rest of the source tree framework.
2864 # Default to --enable-multilib
2865 # Check whether --enable-multilib was given.
2866 if test "${enable_multilib+set}" = set; then :
2867 enableval=$enable_multilib; case "$enableval" in
2868 yes) multilib=yes ;;
2869 no) multilib=no ;;
2870 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2871 esac
2872 else
2873 multilib=yes
2877 # We may get other options which we leave undocumented:
2878 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2879 # See config-ml.in if you want the gory details.
2881 if test "$srcdir" = "."; then
2882 if test "$with_target_subdir" != "."; then
2883 multi_basedir="$srcdir/$with_multisrctop../.."
2884 else
2885 multi_basedir="$srcdir/$with_multisrctop.."
2887 else
2888 multi_basedir="$srcdir/.."
2892 # Even if the default multilib is not a cross compilation,
2893 # it may be that some of the other multilibs are.
2894 if test $cross_compiling = no && test $multilib = yes \
2895 && test "x${with_multisubdir}" != x ; then
2896 cross_compiling=maybe
2899 ac_config_commands="$ac_config_commands default-1"
2902 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2904 # You will slowly go insane if you do not grok the following fact: when
2905 # building v3 as part of the compiler, the top-level /target/ becomes the
2906 # library's /host/. configure then causes --target to default to --host,
2907 # exactly like any other package using autoconf. Therefore, 'target' and
2908 # 'host' will always be the same. This makes sense both for native and
2909 # cross compilers, just think about it for a little while. :-)
2911 # Also, if v3 is being configured as part of a cross compiler, the top-level
2912 # configure script will pass the "real" host as $with_cross_host.
2914 # Do not delete or change the following two lines. For why, see
2915 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2916 ac_aux_dir=
2917 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2918 for ac_t in install-sh install.sh shtool; do
2919 if test -f "$ac_dir/$ac_t"; then
2920 ac_aux_dir=$ac_dir
2921 ac_install_sh="$ac_aux_dir/$ac_t -c"
2922 break 2
2924 done
2925 done
2926 if test -z "$ac_aux_dir"; then
2927 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2930 # These three variables are undocumented and unsupported,
2931 # and are intended to be withdrawn in a future Autoconf release.
2932 # They can cause serious problems if a builder's source tree is in a directory
2933 # whose full name contains unusual characters.
2934 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2935 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2936 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2939 # Make sure we can run config.sub.
2940 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2941 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2944 $as_echo_n "checking build system type... " >&6; }
2945 if test "${ac_cv_build+set}" = set; then :
2946 $as_echo_n "(cached) " >&6
2947 else
2948 ac_build_alias=$build_alias
2949 test "x$ac_build_alias" = x &&
2950 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2951 test "x$ac_build_alias" = x &&
2952 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2953 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2954 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2958 $as_echo "$ac_cv_build" >&6; }
2959 case $ac_cv_build in
2960 *-*-*) ;;
2961 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2962 esac
2963 build=$ac_cv_build
2964 ac_save_IFS=$IFS; IFS='-'
2965 set x $ac_cv_build
2966 shift
2967 build_cpu=$1
2968 build_vendor=$2
2969 shift; shift
2970 # Remember, the first character of IFS is used to create $*,
2971 # except with old shells:
2972 build_os=$*
2973 IFS=$ac_save_IFS
2974 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2978 $as_echo_n "checking host system type... " >&6; }
2979 if test "${ac_cv_host+set}" = set; then :
2980 $as_echo_n "(cached) " >&6
2981 else
2982 if test "x$host_alias" = x; then
2983 ac_cv_host=$ac_cv_build
2984 else
2985 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2986 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2991 $as_echo "$ac_cv_host" >&6; }
2992 case $ac_cv_host in
2993 *-*-*) ;;
2994 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2995 esac
2996 host=$ac_cv_host
2997 ac_save_IFS=$IFS; IFS='-'
2998 set x $ac_cv_host
2999 shift
3000 host_cpu=$1
3001 host_vendor=$2
3002 shift; shift
3003 # Remember, the first character of IFS is used to create $*,
3004 # except with old shells:
3005 host_os=$*
3006 IFS=$ac_save_IFS
3007 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3011 $as_echo_n "checking target system type... " >&6; }
3012 if test "${ac_cv_target+set}" = set; then :
3013 $as_echo_n "(cached) " >&6
3014 else
3015 if test "x$target_alias" = x; then
3016 ac_cv_target=$ac_cv_host
3017 else
3018 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3019 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3024 $as_echo "$ac_cv_target" >&6; }
3025 case $ac_cv_target in
3026 *-*-*) ;;
3027 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
3028 esac
3029 target=$ac_cv_target
3030 ac_save_IFS=$IFS; IFS='-'
3031 set x $ac_cv_target
3032 shift
3033 target_cpu=$1
3034 target_vendor=$2
3035 shift; shift
3036 # Remember, the first character of IFS is used to create $*,
3037 # except with old shells:
3038 target_os=$*
3039 IFS=$ac_save_IFS
3040 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3043 # The aliases save the names the user supplied, while $host etc.
3044 # will get canonicalized.
3045 test -n "$target_alias" &&
3046 test "$program_prefix$program_suffix$program_transform_name" = \
3047 NONENONEs,x,x, &&
3048 program_prefix=${target_alias}-
3050 target_alias=${target_alias-$host_alias}
3052 # Handy for debugging:
3053 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3055 if test "$build" != "$host"; then
3056 # We are being configured with some form of cross compiler.
3057 GLIBCXX_IS_NATIVE=false
3058 case "$host","$target" in
3059 # Darwin crosses can use the host system's libraries and headers,
3060 # because of the fat library support. Of course, it must be the
3061 # same version of Darwin on both sides. Allow the user to
3062 # just say --target=foo-darwin without a version number to mean
3063 # "the version on this system".
3064 *-*-darwin*,*-*-darwin*)
3065 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3066 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3067 if test $hostos = $targetos -o $targetos = darwin ; then
3068 GLIBCXX_IS_NATIVE=true
3075 esac
3076 else
3077 GLIBCXX_IS_NATIVE=true
3080 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
3081 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3082 # 1.x: minimum required version
3083 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
3084 # of other PACKAGE_* variables will, however, and there's nothing
3085 # we can do about that; they come from AC_INIT).
3086 # foreign: we don't follow the normal rules for GNU packages (no COPYING
3087 # file in the top srcdir, etc, etc), so stop complaining.
3088 # no-dependencies: turns off auto dependency generation (just for now)
3089 # no-dist: we don't want 'dist' and related rules.
3090 # -Wall: turns on all automake warnings...
3091 # -Wno-portability: ...except this one, since GNU make is now required.
3092 am__api_version='1.11'
3094 # Find a good install program. We prefer a C program (faster),
3095 # so one script is as good as another. But avoid the broken or
3096 # incompatible versions:
3097 # SysV /etc/install, /usr/sbin/install
3098 # SunOS /usr/etc/install
3099 # IRIX /sbin/install
3100 # AIX /bin/install
3101 # AmigaOS /C/install, which installs bootblocks on floppy discs
3102 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3103 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3104 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3105 # OS/2's system install, which has a completely different semantic
3106 # ./install, which can be erroneously created by make from ./install.sh.
3107 # Reject install programs that cannot install multiple files.
3108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3109 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3110 if test -z "$INSTALL"; then
3111 if test "${ac_cv_path_install+set}" = set; then :
3112 $as_echo_n "(cached) " >&6
3113 else
3114 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3115 for as_dir in $PATH
3117 IFS=$as_save_IFS
3118 test -z "$as_dir" && as_dir=.
3119 # Account for people who put trailing slashes in PATH elements.
3120 case $as_dir/ in #((
3121 ./ | .// | /[cC]/* | \
3122 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3123 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3124 /usr/ucb/* ) ;;
3126 # OSF1 and SCO ODT 3.0 have their own names for install.
3127 # Don't use installbsd from OSF since it installs stuff as root
3128 # by default.
3129 for ac_prog in ginstall scoinst install; do
3130 for ac_exec_ext in '' $ac_executable_extensions; do
3131 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3132 if test $ac_prog = install &&
3133 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3134 # AIX install. It has an incompatible calling convention.
3136 elif test $ac_prog = install &&
3137 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3138 # program-specific install script used by HP pwplus--don't use.
3140 else
3141 rm -rf conftest.one conftest.two conftest.dir
3142 echo one > conftest.one
3143 echo two > conftest.two
3144 mkdir conftest.dir
3145 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3146 test -s conftest.one && test -s conftest.two &&
3147 test -s conftest.dir/conftest.one &&
3148 test -s conftest.dir/conftest.two
3149 then
3150 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3151 break 3
3155 done
3156 done
3158 esac
3160 done
3161 IFS=$as_save_IFS
3163 rm -rf conftest.one conftest.two conftest.dir
3166 if test "${ac_cv_path_install+set}" = set; then
3167 INSTALL=$ac_cv_path_install
3168 else
3169 # As a last resort, use the slow shell script. Don't cache a
3170 # value for INSTALL within a source directory, because that will
3171 # break other packages using the cache if that directory is
3172 # removed, or if the value is a relative name.
3173 INSTALL=$ac_install_sh
3176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3177 $as_echo "$INSTALL" >&6; }
3179 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3180 # It thinks the first close brace ends the variable substitution.
3181 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3183 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3185 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3188 $as_echo_n "checking whether build environment is sane... " >&6; }
3189 # Just in case
3190 sleep 1
3191 echo timestamp > conftest.file
3192 # Reject unsafe characters in $srcdir or the absolute working directory
3193 # name. Accept space and tab only in the latter.
3194 am_lf='
3196 case `pwd` in
3197 *[\\\"\#\$\&\'\`$am_lf]*)
3198 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3199 esac
3200 case $srcdir in
3201 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3202 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3203 esac
3205 # Do `set' in a subshell so we don't clobber the current shell's
3206 # arguments. Must try -L first in case configure is actually a
3207 # symlink; some systems play weird games with the mod time of symlinks
3208 # (eg FreeBSD returns the mod time of the symlink's containing
3209 # directory).
3210 if (
3211 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3212 if test "$*" = "X"; then
3213 # -L didn't work.
3214 set X `ls -t "$srcdir/configure" conftest.file`
3216 rm -f conftest.file
3217 if test "$*" != "X $srcdir/configure conftest.file" \
3218 && test "$*" != "X conftest.file $srcdir/configure"; then
3220 # If neither matched, then we have a broken ls. This can happen
3221 # if, for instance, CONFIG_SHELL is bash and it inherits a
3222 # broken ls alias from the environment. This has actually
3223 # happened. Such a system could not be considered "sane".
3224 as_fn_error "ls -t appears to fail. Make sure there is not a broken
3225 alias in your environment" "$LINENO" 5
3228 test "$2" = conftest.file
3230 then
3231 # Ok.
3233 else
3234 as_fn_error "newly created file is older than distributed files!
3235 Check your system clock" "$LINENO" 5
3237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3238 $as_echo "yes" >&6; }
3239 test "$program_prefix" != NONE &&
3240 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3241 # Use a double $ so make ignores it.
3242 test "$program_suffix" != NONE &&
3243 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3244 # Double any \ or $.
3245 # By default was `s,x,x', remove it if useless.
3246 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3247 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3249 # expand $ac_aux_dir to an absolute path
3250 am_aux_dir=`cd $ac_aux_dir && pwd`
3252 if test x"${MISSING+set}" != xset; then
3253 case $am_aux_dir in
3254 *\ * | *\ *)
3255 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3257 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3258 esac
3260 # Use eval to expand $SHELL
3261 if eval "$MISSING --run true"; then
3262 am_missing_run="$MISSING --run "
3263 else
3264 am_missing_run=
3265 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3266 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3269 if test x"${install_sh}" != xset; then
3270 case $am_aux_dir in
3271 *\ * | *\ *)
3272 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3274 install_sh="\${SHELL} $am_aux_dir/install-sh"
3275 esac
3278 # Installed binaries are usually stripped using `strip' when the user
3279 # run `make install-strip'. However `strip' might not be the right
3280 # tool to use in cross-compilation environments, therefore Automake
3281 # will honor the `STRIP' environment variable to overrule this program.
3282 if test "$cross_compiling" != no; then
3283 if test -n "$ac_tool_prefix"; then
3284 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3285 set dummy ${ac_tool_prefix}strip; ac_word=$2
3286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3287 $as_echo_n "checking for $ac_word... " >&6; }
3288 if test "${ac_cv_prog_STRIP+set}" = set; then :
3289 $as_echo_n "(cached) " >&6
3290 else
3291 if test -n "$STRIP"; then
3292 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3293 else
3294 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3295 for as_dir in $PATH
3297 IFS=$as_save_IFS
3298 test -z "$as_dir" && as_dir=.
3299 for ac_exec_ext in '' $ac_executable_extensions; do
3300 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3301 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3302 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3303 break 2
3305 done
3306 done
3307 IFS=$as_save_IFS
3311 STRIP=$ac_cv_prog_STRIP
3312 if test -n "$STRIP"; then
3313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3314 $as_echo "$STRIP" >&6; }
3315 else
3316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3317 $as_echo "no" >&6; }
3322 if test -z "$ac_cv_prog_STRIP"; then
3323 ac_ct_STRIP=$STRIP
3324 # Extract the first word of "strip", so it can be a program name with args.
3325 set dummy strip; ac_word=$2
3326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3327 $as_echo_n "checking for $ac_word... " >&6; }
3328 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3329 $as_echo_n "(cached) " >&6
3330 else
3331 if test -n "$ac_ct_STRIP"; then
3332 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3333 else
3334 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3335 for as_dir in $PATH
3337 IFS=$as_save_IFS
3338 test -z "$as_dir" && as_dir=.
3339 for ac_exec_ext in '' $ac_executable_extensions; do
3340 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3341 ac_cv_prog_ac_ct_STRIP="strip"
3342 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3343 break 2
3345 done
3346 done
3347 IFS=$as_save_IFS
3351 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3352 if test -n "$ac_ct_STRIP"; then
3353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3354 $as_echo "$ac_ct_STRIP" >&6; }
3355 else
3356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3357 $as_echo "no" >&6; }
3360 if test "x$ac_ct_STRIP" = x; then
3361 STRIP=":"
3362 else
3363 case $cross_compiling:$ac_tool_warned in
3364 yes:)
3365 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3366 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3367 ac_tool_warned=yes ;;
3368 esac
3369 STRIP=$ac_ct_STRIP
3371 else
3372 STRIP="$ac_cv_prog_STRIP"
3376 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3379 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3380 if test -z "$MKDIR_P"; then
3381 if test "${ac_cv_path_mkdir+set}" = set; then :
3382 $as_echo_n "(cached) " >&6
3383 else
3384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3385 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3387 IFS=$as_save_IFS
3388 test -z "$as_dir" && as_dir=.
3389 for ac_prog in mkdir gmkdir; do
3390 for ac_exec_ext in '' $ac_executable_extensions; do
3391 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3392 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3393 'mkdir (GNU coreutils) '* | \
3394 'mkdir (coreutils) '* | \
3395 'mkdir (fileutils) '4.1*)
3396 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3397 break 3;;
3398 esac
3399 done
3400 done
3401 done
3402 IFS=$as_save_IFS
3406 if test "${ac_cv_path_mkdir+set}" = set; then
3407 MKDIR_P="$ac_cv_path_mkdir -p"
3408 else
3409 # As a last resort, use the slow shell script. Don't cache a
3410 # value for MKDIR_P within a source directory, because that will
3411 # break other packages using the cache if that directory is
3412 # removed, or if the value is a relative name.
3413 test -d ./--version && rmdir ./--version
3414 MKDIR_P="$ac_install_sh -d"
3417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3418 $as_echo "$MKDIR_P" >&6; }
3420 mkdir_p="$MKDIR_P"
3421 case $mkdir_p in
3422 [\\/$]* | ?:[\\/]*) ;;
3423 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3424 esac
3426 for ac_prog in gawk mawk nawk awk
3428 # Extract the first word of "$ac_prog", so it can be a program name with args.
3429 set dummy $ac_prog; ac_word=$2
3430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3431 $as_echo_n "checking for $ac_word... " >&6; }
3432 if test "${ac_cv_prog_AWK+set}" = set; then :
3433 $as_echo_n "(cached) " >&6
3434 else
3435 if test -n "$AWK"; then
3436 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3437 else
3438 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3439 for as_dir in $PATH
3441 IFS=$as_save_IFS
3442 test -z "$as_dir" && as_dir=.
3443 for ac_exec_ext in '' $ac_executable_extensions; do
3444 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3445 ac_cv_prog_AWK="$ac_prog"
3446 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3447 break 2
3449 done
3450 done
3451 IFS=$as_save_IFS
3455 AWK=$ac_cv_prog_AWK
3456 if test -n "$AWK"; then
3457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3458 $as_echo "$AWK" >&6; }
3459 else
3460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3461 $as_echo "no" >&6; }
3465 test -n "$AWK" && break
3466 done
3468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3469 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3470 set x ${MAKE-make}
3471 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3472 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3473 $as_echo_n "(cached) " >&6
3474 else
3475 cat >conftest.make <<\_ACEOF
3476 SHELL = /bin/sh
3477 all:
3478 @echo '@@@%%%=$(MAKE)=@@@%%%'
3479 _ACEOF
3480 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3481 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3482 *@@@%%%=?*=@@@%%%*)
3483 eval ac_cv_prog_make_${ac_make}_set=yes;;
3485 eval ac_cv_prog_make_${ac_make}_set=no;;
3486 esac
3487 rm -f conftest.make
3489 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3491 $as_echo "yes" >&6; }
3492 SET_MAKE=
3493 else
3494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3495 $as_echo "no" >&6; }
3496 SET_MAKE="MAKE=${MAKE-make}"
3499 rm -rf .tst 2>/dev/null
3500 mkdir .tst 2>/dev/null
3501 if test -d .tst; then
3502 am__leading_dot=.
3503 else
3504 am__leading_dot=_
3506 rmdir .tst 2>/dev/null
3508 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3509 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3510 # is not polluted with repeated "-I."
3511 am__isrc=' -I$(srcdir)'
3512 # test to see if srcdir already configured
3513 if test -f $srcdir/config.status; then
3514 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3518 # test whether we have cygpath
3519 if test -z "$CYGPATH_W"; then
3520 if (cygpath --version) >/dev/null 2>/dev/null; then
3521 CYGPATH_W='cygpath -w'
3522 else
3523 CYGPATH_W=echo
3528 # Define the identity of the package.
3529 PACKAGE='libstdc++'
3530 VERSION='version-unused'
3533 # Some tools Automake needs.
3535 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3538 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3541 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3544 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3547 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3549 # We need awk for the "check" target. The system "awk" is bad on
3550 # some platforms.
3551 # Always define AMTAR for backward compatibility.
3553 AMTAR=${AMTAR-"${am_missing_run}tar"}
3555 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3564 # -fno-builtin must be present here so that a non-conflicting form of
3565 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3567 save_CXXFLAGS="$CXXFLAGS"
3568 CXXFLAGS="$CXXFLAGS -fno-builtin"
3569 ac_ext=c
3570 ac_cpp='$CPP $CPPFLAGS'
3571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3574 if test -n "$ac_tool_prefix"; then
3575 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3576 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3578 $as_echo_n "checking for $ac_word... " >&6; }
3579 if test "${ac_cv_prog_CC+set}" = set; then :
3580 $as_echo_n "(cached) " >&6
3581 else
3582 if test -n "$CC"; then
3583 ac_cv_prog_CC="$CC" # Let the user override the test.
3584 else
3585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3586 for as_dir in $PATH
3588 IFS=$as_save_IFS
3589 test -z "$as_dir" && as_dir=.
3590 for ac_exec_ext in '' $ac_executable_extensions; do
3591 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3592 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3593 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3594 break 2
3596 done
3597 done
3598 IFS=$as_save_IFS
3602 CC=$ac_cv_prog_CC
3603 if test -n "$CC"; then
3604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3605 $as_echo "$CC" >&6; }
3606 else
3607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3608 $as_echo "no" >&6; }
3613 if test -z "$ac_cv_prog_CC"; then
3614 ac_ct_CC=$CC
3615 # Extract the first word of "gcc", so it can be a program name with args.
3616 set dummy gcc; ac_word=$2
3617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3618 $as_echo_n "checking for $ac_word... " >&6; }
3619 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3620 $as_echo_n "(cached) " >&6
3621 else
3622 if test -n "$ac_ct_CC"; then
3623 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3624 else
3625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3626 for as_dir in $PATH
3628 IFS=$as_save_IFS
3629 test -z "$as_dir" && as_dir=.
3630 for ac_exec_ext in '' $ac_executable_extensions; do
3631 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3632 ac_cv_prog_ac_ct_CC="gcc"
3633 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3634 break 2
3636 done
3637 done
3638 IFS=$as_save_IFS
3642 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3643 if test -n "$ac_ct_CC"; then
3644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3645 $as_echo "$ac_ct_CC" >&6; }
3646 else
3647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3648 $as_echo "no" >&6; }
3651 if test "x$ac_ct_CC" = x; then
3652 CC=""
3653 else
3654 case $cross_compiling:$ac_tool_warned in
3655 yes:)
3656 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3657 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3658 ac_tool_warned=yes ;;
3659 esac
3660 CC=$ac_ct_CC
3662 else
3663 CC="$ac_cv_prog_CC"
3666 if test -z "$CC"; then
3667 if test -n "$ac_tool_prefix"; then
3668 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3669 set dummy ${ac_tool_prefix}cc; ac_word=$2
3670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3671 $as_echo_n "checking for $ac_word... " >&6; }
3672 if test "${ac_cv_prog_CC+set}" = set; then :
3673 $as_echo_n "(cached) " >&6
3674 else
3675 if test -n "$CC"; then
3676 ac_cv_prog_CC="$CC" # Let the user override the test.
3677 else
3678 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3679 for as_dir in $PATH
3681 IFS=$as_save_IFS
3682 test -z "$as_dir" && as_dir=.
3683 for ac_exec_ext in '' $ac_executable_extensions; do
3684 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3685 ac_cv_prog_CC="${ac_tool_prefix}cc"
3686 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3687 break 2
3689 done
3690 done
3691 IFS=$as_save_IFS
3695 CC=$ac_cv_prog_CC
3696 if test -n "$CC"; then
3697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3698 $as_echo "$CC" >&6; }
3699 else
3700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3701 $as_echo "no" >&6; }
3707 if test -z "$CC"; then
3708 # Extract the first word of "cc", so it can be a program name with args.
3709 set dummy cc; ac_word=$2
3710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3711 $as_echo_n "checking for $ac_word... " >&6; }
3712 if test "${ac_cv_prog_CC+set}" = set; then :
3713 $as_echo_n "(cached) " >&6
3714 else
3715 if test -n "$CC"; then
3716 ac_cv_prog_CC="$CC" # Let the user override the test.
3717 else
3718 ac_prog_rejected=no
3719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3720 for as_dir in $PATH
3722 IFS=$as_save_IFS
3723 test -z "$as_dir" && as_dir=.
3724 for ac_exec_ext in '' $ac_executable_extensions; do
3725 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3726 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3727 ac_prog_rejected=yes
3728 continue
3730 ac_cv_prog_CC="cc"
3731 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3732 break 2
3734 done
3735 done
3736 IFS=$as_save_IFS
3738 if test $ac_prog_rejected = yes; then
3739 # We found a bogon in the path, so make sure we never use it.
3740 set dummy $ac_cv_prog_CC
3741 shift
3742 if test $# != 0; then
3743 # We chose a different compiler from the bogus one.
3744 # However, it has the same basename, so the bogon will be chosen
3745 # first if we set CC to just the basename; use the full file name.
3746 shift
3747 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3752 CC=$ac_cv_prog_CC
3753 if test -n "$CC"; then
3754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3755 $as_echo "$CC" >&6; }
3756 else
3757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3758 $as_echo "no" >&6; }
3763 if test -z "$CC"; then
3764 if test -n "$ac_tool_prefix"; then
3765 for ac_prog in cl.exe
3767 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3768 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3770 $as_echo_n "checking for $ac_word... " >&6; }
3771 if test "${ac_cv_prog_CC+set}" = set; then :
3772 $as_echo_n "(cached) " >&6
3773 else
3774 if test -n "$CC"; then
3775 ac_cv_prog_CC="$CC" # Let the user override the test.
3776 else
3777 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3778 for as_dir in $PATH
3780 IFS=$as_save_IFS
3781 test -z "$as_dir" && as_dir=.
3782 for ac_exec_ext in '' $ac_executable_extensions; do
3783 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3784 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3785 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3786 break 2
3788 done
3789 done
3790 IFS=$as_save_IFS
3794 CC=$ac_cv_prog_CC
3795 if test -n "$CC"; then
3796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3797 $as_echo "$CC" >&6; }
3798 else
3799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3800 $as_echo "no" >&6; }
3804 test -n "$CC" && break
3805 done
3807 if test -z "$CC"; then
3808 ac_ct_CC=$CC
3809 for ac_prog in cl.exe
3811 # Extract the first word of "$ac_prog", so it can be a program name with args.
3812 set dummy $ac_prog; ac_word=$2
3813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3814 $as_echo_n "checking for $ac_word... " >&6; }
3815 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3816 $as_echo_n "(cached) " >&6
3817 else
3818 if test -n "$ac_ct_CC"; then
3819 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3820 else
3821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3822 for as_dir in $PATH
3824 IFS=$as_save_IFS
3825 test -z "$as_dir" && as_dir=.
3826 for ac_exec_ext in '' $ac_executable_extensions; do
3827 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3828 ac_cv_prog_ac_ct_CC="$ac_prog"
3829 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3830 break 2
3832 done
3833 done
3834 IFS=$as_save_IFS
3838 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3839 if test -n "$ac_ct_CC"; then
3840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3841 $as_echo "$ac_ct_CC" >&6; }
3842 else
3843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3844 $as_echo "no" >&6; }
3848 test -n "$ac_ct_CC" && break
3849 done
3851 if test "x$ac_ct_CC" = x; then
3852 CC=""
3853 else
3854 case $cross_compiling:$ac_tool_warned in
3855 yes:)
3856 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3857 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3858 ac_tool_warned=yes ;;
3859 esac
3860 CC=$ac_ct_CC
3867 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3868 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3869 as_fn_error "no acceptable C compiler found in \$PATH
3870 See \`config.log' for more details." "$LINENO" 5; }
3872 # Provide some information about the compiler.
3873 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3874 set X $ac_compile
3875 ac_compiler=$2
3876 for ac_option in --version -v -V -qversion; do
3877 { { ac_try="$ac_compiler $ac_option >&5"
3878 case "(($ac_try" in
3879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3880 *) ac_try_echo=$ac_try;;
3881 esac
3882 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3883 $as_echo "$ac_try_echo"; } >&5
3884 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3885 ac_status=$?
3886 if test -s conftest.err; then
3887 sed '10a\
3888 ... rest of stderr output deleted ...
3889 10q' conftest.err >conftest.er1
3890 cat conftest.er1 >&5
3891 rm -f conftest.er1 conftest.err
3893 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3894 test $ac_status = 0; }
3895 done
3897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3898 /* end confdefs.h. */
3901 main ()
3905 return 0;
3907 _ACEOF
3908 # FIXME: Cleanup?
3909 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3910 (eval $ac_link) 2>&5
3911 ac_status=$?
3912 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3913 test $ac_status = 0; }; then :
3914 gcc_no_link=no
3915 else
3916 gcc_no_link=yes
3918 if test x$gcc_no_link = xyes; then
3919 # Setting cross_compile will disable run tests; it will
3920 # also disable AC_CHECK_FILE but that's generally
3921 # correct if we can't link.
3922 cross_compiling=yes
3923 EXEEXT=
3924 else
3925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3926 /* end confdefs.h. */
3929 main ()
3933 return 0;
3935 _ACEOF
3936 ac_clean_files_save=$ac_clean_files
3937 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3938 # Try to create an executable without -o first, disregard a.out.
3939 # It will help us diagnose broken compilers, and finding out an intuition
3940 # of exeext.
3941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3942 $as_echo_n "checking for C compiler default output file name... " >&6; }
3943 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3945 # The possible output files:
3946 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3948 ac_rmfiles=
3949 for ac_file in $ac_files
3951 case $ac_file in
3952 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3953 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3954 esac
3955 done
3956 rm -f $ac_rmfiles
3958 if { { ac_try="$ac_link_default"
3959 case "(($ac_try" in
3960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3961 *) ac_try_echo=$ac_try;;
3962 esac
3963 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3964 $as_echo "$ac_try_echo"; } >&5
3965 (eval "$ac_link_default") 2>&5
3966 ac_status=$?
3967 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3968 test $ac_status = 0; }; then :
3969 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3970 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3971 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3972 # so that the user can short-circuit this test for compilers unknown to
3973 # Autoconf.
3974 for ac_file in $ac_files ''
3976 test -f "$ac_file" || continue
3977 case $ac_file in
3978 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3980 [ab].out )
3981 # We found the default executable, but exeext='' is most
3982 # certainly right.
3983 break;;
3984 *.* )
3985 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3986 then :; else
3987 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3989 # We set ac_cv_exeext here because the later test for it is not
3990 # safe: cross compilers may not add the suffix if given an `-o'
3991 # argument, so we may need to know it at that point already.
3992 # Even if this section looks crufty: it has the advantage of
3993 # actually working.
3994 break;;
3996 break;;
3997 esac
3998 done
3999 test "$ac_cv_exeext" = no && ac_cv_exeext=
4001 else
4002 ac_file=''
4004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4005 $as_echo "$ac_file" >&6; }
4006 if test -z "$ac_file"; then :
4007 $as_echo "$as_me: failed program was:" >&5
4008 sed 's/^/| /' conftest.$ac_ext >&5
4010 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4011 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4012 { as_fn_set_status 77
4013 as_fn_error "C compiler cannot create executables
4014 See \`config.log' for more details." "$LINENO" 5; }; }
4016 ac_exeext=$ac_cv_exeext
4018 # Check that the compiler produces executables we can run. If not, either
4019 # the compiler is broken, or we cross compile.
4020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4021 $as_echo_n "checking whether the C compiler works... " >&6; }
4022 # If not cross compiling, check that we can run a simple program.
4023 if test "$cross_compiling" != yes; then
4024 if { ac_try='./$ac_file'
4025 { { case "(($ac_try" in
4026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4027 *) ac_try_echo=$ac_try;;
4028 esac
4029 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4030 $as_echo "$ac_try_echo"; } >&5
4031 (eval "$ac_try") 2>&5
4032 ac_status=$?
4033 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4034 test $ac_status = 0; }; }; then
4035 cross_compiling=no
4036 else
4037 if test "$cross_compiling" = maybe; then
4038 cross_compiling=yes
4039 else
4040 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4041 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4042 as_fn_error "cannot run C compiled programs.
4043 If you meant to cross compile, use \`--host'.
4044 See \`config.log' for more details." "$LINENO" 5; }
4048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4049 $as_echo "yes" >&6; }
4051 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4052 ac_clean_files=$ac_clean_files_save
4053 # Check that the compiler produces executables we can run. If not, either
4054 # the compiler is broken, or we cross compile.
4055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4056 $as_echo_n "checking whether we are cross compiling... " >&6; }
4057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4058 $as_echo "$cross_compiling" >&6; }
4060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4061 $as_echo_n "checking for suffix of executables... " >&6; }
4062 if { { ac_try="$ac_link"
4063 case "(($ac_try" in
4064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4065 *) ac_try_echo=$ac_try;;
4066 esac
4067 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4068 $as_echo "$ac_try_echo"; } >&5
4069 (eval "$ac_link") 2>&5
4070 ac_status=$?
4071 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4072 test $ac_status = 0; }; then :
4073 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4074 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4075 # work properly (i.e., refer to `conftest.exe'), while it won't with
4076 # `rm'.
4077 for ac_file in conftest.exe conftest conftest.*; do
4078 test -f "$ac_file" || continue
4079 case $ac_file in
4080 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4081 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4082 break;;
4083 * ) break;;
4084 esac
4085 done
4086 else
4087 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4088 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4089 as_fn_error "cannot compute suffix of executables: cannot compile and link
4090 See \`config.log' for more details." "$LINENO" 5; }
4092 rm -f conftest$ac_cv_exeext
4093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4094 $as_echo "$ac_cv_exeext" >&6; }
4096 rm -f conftest.$ac_ext
4097 EXEEXT=$ac_cv_exeext
4098 ac_exeext=$EXEEXT
4100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4101 $as_echo_n "checking for suffix of object files... " >&6; }
4102 if test "${ac_cv_objext+set}" = set; then :
4103 $as_echo_n "(cached) " >&6
4104 else
4105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4106 /* end confdefs.h. */
4109 main ()
4113 return 0;
4115 _ACEOF
4116 rm -f conftest.o conftest.obj
4117 if { { ac_try="$ac_compile"
4118 case "(($ac_try" in
4119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4120 *) ac_try_echo=$ac_try;;
4121 esac
4122 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4123 $as_echo "$ac_try_echo"; } >&5
4124 (eval "$ac_compile") 2>&5
4125 ac_status=$?
4126 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4127 test $ac_status = 0; }; then :
4128 for ac_file in conftest.o conftest.obj conftest.*; do
4129 test -f "$ac_file" || continue;
4130 case $ac_file in
4131 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4132 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4133 break;;
4134 esac
4135 done
4136 else
4137 $as_echo "$as_me: failed program was:" >&5
4138 sed 's/^/| /' conftest.$ac_ext >&5
4140 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4141 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4142 as_fn_error "cannot compute suffix of object files: cannot compile
4143 See \`config.log' for more details." "$LINENO" 5; }
4145 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4148 $as_echo "$ac_cv_objext" >&6; }
4149 OBJEXT=$ac_cv_objext
4150 ac_objext=$OBJEXT
4151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4152 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4153 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4154 $as_echo_n "(cached) " >&6
4155 else
4156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4157 /* end confdefs.h. */
4160 main ()
4162 #ifndef __GNUC__
4163 choke me
4164 #endif
4167 return 0;
4169 _ACEOF
4170 if ac_fn_c_try_compile "$LINENO"; then :
4171 ac_compiler_gnu=yes
4172 else
4173 ac_compiler_gnu=no
4175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4176 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4180 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4181 if test $ac_compiler_gnu = yes; then
4182 GCC=yes
4183 else
4184 GCC=
4186 ac_test_CFLAGS=${CFLAGS+set}
4187 ac_save_CFLAGS=$CFLAGS
4188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4189 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4190 if test "${ac_cv_prog_cc_g+set}" = set; then :
4191 $as_echo_n "(cached) " >&6
4192 else
4193 ac_save_c_werror_flag=$ac_c_werror_flag
4194 ac_c_werror_flag=yes
4195 ac_cv_prog_cc_g=no
4196 CFLAGS="-g"
4197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4198 /* end confdefs.h. */
4201 main ()
4205 return 0;
4207 _ACEOF
4208 if ac_fn_c_try_compile "$LINENO"; then :
4209 ac_cv_prog_cc_g=yes
4210 else
4211 CFLAGS=""
4212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4213 /* end confdefs.h. */
4216 main ()
4220 return 0;
4222 _ACEOF
4223 if ac_fn_c_try_compile "$LINENO"; then :
4225 else
4226 ac_c_werror_flag=$ac_save_c_werror_flag
4227 CFLAGS="-g"
4228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4229 /* end confdefs.h. */
4232 main ()
4236 return 0;
4238 _ACEOF
4239 if ac_fn_c_try_compile "$LINENO"; then :
4240 ac_cv_prog_cc_g=yes
4242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4247 ac_c_werror_flag=$ac_save_c_werror_flag
4249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4250 $as_echo "$ac_cv_prog_cc_g" >&6; }
4251 if test "$ac_test_CFLAGS" = set; then
4252 CFLAGS=$ac_save_CFLAGS
4253 elif test $ac_cv_prog_cc_g = yes; then
4254 if test "$GCC" = yes; then
4255 CFLAGS="-g -O2"
4256 else
4257 CFLAGS="-g"
4259 else
4260 if test "$GCC" = yes; then
4261 CFLAGS="-O2"
4262 else
4263 CFLAGS=
4266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4267 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4268 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4269 $as_echo_n "(cached) " >&6
4270 else
4271 ac_cv_prog_cc_c89=no
4272 ac_save_CC=$CC
4273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4274 /* end confdefs.h. */
4275 #include <stdarg.h>
4276 #include <stdio.h>
4277 #include <sys/types.h>
4278 #include <sys/stat.h>
4279 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4280 struct buf { int x; };
4281 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4282 static char *e (p, i)
4283 char **p;
4284 int i;
4286 return p[i];
4288 static char *f (char * (*g) (char **, int), char **p, ...)
4290 char *s;
4291 va_list v;
4292 va_start (v,p);
4293 s = g (p, va_arg (v,int));
4294 va_end (v);
4295 return s;
4298 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4299 function prototypes and stuff, but not '\xHH' hex character constants.
4300 These don't provoke an error unfortunately, instead are silently treated
4301 as 'x'. The following induces an error, until -std is added to get
4302 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4303 array size at least. It's necessary to write '\x00'==0 to get something
4304 that's true only with -std. */
4305 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4307 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4308 inside strings and character constants. */
4309 #define FOO(x) 'x'
4310 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4312 int test (int i, double x);
4313 struct s1 {int (*f) (int a);};
4314 struct s2 {int (*f) (double a);};
4315 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4316 int argc;
4317 char **argv;
4319 main ()
4321 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4323 return 0;
4325 _ACEOF
4326 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4327 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4329 CC="$ac_save_CC $ac_arg"
4330 if ac_fn_c_try_compile "$LINENO"; then :
4331 ac_cv_prog_cc_c89=$ac_arg
4333 rm -f core conftest.err conftest.$ac_objext
4334 test "x$ac_cv_prog_cc_c89" != "xno" && break
4335 done
4336 rm -f conftest.$ac_ext
4337 CC=$ac_save_CC
4340 # AC_CACHE_VAL
4341 case "x$ac_cv_prog_cc_c89" in
4343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4344 $as_echo "none needed" >&6; } ;;
4345 xno)
4346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4347 $as_echo "unsupported" >&6; } ;;
4349 CC="$CC $ac_cv_prog_cc_c89"
4350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4351 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4352 esac
4353 if test "x$ac_cv_prog_cc_c89" != xno; then :
4357 ac_ext=c
4358 ac_cpp='$CPP $CPPFLAGS'
4359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4363 ac_ext=cpp
4364 ac_cpp='$CXXCPP $CPPFLAGS'
4365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4368 if test -z "$CXX"; then
4369 if test -n "$CCC"; then
4370 CXX=$CCC
4371 else
4372 if test -n "$ac_tool_prefix"; then
4373 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4375 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4376 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4378 $as_echo_n "checking for $ac_word... " >&6; }
4379 if test "${ac_cv_prog_CXX+set}" = set; then :
4380 $as_echo_n "(cached) " >&6
4381 else
4382 if test -n "$CXX"; then
4383 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4384 else
4385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4386 for as_dir in $PATH
4388 IFS=$as_save_IFS
4389 test -z "$as_dir" && as_dir=.
4390 for ac_exec_ext in '' $ac_executable_extensions; do
4391 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4392 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4393 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4394 break 2
4396 done
4397 done
4398 IFS=$as_save_IFS
4402 CXX=$ac_cv_prog_CXX
4403 if test -n "$CXX"; then
4404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4405 $as_echo "$CXX" >&6; }
4406 else
4407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4408 $as_echo "no" >&6; }
4412 test -n "$CXX" && break
4413 done
4415 if test -z "$CXX"; then
4416 ac_ct_CXX=$CXX
4417 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4419 # Extract the first word of "$ac_prog", so it can be a program name with args.
4420 set dummy $ac_prog; ac_word=$2
4421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4422 $as_echo_n "checking for $ac_word... " >&6; }
4423 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4424 $as_echo_n "(cached) " >&6
4425 else
4426 if test -n "$ac_ct_CXX"; then
4427 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4428 else
4429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4430 for as_dir in $PATH
4432 IFS=$as_save_IFS
4433 test -z "$as_dir" && as_dir=.
4434 for ac_exec_ext in '' $ac_executable_extensions; do
4435 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4436 ac_cv_prog_ac_ct_CXX="$ac_prog"
4437 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4438 break 2
4440 done
4441 done
4442 IFS=$as_save_IFS
4446 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4447 if test -n "$ac_ct_CXX"; then
4448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4449 $as_echo "$ac_ct_CXX" >&6; }
4450 else
4451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4452 $as_echo "no" >&6; }
4456 test -n "$ac_ct_CXX" && break
4457 done
4459 if test "x$ac_ct_CXX" = x; then
4460 CXX="g++"
4461 else
4462 case $cross_compiling:$ac_tool_warned in
4463 yes:)
4464 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4465 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4466 ac_tool_warned=yes ;;
4467 esac
4468 CXX=$ac_ct_CXX
4474 # Provide some information about the compiler.
4475 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4476 set X $ac_compile
4477 ac_compiler=$2
4478 for ac_option in --version -v -V -qversion; do
4479 { { ac_try="$ac_compiler $ac_option >&5"
4480 case "(($ac_try" in
4481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4482 *) ac_try_echo=$ac_try;;
4483 esac
4484 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4485 $as_echo "$ac_try_echo"; } >&5
4486 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4487 ac_status=$?
4488 if test -s conftest.err; then
4489 sed '10a\
4490 ... rest of stderr output deleted ...
4491 10q' conftest.err >conftest.er1
4492 cat conftest.er1 >&5
4493 rm -f conftest.er1 conftest.err
4495 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4496 test $ac_status = 0; }
4497 done
4499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4500 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4501 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4502 $as_echo_n "(cached) " >&6
4503 else
4504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4505 /* end confdefs.h. */
4508 main ()
4510 #ifndef __GNUC__
4511 choke me
4512 #endif
4515 return 0;
4517 _ACEOF
4518 if ac_fn_cxx_try_compile "$LINENO"; then :
4519 ac_compiler_gnu=yes
4520 else
4521 ac_compiler_gnu=no
4523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4524 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4528 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4529 if test $ac_compiler_gnu = yes; then
4530 GXX=yes
4531 else
4532 GXX=
4534 ac_test_CXXFLAGS=${CXXFLAGS+set}
4535 ac_save_CXXFLAGS=$CXXFLAGS
4536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4537 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4538 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4539 $as_echo_n "(cached) " >&6
4540 else
4541 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4542 ac_cxx_werror_flag=yes
4543 ac_cv_prog_cxx_g=no
4544 CXXFLAGS="-g"
4545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4546 /* end confdefs.h. */
4549 main ()
4553 return 0;
4555 _ACEOF
4556 if ac_fn_cxx_try_compile "$LINENO"; then :
4557 ac_cv_prog_cxx_g=yes
4558 else
4559 CXXFLAGS=""
4560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4561 /* end confdefs.h. */
4564 main ()
4568 return 0;
4570 _ACEOF
4571 if ac_fn_cxx_try_compile "$LINENO"; then :
4573 else
4574 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4575 CXXFLAGS="-g"
4576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4577 /* end confdefs.h. */
4580 main ()
4584 return 0;
4586 _ACEOF
4587 if ac_fn_cxx_try_compile "$LINENO"; then :
4588 ac_cv_prog_cxx_g=yes
4590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4595 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4598 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4599 if test "$ac_test_CXXFLAGS" = set; then
4600 CXXFLAGS=$ac_save_CXXFLAGS
4601 elif test $ac_cv_prog_cxx_g = yes; then
4602 if test "$GXX" = yes; then
4603 CXXFLAGS="-g -O2"
4604 else
4605 CXXFLAGS="-g"
4607 else
4608 if test "$GXX" = yes; then
4609 CXXFLAGS="-O2"
4610 else
4611 CXXFLAGS=
4614 ac_ext=c
4615 ac_cpp='$CPP $CPPFLAGS'
4616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4620 CXXFLAGS="$save_CXXFLAGS"
4622 # Runs configure.host, and assorted other critical bits. Sets
4623 # up critical shell variables.
4625 ac_ext=c
4626 ac_cpp='$CPP $CPPFLAGS'
4627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4631 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4632 # On Suns, sometimes $CPP names a directory.
4633 if test -n "$CPP" && test -d "$CPP"; then
4634 CPP=
4636 if test -z "$CPP"; then
4637 if test "${ac_cv_prog_CPP+set}" = set; then :
4638 $as_echo_n "(cached) " >&6
4639 else
4640 # Double quotes because CPP needs to be expanded
4641 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4643 ac_preproc_ok=false
4644 for ac_c_preproc_warn_flag in '' yes
4646 # Use a header file that comes with gcc, so configuring glibc
4647 # with a fresh cross-compiler works.
4648 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4649 # <limits.h> exists even on freestanding compilers.
4650 # On the NeXT, cc -E runs the code through the compiler's parser,
4651 # not just through cpp. "Syntax error" is here to catch this case.
4652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4653 /* end confdefs.h. */
4654 #ifdef __STDC__
4655 # include <limits.h>
4656 #else
4657 # include <assert.h>
4658 #endif
4659 Syntax error
4660 _ACEOF
4661 if ac_fn_c_try_cpp "$LINENO"; then :
4663 else
4664 # Broken: fails on valid input.
4665 continue
4667 rm -f conftest.err conftest.$ac_ext
4669 # OK, works on sane cases. Now check whether nonexistent headers
4670 # can be detected and how.
4671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4672 /* end confdefs.h. */
4673 #include <ac_nonexistent.h>
4674 _ACEOF
4675 if ac_fn_c_try_cpp "$LINENO"; then :
4676 # Broken: success on invalid input.
4677 continue
4678 else
4679 # Passes both tests.
4680 ac_preproc_ok=:
4681 break
4683 rm -f conftest.err conftest.$ac_ext
4685 done
4686 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4687 rm -f conftest.err conftest.$ac_ext
4688 if $ac_preproc_ok; then :
4689 break
4692 done
4693 ac_cv_prog_CPP=$CPP
4696 CPP=$ac_cv_prog_CPP
4697 else
4698 ac_cv_prog_CPP=$CPP
4700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4701 $as_echo "$CPP" >&6; }
4702 ac_preproc_ok=false
4703 for ac_c_preproc_warn_flag in '' yes
4705 # Use a header file that comes with gcc, so configuring glibc
4706 # with a fresh cross-compiler works.
4707 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4708 # <limits.h> exists even on freestanding compilers.
4709 # On the NeXT, cc -E runs the code through the compiler's parser,
4710 # not just through cpp. "Syntax error" is here to catch this case.
4711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4712 /* end confdefs.h. */
4713 #ifdef __STDC__
4714 # include <limits.h>
4715 #else
4716 # include <assert.h>
4717 #endif
4718 Syntax error
4719 _ACEOF
4720 if ac_fn_c_try_cpp "$LINENO"; then :
4722 else
4723 # Broken: fails on valid input.
4724 continue
4726 rm -f conftest.err conftest.$ac_ext
4728 # OK, works on sane cases. Now check whether nonexistent headers
4729 # can be detected and how.
4730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4731 /* end confdefs.h. */
4732 #include <ac_nonexistent.h>
4733 _ACEOF
4734 if ac_fn_c_try_cpp "$LINENO"; then :
4735 # Broken: success on invalid input.
4736 continue
4737 else
4738 # Passes both tests.
4739 ac_preproc_ok=:
4740 break
4742 rm -f conftest.err conftest.$ac_ext
4744 done
4745 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4746 rm -f conftest.err conftest.$ac_ext
4747 if $ac_preproc_ok; then :
4749 else
4750 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4751 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4752 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4753 See \`config.log' for more details." "$LINENO" 5; }
4756 ac_ext=c
4757 ac_cpp='$CPP $CPPFLAGS'
4758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4764 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4765 if test "${ac_cv_path_GREP+set}" = set; then :
4766 $as_echo_n "(cached) " >&6
4767 else
4768 if test -z "$GREP"; then
4769 ac_path_GREP_found=false
4770 # Loop through the user's path and test for each of PROGNAME-LIST
4771 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4772 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4774 IFS=$as_save_IFS
4775 test -z "$as_dir" && as_dir=.
4776 for ac_prog in grep ggrep; do
4777 for ac_exec_ext in '' $ac_executable_extensions; do
4778 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4779 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4780 # Check for GNU ac_path_GREP and select it if it is found.
4781 # Check for GNU $ac_path_GREP
4782 case `"$ac_path_GREP" --version 2>&1` in
4783 *GNU*)
4784 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4786 ac_count=0
4787 $as_echo_n 0123456789 >"conftest.in"
4788 while :
4790 cat "conftest.in" "conftest.in" >"conftest.tmp"
4791 mv "conftest.tmp" "conftest.in"
4792 cp "conftest.in" "conftest.nl"
4793 $as_echo 'GREP' >> "conftest.nl"
4794 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4795 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4796 as_fn_arith $ac_count + 1 && ac_count=$as_val
4797 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4798 # Best one so far, save it but keep looking for a better one
4799 ac_cv_path_GREP="$ac_path_GREP"
4800 ac_path_GREP_max=$ac_count
4802 # 10*(2^10) chars as input seems more than enough
4803 test $ac_count -gt 10 && break
4804 done
4805 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4806 esac
4808 $ac_path_GREP_found && break 3
4809 done
4810 done
4811 done
4812 IFS=$as_save_IFS
4813 if test -z "$ac_cv_path_GREP"; then
4814 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4816 else
4817 ac_cv_path_GREP=$GREP
4821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4822 $as_echo "$ac_cv_path_GREP" >&6; }
4823 GREP="$ac_cv_path_GREP"
4826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4827 $as_echo_n "checking for egrep... " >&6; }
4828 if test "${ac_cv_path_EGREP+set}" = set; then :
4829 $as_echo_n "(cached) " >&6
4830 else
4831 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4832 then ac_cv_path_EGREP="$GREP -E"
4833 else
4834 if test -z "$EGREP"; then
4835 ac_path_EGREP_found=false
4836 # Loop through the user's path and test for each of PROGNAME-LIST
4837 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4838 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4840 IFS=$as_save_IFS
4841 test -z "$as_dir" && as_dir=.
4842 for ac_prog in egrep; do
4843 for ac_exec_ext in '' $ac_executable_extensions; do
4844 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4845 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4846 # Check for GNU ac_path_EGREP and select it if it is found.
4847 # Check for GNU $ac_path_EGREP
4848 case `"$ac_path_EGREP" --version 2>&1` in
4849 *GNU*)
4850 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4852 ac_count=0
4853 $as_echo_n 0123456789 >"conftest.in"
4854 while :
4856 cat "conftest.in" "conftest.in" >"conftest.tmp"
4857 mv "conftest.tmp" "conftest.in"
4858 cp "conftest.in" "conftest.nl"
4859 $as_echo 'EGREP' >> "conftest.nl"
4860 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4861 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4862 as_fn_arith $ac_count + 1 && ac_count=$as_val
4863 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4864 # Best one so far, save it but keep looking for a better one
4865 ac_cv_path_EGREP="$ac_path_EGREP"
4866 ac_path_EGREP_max=$ac_count
4868 # 10*(2^10) chars as input seems more than enough
4869 test $ac_count -gt 10 && break
4870 done
4871 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4872 esac
4874 $ac_path_EGREP_found && break 3
4875 done
4876 done
4877 done
4878 IFS=$as_save_IFS
4879 if test -z "$ac_cv_path_EGREP"; then
4880 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4882 else
4883 ac_cv_path_EGREP=$EGREP
4888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4889 $as_echo "$ac_cv_path_EGREP" >&6; }
4890 EGREP="$ac_cv_path_EGREP"
4894 # Keep these sync'd with the list in Makefile.am. The first provides an
4895 # expandable list at autoconf time; the second provides an expandable list
4896 # (i.e., shell variable) at configure time.
4898 SUBDIRS='include libsupc++ python src src/c++98 src/c++11 doc po testsuite'
4900 # These need to be absolute paths, yet at the same time need to
4901 # canonicalize only relative paths, because then amd will not unmount
4902 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
4903 glibcxx_builddir=`${PWDCMD-pwd}`
4904 case $srcdir in
4905 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
4906 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
4907 esac
4908 toplevel_builddir=${glibcxx_builddir}/..
4909 toplevel_srcdir=${glibcxx_srcdir}/..
4915 # We use these options to decide which functions to include. They are
4916 # set from the top level.
4918 # Check whether --with-target-subdir was given.
4919 if test "${with_target_subdir+set}" = set; then :
4920 withval=$with_target_subdir;
4925 # Check whether --with-cross-host was given.
4926 if test "${with_cross_host+set}" = set; then :
4927 withval=$with_cross_host;
4932 # Check whether --with-newlib was given.
4933 if test "${with_newlib+set}" = set; then :
4934 withval=$with_newlib;
4938 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
4939 # available). Uncomment the next line to force a particular method.
4940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4941 $as_echo_n "checking whether ln -s works... " >&6; }
4942 LN_S=$as_ln_s
4943 if test "$LN_S" = "ln -s"; then
4944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4945 $as_echo "yes" >&6; }
4946 else
4947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4948 $as_echo "no, using $LN_S" >&6; }
4951 #LN_S='cp -p'
4953 if test -n "$ac_tool_prefix"; then
4954 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4955 set dummy ${ac_tool_prefix}as; ac_word=$2
4956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4957 $as_echo_n "checking for $ac_word... " >&6; }
4958 if test "${ac_cv_prog_AS+set}" = set; then :
4959 $as_echo_n "(cached) " >&6
4960 else
4961 if test -n "$AS"; then
4962 ac_cv_prog_AS="$AS" # Let the user override the test.
4963 else
4964 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4965 for as_dir in $PATH
4967 IFS=$as_save_IFS
4968 test -z "$as_dir" && as_dir=.
4969 for ac_exec_ext in '' $ac_executable_extensions; do
4970 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4971 ac_cv_prog_AS="${ac_tool_prefix}as"
4972 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4973 break 2
4975 done
4976 done
4977 IFS=$as_save_IFS
4981 AS=$ac_cv_prog_AS
4982 if test -n "$AS"; then
4983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4984 $as_echo "$AS" >&6; }
4985 else
4986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4987 $as_echo "no" >&6; }
4992 if test -z "$ac_cv_prog_AS"; then
4993 ac_ct_AS=$AS
4994 # Extract the first word of "as", so it can be a program name with args.
4995 set dummy as; ac_word=$2
4996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4997 $as_echo_n "checking for $ac_word... " >&6; }
4998 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
4999 $as_echo_n "(cached) " >&6
5000 else
5001 if test -n "$ac_ct_AS"; then
5002 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5003 else
5004 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5005 for as_dir in $PATH
5007 IFS=$as_save_IFS
5008 test -z "$as_dir" && as_dir=.
5009 for ac_exec_ext in '' $ac_executable_extensions; do
5010 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5011 ac_cv_prog_ac_ct_AS="as"
5012 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5013 break 2
5015 done
5016 done
5017 IFS=$as_save_IFS
5021 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5022 if test -n "$ac_ct_AS"; then
5023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5024 $as_echo "$ac_ct_AS" >&6; }
5025 else
5026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5027 $as_echo "no" >&6; }
5030 if test "x$ac_ct_AS" = x; then
5031 AS=""
5032 else
5033 case $cross_compiling:$ac_tool_warned in
5034 yes:)
5035 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5036 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5037 ac_tool_warned=yes ;;
5038 esac
5039 AS=$ac_ct_AS
5041 else
5042 AS="$ac_cv_prog_AS"
5045 if test -n "$ac_tool_prefix"; then
5046 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5047 set dummy ${ac_tool_prefix}ar; ac_word=$2
5048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5049 $as_echo_n "checking for $ac_word... " >&6; }
5050 if test "${ac_cv_prog_AR+set}" = set; then :
5051 $as_echo_n "(cached) " >&6
5052 else
5053 if test -n "$AR"; then
5054 ac_cv_prog_AR="$AR" # Let the user override the test.
5055 else
5056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5057 for as_dir in $PATH
5059 IFS=$as_save_IFS
5060 test -z "$as_dir" && as_dir=.
5061 for ac_exec_ext in '' $ac_executable_extensions; do
5062 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5063 ac_cv_prog_AR="${ac_tool_prefix}ar"
5064 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5065 break 2
5067 done
5068 done
5069 IFS=$as_save_IFS
5073 AR=$ac_cv_prog_AR
5074 if test -n "$AR"; then
5075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5076 $as_echo "$AR" >&6; }
5077 else
5078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5079 $as_echo "no" >&6; }
5084 if test -z "$ac_cv_prog_AR"; then
5085 ac_ct_AR=$AR
5086 # Extract the first word of "ar", so it can be a program name with args.
5087 set dummy ar; ac_word=$2
5088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5089 $as_echo_n "checking for $ac_word... " >&6; }
5090 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5091 $as_echo_n "(cached) " >&6
5092 else
5093 if test -n "$ac_ct_AR"; then
5094 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5095 else
5096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5097 for as_dir in $PATH
5099 IFS=$as_save_IFS
5100 test -z "$as_dir" && as_dir=.
5101 for ac_exec_ext in '' $ac_executable_extensions; do
5102 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5103 ac_cv_prog_ac_ct_AR="ar"
5104 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5105 break 2
5107 done
5108 done
5109 IFS=$as_save_IFS
5113 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5114 if test -n "$ac_ct_AR"; then
5115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5116 $as_echo "$ac_ct_AR" >&6; }
5117 else
5118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5119 $as_echo "no" >&6; }
5122 if test "x$ac_ct_AR" = x; then
5123 AR=""
5124 else
5125 case $cross_compiling:$ac_tool_warned in
5126 yes:)
5127 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5128 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5129 ac_tool_warned=yes ;;
5130 esac
5131 AR=$ac_ct_AR
5133 else
5134 AR="$ac_cv_prog_AR"
5137 if test -n "$ac_tool_prefix"; then
5138 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5139 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5141 $as_echo_n "checking for $ac_word... " >&6; }
5142 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5143 $as_echo_n "(cached) " >&6
5144 else
5145 if test -n "$RANLIB"; then
5146 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5147 else
5148 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5149 for as_dir in $PATH
5151 IFS=$as_save_IFS
5152 test -z "$as_dir" && as_dir=.
5153 for ac_exec_ext in '' $ac_executable_extensions; do
5154 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5155 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5156 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5157 break 2
5159 done
5160 done
5161 IFS=$as_save_IFS
5165 RANLIB=$ac_cv_prog_RANLIB
5166 if test -n "$RANLIB"; then
5167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5168 $as_echo "$RANLIB" >&6; }
5169 else
5170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5171 $as_echo "no" >&6; }
5176 if test -z "$ac_cv_prog_RANLIB"; then
5177 ac_ct_RANLIB=$RANLIB
5178 # Extract the first word of "ranlib", so it can be a program name with args.
5179 set dummy ranlib; ac_word=$2
5180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5181 $as_echo_n "checking for $ac_word... " >&6; }
5182 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5183 $as_echo_n "(cached) " >&6
5184 else
5185 if test -n "$ac_ct_RANLIB"; then
5186 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5187 else
5188 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5189 for as_dir in $PATH
5191 IFS=$as_save_IFS
5192 test -z "$as_dir" && as_dir=.
5193 for ac_exec_ext in '' $ac_executable_extensions; do
5194 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5195 ac_cv_prog_ac_ct_RANLIB="ranlib"
5196 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5197 break 2
5199 done
5200 done
5201 IFS=$as_save_IFS
5205 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5206 if test -n "$ac_ct_RANLIB"; then
5207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5208 $as_echo "$ac_ct_RANLIB" >&6; }
5209 else
5210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5211 $as_echo "no" >&6; }
5214 if test "x$ac_ct_RANLIB" = x; then
5215 RANLIB="ranlib-not-found-in-path-error"
5216 else
5217 case $cross_compiling:$ac_tool_warned in
5218 yes:)
5219 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5220 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5221 ac_tool_warned=yes ;;
5222 esac
5223 RANLIB=$ac_ct_RANLIB
5225 else
5226 RANLIB="$ac_cv_prog_RANLIB"
5231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5232 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5233 # Check whether --enable-maintainer-mode was given.
5234 if test "${enable_maintainer_mode+set}" = set; then :
5235 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5236 else
5237 USE_MAINTAINER_MODE=no
5240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5241 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5242 if test $USE_MAINTAINER_MODE = yes; then
5243 MAINTAINER_MODE_TRUE=
5244 MAINTAINER_MODE_FALSE='#'
5245 else
5246 MAINTAINER_MODE_TRUE='#'
5247 MAINTAINER_MODE_FALSE=
5250 MAINT=$MAINTAINER_MODE_TRUE
5254 # Set up safe default values for all subsequent AM_CONDITIONAL tests
5255 # which are themselves conditionally expanded.
5256 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5257 ## other macros from doing the same. This should be automated.) -pme
5259 # Check for C library flavor since GNU/Linux platforms use different
5260 # configuration directories depending on the C library in use.
5261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5262 /* end confdefs.h. */
5264 #include <stdio.h>
5265 #if __UCLIBC__
5266 _using_uclibc
5267 #endif
5269 _ACEOF
5270 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5271 $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5272 uclibc=yes
5273 else
5274 uclibc=no
5276 rm -f conftest*
5279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5280 /* end confdefs.h. */
5282 #include <stdio.h>
5283 #if __BIONIC__
5284 _using_bionic
5285 #endif
5287 _ACEOF
5288 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5289 $EGREP "_using_bionic" >/dev/null 2>&1; then :
5290 bionic=yes
5291 else
5292 bionic=no
5294 rm -f conftest*
5297 # Find platform-specific directories containing configuration info.
5298 # Also possibly modify flags used elsewhere, as needed by the platform.
5300 . $glibcxx_srcdir/configure.host
5301 { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5302 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5303 { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5304 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5308 # Libtool setup.
5309 if test "x${with_newlib}" != "xyes"; then
5310 enable_dlopen=yes
5315 case `pwd` in
5316 *\ * | *\ *)
5317 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5318 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5319 esac
5323 macro_version='2.2.7a'
5324 macro_revision='1.3134'
5338 ltmain="$ac_aux_dir/ltmain.sh"
5340 # Backslashify metacharacters that are still active within
5341 # double-quoted strings.
5342 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5344 # Same as above, but do not quote variable references.
5345 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5347 # Sed substitution to delay expansion of an escaped shell variable in a
5348 # double_quote_subst'ed string.
5349 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5351 # Sed substitution to delay expansion of an escaped single quote.
5352 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5354 # Sed substitution to avoid accidental globbing in evaled expressions
5355 no_glob_subst='s/\*/\\\*/g'
5357 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5358 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5359 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5362 $as_echo_n "checking how to print strings... " >&6; }
5363 # Test print first, because it will be a builtin if present.
5364 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5365 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5366 ECHO='print -r --'
5367 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5368 ECHO='printf %s\n'
5369 else
5370 # Use this function as a fallback that always works.
5371 func_fallback_echo ()
5373 eval 'cat <<_LTECHO_EOF
5375 _LTECHO_EOF'
5377 ECHO='func_fallback_echo'
5380 # func_echo_all arg...
5381 # Invoke $ECHO with all args, space-separated.
5382 func_echo_all ()
5384 $ECHO ""
5387 case "$ECHO" in
5388 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5389 $as_echo "printf" >&6; } ;;
5390 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5391 $as_echo "print -r" >&6; } ;;
5392 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5393 $as_echo "cat" >&6; } ;;
5394 esac
5409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5410 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5411 if test "${ac_cv_path_SED+set}" = set; then :
5412 $as_echo_n "(cached) " >&6
5413 else
5414 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5415 for ac_i in 1 2 3 4 5 6 7; do
5416 ac_script="$ac_script$as_nl$ac_script"
5417 done
5418 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5419 { ac_script=; unset ac_script;}
5420 if test -z "$SED"; then
5421 ac_path_SED_found=false
5422 # Loop through the user's path and test for each of PROGNAME-LIST
5423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5424 for as_dir in $PATH
5426 IFS=$as_save_IFS
5427 test -z "$as_dir" && as_dir=.
5428 for ac_prog in sed gsed; do
5429 for ac_exec_ext in '' $ac_executable_extensions; do
5430 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5431 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5432 # Check for GNU ac_path_SED and select it if it is found.
5433 # Check for GNU $ac_path_SED
5434 case `"$ac_path_SED" --version 2>&1` in
5435 *GNU*)
5436 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5438 ac_count=0
5439 $as_echo_n 0123456789 >"conftest.in"
5440 while :
5442 cat "conftest.in" "conftest.in" >"conftest.tmp"
5443 mv "conftest.tmp" "conftest.in"
5444 cp "conftest.in" "conftest.nl"
5445 $as_echo '' >> "conftest.nl"
5446 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5447 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5448 as_fn_arith $ac_count + 1 && ac_count=$as_val
5449 if test $ac_count -gt ${ac_path_SED_max-0}; then
5450 # Best one so far, save it but keep looking for a better one
5451 ac_cv_path_SED="$ac_path_SED"
5452 ac_path_SED_max=$ac_count
5454 # 10*(2^10) chars as input seems more than enough
5455 test $ac_count -gt 10 && break
5456 done
5457 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5458 esac
5460 $ac_path_SED_found && break 3
5461 done
5462 done
5463 done
5464 IFS=$as_save_IFS
5465 if test -z "$ac_cv_path_SED"; then
5466 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5468 else
5469 ac_cv_path_SED=$SED
5473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5474 $as_echo "$ac_cv_path_SED" >&6; }
5475 SED="$ac_cv_path_SED"
5476 rm -f conftest.sed
5478 test -z "$SED" && SED=sed
5479 Xsed="$SED -e 1s/^X//"
5491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5492 $as_echo_n "checking for fgrep... " >&6; }
5493 if test "${ac_cv_path_FGREP+set}" = set; then :
5494 $as_echo_n "(cached) " >&6
5495 else
5496 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5497 then ac_cv_path_FGREP="$GREP -F"
5498 else
5499 if test -z "$FGREP"; then
5500 ac_path_FGREP_found=false
5501 # Loop through the user's path and test for each of PROGNAME-LIST
5502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5503 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5505 IFS=$as_save_IFS
5506 test -z "$as_dir" && as_dir=.
5507 for ac_prog in fgrep; do
5508 for ac_exec_ext in '' $ac_executable_extensions; do
5509 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5510 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5511 # Check for GNU ac_path_FGREP and select it if it is found.
5512 # Check for GNU $ac_path_FGREP
5513 case `"$ac_path_FGREP" --version 2>&1` in
5514 *GNU*)
5515 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5517 ac_count=0
5518 $as_echo_n 0123456789 >"conftest.in"
5519 while :
5521 cat "conftest.in" "conftest.in" >"conftest.tmp"
5522 mv "conftest.tmp" "conftest.in"
5523 cp "conftest.in" "conftest.nl"
5524 $as_echo 'FGREP' >> "conftest.nl"
5525 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5526 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5527 as_fn_arith $ac_count + 1 && ac_count=$as_val
5528 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5529 # Best one so far, save it but keep looking for a better one
5530 ac_cv_path_FGREP="$ac_path_FGREP"
5531 ac_path_FGREP_max=$ac_count
5533 # 10*(2^10) chars as input seems more than enough
5534 test $ac_count -gt 10 && break
5535 done
5536 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5537 esac
5539 $ac_path_FGREP_found && break 3
5540 done
5541 done
5542 done
5543 IFS=$as_save_IFS
5544 if test -z "$ac_cv_path_FGREP"; then
5545 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5547 else
5548 ac_cv_path_FGREP=$FGREP
5553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5554 $as_echo "$ac_cv_path_FGREP" >&6; }
5555 FGREP="$ac_cv_path_FGREP"
5558 test -z "$GREP" && GREP=grep
5578 # Check whether --with-gnu-ld was given.
5579 if test "${with_gnu_ld+set}" = set; then :
5580 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5581 else
5582 with_gnu_ld=no
5585 ac_prog=ld
5586 if test "$GCC" = yes; then
5587 # Check if gcc -print-prog-name=ld gives a path.
5588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5589 $as_echo_n "checking for ld used by $CC... " >&6; }
5590 case $host in
5591 *-*-mingw*)
5592 # gcc leaves a trailing carriage return which upsets mingw
5593 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5595 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5596 esac
5597 case $ac_prog in
5598 # Accept absolute paths.
5599 [\\/]* | ?:[\\/]*)
5600 re_direlt='/[^/][^/]*/\.\./'
5601 # Canonicalize the pathname of ld
5602 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5603 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5604 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5605 done
5606 test -z "$LD" && LD="$ac_prog"
5609 # If it fails, then pretend we aren't using GCC.
5610 ac_prog=ld
5613 # If it is relative, then search for the first ld in PATH.
5614 with_gnu_ld=unknown
5616 esac
5617 elif test "$with_gnu_ld" = yes; then
5618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5619 $as_echo_n "checking for GNU ld... " >&6; }
5620 else
5621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5622 $as_echo_n "checking for non-GNU ld... " >&6; }
5624 if test "${lt_cv_path_LD+set}" = set; then :
5625 $as_echo_n "(cached) " >&6
5626 else
5627 if test -z "$LD"; then
5628 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5629 for ac_dir in $PATH; do
5630 IFS="$lt_save_ifs"
5631 test -z "$ac_dir" && ac_dir=.
5632 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5633 lt_cv_path_LD="$ac_dir/$ac_prog"
5634 # Check to see if the program is GNU ld. I'd rather use --version,
5635 # but apparently some variants of GNU ld only accept -v.
5636 # Break only if it was the GNU/non-GNU ld that we prefer.
5637 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5638 *GNU* | *'with BFD'*)
5639 test "$with_gnu_ld" != no && break
5642 test "$with_gnu_ld" != yes && break
5644 esac
5646 done
5647 IFS="$lt_save_ifs"
5648 else
5649 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5653 LD="$lt_cv_path_LD"
5654 if test -n "$LD"; then
5655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5656 $as_echo "$LD" >&6; }
5657 else
5658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5659 $as_echo "no" >&6; }
5661 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5663 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5664 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5665 $as_echo_n "(cached) " >&6
5666 else
5667 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5668 case `$LD -v 2>&1 </dev/null` in
5669 *GNU* | *'with BFD'*)
5670 lt_cv_prog_gnu_ld=yes
5673 lt_cv_prog_gnu_ld=no
5675 esac
5677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5678 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5679 with_gnu_ld=$lt_cv_prog_gnu_ld
5689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5690 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5691 if test "${lt_cv_path_NM+set}" = set; then :
5692 $as_echo_n "(cached) " >&6
5693 else
5694 if test -n "$NM"; then
5695 # Let the user override the test.
5696 lt_cv_path_NM="$NM"
5697 else
5698 lt_nm_to_check="${ac_tool_prefix}nm"
5699 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5700 lt_nm_to_check="$lt_nm_to_check nm"
5702 for lt_tmp_nm in $lt_nm_to_check; do
5703 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5704 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5705 IFS="$lt_save_ifs"
5706 test -z "$ac_dir" && ac_dir=.
5707 tmp_nm="$ac_dir/$lt_tmp_nm"
5708 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5709 # Check to see if the nm accepts a BSD-compat flag.
5710 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5711 # nm: unknown option "B" ignored
5712 # Tru64's nm complains that /dev/null is an invalid object file
5713 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5714 */dev/null* | *'Invalid file or object type'*)
5715 lt_cv_path_NM="$tmp_nm -B"
5716 break
5719 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5720 */dev/null*)
5721 lt_cv_path_NM="$tmp_nm -p"
5722 break
5725 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5726 continue # so that we can try to find one that supports BSD flags
5728 esac
5730 esac
5732 done
5733 IFS="$lt_save_ifs"
5734 done
5735 : ${lt_cv_path_NM=no}
5738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5739 $as_echo "$lt_cv_path_NM" >&6; }
5740 if test "$lt_cv_path_NM" != "no"; then
5741 NM="$lt_cv_path_NM"
5742 else
5743 # Didn't find any BSD compatible name lister, look for dumpbin.
5744 if test -n "$DUMPBIN"; then :
5745 # Let the user override the test.
5746 else
5747 if test -n "$ac_tool_prefix"; then
5748 for ac_prog in dumpbin "link -dump"
5750 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5751 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5753 $as_echo_n "checking for $ac_word... " >&6; }
5754 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5755 $as_echo_n "(cached) " >&6
5756 else
5757 if test -n "$DUMPBIN"; then
5758 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5759 else
5760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5761 for as_dir in $PATH
5763 IFS=$as_save_IFS
5764 test -z "$as_dir" && as_dir=.
5765 for ac_exec_ext in '' $ac_executable_extensions; do
5766 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5767 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5768 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5769 break 2
5771 done
5772 done
5773 IFS=$as_save_IFS
5777 DUMPBIN=$ac_cv_prog_DUMPBIN
5778 if test -n "$DUMPBIN"; then
5779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5780 $as_echo "$DUMPBIN" >&6; }
5781 else
5782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5783 $as_echo "no" >&6; }
5787 test -n "$DUMPBIN" && break
5788 done
5790 if test -z "$DUMPBIN"; then
5791 ac_ct_DUMPBIN=$DUMPBIN
5792 for ac_prog in dumpbin "link -dump"
5794 # Extract the first word of "$ac_prog", so it can be a program name with args.
5795 set dummy $ac_prog; ac_word=$2
5796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5797 $as_echo_n "checking for $ac_word... " >&6; }
5798 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5799 $as_echo_n "(cached) " >&6
5800 else
5801 if test -n "$ac_ct_DUMPBIN"; then
5802 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5803 else
5804 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5805 for as_dir in $PATH
5807 IFS=$as_save_IFS
5808 test -z "$as_dir" && as_dir=.
5809 for ac_exec_ext in '' $ac_executable_extensions; do
5810 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5811 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5812 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5813 break 2
5815 done
5816 done
5817 IFS=$as_save_IFS
5821 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5822 if test -n "$ac_ct_DUMPBIN"; then
5823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5824 $as_echo "$ac_ct_DUMPBIN" >&6; }
5825 else
5826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5827 $as_echo "no" >&6; }
5831 test -n "$ac_ct_DUMPBIN" && break
5832 done
5834 if test "x$ac_ct_DUMPBIN" = x; then
5835 DUMPBIN=":"
5836 else
5837 case $cross_compiling:$ac_tool_warned in
5838 yes:)
5839 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5840 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5841 ac_tool_warned=yes ;;
5842 esac
5843 DUMPBIN=$ac_ct_DUMPBIN
5847 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5848 *COFF*)
5849 DUMPBIN="$DUMPBIN -symbols"
5852 DUMPBIN=:
5854 esac
5857 if test "$DUMPBIN" != ":"; then
5858 NM="$DUMPBIN"
5861 test -z "$NM" && NM=nm
5868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5869 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5870 if test "${lt_cv_nm_interface+set}" = set; then :
5871 $as_echo_n "(cached) " >&6
5872 else
5873 lt_cv_nm_interface="BSD nm"
5874 echo "int some_variable = 0;" > conftest.$ac_ext
5875 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5876 (eval "$ac_compile" 2>conftest.err)
5877 cat conftest.err >&5
5878 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5879 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5880 cat conftest.err >&5
5881 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5882 cat conftest.out >&5
5883 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5884 lt_cv_nm_interface="MS dumpbin"
5886 rm -f conftest*
5888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5889 $as_echo "$lt_cv_nm_interface" >&6; }
5891 # find the maximum length of command line arguments
5892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5893 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5894 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5895 $as_echo_n "(cached) " >&6
5896 else
5898 teststring="ABCD"
5900 case $build_os in
5901 msdosdjgpp*)
5902 # On DJGPP, this test can blow up pretty badly due to problems in libc
5903 # (any single argument exceeding 2000 bytes causes a buffer overrun
5904 # during glob expansion). Even if it were fixed, the result of this
5905 # check would be larger than it should be.
5906 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5909 gnu*)
5910 # Under GNU Hurd, this test is not required because there is
5911 # no limit to the length of command line arguments.
5912 # Libtool will interpret -1 as no limit whatsoever
5913 lt_cv_sys_max_cmd_len=-1;
5916 cygwin* | mingw* | cegcc*)
5917 # On Win9x/ME, this test blows up -- it succeeds, but takes
5918 # about 5 minutes as the teststring grows exponentially.
5919 # Worse, since 9x/ME are not pre-emptively multitasking,
5920 # you end up with a "frozen" computer, even though with patience
5921 # the test eventually succeeds (with a max line length of 256k).
5922 # Instead, let's just punt: use the minimum linelength reported by
5923 # all of the supported platforms: 8192 (on NT/2K/XP).
5924 lt_cv_sys_max_cmd_len=8192;
5927 mint*)
5928 # On MiNT this can take a long time and run out of memory.
5929 lt_cv_sys_max_cmd_len=8192;
5932 amigaos*)
5933 # On AmigaOS with pdksh, this test takes hours, literally.
5934 # So we just punt and use a minimum line length of 8192.
5935 lt_cv_sys_max_cmd_len=8192;
5938 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5939 # This has been around since 386BSD, at least. Likely further.
5940 if test -x /sbin/sysctl; then
5941 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5942 elif test -x /usr/sbin/sysctl; then
5943 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5944 else
5945 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5947 # And add a safety zone
5948 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5949 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5952 interix*)
5953 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5954 lt_cv_sys_max_cmd_len=196608
5957 osf*)
5958 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5959 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5960 # nice to cause kernel panics so lets avoid the loop below.
5961 # First set a reasonable default.
5962 lt_cv_sys_max_cmd_len=16384
5964 if test -x /sbin/sysconfig; then
5965 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5966 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5967 esac
5970 sco3.2v5*)
5971 lt_cv_sys_max_cmd_len=102400
5973 sysv5* | sco5v6* | sysv4.2uw2*)
5974 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5975 if test -n "$kargmax"; then
5976 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5977 else
5978 lt_cv_sys_max_cmd_len=32768
5982 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5983 if test -n "$lt_cv_sys_max_cmd_len"; then
5984 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5985 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5986 else
5987 # Make teststring a little bigger before we do anything with it.
5988 # a 1K string should be a reasonable start.
5989 for i in 1 2 3 4 5 6 7 8 ; do
5990 teststring=$teststring$teststring
5991 done
5992 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5993 # If test is not a shell built-in, we'll probably end up computing a
5994 # maximum length that is only half of the actual maximum length, but
5995 # we can't tell.
5996 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5997 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5998 test $i != 17 # 1/2 MB should be enough
6000 i=`expr $i + 1`
6001 teststring=$teststring$teststring
6002 done
6003 # Only check the string length outside the loop.
6004 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6005 teststring=
6006 # Add a significant safety factor because C++ compilers can tack on
6007 # massive amounts of additional arguments before passing them to the
6008 # linker. It appears as though 1/2 is a usable value.
6009 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6012 esac
6016 if test -n $lt_cv_sys_max_cmd_len ; then
6017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6018 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6019 else
6020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6021 $as_echo "none" >&6; }
6023 max_cmd_len=$lt_cv_sys_max_cmd_len
6030 : ${CP="cp -f"}
6031 : ${MV="mv -f"}
6032 : ${RM="rm -f"}
6034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6035 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6036 # Try some XSI features
6037 xsi_shell=no
6038 ( _lt_dummy="a/b/c"
6039 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6040 = c,a/b,, \
6041 && eval 'test $(( 1 + 1 )) -eq 2 \
6042 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6043 && xsi_shell=yes
6044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6045 $as_echo "$xsi_shell" >&6; }
6048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6049 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6050 lt_shell_append=no
6051 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6052 >/dev/null 2>&1 \
6053 && lt_shell_append=yes
6054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6055 $as_echo "$lt_shell_append" >&6; }
6058 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6059 lt_unset=unset
6060 else
6061 lt_unset=false
6068 # test EBCDIC or ASCII
6069 case `echo X|tr X '\101'` in
6070 A) # ASCII based system
6071 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6072 lt_SP2NL='tr \040 \012'
6073 lt_NL2SP='tr \015\012 \040\040'
6075 *) # EBCDIC based system
6076 lt_SP2NL='tr \100 \n'
6077 lt_NL2SP='tr \r\n \100\100'
6079 esac
6089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6090 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6091 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6092 $as_echo_n "(cached) " >&6
6093 else
6094 lt_cv_ld_reload_flag='-r'
6096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6097 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6098 reload_flag=$lt_cv_ld_reload_flag
6099 case $reload_flag in
6100 "" | " "*) ;;
6101 *) reload_flag=" $reload_flag" ;;
6102 esac
6103 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6104 case $host_os in
6105 darwin*)
6106 if test "$GCC" = yes; then
6107 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6108 else
6109 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6112 esac
6122 if test -n "$ac_tool_prefix"; then
6123 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6124 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6126 $as_echo_n "checking for $ac_word... " >&6; }
6127 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6128 $as_echo_n "(cached) " >&6
6129 else
6130 if test -n "$OBJDUMP"; then
6131 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6132 else
6133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6134 for as_dir in $PATH
6136 IFS=$as_save_IFS
6137 test -z "$as_dir" && as_dir=.
6138 for ac_exec_ext in '' $ac_executable_extensions; do
6139 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6140 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6141 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6142 break 2
6144 done
6145 done
6146 IFS=$as_save_IFS
6150 OBJDUMP=$ac_cv_prog_OBJDUMP
6151 if test -n "$OBJDUMP"; then
6152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6153 $as_echo "$OBJDUMP" >&6; }
6154 else
6155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6156 $as_echo "no" >&6; }
6161 if test -z "$ac_cv_prog_OBJDUMP"; then
6162 ac_ct_OBJDUMP=$OBJDUMP
6163 # Extract the first word of "objdump", so it can be a program name with args.
6164 set dummy objdump; ac_word=$2
6165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6166 $as_echo_n "checking for $ac_word... " >&6; }
6167 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6168 $as_echo_n "(cached) " >&6
6169 else
6170 if test -n "$ac_ct_OBJDUMP"; then
6171 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6172 else
6173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6174 for as_dir in $PATH
6176 IFS=$as_save_IFS
6177 test -z "$as_dir" && as_dir=.
6178 for ac_exec_ext in '' $ac_executable_extensions; do
6179 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6180 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6181 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6182 break 2
6184 done
6185 done
6186 IFS=$as_save_IFS
6190 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6191 if test -n "$ac_ct_OBJDUMP"; then
6192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6193 $as_echo "$ac_ct_OBJDUMP" >&6; }
6194 else
6195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6196 $as_echo "no" >&6; }
6199 if test "x$ac_ct_OBJDUMP" = x; then
6200 OBJDUMP="false"
6201 else
6202 case $cross_compiling:$ac_tool_warned in
6203 yes:)
6204 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6205 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6206 ac_tool_warned=yes ;;
6207 esac
6208 OBJDUMP=$ac_ct_OBJDUMP
6210 else
6211 OBJDUMP="$ac_cv_prog_OBJDUMP"
6214 test -z "$OBJDUMP" && OBJDUMP=objdump
6224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6225 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6226 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6227 $as_echo_n "(cached) " >&6
6228 else
6229 lt_cv_file_magic_cmd='$MAGIC_CMD'
6230 lt_cv_file_magic_test_file=
6231 lt_cv_deplibs_check_method='unknown'
6232 # Need to set the preceding variable on all platforms that support
6233 # interlibrary dependencies.
6234 # 'none' -- dependencies not supported.
6235 # `unknown' -- same as none, but documents that we really don't know.
6236 # 'pass_all' -- all dependencies passed with no checks.
6237 # 'test_compile' -- check by making test program.
6238 # 'file_magic [[regex]]' -- check by looking for files in library path
6239 # which responds to the $file_magic_cmd with a given extended regex.
6240 # If you have `file' or equivalent on your system and you're not sure
6241 # whether `pass_all' will *always* work, you probably want this one.
6243 case $host_os in
6244 aix[4-9]*)
6245 lt_cv_deplibs_check_method=pass_all
6248 beos*)
6249 lt_cv_deplibs_check_method=pass_all
6252 bsdi[45]*)
6253 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6254 lt_cv_file_magic_cmd='/usr/bin/file -L'
6255 lt_cv_file_magic_test_file=/shlib/libc.so
6258 cygwin*)
6259 # func_win32_libid is a shell function defined in ltmain.sh
6260 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6261 lt_cv_file_magic_cmd='func_win32_libid'
6264 mingw* | pw32*)
6265 # Base MSYS/MinGW do not provide the 'file' command needed by
6266 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6267 # unless we find 'file', for example because we are cross-compiling.
6268 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6269 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6270 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6271 lt_cv_file_magic_cmd='func_win32_libid'
6272 else
6273 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6274 lt_cv_file_magic_cmd='$OBJDUMP -f'
6278 cegcc*)
6279 # use the weaker test based on 'objdump'. See mingw*.
6280 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6281 lt_cv_file_magic_cmd='$OBJDUMP -f'
6284 darwin* | rhapsody*)
6285 lt_cv_deplibs_check_method=pass_all
6288 freebsd* | dragonfly*)
6289 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6290 case $host_cpu in
6291 i*86 )
6292 # Not sure whether the presence of OpenBSD here was a mistake.
6293 # Let's accept both of them until this is cleared up.
6294 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6295 lt_cv_file_magic_cmd=/usr/bin/file
6296 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6298 esac
6299 else
6300 lt_cv_deplibs_check_method=pass_all
6304 gnu*)
6305 lt_cv_deplibs_check_method=pass_all
6308 haiku*)
6309 lt_cv_deplibs_check_method=pass_all
6312 hpux10.20* | hpux11*)
6313 lt_cv_file_magic_cmd=/usr/bin/file
6314 case $host_cpu in
6315 ia64*)
6316 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6317 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6319 hppa*64*)
6320 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]'
6321 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6324 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6325 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6327 esac
6330 interix[3-9]*)
6331 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6332 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6335 irix5* | irix6* | nonstopux*)
6336 case $LD in
6337 *-32|*"-32 ") libmagic=32-bit;;
6338 *-n32|*"-n32 ") libmagic=N32;;
6339 *-64|*"-64 ") libmagic=64-bit;;
6340 *) libmagic=never-match;;
6341 esac
6342 lt_cv_deplibs_check_method=pass_all
6345 # This must be Linux ELF.
6346 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6347 lt_cv_deplibs_check_method=pass_all
6350 netbsd*)
6351 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6352 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6353 else
6354 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6358 newos6*)
6359 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6360 lt_cv_file_magic_cmd=/usr/bin/file
6361 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6364 *nto* | *qnx*)
6365 lt_cv_deplibs_check_method=pass_all
6368 openbsd*)
6369 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6370 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6371 else
6372 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6376 osf3* | osf4* | osf5*)
6377 lt_cv_deplibs_check_method=pass_all
6380 rdos*)
6381 lt_cv_deplibs_check_method=pass_all
6384 solaris*)
6385 lt_cv_deplibs_check_method=pass_all
6388 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6389 lt_cv_deplibs_check_method=pass_all
6392 sysv4 | sysv4.3*)
6393 case $host_vendor in
6394 motorola)
6395 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]'
6396 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6398 ncr)
6399 lt_cv_deplibs_check_method=pass_all
6401 sequent)
6402 lt_cv_file_magic_cmd='/bin/file'
6403 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6405 sni)
6406 lt_cv_file_magic_cmd='/bin/file'
6407 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6408 lt_cv_file_magic_test_file=/lib/libc.so
6410 siemens)
6411 lt_cv_deplibs_check_method=pass_all
6414 lt_cv_deplibs_check_method=pass_all
6416 esac
6419 tpf*)
6420 lt_cv_deplibs_check_method=pass_all
6422 esac
6425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6426 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6427 file_magic_cmd=$lt_cv_file_magic_cmd
6428 deplibs_check_method=$lt_cv_deplibs_check_method
6429 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6442 if test -n "$ac_tool_prefix"; then
6443 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6444 set dummy ${ac_tool_prefix}ar; ac_word=$2
6445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6446 $as_echo_n "checking for $ac_word... " >&6; }
6447 if test "${ac_cv_prog_AR+set}" = set; then :
6448 $as_echo_n "(cached) " >&6
6449 else
6450 if test -n "$AR"; then
6451 ac_cv_prog_AR="$AR" # Let the user override the test.
6452 else
6453 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6454 for as_dir in $PATH
6456 IFS=$as_save_IFS
6457 test -z "$as_dir" && as_dir=.
6458 for ac_exec_ext in '' $ac_executable_extensions; do
6459 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6460 ac_cv_prog_AR="${ac_tool_prefix}ar"
6461 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6462 break 2
6464 done
6465 done
6466 IFS=$as_save_IFS
6470 AR=$ac_cv_prog_AR
6471 if test -n "$AR"; then
6472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6473 $as_echo "$AR" >&6; }
6474 else
6475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6476 $as_echo "no" >&6; }
6481 if test -z "$ac_cv_prog_AR"; then
6482 ac_ct_AR=$AR
6483 # Extract the first word of "ar", so it can be a program name with args.
6484 set dummy ar; ac_word=$2
6485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6486 $as_echo_n "checking for $ac_word... " >&6; }
6487 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6488 $as_echo_n "(cached) " >&6
6489 else
6490 if test -n "$ac_ct_AR"; then
6491 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6492 else
6493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6494 for as_dir in $PATH
6496 IFS=$as_save_IFS
6497 test -z "$as_dir" && as_dir=.
6498 for ac_exec_ext in '' $ac_executable_extensions; do
6499 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6500 ac_cv_prog_ac_ct_AR="ar"
6501 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6502 break 2
6504 done
6505 done
6506 IFS=$as_save_IFS
6510 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6511 if test -n "$ac_ct_AR"; then
6512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6513 $as_echo "$ac_ct_AR" >&6; }
6514 else
6515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6516 $as_echo "no" >&6; }
6519 if test "x$ac_ct_AR" = x; then
6520 AR="false"
6521 else
6522 case $cross_compiling:$ac_tool_warned in
6523 yes:)
6524 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6525 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6526 ac_tool_warned=yes ;;
6527 esac
6528 AR=$ac_ct_AR
6530 else
6531 AR="$ac_cv_prog_AR"
6534 test -z "$AR" && AR=ar
6535 test -z "$AR_FLAGS" && AR_FLAGS=cru
6547 if test -n "$ac_tool_prefix"; then
6548 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6549 set dummy ${ac_tool_prefix}strip; ac_word=$2
6550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6551 $as_echo_n "checking for $ac_word... " >&6; }
6552 if test "${ac_cv_prog_STRIP+set}" = set; then :
6553 $as_echo_n "(cached) " >&6
6554 else
6555 if test -n "$STRIP"; then
6556 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6557 else
6558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6559 for as_dir in $PATH
6561 IFS=$as_save_IFS
6562 test -z "$as_dir" && as_dir=.
6563 for ac_exec_ext in '' $ac_executable_extensions; do
6564 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6565 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6566 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6567 break 2
6569 done
6570 done
6571 IFS=$as_save_IFS
6575 STRIP=$ac_cv_prog_STRIP
6576 if test -n "$STRIP"; then
6577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6578 $as_echo "$STRIP" >&6; }
6579 else
6580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6581 $as_echo "no" >&6; }
6586 if test -z "$ac_cv_prog_STRIP"; then
6587 ac_ct_STRIP=$STRIP
6588 # Extract the first word of "strip", so it can be a program name with args.
6589 set dummy strip; ac_word=$2
6590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6591 $as_echo_n "checking for $ac_word... " >&6; }
6592 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6593 $as_echo_n "(cached) " >&6
6594 else
6595 if test -n "$ac_ct_STRIP"; then
6596 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6597 else
6598 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6599 for as_dir in $PATH
6601 IFS=$as_save_IFS
6602 test -z "$as_dir" && as_dir=.
6603 for ac_exec_ext in '' $ac_executable_extensions; do
6604 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6605 ac_cv_prog_ac_ct_STRIP="strip"
6606 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6607 break 2
6609 done
6610 done
6611 IFS=$as_save_IFS
6615 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6616 if test -n "$ac_ct_STRIP"; then
6617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6618 $as_echo "$ac_ct_STRIP" >&6; }
6619 else
6620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6621 $as_echo "no" >&6; }
6624 if test "x$ac_ct_STRIP" = x; then
6625 STRIP=":"
6626 else
6627 case $cross_compiling:$ac_tool_warned in
6628 yes:)
6629 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6630 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6631 ac_tool_warned=yes ;;
6632 esac
6633 STRIP=$ac_ct_STRIP
6635 else
6636 STRIP="$ac_cv_prog_STRIP"
6639 test -z "$STRIP" && STRIP=:
6646 if test -n "$ac_tool_prefix"; then
6647 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6648 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6650 $as_echo_n "checking for $ac_word... " >&6; }
6651 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6652 $as_echo_n "(cached) " >&6
6653 else
6654 if test -n "$RANLIB"; then
6655 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6656 else
6657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6658 for as_dir in $PATH
6660 IFS=$as_save_IFS
6661 test -z "$as_dir" && as_dir=.
6662 for ac_exec_ext in '' $ac_executable_extensions; do
6663 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6664 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6665 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6666 break 2
6668 done
6669 done
6670 IFS=$as_save_IFS
6674 RANLIB=$ac_cv_prog_RANLIB
6675 if test -n "$RANLIB"; then
6676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6677 $as_echo "$RANLIB" >&6; }
6678 else
6679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6680 $as_echo "no" >&6; }
6685 if test -z "$ac_cv_prog_RANLIB"; then
6686 ac_ct_RANLIB=$RANLIB
6687 # Extract the first word of "ranlib", so it can be a program name with args.
6688 set dummy ranlib; ac_word=$2
6689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6690 $as_echo_n "checking for $ac_word... " >&6; }
6691 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6692 $as_echo_n "(cached) " >&6
6693 else
6694 if test -n "$ac_ct_RANLIB"; then
6695 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6696 else
6697 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6698 for as_dir in $PATH
6700 IFS=$as_save_IFS
6701 test -z "$as_dir" && as_dir=.
6702 for ac_exec_ext in '' $ac_executable_extensions; do
6703 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6704 ac_cv_prog_ac_ct_RANLIB="ranlib"
6705 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6706 break 2
6708 done
6709 done
6710 IFS=$as_save_IFS
6714 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6715 if test -n "$ac_ct_RANLIB"; then
6716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6717 $as_echo "$ac_ct_RANLIB" >&6; }
6718 else
6719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6720 $as_echo "no" >&6; }
6723 if test "x$ac_ct_RANLIB" = x; then
6724 RANLIB=":"
6725 else
6726 case $cross_compiling:$ac_tool_warned in
6727 yes:)
6728 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6729 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6730 ac_tool_warned=yes ;;
6731 esac
6732 RANLIB=$ac_ct_RANLIB
6734 else
6735 RANLIB="$ac_cv_prog_RANLIB"
6738 test -z "$RANLIB" && RANLIB=:
6745 # Determine commands to create old-style static archives.
6746 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6747 old_postinstall_cmds='chmod 644 $oldlib'
6748 old_postuninstall_cmds=
6750 if test -n "$RANLIB"; then
6751 case $host_os in
6752 openbsd*)
6753 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6756 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6758 esac
6759 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6762 case $host_os in
6763 darwin*)
6764 lock_old_archive_extraction=yes ;;
6766 lock_old_archive_extraction=no ;;
6767 esac
6807 # If no C compiler was specified, use CC.
6808 LTCC=${LTCC-"$CC"}
6810 # If no C compiler flags were specified, use CFLAGS.
6811 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6813 # Allow CC to be a program name with arguments.
6814 compiler=$CC
6817 # Check for command to grab the raw symbol name followed by C symbol from nm.
6818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6819 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6820 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6821 $as_echo_n "(cached) " >&6
6822 else
6824 # These are sane defaults that work on at least a few old systems.
6825 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6827 # Character class describing NM global symbol codes.
6828 symcode='[BCDEGRST]'
6830 # Regexp to match symbols that can be accessed directly from C.
6831 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6833 # Define system-specific variables.
6834 case $host_os in
6835 aix*)
6836 symcode='[BCDT]'
6838 cygwin* | mingw* | pw32* | cegcc*)
6839 symcode='[ABCDGISTW]'
6841 hpux*)
6842 if test "$host_cpu" = ia64; then
6843 symcode='[ABCDEGRST]'
6846 irix* | nonstopux*)
6847 symcode='[BCDEGRST]'
6849 osf*)
6850 symcode='[BCDEGQRST]'
6852 solaris*)
6853 symcode='[BDRT]'
6855 sco3.2v5*)
6856 symcode='[DT]'
6858 sysv4.2uw2*)
6859 symcode='[DT]'
6861 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6862 symcode='[ABDT]'
6864 sysv4)
6865 symcode='[DFNSTU]'
6867 esac
6869 # If we're using GNU nm, then use its standard symbol codes.
6870 case `$NM -V 2>&1` in
6871 *GNU* | *'with BFD'*)
6872 symcode='[ABCDGIRSTW]' ;;
6873 esac
6875 # Transform an extracted symbol line into a proper C declaration.
6876 # Some systems (esp. on ia64) link data and code symbols differently,
6877 # so use this general approach.
6878 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6880 # Transform an extracted symbol line into symbol name and symbol address
6881 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6882 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'"
6884 # Handle CRLF in mingw tool chain
6885 opt_cr=
6886 case $build_os in
6887 mingw*)
6888 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6890 esac
6892 # Try without a prefix underscore, then with it.
6893 for ac_symprfx in "" "_"; do
6895 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6896 symxfrm="\\1 $ac_symprfx\\2 \\2"
6898 # Write the raw and C identifiers.
6899 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6900 # Fake it for dumpbin and say T for any non-static function
6901 # and D for any global variable.
6902 # Also find C++ and __fastcall symbols from MSVC++,
6903 # which start with @ or ?.
6904 lt_cv_sys_global_symbol_pipe="$AWK '"\
6905 " {last_section=section; section=\$ 3};"\
6906 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6907 " \$ 0!~/External *\|/{next};"\
6908 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6909 " {if(hide[section]) next};"\
6910 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6911 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6912 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6913 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6914 " ' prfx=^$ac_symprfx"
6915 else
6916 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6919 # Check to see that the pipe works correctly.
6920 pipe_works=no
6922 rm -f conftest*
6923 cat > conftest.$ac_ext <<_LT_EOF
6924 #ifdef __cplusplus
6925 extern "C" {
6926 #endif
6927 char nm_test_var;
6928 void nm_test_func(void);
6929 void nm_test_func(void){}
6930 #ifdef __cplusplus
6932 #endif
6933 int main(){nm_test_var='a';nm_test_func();return(0);}
6934 _LT_EOF
6936 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6937 (eval $ac_compile) 2>&5
6938 ac_status=$?
6939 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6940 test $ac_status = 0; }; then
6941 # Now try to grab the symbols.
6942 nlist=conftest.nm
6943 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6944 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6945 ac_status=$?
6946 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6947 test $ac_status = 0; } && test -s "$nlist"; then
6948 # Try sorting and uniquifying the output.
6949 if sort "$nlist" | uniq > "$nlist"T; then
6950 mv -f "$nlist"T "$nlist"
6951 else
6952 rm -f "$nlist"T
6955 # Make sure that we snagged all the symbols we need.
6956 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6957 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6958 cat <<_LT_EOF > conftest.$ac_ext
6959 #ifdef __cplusplus
6960 extern "C" {
6961 #endif
6963 _LT_EOF
6964 # Now generate the symbol file.
6965 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6967 cat <<_LT_EOF >> conftest.$ac_ext
6969 /* The mapping between symbol names and symbols. */
6970 const struct {
6971 const char *name;
6972 void *address;
6974 lt__PROGRAM__LTX_preloaded_symbols[] =
6976 { "@PROGRAM@", (void *) 0 },
6977 _LT_EOF
6978 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6979 cat <<\_LT_EOF >> conftest.$ac_ext
6980 {0, (void *) 0}
6983 /* This works around a problem in FreeBSD linker */
6984 #ifdef FREEBSD_WORKAROUND
6985 static const void *lt_preloaded_setup() {
6986 return lt__PROGRAM__LTX_preloaded_symbols;
6988 #endif
6990 #ifdef __cplusplus
6992 #endif
6993 _LT_EOF
6994 # Now try linking the two files.
6995 mv conftest.$ac_objext conftstm.$ac_objext
6996 lt_save_LIBS="$LIBS"
6997 lt_save_CFLAGS="$CFLAGS"
6998 LIBS="conftstm.$ac_objext"
6999 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7000 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7001 (eval $ac_link) 2>&5
7002 ac_status=$?
7003 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7004 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7005 pipe_works=yes
7007 LIBS="$lt_save_LIBS"
7008 CFLAGS="$lt_save_CFLAGS"
7009 else
7010 echo "cannot find nm_test_func in $nlist" >&5
7012 else
7013 echo "cannot find nm_test_var in $nlist" >&5
7015 else
7016 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7018 else
7019 echo "$progname: failed program was:" >&5
7020 cat conftest.$ac_ext >&5
7022 rm -rf conftest* conftst*
7024 # Do not use the global_symbol_pipe unless it works.
7025 if test "$pipe_works" = yes; then
7026 break
7027 else
7028 lt_cv_sys_global_symbol_pipe=
7030 done
7034 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7035 lt_cv_sys_global_symbol_to_cdecl=
7037 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7039 $as_echo "failed" >&6; }
7040 else
7041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7042 $as_echo "ok" >&6; }
7066 # Check whether --enable-libtool-lock was given.
7067 if test "${enable_libtool_lock+set}" = set; then :
7068 enableval=$enable_libtool_lock;
7071 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7073 # Some flags need to be propagated to the compiler or linker for good
7074 # libtool support.
7075 case $host in
7076 ia64-*-hpux*)
7077 # Find out which ABI we are using.
7078 echo 'int i;' > conftest.$ac_ext
7079 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7080 (eval $ac_compile) 2>&5
7081 ac_status=$?
7082 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7083 test $ac_status = 0; }; then
7084 case `/usr/bin/file conftest.$ac_objext` in
7085 *ELF-32*)
7086 HPUX_IA64_MODE="32"
7088 *ELF-64*)
7089 HPUX_IA64_MODE="64"
7091 esac
7093 rm -rf conftest*
7095 *-*-irix6*)
7096 # Find out which ABI we are using.
7097 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7098 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7099 (eval $ac_compile) 2>&5
7100 ac_status=$?
7101 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7102 test $ac_status = 0; }; then
7103 if test "$lt_cv_prog_gnu_ld" = yes; then
7104 case `/usr/bin/file conftest.$ac_objext` in
7105 *32-bit*)
7106 LD="${LD-ld} -melf32bsmip"
7108 *N32*)
7109 LD="${LD-ld} -melf32bmipn32"
7111 *64-bit*)
7112 LD="${LD-ld} -melf64bmip"
7114 esac
7115 else
7116 case `/usr/bin/file conftest.$ac_objext` in
7117 *32-bit*)
7118 LD="${LD-ld} -32"
7120 *N32*)
7121 LD="${LD-ld} -n32"
7123 *64-bit*)
7124 LD="${LD-ld} -64"
7126 esac
7129 rm -rf conftest*
7132 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7133 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7134 # Find out which ABI we are using.
7135 echo 'int i;' > conftest.$ac_ext
7136 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7137 (eval $ac_compile) 2>&5
7138 ac_status=$?
7139 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7140 test $ac_status = 0; }; then
7141 case `/usr/bin/file conftest.o` in
7142 *32-bit*)
7143 case $host in
7144 x86_64-*kfreebsd*-gnu)
7145 LD="${LD-ld} -m elf_i386_fbsd"
7147 x86_64-*linux*)
7148 case `/usr/bin/file conftest.o` in
7149 *x86-64*)
7150 LD="${LD-ld} -m elf32_x86_64"
7153 LD="${LD-ld} -m elf_i386"
7155 esac
7157 powerpc64le-*linux*)
7158 LD="${LD-ld} -m elf32lppclinux"
7160 powerpc64-*linux*)
7161 LD="${LD-ld} -m elf32ppclinux"
7163 s390x-*linux*)
7164 LD="${LD-ld} -m elf_s390"
7166 sparc64-*linux*)
7167 LD="${LD-ld} -m elf32_sparc"
7169 esac
7171 *64-bit*)
7172 case $host in
7173 x86_64-*kfreebsd*-gnu)
7174 LD="${LD-ld} -m elf_x86_64_fbsd"
7176 x86_64-*linux*)
7177 LD="${LD-ld} -m elf_x86_64"
7179 powerpcle-*linux*)
7180 LD="${LD-ld} -m elf64lppc"
7182 powerpc-*linux*)
7183 LD="${LD-ld} -m elf64ppc"
7185 s390*-*linux*|s390*-*tpf*)
7186 LD="${LD-ld} -m elf64_s390"
7188 sparc*-*linux*)
7189 LD="${LD-ld} -m elf64_sparc"
7191 esac
7193 esac
7195 rm -rf conftest*
7198 *-*-sco3.2v5*)
7199 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7200 SAVE_CFLAGS="$CFLAGS"
7201 CFLAGS="$CFLAGS -belf"
7202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7203 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7204 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7205 $as_echo_n "(cached) " >&6
7206 else
7207 ac_ext=c
7208 ac_cpp='$CPP $CPPFLAGS'
7209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7213 if test x$gcc_no_link = xyes; then
7214 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7217 /* end confdefs.h. */
7220 main ()
7224 return 0;
7226 _ACEOF
7227 if ac_fn_c_try_link "$LINENO"; then :
7228 lt_cv_cc_needs_belf=yes
7229 else
7230 lt_cv_cc_needs_belf=no
7232 rm -f core conftest.err conftest.$ac_objext \
7233 conftest$ac_exeext conftest.$ac_ext
7234 ac_ext=c
7235 ac_cpp='$CPP $CPPFLAGS'
7236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7242 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7243 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7244 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7245 CFLAGS="$SAVE_CFLAGS"
7248 sparc*-*solaris*)
7249 # Find out which ABI we are using.
7250 echo 'int i;' > conftest.$ac_ext
7251 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7252 (eval $ac_compile) 2>&5
7253 ac_status=$?
7254 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7255 test $ac_status = 0; }; then
7256 case `/usr/bin/file conftest.o` in
7257 *64-bit*)
7258 case $lt_cv_prog_gnu_ld in
7259 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7261 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7262 LD="${LD-ld} -64"
7265 esac
7267 esac
7269 rm -rf conftest*
7271 esac
7273 need_locks="$enable_libtool_lock"
7276 case $host_os in
7277 rhapsody* | darwin*)
7278 if test -n "$ac_tool_prefix"; then
7279 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7280 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7282 $as_echo_n "checking for $ac_word... " >&6; }
7283 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7284 $as_echo_n "(cached) " >&6
7285 else
7286 if test -n "$DSYMUTIL"; then
7287 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7288 else
7289 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7290 for as_dir in $PATH
7292 IFS=$as_save_IFS
7293 test -z "$as_dir" && as_dir=.
7294 for ac_exec_ext in '' $ac_executable_extensions; do
7295 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7296 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7297 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7298 break 2
7300 done
7301 done
7302 IFS=$as_save_IFS
7306 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7307 if test -n "$DSYMUTIL"; then
7308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7309 $as_echo "$DSYMUTIL" >&6; }
7310 else
7311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7312 $as_echo "no" >&6; }
7317 if test -z "$ac_cv_prog_DSYMUTIL"; then
7318 ac_ct_DSYMUTIL=$DSYMUTIL
7319 # Extract the first word of "dsymutil", so it can be a program name with args.
7320 set dummy dsymutil; ac_word=$2
7321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7322 $as_echo_n "checking for $ac_word... " >&6; }
7323 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7324 $as_echo_n "(cached) " >&6
7325 else
7326 if test -n "$ac_ct_DSYMUTIL"; then
7327 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7328 else
7329 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7330 for as_dir in $PATH
7332 IFS=$as_save_IFS
7333 test -z "$as_dir" && as_dir=.
7334 for ac_exec_ext in '' $ac_executable_extensions; do
7335 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7336 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7337 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7338 break 2
7340 done
7341 done
7342 IFS=$as_save_IFS
7346 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7347 if test -n "$ac_ct_DSYMUTIL"; then
7348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7349 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7350 else
7351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7352 $as_echo "no" >&6; }
7355 if test "x$ac_ct_DSYMUTIL" = x; then
7356 DSYMUTIL=":"
7357 else
7358 case $cross_compiling:$ac_tool_warned in
7359 yes:)
7360 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7361 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7362 ac_tool_warned=yes ;;
7363 esac
7364 DSYMUTIL=$ac_ct_DSYMUTIL
7366 else
7367 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7370 if test -n "$ac_tool_prefix"; then
7371 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7372 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7374 $as_echo_n "checking for $ac_word... " >&6; }
7375 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7376 $as_echo_n "(cached) " >&6
7377 else
7378 if test -n "$NMEDIT"; then
7379 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7380 else
7381 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7382 for as_dir in $PATH
7384 IFS=$as_save_IFS
7385 test -z "$as_dir" && as_dir=.
7386 for ac_exec_ext in '' $ac_executable_extensions; do
7387 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7388 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7389 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7390 break 2
7392 done
7393 done
7394 IFS=$as_save_IFS
7398 NMEDIT=$ac_cv_prog_NMEDIT
7399 if test -n "$NMEDIT"; then
7400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7401 $as_echo "$NMEDIT" >&6; }
7402 else
7403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7404 $as_echo "no" >&6; }
7409 if test -z "$ac_cv_prog_NMEDIT"; then
7410 ac_ct_NMEDIT=$NMEDIT
7411 # Extract the first word of "nmedit", so it can be a program name with args.
7412 set dummy nmedit; ac_word=$2
7413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7414 $as_echo_n "checking for $ac_word... " >&6; }
7415 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7416 $as_echo_n "(cached) " >&6
7417 else
7418 if test -n "$ac_ct_NMEDIT"; then
7419 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7420 else
7421 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7422 for as_dir in $PATH
7424 IFS=$as_save_IFS
7425 test -z "$as_dir" && as_dir=.
7426 for ac_exec_ext in '' $ac_executable_extensions; do
7427 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7428 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7429 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7430 break 2
7432 done
7433 done
7434 IFS=$as_save_IFS
7438 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7439 if test -n "$ac_ct_NMEDIT"; then
7440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7441 $as_echo "$ac_ct_NMEDIT" >&6; }
7442 else
7443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7444 $as_echo "no" >&6; }
7447 if test "x$ac_ct_NMEDIT" = x; then
7448 NMEDIT=":"
7449 else
7450 case $cross_compiling:$ac_tool_warned in
7451 yes:)
7452 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7453 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7454 ac_tool_warned=yes ;;
7455 esac
7456 NMEDIT=$ac_ct_NMEDIT
7458 else
7459 NMEDIT="$ac_cv_prog_NMEDIT"
7462 if test -n "$ac_tool_prefix"; then
7463 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7464 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7466 $as_echo_n "checking for $ac_word... " >&6; }
7467 if test "${ac_cv_prog_LIPO+set}" = set; then :
7468 $as_echo_n "(cached) " >&6
7469 else
7470 if test -n "$LIPO"; then
7471 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7472 else
7473 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7474 for as_dir in $PATH
7476 IFS=$as_save_IFS
7477 test -z "$as_dir" && as_dir=.
7478 for ac_exec_ext in '' $ac_executable_extensions; do
7479 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7480 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7481 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7482 break 2
7484 done
7485 done
7486 IFS=$as_save_IFS
7490 LIPO=$ac_cv_prog_LIPO
7491 if test -n "$LIPO"; then
7492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7493 $as_echo "$LIPO" >&6; }
7494 else
7495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7496 $as_echo "no" >&6; }
7501 if test -z "$ac_cv_prog_LIPO"; then
7502 ac_ct_LIPO=$LIPO
7503 # Extract the first word of "lipo", so it can be a program name with args.
7504 set dummy lipo; ac_word=$2
7505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7506 $as_echo_n "checking for $ac_word... " >&6; }
7507 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7508 $as_echo_n "(cached) " >&6
7509 else
7510 if test -n "$ac_ct_LIPO"; then
7511 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7512 else
7513 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7514 for as_dir in $PATH
7516 IFS=$as_save_IFS
7517 test -z "$as_dir" && as_dir=.
7518 for ac_exec_ext in '' $ac_executable_extensions; do
7519 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7520 ac_cv_prog_ac_ct_LIPO="lipo"
7521 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7522 break 2
7524 done
7525 done
7526 IFS=$as_save_IFS
7530 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7531 if test -n "$ac_ct_LIPO"; then
7532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7533 $as_echo "$ac_ct_LIPO" >&6; }
7534 else
7535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7536 $as_echo "no" >&6; }
7539 if test "x$ac_ct_LIPO" = x; then
7540 LIPO=":"
7541 else
7542 case $cross_compiling:$ac_tool_warned in
7543 yes:)
7544 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7545 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7546 ac_tool_warned=yes ;;
7547 esac
7548 LIPO=$ac_ct_LIPO
7550 else
7551 LIPO="$ac_cv_prog_LIPO"
7554 if test -n "$ac_tool_prefix"; then
7555 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7556 set dummy ${ac_tool_prefix}otool; ac_word=$2
7557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7558 $as_echo_n "checking for $ac_word... " >&6; }
7559 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7560 $as_echo_n "(cached) " >&6
7561 else
7562 if test -n "$OTOOL"; then
7563 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7564 else
7565 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7566 for as_dir in $PATH
7568 IFS=$as_save_IFS
7569 test -z "$as_dir" && as_dir=.
7570 for ac_exec_ext in '' $ac_executable_extensions; do
7571 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7572 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7573 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7574 break 2
7576 done
7577 done
7578 IFS=$as_save_IFS
7582 OTOOL=$ac_cv_prog_OTOOL
7583 if test -n "$OTOOL"; then
7584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7585 $as_echo "$OTOOL" >&6; }
7586 else
7587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7588 $as_echo "no" >&6; }
7593 if test -z "$ac_cv_prog_OTOOL"; then
7594 ac_ct_OTOOL=$OTOOL
7595 # Extract the first word of "otool", so it can be a program name with args.
7596 set dummy otool; ac_word=$2
7597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7598 $as_echo_n "checking for $ac_word... " >&6; }
7599 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7600 $as_echo_n "(cached) " >&6
7601 else
7602 if test -n "$ac_ct_OTOOL"; then
7603 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7604 else
7605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7606 for as_dir in $PATH
7608 IFS=$as_save_IFS
7609 test -z "$as_dir" && as_dir=.
7610 for ac_exec_ext in '' $ac_executable_extensions; do
7611 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7612 ac_cv_prog_ac_ct_OTOOL="otool"
7613 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7614 break 2
7616 done
7617 done
7618 IFS=$as_save_IFS
7622 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7623 if test -n "$ac_ct_OTOOL"; then
7624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7625 $as_echo "$ac_ct_OTOOL" >&6; }
7626 else
7627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7628 $as_echo "no" >&6; }
7631 if test "x$ac_ct_OTOOL" = x; then
7632 OTOOL=":"
7633 else
7634 case $cross_compiling:$ac_tool_warned in
7635 yes:)
7636 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7637 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7638 ac_tool_warned=yes ;;
7639 esac
7640 OTOOL=$ac_ct_OTOOL
7642 else
7643 OTOOL="$ac_cv_prog_OTOOL"
7646 if test -n "$ac_tool_prefix"; then
7647 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7648 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7650 $as_echo_n "checking for $ac_word... " >&6; }
7651 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7652 $as_echo_n "(cached) " >&6
7653 else
7654 if test -n "$OTOOL64"; then
7655 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7656 else
7657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7658 for as_dir in $PATH
7660 IFS=$as_save_IFS
7661 test -z "$as_dir" && as_dir=.
7662 for ac_exec_ext in '' $ac_executable_extensions; do
7663 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7664 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7665 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7666 break 2
7668 done
7669 done
7670 IFS=$as_save_IFS
7674 OTOOL64=$ac_cv_prog_OTOOL64
7675 if test -n "$OTOOL64"; then
7676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7677 $as_echo "$OTOOL64" >&6; }
7678 else
7679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7680 $as_echo "no" >&6; }
7685 if test -z "$ac_cv_prog_OTOOL64"; then
7686 ac_ct_OTOOL64=$OTOOL64
7687 # Extract the first word of "otool64", so it can be a program name with args.
7688 set dummy otool64; ac_word=$2
7689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7690 $as_echo_n "checking for $ac_word... " >&6; }
7691 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7692 $as_echo_n "(cached) " >&6
7693 else
7694 if test -n "$ac_ct_OTOOL64"; then
7695 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7696 else
7697 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7698 for as_dir in $PATH
7700 IFS=$as_save_IFS
7701 test -z "$as_dir" && as_dir=.
7702 for ac_exec_ext in '' $ac_executable_extensions; do
7703 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7704 ac_cv_prog_ac_ct_OTOOL64="otool64"
7705 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7706 break 2
7708 done
7709 done
7710 IFS=$as_save_IFS
7714 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7715 if test -n "$ac_ct_OTOOL64"; then
7716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7717 $as_echo "$ac_ct_OTOOL64" >&6; }
7718 else
7719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7720 $as_echo "no" >&6; }
7723 if test "x$ac_ct_OTOOL64" = x; then
7724 OTOOL64=":"
7725 else
7726 case $cross_compiling:$ac_tool_warned in
7727 yes:)
7728 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7729 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7730 ac_tool_warned=yes ;;
7731 esac
7732 OTOOL64=$ac_ct_OTOOL64
7734 else
7735 OTOOL64="$ac_cv_prog_OTOOL64"
7764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7765 $as_echo_n "checking for -single_module linker flag... " >&6; }
7766 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7767 $as_echo_n "(cached) " >&6
7768 else
7769 lt_cv_apple_cc_single_mod=no
7770 if test -z "${LT_MULTI_MODULE}"; then
7771 # By default we will add the -single_module flag. You can override
7772 # by either setting the environment variable LT_MULTI_MODULE
7773 # non-empty at configure time, or by adding -multi_module to the
7774 # link flags.
7775 rm -rf libconftest.dylib*
7776 echo "int foo(void){return 1;}" > conftest.c
7777 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7778 -dynamiclib -Wl,-single_module conftest.c" >&5
7779 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7780 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7781 _lt_result=$?
7782 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7783 lt_cv_apple_cc_single_mod=yes
7784 else
7785 cat conftest.err >&5
7787 rm -rf libconftest.dylib*
7788 rm -f conftest.*
7791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7792 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7794 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7795 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7796 $as_echo_n "(cached) " >&6
7797 else
7798 lt_cv_ld_exported_symbols_list=no
7799 save_LDFLAGS=$LDFLAGS
7800 echo "_main" > conftest.sym
7801 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7802 if test x$gcc_no_link = xyes; then
7803 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7806 /* end confdefs.h. */
7809 main ()
7813 return 0;
7815 _ACEOF
7816 if ac_fn_c_try_link "$LINENO"; then :
7817 lt_cv_ld_exported_symbols_list=yes
7818 else
7819 lt_cv_ld_exported_symbols_list=no
7821 rm -f core conftest.err conftest.$ac_objext \
7822 conftest$ac_exeext conftest.$ac_ext
7823 LDFLAGS="$save_LDFLAGS"
7826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7827 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7829 $as_echo_n "checking for -force_load linker flag... " >&6; }
7830 if test "${lt_cv_ld_force_load+set}" = set; then :
7831 $as_echo_n "(cached) " >&6
7832 else
7833 lt_cv_ld_force_load=no
7834 cat > conftest.c << _LT_EOF
7835 int forced_loaded() { return 2;}
7836 _LT_EOF
7837 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7838 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7839 echo "$AR cru libconftest.a conftest.o" >&5
7840 $AR cru libconftest.a conftest.o 2>&5
7841 cat > conftest.c << _LT_EOF
7842 int main() { return 0;}
7843 _LT_EOF
7844 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7845 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7846 _lt_result=$?
7847 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7848 lt_cv_ld_force_load=yes
7849 else
7850 cat conftest.err >&5
7852 rm -f conftest.err libconftest.a conftest conftest.c
7853 rm -rf conftest.dSYM
7856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7857 $as_echo "$lt_cv_ld_force_load" >&6; }
7858 case $host_os in
7859 rhapsody* | darwin1.[012])
7860 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7861 darwin1.*)
7862 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7863 darwin*) # darwin 5.x on
7864 # if running on 10.5 or later, the deployment target defaults
7865 # to the OS version, if on x86, and 10.4, the deployment
7866 # target defaults to 10.4. Don't you love it?
7867 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7868 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7869 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7870 10.[012][,.]*)
7871 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7872 10.*)
7873 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7874 esac
7876 esac
7877 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7878 _lt_dar_single_mod='$single_module'
7880 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7881 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7882 else
7883 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7885 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7886 _lt_dsymutil='~$DSYMUTIL $lib || :'
7887 else
7888 _lt_dsymutil=
7891 esac
7893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7894 $as_echo_n "checking for ANSI C header files... " >&6; }
7895 if test "${ac_cv_header_stdc+set}" = set; then :
7896 $as_echo_n "(cached) " >&6
7897 else
7898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7899 /* end confdefs.h. */
7900 #include <stdlib.h>
7901 #include <stdarg.h>
7902 #include <string.h>
7903 #include <float.h>
7906 main ()
7910 return 0;
7912 _ACEOF
7913 if ac_fn_c_try_compile "$LINENO"; then :
7914 ac_cv_header_stdc=yes
7915 else
7916 ac_cv_header_stdc=no
7918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7920 if test $ac_cv_header_stdc = yes; then
7921 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7923 /* end confdefs.h. */
7924 #include <string.h>
7926 _ACEOF
7927 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7928 $EGREP "memchr" >/dev/null 2>&1; then :
7930 else
7931 ac_cv_header_stdc=no
7933 rm -f conftest*
7937 if test $ac_cv_header_stdc = yes; then
7938 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7940 /* end confdefs.h. */
7941 #include <stdlib.h>
7943 _ACEOF
7944 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7945 $EGREP "free" >/dev/null 2>&1; then :
7947 else
7948 ac_cv_header_stdc=no
7950 rm -f conftest*
7954 if test $ac_cv_header_stdc = yes; then
7955 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7956 if test "$cross_compiling" = yes; then :
7958 else
7959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7960 /* end confdefs.h. */
7961 #include <ctype.h>
7962 #include <stdlib.h>
7963 #if ((' ' & 0x0FF) == 0x020)
7964 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7965 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7966 #else
7967 # define ISLOWER(c) \
7968 (('a' <= (c) && (c) <= 'i') \
7969 || ('j' <= (c) && (c) <= 'r') \
7970 || ('s' <= (c) && (c) <= 'z'))
7971 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7972 #endif
7974 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7976 main ()
7978 int i;
7979 for (i = 0; i < 256; i++)
7980 if (XOR (islower (i), ISLOWER (i))
7981 || toupper (i) != TOUPPER (i))
7982 return 2;
7983 return 0;
7985 _ACEOF
7986 if ac_fn_c_try_run "$LINENO"; then :
7988 else
7989 ac_cv_header_stdc=no
7991 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7992 conftest.$ac_objext conftest.beam conftest.$ac_ext
7997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7998 $as_echo "$ac_cv_header_stdc" >&6; }
7999 if test $ac_cv_header_stdc = yes; then
8001 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8005 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8006 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8007 inttypes.h stdint.h unistd.h
8008 do :
8009 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8010 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8012 eval as_val=\$$as_ac_Header
8013 if test "x$as_val" = x""yes; then :
8014 cat >>confdefs.h <<_ACEOF
8015 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8016 _ACEOF
8020 done
8023 for ac_header in dlfcn.h
8024 do :
8025 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8027 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
8028 cat >>confdefs.h <<_ACEOF
8029 #define HAVE_DLFCN_H 1
8030 _ACEOF
8034 done
8041 # Set options
8046 enable_win32_dll=no
8049 # Check whether --enable-shared was given.
8050 if test "${enable_shared+set}" = set; then :
8051 enableval=$enable_shared; p=${PACKAGE-default}
8052 case $enableval in
8053 yes) enable_shared=yes ;;
8054 no) enable_shared=no ;;
8056 enable_shared=no
8057 # Look at the argument we got. We use all the common list separators.
8058 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8059 for pkg in $enableval; do
8060 IFS="$lt_save_ifs"
8061 if test "X$pkg" = "X$p"; then
8062 enable_shared=yes
8064 done
8065 IFS="$lt_save_ifs"
8067 esac
8068 else
8069 enable_shared=yes
8080 # Check whether --enable-static was given.
8081 if test "${enable_static+set}" = set; then :
8082 enableval=$enable_static; p=${PACKAGE-default}
8083 case $enableval in
8084 yes) enable_static=yes ;;
8085 no) enable_static=no ;;
8087 enable_static=no
8088 # Look at the argument we got. We use all the common list separators.
8089 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8090 for pkg in $enableval; do
8091 IFS="$lt_save_ifs"
8092 if test "X$pkg" = "X$p"; then
8093 enable_static=yes
8095 done
8096 IFS="$lt_save_ifs"
8098 esac
8099 else
8100 enable_static=yes
8112 # Check whether --with-pic was given.
8113 if test "${with_pic+set}" = set; then :
8114 withval=$with_pic; pic_mode="$withval"
8115 else
8116 pic_mode=default
8120 test -z "$pic_mode" && pic_mode=default
8128 # Check whether --enable-fast-install was given.
8129 if test "${enable_fast_install+set}" = set; then :
8130 enableval=$enable_fast_install; p=${PACKAGE-default}
8131 case $enableval in
8132 yes) enable_fast_install=yes ;;
8133 no) enable_fast_install=no ;;
8135 enable_fast_install=no
8136 # Look at the argument we got. We use all the common list separators.
8137 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8138 for pkg in $enableval; do
8139 IFS="$lt_save_ifs"
8140 if test "X$pkg" = "X$p"; then
8141 enable_fast_install=yes
8143 done
8144 IFS="$lt_save_ifs"
8146 esac
8147 else
8148 enable_fast_install=yes
8161 # This can be used to rebuild libtool when needed
8162 LIBTOOL_DEPS="$ltmain"
8164 # Always use our own libtool.
8165 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8192 test -z "$LN_S" && LN_S="ln -s"
8207 if test -n "${ZSH_VERSION+set}" ; then
8208 setopt NO_GLOB_SUBST
8211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8212 $as_echo_n "checking for objdir... " >&6; }
8213 if test "${lt_cv_objdir+set}" = set; then :
8214 $as_echo_n "(cached) " >&6
8215 else
8216 rm -f .libs 2>/dev/null
8217 mkdir .libs 2>/dev/null
8218 if test -d .libs; then
8219 lt_cv_objdir=.libs
8220 else
8221 # MS-DOS does not allow filenames that begin with a dot.
8222 lt_cv_objdir=_libs
8224 rmdir .libs 2>/dev/null
8226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8227 $as_echo "$lt_cv_objdir" >&6; }
8228 objdir=$lt_cv_objdir
8234 cat >>confdefs.h <<_ACEOF
8235 #define LT_OBJDIR "$lt_cv_objdir/"
8236 _ACEOF
8241 case $host_os in
8242 aix3*)
8243 # AIX sometimes has problems with the GCC collect2 program. For some
8244 # reason, if we set the COLLECT_NAMES environment variable, the problems
8245 # vanish in a puff of smoke.
8246 if test "X${COLLECT_NAMES+set}" != Xset; then
8247 COLLECT_NAMES=
8248 export COLLECT_NAMES
8251 esac
8253 # Global variables:
8254 ofile=libtool
8255 can_build_shared=yes
8257 # All known linkers require a `.a' archive for static linking (except MSVC,
8258 # which needs '.lib').
8259 libext=a
8261 with_gnu_ld="$lt_cv_prog_gnu_ld"
8263 old_CC="$CC"
8264 old_CFLAGS="$CFLAGS"
8266 # Set sane defaults for various variables
8267 test -z "$CC" && CC=cc
8268 test -z "$LTCC" && LTCC=$CC
8269 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8270 test -z "$LD" && LD=ld
8271 test -z "$ac_objext" && ac_objext=o
8273 for cc_temp in $compiler""; do
8274 case $cc_temp in
8275 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8276 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8277 \-*) ;;
8278 *) break;;
8279 esac
8280 done
8281 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8284 # Only perform the check for file, if the check method requires it
8285 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8286 case $deplibs_check_method in
8287 file_magic*)
8288 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8290 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8291 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8292 $as_echo_n "(cached) " >&6
8293 else
8294 case $MAGIC_CMD in
8295 [\\/*] | ?:[\\/]*)
8296 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8299 lt_save_MAGIC_CMD="$MAGIC_CMD"
8300 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8301 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8302 for ac_dir in $ac_dummy; do
8303 IFS="$lt_save_ifs"
8304 test -z "$ac_dir" && ac_dir=.
8305 if test -f $ac_dir/${ac_tool_prefix}file; then
8306 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8307 if test -n "$file_magic_test_file"; then
8308 case $deplibs_check_method in
8309 "file_magic "*)
8310 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8311 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8312 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8313 $EGREP "$file_magic_regex" > /dev/null; then
8315 else
8316 cat <<_LT_EOF 1>&2
8318 *** Warning: the command libtool uses to detect shared libraries,
8319 *** $file_magic_cmd, produces output that libtool cannot recognize.
8320 *** The result is that libtool may fail to recognize shared libraries
8321 *** as such. This will affect the creation of libtool libraries that
8322 *** depend on shared libraries, but programs linked with such libtool
8323 *** libraries will work regardless of this problem. Nevertheless, you
8324 *** may want to report the problem to your system manager and/or to
8325 *** bug-libtool@gnu.org
8327 _LT_EOF
8328 fi ;;
8329 esac
8331 break
8333 done
8334 IFS="$lt_save_ifs"
8335 MAGIC_CMD="$lt_save_MAGIC_CMD"
8337 esac
8340 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8341 if test -n "$MAGIC_CMD"; then
8342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8343 $as_echo "$MAGIC_CMD" >&6; }
8344 else
8345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8346 $as_echo "no" >&6; }
8353 if test -z "$lt_cv_path_MAGIC_CMD"; then
8354 if test -n "$ac_tool_prefix"; then
8355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8356 $as_echo_n "checking for file... " >&6; }
8357 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8358 $as_echo_n "(cached) " >&6
8359 else
8360 case $MAGIC_CMD in
8361 [\\/*] | ?:[\\/]*)
8362 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8365 lt_save_MAGIC_CMD="$MAGIC_CMD"
8366 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8367 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8368 for ac_dir in $ac_dummy; do
8369 IFS="$lt_save_ifs"
8370 test -z "$ac_dir" && ac_dir=.
8371 if test -f $ac_dir/file; then
8372 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8373 if test -n "$file_magic_test_file"; then
8374 case $deplibs_check_method in
8375 "file_magic "*)
8376 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8377 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8378 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8379 $EGREP "$file_magic_regex" > /dev/null; then
8381 else
8382 cat <<_LT_EOF 1>&2
8384 *** Warning: the command libtool uses to detect shared libraries,
8385 *** $file_magic_cmd, produces output that libtool cannot recognize.
8386 *** The result is that libtool may fail to recognize shared libraries
8387 *** as such. This will affect the creation of libtool libraries that
8388 *** depend on shared libraries, but programs linked with such libtool
8389 *** libraries will work regardless of this problem. Nevertheless, you
8390 *** may want to report the problem to your system manager and/or to
8391 *** bug-libtool@gnu.org
8393 _LT_EOF
8394 fi ;;
8395 esac
8397 break
8399 done
8400 IFS="$lt_save_ifs"
8401 MAGIC_CMD="$lt_save_MAGIC_CMD"
8403 esac
8406 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8407 if test -n "$MAGIC_CMD"; then
8408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8409 $as_echo "$MAGIC_CMD" >&6; }
8410 else
8411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8412 $as_echo "no" >&6; }
8416 else
8417 MAGIC_CMD=:
8423 esac
8425 # Use C for the default configuration in the libtool script
8427 lt_save_CC="$CC"
8428 ac_ext=c
8429 ac_cpp='$CPP $CPPFLAGS'
8430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8435 # Source file extension for C test sources.
8436 ac_ext=c
8438 # Object file extension for compiled C test sources.
8439 objext=o
8440 objext=$objext
8442 # Code to be used in simple compile tests
8443 lt_simple_compile_test_code="int some_variable = 0;"
8445 # Code to be used in simple link tests
8446 lt_simple_link_test_code='int main(){return(0);}'
8454 # If no C compiler was specified, use CC.
8455 LTCC=${LTCC-"$CC"}
8457 # If no C compiler flags were specified, use CFLAGS.
8458 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8460 # Allow CC to be a program name with arguments.
8461 compiler=$CC
8463 # Save the default compiler, since it gets overwritten when the other
8464 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8465 compiler_DEFAULT=$CC
8467 # save warnings/boilerplate of simple test code
8468 ac_outfile=conftest.$ac_objext
8469 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8470 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8471 _lt_compiler_boilerplate=`cat conftest.err`
8472 $RM conftest*
8474 ac_outfile=conftest.$ac_objext
8475 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8476 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8477 _lt_linker_boilerplate=`cat conftest.err`
8478 $RM -r conftest*
8481 ## CAVEAT EMPTOR:
8482 ## There is no encapsulation within the following macros, do not change
8483 ## the running order or otherwise move them around unless you know exactly
8484 ## what you are doing...
8485 if test -n "$compiler"; then
8487 lt_prog_compiler_no_builtin_flag=
8489 if test "$GCC" = yes; then
8490 case $cc_basename in
8491 nvcc*)
8492 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8494 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8495 esac
8497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8498 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8499 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8500 $as_echo_n "(cached) " >&6
8501 else
8502 lt_cv_prog_compiler_rtti_exceptions=no
8503 ac_outfile=conftest.$ac_objext
8504 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8505 lt_compiler_flag="-fno-rtti -fno-exceptions"
8506 # Insert the option either (1) after the last *FLAGS variable, or
8507 # (2) before a word containing "conftest.", or (3) at the end.
8508 # Note that $ac_compile itself does not contain backslashes and begins
8509 # with a dollar sign (not a hyphen), so the echo should work correctly.
8510 # The option is referenced via a variable to avoid confusing sed.
8511 lt_compile=`echo "$ac_compile" | $SED \
8512 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8513 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8514 -e 's:$: $lt_compiler_flag:'`
8515 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8516 (eval "$lt_compile" 2>conftest.err)
8517 ac_status=$?
8518 cat conftest.err >&5
8519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8520 if (exit $ac_status) && test -s "$ac_outfile"; then
8521 # The compiler can only warn and ignore the option if not recognized
8522 # So say no if there are warnings other than the usual output.
8523 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8524 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8525 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8526 lt_cv_prog_compiler_rtti_exceptions=yes
8529 $RM conftest*
8532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8533 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8535 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8536 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8537 else
8548 lt_prog_compiler_wl=
8549 lt_prog_compiler_pic=
8550 lt_prog_compiler_static=
8552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8553 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8555 if test "$GCC" = yes; then
8556 lt_prog_compiler_wl='-Wl,'
8557 lt_prog_compiler_static='-static'
8559 case $host_os in
8560 aix*)
8561 # All AIX code is PIC.
8562 if test "$host_cpu" = ia64; then
8563 # AIX 5 now supports IA64 processor
8564 lt_prog_compiler_static='-Bstatic'
8566 lt_prog_compiler_pic='-fPIC'
8569 amigaos*)
8570 case $host_cpu in
8571 powerpc)
8572 # see comment about AmigaOS4 .so support
8573 lt_prog_compiler_pic='-fPIC'
8575 m68k)
8576 # FIXME: we need at least 68020 code to build shared libraries, but
8577 # adding the `-m68020' flag to GCC prevents building anything better,
8578 # like `-m68040'.
8579 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8581 esac
8584 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8585 # PIC is the default for these OSes.
8588 mingw* | cygwin* | pw32* | os2* | cegcc*)
8589 # This hack is so that the source file can tell whether it is being
8590 # built for inclusion in a dll (and should export symbols for example).
8591 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8592 # (--disable-auto-import) libraries
8593 lt_prog_compiler_pic='-DDLL_EXPORT'
8596 darwin* | rhapsody*)
8597 # PIC is the default on this platform
8598 # Common symbols not allowed in MH_DYLIB files
8599 lt_prog_compiler_pic='-fno-common'
8602 haiku*)
8603 # PIC is the default for Haiku.
8604 # The "-static" flag exists, but is broken.
8605 lt_prog_compiler_static=
8608 hpux*)
8609 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8610 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8611 # sets the default TLS model and affects inlining.
8612 case $host_cpu in
8613 hppa*64*)
8614 # +Z the default
8617 lt_prog_compiler_pic='-fPIC'
8619 esac
8622 interix[3-9]*)
8623 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8624 # Instead, we relocate shared libraries at runtime.
8627 msdosdjgpp*)
8628 # Just because we use GCC doesn't mean we suddenly get shared libraries
8629 # on systems that don't support them.
8630 lt_prog_compiler_can_build_shared=no
8631 enable_shared=no
8634 *nto* | *qnx*)
8635 # QNX uses GNU C++, but need to define -shared option too, otherwise
8636 # it will coredump.
8637 lt_prog_compiler_pic='-fPIC -shared'
8640 sysv4*MP*)
8641 if test -d /usr/nec; then
8642 lt_prog_compiler_pic=-Kconform_pic
8647 lt_prog_compiler_pic='-fPIC'
8649 esac
8651 case $cc_basename in
8652 nvcc*) # Cuda Compiler Driver 2.2
8653 lt_prog_compiler_wl='-Xlinker '
8654 lt_prog_compiler_pic='-Xcompiler -fPIC'
8656 esac
8657 else
8658 # PORTME Check for flag to pass linker flags through the system compiler.
8659 case $host_os in
8660 aix*)
8661 lt_prog_compiler_wl='-Wl,'
8662 if test "$host_cpu" = ia64; then
8663 # AIX 5 now supports IA64 processor
8664 lt_prog_compiler_static='-Bstatic'
8665 else
8666 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8670 mingw* | cygwin* | pw32* | os2* | cegcc*)
8671 # This hack is so that the source file can tell whether it is being
8672 # built for inclusion in a dll (and should export symbols for example).
8673 lt_prog_compiler_pic='-DDLL_EXPORT'
8676 hpux9* | hpux10* | hpux11*)
8677 lt_prog_compiler_wl='-Wl,'
8678 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8679 # not for PA HP-UX.
8680 case $host_cpu in
8681 hppa*64*|ia64*)
8682 # +Z the default
8685 lt_prog_compiler_pic='+Z'
8687 esac
8688 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8689 lt_prog_compiler_static='${wl}-a ${wl}archive'
8692 irix5* | irix6* | nonstopux*)
8693 lt_prog_compiler_wl='-Wl,'
8694 # PIC (with -KPIC) is the default.
8695 lt_prog_compiler_static='-non_shared'
8698 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8699 case $cc_basename in
8700 # old Intel for x86_64 which still supported -KPIC.
8701 ecc*)
8702 lt_prog_compiler_wl='-Wl,'
8703 lt_prog_compiler_pic='-KPIC'
8704 lt_prog_compiler_static='-static'
8706 # icc used to be incompatible with GCC.
8707 # ICC 10 doesn't accept -KPIC any more.
8708 icc* | ifort*)
8709 lt_prog_compiler_wl='-Wl,'
8710 lt_prog_compiler_pic='-fPIC'
8711 lt_prog_compiler_static='-static'
8713 # Lahey Fortran 8.1.
8714 lf95*)
8715 lt_prog_compiler_wl='-Wl,'
8716 lt_prog_compiler_pic='--shared'
8717 lt_prog_compiler_static='--static'
8719 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8720 # Portland Group compilers (*not* the Pentium gcc compiler,
8721 # which looks to be a dead project)
8722 lt_prog_compiler_wl='-Wl,'
8723 lt_prog_compiler_pic='-fpic'
8724 lt_prog_compiler_static='-Bstatic'
8726 ccc*)
8727 lt_prog_compiler_wl='-Wl,'
8728 # All Alpha code is PIC.
8729 lt_prog_compiler_static='-non_shared'
8731 xl* | bgxl* | bgf* | mpixl*)
8732 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8733 lt_prog_compiler_wl='-Wl,'
8734 lt_prog_compiler_pic='-qpic'
8735 lt_prog_compiler_static='-qstaticlink'
8738 case `$CC -V 2>&1 | sed 5q` in
8739 *Sun\ F* | *Sun*Fortran*)
8740 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8741 lt_prog_compiler_pic='-KPIC'
8742 lt_prog_compiler_static='-Bstatic'
8743 lt_prog_compiler_wl=''
8745 *Sun\ C*)
8746 # Sun C 5.9
8747 lt_prog_compiler_pic='-KPIC'
8748 lt_prog_compiler_static='-Bstatic'
8749 lt_prog_compiler_wl='-Wl,'
8751 esac
8753 esac
8756 newsos6)
8757 lt_prog_compiler_pic='-KPIC'
8758 lt_prog_compiler_static='-Bstatic'
8761 *nto* | *qnx*)
8762 # QNX uses GNU C++, but need to define -shared option too, otherwise
8763 # it will coredump.
8764 lt_prog_compiler_pic='-fPIC -shared'
8767 osf3* | osf4* | osf5*)
8768 lt_prog_compiler_wl='-Wl,'
8769 # All OSF/1 code is PIC.
8770 lt_prog_compiler_static='-non_shared'
8773 rdos*)
8774 lt_prog_compiler_static='-non_shared'
8777 solaris*)
8778 lt_prog_compiler_pic='-KPIC'
8779 lt_prog_compiler_static='-Bstatic'
8780 case $cc_basename in
8781 f77* | f90* | f95*)
8782 lt_prog_compiler_wl='-Qoption ld ';;
8784 lt_prog_compiler_wl='-Wl,';;
8785 esac
8788 sunos4*)
8789 lt_prog_compiler_wl='-Qoption ld '
8790 lt_prog_compiler_pic='-PIC'
8791 lt_prog_compiler_static='-Bstatic'
8794 sysv4 | sysv4.2uw2* | sysv4.3*)
8795 lt_prog_compiler_wl='-Wl,'
8796 lt_prog_compiler_pic='-KPIC'
8797 lt_prog_compiler_static='-Bstatic'
8800 sysv4*MP*)
8801 if test -d /usr/nec ;then
8802 lt_prog_compiler_pic='-Kconform_pic'
8803 lt_prog_compiler_static='-Bstatic'
8807 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8808 lt_prog_compiler_wl='-Wl,'
8809 lt_prog_compiler_pic='-KPIC'
8810 lt_prog_compiler_static='-Bstatic'
8813 unicos*)
8814 lt_prog_compiler_wl='-Wl,'
8815 lt_prog_compiler_can_build_shared=no
8818 uts4*)
8819 lt_prog_compiler_pic='-pic'
8820 lt_prog_compiler_static='-Bstatic'
8824 lt_prog_compiler_can_build_shared=no
8826 esac
8829 case $host_os in
8830 # For platforms which do not support PIC, -DPIC is meaningless:
8831 *djgpp*)
8832 lt_prog_compiler_pic=
8835 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8837 esac
8838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8839 $as_echo "$lt_prog_compiler_pic" >&6; }
8847 # Check to make sure the PIC flag actually works.
8849 if test -n "$lt_prog_compiler_pic"; then
8850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8851 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8852 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8853 $as_echo_n "(cached) " >&6
8854 else
8855 lt_cv_prog_compiler_pic_works=no
8856 ac_outfile=conftest.$ac_objext
8857 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8858 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8859 # Insert the option either (1) after the last *FLAGS variable, or
8860 # (2) before a word containing "conftest.", or (3) at the end.
8861 # Note that $ac_compile itself does not contain backslashes and begins
8862 # with a dollar sign (not a hyphen), so the echo should work correctly.
8863 # The option is referenced via a variable to avoid confusing sed.
8864 lt_compile=`echo "$ac_compile" | $SED \
8865 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8866 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8867 -e 's:$: $lt_compiler_flag:'`
8868 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8869 (eval "$lt_compile" 2>conftest.err)
8870 ac_status=$?
8871 cat conftest.err >&5
8872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8873 if (exit $ac_status) && test -s "$ac_outfile"; then
8874 # The compiler can only warn and ignore the option if not recognized
8875 # So say no if there are warnings other than the usual output.
8876 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8877 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8878 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8879 lt_cv_prog_compiler_pic_works=yes
8882 $RM conftest*
8885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8886 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8888 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8889 case $lt_prog_compiler_pic in
8890 "" | " "*) ;;
8891 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8892 esac
8893 else
8894 lt_prog_compiler_pic=
8895 lt_prog_compiler_can_build_shared=no
8906 # Check to make sure the static flag actually works.
8908 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8910 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8911 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8912 $as_echo_n "(cached) " >&6
8913 else
8914 lt_cv_prog_compiler_static_works=no
8915 save_LDFLAGS="$LDFLAGS"
8916 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8917 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8918 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8919 # The linker can only warn and ignore the option if not recognized
8920 # So say no if there are warnings
8921 if test -s conftest.err; then
8922 # Append any errors to the config.log.
8923 cat conftest.err 1>&5
8924 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8925 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8926 if diff conftest.exp conftest.er2 >/dev/null; then
8927 lt_cv_prog_compiler_static_works=yes
8929 else
8930 lt_cv_prog_compiler_static_works=yes
8933 $RM -r conftest*
8934 LDFLAGS="$save_LDFLAGS"
8937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8938 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8940 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8942 else
8943 lt_prog_compiler_static=
8952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8953 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8954 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8955 $as_echo_n "(cached) " >&6
8956 else
8957 lt_cv_prog_compiler_c_o=no
8958 $RM -r conftest 2>/dev/null
8959 mkdir conftest
8960 cd conftest
8961 mkdir out
8962 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8964 lt_compiler_flag="-o out/conftest2.$ac_objext"
8965 # Insert the option either (1) after the last *FLAGS variable, or
8966 # (2) before a word containing "conftest.", or (3) at the end.
8967 # Note that $ac_compile itself does not contain backslashes and begins
8968 # with a dollar sign (not a hyphen), so the echo should work correctly.
8969 lt_compile=`echo "$ac_compile" | $SED \
8970 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8971 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8972 -e 's:$: $lt_compiler_flag:'`
8973 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8974 (eval "$lt_compile" 2>out/conftest.err)
8975 ac_status=$?
8976 cat out/conftest.err >&5
8977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8978 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8979 then
8980 # The compiler can only warn and ignore the option if not recognized
8981 # So say no if there are warnings
8982 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8983 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8984 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8985 lt_cv_prog_compiler_c_o=yes
8988 chmod u+w . 2>&5
8989 $RM conftest*
8990 # SGI C++ compiler will create directory out/ii_files/ for
8991 # template instantiation
8992 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8993 $RM out/* && rmdir out
8994 cd ..
8995 $RM -r conftest
8996 $RM conftest*
8999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9000 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9008 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9009 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9010 $as_echo_n "(cached) " >&6
9011 else
9012 lt_cv_prog_compiler_c_o=no
9013 $RM -r conftest 2>/dev/null
9014 mkdir conftest
9015 cd conftest
9016 mkdir out
9017 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9019 lt_compiler_flag="-o out/conftest2.$ac_objext"
9020 # Insert the option either (1) after the last *FLAGS variable, or
9021 # (2) before a word containing "conftest.", or (3) at the end.
9022 # Note that $ac_compile itself does not contain backslashes and begins
9023 # with a dollar sign (not a hyphen), so the echo should work correctly.
9024 lt_compile=`echo "$ac_compile" | $SED \
9025 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9026 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9027 -e 's:$: $lt_compiler_flag:'`
9028 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9029 (eval "$lt_compile" 2>out/conftest.err)
9030 ac_status=$?
9031 cat out/conftest.err >&5
9032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9033 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9034 then
9035 # The compiler can only warn and ignore the option if not recognized
9036 # So say no if there are warnings
9037 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9038 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9039 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9040 lt_cv_prog_compiler_c_o=yes
9043 chmod u+w . 2>&5
9044 $RM conftest*
9045 # SGI C++ compiler will create directory out/ii_files/ for
9046 # template instantiation
9047 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9048 $RM out/* && rmdir out
9049 cd ..
9050 $RM -r conftest
9051 $RM conftest*
9054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9055 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9060 hard_links="nottested"
9061 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9062 # do not overwrite the value of need_locks provided by the user
9063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9064 $as_echo_n "checking if we can lock with hard links... " >&6; }
9065 hard_links=yes
9066 $RM conftest*
9067 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9068 touch conftest.a
9069 ln conftest.a conftest.b 2>&5 || hard_links=no
9070 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9072 $as_echo "$hard_links" >&6; }
9073 if test "$hard_links" = no; then
9074 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9075 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9076 need_locks=warn
9078 else
9079 need_locks=no
9087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9088 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9090 runpath_var=
9091 allow_undefined_flag=
9092 always_export_symbols=no
9093 archive_cmds=
9094 archive_expsym_cmds=
9095 compiler_needs_object=no
9096 enable_shared_with_static_runtimes=no
9097 export_dynamic_flag_spec=
9098 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9099 hardcode_automatic=no
9100 hardcode_direct=no
9101 hardcode_direct_absolute=no
9102 hardcode_libdir_flag_spec=
9103 hardcode_libdir_flag_spec_ld=
9104 hardcode_libdir_separator=
9105 hardcode_minus_L=no
9106 hardcode_shlibpath_var=unsupported
9107 inherit_rpath=no
9108 link_all_deplibs=unknown
9109 module_cmds=
9110 module_expsym_cmds=
9111 old_archive_from_new_cmds=
9112 old_archive_from_expsyms_cmds=
9113 thread_safe_flag_spec=
9114 whole_archive_flag_spec=
9115 # include_expsyms should be a list of space-separated symbols to be *always*
9116 # included in the symbol list
9117 include_expsyms=
9118 # exclude_expsyms can be an extended regexp of symbols to exclude
9119 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9120 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9121 # as well as any symbol that contains `d'.
9122 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9123 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9124 # platforms (ab)use it in PIC code, but their linkers get confused if
9125 # the symbol is explicitly referenced. Since portable code cannot
9126 # rely on this symbol name, it's probably fine to never include it in
9127 # preloaded symbol tables.
9128 # Exclude shared library initialization/finalization symbols.
9129 extract_expsyms_cmds=
9131 case $host_os in
9132 cygwin* | mingw* | pw32* | cegcc*)
9133 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9134 # When not using gcc, we currently assume that we are using
9135 # Microsoft Visual C++.
9136 if test "$GCC" != yes; then
9137 with_gnu_ld=no
9140 interix*)
9141 # we just hope/assume this is gcc and not c89 (= MSVC++)
9142 with_gnu_ld=yes
9144 openbsd*)
9145 with_gnu_ld=no
9147 esac
9149 ld_shlibs=yes
9151 # On some targets, GNU ld is compatible enough with the native linker
9152 # that we're better off using the native interface for both.
9153 lt_use_gnu_ld_interface=no
9154 if test "$with_gnu_ld" = yes; then
9155 case $host_os in
9156 aix*)
9157 # The AIX port of GNU ld has always aspired to compatibility
9158 # with the native linker. However, as the warning in the GNU ld
9159 # block says, versions before 2.19.5* couldn't really create working
9160 # shared libraries, regardless of the interface used.
9161 case `$LD -v 2>&1` in
9162 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9163 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9164 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9166 lt_use_gnu_ld_interface=yes
9168 esac
9171 lt_use_gnu_ld_interface=yes
9173 esac
9176 if test "$lt_use_gnu_ld_interface" = yes; then
9177 # If archive_cmds runs LD, not CC, wlarc should be empty
9178 wlarc='${wl}'
9180 # Set some defaults for GNU ld with shared library support. These
9181 # are reset later if shared libraries are not supported. Putting them
9182 # here allows them to be overridden if necessary.
9183 runpath_var=LD_RUN_PATH
9184 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9185 export_dynamic_flag_spec='${wl}--export-dynamic'
9186 # ancient GNU ld didn't support --whole-archive et. al.
9187 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9188 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9189 else
9190 whole_archive_flag_spec=
9192 supports_anon_versioning=no
9193 case `$LD -v 2>&1` in
9194 *GNU\ gold*) supports_anon_versioning=yes ;;
9195 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9196 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9197 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9198 *\ 2.11.*) ;; # other 2.11 versions
9199 *) supports_anon_versioning=yes ;;
9200 esac
9202 # See if GNU ld supports shared libraries.
9203 case $host_os in
9204 aix[3-9]*)
9205 # On AIX/PPC, the GNU linker is very broken
9206 if test "$host_cpu" != ia64; then
9207 ld_shlibs=no
9208 cat <<_LT_EOF 1>&2
9210 *** Warning: the GNU linker, at least up to release 2.19, is reported
9211 *** to be unable to reliably create shared libraries on AIX.
9212 *** Therefore, libtool is disabling shared libraries support. If you
9213 *** really care for shared libraries, you may want to install binutils
9214 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9215 *** You will then need to restart the configuration process.
9217 _LT_EOF
9221 amigaos*)
9222 case $host_cpu in
9223 powerpc)
9224 # see comment about AmigaOS4 .so support
9225 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9226 archive_expsym_cmds=''
9228 m68k)
9229 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)'
9230 hardcode_libdir_flag_spec='-L$libdir'
9231 hardcode_minus_L=yes
9233 esac
9236 beos*)
9237 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9238 allow_undefined_flag=unsupported
9239 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9240 # support --undefined. This deserves some investigation. FIXME
9241 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9242 else
9243 ld_shlibs=no
9247 cygwin* | mingw* | pw32* | cegcc*)
9248 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9249 # as there is no search path for DLLs.
9250 hardcode_libdir_flag_spec='-L$libdir'
9251 export_dynamic_flag_spec='${wl}--export-all-symbols'
9252 allow_undefined_flag=unsupported
9253 always_export_symbols=no
9254 enable_shared_with_static_runtimes=yes
9255 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9257 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9258 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9259 # If the export-symbols file already is a .def file (1st line
9260 # is EXPORTS), use it as is; otherwise, prepend...
9261 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9262 cp $export_symbols $output_objdir/$soname.def;
9263 else
9264 echo EXPORTS > $output_objdir/$soname.def;
9265 cat $export_symbols >> $output_objdir/$soname.def;
9267 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9268 else
9269 ld_shlibs=no
9273 haiku*)
9274 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9275 link_all_deplibs=yes
9278 interix[3-9]*)
9279 hardcode_direct=no
9280 hardcode_shlibpath_var=no
9281 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9282 export_dynamic_flag_spec='${wl}-E'
9283 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9284 # Instead, shared libraries are loaded at an image base (0x10000000 by
9285 # default) and relocated if they conflict, which is a slow very memory
9286 # consuming and fragmenting process. To avoid this, we pick a random,
9287 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9288 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9289 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9290 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'
9293 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9294 tmp_diet=no
9295 if test "$host_os" = linux-dietlibc; then
9296 case $cc_basename in
9297 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9298 esac
9300 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9301 && test "$tmp_diet" = no
9302 then
9303 tmp_addflag=' $pic_flag'
9304 tmp_sharedflag='-shared'
9305 case $cc_basename,$host_cpu in
9306 pgcc*) # Portland Group C compiler
9307 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'
9308 tmp_addflag=' $pic_flag'
9310 pgf77* | pgf90* | pgf95* | pgfortran*)
9311 # Portland Group f77 and f90 compilers
9312 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'
9313 tmp_addflag=' $pic_flag -Mnomain' ;;
9314 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9315 tmp_addflag=' -i_dynamic' ;;
9316 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9317 tmp_addflag=' -i_dynamic -nofor_main' ;;
9318 ifc* | ifort*) # Intel Fortran compiler
9319 tmp_addflag=' -nofor_main' ;;
9320 lf95*) # Lahey Fortran 8.1
9321 whole_archive_flag_spec=
9322 tmp_sharedflag='--shared' ;;
9323 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9324 tmp_sharedflag='-qmkshrobj'
9325 tmp_addflag= ;;
9326 nvcc*) # Cuda Compiler Driver 2.2
9327 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'
9328 compiler_needs_object=yes
9330 esac
9331 case `$CC -V 2>&1 | sed 5q` in
9332 *Sun\ C*) # Sun C 5.9
9333 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'
9334 compiler_needs_object=yes
9335 tmp_sharedflag='-G' ;;
9336 *Sun\ F*) # Sun Fortran 8.3
9337 tmp_sharedflag='-G' ;;
9338 esac
9339 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9341 if test "x$supports_anon_versioning" = xyes; then
9342 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9343 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9344 echo "local: *; };" >> $output_objdir/$libname.ver~
9345 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9348 case $cc_basename in
9349 xlf* | bgf* | bgxlf* | mpixlf*)
9350 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9351 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9352 hardcode_libdir_flag_spec=
9353 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9354 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9355 if test "x$supports_anon_versioning" = xyes; then
9356 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9357 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9358 echo "local: *; };" >> $output_objdir/$libname.ver~
9359 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9362 esac
9363 else
9364 ld_shlibs=no
9368 netbsd*)
9369 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9370 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9371 wlarc=
9372 else
9373 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9374 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9378 solaris*)
9379 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9380 ld_shlibs=no
9381 cat <<_LT_EOF 1>&2
9383 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9384 *** create shared libraries on Solaris systems. Therefore, libtool
9385 *** is disabling shared libraries support. We urge you to upgrade GNU
9386 *** binutils to release 2.9.1 or newer. Another option is to modify
9387 *** your PATH or compiler configuration so that the native linker is
9388 *** used, and then restart.
9390 _LT_EOF
9391 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9392 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9393 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9394 else
9395 ld_shlibs=no
9399 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9400 case `$LD -v 2>&1` in
9401 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9402 ld_shlibs=no
9403 cat <<_LT_EOF 1>&2
9405 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9406 *** reliably create shared libraries on SCO systems. Therefore, libtool
9407 *** is disabling shared libraries support. We urge you to upgrade GNU
9408 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9409 *** your PATH or compiler configuration so that the native linker is
9410 *** used, and then restart.
9412 _LT_EOF
9415 # For security reasons, it is highly recommended that you always
9416 # use absolute paths for naming shared libraries, and exclude the
9417 # DT_RUNPATH tag from executables and libraries. But doing so
9418 # requires that you compile everything twice, which is a pain.
9419 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9420 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9421 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9422 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9423 else
9424 ld_shlibs=no
9427 esac
9430 sunos4*)
9431 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9432 wlarc=
9433 hardcode_direct=yes
9434 hardcode_shlibpath_var=no
9438 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9439 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9440 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9441 else
9442 ld_shlibs=no
9445 esac
9447 if test "$ld_shlibs" = no; then
9448 runpath_var=
9449 hardcode_libdir_flag_spec=
9450 export_dynamic_flag_spec=
9451 whole_archive_flag_spec=
9453 else
9454 # PORTME fill in a description of your system's linker (not GNU ld)
9455 case $host_os in
9456 aix3*)
9457 allow_undefined_flag=unsupported
9458 always_export_symbols=yes
9459 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'
9460 # Note: this linker hardcodes the directories in LIBPATH if there
9461 # are no directories specified by -L.
9462 hardcode_minus_L=yes
9463 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9464 # Neither direct hardcoding nor static linking is supported with a
9465 # broken collect2.
9466 hardcode_direct=unsupported
9470 aix[4-9]*)
9471 if test "$host_cpu" = ia64; then
9472 # On IA64, the linker does run time linking by default, so we don't
9473 # have to do anything special.
9474 aix_use_runtimelinking=no
9475 exp_sym_flag='-Bexport'
9476 no_entry_flag=""
9477 else
9478 # If we're using GNU nm, then we don't want the "-C" option.
9479 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9480 # Also, AIX nm treats weak defined symbols like other global
9481 # defined symbols, whereas GNU nm marks them as "W".
9482 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9483 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'
9484 else
9485 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'
9487 aix_use_runtimelinking=no
9489 # Test if we are trying to use run time linking or normal
9490 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9491 # need to do runtime linking.
9492 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9493 for ld_flag in $LDFLAGS; do
9494 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9495 aix_use_runtimelinking=yes
9496 break
9498 done
9500 esac
9502 exp_sym_flag='-bexport'
9503 no_entry_flag='-bnoentry'
9506 # When large executables or shared objects are built, AIX ld can
9507 # have problems creating the table of contents. If linking a library
9508 # or program results in "error TOC overflow" add -mminimal-toc to
9509 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9510 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9512 archive_cmds=''
9513 hardcode_direct=yes
9514 hardcode_direct_absolute=yes
9515 hardcode_libdir_separator=':'
9516 link_all_deplibs=yes
9517 file_list_spec='${wl}-f,'
9519 if test "$GCC" = yes; then
9520 case $host_os in aix4.[012]|aix4.[012].*)
9521 # We only want to do this on AIX 4.2 and lower, the check
9522 # below for broken collect2 doesn't work under 4.3+
9523 collect2name=`${CC} -print-prog-name=collect2`
9524 if test -f "$collect2name" &&
9525 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9526 then
9527 # We have reworked collect2
9529 else
9530 # We have old collect2
9531 hardcode_direct=unsupported
9532 # It fails to find uninstalled libraries when the uninstalled
9533 # path is not listed in the libpath. Setting hardcode_minus_L
9534 # to unsupported forces relinking
9535 hardcode_minus_L=yes
9536 hardcode_libdir_flag_spec='-L$libdir'
9537 hardcode_libdir_separator=
9540 esac
9541 shared_flag='-shared'
9542 if test "$aix_use_runtimelinking" = yes; then
9543 shared_flag="$shared_flag "'${wl}-G'
9545 else
9546 # not using gcc
9547 if test "$host_cpu" = ia64; then
9548 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9549 # chokes on -Wl,-G. The following line is correct:
9550 shared_flag='-G'
9551 else
9552 if test "$aix_use_runtimelinking" = yes; then
9553 shared_flag='${wl}-G'
9554 else
9555 shared_flag='${wl}-bM:SRE'
9560 export_dynamic_flag_spec='${wl}-bexpall'
9561 # It seems that -bexpall does not export symbols beginning with
9562 # underscore (_), so it is better to generate a list of symbols to export.
9563 always_export_symbols=yes
9564 if test "$aix_use_runtimelinking" = yes; then
9565 # Warning - without using the other runtime loading flags (-brtl),
9566 # -berok will link without error, but may produce a broken library.
9567 allow_undefined_flag='-berok'
9568 # Determine the default libpath from the value encoded in an
9569 # empty executable.
9570 if test x$gcc_no_link = xyes; then
9571 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9574 /* end confdefs.h. */
9577 main ()
9581 return 0;
9583 _ACEOF
9584 if ac_fn_c_try_link "$LINENO"; then :
9586 lt_aix_libpath_sed='
9587 /Import File Strings/,/^$/ {
9588 /^0/ {
9589 s/^0 *\(.*\)$/\1/
9593 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9594 # Check for a 64-bit object if we didn't find anything.
9595 if test -z "$aix_libpath"; then
9596 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9599 rm -f core conftest.err conftest.$ac_objext \
9600 conftest$ac_exeext conftest.$ac_ext
9601 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9603 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9604 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"
9605 else
9606 if test "$host_cpu" = ia64; then
9607 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9608 allow_undefined_flag="-z nodefs"
9609 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"
9610 else
9611 # Determine the default libpath from the value encoded in an
9612 # empty executable.
9613 if test x$gcc_no_link = xyes; then
9614 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9617 /* end confdefs.h. */
9620 main ()
9624 return 0;
9626 _ACEOF
9627 if ac_fn_c_try_link "$LINENO"; then :
9629 lt_aix_libpath_sed='
9630 /Import File Strings/,/^$/ {
9631 /^0/ {
9632 s/^0 *\(.*\)$/\1/
9636 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9637 # Check for a 64-bit object if we didn't find anything.
9638 if test -z "$aix_libpath"; then
9639 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9642 rm -f core conftest.err conftest.$ac_objext \
9643 conftest$ac_exeext conftest.$ac_ext
9644 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9646 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9647 # Warning - without using the other run time loading flags,
9648 # -berok will link without error, but may produce a broken library.
9649 no_undefined_flag=' ${wl}-bernotok'
9650 allow_undefined_flag=' ${wl}-berok'
9651 if test "$with_gnu_ld" = yes; then
9652 # We only use this code for GNU lds that support --whole-archive.
9653 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9654 else
9655 # Exported symbols can be pulled into shared objects from archives
9656 whole_archive_flag_spec='$convenience'
9658 archive_cmds_need_lc=yes
9659 # This is similar to how AIX traditionally builds its shared libraries.
9660 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'
9665 amigaos*)
9666 case $host_cpu in
9667 powerpc)
9668 # see comment about AmigaOS4 .so support
9669 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9670 archive_expsym_cmds=''
9672 m68k)
9673 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)'
9674 hardcode_libdir_flag_spec='-L$libdir'
9675 hardcode_minus_L=yes
9677 esac
9680 bsdi[45]*)
9681 export_dynamic_flag_spec=-rdynamic
9684 cygwin* | mingw* | pw32* | cegcc*)
9685 # When not using gcc, we currently assume that we are using
9686 # Microsoft Visual C++.
9687 # hardcode_libdir_flag_spec is actually meaningless, as there is
9688 # no search path for DLLs.
9689 hardcode_libdir_flag_spec=' '
9690 allow_undefined_flag=unsupported
9691 # Tell ltmain to make .lib files, not .a files.
9692 libext=lib
9693 # Tell ltmain to make .dll files, not .so files.
9694 shrext_cmds=".dll"
9695 # FIXME: Setting linknames here is a bad hack.
9696 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9697 # The linker will automatically build a .lib file if we build a DLL.
9698 old_archive_from_new_cmds='true'
9699 # FIXME: Should let the user specify the lib program.
9700 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9701 fix_srcfile_path='`cygpath -w "$srcfile"`'
9702 enable_shared_with_static_runtimes=yes
9705 darwin* | rhapsody*)
9708 archive_cmds_need_lc=no
9709 hardcode_direct=no
9710 hardcode_automatic=yes
9711 hardcode_shlibpath_var=unsupported
9712 if test "$lt_cv_ld_force_load" = "yes"; then
9713 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\"`'
9714 else
9715 whole_archive_flag_spec=''
9717 link_all_deplibs=yes
9718 allow_undefined_flag="$_lt_dar_allow_undefined"
9719 case $cc_basename in
9720 ifort*) _lt_dar_can_shared=yes ;;
9721 *) _lt_dar_can_shared=$GCC ;;
9722 esac
9723 if test "$_lt_dar_can_shared" = "yes"; then
9724 output_verbose_link_cmd=func_echo_all
9725 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9726 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9727 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}"
9728 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}"
9730 else
9731 ld_shlibs=no
9736 dgux*)
9737 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9738 hardcode_libdir_flag_spec='-L$libdir'
9739 hardcode_shlibpath_var=no
9742 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9743 # support. Future versions do this automatically, but an explicit c++rt0.o
9744 # does not break anything, and helps significantly (at the cost of a little
9745 # extra space).
9746 freebsd2.2*)
9747 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9748 hardcode_libdir_flag_spec='-R$libdir'
9749 hardcode_direct=yes
9750 hardcode_shlibpath_var=no
9753 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9754 freebsd2.*)
9755 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9756 hardcode_direct=yes
9757 hardcode_minus_L=yes
9758 hardcode_shlibpath_var=no
9761 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9762 freebsd* | dragonfly*)
9763 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9764 hardcode_libdir_flag_spec='-R$libdir'
9765 hardcode_direct=yes
9766 hardcode_shlibpath_var=no
9769 hpux9*)
9770 if test "$GCC" = yes; then
9771 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'
9772 else
9773 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'
9775 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9776 hardcode_libdir_separator=:
9777 hardcode_direct=yes
9779 # hardcode_minus_L: Not really in the search PATH,
9780 # but as the default location of the library.
9781 hardcode_minus_L=yes
9782 export_dynamic_flag_spec='${wl}-E'
9785 hpux10*)
9786 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9787 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9788 else
9789 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9791 if test "$with_gnu_ld" = no; then
9792 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9793 hardcode_libdir_flag_spec_ld='+b $libdir'
9794 hardcode_libdir_separator=:
9795 hardcode_direct=yes
9796 hardcode_direct_absolute=yes
9797 export_dynamic_flag_spec='${wl}-E'
9798 # hardcode_minus_L: Not really in the search PATH,
9799 # but as the default location of the library.
9800 hardcode_minus_L=yes
9804 hpux11*)
9805 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9806 case $host_cpu in
9807 hppa*64*)
9808 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9810 ia64*)
9811 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9814 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9816 esac
9817 else
9818 case $host_cpu in
9819 hppa*64*)
9820 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9822 ia64*)
9823 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9827 # Older versions of the 11.00 compiler do not understand -b yet
9828 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9830 $as_echo_n "checking if $CC understands -b... " >&6; }
9831 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9832 $as_echo_n "(cached) " >&6
9833 else
9834 lt_cv_prog_compiler__b=no
9835 save_LDFLAGS="$LDFLAGS"
9836 LDFLAGS="$LDFLAGS -b"
9837 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9838 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9839 # The linker can only warn and ignore the option if not recognized
9840 # So say no if there are warnings
9841 if test -s conftest.err; then
9842 # Append any errors to the config.log.
9843 cat conftest.err 1>&5
9844 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9845 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9846 if diff conftest.exp conftest.er2 >/dev/null; then
9847 lt_cv_prog_compiler__b=yes
9849 else
9850 lt_cv_prog_compiler__b=yes
9853 $RM -r conftest*
9854 LDFLAGS="$save_LDFLAGS"
9857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9858 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9860 if test x"$lt_cv_prog_compiler__b" = xyes; then
9861 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9862 else
9863 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9867 esac
9869 if test "$with_gnu_ld" = no; then
9870 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9871 hardcode_libdir_separator=:
9873 case $host_cpu in
9874 hppa*64*|ia64*)
9875 hardcode_direct=no
9876 hardcode_shlibpath_var=no
9879 hardcode_direct=yes
9880 hardcode_direct_absolute=yes
9881 export_dynamic_flag_spec='${wl}-E'
9883 # hardcode_minus_L: Not really in the search PATH,
9884 # but as the default location of the library.
9885 hardcode_minus_L=yes
9887 esac
9891 irix5* | irix6* | nonstopux*)
9892 if test "$GCC" = yes; then
9893 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'
9894 # Try to use the -exported_symbol ld option, if it does not
9895 # work, assume that -exports_file does not work either and
9896 # implicitly export all symbols.
9897 save_LDFLAGS="$LDFLAGS"
9898 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9899 if test x$gcc_no_link = xyes; then
9900 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9903 /* end confdefs.h. */
9904 int foo(void) {}
9905 _ACEOF
9906 if ac_fn_c_try_link "$LINENO"; then :
9907 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'
9910 rm -f core conftest.err conftest.$ac_objext \
9911 conftest$ac_exeext conftest.$ac_ext
9912 LDFLAGS="$save_LDFLAGS"
9913 else
9914 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'
9915 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'
9917 archive_cmds_need_lc='no'
9918 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9919 hardcode_libdir_separator=:
9920 inherit_rpath=yes
9921 link_all_deplibs=yes
9924 netbsd*)
9925 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9926 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9927 else
9928 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9930 hardcode_libdir_flag_spec='-R$libdir'
9931 hardcode_direct=yes
9932 hardcode_shlibpath_var=no
9935 newsos6)
9936 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9937 hardcode_direct=yes
9938 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9939 hardcode_libdir_separator=:
9940 hardcode_shlibpath_var=no
9943 *nto* | *qnx*)
9946 openbsd*)
9947 if test -f /usr/libexec/ld.so; then
9948 hardcode_direct=yes
9949 hardcode_shlibpath_var=no
9950 hardcode_direct_absolute=yes
9951 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9952 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9953 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9954 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9955 export_dynamic_flag_spec='${wl}-E'
9956 else
9957 case $host_os in
9958 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9959 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9960 hardcode_libdir_flag_spec='-R$libdir'
9963 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9964 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9966 esac
9968 else
9969 ld_shlibs=no
9973 os2*)
9974 hardcode_libdir_flag_spec='-L$libdir'
9975 hardcode_minus_L=yes
9976 allow_undefined_flag=unsupported
9977 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'
9978 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9981 osf3*)
9982 if test "$GCC" = yes; then
9983 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9984 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'
9985 else
9986 allow_undefined_flag=' -expect_unresolved \*'
9987 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'
9989 archive_cmds_need_lc='no'
9990 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9991 hardcode_libdir_separator=:
9994 osf4* | osf5*) # as osf3* with the addition of -msym flag
9995 if test "$GCC" = yes; then
9996 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9997 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'
9998 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9999 else
10000 allow_undefined_flag=' -expect_unresolved \*'
10001 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'
10002 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~
10003 $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'
10005 # Both c and cxx compiler support -rpath directly
10006 hardcode_libdir_flag_spec='-rpath $libdir'
10008 archive_cmds_need_lc='no'
10009 hardcode_libdir_separator=:
10012 solaris*)
10013 no_undefined_flag=' -z defs'
10014 if test "$GCC" = yes; then
10015 wlarc='${wl}'
10016 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10017 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10018 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10019 else
10020 case `$CC -V 2>&1` in
10021 *"Compilers 5.0"*)
10022 wlarc=''
10023 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10024 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10025 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10028 wlarc='${wl}'
10029 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10030 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10031 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10033 esac
10035 hardcode_libdir_flag_spec='-R$libdir'
10036 hardcode_shlibpath_var=no
10037 case $host_os in
10038 solaris2.[0-5] | solaris2.[0-5].*) ;;
10040 # The compiler driver will combine and reorder linker options,
10041 # but understands `-z linker_flag'. GCC discards it without `$wl',
10042 # but is careful enough not to reorder.
10043 # Supported since Solaris 2.6 (maybe 2.5.1?)
10044 if test "$GCC" = yes; then
10045 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10046 else
10047 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10050 esac
10051 link_all_deplibs=yes
10054 sunos4*)
10055 if test "x$host_vendor" = xsequent; then
10056 # Use $CC to link under sequent, because it throws in some extra .o
10057 # files that make .init and .fini sections work.
10058 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10059 else
10060 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10062 hardcode_libdir_flag_spec='-L$libdir'
10063 hardcode_direct=yes
10064 hardcode_minus_L=yes
10065 hardcode_shlibpath_var=no
10068 sysv4)
10069 case $host_vendor in
10070 sni)
10071 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10072 hardcode_direct=yes # is this really true???
10074 siemens)
10075 ## LD is ld it makes a PLAMLIB
10076 ## CC just makes a GrossModule.
10077 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10078 reload_cmds='$CC -r -o $output$reload_objs'
10079 hardcode_direct=no
10081 motorola)
10082 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10083 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10085 esac
10086 runpath_var='LD_RUN_PATH'
10087 hardcode_shlibpath_var=no
10090 sysv4.3*)
10091 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10092 hardcode_shlibpath_var=no
10093 export_dynamic_flag_spec='-Bexport'
10096 sysv4*MP*)
10097 if test -d /usr/nec; then
10098 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10099 hardcode_shlibpath_var=no
10100 runpath_var=LD_RUN_PATH
10101 hardcode_runpath_var=yes
10102 ld_shlibs=yes
10106 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10107 no_undefined_flag='${wl}-z,text'
10108 archive_cmds_need_lc=no
10109 hardcode_shlibpath_var=no
10110 runpath_var='LD_RUN_PATH'
10112 if test "$GCC" = yes; then
10113 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10114 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10115 else
10116 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10117 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10121 sysv5* | sco3.2v5* | sco5v6*)
10122 # Note: We can NOT use -z defs as we might desire, because we do not
10123 # link with -lc, and that would cause any symbols used from libc to
10124 # always be unresolved, which means just about no library would
10125 # ever link correctly. If we're not using GNU ld we use -z text
10126 # though, which does catch some bad symbols but isn't as heavy-handed
10127 # as -z defs.
10128 no_undefined_flag='${wl}-z,text'
10129 allow_undefined_flag='${wl}-z,nodefs'
10130 archive_cmds_need_lc=no
10131 hardcode_shlibpath_var=no
10132 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10133 hardcode_libdir_separator=':'
10134 link_all_deplibs=yes
10135 export_dynamic_flag_spec='${wl}-Bexport'
10136 runpath_var='LD_RUN_PATH'
10138 if test "$GCC" = yes; then
10139 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10140 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10141 else
10142 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10143 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10147 uts4*)
10148 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10149 hardcode_libdir_flag_spec='-L$libdir'
10150 hardcode_shlibpath_var=no
10154 ld_shlibs=no
10156 esac
10158 if test x$host_vendor = xsni; then
10159 case $host in
10160 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10161 export_dynamic_flag_spec='${wl}-Blargedynsym'
10163 esac
10167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10168 $as_echo "$ld_shlibs" >&6; }
10169 test "$ld_shlibs" = no && can_build_shared=no
10171 with_gnu_ld=$with_gnu_ld
10188 # Do we need to explicitly link libc?
10190 case "x$archive_cmds_need_lc" in
10191 x|xyes)
10192 # Assume -lc should be added
10193 archive_cmds_need_lc=yes
10195 if test "$enable_shared" = yes && test "$GCC" = yes; then
10196 case $archive_cmds in
10197 *'~'*)
10198 # FIXME: we may have to deal with multi-command sequences.
10200 '$CC '*)
10201 # Test whether the compiler implicitly links with -lc since on some
10202 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10203 # to ld, don't add -lc before -lgcc.
10204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10205 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10206 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10207 $as_echo_n "(cached) " >&6
10208 else
10209 $RM conftest*
10210 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10212 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10213 (eval $ac_compile) 2>&5
10214 ac_status=$?
10215 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10216 test $ac_status = 0; } 2>conftest.err; then
10217 soname=conftest
10218 lib=conftest
10219 libobjs=conftest.$ac_objext
10220 deplibs=
10221 wl=$lt_prog_compiler_wl
10222 pic_flag=$lt_prog_compiler_pic
10223 compiler_flags=-v
10224 linker_flags=-v
10225 verstring=
10226 output_objdir=.
10227 libname=conftest
10228 lt_save_allow_undefined_flag=$allow_undefined_flag
10229 allow_undefined_flag=
10230 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10231 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10232 ac_status=$?
10233 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10234 test $ac_status = 0; }
10235 then
10236 lt_cv_archive_cmds_need_lc=no
10237 else
10238 lt_cv_archive_cmds_need_lc=yes
10240 allow_undefined_flag=$lt_save_allow_undefined_flag
10241 else
10242 cat conftest.err 1>&5
10244 $RM conftest*
10247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10248 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10249 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10251 esac
10254 esac
10412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10413 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10415 if test "$GCC" = yes; then
10416 case $host_os in
10417 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10418 *) lt_awk_arg="/^libraries:/" ;;
10419 esac
10420 case $host_os in
10421 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10422 *) lt_sed_strip_eq="s,=/,/,g" ;;
10423 esac
10424 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10425 case $lt_search_path_spec in
10426 *\;*)
10427 # if the path contains ";" then we assume it to be the separator
10428 # otherwise default to the standard path separator (i.e. ":") - it is
10429 # assumed that no part of a normal pathname contains ";" but that should
10430 # okay in the real world where ";" in dirpaths is itself problematic.
10431 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10434 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10436 esac
10437 # Ok, now we have the path, separated by spaces, we can step through it
10438 # and add multilib dir if necessary.
10439 lt_tmp_lt_search_path_spec=
10440 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10441 for lt_sys_path in $lt_search_path_spec; do
10442 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10443 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10444 else
10445 test -d "$lt_sys_path" && \
10446 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10448 done
10449 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10450 BEGIN {RS=" "; FS="/|\n";} {
10451 lt_foo="";
10452 lt_count=0;
10453 for (lt_i = NF; lt_i > 0; lt_i--) {
10454 if ($lt_i != "" && $lt_i != ".") {
10455 if ($lt_i == "..") {
10456 lt_count++;
10457 } else {
10458 if (lt_count == 0) {
10459 lt_foo="/" $lt_i lt_foo;
10460 } else {
10461 lt_count--;
10466 if (lt_foo != "") { lt_freq[lt_foo]++; }
10467 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10469 # AWK program above erroneously prepends '/' to C:/dos/paths
10470 # for these hosts.
10471 case $host_os in
10472 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10473 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10474 esac
10475 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10476 else
10477 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10479 library_names_spec=
10480 libname_spec='lib$name'
10481 soname_spec=
10482 shrext_cmds=".so"
10483 postinstall_cmds=
10484 postuninstall_cmds=
10485 finish_cmds=
10486 finish_eval=
10487 shlibpath_var=
10488 shlibpath_overrides_runpath=unknown
10489 version_type=none
10490 dynamic_linker="$host_os ld.so"
10491 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10492 need_lib_prefix=unknown
10493 hardcode_into_libs=no
10495 # when you set need_version to no, make sure it does not cause -set_version
10496 # flags to be left without arguments
10497 need_version=unknown
10499 case $host_os in
10500 aix3*)
10501 version_type=linux
10502 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10503 shlibpath_var=LIBPATH
10505 # AIX 3 has no versioning support, so we append a major version to the name.
10506 soname_spec='${libname}${release}${shared_ext}$major'
10509 aix[4-9]*)
10510 version_type=linux
10511 need_lib_prefix=no
10512 need_version=no
10513 hardcode_into_libs=yes
10514 if test "$host_cpu" = ia64; then
10515 # AIX 5 supports IA64
10516 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10517 shlibpath_var=LD_LIBRARY_PATH
10518 else
10519 # With GCC up to 2.95.x, collect2 would create an import file
10520 # for dependence libraries. The import file would start with
10521 # the line `#! .'. This would cause the generated library to
10522 # depend on `.', always an invalid library. This was fixed in
10523 # development snapshots of GCC prior to 3.0.
10524 case $host_os in
10525 aix4 | aix4.[01] | aix4.[01].*)
10526 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10527 echo ' yes '
10528 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10530 else
10531 can_build_shared=no
10534 esac
10535 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10536 # soname into executable. Probably we can add versioning support to
10537 # collect2, so additional links can be useful in future.
10538 if test "$aix_use_runtimelinking" = yes; then
10539 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10540 # instead of lib<name>.a to let people know that these are not
10541 # typical AIX shared libraries.
10542 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10543 else
10544 # We preserve .a as extension for shared libraries through AIX4.2
10545 # and later when we are not doing run time linking.
10546 library_names_spec='${libname}${release}.a $libname.a'
10547 soname_spec='${libname}${release}${shared_ext}$major'
10549 shlibpath_var=LIBPATH
10553 amigaos*)
10554 case $host_cpu in
10555 powerpc)
10556 # Since July 2007 AmigaOS4 officially supports .so libraries.
10557 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10558 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10560 m68k)
10561 library_names_spec='$libname.ixlibrary $libname.a'
10562 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10563 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'
10565 esac
10568 beos*)
10569 library_names_spec='${libname}${shared_ext}'
10570 dynamic_linker="$host_os ld.so"
10571 shlibpath_var=LIBRARY_PATH
10574 bsdi[45]*)
10575 version_type=linux
10576 need_version=no
10577 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10578 soname_spec='${libname}${release}${shared_ext}$major'
10579 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10580 shlibpath_var=LD_LIBRARY_PATH
10581 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10582 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10583 # the default ld.so.conf also contains /usr/contrib/lib and
10584 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10585 # libtool to hard-code these into programs
10588 cygwin* | mingw* | pw32* | cegcc*)
10589 version_type=windows
10590 shrext_cmds=".dll"
10591 need_version=no
10592 need_lib_prefix=no
10594 case $GCC,$host_os in
10595 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10596 library_names_spec='$libname.dll.a'
10597 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10598 postinstall_cmds='base_file=`basename \${file}`~
10599 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10600 dldir=$destdir/`dirname \$dlpath`~
10601 test -d \$dldir || mkdir -p \$dldir~
10602 $install_prog $dir/$dlname \$dldir/$dlname~
10603 chmod a+x \$dldir/$dlname~
10604 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10605 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10607 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10608 dlpath=$dir/\$dldll~
10609 $RM \$dlpath'
10610 shlibpath_overrides_runpath=yes
10612 case $host_os in
10613 cygwin*)
10614 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10615 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10617 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10619 mingw* | cegcc*)
10620 # MinGW DLLs use traditional 'lib' prefix
10621 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10623 pw32*)
10624 # pw32 DLLs use 'pw' prefix rather than 'lib'
10625 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10627 esac
10631 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10633 esac
10634 dynamic_linker='Win32 ld.exe'
10635 # FIXME: first we should search . and the directory the executable is in
10636 shlibpath_var=PATH
10639 darwin* | rhapsody*)
10640 dynamic_linker="$host_os dyld"
10641 version_type=darwin
10642 need_lib_prefix=no
10643 need_version=no
10644 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10645 soname_spec='${libname}${release}${major}$shared_ext'
10646 shlibpath_overrides_runpath=yes
10647 shlibpath_var=DYLD_LIBRARY_PATH
10648 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10650 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10651 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10654 dgux*)
10655 version_type=linux
10656 need_lib_prefix=no
10657 need_version=no
10658 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10659 soname_spec='${libname}${release}${shared_ext}$major'
10660 shlibpath_var=LD_LIBRARY_PATH
10663 freebsd* | dragonfly*)
10664 # DragonFly does not have aout. When/if they implement a new
10665 # versioning mechanism, adjust this.
10666 if test -x /usr/bin/objformat; then
10667 objformat=`/usr/bin/objformat`
10668 else
10669 case $host_os in
10670 freebsd[23].*) objformat=aout ;;
10671 *) objformat=elf ;;
10672 esac
10674 version_type=freebsd-$objformat
10675 case $version_type in
10676 freebsd-elf*)
10677 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10678 need_version=no
10679 need_lib_prefix=no
10681 freebsd-*)
10682 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10683 need_version=yes
10685 esac
10686 shlibpath_var=LD_LIBRARY_PATH
10687 case $host_os in
10688 freebsd2.*)
10689 shlibpath_overrides_runpath=yes
10691 freebsd3.[01]* | freebsdelf3.[01]*)
10692 shlibpath_overrides_runpath=yes
10693 hardcode_into_libs=yes
10695 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10696 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10697 shlibpath_overrides_runpath=no
10698 hardcode_into_libs=yes
10700 *) # from 4.6 on, and DragonFly
10701 shlibpath_overrides_runpath=yes
10702 hardcode_into_libs=yes
10704 esac
10707 gnu*)
10708 version_type=linux
10709 need_lib_prefix=no
10710 need_version=no
10711 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10712 soname_spec='${libname}${release}${shared_ext}$major'
10713 shlibpath_var=LD_LIBRARY_PATH
10714 hardcode_into_libs=yes
10717 haiku*)
10718 version_type=linux
10719 need_lib_prefix=no
10720 need_version=no
10721 dynamic_linker="$host_os runtime_loader"
10722 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10723 soname_spec='${libname}${release}${shared_ext}$major'
10724 shlibpath_var=LIBRARY_PATH
10725 shlibpath_overrides_runpath=yes
10726 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10727 hardcode_into_libs=yes
10730 hpux9* | hpux10* | hpux11*)
10731 # Give a soname corresponding to the major version so that dld.sl refuses to
10732 # link against other versions.
10733 version_type=sunos
10734 need_lib_prefix=no
10735 need_version=no
10736 case $host_cpu in
10737 ia64*)
10738 shrext_cmds='.so'
10739 hardcode_into_libs=yes
10740 dynamic_linker="$host_os dld.so"
10741 shlibpath_var=LD_LIBRARY_PATH
10742 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10743 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10744 soname_spec='${libname}${release}${shared_ext}$major'
10745 if test "X$HPUX_IA64_MODE" = X32; then
10746 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10747 else
10748 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10750 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10752 hppa*64*)
10753 shrext_cmds='.sl'
10754 hardcode_into_libs=yes
10755 dynamic_linker="$host_os dld.sl"
10756 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10757 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10758 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10759 soname_spec='${libname}${release}${shared_ext}$major'
10760 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10761 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10764 shrext_cmds='.sl'
10765 dynamic_linker="$host_os dld.sl"
10766 shlibpath_var=SHLIB_PATH
10767 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10768 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10769 soname_spec='${libname}${release}${shared_ext}$major'
10771 esac
10772 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10773 postinstall_cmds='chmod 555 $lib'
10774 # or fails outright, so override atomically:
10775 install_override_mode=555
10778 interix[3-9]*)
10779 version_type=linux
10780 need_lib_prefix=no
10781 need_version=no
10782 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10783 soname_spec='${libname}${release}${shared_ext}$major'
10784 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10785 shlibpath_var=LD_LIBRARY_PATH
10786 shlibpath_overrides_runpath=no
10787 hardcode_into_libs=yes
10790 irix5* | irix6* | nonstopux*)
10791 case $host_os in
10792 nonstopux*) version_type=nonstopux ;;
10794 if test "$lt_cv_prog_gnu_ld" = yes; then
10795 version_type=linux
10796 else
10797 version_type=irix
10798 fi ;;
10799 esac
10800 need_lib_prefix=no
10801 need_version=no
10802 soname_spec='${libname}${release}${shared_ext}$major'
10803 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10804 case $host_os in
10805 irix5* | nonstopux*)
10806 libsuff= shlibsuff=
10809 case $LD in # libtool.m4 will add one of these switches to LD
10810 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10811 libsuff= shlibsuff= libmagic=32-bit;;
10812 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10813 libsuff=32 shlibsuff=N32 libmagic=N32;;
10814 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10815 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10816 *) libsuff= shlibsuff= libmagic=never-match;;
10817 esac
10819 esac
10820 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10821 shlibpath_overrides_runpath=no
10822 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10823 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10824 hardcode_into_libs=yes
10827 # No shared lib support for Linux oldld, aout, or coff.
10828 linux*oldld* | linux*aout* | linux*coff*)
10829 dynamic_linker=no
10832 # This must be Linux ELF.
10833 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10834 version_type=linux
10835 need_lib_prefix=no
10836 need_version=no
10837 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10838 soname_spec='${libname}${release}${shared_ext}$major'
10839 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10840 shlibpath_var=LD_LIBRARY_PATH
10841 shlibpath_overrides_runpath=no
10843 # Some binutils ld are patched to set DT_RUNPATH
10844 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10845 $as_echo_n "(cached) " >&6
10846 else
10847 lt_cv_shlibpath_overrides_runpath=no
10848 save_LDFLAGS=$LDFLAGS
10849 save_libdir=$libdir
10850 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10851 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10852 if test x$gcc_no_link = xyes; then
10853 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10856 /* end confdefs.h. */
10859 main ()
10863 return 0;
10865 _ACEOF
10866 if ac_fn_c_try_link "$LINENO"; then :
10867 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10868 lt_cv_shlibpath_overrides_runpath=yes
10871 rm -f core conftest.err conftest.$ac_objext \
10872 conftest$ac_exeext conftest.$ac_ext
10873 LDFLAGS=$save_LDFLAGS
10874 libdir=$save_libdir
10878 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10880 # This implies no fast_install, which is unacceptable.
10881 # Some rework will be needed to allow for fast_install
10882 # before this can be enabled.
10883 hardcode_into_libs=yes
10885 # Append ld.so.conf contents to the search path
10886 if test -f /etc/ld.so.conf; then
10887 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' ' '`
10888 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10891 # We used to test for /lib/ld.so.1 and disable shared libraries on
10892 # powerpc, because MkLinux only supported shared libraries with the
10893 # GNU dynamic linker. Since this was broken with cross compilers,
10894 # most powerpc-linux boxes support dynamic linking these days and
10895 # people can always --disable-shared, the test was removed, and we
10896 # assume the GNU/Linux dynamic linker is in use.
10897 dynamic_linker='GNU/Linux ld.so'
10900 netbsd*)
10901 version_type=sunos
10902 need_lib_prefix=no
10903 need_version=no
10904 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10905 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10906 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10907 dynamic_linker='NetBSD (a.out) ld.so'
10908 else
10909 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10910 soname_spec='${libname}${release}${shared_ext}$major'
10911 dynamic_linker='NetBSD ld.elf_so'
10913 shlibpath_var=LD_LIBRARY_PATH
10914 shlibpath_overrides_runpath=yes
10915 hardcode_into_libs=yes
10918 newsos6)
10919 version_type=linux
10920 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10921 shlibpath_var=LD_LIBRARY_PATH
10922 shlibpath_overrides_runpath=yes
10925 *nto* | *qnx*)
10926 version_type=qnx
10927 need_lib_prefix=no
10928 need_version=no
10929 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10930 soname_spec='${libname}${release}${shared_ext}$major'
10931 shlibpath_var=LD_LIBRARY_PATH
10932 shlibpath_overrides_runpath=no
10933 hardcode_into_libs=yes
10934 dynamic_linker='ldqnx.so'
10937 openbsd*)
10938 version_type=sunos
10939 sys_lib_dlsearch_path_spec="/usr/lib"
10940 need_lib_prefix=no
10941 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10942 case $host_os in
10943 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10944 *) need_version=no ;;
10945 esac
10946 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10947 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10948 shlibpath_var=LD_LIBRARY_PATH
10949 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10950 case $host_os in
10951 openbsd2.[89] | openbsd2.[89].*)
10952 shlibpath_overrides_runpath=no
10955 shlibpath_overrides_runpath=yes
10957 esac
10958 else
10959 shlibpath_overrides_runpath=yes
10963 os2*)
10964 libname_spec='$name'
10965 shrext_cmds=".dll"
10966 need_lib_prefix=no
10967 library_names_spec='$libname${shared_ext} $libname.a'
10968 dynamic_linker='OS/2 ld.exe'
10969 shlibpath_var=LIBPATH
10972 osf3* | osf4* | osf5*)
10973 version_type=osf
10974 need_lib_prefix=no
10975 need_version=no
10976 soname_spec='${libname}${release}${shared_ext}$major'
10977 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10978 shlibpath_var=LD_LIBRARY_PATH
10979 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10980 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10983 rdos*)
10984 dynamic_linker=no
10987 solaris*)
10988 version_type=linux
10989 need_lib_prefix=no
10990 need_version=no
10991 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10992 soname_spec='${libname}${release}${shared_ext}$major'
10993 shlibpath_var=LD_LIBRARY_PATH
10994 shlibpath_overrides_runpath=yes
10995 hardcode_into_libs=yes
10996 # ldd complains unless libraries are executable
10997 postinstall_cmds='chmod +x $lib'
11000 sunos4*)
11001 version_type=sunos
11002 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11003 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11004 shlibpath_var=LD_LIBRARY_PATH
11005 shlibpath_overrides_runpath=yes
11006 if test "$with_gnu_ld" = yes; then
11007 need_lib_prefix=no
11009 need_version=yes
11012 sysv4 | sysv4.3*)
11013 version_type=linux
11014 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11015 soname_spec='${libname}${release}${shared_ext}$major'
11016 shlibpath_var=LD_LIBRARY_PATH
11017 case $host_vendor in
11018 sni)
11019 shlibpath_overrides_runpath=no
11020 need_lib_prefix=no
11021 runpath_var=LD_RUN_PATH
11023 siemens)
11024 need_lib_prefix=no
11026 motorola)
11027 need_lib_prefix=no
11028 need_version=no
11029 shlibpath_overrides_runpath=no
11030 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11032 esac
11035 sysv4*MP*)
11036 if test -d /usr/nec ;then
11037 version_type=linux
11038 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11039 soname_spec='$libname${shared_ext}.$major'
11040 shlibpath_var=LD_LIBRARY_PATH
11044 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11045 version_type=freebsd-elf
11046 need_lib_prefix=no
11047 need_version=no
11048 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11049 soname_spec='${libname}${release}${shared_ext}$major'
11050 shlibpath_var=LD_LIBRARY_PATH
11051 shlibpath_overrides_runpath=yes
11052 hardcode_into_libs=yes
11053 if test "$with_gnu_ld" = yes; then
11054 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11055 else
11056 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11057 case $host_os in
11058 sco3.2v5*)
11059 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11061 esac
11063 sys_lib_dlsearch_path_spec='/usr/lib'
11066 tpf*)
11067 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11068 version_type=linux
11069 need_lib_prefix=no
11070 need_version=no
11071 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11072 shlibpath_var=LD_LIBRARY_PATH
11073 shlibpath_overrides_runpath=no
11074 hardcode_into_libs=yes
11077 uts4*)
11078 version_type=linux
11079 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11080 soname_spec='${libname}${release}${shared_ext}$major'
11081 shlibpath_var=LD_LIBRARY_PATH
11085 dynamic_linker=no
11087 esac
11088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11089 $as_echo "$dynamic_linker" >&6; }
11090 test "$dynamic_linker" = no && can_build_shared=no
11092 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11093 if test "$GCC" = yes; then
11094 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11097 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11098 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11100 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11101 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11196 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11197 hardcode_action=
11198 if test -n "$hardcode_libdir_flag_spec" ||
11199 test -n "$runpath_var" ||
11200 test "X$hardcode_automatic" = "Xyes" ; then
11202 # We can hardcode non-existent directories.
11203 if test "$hardcode_direct" != no &&
11204 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11205 # have to relink, otherwise we might link with an installed library
11206 # when we should be linking with a yet-to-be-installed one
11207 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11208 test "$hardcode_minus_L" != no; then
11209 # Linking always hardcodes the temporary library directory.
11210 hardcode_action=relink
11211 else
11212 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11213 hardcode_action=immediate
11215 else
11216 # We cannot hardcode anything, or else we can only hardcode existing
11217 # directories.
11218 hardcode_action=unsupported
11220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11221 $as_echo "$hardcode_action" >&6; }
11223 if test "$hardcode_action" = relink ||
11224 test "$inherit_rpath" = yes; then
11225 # Fast installation is not supported
11226 enable_fast_install=no
11227 elif test "$shlibpath_overrides_runpath" = yes ||
11228 test "$enable_shared" = no; then
11229 # Fast installation is not necessary
11230 enable_fast_install=needless
11238 if test "x$enable_dlopen" != xyes; then
11239 enable_dlopen=unknown
11240 enable_dlopen_self=unknown
11241 enable_dlopen_self_static=unknown
11242 else
11243 lt_cv_dlopen=no
11244 lt_cv_dlopen_libs=
11246 case $host_os in
11247 beos*)
11248 lt_cv_dlopen="load_add_on"
11249 lt_cv_dlopen_libs=
11250 lt_cv_dlopen_self=yes
11253 mingw* | pw32* | cegcc*)
11254 lt_cv_dlopen="LoadLibrary"
11255 lt_cv_dlopen_libs=
11258 cygwin*)
11259 lt_cv_dlopen="dlopen"
11260 lt_cv_dlopen_libs=
11263 darwin*)
11264 # if libdl is installed we need to link against it
11265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11266 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11267 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11268 $as_echo_n "(cached) " >&6
11269 else
11270 ac_check_lib_save_LIBS=$LIBS
11271 LIBS="-ldl $LIBS"
11272 if test x$gcc_no_link = xyes; then
11273 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11276 /* end confdefs.h. */
11278 /* Override any GCC internal prototype to avoid an error.
11279 Use char because int might match the return type of a GCC
11280 builtin and then its argument prototype would still apply. */
11281 #ifdef __cplusplus
11282 extern "C"
11283 #endif
11284 char dlopen ();
11286 main ()
11288 return dlopen ();
11290 return 0;
11292 _ACEOF
11293 if ac_fn_c_try_link "$LINENO"; then :
11294 ac_cv_lib_dl_dlopen=yes
11295 else
11296 ac_cv_lib_dl_dlopen=no
11298 rm -f core conftest.err conftest.$ac_objext \
11299 conftest$ac_exeext conftest.$ac_ext
11300 LIBS=$ac_check_lib_save_LIBS
11302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11303 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11304 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11305 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11306 else
11308 lt_cv_dlopen="dyld"
11309 lt_cv_dlopen_libs=
11310 lt_cv_dlopen_self=yes
11317 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11318 if test "x$ac_cv_func_shl_load" = x""yes; then :
11319 lt_cv_dlopen="shl_load"
11320 else
11321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11322 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11323 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11324 $as_echo_n "(cached) " >&6
11325 else
11326 ac_check_lib_save_LIBS=$LIBS
11327 LIBS="-ldld $LIBS"
11328 if test x$gcc_no_link = xyes; then
11329 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11332 /* end confdefs.h. */
11334 /* Override any GCC internal prototype to avoid an error.
11335 Use char because int might match the return type of a GCC
11336 builtin and then its argument prototype would still apply. */
11337 #ifdef __cplusplus
11338 extern "C"
11339 #endif
11340 char shl_load ();
11342 main ()
11344 return shl_load ();
11346 return 0;
11348 _ACEOF
11349 if ac_fn_c_try_link "$LINENO"; then :
11350 ac_cv_lib_dld_shl_load=yes
11351 else
11352 ac_cv_lib_dld_shl_load=no
11354 rm -f core conftest.err conftest.$ac_objext \
11355 conftest$ac_exeext conftest.$ac_ext
11356 LIBS=$ac_check_lib_save_LIBS
11358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11359 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11360 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11361 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11362 else
11363 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11364 if test "x$ac_cv_func_dlopen" = x""yes; then :
11365 lt_cv_dlopen="dlopen"
11366 else
11367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11368 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11369 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11370 $as_echo_n "(cached) " >&6
11371 else
11372 ac_check_lib_save_LIBS=$LIBS
11373 LIBS="-ldl $LIBS"
11374 if test x$gcc_no_link = xyes; then
11375 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11378 /* end confdefs.h. */
11380 /* Override any GCC internal prototype to avoid an error.
11381 Use char because int might match the return type of a GCC
11382 builtin and then its argument prototype would still apply. */
11383 #ifdef __cplusplus
11384 extern "C"
11385 #endif
11386 char dlopen ();
11388 main ()
11390 return dlopen ();
11392 return 0;
11394 _ACEOF
11395 if ac_fn_c_try_link "$LINENO"; then :
11396 ac_cv_lib_dl_dlopen=yes
11397 else
11398 ac_cv_lib_dl_dlopen=no
11400 rm -f core conftest.err conftest.$ac_objext \
11401 conftest$ac_exeext conftest.$ac_ext
11402 LIBS=$ac_check_lib_save_LIBS
11404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11405 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11406 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11407 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11408 else
11409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11410 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11411 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11412 $as_echo_n "(cached) " >&6
11413 else
11414 ac_check_lib_save_LIBS=$LIBS
11415 LIBS="-lsvld $LIBS"
11416 if test x$gcc_no_link = xyes; then
11417 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11420 /* end confdefs.h. */
11422 /* Override any GCC internal prototype to avoid an error.
11423 Use char because int might match the return type of a GCC
11424 builtin and then its argument prototype would still apply. */
11425 #ifdef __cplusplus
11426 extern "C"
11427 #endif
11428 char dlopen ();
11430 main ()
11432 return dlopen ();
11434 return 0;
11436 _ACEOF
11437 if ac_fn_c_try_link "$LINENO"; then :
11438 ac_cv_lib_svld_dlopen=yes
11439 else
11440 ac_cv_lib_svld_dlopen=no
11442 rm -f core conftest.err conftest.$ac_objext \
11443 conftest$ac_exeext conftest.$ac_ext
11444 LIBS=$ac_check_lib_save_LIBS
11446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11447 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11448 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11449 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11450 else
11451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11452 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11453 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11454 $as_echo_n "(cached) " >&6
11455 else
11456 ac_check_lib_save_LIBS=$LIBS
11457 LIBS="-ldld $LIBS"
11458 if test x$gcc_no_link = xyes; then
11459 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11462 /* end confdefs.h. */
11464 /* Override any GCC internal prototype to avoid an error.
11465 Use char because int might match the return type of a GCC
11466 builtin and then its argument prototype would still apply. */
11467 #ifdef __cplusplus
11468 extern "C"
11469 #endif
11470 char dld_link ();
11472 main ()
11474 return dld_link ();
11476 return 0;
11478 _ACEOF
11479 if ac_fn_c_try_link "$LINENO"; then :
11480 ac_cv_lib_dld_dld_link=yes
11481 else
11482 ac_cv_lib_dld_dld_link=no
11484 rm -f core conftest.err conftest.$ac_objext \
11485 conftest$ac_exeext conftest.$ac_ext
11486 LIBS=$ac_check_lib_save_LIBS
11488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11489 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11490 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11491 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11510 esac
11512 if test "x$lt_cv_dlopen" != xno; then
11513 enable_dlopen=yes
11514 else
11515 enable_dlopen=no
11518 case $lt_cv_dlopen in
11519 dlopen)
11520 save_CPPFLAGS="$CPPFLAGS"
11521 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11523 save_LDFLAGS="$LDFLAGS"
11524 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11526 save_LIBS="$LIBS"
11527 LIBS="$lt_cv_dlopen_libs $LIBS"
11529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11530 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11531 if test "${lt_cv_dlopen_self+set}" = set; then :
11532 $as_echo_n "(cached) " >&6
11533 else
11534 if test "$cross_compiling" = yes; then :
11535 lt_cv_dlopen_self=cross
11536 else
11537 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11538 lt_status=$lt_dlunknown
11539 cat > conftest.$ac_ext <<_LT_EOF
11540 #line 11540 "configure"
11541 #include "confdefs.h"
11543 #if HAVE_DLFCN_H
11544 #include <dlfcn.h>
11545 #endif
11547 #include <stdio.h>
11549 #ifdef RTLD_GLOBAL
11550 # define LT_DLGLOBAL RTLD_GLOBAL
11551 #else
11552 # ifdef DL_GLOBAL
11553 # define LT_DLGLOBAL DL_GLOBAL
11554 # else
11555 # define LT_DLGLOBAL 0
11556 # endif
11557 #endif
11559 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11560 find out it does not work in some platform. */
11561 #ifndef LT_DLLAZY_OR_NOW
11562 # ifdef RTLD_LAZY
11563 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11564 # else
11565 # ifdef DL_LAZY
11566 # define LT_DLLAZY_OR_NOW DL_LAZY
11567 # else
11568 # ifdef RTLD_NOW
11569 # define LT_DLLAZY_OR_NOW RTLD_NOW
11570 # else
11571 # ifdef DL_NOW
11572 # define LT_DLLAZY_OR_NOW DL_NOW
11573 # else
11574 # define LT_DLLAZY_OR_NOW 0
11575 # endif
11576 # endif
11577 # endif
11578 # endif
11579 #endif
11581 /* When -fvisbility=hidden is used, assume the code has been annotated
11582 correspondingly for the symbols needed. */
11583 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11584 void fnord () __attribute__((visibility("default")));
11585 #endif
11587 void fnord () { int i=42; }
11588 int main ()
11590 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11591 int status = $lt_dlunknown;
11593 if (self)
11595 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11596 else
11598 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11599 else puts (dlerror ());
11601 /* dlclose (self); */
11603 else
11604 puts (dlerror ());
11606 return status;
11608 _LT_EOF
11609 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11610 (eval $ac_link) 2>&5
11611 ac_status=$?
11612 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11613 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11614 (./conftest; exit; ) >&5 2>/dev/null
11615 lt_status=$?
11616 case x$lt_status in
11617 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11618 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11619 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11620 esac
11621 else :
11622 # compilation failed
11623 lt_cv_dlopen_self=no
11626 rm -fr conftest*
11630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11631 $as_echo "$lt_cv_dlopen_self" >&6; }
11633 if test "x$lt_cv_dlopen_self" = xyes; then
11634 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11636 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11637 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11638 $as_echo_n "(cached) " >&6
11639 else
11640 if test "$cross_compiling" = yes; then :
11641 lt_cv_dlopen_self_static=cross
11642 else
11643 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11644 lt_status=$lt_dlunknown
11645 cat > conftest.$ac_ext <<_LT_EOF
11646 #line 11646 "configure"
11647 #include "confdefs.h"
11649 #if HAVE_DLFCN_H
11650 #include <dlfcn.h>
11651 #endif
11653 #include <stdio.h>
11655 #ifdef RTLD_GLOBAL
11656 # define LT_DLGLOBAL RTLD_GLOBAL
11657 #else
11658 # ifdef DL_GLOBAL
11659 # define LT_DLGLOBAL DL_GLOBAL
11660 # else
11661 # define LT_DLGLOBAL 0
11662 # endif
11663 #endif
11665 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11666 find out it does not work in some platform. */
11667 #ifndef LT_DLLAZY_OR_NOW
11668 # ifdef RTLD_LAZY
11669 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11670 # else
11671 # ifdef DL_LAZY
11672 # define LT_DLLAZY_OR_NOW DL_LAZY
11673 # else
11674 # ifdef RTLD_NOW
11675 # define LT_DLLAZY_OR_NOW RTLD_NOW
11676 # else
11677 # ifdef DL_NOW
11678 # define LT_DLLAZY_OR_NOW DL_NOW
11679 # else
11680 # define LT_DLLAZY_OR_NOW 0
11681 # endif
11682 # endif
11683 # endif
11684 # endif
11685 #endif
11687 /* When -fvisbility=hidden is used, assume the code has been annotated
11688 correspondingly for the symbols needed. */
11689 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11690 void fnord () __attribute__((visibility("default")));
11691 #endif
11693 void fnord () { int i=42; }
11694 int main ()
11696 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11697 int status = $lt_dlunknown;
11699 if (self)
11701 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11702 else
11704 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11705 else puts (dlerror ());
11707 /* dlclose (self); */
11709 else
11710 puts (dlerror ());
11712 return status;
11714 _LT_EOF
11715 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11716 (eval $ac_link) 2>&5
11717 ac_status=$?
11718 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11719 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11720 (./conftest; exit; ) >&5 2>/dev/null
11721 lt_status=$?
11722 case x$lt_status in
11723 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11724 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11725 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11726 esac
11727 else :
11728 # compilation failed
11729 lt_cv_dlopen_self_static=no
11732 rm -fr conftest*
11736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11737 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11740 CPPFLAGS="$save_CPPFLAGS"
11741 LDFLAGS="$save_LDFLAGS"
11742 LIBS="$save_LIBS"
11744 esac
11746 case $lt_cv_dlopen_self in
11747 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11748 *) enable_dlopen_self=unknown ;;
11749 esac
11751 case $lt_cv_dlopen_self_static in
11752 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11753 *) enable_dlopen_self_static=unknown ;;
11754 esac
11773 striplib=
11774 old_striplib=
11775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11776 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11777 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11778 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11779 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11781 $as_echo "yes" >&6; }
11782 else
11783 # FIXME - insert some real tests, host_os isn't really good enough
11784 case $host_os in
11785 darwin*)
11786 if test -n "$STRIP" ; then
11787 striplib="$STRIP -x"
11788 old_striplib="$STRIP -S"
11789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11790 $as_echo "yes" >&6; }
11791 else
11792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11793 $as_echo "no" >&6; }
11797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11798 $as_echo "no" >&6; }
11800 esac
11814 # Report which library types will actually be built
11815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11816 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11818 $as_echo "$can_build_shared" >&6; }
11820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11821 $as_echo_n "checking whether to build shared libraries... " >&6; }
11822 test "$can_build_shared" = "no" && enable_shared=no
11824 # On AIX, shared libraries and static libraries use the same namespace, and
11825 # are all built from PIC.
11826 case $host_os in
11827 aix3*)
11828 test "$enable_shared" = yes && enable_static=no
11829 if test -n "$RANLIB"; then
11830 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11831 postinstall_cmds='$RANLIB $lib'
11835 aix[4-9]*)
11836 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11837 test "$enable_shared" = yes && enable_static=no
11840 esac
11841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11842 $as_echo "$enable_shared" >&6; }
11844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11845 $as_echo_n "checking whether to build static libraries... " >&6; }
11846 # Make sure either enable_shared or enable_static is yes.
11847 test "$enable_shared" = yes || enable_static=yes
11848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11849 $as_echo "$enable_static" >&6; }
11855 ac_ext=c
11856 ac_cpp='$CPP $CPPFLAGS'
11857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11861 CC="$lt_save_CC"
11863 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11864 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11865 (test "X$CXX" != "Xg++"))) ; then
11866 ac_ext=cpp
11867 ac_cpp='$CXXCPP $CPPFLAGS'
11868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11872 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11873 if test -z "$CXXCPP"; then
11874 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11875 $as_echo_n "(cached) " >&6
11876 else
11877 # Double quotes because CXXCPP needs to be expanded
11878 for CXXCPP in "$CXX -E" "/lib/cpp"
11880 ac_preproc_ok=false
11881 for ac_cxx_preproc_warn_flag in '' yes
11883 # Use a header file that comes with gcc, so configuring glibc
11884 # with a fresh cross-compiler works.
11885 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11886 # <limits.h> exists even on freestanding compilers.
11887 # On the NeXT, cc -E runs the code through the compiler's parser,
11888 # not just through cpp. "Syntax error" is here to catch this case.
11889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11890 /* end confdefs.h. */
11891 #ifdef __STDC__
11892 # include <limits.h>
11893 #else
11894 # include <assert.h>
11895 #endif
11896 Syntax error
11897 _ACEOF
11898 if ac_fn_cxx_try_cpp "$LINENO"; then :
11900 else
11901 # Broken: fails on valid input.
11902 continue
11904 rm -f conftest.err conftest.$ac_ext
11906 # OK, works on sane cases. Now check whether nonexistent headers
11907 # can be detected and how.
11908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11909 /* end confdefs.h. */
11910 #include <ac_nonexistent.h>
11911 _ACEOF
11912 if ac_fn_cxx_try_cpp "$LINENO"; then :
11913 # Broken: success on invalid input.
11914 continue
11915 else
11916 # Passes both tests.
11917 ac_preproc_ok=:
11918 break
11920 rm -f conftest.err conftest.$ac_ext
11922 done
11923 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11924 rm -f conftest.err conftest.$ac_ext
11925 if $ac_preproc_ok; then :
11926 break
11929 done
11930 ac_cv_prog_CXXCPP=$CXXCPP
11933 CXXCPP=$ac_cv_prog_CXXCPP
11934 else
11935 ac_cv_prog_CXXCPP=$CXXCPP
11937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11938 $as_echo "$CXXCPP" >&6; }
11939 ac_preproc_ok=false
11940 for ac_cxx_preproc_warn_flag in '' yes
11942 # Use a header file that comes with gcc, so configuring glibc
11943 # with a fresh cross-compiler works.
11944 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11945 # <limits.h> exists even on freestanding compilers.
11946 # On the NeXT, cc -E runs the code through the compiler's parser,
11947 # not just through cpp. "Syntax error" is here to catch this case.
11948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11949 /* end confdefs.h. */
11950 #ifdef __STDC__
11951 # include <limits.h>
11952 #else
11953 # include <assert.h>
11954 #endif
11955 Syntax error
11956 _ACEOF
11957 if ac_fn_cxx_try_cpp "$LINENO"; then :
11959 else
11960 # Broken: fails on valid input.
11961 continue
11963 rm -f conftest.err conftest.$ac_ext
11965 # OK, works on sane cases. Now check whether nonexistent headers
11966 # can be detected and how.
11967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11968 /* end confdefs.h. */
11969 #include <ac_nonexistent.h>
11970 _ACEOF
11971 if ac_fn_cxx_try_cpp "$LINENO"; then :
11972 # Broken: success on invalid input.
11973 continue
11974 else
11975 # Passes both tests.
11976 ac_preproc_ok=:
11977 break
11979 rm -f conftest.err conftest.$ac_ext
11981 done
11982 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11983 rm -f conftest.err conftest.$ac_ext
11984 if $ac_preproc_ok; then :
11986 else
11987 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11988 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11989 as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
11990 See \`config.log' for more details." "$LINENO" 5; }
11993 ac_ext=c
11994 ac_cpp='$CPP $CPPFLAGS'
11995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11999 else
12000 _lt_caught_CXX_error=yes
12003 ac_ext=cpp
12004 ac_cpp='$CXXCPP $CPPFLAGS'
12005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12009 archive_cmds_need_lc_CXX=no
12010 allow_undefined_flag_CXX=
12011 always_export_symbols_CXX=no
12012 archive_expsym_cmds_CXX=
12013 compiler_needs_object_CXX=no
12014 export_dynamic_flag_spec_CXX=
12015 hardcode_direct_CXX=no
12016 hardcode_direct_absolute_CXX=no
12017 hardcode_libdir_flag_spec_CXX=
12018 hardcode_libdir_flag_spec_ld_CXX=
12019 hardcode_libdir_separator_CXX=
12020 hardcode_minus_L_CXX=no
12021 hardcode_shlibpath_var_CXX=unsupported
12022 hardcode_automatic_CXX=no
12023 inherit_rpath_CXX=no
12024 module_cmds_CXX=
12025 module_expsym_cmds_CXX=
12026 link_all_deplibs_CXX=unknown
12027 old_archive_cmds_CXX=$old_archive_cmds
12028 reload_flag_CXX=$reload_flag
12029 reload_cmds_CXX=$reload_cmds
12030 no_undefined_flag_CXX=
12031 whole_archive_flag_spec_CXX=
12032 enable_shared_with_static_runtimes_CXX=no
12034 # Source file extension for C++ test sources.
12035 ac_ext=cpp
12037 # Object file extension for compiled C++ test sources.
12038 objext=o
12039 objext_CXX=$objext
12041 # No sense in running all these tests if we already determined that
12042 # the CXX compiler isn't working. Some variables (like enable_shared)
12043 # are currently assumed to apply to all compilers on this platform,
12044 # and will be corrupted by setting them based on a non-working compiler.
12045 if test "$_lt_caught_CXX_error" != yes; then
12046 # Code to be used in simple compile tests
12047 lt_simple_compile_test_code="int some_variable = 0;"
12049 # Code to be used in simple link tests
12050 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12052 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12059 # If no C compiler was specified, use CC.
12060 LTCC=${LTCC-"$CC"}
12062 # If no C compiler flags were specified, use CFLAGS.
12063 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12065 # Allow CC to be a program name with arguments.
12066 compiler=$CC
12069 # save warnings/boilerplate of simple test code
12070 ac_outfile=conftest.$ac_objext
12071 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12072 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12073 _lt_compiler_boilerplate=`cat conftest.err`
12074 $RM conftest*
12076 ac_outfile=conftest.$ac_objext
12077 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12078 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12079 _lt_linker_boilerplate=`cat conftest.err`
12080 $RM -r conftest*
12083 # Allow CC to be a program name with arguments.
12084 lt_save_CC=$CC
12085 lt_save_LD=$LD
12086 lt_save_GCC=$GCC
12087 GCC=$GXX
12088 lt_save_with_gnu_ld=$with_gnu_ld
12089 lt_save_path_LD=$lt_cv_path_LD
12090 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12091 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12092 else
12093 $as_unset lt_cv_prog_gnu_ld
12095 if test -n "${lt_cv_path_LDCXX+set}"; then
12096 lt_cv_path_LD=$lt_cv_path_LDCXX
12097 else
12098 $as_unset lt_cv_path_LD
12100 test -z "${LDCXX+set}" || LD=$LDCXX
12101 CC=${CXX-"c++"}
12102 compiler=$CC
12103 compiler_CXX=$CC
12104 for cc_temp in $compiler""; do
12105 case $cc_temp in
12106 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12107 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12108 \-*) ;;
12109 *) break;;
12110 esac
12111 done
12112 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12115 if test -n "$compiler"; then
12116 # We don't want -fno-exception when compiling C++ code, so set the
12117 # no_builtin_flag separately
12118 if test "$GXX" = yes; then
12119 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12120 else
12121 lt_prog_compiler_no_builtin_flag_CXX=
12124 if test "$GXX" = yes; then
12125 # Set up default GNU C++ configuration
12129 # Check whether --with-gnu-ld was given.
12130 if test "${with_gnu_ld+set}" = set; then :
12131 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12132 else
12133 with_gnu_ld=no
12136 ac_prog=ld
12137 if test "$GCC" = yes; then
12138 # Check if gcc -print-prog-name=ld gives a path.
12139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12140 $as_echo_n "checking for ld used by $CC... " >&6; }
12141 case $host in
12142 *-*-mingw*)
12143 # gcc leaves a trailing carriage return which upsets mingw
12144 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12146 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12147 esac
12148 case $ac_prog in
12149 # Accept absolute paths.
12150 [\\/]* | ?:[\\/]*)
12151 re_direlt='/[^/][^/]*/\.\./'
12152 # Canonicalize the pathname of ld
12153 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12154 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12155 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12156 done
12157 test -z "$LD" && LD="$ac_prog"
12160 # If it fails, then pretend we aren't using GCC.
12161 ac_prog=ld
12164 # If it is relative, then search for the first ld in PATH.
12165 with_gnu_ld=unknown
12167 esac
12168 elif test "$with_gnu_ld" = yes; then
12169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12170 $as_echo_n "checking for GNU ld... " >&6; }
12171 else
12172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12173 $as_echo_n "checking for non-GNU ld... " >&6; }
12175 if test "${lt_cv_path_LD+set}" = set; then :
12176 $as_echo_n "(cached) " >&6
12177 else
12178 if test -z "$LD"; then
12179 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12180 for ac_dir in $PATH; do
12181 IFS="$lt_save_ifs"
12182 test -z "$ac_dir" && ac_dir=.
12183 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12184 lt_cv_path_LD="$ac_dir/$ac_prog"
12185 # Check to see if the program is GNU ld. I'd rather use --version,
12186 # but apparently some variants of GNU ld only accept -v.
12187 # Break only if it was the GNU/non-GNU ld that we prefer.
12188 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12189 *GNU* | *'with BFD'*)
12190 test "$with_gnu_ld" != no && break
12193 test "$with_gnu_ld" != yes && break
12195 esac
12197 done
12198 IFS="$lt_save_ifs"
12199 else
12200 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12204 LD="$lt_cv_path_LD"
12205 if test -n "$LD"; then
12206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12207 $as_echo "$LD" >&6; }
12208 else
12209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12210 $as_echo "no" >&6; }
12212 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
12213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12214 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12215 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12216 $as_echo_n "(cached) " >&6
12217 else
12218 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12219 case `$LD -v 2>&1 </dev/null` in
12220 *GNU* | *'with BFD'*)
12221 lt_cv_prog_gnu_ld=yes
12224 lt_cv_prog_gnu_ld=no
12226 esac
12228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12229 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12230 with_gnu_ld=$lt_cv_prog_gnu_ld
12238 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12239 # archiving commands below assume that GNU ld is being used.
12240 if test "$with_gnu_ld" = yes; then
12241 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12242 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'
12244 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12245 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12247 # If archive_cmds runs LD, not CC, wlarc should be empty
12248 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12249 # investigate it a little bit more. (MM)
12250 wlarc='${wl}'
12252 # ancient GNU ld didn't support --whole-archive et. al.
12253 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12254 $GREP 'no-whole-archive' > /dev/null; then
12255 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12256 else
12257 whole_archive_flag_spec_CXX=
12259 else
12260 with_gnu_ld=no
12261 wlarc=
12263 # A generic and very simple default shared library creation
12264 # command for GNU C++ for the case where it uses the native
12265 # linker, instead of GNU ld. If possible, this setting should
12266 # overridden to take advantage of the native linker features on
12267 # the platform it is being used on.
12268 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12271 # Commands to make compiler produce verbose output that lists
12272 # what "hidden" libraries, object files and flags are used when
12273 # linking a shared library.
12274 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12276 else
12277 GXX=no
12278 with_gnu_ld=no
12279 wlarc=
12282 # PORTME: fill in a description of your system's C++ link characteristics
12283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12284 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12285 ld_shlibs_CXX=yes
12286 case $host_os in
12287 aix3*)
12288 # FIXME: insert proper C++ library support
12289 ld_shlibs_CXX=no
12291 aix[4-9]*)
12292 if test "$host_cpu" = ia64; then
12293 # On IA64, the linker does run time linking by default, so we don't
12294 # have to do anything special.
12295 aix_use_runtimelinking=no
12296 exp_sym_flag='-Bexport'
12297 no_entry_flag=""
12298 else
12299 aix_use_runtimelinking=no
12301 # Test if we are trying to use run time linking or normal
12302 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12303 # need to do runtime linking.
12304 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12305 for ld_flag in $LDFLAGS; do
12306 case $ld_flag in
12307 *-brtl*)
12308 aix_use_runtimelinking=yes
12309 break
12311 esac
12312 done
12314 esac
12316 exp_sym_flag='-bexport'
12317 no_entry_flag='-bnoentry'
12320 # When large executables or shared objects are built, AIX ld can
12321 # have problems creating the table of contents. If linking a library
12322 # or program results in "error TOC overflow" add -mminimal-toc to
12323 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12324 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12326 archive_cmds_CXX=''
12327 hardcode_direct_CXX=yes
12328 hardcode_direct_absolute_CXX=yes
12329 hardcode_libdir_separator_CXX=':'
12330 link_all_deplibs_CXX=yes
12331 file_list_spec_CXX='${wl}-f,'
12333 if test "$GXX" = yes; then
12334 case $host_os in aix4.[012]|aix4.[012].*)
12335 # We only want to do this on AIX 4.2 and lower, the check
12336 # below for broken collect2 doesn't work under 4.3+
12337 collect2name=`${CC} -print-prog-name=collect2`
12338 if test -f "$collect2name" &&
12339 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12340 then
12341 # We have reworked collect2
12343 else
12344 # We have old collect2
12345 hardcode_direct_CXX=unsupported
12346 # It fails to find uninstalled libraries when the uninstalled
12347 # path is not listed in the libpath. Setting hardcode_minus_L
12348 # to unsupported forces relinking
12349 hardcode_minus_L_CXX=yes
12350 hardcode_libdir_flag_spec_CXX='-L$libdir'
12351 hardcode_libdir_separator_CXX=
12353 esac
12354 shared_flag='-shared'
12355 if test "$aix_use_runtimelinking" = yes; then
12356 shared_flag="$shared_flag "'${wl}-G'
12358 else
12359 # not using gcc
12360 if test "$host_cpu" = ia64; then
12361 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12362 # chokes on -Wl,-G. The following line is correct:
12363 shared_flag='-G'
12364 else
12365 if test "$aix_use_runtimelinking" = yes; then
12366 shared_flag='${wl}-G'
12367 else
12368 shared_flag='${wl}-bM:SRE'
12373 export_dynamic_flag_spec_CXX='${wl}-bexpall'
12374 # It seems that -bexpall does not export symbols beginning with
12375 # underscore (_), so it is better to generate a list of symbols to
12376 # export.
12377 always_export_symbols_CXX=yes
12378 if test "$aix_use_runtimelinking" = yes; then
12379 # Warning - without using the other runtime loading flags (-brtl),
12380 # -berok will link without error, but may produce a broken library.
12381 allow_undefined_flag_CXX='-berok'
12382 # Determine the default libpath from the value encoded in an empty
12383 # executable.
12384 if test x$gcc_no_link = xyes; then
12385 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12388 /* end confdefs.h. */
12391 main ()
12395 return 0;
12397 _ACEOF
12398 if ac_fn_cxx_try_link "$LINENO"; then :
12400 lt_aix_libpath_sed='
12401 /Import File Strings/,/^$/ {
12402 /^0/ {
12403 s/^0 *\(.*\)$/\1/
12407 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12408 # Check for a 64-bit object if we didn't find anything.
12409 if test -z "$aix_libpath"; then
12410 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12413 rm -f core conftest.err conftest.$ac_objext \
12414 conftest$ac_exeext conftest.$ac_ext
12415 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12417 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12419 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"
12420 else
12421 if test "$host_cpu" = ia64; then
12422 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12423 allow_undefined_flag_CXX="-z nodefs"
12424 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"
12425 else
12426 # Determine the default libpath from the value encoded in an
12427 # empty executable.
12428 if test x$gcc_no_link = xyes; then
12429 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12432 /* end confdefs.h. */
12435 main ()
12439 return 0;
12441 _ACEOF
12442 if ac_fn_cxx_try_link "$LINENO"; then :
12444 lt_aix_libpath_sed='
12445 /Import File Strings/,/^$/ {
12446 /^0/ {
12447 s/^0 *\(.*\)$/\1/
12451 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12452 # Check for a 64-bit object if we didn't find anything.
12453 if test -z "$aix_libpath"; then
12454 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12457 rm -f core conftest.err conftest.$ac_objext \
12458 conftest$ac_exeext conftest.$ac_ext
12459 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12461 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12462 # Warning - without using the other run time loading flags,
12463 # -berok will link without error, but may produce a broken library.
12464 no_undefined_flag_CXX=' ${wl}-bernotok'
12465 allow_undefined_flag_CXX=' ${wl}-berok'
12466 if test "$with_gnu_ld" = yes; then
12467 # We only use this code for GNU lds that support --whole-archive.
12468 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12469 else
12470 # Exported symbols can be pulled into shared objects from archives
12471 whole_archive_flag_spec_CXX='$convenience'
12473 archive_cmds_need_lc_CXX=yes
12474 # This is similar to how AIX traditionally builds its shared
12475 # libraries.
12476 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'
12481 beos*)
12482 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12483 allow_undefined_flag_CXX=unsupported
12484 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12485 # support --undefined. This deserves some investigation. FIXME
12486 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12487 else
12488 ld_shlibs_CXX=no
12492 chorus*)
12493 case $cc_basename in
12495 # FIXME: insert proper C++ library support
12496 ld_shlibs_CXX=no
12498 esac
12501 cygwin* | mingw* | pw32* | cegcc*)
12502 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12503 # as there is no search path for DLLs.
12504 hardcode_libdir_flag_spec_CXX='-L$libdir'
12505 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12506 allow_undefined_flag_CXX=unsupported
12507 always_export_symbols_CXX=no
12508 enable_shared_with_static_runtimes_CXX=yes
12510 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12511 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'
12512 # If the export-symbols file already is a .def file (1st line
12513 # is EXPORTS), use it as is; otherwise, prepend...
12514 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12515 cp $export_symbols $output_objdir/$soname.def;
12516 else
12517 echo EXPORTS > $output_objdir/$soname.def;
12518 cat $export_symbols >> $output_objdir/$soname.def;
12520 $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'
12521 else
12522 ld_shlibs_CXX=no
12525 darwin* | rhapsody*)
12528 archive_cmds_need_lc_CXX=no
12529 hardcode_direct_CXX=no
12530 hardcode_automatic_CXX=yes
12531 hardcode_shlibpath_var_CXX=unsupported
12532 if test "$lt_cv_ld_force_load" = "yes"; then
12533 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\"`'
12534 else
12535 whole_archive_flag_spec_CXX=''
12537 link_all_deplibs_CXX=yes
12538 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12539 case $cc_basename in
12540 ifort*) _lt_dar_can_shared=yes ;;
12541 *) _lt_dar_can_shared=$GCC ;;
12542 esac
12543 if test "$_lt_dar_can_shared" = "yes"; then
12544 output_verbose_link_cmd=func_echo_all
12545 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}"
12546 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12547 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}"
12548 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}"
12549 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12550 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}"
12551 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}"
12554 else
12555 ld_shlibs_CXX=no
12560 dgux*)
12561 case $cc_basename in
12562 ec++*)
12563 # FIXME: insert proper C++ library support
12564 ld_shlibs_CXX=no
12566 ghcx*)
12567 # Green Hills C++ Compiler
12568 # FIXME: insert proper C++ library support
12569 ld_shlibs_CXX=no
12572 # FIXME: insert proper C++ library support
12573 ld_shlibs_CXX=no
12575 esac
12578 freebsd2.*)
12579 # C++ shared libraries reported to be fairly broken before
12580 # switch to ELF
12581 ld_shlibs_CXX=no
12584 freebsd-elf*)
12585 archive_cmds_need_lc_CXX=no
12588 freebsd* | dragonfly*)
12589 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12590 # conventions
12591 ld_shlibs_CXX=yes
12594 gnu*)
12597 haiku*)
12598 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12599 link_all_deplibs_CXX=yes
12602 hpux9*)
12603 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12604 hardcode_libdir_separator_CXX=:
12605 export_dynamic_flag_spec_CXX='${wl}-E'
12606 hardcode_direct_CXX=yes
12607 hardcode_minus_L_CXX=yes # Not in the search PATH,
12608 # but as the default
12609 # location of the library.
12611 case $cc_basename in
12612 CC*)
12613 # FIXME: insert proper C++ library support
12614 ld_shlibs_CXX=no
12616 aCC*)
12617 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'
12618 # Commands to make compiler produce verbose output that lists
12619 # what "hidden" libraries, object files and flags are used when
12620 # linking a shared library.
12622 # There doesn't appear to be a way to prevent this compiler from
12623 # explicitly linking system object files so we need to strip them
12624 # from the output so that they don't get included in the library
12625 # dependencies.
12626 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"'
12629 if test "$GXX" = yes; then
12630 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'
12631 else
12632 # FIXME: insert proper C++ library support
12633 ld_shlibs_CXX=no
12636 esac
12639 hpux10*|hpux11*)
12640 if test $with_gnu_ld = no; then
12641 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12642 hardcode_libdir_separator_CXX=:
12644 case $host_cpu in
12645 hppa*64*|ia64*)
12648 export_dynamic_flag_spec_CXX='${wl}-E'
12650 esac
12652 case $host_cpu in
12653 hppa*64*|ia64*)
12654 hardcode_direct_CXX=no
12655 hardcode_shlibpath_var_CXX=no
12658 hardcode_direct_CXX=yes
12659 hardcode_direct_absolute_CXX=yes
12660 hardcode_minus_L_CXX=yes # Not in the search PATH,
12661 # but as the default
12662 # location of the library.
12664 esac
12666 case $cc_basename in
12667 CC*)
12668 # FIXME: insert proper C++ library support
12669 ld_shlibs_CXX=no
12671 aCC*)
12672 case $host_cpu in
12673 hppa*64*)
12674 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12676 ia64*)
12677 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12680 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12682 esac
12683 # Commands to make compiler produce verbose output that lists
12684 # what "hidden" libraries, object files and flags are used when
12685 # linking a shared library.
12687 # There doesn't appear to be a way to prevent this compiler from
12688 # explicitly linking system object files so we need to strip them
12689 # from the output so that they don't get included in the library
12690 # dependencies.
12691 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"'
12694 if test "$GXX" = yes; then
12695 if test $with_gnu_ld = no; then
12696 case $host_cpu in
12697 hppa*64*)
12698 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12700 ia64*)
12701 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12704 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'
12706 esac
12708 else
12709 # FIXME: insert proper C++ library support
12710 ld_shlibs_CXX=no
12713 esac
12716 interix[3-9]*)
12717 hardcode_direct_CXX=no
12718 hardcode_shlibpath_var_CXX=no
12719 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12720 export_dynamic_flag_spec_CXX='${wl}-E'
12721 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12722 # Instead, shared libraries are loaded at an image base (0x10000000 by
12723 # default) and relocated if they conflict, which is a slow very memory
12724 # consuming and fragmenting process. To avoid this, we pick a random,
12725 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12726 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12727 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'
12728 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'
12730 irix5* | irix6*)
12731 case $cc_basename in
12732 CC*)
12733 # SGI C++
12734 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'
12736 # Archives containing C++ object files must be created using
12737 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12738 # necessary to make sure instantiated templates are included
12739 # in the archive.
12740 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12743 if test "$GXX" = yes; then
12744 if test "$with_gnu_ld" = no; then
12745 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'
12746 else
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"` -o $lib'
12750 link_all_deplibs_CXX=yes
12752 esac
12753 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12754 hardcode_libdir_separator_CXX=:
12755 inherit_rpath_CXX=yes
12758 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12759 case $cc_basename in
12760 KCC*)
12761 # Kuck and Associates, Inc. (KAI) C++ Compiler
12763 # KCC will only create a shared library if the output file
12764 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12765 # to its proper name (with version) after linking.
12766 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'
12767 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'
12768 # Commands to make compiler produce verbose output that lists
12769 # what "hidden" libraries, object files and flags are used when
12770 # linking a shared library.
12772 # There doesn't appear to be a way to prevent this compiler from
12773 # explicitly linking system object files so we need to strip them
12774 # from the output so that they don't get included in the library
12775 # dependencies.
12776 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"'
12778 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12779 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12781 # Archives containing C++ object files must be created using
12782 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12783 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12785 icpc* | ecpc* )
12786 # Intel C++
12787 with_gnu_ld=yes
12788 # version 8.0 and above of icpc choke on multiply defined symbols
12789 # if we add $predep_objects and $postdep_objects, however 7.1 and
12790 # earlier do not add the objects themselves.
12791 case `$CC -V 2>&1` in
12792 *"Version 7."*)
12793 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12794 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'
12796 *) # Version 8.0 or newer
12797 tmp_idyn=
12798 case $host_cpu in
12799 ia64*) tmp_idyn=' -i_dynamic';;
12800 esac
12801 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12802 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'
12804 esac
12805 archive_cmds_need_lc_CXX=no
12806 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12807 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12808 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12810 pgCC* | pgcpp*)
12811 # Portland Group C++ compiler
12812 case `$CC -V` in
12813 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12814 prelink_cmds_CXX='tpldir=Template.dir~
12815 rm -rf $tpldir~
12816 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12817 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12818 old_archive_cmds_CXX='tpldir=Template.dir~
12819 rm -rf $tpldir~
12820 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12821 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12822 $RANLIB $oldlib'
12823 archive_cmds_CXX='tpldir=Template.dir~
12824 rm -rf $tpldir~
12825 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12826 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12827 archive_expsym_cmds_CXX='tpldir=Template.dir~
12828 rm -rf $tpldir~
12829 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12830 $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'
12832 *) # Version 6 and above use weak symbols
12833 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12834 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'
12836 esac
12838 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12839 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12840 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'
12842 cxx*)
12843 # Compaq C++
12844 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12845 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'
12847 runpath_var=LD_RUN_PATH
12848 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12849 hardcode_libdir_separator_CXX=:
12851 # Commands to make compiler produce verbose output that lists
12852 # what "hidden" libraries, object files and flags are used when
12853 # linking a shared library.
12855 # There doesn't appear to be a way to prevent this compiler from
12856 # explicitly linking system object files so we need to strip them
12857 # from the output so that they don't get included in the library
12858 # dependencies.
12859 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'
12861 xl* | mpixl* | bgxl*)
12862 # IBM XL 8.0 on PPC, with GNU ld
12863 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12864 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12865 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12866 if test "x$supports_anon_versioning" = xyes; then
12867 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12868 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12869 echo "local: *; };" >> $output_objdir/$libname.ver~
12870 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12874 case `$CC -V 2>&1 | sed 5q` in
12875 *Sun\ C*)
12876 # Sun C++ 5.9
12877 no_undefined_flag_CXX=' -zdefs'
12878 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12879 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'
12880 hardcode_libdir_flag_spec_CXX='-R$libdir'
12881 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'
12882 compiler_needs_object_CXX=yes
12884 # Not sure whether something based on
12885 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12886 # would be better.
12887 output_verbose_link_cmd='func_echo_all'
12889 # Archives containing C++ object files must be created using
12890 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12891 # necessary to make sure instantiated templates are included
12892 # in the archive.
12893 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12895 esac
12897 esac
12900 lynxos*)
12901 # FIXME: insert proper C++ library support
12902 ld_shlibs_CXX=no
12905 m88k*)
12906 # FIXME: insert proper C++ library support
12907 ld_shlibs_CXX=no
12910 mvs*)
12911 case $cc_basename in
12912 cxx*)
12913 # FIXME: insert proper C++ library support
12914 ld_shlibs_CXX=no
12917 # FIXME: insert proper C++ library support
12918 ld_shlibs_CXX=no
12920 esac
12923 netbsd*)
12924 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12925 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12926 wlarc=
12927 hardcode_libdir_flag_spec_CXX='-R$libdir'
12928 hardcode_direct_CXX=yes
12929 hardcode_shlibpath_var_CXX=no
12931 # Workaround some broken pre-1.5 toolchains
12932 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12935 *nto* | *qnx*)
12936 ld_shlibs_CXX=yes
12939 openbsd2*)
12940 # C++ shared libraries are fairly broken
12941 ld_shlibs_CXX=no
12944 openbsd*)
12945 if test -f /usr/libexec/ld.so; then
12946 hardcode_direct_CXX=yes
12947 hardcode_shlibpath_var_CXX=no
12948 hardcode_direct_absolute_CXX=yes
12949 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12950 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12951 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12952 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12953 export_dynamic_flag_spec_CXX='${wl}-E'
12954 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12956 output_verbose_link_cmd=func_echo_all
12957 else
12958 ld_shlibs_CXX=no
12962 osf3* | osf4* | osf5*)
12963 case $cc_basename in
12964 KCC*)
12965 # Kuck and Associates, Inc. (KAI) C++ Compiler
12967 # KCC will only create a shared library if the output file
12968 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12969 # to its proper name (with version) after linking.
12970 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'
12972 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12973 hardcode_libdir_separator_CXX=:
12975 # Archives containing C++ object files must be created using
12976 # the KAI C++ compiler.
12977 case $host in
12978 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
12979 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
12980 esac
12982 RCC*)
12983 # Rational C++ 2.4.1
12984 # FIXME: insert proper C++ library support
12985 ld_shlibs_CXX=no
12987 cxx*)
12988 case $host in
12989 osf3*)
12990 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12991 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'
12992 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12995 allow_undefined_flag_CXX=' -expect_unresolved \*'
12996 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'
12997 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12998 echo "-hidden">> $lib.exp~
12999 $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~
13000 $RM $lib.exp'
13001 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13003 esac
13005 hardcode_libdir_separator_CXX=:
13007 # Commands to make compiler produce verbose output that lists
13008 # what "hidden" libraries, object files and flags are used when
13009 # linking a shared library.
13011 # There doesn't appear to be a way to prevent this compiler from
13012 # explicitly linking system object files so we need to strip them
13013 # from the output so that they don't get included in the library
13014 # dependencies.
13015 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"'
13018 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13019 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13020 case $host in
13021 osf3*)
13022 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'
13025 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'
13027 esac
13029 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13030 hardcode_libdir_separator_CXX=:
13032 # Commands to make compiler produce verbose output that lists
13033 # what "hidden" libraries, object files and flags are used when
13034 # linking a shared library.
13035 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13037 else
13038 # FIXME: insert proper C++ library support
13039 ld_shlibs_CXX=no
13042 esac
13045 psos*)
13046 # FIXME: insert proper C++ library support
13047 ld_shlibs_CXX=no
13050 sunos4*)
13051 case $cc_basename in
13052 CC*)
13053 # Sun C++ 4.x
13054 # FIXME: insert proper C++ library support
13055 ld_shlibs_CXX=no
13057 lcc*)
13058 # Lucid
13059 # FIXME: insert proper C++ library support
13060 ld_shlibs_CXX=no
13063 # FIXME: insert proper C++ library support
13064 ld_shlibs_CXX=no
13066 esac
13069 solaris*)
13070 case $cc_basename in
13071 CC*)
13072 # Sun C++ 4.2, 5.x and Centerline C++
13073 archive_cmds_need_lc_CXX=yes
13074 no_undefined_flag_CXX=' -zdefs'
13075 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13076 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13077 $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'
13079 hardcode_libdir_flag_spec_CXX='-R$libdir'
13080 hardcode_shlibpath_var_CXX=no
13081 case $host_os in
13082 solaris2.[0-5] | solaris2.[0-5].*) ;;
13084 # The compiler driver will combine and reorder linker options,
13085 # but understands `-z linker_flag'.
13086 # Supported since Solaris 2.6 (maybe 2.5.1?)
13087 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13089 esac
13090 link_all_deplibs_CXX=yes
13092 output_verbose_link_cmd='func_echo_all'
13094 # Archives containing C++ object files must be created using
13095 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13096 # necessary to make sure instantiated templates are included
13097 # in the archive.
13098 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13100 gcx*)
13101 # Green Hills C++ Compiler
13102 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13104 # The C++ compiler must be used to create the archive.
13105 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13108 # GNU C++ compiler with Solaris linker
13109 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13110 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13111 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13112 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13113 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13114 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13116 # Commands to make compiler produce verbose output that lists
13117 # what "hidden" libraries, object files and flags are used when
13118 # linking a shared library.
13119 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13120 else
13121 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13122 # platform.
13123 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13124 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13125 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13127 # Commands to make compiler produce verbose output that lists
13128 # what "hidden" libraries, object files and flags are used when
13129 # linking a shared library.
13130 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13133 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13134 case $host_os in
13135 solaris2.[0-5] | solaris2.[0-5].*) ;;
13137 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13139 esac
13142 esac
13145 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13146 no_undefined_flag_CXX='${wl}-z,text'
13147 archive_cmds_need_lc_CXX=no
13148 hardcode_shlibpath_var_CXX=no
13149 runpath_var='LD_RUN_PATH'
13151 case $cc_basename in
13152 CC*)
13153 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13154 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13157 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13158 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13160 esac
13163 sysv5* | sco3.2v5* | sco5v6*)
13164 # Note: We can NOT use -z defs as we might desire, because we do not
13165 # link with -lc, and that would cause any symbols used from libc to
13166 # always be unresolved, which means just about no library would
13167 # ever link correctly. If we're not using GNU ld we use -z text
13168 # though, which does catch some bad symbols but isn't as heavy-handed
13169 # as -z defs.
13170 no_undefined_flag_CXX='${wl}-z,text'
13171 allow_undefined_flag_CXX='${wl}-z,nodefs'
13172 archive_cmds_need_lc_CXX=no
13173 hardcode_shlibpath_var_CXX=no
13174 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13175 hardcode_libdir_separator_CXX=':'
13176 link_all_deplibs_CXX=yes
13177 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13178 runpath_var='LD_RUN_PATH'
13180 case $cc_basename in
13181 CC*)
13182 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13183 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13184 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13185 '"$old_archive_cmds_CXX"
13186 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13187 '"$reload_cmds_CXX"
13190 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13191 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13193 esac
13196 tandem*)
13197 case $cc_basename in
13198 NCC*)
13199 # NonStop-UX NCC 3.20
13200 # FIXME: insert proper C++ library support
13201 ld_shlibs_CXX=no
13204 # FIXME: insert proper C++ library support
13205 ld_shlibs_CXX=no
13207 esac
13210 vxworks*)
13211 # FIXME: insert proper C++ library support
13212 ld_shlibs_CXX=no
13216 # FIXME: insert proper C++ library support
13217 ld_shlibs_CXX=no
13219 esac
13221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13222 $as_echo "$ld_shlibs_CXX" >&6; }
13223 test "$ld_shlibs_CXX" = no && can_build_shared=no
13225 GCC_CXX="$GXX"
13226 LD_CXX="$LD"
13228 ## CAVEAT EMPTOR:
13229 ## There is no encapsulation within the following macros, do not change
13230 ## the running order or otherwise move them around unless you know exactly
13231 ## what you are doing...
13232 # Dependencies to place before and after the object being linked:
13233 predep_objects_CXX=
13234 postdep_objects_CXX=
13235 predeps_CXX=
13236 postdeps_CXX=
13237 compiler_lib_search_path_CXX=
13239 cat > conftest.$ac_ext <<_LT_EOF
13240 class Foo
13242 public:
13243 Foo (void) { a = 0; }
13244 private:
13245 int a;
13247 _LT_EOF
13249 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13250 (eval $ac_compile) 2>&5
13251 ac_status=$?
13252 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13253 test $ac_status = 0; }; then
13254 # Parse the compiler output and extract the necessary
13255 # objects, libraries and library flags.
13257 # Sentinel used to keep track of whether or not we are before
13258 # the conftest object file.
13259 pre_test_object_deps_done=no
13261 for p in `eval "$output_verbose_link_cmd"`; do
13262 case $p in
13264 -L* | -R* | -l*)
13265 # Some compilers place space between "-{L,R}" and the path.
13266 # Remove the space.
13267 if test $p = "-L" ||
13268 test $p = "-R"; then
13269 prev=$p
13270 continue
13271 else
13272 prev=
13275 if test "$pre_test_object_deps_done" = no; then
13276 case $p in
13277 -L* | -R*)
13278 # Internal compiler library paths should come after those
13279 # provided the user. The postdeps already come after the
13280 # user supplied libs so there is no need to process them.
13281 if test -z "$compiler_lib_search_path_CXX"; then
13282 compiler_lib_search_path_CXX="${prev}${p}"
13283 else
13284 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13287 # The "-l" case would never come before the object being
13288 # linked, so don't bother handling this case.
13289 esac
13290 else
13291 if test -z "$postdeps_CXX"; then
13292 postdeps_CXX="${prev}${p}"
13293 else
13294 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13299 *.$objext)
13300 # This assumes that the test object file only shows up
13301 # once in the compiler output.
13302 if test "$p" = "conftest.$objext"; then
13303 pre_test_object_deps_done=yes
13304 continue
13307 if test "$pre_test_object_deps_done" = no; then
13308 if test -z "$predep_objects_CXX"; then
13309 predep_objects_CXX="$p"
13310 else
13311 predep_objects_CXX="$predep_objects_CXX $p"
13313 else
13314 if test -z "$postdep_objects_CXX"; then
13315 postdep_objects_CXX="$p"
13316 else
13317 postdep_objects_CXX="$postdep_objects_CXX $p"
13322 *) ;; # Ignore the rest.
13324 esac
13325 done
13327 # Clean up.
13328 rm -f a.out a.exe
13329 else
13330 echo "libtool.m4: error: problem compiling CXX test program"
13333 $RM -f confest.$objext
13335 # PORTME: override above test on systems where it is broken
13336 case $host_os in
13337 interix[3-9]*)
13338 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13339 # hack all around it, let's just trust "g++" to DTRT.
13340 predep_objects_CXX=
13341 postdep_objects_CXX=
13342 postdeps_CXX=
13345 linux*)
13346 case `$CC -V 2>&1 | sed 5q` in
13347 *Sun\ C*)
13348 # Sun C++ 5.9
13350 # The more standards-conforming stlport4 library is
13351 # incompatible with the Cstd library. Avoid specifying
13352 # it if it's in CXXFLAGS. Ignore libCrun as
13353 # -library=stlport4 depends on it.
13354 case " $CXX $CXXFLAGS " in
13355 *" -library=stlport4 "*)
13356 solaris_use_stlport4=yes
13358 esac
13360 if test "$solaris_use_stlport4" != yes; then
13361 postdeps_CXX='-library=Cstd -library=Crun'
13364 esac
13367 solaris*)
13368 case $cc_basename in
13369 CC*)
13370 # The more standards-conforming stlport4 library is
13371 # incompatible with the Cstd library. Avoid specifying
13372 # it if it's in CXXFLAGS. Ignore libCrun as
13373 # -library=stlport4 depends on it.
13374 case " $CXX $CXXFLAGS " in
13375 *" -library=stlport4 "*)
13376 solaris_use_stlport4=yes
13378 esac
13380 # Adding this requires a known-good setup of shared libraries for
13381 # Sun compiler versions before 5.6, else PIC objects from an old
13382 # archive will be linked into the output, leading to subtle bugs.
13383 if test "$solaris_use_stlport4" != yes; then
13384 postdeps_CXX='-library=Cstd -library=Crun'
13387 esac
13389 esac
13392 case " $postdeps_CXX " in
13393 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13394 esac
13395 compiler_lib_search_dirs_CXX=
13396 if test -n "${compiler_lib_search_path_CXX}"; then
13397 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13430 lt_prog_compiler_wl_CXX=
13431 lt_prog_compiler_pic_CXX=
13432 lt_prog_compiler_static_CXX=
13434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13435 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13437 # C++ specific cases for pic, static, wl, etc.
13438 if test "$GXX" = yes; then
13439 lt_prog_compiler_wl_CXX='-Wl,'
13440 lt_prog_compiler_static_CXX='-static'
13442 case $host_os in
13443 aix*)
13444 # All AIX code is PIC.
13445 if test "$host_cpu" = ia64; then
13446 # AIX 5 now supports IA64 processor
13447 lt_prog_compiler_static_CXX='-Bstatic'
13449 lt_prog_compiler_pic_CXX='-fPIC'
13452 amigaos*)
13453 case $host_cpu in
13454 powerpc)
13455 # see comment about AmigaOS4 .so support
13456 lt_prog_compiler_pic_CXX='-fPIC'
13458 m68k)
13459 # FIXME: we need at least 68020 code to build shared libraries, but
13460 # adding the `-m68020' flag to GCC prevents building anything better,
13461 # like `-m68040'.
13462 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13464 esac
13467 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13468 # PIC is the default for these OSes.
13470 mingw* | cygwin* | os2* | pw32* | cegcc*)
13471 # This hack is so that the source file can tell whether it is being
13472 # built for inclusion in a dll (and should export symbols for example).
13473 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13474 # (--disable-auto-import) libraries
13475 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13477 darwin* | rhapsody*)
13478 # PIC is the default on this platform
13479 # Common symbols not allowed in MH_DYLIB files
13480 lt_prog_compiler_pic_CXX='-fno-common'
13482 *djgpp*)
13483 # DJGPP does not support shared libraries at all
13484 lt_prog_compiler_pic_CXX=
13486 haiku*)
13487 # PIC is the default for Haiku.
13488 # The "-static" flag exists, but is broken.
13489 lt_prog_compiler_static_CXX=
13491 interix[3-9]*)
13492 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13493 # Instead, we relocate shared libraries at runtime.
13495 sysv4*MP*)
13496 if test -d /usr/nec; then
13497 lt_prog_compiler_pic_CXX=-Kconform_pic
13500 hpux*)
13501 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13502 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13503 # sets the default TLS model and affects inlining.
13504 case $host_cpu in
13505 hppa*64*)
13508 lt_prog_compiler_pic_CXX='-fPIC'
13510 esac
13512 *qnx* | *nto*)
13513 # QNX uses GNU C++, but need to define -shared option too, otherwise
13514 # it will coredump.
13515 lt_prog_compiler_pic_CXX='-fPIC -shared'
13518 lt_prog_compiler_pic_CXX='-fPIC'
13520 esac
13521 else
13522 case $host_os in
13523 aix[4-9]*)
13524 # All AIX code is PIC.
13525 if test "$host_cpu" = ia64; then
13526 # AIX 5 now supports IA64 processor
13527 lt_prog_compiler_static_CXX='-Bstatic'
13528 else
13529 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13532 chorus*)
13533 case $cc_basename in
13534 cxch68*)
13535 # Green Hills C++ Compiler
13536 # _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"
13538 esac
13540 dgux*)
13541 case $cc_basename in
13542 ec++*)
13543 lt_prog_compiler_pic_CXX='-KPIC'
13545 ghcx*)
13546 # Green Hills C++ Compiler
13547 lt_prog_compiler_pic_CXX='-pic'
13551 esac
13553 freebsd* | dragonfly*)
13554 # FreeBSD uses GNU C++
13556 hpux9* | hpux10* | hpux11*)
13557 case $cc_basename in
13558 CC*)
13559 lt_prog_compiler_wl_CXX='-Wl,'
13560 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13561 if test "$host_cpu" != ia64; then
13562 lt_prog_compiler_pic_CXX='+Z'
13565 aCC*)
13566 lt_prog_compiler_wl_CXX='-Wl,'
13567 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13568 case $host_cpu in
13569 hppa*64*|ia64*)
13570 # +Z the default
13573 lt_prog_compiler_pic_CXX='+Z'
13575 esac
13579 esac
13581 interix*)
13582 # This is c89, which is MS Visual C++ (no shared libs)
13583 # Anyone wants to do a port?
13585 irix5* | irix6* | nonstopux*)
13586 case $cc_basename in
13587 CC*)
13588 lt_prog_compiler_wl_CXX='-Wl,'
13589 lt_prog_compiler_static_CXX='-non_shared'
13590 # CC pic flag -KPIC is the default.
13594 esac
13596 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13597 case $cc_basename in
13598 KCC*)
13599 # KAI C++ Compiler
13600 lt_prog_compiler_wl_CXX='--backend -Wl,'
13601 lt_prog_compiler_pic_CXX='-fPIC'
13603 ecpc* )
13604 # old Intel C++ for x86_64 which still supported -KPIC.
13605 lt_prog_compiler_wl_CXX='-Wl,'
13606 lt_prog_compiler_pic_CXX='-KPIC'
13607 lt_prog_compiler_static_CXX='-static'
13609 icpc* )
13610 # Intel C++, used to be incompatible with GCC.
13611 # ICC 10 doesn't accept -KPIC any more.
13612 lt_prog_compiler_wl_CXX='-Wl,'
13613 lt_prog_compiler_pic_CXX='-fPIC'
13614 lt_prog_compiler_static_CXX='-static'
13616 pgCC* | pgcpp*)
13617 # Portland Group C++ compiler
13618 lt_prog_compiler_wl_CXX='-Wl,'
13619 lt_prog_compiler_pic_CXX='-fpic'
13620 lt_prog_compiler_static_CXX='-Bstatic'
13622 cxx*)
13623 # Compaq C++
13624 # Make sure the PIC flag is empty. It appears that all Alpha
13625 # Linux and Compaq Tru64 Unix objects are PIC.
13626 lt_prog_compiler_pic_CXX=
13627 lt_prog_compiler_static_CXX='-non_shared'
13629 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13630 # IBM XL 8.0, 9.0 on PPC and BlueGene
13631 lt_prog_compiler_wl_CXX='-Wl,'
13632 lt_prog_compiler_pic_CXX='-qpic'
13633 lt_prog_compiler_static_CXX='-qstaticlink'
13636 case `$CC -V 2>&1 | sed 5q` in
13637 *Sun\ C*)
13638 # Sun C++ 5.9
13639 lt_prog_compiler_pic_CXX='-KPIC'
13640 lt_prog_compiler_static_CXX='-Bstatic'
13641 lt_prog_compiler_wl_CXX='-Qoption ld '
13643 esac
13645 esac
13647 lynxos*)
13649 m88k*)
13651 mvs*)
13652 case $cc_basename in
13653 cxx*)
13654 lt_prog_compiler_pic_CXX='-W c,exportall'
13658 esac
13660 netbsd*)
13662 *qnx* | *nto*)
13663 # QNX uses GNU C++, but need to define -shared option too, otherwise
13664 # it will coredump.
13665 lt_prog_compiler_pic_CXX='-fPIC -shared'
13667 osf3* | osf4* | osf5*)
13668 case $cc_basename in
13669 KCC*)
13670 lt_prog_compiler_wl_CXX='--backend -Wl,'
13672 RCC*)
13673 # Rational C++ 2.4.1
13674 lt_prog_compiler_pic_CXX='-pic'
13676 cxx*)
13677 # Digital/Compaq C++
13678 lt_prog_compiler_wl_CXX='-Wl,'
13679 # Make sure the PIC flag is empty. It appears that all Alpha
13680 # Linux and Compaq Tru64 Unix objects are PIC.
13681 lt_prog_compiler_pic_CXX=
13682 lt_prog_compiler_static_CXX='-non_shared'
13686 esac
13688 psos*)
13690 solaris*)
13691 case $cc_basename in
13692 CC*)
13693 # Sun C++ 4.2, 5.x and Centerline C++
13694 lt_prog_compiler_pic_CXX='-KPIC'
13695 lt_prog_compiler_static_CXX='-Bstatic'
13696 lt_prog_compiler_wl_CXX='-Qoption ld '
13698 gcx*)
13699 # Green Hills C++ Compiler
13700 lt_prog_compiler_pic_CXX='-PIC'
13704 esac
13706 sunos4*)
13707 case $cc_basename in
13708 CC*)
13709 # Sun C++ 4.x
13710 lt_prog_compiler_pic_CXX='-pic'
13711 lt_prog_compiler_static_CXX='-Bstatic'
13713 lcc*)
13714 # Lucid
13715 lt_prog_compiler_pic_CXX='-pic'
13719 esac
13721 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13722 case $cc_basename in
13723 CC*)
13724 lt_prog_compiler_wl_CXX='-Wl,'
13725 lt_prog_compiler_pic_CXX='-KPIC'
13726 lt_prog_compiler_static_CXX='-Bstatic'
13728 esac
13730 tandem*)
13731 case $cc_basename in
13732 NCC*)
13733 # NonStop-UX NCC 3.20
13734 lt_prog_compiler_pic_CXX='-KPIC'
13738 esac
13740 vxworks*)
13743 lt_prog_compiler_can_build_shared_CXX=no
13745 esac
13748 case $host_os in
13749 # For platforms which do not support PIC, -DPIC is meaningless:
13750 *djgpp*)
13751 lt_prog_compiler_pic_CXX=
13754 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13756 esac
13757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13758 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13763 # Check to make sure the PIC flag actually works.
13765 if test -n "$lt_prog_compiler_pic_CXX"; then
13766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13767 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13768 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13769 $as_echo_n "(cached) " >&6
13770 else
13771 lt_cv_prog_compiler_pic_works_CXX=no
13772 ac_outfile=conftest.$ac_objext
13773 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13774 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13775 # Insert the option either (1) after the last *FLAGS variable, or
13776 # (2) before a word containing "conftest.", or (3) at the end.
13777 # Note that $ac_compile itself does not contain backslashes and begins
13778 # with a dollar sign (not a hyphen), so the echo should work correctly.
13779 # The option is referenced via a variable to avoid confusing sed.
13780 lt_compile=`echo "$ac_compile" | $SED \
13781 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13782 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13783 -e 's:$: $lt_compiler_flag:'`
13784 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13785 (eval "$lt_compile" 2>conftest.err)
13786 ac_status=$?
13787 cat conftest.err >&5
13788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13789 if (exit $ac_status) && test -s "$ac_outfile"; then
13790 # The compiler can only warn and ignore the option if not recognized
13791 # So say no if there are warnings other than the usual output.
13792 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13793 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13794 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13795 lt_cv_prog_compiler_pic_works_CXX=yes
13798 $RM conftest*
13801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13802 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13804 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13805 case $lt_prog_compiler_pic_CXX in
13806 "" | " "*) ;;
13807 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13808 esac
13809 else
13810 lt_prog_compiler_pic_CXX=
13811 lt_prog_compiler_can_build_shared_CXX=no
13819 # Check to make sure the static flag actually works.
13821 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13823 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13824 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13825 $as_echo_n "(cached) " >&6
13826 else
13827 lt_cv_prog_compiler_static_works_CXX=no
13828 save_LDFLAGS="$LDFLAGS"
13829 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13830 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13831 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13832 # The linker can only warn and ignore the option if not recognized
13833 # So say no if there are warnings
13834 if test -s conftest.err; then
13835 # Append any errors to the config.log.
13836 cat conftest.err 1>&5
13837 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13838 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13839 if diff conftest.exp conftest.er2 >/dev/null; then
13840 lt_cv_prog_compiler_static_works_CXX=yes
13842 else
13843 lt_cv_prog_compiler_static_works_CXX=yes
13846 $RM -r conftest*
13847 LDFLAGS="$save_LDFLAGS"
13850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13851 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13853 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13855 else
13856 lt_prog_compiler_static_CXX=
13862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13863 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13864 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13865 $as_echo_n "(cached) " >&6
13866 else
13867 lt_cv_prog_compiler_c_o_CXX=no
13868 $RM -r conftest 2>/dev/null
13869 mkdir conftest
13870 cd conftest
13871 mkdir out
13872 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13874 lt_compiler_flag="-o out/conftest2.$ac_objext"
13875 # Insert the option either (1) after the last *FLAGS variable, or
13876 # (2) before a word containing "conftest.", or (3) at the end.
13877 # Note that $ac_compile itself does not contain backslashes and begins
13878 # with a dollar sign (not a hyphen), so the echo should work correctly.
13879 lt_compile=`echo "$ac_compile" | $SED \
13880 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13881 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13882 -e 's:$: $lt_compiler_flag:'`
13883 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13884 (eval "$lt_compile" 2>out/conftest.err)
13885 ac_status=$?
13886 cat out/conftest.err >&5
13887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13888 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13889 then
13890 # The compiler can only warn and ignore the option if not recognized
13891 # So say no if there are warnings
13892 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13893 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13894 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13895 lt_cv_prog_compiler_c_o_CXX=yes
13898 chmod u+w . 2>&5
13899 $RM conftest*
13900 # SGI C++ compiler will create directory out/ii_files/ for
13901 # template instantiation
13902 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13903 $RM out/* && rmdir out
13904 cd ..
13905 $RM -r conftest
13906 $RM conftest*
13909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13910 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13915 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13916 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13917 $as_echo_n "(cached) " >&6
13918 else
13919 lt_cv_prog_compiler_c_o_CXX=no
13920 $RM -r conftest 2>/dev/null
13921 mkdir conftest
13922 cd conftest
13923 mkdir out
13924 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13926 lt_compiler_flag="-o out/conftest2.$ac_objext"
13927 # Insert the option either (1) after the last *FLAGS variable, or
13928 # (2) before a word containing "conftest.", or (3) at the end.
13929 # Note that $ac_compile itself does not contain backslashes and begins
13930 # with a dollar sign (not a hyphen), so the echo should work correctly.
13931 lt_compile=`echo "$ac_compile" | $SED \
13932 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13933 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13934 -e 's:$: $lt_compiler_flag:'`
13935 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13936 (eval "$lt_compile" 2>out/conftest.err)
13937 ac_status=$?
13938 cat out/conftest.err >&5
13939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13940 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13941 then
13942 # The compiler can only warn and ignore the option if not recognized
13943 # So say no if there are warnings
13944 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13945 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13946 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13947 lt_cv_prog_compiler_c_o_CXX=yes
13950 chmod u+w . 2>&5
13951 $RM conftest*
13952 # SGI C++ compiler will create directory out/ii_files/ for
13953 # template instantiation
13954 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13955 $RM out/* && rmdir out
13956 cd ..
13957 $RM -r conftest
13958 $RM conftest*
13961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13962 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13967 hard_links="nottested"
13968 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13969 # do not overwrite the value of need_locks provided by the user
13970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13971 $as_echo_n "checking if we can lock with hard links... " >&6; }
13972 hard_links=yes
13973 $RM conftest*
13974 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13975 touch conftest.a
13976 ln conftest.a conftest.b 2>&5 || hard_links=no
13977 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13979 $as_echo "$hard_links" >&6; }
13980 if test "$hard_links" = no; then
13981 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13982 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13983 need_locks=warn
13985 else
13986 need_locks=no
13991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13992 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13994 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13995 case $host_os in
13996 aix[4-9]*)
13997 # If we're using GNU nm, then we don't want the "-C" option.
13998 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13999 # Also, AIX nm treats weak defined symbols like other global defined
14000 # symbols, whereas GNU nm marks them as "W".
14001 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14002 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'
14003 else
14004 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'
14007 pw32*)
14008 export_symbols_cmds_CXX="$ltdll_cmds"
14010 cygwin* | mingw* | cegcc*)
14011 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'
14014 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14016 esac
14017 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14020 $as_echo "$ld_shlibs_CXX" >&6; }
14021 test "$ld_shlibs_CXX" = no && can_build_shared=no
14023 with_gnu_ld_CXX=$with_gnu_ld
14031 # Do we need to explicitly link libc?
14033 case "x$archive_cmds_need_lc_CXX" in
14034 x|xyes)
14035 # Assume -lc should be added
14036 archive_cmds_need_lc_CXX=yes
14038 if test "$enable_shared" = yes && test "$GCC" = yes; then
14039 case $archive_cmds_CXX in
14040 *'~'*)
14041 # FIXME: we may have to deal with multi-command sequences.
14043 '$CC '*)
14044 # Test whether the compiler implicitly links with -lc since on some
14045 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14046 # to ld, don't add -lc before -lgcc.
14047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14048 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14049 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
14050 $as_echo_n "(cached) " >&6
14051 else
14052 $RM conftest*
14053 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14055 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14056 (eval $ac_compile) 2>&5
14057 ac_status=$?
14058 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14059 test $ac_status = 0; } 2>conftest.err; then
14060 soname=conftest
14061 lib=conftest
14062 libobjs=conftest.$ac_objext
14063 deplibs=
14064 wl=$lt_prog_compiler_wl_CXX
14065 pic_flag=$lt_prog_compiler_pic_CXX
14066 compiler_flags=-v
14067 linker_flags=-v
14068 verstring=
14069 output_objdir=.
14070 libname=conftest
14071 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14072 allow_undefined_flag_CXX=
14073 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14074 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14075 ac_status=$?
14076 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14077 test $ac_status = 0; }
14078 then
14079 lt_cv_archive_cmds_need_lc_CXX=no
14080 else
14081 lt_cv_archive_cmds_need_lc_CXX=yes
14083 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14084 else
14085 cat conftest.err 1>&5
14087 $RM conftest*
14090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14091 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14092 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14094 esac
14097 esac
14162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14163 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14165 library_names_spec=
14166 libname_spec='lib$name'
14167 soname_spec=
14168 shrext_cmds=".so"
14169 postinstall_cmds=
14170 postuninstall_cmds=
14171 finish_cmds=
14172 finish_eval=
14173 shlibpath_var=
14174 shlibpath_overrides_runpath=unknown
14175 version_type=none
14176 dynamic_linker="$host_os ld.so"
14177 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14178 need_lib_prefix=unknown
14179 hardcode_into_libs=no
14181 # when you set need_version to no, make sure it does not cause -set_version
14182 # flags to be left without arguments
14183 need_version=unknown
14185 case $host_os in
14186 aix3*)
14187 version_type=linux
14188 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14189 shlibpath_var=LIBPATH
14191 # AIX 3 has no versioning support, so we append a major version to the name.
14192 soname_spec='${libname}${release}${shared_ext}$major'
14195 aix[4-9]*)
14196 version_type=linux
14197 need_lib_prefix=no
14198 need_version=no
14199 hardcode_into_libs=yes
14200 if test "$host_cpu" = ia64; then
14201 # AIX 5 supports IA64
14202 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14203 shlibpath_var=LD_LIBRARY_PATH
14204 else
14205 # With GCC up to 2.95.x, collect2 would create an import file
14206 # for dependence libraries. The import file would start with
14207 # the line `#! .'. This would cause the generated library to
14208 # depend on `.', always an invalid library. This was fixed in
14209 # development snapshots of GCC prior to 3.0.
14210 case $host_os in
14211 aix4 | aix4.[01] | aix4.[01].*)
14212 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14213 echo ' yes '
14214 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14216 else
14217 can_build_shared=no
14220 esac
14221 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14222 # soname into executable. Probably we can add versioning support to
14223 # collect2, so additional links can be useful in future.
14224 if test "$aix_use_runtimelinking" = yes; then
14225 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14226 # instead of lib<name>.a to let people know that these are not
14227 # typical AIX shared libraries.
14228 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14229 else
14230 # We preserve .a as extension for shared libraries through AIX4.2
14231 # and later when we are not doing run time linking.
14232 library_names_spec='${libname}${release}.a $libname.a'
14233 soname_spec='${libname}${release}${shared_ext}$major'
14235 shlibpath_var=LIBPATH
14239 amigaos*)
14240 case $host_cpu in
14241 powerpc)
14242 # Since July 2007 AmigaOS4 officially supports .so libraries.
14243 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14244 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14246 m68k)
14247 library_names_spec='$libname.ixlibrary $libname.a'
14248 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14249 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'
14251 esac
14254 beos*)
14255 library_names_spec='${libname}${shared_ext}'
14256 dynamic_linker="$host_os ld.so"
14257 shlibpath_var=LIBRARY_PATH
14260 bsdi[45]*)
14261 version_type=linux
14262 need_version=no
14263 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14264 soname_spec='${libname}${release}${shared_ext}$major'
14265 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14266 shlibpath_var=LD_LIBRARY_PATH
14267 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14268 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14269 # the default ld.so.conf also contains /usr/contrib/lib and
14270 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14271 # libtool to hard-code these into programs
14274 cygwin* | mingw* | pw32* | cegcc*)
14275 version_type=windows
14276 shrext_cmds=".dll"
14277 need_version=no
14278 need_lib_prefix=no
14280 case $GCC,$host_os in
14281 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14282 library_names_spec='$libname.dll.a'
14283 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14284 postinstall_cmds='base_file=`basename \${file}`~
14285 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14286 dldir=$destdir/`dirname \$dlpath`~
14287 test -d \$dldir || mkdir -p \$dldir~
14288 $install_prog $dir/$dlname \$dldir/$dlname~
14289 chmod a+x \$dldir/$dlname~
14290 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14291 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14293 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14294 dlpath=$dir/\$dldll~
14295 $RM \$dlpath'
14296 shlibpath_overrides_runpath=yes
14298 case $host_os in
14299 cygwin*)
14300 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14301 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14304 mingw* | cegcc*)
14305 # MinGW DLLs use traditional 'lib' prefix
14306 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14308 pw32*)
14309 # pw32 DLLs use 'pw' prefix rather than 'lib'
14310 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14312 esac
14316 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14318 esac
14319 dynamic_linker='Win32 ld.exe'
14320 # FIXME: first we should search . and the directory the executable is in
14321 shlibpath_var=PATH
14324 darwin* | rhapsody*)
14325 dynamic_linker="$host_os dyld"
14326 version_type=darwin
14327 need_lib_prefix=no
14328 need_version=no
14329 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14330 soname_spec='${libname}${release}${major}$shared_ext'
14331 shlibpath_overrides_runpath=yes
14332 shlibpath_var=DYLD_LIBRARY_PATH
14333 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14335 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14338 dgux*)
14339 version_type=linux
14340 need_lib_prefix=no
14341 need_version=no
14342 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14343 soname_spec='${libname}${release}${shared_ext}$major'
14344 shlibpath_var=LD_LIBRARY_PATH
14347 freebsd* | dragonfly*)
14348 # DragonFly does not have aout. When/if they implement a new
14349 # versioning mechanism, adjust this.
14350 if test -x /usr/bin/objformat; then
14351 objformat=`/usr/bin/objformat`
14352 else
14353 case $host_os in
14354 freebsd[23].*) objformat=aout ;;
14355 *) objformat=elf ;;
14356 esac
14358 version_type=freebsd-$objformat
14359 case $version_type in
14360 freebsd-elf*)
14361 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14362 need_version=no
14363 need_lib_prefix=no
14365 freebsd-*)
14366 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14367 need_version=yes
14369 esac
14370 shlibpath_var=LD_LIBRARY_PATH
14371 case $host_os in
14372 freebsd2.*)
14373 shlibpath_overrides_runpath=yes
14375 freebsd3.[01]* | freebsdelf3.[01]*)
14376 shlibpath_overrides_runpath=yes
14377 hardcode_into_libs=yes
14379 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14380 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14381 shlibpath_overrides_runpath=no
14382 hardcode_into_libs=yes
14384 *) # from 4.6 on, and DragonFly
14385 shlibpath_overrides_runpath=yes
14386 hardcode_into_libs=yes
14388 esac
14391 gnu*)
14392 version_type=linux
14393 need_lib_prefix=no
14394 need_version=no
14395 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14396 soname_spec='${libname}${release}${shared_ext}$major'
14397 shlibpath_var=LD_LIBRARY_PATH
14398 hardcode_into_libs=yes
14401 haiku*)
14402 version_type=linux
14403 need_lib_prefix=no
14404 need_version=no
14405 dynamic_linker="$host_os runtime_loader"
14406 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14407 soname_spec='${libname}${release}${shared_ext}$major'
14408 shlibpath_var=LIBRARY_PATH
14409 shlibpath_overrides_runpath=yes
14410 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14411 hardcode_into_libs=yes
14414 hpux9* | hpux10* | hpux11*)
14415 # Give a soname corresponding to the major version so that dld.sl refuses to
14416 # link against other versions.
14417 version_type=sunos
14418 need_lib_prefix=no
14419 need_version=no
14420 case $host_cpu in
14421 ia64*)
14422 shrext_cmds='.so'
14423 hardcode_into_libs=yes
14424 dynamic_linker="$host_os dld.so"
14425 shlibpath_var=LD_LIBRARY_PATH
14426 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14427 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14428 soname_spec='${libname}${release}${shared_ext}$major'
14429 if test "X$HPUX_IA64_MODE" = X32; then
14430 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14431 else
14432 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14434 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14436 hppa*64*)
14437 shrext_cmds='.sl'
14438 hardcode_into_libs=yes
14439 dynamic_linker="$host_os dld.sl"
14440 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14441 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14442 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14443 soname_spec='${libname}${release}${shared_ext}$major'
14444 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14445 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14448 shrext_cmds='.sl'
14449 dynamic_linker="$host_os dld.sl"
14450 shlibpath_var=SHLIB_PATH
14451 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14452 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14453 soname_spec='${libname}${release}${shared_ext}$major'
14455 esac
14456 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14457 postinstall_cmds='chmod 555 $lib'
14458 # or fails outright, so override atomically:
14459 install_override_mode=555
14462 interix[3-9]*)
14463 version_type=linux
14464 need_lib_prefix=no
14465 need_version=no
14466 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14467 soname_spec='${libname}${release}${shared_ext}$major'
14468 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14469 shlibpath_var=LD_LIBRARY_PATH
14470 shlibpath_overrides_runpath=no
14471 hardcode_into_libs=yes
14474 irix5* | irix6* | nonstopux*)
14475 case $host_os in
14476 nonstopux*) version_type=nonstopux ;;
14478 if test "$lt_cv_prog_gnu_ld" = yes; then
14479 version_type=linux
14480 else
14481 version_type=irix
14482 fi ;;
14483 esac
14484 need_lib_prefix=no
14485 need_version=no
14486 soname_spec='${libname}${release}${shared_ext}$major'
14487 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14488 case $host_os in
14489 irix5* | nonstopux*)
14490 libsuff= shlibsuff=
14493 case $LD in # libtool.m4 will add one of these switches to LD
14494 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14495 libsuff= shlibsuff= libmagic=32-bit;;
14496 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14497 libsuff=32 shlibsuff=N32 libmagic=N32;;
14498 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14499 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14500 *) libsuff= shlibsuff= libmagic=never-match;;
14501 esac
14503 esac
14504 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14505 shlibpath_overrides_runpath=no
14506 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14507 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14508 hardcode_into_libs=yes
14511 # No shared lib support for Linux oldld, aout, or coff.
14512 linux*oldld* | linux*aout* | linux*coff*)
14513 dynamic_linker=no
14516 # This must be Linux ELF.
14517 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14518 version_type=linux
14519 need_lib_prefix=no
14520 need_version=no
14521 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14522 soname_spec='${libname}${release}${shared_ext}$major'
14523 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14524 shlibpath_var=LD_LIBRARY_PATH
14525 shlibpath_overrides_runpath=no
14527 # Some binutils ld are patched to set DT_RUNPATH
14528 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14529 $as_echo_n "(cached) " >&6
14530 else
14531 lt_cv_shlibpath_overrides_runpath=no
14532 save_LDFLAGS=$LDFLAGS
14533 save_libdir=$libdir
14534 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14535 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14536 if test x$gcc_no_link = xyes; then
14537 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14540 /* end confdefs.h. */
14543 main ()
14547 return 0;
14549 _ACEOF
14550 if ac_fn_cxx_try_link "$LINENO"; then :
14551 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14552 lt_cv_shlibpath_overrides_runpath=yes
14555 rm -f core conftest.err conftest.$ac_objext \
14556 conftest$ac_exeext conftest.$ac_ext
14557 LDFLAGS=$save_LDFLAGS
14558 libdir=$save_libdir
14562 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14564 # This implies no fast_install, which is unacceptable.
14565 # Some rework will be needed to allow for fast_install
14566 # before this can be enabled.
14567 hardcode_into_libs=yes
14569 # Append ld.so.conf contents to the search path
14570 if test -f /etc/ld.so.conf; then
14571 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' ' '`
14572 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14575 # We used to test for /lib/ld.so.1 and disable shared libraries on
14576 # powerpc, because MkLinux only supported shared libraries with the
14577 # GNU dynamic linker. Since this was broken with cross compilers,
14578 # most powerpc-linux boxes support dynamic linking these days and
14579 # people can always --disable-shared, the test was removed, and we
14580 # assume the GNU/Linux dynamic linker is in use.
14581 dynamic_linker='GNU/Linux ld.so'
14584 netbsd*)
14585 version_type=sunos
14586 need_lib_prefix=no
14587 need_version=no
14588 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14589 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14590 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14591 dynamic_linker='NetBSD (a.out) ld.so'
14592 else
14593 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14594 soname_spec='${libname}${release}${shared_ext}$major'
14595 dynamic_linker='NetBSD ld.elf_so'
14597 shlibpath_var=LD_LIBRARY_PATH
14598 shlibpath_overrides_runpath=yes
14599 hardcode_into_libs=yes
14602 newsos6)
14603 version_type=linux
14604 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14605 shlibpath_var=LD_LIBRARY_PATH
14606 shlibpath_overrides_runpath=yes
14609 *nto* | *qnx*)
14610 version_type=qnx
14611 need_lib_prefix=no
14612 need_version=no
14613 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14614 soname_spec='${libname}${release}${shared_ext}$major'
14615 shlibpath_var=LD_LIBRARY_PATH
14616 shlibpath_overrides_runpath=no
14617 hardcode_into_libs=yes
14618 dynamic_linker='ldqnx.so'
14621 openbsd*)
14622 version_type=sunos
14623 sys_lib_dlsearch_path_spec="/usr/lib"
14624 need_lib_prefix=no
14625 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14626 case $host_os in
14627 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14628 *) need_version=no ;;
14629 esac
14630 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14631 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14632 shlibpath_var=LD_LIBRARY_PATH
14633 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14634 case $host_os in
14635 openbsd2.[89] | openbsd2.[89].*)
14636 shlibpath_overrides_runpath=no
14639 shlibpath_overrides_runpath=yes
14641 esac
14642 else
14643 shlibpath_overrides_runpath=yes
14647 os2*)
14648 libname_spec='$name'
14649 shrext_cmds=".dll"
14650 need_lib_prefix=no
14651 library_names_spec='$libname${shared_ext} $libname.a'
14652 dynamic_linker='OS/2 ld.exe'
14653 shlibpath_var=LIBPATH
14656 osf3* | osf4* | osf5*)
14657 version_type=osf
14658 need_lib_prefix=no
14659 need_version=no
14660 soname_spec='${libname}${release}${shared_ext}$major'
14661 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14662 shlibpath_var=LD_LIBRARY_PATH
14663 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14664 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14667 rdos*)
14668 dynamic_linker=no
14671 solaris*)
14672 version_type=linux
14673 need_lib_prefix=no
14674 need_version=no
14675 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14676 soname_spec='${libname}${release}${shared_ext}$major'
14677 shlibpath_var=LD_LIBRARY_PATH
14678 shlibpath_overrides_runpath=yes
14679 hardcode_into_libs=yes
14680 # ldd complains unless libraries are executable
14681 postinstall_cmds='chmod +x $lib'
14684 sunos4*)
14685 version_type=sunos
14686 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14687 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14688 shlibpath_var=LD_LIBRARY_PATH
14689 shlibpath_overrides_runpath=yes
14690 if test "$with_gnu_ld" = yes; then
14691 need_lib_prefix=no
14693 need_version=yes
14696 sysv4 | sysv4.3*)
14697 version_type=linux
14698 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14699 soname_spec='${libname}${release}${shared_ext}$major'
14700 shlibpath_var=LD_LIBRARY_PATH
14701 case $host_vendor in
14702 sni)
14703 shlibpath_overrides_runpath=no
14704 need_lib_prefix=no
14705 runpath_var=LD_RUN_PATH
14707 siemens)
14708 need_lib_prefix=no
14710 motorola)
14711 need_lib_prefix=no
14712 need_version=no
14713 shlibpath_overrides_runpath=no
14714 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14716 esac
14719 sysv4*MP*)
14720 if test -d /usr/nec ;then
14721 version_type=linux
14722 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14723 soname_spec='$libname${shared_ext}.$major'
14724 shlibpath_var=LD_LIBRARY_PATH
14728 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14729 version_type=freebsd-elf
14730 need_lib_prefix=no
14731 need_version=no
14732 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14733 soname_spec='${libname}${release}${shared_ext}$major'
14734 shlibpath_var=LD_LIBRARY_PATH
14735 shlibpath_overrides_runpath=yes
14736 hardcode_into_libs=yes
14737 if test "$with_gnu_ld" = yes; then
14738 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14739 else
14740 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14741 case $host_os in
14742 sco3.2v5*)
14743 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14745 esac
14747 sys_lib_dlsearch_path_spec='/usr/lib'
14750 tpf*)
14751 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14752 version_type=linux
14753 need_lib_prefix=no
14754 need_version=no
14755 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14756 shlibpath_var=LD_LIBRARY_PATH
14757 shlibpath_overrides_runpath=no
14758 hardcode_into_libs=yes
14761 uts4*)
14762 version_type=linux
14763 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14764 soname_spec='${libname}${release}${shared_ext}$major'
14765 shlibpath_var=LD_LIBRARY_PATH
14769 dynamic_linker=no
14771 esac
14772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14773 $as_echo "$dynamic_linker" >&6; }
14774 test "$dynamic_linker" = no && can_build_shared=no
14776 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14777 if test "$GCC" = yes; then
14778 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14781 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14782 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14784 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14785 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14826 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14827 hardcode_action_CXX=
14828 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14829 test -n "$runpath_var_CXX" ||
14830 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14832 # We can hardcode non-existent directories.
14833 if test "$hardcode_direct_CXX" != no &&
14834 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14835 # have to relink, otherwise we might link with an installed library
14836 # when we should be linking with a yet-to-be-installed one
14837 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14838 test "$hardcode_minus_L_CXX" != no; then
14839 # Linking always hardcodes the temporary library directory.
14840 hardcode_action_CXX=relink
14841 else
14842 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14843 hardcode_action_CXX=immediate
14845 else
14846 # We cannot hardcode anything, or else we can only hardcode existing
14847 # directories.
14848 hardcode_action_CXX=unsupported
14850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14851 $as_echo "$hardcode_action_CXX" >&6; }
14853 if test "$hardcode_action_CXX" = relink ||
14854 test "$inherit_rpath_CXX" = yes; then
14855 # Fast installation is not supported
14856 enable_fast_install=no
14857 elif test "$shlibpath_overrides_runpath" = yes ||
14858 test "$enable_shared" = no; then
14859 # Fast installation is not necessary
14860 enable_fast_install=needless
14869 fi # test -n "$compiler"
14871 CC=$lt_save_CC
14872 LDCXX=$LD
14873 LD=$lt_save_LD
14874 GCC=$lt_save_GCC
14875 with_gnu_ld=$lt_save_with_gnu_ld
14876 lt_cv_path_LDCXX=$lt_cv_path_LD
14877 lt_cv_path_LD=$lt_save_path_LD
14878 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14879 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14880 fi # test "$_lt_caught_CXX_error" != yes
14882 ac_ext=c
14883 ac_cpp='$CPP $CPPFLAGS'
14884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14900 ac_config_commands="$ac_config_commands libtool"
14905 # Only expand once:
14911 case $host in
14912 *-cygwin* | *-mingw*)
14913 # 'host' will be top-level target in the case of a target lib,
14914 # we must compare to with_cross_host to decide if this is a native
14915 # or cross-compiler and select where to install dlls appropriately.
14916 if test -n "$with_cross_host" &&
14917 test x"$with_cross_host" != x"no"; then
14918 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
14919 else
14920 lt_host_flags='-no-undefined -bindir "$(bindir)"';
14924 lt_host_flags=
14926 esac
14933 if test "$enable_vtable_verify" = yes; then
14934 predep_objects_CXX="${predep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_start.o"
14935 postdep_objects_CXX="${postdep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_end.o"
14939 # libtool variables for C++ shared and position-independent compiles.
14941 # Use glibcxx_lt_pic_flag to designate the automake variable
14942 # used to encapsulate the default libtool approach to creating objects
14943 # with position-independent code. Default: -prefer-pic.
14945 # Use glibcxx_compiler_shared_flag to designate a compile-time flags for
14946 # creating shared objects. Default: -D_GLIBCXX_SHARED.
14948 # Use glibcxx_compiler_pic_flag to designate a compile-time flags for
14949 # creating position-independent objects. This varies with the target
14950 # hardware and operating system, but is often: -DPIC -fPIC.
14951 if test "$enable_shared" = yes; then
14952 glibcxx_lt_pic_flag="-prefer-pic"
14953 glibcxx_compiler_pic_flag="$lt_prog_compiler_pic_CXX"
14954 glibcxx_compiler_shared_flag="-D_GLIBCXX_SHARED"
14956 else
14957 glibcxx_lt_pic_flag=
14958 glibcxx_compiler_pic_flag=
14959 glibcxx_compiler_shared_flag=
14965 # Override the libtool's pic_flag and pic_mode.
14966 # Do this step after AM_PROG_LIBTOOL, but before AC_OUTPUT.
14967 # NB: this impacts --with-pic and --without-pic.
14968 lt_prog_compiler_pic_CXX="$glibcxx_compiler_pic_flag $glibcxx_compiler_shared_flag"
14969 pic_mode='default'
14971 # Eliminate -lstdc++ addition to postdeps for cross compiles.
14972 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
14974 # Possibly disable most of the library.
14975 ## TODO: Consider skipping unncessary tests altogether in this case, rather
14976 ## than just ignoring the results. Faster /and/ more correct, win win.
14978 # Check whether --enable-hosted-libstdcxx was given.
14979 if test "${enable_hosted_libstdcxx+set}" = set; then :
14980 enableval=$enable_hosted_libstdcxx;
14981 else
14982 case "$host" in
14983 arm*-*-symbianelf*)
14984 enable_hosted_libstdcxx=no
14987 enable_hosted_libstdcxx=yes
14989 esac
14992 if test "$enable_hosted_libstdcxx" = no; then
14993 { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
14994 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
14995 is_hosted=no
14996 hosted_define=0
14997 enable_abi_check=no
14998 enable_libstdcxx_pch=no
14999 else
15000 is_hosted=yes
15001 hosted_define=1
15005 cat >>confdefs.h <<_ACEOF
15006 #define _GLIBCXX_HOSTED $hosted_define
15007 _ACEOF
15011 # Enable descriptive messages to standard output on termination.
15013 # Check whether --enable-libstdcxx-verbose was given.
15014 if test "${enable_libstdcxx_verbose+set}" = set; then :
15015 enableval=$enable_libstdcxx_verbose;
15016 else
15017 enable_libstdcxx_verbose=yes
15020 if test x"$enable_libstdcxx_verbose" = xyes; then
15021 verbose_define=1
15022 else
15023 { $as_echo "$as_me:${as_lineno-$LINENO}: verbose termination messages are disabled" >&5
15024 $as_echo "$as_me: verbose termination messages are disabled" >&6;}
15025 verbose_define=0
15028 cat >>confdefs.h <<_ACEOF
15029 #define _GLIBCXX_VERBOSE $verbose_define
15030 _ACEOF
15034 # Enable compiler support that doesn't require linking.
15036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exception model to use" >&5
15037 $as_echo_n "checking for exception model to use... " >&6; }
15039 ac_ext=cpp
15040 ac_cpp='$CXXCPP $CPPFLAGS'
15041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15045 # Check whether --enable-sjlj-exceptions was given.
15046 if test "${enable_sjlj_exceptions+set}" = set; then :
15047 enableval=$enable_sjlj_exceptions;
15048 case "$enableval" in
15049 yes|no|auto) ;;
15050 *) as_fn_error "Unknown argument to enable/disable sjlj-exceptions" "$LINENO" 5 ;;
15051 esac
15053 else
15054 enable_sjlj_exceptions=auto
15059 if test $enable_sjlj_exceptions = auto; then
15060 # Botheration. Now we've got to detect the exception model. Link tests
15061 # against libgcc.a are problematic since we've not been given proper -L
15062 # bits for single-tree newlib and libgloss.
15064 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
15065 cat > conftest.$ac_ext << EOF
15066 #line 15066 "configure"
15067 struct S { ~S(); };
15068 void bar();
15069 void foo()
15071 S s;
15072 bar();
15075 old_CXXFLAGS="$CXXFLAGS"
15076 CXXFLAGS=-S
15077 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15078 (eval $ac_compile) 2>&5
15079 ac_status=$?
15080 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15081 test $ac_status = 0; }; then
15082 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
15083 enable_sjlj_exceptions=yes
15084 elif grep _Unwind_SjLj_Register conftest.s >/dev/null 2>&1 ; then
15085 enable_sjlj_exceptions=yes
15086 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
15087 enable_sjlj_exceptions=no
15088 elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
15089 enable_sjlj_exceptions=no
15092 CXXFLAGS="$old_CXXFLAGS"
15093 rm -f conftest*
15096 # This is a tad weird, for hysterical raisins. We have to map
15097 # enable/disable to two different models.
15098 case $enable_sjlj_exceptions in
15099 yes)
15101 $as_echo "#define _GLIBCXX_SJLJ_EXCEPTIONS 1" >>confdefs.h
15103 ac_exception_model_name=sjlj
15106 ac_exception_model_name="call frame"
15109 as_fn_error "unable to detect exception model" "$LINENO" 5
15111 esac
15112 ac_ext=c
15113 ac_cpp='$CPP $CPPFLAGS'
15114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_exception_model_name" >&5
15119 $as_echo "$ac_exception_model_name" >&6; }
15122 # Check whether --enable-libstdcxx-pch was given.
15123 if test "${enable_libstdcxx_pch+set}" = set; then :
15124 enableval=$enable_libstdcxx_pch;
15125 case "$enableval" in
15126 yes|no) ;;
15127 *) as_fn_error "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15128 esac
15130 else
15131 enable_libstdcxx_pch=$is_hosted
15135 if test $enable_libstdcxx_pch = yes; then
15136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15137 $as_echo_n "checking for compiler with PCH support... " >&6; }
15138 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then :
15139 $as_echo_n "(cached) " >&6
15140 else
15141 ac_save_CXXFLAGS="$CXXFLAGS"
15142 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15144 ac_ext=cpp
15145 ac_cpp='$CXXCPP $CPPFLAGS'
15146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15150 echo '#include <math.h>' > conftest.h
15151 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15152 -o conftest.h.gch 1>&5 2>&1 &&
15153 echo '#error "pch failed"' > conftest.h &&
15154 echo '#include "conftest.h"' > conftest.cc &&
15155 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15156 then
15157 glibcxx_cv_prog_CXX_pch=yes
15158 else
15159 glibcxx_cv_prog_CXX_pch=no
15161 rm -f conftest*
15162 CXXFLAGS=$ac_save_CXXFLAGS
15163 ac_ext=c
15164 ac_cpp='$CPP $CPPFLAGS'
15165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15172 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15173 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15177 $as_echo_n "checking for enabled PCH... " >&6; }
15178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15179 $as_echo "$enable_libstdcxx_pch" >&6; }
15182 if test $enable_libstdcxx_pch = yes; then
15183 glibcxx_PCHFLAGS="-include bits/stdc++.h"
15184 else
15185 glibcxx_PCHFLAGS=""
15190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15191 $as_echo_n "checking for thread model used by GCC... " >&6; }
15192 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15194 $as_echo "$target_thread_file" >&6; }
15196 case $target_thread_file in
15197 aix) thread_header=config/rs6000/gthr-aix.h ;;
15198 dce) thread_header=config/pa/gthr-dce.h ;;
15199 lynx) thread_header=config/gthr-lynx.h ;;
15200 mipssde) thread_header=config/mips/gthr-mipssde.h ;;
15201 posix) thread_header=gthr-posix.h ;;
15202 rtems) thread_header=config/gthr-rtems.h ;;
15203 single) thread_header=gthr-single.h ;;
15204 tpf) thread_header=config/s390/gthr-tpf.h ;;
15205 vxworks) thread_header=config/gthr-vxworks.h ;;
15206 win32) thread_header=config/i386/gthr-win32.h ;;
15207 esac
15213 ac_ext=cpp
15214 ac_cpp='$CXXCPP $CPPFLAGS'
15215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15219 old_CXXFLAGS="$CXXFLAGS"
15221 # Do link tests if possible, instead asm tests, limited to some platforms
15222 # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15223 # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15224 atomic_builtins_link_tests=no
15225 if test x$gcc_no_link != xyes; then
15226 # Can do link tests. Limit to some tested platforms
15227 case "$host" in
15228 *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15229 atomic_builtins_link_tests=yes
15231 esac
15234 if test x$atomic_builtins_link_tests = xyes; then
15236 # Do link tests.
15238 CXXFLAGS="$CXXFLAGS -fno-exceptions"
15240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15241 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15242 if test "${glibcxx_cv_atomic_bool+set}" = set; then :
15243 $as_echo_n "(cached) " >&6
15244 else
15246 if test x$gcc_no_link = xyes; then
15247 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15250 /* end confdefs.h. */
15253 main ()
15255 typedef bool atomic_type;
15256 atomic_type c1;
15257 atomic_type c2;
15258 atomic_type c3(0);
15259 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15260 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15261 __ATOMIC_RELAXED);
15262 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15263 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15266 return 0;
15268 _ACEOF
15269 if ac_fn_cxx_try_link "$LINENO"; then :
15270 glibcxx_cv_atomic_bool=yes
15271 else
15272 glibcxx_cv_atomic_bool=no
15274 rm -f core conftest.err conftest.$ac_objext \
15275 conftest$ac_exeext conftest.$ac_ext
15279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15280 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15283 $as_echo_n "checking for atomic builtins for short... " >&6; }
15284 if test "${glibcxx_cv_atomic_short+set}" = set; then :
15285 $as_echo_n "(cached) " >&6
15286 else
15288 if test x$gcc_no_link = xyes; then
15289 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15292 /* end confdefs.h. */
15295 main ()
15297 typedef short atomic_type;
15298 atomic_type c1;
15299 atomic_type c2;
15300 atomic_type c3(0);
15301 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15302 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15303 __ATOMIC_RELAXED);
15304 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15305 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15308 return 0;
15310 _ACEOF
15311 if ac_fn_cxx_try_link "$LINENO"; then :
15312 glibcxx_cv_atomic_short=yes
15313 else
15314 glibcxx_cv_atomic_short=no
15316 rm -f core conftest.err conftest.$ac_objext \
15317 conftest$ac_exeext conftest.$ac_ext
15321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15322 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15325 $as_echo_n "checking for atomic builtins for int... " >&6; }
15326 if test "${glibcxx_cv_atomic_int+set}" = set; then :
15327 $as_echo_n "(cached) " >&6
15328 else
15330 if test x$gcc_no_link = xyes; then
15331 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15334 /* end confdefs.h. */
15337 main ()
15339 typedef int atomic_type;
15340 atomic_type c1;
15341 atomic_type c2;
15342 atomic_type c3(0);
15343 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15344 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15345 __ATOMIC_RELAXED);
15346 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15347 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15350 return 0;
15352 _ACEOF
15353 if ac_fn_cxx_try_link "$LINENO"; then :
15354 glibcxx_cv_atomic_int=yes
15355 else
15356 glibcxx_cv_atomic_int=no
15358 rm -f core conftest.err conftest.$ac_objext \
15359 conftest$ac_exeext conftest.$ac_ext
15363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15364 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15367 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15368 if test "${glibcxx_cv_atomic_long_long+set}" = set; then :
15369 $as_echo_n "(cached) " >&6
15370 else
15372 if test x$gcc_no_link = xyes; then
15373 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15376 /* end confdefs.h. */
15379 main ()
15381 typedef long long atomic_type;
15382 atomic_type c1;
15383 atomic_type c2;
15384 atomic_type c3(0);
15385 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15386 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15387 __ATOMIC_RELAXED);
15388 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15389 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15392 return 0;
15394 _ACEOF
15395 if ac_fn_cxx_try_link "$LINENO"; then :
15396 glibcxx_cv_atomic_long_long=yes
15397 else
15398 glibcxx_cv_atomic_long_long=no
15400 rm -f core conftest.err conftest.$ac_objext \
15401 conftest$ac_exeext conftest.$ac_ext
15405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15406 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15408 else
15410 # Do asm tests.
15412 # Compile unoptimized.
15413 CXXFLAGS='-O0 -S'
15415 # Fake what AC_TRY_COMPILE does.
15417 cat > conftest.$ac_ext << EOF
15418 #line 15418 "configure"
15419 int main()
15421 typedef bool atomic_type;
15422 atomic_type c1;
15423 atomic_type c2;
15424 atomic_type c3(0);
15425 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15426 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15427 __ATOMIC_RELAXED);
15428 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15429 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15431 return 0;
15435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15436 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15437 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15438 (eval $ac_compile) 2>&5
15439 ac_status=$?
15440 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15441 test $ac_status = 0; }; then
15442 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15443 glibcxx_cv_atomic_bool=no
15444 else
15445 glibcxx_cv_atomic_bool=yes
15448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15449 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15450 rm -f conftest*
15452 cat > conftest.$ac_ext << EOF
15453 #line 15453 "configure"
15454 int main()
15456 typedef short atomic_type;
15457 atomic_type c1;
15458 atomic_type c2;
15459 atomic_type c3(0);
15460 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15461 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15462 __ATOMIC_RELAXED);
15463 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15464 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15466 return 0;
15470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15471 $as_echo_n "checking for atomic builtins for short... " >&6; }
15472 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15473 (eval $ac_compile) 2>&5
15474 ac_status=$?
15475 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15476 test $ac_status = 0; }; then
15477 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15478 glibcxx_cv_atomic_short=no
15479 else
15480 glibcxx_cv_atomic_short=yes
15483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15484 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15485 rm -f conftest*
15487 cat > conftest.$ac_ext << EOF
15488 #line 15488 "configure"
15489 int main()
15491 // NB: _Atomic_word not necessarily int.
15492 typedef int atomic_type;
15493 atomic_type c1;
15494 atomic_type c2;
15495 atomic_type c3(0);
15496 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15497 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15498 __ATOMIC_RELAXED);
15499 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15500 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15502 return 0;
15506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15507 $as_echo_n "checking for atomic builtins for int... " >&6; }
15508 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15509 (eval $ac_compile) 2>&5
15510 ac_status=$?
15511 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15512 test $ac_status = 0; }; then
15513 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15514 glibcxx_cv_atomic_int=no
15515 else
15516 glibcxx_cv_atomic_int=yes
15519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15520 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15521 rm -f conftest*
15523 cat > conftest.$ac_ext << EOF
15524 #line 15524 "configure"
15525 int main()
15527 typedef long long atomic_type;
15528 atomic_type c1;
15529 atomic_type c2;
15530 atomic_type c3(0);
15531 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15532 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15533 __ATOMIC_RELAXED);
15534 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15535 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15537 return 0;
15541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15542 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15543 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15544 (eval $ac_compile) 2>&5
15545 ac_status=$?
15546 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15547 test $ac_status = 0; }; then
15548 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15549 glibcxx_cv_atomic_long_long=no
15550 else
15551 glibcxx_cv_atomic_long_long=yes
15554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15555 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15556 rm -f conftest*
15560 CXXFLAGS="$old_CXXFLAGS"
15561 ac_ext=c
15562 ac_cpp='$CPP $CPPFLAGS'
15563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15568 # Set atomicity_dir to builtins if all but the long long test above passes.
15569 if test $glibcxx_cv_atomic_bool = yes \
15570 && test $glibcxx_cv_atomic_short = yes \
15571 && test $glibcxx_cv_atomic_int = yes; then
15573 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS 1" >>confdefs.h
15575 atomicity_dir=cpu/generic/atomicity_builtins
15578 # If still generic, set to mutex.
15579 if test $atomicity_dir = "cpu/generic" ; then
15580 atomicity_dir=cpu/generic/atomicity_mutex
15581 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
15582 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
15583 if test "x$target_thread_file" = xsingle; then
15584 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
15585 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
15586 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
15587 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
15588 else
15589 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
15590 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
15591 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
15592 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
15599 # Fake what AC_TRY_COMPILE does, without linking as this is
15600 # unnecessary for this test.
15602 cat > conftest.$ac_ext << EOF
15603 #line 15603 "configure"
15604 int main()
15606 _Decimal32 d1;
15607 _Decimal64 d2;
15608 _Decimal128 d3;
15609 return 0;
15613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
15614 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
15615 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15616 (eval $ac_compile) 2>&5
15617 ac_status=$?
15618 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15619 test $ac_status = 0; }; then
15621 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
15623 enable_dfp=yes
15624 else
15625 enable_dfp=no
15627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
15628 $as_echo "$enable_dfp" >&6; }
15629 rm -f conftest*
15634 ac_ext=cpp
15635 ac_cpp='$CXXCPP $CPPFLAGS'
15636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15641 # Fake what AC_TRY_COMPILE does, without linking as this is
15642 # unnecessary for this test.
15644 cat > conftest.$ac_ext << EOF
15645 #line 15645 "configure"
15646 template<typename T1, typename T2>
15647 struct same
15648 { typedef T2 type; };
15650 template<typename T>
15651 struct same<T, T>;
15653 int main()
15655 typename same<long, __int128>::type i1;
15656 typename same<long long, __int128>::type i2;
15660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __int128" >&5
15661 $as_echo_n "checking for __int128... " >&6; }
15662 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15663 (eval $ac_compile) 2>&5
15664 ac_status=$?
15665 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15666 test $ac_status = 0; }; then
15668 $as_echo "#define _GLIBCXX_USE_INT128 1" >>confdefs.h
15670 enable_int128=yes
15671 else
15672 enable_int128=no
15674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_int128" >&5
15675 $as_echo "$enable_int128" >&6; }
15676 rm -f conftest*
15678 cat > conftest.$ac_ext << EOF
15679 #line 15679 "configure"
15680 template<typename T1, typename T2>
15681 struct same
15682 { typedef T2 type; };
15684 template<typename T>
15685 struct same<T, T>;
15687 int main()
15689 typename same<double, __float128>::type f1;
15690 typename same<long double, __float128>::type f2;
15694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __float128" >&5
15695 $as_echo_n "checking for __float128... " >&6; }
15696 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15697 (eval $ac_compile) 2>&5
15698 ac_status=$?
15699 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15700 test $ac_status = 0; }; then
15702 $as_echo "#define _GLIBCXX_USE_FLOAT128 1" >>confdefs.h
15704 enable_float128=yes
15705 else
15706 enable_float128=no
15708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_float128" >&5
15709 $as_echo "$enable_float128" >&6; }
15710 rm -f conftest*
15712 ac_ext=c
15713 ac_cpp='$CPP $CPPFLAGS'
15714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15719 if test "$enable_float128" = yes; then
15720 port_specific_symbol_files="$port_specific_symbol_files \$(top_srcdir)/config/abi/pre/float128.ver"
15723 # Checks for compiler support that doesn't require linking.
15725 # All these tests are for C++; save the language and the compiler flags.
15726 # The CXXFLAGS thing is suspicious, but based on similar bits previously
15727 # found in GLIBCXX_CONFIGURE.
15729 ac_ext=cpp
15730 ac_cpp='$CXXCPP $CPPFLAGS'
15731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15735 ac_test_CXXFLAGS="${CXXFLAGS+set}"
15736 ac_save_CXXFLAGS="$CXXFLAGS"
15738 # Check for maintainer-mode bits.
15739 if test x"$USE_MAINTAINER_MODE" = xno; then
15740 WERROR=''
15741 else
15742 WERROR='-Werror'
15745 # Check for -ffunction-sections -fdata-sections
15746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
15747 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
15748 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
15749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15750 /* end confdefs.h. */
15751 int foo; void bar() { };
15753 main ()
15757 return 0;
15759 _ACEOF
15760 if ac_fn_cxx_try_compile "$LINENO"; then :
15761 ac_fdsections=yes
15762 else
15763 ac_fdsections=no
15765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15766 if test "$ac_test_CXXFLAGS" = set; then
15767 CXXFLAGS="$ac_save_CXXFLAGS"
15768 else
15769 # this is the suspicious part
15770 CXXFLAGS=''
15772 if test x"$ac_fdsections" = x"yes"; then
15773 SECTION_FLAGS='-ffunction-sections -fdata-sections'
15775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
15776 $as_echo "$ac_fdsections" >&6; }
15778 ac_ext=c
15779 ac_cpp='$CPP $CPPFLAGS'
15780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15788 # Enable all the variable C++ runtime options that don't require linking.
15790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
15791 $as_echo_n "checking for underlying I/O to use... " >&6; }
15792 # Check whether --enable-cstdio was given.
15793 if test "${enable_cstdio+set}" = set; then :
15794 enableval=$enable_cstdio;
15795 case "$enableval" in
15796 stdio) ;;
15797 *) as_fn_error "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
15798 esac
15800 else
15801 enable_cstdio=stdio
15806 # Now that libio has been removed, you can have any color you want as long
15807 # as it's black. This is one big no-op until other packages are added, but
15808 # showing the framework never hurts.
15809 case ${enable_cstdio} in
15810 stdio)
15811 CSTDIO_H=config/io/c_io_stdio.h
15812 BASIC_FILE_H=config/io/basic_file_stdio.h
15813 BASIC_FILE_CC=config/io/basic_file_stdio.cc
15814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
15815 $as_echo "stdio" >&6; }
15817 esac
15824 # Check whether --enable-clocale was given.
15825 if test "${enable_clocale+set}" = set; then :
15826 enableval=$enable_clocale;
15827 case "$enableval" in
15828 generic|gnu|ieee_1003.1-2001|newlib|yes|no|auto) ;;
15829 *) as_fn_error "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
15830 esac
15832 else
15833 enable_clocale=auto
15838 # Deal with gettext issues. Default to not using it (=no) until we detect
15839 # support for it later. Let the user turn it off via --e/d, but let that
15840 # default to on for easier handling.
15841 USE_NLS=no
15842 # Check whether --enable-nls was given.
15843 if test "${enable_nls+set}" = set; then :
15844 enableval=$enable_nls;
15845 else
15846 enable_nls=yes
15850 # Either a known package, or "auto"
15851 if test $enable_clocale = no || test $enable_clocale = yes; then
15852 enable_clocale=auto
15854 enable_clocale_flag=$enable_clocale
15856 # Probe for locale model to use if none specified.
15857 # Default to "generic".
15858 if test $enable_clocale_flag = auto; then
15859 case ${target_os} in
15860 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15861 enable_clocale_flag=gnu
15863 darwin* | freebsd*)
15864 enable_clocale_flag=darwin
15866 dragonfly*)
15867 enable_clocale_flag=dragonfly
15869 openbsd*)
15870 enable_clocale_flag=newlib
15873 if test x"$with_newlib" = x"yes"; then
15874 enable_clocale_flag=newlib
15875 else
15876 enable_clocale_flag=generic
15879 esac
15882 # Sanity check model, and test for special functionality.
15883 if test $enable_clocale_flag = gnu; then
15884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15885 /* end confdefs.h. */
15887 #include <features.h>
15888 #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
15889 _GLIBCXX_ok
15890 #endif
15892 _ACEOF
15893 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15894 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
15895 enable_clocale_flag=gnu
15896 else
15897 enable_clocale_flag=generic
15899 rm -f conftest*
15902 # Set it to scream when it hurts.
15903 ac_save_CFLAGS="$CFLAGS"
15904 CFLAGS="-Wimplicit-function-declaration -Werror"
15906 # Use strxfrm_l if available.
15907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15908 /* end confdefs.h. */
15909 #define _GNU_SOURCE 1
15910 #include <string.h>
15911 #include <locale.h>
15913 main ()
15915 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
15917 return 0;
15919 _ACEOF
15920 if ac_fn_c_try_compile "$LINENO"; then :
15922 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
15925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15927 # Use strerror_l if available.
15928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15929 /* end confdefs.h. */
15930 #define _GNU_SOURCE 1
15931 #include <string.h>
15932 #include <locale.h>
15934 main ()
15936 __locale_t loc; strerror_l(5, loc);
15938 return 0;
15940 _ACEOF
15941 if ac_fn_c_try_compile "$LINENO"; then :
15943 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
15946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15948 CFLAGS="$ac_save_CFLAGS"
15951 # Perhaps use strerror_r if available, and strerror_l isn't.
15952 ac_save_CFLAGS="$CFLAGS"
15953 CFLAGS="-Wimplicit-function-declaration -Werror"
15954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15955 /* end confdefs.h. */
15956 #define _GNU_SOURCE 1
15957 #include <string.h>
15958 #include <locale.h>
15960 main ()
15962 char s[128]; strerror_r(5, s, 128);
15964 return 0;
15966 _ACEOF
15967 if ac_fn_c_try_compile "$LINENO"; then :
15969 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
15972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15973 CFLAGS="$ac_save_CFLAGS"
15975 # Set configure bits for specified locale package
15976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
15977 $as_echo_n "checking for C locale to use... " >&6; }
15978 case ${enable_clocale_flag} in
15979 generic)
15980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
15981 $as_echo "generic" >&6; }
15983 CLOCALE_H=config/locale/generic/c_locale.h
15984 CLOCALE_CC=config/locale/generic/c_locale.cc
15985 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15986 CCOLLATE_CC=config/locale/generic/collate_members.cc
15987 CCTYPE_CC=config/locale/generic/ctype_members.cc
15988 CMESSAGES_H=config/locale/generic/messages_members.h
15989 CMESSAGES_CC=config/locale/generic/messages_members.cc
15990 CMONEY_CC=config/locale/generic/monetary_members.cc
15991 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15992 CTIME_H=config/locale/generic/time_members.h
15993 CTIME_CC=config/locale/generic/time_members.cc
15994 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15996 darwin)
15997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin or freebsd" >&5
15998 $as_echo "darwin or freebsd" >&6; }
16000 CLOCALE_H=config/locale/generic/c_locale.h
16001 CLOCALE_CC=config/locale/generic/c_locale.cc
16002 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16003 CCOLLATE_CC=config/locale/generic/collate_members.cc
16004 CCTYPE_CC=config/locale/darwin/ctype_members.cc
16005 CMESSAGES_H=config/locale/generic/messages_members.h
16006 CMESSAGES_CC=config/locale/generic/messages_members.cc
16007 CMONEY_CC=config/locale/generic/monetary_members.cc
16008 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16009 CTIME_H=config/locale/generic/time_members.h
16010 CTIME_CC=config/locale/generic/time_members.cc
16011 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16014 dragonfly)
16015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: dragonfly" >&5
16016 $as_echo "dragonfly" >&6; }
16018 CLOCALE_H=config/locale/generic/c_locale.h
16019 CLOCALE_CC=config/locale/dragonfly/c_locale.cc
16020 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16021 CCOLLATE_CC=config/locale/generic/collate_members.cc
16022 CCTYPE_CC=config/locale/dragonfly/ctype_members.cc
16023 CMESSAGES_H=config/locale/generic/messages_members.h
16024 CMESSAGES_CC=config/locale/generic/messages_members.cc
16025 CMONEY_CC=config/locale/generic/monetary_members.cc
16026 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16027 CTIME_H=config/locale/generic/time_members.h
16028 CTIME_CC=config/locale/generic/time_members.cc
16029 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16032 gnu)
16033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
16034 $as_echo "gnu" >&6; }
16036 # Declare intention to use gettext, and add support for specific
16037 # languages.
16038 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
16039 ALL_LINGUAS="de fr"
16041 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
16042 # Extract the first word of "msgfmt", so it can be a program name with args.
16043 set dummy msgfmt; ac_word=$2
16044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16045 $as_echo_n "checking for $ac_word... " >&6; }
16046 if test "${ac_cv_prog_check_msgfmt+set}" = set; then :
16047 $as_echo_n "(cached) " >&6
16048 else
16049 if test -n "$check_msgfmt"; then
16050 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
16051 else
16052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16053 for as_dir in $PATH
16055 IFS=$as_save_IFS
16056 test -z "$as_dir" && as_dir=.
16057 for ac_exec_ext in '' $ac_executable_extensions; do
16058 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16059 ac_cv_prog_check_msgfmt="yes"
16060 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16061 break 2
16063 done
16064 done
16065 IFS=$as_save_IFS
16067 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
16070 check_msgfmt=$ac_cv_prog_check_msgfmt
16071 if test -n "$check_msgfmt"; then
16072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
16073 $as_echo "$check_msgfmt" >&6; }
16074 else
16075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16076 $as_echo "no" >&6; }
16080 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
16081 USE_NLS=yes
16083 # Export the build objects.
16084 for ling in $ALL_LINGUAS; do \
16085 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
16086 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
16087 done
16091 CLOCALE_H=config/locale/gnu/c_locale.h
16092 CLOCALE_CC=config/locale/gnu/c_locale.cc
16093 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
16094 CCOLLATE_CC=config/locale/gnu/collate_members.cc
16095 CCTYPE_CC=config/locale/gnu/ctype_members.cc
16096 CMESSAGES_H=config/locale/gnu/messages_members.h
16097 CMESSAGES_CC=config/locale/gnu/messages_members.cc
16098 CMONEY_CC=config/locale/gnu/monetary_members.cc
16099 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
16100 CTIME_H=config/locale/gnu/time_members.h
16101 CTIME_CC=config/locale/gnu/time_members.cc
16102 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
16104 ieee_1003.1-2001)
16105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
16106 $as_echo "IEEE 1003.1" >&6; }
16108 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
16109 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
16110 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16111 CCOLLATE_CC=config/locale/generic/collate_members.cc
16112 CCTYPE_CC=config/locale/generic/ctype_members.cc
16113 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
16114 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
16115 CMONEY_CC=config/locale/generic/monetary_members.cc
16116 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16117 CTIME_H=config/locale/generic/time_members.h
16118 CTIME_CC=config/locale/generic/time_members.cc
16119 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16121 newlib)
16122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: newlib" >&5
16123 $as_echo "newlib" >&6; }
16125 CLOCALE_H=config/locale/generic/c_locale.h
16126 CLOCALE_CC=config/locale/generic/c_locale.cc
16127 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16128 CCOLLATE_CC=config/locale/generic/collate_members.cc
16129 CCTYPE_CC=config/locale/newlib/ctype_members.cc
16130 CMESSAGES_H=config/locale/generic/messages_members.h
16131 CMESSAGES_CC=config/locale/generic/messages_members.cc
16132 CMONEY_CC=config/locale/generic/monetary_members.cc
16133 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16134 CTIME_H=config/locale/generic/time_members.h
16135 CTIME_CC=config/locale/generic/time_members.cc
16136 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16138 esac
16140 # This is where the testsuite looks for locale catalogs, using the
16141 # -DLOCALEDIR define during testsuite compilation.
16142 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
16145 # A standalone libintl (e.g., GNU libintl) may be in use.
16146 if test $USE_NLS = yes; then
16147 for ac_header in libintl.h
16148 do :
16149 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
16150 if test "x$ac_cv_header_libintl_h" = x""yes; then :
16151 cat >>confdefs.h <<_ACEOF
16152 #define HAVE_LIBINTL_H 1
16153 _ACEOF
16155 else
16156 USE_NLS=no
16159 done
16161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
16162 $as_echo_n "checking for library containing gettext... " >&6; }
16163 if test "${ac_cv_search_gettext+set}" = set; then :
16164 $as_echo_n "(cached) " >&6
16165 else
16166 ac_func_search_save_LIBS=$LIBS
16167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16168 /* end confdefs.h. */
16170 /* Override any GCC internal prototype to avoid an error.
16171 Use char because int might match the return type of a GCC
16172 builtin and then its argument prototype would still apply. */
16173 #ifdef __cplusplus
16174 extern "C"
16175 #endif
16176 char gettext ();
16178 main ()
16180 return gettext ();
16182 return 0;
16184 _ACEOF
16185 for ac_lib in '' intl; do
16186 if test -z "$ac_lib"; then
16187 ac_res="none required"
16188 else
16189 ac_res=-l$ac_lib
16190 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16192 if test x$gcc_no_link = xyes; then
16193 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16195 if ac_fn_c_try_link "$LINENO"; then :
16196 ac_cv_search_gettext=$ac_res
16198 rm -f core conftest.err conftest.$ac_objext \
16199 conftest$ac_exeext
16200 if test "${ac_cv_search_gettext+set}" = set; then :
16201 break
16203 done
16204 if test "${ac_cv_search_gettext+set}" = set; then :
16206 else
16207 ac_cv_search_gettext=no
16209 rm conftest.$ac_ext
16210 LIBS=$ac_func_search_save_LIBS
16212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
16213 $as_echo "$ac_cv_search_gettext" >&6; }
16214 ac_res=$ac_cv_search_gettext
16215 if test "$ac_res" != no; then :
16216 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16218 else
16219 USE_NLS=no
16223 if test $USE_NLS = yes; then
16225 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16245 $as_echo_n "checking for std::allocator base class... " >&6; }
16246 # Check whether --enable-libstdcxx-allocator was given.
16247 if test "${enable_libstdcxx_allocator+set}" = set; then :
16248 enableval=$enable_libstdcxx_allocator;
16249 case "$enableval" in
16250 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
16251 *) as_fn_error "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16252 esac
16254 else
16255 enable_libstdcxx_allocator=auto
16260 # If they didn't use this option switch, or if they specified --enable
16261 # with no specific model, we'll have to look for one. If they
16262 # specified --disable (???), do likewise.
16263 if test $enable_libstdcxx_allocator = no ||
16264 test $enable_libstdcxx_allocator = yes;
16265 then
16266 enable_libstdcxx_allocator=auto
16269 # Either a known package, or "auto". Auto implies the default choice
16270 # for a particular platform.
16271 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16273 # Probe for host-specific support if no specific model is specified.
16274 # Default to "new".
16275 if test $enable_libstdcxx_allocator_flag = auto; then
16276 case ${target_os} in
16277 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16278 enable_libstdcxx_allocator_flag=new
16281 enable_libstdcxx_allocator_flag=new
16283 esac
16285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16286 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16289 # Set configure bits for specified locale package
16290 case ${enable_libstdcxx_allocator_flag} in
16291 bitmap)
16292 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16293 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16295 malloc)
16296 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16297 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16300 ALLOCATOR_H=config/allocator/mt_allocator_base.h
16301 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16303 new)
16304 ALLOCATOR_H=config/allocator/new_allocator_base.h
16305 ALLOCATOR_NAME=__gnu_cxx::new_allocator
16307 pool)
16308 ALLOCATOR_H=config/allocator/pool_allocator_base.h
16309 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16311 esac
16317 # Check whether --enable-cheaders was given.
16318 if test "${enable_cheaders+set}" = set; then :
16319 enableval=$enable_cheaders;
16320 case "$enableval" in
16321 c|c_std|c_global) ;;
16322 *) as_fn_error "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16323 esac
16325 else
16326 enable_cheaders=$c_model
16330 { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16331 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16333 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16335 # Allow overrides to configure.host here.
16336 if test $enable_cheaders = c_global; then
16337 c_compatibility=yes
16346 # Check whether --enable-long-long was given.
16347 if test "${enable_long_long+set}" = set; then :
16348 enableval=$enable_long_long;
16349 case "$enableval" in
16350 yes|no) ;;
16351 *) as_fn_error "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16352 esac
16354 else
16355 enable_long_long=yes
16359 if test $enable_long_long = yes; then
16361 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16365 $as_echo_n "checking for enabled long long specializations... " >&6; }
16366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16367 $as_echo "$enable_long_long" >&6; }
16370 # Check whether --enable-wchar_t was given.
16371 if test "${enable_wchar_t+set}" = set; then :
16372 enableval=$enable_wchar_t;
16373 case "$enableval" in
16374 yes|no) ;;
16375 *) as_fn_error "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16376 esac
16378 else
16379 enable_wchar_t=yes
16384 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16385 for ac_header in wchar.h
16386 do :
16387 ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16388 if test "x$ac_cv_header_wchar_h" = x""yes; then :
16389 cat >>confdefs.h <<_ACEOF
16390 #define HAVE_WCHAR_H 1
16391 _ACEOF
16392 ac_has_wchar_h=yes
16393 else
16394 ac_has_wchar_h=no
16397 done
16399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16400 $as_echo_n "checking for mbstate_t... " >&6; }
16401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16402 /* end confdefs.h. */
16403 #include <wchar.h>
16405 main ()
16407 mbstate_t teststate;
16409 return 0;
16411 _ACEOF
16412 if ac_fn_c_try_compile "$LINENO"; then :
16413 have_mbstate_t=yes
16414 else
16415 have_mbstate_t=no
16417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16419 $as_echo "$have_mbstate_t" >&6; }
16420 if test x"$have_mbstate_t" = xyes; then
16422 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16426 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16427 # ac_has_wchar_h.
16428 for ac_header in wctype.h
16429 do :
16430 ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16431 if test "x$ac_cv_header_wctype_h" = x""yes; then :
16432 cat >>confdefs.h <<_ACEOF
16433 #define HAVE_WCTYPE_H 1
16434 _ACEOF
16435 ac_has_wctype_h=yes
16436 else
16437 ac_has_wctype_h=no
16440 done
16443 if test x"$enable_wchar_t" = x"yes"; then
16446 ac_ext=cpp
16447 ac_cpp='$CXXCPP $CPPFLAGS'
16448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16453 if test x"$ac_has_wchar_h" = xyes &&
16454 test x"$ac_has_wctype_h" = xyes; then
16455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16456 /* end confdefs.h. */
16457 #include <wchar.h>
16458 #include <stddef.h>
16459 wint_t i;
16460 long l = WEOF;
16461 long j = WCHAR_MIN;
16462 long k = WCHAR_MAX;
16463 namespace test
16465 using ::btowc;
16466 using ::fgetwc;
16467 using ::fgetws;
16468 using ::fputwc;
16469 using ::fputws;
16470 using ::fwide;
16471 using ::fwprintf;
16472 using ::fwscanf;
16473 using ::getwc;
16474 using ::getwchar;
16475 using ::mbrlen;
16476 using ::mbrtowc;
16477 using ::mbsinit;
16478 using ::mbsrtowcs;
16479 using ::putwc;
16480 using ::putwchar;
16481 using ::swprintf;
16482 using ::swscanf;
16483 using ::ungetwc;
16484 using ::vfwprintf;
16485 using ::vswprintf;
16486 using ::vwprintf;
16487 using ::wcrtomb;
16488 using ::wcscat;
16489 using ::wcschr;
16490 using ::wcscmp;
16491 using ::wcscoll;
16492 using ::wcscpy;
16493 using ::wcscspn;
16494 using ::wcsftime;
16495 using ::wcslen;
16496 using ::wcsncat;
16497 using ::wcsncmp;
16498 using ::wcsncpy;
16499 using ::wcspbrk;
16500 using ::wcsrchr;
16501 using ::wcsrtombs;
16502 using ::wcsspn;
16503 using ::wcsstr;
16504 using ::wcstod;
16505 using ::wcstok;
16506 using ::wcstol;
16507 using ::wcstoul;
16508 using ::wcsxfrm;
16509 using ::wctob;
16510 using ::wmemchr;
16511 using ::wmemcmp;
16512 using ::wmemcpy;
16513 using ::wmemmove;
16514 using ::wmemset;
16515 using ::wprintf;
16516 using ::wscanf;
16520 main ()
16524 return 0;
16526 _ACEOF
16527 if ac_fn_cxx_try_compile "$LINENO"; then :
16529 else
16530 enable_wchar_t=no
16532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16533 else
16534 enable_wchar_t=no
16537 ac_ext=c
16538 ac_cpp='$CPP $CPPFLAGS'
16539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16545 if test x"$enable_wchar_t" = x"yes"; then
16547 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
16551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
16552 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
16553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
16554 $as_echo "$enable_wchar_t" >&6; }
16558 # Check whether --enable-c99 was given.
16559 if test "${enable_c99+set}" = set; then :
16560 enableval=$enable_c99;
16561 case "$enableval" in
16562 yes|no) ;;
16563 *) as_fn_error "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
16564 esac
16566 else
16567 enable_c99=yes
16572 if test x"$enable_c99" = x"yes"; then
16575 ac_ext=cpp
16576 ac_cpp='$CXXCPP $CPPFLAGS'
16577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16582 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
16583 # undefined and fake C99 facilities - like pre-standard snprintf - may be
16584 # spuriously enabled.
16585 # Long term, -std=c++0x could be even better, could manage to explicitly
16586 # request C99 facilities to the underlying C headers.
16587 ac_save_CXXFLAGS="$CXXFLAGS"
16588 CXXFLAGS="$CXXFLAGS -std=c++98"
16589 ac_save_LIBS="$LIBS"
16590 ac_save_gcc_no_link="$gcc_no_link"
16592 if test x$gcc_no_link != xyes; then
16593 # Use -fno-exceptions to that the C driver can link these tests without
16594 # hitting undefined references to personality routines.
16595 CXXFLAGS="$CXXFLAGS -fno-exceptions"
16596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16597 $as_echo_n "checking for sin in -lm... " >&6; }
16598 if test "${ac_cv_lib_m_sin+set}" = set; then :
16599 $as_echo_n "(cached) " >&6
16600 else
16601 ac_check_lib_save_LIBS=$LIBS
16602 LIBS="-lm $LIBS"
16603 if test x$gcc_no_link = xyes; then
16604 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16607 /* end confdefs.h. */
16609 /* Override any GCC internal prototype to avoid an error.
16610 Use char because int might match the return type of a GCC
16611 builtin and then its argument prototype would still apply. */
16612 #ifdef __cplusplus
16613 extern "C"
16614 #endif
16615 char sin ();
16617 main ()
16619 return sin ();
16621 return 0;
16623 _ACEOF
16624 if ac_fn_cxx_try_link "$LINENO"; then :
16625 ac_cv_lib_m_sin=yes
16626 else
16627 ac_cv_lib_m_sin=no
16629 rm -f core conftest.err conftest.$ac_objext \
16630 conftest$ac_exeext conftest.$ac_ext
16631 LIBS=$ac_check_lib_save_LIBS
16633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16634 $as_echo "$ac_cv_lib_m_sin" >&6; }
16635 if test "x$ac_cv_lib_m_sin" = x""yes; then :
16637 LIBS="$LIBS -lm"
16639 else
16641 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16642 gcc_no_link=yes
16648 # Check for the existence of <math.h> functions used if C99 is enabled.
16649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h>" >&5
16650 $as_echo_n "checking for ISO C99 support in <math.h>... " >&6; }
16651 if test "${glibcxx_cv_c99_math+set}" = set; then :
16652 $as_echo_n "(cached) " >&6
16653 else
16655 if test x$gcc_no_link = xyes; then
16656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16657 /* end confdefs.h. */
16658 #include <math.h>
16659 volatile double d1, d2;
16660 volatile int i;
16662 main ()
16664 i = fpclassify(d1);
16665 i = isfinite(d1);
16666 i = isinf(d1);
16667 i = isnan(d1);
16668 i = isnormal(d1);
16669 i = signbit(d1);
16670 i = isgreater(d1, d2);
16671 i = isgreaterequal(d1, d2);
16672 i = isless(d1, d2);
16673 i = islessequal(d1, d2);
16674 i = islessgreater(d1, d2);
16675 i = islessgreater(d1, d2);
16676 i = isunordered(d1, d2);
16679 return 0;
16681 _ACEOF
16682 if ac_fn_cxx_try_compile "$LINENO"; then :
16683 glibcxx_cv_c99_math=yes
16684 else
16685 glibcxx_cv_c99_math=no
16687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16688 else
16689 if test x$gcc_no_link = xyes; then
16690 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16693 /* end confdefs.h. */
16694 #include <math.h>
16695 volatile double d1, d2;
16696 volatile int i;
16698 main ()
16700 i = fpclassify(d1);
16701 i = isfinite(d1);
16702 i = isinf(d1);
16703 i = isnan(d1);
16704 i = isnormal(d1);
16705 i = signbit(d1);
16706 i = isgreater(d1, d2);
16707 i = isgreaterequal(d1, d2);
16708 i = isless(d1, d2);
16709 i = islessequal(d1, d2);
16710 i = islessgreater(d1, d2);
16711 i = islessgreater(d1, d2);
16712 i = isunordered(d1, d2);
16715 return 0;
16717 _ACEOF
16718 if ac_fn_cxx_try_link "$LINENO"; then :
16719 glibcxx_cv_c99_math=yes
16720 else
16721 glibcxx_cv_c99_math=no
16723 rm -f core conftest.err conftest.$ac_objext \
16724 conftest$ac_exeext conftest.$ac_ext
16729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math" >&5
16730 $as_echo "$glibcxx_cv_c99_math" >&6; }
16731 if test x"$glibcxx_cv_c99_math" = x"yes"; then
16733 $as_echo "#define _GLIBCXX_USE_C99_MATH 1" >>confdefs.h
16737 # Check for the existence of <complex.h> complex math functions.
16738 # This is necessary even though libstdc++ uses the builtin versions
16739 # of these functions, because if the builtin cannot be used, a reference
16740 # to the library function is emitted.
16741 for ac_header in tgmath.h
16742 do :
16743 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
16744 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
16745 cat >>confdefs.h <<_ACEOF
16746 #define HAVE_TGMATH_H 1
16747 _ACEOF
16748 ac_has_tgmath_h=yes
16749 else
16750 ac_has_tgmath_h=no
16753 done
16755 for ac_header in complex.h
16756 do :
16757 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
16758 if test "x$ac_cv_header_complex_h" = x""yes; then :
16759 cat >>confdefs.h <<_ACEOF
16760 #define HAVE_COMPLEX_H 1
16761 _ACEOF
16762 ac_has_complex_h=yes
16763 else
16764 ac_has_complex_h=no
16767 done
16769 glibcxx_cv_c99_complex=no;
16770 if test x"$ac_has_complex_h" = x"yes"; then
16771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h>" >&5
16772 $as_echo_n "checking for ISO C99 support in <complex.h>... " >&6; }
16773 if test x$gcc_no_link = xyes; then
16774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16775 /* end confdefs.h. */
16776 #include <complex.h>
16777 typedef __complex__ float float_type;
16778 typedef __complex__ double double_type;
16779 typedef __complex__ long double ld_type;
16780 volatile float_type tmpf;
16781 volatile double_type tmpd;
16782 volatile ld_type tmpld;
16783 volatile float f;
16784 volatile double d;
16785 volatile long double ld;
16787 main ()
16789 f = cabsf(tmpf);
16790 f = cargf(tmpf);
16791 tmpf = ccosf(tmpf);
16792 tmpf = ccoshf(tmpf);
16793 tmpf = cexpf(tmpf);
16794 tmpf = clogf(tmpf);
16795 tmpf = csinf(tmpf);
16796 tmpf = csinhf(tmpf);
16797 tmpf = csqrtf(tmpf);
16798 tmpf = ctanf(tmpf);
16799 tmpf = ctanhf(tmpf);
16800 tmpf = cpowf(tmpf, tmpf);
16801 tmpf = cprojf(tmpf);
16802 d = cabs(tmpd);
16803 d = carg(tmpd);
16804 tmpd = ccos(tmpd);
16805 tmpd = ccosh(tmpd);
16806 tmpd = cexp(tmpd);
16807 tmpd = clog(tmpd);
16808 tmpd = csin(tmpd);
16809 tmpd = csinh(tmpd);
16810 tmpd = csqrt(tmpd);
16811 tmpd = ctan(tmpd);
16812 tmpd = ctanh(tmpd);
16813 tmpd = cpow(tmpd, tmpd);
16814 tmpd = cproj(tmpd);
16815 ld = cabsl(tmpld);
16816 ld = cargl(tmpld);
16817 tmpld = ccosl(tmpld);
16818 tmpld = ccoshl(tmpld);
16819 tmpld = cexpl(tmpld);
16820 tmpld = clogl(tmpld);
16821 tmpld = csinl(tmpld);
16822 tmpld = csinhl(tmpld);
16823 tmpld = csqrtl(tmpld);
16824 tmpld = ctanl(tmpld);
16825 tmpld = ctanhl(tmpld);
16826 tmpld = cpowl(tmpld, tmpld);
16827 tmpld = cprojl(tmpld);
16830 return 0;
16832 _ACEOF
16833 if ac_fn_cxx_try_compile "$LINENO"; then :
16834 glibcxx_cv_c99_complex=yes
16835 else
16836 glibcxx_cv_c99_complex=no
16838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16839 else
16840 if test x$gcc_no_link = xyes; then
16841 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16844 /* end confdefs.h. */
16845 #include <complex.h>
16846 typedef __complex__ float float_type;
16847 typedef __complex__ double double_type;
16848 typedef __complex__ long double ld_type;
16849 volatile float_type tmpf;
16850 volatile double_type tmpd;
16851 volatile ld_type tmpld;
16852 volatile float f;
16853 volatile double d;
16854 volatile long double ld;
16856 main ()
16858 f = cabsf(tmpf);
16859 f = cargf(tmpf);
16860 tmpf = ccosf(tmpf);
16861 tmpf = ccoshf(tmpf);
16862 tmpf = cexpf(tmpf);
16863 tmpf = clogf(tmpf);
16864 tmpf = csinf(tmpf);
16865 tmpf = csinhf(tmpf);
16866 tmpf = csqrtf(tmpf);
16867 tmpf = ctanf(tmpf);
16868 tmpf = ctanhf(tmpf);
16869 tmpf = cpowf(tmpf, tmpf);
16870 tmpf = cprojf(tmpf);
16871 d = cabs(tmpd);
16872 d = carg(tmpd);
16873 tmpd = ccos(tmpd);
16874 tmpd = ccosh(tmpd);
16875 tmpd = cexp(tmpd);
16876 tmpd = clog(tmpd);
16877 tmpd = csin(tmpd);
16878 tmpd = csinh(tmpd);
16879 tmpd = csqrt(tmpd);
16880 tmpd = ctan(tmpd);
16881 tmpd = ctanh(tmpd);
16882 tmpd = cpow(tmpd, tmpd);
16883 tmpd = cproj(tmpd);
16884 ld = cabsl(tmpld);
16885 ld = cargl(tmpld);
16886 tmpld = ccosl(tmpld);
16887 tmpld = ccoshl(tmpld);
16888 tmpld = cexpl(tmpld);
16889 tmpld = clogl(tmpld);
16890 tmpld = csinl(tmpld);
16891 tmpld = csinhl(tmpld);
16892 tmpld = csqrtl(tmpld);
16893 tmpld = ctanl(tmpld);
16894 tmpld = ctanhl(tmpld);
16895 tmpld = cpowl(tmpld, tmpld);
16896 tmpld = cprojl(tmpld);
16899 return 0;
16901 _ACEOF
16902 if ac_fn_cxx_try_link "$LINENO"; then :
16903 glibcxx_cv_c99_complex=yes
16904 else
16905 glibcxx_cv_c99_complex=no
16907 rm -f core conftest.err conftest.$ac_objext \
16908 conftest$ac_exeext conftest.$ac_ext
16911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex" >&5
16912 $as_echo "$glibcxx_cv_c99_complex" >&6; }
16913 if test x"$glibcxx_cv_c99_complex" = x"yes"; then
16915 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX 1" >>confdefs.h
16919 # Check for the existence in <stdio.h> of vscanf, et. al.
16920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h>" >&5
16921 $as_echo_n "checking for ISO C99 support in <stdio.h>... " >&6; }
16922 if test "${glibcxx_cv_c99_stdio+set}" = set; then :
16923 $as_echo_n "(cached) " >&6
16924 else
16926 if test x$gcc_no_link = xyes; then
16927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16928 /* end confdefs.h. */
16929 #include <stdio.h>
16930 #include <stdarg.h>
16931 void foo(char* fmt, ...)
16933 va_list args; va_start(args, fmt);
16934 vfscanf(stderr, "%i", args);
16935 vscanf("%i", args);
16936 vsnprintf(fmt, 0, "%i", args);
16937 vsscanf(fmt, "%i", args);
16938 snprintf(fmt, 0, "%i");
16941 main ()
16945 return 0;
16947 _ACEOF
16948 if ac_fn_cxx_try_compile "$LINENO"; then :
16949 glibcxx_cv_c99_stdio=yes
16950 else
16951 glibcxx_cv_c99_stdio=no
16953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16954 else
16955 if test x$gcc_no_link = xyes; then
16956 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16959 /* end confdefs.h. */
16960 #include <stdio.h>
16961 #include <stdarg.h>
16962 void foo(char* fmt, ...)
16964 va_list args; va_start(args, fmt);
16965 vfscanf(stderr, "%i", args);
16966 vscanf("%i", args);
16967 vsnprintf(fmt, 0, "%i", args);
16968 vsscanf(fmt, "%i", args);
16969 snprintf(fmt, 0, "%i");
16972 main ()
16976 return 0;
16978 _ACEOF
16979 if ac_fn_cxx_try_link "$LINENO"; then :
16980 glibcxx_cv_c99_stdio=yes
16981 else
16982 glibcxx_cv_c99_stdio=no
16984 rm -f core conftest.err conftest.$ac_objext \
16985 conftest$ac_exeext conftest.$ac_ext
16990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio" >&5
16991 $as_echo "$glibcxx_cv_c99_stdio" >&6; }
16993 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
16994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h>" >&5
16995 $as_echo_n "checking for ISO C99 support in <stdlib.h>... " >&6; }
16996 if test "${glibcxx_cv_c99_stdlib+set}" = set; then :
16997 $as_echo_n "(cached) " >&6
16998 else
17000 if test x$gcc_no_link = xyes; then
17001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17002 /* end confdefs.h. */
17003 #include <stdlib.h>
17004 volatile float f;
17005 volatile long double ld;
17006 volatile unsigned long long ll;
17007 lldiv_t mydivt;
17009 main ()
17011 char* tmp;
17012 f = strtof("gnu", &tmp);
17013 ld = strtold("gnu", &tmp);
17014 ll = strtoll("gnu", &tmp, 10);
17015 ll = strtoull("gnu", &tmp, 10);
17016 ll = llabs(10);
17017 mydivt = lldiv(10,1);
17018 ll = mydivt.quot;
17019 ll = mydivt.rem;
17020 ll = atoll("10");
17021 _Exit(0);
17024 return 0;
17026 _ACEOF
17027 if ac_fn_cxx_try_compile "$LINENO"; then :
17028 glibcxx_cv_c99_stdlib=yes
17029 else
17030 glibcxx_cv_c99_stdlib=no
17032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17033 else
17034 if test x$gcc_no_link = xyes; then
17035 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17038 /* end confdefs.h. */
17039 #include <stdlib.h>
17040 volatile float f;
17041 volatile long double ld;
17042 volatile unsigned long long ll;
17043 lldiv_t mydivt;
17045 main ()
17047 char* tmp;
17048 f = strtof("gnu", &tmp);
17049 ld = strtold("gnu", &tmp);
17050 ll = strtoll("gnu", &tmp, 10);
17051 ll = strtoull("gnu", &tmp, 10);
17052 ll = llabs(10);
17053 mydivt = lldiv(10,1);
17054 ll = mydivt.quot;
17055 ll = mydivt.rem;
17056 ll = atoll("10");
17057 _Exit(0);
17060 return 0;
17062 _ACEOF
17063 if ac_fn_cxx_try_link "$LINENO"; then :
17064 glibcxx_cv_c99_stdlib=yes
17065 else
17066 glibcxx_cv_c99_stdlib=no
17068 rm -f core conftest.err conftest.$ac_objext \
17069 conftest$ac_exeext conftest.$ac_ext
17074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib" >&5
17075 $as_echo "$glibcxx_cv_c99_stdlib" >&6; }
17077 # Check for the existence in <wchar.h> of wcstold, etc.
17078 glibcxx_cv_c99_wchar=no;
17079 if test x"$ac_has_wchar_h" = xyes &&
17080 test x"$ac_has_wctype_h" = xyes; then
17081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h>" >&5
17082 $as_echo_n "checking for ISO C99 support in <wchar.h>... " >&6; }
17083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17084 /* end confdefs.h. */
17085 #include <wchar.h>
17086 namespace test
17088 using ::wcstold;
17089 using ::wcstoll;
17090 using ::wcstoull;
17094 main ()
17098 return 0;
17100 _ACEOF
17101 if ac_fn_cxx_try_compile "$LINENO"; then :
17102 glibcxx_cv_c99_wchar=yes
17103 else
17104 glibcxx_cv_c99_wchar=no
17106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17108 # Checks for wide character functions that may not be present.
17109 # Injection of these is wrapped with guard macros.
17110 # NB: only put functions here, instead of immediately above, if
17111 # absolutely necessary.
17112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17113 /* end confdefs.h. */
17114 #include <wchar.h>
17115 namespace test { using ::vfwscanf; }
17117 main ()
17121 return 0;
17123 _ACEOF
17124 if ac_fn_cxx_try_compile "$LINENO"; then :
17126 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17132 /* end confdefs.h. */
17133 #include <wchar.h>
17134 namespace test { using ::vswscanf; }
17136 main ()
17140 return 0;
17142 _ACEOF
17143 if ac_fn_cxx_try_compile "$LINENO"; then :
17145 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17151 /* end confdefs.h. */
17152 #include <wchar.h>
17153 namespace test { using ::vwscanf; }
17155 main ()
17159 return 0;
17161 _ACEOF
17162 if ac_fn_cxx_try_compile "$LINENO"; then :
17164 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17170 /* end confdefs.h. */
17171 #include <wchar.h>
17172 namespace test { using ::wcstof; }
17174 main ()
17178 return 0;
17180 _ACEOF
17181 if ac_fn_cxx_try_compile "$LINENO"; then :
17183 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17189 /* end confdefs.h. */
17190 #include <wctype.h>
17192 main ()
17194 wint_t t; int i = iswblank(t);
17196 return 0;
17198 _ACEOF
17199 if ac_fn_cxx_try_compile "$LINENO"; then :
17201 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar" >&5
17207 $as_echo "$glibcxx_cv_c99_wchar" >&6; }
17210 # Option parsed, now set things appropriately.
17211 if test x"$glibcxx_cv_c99_math" = x"no" ||
17212 test x"$glibcxx_cv_c99_complex" = x"no" ||
17213 test x"$glibcxx_cv_c99_stdio" = x"no" ||
17214 test x"$glibcxx_cv_c99_stdlib" = x"no" ||
17215 test x"$glibcxx_cv_c99_wchar" = x"no"; then
17216 enable_c99=no;
17217 else
17219 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
17223 gcc_no_link="$ac_save_gcc_no_link"
17224 LIBS="$ac_save_LIBS"
17225 CXXFLAGS="$ac_save_CXXFLAGS"
17226 ac_ext=c
17227 ac_cpp='$CPP $CPPFLAGS'
17228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
17235 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
17236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
17237 $as_echo "$enable_c99" >&6; }
17240 # Check whether --enable-concept-checks was given.
17241 if test "${enable_concept_checks+set}" = set; then :
17242 enableval=$enable_concept_checks;
17243 case "$enableval" in
17244 yes|no) ;;
17245 *) as_fn_error "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
17246 esac
17248 else
17249 enable_concept_checks=no
17253 if test $enable_concept_checks = yes; then
17255 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
17260 # Check whether --enable-libstdcxx-debug-flags was given.
17261 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
17262 enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
17263 xno | x) enable_libstdcxx_debug_flags= ;;
17264 x-*) ;;
17265 *) as_fn_error "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17266 esac
17267 else
17268 enable_libstdcxx_debug_flags="-gdwarf-4 -g3 -O0"
17273 # Option parsed, now set things appropriately
17274 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
17277 { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
17278 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
17281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
17282 $as_echo_n "checking for additional debug build... " >&6; }
17283 # Check whether --enable-libstdcxx-debug was given.
17284 if test "${enable_libstdcxx_debug+set}" = set; then :
17285 enableval=$enable_libstdcxx_debug;
17286 case "$enableval" in
17287 yes|no) ;;
17288 *) as_fn_error "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
17289 esac
17291 else
17292 enable_libstdcxx_debug=no
17296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug" >&5
17297 $as_echo "$enable_libstdcxx_debug" >&6; }
17302 enable_parallel=no;
17304 # See if configured libgomp/omp.h exists. (libgomp may be in
17305 # noconfigdirs but not explicitly disabled.)
17306 if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
17307 enable_parallel=yes;
17308 else
17309 { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
17310 $as_echo "$as_me: target-libgomp not built" >&6;}
17313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
17314 $as_echo_n "checking for parallel mode support... " >&6; }
17315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
17316 $as_echo "$enable_parallel" >&6; }
17318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
17319 $as_echo_n "checking for extra compiler flags for building... " >&6; }
17320 # Check whether --enable-cxx-flags was given.
17321 if test "${enable_cxx_flags+set}" = set; then :
17322 enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
17323 xno | x) enable_cxx_flags= ;;
17324 x-*) ;;
17325 *) as_fn_error "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17326 esac
17327 else
17328 enable_cxx_flags=
17333 # Run through flags (either default or command-line) and set anything
17334 # extra (e.g., #defines) that must accompany particular g++ options.
17335 if test -n "$enable_cxx_flags"; then
17336 for f in $enable_cxx_flags; do
17337 case "$f" in
17338 -fhonor-std) ;;
17339 -*) ;;
17340 *) # and we're trying to pass /what/ exactly?
17341 as_fn_error "compiler flags start with a -" "$LINENO" 5 ;;
17342 esac
17343 done
17346 EXTRA_CXX_FLAGS="$enable_cxx_flags"
17347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
17348 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
17352 # Check whether --enable-fully-dynamic-string was given.
17353 if test "${enable_fully_dynamic_string+set}" = set; then :
17354 enableval=$enable_fully_dynamic_string;
17355 case "$enableval" in
17356 yes|no) ;;
17357 *) as_fn_error "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
17358 esac
17360 else
17361 enable_fully_dynamic_string=no
17365 if test $enable_fully_dynamic_string = yes; then
17366 enable_fully_dynamic_string_def=1
17367 else
17368 enable_fully_dynamic_string_def=0
17371 cat >>confdefs.h <<_ACEOF
17372 #define _GLIBCXX_FULLY_DYNAMIC_STRING ${enable_fully_dynamic_string_def}
17373 _ACEOF
17378 # Check whether --enable-extern-template was given.
17379 if test "${enable_extern_template+set}" = set; then :
17380 enableval=$enable_extern_template;
17381 case "$enableval" in
17382 yes|no) ;;
17383 *) as_fn_error "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
17384 esac
17386 else
17387 enable_extern_template=yes
17392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
17393 $as_echo_n "checking for extern template support... " >&6; }
17394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
17395 $as_echo "$enable_extern_template" >&6; }
17401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for custom python install directory" >&5
17402 $as_echo_n "checking for custom python install directory... " >&6; }
17404 # Check whether --with-python-dir was given.
17405 if test "${with_python_dir+set}" = set; then :
17406 withval=$with_python_dir; with_python_dir=$withval
17407 else
17408 with_python_dir="no"
17411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_python_dir}" >&5
17412 $as_echo "${with_python_dir}" >&6; }
17414 # Needed for installing Python modules during make install.
17415 python_mod_dir="${with_python_dir}"
17420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Werror" >&5
17421 $as_echo_n "checking for -Werror... " >&6; }
17422 # Check whether --enable-werror was given.
17423 if test "${enable_werror+set}" = set; then :
17424 enableval=$enable_werror;
17425 case "$enableval" in
17426 yes|no) ;;
17427 *) as_fn_error "Argument to enable/disable werror must be yes or no" "$LINENO" 5 ;;
17428 esac
17430 else
17431 enable_werror=yes
17435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_werror" >&5
17436 $as_echo "$enable_werror" >&6; }
17441 # Check whether --enable-vtable-verify was given.
17442 if test "${enable_vtable_verify+set}" = set; then :
17443 enableval=$enable_vtable_verify;
17444 case "$enableval" in
17445 yes|no) ;;
17446 *) as_fn_error "Argument to enable/disable vtable-verify must be yes or no" "$LINENO" 5 ;;
17447 esac
17449 else
17450 enable_vtable_verify=no
17455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vtable verify support" >&5
17456 $as_echo_n "checking for vtable verify support... " >&6; }
17457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
17458 $as_echo "$enable_vtable_verify" >&6; }
17460 if test $enable_vtable_verify = yes; then
17461 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
17462 VTV_PCH_CXXFLAGS="-fvtable-verify=std"
17463 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
17464 else
17465 VTV_CXXFLAGS=
17466 VTV_PCH_CXXFLAGS=
17467 VTV_CXXLINKFLAGS=
17476 # Checks for operating systems support that doesn't require linking.
17480 ac_ext=cpp
17481 ac_cpp='$CXXCPP $CPPFLAGS'
17482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gets declaration" >&5
17488 $as_echo_n "checking for gets declaration... " >&6; }
17489 if test "${glibcxx_cv_gets+set}" = set; then :
17490 $as_echo_n "(cached) " >&6
17491 else
17493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17494 /* end confdefs.h. */
17495 #include <stdio.h>
17496 namespace test
17498 using ::gets;
17501 _ACEOF
17502 if ac_fn_cxx_try_compile "$LINENO"; then :
17503 glibcxx_cv_gets=yes
17504 else
17505 glibcxx_cv_gets=no
17508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17512 if test $glibcxx_cv_gets = yes; then
17514 $as_echo "#define HAVE_GETS 1" >>confdefs.h
17517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_gets" >&5
17518 $as_echo "$glibcxx_cv_gets" >&6; }
17520 ac_ext=c
17521 ac_cpp='$CPP $CPPFLAGS'
17522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
17530 $as_echo_n "checking for EOWNERDEAD... " >&6; }
17531 if test "${glibcxx_cv_system_error1+set}" = set; then :
17532 $as_echo_n "(cached) " >&6
17533 else
17535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17536 /* end confdefs.h. */
17537 #include <errno.h>
17539 main ()
17541 int i = EOWNERDEAD;
17543 return 0;
17545 _ACEOF
17546 if ac_fn_c_try_compile "$LINENO"; then :
17547 glibcxx_cv_system_error1=yes
17548 else
17549 glibcxx_cv_system_error1=no
17551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
17556 $as_echo "$glibcxx_cv_system_error1" >&6; }
17557 if test x"$glibcxx_cv_system_error1" = x"yes"; then
17559 $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
17562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
17563 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
17564 if test "${glibcxx_cv_system_error2+set}" = set; then :
17565 $as_echo_n "(cached) " >&6
17566 else
17568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17569 /* end confdefs.h. */
17570 #include <errno.h>
17572 main ()
17574 int i = ENOTRECOVERABLE;
17576 return 0;
17578 _ACEOF
17579 if ac_fn_c_try_compile "$LINENO"; then :
17580 glibcxx_cv_system_error2=yes
17581 else
17582 glibcxx_cv_system_error2=no
17584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
17589 $as_echo "$glibcxx_cv_system_error2" >&6; }
17590 if test x"$glibcxx_cv_system_error2" = x"yes"; then
17592 $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
17595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
17596 $as_echo_n "checking for ENOLINK... " >&6; }
17597 if test "${glibcxx_cv_system_error3+set}" = set; then :
17598 $as_echo_n "(cached) " >&6
17599 else
17601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17602 /* end confdefs.h. */
17603 #include <errno.h>
17605 main ()
17607 int i = ENOLINK;
17609 return 0;
17611 _ACEOF
17612 if ac_fn_c_try_compile "$LINENO"; then :
17613 glibcxx_cv_system_error3=yes
17614 else
17615 glibcxx_cv_system_error3=no
17617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
17622 $as_echo "$glibcxx_cv_system_error3" >&6; }
17623 if test x"$glibcxx_cv_system_error3" = x"yes"; then
17625 $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
17628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
17629 $as_echo_n "checking for EPROTO... " >&6; }
17630 if test "${glibcxx_cv_system_error4+set}" = set; then :
17631 $as_echo_n "(cached) " >&6
17632 else
17634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17635 /* end confdefs.h. */
17636 #include <errno.h>
17638 main ()
17640 int i = EPROTO;
17642 return 0;
17644 _ACEOF
17645 if ac_fn_c_try_compile "$LINENO"; then :
17646 glibcxx_cv_system_error4=yes
17647 else
17648 glibcxx_cv_system_error4=no
17650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
17655 $as_echo "$glibcxx_cv_system_error4" >&6; }
17656 if test x"$glibcxx_cv_system_error4" = x"yes"; then
17658 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
17661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
17662 $as_echo_n "checking for ENODATA... " >&6; }
17663 if test "${glibcxx_cv_system_error5+set}" = set; then :
17664 $as_echo_n "(cached) " >&6
17665 else
17667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17668 /* end confdefs.h. */
17669 #include <errno.h>
17671 main ()
17673 int i = ENODATA;
17675 return 0;
17677 _ACEOF
17678 if ac_fn_c_try_compile "$LINENO"; then :
17679 glibcxx_cv_system_error5=yes
17680 else
17681 glibcxx_cv_system_error5=no
17683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
17688 $as_echo "$glibcxx_cv_system_error5" >&6; }
17689 if test x"$glibcxx_cv_system_error5" = x"yes"; then
17691 $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
17694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
17695 $as_echo_n "checking for ENOSR... " >&6; }
17696 if test "${glibcxx_cv_system_error6+set}" = set; then :
17697 $as_echo_n "(cached) " >&6
17698 else
17700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17701 /* end confdefs.h. */
17702 #include <errno.h>
17704 main ()
17706 int i = ENOSR;
17708 return 0;
17710 _ACEOF
17711 if ac_fn_c_try_compile "$LINENO"; then :
17712 glibcxx_cv_system_error6=yes
17713 else
17714 glibcxx_cv_system_error6=no
17716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
17721 $as_echo "$glibcxx_cv_system_error6" >&6; }
17722 if test x"$glibcxx_cv_system_error6" = x"yes"; then
17724 $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
17727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
17728 $as_echo_n "checking for ENOSTR... " >&6; }
17729 if test "${glibcxx_cv_system_error7+set}" = set; then :
17730 $as_echo_n "(cached) " >&6
17731 else
17733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17734 /* end confdefs.h. */
17735 #include <errno.h>
17737 main ()
17739 int i = ENOSTR;
17741 return 0;
17743 _ACEOF
17744 if ac_fn_c_try_compile "$LINENO"; then :
17745 glibcxx_cv_system_error7=yes
17746 else
17747 glibcxx_cv_system_error7=no
17749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
17754 $as_echo "$glibcxx_cv_system_error7" >&6; }
17755 if test x"$glibcxx_cv_system_error7" = x"yes"; then
17757 $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
17760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
17761 $as_echo_n "checking for ETIME... " >&6; }
17762 if test "${glibcxx_cv_system_error8+set}" = set; then :
17763 $as_echo_n "(cached) " >&6
17764 else
17766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17767 /* end confdefs.h. */
17768 #include <errno.h>
17770 main ()
17772 int i = ETIME;
17774 return 0;
17776 _ACEOF
17777 if ac_fn_c_try_compile "$LINENO"; then :
17778 glibcxx_cv_system_error8=yes
17779 else
17780 glibcxx_cv_system_error8=no
17782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
17787 $as_echo "$glibcxx_cv_system_error8" >&6; }
17788 if test x"$glibcxx_cv_system_error8" = x"yes"; then
17790 $as_echo "#define HAVE_ETIME 1" >>confdefs.h
17793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
17794 $as_echo_n "checking for EBADMSG... " >&6; }
17795 if test "${glibcxx_cv_system_error9+set}" = set; then :
17796 $as_echo_n "(cached) " >&6
17797 else
17799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17800 /* end confdefs.h. */
17801 #include <errno.h>
17803 main ()
17805 int i = EBADMSG;
17807 return 0;
17809 _ACEOF
17810 if ac_fn_c_try_compile "$LINENO"; then :
17811 glibcxx_cv_system_error9=yes
17812 else
17813 glibcxx_cv_system_error9=no
17815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
17820 $as_echo "$glibcxx_cv_system_error9" >&6; }
17821 if test x"$glibcxx_cv_system_error9" = x"yes"; then
17823 $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
17826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
17827 $as_echo_n "checking for ECANCELED... " >&6; }
17828 if test "${glibcxx_cv_system_error10+set}" = set; then :
17829 $as_echo_n "(cached) " >&6
17830 else
17832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17833 /* end confdefs.h. */
17834 #include <errno.h>
17836 main ()
17838 int i = ECANCELED;
17840 return 0;
17842 _ACEOF
17843 if ac_fn_c_try_compile "$LINENO"; then :
17844 glibcxx_cv_system_error10=yes
17845 else
17846 glibcxx_cv_system_error10=no
17848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
17853 $as_echo "$glibcxx_cv_system_error10" >&6; }
17854 if test x"$glibcxx_cv_system_error10" = x"yes"; then
17856 $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
17859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
17860 $as_echo_n "checking for EOVERFLOW... " >&6; }
17861 if test "${glibcxx_cv_system_error11+set}" = set; then :
17862 $as_echo_n "(cached) " >&6
17863 else
17865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17866 /* end confdefs.h. */
17867 #include <errno.h>
17869 main ()
17871 int i = EOVERFLOW;
17873 return 0;
17875 _ACEOF
17876 if ac_fn_c_try_compile "$LINENO"; then :
17877 glibcxx_cv_system_error11=yes
17878 else
17879 glibcxx_cv_system_error11=no
17881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
17886 $as_echo "$glibcxx_cv_system_error11" >&6; }
17887 if test x"$glibcxx_cv_system_error11" = x"yes"; then
17889 $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
17892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
17893 $as_echo_n "checking for ENOTSUP... " >&6; }
17894 if test "${glibcxx_cv_system_error12+set}" = set; then :
17895 $as_echo_n "(cached) " >&6
17896 else
17898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17899 /* end confdefs.h. */
17900 #include <errno.h>
17902 main ()
17904 int i = ENOTSUP;
17906 return 0;
17908 _ACEOF
17909 if ac_fn_c_try_compile "$LINENO"; then :
17910 glibcxx_cv_system_error12=yes
17911 else
17912 glibcxx_cv_system_error12=no
17914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
17919 $as_echo "$glibcxx_cv_system_error12" >&6; }
17920 if test x"$glibcxx_cv_system_error12" = x"yes"; then
17922 $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
17925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
17926 $as_echo_n "checking for EIDRM... " >&6; }
17927 if test "${glibcxx_cv_system_error13+set}" = set; then :
17928 $as_echo_n "(cached) " >&6
17929 else
17931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17932 /* end confdefs.h. */
17933 #include <errno.h>
17935 main ()
17937 int i = EIDRM;
17939 return 0;
17941 _ACEOF
17942 if ac_fn_c_try_compile "$LINENO"; then :
17943 glibcxx_cv_system_error13=yes
17944 else
17945 glibcxx_cv_system_error13=no
17947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
17952 $as_echo "$glibcxx_cv_system_error13" >&6; }
17953 if test x"$glibcxx_cv_system_error13" = x"yes"; then
17955 $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
17958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
17959 $as_echo_n "checking for ETXTBSY... " >&6; }
17960 if test "${glibcxx_cv_system_error14+set}" = set; then :
17961 $as_echo_n "(cached) " >&6
17962 else
17964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17965 /* end confdefs.h. */
17966 #include <errno.h>
17968 main ()
17970 int i = ETXTBSY;
17972 return 0;
17974 _ACEOF
17975 if ac_fn_c_try_compile "$LINENO"; then :
17976 glibcxx_cv_system_error14=yes
17977 else
17978 glibcxx_cv_system_error14=no
17980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
17985 $as_echo "$glibcxx_cv_system_error14" >&6; }
17986 if test x"$glibcxx_cv_system_error14" = x"yes"; then
17988 $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
17991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECHILD" >&5
17992 $as_echo_n "checking for ECHILD... " >&6; }
17993 if test "${glibcxx_cv_system_error15+set}" = set; then :
17994 $as_echo_n "(cached) " >&6
17995 else
17997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17998 /* end confdefs.h. */
17999 #include <errno.h>
18001 main ()
18003 int i = ECHILD;
18005 return 0;
18007 _ACEOF
18008 if ac_fn_c_try_compile "$LINENO"; then :
18009 glibcxx_cv_system_error15=yes
18010 else
18011 glibcxx_cv_system_error15=no
18013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error15" >&5
18018 $as_echo "$glibcxx_cv_system_error15" >&6; }
18019 if test x"$glibcxx_cv_system_error15" = x"yes"; then
18021 $as_echo "#define HAVE_ECHILD 1" >>confdefs.h
18024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSPC" >&5
18025 $as_echo_n "checking for ENOSPC... " >&6; }
18026 if test "${glibcxx_cv_system_error16+set}" = set; then :
18027 $as_echo_n "(cached) " >&6
18028 else
18030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18031 /* end confdefs.h. */
18032 #include <errno.h>
18034 main ()
18036 int i = ENOSPC;
18038 return 0;
18040 _ACEOF
18041 if ac_fn_c_try_compile "$LINENO"; then :
18042 glibcxx_cv_system_error16=yes
18043 else
18044 glibcxx_cv_system_error16=no
18046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error16" >&5
18051 $as_echo "$glibcxx_cv_system_error16" >&6; }
18052 if test x"$glibcxx_cv_system_error16" = x"yes"; then
18054 $as_echo "#define HAVE_ENOSPC 1" >>confdefs.h
18057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPERM" >&5
18058 $as_echo_n "checking for EPERM... " >&6; }
18059 if test "${glibcxx_cv_system_error17+set}" = set; then :
18060 $as_echo_n "(cached) " >&6
18061 else
18063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18064 /* end confdefs.h. */
18065 #include <errno.h>
18067 main ()
18069 int i = EPERM;
18071 return 0;
18073 _ACEOF
18074 if ac_fn_c_try_compile "$LINENO"; then :
18075 glibcxx_cv_system_error17=yes
18076 else
18077 glibcxx_cv_system_error17=no
18079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error17" >&5
18084 $as_echo "$glibcxx_cv_system_error17" >&6; }
18085 if test x"$glibcxx_cv_system_error17" = x"yes"; then
18087 $as_echo "#define HAVE_EPERM 1" >>confdefs.h
18090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIMEDOUT" >&5
18091 $as_echo_n "checking for ETIMEDOUT... " >&6; }
18092 if test "${glibcxx_cv_system_error18+set}" = set; then :
18093 $as_echo_n "(cached) " >&6
18094 else
18096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18097 /* end confdefs.h. */
18098 #include <errno.h>
18100 main ()
18102 int i = ETIMEDOUT;
18104 return 0;
18106 _ACEOF
18107 if ac_fn_c_try_compile "$LINENO"; then :
18108 glibcxx_cv_system_error18=yes
18109 else
18110 glibcxx_cv_system_error18=no
18112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error18" >&5
18117 $as_echo "$glibcxx_cv_system_error18" >&6; }
18118 if test x"$glibcxx_cv_system_error18" = x"yes"; then
18120 $as_echo "#define HAVE_ETIMEDOUT 1" >>confdefs.h
18123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EWOULDBLOCK" >&5
18124 $as_echo_n "checking for EWOULDBLOCK... " >&6; }
18125 if test "${glibcxx_cv_system_error19+set}" = set; then :
18126 $as_echo_n "(cached) " >&6
18127 else
18129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18130 /* end confdefs.h. */
18131 #include <errno.h>
18133 main ()
18135 int i = EWOULDBLOCK;
18137 return 0;
18139 _ACEOF
18140 if ac_fn_c_try_compile "$LINENO"; then :
18141 glibcxx_cv_system_error19=yes
18142 else
18143 glibcxx_cv_system_error19=no
18145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error19" >&5
18150 $as_echo "$glibcxx_cv_system_error19" >&6; }
18151 if test x"$glibcxx_cv_system_error19" = x"yes"; then
18153 $as_echo "#define HAVE_EWOULDBLOCK 1" >>confdefs.h
18159 # For the streamoff typedef.
18163 ac_ext=cpp
18164 ac_cpp='$CXXCPP $CPPFLAGS'
18165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
18171 $as_echo_n "checking for int64_t... " >&6; }
18172 if test "${glibcxx_cv_INT64_T+set}" = set; then :
18173 $as_echo_n "(cached) " >&6
18174 else
18176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18177 /* end confdefs.h. */
18178 #include <stdint.h>
18180 main ()
18182 int64_t var;
18184 return 0;
18186 _ACEOF
18187 if ac_fn_cxx_try_compile "$LINENO"; then :
18188 glibcxx_cv_INT64_T=yes
18189 else
18190 glibcxx_cv_INT64_T=no
18192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18197 if test $glibcxx_cv_INT64_T = yes; then
18199 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
18201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
18202 $as_echo "$glibcxx_cv_INT64_T" >&6; }
18204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
18205 $as_echo_n "checking for int64_t as long... " >&6; }
18206 if test "${glibcxx_cv_int64_t_long+set}" = set; then :
18207 $as_echo_n "(cached) " >&6
18208 else
18210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18211 /* end confdefs.h. */
18212 #include <stdint.h>
18213 template<typename, typename> struct same { enum { value = -1 }; };
18214 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18215 int array[same<int64_t, long>::value];
18217 main ()
18221 return 0;
18223 _ACEOF
18224 if ac_fn_cxx_try_compile "$LINENO"; then :
18225 glibcxx_cv_int64_t_long=yes
18226 else
18227 glibcxx_cv_int64_t_long=no
18229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18234 if test $glibcxx_cv_int64_t_long = yes; then
18236 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
18238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
18239 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
18242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
18243 $as_echo_n "checking for int64_t as long long... " >&6; }
18244 if test "${glibcxx_cv_int64_t_long_long+set}" = set; then :
18245 $as_echo_n "(cached) " >&6
18246 else
18248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18249 /* end confdefs.h. */
18250 #include <stdint.h>
18251 template<typename, typename> struct same { enum { value = -1 }; };
18252 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18253 int array[same<int64_t, long long>::value];
18255 main ()
18259 return 0;
18261 _ACEOF
18262 if ac_fn_cxx_try_compile "$LINENO"; then :
18263 glibcxx_cv_int64_t_long_long=yes
18264 else
18265 glibcxx_cv_int64_t_long_long=no
18267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18272 if test $glibcxx_cv_int64_t_long_long = yes; then
18274 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
18276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
18277 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
18281 ac_ext=c
18282 ac_cpp='$CPP $CPPFLAGS'
18283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18289 # For LFS support.
18292 ac_ext=cpp
18293 ac_cpp='$CXXCPP $CPPFLAGS'
18294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18298 ac_save_CXXFLAGS="$CXXFLAGS"
18299 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
18301 $as_echo_n "checking for LFS support... " >&6; }
18302 if test "${glibcxx_cv_LFS+set}" = set; then :
18303 $as_echo_n "(cached) " >&6
18304 else
18306 if test x$gcc_no_link = xyes; then
18307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18308 /* end confdefs.h. */
18309 #include <unistd.h>
18310 #include <stdio.h>
18311 #include <sys/stat.h>
18314 main ()
18316 FILE* fp;
18317 fopen64("t", "w");
18318 fseeko64(fp, 0, SEEK_CUR);
18319 ftello64(fp);
18320 lseek64(1, 0, SEEK_CUR);
18321 struct stat64 buf;
18322 fstat64(1, &buf);
18324 return 0;
18326 _ACEOF
18327 if ac_fn_cxx_try_compile "$LINENO"; then :
18328 glibcxx_cv_LFS=yes
18329 else
18330 glibcxx_cv_LFS=no
18332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18333 else
18334 if test x$gcc_no_link = xyes; then
18335 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18338 /* end confdefs.h. */
18339 #include <unistd.h>
18340 #include <stdio.h>
18341 #include <sys/stat.h>
18344 main ()
18346 FILE* fp;
18347 fopen64("t", "w");
18348 fseeko64(fp, 0, SEEK_CUR);
18349 ftello64(fp);
18350 lseek64(1, 0, SEEK_CUR);
18351 struct stat64 buf;
18352 fstat64(1, &buf);
18354 return 0;
18356 _ACEOF
18357 if ac_fn_cxx_try_link "$LINENO"; then :
18358 glibcxx_cv_LFS=yes
18359 else
18360 glibcxx_cv_LFS=no
18362 rm -f core conftest.err conftest.$ac_objext \
18363 conftest$ac_exeext conftest.$ac_ext
18368 if test $glibcxx_cv_LFS = yes; then
18370 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
18373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
18374 $as_echo "$glibcxx_cv_LFS" >&6; }
18375 CXXFLAGS="$ac_save_CXXFLAGS"
18376 ac_ext=c
18377 ac_cpp='$CPP $CPPFLAGS'
18378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18384 # For showmanyc_helper().
18385 for ac_header in sys/ioctl.h sys/filio.h
18386 do :
18387 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18388 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18389 eval as_val=\$$as_ac_Header
18390 if test "x$as_val" = x""yes; then :
18391 cat >>confdefs.h <<_ACEOF
18392 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18393 _ACEOF
18397 done
18402 ac_ext=cpp
18403 ac_cpp='$CXXCPP $CPPFLAGS'
18404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18408 ac_save_CXXFLAGS="$CXXFLAGS"
18409 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
18412 $as_echo_n "checking for poll... " >&6; }
18413 if test "${glibcxx_cv_POLL+set}" = set; then :
18414 $as_echo_n "(cached) " >&6
18415 else
18417 if test x$gcc_no_link = xyes; then
18418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18419 /* end confdefs.h. */
18420 #include <poll.h>
18422 main ()
18424 struct pollfd pfd[1];
18425 pfd[0].events = POLLIN;
18426 poll(pfd, 1, 0);
18428 return 0;
18430 _ACEOF
18431 if ac_fn_cxx_try_compile "$LINENO"; then :
18432 glibcxx_cv_POLL=yes
18433 else
18434 glibcxx_cv_POLL=no
18436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18437 else
18438 if test x$gcc_no_link = xyes; then
18439 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18442 /* end confdefs.h. */
18443 #include <poll.h>
18445 main ()
18447 struct pollfd pfd[1];
18448 pfd[0].events = POLLIN;
18449 poll(pfd, 1, 0);
18451 return 0;
18453 _ACEOF
18454 if ac_fn_cxx_try_link "$LINENO"; then :
18455 glibcxx_cv_POLL=yes
18456 else
18457 glibcxx_cv_POLL=no
18459 rm -f core conftest.err conftest.$ac_objext \
18460 conftest$ac_exeext conftest.$ac_ext
18465 if test $glibcxx_cv_POLL = yes; then
18467 $as_echo "#define HAVE_POLL 1" >>confdefs.h
18470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
18471 $as_echo "$glibcxx_cv_POLL" >&6; }
18473 CXXFLAGS="$ac_save_CXXFLAGS"
18474 ac_ext=c
18475 ac_cpp='$CPP $CPPFLAGS'
18476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18484 ac_ext=cpp
18485 ac_cpp='$CXXCPP $CPPFLAGS'
18486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18490 ac_save_CXXFLAGS="$CXXFLAGS"
18491 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
18494 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
18495 if test "${glibcxx_cv_S_ISREG+set}" = set; then :
18496 $as_echo_n "(cached) " >&6
18497 else
18499 if test x$gcc_no_link = xyes; then
18500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18501 /* end confdefs.h. */
18502 #include <sys/stat.h>
18504 main ()
18506 struct stat buffer;
18507 fstat(0, &buffer);
18508 S_ISREG(buffer.st_mode);
18510 return 0;
18512 _ACEOF
18513 if ac_fn_cxx_try_compile "$LINENO"; then :
18514 glibcxx_cv_S_ISREG=yes
18515 else
18516 glibcxx_cv_S_ISREG=no
18518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18519 else
18520 if test x$gcc_no_link = xyes; then
18521 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18524 /* end confdefs.h. */
18525 #include <sys/stat.h>
18527 main ()
18529 struct stat buffer;
18530 fstat(0, &buffer);
18531 S_ISREG(buffer.st_mode);
18533 return 0;
18535 _ACEOF
18536 if ac_fn_cxx_try_link "$LINENO"; then :
18537 glibcxx_cv_S_ISREG=yes
18538 else
18539 glibcxx_cv_S_ISREG=no
18541 rm -f core conftest.err conftest.$ac_objext \
18542 conftest$ac_exeext conftest.$ac_ext
18547 if test "${glibcxx_cv_S_IFREG+set}" = set; then :
18548 $as_echo_n "(cached) " >&6
18549 else
18551 if test x$gcc_no_link = xyes; then
18552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18553 /* end confdefs.h. */
18554 #include <sys/stat.h>
18556 main ()
18558 struct stat buffer;
18559 fstat(0, &buffer);
18560 S_IFREG & buffer.st_mode;
18562 return 0;
18564 _ACEOF
18565 if ac_fn_cxx_try_compile "$LINENO"; then :
18566 glibcxx_cv_S_IFREG=yes
18567 else
18568 glibcxx_cv_S_IFREG=no
18570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18571 else
18572 if test x$gcc_no_link = xyes; then
18573 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18576 /* end confdefs.h. */
18577 #include <sys/stat.h>
18579 main ()
18581 struct stat buffer;
18582 fstat(0, &buffer);
18583 S_IFREG & buffer.st_mode;
18585 return 0;
18587 _ACEOF
18588 if ac_fn_cxx_try_link "$LINENO"; then :
18589 glibcxx_cv_S_IFREG=yes
18590 else
18591 glibcxx_cv_S_IFREG=no
18593 rm -f core conftest.err conftest.$ac_objext \
18594 conftest$ac_exeext conftest.$ac_ext
18599 res=no
18600 if test $glibcxx_cv_S_ISREG = yes; then
18602 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
18604 res=S_ISREG
18605 elif test $glibcxx_cv_S_IFREG = yes; then
18607 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
18609 res=S_IFREG
18611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
18612 $as_echo "$res" >&6; }
18614 CXXFLAGS="$ac_save_CXXFLAGS"
18615 ac_ext=c
18616 ac_cpp='$CPP $CPPFLAGS'
18617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18623 # For xsputn_2().
18624 for ac_header in sys/uio.h
18625 do :
18626 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
18627 if test "x$ac_cv_header_sys_uio_h" = x""yes; then :
18628 cat >>confdefs.h <<_ACEOF
18629 #define HAVE_SYS_UIO_H 1
18630 _ACEOF
18634 done
18639 ac_ext=cpp
18640 ac_cpp='$CXXCPP $CPPFLAGS'
18641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18645 ac_save_CXXFLAGS="$CXXFLAGS"
18646 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
18649 $as_echo_n "checking for writev... " >&6; }
18650 if test "${glibcxx_cv_WRITEV+set}" = set; then :
18651 $as_echo_n "(cached) " >&6
18652 else
18654 if test x$gcc_no_link = xyes; then
18655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18656 /* end confdefs.h. */
18657 #include <sys/uio.h>
18659 main ()
18661 struct iovec iov[2];
18662 writev(0, iov, 0);
18664 return 0;
18666 _ACEOF
18667 if ac_fn_cxx_try_compile "$LINENO"; then :
18668 glibcxx_cv_WRITEV=yes
18669 else
18670 glibcxx_cv_WRITEV=no
18672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18673 else
18674 if test x$gcc_no_link = xyes; then
18675 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18678 /* end confdefs.h. */
18679 #include <sys/uio.h>
18681 main ()
18683 struct iovec iov[2];
18684 writev(0, iov, 0);
18686 return 0;
18688 _ACEOF
18689 if ac_fn_cxx_try_link "$LINENO"; then :
18690 glibcxx_cv_WRITEV=yes
18691 else
18692 glibcxx_cv_WRITEV=no
18694 rm -f core conftest.err conftest.$ac_objext \
18695 conftest$ac_exeext conftest.$ac_ext
18700 if test $glibcxx_cv_WRITEV = yes; then
18702 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
18705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
18706 $as_echo "$glibcxx_cv_WRITEV" >&6; }
18708 CXXFLAGS="$ac_save_CXXFLAGS"
18709 ac_ext=c
18710 ac_cpp='$CPP $CPPFLAGS'
18711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18717 # Check for fenv.h and complex.h before GLIBCXX_CHECK_C99_TR1
18718 # so that the check is done with the C compiler (not C++).
18719 # Checking with C++ can break a canadian cross build if either
18720 # file does not exist in C but does in C++.
18721 for ac_header in fenv.h complex.h
18722 do :
18723 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18724 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18725 eval as_val=\$$as_ac_Header
18726 if test "x$as_val" = x""yes; then :
18727 cat >>confdefs.h <<_ACEOF
18728 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18729 _ACEOF
18733 done
18736 # For C99 support to TR1.
18740 ac_ext=cpp
18741 ac_cpp='$CXXCPP $CPPFLAGS'
18742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18747 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
18748 # undefined and fake C99 facilities may be spuriously enabled.
18749 ac_save_CXXFLAGS="$CXXFLAGS"
18750 CXXFLAGS="$CXXFLAGS -std=c++98"
18752 # Check for the existence of <complex.h> complex math functions used
18753 # by tr1/complex.
18754 for ac_header in complex.h
18755 do :
18756 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
18757 if test "x$ac_cv_header_complex_h" = x""yes; then :
18758 cat >>confdefs.h <<_ACEOF
18759 #define HAVE_COMPLEX_H 1
18760 _ACEOF
18761 ac_has_complex_h=yes
18762 else
18763 ac_has_complex_h=no
18766 done
18768 ac_c99_complex_tr1=no;
18769 if test x"$ac_has_complex_h" = x"yes"; then
18770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
18771 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
18772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18773 /* end confdefs.h. */
18774 #include <complex.h>
18776 main ()
18778 typedef __complex__ float float_type; float_type tmpf;
18779 cacosf(tmpf);
18780 casinf(tmpf);
18781 catanf(tmpf);
18782 cacoshf(tmpf);
18783 casinhf(tmpf);
18784 catanhf(tmpf);
18785 typedef __complex__ double double_type; double_type tmpd;
18786 cacos(tmpd);
18787 casin(tmpd);
18788 catan(tmpd);
18789 cacosh(tmpd);
18790 casinh(tmpd);
18791 catanh(tmpd);
18792 typedef __complex__ long double ld_type; ld_type tmpld;
18793 cacosl(tmpld);
18794 casinl(tmpld);
18795 catanl(tmpld);
18796 cacoshl(tmpld);
18797 casinhl(tmpld);
18798 catanhl(tmpld);
18801 return 0;
18803 _ACEOF
18804 if ac_fn_cxx_try_compile "$LINENO"; then :
18805 ac_c99_complex_tr1=yes
18806 else
18807 ac_c99_complex_tr1=no
18809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
18812 $as_echo "$ac_c99_complex_tr1" >&6; }
18813 if test x"$ac_c99_complex_tr1" = x"yes"; then
18815 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
18819 # Check for the existence of <ctype.h> functions.
18820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
18821 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
18822 if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then :
18823 $as_echo_n "(cached) " >&6
18824 else
18826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18827 /* end confdefs.h. */
18828 #include <ctype.h>
18830 main ()
18832 int ch;
18833 int ret;
18834 ret = isblank(ch);
18837 return 0;
18839 _ACEOF
18840 if ac_fn_cxx_try_compile "$LINENO"; then :
18841 glibcxx_cv_c99_ctype_tr1=yes
18842 else
18843 glibcxx_cv_c99_ctype_tr1=no
18845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
18850 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
18851 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
18853 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
18857 # Check for the existence of <fenv.h> functions.
18858 for ac_header in fenv.h
18859 do :
18860 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
18861 if test "x$ac_cv_header_fenv_h" = x""yes; then :
18862 cat >>confdefs.h <<_ACEOF
18863 #define HAVE_FENV_H 1
18864 _ACEOF
18865 ac_has_fenv_h=yes
18866 else
18867 ac_has_fenv_h=no
18870 done
18872 ac_c99_fenv_tr1=no;
18873 if test x"$ac_has_fenv_h" = x"yes"; then
18874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
18875 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
18876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18877 /* end confdefs.h. */
18878 #include <fenv.h>
18880 main ()
18882 int except, mode;
18883 fexcept_t* pflag;
18884 fenv_t* penv;
18885 int ret;
18886 ret = feclearexcept(except);
18887 ret = fegetexceptflag(pflag, except);
18888 ret = feraiseexcept(except);
18889 ret = fesetexceptflag(pflag, except);
18890 ret = fetestexcept(except);
18891 ret = fegetround();
18892 ret = fesetround(mode);
18893 ret = fegetenv(penv);
18894 ret = feholdexcept(penv);
18895 ret = fesetenv(penv);
18896 ret = feupdateenv(penv);
18899 return 0;
18901 _ACEOF
18902 if ac_fn_cxx_try_compile "$LINENO"; then :
18903 ac_c99_fenv_tr1=yes
18904 else
18905 ac_c99_fenv_tr1=no
18907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
18910 $as_echo "$ac_c99_fenv_tr1" >&6; }
18911 if test x"$ac_c99_fenv_tr1" = x"yes"; then
18913 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
18917 # Check for the existence of <stdint.h> types.
18918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
18919 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
18920 if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then :
18921 $as_echo_n "(cached) " >&6
18922 else
18924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18925 /* end confdefs.h. */
18926 #define __STDC_LIMIT_MACROS
18927 #define __STDC_CONSTANT_MACROS
18928 #include <stdint.h>
18930 main ()
18932 typedef int8_t my_int8_t;
18933 my_int8_t i8 = INT8_MIN;
18934 i8 = INT8_MAX;
18935 typedef int16_t my_int16_t;
18936 my_int16_t i16 = INT16_MIN;
18937 i16 = INT16_MAX;
18938 typedef int32_t my_int32_t;
18939 my_int32_t i32 = INT32_MIN;
18940 i32 = INT32_MAX;
18941 typedef int64_t my_int64_t;
18942 my_int64_t i64 = INT64_MIN;
18943 i64 = INT64_MAX;
18944 typedef int_fast8_t my_int_fast8_t;
18945 my_int_fast8_t if8 = INT_FAST8_MIN;
18946 if8 = INT_FAST8_MAX;
18947 typedef int_fast16_t my_int_fast16_t;
18948 my_int_fast16_t if16 = INT_FAST16_MIN;
18949 if16 = INT_FAST16_MAX;
18950 typedef int_fast32_t my_int_fast32_t;
18951 my_int_fast32_t if32 = INT_FAST32_MIN;
18952 if32 = INT_FAST32_MAX;
18953 typedef int_fast64_t my_int_fast64_t;
18954 my_int_fast64_t if64 = INT_FAST64_MIN;
18955 if64 = INT_FAST64_MAX;
18956 typedef int_least8_t my_int_least8_t;
18957 my_int_least8_t il8 = INT_LEAST8_MIN;
18958 il8 = INT_LEAST8_MAX;
18959 typedef int_least16_t my_int_least16_t;
18960 my_int_least16_t il16 = INT_LEAST16_MIN;
18961 il16 = INT_LEAST16_MAX;
18962 typedef int_least32_t my_int_least32_t;
18963 my_int_least32_t il32 = INT_LEAST32_MIN;
18964 il32 = INT_LEAST32_MAX;
18965 typedef int_least64_t my_int_least64_t;
18966 my_int_least64_t il64 = INT_LEAST64_MIN;
18967 il64 = INT_LEAST64_MAX;
18968 typedef intmax_t my_intmax_t;
18969 my_intmax_t im = INTMAX_MAX;
18970 im = INTMAX_MIN;
18971 typedef intptr_t my_intptr_t;
18972 my_intptr_t ip = INTPTR_MAX;
18973 ip = INTPTR_MIN;
18974 typedef uint8_t my_uint8_t;
18975 my_uint8_t ui8 = UINT8_MAX;
18976 ui8 = UINT8_MAX;
18977 typedef uint16_t my_uint16_t;
18978 my_uint16_t ui16 = UINT16_MAX;
18979 ui16 = UINT16_MAX;
18980 typedef uint32_t my_uint32_t;
18981 my_uint32_t ui32 = UINT32_MAX;
18982 ui32 = UINT32_MAX;
18983 typedef uint64_t my_uint64_t;
18984 my_uint64_t ui64 = UINT64_MAX;
18985 ui64 = UINT64_MAX;
18986 typedef uint_fast8_t my_uint_fast8_t;
18987 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
18988 uif8 = UINT_FAST8_MAX;
18989 typedef uint_fast16_t my_uint_fast16_t;
18990 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
18991 uif16 = UINT_FAST16_MAX;
18992 typedef uint_fast32_t my_uint_fast32_t;
18993 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
18994 uif32 = UINT_FAST32_MAX;
18995 typedef uint_fast64_t my_uint_fast64_t;
18996 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
18997 uif64 = UINT_FAST64_MAX;
18998 typedef uint_least8_t my_uint_least8_t;
18999 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
19000 uil8 = UINT_LEAST8_MAX;
19001 typedef uint_least16_t my_uint_least16_t;
19002 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
19003 uil16 = UINT_LEAST16_MAX;
19004 typedef uint_least32_t my_uint_least32_t;
19005 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
19006 uil32 = UINT_LEAST32_MAX;
19007 typedef uint_least64_t my_uint_least64_t;
19008 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
19009 uil64 = UINT_LEAST64_MAX;
19010 typedef uintmax_t my_uintmax_t;
19011 my_uintmax_t uim = UINTMAX_MAX;
19012 uim = UINTMAX_MAX;
19013 typedef uintptr_t my_uintptr_t;
19014 my_uintptr_t uip = UINTPTR_MAX;
19015 uip = UINTPTR_MAX;
19018 return 0;
19020 _ACEOF
19021 if ac_fn_cxx_try_compile "$LINENO"; then :
19022 glibcxx_cv_c99_stdint_tr1=yes
19023 else
19024 glibcxx_cv_c99_stdint_tr1=no
19026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
19031 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
19032 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19034 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
19038 # Check for the existence of <math.h> functions.
19039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
19040 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
19041 if test "${glibcxx_cv_c99_math_tr1+set}" = set; then :
19042 $as_echo_n "(cached) " >&6
19043 else
19045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19046 /* end confdefs.h. */
19047 #include <math.h>
19049 main ()
19051 typedef double_t my_double_t;
19052 typedef float_t my_float_t;
19053 acosh(0.0);
19054 acoshf(0.0f);
19055 acoshl(0.0l);
19056 asinh(0.0);
19057 asinhf(0.0f);
19058 asinhl(0.0l);
19059 atanh(0.0);
19060 atanhf(0.0f);
19061 atanhl(0.0l);
19062 cbrt(0.0);
19063 cbrtf(0.0f);
19064 cbrtl(0.0l);
19065 copysign(0.0, 0.0);
19066 copysignf(0.0f, 0.0f);
19067 copysignl(0.0l, 0.0l);
19068 erf(0.0);
19069 erff(0.0f);
19070 erfl(0.0l);
19071 erfc(0.0);
19072 erfcf(0.0f);
19073 erfcl(0.0l);
19074 exp2(0.0);
19075 exp2f(0.0f);
19076 exp2l(0.0l);
19077 expm1(0.0);
19078 expm1f(0.0f);
19079 expm1l(0.0l);
19080 fdim(0.0, 0.0);
19081 fdimf(0.0f, 0.0f);
19082 fdiml(0.0l, 0.0l);
19083 fma(0.0, 0.0, 0.0);
19084 fmaf(0.0f, 0.0f, 0.0f);
19085 fmal(0.0l, 0.0l, 0.0l);
19086 fmax(0.0, 0.0);
19087 fmaxf(0.0f, 0.0f);
19088 fmaxl(0.0l, 0.0l);
19089 fmin(0.0, 0.0);
19090 fminf(0.0f, 0.0f);
19091 fminl(0.0l, 0.0l);
19092 hypot(0.0, 0.0);
19093 hypotf(0.0f, 0.0f);
19094 hypotl(0.0l, 0.0l);
19095 ilogb(0.0);
19096 ilogbf(0.0f);
19097 ilogbl(0.0l);
19098 lgamma(0.0);
19099 lgammaf(0.0f);
19100 lgammal(0.0l);
19101 llrint(0.0);
19102 llrintf(0.0f);
19103 llrintl(0.0l);
19104 llround(0.0);
19105 llroundf(0.0f);
19106 llroundl(0.0l);
19107 log1p(0.0);
19108 log1pf(0.0f);
19109 log1pl(0.0l);
19110 log2(0.0);
19111 log2f(0.0f);
19112 log2l(0.0l);
19113 logb(0.0);
19114 logbf(0.0f);
19115 logbl(0.0l);
19116 lrint(0.0);
19117 lrintf(0.0f);
19118 lrintl(0.0l);
19119 lround(0.0);
19120 lroundf(0.0f);
19121 lroundl(0.0l);
19122 nan(0);
19123 nanf(0);
19124 nanl(0);
19125 nearbyint(0.0);
19126 nearbyintf(0.0f);
19127 nearbyintl(0.0l);
19128 nextafter(0.0, 0.0);
19129 nextafterf(0.0f, 0.0f);
19130 nextafterl(0.0l, 0.0l);
19131 nexttoward(0.0, 0.0);
19132 nexttowardf(0.0f, 0.0f);
19133 nexttowardl(0.0l, 0.0l);
19134 remainder(0.0, 0.0);
19135 remainderf(0.0f, 0.0f);
19136 remainderl(0.0l, 0.0l);
19137 remquo(0.0, 0.0, 0);
19138 remquof(0.0f, 0.0f, 0);
19139 remquol(0.0l, 0.0l, 0);
19140 rint(0.0);
19141 rintf(0.0f);
19142 rintl(0.0l);
19143 round(0.0);
19144 roundf(0.0f);
19145 roundl(0.0l);
19146 scalbln(0.0, 0l);
19147 scalblnf(0.0f, 0l);
19148 scalblnl(0.0l, 0l);
19149 scalbn(0.0, 0);
19150 scalbnf(0.0f, 0);
19151 scalbnl(0.0l, 0);
19152 tgamma(0.0);
19153 tgammaf(0.0f);
19154 tgammal(0.0l);
19155 trunc(0.0);
19156 truncf(0.0f);
19157 truncl(0.0l);
19160 return 0;
19162 _ACEOF
19163 if ac_fn_cxx_try_compile "$LINENO"; then :
19164 glibcxx_cv_c99_math_tr1=yes
19165 else
19166 glibcxx_cv_c99_math_tr1=no
19168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
19173 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
19174 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
19176 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
19180 # Check for the existence of <inttypes.h> functions (NB: doesn't make
19181 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
19182 ac_c99_inttypes_tr1=no;
19183 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
19185 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
19186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19187 /* end confdefs.h. */
19188 #include <inttypes.h>
19190 main ()
19192 intmax_t i, numer, denom, base;
19193 const char* s;
19194 char** endptr;
19195 intmax_t ret = imaxabs(i);
19196 imaxdiv_t dret = imaxdiv(numer, denom);
19197 ret = strtoimax(s, endptr, base);
19198 uintmax_t uret = strtoumax(s, endptr, base);
19201 return 0;
19203 _ACEOF
19204 if ac_fn_cxx_try_compile "$LINENO"; then :
19205 ac_c99_inttypes_tr1=yes
19206 else
19207 ac_c99_inttypes_tr1=no
19209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
19212 $as_echo "$ac_c99_inttypes_tr1" >&6; }
19213 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
19215 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
19219 # Check for the existence of whcar_t <inttypes.h> functions (NB: doesn't
19220 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
19221 ac_c99_inttypes_wchar_t_tr1=no;
19222 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
19224 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
19225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19226 /* end confdefs.h. */
19227 #include <inttypes.h>
19229 main ()
19231 intmax_t base;
19232 const wchar_t* s;
19233 wchar_t** endptr;
19234 intmax_t ret = wcstoimax(s, endptr, base);
19235 uintmax_t uret = wcstoumax(s, endptr, base);
19238 return 0;
19240 _ACEOF
19241 if ac_fn_cxx_try_compile "$LINENO"; then :
19242 ac_c99_inttypes_wchar_t_tr1=yes
19243 else
19244 ac_c99_inttypes_wchar_t_tr1=no
19246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
19249 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
19250 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
19252 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
19256 # Check for the existence of the <stdbool.h> header.
19257 for ac_header in stdbool.h
19258 do :
19259 ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
19260 if test "x$ac_cv_header_stdbool_h" = x""yes; then :
19261 cat >>confdefs.h <<_ACEOF
19262 #define HAVE_STDBOOL_H 1
19263 _ACEOF
19267 done
19270 # Check for the existence of the <stdalign.h> header.
19271 for ac_header in stdalign.h
19272 do :
19273 ac_fn_cxx_check_header_mongrel "$LINENO" "stdalign.h" "ac_cv_header_stdalign_h" "$ac_includes_default"
19274 if test "x$ac_cv_header_stdalign_h" = x""yes; then :
19275 cat >>confdefs.h <<_ACEOF
19276 #define HAVE_STDALIGN_H 1
19277 _ACEOF
19281 done
19284 CXXFLAGS="$ac_save_CXXFLAGS"
19285 ac_ext=c
19286 ac_cpp='$CPP $CPPFLAGS'
19287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19293 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
19296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
19297 $as_echo_n "checking for the value of EOF... " >&6; }
19298 if test "${glibcxx_cv_stdio_eof+set}" = set; then :
19299 $as_echo_n "(cached) " >&6
19300 else
19302 if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof" "#include <stdio.h>"; then :
19304 else
19305 as_fn_error "computing EOF failed" "$LINENO" 5
19310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
19311 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
19313 cat >>confdefs.h <<_ACEOF
19314 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
19315 _ACEOF
19318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
19319 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
19320 if test "${glibcxx_cv_stdio_seek_cur+set}" = set; then :
19321 $as_echo_n "(cached) " >&6
19322 else
19324 if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur" "#include <stdio.h>"; then :
19326 else
19327 as_fn_error "computing SEEK_CUR failed" "$LINENO" 5
19332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
19333 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
19335 cat >>confdefs.h <<_ACEOF
19336 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
19337 _ACEOF
19340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
19341 $as_echo_n "checking for the value of SEEK_END... " >&6; }
19342 if test "${glibcxx_cv_stdio_seek_end+set}" = set; then :
19343 $as_echo_n "(cached) " >&6
19344 else
19346 if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end" "#include <stdio.h>"; then :
19348 else
19349 as_fn_error "computing SEEK_END failed" "$LINENO" 5
19354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
19355 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
19357 cat >>confdefs.h <<_ACEOF
19358 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
19359 _ACEOF
19363 # For gettimeofday support.
19366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19367 $as_echo_n "checking for gettimeofday... " >&6; }
19370 ac_ext=cpp
19371 ac_cpp='$CXXCPP $CPPFLAGS'
19372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19376 ac_save_CXXFLAGS="$CXXFLAGS"
19377 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19379 ac_has_gettimeofday=no;
19380 for ac_header in sys/time.h
19381 do :
19382 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
19383 if test "x$ac_cv_header_sys_time_h" = x""yes; then :
19384 cat >>confdefs.h <<_ACEOF
19385 #define HAVE_SYS_TIME_H 1
19386 _ACEOF
19387 ac_has_sys_time_h=yes
19388 else
19389 ac_has_sys_time_h=no
19392 done
19394 if test x"$ac_has_sys_time_h" = x"yes"; then
19395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19396 $as_echo_n "checking for gettimeofday... " >&6; }
19397 if test x$gcc_no_link = xyes; then
19398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19399 /* end confdefs.h. */
19400 #include <sys/time.h>
19402 main ()
19404 timeval tv; gettimeofday(&tv, 0);
19406 return 0;
19408 _ACEOF
19409 if ac_fn_cxx_try_compile "$LINENO"; then :
19410 ac_has_gettimeofday=yes
19411 else
19412 ac_has_gettimeofday=no
19414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19415 else
19416 if test x$gcc_no_link = xyes; then
19417 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19420 /* end confdefs.h. */
19421 #include <sys/time.h>
19423 main ()
19425 timeval tv; gettimeofday(&tv, 0);
19427 return 0;
19429 _ACEOF
19430 if ac_fn_cxx_try_link "$LINENO"; then :
19431 ac_has_gettimeofday=yes
19432 else
19433 ac_has_gettimeofday=no
19435 rm -f core conftest.err conftest.$ac_objext \
19436 conftest$ac_exeext conftest.$ac_ext
19439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
19440 $as_echo "$ac_has_gettimeofday" >&6; }
19443 if test x"$ac_has_gettimeofday" = x"yes"; then
19445 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
19449 CXXFLAGS="$ac_save_CXXFLAGS"
19450 ac_ext=c
19451 ac_cpp='$CPP $CPPFLAGS'
19452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19458 # For clock_gettime, nanosleep and sched_yield support.
19461 # Check whether --enable-libstdcxx-time was given.
19462 if test "${enable_libstdcxx_time+set}" = set; then :
19463 enableval=$enable_libstdcxx_time;
19464 case "$enableval" in
19465 yes|no|rt) ;;
19466 *) as_fn_error "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
19467 esac
19469 else
19470 enable_libstdcxx_time=auto
19476 ac_ext=cpp
19477 ac_cpp='$CXXCPP $CPPFLAGS'
19478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19482 ac_save_CXXFLAGS="$CXXFLAGS"
19483 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19484 ac_save_LIBS="$LIBS"
19486 ac_has_clock_monotonic=no
19487 ac_has_clock_realtime=no
19488 ac_has_nanosleep=no
19489 ac_has_sched_yield=no
19491 if test x"$enable_libstdcxx_time" = x"auto"; then
19493 case "${target_os}" in
19494 cygwin*)
19495 ac_has_nanosleep=yes
19497 darwin*)
19498 ac_has_nanosleep=yes
19499 ac_has_sched_yield=yes
19501 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
19502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at least GNU libc 2.17" >&5
19503 $as_echo_n "checking for at least GNU libc 2.17... " >&6; }
19504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19505 /* end confdefs.h. */
19506 #include <features.h>
19508 main ()
19511 #if ! __GLIBC_PREREQ(2, 17)
19512 #error
19513 #endif
19516 return 0;
19518 _ACEOF
19519 if ac_fn_cxx_try_compile "$LINENO"; then :
19520 glibcxx_glibc217=yes
19521 else
19522 glibcxx_glibc217=no
19524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_glibc217" >&5
19526 $as_echo "$glibcxx_glibc217" >&6; }
19528 if test x"$glibcxx_glibc217" = x"yes"; then
19529 ac_has_clock_monotonic=yes
19530 ac_has_clock_realtime=yes
19532 ac_has_nanosleep=yes
19533 ac_has_sched_yield=yes
19535 freebsd*|netbsd*)
19536 ac_has_clock_monotonic=yes
19537 ac_has_clock_realtime=yes
19538 ac_has_nanosleep=yes
19539 ac_has_sched_yield=yes
19541 openbsd*)
19542 ac_has_clock_monotonic=yes
19543 ac_has_clock_realtime=yes
19544 ac_has_nanosleep=yes
19546 solaris*)
19547 GLIBCXX_LIBS="$GLIBCXX_LIBS -lrt"
19548 ac_has_clock_monotonic=yes
19549 ac_has_clock_realtime=yes
19550 ac_has_nanosleep=yes
19551 ac_has_sched_yield=yes
19553 esac
19555 elif test x"$enable_libstdcxx_time" != x"no"; then
19557 if test x"$enable_libstdcxx_time" = x"rt"; then
19558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19559 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19560 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19561 $as_echo_n "(cached) " >&6
19562 else
19563 ac_func_search_save_LIBS=$LIBS
19564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19565 /* end confdefs.h. */
19567 /* Override any GCC internal prototype to avoid an error.
19568 Use char because int might match the return type of a GCC
19569 builtin and then its argument prototype would still apply. */
19570 #ifdef __cplusplus
19571 extern "C"
19572 #endif
19573 char clock_gettime ();
19575 main ()
19577 return clock_gettime ();
19579 return 0;
19581 _ACEOF
19582 for ac_lib in '' rt posix4; do
19583 if test -z "$ac_lib"; then
19584 ac_res="none required"
19585 else
19586 ac_res=-l$ac_lib
19587 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19589 if test x$gcc_no_link = xyes; then
19590 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19592 if ac_fn_cxx_try_link "$LINENO"; then :
19593 ac_cv_search_clock_gettime=$ac_res
19595 rm -f core conftest.err conftest.$ac_objext \
19596 conftest$ac_exeext
19597 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19598 break
19600 done
19601 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19603 else
19604 ac_cv_search_clock_gettime=no
19606 rm conftest.$ac_ext
19607 LIBS=$ac_func_search_save_LIBS
19609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19610 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19611 ac_res=$ac_cv_search_clock_gettime
19612 if test "$ac_res" != no; then :
19613 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19618 $as_echo_n "checking for library containing nanosleep... " >&6; }
19619 if test "${ac_cv_search_nanosleep+set}" = set; then :
19620 $as_echo_n "(cached) " >&6
19621 else
19622 ac_func_search_save_LIBS=$LIBS
19623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19624 /* end confdefs.h. */
19626 /* Override any GCC internal prototype to avoid an error.
19627 Use char because int might match the return type of a GCC
19628 builtin and then its argument prototype would still apply. */
19629 #ifdef __cplusplus
19630 extern "C"
19631 #endif
19632 char nanosleep ();
19634 main ()
19636 return nanosleep ();
19638 return 0;
19640 _ACEOF
19641 for ac_lib in '' rt posix4; do
19642 if test -z "$ac_lib"; then
19643 ac_res="none required"
19644 else
19645 ac_res=-l$ac_lib
19646 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19648 if test x$gcc_no_link = xyes; then
19649 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19651 if ac_fn_cxx_try_link "$LINENO"; then :
19652 ac_cv_search_nanosleep=$ac_res
19654 rm -f core conftest.err conftest.$ac_objext \
19655 conftest$ac_exeext
19656 if test "${ac_cv_search_nanosleep+set}" = set; then :
19657 break
19659 done
19660 if test "${ac_cv_search_nanosleep+set}" = set; then :
19662 else
19663 ac_cv_search_nanosleep=no
19665 rm conftest.$ac_ext
19666 LIBS=$ac_func_search_save_LIBS
19668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19669 $as_echo "$ac_cv_search_nanosleep" >&6; }
19670 ac_res=$ac_cv_search_nanosleep
19671 if test "$ac_res" != no; then :
19672 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19676 else
19677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19678 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19679 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19680 $as_echo_n "(cached) " >&6
19681 else
19682 ac_func_search_save_LIBS=$LIBS
19683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19684 /* end confdefs.h. */
19686 /* Override any GCC internal prototype to avoid an error.
19687 Use char because int might match the return type of a GCC
19688 builtin and then its argument prototype would still apply. */
19689 #ifdef __cplusplus
19690 extern "C"
19691 #endif
19692 char clock_gettime ();
19694 main ()
19696 return clock_gettime ();
19698 return 0;
19700 _ACEOF
19701 for ac_lib in '' posix4; do
19702 if test -z "$ac_lib"; then
19703 ac_res="none required"
19704 else
19705 ac_res=-l$ac_lib
19706 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19708 if test x$gcc_no_link = xyes; then
19709 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19711 if ac_fn_cxx_try_link "$LINENO"; then :
19712 ac_cv_search_clock_gettime=$ac_res
19714 rm -f core conftest.err conftest.$ac_objext \
19715 conftest$ac_exeext
19716 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19717 break
19719 done
19720 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19722 else
19723 ac_cv_search_clock_gettime=no
19725 rm conftest.$ac_ext
19726 LIBS=$ac_func_search_save_LIBS
19728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19729 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19730 ac_res=$ac_cv_search_clock_gettime
19731 if test "$ac_res" != no; then :
19732 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19737 $as_echo_n "checking for library containing nanosleep... " >&6; }
19738 if test "${ac_cv_search_nanosleep+set}" = set; then :
19739 $as_echo_n "(cached) " >&6
19740 else
19741 ac_func_search_save_LIBS=$LIBS
19742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19743 /* end confdefs.h. */
19745 /* Override any GCC internal prototype to avoid an error.
19746 Use char because int might match the return type of a GCC
19747 builtin and then its argument prototype would still apply. */
19748 #ifdef __cplusplus
19749 extern "C"
19750 #endif
19751 char nanosleep ();
19753 main ()
19755 return nanosleep ();
19757 return 0;
19759 _ACEOF
19760 for ac_lib in '' posix4; do
19761 if test -z "$ac_lib"; then
19762 ac_res="none required"
19763 else
19764 ac_res=-l$ac_lib
19765 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19767 if test x$gcc_no_link = xyes; then
19768 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19770 if ac_fn_cxx_try_link "$LINENO"; then :
19771 ac_cv_search_nanosleep=$ac_res
19773 rm -f core conftest.err conftest.$ac_objext \
19774 conftest$ac_exeext
19775 if test "${ac_cv_search_nanosleep+set}" = set; then :
19776 break
19778 done
19779 if test "${ac_cv_search_nanosleep+set}" = set; then :
19781 else
19782 ac_cv_search_nanosleep=no
19784 rm conftest.$ac_ext
19785 LIBS=$ac_func_search_save_LIBS
19787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19788 $as_echo "$ac_cv_search_nanosleep" >&6; }
19789 ac_res=$ac_cv_search_nanosleep
19790 if test "$ac_res" != no; then :
19791 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19797 case "$ac_cv_search_clock_gettime" in
19798 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
19800 esac
19801 case "$ac_cv_search_nanosleep" in
19802 -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
19804 esac
19806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
19807 $as_echo_n "checking for library containing sched_yield... " >&6; }
19808 if test "${ac_cv_search_sched_yield+set}" = set; then :
19809 $as_echo_n "(cached) " >&6
19810 else
19811 ac_func_search_save_LIBS=$LIBS
19812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19813 /* end confdefs.h. */
19815 /* Override any GCC internal prototype to avoid an error.
19816 Use char because int might match the return type of a GCC
19817 builtin and then its argument prototype would still apply. */
19818 #ifdef __cplusplus
19819 extern "C"
19820 #endif
19821 char sched_yield ();
19823 main ()
19825 return sched_yield ();
19827 return 0;
19829 _ACEOF
19830 for ac_lib in '' rt posix4; do
19831 if test -z "$ac_lib"; then
19832 ac_res="none required"
19833 else
19834 ac_res=-l$ac_lib
19835 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19837 if test x$gcc_no_link = xyes; then
19838 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19840 if ac_fn_cxx_try_link "$LINENO"; then :
19841 ac_cv_search_sched_yield=$ac_res
19843 rm -f core conftest.err conftest.$ac_objext \
19844 conftest$ac_exeext
19845 if test "${ac_cv_search_sched_yield+set}" = set; then :
19846 break
19848 done
19849 if test "${ac_cv_search_sched_yield+set}" = set; then :
19851 else
19852 ac_cv_search_sched_yield=no
19854 rm conftest.$ac_ext
19855 LIBS=$ac_func_search_save_LIBS
19857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
19858 $as_echo "$ac_cv_search_sched_yield" >&6; }
19859 ac_res=$ac_cv_search_sched_yield
19860 if test "$ac_res" != no; then :
19861 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19866 case "$ac_cv_search_sched_yield" in
19867 -lposix4*)
19868 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19869 ac_has_sched_yield=yes
19871 -lrt*)
19872 if test x"$enable_libstdcxx_time" = x"rt"; then
19873 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19874 ac_has_sched_yield=yes
19878 ac_has_sched_yield=yes
19880 esac
19882 for ac_header in unistd.h
19883 do :
19884 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
19885 if test "x$ac_cv_header_unistd_h" = x""yes; then :
19886 cat >>confdefs.h <<_ACEOF
19887 #define HAVE_UNISTD_H 1
19888 _ACEOF
19889 ac_has_unistd_h=yes
19890 else
19891 ac_has_unistd_h=no
19894 done
19897 if test x"$ac_has_unistd_h" = x"yes"; then
19898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
19899 $as_echo_n "checking for monotonic clock... " >&6; }
19900 if test x$gcc_no_link = xyes; then
19901 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19904 /* end confdefs.h. */
19905 #include <unistd.h>
19906 #include <time.h>
19909 main ()
19911 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
19912 timespec tp;
19913 #endif
19914 clock_gettime(CLOCK_MONOTONIC, &tp);
19917 return 0;
19919 _ACEOF
19920 if ac_fn_cxx_try_link "$LINENO"; then :
19921 ac_has_clock_monotonic=yes
19922 else
19923 ac_has_clock_monotonic=no
19925 rm -f core conftest.err conftest.$ac_objext \
19926 conftest$ac_exeext conftest.$ac_ext
19928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
19929 $as_echo "$ac_has_clock_monotonic" >&6; }
19931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
19932 $as_echo_n "checking for realtime clock... " >&6; }
19933 if test x$gcc_no_link = xyes; then
19934 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19937 /* end confdefs.h. */
19938 #include <unistd.h>
19939 #include <time.h>
19942 main ()
19944 #if _POSIX_TIMERS > 0
19945 timespec tp;
19946 #endif
19947 clock_gettime(CLOCK_REALTIME, &tp);
19950 return 0;
19952 _ACEOF
19953 if ac_fn_cxx_try_link "$LINENO"; then :
19954 ac_has_clock_realtime=yes
19955 else
19956 ac_has_clock_realtime=no
19958 rm -f core conftest.err conftest.$ac_objext \
19959 conftest$ac_exeext conftest.$ac_ext
19961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
19962 $as_echo "$ac_has_clock_realtime" >&6; }
19964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
19965 $as_echo_n "checking for nanosleep... " >&6; }
19966 if test x$gcc_no_link = xyes; then
19967 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19970 /* end confdefs.h. */
19971 #include <unistd.h>
19972 #include <time.h>
19975 main ()
19977 #if _POSIX_TIMERS > 0
19978 timespec tp;
19979 #endif
19980 nanosleep(&tp, 0);
19983 return 0;
19985 _ACEOF
19986 if ac_fn_cxx_try_link "$LINENO"; then :
19987 ac_has_nanosleep=yes
19988 else
19989 ac_has_nanosleep=no
19991 rm -f core conftest.err conftest.$ac_objext \
19992 conftest$ac_exeext conftest.$ac_ext
19994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
19995 $as_echo "$ac_has_nanosleep" >&6; }
19999 if test x"$ac_has_clock_monotonic" != x"yes"; then
20000 case ${target_os} in
20001 linux*)
20002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime syscall" >&5
20003 $as_echo_n "checking for clock_gettime syscall... " >&6; }
20004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20005 /* end confdefs.h. */
20006 #include <unistd.h>
20007 #include <time.h>
20008 #include <sys/syscall.h>
20011 main ()
20013 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
20014 timespec tp;
20015 #endif
20016 syscall(SYS_clock_gettime, CLOCK_MONOTONIC, &tp);
20017 syscall(SYS_clock_gettime, CLOCK_REALTIME, &tp);
20020 return 0;
20022 _ACEOF
20023 if ac_fn_cxx_try_compile "$LINENO"; then :
20024 ac_has_clock_monotonic_syscall=yes
20025 else
20026 ac_has_clock_monotonic_syscall=no
20028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic_syscall" >&5
20030 $as_echo "$ac_has_clock_monotonic_syscall" >&6; }
20031 if test x"$ac_has_clock_monotonic_syscall" = x"yes"; then
20033 $as_echo "#define _GLIBCXX_USE_CLOCK_GETTIME_SYSCALL 1" >>confdefs.h
20035 ac_has_clock_monotonic=yes
20036 ac_has_clock_realtime=yes
20037 fi;;
20038 esac
20041 if test x"$ac_has_clock_monotonic" = x"yes"; then
20043 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
20047 if test x"$ac_has_clock_realtime" = x"yes"; then
20049 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
20053 if test x"$ac_has_sched_yield" = x"yes"; then
20055 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
20059 if test x"$ac_has_nanosleep" = x"yes"; then
20061 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
20063 else
20064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sleep" >&5
20065 $as_echo_n "checking for sleep... " >&6; }
20066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20067 /* end confdefs.h. */
20068 #include <unistd.h>
20070 main ()
20072 sleep(1)
20074 return 0;
20076 _ACEOF
20077 if ac_fn_cxx_try_compile "$LINENO"; then :
20078 ac_has_sleep=yes
20079 else
20080 ac_has_sleep=no
20082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20083 if test x"$ac_has_sleep" = x"yes"; then
20085 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
20088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_sleep" >&5
20089 $as_echo "$ac_has_sleep" >&6; }
20090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usleep" >&5
20091 $as_echo_n "checking for usleep... " >&6; }
20092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20093 /* end confdefs.h. */
20094 #include <unistd.h>
20096 main ()
20098 sleep(1);
20099 usleep(100);
20101 return 0;
20103 _ACEOF
20104 if ac_fn_cxx_try_compile "$LINENO"; then :
20105 ac_has_usleep=yes
20106 else
20107 ac_has_usleep=no
20109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20110 if test x"$ac_has_usleep" = x"yes"; then
20112 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
20115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_usleep" >&5
20116 $as_echo "$ac_has_usleep" >&6; }
20119 if test x"$ac_has_nanosleep$ac_has_sleep" = x"nono"; then
20120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Sleep" >&5
20121 $as_echo_n "checking for Sleep... " >&6; }
20122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20123 /* end confdefs.h. */
20124 #include <windows.h>
20126 main ()
20128 Sleep(1)
20130 return 0;
20132 _ACEOF
20133 if ac_fn_cxx_try_compile "$LINENO"; then :
20134 ac_has_win32_sleep=yes
20135 else
20136 ac_has_win32_sleep=no
20138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20139 if test x"$ac_has_win32_sleep" = x"yes"; then
20141 $as_echo "#define HAVE_WIN32_SLEEP 1" >>confdefs.h
20144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_win32_sleep" >&5
20145 $as_echo "$ac_has_win32_sleep" >&6; }
20150 CXXFLAGS="$ac_save_CXXFLAGS"
20151 LIBS="$ac_save_LIBS"
20152 ac_ext=c
20153 ac_cpp='$CPP $CPPFLAGS'
20154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20160 # Check for tmpnam which is obsolescent in POSIX.1-2008
20162 ac_ext=cpp
20163 ac_cpp='$CXXCPP $CPPFLAGS'
20164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20168 ac_save_CXXFLAGS="$CXXFLAGS"
20169 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tmpnam" >&5
20171 $as_echo_n "checking for tmpnam... " >&6; }
20172 if test "${glibcxx_cv_TMPNAM+set}" = set; then :
20173 $as_echo_n "(cached) " >&6
20174 else
20175 if test x$gcc_no_link = xyes; then
20176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20177 /* end confdefs.h. */
20178 #include <stdio.h>
20180 main ()
20182 char *tmp = tmpnam(NULL);
20184 return 0;
20186 _ACEOF
20187 if ac_fn_cxx_try_compile "$LINENO"; then :
20188 glibcxx_cv_TMPNAM=yes
20189 else
20190 glibcxx_cv_TMPNAM=no
20192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20193 else
20194 if test x$gcc_no_link = xyes; then
20195 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20198 /* end confdefs.h. */
20199 #include <stdio.h>
20201 main ()
20203 char *tmp = tmpnam(NULL);
20205 return 0;
20207 _ACEOF
20208 if ac_fn_cxx_try_link "$LINENO"; then :
20209 glibcxx_cv_TMPNAM=yes
20210 else
20211 glibcxx_cv_TMPNAM=no
20213 rm -f core conftest.err conftest.$ac_objext \
20214 conftest$ac_exeext conftest.$ac_ext
20219 if test $glibcxx_cv_TMPNAM = yes; then
20221 $as_echo "#define _GLIBCXX_USE_TMPNAM 1" >>confdefs.h
20224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_TMPNAM" >&5
20225 $as_echo "$glibcxx_cv_TMPNAM" >&6; }
20226 CXXFLAGS="$ac_save_CXXFLAGS"
20227 ac_ext=c
20228 ac_cpp='$CPP $CPPFLAGS'
20229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20236 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
20237 if test "x$ac_cv_header_locale_h" = x""yes; then :
20239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
20240 $as_echo_n "checking for LC_MESSAGES... " >&6; }
20241 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then :
20242 $as_echo_n "(cached) " >&6
20243 else
20244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20245 /* end confdefs.h. */
20246 #include <locale.h>
20248 main ()
20250 return LC_MESSAGES
20252 return 0;
20254 _ACEOF
20255 if ac_fn_c_try_compile "$LINENO"; then :
20256 ac_cv_val_LC_MESSAGES=yes
20257 else
20258 ac_cv_val_LC_MESSAGES=no
20260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
20263 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
20264 if test $ac_cv_val_LC_MESSAGES = yes; then
20266 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
20275 # For hardware_concurrency
20276 for ac_header in sys/sysinfo.h
20277 do :
20278 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
20279 if test "x$ac_cv_header_sys_sysinfo_h" = x""yes; then :
20280 cat >>confdefs.h <<_ACEOF
20281 #define HAVE_SYS_SYSINFO_H 1
20282 _ACEOF
20286 done
20291 ac_ext=cpp
20292 ac_cpp='$CXXCPP $CPPFLAGS'
20293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20297 ac_save_CXXFLAGS="$CXXFLAGS"
20298 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
20301 $as_echo_n "checking for get_nprocs... " >&6; }
20302 if test "${glibcxx_cv_GET_NPROCS+set}" = set; then :
20303 $as_echo_n "(cached) " >&6
20304 else
20306 if test x$gcc_no_link = xyes; then
20307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20308 /* end confdefs.h. */
20309 #include <sys/sysinfo.h>
20311 main ()
20313 int n = get_nprocs();
20315 return 0;
20317 _ACEOF
20318 if ac_fn_cxx_try_compile "$LINENO"; then :
20319 glibcxx_cv_GET_NPROCS=yes
20320 else
20321 glibcxx_cv_GET_NPROCS=no
20323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20324 else
20325 if test x$gcc_no_link = xyes; then
20326 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20329 /* end confdefs.h. */
20330 #include <sys/sysinfo.h>
20332 main ()
20334 int n = get_nprocs();
20336 return 0;
20338 _ACEOF
20339 if ac_fn_cxx_try_link "$LINENO"; then :
20340 glibcxx_cv_GET_NPROCS=yes
20341 else
20342 glibcxx_cv_GET_NPROCS=no
20344 rm -f core conftest.err conftest.$ac_objext \
20345 conftest$ac_exeext conftest.$ac_ext
20350 if test $glibcxx_cv_GET_NPROCS = yes; then
20352 $as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
20355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
20356 $as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
20358 CXXFLAGS="$ac_save_CXXFLAGS"
20359 ac_ext=c
20360 ac_cpp='$CPP $CPPFLAGS'
20361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20366 for ac_header in unistd.h
20367 do :
20368 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
20369 if test "x$ac_cv_header_unistd_h" = x""yes; then :
20370 cat >>confdefs.h <<_ACEOF
20371 #define HAVE_UNISTD_H 1
20372 _ACEOF
20376 done
20381 ac_ext=cpp
20382 ac_cpp='$CXXCPP $CPPFLAGS'
20383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20387 ac_save_CXXFLAGS="$CXXFLAGS"
20388 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
20391 $as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
20392 if test "${glibcxx_cv_SC_NPROCESSORS_ONLN+set}" = set; then :
20393 $as_echo_n "(cached) " >&6
20394 else
20396 if test x$gcc_no_link = xyes; then
20397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20398 /* end confdefs.h. */
20399 #include <unistd.h>
20401 main ()
20403 int n = sysconf(_SC_NPROCESSORS_ONLN);
20405 return 0;
20407 _ACEOF
20408 if ac_fn_cxx_try_compile "$LINENO"; then :
20409 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
20410 else
20411 glibcxx_cv_SC_NPROCESSORS_ONLN=no
20413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20414 else
20415 if test x$gcc_no_link = xyes; then
20416 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20419 /* end confdefs.h. */
20420 #include <unistd.h>
20422 main ()
20424 int n = sysconf(_SC_NPROCESSORS_ONLN);
20426 return 0;
20428 _ACEOF
20429 if ac_fn_cxx_try_link "$LINENO"; then :
20430 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
20431 else
20432 glibcxx_cv_SC_NPROCESSORS_ONLN=no
20434 rm -f core conftest.err conftest.$ac_objext \
20435 conftest$ac_exeext conftest.$ac_ext
20440 if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
20442 $as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
20445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
20446 $as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
20448 CXXFLAGS="$ac_save_CXXFLAGS"
20449 ac_ext=c
20450 ac_cpp='$CPP $CPPFLAGS'
20451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20459 ac_ext=cpp
20460 ac_cpp='$CXXCPP $CPPFLAGS'
20461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20465 ac_save_CXXFLAGS="$CXXFLAGS"
20466 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROC_ONLN" >&5
20469 $as_echo_n "checking for _SC_NPROC_ONLN... " >&6; }
20470 if test "${glibcxx_cv_SC_NPROC_ONLN+set}" = set; then :
20471 $as_echo_n "(cached) " >&6
20472 else
20474 if test x$gcc_no_link = xyes; then
20475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20476 /* end confdefs.h. */
20477 #include <unistd.h>
20479 main ()
20481 int n = sysconf(_SC_NPROC_ONLN);
20483 return 0;
20485 _ACEOF
20486 if ac_fn_cxx_try_compile "$LINENO"; then :
20487 glibcxx_cv_SC_NPROC_ONLN=yes
20488 else
20489 glibcxx_cv_SC_NPROC_ONLN=no
20491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20492 else
20493 if test x$gcc_no_link = xyes; then
20494 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20497 /* end confdefs.h. */
20498 #include <unistd.h>
20500 main ()
20502 int n = sysconf(_SC_NPROC_ONLN);
20504 return 0;
20506 _ACEOF
20507 if ac_fn_cxx_try_link "$LINENO"; then :
20508 glibcxx_cv_SC_NPROC_ONLN=yes
20509 else
20510 glibcxx_cv_SC_NPROC_ONLN=no
20512 rm -f core conftest.err conftest.$ac_objext \
20513 conftest$ac_exeext conftest.$ac_ext
20518 if test $glibcxx_cv_SC_NPROC_ONLN = yes; then
20520 $as_echo "#define _GLIBCXX_USE_SC_NPROC_ONLN 1" >>confdefs.h
20523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROC_ONLN" >&5
20524 $as_echo "$glibcxx_cv_SC_NPROC_ONLN" >&6; }
20526 CXXFLAGS="$ac_save_CXXFLAGS"
20527 ac_ext=c
20528 ac_cpp='$CPP $CPPFLAGS'
20529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20537 ac_ext=cpp
20538 ac_cpp='$CXXCPP $CPPFLAGS'
20539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20543 ac_save_CXXFLAGS="$CXXFLAGS"
20544 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthreads_num_processors_np" >&5
20547 $as_echo_n "checking for pthreads_num_processors_np... " >&6; }
20548 if test "${glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP+set}" = set; then :
20549 $as_echo_n "(cached) " >&6
20550 else
20552 if test x$gcc_no_link = xyes; then
20553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20554 /* end confdefs.h. */
20555 #include <pthread.h>
20557 main ()
20559 int n = pthread_num_processors_np();
20561 return 0;
20563 _ACEOF
20564 if ac_fn_cxx_try_compile "$LINENO"; then :
20565 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
20566 else
20567 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
20569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20570 else
20571 if test x$gcc_no_link = xyes; then
20572 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20575 /* end confdefs.h. */
20576 #include <pthread.h>
20578 main ()
20580 int n = pthread_num_processors_np();
20582 return 0;
20584 _ACEOF
20585 if ac_fn_cxx_try_link "$LINENO"; then :
20586 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
20587 else
20588 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
20590 rm -f core conftest.err conftest.$ac_objext \
20591 conftest$ac_exeext conftest.$ac_ext
20596 if test $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP = yes; then
20598 $as_echo "#define _GLIBCXX_USE_PTHREADS_NUM_PROCESSORS_NP 1" >>confdefs.h
20601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&5
20602 $as_echo "$glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&6; }
20604 CXXFLAGS="$ac_save_CXXFLAGS"
20605 ac_ext=c
20606 ac_cpp='$CPP $CPPFLAGS'
20607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20615 ac_ext=cpp
20616 ac_cpp='$CXXCPP $CPPFLAGS'
20617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20621 ac_save_CXXFLAGS="$CXXFLAGS"
20622 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hw.ncpu sysctl" >&5
20625 $as_echo_n "checking for hw.ncpu sysctl... " >&6; }
20626 if test "${glibcxx_cv_SYSCTL_HW_NCPU+set}" = set; then :
20627 $as_echo_n "(cached) " >&6
20628 else
20630 if test x$gcc_no_link = xyes; then
20631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20632 /* end confdefs.h. */
20634 #include <stddef.h>
20635 #include <sys/sysctl.h>
20638 main ()
20641 int count;
20642 size_t size = sizeof(count);
20643 int mib[] = { CTL_HW, HW_NCPU };
20644 sysctl(mib, 2, &count, &size, NULL, 0);
20647 return 0;
20649 _ACEOF
20650 if ac_fn_cxx_try_compile "$LINENO"; then :
20651 glibcxx_cv_SYSCTL_HW_NCPU=yes
20652 else
20653 glibcxx_cv_SYSCTL_HW_NCPU=no
20655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20656 else
20657 if test x$gcc_no_link = xyes; then
20658 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20661 /* end confdefs.h. */
20663 #include <stddef.h>
20664 #include <sys/sysctl.h>
20667 main ()
20670 int count;
20671 size_t size = sizeof(count);
20672 int mib[] = { CTL_HW, HW_NCPU };
20673 sysctl(mib, 2, &count, &size, NULL, 0);
20676 return 0;
20678 _ACEOF
20679 if ac_fn_cxx_try_link "$LINENO"; then :
20680 glibcxx_cv_SYSCTL_HW_NCPU=yes
20681 else
20682 glibcxx_cv_SYSCTL_HW_NCPU=no
20684 rm -f core conftest.err conftest.$ac_objext \
20685 conftest$ac_exeext conftest.$ac_ext
20690 if test $glibcxx_cv_SYSCTL_HW_NCPU = yes; then
20692 $as_echo "#define _GLIBCXX_USE_SYSCTL_HW_NCPU 1" >>confdefs.h
20695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SYSCTL_HW_NCPU" >&5
20696 $as_echo "$glibcxx_cv_SYSCTL_HW_NCPU" >&6; }
20698 CXXFLAGS="$ac_save_CXXFLAGS"
20699 ac_ext=c
20700 ac_cpp='$CPP $CPPFLAGS'
20701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suitable sys/sdt.h" >&5
20708 $as_echo_n "checking for suitable sys/sdt.h... " >&6; }
20709 # Note that this test has to be run with the C language.
20710 # Otherwise, sdt.h will try to include some headers from
20711 # libstdc++ itself.
20713 ac_ext=c
20714 ac_cpp='$CPP $CPPFLAGS'
20715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20719 if test "${glibcxx_cv_sys_sdt_h+set}" = set; then :
20720 $as_echo_n "(cached) " >&6
20721 else
20723 # Because we have to run the test in C, we use grep rather
20724 # than the compiler to check for the bug. The bug is that
20725 # were strings without trailing whitespace, causing g++
20726 # to look for operator"". The pattern searches for the fixed
20727 # output.
20728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20729 /* end confdefs.h. */
20731 #include <sys/sdt.h>
20732 int f() { STAP_PROBE(hi, bob); }
20734 _ACEOF
20735 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20736 $EGREP " \",\" " >/dev/null 2>&1; then :
20737 glibcxx_cv_sys_sdt_h=yes
20738 else
20739 glibcxx_cv_sys_sdt_h=no
20741 rm -f conftest*
20746 ac_ext=c
20747 ac_cpp='$CPP $CPPFLAGS'
20748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20752 if test $glibcxx_cv_sys_sdt_h = yes; then
20754 $as_echo "#define HAVE_SYS_SDT_H 1" >>confdefs.h
20757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sys_sdt_h" >&5
20758 $as_echo "$glibcxx_cv_sys_sdt_h" >&6; }
20761 # Check for available headers.
20762 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
20763 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
20764 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
20765 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
20766 wchar.h wctype.h
20767 do :
20768 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20769 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20770 eval as_val=\$$as_ac_Header
20771 if test "x$as_val" = x""yes; then :
20772 cat >>confdefs.h <<_ACEOF
20773 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20774 _ACEOF
20778 done
20781 # Only do link tests if native. Else, hardcode.
20782 if $GLIBCXX_IS_NATIVE; then
20784 # We can do more elaborate tests that assume a working linker.
20785 CANADIAN=no
20789 # Check whether --with-gnu-ld was given.
20790 if test "${with_gnu_ld+set}" = set; then :
20791 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
20792 else
20793 with_gnu_ld=no
20796 ac_prog=ld
20797 if test "$GCC" = yes; then
20798 # Check if gcc -print-prog-name=ld gives a path.
20799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
20800 $as_echo_n "checking for ld used by $CC... " >&6; }
20801 case $host in
20802 *-*-mingw*)
20803 # gcc leaves a trailing carriage return which upsets mingw
20804 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
20806 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
20807 esac
20808 case $ac_prog in
20809 # Accept absolute paths.
20810 [\\/]* | ?:[\\/]*)
20811 re_direlt='/[^/][^/]*/\.\./'
20812 # Canonicalize the pathname of ld
20813 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
20814 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
20815 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
20816 done
20817 test -z "$LD" && LD="$ac_prog"
20820 # If it fails, then pretend we aren't using GCC.
20821 ac_prog=ld
20824 # If it is relative, then search for the first ld in PATH.
20825 with_gnu_ld=unknown
20827 esac
20828 elif test "$with_gnu_ld" = yes; then
20829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
20830 $as_echo_n "checking for GNU ld... " >&6; }
20831 else
20832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
20833 $as_echo_n "checking for non-GNU ld... " >&6; }
20835 if test "${lt_cv_path_LD+set}" = set; then :
20836 $as_echo_n "(cached) " >&6
20837 else
20838 if test -z "$LD"; then
20839 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
20840 for ac_dir in $PATH; do
20841 IFS="$lt_save_ifs"
20842 test -z "$ac_dir" && ac_dir=.
20843 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
20844 lt_cv_path_LD="$ac_dir/$ac_prog"
20845 # Check to see if the program is GNU ld. I'd rather use --version,
20846 # but apparently some variants of GNU ld only accept -v.
20847 # Break only if it was the GNU/non-GNU ld that we prefer.
20848 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
20849 *GNU* | *'with BFD'*)
20850 test "$with_gnu_ld" != no && break
20853 test "$with_gnu_ld" != yes && break
20855 esac
20857 done
20858 IFS="$lt_save_ifs"
20859 else
20860 lt_cv_path_LD="$LD" # Let the user override the test with a path.
20864 LD="$lt_cv_path_LD"
20865 if test -n "$LD"; then
20866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
20867 $as_echo "$LD" >&6; }
20868 else
20869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20870 $as_echo "no" >&6; }
20872 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
20873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
20874 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
20875 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
20876 $as_echo_n "(cached) " >&6
20877 else
20878 # I'd rather use --version here, but apparently some GNU lds only accept -v.
20879 case `$LD -v 2>&1 </dev/null` in
20880 *GNU* | *'with BFD'*)
20881 lt_cv_prog_gnu_ld=yes
20884 lt_cv_prog_gnu_ld=no
20886 esac
20888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
20889 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
20890 with_gnu_ld=$lt_cv_prog_gnu_ld
20898 # If we're not using GNU ld, then there's no point in even trying these
20899 # tests. Check for that first. We should have already tested for gld
20900 # by now (in libtool), but require it now just to be safe...
20901 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
20902 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
20906 # The name set by libtool depends on the version of libtool. Shame on us
20907 # for depending on an impl detail, but c'est la vie. Older versions used
20908 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
20909 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
20910 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
20911 # set (hence we're using an older libtool), then set it.
20912 if test x${with_gnu_ld+set} != xset; then
20913 if test x${ac_cv_prog_gnu_ld+set} != xset; then
20914 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
20915 with_gnu_ld=no
20916 else
20917 with_gnu_ld=$ac_cv_prog_gnu_ld
20921 # Start by getting the version number. I think the libtool test already
20922 # does some of this, but throws away the result.
20923 glibcxx_ld_is_gold=no
20924 if test x"$with_gnu_ld" = x"yes"; then
20925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
20926 $as_echo_n "checking for ld version... " >&6; }
20928 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
20929 glibcxx_ld_is_gold=yes
20931 ldver=`$LD --version 2>/dev/null |
20932 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'`
20934 glibcxx_gnu_ld_version=`echo $ldver | \
20935 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
20936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
20937 $as_echo "$glibcxx_gnu_ld_version" >&6; }
20940 # Set --gc-sections.
20941 glibcxx_have_gc_sections=no
20942 if test "$glibcxx_ld_is_gold" = "yes"; then
20943 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
20944 glibcxx_have_gc_sections=yes
20946 else
20947 glibcxx_gcsections_min_ld=21602
20948 if test x"$with_gnu_ld" = x"yes" &&
20949 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
20950 glibcxx_have_gc_sections=yes
20953 if test "$glibcxx_have_gc_sections" = "yes"; then
20954 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
20955 # NB: This flag only works reliably after 2.16.1. Configure tests
20956 # for this are difficult, so hard wire a value that should work.
20958 ac_test_CFLAGS="${CFLAGS+set}"
20959 ac_save_CFLAGS="$CFLAGS"
20960 CFLAGS='-Wl,--gc-sections'
20962 # Check for -Wl,--gc-sections
20963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
20964 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
20965 if test x$gcc_no_link = xyes; then
20966 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20969 /* end confdefs.h. */
20970 int one(void) { return 1; }
20971 int two(void) { return 2; }
20974 main ()
20976 two();
20978 return 0;
20980 _ACEOF
20981 if ac_fn_c_try_link "$LINENO"; then :
20982 ac_gcsections=yes
20983 else
20984 ac_gcsections=no
20986 rm -f core conftest.err conftest.$ac_objext \
20987 conftest$ac_exeext conftest.$ac_ext
20988 if test "$ac_gcsections" = "yes"; then
20989 rm -f conftest.c
20990 touch conftest.c
20991 if $CC -c conftest.c; then
20992 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
20993 grep "Warning: gc-sections option ignored" > /dev/null; then
20994 ac_gcsections=no
20997 rm -f conftest.c conftest.o conftest
20999 if test "$ac_gcsections" = "yes"; then
21000 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
21002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
21003 $as_echo "$ac_gcsections" >&6; }
21005 if test "$ac_test_CFLAGS" = set; then
21006 CFLAGS="$ac_save_CFLAGS"
21007 else
21008 # this is the suspicious part
21009 CFLAGS=''
21013 # Set -z,relro.
21014 # Note this is only for shared objects.
21015 ac_ld_relro=no
21016 if test x"$with_gnu_ld" = x"yes"; then
21017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
21018 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
21019 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
21020 if test -n "$cxx_z_relo"; then
21021 OPT_LDFLAGS="-Wl,-z,relro"
21022 ac_ld_relro=yes
21024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
21025 $as_echo "$ac_ld_relro" >&6; }
21028 # Set linker optimization flags.
21029 if test x"$with_gnu_ld" = x"yes"; then
21030 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
21037 ac_test_CXXFLAGS="${CXXFLAGS+set}"
21038 ac_save_CXXFLAGS="$CXXFLAGS"
21039 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
21041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
21042 $as_echo_n "checking for sin in -lm... " >&6; }
21043 if test "${ac_cv_lib_m_sin+set}" = set; then :
21044 $as_echo_n "(cached) " >&6
21045 else
21046 ac_check_lib_save_LIBS=$LIBS
21047 LIBS="-lm $LIBS"
21048 if test x$gcc_no_link = xyes; then
21049 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21052 /* end confdefs.h. */
21054 /* Override any GCC internal prototype to avoid an error.
21055 Use char because int might match the return type of a GCC
21056 builtin and then its argument prototype would still apply. */
21057 #ifdef __cplusplus
21058 extern "C"
21059 #endif
21060 char sin ();
21062 main ()
21064 return sin ();
21066 return 0;
21068 _ACEOF
21069 if ac_fn_c_try_link "$LINENO"; then :
21070 ac_cv_lib_m_sin=yes
21071 else
21072 ac_cv_lib_m_sin=no
21074 rm -f core conftest.err conftest.$ac_objext \
21075 conftest$ac_exeext conftest.$ac_ext
21076 LIBS=$ac_check_lib_save_LIBS
21078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
21079 $as_echo "$ac_cv_lib_m_sin" >&6; }
21080 if test "x$ac_cv_lib_m_sin" = x""yes; then :
21081 libm="-lm"
21084 ac_save_LIBS="$LIBS"
21085 LIBS="$LIBS $libm"
21089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
21090 $as_echo_n "checking for isinf declaration... " >&6; }
21091 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
21092 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
21093 $as_echo_n "(cached) " >&6
21094 else
21097 ac_ext=cpp
21098 ac_cpp='$CXXCPP $CPPFLAGS'
21099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21104 /* end confdefs.h. */
21105 #include <math.h>
21106 #ifdef HAVE_IEEEFP_H
21107 #include <ieeefp.h>
21108 #endif
21111 main ()
21113 isinf(0);
21115 return 0;
21117 _ACEOF
21118 if ac_fn_cxx_try_compile "$LINENO"; then :
21119 glibcxx_cv_func_isinf_use=yes
21120 else
21121 glibcxx_cv_func_isinf_use=no
21123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21124 ac_ext=c
21125 ac_cpp='$CPP $CPPFLAGS'
21126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
21135 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
21137 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
21138 for ac_func in isinf
21139 do :
21140 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
21141 if test "x$ac_cv_func_isinf" = x""yes; then :
21142 cat >>confdefs.h <<_ACEOF
21143 #define HAVE_ISINF 1
21144 _ACEOF
21147 done
21149 else
21151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
21152 $as_echo_n "checking for _isinf declaration... " >&6; }
21153 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
21154 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
21155 $as_echo_n "(cached) " >&6
21156 else
21159 ac_ext=cpp
21160 ac_cpp='$CXXCPP $CPPFLAGS'
21161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21166 /* end confdefs.h. */
21167 #include <math.h>
21168 #ifdef HAVE_IEEEFP_H
21169 #include <ieeefp.h>
21170 #endif
21173 main ()
21175 _isinf(0);
21177 return 0;
21179 _ACEOF
21180 if ac_fn_cxx_try_compile "$LINENO"; then :
21181 glibcxx_cv_func__isinf_use=yes
21182 else
21183 glibcxx_cv_func__isinf_use=no
21185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21186 ac_ext=c
21187 ac_cpp='$CPP $CPPFLAGS'
21188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
21197 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
21199 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
21200 for ac_func in _isinf
21201 do :
21202 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
21203 if test "x$ac_cv_func__isinf" = x""yes; then :
21204 cat >>confdefs.h <<_ACEOF
21205 #define HAVE__ISINF 1
21206 _ACEOF
21209 done
21218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
21219 $as_echo_n "checking for isnan declaration... " >&6; }
21220 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
21221 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
21222 $as_echo_n "(cached) " >&6
21223 else
21226 ac_ext=cpp
21227 ac_cpp='$CXXCPP $CPPFLAGS'
21228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21233 /* end confdefs.h. */
21234 #include <math.h>
21235 #ifdef HAVE_IEEEFP_H
21236 #include <ieeefp.h>
21237 #endif
21240 main ()
21242 isnan(0);
21244 return 0;
21246 _ACEOF
21247 if ac_fn_cxx_try_compile "$LINENO"; then :
21248 glibcxx_cv_func_isnan_use=yes
21249 else
21250 glibcxx_cv_func_isnan_use=no
21252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21253 ac_ext=c
21254 ac_cpp='$CPP $CPPFLAGS'
21255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
21264 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
21266 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
21267 for ac_func in isnan
21268 do :
21269 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
21270 if test "x$ac_cv_func_isnan" = x""yes; then :
21271 cat >>confdefs.h <<_ACEOF
21272 #define HAVE_ISNAN 1
21273 _ACEOF
21276 done
21278 else
21280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
21281 $as_echo_n "checking for _isnan declaration... " >&6; }
21282 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
21283 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
21284 $as_echo_n "(cached) " >&6
21285 else
21288 ac_ext=cpp
21289 ac_cpp='$CXXCPP $CPPFLAGS'
21290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21295 /* end confdefs.h. */
21296 #include <math.h>
21297 #ifdef HAVE_IEEEFP_H
21298 #include <ieeefp.h>
21299 #endif
21302 main ()
21304 _isnan(0);
21306 return 0;
21308 _ACEOF
21309 if ac_fn_cxx_try_compile "$LINENO"; then :
21310 glibcxx_cv_func__isnan_use=yes
21311 else
21312 glibcxx_cv_func__isnan_use=no
21314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21315 ac_ext=c
21316 ac_cpp='$CPP $CPPFLAGS'
21317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
21326 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
21328 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
21329 for ac_func in _isnan
21330 do :
21331 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
21332 if test "x$ac_cv_func__isnan" = x""yes; then :
21333 cat >>confdefs.h <<_ACEOF
21334 #define HAVE__ISNAN 1
21335 _ACEOF
21338 done
21347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
21348 $as_echo_n "checking for finite declaration... " >&6; }
21349 if test x${glibcxx_cv_func_finite_use+set} != xset; then
21350 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
21351 $as_echo_n "(cached) " >&6
21352 else
21355 ac_ext=cpp
21356 ac_cpp='$CXXCPP $CPPFLAGS'
21357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21362 /* end confdefs.h. */
21363 #include <math.h>
21364 #ifdef HAVE_IEEEFP_H
21365 #include <ieeefp.h>
21366 #endif
21369 main ()
21371 finite(0);
21373 return 0;
21375 _ACEOF
21376 if ac_fn_cxx_try_compile "$LINENO"; then :
21377 glibcxx_cv_func_finite_use=yes
21378 else
21379 glibcxx_cv_func_finite_use=no
21381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21382 ac_ext=c
21383 ac_cpp='$CPP $CPPFLAGS'
21384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
21393 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
21395 if test x$glibcxx_cv_func_finite_use = x"yes"; then
21396 for ac_func in finite
21397 do :
21398 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
21399 if test "x$ac_cv_func_finite" = x""yes; then :
21400 cat >>confdefs.h <<_ACEOF
21401 #define HAVE_FINITE 1
21402 _ACEOF
21405 done
21407 else
21409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
21410 $as_echo_n "checking for _finite declaration... " >&6; }
21411 if test x${glibcxx_cv_func__finite_use+set} != xset; then
21412 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
21413 $as_echo_n "(cached) " >&6
21414 else
21417 ac_ext=cpp
21418 ac_cpp='$CXXCPP $CPPFLAGS'
21419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21424 /* end confdefs.h. */
21425 #include <math.h>
21426 #ifdef HAVE_IEEEFP_H
21427 #include <ieeefp.h>
21428 #endif
21431 main ()
21433 _finite(0);
21435 return 0;
21437 _ACEOF
21438 if ac_fn_cxx_try_compile "$LINENO"; then :
21439 glibcxx_cv_func__finite_use=yes
21440 else
21441 glibcxx_cv_func__finite_use=no
21443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21444 ac_ext=c
21445 ac_cpp='$CPP $CPPFLAGS'
21446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
21455 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
21457 if test x$glibcxx_cv_func__finite_use = x"yes"; then
21458 for ac_func in _finite
21459 do :
21460 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
21461 if test "x$ac_cv_func__finite" = x""yes; then :
21462 cat >>confdefs.h <<_ACEOF
21463 #define HAVE__FINITE 1
21464 _ACEOF
21467 done
21476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
21477 $as_echo_n "checking for sincos declaration... " >&6; }
21478 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
21479 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
21480 $as_echo_n "(cached) " >&6
21481 else
21484 ac_ext=cpp
21485 ac_cpp='$CXXCPP $CPPFLAGS'
21486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21491 /* end confdefs.h. */
21492 #include <math.h>
21494 main ()
21496 sincos(0, 0, 0);
21498 return 0;
21500 _ACEOF
21501 if ac_fn_cxx_try_compile "$LINENO"; then :
21502 glibcxx_cv_func_sincos_use=yes
21503 else
21504 glibcxx_cv_func_sincos_use=no
21506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21507 ac_ext=c
21508 ac_cpp='$CPP $CPPFLAGS'
21509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
21518 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
21520 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
21521 for ac_func in sincos
21522 do :
21523 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
21524 if test "x$ac_cv_func_sincos" = x""yes; then :
21525 cat >>confdefs.h <<_ACEOF
21526 #define HAVE_SINCOS 1
21527 _ACEOF
21530 done
21532 else
21534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
21535 $as_echo_n "checking for _sincos declaration... " >&6; }
21536 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
21537 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
21538 $as_echo_n "(cached) " >&6
21539 else
21542 ac_ext=cpp
21543 ac_cpp='$CXXCPP $CPPFLAGS'
21544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21549 /* end confdefs.h. */
21550 #include <math.h>
21552 main ()
21554 _sincos(0, 0, 0);
21556 return 0;
21558 _ACEOF
21559 if ac_fn_cxx_try_compile "$LINENO"; then :
21560 glibcxx_cv_func__sincos_use=yes
21561 else
21562 glibcxx_cv_func__sincos_use=no
21564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21565 ac_ext=c
21566 ac_cpp='$CPP $CPPFLAGS'
21567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
21576 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
21578 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
21579 for ac_func in _sincos
21580 do :
21581 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
21582 if test "x$ac_cv_func__sincos" = x""yes; then :
21583 cat >>confdefs.h <<_ACEOF
21584 #define HAVE__SINCOS 1
21585 _ACEOF
21588 done
21597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
21598 $as_echo_n "checking for fpclass declaration... " >&6; }
21599 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
21600 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
21601 $as_echo_n "(cached) " >&6
21602 else
21605 ac_ext=cpp
21606 ac_cpp='$CXXCPP $CPPFLAGS'
21607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21612 /* end confdefs.h. */
21613 #include <math.h>
21614 #ifdef HAVE_IEEEFP_H
21615 #include <ieeefp.h>
21616 #endif
21619 main ()
21621 fpclass(0);
21623 return 0;
21625 _ACEOF
21626 if ac_fn_cxx_try_compile "$LINENO"; then :
21627 glibcxx_cv_func_fpclass_use=yes
21628 else
21629 glibcxx_cv_func_fpclass_use=no
21631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21632 ac_ext=c
21633 ac_cpp='$CPP $CPPFLAGS'
21634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
21643 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
21645 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
21646 for ac_func in fpclass
21647 do :
21648 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
21649 if test "x$ac_cv_func_fpclass" = x""yes; then :
21650 cat >>confdefs.h <<_ACEOF
21651 #define HAVE_FPCLASS 1
21652 _ACEOF
21655 done
21657 else
21659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
21660 $as_echo_n "checking for _fpclass declaration... " >&6; }
21661 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
21662 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
21663 $as_echo_n "(cached) " >&6
21664 else
21667 ac_ext=cpp
21668 ac_cpp='$CXXCPP $CPPFLAGS'
21669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21674 /* end confdefs.h. */
21675 #include <math.h>
21676 #ifdef HAVE_IEEEFP_H
21677 #include <ieeefp.h>
21678 #endif
21681 main ()
21683 _fpclass(0);
21685 return 0;
21687 _ACEOF
21688 if ac_fn_cxx_try_compile "$LINENO"; then :
21689 glibcxx_cv_func__fpclass_use=yes
21690 else
21691 glibcxx_cv_func__fpclass_use=no
21693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21694 ac_ext=c
21695 ac_cpp='$CPP $CPPFLAGS'
21696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
21705 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
21707 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
21708 for ac_func in _fpclass
21709 do :
21710 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
21711 if test "x$ac_cv_func__fpclass" = x""yes; then :
21712 cat >>confdefs.h <<_ACEOF
21713 #define HAVE__FPCLASS 1
21714 _ACEOF
21717 done
21726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
21727 $as_echo_n "checking for qfpclass declaration... " >&6; }
21728 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
21729 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
21730 $as_echo_n "(cached) " >&6
21731 else
21734 ac_ext=cpp
21735 ac_cpp='$CXXCPP $CPPFLAGS'
21736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21741 /* end confdefs.h. */
21742 #include <math.h>
21743 #ifdef HAVE_IEEEFP_H
21744 #include <ieeefp.h>
21745 #endif
21748 main ()
21750 qfpclass(0);
21752 return 0;
21754 _ACEOF
21755 if ac_fn_cxx_try_compile "$LINENO"; then :
21756 glibcxx_cv_func_qfpclass_use=yes
21757 else
21758 glibcxx_cv_func_qfpclass_use=no
21760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21761 ac_ext=c
21762 ac_cpp='$CPP $CPPFLAGS'
21763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
21772 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
21774 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
21775 for ac_func in qfpclass
21776 do :
21777 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
21778 if test "x$ac_cv_func_qfpclass" = x""yes; then :
21779 cat >>confdefs.h <<_ACEOF
21780 #define HAVE_QFPCLASS 1
21781 _ACEOF
21784 done
21786 else
21788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
21789 $as_echo_n "checking for _qfpclass declaration... " >&6; }
21790 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
21791 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
21792 $as_echo_n "(cached) " >&6
21793 else
21796 ac_ext=cpp
21797 ac_cpp='$CXXCPP $CPPFLAGS'
21798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21803 /* end confdefs.h. */
21804 #include <math.h>
21805 #ifdef HAVE_IEEEFP_H
21806 #include <ieeefp.h>
21807 #endif
21810 main ()
21812 _qfpclass(0);
21814 return 0;
21816 _ACEOF
21817 if ac_fn_cxx_try_compile "$LINENO"; then :
21818 glibcxx_cv_func__qfpclass_use=yes
21819 else
21820 glibcxx_cv_func__qfpclass_use=no
21822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21823 ac_ext=c
21824 ac_cpp='$CPP $CPPFLAGS'
21825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
21834 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
21836 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
21837 for ac_func in _qfpclass
21838 do :
21839 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
21840 if test "x$ac_cv_func__qfpclass" = x""yes; then :
21841 cat >>confdefs.h <<_ACEOF
21842 #define HAVE__QFPCLASS 1
21843 _ACEOF
21846 done
21855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
21856 $as_echo_n "checking for hypot declaration... " >&6; }
21857 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
21858 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
21859 $as_echo_n "(cached) " >&6
21860 else
21863 ac_ext=cpp
21864 ac_cpp='$CXXCPP $CPPFLAGS'
21865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21870 /* end confdefs.h. */
21871 #include <math.h>
21873 main ()
21875 hypot(0, 0);
21877 return 0;
21879 _ACEOF
21880 if ac_fn_cxx_try_compile "$LINENO"; then :
21881 glibcxx_cv_func_hypot_use=yes
21882 else
21883 glibcxx_cv_func_hypot_use=no
21885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21886 ac_ext=c
21887 ac_cpp='$CPP $CPPFLAGS'
21888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
21897 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
21899 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
21900 for ac_func in hypot
21901 do :
21902 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
21903 if test "x$ac_cv_func_hypot" = x""yes; then :
21904 cat >>confdefs.h <<_ACEOF
21905 #define HAVE_HYPOT 1
21906 _ACEOF
21909 done
21911 else
21913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
21914 $as_echo_n "checking for _hypot declaration... " >&6; }
21915 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
21916 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
21917 $as_echo_n "(cached) " >&6
21918 else
21921 ac_ext=cpp
21922 ac_cpp='$CXXCPP $CPPFLAGS'
21923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21928 /* end confdefs.h. */
21929 #include <math.h>
21931 main ()
21933 _hypot(0, 0);
21935 return 0;
21937 _ACEOF
21938 if ac_fn_cxx_try_compile "$LINENO"; then :
21939 glibcxx_cv_func__hypot_use=yes
21940 else
21941 glibcxx_cv_func__hypot_use=no
21943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21944 ac_ext=c
21945 ac_cpp='$CPP $CPPFLAGS'
21946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
21955 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
21957 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
21958 for ac_func in _hypot
21959 do :
21960 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
21961 if test "x$ac_cv_func__hypot" = x""yes; then :
21962 cat >>confdefs.h <<_ACEOF
21963 #define HAVE__HYPOT 1
21964 _ACEOF
21967 done
21976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
21977 $as_echo_n "checking for float trig functions... " >&6; }
21978 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
21979 $as_echo_n "(cached) " >&6
21980 else
21983 ac_ext=cpp
21984 ac_cpp='$CXXCPP $CPPFLAGS'
21985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21990 /* end confdefs.h. */
21991 #include <math.h>
21993 main ()
21995 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
21997 return 0;
21999 _ACEOF
22000 if ac_fn_cxx_try_compile "$LINENO"; then :
22001 glibcxx_cv_func_float_trig_use=yes
22002 else
22003 glibcxx_cv_func_float_trig_use=no
22005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22006 ac_ext=c
22007 ac_cpp='$CPP $CPPFLAGS'
22008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
22015 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
22016 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
22017 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
22018 do :
22019 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22020 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22021 eval as_val=\$$as_ac_var
22022 if test "x$as_val" = x""yes; then :
22023 cat >>confdefs.h <<_ACEOF
22024 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22025 _ACEOF
22028 done
22030 else
22031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
22032 $as_echo_n "checking for _float trig functions... " >&6; }
22033 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
22034 $as_echo_n "(cached) " >&6
22035 else
22038 ac_ext=cpp
22039 ac_cpp='$CXXCPP $CPPFLAGS'
22040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22045 /* end confdefs.h. */
22046 #include <math.h>
22048 main ()
22050 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
22052 return 0;
22054 _ACEOF
22055 if ac_fn_cxx_try_compile "$LINENO"; then :
22056 glibcxx_cv_func__float_trig_use=yes
22057 else
22058 glibcxx_cv_func__float_trig_use=no
22060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22061 ac_ext=c
22062 ac_cpp='$CPP $CPPFLAGS'
22063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
22070 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
22071 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
22072 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
22073 do :
22074 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22075 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22076 eval as_val=\$$as_ac_var
22077 if test "x$as_val" = x""yes; then :
22078 cat >>confdefs.h <<_ACEOF
22079 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22080 _ACEOF
22083 done
22092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
22093 $as_echo_n "checking for float round functions... " >&6; }
22094 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
22095 $as_echo_n "(cached) " >&6
22096 else
22099 ac_ext=cpp
22100 ac_cpp='$CXXCPP $CPPFLAGS'
22101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22106 /* end confdefs.h. */
22107 #include <math.h>
22109 main ()
22111 ceilf (0); floorf (0);
22113 return 0;
22115 _ACEOF
22116 if ac_fn_cxx_try_compile "$LINENO"; then :
22117 glibcxx_cv_func_float_round_use=yes
22118 else
22119 glibcxx_cv_func_float_round_use=no
22121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22122 ac_ext=c
22123 ac_cpp='$CPP $CPPFLAGS'
22124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
22131 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
22132 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
22133 for ac_func in ceilf floorf
22134 do :
22135 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22136 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22137 eval as_val=\$$as_ac_var
22138 if test "x$as_val" = x""yes; then :
22139 cat >>confdefs.h <<_ACEOF
22140 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22141 _ACEOF
22144 done
22146 else
22147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
22148 $as_echo_n "checking for _float round functions... " >&6; }
22149 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
22150 $as_echo_n "(cached) " >&6
22151 else
22154 ac_ext=cpp
22155 ac_cpp='$CXXCPP $CPPFLAGS'
22156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22161 /* end confdefs.h. */
22162 #include <math.h>
22164 main ()
22166 _ceilf (0); _floorf (0);
22168 return 0;
22170 _ACEOF
22171 if ac_fn_cxx_try_compile "$LINENO"; then :
22172 glibcxx_cv_func__float_round_use=yes
22173 else
22174 glibcxx_cv_func__float_round_use=no
22176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22177 ac_ext=c
22178 ac_cpp='$CPP $CPPFLAGS'
22179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
22186 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
22187 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
22188 for ac_func in _ceilf _floorf
22189 do :
22190 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22191 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22192 eval as_val=\$$as_ac_var
22193 if test "x$as_val" = x""yes; then :
22194 cat >>confdefs.h <<_ACEOF
22195 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22196 _ACEOF
22199 done
22209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
22210 $as_echo_n "checking for expf declaration... " >&6; }
22211 if test x${glibcxx_cv_func_expf_use+set} != xset; then
22212 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
22213 $as_echo_n "(cached) " >&6
22214 else
22217 ac_ext=cpp
22218 ac_cpp='$CXXCPP $CPPFLAGS'
22219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22224 /* end confdefs.h. */
22225 #include <math.h>
22226 #ifdef HAVE_IEEEFP_H
22227 #include <ieeefp.h>
22228 #endif
22231 main ()
22233 expf(0);
22235 return 0;
22237 _ACEOF
22238 if ac_fn_cxx_try_compile "$LINENO"; then :
22239 glibcxx_cv_func_expf_use=yes
22240 else
22241 glibcxx_cv_func_expf_use=no
22243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22244 ac_ext=c
22245 ac_cpp='$CPP $CPPFLAGS'
22246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
22255 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
22257 if test x$glibcxx_cv_func_expf_use = x"yes"; then
22258 for ac_func in expf
22259 do :
22260 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
22261 if test "x$ac_cv_func_expf" = x""yes; then :
22262 cat >>confdefs.h <<_ACEOF
22263 #define HAVE_EXPF 1
22264 _ACEOF
22267 done
22269 else
22271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
22272 $as_echo_n "checking for _expf declaration... " >&6; }
22273 if test x${glibcxx_cv_func__expf_use+set} != xset; then
22274 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
22275 $as_echo_n "(cached) " >&6
22276 else
22279 ac_ext=cpp
22280 ac_cpp='$CXXCPP $CPPFLAGS'
22281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22286 /* end confdefs.h. */
22287 #include <math.h>
22288 #ifdef HAVE_IEEEFP_H
22289 #include <ieeefp.h>
22290 #endif
22293 main ()
22295 _expf(0);
22297 return 0;
22299 _ACEOF
22300 if ac_fn_cxx_try_compile "$LINENO"; then :
22301 glibcxx_cv_func__expf_use=yes
22302 else
22303 glibcxx_cv_func__expf_use=no
22305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22306 ac_ext=c
22307 ac_cpp='$CPP $CPPFLAGS'
22308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
22317 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
22319 if test x$glibcxx_cv_func__expf_use = x"yes"; then
22320 for ac_func in _expf
22321 do :
22322 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
22323 if test "x$ac_cv_func__expf" = x""yes; then :
22324 cat >>confdefs.h <<_ACEOF
22325 #define HAVE__EXPF 1
22326 _ACEOF
22329 done
22338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
22339 $as_echo_n "checking for isnanf declaration... " >&6; }
22340 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
22341 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
22342 $as_echo_n "(cached) " >&6
22343 else
22346 ac_ext=cpp
22347 ac_cpp='$CXXCPP $CPPFLAGS'
22348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22353 /* end confdefs.h. */
22354 #include <math.h>
22355 #ifdef HAVE_IEEEFP_H
22356 #include <ieeefp.h>
22357 #endif
22360 main ()
22362 isnanf(0);
22364 return 0;
22366 _ACEOF
22367 if ac_fn_cxx_try_compile "$LINENO"; then :
22368 glibcxx_cv_func_isnanf_use=yes
22369 else
22370 glibcxx_cv_func_isnanf_use=no
22372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22373 ac_ext=c
22374 ac_cpp='$CPP $CPPFLAGS'
22375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
22384 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
22386 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
22387 for ac_func in isnanf
22388 do :
22389 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
22390 if test "x$ac_cv_func_isnanf" = x""yes; then :
22391 cat >>confdefs.h <<_ACEOF
22392 #define HAVE_ISNANF 1
22393 _ACEOF
22396 done
22398 else
22400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
22401 $as_echo_n "checking for _isnanf declaration... " >&6; }
22402 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
22403 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
22404 $as_echo_n "(cached) " >&6
22405 else
22408 ac_ext=cpp
22409 ac_cpp='$CXXCPP $CPPFLAGS'
22410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22415 /* end confdefs.h. */
22416 #include <math.h>
22417 #ifdef HAVE_IEEEFP_H
22418 #include <ieeefp.h>
22419 #endif
22422 main ()
22424 _isnanf(0);
22426 return 0;
22428 _ACEOF
22429 if ac_fn_cxx_try_compile "$LINENO"; then :
22430 glibcxx_cv_func__isnanf_use=yes
22431 else
22432 glibcxx_cv_func__isnanf_use=no
22434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22435 ac_ext=c
22436 ac_cpp='$CPP $CPPFLAGS'
22437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
22446 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
22448 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
22449 for ac_func in _isnanf
22450 do :
22451 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
22452 if test "x$ac_cv_func__isnanf" = x""yes; then :
22453 cat >>confdefs.h <<_ACEOF
22454 #define HAVE__ISNANF 1
22455 _ACEOF
22458 done
22467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
22468 $as_echo_n "checking for isinff declaration... " >&6; }
22469 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
22470 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
22471 $as_echo_n "(cached) " >&6
22472 else
22475 ac_ext=cpp
22476 ac_cpp='$CXXCPP $CPPFLAGS'
22477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22482 /* end confdefs.h. */
22483 #include <math.h>
22484 #ifdef HAVE_IEEEFP_H
22485 #include <ieeefp.h>
22486 #endif
22489 main ()
22491 isinff(0);
22493 return 0;
22495 _ACEOF
22496 if ac_fn_cxx_try_compile "$LINENO"; then :
22497 glibcxx_cv_func_isinff_use=yes
22498 else
22499 glibcxx_cv_func_isinff_use=no
22501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22502 ac_ext=c
22503 ac_cpp='$CPP $CPPFLAGS'
22504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
22513 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
22515 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
22516 for ac_func in isinff
22517 do :
22518 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
22519 if test "x$ac_cv_func_isinff" = x""yes; then :
22520 cat >>confdefs.h <<_ACEOF
22521 #define HAVE_ISINFF 1
22522 _ACEOF
22525 done
22527 else
22529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
22530 $as_echo_n "checking for _isinff declaration... " >&6; }
22531 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
22532 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
22533 $as_echo_n "(cached) " >&6
22534 else
22537 ac_ext=cpp
22538 ac_cpp='$CXXCPP $CPPFLAGS'
22539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22544 /* end confdefs.h. */
22545 #include <math.h>
22546 #ifdef HAVE_IEEEFP_H
22547 #include <ieeefp.h>
22548 #endif
22551 main ()
22553 _isinff(0);
22555 return 0;
22557 _ACEOF
22558 if ac_fn_cxx_try_compile "$LINENO"; then :
22559 glibcxx_cv_func__isinff_use=yes
22560 else
22561 glibcxx_cv_func__isinff_use=no
22563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22564 ac_ext=c
22565 ac_cpp='$CPP $CPPFLAGS'
22566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
22575 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
22577 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
22578 for ac_func in _isinff
22579 do :
22580 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
22581 if test "x$ac_cv_func__isinff" = x""yes; then :
22582 cat >>confdefs.h <<_ACEOF
22583 #define HAVE__ISINFF 1
22584 _ACEOF
22587 done
22596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
22597 $as_echo_n "checking for atan2f declaration... " >&6; }
22598 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
22599 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
22600 $as_echo_n "(cached) " >&6
22601 else
22604 ac_ext=cpp
22605 ac_cpp='$CXXCPP $CPPFLAGS'
22606 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22607 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22608 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22611 /* end confdefs.h. */
22612 #include <math.h>
22614 main ()
22616 atan2f(0, 0);
22618 return 0;
22620 _ACEOF
22621 if ac_fn_cxx_try_compile "$LINENO"; then :
22622 glibcxx_cv_func_atan2f_use=yes
22623 else
22624 glibcxx_cv_func_atan2f_use=no
22626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22627 ac_ext=c
22628 ac_cpp='$CPP $CPPFLAGS'
22629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
22638 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
22640 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
22641 for ac_func in atan2f
22642 do :
22643 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
22644 if test "x$ac_cv_func_atan2f" = x""yes; then :
22645 cat >>confdefs.h <<_ACEOF
22646 #define HAVE_ATAN2F 1
22647 _ACEOF
22650 done
22652 else
22654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
22655 $as_echo_n "checking for _atan2f declaration... " >&6; }
22656 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
22657 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
22658 $as_echo_n "(cached) " >&6
22659 else
22662 ac_ext=cpp
22663 ac_cpp='$CXXCPP $CPPFLAGS'
22664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22669 /* end confdefs.h. */
22670 #include <math.h>
22672 main ()
22674 _atan2f(0, 0);
22676 return 0;
22678 _ACEOF
22679 if ac_fn_cxx_try_compile "$LINENO"; then :
22680 glibcxx_cv_func__atan2f_use=yes
22681 else
22682 glibcxx_cv_func__atan2f_use=no
22684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22685 ac_ext=c
22686 ac_cpp='$CPP $CPPFLAGS'
22687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
22696 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
22698 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
22699 for ac_func in _atan2f
22700 do :
22701 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
22702 if test "x$ac_cv_func__atan2f" = x""yes; then :
22703 cat >>confdefs.h <<_ACEOF
22704 #define HAVE__ATAN2F 1
22705 _ACEOF
22708 done
22717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
22718 $as_echo_n "checking for fabsf declaration... " >&6; }
22719 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
22720 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
22721 $as_echo_n "(cached) " >&6
22722 else
22725 ac_ext=cpp
22726 ac_cpp='$CXXCPP $CPPFLAGS'
22727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22732 /* end confdefs.h. */
22733 #include <math.h>
22734 #ifdef HAVE_IEEEFP_H
22735 #include <ieeefp.h>
22736 #endif
22739 main ()
22741 fabsf(0);
22743 return 0;
22745 _ACEOF
22746 if ac_fn_cxx_try_compile "$LINENO"; then :
22747 glibcxx_cv_func_fabsf_use=yes
22748 else
22749 glibcxx_cv_func_fabsf_use=no
22751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22752 ac_ext=c
22753 ac_cpp='$CPP $CPPFLAGS'
22754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
22763 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
22765 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
22766 for ac_func in fabsf
22767 do :
22768 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
22769 if test "x$ac_cv_func_fabsf" = x""yes; then :
22770 cat >>confdefs.h <<_ACEOF
22771 #define HAVE_FABSF 1
22772 _ACEOF
22775 done
22777 else
22779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
22780 $as_echo_n "checking for _fabsf declaration... " >&6; }
22781 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
22782 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
22783 $as_echo_n "(cached) " >&6
22784 else
22787 ac_ext=cpp
22788 ac_cpp='$CXXCPP $CPPFLAGS'
22789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22794 /* end confdefs.h. */
22795 #include <math.h>
22796 #ifdef HAVE_IEEEFP_H
22797 #include <ieeefp.h>
22798 #endif
22801 main ()
22803 _fabsf(0);
22805 return 0;
22807 _ACEOF
22808 if ac_fn_cxx_try_compile "$LINENO"; then :
22809 glibcxx_cv_func__fabsf_use=yes
22810 else
22811 glibcxx_cv_func__fabsf_use=no
22813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22814 ac_ext=c
22815 ac_cpp='$CPP $CPPFLAGS'
22816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
22825 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
22827 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
22828 for ac_func in _fabsf
22829 do :
22830 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
22831 if test "x$ac_cv_func__fabsf" = x""yes; then :
22832 cat >>confdefs.h <<_ACEOF
22833 #define HAVE__FABSF 1
22834 _ACEOF
22837 done
22846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
22847 $as_echo_n "checking for fmodf declaration... " >&6; }
22848 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
22849 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
22850 $as_echo_n "(cached) " >&6
22851 else
22854 ac_ext=cpp
22855 ac_cpp='$CXXCPP $CPPFLAGS'
22856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22861 /* end confdefs.h. */
22862 #include <math.h>
22864 main ()
22866 fmodf(0, 0);
22868 return 0;
22870 _ACEOF
22871 if ac_fn_cxx_try_compile "$LINENO"; then :
22872 glibcxx_cv_func_fmodf_use=yes
22873 else
22874 glibcxx_cv_func_fmodf_use=no
22876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22877 ac_ext=c
22878 ac_cpp='$CPP $CPPFLAGS'
22879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
22888 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
22890 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
22891 for ac_func in fmodf
22892 do :
22893 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
22894 if test "x$ac_cv_func_fmodf" = x""yes; then :
22895 cat >>confdefs.h <<_ACEOF
22896 #define HAVE_FMODF 1
22897 _ACEOF
22900 done
22902 else
22904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
22905 $as_echo_n "checking for _fmodf declaration... " >&6; }
22906 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
22907 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
22908 $as_echo_n "(cached) " >&6
22909 else
22912 ac_ext=cpp
22913 ac_cpp='$CXXCPP $CPPFLAGS'
22914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22919 /* end confdefs.h. */
22920 #include <math.h>
22922 main ()
22924 _fmodf(0, 0);
22926 return 0;
22928 _ACEOF
22929 if ac_fn_cxx_try_compile "$LINENO"; then :
22930 glibcxx_cv_func__fmodf_use=yes
22931 else
22932 glibcxx_cv_func__fmodf_use=no
22934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22935 ac_ext=c
22936 ac_cpp='$CPP $CPPFLAGS'
22937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
22946 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
22948 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
22949 for ac_func in _fmodf
22950 do :
22951 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
22952 if test "x$ac_cv_func__fmodf" = x""yes; then :
22953 cat >>confdefs.h <<_ACEOF
22954 #define HAVE__FMODF 1
22955 _ACEOF
22958 done
22967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
22968 $as_echo_n "checking for frexpf declaration... " >&6; }
22969 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
22970 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
22971 $as_echo_n "(cached) " >&6
22972 else
22975 ac_ext=cpp
22976 ac_cpp='$CXXCPP $CPPFLAGS'
22977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22982 /* end confdefs.h. */
22983 #include <math.h>
22985 main ()
22987 frexpf(0, 0);
22989 return 0;
22991 _ACEOF
22992 if ac_fn_cxx_try_compile "$LINENO"; then :
22993 glibcxx_cv_func_frexpf_use=yes
22994 else
22995 glibcxx_cv_func_frexpf_use=no
22997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22998 ac_ext=c
22999 ac_cpp='$CPP $CPPFLAGS'
23000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
23009 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
23011 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
23012 for ac_func in frexpf
23013 do :
23014 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
23015 if test "x$ac_cv_func_frexpf" = x""yes; then :
23016 cat >>confdefs.h <<_ACEOF
23017 #define HAVE_FREXPF 1
23018 _ACEOF
23021 done
23023 else
23025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
23026 $as_echo_n "checking for _frexpf declaration... " >&6; }
23027 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
23028 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
23029 $as_echo_n "(cached) " >&6
23030 else
23033 ac_ext=cpp
23034 ac_cpp='$CXXCPP $CPPFLAGS'
23035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23040 /* end confdefs.h. */
23041 #include <math.h>
23043 main ()
23045 _frexpf(0, 0);
23047 return 0;
23049 _ACEOF
23050 if ac_fn_cxx_try_compile "$LINENO"; then :
23051 glibcxx_cv_func__frexpf_use=yes
23052 else
23053 glibcxx_cv_func__frexpf_use=no
23055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23056 ac_ext=c
23057 ac_cpp='$CPP $CPPFLAGS'
23058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
23067 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
23069 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
23070 for ac_func in _frexpf
23071 do :
23072 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
23073 if test "x$ac_cv_func__frexpf" = x""yes; then :
23074 cat >>confdefs.h <<_ACEOF
23075 #define HAVE__FREXPF 1
23076 _ACEOF
23079 done
23088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
23089 $as_echo_n "checking for hypotf declaration... " >&6; }
23090 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
23091 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
23092 $as_echo_n "(cached) " >&6
23093 else
23096 ac_ext=cpp
23097 ac_cpp='$CXXCPP $CPPFLAGS'
23098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23103 /* end confdefs.h. */
23104 #include <math.h>
23106 main ()
23108 hypotf(0, 0);
23110 return 0;
23112 _ACEOF
23113 if ac_fn_cxx_try_compile "$LINENO"; then :
23114 glibcxx_cv_func_hypotf_use=yes
23115 else
23116 glibcxx_cv_func_hypotf_use=no
23118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23119 ac_ext=c
23120 ac_cpp='$CPP $CPPFLAGS'
23121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
23130 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
23132 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
23133 for ac_func in hypotf
23134 do :
23135 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
23136 if test "x$ac_cv_func_hypotf" = x""yes; then :
23137 cat >>confdefs.h <<_ACEOF
23138 #define HAVE_HYPOTF 1
23139 _ACEOF
23142 done
23144 else
23146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
23147 $as_echo_n "checking for _hypotf declaration... " >&6; }
23148 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
23149 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
23150 $as_echo_n "(cached) " >&6
23151 else
23154 ac_ext=cpp
23155 ac_cpp='$CXXCPP $CPPFLAGS'
23156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23161 /* end confdefs.h. */
23162 #include <math.h>
23164 main ()
23166 _hypotf(0, 0);
23168 return 0;
23170 _ACEOF
23171 if ac_fn_cxx_try_compile "$LINENO"; then :
23172 glibcxx_cv_func__hypotf_use=yes
23173 else
23174 glibcxx_cv_func__hypotf_use=no
23176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23177 ac_ext=c
23178 ac_cpp='$CPP $CPPFLAGS'
23179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
23188 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
23190 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
23191 for ac_func in _hypotf
23192 do :
23193 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
23194 if test "x$ac_cv_func__hypotf" = x""yes; then :
23195 cat >>confdefs.h <<_ACEOF
23196 #define HAVE__HYPOTF 1
23197 _ACEOF
23200 done
23209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
23210 $as_echo_n "checking for ldexpf declaration... " >&6; }
23211 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
23212 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
23213 $as_echo_n "(cached) " >&6
23214 else
23217 ac_ext=cpp
23218 ac_cpp='$CXXCPP $CPPFLAGS'
23219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23224 /* end confdefs.h. */
23225 #include <math.h>
23227 main ()
23229 ldexpf(0, 0);
23231 return 0;
23233 _ACEOF
23234 if ac_fn_cxx_try_compile "$LINENO"; then :
23235 glibcxx_cv_func_ldexpf_use=yes
23236 else
23237 glibcxx_cv_func_ldexpf_use=no
23239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23240 ac_ext=c
23241 ac_cpp='$CPP $CPPFLAGS'
23242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
23251 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
23253 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
23254 for ac_func in ldexpf
23255 do :
23256 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
23257 if test "x$ac_cv_func_ldexpf" = x""yes; then :
23258 cat >>confdefs.h <<_ACEOF
23259 #define HAVE_LDEXPF 1
23260 _ACEOF
23263 done
23265 else
23267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
23268 $as_echo_n "checking for _ldexpf declaration... " >&6; }
23269 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
23270 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
23271 $as_echo_n "(cached) " >&6
23272 else
23275 ac_ext=cpp
23276 ac_cpp='$CXXCPP $CPPFLAGS'
23277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23282 /* end confdefs.h. */
23283 #include <math.h>
23285 main ()
23287 _ldexpf(0, 0);
23289 return 0;
23291 _ACEOF
23292 if ac_fn_cxx_try_compile "$LINENO"; then :
23293 glibcxx_cv_func__ldexpf_use=yes
23294 else
23295 glibcxx_cv_func__ldexpf_use=no
23297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23298 ac_ext=c
23299 ac_cpp='$CPP $CPPFLAGS'
23300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
23309 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
23311 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
23312 for ac_func in _ldexpf
23313 do :
23314 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
23315 if test "x$ac_cv_func__ldexpf" = x""yes; then :
23316 cat >>confdefs.h <<_ACEOF
23317 #define HAVE__LDEXPF 1
23318 _ACEOF
23321 done
23330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
23331 $as_echo_n "checking for logf declaration... " >&6; }
23332 if test x${glibcxx_cv_func_logf_use+set} != xset; then
23333 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
23334 $as_echo_n "(cached) " >&6
23335 else
23338 ac_ext=cpp
23339 ac_cpp='$CXXCPP $CPPFLAGS'
23340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23345 /* end confdefs.h. */
23346 #include <math.h>
23347 #ifdef HAVE_IEEEFP_H
23348 #include <ieeefp.h>
23349 #endif
23352 main ()
23354 logf(0);
23356 return 0;
23358 _ACEOF
23359 if ac_fn_cxx_try_compile "$LINENO"; then :
23360 glibcxx_cv_func_logf_use=yes
23361 else
23362 glibcxx_cv_func_logf_use=no
23364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23365 ac_ext=c
23366 ac_cpp='$CPP $CPPFLAGS'
23367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
23376 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
23378 if test x$glibcxx_cv_func_logf_use = x"yes"; then
23379 for ac_func in logf
23380 do :
23381 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
23382 if test "x$ac_cv_func_logf" = x""yes; then :
23383 cat >>confdefs.h <<_ACEOF
23384 #define HAVE_LOGF 1
23385 _ACEOF
23388 done
23390 else
23392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
23393 $as_echo_n "checking for _logf declaration... " >&6; }
23394 if test x${glibcxx_cv_func__logf_use+set} != xset; then
23395 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
23396 $as_echo_n "(cached) " >&6
23397 else
23400 ac_ext=cpp
23401 ac_cpp='$CXXCPP $CPPFLAGS'
23402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23407 /* end confdefs.h. */
23408 #include <math.h>
23409 #ifdef HAVE_IEEEFP_H
23410 #include <ieeefp.h>
23411 #endif
23414 main ()
23416 _logf(0);
23418 return 0;
23420 _ACEOF
23421 if ac_fn_cxx_try_compile "$LINENO"; then :
23422 glibcxx_cv_func__logf_use=yes
23423 else
23424 glibcxx_cv_func__logf_use=no
23426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23427 ac_ext=c
23428 ac_cpp='$CPP $CPPFLAGS'
23429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
23438 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
23440 if test x$glibcxx_cv_func__logf_use = x"yes"; then
23441 for ac_func in _logf
23442 do :
23443 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
23444 if test "x$ac_cv_func__logf" = x""yes; then :
23445 cat >>confdefs.h <<_ACEOF
23446 #define HAVE__LOGF 1
23447 _ACEOF
23450 done
23459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
23460 $as_echo_n "checking for log10f declaration... " >&6; }
23461 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
23462 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
23463 $as_echo_n "(cached) " >&6
23464 else
23467 ac_ext=cpp
23468 ac_cpp='$CXXCPP $CPPFLAGS'
23469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23474 /* end confdefs.h. */
23475 #include <math.h>
23476 #ifdef HAVE_IEEEFP_H
23477 #include <ieeefp.h>
23478 #endif
23481 main ()
23483 log10f(0);
23485 return 0;
23487 _ACEOF
23488 if ac_fn_cxx_try_compile "$LINENO"; then :
23489 glibcxx_cv_func_log10f_use=yes
23490 else
23491 glibcxx_cv_func_log10f_use=no
23493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23494 ac_ext=c
23495 ac_cpp='$CPP $CPPFLAGS'
23496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
23505 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
23507 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
23508 for ac_func in log10f
23509 do :
23510 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
23511 if test "x$ac_cv_func_log10f" = x""yes; then :
23512 cat >>confdefs.h <<_ACEOF
23513 #define HAVE_LOG10F 1
23514 _ACEOF
23517 done
23519 else
23521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
23522 $as_echo_n "checking for _log10f declaration... " >&6; }
23523 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
23524 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
23525 $as_echo_n "(cached) " >&6
23526 else
23529 ac_ext=cpp
23530 ac_cpp='$CXXCPP $CPPFLAGS'
23531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23536 /* end confdefs.h. */
23537 #include <math.h>
23538 #ifdef HAVE_IEEEFP_H
23539 #include <ieeefp.h>
23540 #endif
23543 main ()
23545 _log10f(0);
23547 return 0;
23549 _ACEOF
23550 if ac_fn_cxx_try_compile "$LINENO"; then :
23551 glibcxx_cv_func__log10f_use=yes
23552 else
23553 glibcxx_cv_func__log10f_use=no
23555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23556 ac_ext=c
23557 ac_cpp='$CPP $CPPFLAGS'
23558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
23567 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
23569 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
23570 for ac_func in _log10f
23571 do :
23572 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
23573 if test "x$ac_cv_func__log10f" = x""yes; then :
23574 cat >>confdefs.h <<_ACEOF
23575 #define HAVE__LOG10F 1
23576 _ACEOF
23579 done
23588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
23589 $as_echo_n "checking for modff declaration... " >&6; }
23590 if test x${glibcxx_cv_func_modff_use+set} != xset; then
23591 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
23592 $as_echo_n "(cached) " >&6
23593 else
23596 ac_ext=cpp
23597 ac_cpp='$CXXCPP $CPPFLAGS'
23598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23603 /* end confdefs.h. */
23604 #include <math.h>
23606 main ()
23608 modff(0, 0);
23610 return 0;
23612 _ACEOF
23613 if ac_fn_cxx_try_compile "$LINENO"; then :
23614 glibcxx_cv_func_modff_use=yes
23615 else
23616 glibcxx_cv_func_modff_use=no
23618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23619 ac_ext=c
23620 ac_cpp='$CPP $CPPFLAGS'
23621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
23630 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
23632 if test x$glibcxx_cv_func_modff_use = x"yes"; then
23633 for ac_func in modff
23634 do :
23635 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
23636 if test "x$ac_cv_func_modff" = x""yes; then :
23637 cat >>confdefs.h <<_ACEOF
23638 #define HAVE_MODFF 1
23639 _ACEOF
23642 done
23644 else
23646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
23647 $as_echo_n "checking for _modff declaration... " >&6; }
23648 if test x${glibcxx_cv_func__modff_use+set} != xset; then
23649 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
23650 $as_echo_n "(cached) " >&6
23651 else
23654 ac_ext=cpp
23655 ac_cpp='$CXXCPP $CPPFLAGS'
23656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23661 /* end confdefs.h. */
23662 #include <math.h>
23664 main ()
23666 _modff(0, 0);
23668 return 0;
23670 _ACEOF
23671 if ac_fn_cxx_try_compile "$LINENO"; then :
23672 glibcxx_cv_func__modff_use=yes
23673 else
23674 glibcxx_cv_func__modff_use=no
23676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23677 ac_ext=c
23678 ac_cpp='$CPP $CPPFLAGS'
23679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
23688 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
23690 if test x$glibcxx_cv_func__modff_use = x"yes"; then
23691 for ac_func in _modff
23692 do :
23693 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
23694 if test "x$ac_cv_func__modff" = x""yes; then :
23695 cat >>confdefs.h <<_ACEOF
23696 #define HAVE__MODFF 1
23697 _ACEOF
23700 done
23709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
23710 $as_echo_n "checking for modf declaration... " >&6; }
23711 if test x${glibcxx_cv_func_modf_use+set} != xset; then
23712 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
23713 $as_echo_n "(cached) " >&6
23714 else
23717 ac_ext=cpp
23718 ac_cpp='$CXXCPP $CPPFLAGS'
23719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23724 /* end confdefs.h. */
23725 #include <math.h>
23727 main ()
23729 modf(0, 0);
23731 return 0;
23733 _ACEOF
23734 if ac_fn_cxx_try_compile "$LINENO"; then :
23735 glibcxx_cv_func_modf_use=yes
23736 else
23737 glibcxx_cv_func_modf_use=no
23739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23740 ac_ext=c
23741 ac_cpp='$CPP $CPPFLAGS'
23742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
23751 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
23753 if test x$glibcxx_cv_func_modf_use = x"yes"; then
23754 for ac_func in modf
23755 do :
23756 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
23757 if test "x$ac_cv_func_modf" = x""yes; then :
23758 cat >>confdefs.h <<_ACEOF
23759 #define HAVE_MODF 1
23760 _ACEOF
23763 done
23765 else
23767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
23768 $as_echo_n "checking for _modf declaration... " >&6; }
23769 if test x${glibcxx_cv_func__modf_use+set} != xset; then
23770 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
23771 $as_echo_n "(cached) " >&6
23772 else
23775 ac_ext=cpp
23776 ac_cpp='$CXXCPP $CPPFLAGS'
23777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23782 /* end confdefs.h. */
23783 #include <math.h>
23785 main ()
23787 _modf(0, 0);
23789 return 0;
23791 _ACEOF
23792 if ac_fn_cxx_try_compile "$LINENO"; then :
23793 glibcxx_cv_func__modf_use=yes
23794 else
23795 glibcxx_cv_func__modf_use=no
23797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23798 ac_ext=c
23799 ac_cpp='$CPP $CPPFLAGS'
23800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
23809 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
23811 if test x$glibcxx_cv_func__modf_use = x"yes"; then
23812 for ac_func in _modf
23813 do :
23814 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
23815 if test "x$ac_cv_func__modf" = x""yes; then :
23816 cat >>confdefs.h <<_ACEOF
23817 #define HAVE__MODF 1
23818 _ACEOF
23821 done
23830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
23831 $as_echo_n "checking for powf declaration... " >&6; }
23832 if test x${glibcxx_cv_func_powf_use+set} != xset; then
23833 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
23834 $as_echo_n "(cached) " >&6
23835 else
23838 ac_ext=cpp
23839 ac_cpp='$CXXCPP $CPPFLAGS'
23840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23845 /* end confdefs.h. */
23846 #include <math.h>
23848 main ()
23850 powf(0, 0);
23852 return 0;
23854 _ACEOF
23855 if ac_fn_cxx_try_compile "$LINENO"; then :
23856 glibcxx_cv_func_powf_use=yes
23857 else
23858 glibcxx_cv_func_powf_use=no
23860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23861 ac_ext=c
23862 ac_cpp='$CPP $CPPFLAGS'
23863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
23872 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
23874 if test x$glibcxx_cv_func_powf_use = x"yes"; then
23875 for ac_func in powf
23876 do :
23877 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
23878 if test "x$ac_cv_func_powf" = x""yes; then :
23879 cat >>confdefs.h <<_ACEOF
23880 #define HAVE_POWF 1
23881 _ACEOF
23884 done
23886 else
23888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
23889 $as_echo_n "checking for _powf declaration... " >&6; }
23890 if test x${glibcxx_cv_func__powf_use+set} != xset; then
23891 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
23892 $as_echo_n "(cached) " >&6
23893 else
23896 ac_ext=cpp
23897 ac_cpp='$CXXCPP $CPPFLAGS'
23898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23903 /* end confdefs.h. */
23904 #include <math.h>
23906 main ()
23908 _powf(0, 0);
23910 return 0;
23912 _ACEOF
23913 if ac_fn_cxx_try_compile "$LINENO"; then :
23914 glibcxx_cv_func__powf_use=yes
23915 else
23916 glibcxx_cv_func__powf_use=no
23918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23919 ac_ext=c
23920 ac_cpp='$CPP $CPPFLAGS'
23921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
23930 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
23932 if test x$glibcxx_cv_func__powf_use = x"yes"; then
23933 for ac_func in _powf
23934 do :
23935 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
23936 if test "x$ac_cv_func__powf" = x""yes; then :
23937 cat >>confdefs.h <<_ACEOF
23938 #define HAVE__POWF 1
23939 _ACEOF
23942 done
23951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
23952 $as_echo_n "checking for sqrtf declaration... " >&6; }
23953 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
23954 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
23955 $as_echo_n "(cached) " >&6
23956 else
23959 ac_ext=cpp
23960 ac_cpp='$CXXCPP $CPPFLAGS'
23961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23966 /* end confdefs.h. */
23967 #include <math.h>
23968 #ifdef HAVE_IEEEFP_H
23969 #include <ieeefp.h>
23970 #endif
23973 main ()
23975 sqrtf(0);
23977 return 0;
23979 _ACEOF
23980 if ac_fn_cxx_try_compile "$LINENO"; then :
23981 glibcxx_cv_func_sqrtf_use=yes
23982 else
23983 glibcxx_cv_func_sqrtf_use=no
23985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23986 ac_ext=c
23987 ac_cpp='$CPP $CPPFLAGS'
23988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
23997 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
23999 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
24000 for ac_func in sqrtf
24001 do :
24002 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
24003 if test "x$ac_cv_func_sqrtf" = x""yes; then :
24004 cat >>confdefs.h <<_ACEOF
24005 #define HAVE_SQRTF 1
24006 _ACEOF
24009 done
24011 else
24013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
24014 $as_echo_n "checking for _sqrtf declaration... " >&6; }
24015 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
24016 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
24017 $as_echo_n "(cached) " >&6
24018 else
24021 ac_ext=cpp
24022 ac_cpp='$CXXCPP $CPPFLAGS'
24023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24028 /* end confdefs.h. */
24029 #include <math.h>
24030 #ifdef HAVE_IEEEFP_H
24031 #include <ieeefp.h>
24032 #endif
24035 main ()
24037 _sqrtf(0);
24039 return 0;
24041 _ACEOF
24042 if ac_fn_cxx_try_compile "$LINENO"; then :
24043 glibcxx_cv_func__sqrtf_use=yes
24044 else
24045 glibcxx_cv_func__sqrtf_use=no
24047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24048 ac_ext=c
24049 ac_cpp='$CPP $CPPFLAGS'
24050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
24059 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
24061 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
24062 for ac_func in _sqrtf
24063 do :
24064 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
24065 if test "x$ac_cv_func__sqrtf" = x""yes; then :
24066 cat >>confdefs.h <<_ACEOF
24067 #define HAVE__SQRTF 1
24068 _ACEOF
24071 done
24080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
24081 $as_echo_n "checking for sincosf declaration... " >&6; }
24082 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
24083 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
24084 $as_echo_n "(cached) " >&6
24085 else
24088 ac_ext=cpp
24089 ac_cpp='$CXXCPP $CPPFLAGS'
24090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24095 /* end confdefs.h. */
24096 #include <math.h>
24098 main ()
24100 sincosf(0, 0, 0);
24102 return 0;
24104 _ACEOF
24105 if ac_fn_cxx_try_compile "$LINENO"; then :
24106 glibcxx_cv_func_sincosf_use=yes
24107 else
24108 glibcxx_cv_func_sincosf_use=no
24110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24111 ac_ext=c
24112 ac_cpp='$CPP $CPPFLAGS'
24113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
24122 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
24124 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
24125 for ac_func in sincosf
24126 do :
24127 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
24128 if test "x$ac_cv_func_sincosf" = x""yes; then :
24129 cat >>confdefs.h <<_ACEOF
24130 #define HAVE_SINCOSF 1
24131 _ACEOF
24134 done
24136 else
24138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
24139 $as_echo_n "checking for _sincosf declaration... " >&6; }
24140 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
24141 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
24142 $as_echo_n "(cached) " >&6
24143 else
24146 ac_ext=cpp
24147 ac_cpp='$CXXCPP $CPPFLAGS'
24148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24153 /* end confdefs.h. */
24154 #include <math.h>
24156 main ()
24158 _sincosf(0, 0, 0);
24160 return 0;
24162 _ACEOF
24163 if ac_fn_cxx_try_compile "$LINENO"; then :
24164 glibcxx_cv_func__sincosf_use=yes
24165 else
24166 glibcxx_cv_func__sincosf_use=no
24168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24169 ac_ext=c
24170 ac_cpp='$CPP $CPPFLAGS'
24171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
24180 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
24182 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
24183 for ac_func in _sincosf
24184 do :
24185 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
24186 if test "x$ac_cv_func__sincosf" = x""yes; then :
24187 cat >>confdefs.h <<_ACEOF
24188 #define HAVE__SINCOSF 1
24189 _ACEOF
24192 done
24201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
24202 $as_echo_n "checking for finitef declaration... " >&6; }
24203 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
24204 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
24205 $as_echo_n "(cached) " >&6
24206 else
24209 ac_ext=cpp
24210 ac_cpp='$CXXCPP $CPPFLAGS'
24211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24216 /* end confdefs.h. */
24217 #include <math.h>
24218 #ifdef HAVE_IEEEFP_H
24219 #include <ieeefp.h>
24220 #endif
24223 main ()
24225 finitef(0);
24227 return 0;
24229 _ACEOF
24230 if ac_fn_cxx_try_compile "$LINENO"; then :
24231 glibcxx_cv_func_finitef_use=yes
24232 else
24233 glibcxx_cv_func_finitef_use=no
24235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24236 ac_ext=c
24237 ac_cpp='$CPP $CPPFLAGS'
24238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
24247 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
24249 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
24250 for ac_func in finitef
24251 do :
24252 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
24253 if test "x$ac_cv_func_finitef" = x""yes; then :
24254 cat >>confdefs.h <<_ACEOF
24255 #define HAVE_FINITEF 1
24256 _ACEOF
24259 done
24261 else
24263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
24264 $as_echo_n "checking for _finitef declaration... " >&6; }
24265 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
24266 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
24267 $as_echo_n "(cached) " >&6
24268 else
24271 ac_ext=cpp
24272 ac_cpp='$CXXCPP $CPPFLAGS'
24273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24278 /* end confdefs.h. */
24279 #include <math.h>
24280 #ifdef HAVE_IEEEFP_H
24281 #include <ieeefp.h>
24282 #endif
24285 main ()
24287 _finitef(0);
24289 return 0;
24291 _ACEOF
24292 if ac_fn_cxx_try_compile "$LINENO"; then :
24293 glibcxx_cv_func__finitef_use=yes
24294 else
24295 glibcxx_cv_func__finitef_use=no
24297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24298 ac_ext=c
24299 ac_cpp='$CPP $CPPFLAGS'
24300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
24309 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
24311 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
24312 for ac_func in _finitef
24313 do :
24314 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
24315 if test "x$ac_cv_func__finitef" = x""yes; then :
24316 cat >>confdefs.h <<_ACEOF
24317 #define HAVE__FINITEF 1
24318 _ACEOF
24321 done
24330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
24331 $as_echo_n "checking for long double trig functions... " >&6; }
24332 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
24333 $as_echo_n "(cached) " >&6
24334 else
24337 ac_ext=cpp
24338 ac_cpp='$CXXCPP $CPPFLAGS'
24339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24344 /* end confdefs.h. */
24345 #include <math.h>
24347 main ()
24349 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
24351 return 0;
24353 _ACEOF
24354 if ac_fn_cxx_try_compile "$LINENO"; then :
24355 glibcxx_cv_func_long_double_trig_use=yes
24356 else
24357 glibcxx_cv_func_long_double_trig_use=no
24359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24360 ac_ext=c
24361 ac_cpp='$CPP $CPPFLAGS'
24362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
24369 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
24370 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
24371 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
24372 do :
24373 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24374 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24375 eval as_val=\$$as_ac_var
24376 if test "x$as_val" = x""yes; then :
24377 cat >>confdefs.h <<_ACEOF
24378 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24379 _ACEOF
24382 done
24384 else
24385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
24386 $as_echo_n "checking for _long double trig functions... " >&6; }
24387 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
24388 $as_echo_n "(cached) " >&6
24389 else
24392 ac_ext=cpp
24393 ac_cpp='$CXXCPP $CPPFLAGS'
24394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24399 /* end confdefs.h. */
24400 #include <math.h>
24402 main ()
24404 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
24406 return 0;
24408 _ACEOF
24409 if ac_fn_cxx_try_compile "$LINENO"; then :
24410 glibcxx_cv_func__long_double_trig_use=yes
24411 else
24412 glibcxx_cv_func__long_double_trig_use=no
24414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24415 ac_ext=c
24416 ac_cpp='$CPP $CPPFLAGS'
24417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
24424 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
24425 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
24426 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
24427 do :
24428 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24429 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24430 eval as_val=\$$as_ac_var
24431 if test "x$as_val" = x""yes; then :
24432 cat >>confdefs.h <<_ACEOF
24433 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24434 _ACEOF
24437 done
24446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
24447 $as_echo_n "checking for long double round functions... " >&6; }
24448 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
24449 $as_echo_n "(cached) " >&6
24450 else
24453 ac_ext=cpp
24454 ac_cpp='$CXXCPP $CPPFLAGS'
24455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24460 /* end confdefs.h. */
24461 #include <math.h>
24463 main ()
24465 ceill (0); floorl (0);
24467 return 0;
24469 _ACEOF
24470 if ac_fn_cxx_try_compile "$LINENO"; then :
24471 glibcxx_cv_func_long_double_round_use=yes
24472 else
24473 glibcxx_cv_func_long_double_round_use=no
24475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24476 ac_ext=c
24477 ac_cpp='$CPP $CPPFLAGS'
24478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
24485 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
24486 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
24487 for ac_func in ceill floorl
24488 do :
24489 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24490 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24491 eval as_val=\$$as_ac_var
24492 if test "x$as_val" = x""yes; then :
24493 cat >>confdefs.h <<_ACEOF
24494 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24495 _ACEOF
24498 done
24500 else
24501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
24502 $as_echo_n "checking for _long double round functions... " >&6; }
24503 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
24504 $as_echo_n "(cached) " >&6
24505 else
24508 ac_ext=cpp
24509 ac_cpp='$CXXCPP $CPPFLAGS'
24510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24515 /* end confdefs.h. */
24516 #include <math.h>
24518 main ()
24520 _ceill (0); _floorl (0);
24522 return 0;
24524 _ACEOF
24525 if ac_fn_cxx_try_compile "$LINENO"; then :
24526 glibcxx_cv_func__long_double_round_use=yes
24527 else
24528 glibcxx_cv_func__long_double_round_use=no
24530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24531 ac_ext=c
24532 ac_cpp='$CPP $CPPFLAGS'
24533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
24540 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
24541 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
24542 for ac_func in _ceill _floorl
24543 do :
24544 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24545 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24546 eval as_val=\$$as_ac_var
24547 if test "x$as_val" = x""yes; then :
24548 cat >>confdefs.h <<_ACEOF
24549 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24550 _ACEOF
24553 done
24563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
24564 $as_echo_n "checking for isnanl declaration... " >&6; }
24565 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
24566 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
24567 $as_echo_n "(cached) " >&6
24568 else
24571 ac_ext=cpp
24572 ac_cpp='$CXXCPP $CPPFLAGS'
24573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24578 /* end confdefs.h. */
24579 #include <math.h>
24580 #ifdef HAVE_IEEEFP_H
24581 #include <ieeefp.h>
24582 #endif
24585 main ()
24587 isnanl(0);
24589 return 0;
24591 _ACEOF
24592 if ac_fn_cxx_try_compile "$LINENO"; then :
24593 glibcxx_cv_func_isnanl_use=yes
24594 else
24595 glibcxx_cv_func_isnanl_use=no
24597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24598 ac_ext=c
24599 ac_cpp='$CPP $CPPFLAGS'
24600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
24609 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
24611 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
24612 for ac_func in isnanl
24613 do :
24614 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
24615 if test "x$ac_cv_func_isnanl" = x""yes; then :
24616 cat >>confdefs.h <<_ACEOF
24617 #define HAVE_ISNANL 1
24618 _ACEOF
24621 done
24623 else
24625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
24626 $as_echo_n "checking for _isnanl declaration... " >&6; }
24627 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
24628 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
24629 $as_echo_n "(cached) " >&6
24630 else
24633 ac_ext=cpp
24634 ac_cpp='$CXXCPP $CPPFLAGS'
24635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24640 /* end confdefs.h. */
24641 #include <math.h>
24642 #ifdef HAVE_IEEEFP_H
24643 #include <ieeefp.h>
24644 #endif
24647 main ()
24649 _isnanl(0);
24651 return 0;
24653 _ACEOF
24654 if ac_fn_cxx_try_compile "$LINENO"; then :
24655 glibcxx_cv_func__isnanl_use=yes
24656 else
24657 glibcxx_cv_func__isnanl_use=no
24659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24660 ac_ext=c
24661 ac_cpp='$CPP $CPPFLAGS'
24662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
24671 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
24673 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
24674 for ac_func in _isnanl
24675 do :
24676 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
24677 if test "x$ac_cv_func__isnanl" = x""yes; then :
24678 cat >>confdefs.h <<_ACEOF
24679 #define HAVE__ISNANL 1
24680 _ACEOF
24683 done
24692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
24693 $as_echo_n "checking for isinfl declaration... " >&6; }
24694 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
24695 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
24696 $as_echo_n "(cached) " >&6
24697 else
24700 ac_ext=cpp
24701 ac_cpp='$CXXCPP $CPPFLAGS'
24702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24707 /* end confdefs.h. */
24708 #include <math.h>
24709 #ifdef HAVE_IEEEFP_H
24710 #include <ieeefp.h>
24711 #endif
24714 main ()
24716 isinfl(0);
24718 return 0;
24720 _ACEOF
24721 if ac_fn_cxx_try_compile "$LINENO"; then :
24722 glibcxx_cv_func_isinfl_use=yes
24723 else
24724 glibcxx_cv_func_isinfl_use=no
24726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24727 ac_ext=c
24728 ac_cpp='$CPP $CPPFLAGS'
24729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
24738 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
24740 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
24741 for ac_func in isinfl
24742 do :
24743 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
24744 if test "x$ac_cv_func_isinfl" = x""yes; then :
24745 cat >>confdefs.h <<_ACEOF
24746 #define HAVE_ISINFL 1
24747 _ACEOF
24750 done
24752 else
24754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
24755 $as_echo_n "checking for _isinfl declaration... " >&6; }
24756 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
24757 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
24758 $as_echo_n "(cached) " >&6
24759 else
24762 ac_ext=cpp
24763 ac_cpp='$CXXCPP $CPPFLAGS'
24764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24769 /* end confdefs.h. */
24770 #include <math.h>
24771 #ifdef HAVE_IEEEFP_H
24772 #include <ieeefp.h>
24773 #endif
24776 main ()
24778 _isinfl(0);
24780 return 0;
24782 _ACEOF
24783 if ac_fn_cxx_try_compile "$LINENO"; then :
24784 glibcxx_cv_func__isinfl_use=yes
24785 else
24786 glibcxx_cv_func__isinfl_use=no
24788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24789 ac_ext=c
24790 ac_cpp='$CPP $CPPFLAGS'
24791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
24800 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
24802 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
24803 for ac_func in _isinfl
24804 do :
24805 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
24806 if test "x$ac_cv_func__isinfl" = x""yes; then :
24807 cat >>confdefs.h <<_ACEOF
24808 #define HAVE__ISINFL 1
24809 _ACEOF
24812 done
24821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
24822 $as_echo_n "checking for atan2l declaration... " >&6; }
24823 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
24824 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
24825 $as_echo_n "(cached) " >&6
24826 else
24829 ac_ext=cpp
24830 ac_cpp='$CXXCPP $CPPFLAGS'
24831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24836 /* end confdefs.h. */
24837 #include <math.h>
24839 main ()
24841 atan2l(0, 0);
24843 return 0;
24845 _ACEOF
24846 if ac_fn_cxx_try_compile "$LINENO"; then :
24847 glibcxx_cv_func_atan2l_use=yes
24848 else
24849 glibcxx_cv_func_atan2l_use=no
24851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24852 ac_ext=c
24853 ac_cpp='$CPP $CPPFLAGS'
24854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
24863 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
24865 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
24866 for ac_func in atan2l
24867 do :
24868 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
24869 if test "x$ac_cv_func_atan2l" = x""yes; then :
24870 cat >>confdefs.h <<_ACEOF
24871 #define HAVE_ATAN2L 1
24872 _ACEOF
24875 done
24877 else
24879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
24880 $as_echo_n "checking for _atan2l declaration... " >&6; }
24881 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
24882 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
24883 $as_echo_n "(cached) " >&6
24884 else
24887 ac_ext=cpp
24888 ac_cpp='$CXXCPP $CPPFLAGS'
24889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24894 /* end confdefs.h. */
24895 #include <math.h>
24897 main ()
24899 _atan2l(0, 0);
24901 return 0;
24903 _ACEOF
24904 if ac_fn_cxx_try_compile "$LINENO"; then :
24905 glibcxx_cv_func__atan2l_use=yes
24906 else
24907 glibcxx_cv_func__atan2l_use=no
24909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24910 ac_ext=c
24911 ac_cpp='$CPP $CPPFLAGS'
24912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
24921 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
24923 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
24924 for ac_func in _atan2l
24925 do :
24926 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
24927 if test "x$ac_cv_func__atan2l" = x""yes; then :
24928 cat >>confdefs.h <<_ACEOF
24929 #define HAVE__ATAN2L 1
24930 _ACEOF
24933 done
24942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
24943 $as_echo_n "checking for expl declaration... " >&6; }
24944 if test x${glibcxx_cv_func_expl_use+set} != xset; then
24945 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
24946 $as_echo_n "(cached) " >&6
24947 else
24950 ac_ext=cpp
24951 ac_cpp='$CXXCPP $CPPFLAGS'
24952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24957 /* end confdefs.h. */
24958 #include <math.h>
24959 #ifdef HAVE_IEEEFP_H
24960 #include <ieeefp.h>
24961 #endif
24964 main ()
24966 expl(0);
24968 return 0;
24970 _ACEOF
24971 if ac_fn_cxx_try_compile "$LINENO"; then :
24972 glibcxx_cv_func_expl_use=yes
24973 else
24974 glibcxx_cv_func_expl_use=no
24976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24977 ac_ext=c
24978 ac_cpp='$CPP $CPPFLAGS'
24979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
24988 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
24990 if test x$glibcxx_cv_func_expl_use = x"yes"; then
24991 for ac_func in expl
24992 do :
24993 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
24994 if test "x$ac_cv_func_expl" = x""yes; then :
24995 cat >>confdefs.h <<_ACEOF
24996 #define HAVE_EXPL 1
24997 _ACEOF
25000 done
25002 else
25004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
25005 $as_echo_n "checking for _expl declaration... " >&6; }
25006 if test x${glibcxx_cv_func__expl_use+set} != xset; then
25007 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
25008 $as_echo_n "(cached) " >&6
25009 else
25012 ac_ext=cpp
25013 ac_cpp='$CXXCPP $CPPFLAGS'
25014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25019 /* end confdefs.h. */
25020 #include <math.h>
25021 #ifdef HAVE_IEEEFP_H
25022 #include <ieeefp.h>
25023 #endif
25026 main ()
25028 _expl(0);
25030 return 0;
25032 _ACEOF
25033 if ac_fn_cxx_try_compile "$LINENO"; then :
25034 glibcxx_cv_func__expl_use=yes
25035 else
25036 glibcxx_cv_func__expl_use=no
25038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25039 ac_ext=c
25040 ac_cpp='$CPP $CPPFLAGS'
25041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
25050 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
25052 if test x$glibcxx_cv_func__expl_use = x"yes"; then
25053 for ac_func in _expl
25054 do :
25055 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
25056 if test "x$ac_cv_func__expl" = x""yes; then :
25057 cat >>confdefs.h <<_ACEOF
25058 #define HAVE__EXPL 1
25059 _ACEOF
25062 done
25071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
25072 $as_echo_n "checking for fabsl declaration... " >&6; }
25073 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
25074 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
25075 $as_echo_n "(cached) " >&6
25076 else
25079 ac_ext=cpp
25080 ac_cpp='$CXXCPP $CPPFLAGS'
25081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25086 /* end confdefs.h. */
25087 #include <math.h>
25088 #ifdef HAVE_IEEEFP_H
25089 #include <ieeefp.h>
25090 #endif
25093 main ()
25095 fabsl(0);
25097 return 0;
25099 _ACEOF
25100 if ac_fn_cxx_try_compile "$LINENO"; then :
25101 glibcxx_cv_func_fabsl_use=yes
25102 else
25103 glibcxx_cv_func_fabsl_use=no
25105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25106 ac_ext=c
25107 ac_cpp='$CPP $CPPFLAGS'
25108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
25117 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
25119 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
25120 for ac_func in fabsl
25121 do :
25122 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
25123 if test "x$ac_cv_func_fabsl" = x""yes; then :
25124 cat >>confdefs.h <<_ACEOF
25125 #define HAVE_FABSL 1
25126 _ACEOF
25129 done
25131 else
25133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
25134 $as_echo_n "checking for _fabsl declaration... " >&6; }
25135 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
25136 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
25137 $as_echo_n "(cached) " >&6
25138 else
25141 ac_ext=cpp
25142 ac_cpp='$CXXCPP $CPPFLAGS'
25143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25148 /* end confdefs.h. */
25149 #include <math.h>
25150 #ifdef HAVE_IEEEFP_H
25151 #include <ieeefp.h>
25152 #endif
25155 main ()
25157 _fabsl(0);
25159 return 0;
25161 _ACEOF
25162 if ac_fn_cxx_try_compile "$LINENO"; then :
25163 glibcxx_cv_func__fabsl_use=yes
25164 else
25165 glibcxx_cv_func__fabsl_use=no
25167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25168 ac_ext=c
25169 ac_cpp='$CPP $CPPFLAGS'
25170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
25179 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
25181 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
25182 for ac_func in _fabsl
25183 do :
25184 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
25185 if test "x$ac_cv_func__fabsl" = x""yes; then :
25186 cat >>confdefs.h <<_ACEOF
25187 #define HAVE__FABSL 1
25188 _ACEOF
25191 done
25200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
25201 $as_echo_n "checking for fmodl declaration... " >&6; }
25202 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
25203 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
25204 $as_echo_n "(cached) " >&6
25205 else
25208 ac_ext=cpp
25209 ac_cpp='$CXXCPP $CPPFLAGS'
25210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25215 /* end confdefs.h. */
25216 #include <math.h>
25218 main ()
25220 fmodl(0, 0);
25222 return 0;
25224 _ACEOF
25225 if ac_fn_cxx_try_compile "$LINENO"; then :
25226 glibcxx_cv_func_fmodl_use=yes
25227 else
25228 glibcxx_cv_func_fmodl_use=no
25230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25231 ac_ext=c
25232 ac_cpp='$CPP $CPPFLAGS'
25233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
25242 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
25244 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
25245 for ac_func in fmodl
25246 do :
25247 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
25248 if test "x$ac_cv_func_fmodl" = x""yes; then :
25249 cat >>confdefs.h <<_ACEOF
25250 #define HAVE_FMODL 1
25251 _ACEOF
25254 done
25256 else
25258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
25259 $as_echo_n "checking for _fmodl declaration... " >&6; }
25260 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
25261 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
25262 $as_echo_n "(cached) " >&6
25263 else
25266 ac_ext=cpp
25267 ac_cpp='$CXXCPP $CPPFLAGS'
25268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25273 /* end confdefs.h. */
25274 #include <math.h>
25276 main ()
25278 _fmodl(0, 0);
25280 return 0;
25282 _ACEOF
25283 if ac_fn_cxx_try_compile "$LINENO"; then :
25284 glibcxx_cv_func__fmodl_use=yes
25285 else
25286 glibcxx_cv_func__fmodl_use=no
25288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25289 ac_ext=c
25290 ac_cpp='$CPP $CPPFLAGS'
25291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
25300 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
25302 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
25303 for ac_func in _fmodl
25304 do :
25305 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
25306 if test "x$ac_cv_func__fmodl" = x""yes; then :
25307 cat >>confdefs.h <<_ACEOF
25308 #define HAVE__FMODL 1
25309 _ACEOF
25312 done
25321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
25322 $as_echo_n "checking for frexpl declaration... " >&6; }
25323 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
25324 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
25325 $as_echo_n "(cached) " >&6
25326 else
25329 ac_ext=cpp
25330 ac_cpp='$CXXCPP $CPPFLAGS'
25331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25336 /* end confdefs.h. */
25337 #include <math.h>
25339 main ()
25341 frexpl(0, 0);
25343 return 0;
25345 _ACEOF
25346 if ac_fn_cxx_try_compile "$LINENO"; then :
25347 glibcxx_cv_func_frexpl_use=yes
25348 else
25349 glibcxx_cv_func_frexpl_use=no
25351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25352 ac_ext=c
25353 ac_cpp='$CPP $CPPFLAGS'
25354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
25363 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
25365 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
25366 for ac_func in frexpl
25367 do :
25368 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
25369 if test "x$ac_cv_func_frexpl" = x""yes; then :
25370 cat >>confdefs.h <<_ACEOF
25371 #define HAVE_FREXPL 1
25372 _ACEOF
25375 done
25377 else
25379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
25380 $as_echo_n "checking for _frexpl declaration... " >&6; }
25381 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
25382 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
25383 $as_echo_n "(cached) " >&6
25384 else
25387 ac_ext=cpp
25388 ac_cpp='$CXXCPP $CPPFLAGS'
25389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25394 /* end confdefs.h. */
25395 #include <math.h>
25397 main ()
25399 _frexpl(0, 0);
25401 return 0;
25403 _ACEOF
25404 if ac_fn_cxx_try_compile "$LINENO"; then :
25405 glibcxx_cv_func__frexpl_use=yes
25406 else
25407 glibcxx_cv_func__frexpl_use=no
25409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25410 ac_ext=c
25411 ac_cpp='$CPP $CPPFLAGS'
25412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
25421 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
25423 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
25424 for ac_func in _frexpl
25425 do :
25426 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
25427 if test "x$ac_cv_func__frexpl" = x""yes; then :
25428 cat >>confdefs.h <<_ACEOF
25429 #define HAVE__FREXPL 1
25430 _ACEOF
25433 done
25442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
25443 $as_echo_n "checking for hypotl declaration... " >&6; }
25444 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
25445 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
25446 $as_echo_n "(cached) " >&6
25447 else
25450 ac_ext=cpp
25451 ac_cpp='$CXXCPP $CPPFLAGS'
25452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25457 /* end confdefs.h. */
25458 #include <math.h>
25460 main ()
25462 hypotl(0, 0);
25464 return 0;
25466 _ACEOF
25467 if ac_fn_cxx_try_compile "$LINENO"; then :
25468 glibcxx_cv_func_hypotl_use=yes
25469 else
25470 glibcxx_cv_func_hypotl_use=no
25472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25473 ac_ext=c
25474 ac_cpp='$CPP $CPPFLAGS'
25475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
25484 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
25486 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
25487 for ac_func in hypotl
25488 do :
25489 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
25490 if test "x$ac_cv_func_hypotl" = x""yes; then :
25491 cat >>confdefs.h <<_ACEOF
25492 #define HAVE_HYPOTL 1
25493 _ACEOF
25496 done
25498 else
25500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
25501 $as_echo_n "checking for _hypotl declaration... " >&6; }
25502 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
25503 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
25504 $as_echo_n "(cached) " >&6
25505 else
25508 ac_ext=cpp
25509 ac_cpp='$CXXCPP $CPPFLAGS'
25510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25515 /* end confdefs.h. */
25516 #include <math.h>
25518 main ()
25520 _hypotl(0, 0);
25522 return 0;
25524 _ACEOF
25525 if ac_fn_cxx_try_compile "$LINENO"; then :
25526 glibcxx_cv_func__hypotl_use=yes
25527 else
25528 glibcxx_cv_func__hypotl_use=no
25530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25531 ac_ext=c
25532 ac_cpp='$CPP $CPPFLAGS'
25533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
25542 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
25544 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
25545 for ac_func in _hypotl
25546 do :
25547 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
25548 if test "x$ac_cv_func__hypotl" = x""yes; then :
25549 cat >>confdefs.h <<_ACEOF
25550 #define HAVE__HYPOTL 1
25551 _ACEOF
25554 done
25563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
25564 $as_echo_n "checking for ldexpl declaration... " >&6; }
25565 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
25566 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
25567 $as_echo_n "(cached) " >&6
25568 else
25571 ac_ext=cpp
25572 ac_cpp='$CXXCPP $CPPFLAGS'
25573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25578 /* end confdefs.h. */
25579 #include <math.h>
25581 main ()
25583 ldexpl(0, 0);
25585 return 0;
25587 _ACEOF
25588 if ac_fn_cxx_try_compile "$LINENO"; then :
25589 glibcxx_cv_func_ldexpl_use=yes
25590 else
25591 glibcxx_cv_func_ldexpl_use=no
25593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25594 ac_ext=c
25595 ac_cpp='$CPP $CPPFLAGS'
25596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
25605 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
25607 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
25608 for ac_func in ldexpl
25609 do :
25610 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
25611 if test "x$ac_cv_func_ldexpl" = x""yes; then :
25612 cat >>confdefs.h <<_ACEOF
25613 #define HAVE_LDEXPL 1
25614 _ACEOF
25617 done
25619 else
25621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
25622 $as_echo_n "checking for _ldexpl declaration... " >&6; }
25623 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
25624 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
25625 $as_echo_n "(cached) " >&6
25626 else
25629 ac_ext=cpp
25630 ac_cpp='$CXXCPP $CPPFLAGS'
25631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25636 /* end confdefs.h. */
25637 #include <math.h>
25639 main ()
25641 _ldexpl(0, 0);
25643 return 0;
25645 _ACEOF
25646 if ac_fn_cxx_try_compile "$LINENO"; then :
25647 glibcxx_cv_func__ldexpl_use=yes
25648 else
25649 glibcxx_cv_func__ldexpl_use=no
25651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25652 ac_ext=c
25653 ac_cpp='$CPP $CPPFLAGS'
25654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
25663 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
25665 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
25666 for ac_func in _ldexpl
25667 do :
25668 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
25669 if test "x$ac_cv_func__ldexpl" = x""yes; then :
25670 cat >>confdefs.h <<_ACEOF
25671 #define HAVE__LDEXPL 1
25672 _ACEOF
25675 done
25684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
25685 $as_echo_n "checking for logl declaration... " >&6; }
25686 if test x${glibcxx_cv_func_logl_use+set} != xset; then
25687 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
25688 $as_echo_n "(cached) " >&6
25689 else
25692 ac_ext=cpp
25693 ac_cpp='$CXXCPP $CPPFLAGS'
25694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25699 /* end confdefs.h. */
25700 #include <math.h>
25701 #ifdef HAVE_IEEEFP_H
25702 #include <ieeefp.h>
25703 #endif
25706 main ()
25708 logl(0);
25710 return 0;
25712 _ACEOF
25713 if ac_fn_cxx_try_compile "$LINENO"; then :
25714 glibcxx_cv_func_logl_use=yes
25715 else
25716 glibcxx_cv_func_logl_use=no
25718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25719 ac_ext=c
25720 ac_cpp='$CPP $CPPFLAGS'
25721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
25730 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
25732 if test x$glibcxx_cv_func_logl_use = x"yes"; then
25733 for ac_func in logl
25734 do :
25735 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
25736 if test "x$ac_cv_func_logl" = x""yes; then :
25737 cat >>confdefs.h <<_ACEOF
25738 #define HAVE_LOGL 1
25739 _ACEOF
25742 done
25744 else
25746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
25747 $as_echo_n "checking for _logl declaration... " >&6; }
25748 if test x${glibcxx_cv_func__logl_use+set} != xset; then
25749 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
25750 $as_echo_n "(cached) " >&6
25751 else
25754 ac_ext=cpp
25755 ac_cpp='$CXXCPP $CPPFLAGS'
25756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25761 /* end confdefs.h. */
25762 #include <math.h>
25763 #ifdef HAVE_IEEEFP_H
25764 #include <ieeefp.h>
25765 #endif
25768 main ()
25770 _logl(0);
25772 return 0;
25774 _ACEOF
25775 if ac_fn_cxx_try_compile "$LINENO"; then :
25776 glibcxx_cv_func__logl_use=yes
25777 else
25778 glibcxx_cv_func__logl_use=no
25780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25781 ac_ext=c
25782 ac_cpp='$CPP $CPPFLAGS'
25783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
25792 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
25794 if test x$glibcxx_cv_func__logl_use = x"yes"; then
25795 for ac_func in _logl
25796 do :
25797 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
25798 if test "x$ac_cv_func__logl" = x""yes; then :
25799 cat >>confdefs.h <<_ACEOF
25800 #define HAVE__LOGL 1
25801 _ACEOF
25804 done
25813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
25814 $as_echo_n "checking for log10l declaration... " >&6; }
25815 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
25816 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
25817 $as_echo_n "(cached) " >&6
25818 else
25821 ac_ext=cpp
25822 ac_cpp='$CXXCPP $CPPFLAGS'
25823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25828 /* end confdefs.h. */
25829 #include <math.h>
25830 #ifdef HAVE_IEEEFP_H
25831 #include <ieeefp.h>
25832 #endif
25835 main ()
25837 log10l(0);
25839 return 0;
25841 _ACEOF
25842 if ac_fn_cxx_try_compile "$LINENO"; then :
25843 glibcxx_cv_func_log10l_use=yes
25844 else
25845 glibcxx_cv_func_log10l_use=no
25847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25848 ac_ext=c
25849 ac_cpp='$CPP $CPPFLAGS'
25850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
25859 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
25861 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
25862 for ac_func in log10l
25863 do :
25864 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
25865 if test "x$ac_cv_func_log10l" = x""yes; then :
25866 cat >>confdefs.h <<_ACEOF
25867 #define HAVE_LOG10L 1
25868 _ACEOF
25871 done
25873 else
25875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
25876 $as_echo_n "checking for _log10l declaration... " >&6; }
25877 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
25878 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
25879 $as_echo_n "(cached) " >&6
25880 else
25883 ac_ext=cpp
25884 ac_cpp='$CXXCPP $CPPFLAGS'
25885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25890 /* end confdefs.h. */
25891 #include <math.h>
25892 #ifdef HAVE_IEEEFP_H
25893 #include <ieeefp.h>
25894 #endif
25897 main ()
25899 _log10l(0);
25901 return 0;
25903 _ACEOF
25904 if ac_fn_cxx_try_compile "$LINENO"; then :
25905 glibcxx_cv_func__log10l_use=yes
25906 else
25907 glibcxx_cv_func__log10l_use=no
25909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25910 ac_ext=c
25911 ac_cpp='$CPP $CPPFLAGS'
25912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
25921 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
25923 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
25924 for ac_func in _log10l
25925 do :
25926 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
25927 if test "x$ac_cv_func__log10l" = x""yes; then :
25928 cat >>confdefs.h <<_ACEOF
25929 #define HAVE__LOG10L 1
25930 _ACEOF
25933 done
25942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
25943 $as_echo_n "checking for modfl declaration... " >&6; }
25944 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
25945 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
25946 $as_echo_n "(cached) " >&6
25947 else
25950 ac_ext=cpp
25951 ac_cpp='$CXXCPP $CPPFLAGS'
25952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25957 /* end confdefs.h. */
25958 #include <math.h>
25960 main ()
25962 modfl(0, 0);
25964 return 0;
25966 _ACEOF
25967 if ac_fn_cxx_try_compile "$LINENO"; then :
25968 glibcxx_cv_func_modfl_use=yes
25969 else
25970 glibcxx_cv_func_modfl_use=no
25972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25973 ac_ext=c
25974 ac_cpp='$CPP $CPPFLAGS'
25975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
25984 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
25986 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
25987 for ac_func in modfl
25988 do :
25989 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
25990 if test "x$ac_cv_func_modfl" = x""yes; then :
25991 cat >>confdefs.h <<_ACEOF
25992 #define HAVE_MODFL 1
25993 _ACEOF
25996 done
25998 else
26000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
26001 $as_echo_n "checking for _modfl declaration... " >&6; }
26002 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
26003 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
26004 $as_echo_n "(cached) " >&6
26005 else
26008 ac_ext=cpp
26009 ac_cpp='$CXXCPP $CPPFLAGS'
26010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26015 /* end confdefs.h. */
26016 #include <math.h>
26018 main ()
26020 _modfl(0, 0);
26022 return 0;
26024 _ACEOF
26025 if ac_fn_cxx_try_compile "$LINENO"; then :
26026 glibcxx_cv_func__modfl_use=yes
26027 else
26028 glibcxx_cv_func__modfl_use=no
26030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26031 ac_ext=c
26032 ac_cpp='$CPP $CPPFLAGS'
26033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
26042 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
26044 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
26045 for ac_func in _modfl
26046 do :
26047 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
26048 if test "x$ac_cv_func__modfl" = x""yes; then :
26049 cat >>confdefs.h <<_ACEOF
26050 #define HAVE__MODFL 1
26051 _ACEOF
26054 done
26063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
26064 $as_echo_n "checking for powl declaration... " >&6; }
26065 if test x${glibcxx_cv_func_powl_use+set} != xset; then
26066 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
26067 $as_echo_n "(cached) " >&6
26068 else
26071 ac_ext=cpp
26072 ac_cpp='$CXXCPP $CPPFLAGS'
26073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26078 /* end confdefs.h. */
26079 #include <math.h>
26081 main ()
26083 powl(0, 0);
26085 return 0;
26087 _ACEOF
26088 if ac_fn_cxx_try_compile "$LINENO"; then :
26089 glibcxx_cv_func_powl_use=yes
26090 else
26091 glibcxx_cv_func_powl_use=no
26093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26094 ac_ext=c
26095 ac_cpp='$CPP $CPPFLAGS'
26096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
26105 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
26107 if test x$glibcxx_cv_func_powl_use = x"yes"; then
26108 for ac_func in powl
26109 do :
26110 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
26111 if test "x$ac_cv_func_powl" = x""yes; then :
26112 cat >>confdefs.h <<_ACEOF
26113 #define HAVE_POWL 1
26114 _ACEOF
26117 done
26119 else
26121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
26122 $as_echo_n "checking for _powl declaration... " >&6; }
26123 if test x${glibcxx_cv_func__powl_use+set} != xset; then
26124 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
26125 $as_echo_n "(cached) " >&6
26126 else
26129 ac_ext=cpp
26130 ac_cpp='$CXXCPP $CPPFLAGS'
26131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26136 /* end confdefs.h. */
26137 #include <math.h>
26139 main ()
26141 _powl(0, 0);
26143 return 0;
26145 _ACEOF
26146 if ac_fn_cxx_try_compile "$LINENO"; then :
26147 glibcxx_cv_func__powl_use=yes
26148 else
26149 glibcxx_cv_func__powl_use=no
26151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26152 ac_ext=c
26153 ac_cpp='$CPP $CPPFLAGS'
26154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
26163 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
26165 if test x$glibcxx_cv_func__powl_use = x"yes"; then
26166 for ac_func in _powl
26167 do :
26168 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
26169 if test "x$ac_cv_func__powl" = x""yes; then :
26170 cat >>confdefs.h <<_ACEOF
26171 #define HAVE__POWL 1
26172 _ACEOF
26175 done
26184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
26185 $as_echo_n "checking for sqrtl declaration... " >&6; }
26186 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
26187 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
26188 $as_echo_n "(cached) " >&6
26189 else
26192 ac_ext=cpp
26193 ac_cpp='$CXXCPP $CPPFLAGS'
26194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26199 /* end confdefs.h. */
26200 #include <math.h>
26201 #ifdef HAVE_IEEEFP_H
26202 #include <ieeefp.h>
26203 #endif
26206 main ()
26208 sqrtl(0);
26210 return 0;
26212 _ACEOF
26213 if ac_fn_cxx_try_compile "$LINENO"; then :
26214 glibcxx_cv_func_sqrtl_use=yes
26215 else
26216 glibcxx_cv_func_sqrtl_use=no
26218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26219 ac_ext=c
26220 ac_cpp='$CPP $CPPFLAGS'
26221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
26230 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
26232 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
26233 for ac_func in sqrtl
26234 do :
26235 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
26236 if test "x$ac_cv_func_sqrtl" = x""yes; then :
26237 cat >>confdefs.h <<_ACEOF
26238 #define HAVE_SQRTL 1
26239 _ACEOF
26242 done
26244 else
26246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
26247 $as_echo_n "checking for _sqrtl declaration... " >&6; }
26248 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
26249 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
26250 $as_echo_n "(cached) " >&6
26251 else
26254 ac_ext=cpp
26255 ac_cpp='$CXXCPP $CPPFLAGS'
26256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26261 /* end confdefs.h. */
26262 #include <math.h>
26263 #ifdef HAVE_IEEEFP_H
26264 #include <ieeefp.h>
26265 #endif
26268 main ()
26270 _sqrtl(0);
26272 return 0;
26274 _ACEOF
26275 if ac_fn_cxx_try_compile "$LINENO"; then :
26276 glibcxx_cv_func__sqrtl_use=yes
26277 else
26278 glibcxx_cv_func__sqrtl_use=no
26280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26281 ac_ext=c
26282 ac_cpp='$CPP $CPPFLAGS'
26283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
26292 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
26294 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
26295 for ac_func in _sqrtl
26296 do :
26297 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
26298 if test "x$ac_cv_func__sqrtl" = x""yes; then :
26299 cat >>confdefs.h <<_ACEOF
26300 #define HAVE__SQRTL 1
26301 _ACEOF
26304 done
26313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
26314 $as_echo_n "checking for sincosl declaration... " >&6; }
26315 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
26316 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
26317 $as_echo_n "(cached) " >&6
26318 else
26321 ac_ext=cpp
26322 ac_cpp='$CXXCPP $CPPFLAGS'
26323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26328 /* end confdefs.h. */
26329 #include <math.h>
26331 main ()
26333 sincosl(0, 0, 0);
26335 return 0;
26337 _ACEOF
26338 if ac_fn_cxx_try_compile "$LINENO"; then :
26339 glibcxx_cv_func_sincosl_use=yes
26340 else
26341 glibcxx_cv_func_sincosl_use=no
26343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26344 ac_ext=c
26345 ac_cpp='$CPP $CPPFLAGS'
26346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
26355 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
26357 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
26358 for ac_func in sincosl
26359 do :
26360 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
26361 if test "x$ac_cv_func_sincosl" = x""yes; then :
26362 cat >>confdefs.h <<_ACEOF
26363 #define HAVE_SINCOSL 1
26364 _ACEOF
26367 done
26369 else
26371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
26372 $as_echo_n "checking for _sincosl declaration... " >&6; }
26373 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
26374 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
26375 $as_echo_n "(cached) " >&6
26376 else
26379 ac_ext=cpp
26380 ac_cpp='$CXXCPP $CPPFLAGS'
26381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26386 /* end confdefs.h. */
26387 #include <math.h>
26389 main ()
26391 _sincosl(0, 0, 0);
26393 return 0;
26395 _ACEOF
26396 if ac_fn_cxx_try_compile "$LINENO"; then :
26397 glibcxx_cv_func__sincosl_use=yes
26398 else
26399 glibcxx_cv_func__sincosl_use=no
26401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26402 ac_ext=c
26403 ac_cpp='$CPP $CPPFLAGS'
26404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
26413 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
26415 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
26416 for ac_func in _sincosl
26417 do :
26418 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
26419 if test "x$ac_cv_func__sincosl" = x""yes; then :
26420 cat >>confdefs.h <<_ACEOF
26421 #define HAVE__SINCOSL 1
26422 _ACEOF
26425 done
26434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
26435 $as_echo_n "checking for finitel declaration... " >&6; }
26436 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
26437 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
26438 $as_echo_n "(cached) " >&6
26439 else
26442 ac_ext=cpp
26443 ac_cpp='$CXXCPP $CPPFLAGS'
26444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26449 /* end confdefs.h. */
26450 #include <math.h>
26451 #ifdef HAVE_IEEEFP_H
26452 #include <ieeefp.h>
26453 #endif
26456 main ()
26458 finitel(0);
26460 return 0;
26462 _ACEOF
26463 if ac_fn_cxx_try_compile "$LINENO"; then :
26464 glibcxx_cv_func_finitel_use=yes
26465 else
26466 glibcxx_cv_func_finitel_use=no
26468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26469 ac_ext=c
26470 ac_cpp='$CPP $CPPFLAGS'
26471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
26480 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
26482 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
26483 for ac_func in finitel
26484 do :
26485 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
26486 if test "x$ac_cv_func_finitel" = x""yes; then :
26487 cat >>confdefs.h <<_ACEOF
26488 #define HAVE_FINITEL 1
26489 _ACEOF
26492 done
26494 else
26496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
26497 $as_echo_n "checking for _finitel declaration... " >&6; }
26498 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
26499 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
26500 $as_echo_n "(cached) " >&6
26501 else
26504 ac_ext=cpp
26505 ac_cpp='$CXXCPP $CPPFLAGS'
26506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26511 /* end confdefs.h. */
26512 #include <math.h>
26513 #ifdef HAVE_IEEEFP_H
26514 #include <ieeefp.h>
26515 #endif
26518 main ()
26520 _finitel(0);
26522 return 0;
26524 _ACEOF
26525 if ac_fn_cxx_try_compile "$LINENO"; then :
26526 glibcxx_cv_func__finitel_use=yes
26527 else
26528 glibcxx_cv_func__finitel_use=no
26530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26531 ac_ext=c
26532 ac_cpp='$CPP $CPPFLAGS'
26533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
26542 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
26544 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
26545 for ac_func in _finitel
26546 do :
26547 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
26548 if test "x$ac_cv_func__finitel" = x""yes; then :
26549 cat >>confdefs.h <<_ACEOF
26550 #define HAVE__FINITEL 1
26551 _ACEOF
26554 done
26562 LIBS="$ac_save_LIBS"
26563 CXXFLAGS="$ac_save_CXXFLAGS"
26566 ac_test_CXXFLAGS="${CXXFLAGS+set}"
26567 ac_save_CXXFLAGS="$CXXFLAGS"
26568 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
26571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
26572 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
26573 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
26574 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
26575 $as_echo_n "(cached) " >&6
26576 else
26579 ac_ext=cpp
26580 ac_cpp='$CXXCPP $CPPFLAGS'
26581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26586 /* end confdefs.h. */
26587 #include <stdlib.h>
26589 main ()
26591 at_quick_exit(0);
26593 return 0;
26595 _ACEOF
26596 if ac_fn_cxx_try_compile "$LINENO"; then :
26597 glibcxx_cv_func_at_quick_exit_use=yes
26598 else
26599 glibcxx_cv_func_at_quick_exit_use=no
26601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26602 ac_ext=c
26603 ac_cpp='$CPP $CPPFLAGS'
26604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
26613 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
26614 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
26615 for ac_func in at_quick_exit
26616 do :
26617 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
26618 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
26619 cat >>confdefs.h <<_ACEOF
26620 #define HAVE_AT_QUICK_EXIT 1
26621 _ACEOF
26624 done
26629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
26630 $as_echo_n "checking for quick_exit declaration... " >&6; }
26631 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
26632 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
26633 $as_echo_n "(cached) " >&6
26634 else
26637 ac_ext=cpp
26638 ac_cpp='$CXXCPP $CPPFLAGS'
26639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26644 /* end confdefs.h. */
26645 #include <stdlib.h>
26647 main ()
26649 quick_exit(0);
26651 return 0;
26653 _ACEOF
26654 if ac_fn_cxx_try_compile "$LINENO"; then :
26655 glibcxx_cv_func_quick_exit_use=yes
26656 else
26657 glibcxx_cv_func_quick_exit_use=no
26659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26660 ac_ext=c
26661 ac_cpp='$CPP $CPPFLAGS'
26662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
26671 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
26672 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
26673 for ac_func in quick_exit
26674 do :
26675 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
26676 if test "x$ac_cv_func_quick_exit" = x""yes; then :
26677 cat >>confdefs.h <<_ACEOF
26678 #define HAVE_QUICK_EXIT 1
26679 _ACEOF
26682 done
26687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
26688 $as_echo_n "checking for strtold declaration... " >&6; }
26689 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
26690 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
26691 $as_echo_n "(cached) " >&6
26692 else
26695 ac_ext=cpp
26696 ac_cpp='$CXXCPP $CPPFLAGS'
26697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26702 /* end confdefs.h. */
26703 #include <stdlib.h>
26705 main ()
26707 strtold(0, 0);
26709 return 0;
26711 _ACEOF
26712 if ac_fn_cxx_try_compile "$LINENO"; then :
26713 glibcxx_cv_func_strtold_use=yes
26714 else
26715 glibcxx_cv_func_strtold_use=no
26717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26718 ac_ext=c
26719 ac_cpp='$CPP $CPPFLAGS'
26720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
26729 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
26730 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
26731 for ac_func in strtold
26732 do :
26733 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
26734 if test "x$ac_cv_func_strtold" = x""yes; then :
26735 cat >>confdefs.h <<_ACEOF
26736 #define HAVE_STRTOLD 1
26737 _ACEOF
26740 done
26747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
26748 $as_echo_n "checking for strtof declaration... " >&6; }
26749 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
26750 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
26751 $as_echo_n "(cached) " >&6
26752 else
26755 ac_ext=cpp
26756 ac_cpp='$CXXCPP $CPPFLAGS'
26757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26762 /* end confdefs.h. */
26763 #include <stdlib.h>
26765 main ()
26767 strtof(0, 0);
26769 return 0;
26771 _ACEOF
26772 if ac_fn_cxx_try_compile "$LINENO"; then :
26773 glibcxx_cv_func_strtof_use=yes
26774 else
26775 glibcxx_cv_func_strtof_use=no
26777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26778 ac_ext=c
26779 ac_cpp='$CPP $CPPFLAGS'
26780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
26789 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
26790 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
26791 for ac_func in strtof
26792 do :
26793 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
26794 if test "x$ac_cv_func_strtof" = x""yes; then :
26795 cat >>confdefs.h <<_ACEOF
26796 #define HAVE_STRTOF 1
26797 _ACEOF
26800 done
26807 CXXFLAGS="$ac_save_CXXFLAGS"
26810 # For /dev/random and /dev/urandom for TR1.
26813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
26814 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... " >&6; }
26815 if test "${glibcxx_cv_random_tr1+set}" = set; then :
26816 $as_echo_n "(cached) " >&6
26817 else
26819 if test -r /dev/random && test -r /dev/urandom; then
26820 ## For MSys environment the test above is detect as false-positive
26821 ## on mingw-targets. So disable it explicit for them.
26822 case ${target_os} in
26823 *mingw*) glibcxx_cv_random_tr1=no ;;
26824 *) glibcxx_cv_random_tr1=yes ;;
26825 esac
26826 else
26827 glibcxx_cv_random_tr1=no;
26832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_random_tr1" >&5
26833 $as_echo "$glibcxx_cv_random_tr1" >&6; }
26835 if test x"$glibcxx_cv_random_tr1" = x"yes"; then
26837 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
26843 # For TLS support.
26846 # Check whether --enable-tls was given.
26847 if test "${enable_tls+set}" = set; then :
26848 enableval=$enable_tls;
26849 case "$enableval" in
26850 yes|no) ;;
26851 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
26852 esac
26854 else
26855 enable_tls=yes
26859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
26860 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
26861 if test "${gcc_cv_have_tls+set}" = set; then :
26862 $as_echo_n "(cached) " >&6
26863 else
26865 if test "$cross_compiling" = yes; then :
26866 if test x$gcc_no_link = xyes; then
26867 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26870 /* end confdefs.h. */
26871 __thread int a; int b; int main() { return a = b; }
26872 _ACEOF
26873 if ac_fn_c_try_link "$LINENO"; then :
26874 chktls_save_LDFLAGS="$LDFLAGS"
26875 case $host in
26876 *-*-linux*)
26877 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
26879 esac
26880 chktls_save_CFLAGS="$CFLAGS"
26881 CFLAGS="-fPIC $CFLAGS"
26882 if test x$gcc_no_link = xyes; then
26883 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26886 /* end confdefs.h. */
26887 int f() { return 0; }
26888 _ACEOF
26889 if ac_fn_c_try_link "$LINENO"; then :
26890 if test x$gcc_no_link = xyes; then
26891 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26894 /* end confdefs.h. */
26895 __thread int a; int b; int f() { return a = b; }
26896 _ACEOF
26897 if ac_fn_c_try_link "$LINENO"; then :
26898 gcc_cv_have_tls=yes
26899 else
26900 gcc_cv_have_tls=no
26902 rm -f core conftest.err conftest.$ac_objext \
26903 conftest$ac_exeext conftest.$ac_ext
26904 else
26905 gcc_cv_have_tls=yes
26907 rm -f core conftest.err conftest.$ac_objext \
26908 conftest$ac_exeext conftest.$ac_ext
26909 CFLAGS="$chktls_save_CFLAGS"
26910 LDFLAGS="$chktls_save_LDFLAGS"
26911 else
26912 gcc_cv_have_tls=no
26914 rm -f core conftest.err conftest.$ac_objext \
26915 conftest$ac_exeext conftest.$ac_ext
26918 else
26919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26920 /* end confdefs.h. */
26921 __thread int a; int b; int main() { return a = b; }
26922 _ACEOF
26923 if ac_fn_c_try_run "$LINENO"; then :
26924 chktls_save_LDFLAGS="$LDFLAGS"
26925 LDFLAGS="-static $LDFLAGS"
26926 if test x$gcc_no_link = xyes; then
26927 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26930 /* end confdefs.h. */
26931 int main() { return 0; }
26932 _ACEOF
26933 if ac_fn_c_try_link "$LINENO"; then :
26934 if test "$cross_compiling" = yes; then :
26935 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26936 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26937 as_fn_error "cannot run test program while cross compiling
26938 See \`config.log' for more details." "$LINENO" 5; }
26939 else
26940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26941 /* end confdefs.h. */
26942 __thread int a; int b; int main() { return a = b; }
26943 _ACEOF
26944 if ac_fn_c_try_run "$LINENO"; then :
26945 gcc_cv_have_tls=yes
26946 else
26947 gcc_cv_have_tls=no
26949 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26950 conftest.$ac_objext conftest.beam conftest.$ac_ext
26953 else
26954 gcc_cv_have_tls=yes
26956 rm -f core conftest.err conftest.$ac_objext \
26957 conftest$ac_exeext conftest.$ac_ext
26958 LDFLAGS="$chktls_save_LDFLAGS"
26959 if test $gcc_cv_have_tls = yes; then
26960 chktls_save_CFLAGS="$CFLAGS"
26961 thread_CFLAGS=failed
26962 for flag in '' '-pthread' '-lpthread'; do
26963 CFLAGS="$flag $chktls_save_CFLAGS"
26964 if test x$gcc_no_link = xyes; then
26965 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26968 /* end confdefs.h. */
26969 #include <pthread.h>
26970 void *g(void *d) { return NULL; }
26972 main ()
26974 pthread_t t; pthread_create(&t,NULL,g,NULL);
26976 return 0;
26978 _ACEOF
26979 if ac_fn_c_try_link "$LINENO"; then :
26980 thread_CFLAGS="$flag"
26982 rm -f core conftest.err conftest.$ac_objext \
26983 conftest$ac_exeext conftest.$ac_ext
26984 if test "X$thread_CFLAGS" != Xfailed; then
26985 break
26987 done
26988 CFLAGS="$chktls_save_CFLAGS"
26989 if test "X$thread_CFLAGS" != Xfailed; then
26990 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
26991 if test "$cross_compiling" = yes; then :
26992 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26993 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26994 as_fn_error "cannot run test program while cross compiling
26995 See \`config.log' for more details." "$LINENO" 5; }
26996 else
26997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26998 /* end confdefs.h. */
26999 #include <pthread.h>
27000 __thread int a;
27001 static int *volatile a_in_other_thread;
27002 static void *
27003 thread_func (void *arg)
27005 a_in_other_thread = &a;
27006 return (void *)0;
27009 main ()
27011 pthread_t thread;
27012 void *thread_retval;
27013 int *volatile a_in_main_thread;
27014 a_in_main_thread = &a;
27015 if (pthread_create (&thread, (pthread_attr_t *)0,
27016 thread_func, (void *)0))
27017 return 0;
27018 if (pthread_join (thread, &thread_retval))
27019 return 0;
27020 return (a_in_other_thread == a_in_main_thread);
27022 return 0;
27024 _ACEOF
27025 if ac_fn_c_try_run "$LINENO"; then :
27026 gcc_cv_have_tls=yes
27027 else
27028 gcc_cv_have_tls=no
27030 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
27031 conftest.$ac_objext conftest.beam conftest.$ac_ext
27034 CFLAGS="$chktls_save_CFLAGS"
27037 else
27038 gcc_cv_have_tls=no
27040 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
27041 conftest.$ac_objext conftest.beam conftest.$ac_ext
27045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
27046 $as_echo "$gcc_cv_have_tls" >&6; }
27047 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
27049 $as_echo "#define HAVE_TLS 1" >>confdefs.h
27053 for ac_func in __cxa_thread_atexit_impl
27054 do :
27055 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit_impl" "ac_cv_func___cxa_thread_atexit_impl"
27056 if test "x$ac_cv_func___cxa_thread_atexit_impl" = x""yes; then :
27057 cat >>confdefs.h <<_ACEOF
27058 #define HAVE___CXA_THREAD_ATEXIT_IMPL 1
27059 _ACEOF
27062 done
27065 # For iconv support.
27067 if test "X$prefix" = "XNONE"; then
27068 acl_final_prefix="$ac_default_prefix"
27069 else
27070 acl_final_prefix="$prefix"
27072 if test "X$exec_prefix" = "XNONE"; then
27073 acl_final_exec_prefix='${prefix}'
27074 else
27075 acl_final_exec_prefix="$exec_prefix"
27077 acl_save_prefix="$prefix"
27078 prefix="$acl_final_prefix"
27079 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
27080 prefix="$acl_save_prefix"
27083 # Check whether --with-gnu-ld was given.
27084 if test "${with_gnu_ld+set}" = set; then :
27085 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
27086 else
27087 with_gnu_ld=no
27090 # Prepare PATH_SEPARATOR.
27091 # The user is always right.
27092 if test "${PATH_SEPARATOR+set}" != set; then
27093 echo "#! /bin/sh" >conf$$.sh
27094 echo "exit 0" >>conf$$.sh
27095 chmod +x conf$$.sh
27096 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
27097 PATH_SEPARATOR=';'
27098 else
27099 PATH_SEPARATOR=:
27101 rm -f conf$$.sh
27103 ac_prog=ld
27104 if test "$GCC" = yes; then
27105 # Check if gcc -print-prog-name=ld gives a path.
27106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
27107 $as_echo_n "checking for ld used by GCC... " >&6; }
27108 case $host in
27109 *-*-mingw*)
27110 # gcc leaves a trailing carriage return which upsets mingw
27111 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
27113 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
27114 esac
27115 case $ac_prog in
27116 # Accept absolute paths.
27117 [\\/]* | [A-Za-z]:[\\/]*)
27118 re_direlt='/[^/][^/]*/\.\./'
27119 # Canonicalize the path of ld
27120 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
27121 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
27122 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
27123 done
27124 test -z "$LD" && LD="$ac_prog"
27127 # If it fails, then pretend we aren't using GCC.
27128 ac_prog=ld
27131 # If it is relative, then search for the first ld in PATH.
27132 with_gnu_ld=unknown
27134 esac
27135 elif test "$with_gnu_ld" = yes; then
27136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
27137 $as_echo_n "checking for GNU ld... " >&6; }
27138 else
27139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
27140 $as_echo_n "checking for non-GNU ld... " >&6; }
27142 if test "${acl_cv_path_LD+set}" = set; then :
27143 $as_echo_n "(cached) " >&6
27144 else
27145 if test -z "$LD"; then
27146 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
27147 for ac_dir in $PATH; do
27148 test -z "$ac_dir" && ac_dir=.
27149 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
27150 acl_cv_path_LD="$ac_dir/$ac_prog"
27151 # Check to see if the program is GNU ld. I'd rather use --version,
27152 # but apparently some GNU ld's only accept -v.
27153 # Break only if it was the GNU/non-GNU ld that we prefer.
27154 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
27155 test "$with_gnu_ld" != no && break
27156 else
27157 test "$with_gnu_ld" != yes && break
27160 done
27161 IFS="$ac_save_ifs"
27162 else
27163 acl_cv_path_LD="$LD" # Let the user override the test with a path.
27167 LD="$acl_cv_path_LD"
27168 if test -n "$LD"; then
27169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
27170 $as_echo "$LD" >&6; }
27171 else
27172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27173 $as_echo "no" >&6; }
27175 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
27176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
27177 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
27178 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
27179 $as_echo_n "(cached) " >&6
27180 else
27181 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
27182 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
27183 acl_cv_prog_gnu_ld=yes
27184 else
27185 acl_cv_prog_gnu_ld=no
27188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
27189 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
27190 with_gnu_ld=$acl_cv_prog_gnu_ld
27194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
27195 $as_echo_n "checking for shared library run path origin... " >&6; }
27196 if test "${acl_cv_rpath+set}" = set; then :
27197 $as_echo_n "(cached) " >&6
27198 else
27200 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
27201 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
27202 . ./conftest.sh
27203 rm -f ./conftest.sh
27204 acl_cv_rpath=done
27207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
27208 $as_echo "$acl_cv_rpath" >&6; }
27209 wl="$acl_cv_wl"
27210 libext="$acl_cv_libext"
27211 shlibext="$acl_cv_shlibext"
27212 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
27213 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
27214 hardcode_direct="$acl_cv_hardcode_direct"
27215 hardcode_minus_L="$acl_cv_hardcode_minus_L"
27216 # Check whether --enable-rpath was given.
27217 if test "${enable_rpath+set}" = set; then :
27218 enableval=$enable_rpath; :
27219 else
27220 enable_rpath=yes
27230 use_additional=yes
27232 acl_save_prefix="$prefix"
27233 prefix="$acl_final_prefix"
27234 acl_save_exec_prefix="$exec_prefix"
27235 exec_prefix="$acl_final_exec_prefix"
27237 eval additional_includedir=\"$includedir\"
27238 eval additional_libdir=\"$libdir\"
27240 exec_prefix="$acl_save_exec_prefix"
27241 prefix="$acl_save_prefix"
27244 # Check whether --with-libiconv-prefix was given.
27245 if test "${with_libiconv_prefix+set}" = set; then :
27246 withval=$with_libiconv_prefix;
27247 if test "X$withval" = "Xno"; then
27248 use_additional=no
27249 else
27250 if test "X$withval" = "X"; then
27252 acl_save_prefix="$prefix"
27253 prefix="$acl_final_prefix"
27254 acl_save_exec_prefix="$exec_prefix"
27255 exec_prefix="$acl_final_exec_prefix"
27257 eval additional_includedir=\"$includedir\"
27258 eval additional_libdir=\"$libdir\"
27260 exec_prefix="$acl_save_exec_prefix"
27261 prefix="$acl_save_prefix"
27263 else
27264 additional_includedir="$withval/include"
27265 additional_libdir="$withval/lib"
27271 LIBICONV=
27272 LTLIBICONV=
27273 INCICONV=
27274 rpathdirs=
27275 ltrpathdirs=
27276 names_already_handled=
27277 names_next_round='iconv '
27278 while test -n "$names_next_round"; do
27279 names_this_round="$names_next_round"
27280 names_next_round=
27281 for name in $names_this_round; do
27282 already_handled=
27283 for n in $names_already_handled; do
27284 if test "$n" = "$name"; then
27285 already_handled=yes
27286 break
27288 done
27289 if test -z "$already_handled"; then
27290 names_already_handled="$names_already_handled $name"
27291 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
27292 eval value=\"\$HAVE_LIB$uppername\"
27293 if test -n "$value"; then
27294 if test "$value" = yes; then
27295 eval value=\"\$LIB$uppername\"
27296 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
27297 eval value=\"\$LTLIB$uppername\"
27298 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
27299 else
27302 else
27303 found_dir=
27304 found_la=
27305 found_so=
27306 found_a=
27307 if test $use_additional = yes; then
27308 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
27309 found_dir="$additional_libdir"
27310 found_so="$additional_libdir/lib$name.$shlibext"
27311 if test -f "$additional_libdir/lib$name.la"; then
27312 found_la="$additional_libdir/lib$name.la"
27314 else
27315 if test -f "$additional_libdir/lib$name.$libext"; then
27316 found_dir="$additional_libdir"
27317 found_a="$additional_libdir/lib$name.$libext"
27318 if test -f "$additional_libdir/lib$name.la"; then
27319 found_la="$additional_libdir/lib$name.la"
27324 if test "X$found_dir" = "X"; then
27325 for x in $LDFLAGS $LTLIBICONV; do
27327 acl_save_prefix="$prefix"
27328 prefix="$acl_final_prefix"
27329 acl_save_exec_prefix="$exec_prefix"
27330 exec_prefix="$acl_final_exec_prefix"
27331 eval x=\"$x\"
27332 exec_prefix="$acl_save_exec_prefix"
27333 prefix="$acl_save_prefix"
27335 case "$x" in
27336 -L*)
27337 dir=`echo "X$x" | sed -e 's/^X-L//'`
27338 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
27339 found_dir="$dir"
27340 found_so="$dir/lib$name.$shlibext"
27341 if test -f "$dir/lib$name.la"; then
27342 found_la="$dir/lib$name.la"
27344 else
27345 if test -f "$dir/lib$name.$libext"; then
27346 found_dir="$dir"
27347 found_a="$dir/lib$name.$libext"
27348 if test -f "$dir/lib$name.la"; then
27349 found_la="$dir/lib$name.la"
27354 esac
27355 if test "X$found_dir" != "X"; then
27356 break
27358 done
27360 if test "X$found_dir" != "X"; then
27361 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
27362 if test "X$found_so" != "X"; then
27363 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
27364 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27365 else
27366 haveit=
27367 for x in $ltrpathdirs; do
27368 if test "X$x" = "X$found_dir"; then
27369 haveit=yes
27370 break
27372 done
27373 if test -z "$haveit"; then
27374 ltrpathdirs="$ltrpathdirs $found_dir"
27376 if test "$hardcode_direct" = yes; then
27377 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27378 else
27379 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
27380 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27381 haveit=
27382 for x in $rpathdirs; do
27383 if test "X$x" = "X$found_dir"; then
27384 haveit=yes
27385 break
27387 done
27388 if test -z "$haveit"; then
27389 rpathdirs="$rpathdirs $found_dir"
27391 else
27392 haveit=
27393 for x in $LDFLAGS $LIBICONV; do
27395 acl_save_prefix="$prefix"
27396 prefix="$acl_final_prefix"
27397 acl_save_exec_prefix="$exec_prefix"
27398 exec_prefix="$acl_final_exec_prefix"
27399 eval x=\"$x\"
27400 exec_prefix="$acl_save_exec_prefix"
27401 prefix="$acl_save_prefix"
27403 if test "X$x" = "X-L$found_dir"; then
27404 haveit=yes
27405 break
27407 done
27408 if test -z "$haveit"; then
27409 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
27411 if test "$hardcode_minus_L" != no; then
27412 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27413 else
27414 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
27419 else
27420 if test "X$found_a" != "X"; then
27421 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
27422 else
27423 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
27426 additional_includedir=
27427 case "$found_dir" in
27428 */lib | */lib/)
27429 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
27430 additional_includedir="$basedir/include"
27432 esac
27433 if test "X$additional_includedir" != "X"; then
27434 if test "X$additional_includedir" != "X/usr/include"; then
27435 haveit=
27436 if test "X$additional_includedir" = "X/usr/local/include"; then
27437 if test -n "$GCC"; then
27438 case $host_os in
27439 linux*) haveit=yes;;
27440 esac
27443 if test -z "$haveit"; then
27444 for x in $CPPFLAGS $INCICONV; do
27446 acl_save_prefix="$prefix"
27447 prefix="$acl_final_prefix"
27448 acl_save_exec_prefix="$exec_prefix"
27449 exec_prefix="$acl_final_exec_prefix"
27450 eval x=\"$x\"
27451 exec_prefix="$acl_save_exec_prefix"
27452 prefix="$acl_save_prefix"
27454 if test "X$x" = "X-I$additional_includedir"; then
27455 haveit=yes
27456 break
27458 done
27459 if test -z "$haveit"; then
27460 if test -d "$additional_includedir"; then
27461 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
27467 if test -n "$found_la"; then
27468 save_libdir="$libdir"
27469 case "$found_la" in
27470 */* | *\\*) . "$found_la" ;;
27471 *) . "./$found_la" ;;
27472 esac
27473 libdir="$save_libdir"
27474 for dep in $dependency_libs; do
27475 case "$dep" in
27476 -L*)
27477 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
27478 if test "X$additional_libdir" != "X/usr/lib"; then
27479 haveit=
27480 if test "X$additional_libdir" = "X/usr/local/lib"; then
27481 if test -n "$GCC"; then
27482 case $host_os in
27483 linux*) haveit=yes;;
27484 esac
27487 if test -z "$haveit"; then
27488 haveit=
27489 for x in $LDFLAGS $LIBICONV; do
27491 acl_save_prefix="$prefix"
27492 prefix="$acl_final_prefix"
27493 acl_save_exec_prefix="$exec_prefix"
27494 exec_prefix="$acl_final_exec_prefix"
27495 eval x=\"$x\"
27496 exec_prefix="$acl_save_exec_prefix"
27497 prefix="$acl_save_prefix"
27499 if test "X$x" = "X-L$additional_libdir"; then
27500 haveit=yes
27501 break
27503 done
27504 if test -z "$haveit"; then
27505 if test -d "$additional_libdir"; then
27506 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
27509 haveit=
27510 for x in $LDFLAGS $LTLIBICONV; do
27512 acl_save_prefix="$prefix"
27513 prefix="$acl_final_prefix"
27514 acl_save_exec_prefix="$exec_prefix"
27515 exec_prefix="$acl_final_exec_prefix"
27516 eval x=\"$x\"
27517 exec_prefix="$acl_save_exec_prefix"
27518 prefix="$acl_save_prefix"
27520 if test "X$x" = "X-L$additional_libdir"; then
27521 haveit=yes
27522 break
27524 done
27525 if test -z "$haveit"; then
27526 if test -d "$additional_libdir"; then
27527 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
27533 -R*)
27534 dir=`echo "X$dep" | sed -e 's/^X-R//'`
27535 if test "$enable_rpath" != no; then
27536 haveit=
27537 for x in $rpathdirs; do
27538 if test "X$x" = "X$dir"; then
27539 haveit=yes
27540 break
27542 done
27543 if test -z "$haveit"; then
27544 rpathdirs="$rpathdirs $dir"
27546 haveit=
27547 for x in $ltrpathdirs; do
27548 if test "X$x" = "X$dir"; then
27549 haveit=yes
27550 break
27552 done
27553 if test -z "$haveit"; then
27554 ltrpathdirs="$ltrpathdirs $dir"
27558 -l*)
27559 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
27561 *.la)
27562 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
27565 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
27566 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
27568 esac
27569 done
27571 else
27572 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
27573 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
27577 done
27578 done
27579 if test "X$rpathdirs" != "X"; then
27580 if test -n "$hardcode_libdir_separator"; then
27581 alldirs=
27582 for found_dir in $rpathdirs; do
27583 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
27584 done
27585 acl_save_libdir="$libdir"
27586 libdir="$alldirs"
27587 eval flag=\"$hardcode_libdir_flag_spec\"
27588 libdir="$acl_save_libdir"
27589 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
27590 else
27591 for found_dir in $rpathdirs; do
27592 acl_save_libdir="$libdir"
27593 libdir="$found_dir"
27594 eval flag=\"$hardcode_libdir_flag_spec\"
27595 libdir="$acl_save_libdir"
27596 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
27597 done
27600 if test "X$ltrpathdirs" != "X"; then
27601 for found_dir in $ltrpathdirs; do
27602 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
27603 done
27612 am_save_CPPFLAGS="$CPPFLAGS"
27614 for element in $INCICONV; do
27615 haveit=
27616 for x in $CPPFLAGS; do
27618 acl_save_prefix="$prefix"
27619 prefix="$acl_final_prefix"
27620 acl_save_exec_prefix="$exec_prefix"
27621 exec_prefix="$acl_final_exec_prefix"
27622 eval x=\"$x\"
27623 exec_prefix="$acl_save_exec_prefix"
27624 prefix="$acl_save_prefix"
27626 if test "X$x" = "X$element"; then
27627 haveit=yes
27628 break
27630 done
27631 if test -z "$haveit"; then
27632 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
27634 done
27637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
27638 $as_echo_n "checking for iconv... " >&6; }
27639 if test "${am_cv_func_iconv+set}" = set; then :
27640 $as_echo_n "(cached) " >&6
27641 else
27643 am_cv_func_iconv="no, consider installing GNU libiconv"
27644 am_cv_lib_iconv=no
27645 if test x$gcc_no_link = xyes; then
27646 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27649 /* end confdefs.h. */
27650 #include <stdlib.h>
27651 #include <iconv.h>
27653 main ()
27655 iconv_t cd = iconv_open("","");
27656 iconv(cd,NULL,NULL,NULL,NULL);
27657 iconv_close(cd);
27659 return 0;
27661 _ACEOF
27662 if ac_fn_c_try_link "$LINENO"; then :
27663 am_cv_func_iconv=yes
27665 rm -f core conftest.err conftest.$ac_objext \
27666 conftest$ac_exeext conftest.$ac_ext
27667 if test "$am_cv_func_iconv" != yes; then
27668 am_save_LIBS="$LIBS"
27669 LIBS="$LIBS $LIBICONV"
27670 if test x$gcc_no_link = xyes; then
27671 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27674 /* end confdefs.h. */
27675 #include <stdlib.h>
27676 #include <iconv.h>
27678 main ()
27680 iconv_t cd = iconv_open("","");
27681 iconv(cd,NULL,NULL,NULL,NULL);
27682 iconv_close(cd);
27684 return 0;
27686 _ACEOF
27687 if ac_fn_c_try_link "$LINENO"; then :
27688 am_cv_lib_iconv=yes
27689 am_cv_func_iconv=yes
27691 rm -f core conftest.err conftest.$ac_objext \
27692 conftest$ac_exeext conftest.$ac_ext
27693 LIBS="$am_save_LIBS"
27697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
27698 $as_echo "$am_cv_func_iconv" >&6; }
27699 if test "$am_cv_func_iconv" = yes; then
27701 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27704 if test "$am_cv_lib_iconv" = yes; then
27705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
27706 $as_echo_n "checking how to link with libiconv... " >&6; }
27707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
27708 $as_echo "$LIBICONV" >&6; }
27709 else
27710 CPPFLAGS="$am_save_CPPFLAGS"
27711 LIBICONV=
27712 LTLIBICONV=
27717 if test "$am_cv_func_iconv" = yes; then
27718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
27719 $as_echo_n "checking for iconv declaration... " >&6; }
27720 if test "${am_cv_proto_iconv+set}" = set; then :
27721 $as_echo_n "(cached) " >&6
27722 else
27724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27725 /* end confdefs.h. */
27727 #include <stdlib.h>
27728 #include <iconv.h>
27729 extern
27730 #ifdef __cplusplus
27732 #endif
27733 #if defined(__STDC__) || defined(__cplusplus)
27734 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
27735 #else
27736 size_t iconv();
27737 #endif
27740 main ()
27744 return 0;
27746 _ACEOF
27747 if ac_fn_c_try_compile "$LINENO"; then :
27748 am_cv_proto_iconv_arg1=""
27749 else
27750 am_cv_proto_iconv_arg1="const"
27752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27753 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);"
27756 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
27757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
27758 }$am_cv_proto_iconv" >&5
27759 $as_echo "${ac_t:-
27760 }$am_cv_proto_iconv" >&6; }
27762 cat >>confdefs.h <<_ACEOF
27763 #define ICONV_CONST $am_cv_proto_iconv_arg1
27764 _ACEOF
27769 else
27771 # This lets us hard-code the functionality we know we'll have in the cross
27772 # target environment. "Let" is a sugar-coated word placed on an especially
27773 # dull and tedious hack, actually.
27775 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
27776 # that involve linking, can't be used:
27777 # "cannot open sim-crt0.o"
27778 # "cannot open crt0.o"
27779 # etc. All this is because there currently exists no unified, consistent
27780 # way for top level CC information to be passed down to target directories:
27781 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
27782 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
27783 # crosses can be removed.
27785 # If Canadian cross, then don't pick up tools from the build directory.
27786 # Used only in GLIBCXX_EXPORT_INCLUDES.
27787 if test -n "$with_cross_host" &&
27788 test x"$build_alias" != x"$with_cross_host" &&
27789 test x"$build" != x"$target";
27790 then
27791 CANADIAN=yes
27792 else
27793 CANADIAN=no
27796 # Construct crosses by hand, eliminating bits that need ld...
27797 # GLIBCXX_CHECK_MATH_SUPPORT
27799 # First, test for "known" system libraries. We may be using newlib even
27800 # on a hosted environment.
27801 if test "x${with_newlib}" = "xyes"; then
27802 os_include_dir="os/newlib"
27803 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
27806 # GLIBCXX_CHECK_STDLIB_SUPPORT
27807 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
27810 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
27812 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
27814 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
27816 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
27818 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
27820 $as_echo "#define HAVE_COSF 1" >>confdefs.h
27822 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
27824 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
27826 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
27828 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
27830 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
27832 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
27834 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
27836 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
27838 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
27840 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
27842 $as_echo "#define HAVE_POWF 1" >>confdefs.h
27844 $as_echo "#define HAVE_SINF 1" >>confdefs.h
27846 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
27848 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
27850 $as_echo "#define HAVE_TANF 1" >>confdefs.h
27852 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
27855 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27857 else
27859 # Base decisions on target environment.
27860 case "${host}" in
27861 arm*-*-symbianelf*)
27862 # This is a freestanding configuration; there is nothing to do here.
27865 mips*-sde-elf*)
27866 # These definitions are for the SDE C library rather than newlib.
27867 SECTION_FLAGS='-ffunction-sections -fdata-sections'
27870 # All these tests are for C++; save the language and the compiler flags.
27871 # The CXXFLAGS thing is suspicious, but based on similar bits previously
27872 # found in GLIBCXX_CONFIGURE.
27874 ac_ext=cpp
27875 ac_cpp='$CXXCPP $CPPFLAGS'
27876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27880 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27881 ac_save_CXXFLAGS="$CXXFLAGS"
27883 # Check for maintainer-mode bits.
27884 if test x"$USE_MAINTAINER_MODE" = xno; then
27885 WERROR=''
27886 else
27887 WERROR='-Werror'
27890 # Check for -ffunction-sections -fdata-sections
27891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
27892 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
27893 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
27894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27895 /* end confdefs.h. */
27896 int foo; void bar() { };
27898 main ()
27902 return 0;
27904 _ACEOF
27905 if ac_fn_cxx_try_compile "$LINENO"; then :
27906 ac_fdsections=yes
27907 else
27908 ac_fdsections=no
27910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27911 if test "$ac_test_CXXFLAGS" = set; then
27912 CXXFLAGS="$ac_save_CXXFLAGS"
27913 else
27914 # this is the suspicious part
27915 CXXFLAGS=''
27917 if test x"$ac_fdsections" = x"yes"; then
27918 SECTION_FLAGS='-ffunction-sections -fdata-sections'
27920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
27921 $as_echo "$ac_fdsections" >&6; }
27923 ac_ext=c
27924 ac_cpp='$CPP $CPPFLAGS'
27925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27933 # If we're not using GNU ld, then there's no point in even trying these
27934 # tests. Check for that first. We should have already tested for gld
27935 # by now (in libtool), but require it now just to be safe...
27936 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
27937 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
27941 # The name set by libtool depends on the version of libtool. Shame on us
27942 # for depending on an impl detail, but c'est la vie. Older versions used
27943 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
27944 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
27945 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
27946 # set (hence we're using an older libtool), then set it.
27947 if test x${with_gnu_ld+set} != xset; then
27948 if test x${ac_cv_prog_gnu_ld+set} != xset; then
27949 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
27950 with_gnu_ld=no
27951 else
27952 with_gnu_ld=$ac_cv_prog_gnu_ld
27956 # Start by getting the version number. I think the libtool test already
27957 # does some of this, but throws away the result.
27958 glibcxx_ld_is_gold=no
27959 if test x"$with_gnu_ld" = x"yes"; then
27960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
27961 $as_echo_n "checking for ld version... " >&6; }
27963 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
27964 glibcxx_ld_is_gold=yes
27966 ldver=`$LD --version 2>/dev/null |
27967 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'`
27969 glibcxx_gnu_ld_version=`echo $ldver | \
27970 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
27971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
27972 $as_echo "$glibcxx_gnu_ld_version" >&6; }
27975 # Set --gc-sections.
27976 glibcxx_have_gc_sections=no
27977 if test "$glibcxx_ld_is_gold" = "yes"; then
27978 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
27979 glibcxx_have_gc_sections=yes
27981 else
27982 glibcxx_gcsections_min_ld=21602
27983 if test x"$with_gnu_ld" = x"yes" &&
27984 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
27985 glibcxx_have_gc_sections=yes
27988 if test "$glibcxx_have_gc_sections" = "yes"; then
27989 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
27990 # NB: This flag only works reliably after 2.16.1. Configure tests
27991 # for this are difficult, so hard wire a value that should work.
27993 ac_test_CFLAGS="${CFLAGS+set}"
27994 ac_save_CFLAGS="$CFLAGS"
27995 CFLAGS='-Wl,--gc-sections'
27997 # Check for -Wl,--gc-sections
27998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
27999 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
28000 if test x$gcc_no_link = xyes; then
28001 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28004 /* end confdefs.h. */
28005 int one(void) { return 1; }
28006 int two(void) { return 2; }
28009 main ()
28011 two();
28013 return 0;
28015 _ACEOF
28016 if ac_fn_c_try_link "$LINENO"; then :
28017 ac_gcsections=yes
28018 else
28019 ac_gcsections=no
28021 rm -f core conftest.err conftest.$ac_objext \
28022 conftest$ac_exeext conftest.$ac_ext
28023 if test "$ac_gcsections" = "yes"; then
28024 rm -f conftest.c
28025 touch conftest.c
28026 if $CC -c conftest.c; then
28027 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
28028 grep "Warning: gc-sections option ignored" > /dev/null; then
28029 ac_gcsections=no
28032 rm -f conftest.c conftest.o conftest
28034 if test "$ac_gcsections" = "yes"; then
28035 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
28037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
28038 $as_echo "$ac_gcsections" >&6; }
28040 if test "$ac_test_CFLAGS" = set; then
28041 CFLAGS="$ac_save_CFLAGS"
28042 else
28043 # this is the suspicious part
28044 CFLAGS=''
28048 # Set -z,relro.
28049 # Note this is only for shared objects.
28050 ac_ld_relro=no
28051 if test x"$with_gnu_ld" = x"yes"; then
28052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
28053 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
28054 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
28055 if test -n "$cxx_z_relo"; then
28056 OPT_LDFLAGS="-Wl,-z,relro"
28057 ac_ld_relro=yes
28059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
28060 $as_echo "$ac_ld_relro" >&6; }
28063 # Set linker optimization flags.
28064 if test x"$with_gnu_ld" = x"yes"; then
28065 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
28072 ac_test_CXXFLAGS="${CXXFLAGS+set}"
28073 ac_save_CXXFLAGS="$CXXFLAGS"
28074 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
28076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
28077 $as_echo_n "checking for sin in -lm... " >&6; }
28078 if test "${ac_cv_lib_m_sin+set}" = set; then :
28079 $as_echo_n "(cached) " >&6
28080 else
28081 ac_check_lib_save_LIBS=$LIBS
28082 LIBS="-lm $LIBS"
28083 if test x$gcc_no_link = xyes; then
28084 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28087 /* end confdefs.h. */
28089 /* Override any GCC internal prototype to avoid an error.
28090 Use char because int might match the return type of a GCC
28091 builtin and then its argument prototype would still apply. */
28092 #ifdef __cplusplus
28093 extern "C"
28094 #endif
28095 char sin ();
28097 main ()
28099 return sin ();
28101 return 0;
28103 _ACEOF
28104 if ac_fn_c_try_link "$LINENO"; then :
28105 ac_cv_lib_m_sin=yes
28106 else
28107 ac_cv_lib_m_sin=no
28109 rm -f core conftest.err conftest.$ac_objext \
28110 conftest$ac_exeext conftest.$ac_ext
28111 LIBS=$ac_check_lib_save_LIBS
28113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
28114 $as_echo "$ac_cv_lib_m_sin" >&6; }
28115 if test "x$ac_cv_lib_m_sin" = x""yes; then :
28116 libm="-lm"
28119 ac_save_LIBS="$LIBS"
28120 LIBS="$LIBS $libm"
28124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
28125 $as_echo_n "checking for isinf declaration... " >&6; }
28126 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
28127 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
28128 $as_echo_n "(cached) " >&6
28129 else
28132 ac_ext=cpp
28133 ac_cpp='$CXXCPP $CPPFLAGS'
28134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28139 /* end confdefs.h. */
28140 #include <math.h>
28141 #ifdef HAVE_IEEEFP_H
28142 #include <ieeefp.h>
28143 #endif
28146 main ()
28148 isinf(0);
28150 return 0;
28152 _ACEOF
28153 if ac_fn_cxx_try_compile "$LINENO"; then :
28154 glibcxx_cv_func_isinf_use=yes
28155 else
28156 glibcxx_cv_func_isinf_use=no
28158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28159 ac_ext=c
28160 ac_cpp='$CPP $CPPFLAGS'
28161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
28170 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
28172 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
28173 for ac_func in isinf
28174 do :
28175 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
28176 if test "x$ac_cv_func_isinf" = x""yes; then :
28177 cat >>confdefs.h <<_ACEOF
28178 #define HAVE_ISINF 1
28179 _ACEOF
28182 done
28184 else
28186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
28187 $as_echo_n "checking for _isinf declaration... " >&6; }
28188 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
28189 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
28190 $as_echo_n "(cached) " >&6
28191 else
28194 ac_ext=cpp
28195 ac_cpp='$CXXCPP $CPPFLAGS'
28196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28201 /* end confdefs.h. */
28202 #include <math.h>
28203 #ifdef HAVE_IEEEFP_H
28204 #include <ieeefp.h>
28205 #endif
28208 main ()
28210 _isinf(0);
28212 return 0;
28214 _ACEOF
28215 if ac_fn_cxx_try_compile "$LINENO"; then :
28216 glibcxx_cv_func__isinf_use=yes
28217 else
28218 glibcxx_cv_func__isinf_use=no
28220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28221 ac_ext=c
28222 ac_cpp='$CPP $CPPFLAGS'
28223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
28232 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
28234 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
28235 for ac_func in _isinf
28236 do :
28237 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
28238 if test "x$ac_cv_func__isinf" = x""yes; then :
28239 cat >>confdefs.h <<_ACEOF
28240 #define HAVE__ISINF 1
28241 _ACEOF
28244 done
28253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
28254 $as_echo_n "checking for isnan declaration... " >&6; }
28255 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
28256 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
28257 $as_echo_n "(cached) " >&6
28258 else
28261 ac_ext=cpp
28262 ac_cpp='$CXXCPP $CPPFLAGS'
28263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28268 /* end confdefs.h. */
28269 #include <math.h>
28270 #ifdef HAVE_IEEEFP_H
28271 #include <ieeefp.h>
28272 #endif
28275 main ()
28277 isnan(0);
28279 return 0;
28281 _ACEOF
28282 if ac_fn_cxx_try_compile "$LINENO"; then :
28283 glibcxx_cv_func_isnan_use=yes
28284 else
28285 glibcxx_cv_func_isnan_use=no
28287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28288 ac_ext=c
28289 ac_cpp='$CPP $CPPFLAGS'
28290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
28299 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
28301 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
28302 for ac_func in isnan
28303 do :
28304 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
28305 if test "x$ac_cv_func_isnan" = x""yes; then :
28306 cat >>confdefs.h <<_ACEOF
28307 #define HAVE_ISNAN 1
28308 _ACEOF
28311 done
28313 else
28315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
28316 $as_echo_n "checking for _isnan declaration... " >&6; }
28317 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
28318 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
28319 $as_echo_n "(cached) " >&6
28320 else
28323 ac_ext=cpp
28324 ac_cpp='$CXXCPP $CPPFLAGS'
28325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28330 /* end confdefs.h. */
28331 #include <math.h>
28332 #ifdef HAVE_IEEEFP_H
28333 #include <ieeefp.h>
28334 #endif
28337 main ()
28339 _isnan(0);
28341 return 0;
28343 _ACEOF
28344 if ac_fn_cxx_try_compile "$LINENO"; then :
28345 glibcxx_cv_func__isnan_use=yes
28346 else
28347 glibcxx_cv_func__isnan_use=no
28349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28350 ac_ext=c
28351 ac_cpp='$CPP $CPPFLAGS'
28352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
28361 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
28363 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
28364 for ac_func in _isnan
28365 do :
28366 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
28367 if test "x$ac_cv_func__isnan" = x""yes; then :
28368 cat >>confdefs.h <<_ACEOF
28369 #define HAVE__ISNAN 1
28370 _ACEOF
28373 done
28382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
28383 $as_echo_n "checking for finite declaration... " >&6; }
28384 if test x${glibcxx_cv_func_finite_use+set} != xset; then
28385 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
28386 $as_echo_n "(cached) " >&6
28387 else
28390 ac_ext=cpp
28391 ac_cpp='$CXXCPP $CPPFLAGS'
28392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28397 /* end confdefs.h. */
28398 #include <math.h>
28399 #ifdef HAVE_IEEEFP_H
28400 #include <ieeefp.h>
28401 #endif
28404 main ()
28406 finite(0);
28408 return 0;
28410 _ACEOF
28411 if ac_fn_cxx_try_compile "$LINENO"; then :
28412 glibcxx_cv_func_finite_use=yes
28413 else
28414 glibcxx_cv_func_finite_use=no
28416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28417 ac_ext=c
28418 ac_cpp='$CPP $CPPFLAGS'
28419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
28428 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
28430 if test x$glibcxx_cv_func_finite_use = x"yes"; then
28431 for ac_func in finite
28432 do :
28433 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
28434 if test "x$ac_cv_func_finite" = x""yes; then :
28435 cat >>confdefs.h <<_ACEOF
28436 #define HAVE_FINITE 1
28437 _ACEOF
28440 done
28442 else
28444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
28445 $as_echo_n "checking for _finite declaration... " >&6; }
28446 if test x${glibcxx_cv_func__finite_use+set} != xset; then
28447 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
28448 $as_echo_n "(cached) " >&6
28449 else
28452 ac_ext=cpp
28453 ac_cpp='$CXXCPP $CPPFLAGS'
28454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28459 /* end confdefs.h. */
28460 #include <math.h>
28461 #ifdef HAVE_IEEEFP_H
28462 #include <ieeefp.h>
28463 #endif
28466 main ()
28468 _finite(0);
28470 return 0;
28472 _ACEOF
28473 if ac_fn_cxx_try_compile "$LINENO"; then :
28474 glibcxx_cv_func__finite_use=yes
28475 else
28476 glibcxx_cv_func__finite_use=no
28478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28479 ac_ext=c
28480 ac_cpp='$CPP $CPPFLAGS'
28481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
28490 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
28492 if test x$glibcxx_cv_func__finite_use = x"yes"; then
28493 for ac_func in _finite
28494 do :
28495 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
28496 if test "x$ac_cv_func__finite" = x""yes; then :
28497 cat >>confdefs.h <<_ACEOF
28498 #define HAVE__FINITE 1
28499 _ACEOF
28502 done
28511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
28512 $as_echo_n "checking for sincos declaration... " >&6; }
28513 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
28514 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
28515 $as_echo_n "(cached) " >&6
28516 else
28519 ac_ext=cpp
28520 ac_cpp='$CXXCPP $CPPFLAGS'
28521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28526 /* end confdefs.h. */
28527 #include <math.h>
28529 main ()
28531 sincos(0, 0, 0);
28533 return 0;
28535 _ACEOF
28536 if ac_fn_cxx_try_compile "$LINENO"; then :
28537 glibcxx_cv_func_sincos_use=yes
28538 else
28539 glibcxx_cv_func_sincos_use=no
28541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28542 ac_ext=c
28543 ac_cpp='$CPP $CPPFLAGS'
28544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
28553 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
28555 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
28556 for ac_func in sincos
28557 do :
28558 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
28559 if test "x$ac_cv_func_sincos" = x""yes; then :
28560 cat >>confdefs.h <<_ACEOF
28561 #define HAVE_SINCOS 1
28562 _ACEOF
28565 done
28567 else
28569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
28570 $as_echo_n "checking for _sincos declaration... " >&6; }
28571 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
28572 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
28573 $as_echo_n "(cached) " >&6
28574 else
28577 ac_ext=cpp
28578 ac_cpp='$CXXCPP $CPPFLAGS'
28579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28584 /* end confdefs.h. */
28585 #include <math.h>
28587 main ()
28589 _sincos(0, 0, 0);
28591 return 0;
28593 _ACEOF
28594 if ac_fn_cxx_try_compile "$LINENO"; then :
28595 glibcxx_cv_func__sincos_use=yes
28596 else
28597 glibcxx_cv_func__sincos_use=no
28599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28600 ac_ext=c
28601 ac_cpp='$CPP $CPPFLAGS'
28602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
28611 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
28613 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
28614 for ac_func in _sincos
28615 do :
28616 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
28617 if test "x$ac_cv_func__sincos" = x""yes; then :
28618 cat >>confdefs.h <<_ACEOF
28619 #define HAVE__SINCOS 1
28620 _ACEOF
28623 done
28632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
28633 $as_echo_n "checking for fpclass declaration... " >&6; }
28634 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
28635 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
28636 $as_echo_n "(cached) " >&6
28637 else
28640 ac_ext=cpp
28641 ac_cpp='$CXXCPP $CPPFLAGS'
28642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28647 /* end confdefs.h. */
28648 #include <math.h>
28649 #ifdef HAVE_IEEEFP_H
28650 #include <ieeefp.h>
28651 #endif
28654 main ()
28656 fpclass(0);
28658 return 0;
28660 _ACEOF
28661 if ac_fn_cxx_try_compile "$LINENO"; then :
28662 glibcxx_cv_func_fpclass_use=yes
28663 else
28664 glibcxx_cv_func_fpclass_use=no
28666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28667 ac_ext=c
28668 ac_cpp='$CPP $CPPFLAGS'
28669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
28678 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
28680 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
28681 for ac_func in fpclass
28682 do :
28683 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
28684 if test "x$ac_cv_func_fpclass" = x""yes; then :
28685 cat >>confdefs.h <<_ACEOF
28686 #define HAVE_FPCLASS 1
28687 _ACEOF
28690 done
28692 else
28694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
28695 $as_echo_n "checking for _fpclass declaration... " >&6; }
28696 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
28697 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
28698 $as_echo_n "(cached) " >&6
28699 else
28702 ac_ext=cpp
28703 ac_cpp='$CXXCPP $CPPFLAGS'
28704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28709 /* end confdefs.h. */
28710 #include <math.h>
28711 #ifdef HAVE_IEEEFP_H
28712 #include <ieeefp.h>
28713 #endif
28716 main ()
28718 _fpclass(0);
28720 return 0;
28722 _ACEOF
28723 if ac_fn_cxx_try_compile "$LINENO"; then :
28724 glibcxx_cv_func__fpclass_use=yes
28725 else
28726 glibcxx_cv_func__fpclass_use=no
28728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28729 ac_ext=c
28730 ac_cpp='$CPP $CPPFLAGS'
28731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
28740 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
28742 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
28743 for ac_func in _fpclass
28744 do :
28745 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
28746 if test "x$ac_cv_func__fpclass" = x""yes; then :
28747 cat >>confdefs.h <<_ACEOF
28748 #define HAVE__FPCLASS 1
28749 _ACEOF
28752 done
28761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
28762 $as_echo_n "checking for qfpclass declaration... " >&6; }
28763 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
28764 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
28765 $as_echo_n "(cached) " >&6
28766 else
28769 ac_ext=cpp
28770 ac_cpp='$CXXCPP $CPPFLAGS'
28771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28776 /* end confdefs.h. */
28777 #include <math.h>
28778 #ifdef HAVE_IEEEFP_H
28779 #include <ieeefp.h>
28780 #endif
28783 main ()
28785 qfpclass(0);
28787 return 0;
28789 _ACEOF
28790 if ac_fn_cxx_try_compile "$LINENO"; then :
28791 glibcxx_cv_func_qfpclass_use=yes
28792 else
28793 glibcxx_cv_func_qfpclass_use=no
28795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28796 ac_ext=c
28797 ac_cpp='$CPP $CPPFLAGS'
28798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
28807 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
28809 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
28810 for ac_func in qfpclass
28811 do :
28812 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
28813 if test "x$ac_cv_func_qfpclass" = x""yes; then :
28814 cat >>confdefs.h <<_ACEOF
28815 #define HAVE_QFPCLASS 1
28816 _ACEOF
28819 done
28821 else
28823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
28824 $as_echo_n "checking for _qfpclass declaration... " >&6; }
28825 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
28826 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
28827 $as_echo_n "(cached) " >&6
28828 else
28831 ac_ext=cpp
28832 ac_cpp='$CXXCPP $CPPFLAGS'
28833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28838 /* end confdefs.h. */
28839 #include <math.h>
28840 #ifdef HAVE_IEEEFP_H
28841 #include <ieeefp.h>
28842 #endif
28845 main ()
28847 _qfpclass(0);
28849 return 0;
28851 _ACEOF
28852 if ac_fn_cxx_try_compile "$LINENO"; then :
28853 glibcxx_cv_func__qfpclass_use=yes
28854 else
28855 glibcxx_cv_func__qfpclass_use=no
28857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28858 ac_ext=c
28859 ac_cpp='$CPP $CPPFLAGS'
28860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
28869 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
28871 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
28872 for ac_func in _qfpclass
28873 do :
28874 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
28875 if test "x$ac_cv_func__qfpclass" = x""yes; then :
28876 cat >>confdefs.h <<_ACEOF
28877 #define HAVE__QFPCLASS 1
28878 _ACEOF
28881 done
28890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
28891 $as_echo_n "checking for hypot declaration... " >&6; }
28892 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
28893 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
28894 $as_echo_n "(cached) " >&6
28895 else
28898 ac_ext=cpp
28899 ac_cpp='$CXXCPP $CPPFLAGS'
28900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28905 /* end confdefs.h. */
28906 #include <math.h>
28908 main ()
28910 hypot(0, 0);
28912 return 0;
28914 _ACEOF
28915 if ac_fn_cxx_try_compile "$LINENO"; then :
28916 glibcxx_cv_func_hypot_use=yes
28917 else
28918 glibcxx_cv_func_hypot_use=no
28920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28921 ac_ext=c
28922 ac_cpp='$CPP $CPPFLAGS'
28923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
28932 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
28934 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
28935 for ac_func in hypot
28936 do :
28937 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
28938 if test "x$ac_cv_func_hypot" = x""yes; then :
28939 cat >>confdefs.h <<_ACEOF
28940 #define HAVE_HYPOT 1
28941 _ACEOF
28944 done
28946 else
28948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
28949 $as_echo_n "checking for _hypot declaration... " >&6; }
28950 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
28951 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
28952 $as_echo_n "(cached) " >&6
28953 else
28956 ac_ext=cpp
28957 ac_cpp='$CXXCPP $CPPFLAGS'
28958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28963 /* end confdefs.h. */
28964 #include <math.h>
28966 main ()
28968 _hypot(0, 0);
28970 return 0;
28972 _ACEOF
28973 if ac_fn_cxx_try_compile "$LINENO"; then :
28974 glibcxx_cv_func__hypot_use=yes
28975 else
28976 glibcxx_cv_func__hypot_use=no
28978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28979 ac_ext=c
28980 ac_cpp='$CPP $CPPFLAGS'
28981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
28990 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
28992 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
28993 for ac_func in _hypot
28994 do :
28995 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
28996 if test "x$ac_cv_func__hypot" = x""yes; then :
28997 cat >>confdefs.h <<_ACEOF
28998 #define HAVE__HYPOT 1
28999 _ACEOF
29002 done
29011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
29012 $as_echo_n "checking for float trig functions... " >&6; }
29013 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
29014 $as_echo_n "(cached) " >&6
29015 else
29018 ac_ext=cpp
29019 ac_cpp='$CXXCPP $CPPFLAGS'
29020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29025 /* end confdefs.h. */
29026 #include <math.h>
29028 main ()
29030 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
29032 return 0;
29034 _ACEOF
29035 if ac_fn_cxx_try_compile "$LINENO"; then :
29036 glibcxx_cv_func_float_trig_use=yes
29037 else
29038 glibcxx_cv_func_float_trig_use=no
29040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29041 ac_ext=c
29042 ac_cpp='$CPP $CPPFLAGS'
29043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
29050 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
29051 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
29052 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
29053 do :
29054 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29055 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29056 eval as_val=\$$as_ac_var
29057 if test "x$as_val" = x""yes; then :
29058 cat >>confdefs.h <<_ACEOF
29059 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29060 _ACEOF
29063 done
29065 else
29066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
29067 $as_echo_n "checking for _float trig functions... " >&6; }
29068 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
29069 $as_echo_n "(cached) " >&6
29070 else
29073 ac_ext=cpp
29074 ac_cpp='$CXXCPP $CPPFLAGS'
29075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29080 /* end confdefs.h. */
29081 #include <math.h>
29083 main ()
29085 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
29087 return 0;
29089 _ACEOF
29090 if ac_fn_cxx_try_compile "$LINENO"; then :
29091 glibcxx_cv_func__float_trig_use=yes
29092 else
29093 glibcxx_cv_func__float_trig_use=no
29095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29096 ac_ext=c
29097 ac_cpp='$CPP $CPPFLAGS'
29098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
29105 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
29106 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
29107 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
29108 do :
29109 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29110 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29111 eval as_val=\$$as_ac_var
29112 if test "x$as_val" = x""yes; then :
29113 cat >>confdefs.h <<_ACEOF
29114 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29115 _ACEOF
29118 done
29127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
29128 $as_echo_n "checking for float round functions... " >&6; }
29129 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
29130 $as_echo_n "(cached) " >&6
29131 else
29134 ac_ext=cpp
29135 ac_cpp='$CXXCPP $CPPFLAGS'
29136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29141 /* end confdefs.h. */
29142 #include <math.h>
29144 main ()
29146 ceilf (0); floorf (0);
29148 return 0;
29150 _ACEOF
29151 if ac_fn_cxx_try_compile "$LINENO"; then :
29152 glibcxx_cv_func_float_round_use=yes
29153 else
29154 glibcxx_cv_func_float_round_use=no
29156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29157 ac_ext=c
29158 ac_cpp='$CPP $CPPFLAGS'
29159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
29166 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
29167 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
29168 for ac_func in ceilf floorf
29169 do :
29170 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29171 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29172 eval as_val=\$$as_ac_var
29173 if test "x$as_val" = x""yes; then :
29174 cat >>confdefs.h <<_ACEOF
29175 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29176 _ACEOF
29179 done
29181 else
29182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
29183 $as_echo_n "checking for _float round functions... " >&6; }
29184 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
29185 $as_echo_n "(cached) " >&6
29186 else
29189 ac_ext=cpp
29190 ac_cpp='$CXXCPP $CPPFLAGS'
29191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29196 /* end confdefs.h. */
29197 #include <math.h>
29199 main ()
29201 _ceilf (0); _floorf (0);
29203 return 0;
29205 _ACEOF
29206 if ac_fn_cxx_try_compile "$LINENO"; then :
29207 glibcxx_cv_func__float_round_use=yes
29208 else
29209 glibcxx_cv_func__float_round_use=no
29211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29212 ac_ext=c
29213 ac_cpp='$CPP $CPPFLAGS'
29214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
29221 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
29222 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
29223 for ac_func in _ceilf _floorf
29224 do :
29225 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29226 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29227 eval as_val=\$$as_ac_var
29228 if test "x$as_val" = x""yes; then :
29229 cat >>confdefs.h <<_ACEOF
29230 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29231 _ACEOF
29234 done
29244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
29245 $as_echo_n "checking for expf declaration... " >&6; }
29246 if test x${glibcxx_cv_func_expf_use+set} != xset; then
29247 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
29248 $as_echo_n "(cached) " >&6
29249 else
29252 ac_ext=cpp
29253 ac_cpp='$CXXCPP $CPPFLAGS'
29254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29259 /* end confdefs.h. */
29260 #include <math.h>
29261 #ifdef HAVE_IEEEFP_H
29262 #include <ieeefp.h>
29263 #endif
29266 main ()
29268 expf(0);
29270 return 0;
29272 _ACEOF
29273 if ac_fn_cxx_try_compile "$LINENO"; then :
29274 glibcxx_cv_func_expf_use=yes
29275 else
29276 glibcxx_cv_func_expf_use=no
29278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29279 ac_ext=c
29280 ac_cpp='$CPP $CPPFLAGS'
29281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
29290 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
29292 if test x$glibcxx_cv_func_expf_use = x"yes"; then
29293 for ac_func in expf
29294 do :
29295 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
29296 if test "x$ac_cv_func_expf" = x""yes; then :
29297 cat >>confdefs.h <<_ACEOF
29298 #define HAVE_EXPF 1
29299 _ACEOF
29302 done
29304 else
29306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
29307 $as_echo_n "checking for _expf declaration... " >&6; }
29308 if test x${glibcxx_cv_func__expf_use+set} != xset; then
29309 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
29310 $as_echo_n "(cached) " >&6
29311 else
29314 ac_ext=cpp
29315 ac_cpp='$CXXCPP $CPPFLAGS'
29316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29321 /* end confdefs.h. */
29322 #include <math.h>
29323 #ifdef HAVE_IEEEFP_H
29324 #include <ieeefp.h>
29325 #endif
29328 main ()
29330 _expf(0);
29332 return 0;
29334 _ACEOF
29335 if ac_fn_cxx_try_compile "$LINENO"; then :
29336 glibcxx_cv_func__expf_use=yes
29337 else
29338 glibcxx_cv_func__expf_use=no
29340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29341 ac_ext=c
29342 ac_cpp='$CPP $CPPFLAGS'
29343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
29352 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
29354 if test x$glibcxx_cv_func__expf_use = x"yes"; then
29355 for ac_func in _expf
29356 do :
29357 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
29358 if test "x$ac_cv_func__expf" = x""yes; then :
29359 cat >>confdefs.h <<_ACEOF
29360 #define HAVE__EXPF 1
29361 _ACEOF
29364 done
29373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
29374 $as_echo_n "checking for isnanf declaration... " >&6; }
29375 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
29376 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
29377 $as_echo_n "(cached) " >&6
29378 else
29381 ac_ext=cpp
29382 ac_cpp='$CXXCPP $CPPFLAGS'
29383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29388 /* end confdefs.h. */
29389 #include <math.h>
29390 #ifdef HAVE_IEEEFP_H
29391 #include <ieeefp.h>
29392 #endif
29395 main ()
29397 isnanf(0);
29399 return 0;
29401 _ACEOF
29402 if ac_fn_cxx_try_compile "$LINENO"; then :
29403 glibcxx_cv_func_isnanf_use=yes
29404 else
29405 glibcxx_cv_func_isnanf_use=no
29407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29408 ac_ext=c
29409 ac_cpp='$CPP $CPPFLAGS'
29410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
29419 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
29421 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
29422 for ac_func in isnanf
29423 do :
29424 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
29425 if test "x$ac_cv_func_isnanf" = x""yes; then :
29426 cat >>confdefs.h <<_ACEOF
29427 #define HAVE_ISNANF 1
29428 _ACEOF
29431 done
29433 else
29435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
29436 $as_echo_n "checking for _isnanf declaration... " >&6; }
29437 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
29438 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
29439 $as_echo_n "(cached) " >&6
29440 else
29443 ac_ext=cpp
29444 ac_cpp='$CXXCPP $CPPFLAGS'
29445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29450 /* end confdefs.h. */
29451 #include <math.h>
29452 #ifdef HAVE_IEEEFP_H
29453 #include <ieeefp.h>
29454 #endif
29457 main ()
29459 _isnanf(0);
29461 return 0;
29463 _ACEOF
29464 if ac_fn_cxx_try_compile "$LINENO"; then :
29465 glibcxx_cv_func__isnanf_use=yes
29466 else
29467 glibcxx_cv_func__isnanf_use=no
29469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29470 ac_ext=c
29471 ac_cpp='$CPP $CPPFLAGS'
29472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
29481 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
29483 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
29484 for ac_func in _isnanf
29485 do :
29486 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
29487 if test "x$ac_cv_func__isnanf" = x""yes; then :
29488 cat >>confdefs.h <<_ACEOF
29489 #define HAVE__ISNANF 1
29490 _ACEOF
29493 done
29502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
29503 $as_echo_n "checking for isinff declaration... " >&6; }
29504 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
29505 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
29506 $as_echo_n "(cached) " >&6
29507 else
29510 ac_ext=cpp
29511 ac_cpp='$CXXCPP $CPPFLAGS'
29512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29517 /* end confdefs.h. */
29518 #include <math.h>
29519 #ifdef HAVE_IEEEFP_H
29520 #include <ieeefp.h>
29521 #endif
29524 main ()
29526 isinff(0);
29528 return 0;
29530 _ACEOF
29531 if ac_fn_cxx_try_compile "$LINENO"; then :
29532 glibcxx_cv_func_isinff_use=yes
29533 else
29534 glibcxx_cv_func_isinff_use=no
29536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29537 ac_ext=c
29538 ac_cpp='$CPP $CPPFLAGS'
29539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
29548 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
29550 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
29551 for ac_func in isinff
29552 do :
29553 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
29554 if test "x$ac_cv_func_isinff" = x""yes; then :
29555 cat >>confdefs.h <<_ACEOF
29556 #define HAVE_ISINFF 1
29557 _ACEOF
29560 done
29562 else
29564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
29565 $as_echo_n "checking for _isinff declaration... " >&6; }
29566 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
29567 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
29568 $as_echo_n "(cached) " >&6
29569 else
29572 ac_ext=cpp
29573 ac_cpp='$CXXCPP $CPPFLAGS'
29574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29579 /* end confdefs.h. */
29580 #include <math.h>
29581 #ifdef HAVE_IEEEFP_H
29582 #include <ieeefp.h>
29583 #endif
29586 main ()
29588 _isinff(0);
29590 return 0;
29592 _ACEOF
29593 if ac_fn_cxx_try_compile "$LINENO"; then :
29594 glibcxx_cv_func__isinff_use=yes
29595 else
29596 glibcxx_cv_func__isinff_use=no
29598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29599 ac_ext=c
29600 ac_cpp='$CPP $CPPFLAGS'
29601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
29610 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
29612 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
29613 for ac_func in _isinff
29614 do :
29615 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
29616 if test "x$ac_cv_func__isinff" = x""yes; then :
29617 cat >>confdefs.h <<_ACEOF
29618 #define HAVE__ISINFF 1
29619 _ACEOF
29622 done
29631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
29632 $as_echo_n "checking for atan2f declaration... " >&6; }
29633 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
29634 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
29635 $as_echo_n "(cached) " >&6
29636 else
29639 ac_ext=cpp
29640 ac_cpp='$CXXCPP $CPPFLAGS'
29641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29646 /* end confdefs.h. */
29647 #include <math.h>
29649 main ()
29651 atan2f(0, 0);
29653 return 0;
29655 _ACEOF
29656 if ac_fn_cxx_try_compile "$LINENO"; then :
29657 glibcxx_cv_func_atan2f_use=yes
29658 else
29659 glibcxx_cv_func_atan2f_use=no
29661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29662 ac_ext=c
29663 ac_cpp='$CPP $CPPFLAGS'
29664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
29673 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
29675 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
29676 for ac_func in atan2f
29677 do :
29678 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
29679 if test "x$ac_cv_func_atan2f" = x""yes; then :
29680 cat >>confdefs.h <<_ACEOF
29681 #define HAVE_ATAN2F 1
29682 _ACEOF
29685 done
29687 else
29689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
29690 $as_echo_n "checking for _atan2f declaration... " >&6; }
29691 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
29692 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
29693 $as_echo_n "(cached) " >&6
29694 else
29697 ac_ext=cpp
29698 ac_cpp='$CXXCPP $CPPFLAGS'
29699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29704 /* end confdefs.h. */
29705 #include <math.h>
29707 main ()
29709 _atan2f(0, 0);
29711 return 0;
29713 _ACEOF
29714 if ac_fn_cxx_try_compile "$LINENO"; then :
29715 glibcxx_cv_func__atan2f_use=yes
29716 else
29717 glibcxx_cv_func__atan2f_use=no
29719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29720 ac_ext=c
29721 ac_cpp='$CPP $CPPFLAGS'
29722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
29731 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
29733 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
29734 for ac_func in _atan2f
29735 do :
29736 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
29737 if test "x$ac_cv_func__atan2f" = x""yes; then :
29738 cat >>confdefs.h <<_ACEOF
29739 #define HAVE__ATAN2F 1
29740 _ACEOF
29743 done
29752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
29753 $as_echo_n "checking for fabsf declaration... " >&6; }
29754 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
29755 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
29756 $as_echo_n "(cached) " >&6
29757 else
29760 ac_ext=cpp
29761 ac_cpp='$CXXCPP $CPPFLAGS'
29762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29767 /* end confdefs.h. */
29768 #include <math.h>
29769 #ifdef HAVE_IEEEFP_H
29770 #include <ieeefp.h>
29771 #endif
29774 main ()
29776 fabsf(0);
29778 return 0;
29780 _ACEOF
29781 if ac_fn_cxx_try_compile "$LINENO"; then :
29782 glibcxx_cv_func_fabsf_use=yes
29783 else
29784 glibcxx_cv_func_fabsf_use=no
29786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29787 ac_ext=c
29788 ac_cpp='$CPP $CPPFLAGS'
29789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
29798 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
29800 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
29801 for ac_func in fabsf
29802 do :
29803 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
29804 if test "x$ac_cv_func_fabsf" = x""yes; then :
29805 cat >>confdefs.h <<_ACEOF
29806 #define HAVE_FABSF 1
29807 _ACEOF
29810 done
29812 else
29814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
29815 $as_echo_n "checking for _fabsf declaration... " >&6; }
29816 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
29817 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
29818 $as_echo_n "(cached) " >&6
29819 else
29822 ac_ext=cpp
29823 ac_cpp='$CXXCPP $CPPFLAGS'
29824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29829 /* end confdefs.h. */
29830 #include <math.h>
29831 #ifdef HAVE_IEEEFP_H
29832 #include <ieeefp.h>
29833 #endif
29836 main ()
29838 _fabsf(0);
29840 return 0;
29842 _ACEOF
29843 if ac_fn_cxx_try_compile "$LINENO"; then :
29844 glibcxx_cv_func__fabsf_use=yes
29845 else
29846 glibcxx_cv_func__fabsf_use=no
29848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29849 ac_ext=c
29850 ac_cpp='$CPP $CPPFLAGS'
29851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
29860 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
29862 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
29863 for ac_func in _fabsf
29864 do :
29865 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
29866 if test "x$ac_cv_func__fabsf" = x""yes; then :
29867 cat >>confdefs.h <<_ACEOF
29868 #define HAVE__FABSF 1
29869 _ACEOF
29872 done
29881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
29882 $as_echo_n "checking for fmodf declaration... " >&6; }
29883 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
29884 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
29885 $as_echo_n "(cached) " >&6
29886 else
29889 ac_ext=cpp
29890 ac_cpp='$CXXCPP $CPPFLAGS'
29891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29896 /* end confdefs.h. */
29897 #include <math.h>
29899 main ()
29901 fmodf(0, 0);
29903 return 0;
29905 _ACEOF
29906 if ac_fn_cxx_try_compile "$LINENO"; then :
29907 glibcxx_cv_func_fmodf_use=yes
29908 else
29909 glibcxx_cv_func_fmodf_use=no
29911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29912 ac_ext=c
29913 ac_cpp='$CPP $CPPFLAGS'
29914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
29923 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
29925 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
29926 for ac_func in fmodf
29927 do :
29928 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
29929 if test "x$ac_cv_func_fmodf" = x""yes; then :
29930 cat >>confdefs.h <<_ACEOF
29931 #define HAVE_FMODF 1
29932 _ACEOF
29935 done
29937 else
29939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
29940 $as_echo_n "checking for _fmodf declaration... " >&6; }
29941 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
29942 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
29943 $as_echo_n "(cached) " >&6
29944 else
29947 ac_ext=cpp
29948 ac_cpp='$CXXCPP $CPPFLAGS'
29949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29954 /* end confdefs.h. */
29955 #include <math.h>
29957 main ()
29959 _fmodf(0, 0);
29961 return 0;
29963 _ACEOF
29964 if ac_fn_cxx_try_compile "$LINENO"; then :
29965 glibcxx_cv_func__fmodf_use=yes
29966 else
29967 glibcxx_cv_func__fmodf_use=no
29969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29970 ac_ext=c
29971 ac_cpp='$CPP $CPPFLAGS'
29972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
29981 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
29983 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
29984 for ac_func in _fmodf
29985 do :
29986 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
29987 if test "x$ac_cv_func__fmodf" = x""yes; then :
29988 cat >>confdefs.h <<_ACEOF
29989 #define HAVE__FMODF 1
29990 _ACEOF
29993 done
30002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
30003 $as_echo_n "checking for frexpf declaration... " >&6; }
30004 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
30005 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
30006 $as_echo_n "(cached) " >&6
30007 else
30010 ac_ext=cpp
30011 ac_cpp='$CXXCPP $CPPFLAGS'
30012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30017 /* end confdefs.h. */
30018 #include <math.h>
30020 main ()
30022 frexpf(0, 0);
30024 return 0;
30026 _ACEOF
30027 if ac_fn_cxx_try_compile "$LINENO"; then :
30028 glibcxx_cv_func_frexpf_use=yes
30029 else
30030 glibcxx_cv_func_frexpf_use=no
30032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30033 ac_ext=c
30034 ac_cpp='$CPP $CPPFLAGS'
30035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
30044 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
30046 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
30047 for ac_func in frexpf
30048 do :
30049 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
30050 if test "x$ac_cv_func_frexpf" = x""yes; then :
30051 cat >>confdefs.h <<_ACEOF
30052 #define HAVE_FREXPF 1
30053 _ACEOF
30056 done
30058 else
30060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
30061 $as_echo_n "checking for _frexpf declaration... " >&6; }
30062 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
30063 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
30064 $as_echo_n "(cached) " >&6
30065 else
30068 ac_ext=cpp
30069 ac_cpp='$CXXCPP $CPPFLAGS'
30070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30075 /* end confdefs.h. */
30076 #include <math.h>
30078 main ()
30080 _frexpf(0, 0);
30082 return 0;
30084 _ACEOF
30085 if ac_fn_cxx_try_compile "$LINENO"; then :
30086 glibcxx_cv_func__frexpf_use=yes
30087 else
30088 glibcxx_cv_func__frexpf_use=no
30090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30091 ac_ext=c
30092 ac_cpp='$CPP $CPPFLAGS'
30093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
30102 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
30104 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
30105 for ac_func in _frexpf
30106 do :
30107 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
30108 if test "x$ac_cv_func__frexpf" = x""yes; then :
30109 cat >>confdefs.h <<_ACEOF
30110 #define HAVE__FREXPF 1
30111 _ACEOF
30114 done
30123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
30124 $as_echo_n "checking for hypotf declaration... " >&6; }
30125 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
30126 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
30127 $as_echo_n "(cached) " >&6
30128 else
30131 ac_ext=cpp
30132 ac_cpp='$CXXCPP $CPPFLAGS'
30133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30138 /* end confdefs.h. */
30139 #include <math.h>
30141 main ()
30143 hypotf(0, 0);
30145 return 0;
30147 _ACEOF
30148 if ac_fn_cxx_try_compile "$LINENO"; then :
30149 glibcxx_cv_func_hypotf_use=yes
30150 else
30151 glibcxx_cv_func_hypotf_use=no
30153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30154 ac_ext=c
30155 ac_cpp='$CPP $CPPFLAGS'
30156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
30165 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
30167 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
30168 for ac_func in hypotf
30169 do :
30170 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
30171 if test "x$ac_cv_func_hypotf" = x""yes; then :
30172 cat >>confdefs.h <<_ACEOF
30173 #define HAVE_HYPOTF 1
30174 _ACEOF
30177 done
30179 else
30181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
30182 $as_echo_n "checking for _hypotf declaration... " >&6; }
30183 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
30184 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
30185 $as_echo_n "(cached) " >&6
30186 else
30189 ac_ext=cpp
30190 ac_cpp='$CXXCPP $CPPFLAGS'
30191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30196 /* end confdefs.h. */
30197 #include <math.h>
30199 main ()
30201 _hypotf(0, 0);
30203 return 0;
30205 _ACEOF
30206 if ac_fn_cxx_try_compile "$LINENO"; then :
30207 glibcxx_cv_func__hypotf_use=yes
30208 else
30209 glibcxx_cv_func__hypotf_use=no
30211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30212 ac_ext=c
30213 ac_cpp='$CPP $CPPFLAGS'
30214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
30223 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
30225 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
30226 for ac_func in _hypotf
30227 do :
30228 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
30229 if test "x$ac_cv_func__hypotf" = x""yes; then :
30230 cat >>confdefs.h <<_ACEOF
30231 #define HAVE__HYPOTF 1
30232 _ACEOF
30235 done
30244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
30245 $as_echo_n "checking for ldexpf declaration... " >&6; }
30246 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
30247 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
30248 $as_echo_n "(cached) " >&6
30249 else
30252 ac_ext=cpp
30253 ac_cpp='$CXXCPP $CPPFLAGS'
30254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30259 /* end confdefs.h. */
30260 #include <math.h>
30262 main ()
30264 ldexpf(0, 0);
30266 return 0;
30268 _ACEOF
30269 if ac_fn_cxx_try_compile "$LINENO"; then :
30270 glibcxx_cv_func_ldexpf_use=yes
30271 else
30272 glibcxx_cv_func_ldexpf_use=no
30274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30275 ac_ext=c
30276 ac_cpp='$CPP $CPPFLAGS'
30277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
30286 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
30288 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
30289 for ac_func in ldexpf
30290 do :
30291 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
30292 if test "x$ac_cv_func_ldexpf" = x""yes; then :
30293 cat >>confdefs.h <<_ACEOF
30294 #define HAVE_LDEXPF 1
30295 _ACEOF
30298 done
30300 else
30302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
30303 $as_echo_n "checking for _ldexpf declaration... " >&6; }
30304 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
30305 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
30306 $as_echo_n "(cached) " >&6
30307 else
30310 ac_ext=cpp
30311 ac_cpp='$CXXCPP $CPPFLAGS'
30312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30317 /* end confdefs.h. */
30318 #include <math.h>
30320 main ()
30322 _ldexpf(0, 0);
30324 return 0;
30326 _ACEOF
30327 if ac_fn_cxx_try_compile "$LINENO"; then :
30328 glibcxx_cv_func__ldexpf_use=yes
30329 else
30330 glibcxx_cv_func__ldexpf_use=no
30332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30333 ac_ext=c
30334 ac_cpp='$CPP $CPPFLAGS'
30335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
30344 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
30346 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
30347 for ac_func in _ldexpf
30348 do :
30349 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
30350 if test "x$ac_cv_func__ldexpf" = x""yes; then :
30351 cat >>confdefs.h <<_ACEOF
30352 #define HAVE__LDEXPF 1
30353 _ACEOF
30356 done
30365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
30366 $as_echo_n "checking for logf declaration... " >&6; }
30367 if test x${glibcxx_cv_func_logf_use+set} != xset; then
30368 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
30369 $as_echo_n "(cached) " >&6
30370 else
30373 ac_ext=cpp
30374 ac_cpp='$CXXCPP $CPPFLAGS'
30375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30380 /* end confdefs.h. */
30381 #include <math.h>
30382 #ifdef HAVE_IEEEFP_H
30383 #include <ieeefp.h>
30384 #endif
30387 main ()
30389 logf(0);
30391 return 0;
30393 _ACEOF
30394 if ac_fn_cxx_try_compile "$LINENO"; then :
30395 glibcxx_cv_func_logf_use=yes
30396 else
30397 glibcxx_cv_func_logf_use=no
30399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30400 ac_ext=c
30401 ac_cpp='$CPP $CPPFLAGS'
30402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
30411 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
30413 if test x$glibcxx_cv_func_logf_use = x"yes"; then
30414 for ac_func in logf
30415 do :
30416 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
30417 if test "x$ac_cv_func_logf" = x""yes; then :
30418 cat >>confdefs.h <<_ACEOF
30419 #define HAVE_LOGF 1
30420 _ACEOF
30423 done
30425 else
30427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
30428 $as_echo_n "checking for _logf declaration... " >&6; }
30429 if test x${glibcxx_cv_func__logf_use+set} != xset; then
30430 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
30431 $as_echo_n "(cached) " >&6
30432 else
30435 ac_ext=cpp
30436 ac_cpp='$CXXCPP $CPPFLAGS'
30437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30442 /* end confdefs.h. */
30443 #include <math.h>
30444 #ifdef HAVE_IEEEFP_H
30445 #include <ieeefp.h>
30446 #endif
30449 main ()
30451 _logf(0);
30453 return 0;
30455 _ACEOF
30456 if ac_fn_cxx_try_compile "$LINENO"; then :
30457 glibcxx_cv_func__logf_use=yes
30458 else
30459 glibcxx_cv_func__logf_use=no
30461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30462 ac_ext=c
30463 ac_cpp='$CPP $CPPFLAGS'
30464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
30473 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
30475 if test x$glibcxx_cv_func__logf_use = x"yes"; then
30476 for ac_func in _logf
30477 do :
30478 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
30479 if test "x$ac_cv_func__logf" = x""yes; then :
30480 cat >>confdefs.h <<_ACEOF
30481 #define HAVE__LOGF 1
30482 _ACEOF
30485 done
30494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
30495 $as_echo_n "checking for log10f declaration... " >&6; }
30496 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
30497 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
30498 $as_echo_n "(cached) " >&6
30499 else
30502 ac_ext=cpp
30503 ac_cpp='$CXXCPP $CPPFLAGS'
30504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30509 /* end confdefs.h. */
30510 #include <math.h>
30511 #ifdef HAVE_IEEEFP_H
30512 #include <ieeefp.h>
30513 #endif
30516 main ()
30518 log10f(0);
30520 return 0;
30522 _ACEOF
30523 if ac_fn_cxx_try_compile "$LINENO"; then :
30524 glibcxx_cv_func_log10f_use=yes
30525 else
30526 glibcxx_cv_func_log10f_use=no
30528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30529 ac_ext=c
30530 ac_cpp='$CPP $CPPFLAGS'
30531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
30540 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
30542 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
30543 for ac_func in log10f
30544 do :
30545 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
30546 if test "x$ac_cv_func_log10f" = x""yes; then :
30547 cat >>confdefs.h <<_ACEOF
30548 #define HAVE_LOG10F 1
30549 _ACEOF
30552 done
30554 else
30556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
30557 $as_echo_n "checking for _log10f declaration... " >&6; }
30558 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
30559 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
30560 $as_echo_n "(cached) " >&6
30561 else
30564 ac_ext=cpp
30565 ac_cpp='$CXXCPP $CPPFLAGS'
30566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30571 /* end confdefs.h. */
30572 #include <math.h>
30573 #ifdef HAVE_IEEEFP_H
30574 #include <ieeefp.h>
30575 #endif
30578 main ()
30580 _log10f(0);
30582 return 0;
30584 _ACEOF
30585 if ac_fn_cxx_try_compile "$LINENO"; then :
30586 glibcxx_cv_func__log10f_use=yes
30587 else
30588 glibcxx_cv_func__log10f_use=no
30590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30591 ac_ext=c
30592 ac_cpp='$CPP $CPPFLAGS'
30593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
30602 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
30604 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
30605 for ac_func in _log10f
30606 do :
30607 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
30608 if test "x$ac_cv_func__log10f" = x""yes; then :
30609 cat >>confdefs.h <<_ACEOF
30610 #define HAVE__LOG10F 1
30611 _ACEOF
30614 done
30623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
30624 $as_echo_n "checking for modff declaration... " >&6; }
30625 if test x${glibcxx_cv_func_modff_use+set} != xset; then
30626 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
30627 $as_echo_n "(cached) " >&6
30628 else
30631 ac_ext=cpp
30632 ac_cpp='$CXXCPP $CPPFLAGS'
30633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30638 /* end confdefs.h. */
30639 #include <math.h>
30641 main ()
30643 modff(0, 0);
30645 return 0;
30647 _ACEOF
30648 if ac_fn_cxx_try_compile "$LINENO"; then :
30649 glibcxx_cv_func_modff_use=yes
30650 else
30651 glibcxx_cv_func_modff_use=no
30653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30654 ac_ext=c
30655 ac_cpp='$CPP $CPPFLAGS'
30656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
30665 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
30667 if test x$glibcxx_cv_func_modff_use = x"yes"; then
30668 for ac_func in modff
30669 do :
30670 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
30671 if test "x$ac_cv_func_modff" = x""yes; then :
30672 cat >>confdefs.h <<_ACEOF
30673 #define HAVE_MODFF 1
30674 _ACEOF
30677 done
30679 else
30681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
30682 $as_echo_n "checking for _modff declaration... " >&6; }
30683 if test x${glibcxx_cv_func__modff_use+set} != xset; then
30684 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
30685 $as_echo_n "(cached) " >&6
30686 else
30689 ac_ext=cpp
30690 ac_cpp='$CXXCPP $CPPFLAGS'
30691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30696 /* end confdefs.h. */
30697 #include <math.h>
30699 main ()
30701 _modff(0, 0);
30703 return 0;
30705 _ACEOF
30706 if ac_fn_cxx_try_compile "$LINENO"; then :
30707 glibcxx_cv_func__modff_use=yes
30708 else
30709 glibcxx_cv_func__modff_use=no
30711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30712 ac_ext=c
30713 ac_cpp='$CPP $CPPFLAGS'
30714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
30723 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
30725 if test x$glibcxx_cv_func__modff_use = x"yes"; then
30726 for ac_func in _modff
30727 do :
30728 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
30729 if test "x$ac_cv_func__modff" = x""yes; then :
30730 cat >>confdefs.h <<_ACEOF
30731 #define HAVE__MODFF 1
30732 _ACEOF
30735 done
30744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
30745 $as_echo_n "checking for modf declaration... " >&6; }
30746 if test x${glibcxx_cv_func_modf_use+set} != xset; then
30747 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
30748 $as_echo_n "(cached) " >&6
30749 else
30752 ac_ext=cpp
30753 ac_cpp='$CXXCPP $CPPFLAGS'
30754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30759 /* end confdefs.h. */
30760 #include <math.h>
30762 main ()
30764 modf(0, 0);
30766 return 0;
30768 _ACEOF
30769 if ac_fn_cxx_try_compile "$LINENO"; then :
30770 glibcxx_cv_func_modf_use=yes
30771 else
30772 glibcxx_cv_func_modf_use=no
30774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30775 ac_ext=c
30776 ac_cpp='$CPP $CPPFLAGS'
30777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
30786 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
30788 if test x$glibcxx_cv_func_modf_use = x"yes"; then
30789 for ac_func in modf
30790 do :
30791 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
30792 if test "x$ac_cv_func_modf" = x""yes; then :
30793 cat >>confdefs.h <<_ACEOF
30794 #define HAVE_MODF 1
30795 _ACEOF
30798 done
30800 else
30802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
30803 $as_echo_n "checking for _modf declaration... " >&6; }
30804 if test x${glibcxx_cv_func__modf_use+set} != xset; then
30805 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
30806 $as_echo_n "(cached) " >&6
30807 else
30810 ac_ext=cpp
30811 ac_cpp='$CXXCPP $CPPFLAGS'
30812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30817 /* end confdefs.h. */
30818 #include <math.h>
30820 main ()
30822 _modf(0, 0);
30824 return 0;
30826 _ACEOF
30827 if ac_fn_cxx_try_compile "$LINENO"; then :
30828 glibcxx_cv_func__modf_use=yes
30829 else
30830 glibcxx_cv_func__modf_use=no
30832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30833 ac_ext=c
30834 ac_cpp='$CPP $CPPFLAGS'
30835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
30844 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
30846 if test x$glibcxx_cv_func__modf_use = x"yes"; then
30847 for ac_func in _modf
30848 do :
30849 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
30850 if test "x$ac_cv_func__modf" = x""yes; then :
30851 cat >>confdefs.h <<_ACEOF
30852 #define HAVE__MODF 1
30853 _ACEOF
30856 done
30865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
30866 $as_echo_n "checking for powf declaration... " >&6; }
30867 if test x${glibcxx_cv_func_powf_use+set} != xset; then
30868 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
30869 $as_echo_n "(cached) " >&6
30870 else
30873 ac_ext=cpp
30874 ac_cpp='$CXXCPP $CPPFLAGS'
30875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30880 /* end confdefs.h. */
30881 #include <math.h>
30883 main ()
30885 powf(0, 0);
30887 return 0;
30889 _ACEOF
30890 if ac_fn_cxx_try_compile "$LINENO"; then :
30891 glibcxx_cv_func_powf_use=yes
30892 else
30893 glibcxx_cv_func_powf_use=no
30895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30896 ac_ext=c
30897 ac_cpp='$CPP $CPPFLAGS'
30898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
30907 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
30909 if test x$glibcxx_cv_func_powf_use = x"yes"; then
30910 for ac_func in powf
30911 do :
30912 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
30913 if test "x$ac_cv_func_powf" = x""yes; then :
30914 cat >>confdefs.h <<_ACEOF
30915 #define HAVE_POWF 1
30916 _ACEOF
30919 done
30921 else
30923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
30924 $as_echo_n "checking for _powf declaration... " >&6; }
30925 if test x${glibcxx_cv_func__powf_use+set} != xset; then
30926 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
30927 $as_echo_n "(cached) " >&6
30928 else
30931 ac_ext=cpp
30932 ac_cpp='$CXXCPP $CPPFLAGS'
30933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30938 /* end confdefs.h. */
30939 #include <math.h>
30941 main ()
30943 _powf(0, 0);
30945 return 0;
30947 _ACEOF
30948 if ac_fn_cxx_try_compile "$LINENO"; then :
30949 glibcxx_cv_func__powf_use=yes
30950 else
30951 glibcxx_cv_func__powf_use=no
30953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30954 ac_ext=c
30955 ac_cpp='$CPP $CPPFLAGS'
30956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
30965 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
30967 if test x$glibcxx_cv_func__powf_use = x"yes"; then
30968 for ac_func in _powf
30969 do :
30970 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
30971 if test "x$ac_cv_func__powf" = x""yes; then :
30972 cat >>confdefs.h <<_ACEOF
30973 #define HAVE__POWF 1
30974 _ACEOF
30977 done
30986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
30987 $as_echo_n "checking for sqrtf declaration... " >&6; }
30988 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
30989 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
30990 $as_echo_n "(cached) " >&6
30991 else
30994 ac_ext=cpp
30995 ac_cpp='$CXXCPP $CPPFLAGS'
30996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31001 /* end confdefs.h. */
31002 #include <math.h>
31003 #ifdef HAVE_IEEEFP_H
31004 #include <ieeefp.h>
31005 #endif
31008 main ()
31010 sqrtf(0);
31012 return 0;
31014 _ACEOF
31015 if ac_fn_cxx_try_compile "$LINENO"; then :
31016 glibcxx_cv_func_sqrtf_use=yes
31017 else
31018 glibcxx_cv_func_sqrtf_use=no
31020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31021 ac_ext=c
31022 ac_cpp='$CPP $CPPFLAGS'
31023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
31032 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
31034 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
31035 for ac_func in sqrtf
31036 do :
31037 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
31038 if test "x$ac_cv_func_sqrtf" = x""yes; then :
31039 cat >>confdefs.h <<_ACEOF
31040 #define HAVE_SQRTF 1
31041 _ACEOF
31044 done
31046 else
31048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
31049 $as_echo_n "checking for _sqrtf declaration... " >&6; }
31050 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
31051 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
31052 $as_echo_n "(cached) " >&6
31053 else
31056 ac_ext=cpp
31057 ac_cpp='$CXXCPP $CPPFLAGS'
31058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31063 /* end confdefs.h. */
31064 #include <math.h>
31065 #ifdef HAVE_IEEEFP_H
31066 #include <ieeefp.h>
31067 #endif
31070 main ()
31072 _sqrtf(0);
31074 return 0;
31076 _ACEOF
31077 if ac_fn_cxx_try_compile "$LINENO"; then :
31078 glibcxx_cv_func__sqrtf_use=yes
31079 else
31080 glibcxx_cv_func__sqrtf_use=no
31082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31083 ac_ext=c
31084 ac_cpp='$CPP $CPPFLAGS'
31085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
31094 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
31096 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
31097 for ac_func in _sqrtf
31098 do :
31099 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
31100 if test "x$ac_cv_func__sqrtf" = x""yes; then :
31101 cat >>confdefs.h <<_ACEOF
31102 #define HAVE__SQRTF 1
31103 _ACEOF
31106 done
31115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
31116 $as_echo_n "checking for sincosf declaration... " >&6; }
31117 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
31118 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
31119 $as_echo_n "(cached) " >&6
31120 else
31123 ac_ext=cpp
31124 ac_cpp='$CXXCPP $CPPFLAGS'
31125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31130 /* end confdefs.h. */
31131 #include <math.h>
31133 main ()
31135 sincosf(0, 0, 0);
31137 return 0;
31139 _ACEOF
31140 if ac_fn_cxx_try_compile "$LINENO"; then :
31141 glibcxx_cv_func_sincosf_use=yes
31142 else
31143 glibcxx_cv_func_sincosf_use=no
31145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31146 ac_ext=c
31147 ac_cpp='$CPP $CPPFLAGS'
31148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
31157 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
31159 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
31160 for ac_func in sincosf
31161 do :
31162 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
31163 if test "x$ac_cv_func_sincosf" = x""yes; then :
31164 cat >>confdefs.h <<_ACEOF
31165 #define HAVE_SINCOSF 1
31166 _ACEOF
31169 done
31171 else
31173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
31174 $as_echo_n "checking for _sincosf declaration... " >&6; }
31175 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
31176 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
31177 $as_echo_n "(cached) " >&6
31178 else
31181 ac_ext=cpp
31182 ac_cpp='$CXXCPP $CPPFLAGS'
31183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31188 /* end confdefs.h. */
31189 #include <math.h>
31191 main ()
31193 _sincosf(0, 0, 0);
31195 return 0;
31197 _ACEOF
31198 if ac_fn_cxx_try_compile "$LINENO"; then :
31199 glibcxx_cv_func__sincosf_use=yes
31200 else
31201 glibcxx_cv_func__sincosf_use=no
31203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31204 ac_ext=c
31205 ac_cpp='$CPP $CPPFLAGS'
31206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
31215 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
31217 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
31218 for ac_func in _sincosf
31219 do :
31220 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
31221 if test "x$ac_cv_func__sincosf" = x""yes; then :
31222 cat >>confdefs.h <<_ACEOF
31223 #define HAVE__SINCOSF 1
31224 _ACEOF
31227 done
31236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
31237 $as_echo_n "checking for finitef declaration... " >&6; }
31238 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
31239 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
31240 $as_echo_n "(cached) " >&6
31241 else
31244 ac_ext=cpp
31245 ac_cpp='$CXXCPP $CPPFLAGS'
31246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31251 /* end confdefs.h. */
31252 #include <math.h>
31253 #ifdef HAVE_IEEEFP_H
31254 #include <ieeefp.h>
31255 #endif
31258 main ()
31260 finitef(0);
31262 return 0;
31264 _ACEOF
31265 if ac_fn_cxx_try_compile "$LINENO"; then :
31266 glibcxx_cv_func_finitef_use=yes
31267 else
31268 glibcxx_cv_func_finitef_use=no
31270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31271 ac_ext=c
31272 ac_cpp='$CPP $CPPFLAGS'
31273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
31282 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
31284 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
31285 for ac_func in finitef
31286 do :
31287 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
31288 if test "x$ac_cv_func_finitef" = x""yes; then :
31289 cat >>confdefs.h <<_ACEOF
31290 #define HAVE_FINITEF 1
31291 _ACEOF
31294 done
31296 else
31298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
31299 $as_echo_n "checking for _finitef declaration... " >&6; }
31300 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
31301 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
31302 $as_echo_n "(cached) " >&6
31303 else
31306 ac_ext=cpp
31307 ac_cpp='$CXXCPP $CPPFLAGS'
31308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31313 /* end confdefs.h. */
31314 #include <math.h>
31315 #ifdef HAVE_IEEEFP_H
31316 #include <ieeefp.h>
31317 #endif
31320 main ()
31322 _finitef(0);
31324 return 0;
31326 _ACEOF
31327 if ac_fn_cxx_try_compile "$LINENO"; then :
31328 glibcxx_cv_func__finitef_use=yes
31329 else
31330 glibcxx_cv_func__finitef_use=no
31332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31333 ac_ext=c
31334 ac_cpp='$CPP $CPPFLAGS'
31335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
31344 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
31346 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
31347 for ac_func in _finitef
31348 do :
31349 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
31350 if test "x$ac_cv_func__finitef" = x""yes; then :
31351 cat >>confdefs.h <<_ACEOF
31352 #define HAVE__FINITEF 1
31353 _ACEOF
31356 done
31365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
31366 $as_echo_n "checking for long double trig functions... " >&6; }
31367 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
31368 $as_echo_n "(cached) " >&6
31369 else
31372 ac_ext=cpp
31373 ac_cpp='$CXXCPP $CPPFLAGS'
31374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31379 /* end confdefs.h. */
31380 #include <math.h>
31382 main ()
31384 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
31386 return 0;
31388 _ACEOF
31389 if ac_fn_cxx_try_compile "$LINENO"; then :
31390 glibcxx_cv_func_long_double_trig_use=yes
31391 else
31392 glibcxx_cv_func_long_double_trig_use=no
31394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31395 ac_ext=c
31396 ac_cpp='$CPP $CPPFLAGS'
31397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
31404 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
31405 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
31406 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
31407 do :
31408 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31409 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31410 eval as_val=\$$as_ac_var
31411 if test "x$as_val" = x""yes; then :
31412 cat >>confdefs.h <<_ACEOF
31413 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31414 _ACEOF
31417 done
31419 else
31420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
31421 $as_echo_n "checking for _long double trig functions... " >&6; }
31422 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
31423 $as_echo_n "(cached) " >&6
31424 else
31427 ac_ext=cpp
31428 ac_cpp='$CXXCPP $CPPFLAGS'
31429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31434 /* end confdefs.h. */
31435 #include <math.h>
31437 main ()
31439 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
31441 return 0;
31443 _ACEOF
31444 if ac_fn_cxx_try_compile "$LINENO"; then :
31445 glibcxx_cv_func__long_double_trig_use=yes
31446 else
31447 glibcxx_cv_func__long_double_trig_use=no
31449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31450 ac_ext=c
31451 ac_cpp='$CPP $CPPFLAGS'
31452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
31459 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
31460 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
31461 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
31462 do :
31463 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31464 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31465 eval as_val=\$$as_ac_var
31466 if test "x$as_val" = x""yes; then :
31467 cat >>confdefs.h <<_ACEOF
31468 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31469 _ACEOF
31472 done
31481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
31482 $as_echo_n "checking for long double round functions... " >&6; }
31483 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
31484 $as_echo_n "(cached) " >&6
31485 else
31488 ac_ext=cpp
31489 ac_cpp='$CXXCPP $CPPFLAGS'
31490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31495 /* end confdefs.h. */
31496 #include <math.h>
31498 main ()
31500 ceill (0); floorl (0);
31502 return 0;
31504 _ACEOF
31505 if ac_fn_cxx_try_compile "$LINENO"; then :
31506 glibcxx_cv_func_long_double_round_use=yes
31507 else
31508 glibcxx_cv_func_long_double_round_use=no
31510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31511 ac_ext=c
31512 ac_cpp='$CPP $CPPFLAGS'
31513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
31520 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
31521 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
31522 for ac_func in ceill floorl
31523 do :
31524 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31525 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31526 eval as_val=\$$as_ac_var
31527 if test "x$as_val" = x""yes; then :
31528 cat >>confdefs.h <<_ACEOF
31529 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31530 _ACEOF
31533 done
31535 else
31536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
31537 $as_echo_n "checking for _long double round functions... " >&6; }
31538 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
31539 $as_echo_n "(cached) " >&6
31540 else
31543 ac_ext=cpp
31544 ac_cpp='$CXXCPP $CPPFLAGS'
31545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31550 /* end confdefs.h. */
31551 #include <math.h>
31553 main ()
31555 _ceill (0); _floorl (0);
31557 return 0;
31559 _ACEOF
31560 if ac_fn_cxx_try_compile "$LINENO"; then :
31561 glibcxx_cv_func__long_double_round_use=yes
31562 else
31563 glibcxx_cv_func__long_double_round_use=no
31565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31566 ac_ext=c
31567 ac_cpp='$CPP $CPPFLAGS'
31568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
31575 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
31576 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
31577 for ac_func in _ceill _floorl
31578 do :
31579 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31580 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31581 eval as_val=\$$as_ac_var
31582 if test "x$as_val" = x""yes; then :
31583 cat >>confdefs.h <<_ACEOF
31584 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31585 _ACEOF
31588 done
31598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
31599 $as_echo_n "checking for isnanl declaration... " >&6; }
31600 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
31601 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
31602 $as_echo_n "(cached) " >&6
31603 else
31606 ac_ext=cpp
31607 ac_cpp='$CXXCPP $CPPFLAGS'
31608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31613 /* end confdefs.h. */
31614 #include <math.h>
31615 #ifdef HAVE_IEEEFP_H
31616 #include <ieeefp.h>
31617 #endif
31620 main ()
31622 isnanl(0);
31624 return 0;
31626 _ACEOF
31627 if ac_fn_cxx_try_compile "$LINENO"; then :
31628 glibcxx_cv_func_isnanl_use=yes
31629 else
31630 glibcxx_cv_func_isnanl_use=no
31632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31633 ac_ext=c
31634 ac_cpp='$CPP $CPPFLAGS'
31635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
31644 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
31646 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
31647 for ac_func in isnanl
31648 do :
31649 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
31650 if test "x$ac_cv_func_isnanl" = x""yes; then :
31651 cat >>confdefs.h <<_ACEOF
31652 #define HAVE_ISNANL 1
31653 _ACEOF
31656 done
31658 else
31660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
31661 $as_echo_n "checking for _isnanl declaration... " >&6; }
31662 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
31663 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
31664 $as_echo_n "(cached) " >&6
31665 else
31668 ac_ext=cpp
31669 ac_cpp='$CXXCPP $CPPFLAGS'
31670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31675 /* end confdefs.h. */
31676 #include <math.h>
31677 #ifdef HAVE_IEEEFP_H
31678 #include <ieeefp.h>
31679 #endif
31682 main ()
31684 _isnanl(0);
31686 return 0;
31688 _ACEOF
31689 if ac_fn_cxx_try_compile "$LINENO"; then :
31690 glibcxx_cv_func__isnanl_use=yes
31691 else
31692 glibcxx_cv_func__isnanl_use=no
31694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31695 ac_ext=c
31696 ac_cpp='$CPP $CPPFLAGS'
31697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
31706 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
31708 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
31709 for ac_func in _isnanl
31710 do :
31711 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
31712 if test "x$ac_cv_func__isnanl" = x""yes; then :
31713 cat >>confdefs.h <<_ACEOF
31714 #define HAVE__ISNANL 1
31715 _ACEOF
31718 done
31727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
31728 $as_echo_n "checking for isinfl declaration... " >&6; }
31729 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
31730 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
31731 $as_echo_n "(cached) " >&6
31732 else
31735 ac_ext=cpp
31736 ac_cpp='$CXXCPP $CPPFLAGS'
31737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31742 /* end confdefs.h. */
31743 #include <math.h>
31744 #ifdef HAVE_IEEEFP_H
31745 #include <ieeefp.h>
31746 #endif
31749 main ()
31751 isinfl(0);
31753 return 0;
31755 _ACEOF
31756 if ac_fn_cxx_try_compile "$LINENO"; then :
31757 glibcxx_cv_func_isinfl_use=yes
31758 else
31759 glibcxx_cv_func_isinfl_use=no
31761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31762 ac_ext=c
31763 ac_cpp='$CPP $CPPFLAGS'
31764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
31773 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
31775 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
31776 for ac_func in isinfl
31777 do :
31778 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
31779 if test "x$ac_cv_func_isinfl" = x""yes; then :
31780 cat >>confdefs.h <<_ACEOF
31781 #define HAVE_ISINFL 1
31782 _ACEOF
31785 done
31787 else
31789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
31790 $as_echo_n "checking for _isinfl declaration... " >&6; }
31791 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
31792 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
31793 $as_echo_n "(cached) " >&6
31794 else
31797 ac_ext=cpp
31798 ac_cpp='$CXXCPP $CPPFLAGS'
31799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31804 /* end confdefs.h. */
31805 #include <math.h>
31806 #ifdef HAVE_IEEEFP_H
31807 #include <ieeefp.h>
31808 #endif
31811 main ()
31813 _isinfl(0);
31815 return 0;
31817 _ACEOF
31818 if ac_fn_cxx_try_compile "$LINENO"; then :
31819 glibcxx_cv_func__isinfl_use=yes
31820 else
31821 glibcxx_cv_func__isinfl_use=no
31823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31824 ac_ext=c
31825 ac_cpp='$CPP $CPPFLAGS'
31826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
31835 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
31837 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
31838 for ac_func in _isinfl
31839 do :
31840 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
31841 if test "x$ac_cv_func__isinfl" = x""yes; then :
31842 cat >>confdefs.h <<_ACEOF
31843 #define HAVE__ISINFL 1
31844 _ACEOF
31847 done
31856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
31857 $as_echo_n "checking for atan2l declaration... " >&6; }
31858 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
31859 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
31860 $as_echo_n "(cached) " >&6
31861 else
31864 ac_ext=cpp
31865 ac_cpp='$CXXCPP $CPPFLAGS'
31866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31871 /* end confdefs.h. */
31872 #include <math.h>
31874 main ()
31876 atan2l(0, 0);
31878 return 0;
31880 _ACEOF
31881 if ac_fn_cxx_try_compile "$LINENO"; then :
31882 glibcxx_cv_func_atan2l_use=yes
31883 else
31884 glibcxx_cv_func_atan2l_use=no
31886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31887 ac_ext=c
31888 ac_cpp='$CPP $CPPFLAGS'
31889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
31898 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
31900 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
31901 for ac_func in atan2l
31902 do :
31903 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
31904 if test "x$ac_cv_func_atan2l" = x""yes; then :
31905 cat >>confdefs.h <<_ACEOF
31906 #define HAVE_ATAN2L 1
31907 _ACEOF
31910 done
31912 else
31914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
31915 $as_echo_n "checking for _atan2l declaration... " >&6; }
31916 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
31917 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
31918 $as_echo_n "(cached) " >&6
31919 else
31922 ac_ext=cpp
31923 ac_cpp='$CXXCPP $CPPFLAGS'
31924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31929 /* end confdefs.h. */
31930 #include <math.h>
31932 main ()
31934 _atan2l(0, 0);
31936 return 0;
31938 _ACEOF
31939 if ac_fn_cxx_try_compile "$LINENO"; then :
31940 glibcxx_cv_func__atan2l_use=yes
31941 else
31942 glibcxx_cv_func__atan2l_use=no
31944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31945 ac_ext=c
31946 ac_cpp='$CPP $CPPFLAGS'
31947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
31956 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
31958 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
31959 for ac_func in _atan2l
31960 do :
31961 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
31962 if test "x$ac_cv_func__atan2l" = x""yes; then :
31963 cat >>confdefs.h <<_ACEOF
31964 #define HAVE__ATAN2L 1
31965 _ACEOF
31968 done
31977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
31978 $as_echo_n "checking for expl declaration... " >&6; }
31979 if test x${glibcxx_cv_func_expl_use+set} != xset; then
31980 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
31981 $as_echo_n "(cached) " >&6
31982 else
31985 ac_ext=cpp
31986 ac_cpp='$CXXCPP $CPPFLAGS'
31987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31992 /* end confdefs.h. */
31993 #include <math.h>
31994 #ifdef HAVE_IEEEFP_H
31995 #include <ieeefp.h>
31996 #endif
31999 main ()
32001 expl(0);
32003 return 0;
32005 _ACEOF
32006 if ac_fn_cxx_try_compile "$LINENO"; then :
32007 glibcxx_cv_func_expl_use=yes
32008 else
32009 glibcxx_cv_func_expl_use=no
32011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32012 ac_ext=c
32013 ac_cpp='$CPP $CPPFLAGS'
32014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
32023 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
32025 if test x$glibcxx_cv_func_expl_use = x"yes"; then
32026 for ac_func in expl
32027 do :
32028 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
32029 if test "x$ac_cv_func_expl" = x""yes; then :
32030 cat >>confdefs.h <<_ACEOF
32031 #define HAVE_EXPL 1
32032 _ACEOF
32035 done
32037 else
32039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
32040 $as_echo_n "checking for _expl declaration... " >&6; }
32041 if test x${glibcxx_cv_func__expl_use+set} != xset; then
32042 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
32043 $as_echo_n "(cached) " >&6
32044 else
32047 ac_ext=cpp
32048 ac_cpp='$CXXCPP $CPPFLAGS'
32049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32054 /* end confdefs.h. */
32055 #include <math.h>
32056 #ifdef HAVE_IEEEFP_H
32057 #include <ieeefp.h>
32058 #endif
32061 main ()
32063 _expl(0);
32065 return 0;
32067 _ACEOF
32068 if ac_fn_cxx_try_compile "$LINENO"; then :
32069 glibcxx_cv_func__expl_use=yes
32070 else
32071 glibcxx_cv_func__expl_use=no
32073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32074 ac_ext=c
32075 ac_cpp='$CPP $CPPFLAGS'
32076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
32085 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
32087 if test x$glibcxx_cv_func__expl_use = x"yes"; then
32088 for ac_func in _expl
32089 do :
32090 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
32091 if test "x$ac_cv_func__expl" = x""yes; then :
32092 cat >>confdefs.h <<_ACEOF
32093 #define HAVE__EXPL 1
32094 _ACEOF
32097 done
32106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
32107 $as_echo_n "checking for fabsl declaration... " >&6; }
32108 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
32109 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
32110 $as_echo_n "(cached) " >&6
32111 else
32114 ac_ext=cpp
32115 ac_cpp='$CXXCPP $CPPFLAGS'
32116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32121 /* end confdefs.h. */
32122 #include <math.h>
32123 #ifdef HAVE_IEEEFP_H
32124 #include <ieeefp.h>
32125 #endif
32128 main ()
32130 fabsl(0);
32132 return 0;
32134 _ACEOF
32135 if ac_fn_cxx_try_compile "$LINENO"; then :
32136 glibcxx_cv_func_fabsl_use=yes
32137 else
32138 glibcxx_cv_func_fabsl_use=no
32140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32141 ac_ext=c
32142 ac_cpp='$CPP $CPPFLAGS'
32143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
32152 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
32154 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
32155 for ac_func in fabsl
32156 do :
32157 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
32158 if test "x$ac_cv_func_fabsl" = x""yes; then :
32159 cat >>confdefs.h <<_ACEOF
32160 #define HAVE_FABSL 1
32161 _ACEOF
32164 done
32166 else
32168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
32169 $as_echo_n "checking for _fabsl declaration... " >&6; }
32170 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
32171 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
32172 $as_echo_n "(cached) " >&6
32173 else
32176 ac_ext=cpp
32177 ac_cpp='$CXXCPP $CPPFLAGS'
32178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32183 /* end confdefs.h. */
32184 #include <math.h>
32185 #ifdef HAVE_IEEEFP_H
32186 #include <ieeefp.h>
32187 #endif
32190 main ()
32192 _fabsl(0);
32194 return 0;
32196 _ACEOF
32197 if ac_fn_cxx_try_compile "$LINENO"; then :
32198 glibcxx_cv_func__fabsl_use=yes
32199 else
32200 glibcxx_cv_func__fabsl_use=no
32202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32203 ac_ext=c
32204 ac_cpp='$CPP $CPPFLAGS'
32205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
32214 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
32216 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
32217 for ac_func in _fabsl
32218 do :
32219 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
32220 if test "x$ac_cv_func__fabsl" = x""yes; then :
32221 cat >>confdefs.h <<_ACEOF
32222 #define HAVE__FABSL 1
32223 _ACEOF
32226 done
32235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
32236 $as_echo_n "checking for fmodl declaration... " >&6; }
32237 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
32238 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
32239 $as_echo_n "(cached) " >&6
32240 else
32243 ac_ext=cpp
32244 ac_cpp='$CXXCPP $CPPFLAGS'
32245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32250 /* end confdefs.h. */
32251 #include <math.h>
32253 main ()
32255 fmodl(0, 0);
32257 return 0;
32259 _ACEOF
32260 if ac_fn_cxx_try_compile "$LINENO"; then :
32261 glibcxx_cv_func_fmodl_use=yes
32262 else
32263 glibcxx_cv_func_fmodl_use=no
32265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32266 ac_ext=c
32267 ac_cpp='$CPP $CPPFLAGS'
32268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
32277 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
32279 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
32280 for ac_func in fmodl
32281 do :
32282 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
32283 if test "x$ac_cv_func_fmodl" = x""yes; then :
32284 cat >>confdefs.h <<_ACEOF
32285 #define HAVE_FMODL 1
32286 _ACEOF
32289 done
32291 else
32293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
32294 $as_echo_n "checking for _fmodl declaration... " >&6; }
32295 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
32296 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
32297 $as_echo_n "(cached) " >&6
32298 else
32301 ac_ext=cpp
32302 ac_cpp='$CXXCPP $CPPFLAGS'
32303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32308 /* end confdefs.h. */
32309 #include <math.h>
32311 main ()
32313 _fmodl(0, 0);
32315 return 0;
32317 _ACEOF
32318 if ac_fn_cxx_try_compile "$LINENO"; then :
32319 glibcxx_cv_func__fmodl_use=yes
32320 else
32321 glibcxx_cv_func__fmodl_use=no
32323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32324 ac_ext=c
32325 ac_cpp='$CPP $CPPFLAGS'
32326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
32335 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
32337 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
32338 for ac_func in _fmodl
32339 do :
32340 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
32341 if test "x$ac_cv_func__fmodl" = x""yes; then :
32342 cat >>confdefs.h <<_ACEOF
32343 #define HAVE__FMODL 1
32344 _ACEOF
32347 done
32356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
32357 $as_echo_n "checking for frexpl declaration... " >&6; }
32358 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
32359 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
32360 $as_echo_n "(cached) " >&6
32361 else
32364 ac_ext=cpp
32365 ac_cpp='$CXXCPP $CPPFLAGS'
32366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32371 /* end confdefs.h. */
32372 #include <math.h>
32374 main ()
32376 frexpl(0, 0);
32378 return 0;
32380 _ACEOF
32381 if ac_fn_cxx_try_compile "$LINENO"; then :
32382 glibcxx_cv_func_frexpl_use=yes
32383 else
32384 glibcxx_cv_func_frexpl_use=no
32386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32387 ac_ext=c
32388 ac_cpp='$CPP $CPPFLAGS'
32389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
32398 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
32400 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
32401 for ac_func in frexpl
32402 do :
32403 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
32404 if test "x$ac_cv_func_frexpl" = x""yes; then :
32405 cat >>confdefs.h <<_ACEOF
32406 #define HAVE_FREXPL 1
32407 _ACEOF
32410 done
32412 else
32414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
32415 $as_echo_n "checking for _frexpl declaration... " >&6; }
32416 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
32417 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
32418 $as_echo_n "(cached) " >&6
32419 else
32422 ac_ext=cpp
32423 ac_cpp='$CXXCPP $CPPFLAGS'
32424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32429 /* end confdefs.h. */
32430 #include <math.h>
32432 main ()
32434 _frexpl(0, 0);
32436 return 0;
32438 _ACEOF
32439 if ac_fn_cxx_try_compile "$LINENO"; then :
32440 glibcxx_cv_func__frexpl_use=yes
32441 else
32442 glibcxx_cv_func__frexpl_use=no
32444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32445 ac_ext=c
32446 ac_cpp='$CPP $CPPFLAGS'
32447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
32456 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
32458 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
32459 for ac_func in _frexpl
32460 do :
32461 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
32462 if test "x$ac_cv_func__frexpl" = x""yes; then :
32463 cat >>confdefs.h <<_ACEOF
32464 #define HAVE__FREXPL 1
32465 _ACEOF
32468 done
32477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
32478 $as_echo_n "checking for hypotl declaration... " >&6; }
32479 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
32480 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
32481 $as_echo_n "(cached) " >&6
32482 else
32485 ac_ext=cpp
32486 ac_cpp='$CXXCPP $CPPFLAGS'
32487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32492 /* end confdefs.h. */
32493 #include <math.h>
32495 main ()
32497 hypotl(0, 0);
32499 return 0;
32501 _ACEOF
32502 if ac_fn_cxx_try_compile "$LINENO"; then :
32503 glibcxx_cv_func_hypotl_use=yes
32504 else
32505 glibcxx_cv_func_hypotl_use=no
32507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32508 ac_ext=c
32509 ac_cpp='$CPP $CPPFLAGS'
32510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
32519 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
32521 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
32522 for ac_func in hypotl
32523 do :
32524 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
32525 if test "x$ac_cv_func_hypotl" = x""yes; then :
32526 cat >>confdefs.h <<_ACEOF
32527 #define HAVE_HYPOTL 1
32528 _ACEOF
32531 done
32533 else
32535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
32536 $as_echo_n "checking for _hypotl declaration... " >&6; }
32537 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
32538 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
32539 $as_echo_n "(cached) " >&6
32540 else
32543 ac_ext=cpp
32544 ac_cpp='$CXXCPP $CPPFLAGS'
32545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32550 /* end confdefs.h. */
32551 #include <math.h>
32553 main ()
32555 _hypotl(0, 0);
32557 return 0;
32559 _ACEOF
32560 if ac_fn_cxx_try_compile "$LINENO"; then :
32561 glibcxx_cv_func__hypotl_use=yes
32562 else
32563 glibcxx_cv_func__hypotl_use=no
32565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32566 ac_ext=c
32567 ac_cpp='$CPP $CPPFLAGS'
32568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
32577 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
32579 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
32580 for ac_func in _hypotl
32581 do :
32582 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
32583 if test "x$ac_cv_func__hypotl" = x""yes; then :
32584 cat >>confdefs.h <<_ACEOF
32585 #define HAVE__HYPOTL 1
32586 _ACEOF
32589 done
32598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
32599 $as_echo_n "checking for ldexpl declaration... " >&6; }
32600 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
32601 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
32602 $as_echo_n "(cached) " >&6
32603 else
32606 ac_ext=cpp
32607 ac_cpp='$CXXCPP $CPPFLAGS'
32608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32613 /* end confdefs.h. */
32614 #include <math.h>
32616 main ()
32618 ldexpl(0, 0);
32620 return 0;
32622 _ACEOF
32623 if ac_fn_cxx_try_compile "$LINENO"; then :
32624 glibcxx_cv_func_ldexpl_use=yes
32625 else
32626 glibcxx_cv_func_ldexpl_use=no
32628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32629 ac_ext=c
32630 ac_cpp='$CPP $CPPFLAGS'
32631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
32640 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
32642 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
32643 for ac_func in ldexpl
32644 do :
32645 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
32646 if test "x$ac_cv_func_ldexpl" = x""yes; then :
32647 cat >>confdefs.h <<_ACEOF
32648 #define HAVE_LDEXPL 1
32649 _ACEOF
32652 done
32654 else
32656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
32657 $as_echo_n "checking for _ldexpl declaration... " >&6; }
32658 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
32659 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
32660 $as_echo_n "(cached) " >&6
32661 else
32664 ac_ext=cpp
32665 ac_cpp='$CXXCPP $CPPFLAGS'
32666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32671 /* end confdefs.h. */
32672 #include <math.h>
32674 main ()
32676 _ldexpl(0, 0);
32678 return 0;
32680 _ACEOF
32681 if ac_fn_cxx_try_compile "$LINENO"; then :
32682 glibcxx_cv_func__ldexpl_use=yes
32683 else
32684 glibcxx_cv_func__ldexpl_use=no
32686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32687 ac_ext=c
32688 ac_cpp='$CPP $CPPFLAGS'
32689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
32698 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
32700 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
32701 for ac_func in _ldexpl
32702 do :
32703 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
32704 if test "x$ac_cv_func__ldexpl" = x""yes; then :
32705 cat >>confdefs.h <<_ACEOF
32706 #define HAVE__LDEXPL 1
32707 _ACEOF
32710 done
32719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
32720 $as_echo_n "checking for logl declaration... " >&6; }
32721 if test x${glibcxx_cv_func_logl_use+set} != xset; then
32722 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
32723 $as_echo_n "(cached) " >&6
32724 else
32727 ac_ext=cpp
32728 ac_cpp='$CXXCPP $CPPFLAGS'
32729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32734 /* end confdefs.h. */
32735 #include <math.h>
32736 #ifdef HAVE_IEEEFP_H
32737 #include <ieeefp.h>
32738 #endif
32741 main ()
32743 logl(0);
32745 return 0;
32747 _ACEOF
32748 if ac_fn_cxx_try_compile "$LINENO"; then :
32749 glibcxx_cv_func_logl_use=yes
32750 else
32751 glibcxx_cv_func_logl_use=no
32753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32754 ac_ext=c
32755 ac_cpp='$CPP $CPPFLAGS'
32756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
32765 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
32767 if test x$glibcxx_cv_func_logl_use = x"yes"; then
32768 for ac_func in logl
32769 do :
32770 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
32771 if test "x$ac_cv_func_logl" = x""yes; then :
32772 cat >>confdefs.h <<_ACEOF
32773 #define HAVE_LOGL 1
32774 _ACEOF
32777 done
32779 else
32781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
32782 $as_echo_n "checking for _logl declaration... " >&6; }
32783 if test x${glibcxx_cv_func__logl_use+set} != xset; then
32784 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
32785 $as_echo_n "(cached) " >&6
32786 else
32789 ac_ext=cpp
32790 ac_cpp='$CXXCPP $CPPFLAGS'
32791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32796 /* end confdefs.h. */
32797 #include <math.h>
32798 #ifdef HAVE_IEEEFP_H
32799 #include <ieeefp.h>
32800 #endif
32803 main ()
32805 _logl(0);
32807 return 0;
32809 _ACEOF
32810 if ac_fn_cxx_try_compile "$LINENO"; then :
32811 glibcxx_cv_func__logl_use=yes
32812 else
32813 glibcxx_cv_func__logl_use=no
32815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32816 ac_ext=c
32817 ac_cpp='$CPP $CPPFLAGS'
32818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
32827 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
32829 if test x$glibcxx_cv_func__logl_use = x"yes"; then
32830 for ac_func in _logl
32831 do :
32832 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
32833 if test "x$ac_cv_func__logl" = x""yes; then :
32834 cat >>confdefs.h <<_ACEOF
32835 #define HAVE__LOGL 1
32836 _ACEOF
32839 done
32848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
32849 $as_echo_n "checking for log10l declaration... " >&6; }
32850 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
32851 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
32852 $as_echo_n "(cached) " >&6
32853 else
32856 ac_ext=cpp
32857 ac_cpp='$CXXCPP $CPPFLAGS'
32858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32863 /* end confdefs.h. */
32864 #include <math.h>
32865 #ifdef HAVE_IEEEFP_H
32866 #include <ieeefp.h>
32867 #endif
32870 main ()
32872 log10l(0);
32874 return 0;
32876 _ACEOF
32877 if ac_fn_cxx_try_compile "$LINENO"; then :
32878 glibcxx_cv_func_log10l_use=yes
32879 else
32880 glibcxx_cv_func_log10l_use=no
32882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32883 ac_ext=c
32884 ac_cpp='$CPP $CPPFLAGS'
32885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
32894 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
32896 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
32897 for ac_func in log10l
32898 do :
32899 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
32900 if test "x$ac_cv_func_log10l" = x""yes; then :
32901 cat >>confdefs.h <<_ACEOF
32902 #define HAVE_LOG10L 1
32903 _ACEOF
32906 done
32908 else
32910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
32911 $as_echo_n "checking for _log10l declaration... " >&6; }
32912 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
32913 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
32914 $as_echo_n "(cached) " >&6
32915 else
32918 ac_ext=cpp
32919 ac_cpp='$CXXCPP $CPPFLAGS'
32920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32925 /* end confdefs.h. */
32926 #include <math.h>
32927 #ifdef HAVE_IEEEFP_H
32928 #include <ieeefp.h>
32929 #endif
32932 main ()
32934 _log10l(0);
32936 return 0;
32938 _ACEOF
32939 if ac_fn_cxx_try_compile "$LINENO"; then :
32940 glibcxx_cv_func__log10l_use=yes
32941 else
32942 glibcxx_cv_func__log10l_use=no
32944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32945 ac_ext=c
32946 ac_cpp='$CPP $CPPFLAGS'
32947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
32956 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
32958 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
32959 for ac_func in _log10l
32960 do :
32961 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
32962 if test "x$ac_cv_func__log10l" = x""yes; then :
32963 cat >>confdefs.h <<_ACEOF
32964 #define HAVE__LOG10L 1
32965 _ACEOF
32968 done
32977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
32978 $as_echo_n "checking for modfl declaration... " >&6; }
32979 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
32980 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
32981 $as_echo_n "(cached) " >&6
32982 else
32985 ac_ext=cpp
32986 ac_cpp='$CXXCPP $CPPFLAGS'
32987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32992 /* end confdefs.h. */
32993 #include <math.h>
32995 main ()
32997 modfl(0, 0);
32999 return 0;
33001 _ACEOF
33002 if ac_fn_cxx_try_compile "$LINENO"; then :
33003 glibcxx_cv_func_modfl_use=yes
33004 else
33005 glibcxx_cv_func_modfl_use=no
33007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33008 ac_ext=c
33009 ac_cpp='$CPP $CPPFLAGS'
33010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
33019 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
33021 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
33022 for ac_func in modfl
33023 do :
33024 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
33025 if test "x$ac_cv_func_modfl" = x""yes; then :
33026 cat >>confdefs.h <<_ACEOF
33027 #define HAVE_MODFL 1
33028 _ACEOF
33031 done
33033 else
33035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
33036 $as_echo_n "checking for _modfl declaration... " >&6; }
33037 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
33038 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
33039 $as_echo_n "(cached) " >&6
33040 else
33043 ac_ext=cpp
33044 ac_cpp='$CXXCPP $CPPFLAGS'
33045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33050 /* end confdefs.h. */
33051 #include <math.h>
33053 main ()
33055 _modfl(0, 0);
33057 return 0;
33059 _ACEOF
33060 if ac_fn_cxx_try_compile "$LINENO"; then :
33061 glibcxx_cv_func__modfl_use=yes
33062 else
33063 glibcxx_cv_func__modfl_use=no
33065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33066 ac_ext=c
33067 ac_cpp='$CPP $CPPFLAGS'
33068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
33077 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
33079 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
33080 for ac_func in _modfl
33081 do :
33082 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
33083 if test "x$ac_cv_func__modfl" = x""yes; then :
33084 cat >>confdefs.h <<_ACEOF
33085 #define HAVE__MODFL 1
33086 _ACEOF
33089 done
33098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
33099 $as_echo_n "checking for powl declaration... " >&6; }
33100 if test x${glibcxx_cv_func_powl_use+set} != xset; then
33101 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
33102 $as_echo_n "(cached) " >&6
33103 else
33106 ac_ext=cpp
33107 ac_cpp='$CXXCPP $CPPFLAGS'
33108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33113 /* end confdefs.h. */
33114 #include <math.h>
33116 main ()
33118 powl(0, 0);
33120 return 0;
33122 _ACEOF
33123 if ac_fn_cxx_try_compile "$LINENO"; then :
33124 glibcxx_cv_func_powl_use=yes
33125 else
33126 glibcxx_cv_func_powl_use=no
33128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33129 ac_ext=c
33130 ac_cpp='$CPP $CPPFLAGS'
33131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
33140 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
33142 if test x$glibcxx_cv_func_powl_use = x"yes"; then
33143 for ac_func in powl
33144 do :
33145 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
33146 if test "x$ac_cv_func_powl" = x""yes; then :
33147 cat >>confdefs.h <<_ACEOF
33148 #define HAVE_POWL 1
33149 _ACEOF
33152 done
33154 else
33156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
33157 $as_echo_n "checking for _powl declaration... " >&6; }
33158 if test x${glibcxx_cv_func__powl_use+set} != xset; then
33159 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
33160 $as_echo_n "(cached) " >&6
33161 else
33164 ac_ext=cpp
33165 ac_cpp='$CXXCPP $CPPFLAGS'
33166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33171 /* end confdefs.h. */
33172 #include <math.h>
33174 main ()
33176 _powl(0, 0);
33178 return 0;
33180 _ACEOF
33181 if ac_fn_cxx_try_compile "$LINENO"; then :
33182 glibcxx_cv_func__powl_use=yes
33183 else
33184 glibcxx_cv_func__powl_use=no
33186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33187 ac_ext=c
33188 ac_cpp='$CPP $CPPFLAGS'
33189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
33198 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
33200 if test x$glibcxx_cv_func__powl_use = x"yes"; then
33201 for ac_func in _powl
33202 do :
33203 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
33204 if test "x$ac_cv_func__powl" = x""yes; then :
33205 cat >>confdefs.h <<_ACEOF
33206 #define HAVE__POWL 1
33207 _ACEOF
33210 done
33219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
33220 $as_echo_n "checking for sqrtl declaration... " >&6; }
33221 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
33222 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
33223 $as_echo_n "(cached) " >&6
33224 else
33227 ac_ext=cpp
33228 ac_cpp='$CXXCPP $CPPFLAGS'
33229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33234 /* end confdefs.h. */
33235 #include <math.h>
33236 #ifdef HAVE_IEEEFP_H
33237 #include <ieeefp.h>
33238 #endif
33241 main ()
33243 sqrtl(0);
33245 return 0;
33247 _ACEOF
33248 if ac_fn_cxx_try_compile "$LINENO"; then :
33249 glibcxx_cv_func_sqrtl_use=yes
33250 else
33251 glibcxx_cv_func_sqrtl_use=no
33253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33254 ac_ext=c
33255 ac_cpp='$CPP $CPPFLAGS'
33256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
33265 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
33267 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
33268 for ac_func in sqrtl
33269 do :
33270 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
33271 if test "x$ac_cv_func_sqrtl" = x""yes; then :
33272 cat >>confdefs.h <<_ACEOF
33273 #define HAVE_SQRTL 1
33274 _ACEOF
33277 done
33279 else
33281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
33282 $as_echo_n "checking for _sqrtl declaration... " >&6; }
33283 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
33284 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
33285 $as_echo_n "(cached) " >&6
33286 else
33289 ac_ext=cpp
33290 ac_cpp='$CXXCPP $CPPFLAGS'
33291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33296 /* end confdefs.h. */
33297 #include <math.h>
33298 #ifdef HAVE_IEEEFP_H
33299 #include <ieeefp.h>
33300 #endif
33303 main ()
33305 _sqrtl(0);
33307 return 0;
33309 _ACEOF
33310 if ac_fn_cxx_try_compile "$LINENO"; then :
33311 glibcxx_cv_func__sqrtl_use=yes
33312 else
33313 glibcxx_cv_func__sqrtl_use=no
33315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33316 ac_ext=c
33317 ac_cpp='$CPP $CPPFLAGS'
33318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
33327 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
33329 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
33330 for ac_func in _sqrtl
33331 do :
33332 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
33333 if test "x$ac_cv_func__sqrtl" = x""yes; then :
33334 cat >>confdefs.h <<_ACEOF
33335 #define HAVE__SQRTL 1
33336 _ACEOF
33339 done
33348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
33349 $as_echo_n "checking for sincosl declaration... " >&6; }
33350 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
33351 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
33352 $as_echo_n "(cached) " >&6
33353 else
33356 ac_ext=cpp
33357 ac_cpp='$CXXCPP $CPPFLAGS'
33358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33363 /* end confdefs.h. */
33364 #include <math.h>
33366 main ()
33368 sincosl(0, 0, 0);
33370 return 0;
33372 _ACEOF
33373 if ac_fn_cxx_try_compile "$LINENO"; then :
33374 glibcxx_cv_func_sincosl_use=yes
33375 else
33376 glibcxx_cv_func_sincosl_use=no
33378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33379 ac_ext=c
33380 ac_cpp='$CPP $CPPFLAGS'
33381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
33390 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
33392 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
33393 for ac_func in sincosl
33394 do :
33395 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
33396 if test "x$ac_cv_func_sincosl" = x""yes; then :
33397 cat >>confdefs.h <<_ACEOF
33398 #define HAVE_SINCOSL 1
33399 _ACEOF
33402 done
33404 else
33406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
33407 $as_echo_n "checking for _sincosl declaration... " >&6; }
33408 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
33409 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
33410 $as_echo_n "(cached) " >&6
33411 else
33414 ac_ext=cpp
33415 ac_cpp='$CXXCPP $CPPFLAGS'
33416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33421 /* end confdefs.h. */
33422 #include <math.h>
33424 main ()
33426 _sincosl(0, 0, 0);
33428 return 0;
33430 _ACEOF
33431 if ac_fn_cxx_try_compile "$LINENO"; then :
33432 glibcxx_cv_func__sincosl_use=yes
33433 else
33434 glibcxx_cv_func__sincosl_use=no
33436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33437 ac_ext=c
33438 ac_cpp='$CPP $CPPFLAGS'
33439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
33448 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
33450 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
33451 for ac_func in _sincosl
33452 do :
33453 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
33454 if test "x$ac_cv_func__sincosl" = x""yes; then :
33455 cat >>confdefs.h <<_ACEOF
33456 #define HAVE__SINCOSL 1
33457 _ACEOF
33460 done
33469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
33470 $as_echo_n "checking for finitel declaration... " >&6; }
33471 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
33472 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
33473 $as_echo_n "(cached) " >&6
33474 else
33477 ac_ext=cpp
33478 ac_cpp='$CXXCPP $CPPFLAGS'
33479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33484 /* end confdefs.h. */
33485 #include <math.h>
33486 #ifdef HAVE_IEEEFP_H
33487 #include <ieeefp.h>
33488 #endif
33491 main ()
33493 finitel(0);
33495 return 0;
33497 _ACEOF
33498 if ac_fn_cxx_try_compile "$LINENO"; then :
33499 glibcxx_cv_func_finitel_use=yes
33500 else
33501 glibcxx_cv_func_finitel_use=no
33503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33504 ac_ext=c
33505 ac_cpp='$CPP $CPPFLAGS'
33506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
33515 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
33517 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
33518 for ac_func in finitel
33519 do :
33520 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
33521 if test "x$ac_cv_func_finitel" = x""yes; then :
33522 cat >>confdefs.h <<_ACEOF
33523 #define HAVE_FINITEL 1
33524 _ACEOF
33527 done
33529 else
33531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
33532 $as_echo_n "checking for _finitel declaration... " >&6; }
33533 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
33534 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
33535 $as_echo_n "(cached) " >&6
33536 else
33539 ac_ext=cpp
33540 ac_cpp='$CXXCPP $CPPFLAGS'
33541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33546 /* end confdefs.h. */
33547 #include <math.h>
33548 #ifdef HAVE_IEEEFP_H
33549 #include <ieeefp.h>
33550 #endif
33553 main ()
33555 _finitel(0);
33557 return 0;
33559 _ACEOF
33560 if ac_fn_cxx_try_compile "$LINENO"; then :
33561 glibcxx_cv_func__finitel_use=yes
33562 else
33563 glibcxx_cv_func__finitel_use=no
33565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33566 ac_ext=c
33567 ac_cpp='$CPP $CPPFLAGS'
33568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
33577 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
33579 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
33580 for ac_func in _finitel
33581 do :
33582 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
33583 if test "x$ac_cv_func__finitel" = x""yes; then :
33584 cat >>confdefs.h <<_ACEOF
33585 #define HAVE__FINITEL 1
33586 _ACEOF
33589 done
33597 LIBS="$ac_save_LIBS"
33598 CXXFLAGS="$ac_save_CXXFLAGS"
33601 ac_test_CXXFLAGS="${CXXFLAGS+set}"
33602 ac_save_CXXFLAGS="$CXXFLAGS"
33603 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
33606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
33607 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
33608 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
33609 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
33610 $as_echo_n "(cached) " >&6
33611 else
33614 ac_ext=cpp
33615 ac_cpp='$CXXCPP $CPPFLAGS'
33616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33621 /* end confdefs.h. */
33622 #include <stdlib.h>
33624 main ()
33626 at_quick_exit(0);
33628 return 0;
33630 _ACEOF
33631 if ac_fn_cxx_try_compile "$LINENO"; then :
33632 glibcxx_cv_func_at_quick_exit_use=yes
33633 else
33634 glibcxx_cv_func_at_quick_exit_use=no
33636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33637 ac_ext=c
33638 ac_cpp='$CPP $CPPFLAGS'
33639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
33648 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
33649 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
33650 for ac_func in at_quick_exit
33651 do :
33652 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
33653 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
33654 cat >>confdefs.h <<_ACEOF
33655 #define HAVE_AT_QUICK_EXIT 1
33656 _ACEOF
33659 done
33664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
33665 $as_echo_n "checking for quick_exit declaration... " >&6; }
33666 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
33667 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
33668 $as_echo_n "(cached) " >&6
33669 else
33672 ac_ext=cpp
33673 ac_cpp='$CXXCPP $CPPFLAGS'
33674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33679 /* end confdefs.h. */
33680 #include <stdlib.h>
33682 main ()
33684 quick_exit(0);
33686 return 0;
33688 _ACEOF
33689 if ac_fn_cxx_try_compile "$LINENO"; then :
33690 glibcxx_cv_func_quick_exit_use=yes
33691 else
33692 glibcxx_cv_func_quick_exit_use=no
33694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33695 ac_ext=c
33696 ac_cpp='$CPP $CPPFLAGS'
33697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
33706 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
33707 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
33708 for ac_func in quick_exit
33709 do :
33710 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
33711 if test "x$ac_cv_func_quick_exit" = x""yes; then :
33712 cat >>confdefs.h <<_ACEOF
33713 #define HAVE_QUICK_EXIT 1
33714 _ACEOF
33717 done
33722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
33723 $as_echo_n "checking for strtold declaration... " >&6; }
33724 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
33725 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
33726 $as_echo_n "(cached) " >&6
33727 else
33730 ac_ext=cpp
33731 ac_cpp='$CXXCPP $CPPFLAGS'
33732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33737 /* end confdefs.h. */
33738 #include <stdlib.h>
33740 main ()
33742 strtold(0, 0);
33744 return 0;
33746 _ACEOF
33747 if ac_fn_cxx_try_compile "$LINENO"; then :
33748 glibcxx_cv_func_strtold_use=yes
33749 else
33750 glibcxx_cv_func_strtold_use=no
33752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33753 ac_ext=c
33754 ac_cpp='$CPP $CPPFLAGS'
33755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
33764 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
33765 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
33766 for ac_func in strtold
33767 do :
33768 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
33769 if test "x$ac_cv_func_strtold" = x""yes; then :
33770 cat >>confdefs.h <<_ACEOF
33771 #define HAVE_STRTOLD 1
33772 _ACEOF
33775 done
33782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
33783 $as_echo_n "checking for strtof declaration... " >&6; }
33784 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
33785 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
33786 $as_echo_n "(cached) " >&6
33787 else
33790 ac_ext=cpp
33791 ac_cpp='$CXXCPP $CPPFLAGS'
33792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33797 /* end confdefs.h. */
33798 #include <stdlib.h>
33800 main ()
33802 strtof(0, 0);
33804 return 0;
33806 _ACEOF
33807 if ac_fn_cxx_try_compile "$LINENO"; then :
33808 glibcxx_cv_func_strtof_use=yes
33809 else
33810 glibcxx_cv_func_strtof_use=no
33812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33813 ac_ext=c
33814 ac_cpp='$CPP $CPPFLAGS'
33815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
33824 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
33825 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
33826 for ac_func in strtof
33827 do :
33828 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
33829 if test "x$ac_cv_func_strtof" = x""yes; then :
33830 cat >>confdefs.h <<_ACEOF
33831 #define HAVE_STRTOF 1
33832 _ACEOF
33835 done
33842 CXXFLAGS="$ac_save_CXXFLAGS"
33845 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
33847 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
33849 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
33851 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
33854 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
33856 $as_echo "#define HAVE_MODF 1" >>confdefs.h
33858 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
33862 spu-*-elf*)
33864 # All these tests are for C++; save the language and the compiler flags.
33865 # The CXXFLAGS thing is suspicious, but based on similar bits previously
33866 # found in GLIBCXX_CONFIGURE.
33868 ac_ext=cpp
33869 ac_cpp='$CXXCPP $CPPFLAGS'
33870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33874 ac_test_CXXFLAGS="${CXXFLAGS+set}"
33875 ac_save_CXXFLAGS="$CXXFLAGS"
33877 # Check for maintainer-mode bits.
33878 if test x"$USE_MAINTAINER_MODE" = xno; then
33879 WERROR=''
33880 else
33881 WERROR='-Werror'
33884 # Check for -ffunction-sections -fdata-sections
33885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
33886 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
33887 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
33888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33889 /* end confdefs.h. */
33890 int foo; void bar() { };
33892 main ()
33896 return 0;
33898 _ACEOF
33899 if ac_fn_cxx_try_compile "$LINENO"; then :
33900 ac_fdsections=yes
33901 else
33902 ac_fdsections=no
33904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33905 if test "$ac_test_CXXFLAGS" = set; then
33906 CXXFLAGS="$ac_save_CXXFLAGS"
33907 else
33908 # this is the suspicious part
33909 CXXFLAGS=''
33911 if test x"$ac_fdsections" = x"yes"; then
33912 SECTION_FLAGS='-ffunction-sections -fdata-sections'
33914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
33915 $as_echo "$ac_fdsections" >&6; }
33917 ac_ext=c
33918 ac_cpp='$CPP $CPPFLAGS'
33919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33927 # If we're not using GNU ld, then there's no point in even trying these
33928 # tests. Check for that first. We should have already tested for gld
33929 # by now (in libtool), but require it now just to be safe...
33930 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
33931 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
33935 # The name set by libtool depends on the version of libtool. Shame on us
33936 # for depending on an impl detail, but c'est la vie. Older versions used
33937 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
33938 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
33939 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
33940 # set (hence we're using an older libtool), then set it.
33941 if test x${with_gnu_ld+set} != xset; then
33942 if test x${ac_cv_prog_gnu_ld+set} != xset; then
33943 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
33944 with_gnu_ld=no
33945 else
33946 with_gnu_ld=$ac_cv_prog_gnu_ld
33950 # Start by getting the version number. I think the libtool test already
33951 # does some of this, but throws away the result.
33952 glibcxx_ld_is_gold=no
33953 if test x"$with_gnu_ld" = x"yes"; then
33954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
33955 $as_echo_n "checking for ld version... " >&6; }
33957 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
33958 glibcxx_ld_is_gold=yes
33960 ldver=`$LD --version 2>/dev/null |
33961 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'`
33963 glibcxx_gnu_ld_version=`echo $ldver | \
33964 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
33965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
33966 $as_echo "$glibcxx_gnu_ld_version" >&6; }
33969 # Set --gc-sections.
33970 glibcxx_have_gc_sections=no
33971 if test "$glibcxx_ld_is_gold" = "yes"; then
33972 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
33973 glibcxx_have_gc_sections=yes
33975 else
33976 glibcxx_gcsections_min_ld=21602
33977 if test x"$with_gnu_ld" = x"yes" &&
33978 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
33979 glibcxx_have_gc_sections=yes
33982 if test "$glibcxx_have_gc_sections" = "yes"; then
33983 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
33984 # NB: This flag only works reliably after 2.16.1. Configure tests
33985 # for this are difficult, so hard wire a value that should work.
33987 ac_test_CFLAGS="${CFLAGS+set}"
33988 ac_save_CFLAGS="$CFLAGS"
33989 CFLAGS='-Wl,--gc-sections'
33991 # Check for -Wl,--gc-sections
33992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
33993 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
33994 if test x$gcc_no_link = xyes; then
33995 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
33997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33998 /* end confdefs.h. */
33999 int one(void) { return 1; }
34000 int two(void) { return 2; }
34003 main ()
34005 two();
34007 return 0;
34009 _ACEOF
34010 if ac_fn_c_try_link "$LINENO"; then :
34011 ac_gcsections=yes
34012 else
34013 ac_gcsections=no
34015 rm -f core conftest.err conftest.$ac_objext \
34016 conftest$ac_exeext conftest.$ac_ext
34017 if test "$ac_gcsections" = "yes"; then
34018 rm -f conftest.c
34019 touch conftest.c
34020 if $CC -c conftest.c; then
34021 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
34022 grep "Warning: gc-sections option ignored" > /dev/null; then
34023 ac_gcsections=no
34026 rm -f conftest.c conftest.o conftest
34028 if test "$ac_gcsections" = "yes"; then
34029 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
34031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
34032 $as_echo "$ac_gcsections" >&6; }
34034 if test "$ac_test_CFLAGS" = set; then
34035 CFLAGS="$ac_save_CFLAGS"
34036 else
34037 # this is the suspicious part
34038 CFLAGS=''
34042 # Set -z,relro.
34043 # Note this is only for shared objects.
34044 ac_ld_relro=no
34045 if test x"$with_gnu_ld" = x"yes"; then
34046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
34047 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
34048 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
34049 if test -n "$cxx_z_relo"; then
34050 OPT_LDFLAGS="-Wl,-z,relro"
34051 ac_ld_relro=yes
34053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
34054 $as_echo "$ac_ld_relro" >&6; }
34057 # Set linker optimization flags.
34058 if test x"$with_gnu_ld" = x"yes"; then
34059 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
34066 ac_test_CXXFLAGS="${CXXFLAGS+set}"
34067 ac_save_CXXFLAGS="$CXXFLAGS"
34068 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
34070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
34071 $as_echo_n "checking for sin in -lm... " >&6; }
34072 if test "${ac_cv_lib_m_sin+set}" = set; then :
34073 $as_echo_n "(cached) " >&6
34074 else
34075 ac_check_lib_save_LIBS=$LIBS
34076 LIBS="-lm $LIBS"
34077 if test x$gcc_no_link = xyes; then
34078 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
34080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34081 /* end confdefs.h. */
34083 /* Override any GCC internal prototype to avoid an error.
34084 Use char because int might match the return type of a GCC
34085 builtin and then its argument prototype would still apply. */
34086 #ifdef __cplusplus
34087 extern "C"
34088 #endif
34089 char sin ();
34091 main ()
34093 return sin ();
34095 return 0;
34097 _ACEOF
34098 if ac_fn_c_try_link "$LINENO"; then :
34099 ac_cv_lib_m_sin=yes
34100 else
34101 ac_cv_lib_m_sin=no
34103 rm -f core conftest.err conftest.$ac_objext \
34104 conftest$ac_exeext conftest.$ac_ext
34105 LIBS=$ac_check_lib_save_LIBS
34107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
34108 $as_echo "$ac_cv_lib_m_sin" >&6; }
34109 if test "x$ac_cv_lib_m_sin" = x""yes; then :
34110 libm="-lm"
34113 ac_save_LIBS="$LIBS"
34114 LIBS="$LIBS $libm"
34118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
34119 $as_echo_n "checking for isinf declaration... " >&6; }
34120 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
34121 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
34122 $as_echo_n "(cached) " >&6
34123 else
34126 ac_ext=cpp
34127 ac_cpp='$CXXCPP $CPPFLAGS'
34128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34133 /* end confdefs.h. */
34134 #include <math.h>
34135 #ifdef HAVE_IEEEFP_H
34136 #include <ieeefp.h>
34137 #endif
34140 main ()
34142 isinf(0);
34144 return 0;
34146 _ACEOF
34147 if ac_fn_cxx_try_compile "$LINENO"; then :
34148 glibcxx_cv_func_isinf_use=yes
34149 else
34150 glibcxx_cv_func_isinf_use=no
34152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34153 ac_ext=c
34154 ac_cpp='$CPP $CPPFLAGS'
34155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
34164 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
34166 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
34167 for ac_func in isinf
34168 do :
34169 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
34170 if test "x$ac_cv_func_isinf" = x""yes; then :
34171 cat >>confdefs.h <<_ACEOF
34172 #define HAVE_ISINF 1
34173 _ACEOF
34176 done
34178 else
34180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
34181 $as_echo_n "checking for _isinf declaration... " >&6; }
34182 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
34183 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
34184 $as_echo_n "(cached) " >&6
34185 else
34188 ac_ext=cpp
34189 ac_cpp='$CXXCPP $CPPFLAGS'
34190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34195 /* end confdefs.h. */
34196 #include <math.h>
34197 #ifdef HAVE_IEEEFP_H
34198 #include <ieeefp.h>
34199 #endif
34202 main ()
34204 _isinf(0);
34206 return 0;
34208 _ACEOF
34209 if ac_fn_cxx_try_compile "$LINENO"; then :
34210 glibcxx_cv_func__isinf_use=yes
34211 else
34212 glibcxx_cv_func__isinf_use=no
34214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34215 ac_ext=c
34216 ac_cpp='$CPP $CPPFLAGS'
34217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
34226 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
34228 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
34229 for ac_func in _isinf
34230 do :
34231 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
34232 if test "x$ac_cv_func__isinf" = x""yes; then :
34233 cat >>confdefs.h <<_ACEOF
34234 #define HAVE__ISINF 1
34235 _ACEOF
34238 done
34247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
34248 $as_echo_n "checking for isnan declaration... " >&6; }
34249 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
34250 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
34251 $as_echo_n "(cached) " >&6
34252 else
34255 ac_ext=cpp
34256 ac_cpp='$CXXCPP $CPPFLAGS'
34257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34262 /* end confdefs.h. */
34263 #include <math.h>
34264 #ifdef HAVE_IEEEFP_H
34265 #include <ieeefp.h>
34266 #endif
34269 main ()
34271 isnan(0);
34273 return 0;
34275 _ACEOF
34276 if ac_fn_cxx_try_compile "$LINENO"; then :
34277 glibcxx_cv_func_isnan_use=yes
34278 else
34279 glibcxx_cv_func_isnan_use=no
34281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34282 ac_ext=c
34283 ac_cpp='$CPP $CPPFLAGS'
34284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
34293 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
34295 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
34296 for ac_func in isnan
34297 do :
34298 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
34299 if test "x$ac_cv_func_isnan" = x""yes; then :
34300 cat >>confdefs.h <<_ACEOF
34301 #define HAVE_ISNAN 1
34302 _ACEOF
34305 done
34307 else
34309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
34310 $as_echo_n "checking for _isnan declaration... " >&6; }
34311 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
34312 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
34313 $as_echo_n "(cached) " >&6
34314 else
34317 ac_ext=cpp
34318 ac_cpp='$CXXCPP $CPPFLAGS'
34319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34324 /* end confdefs.h. */
34325 #include <math.h>
34326 #ifdef HAVE_IEEEFP_H
34327 #include <ieeefp.h>
34328 #endif
34331 main ()
34333 _isnan(0);
34335 return 0;
34337 _ACEOF
34338 if ac_fn_cxx_try_compile "$LINENO"; then :
34339 glibcxx_cv_func__isnan_use=yes
34340 else
34341 glibcxx_cv_func__isnan_use=no
34343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34344 ac_ext=c
34345 ac_cpp='$CPP $CPPFLAGS'
34346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
34355 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
34357 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
34358 for ac_func in _isnan
34359 do :
34360 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
34361 if test "x$ac_cv_func__isnan" = x""yes; then :
34362 cat >>confdefs.h <<_ACEOF
34363 #define HAVE__ISNAN 1
34364 _ACEOF
34367 done
34376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
34377 $as_echo_n "checking for finite declaration... " >&6; }
34378 if test x${glibcxx_cv_func_finite_use+set} != xset; then
34379 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
34380 $as_echo_n "(cached) " >&6
34381 else
34384 ac_ext=cpp
34385 ac_cpp='$CXXCPP $CPPFLAGS'
34386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34391 /* end confdefs.h. */
34392 #include <math.h>
34393 #ifdef HAVE_IEEEFP_H
34394 #include <ieeefp.h>
34395 #endif
34398 main ()
34400 finite(0);
34402 return 0;
34404 _ACEOF
34405 if ac_fn_cxx_try_compile "$LINENO"; then :
34406 glibcxx_cv_func_finite_use=yes
34407 else
34408 glibcxx_cv_func_finite_use=no
34410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34411 ac_ext=c
34412 ac_cpp='$CPP $CPPFLAGS'
34413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
34422 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
34424 if test x$glibcxx_cv_func_finite_use = x"yes"; then
34425 for ac_func in finite
34426 do :
34427 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
34428 if test "x$ac_cv_func_finite" = x""yes; then :
34429 cat >>confdefs.h <<_ACEOF
34430 #define HAVE_FINITE 1
34431 _ACEOF
34434 done
34436 else
34438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
34439 $as_echo_n "checking for _finite declaration... " >&6; }
34440 if test x${glibcxx_cv_func__finite_use+set} != xset; then
34441 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
34442 $as_echo_n "(cached) " >&6
34443 else
34446 ac_ext=cpp
34447 ac_cpp='$CXXCPP $CPPFLAGS'
34448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34453 /* end confdefs.h. */
34454 #include <math.h>
34455 #ifdef HAVE_IEEEFP_H
34456 #include <ieeefp.h>
34457 #endif
34460 main ()
34462 _finite(0);
34464 return 0;
34466 _ACEOF
34467 if ac_fn_cxx_try_compile "$LINENO"; then :
34468 glibcxx_cv_func__finite_use=yes
34469 else
34470 glibcxx_cv_func__finite_use=no
34472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34473 ac_ext=c
34474 ac_cpp='$CPP $CPPFLAGS'
34475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
34484 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
34486 if test x$glibcxx_cv_func__finite_use = x"yes"; then
34487 for ac_func in _finite
34488 do :
34489 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
34490 if test "x$ac_cv_func__finite" = x""yes; then :
34491 cat >>confdefs.h <<_ACEOF
34492 #define HAVE__FINITE 1
34493 _ACEOF
34496 done
34505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
34506 $as_echo_n "checking for sincos declaration... " >&6; }
34507 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
34508 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
34509 $as_echo_n "(cached) " >&6
34510 else
34513 ac_ext=cpp
34514 ac_cpp='$CXXCPP $CPPFLAGS'
34515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34520 /* end confdefs.h. */
34521 #include <math.h>
34523 main ()
34525 sincos(0, 0, 0);
34527 return 0;
34529 _ACEOF
34530 if ac_fn_cxx_try_compile "$LINENO"; then :
34531 glibcxx_cv_func_sincos_use=yes
34532 else
34533 glibcxx_cv_func_sincos_use=no
34535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34536 ac_ext=c
34537 ac_cpp='$CPP $CPPFLAGS'
34538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
34547 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
34549 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
34550 for ac_func in sincos
34551 do :
34552 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
34553 if test "x$ac_cv_func_sincos" = x""yes; then :
34554 cat >>confdefs.h <<_ACEOF
34555 #define HAVE_SINCOS 1
34556 _ACEOF
34559 done
34561 else
34563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
34564 $as_echo_n "checking for _sincos declaration... " >&6; }
34565 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
34566 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
34567 $as_echo_n "(cached) " >&6
34568 else
34571 ac_ext=cpp
34572 ac_cpp='$CXXCPP $CPPFLAGS'
34573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34578 /* end confdefs.h. */
34579 #include <math.h>
34581 main ()
34583 _sincos(0, 0, 0);
34585 return 0;
34587 _ACEOF
34588 if ac_fn_cxx_try_compile "$LINENO"; then :
34589 glibcxx_cv_func__sincos_use=yes
34590 else
34591 glibcxx_cv_func__sincos_use=no
34593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34594 ac_ext=c
34595 ac_cpp='$CPP $CPPFLAGS'
34596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
34605 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
34607 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
34608 for ac_func in _sincos
34609 do :
34610 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
34611 if test "x$ac_cv_func__sincos" = x""yes; then :
34612 cat >>confdefs.h <<_ACEOF
34613 #define HAVE__SINCOS 1
34614 _ACEOF
34617 done
34626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
34627 $as_echo_n "checking for fpclass declaration... " >&6; }
34628 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
34629 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
34630 $as_echo_n "(cached) " >&6
34631 else
34634 ac_ext=cpp
34635 ac_cpp='$CXXCPP $CPPFLAGS'
34636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34641 /* end confdefs.h. */
34642 #include <math.h>
34643 #ifdef HAVE_IEEEFP_H
34644 #include <ieeefp.h>
34645 #endif
34648 main ()
34650 fpclass(0);
34652 return 0;
34654 _ACEOF
34655 if ac_fn_cxx_try_compile "$LINENO"; then :
34656 glibcxx_cv_func_fpclass_use=yes
34657 else
34658 glibcxx_cv_func_fpclass_use=no
34660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34661 ac_ext=c
34662 ac_cpp='$CPP $CPPFLAGS'
34663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
34672 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
34674 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
34675 for ac_func in fpclass
34676 do :
34677 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
34678 if test "x$ac_cv_func_fpclass" = x""yes; then :
34679 cat >>confdefs.h <<_ACEOF
34680 #define HAVE_FPCLASS 1
34681 _ACEOF
34684 done
34686 else
34688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
34689 $as_echo_n "checking for _fpclass declaration... " >&6; }
34690 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
34691 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
34692 $as_echo_n "(cached) " >&6
34693 else
34696 ac_ext=cpp
34697 ac_cpp='$CXXCPP $CPPFLAGS'
34698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34703 /* end confdefs.h. */
34704 #include <math.h>
34705 #ifdef HAVE_IEEEFP_H
34706 #include <ieeefp.h>
34707 #endif
34710 main ()
34712 _fpclass(0);
34714 return 0;
34716 _ACEOF
34717 if ac_fn_cxx_try_compile "$LINENO"; then :
34718 glibcxx_cv_func__fpclass_use=yes
34719 else
34720 glibcxx_cv_func__fpclass_use=no
34722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34723 ac_ext=c
34724 ac_cpp='$CPP $CPPFLAGS'
34725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
34734 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
34736 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
34737 for ac_func in _fpclass
34738 do :
34739 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
34740 if test "x$ac_cv_func__fpclass" = x""yes; then :
34741 cat >>confdefs.h <<_ACEOF
34742 #define HAVE__FPCLASS 1
34743 _ACEOF
34746 done
34755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
34756 $as_echo_n "checking for qfpclass declaration... " >&6; }
34757 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
34758 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
34759 $as_echo_n "(cached) " >&6
34760 else
34763 ac_ext=cpp
34764 ac_cpp='$CXXCPP $CPPFLAGS'
34765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34770 /* end confdefs.h. */
34771 #include <math.h>
34772 #ifdef HAVE_IEEEFP_H
34773 #include <ieeefp.h>
34774 #endif
34777 main ()
34779 qfpclass(0);
34781 return 0;
34783 _ACEOF
34784 if ac_fn_cxx_try_compile "$LINENO"; then :
34785 glibcxx_cv_func_qfpclass_use=yes
34786 else
34787 glibcxx_cv_func_qfpclass_use=no
34789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34790 ac_ext=c
34791 ac_cpp='$CPP $CPPFLAGS'
34792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
34801 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
34803 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
34804 for ac_func in qfpclass
34805 do :
34806 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
34807 if test "x$ac_cv_func_qfpclass" = x""yes; then :
34808 cat >>confdefs.h <<_ACEOF
34809 #define HAVE_QFPCLASS 1
34810 _ACEOF
34813 done
34815 else
34817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
34818 $as_echo_n "checking for _qfpclass declaration... " >&6; }
34819 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
34820 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
34821 $as_echo_n "(cached) " >&6
34822 else
34825 ac_ext=cpp
34826 ac_cpp='$CXXCPP $CPPFLAGS'
34827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34832 /* end confdefs.h. */
34833 #include <math.h>
34834 #ifdef HAVE_IEEEFP_H
34835 #include <ieeefp.h>
34836 #endif
34839 main ()
34841 _qfpclass(0);
34843 return 0;
34845 _ACEOF
34846 if ac_fn_cxx_try_compile "$LINENO"; then :
34847 glibcxx_cv_func__qfpclass_use=yes
34848 else
34849 glibcxx_cv_func__qfpclass_use=no
34851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34852 ac_ext=c
34853 ac_cpp='$CPP $CPPFLAGS'
34854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
34863 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
34865 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
34866 for ac_func in _qfpclass
34867 do :
34868 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
34869 if test "x$ac_cv_func__qfpclass" = x""yes; then :
34870 cat >>confdefs.h <<_ACEOF
34871 #define HAVE__QFPCLASS 1
34872 _ACEOF
34875 done
34884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
34885 $as_echo_n "checking for hypot declaration... " >&6; }
34886 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
34887 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
34888 $as_echo_n "(cached) " >&6
34889 else
34892 ac_ext=cpp
34893 ac_cpp='$CXXCPP $CPPFLAGS'
34894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34899 /* end confdefs.h. */
34900 #include <math.h>
34902 main ()
34904 hypot(0, 0);
34906 return 0;
34908 _ACEOF
34909 if ac_fn_cxx_try_compile "$LINENO"; then :
34910 glibcxx_cv_func_hypot_use=yes
34911 else
34912 glibcxx_cv_func_hypot_use=no
34914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34915 ac_ext=c
34916 ac_cpp='$CPP $CPPFLAGS'
34917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
34926 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
34928 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
34929 for ac_func in hypot
34930 do :
34931 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
34932 if test "x$ac_cv_func_hypot" = x""yes; then :
34933 cat >>confdefs.h <<_ACEOF
34934 #define HAVE_HYPOT 1
34935 _ACEOF
34938 done
34940 else
34942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
34943 $as_echo_n "checking for _hypot declaration... " >&6; }
34944 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
34945 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
34946 $as_echo_n "(cached) " >&6
34947 else
34950 ac_ext=cpp
34951 ac_cpp='$CXXCPP $CPPFLAGS'
34952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34957 /* end confdefs.h. */
34958 #include <math.h>
34960 main ()
34962 _hypot(0, 0);
34964 return 0;
34966 _ACEOF
34967 if ac_fn_cxx_try_compile "$LINENO"; then :
34968 glibcxx_cv_func__hypot_use=yes
34969 else
34970 glibcxx_cv_func__hypot_use=no
34972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34973 ac_ext=c
34974 ac_cpp='$CPP $CPPFLAGS'
34975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
34984 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
34986 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
34987 for ac_func in _hypot
34988 do :
34989 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
34990 if test "x$ac_cv_func__hypot" = x""yes; then :
34991 cat >>confdefs.h <<_ACEOF
34992 #define HAVE__HYPOT 1
34993 _ACEOF
34996 done
35005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
35006 $as_echo_n "checking for float trig functions... " >&6; }
35007 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
35008 $as_echo_n "(cached) " >&6
35009 else
35012 ac_ext=cpp
35013 ac_cpp='$CXXCPP $CPPFLAGS'
35014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35019 /* end confdefs.h. */
35020 #include <math.h>
35022 main ()
35024 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
35026 return 0;
35028 _ACEOF
35029 if ac_fn_cxx_try_compile "$LINENO"; then :
35030 glibcxx_cv_func_float_trig_use=yes
35031 else
35032 glibcxx_cv_func_float_trig_use=no
35034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35035 ac_ext=c
35036 ac_cpp='$CPP $CPPFLAGS'
35037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
35044 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
35045 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
35046 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
35047 do :
35048 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35049 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35050 eval as_val=\$$as_ac_var
35051 if test "x$as_val" = x""yes; then :
35052 cat >>confdefs.h <<_ACEOF
35053 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35054 _ACEOF
35057 done
35059 else
35060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
35061 $as_echo_n "checking for _float trig functions... " >&6; }
35062 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
35063 $as_echo_n "(cached) " >&6
35064 else
35067 ac_ext=cpp
35068 ac_cpp='$CXXCPP $CPPFLAGS'
35069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35074 /* end confdefs.h. */
35075 #include <math.h>
35077 main ()
35079 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
35081 return 0;
35083 _ACEOF
35084 if ac_fn_cxx_try_compile "$LINENO"; then :
35085 glibcxx_cv_func__float_trig_use=yes
35086 else
35087 glibcxx_cv_func__float_trig_use=no
35089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35090 ac_ext=c
35091 ac_cpp='$CPP $CPPFLAGS'
35092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
35099 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
35100 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
35101 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
35102 do :
35103 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35104 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35105 eval as_val=\$$as_ac_var
35106 if test "x$as_val" = x""yes; then :
35107 cat >>confdefs.h <<_ACEOF
35108 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35109 _ACEOF
35112 done
35121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
35122 $as_echo_n "checking for float round functions... " >&6; }
35123 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
35124 $as_echo_n "(cached) " >&6
35125 else
35128 ac_ext=cpp
35129 ac_cpp='$CXXCPP $CPPFLAGS'
35130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35135 /* end confdefs.h. */
35136 #include <math.h>
35138 main ()
35140 ceilf (0); floorf (0);
35142 return 0;
35144 _ACEOF
35145 if ac_fn_cxx_try_compile "$LINENO"; then :
35146 glibcxx_cv_func_float_round_use=yes
35147 else
35148 glibcxx_cv_func_float_round_use=no
35150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35151 ac_ext=c
35152 ac_cpp='$CPP $CPPFLAGS'
35153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
35160 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
35161 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
35162 for ac_func in ceilf floorf
35163 do :
35164 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35165 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35166 eval as_val=\$$as_ac_var
35167 if test "x$as_val" = x""yes; then :
35168 cat >>confdefs.h <<_ACEOF
35169 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35170 _ACEOF
35173 done
35175 else
35176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
35177 $as_echo_n "checking for _float round functions... " >&6; }
35178 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
35179 $as_echo_n "(cached) " >&6
35180 else
35183 ac_ext=cpp
35184 ac_cpp='$CXXCPP $CPPFLAGS'
35185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35190 /* end confdefs.h. */
35191 #include <math.h>
35193 main ()
35195 _ceilf (0); _floorf (0);
35197 return 0;
35199 _ACEOF
35200 if ac_fn_cxx_try_compile "$LINENO"; then :
35201 glibcxx_cv_func__float_round_use=yes
35202 else
35203 glibcxx_cv_func__float_round_use=no
35205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35206 ac_ext=c
35207 ac_cpp='$CPP $CPPFLAGS'
35208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
35215 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
35216 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
35217 for ac_func in _ceilf _floorf
35218 do :
35219 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35220 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35221 eval as_val=\$$as_ac_var
35222 if test "x$as_val" = x""yes; then :
35223 cat >>confdefs.h <<_ACEOF
35224 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35225 _ACEOF
35228 done
35238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
35239 $as_echo_n "checking for expf declaration... " >&6; }
35240 if test x${glibcxx_cv_func_expf_use+set} != xset; then
35241 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
35242 $as_echo_n "(cached) " >&6
35243 else
35246 ac_ext=cpp
35247 ac_cpp='$CXXCPP $CPPFLAGS'
35248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35253 /* end confdefs.h. */
35254 #include <math.h>
35255 #ifdef HAVE_IEEEFP_H
35256 #include <ieeefp.h>
35257 #endif
35260 main ()
35262 expf(0);
35264 return 0;
35266 _ACEOF
35267 if ac_fn_cxx_try_compile "$LINENO"; then :
35268 glibcxx_cv_func_expf_use=yes
35269 else
35270 glibcxx_cv_func_expf_use=no
35272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35273 ac_ext=c
35274 ac_cpp='$CPP $CPPFLAGS'
35275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
35284 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
35286 if test x$glibcxx_cv_func_expf_use = x"yes"; then
35287 for ac_func in expf
35288 do :
35289 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
35290 if test "x$ac_cv_func_expf" = x""yes; then :
35291 cat >>confdefs.h <<_ACEOF
35292 #define HAVE_EXPF 1
35293 _ACEOF
35296 done
35298 else
35300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
35301 $as_echo_n "checking for _expf declaration... " >&6; }
35302 if test x${glibcxx_cv_func__expf_use+set} != xset; then
35303 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
35304 $as_echo_n "(cached) " >&6
35305 else
35308 ac_ext=cpp
35309 ac_cpp='$CXXCPP $CPPFLAGS'
35310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35315 /* end confdefs.h. */
35316 #include <math.h>
35317 #ifdef HAVE_IEEEFP_H
35318 #include <ieeefp.h>
35319 #endif
35322 main ()
35324 _expf(0);
35326 return 0;
35328 _ACEOF
35329 if ac_fn_cxx_try_compile "$LINENO"; then :
35330 glibcxx_cv_func__expf_use=yes
35331 else
35332 glibcxx_cv_func__expf_use=no
35334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35335 ac_ext=c
35336 ac_cpp='$CPP $CPPFLAGS'
35337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
35346 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
35348 if test x$glibcxx_cv_func__expf_use = x"yes"; then
35349 for ac_func in _expf
35350 do :
35351 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
35352 if test "x$ac_cv_func__expf" = x""yes; then :
35353 cat >>confdefs.h <<_ACEOF
35354 #define HAVE__EXPF 1
35355 _ACEOF
35358 done
35367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
35368 $as_echo_n "checking for isnanf declaration... " >&6; }
35369 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
35370 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
35371 $as_echo_n "(cached) " >&6
35372 else
35375 ac_ext=cpp
35376 ac_cpp='$CXXCPP $CPPFLAGS'
35377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35382 /* end confdefs.h. */
35383 #include <math.h>
35384 #ifdef HAVE_IEEEFP_H
35385 #include <ieeefp.h>
35386 #endif
35389 main ()
35391 isnanf(0);
35393 return 0;
35395 _ACEOF
35396 if ac_fn_cxx_try_compile "$LINENO"; then :
35397 glibcxx_cv_func_isnanf_use=yes
35398 else
35399 glibcxx_cv_func_isnanf_use=no
35401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35402 ac_ext=c
35403 ac_cpp='$CPP $CPPFLAGS'
35404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
35413 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
35415 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
35416 for ac_func in isnanf
35417 do :
35418 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
35419 if test "x$ac_cv_func_isnanf" = x""yes; then :
35420 cat >>confdefs.h <<_ACEOF
35421 #define HAVE_ISNANF 1
35422 _ACEOF
35425 done
35427 else
35429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
35430 $as_echo_n "checking for _isnanf declaration... " >&6; }
35431 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
35432 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
35433 $as_echo_n "(cached) " >&6
35434 else
35437 ac_ext=cpp
35438 ac_cpp='$CXXCPP $CPPFLAGS'
35439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35444 /* end confdefs.h. */
35445 #include <math.h>
35446 #ifdef HAVE_IEEEFP_H
35447 #include <ieeefp.h>
35448 #endif
35451 main ()
35453 _isnanf(0);
35455 return 0;
35457 _ACEOF
35458 if ac_fn_cxx_try_compile "$LINENO"; then :
35459 glibcxx_cv_func__isnanf_use=yes
35460 else
35461 glibcxx_cv_func__isnanf_use=no
35463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35464 ac_ext=c
35465 ac_cpp='$CPP $CPPFLAGS'
35466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
35475 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
35477 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
35478 for ac_func in _isnanf
35479 do :
35480 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
35481 if test "x$ac_cv_func__isnanf" = x""yes; then :
35482 cat >>confdefs.h <<_ACEOF
35483 #define HAVE__ISNANF 1
35484 _ACEOF
35487 done
35496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
35497 $as_echo_n "checking for isinff declaration... " >&6; }
35498 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
35499 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
35500 $as_echo_n "(cached) " >&6
35501 else
35504 ac_ext=cpp
35505 ac_cpp='$CXXCPP $CPPFLAGS'
35506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35511 /* end confdefs.h. */
35512 #include <math.h>
35513 #ifdef HAVE_IEEEFP_H
35514 #include <ieeefp.h>
35515 #endif
35518 main ()
35520 isinff(0);
35522 return 0;
35524 _ACEOF
35525 if ac_fn_cxx_try_compile "$LINENO"; then :
35526 glibcxx_cv_func_isinff_use=yes
35527 else
35528 glibcxx_cv_func_isinff_use=no
35530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35531 ac_ext=c
35532 ac_cpp='$CPP $CPPFLAGS'
35533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
35542 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
35544 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
35545 for ac_func in isinff
35546 do :
35547 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
35548 if test "x$ac_cv_func_isinff" = x""yes; then :
35549 cat >>confdefs.h <<_ACEOF
35550 #define HAVE_ISINFF 1
35551 _ACEOF
35554 done
35556 else
35558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
35559 $as_echo_n "checking for _isinff declaration... " >&6; }
35560 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
35561 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
35562 $as_echo_n "(cached) " >&6
35563 else
35566 ac_ext=cpp
35567 ac_cpp='$CXXCPP $CPPFLAGS'
35568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35573 /* end confdefs.h. */
35574 #include <math.h>
35575 #ifdef HAVE_IEEEFP_H
35576 #include <ieeefp.h>
35577 #endif
35580 main ()
35582 _isinff(0);
35584 return 0;
35586 _ACEOF
35587 if ac_fn_cxx_try_compile "$LINENO"; then :
35588 glibcxx_cv_func__isinff_use=yes
35589 else
35590 glibcxx_cv_func__isinff_use=no
35592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35593 ac_ext=c
35594 ac_cpp='$CPP $CPPFLAGS'
35595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
35604 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
35606 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
35607 for ac_func in _isinff
35608 do :
35609 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
35610 if test "x$ac_cv_func__isinff" = x""yes; then :
35611 cat >>confdefs.h <<_ACEOF
35612 #define HAVE__ISINFF 1
35613 _ACEOF
35616 done
35625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
35626 $as_echo_n "checking for atan2f declaration... " >&6; }
35627 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
35628 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
35629 $as_echo_n "(cached) " >&6
35630 else
35633 ac_ext=cpp
35634 ac_cpp='$CXXCPP $CPPFLAGS'
35635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35640 /* end confdefs.h. */
35641 #include <math.h>
35643 main ()
35645 atan2f(0, 0);
35647 return 0;
35649 _ACEOF
35650 if ac_fn_cxx_try_compile "$LINENO"; then :
35651 glibcxx_cv_func_atan2f_use=yes
35652 else
35653 glibcxx_cv_func_atan2f_use=no
35655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35656 ac_ext=c
35657 ac_cpp='$CPP $CPPFLAGS'
35658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
35667 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
35669 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
35670 for ac_func in atan2f
35671 do :
35672 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
35673 if test "x$ac_cv_func_atan2f" = x""yes; then :
35674 cat >>confdefs.h <<_ACEOF
35675 #define HAVE_ATAN2F 1
35676 _ACEOF
35679 done
35681 else
35683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
35684 $as_echo_n "checking for _atan2f declaration... " >&6; }
35685 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
35686 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
35687 $as_echo_n "(cached) " >&6
35688 else
35691 ac_ext=cpp
35692 ac_cpp='$CXXCPP $CPPFLAGS'
35693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35698 /* end confdefs.h. */
35699 #include <math.h>
35701 main ()
35703 _atan2f(0, 0);
35705 return 0;
35707 _ACEOF
35708 if ac_fn_cxx_try_compile "$LINENO"; then :
35709 glibcxx_cv_func__atan2f_use=yes
35710 else
35711 glibcxx_cv_func__atan2f_use=no
35713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35714 ac_ext=c
35715 ac_cpp='$CPP $CPPFLAGS'
35716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
35725 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
35727 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
35728 for ac_func in _atan2f
35729 do :
35730 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
35731 if test "x$ac_cv_func__atan2f" = x""yes; then :
35732 cat >>confdefs.h <<_ACEOF
35733 #define HAVE__ATAN2F 1
35734 _ACEOF
35737 done
35746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
35747 $as_echo_n "checking for fabsf declaration... " >&6; }
35748 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
35749 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
35750 $as_echo_n "(cached) " >&6
35751 else
35754 ac_ext=cpp
35755 ac_cpp='$CXXCPP $CPPFLAGS'
35756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35761 /* end confdefs.h. */
35762 #include <math.h>
35763 #ifdef HAVE_IEEEFP_H
35764 #include <ieeefp.h>
35765 #endif
35768 main ()
35770 fabsf(0);
35772 return 0;
35774 _ACEOF
35775 if ac_fn_cxx_try_compile "$LINENO"; then :
35776 glibcxx_cv_func_fabsf_use=yes
35777 else
35778 glibcxx_cv_func_fabsf_use=no
35780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35781 ac_ext=c
35782 ac_cpp='$CPP $CPPFLAGS'
35783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
35792 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
35794 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
35795 for ac_func in fabsf
35796 do :
35797 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
35798 if test "x$ac_cv_func_fabsf" = x""yes; then :
35799 cat >>confdefs.h <<_ACEOF
35800 #define HAVE_FABSF 1
35801 _ACEOF
35804 done
35806 else
35808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
35809 $as_echo_n "checking for _fabsf declaration... " >&6; }
35810 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
35811 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
35812 $as_echo_n "(cached) " >&6
35813 else
35816 ac_ext=cpp
35817 ac_cpp='$CXXCPP $CPPFLAGS'
35818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35823 /* end confdefs.h. */
35824 #include <math.h>
35825 #ifdef HAVE_IEEEFP_H
35826 #include <ieeefp.h>
35827 #endif
35830 main ()
35832 _fabsf(0);
35834 return 0;
35836 _ACEOF
35837 if ac_fn_cxx_try_compile "$LINENO"; then :
35838 glibcxx_cv_func__fabsf_use=yes
35839 else
35840 glibcxx_cv_func__fabsf_use=no
35842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35843 ac_ext=c
35844 ac_cpp='$CPP $CPPFLAGS'
35845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
35854 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
35856 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
35857 for ac_func in _fabsf
35858 do :
35859 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
35860 if test "x$ac_cv_func__fabsf" = x""yes; then :
35861 cat >>confdefs.h <<_ACEOF
35862 #define HAVE__FABSF 1
35863 _ACEOF
35866 done
35875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
35876 $as_echo_n "checking for fmodf declaration... " >&6; }
35877 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
35878 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
35879 $as_echo_n "(cached) " >&6
35880 else
35883 ac_ext=cpp
35884 ac_cpp='$CXXCPP $CPPFLAGS'
35885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35890 /* end confdefs.h. */
35891 #include <math.h>
35893 main ()
35895 fmodf(0, 0);
35897 return 0;
35899 _ACEOF
35900 if ac_fn_cxx_try_compile "$LINENO"; then :
35901 glibcxx_cv_func_fmodf_use=yes
35902 else
35903 glibcxx_cv_func_fmodf_use=no
35905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35906 ac_ext=c
35907 ac_cpp='$CPP $CPPFLAGS'
35908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
35917 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
35919 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
35920 for ac_func in fmodf
35921 do :
35922 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
35923 if test "x$ac_cv_func_fmodf" = x""yes; then :
35924 cat >>confdefs.h <<_ACEOF
35925 #define HAVE_FMODF 1
35926 _ACEOF
35929 done
35931 else
35933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
35934 $as_echo_n "checking for _fmodf declaration... " >&6; }
35935 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
35936 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
35937 $as_echo_n "(cached) " >&6
35938 else
35941 ac_ext=cpp
35942 ac_cpp='$CXXCPP $CPPFLAGS'
35943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35948 /* end confdefs.h. */
35949 #include <math.h>
35951 main ()
35953 _fmodf(0, 0);
35955 return 0;
35957 _ACEOF
35958 if ac_fn_cxx_try_compile "$LINENO"; then :
35959 glibcxx_cv_func__fmodf_use=yes
35960 else
35961 glibcxx_cv_func__fmodf_use=no
35963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35964 ac_ext=c
35965 ac_cpp='$CPP $CPPFLAGS'
35966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
35975 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
35977 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
35978 for ac_func in _fmodf
35979 do :
35980 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
35981 if test "x$ac_cv_func__fmodf" = x""yes; then :
35982 cat >>confdefs.h <<_ACEOF
35983 #define HAVE__FMODF 1
35984 _ACEOF
35987 done
35996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
35997 $as_echo_n "checking for frexpf declaration... " >&6; }
35998 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
35999 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
36000 $as_echo_n "(cached) " >&6
36001 else
36004 ac_ext=cpp
36005 ac_cpp='$CXXCPP $CPPFLAGS'
36006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36011 /* end confdefs.h. */
36012 #include <math.h>
36014 main ()
36016 frexpf(0, 0);
36018 return 0;
36020 _ACEOF
36021 if ac_fn_cxx_try_compile "$LINENO"; then :
36022 glibcxx_cv_func_frexpf_use=yes
36023 else
36024 glibcxx_cv_func_frexpf_use=no
36026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36027 ac_ext=c
36028 ac_cpp='$CPP $CPPFLAGS'
36029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
36038 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
36040 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
36041 for ac_func in frexpf
36042 do :
36043 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
36044 if test "x$ac_cv_func_frexpf" = x""yes; then :
36045 cat >>confdefs.h <<_ACEOF
36046 #define HAVE_FREXPF 1
36047 _ACEOF
36050 done
36052 else
36054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
36055 $as_echo_n "checking for _frexpf declaration... " >&6; }
36056 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
36057 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
36058 $as_echo_n "(cached) " >&6
36059 else
36062 ac_ext=cpp
36063 ac_cpp='$CXXCPP $CPPFLAGS'
36064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36069 /* end confdefs.h. */
36070 #include <math.h>
36072 main ()
36074 _frexpf(0, 0);
36076 return 0;
36078 _ACEOF
36079 if ac_fn_cxx_try_compile "$LINENO"; then :
36080 glibcxx_cv_func__frexpf_use=yes
36081 else
36082 glibcxx_cv_func__frexpf_use=no
36084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36085 ac_ext=c
36086 ac_cpp='$CPP $CPPFLAGS'
36087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
36096 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
36098 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
36099 for ac_func in _frexpf
36100 do :
36101 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
36102 if test "x$ac_cv_func__frexpf" = x""yes; then :
36103 cat >>confdefs.h <<_ACEOF
36104 #define HAVE__FREXPF 1
36105 _ACEOF
36108 done
36117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
36118 $as_echo_n "checking for hypotf declaration... " >&6; }
36119 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
36120 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
36121 $as_echo_n "(cached) " >&6
36122 else
36125 ac_ext=cpp
36126 ac_cpp='$CXXCPP $CPPFLAGS'
36127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36132 /* end confdefs.h. */
36133 #include <math.h>
36135 main ()
36137 hypotf(0, 0);
36139 return 0;
36141 _ACEOF
36142 if ac_fn_cxx_try_compile "$LINENO"; then :
36143 glibcxx_cv_func_hypotf_use=yes
36144 else
36145 glibcxx_cv_func_hypotf_use=no
36147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36148 ac_ext=c
36149 ac_cpp='$CPP $CPPFLAGS'
36150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
36159 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
36161 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
36162 for ac_func in hypotf
36163 do :
36164 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
36165 if test "x$ac_cv_func_hypotf" = x""yes; then :
36166 cat >>confdefs.h <<_ACEOF
36167 #define HAVE_HYPOTF 1
36168 _ACEOF
36171 done
36173 else
36175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
36176 $as_echo_n "checking for _hypotf declaration... " >&6; }
36177 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
36178 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
36179 $as_echo_n "(cached) " >&6
36180 else
36183 ac_ext=cpp
36184 ac_cpp='$CXXCPP $CPPFLAGS'
36185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36190 /* end confdefs.h. */
36191 #include <math.h>
36193 main ()
36195 _hypotf(0, 0);
36197 return 0;
36199 _ACEOF
36200 if ac_fn_cxx_try_compile "$LINENO"; then :
36201 glibcxx_cv_func__hypotf_use=yes
36202 else
36203 glibcxx_cv_func__hypotf_use=no
36205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36206 ac_ext=c
36207 ac_cpp='$CPP $CPPFLAGS'
36208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
36217 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
36219 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
36220 for ac_func in _hypotf
36221 do :
36222 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
36223 if test "x$ac_cv_func__hypotf" = x""yes; then :
36224 cat >>confdefs.h <<_ACEOF
36225 #define HAVE__HYPOTF 1
36226 _ACEOF
36229 done
36238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
36239 $as_echo_n "checking for ldexpf declaration... " >&6; }
36240 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
36241 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
36242 $as_echo_n "(cached) " >&6
36243 else
36246 ac_ext=cpp
36247 ac_cpp='$CXXCPP $CPPFLAGS'
36248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36253 /* end confdefs.h. */
36254 #include <math.h>
36256 main ()
36258 ldexpf(0, 0);
36260 return 0;
36262 _ACEOF
36263 if ac_fn_cxx_try_compile "$LINENO"; then :
36264 glibcxx_cv_func_ldexpf_use=yes
36265 else
36266 glibcxx_cv_func_ldexpf_use=no
36268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36269 ac_ext=c
36270 ac_cpp='$CPP $CPPFLAGS'
36271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
36280 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
36282 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
36283 for ac_func in ldexpf
36284 do :
36285 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
36286 if test "x$ac_cv_func_ldexpf" = x""yes; then :
36287 cat >>confdefs.h <<_ACEOF
36288 #define HAVE_LDEXPF 1
36289 _ACEOF
36292 done
36294 else
36296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
36297 $as_echo_n "checking for _ldexpf declaration... " >&6; }
36298 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
36299 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
36300 $as_echo_n "(cached) " >&6
36301 else
36304 ac_ext=cpp
36305 ac_cpp='$CXXCPP $CPPFLAGS'
36306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36311 /* end confdefs.h. */
36312 #include <math.h>
36314 main ()
36316 _ldexpf(0, 0);
36318 return 0;
36320 _ACEOF
36321 if ac_fn_cxx_try_compile "$LINENO"; then :
36322 glibcxx_cv_func__ldexpf_use=yes
36323 else
36324 glibcxx_cv_func__ldexpf_use=no
36326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36327 ac_ext=c
36328 ac_cpp='$CPP $CPPFLAGS'
36329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
36338 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
36340 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
36341 for ac_func in _ldexpf
36342 do :
36343 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
36344 if test "x$ac_cv_func__ldexpf" = x""yes; then :
36345 cat >>confdefs.h <<_ACEOF
36346 #define HAVE__LDEXPF 1
36347 _ACEOF
36350 done
36359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
36360 $as_echo_n "checking for logf declaration... " >&6; }
36361 if test x${glibcxx_cv_func_logf_use+set} != xset; then
36362 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
36363 $as_echo_n "(cached) " >&6
36364 else
36367 ac_ext=cpp
36368 ac_cpp='$CXXCPP $CPPFLAGS'
36369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36374 /* end confdefs.h. */
36375 #include <math.h>
36376 #ifdef HAVE_IEEEFP_H
36377 #include <ieeefp.h>
36378 #endif
36381 main ()
36383 logf(0);
36385 return 0;
36387 _ACEOF
36388 if ac_fn_cxx_try_compile "$LINENO"; then :
36389 glibcxx_cv_func_logf_use=yes
36390 else
36391 glibcxx_cv_func_logf_use=no
36393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36394 ac_ext=c
36395 ac_cpp='$CPP $CPPFLAGS'
36396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
36405 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
36407 if test x$glibcxx_cv_func_logf_use = x"yes"; then
36408 for ac_func in logf
36409 do :
36410 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
36411 if test "x$ac_cv_func_logf" = x""yes; then :
36412 cat >>confdefs.h <<_ACEOF
36413 #define HAVE_LOGF 1
36414 _ACEOF
36417 done
36419 else
36421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
36422 $as_echo_n "checking for _logf declaration... " >&6; }
36423 if test x${glibcxx_cv_func__logf_use+set} != xset; then
36424 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
36425 $as_echo_n "(cached) " >&6
36426 else
36429 ac_ext=cpp
36430 ac_cpp='$CXXCPP $CPPFLAGS'
36431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36436 /* end confdefs.h. */
36437 #include <math.h>
36438 #ifdef HAVE_IEEEFP_H
36439 #include <ieeefp.h>
36440 #endif
36443 main ()
36445 _logf(0);
36447 return 0;
36449 _ACEOF
36450 if ac_fn_cxx_try_compile "$LINENO"; then :
36451 glibcxx_cv_func__logf_use=yes
36452 else
36453 glibcxx_cv_func__logf_use=no
36455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36456 ac_ext=c
36457 ac_cpp='$CPP $CPPFLAGS'
36458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
36467 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
36469 if test x$glibcxx_cv_func__logf_use = x"yes"; then
36470 for ac_func in _logf
36471 do :
36472 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
36473 if test "x$ac_cv_func__logf" = x""yes; then :
36474 cat >>confdefs.h <<_ACEOF
36475 #define HAVE__LOGF 1
36476 _ACEOF
36479 done
36488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
36489 $as_echo_n "checking for log10f declaration... " >&6; }
36490 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
36491 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
36492 $as_echo_n "(cached) " >&6
36493 else
36496 ac_ext=cpp
36497 ac_cpp='$CXXCPP $CPPFLAGS'
36498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36503 /* end confdefs.h. */
36504 #include <math.h>
36505 #ifdef HAVE_IEEEFP_H
36506 #include <ieeefp.h>
36507 #endif
36510 main ()
36512 log10f(0);
36514 return 0;
36516 _ACEOF
36517 if ac_fn_cxx_try_compile "$LINENO"; then :
36518 glibcxx_cv_func_log10f_use=yes
36519 else
36520 glibcxx_cv_func_log10f_use=no
36522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36523 ac_ext=c
36524 ac_cpp='$CPP $CPPFLAGS'
36525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
36534 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
36536 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
36537 for ac_func in log10f
36538 do :
36539 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
36540 if test "x$ac_cv_func_log10f" = x""yes; then :
36541 cat >>confdefs.h <<_ACEOF
36542 #define HAVE_LOG10F 1
36543 _ACEOF
36546 done
36548 else
36550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
36551 $as_echo_n "checking for _log10f declaration... " >&6; }
36552 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
36553 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
36554 $as_echo_n "(cached) " >&6
36555 else
36558 ac_ext=cpp
36559 ac_cpp='$CXXCPP $CPPFLAGS'
36560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36565 /* end confdefs.h. */
36566 #include <math.h>
36567 #ifdef HAVE_IEEEFP_H
36568 #include <ieeefp.h>
36569 #endif
36572 main ()
36574 _log10f(0);
36576 return 0;
36578 _ACEOF
36579 if ac_fn_cxx_try_compile "$LINENO"; then :
36580 glibcxx_cv_func__log10f_use=yes
36581 else
36582 glibcxx_cv_func__log10f_use=no
36584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36585 ac_ext=c
36586 ac_cpp='$CPP $CPPFLAGS'
36587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
36596 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
36598 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
36599 for ac_func in _log10f
36600 do :
36601 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
36602 if test "x$ac_cv_func__log10f" = x""yes; then :
36603 cat >>confdefs.h <<_ACEOF
36604 #define HAVE__LOG10F 1
36605 _ACEOF
36608 done
36617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
36618 $as_echo_n "checking for modff declaration... " >&6; }
36619 if test x${glibcxx_cv_func_modff_use+set} != xset; then
36620 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
36621 $as_echo_n "(cached) " >&6
36622 else
36625 ac_ext=cpp
36626 ac_cpp='$CXXCPP $CPPFLAGS'
36627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36632 /* end confdefs.h. */
36633 #include <math.h>
36635 main ()
36637 modff(0, 0);
36639 return 0;
36641 _ACEOF
36642 if ac_fn_cxx_try_compile "$LINENO"; then :
36643 glibcxx_cv_func_modff_use=yes
36644 else
36645 glibcxx_cv_func_modff_use=no
36647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36648 ac_ext=c
36649 ac_cpp='$CPP $CPPFLAGS'
36650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
36659 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
36661 if test x$glibcxx_cv_func_modff_use = x"yes"; then
36662 for ac_func in modff
36663 do :
36664 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
36665 if test "x$ac_cv_func_modff" = x""yes; then :
36666 cat >>confdefs.h <<_ACEOF
36667 #define HAVE_MODFF 1
36668 _ACEOF
36671 done
36673 else
36675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
36676 $as_echo_n "checking for _modff declaration... " >&6; }
36677 if test x${glibcxx_cv_func__modff_use+set} != xset; then
36678 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
36679 $as_echo_n "(cached) " >&6
36680 else
36683 ac_ext=cpp
36684 ac_cpp='$CXXCPP $CPPFLAGS'
36685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36690 /* end confdefs.h. */
36691 #include <math.h>
36693 main ()
36695 _modff(0, 0);
36697 return 0;
36699 _ACEOF
36700 if ac_fn_cxx_try_compile "$LINENO"; then :
36701 glibcxx_cv_func__modff_use=yes
36702 else
36703 glibcxx_cv_func__modff_use=no
36705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36706 ac_ext=c
36707 ac_cpp='$CPP $CPPFLAGS'
36708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
36717 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
36719 if test x$glibcxx_cv_func__modff_use = x"yes"; then
36720 for ac_func in _modff
36721 do :
36722 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
36723 if test "x$ac_cv_func__modff" = x""yes; then :
36724 cat >>confdefs.h <<_ACEOF
36725 #define HAVE__MODFF 1
36726 _ACEOF
36729 done
36738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
36739 $as_echo_n "checking for modf declaration... " >&6; }
36740 if test x${glibcxx_cv_func_modf_use+set} != xset; then
36741 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
36742 $as_echo_n "(cached) " >&6
36743 else
36746 ac_ext=cpp
36747 ac_cpp='$CXXCPP $CPPFLAGS'
36748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36753 /* end confdefs.h. */
36754 #include <math.h>
36756 main ()
36758 modf(0, 0);
36760 return 0;
36762 _ACEOF
36763 if ac_fn_cxx_try_compile "$LINENO"; then :
36764 glibcxx_cv_func_modf_use=yes
36765 else
36766 glibcxx_cv_func_modf_use=no
36768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36769 ac_ext=c
36770 ac_cpp='$CPP $CPPFLAGS'
36771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
36780 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
36782 if test x$glibcxx_cv_func_modf_use = x"yes"; then
36783 for ac_func in modf
36784 do :
36785 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
36786 if test "x$ac_cv_func_modf" = x""yes; then :
36787 cat >>confdefs.h <<_ACEOF
36788 #define HAVE_MODF 1
36789 _ACEOF
36792 done
36794 else
36796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
36797 $as_echo_n "checking for _modf declaration... " >&6; }
36798 if test x${glibcxx_cv_func__modf_use+set} != xset; then
36799 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
36800 $as_echo_n "(cached) " >&6
36801 else
36804 ac_ext=cpp
36805 ac_cpp='$CXXCPP $CPPFLAGS'
36806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36811 /* end confdefs.h. */
36812 #include <math.h>
36814 main ()
36816 _modf(0, 0);
36818 return 0;
36820 _ACEOF
36821 if ac_fn_cxx_try_compile "$LINENO"; then :
36822 glibcxx_cv_func__modf_use=yes
36823 else
36824 glibcxx_cv_func__modf_use=no
36826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36827 ac_ext=c
36828 ac_cpp='$CPP $CPPFLAGS'
36829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
36838 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
36840 if test x$glibcxx_cv_func__modf_use = x"yes"; then
36841 for ac_func in _modf
36842 do :
36843 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
36844 if test "x$ac_cv_func__modf" = x""yes; then :
36845 cat >>confdefs.h <<_ACEOF
36846 #define HAVE__MODF 1
36847 _ACEOF
36850 done
36859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
36860 $as_echo_n "checking for powf declaration... " >&6; }
36861 if test x${glibcxx_cv_func_powf_use+set} != xset; then
36862 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
36863 $as_echo_n "(cached) " >&6
36864 else
36867 ac_ext=cpp
36868 ac_cpp='$CXXCPP $CPPFLAGS'
36869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36874 /* end confdefs.h. */
36875 #include <math.h>
36877 main ()
36879 powf(0, 0);
36881 return 0;
36883 _ACEOF
36884 if ac_fn_cxx_try_compile "$LINENO"; then :
36885 glibcxx_cv_func_powf_use=yes
36886 else
36887 glibcxx_cv_func_powf_use=no
36889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36890 ac_ext=c
36891 ac_cpp='$CPP $CPPFLAGS'
36892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
36901 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
36903 if test x$glibcxx_cv_func_powf_use = x"yes"; then
36904 for ac_func in powf
36905 do :
36906 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
36907 if test "x$ac_cv_func_powf" = x""yes; then :
36908 cat >>confdefs.h <<_ACEOF
36909 #define HAVE_POWF 1
36910 _ACEOF
36913 done
36915 else
36917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
36918 $as_echo_n "checking for _powf declaration... " >&6; }
36919 if test x${glibcxx_cv_func__powf_use+set} != xset; then
36920 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
36921 $as_echo_n "(cached) " >&6
36922 else
36925 ac_ext=cpp
36926 ac_cpp='$CXXCPP $CPPFLAGS'
36927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36932 /* end confdefs.h. */
36933 #include <math.h>
36935 main ()
36937 _powf(0, 0);
36939 return 0;
36941 _ACEOF
36942 if ac_fn_cxx_try_compile "$LINENO"; then :
36943 glibcxx_cv_func__powf_use=yes
36944 else
36945 glibcxx_cv_func__powf_use=no
36947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36948 ac_ext=c
36949 ac_cpp='$CPP $CPPFLAGS'
36950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
36959 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
36961 if test x$glibcxx_cv_func__powf_use = x"yes"; then
36962 for ac_func in _powf
36963 do :
36964 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
36965 if test "x$ac_cv_func__powf" = x""yes; then :
36966 cat >>confdefs.h <<_ACEOF
36967 #define HAVE__POWF 1
36968 _ACEOF
36971 done
36980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
36981 $as_echo_n "checking for sqrtf declaration... " >&6; }
36982 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
36983 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
36984 $as_echo_n "(cached) " >&6
36985 else
36988 ac_ext=cpp
36989 ac_cpp='$CXXCPP $CPPFLAGS'
36990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36995 /* end confdefs.h. */
36996 #include <math.h>
36997 #ifdef HAVE_IEEEFP_H
36998 #include <ieeefp.h>
36999 #endif
37002 main ()
37004 sqrtf(0);
37006 return 0;
37008 _ACEOF
37009 if ac_fn_cxx_try_compile "$LINENO"; then :
37010 glibcxx_cv_func_sqrtf_use=yes
37011 else
37012 glibcxx_cv_func_sqrtf_use=no
37014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37015 ac_ext=c
37016 ac_cpp='$CPP $CPPFLAGS'
37017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
37026 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
37028 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
37029 for ac_func in sqrtf
37030 do :
37031 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
37032 if test "x$ac_cv_func_sqrtf" = x""yes; then :
37033 cat >>confdefs.h <<_ACEOF
37034 #define HAVE_SQRTF 1
37035 _ACEOF
37038 done
37040 else
37042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
37043 $as_echo_n "checking for _sqrtf declaration... " >&6; }
37044 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
37045 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
37046 $as_echo_n "(cached) " >&6
37047 else
37050 ac_ext=cpp
37051 ac_cpp='$CXXCPP $CPPFLAGS'
37052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37057 /* end confdefs.h. */
37058 #include <math.h>
37059 #ifdef HAVE_IEEEFP_H
37060 #include <ieeefp.h>
37061 #endif
37064 main ()
37066 _sqrtf(0);
37068 return 0;
37070 _ACEOF
37071 if ac_fn_cxx_try_compile "$LINENO"; then :
37072 glibcxx_cv_func__sqrtf_use=yes
37073 else
37074 glibcxx_cv_func__sqrtf_use=no
37076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37077 ac_ext=c
37078 ac_cpp='$CPP $CPPFLAGS'
37079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
37088 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
37090 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
37091 for ac_func in _sqrtf
37092 do :
37093 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
37094 if test "x$ac_cv_func__sqrtf" = x""yes; then :
37095 cat >>confdefs.h <<_ACEOF
37096 #define HAVE__SQRTF 1
37097 _ACEOF
37100 done
37109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
37110 $as_echo_n "checking for sincosf declaration... " >&6; }
37111 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
37112 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
37113 $as_echo_n "(cached) " >&6
37114 else
37117 ac_ext=cpp
37118 ac_cpp='$CXXCPP $CPPFLAGS'
37119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37124 /* end confdefs.h. */
37125 #include <math.h>
37127 main ()
37129 sincosf(0, 0, 0);
37131 return 0;
37133 _ACEOF
37134 if ac_fn_cxx_try_compile "$LINENO"; then :
37135 glibcxx_cv_func_sincosf_use=yes
37136 else
37137 glibcxx_cv_func_sincosf_use=no
37139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37140 ac_ext=c
37141 ac_cpp='$CPP $CPPFLAGS'
37142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
37151 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
37153 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
37154 for ac_func in sincosf
37155 do :
37156 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
37157 if test "x$ac_cv_func_sincosf" = x""yes; then :
37158 cat >>confdefs.h <<_ACEOF
37159 #define HAVE_SINCOSF 1
37160 _ACEOF
37163 done
37165 else
37167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
37168 $as_echo_n "checking for _sincosf declaration... " >&6; }
37169 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
37170 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
37171 $as_echo_n "(cached) " >&6
37172 else
37175 ac_ext=cpp
37176 ac_cpp='$CXXCPP $CPPFLAGS'
37177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37182 /* end confdefs.h. */
37183 #include <math.h>
37185 main ()
37187 _sincosf(0, 0, 0);
37189 return 0;
37191 _ACEOF
37192 if ac_fn_cxx_try_compile "$LINENO"; then :
37193 glibcxx_cv_func__sincosf_use=yes
37194 else
37195 glibcxx_cv_func__sincosf_use=no
37197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37198 ac_ext=c
37199 ac_cpp='$CPP $CPPFLAGS'
37200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
37209 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
37211 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
37212 for ac_func in _sincosf
37213 do :
37214 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
37215 if test "x$ac_cv_func__sincosf" = x""yes; then :
37216 cat >>confdefs.h <<_ACEOF
37217 #define HAVE__SINCOSF 1
37218 _ACEOF
37221 done
37230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
37231 $as_echo_n "checking for finitef declaration... " >&6; }
37232 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
37233 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
37234 $as_echo_n "(cached) " >&6
37235 else
37238 ac_ext=cpp
37239 ac_cpp='$CXXCPP $CPPFLAGS'
37240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37245 /* end confdefs.h. */
37246 #include <math.h>
37247 #ifdef HAVE_IEEEFP_H
37248 #include <ieeefp.h>
37249 #endif
37252 main ()
37254 finitef(0);
37256 return 0;
37258 _ACEOF
37259 if ac_fn_cxx_try_compile "$LINENO"; then :
37260 glibcxx_cv_func_finitef_use=yes
37261 else
37262 glibcxx_cv_func_finitef_use=no
37264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37265 ac_ext=c
37266 ac_cpp='$CPP $CPPFLAGS'
37267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
37276 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
37278 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
37279 for ac_func in finitef
37280 do :
37281 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
37282 if test "x$ac_cv_func_finitef" = x""yes; then :
37283 cat >>confdefs.h <<_ACEOF
37284 #define HAVE_FINITEF 1
37285 _ACEOF
37288 done
37290 else
37292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
37293 $as_echo_n "checking for _finitef declaration... " >&6; }
37294 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
37295 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
37296 $as_echo_n "(cached) " >&6
37297 else
37300 ac_ext=cpp
37301 ac_cpp='$CXXCPP $CPPFLAGS'
37302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37307 /* end confdefs.h. */
37308 #include <math.h>
37309 #ifdef HAVE_IEEEFP_H
37310 #include <ieeefp.h>
37311 #endif
37314 main ()
37316 _finitef(0);
37318 return 0;
37320 _ACEOF
37321 if ac_fn_cxx_try_compile "$LINENO"; then :
37322 glibcxx_cv_func__finitef_use=yes
37323 else
37324 glibcxx_cv_func__finitef_use=no
37326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37327 ac_ext=c
37328 ac_cpp='$CPP $CPPFLAGS'
37329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
37338 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
37340 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
37341 for ac_func in _finitef
37342 do :
37343 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
37344 if test "x$ac_cv_func__finitef" = x""yes; then :
37345 cat >>confdefs.h <<_ACEOF
37346 #define HAVE__FINITEF 1
37347 _ACEOF
37350 done
37359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
37360 $as_echo_n "checking for long double trig functions... " >&6; }
37361 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
37362 $as_echo_n "(cached) " >&6
37363 else
37366 ac_ext=cpp
37367 ac_cpp='$CXXCPP $CPPFLAGS'
37368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37373 /* end confdefs.h. */
37374 #include <math.h>
37376 main ()
37378 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
37380 return 0;
37382 _ACEOF
37383 if ac_fn_cxx_try_compile "$LINENO"; then :
37384 glibcxx_cv_func_long_double_trig_use=yes
37385 else
37386 glibcxx_cv_func_long_double_trig_use=no
37388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37389 ac_ext=c
37390 ac_cpp='$CPP $CPPFLAGS'
37391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
37398 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
37399 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
37400 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
37401 do :
37402 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37403 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37404 eval as_val=\$$as_ac_var
37405 if test "x$as_val" = x""yes; then :
37406 cat >>confdefs.h <<_ACEOF
37407 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37408 _ACEOF
37411 done
37413 else
37414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
37415 $as_echo_n "checking for _long double trig functions... " >&6; }
37416 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
37417 $as_echo_n "(cached) " >&6
37418 else
37421 ac_ext=cpp
37422 ac_cpp='$CXXCPP $CPPFLAGS'
37423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37428 /* end confdefs.h. */
37429 #include <math.h>
37431 main ()
37433 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
37435 return 0;
37437 _ACEOF
37438 if ac_fn_cxx_try_compile "$LINENO"; then :
37439 glibcxx_cv_func__long_double_trig_use=yes
37440 else
37441 glibcxx_cv_func__long_double_trig_use=no
37443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37444 ac_ext=c
37445 ac_cpp='$CPP $CPPFLAGS'
37446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
37453 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
37454 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
37455 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
37456 do :
37457 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37458 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37459 eval as_val=\$$as_ac_var
37460 if test "x$as_val" = x""yes; then :
37461 cat >>confdefs.h <<_ACEOF
37462 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37463 _ACEOF
37466 done
37475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
37476 $as_echo_n "checking for long double round functions... " >&6; }
37477 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
37478 $as_echo_n "(cached) " >&6
37479 else
37482 ac_ext=cpp
37483 ac_cpp='$CXXCPP $CPPFLAGS'
37484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37489 /* end confdefs.h. */
37490 #include <math.h>
37492 main ()
37494 ceill (0); floorl (0);
37496 return 0;
37498 _ACEOF
37499 if ac_fn_cxx_try_compile "$LINENO"; then :
37500 glibcxx_cv_func_long_double_round_use=yes
37501 else
37502 glibcxx_cv_func_long_double_round_use=no
37504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37505 ac_ext=c
37506 ac_cpp='$CPP $CPPFLAGS'
37507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
37514 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
37515 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
37516 for ac_func in ceill floorl
37517 do :
37518 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37519 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37520 eval as_val=\$$as_ac_var
37521 if test "x$as_val" = x""yes; then :
37522 cat >>confdefs.h <<_ACEOF
37523 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37524 _ACEOF
37527 done
37529 else
37530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
37531 $as_echo_n "checking for _long double round functions... " >&6; }
37532 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
37533 $as_echo_n "(cached) " >&6
37534 else
37537 ac_ext=cpp
37538 ac_cpp='$CXXCPP $CPPFLAGS'
37539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37544 /* end confdefs.h. */
37545 #include <math.h>
37547 main ()
37549 _ceill (0); _floorl (0);
37551 return 0;
37553 _ACEOF
37554 if ac_fn_cxx_try_compile "$LINENO"; then :
37555 glibcxx_cv_func__long_double_round_use=yes
37556 else
37557 glibcxx_cv_func__long_double_round_use=no
37559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37560 ac_ext=c
37561 ac_cpp='$CPP $CPPFLAGS'
37562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
37569 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
37570 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
37571 for ac_func in _ceill _floorl
37572 do :
37573 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37574 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37575 eval as_val=\$$as_ac_var
37576 if test "x$as_val" = x""yes; then :
37577 cat >>confdefs.h <<_ACEOF
37578 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37579 _ACEOF
37582 done
37592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
37593 $as_echo_n "checking for isnanl declaration... " >&6; }
37594 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
37595 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
37596 $as_echo_n "(cached) " >&6
37597 else
37600 ac_ext=cpp
37601 ac_cpp='$CXXCPP $CPPFLAGS'
37602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37607 /* end confdefs.h. */
37608 #include <math.h>
37609 #ifdef HAVE_IEEEFP_H
37610 #include <ieeefp.h>
37611 #endif
37614 main ()
37616 isnanl(0);
37618 return 0;
37620 _ACEOF
37621 if ac_fn_cxx_try_compile "$LINENO"; then :
37622 glibcxx_cv_func_isnanl_use=yes
37623 else
37624 glibcxx_cv_func_isnanl_use=no
37626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37627 ac_ext=c
37628 ac_cpp='$CPP $CPPFLAGS'
37629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
37638 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
37640 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
37641 for ac_func in isnanl
37642 do :
37643 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
37644 if test "x$ac_cv_func_isnanl" = x""yes; then :
37645 cat >>confdefs.h <<_ACEOF
37646 #define HAVE_ISNANL 1
37647 _ACEOF
37650 done
37652 else
37654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
37655 $as_echo_n "checking for _isnanl declaration... " >&6; }
37656 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
37657 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
37658 $as_echo_n "(cached) " >&6
37659 else
37662 ac_ext=cpp
37663 ac_cpp='$CXXCPP $CPPFLAGS'
37664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37669 /* end confdefs.h. */
37670 #include <math.h>
37671 #ifdef HAVE_IEEEFP_H
37672 #include <ieeefp.h>
37673 #endif
37676 main ()
37678 _isnanl(0);
37680 return 0;
37682 _ACEOF
37683 if ac_fn_cxx_try_compile "$LINENO"; then :
37684 glibcxx_cv_func__isnanl_use=yes
37685 else
37686 glibcxx_cv_func__isnanl_use=no
37688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37689 ac_ext=c
37690 ac_cpp='$CPP $CPPFLAGS'
37691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
37700 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
37702 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
37703 for ac_func in _isnanl
37704 do :
37705 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
37706 if test "x$ac_cv_func__isnanl" = x""yes; then :
37707 cat >>confdefs.h <<_ACEOF
37708 #define HAVE__ISNANL 1
37709 _ACEOF
37712 done
37721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
37722 $as_echo_n "checking for isinfl declaration... " >&6; }
37723 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
37724 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
37725 $as_echo_n "(cached) " >&6
37726 else
37729 ac_ext=cpp
37730 ac_cpp='$CXXCPP $CPPFLAGS'
37731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37736 /* end confdefs.h. */
37737 #include <math.h>
37738 #ifdef HAVE_IEEEFP_H
37739 #include <ieeefp.h>
37740 #endif
37743 main ()
37745 isinfl(0);
37747 return 0;
37749 _ACEOF
37750 if ac_fn_cxx_try_compile "$LINENO"; then :
37751 glibcxx_cv_func_isinfl_use=yes
37752 else
37753 glibcxx_cv_func_isinfl_use=no
37755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37756 ac_ext=c
37757 ac_cpp='$CPP $CPPFLAGS'
37758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
37767 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
37769 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
37770 for ac_func in isinfl
37771 do :
37772 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
37773 if test "x$ac_cv_func_isinfl" = x""yes; then :
37774 cat >>confdefs.h <<_ACEOF
37775 #define HAVE_ISINFL 1
37776 _ACEOF
37779 done
37781 else
37783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
37784 $as_echo_n "checking for _isinfl declaration... " >&6; }
37785 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
37786 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
37787 $as_echo_n "(cached) " >&6
37788 else
37791 ac_ext=cpp
37792 ac_cpp='$CXXCPP $CPPFLAGS'
37793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37798 /* end confdefs.h. */
37799 #include <math.h>
37800 #ifdef HAVE_IEEEFP_H
37801 #include <ieeefp.h>
37802 #endif
37805 main ()
37807 _isinfl(0);
37809 return 0;
37811 _ACEOF
37812 if ac_fn_cxx_try_compile "$LINENO"; then :
37813 glibcxx_cv_func__isinfl_use=yes
37814 else
37815 glibcxx_cv_func__isinfl_use=no
37817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37818 ac_ext=c
37819 ac_cpp='$CPP $CPPFLAGS'
37820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
37829 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
37831 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
37832 for ac_func in _isinfl
37833 do :
37834 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
37835 if test "x$ac_cv_func__isinfl" = x""yes; then :
37836 cat >>confdefs.h <<_ACEOF
37837 #define HAVE__ISINFL 1
37838 _ACEOF
37841 done
37850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
37851 $as_echo_n "checking for atan2l declaration... " >&6; }
37852 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
37853 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
37854 $as_echo_n "(cached) " >&6
37855 else
37858 ac_ext=cpp
37859 ac_cpp='$CXXCPP $CPPFLAGS'
37860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37865 /* end confdefs.h. */
37866 #include <math.h>
37868 main ()
37870 atan2l(0, 0);
37872 return 0;
37874 _ACEOF
37875 if ac_fn_cxx_try_compile "$LINENO"; then :
37876 glibcxx_cv_func_atan2l_use=yes
37877 else
37878 glibcxx_cv_func_atan2l_use=no
37880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37881 ac_ext=c
37882 ac_cpp='$CPP $CPPFLAGS'
37883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
37892 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
37894 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
37895 for ac_func in atan2l
37896 do :
37897 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
37898 if test "x$ac_cv_func_atan2l" = x""yes; then :
37899 cat >>confdefs.h <<_ACEOF
37900 #define HAVE_ATAN2L 1
37901 _ACEOF
37904 done
37906 else
37908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
37909 $as_echo_n "checking for _atan2l declaration... " >&6; }
37910 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
37911 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
37912 $as_echo_n "(cached) " >&6
37913 else
37916 ac_ext=cpp
37917 ac_cpp='$CXXCPP $CPPFLAGS'
37918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37923 /* end confdefs.h. */
37924 #include <math.h>
37926 main ()
37928 _atan2l(0, 0);
37930 return 0;
37932 _ACEOF
37933 if ac_fn_cxx_try_compile "$LINENO"; then :
37934 glibcxx_cv_func__atan2l_use=yes
37935 else
37936 glibcxx_cv_func__atan2l_use=no
37938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37939 ac_ext=c
37940 ac_cpp='$CPP $CPPFLAGS'
37941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
37950 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
37952 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
37953 for ac_func in _atan2l
37954 do :
37955 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
37956 if test "x$ac_cv_func__atan2l" = x""yes; then :
37957 cat >>confdefs.h <<_ACEOF
37958 #define HAVE__ATAN2L 1
37959 _ACEOF
37962 done
37971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
37972 $as_echo_n "checking for expl declaration... " >&6; }
37973 if test x${glibcxx_cv_func_expl_use+set} != xset; then
37974 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
37975 $as_echo_n "(cached) " >&6
37976 else
37979 ac_ext=cpp
37980 ac_cpp='$CXXCPP $CPPFLAGS'
37981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37986 /* end confdefs.h. */
37987 #include <math.h>
37988 #ifdef HAVE_IEEEFP_H
37989 #include <ieeefp.h>
37990 #endif
37993 main ()
37995 expl(0);
37997 return 0;
37999 _ACEOF
38000 if ac_fn_cxx_try_compile "$LINENO"; then :
38001 glibcxx_cv_func_expl_use=yes
38002 else
38003 glibcxx_cv_func_expl_use=no
38005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38006 ac_ext=c
38007 ac_cpp='$CPP $CPPFLAGS'
38008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
38017 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
38019 if test x$glibcxx_cv_func_expl_use = x"yes"; then
38020 for ac_func in expl
38021 do :
38022 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
38023 if test "x$ac_cv_func_expl" = x""yes; then :
38024 cat >>confdefs.h <<_ACEOF
38025 #define HAVE_EXPL 1
38026 _ACEOF
38029 done
38031 else
38033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
38034 $as_echo_n "checking for _expl declaration... " >&6; }
38035 if test x${glibcxx_cv_func__expl_use+set} != xset; then
38036 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
38037 $as_echo_n "(cached) " >&6
38038 else
38041 ac_ext=cpp
38042 ac_cpp='$CXXCPP $CPPFLAGS'
38043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38048 /* end confdefs.h. */
38049 #include <math.h>
38050 #ifdef HAVE_IEEEFP_H
38051 #include <ieeefp.h>
38052 #endif
38055 main ()
38057 _expl(0);
38059 return 0;
38061 _ACEOF
38062 if ac_fn_cxx_try_compile "$LINENO"; then :
38063 glibcxx_cv_func__expl_use=yes
38064 else
38065 glibcxx_cv_func__expl_use=no
38067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38068 ac_ext=c
38069 ac_cpp='$CPP $CPPFLAGS'
38070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
38079 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
38081 if test x$glibcxx_cv_func__expl_use = x"yes"; then
38082 for ac_func in _expl
38083 do :
38084 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
38085 if test "x$ac_cv_func__expl" = x""yes; then :
38086 cat >>confdefs.h <<_ACEOF
38087 #define HAVE__EXPL 1
38088 _ACEOF
38091 done
38100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
38101 $as_echo_n "checking for fabsl declaration... " >&6; }
38102 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
38103 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
38104 $as_echo_n "(cached) " >&6
38105 else
38108 ac_ext=cpp
38109 ac_cpp='$CXXCPP $CPPFLAGS'
38110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38115 /* end confdefs.h. */
38116 #include <math.h>
38117 #ifdef HAVE_IEEEFP_H
38118 #include <ieeefp.h>
38119 #endif
38122 main ()
38124 fabsl(0);
38126 return 0;
38128 _ACEOF
38129 if ac_fn_cxx_try_compile "$LINENO"; then :
38130 glibcxx_cv_func_fabsl_use=yes
38131 else
38132 glibcxx_cv_func_fabsl_use=no
38134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38135 ac_ext=c
38136 ac_cpp='$CPP $CPPFLAGS'
38137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
38146 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
38148 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
38149 for ac_func in fabsl
38150 do :
38151 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
38152 if test "x$ac_cv_func_fabsl" = x""yes; then :
38153 cat >>confdefs.h <<_ACEOF
38154 #define HAVE_FABSL 1
38155 _ACEOF
38158 done
38160 else
38162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
38163 $as_echo_n "checking for _fabsl declaration... " >&6; }
38164 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
38165 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
38166 $as_echo_n "(cached) " >&6
38167 else
38170 ac_ext=cpp
38171 ac_cpp='$CXXCPP $CPPFLAGS'
38172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38177 /* end confdefs.h. */
38178 #include <math.h>
38179 #ifdef HAVE_IEEEFP_H
38180 #include <ieeefp.h>
38181 #endif
38184 main ()
38186 _fabsl(0);
38188 return 0;
38190 _ACEOF
38191 if ac_fn_cxx_try_compile "$LINENO"; then :
38192 glibcxx_cv_func__fabsl_use=yes
38193 else
38194 glibcxx_cv_func__fabsl_use=no
38196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38197 ac_ext=c
38198 ac_cpp='$CPP $CPPFLAGS'
38199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
38208 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
38210 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
38211 for ac_func in _fabsl
38212 do :
38213 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
38214 if test "x$ac_cv_func__fabsl" = x""yes; then :
38215 cat >>confdefs.h <<_ACEOF
38216 #define HAVE__FABSL 1
38217 _ACEOF
38220 done
38229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
38230 $as_echo_n "checking for fmodl declaration... " >&6; }
38231 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
38232 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
38233 $as_echo_n "(cached) " >&6
38234 else
38237 ac_ext=cpp
38238 ac_cpp='$CXXCPP $CPPFLAGS'
38239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38244 /* end confdefs.h. */
38245 #include <math.h>
38247 main ()
38249 fmodl(0, 0);
38251 return 0;
38253 _ACEOF
38254 if ac_fn_cxx_try_compile "$LINENO"; then :
38255 glibcxx_cv_func_fmodl_use=yes
38256 else
38257 glibcxx_cv_func_fmodl_use=no
38259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38260 ac_ext=c
38261 ac_cpp='$CPP $CPPFLAGS'
38262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
38271 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
38273 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
38274 for ac_func in fmodl
38275 do :
38276 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
38277 if test "x$ac_cv_func_fmodl" = x""yes; then :
38278 cat >>confdefs.h <<_ACEOF
38279 #define HAVE_FMODL 1
38280 _ACEOF
38283 done
38285 else
38287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
38288 $as_echo_n "checking for _fmodl declaration... " >&6; }
38289 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
38290 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
38291 $as_echo_n "(cached) " >&6
38292 else
38295 ac_ext=cpp
38296 ac_cpp='$CXXCPP $CPPFLAGS'
38297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38302 /* end confdefs.h. */
38303 #include <math.h>
38305 main ()
38307 _fmodl(0, 0);
38309 return 0;
38311 _ACEOF
38312 if ac_fn_cxx_try_compile "$LINENO"; then :
38313 glibcxx_cv_func__fmodl_use=yes
38314 else
38315 glibcxx_cv_func__fmodl_use=no
38317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38318 ac_ext=c
38319 ac_cpp='$CPP $CPPFLAGS'
38320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
38329 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
38331 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
38332 for ac_func in _fmodl
38333 do :
38334 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
38335 if test "x$ac_cv_func__fmodl" = x""yes; then :
38336 cat >>confdefs.h <<_ACEOF
38337 #define HAVE__FMODL 1
38338 _ACEOF
38341 done
38350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
38351 $as_echo_n "checking for frexpl declaration... " >&6; }
38352 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
38353 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
38354 $as_echo_n "(cached) " >&6
38355 else
38358 ac_ext=cpp
38359 ac_cpp='$CXXCPP $CPPFLAGS'
38360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38365 /* end confdefs.h. */
38366 #include <math.h>
38368 main ()
38370 frexpl(0, 0);
38372 return 0;
38374 _ACEOF
38375 if ac_fn_cxx_try_compile "$LINENO"; then :
38376 glibcxx_cv_func_frexpl_use=yes
38377 else
38378 glibcxx_cv_func_frexpl_use=no
38380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38381 ac_ext=c
38382 ac_cpp='$CPP $CPPFLAGS'
38383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
38392 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
38394 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
38395 for ac_func in frexpl
38396 do :
38397 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
38398 if test "x$ac_cv_func_frexpl" = x""yes; then :
38399 cat >>confdefs.h <<_ACEOF
38400 #define HAVE_FREXPL 1
38401 _ACEOF
38404 done
38406 else
38408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
38409 $as_echo_n "checking for _frexpl declaration... " >&6; }
38410 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
38411 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
38412 $as_echo_n "(cached) " >&6
38413 else
38416 ac_ext=cpp
38417 ac_cpp='$CXXCPP $CPPFLAGS'
38418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38423 /* end confdefs.h. */
38424 #include <math.h>
38426 main ()
38428 _frexpl(0, 0);
38430 return 0;
38432 _ACEOF
38433 if ac_fn_cxx_try_compile "$LINENO"; then :
38434 glibcxx_cv_func__frexpl_use=yes
38435 else
38436 glibcxx_cv_func__frexpl_use=no
38438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38439 ac_ext=c
38440 ac_cpp='$CPP $CPPFLAGS'
38441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
38450 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
38452 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
38453 for ac_func in _frexpl
38454 do :
38455 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
38456 if test "x$ac_cv_func__frexpl" = x""yes; then :
38457 cat >>confdefs.h <<_ACEOF
38458 #define HAVE__FREXPL 1
38459 _ACEOF
38462 done
38471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
38472 $as_echo_n "checking for hypotl declaration... " >&6; }
38473 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
38474 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
38475 $as_echo_n "(cached) " >&6
38476 else
38479 ac_ext=cpp
38480 ac_cpp='$CXXCPP $CPPFLAGS'
38481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38486 /* end confdefs.h. */
38487 #include <math.h>
38489 main ()
38491 hypotl(0, 0);
38493 return 0;
38495 _ACEOF
38496 if ac_fn_cxx_try_compile "$LINENO"; then :
38497 glibcxx_cv_func_hypotl_use=yes
38498 else
38499 glibcxx_cv_func_hypotl_use=no
38501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38502 ac_ext=c
38503 ac_cpp='$CPP $CPPFLAGS'
38504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
38513 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
38515 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
38516 for ac_func in hypotl
38517 do :
38518 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
38519 if test "x$ac_cv_func_hypotl" = x""yes; then :
38520 cat >>confdefs.h <<_ACEOF
38521 #define HAVE_HYPOTL 1
38522 _ACEOF
38525 done
38527 else
38529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
38530 $as_echo_n "checking for _hypotl declaration... " >&6; }
38531 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
38532 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
38533 $as_echo_n "(cached) " >&6
38534 else
38537 ac_ext=cpp
38538 ac_cpp='$CXXCPP $CPPFLAGS'
38539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38544 /* end confdefs.h. */
38545 #include <math.h>
38547 main ()
38549 _hypotl(0, 0);
38551 return 0;
38553 _ACEOF
38554 if ac_fn_cxx_try_compile "$LINENO"; then :
38555 glibcxx_cv_func__hypotl_use=yes
38556 else
38557 glibcxx_cv_func__hypotl_use=no
38559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38560 ac_ext=c
38561 ac_cpp='$CPP $CPPFLAGS'
38562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
38571 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
38573 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
38574 for ac_func in _hypotl
38575 do :
38576 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
38577 if test "x$ac_cv_func__hypotl" = x""yes; then :
38578 cat >>confdefs.h <<_ACEOF
38579 #define HAVE__HYPOTL 1
38580 _ACEOF
38583 done
38592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
38593 $as_echo_n "checking for ldexpl declaration... " >&6; }
38594 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
38595 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
38596 $as_echo_n "(cached) " >&6
38597 else
38600 ac_ext=cpp
38601 ac_cpp='$CXXCPP $CPPFLAGS'
38602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38607 /* end confdefs.h. */
38608 #include <math.h>
38610 main ()
38612 ldexpl(0, 0);
38614 return 0;
38616 _ACEOF
38617 if ac_fn_cxx_try_compile "$LINENO"; then :
38618 glibcxx_cv_func_ldexpl_use=yes
38619 else
38620 glibcxx_cv_func_ldexpl_use=no
38622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38623 ac_ext=c
38624 ac_cpp='$CPP $CPPFLAGS'
38625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
38634 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
38636 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
38637 for ac_func in ldexpl
38638 do :
38639 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
38640 if test "x$ac_cv_func_ldexpl" = x""yes; then :
38641 cat >>confdefs.h <<_ACEOF
38642 #define HAVE_LDEXPL 1
38643 _ACEOF
38646 done
38648 else
38650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
38651 $as_echo_n "checking for _ldexpl declaration... " >&6; }
38652 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
38653 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
38654 $as_echo_n "(cached) " >&6
38655 else
38658 ac_ext=cpp
38659 ac_cpp='$CXXCPP $CPPFLAGS'
38660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38665 /* end confdefs.h. */
38666 #include <math.h>
38668 main ()
38670 _ldexpl(0, 0);
38672 return 0;
38674 _ACEOF
38675 if ac_fn_cxx_try_compile "$LINENO"; then :
38676 glibcxx_cv_func__ldexpl_use=yes
38677 else
38678 glibcxx_cv_func__ldexpl_use=no
38680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38681 ac_ext=c
38682 ac_cpp='$CPP $CPPFLAGS'
38683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
38692 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
38694 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
38695 for ac_func in _ldexpl
38696 do :
38697 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
38698 if test "x$ac_cv_func__ldexpl" = x""yes; then :
38699 cat >>confdefs.h <<_ACEOF
38700 #define HAVE__LDEXPL 1
38701 _ACEOF
38704 done
38713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
38714 $as_echo_n "checking for logl declaration... " >&6; }
38715 if test x${glibcxx_cv_func_logl_use+set} != xset; then
38716 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
38717 $as_echo_n "(cached) " >&6
38718 else
38721 ac_ext=cpp
38722 ac_cpp='$CXXCPP $CPPFLAGS'
38723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38728 /* end confdefs.h. */
38729 #include <math.h>
38730 #ifdef HAVE_IEEEFP_H
38731 #include <ieeefp.h>
38732 #endif
38735 main ()
38737 logl(0);
38739 return 0;
38741 _ACEOF
38742 if ac_fn_cxx_try_compile "$LINENO"; then :
38743 glibcxx_cv_func_logl_use=yes
38744 else
38745 glibcxx_cv_func_logl_use=no
38747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38748 ac_ext=c
38749 ac_cpp='$CPP $CPPFLAGS'
38750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
38759 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
38761 if test x$glibcxx_cv_func_logl_use = x"yes"; then
38762 for ac_func in logl
38763 do :
38764 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
38765 if test "x$ac_cv_func_logl" = x""yes; then :
38766 cat >>confdefs.h <<_ACEOF
38767 #define HAVE_LOGL 1
38768 _ACEOF
38771 done
38773 else
38775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
38776 $as_echo_n "checking for _logl declaration... " >&6; }
38777 if test x${glibcxx_cv_func__logl_use+set} != xset; then
38778 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
38779 $as_echo_n "(cached) " >&6
38780 else
38783 ac_ext=cpp
38784 ac_cpp='$CXXCPP $CPPFLAGS'
38785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38790 /* end confdefs.h. */
38791 #include <math.h>
38792 #ifdef HAVE_IEEEFP_H
38793 #include <ieeefp.h>
38794 #endif
38797 main ()
38799 _logl(0);
38801 return 0;
38803 _ACEOF
38804 if ac_fn_cxx_try_compile "$LINENO"; then :
38805 glibcxx_cv_func__logl_use=yes
38806 else
38807 glibcxx_cv_func__logl_use=no
38809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38810 ac_ext=c
38811 ac_cpp='$CPP $CPPFLAGS'
38812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
38821 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
38823 if test x$glibcxx_cv_func__logl_use = x"yes"; then
38824 for ac_func in _logl
38825 do :
38826 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
38827 if test "x$ac_cv_func__logl" = x""yes; then :
38828 cat >>confdefs.h <<_ACEOF
38829 #define HAVE__LOGL 1
38830 _ACEOF
38833 done
38842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
38843 $as_echo_n "checking for log10l declaration... " >&6; }
38844 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
38845 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
38846 $as_echo_n "(cached) " >&6
38847 else
38850 ac_ext=cpp
38851 ac_cpp='$CXXCPP $CPPFLAGS'
38852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38857 /* end confdefs.h. */
38858 #include <math.h>
38859 #ifdef HAVE_IEEEFP_H
38860 #include <ieeefp.h>
38861 #endif
38864 main ()
38866 log10l(0);
38868 return 0;
38870 _ACEOF
38871 if ac_fn_cxx_try_compile "$LINENO"; then :
38872 glibcxx_cv_func_log10l_use=yes
38873 else
38874 glibcxx_cv_func_log10l_use=no
38876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38877 ac_ext=c
38878 ac_cpp='$CPP $CPPFLAGS'
38879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
38888 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
38890 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
38891 for ac_func in log10l
38892 do :
38893 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
38894 if test "x$ac_cv_func_log10l" = x""yes; then :
38895 cat >>confdefs.h <<_ACEOF
38896 #define HAVE_LOG10L 1
38897 _ACEOF
38900 done
38902 else
38904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
38905 $as_echo_n "checking for _log10l declaration... " >&6; }
38906 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
38907 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
38908 $as_echo_n "(cached) " >&6
38909 else
38912 ac_ext=cpp
38913 ac_cpp='$CXXCPP $CPPFLAGS'
38914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38919 /* end confdefs.h. */
38920 #include <math.h>
38921 #ifdef HAVE_IEEEFP_H
38922 #include <ieeefp.h>
38923 #endif
38926 main ()
38928 _log10l(0);
38930 return 0;
38932 _ACEOF
38933 if ac_fn_cxx_try_compile "$LINENO"; then :
38934 glibcxx_cv_func__log10l_use=yes
38935 else
38936 glibcxx_cv_func__log10l_use=no
38938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38939 ac_ext=c
38940 ac_cpp='$CPP $CPPFLAGS'
38941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
38950 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
38952 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
38953 for ac_func in _log10l
38954 do :
38955 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
38956 if test "x$ac_cv_func__log10l" = x""yes; then :
38957 cat >>confdefs.h <<_ACEOF
38958 #define HAVE__LOG10L 1
38959 _ACEOF
38962 done
38971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
38972 $as_echo_n "checking for modfl declaration... " >&6; }
38973 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
38974 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
38975 $as_echo_n "(cached) " >&6
38976 else
38979 ac_ext=cpp
38980 ac_cpp='$CXXCPP $CPPFLAGS'
38981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38986 /* end confdefs.h. */
38987 #include <math.h>
38989 main ()
38991 modfl(0, 0);
38993 return 0;
38995 _ACEOF
38996 if ac_fn_cxx_try_compile "$LINENO"; then :
38997 glibcxx_cv_func_modfl_use=yes
38998 else
38999 glibcxx_cv_func_modfl_use=no
39001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39002 ac_ext=c
39003 ac_cpp='$CPP $CPPFLAGS'
39004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
39013 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
39015 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
39016 for ac_func in modfl
39017 do :
39018 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
39019 if test "x$ac_cv_func_modfl" = x""yes; then :
39020 cat >>confdefs.h <<_ACEOF
39021 #define HAVE_MODFL 1
39022 _ACEOF
39025 done
39027 else
39029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
39030 $as_echo_n "checking for _modfl declaration... " >&6; }
39031 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
39032 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
39033 $as_echo_n "(cached) " >&6
39034 else
39037 ac_ext=cpp
39038 ac_cpp='$CXXCPP $CPPFLAGS'
39039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39044 /* end confdefs.h. */
39045 #include <math.h>
39047 main ()
39049 _modfl(0, 0);
39051 return 0;
39053 _ACEOF
39054 if ac_fn_cxx_try_compile "$LINENO"; then :
39055 glibcxx_cv_func__modfl_use=yes
39056 else
39057 glibcxx_cv_func__modfl_use=no
39059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39060 ac_ext=c
39061 ac_cpp='$CPP $CPPFLAGS'
39062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
39071 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
39073 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
39074 for ac_func in _modfl
39075 do :
39076 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
39077 if test "x$ac_cv_func__modfl" = x""yes; then :
39078 cat >>confdefs.h <<_ACEOF
39079 #define HAVE__MODFL 1
39080 _ACEOF
39083 done
39092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
39093 $as_echo_n "checking for powl declaration... " >&6; }
39094 if test x${glibcxx_cv_func_powl_use+set} != xset; then
39095 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
39096 $as_echo_n "(cached) " >&6
39097 else
39100 ac_ext=cpp
39101 ac_cpp='$CXXCPP $CPPFLAGS'
39102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39107 /* end confdefs.h. */
39108 #include <math.h>
39110 main ()
39112 powl(0, 0);
39114 return 0;
39116 _ACEOF
39117 if ac_fn_cxx_try_compile "$LINENO"; then :
39118 glibcxx_cv_func_powl_use=yes
39119 else
39120 glibcxx_cv_func_powl_use=no
39122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39123 ac_ext=c
39124 ac_cpp='$CPP $CPPFLAGS'
39125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
39134 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
39136 if test x$glibcxx_cv_func_powl_use = x"yes"; then
39137 for ac_func in powl
39138 do :
39139 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
39140 if test "x$ac_cv_func_powl" = x""yes; then :
39141 cat >>confdefs.h <<_ACEOF
39142 #define HAVE_POWL 1
39143 _ACEOF
39146 done
39148 else
39150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
39151 $as_echo_n "checking for _powl declaration... " >&6; }
39152 if test x${glibcxx_cv_func__powl_use+set} != xset; then
39153 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
39154 $as_echo_n "(cached) " >&6
39155 else
39158 ac_ext=cpp
39159 ac_cpp='$CXXCPP $CPPFLAGS'
39160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39165 /* end confdefs.h. */
39166 #include <math.h>
39168 main ()
39170 _powl(0, 0);
39172 return 0;
39174 _ACEOF
39175 if ac_fn_cxx_try_compile "$LINENO"; then :
39176 glibcxx_cv_func__powl_use=yes
39177 else
39178 glibcxx_cv_func__powl_use=no
39180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39181 ac_ext=c
39182 ac_cpp='$CPP $CPPFLAGS'
39183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
39192 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
39194 if test x$glibcxx_cv_func__powl_use = x"yes"; then
39195 for ac_func in _powl
39196 do :
39197 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
39198 if test "x$ac_cv_func__powl" = x""yes; then :
39199 cat >>confdefs.h <<_ACEOF
39200 #define HAVE__POWL 1
39201 _ACEOF
39204 done
39213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
39214 $as_echo_n "checking for sqrtl declaration... " >&6; }
39215 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
39216 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
39217 $as_echo_n "(cached) " >&6
39218 else
39221 ac_ext=cpp
39222 ac_cpp='$CXXCPP $CPPFLAGS'
39223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39228 /* end confdefs.h. */
39229 #include <math.h>
39230 #ifdef HAVE_IEEEFP_H
39231 #include <ieeefp.h>
39232 #endif
39235 main ()
39237 sqrtl(0);
39239 return 0;
39241 _ACEOF
39242 if ac_fn_cxx_try_compile "$LINENO"; then :
39243 glibcxx_cv_func_sqrtl_use=yes
39244 else
39245 glibcxx_cv_func_sqrtl_use=no
39247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39248 ac_ext=c
39249 ac_cpp='$CPP $CPPFLAGS'
39250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
39259 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
39261 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
39262 for ac_func in sqrtl
39263 do :
39264 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
39265 if test "x$ac_cv_func_sqrtl" = x""yes; then :
39266 cat >>confdefs.h <<_ACEOF
39267 #define HAVE_SQRTL 1
39268 _ACEOF
39271 done
39273 else
39275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
39276 $as_echo_n "checking for _sqrtl declaration... " >&6; }
39277 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
39278 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
39279 $as_echo_n "(cached) " >&6
39280 else
39283 ac_ext=cpp
39284 ac_cpp='$CXXCPP $CPPFLAGS'
39285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39290 /* end confdefs.h. */
39291 #include <math.h>
39292 #ifdef HAVE_IEEEFP_H
39293 #include <ieeefp.h>
39294 #endif
39297 main ()
39299 _sqrtl(0);
39301 return 0;
39303 _ACEOF
39304 if ac_fn_cxx_try_compile "$LINENO"; then :
39305 glibcxx_cv_func__sqrtl_use=yes
39306 else
39307 glibcxx_cv_func__sqrtl_use=no
39309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39310 ac_ext=c
39311 ac_cpp='$CPP $CPPFLAGS'
39312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
39321 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
39323 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
39324 for ac_func in _sqrtl
39325 do :
39326 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
39327 if test "x$ac_cv_func__sqrtl" = x""yes; then :
39328 cat >>confdefs.h <<_ACEOF
39329 #define HAVE__SQRTL 1
39330 _ACEOF
39333 done
39342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
39343 $as_echo_n "checking for sincosl declaration... " >&6; }
39344 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
39345 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
39346 $as_echo_n "(cached) " >&6
39347 else
39350 ac_ext=cpp
39351 ac_cpp='$CXXCPP $CPPFLAGS'
39352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39357 /* end confdefs.h. */
39358 #include <math.h>
39360 main ()
39362 sincosl(0, 0, 0);
39364 return 0;
39366 _ACEOF
39367 if ac_fn_cxx_try_compile "$LINENO"; then :
39368 glibcxx_cv_func_sincosl_use=yes
39369 else
39370 glibcxx_cv_func_sincosl_use=no
39372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39373 ac_ext=c
39374 ac_cpp='$CPP $CPPFLAGS'
39375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
39384 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
39386 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
39387 for ac_func in sincosl
39388 do :
39389 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
39390 if test "x$ac_cv_func_sincosl" = x""yes; then :
39391 cat >>confdefs.h <<_ACEOF
39392 #define HAVE_SINCOSL 1
39393 _ACEOF
39396 done
39398 else
39400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
39401 $as_echo_n "checking for _sincosl declaration... " >&6; }
39402 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
39403 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
39404 $as_echo_n "(cached) " >&6
39405 else
39408 ac_ext=cpp
39409 ac_cpp='$CXXCPP $CPPFLAGS'
39410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39415 /* end confdefs.h. */
39416 #include <math.h>
39418 main ()
39420 _sincosl(0, 0, 0);
39422 return 0;
39424 _ACEOF
39425 if ac_fn_cxx_try_compile "$LINENO"; then :
39426 glibcxx_cv_func__sincosl_use=yes
39427 else
39428 glibcxx_cv_func__sincosl_use=no
39430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39431 ac_ext=c
39432 ac_cpp='$CPP $CPPFLAGS'
39433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
39442 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
39444 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
39445 for ac_func in _sincosl
39446 do :
39447 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
39448 if test "x$ac_cv_func__sincosl" = x""yes; then :
39449 cat >>confdefs.h <<_ACEOF
39450 #define HAVE__SINCOSL 1
39451 _ACEOF
39454 done
39463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
39464 $as_echo_n "checking for finitel declaration... " >&6; }
39465 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
39466 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
39467 $as_echo_n "(cached) " >&6
39468 else
39471 ac_ext=cpp
39472 ac_cpp='$CXXCPP $CPPFLAGS'
39473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39478 /* end confdefs.h. */
39479 #include <math.h>
39480 #ifdef HAVE_IEEEFP_H
39481 #include <ieeefp.h>
39482 #endif
39485 main ()
39487 finitel(0);
39489 return 0;
39491 _ACEOF
39492 if ac_fn_cxx_try_compile "$LINENO"; then :
39493 glibcxx_cv_func_finitel_use=yes
39494 else
39495 glibcxx_cv_func_finitel_use=no
39497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39498 ac_ext=c
39499 ac_cpp='$CPP $CPPFLAGS'
39500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
39509 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
39511 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
39512 for ac_func in finitel
39513 do :
39514 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
39515 if test "x$ac_cv_func_finitel" = x""yes; then :
39516 cat >>confdefs.h <<_ACEOF
39517 #define HAVE_FINITEL 1
39518 _ACEOF
39521 done
39523 else
39525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
39526 $as_echo_n "checking for _finitel declaration... " >&6; }
39527 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
39528 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
39529 $as_echo_n "(cached) " >&6
39530 else
39533 ac_ext=cpp
39534 ac_cpp='$CXXCPP $CPPFLAGS'
39535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39540 /* end confdefs.h. */
39541 #include <math.h>
39542 #ifdef HAVE_IEEEFP_H
39543 #include <ieeefp.h>
39544 #endif
39547 main ()
39549 _finitel(0);
39551 return 0;
39553 _ACEOF
39554 if ac_fn_cxx_try_compile "$LINENO"; then :
39555 glibcxx_cv_func__finitel_use=yes
39556 else
39557 glibcxx_cv_func__finitel_use=no
39559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39560 ac_ext=c
39561 ac_cpp='$CPP $CPPFLAGS'
39562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
39571 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
39573 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
39574 for ac_func in _finitel
39575 do :
39576 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
39577 if test "x$ac_cv_func__finitel" = x""yes; then :
39578 cat >>confdefs.h <<_ACEOF
39579 #define HAVE__FINITEL 1
39580 _ACEOF
39583 done
39591 LIBS="$ac_save_LIBS"
39592 CXXFLAGS="$ac_save_CXXFLAGS"
39595 ac_test_CXXFLAGS="${CXXFLAGS+set}"
39596 ac_save_CXXFLAGS="$CXXFLAGS"
39597 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
39600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
39601 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
39602 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
39603 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
39604 $as_echo_n "(cached) " >&6
39605 else
39608 ac_ext=cpp
39609 ac_cpp='$CXXCPP $CPPFLAGS'
39610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39615 /* end confdefs.h. */
39616 #include <stdlib.h>
39618 main ()
39620 at_quick_exit(0);
39622 return 0;
39624 _ACEOF
39625 if ac_fn_cxx_try_compile "$LINENO"; then :
39626 glibcxx_cv_func_at_quick_exit_use=yes
39627 else
39628 glibcxx_cv_func_at_quick_exit_use=no
39630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39631 ac_ext=c
39632 ac_cpp='$CPP $CPPFLAGS'
39633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
39642 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
39643 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
39644 for ac_func in at_quick_exit
39645 do :
39646 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
39647 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
39648 cat >>confdefs.h <<_ACEOF
39649 #define HAVE_AT_QUICK_EXIT 1
39650 _ACEOF
39653 done
39658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
39659 $as_echo_n "checking for quick_exit declaration... " >&6; }
39660 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
39661 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
39662 $as_echo_n "(cached) " >&6
39663 else
39666 ac_ext=cpp
39667 ac_cpp='$CXXCPP $CPPFLAGS'
39668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39673 /* end confdefs.h. */
39674 #include <stdlib.h>
39676 main ()
39678 quick_exit(0);
39680 return 0;
39682 _ACEOF
39683 if ac_fn_cxx_try_compile "$LINENO"; then :
39684 glibcxx_cv_func_quick_exit_use=yes
39685 else
39686 glibcxx_cv_func_quick_exit_use=no
39688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39689 ac_ext=c
39690 ac_cpp='$CPP $CPPFLAGS'
39691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
39700 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
39701 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
39702 for ac_func in quick_exit
39703 do :
39704 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
39705 if test "x$ac_cv_func_quick_exit" = x""yes; then :
39706 cat >>confdefs.h <<_ACEOF
39707 #define HAVE_QUICK_EXIT 1
39708 _ACEOF
39711 done
39716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
39717 $as_echo_n "checking for strtold declaration... " >&6; }
39718 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
39719 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
39720 $as_echo_n "(cached) " >&6
39721 else
39724 ac_ext=cpp
39725 ac_cpp='$CXXCPP $CPPFLAGS'
39726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39731 /* end confdefs.h. */
39732 #include <stdlib.h>
39734 main ()
39736 strtold(0, 0);
39738 return 0;
39740 _ACEOF
39741 if ac_fn_cxx_try_compile "$LINENO"; then :
39742 glibcxx_cv_func_strtold_use=yes
39743 else
39744 glibcxx_cv_func_strtold_use=no
39746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39747 ac_ext=c
39748 ac_cpp='$CPP $CPPFLAGS'
39749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
39758 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
39759 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
39760 for ac_func in strtold
39761 do :
39762 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
39763 if test "x$ac_cv_func_strtold" = x""yes; then :
39764 cat >>confdefs.h <<_ACEOF
39765 #define HAVE_STRTOLD 1
39766 _ACEOF
39769 done
39776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
39777 $as_echo_n "checking for strtof declaration... " >&6; }
39778 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
39779 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
39780 $as_echo_n "(cached) " >&6
39781 else
39784 ac_ext=cpp
39785 ac_cpp='$CXXCPP $CPPFLAGS'
39786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39791 /* end confdefs.h. */
39792 #include <stdlib.h>
39794 main ()
39796 strtof(0, 0);
39798 return 0;
39800 _ACEOF
39801 if ac_fn_cxx_try_compile "$LINENO"; then :
39802 glibcxx_cv_func_strtof_use=yes
39803 else
39804 glibcxx_cv_func_strtof_use=no
39806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39807 ac_ext=c
39808 ac_cpp='$CPP $CPPFLAGS'
39809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
39818 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
39819 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
39820 for ac_func in strtof
39821 do :
39822 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
39823 if test "x$ac_cv_func_strtof" = x""yes; then :
39824 cat >>confdefs.h <<_ACEOF
39825 #define HAVE_STRTOF 1
39826 _ACEOF
39829 done
39836 CXXFLAGS="$ac_save_CXXFLAGS"
39843 am_save_CPPFLAGS="$CPPFLAGS"
39845 for element in $INCICONV; do
39846 haveit=
39847 for x in $CPPFLAGS; do
39849 acl_save_prefix="$prefix"
39850 prefix="$acl_final_prefix"
39851 acl_save_exec_prefix="$exec_prefix"
39852 exec_prefix="$acl_final_exec_prefix"
39853 eval x=\"$x\"
39854 exec_prefix="$acl_save_exec_prefix"
39855 prefix="$acl_save_prefix"
39857 if test "X$x" = "X$element"; then
39858 haveit=yes
39859 break
39861 done
39862 if test -z "$haveit"; then
39863 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
39865 done
39868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
39869 $as_echo_n "checking for iconv... " >&6; }
39870 if test "${am_cv_func_iconv+set}" = set; then :
39871 $as_echo_n "(cached) " >&6
39872 else
39874 am_cv_func_iconv="no, consider installing GNU libiconv"
39875 am_cv_lib_iconv=no
39876 if test x$gcc_no_link = xyes; then
39877 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39880 /* end confdefs.h. */
39881 #include <stdlib.h>
39882 #include <iconv.h>
39884 main ()
39886 iconv_t cd = iconv_open("","");
39887 iconv(cd,NULL,NULL,NULL,NULL);
39888 iconv_close(cd);
39890 return 0;
39892 _ACEOF
39893 if ac_fn_c_try_link "$LINENO"; then :
39894 am_cv_func_iconv=yes
39896 rm -f core conftest.err conftest.$ac_objext \
39897 conftest$ac_exeext conftest.$ac_ext
39898 if test "$am_cv_func_iconv" != yes; then
39899 am_save_LIBS="$LIBS"
39900 LIBS="$LIBS $LIBICONV"
39901 if test x$gcc_no_link = xyes; then
39902 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39905 /* end confdefs.h. */
39906 #include <stdlib.h>
39907 #include <iconv.h>
39909 main ()
39911 iconv_t cd = iconv_open("","");
39912 iconv(cd,NULL,NULL,NULL,NULL);
39913 iconv_close(cd);
39915 return 0;
39917 _ACEOF
39918 if ac_fn_c_try_link "$LINENO"; then :
39919 am_cv_lib_iconv=yes
39920 am_cv_func_iconv=yes
39922 rm -f core conftest.err conftest.$ac_objext \
39923 conftest$ac_exeext conftest.$ac_ext
39924 LIBS="$am_save_LIBS"
39928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
39929 $as_echo "$am_cv_func_iconv" >&6; }
39930 if test "$am_cv_func_iconv" = yes; then
39932 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
39935 if test "$am_cv_lib_iconv" = yes; then
39936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
39937 $as_echo_n "checking how to link with libiconv... " >&6; }
39938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
39939 $as_echo "$LIBICONV" >&6; }
39940 else
39941 CPPFLAGS="$am_save_CPPFLAGS"
39942 LIBICONV=
39943 LTLIBICONV=
39948 if test "$am_cv_func_iconv" = yes; then
39949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
39950 $as_echo_n "checking for iconv declaration... " >&6; }
39951 if test "${am_cv_proto_iconv+set}" = set; then :
39952 $as_echo_n "(cached) " >&6
39953 else
39955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39956 /* end confdefs.h. */
39958 #include <stdlib.h>
39959 #include <iconv.h>
39960 extern
39961 #ifdef __cplusplus
39963 #endif
39964 #if defined(__STDC__) || defined(__cplusplus)
39965 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
39966 #else
39967 size_t iconv();
39968 #endif
39971 main ()
39975 return 0;
39977 _ACEOF
39978 if ac_fn_c_try_compile "$LINENO"; then :
39979 am_cv_proto_iconv_arg1=""
39980 else
39981 am_cv_proto_iconv_arg1="const"
39983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39984 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);"
39987 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
39988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
39989 }$am_cv_proto_iconv" >&5
39990 $as_echo "${ac_t:-
39991 }$am_cv_proto_iconv" >&6; }
39993 cat >>confdefs.h <<_ACEOF
39994 #define ICONV_CONST $am_cv_proto_iconv_arg1
39995 _ACEOF
40001 *-aix*)
40003 # If we're not using GNU ld, then there's no point in even trying these
40004 # tests. Check for that first. We should have already tested for gld
40005 # by now (in libtool), but require it now just to be safe...
40006 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
40007 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
40011 # The name set by libtool depends on the version of libtool. Shame on us
40012 # for depending on an impl detail, but c'est la vie. Older versions used
40013 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
40014 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
40015 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
40016 # set (hence we're using an older libtool), then set it.
40017 if test x${with_gnu_ld+set} != xset; then
40018 if test x${ac_cv_prog_gnu_ld+set} != xset; then
40019 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
40020 with_gnu_ld=no
40021 else
40022 with_gnu_ld=$ac_cv_prog_gnu_ld
40026 # Start by getting the version number. I think the libtool test already
40027 # does some of this, but throws away the result.
40028 glibcxx_ld_is_gold=no
40029 if test x"$with_gnu_ld" = x"yes"; then
40030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
40031 $as_echo_n "checking for ld version... " >&6; }
40033 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
40034 glibcxx_ld_is_gold=yes
40036 ldver=`$LD --version 2>/dev/null |
40037 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'`
40039 glibcxx_gnu_ld_version=`echo $ldver | \
40040 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
40041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
40042 $as_echo "$glibcxx_gnu_ld_version" >&6; }
40045 # Set --gc-sections.
40046 glibcxx_have_gc_sections=no
40047 if test "$glibcxx_ld_is_gold" = "yes"; then
40048 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
40049 glibcxx_have_gc_sections=yes
40051 else
40052 glibcxx_gcsections_min_ld=21602
40053 if test x"$with_gnu_ld" = x"yes" &&
40054 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
40055 glibcxx_have_gc_sections=yes
40058 if test "$glibcxx_have_gc_sections" = "yes"; then
40059 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
40060 # NB: This flag only works reliably after 2.16.1. Configure tests
40061 # for this are difficult, so hard wire a value that should work.
40063 ac_test_CFLAGS="${CFLAGS+set}"
40064 ac_save_CFLAGS="$CFLAGS"
40065 CFLAGS='-Wl,--gc-sections'
40067 # Check for -Wl,--gc-sections
40068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
40069 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
40070 if test x$gcc_no_link = xyes; then
40071 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
40073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40074 /* end confdefs.h. */
40075 int one(void) { return 1; }
40076 int two(void) { return 2; }
40079 main ()
40081 two();
40083 return 0;
40085 _ACEOF
40086 if ac_fn_c_try_link "$LINENO"; then :
40087 ac_gcsections=yes
40088 else
40089 ac_gcsections=no
40091 rm -f core conftest.err conftest.$ac_objext \
40092 conftest$ac_exeext conftest.$ac_ext
40093 if test "$ac_gcsections" = "yes"; then
40094 rm -f conftest.c
40095 touch conftest.c
40096 if $CC -c conftest.c; then
40097 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
40098 grep "Warning: gc-sections option ignored" > /dev/null; then
40099 ac_gcsections=no
40102 rm -f conftest.c conftest.o conftest
40104 if test "$ac_gcsections" = "yes"; then
40105 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
40107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
40108 $as_echo "$ac_gcsections" >&6; }
40110 if test "$ac_test_CFLAGS" = set; then
40111 CFLAGS="$ac_save_CFLAGS"
40112 else
40113 # this is the suspicious part
40114 CFLAGS=''
40118 # Set -z,relro.
40119 # Note this is only for shared objects.
40120 ac_ld_relro=no
40121 if test x"$with_gnu_ld" = x"yes"; then
40122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
40123 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
40124 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
40125 if test -n "$cxx_z_relo"; then
40126 OPT_LDFLAGS="-Wl,-z,relro"
40127 ac_ld_relro=yes
40129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
40130 $as_echo "$ac_ld_relro" >&6; }
40133 # Set linker optimization flags.
40134 if test x"$with_gnu_ld" = x"yes"; then
40135 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
40142 ac_test_CXXFLAGS="${CXXFLAGS+set}"
40143 ac_save_CXXFLAGS="$CXXFLAGS"
40144 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
40146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
40147 $as_echo_n "checking for sin in -lm... " >&6; }
40148 if test "${ac_cv_lib_m_sin+set}" = set; then :
40149 $as_echo_n "(cached) " >&6
40150 else
40151 ac_check_lib_save_LIBS=$LIBS
40152 LIBS="-lm $LIBS"
40153 if test x$gcc_no_link = xyes; then
40154 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
40156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40157 /* end confdefs.h. */
40159 /* Override any GCC internal prototype to avoid an error.
40160 Use char because int might match the return type of a GCC
40161 builtin and then its argument prototype would still apply. */
40162 #ifdef __cplusplus
40163 extern "C"
40164 #endif
40165 char sin ();
40167 main ()
40169 return sin ();
40171 return 0;
40173 _ACEOF
40174 if ac_fn_c_try_link "$LINENO"; then :
40175 ac_cv_lib_m_sin=yes
40176 else
40177 ac_cv_lib_m_sin=no
40179 rm -f core conftest.err conftest.$ac_objext \
40180 conftest$ac_exeext conftest.$ac_ext
40181 LIBS=$ac_check_lib_save_LIBS
40183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
40184 $as_echo "$ac_cv_lib_m_sin" >&6; }
40185 if test "x$ac_cv_lib_m_sin" = x""yes; then :
40186 libm="-lm"
40189 ac_save_LIBS="$LIBS"
40190 LIBS="$LIBS $libm"
40194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
40195 $as_echo_n "checking for isinf declaration... " >&6; }
40196 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
40197 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
40198 $as_echo_n "(cached) " >&6
40199 else
40202 ac_ext=cpp
40203 ac_cpp='$CXXCPP $CPPFLAGS'
40204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40209 /* end confdefs.h. */
40210 #include <math.h>
40211 #ifdef HAVE_IEEEFP_H
40212 #include <ieeefp.h>
40213 #endif
40216 main ()
40218 isinf(0);
40220 return 0;
40222 _ACEOF
40223 if ac_fn_cxx_try_compile "$LINENO"; then :
40224 glibcxx_cv_func_isinf_use=yes
40225 else
40226 glibcxx_cv_func_isinf_use=no
40228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40229 ac_ext=c
40230 ac_cpp='$CPP $CPPFLAGS'
40231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
40240 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
40242 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
40243 for ac_func in isinf
40244 do :
40245 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
40246 if test "x$ac_cv_func_isinf" = x""yes; then :
40247 cat >>confdefs.h <<_ACEOF
40248 #define HAVE_ISINF 1
40249 _ACEOF
40252 done
40254 else
40256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
40257 $as_echo_n "checking for _isinf declaration... " >&6; }
40258 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
40259 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
40260 $as_echo_n "(cached) " >&6
40261 else
40264 ac_ext=cpp
40265 ac_cpp='$CXXCPP $CPPFLAGS'
40266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40271 /* end confdefs.h. */
40272 #include <math.h>
40273 #ifdef HAVE_IEEEFP_H
40274 #include <ieeefp.h>
40275 #endif
40278 main ()
40280 _isinf(0);
40282 return 0;
40284 _ACEOF
40285 if ac_fn_cxx_try_compile "$LINENO"; then :
40286 glibcxx_cv_func__isinf_use=yes
40287 else
40288 glibcxx_cv_func__isinf_use=no
40290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40291 ac_ext=c
40292 ac_cpp='$CPP $CPPFLAGS'
40293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
40302 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
40304 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
40305 for ac_func in _isinf
40306 do :
40307 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
40308 if test "x$ac_cv_func__isinf" = x""yes; then :
40309 cat >>confdefs.h <<_ACEOF
40310 #define HAVE__ISINF 1
40311 _ACEOF
40314 done
40323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
40324 $as_echo_n "checking for isnan declaration... " >&6; }
40325 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
40326 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
40327 $as_echo_n "(cached) " >&6
40328 else
40331 ac_ext=cpp
40332 ac_cpp='$CXXCPP $CPPFLAGS'
40333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40338 /* end confdefs.h. */
40339 #include <math.h>
40340 #ifdef HAVE_IEEEFP_H
40341 #include <ieeefp.h>
40342 #endif
40345 main ()
40347 isnan(0);
40349 return 0;
40351 _ACEOF
40352 if ac_fn_cxx_try_compile "$LINENO"; then :
40353 glibcxx_cv_func_isnan_use=yes
40354 else
40355 glibcxx_cv_func_isnan_use=no
40357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40358 ac_ext=c
40359 ac_cpp='$CPP $CPPFLAGS'
40360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
40369 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
40371 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
40372 for ac_func in isnan
40373 do :
40374 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
40375 if test "x$ac_cv_func_isnan" = x""yes; then :
40376 cat >>confdefs.h <<_ACEOF
40377 #define HAVE_ISNAN 1
40378 _ACEOF
40381 done
40383 else
40385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
40386 $as_echo_n "checking for _isnan declaration... " >&6; }
40387 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
40388 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
40389 $as_echo_n "(cached) " >&6
40390 else
40393 ac_ext=cpp
40394 ac_cpp='$CXXCPP $CPPFLAGS'
40395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40400 /* end confdefs.h. */
40401 #include <math.h>
40402 #ifdef HAVE_IEEEFP_H
40403 #include <ieeefp.h>
40404 #endif
40407 main ()
40409 _isnan(0);
40411 return 0;
40413 _ACEOF
40414 if ac_fn_cxx_try_compile "$LINENO"; then :
40415 glibcxx_cv_func__isnan_use=yes
40416 else
40417 glibcxx_cv_func__isnan_use=no
40419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40420 ac_ext=c
40421 ac_cpp='$CPP $CPPFLAGS'
40422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
40431 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
40433 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
40434 for ac_func in _isnan
40435 do :
40436 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
40437 if test "x$ac_cv_func__isnan" = x""yes; then :
40438 cat >>confdefs.h <<_ACEOF
40439 #define HAVE__ISNAN 1
40440 _ACEOF
40443 done
40452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
40453 $as_echo_n "checking for finite declaration... " >&6; }
40454 if test x${glibcxx_cv_func_finite_use+set} != xset; then
40455 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
40456 $as_echo_n "(cached) " >&6
40457 else
40460 ac_ext=cpp
40461 ac_cpp='$CXXCPP $CPPFLAGS'
40462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40467 /* end confdefs.h. */
40468 #include <math.h>
40469 #ifdef HAVE_IEEEFP_H
40470 #include <ieeefp.h>
40471 #endif
40474 main ()
40476 finite(0);
40478 return 0;
40480 _ACEOF
40481 if ac_fn_cxx_try_compile "$LINENO"; then :
40482 glibcxx_cv_func_finite_use=yes
40483 else
40484 glibcxx_cv_func_finite_use=no
40486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40487 ac_ext=c
40488 ac_cpp='$CPP $CPPFLAGS'
40489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
40498 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
40500 if test x$glibcxx_cv_func_finite_use = x"yes"; then
40501 for ac_func in finite
40502 do :
40503 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
40504 if test "x$ac_cv_func_finite" = x""yes; then :
40505 cat >>confdefs.h <<_ACEOF
40506 #define HAVE_FINITE 1
40507 _ACEOF
40510 done
40512 else
40514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
40515 $as_echo_n "checking for _finite declaration... " >&6; }
40516 if test x${glibcxx_cv_func__finite_use+set} != xset; then
40517 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
40518 $as_echo_n "(cached) " >&6
40519 else
40522 ac_ext=cpp
40523 ac_cpp='$CXXCPP $CPPFLAGS'
40524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40529 /* end confdefs.h. */
40530 #include <math.h>
40531 #ifdef HAVE_IEEEFP_H
40532 #include <ieeefp.h>
40533 #endif
40536 main ()
40538 _finite(0);
40540 return 0;
40542 _ACEOF
40543 if ac_fn_cxx_try_compile "$LINENO"; then :
40544 glibcxx_cv_func__finite_use=yes
40545 else
40546 glibcxx_cv_func__finite_use=no
40548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40549 ac_ext=c
40550 ac_cpp='$CPP $CPPFLAGS'
40551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
40560 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
40562 if test x$glibcxx_cv_func__finite_use = x"yes"; then
40563 for ac_func in _finite
40564 do :
40565 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
40566 if test "x$ac_cv_func__finite" = x""yes; then :
40567 cat >>confdefs.h <<_ACEOF
40568 #define HAVE__FINITE 1
40569 _ACEOF
40572 done
40581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
40582 $as_echo_n "checking for sincos declaration... " >&6; }
40583 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
40584 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
40585 $as_echo_n "(cached) " >&6
40586 else
40589 ac_ext=cpp
40590 ac_cpp='$CXXCPP $CPPFLAGS'
40591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40596 /* end confdefs.h. */
40597 #include <math.h>
40599 main ()
40601 sincos(0, 0, 0);
40603 return 0;
40605 _ACEOF
40606 if ac_fn_cxx_try_compile "$LINENO"; then :
40607 glibcxx_cv_func_sincos_use=yes
40608 else
40609 glibcxx_cv_func_sincos_use=no
40611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40612 ac_ext=c
40613 ac_cpp='$CPP $CPPFLAGS'
40614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
40623 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
40625 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
40626 for ac_func in sincos
40627 do :
40628 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
40629 if test "x$ac_cv_func_sincos" = x""yes; then :
40630 cat >>confdefs.h <<_ACEOF
40631 #define HAVE_SINCOS 1
40632 _ACEOF
40635 done
40637 else
40639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
40640 $as_echo_n "checking for _sincos declaration... " >&6; }
40641 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
40642 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
40643 $as_echo_n "(cached) " >&6
40644 else
40647 ac_ext=cpp
40648 ac_cpp='$CXXCPP $CPPFLAGS'
40649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40654 /* end confdefs.h. */
40655 #include <math.h>
40657 main ()
40659 _sincos(0, 0, 0);
40661 return 0;
40663 _ACEOF
40664 if ac_fn_cxx_try_compile "$LINENO"; then :
40665 glibcxx_cv_func__sincos_use=yes
40666 else
40667 glibcxx_cv_func__sincos_use=no
40669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40670 ac_ext=c
40671 ac_cpp='$CPP $CPPFLAGS'
40672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
40681 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
40683 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
40684 for ac_func in _sincos
40685 do :
40686 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
40687 if test "x$ac_cv_func__sincos" = x""yes; then :
40688 cat >>confdefs.h <<_ACEOF
40689 #define HAVE__SINCOS 1
40690 _ACEOF
40693 done
40702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
40703 $as_echo_n "checking for fpclass declaration... " >&6; }
40704 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
40705 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
40706 $as_echo_n "(cached) " >&6
40707 else
40710 ac_ext=cpp
40711 ac_cpp='$CXXCPP $CPPFLAGS'
40712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40717 /* end confdefs.h. */
40718 #include <math.h>
40719 #ifdef HAVE_IEEEFP_H
40720 #include <ieeefp.h>
40721 #endif
40724 main ()
40726 fpclass(0);
40728 return 0;
40730 _ACEOF
40731 if ac_fn_cxx_try_compile "$LINENO"; then :
40732 glibcxx_cv_func_fpclass_use=yes
40733 else
40734 glibcxx_cv_func_fpclass_use=no
40736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40737 ac_ext=c
40738 ac_cpp='$CPP $CPPFLAGS'
40739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
40748 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
40750 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
40751 for ac_func in fpclass
40752 do :
40753 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
40754 if test "x$ac_cv_func_fpclass" = x""yes; then :
40755 cat >>confdefs.h <<_ACEOF
40756 #define HAVE_FPCLASS 1
40757 _ACEOF
40760 done
40762 else
40764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
40765 $as_echo_n "checking for _fpclass declaration... " >&6; }
40766 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
40767 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
40768 $as_echo_n "(cached) " >&6
40769 else
40772 ac_ext=cpp
40773 ac_cpp='$CXXCPP $CPPFLAGS'
40774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40779 /* end confdefs.h. */
40780 #include <math.h>
40781 #ifdef HAVE_IEEEFP_H
40782 #include <ieeefp.h>
40783 #endif
40786 main ()
40788 _fpclass(0);
40790 return 0;
40792 _ACEOF
40793 if ac_fn_cxx_try_compile "$LINENO"; then :
40794 glibcxx_cv_func__fpclass_use=yes
40795 else
40796 glibcxx_cv_func__fpclass_use=no
40798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40799 ac_ext=c
40800 ac_cpp='$CPP $CPPFLAGS'
40801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
40810 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
40812 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
40813 for ac_func in _fpclass
40814 do :
40815 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
40816 if test "x$ac_cv_func__fpclass" = x""yes; then :
40817 cat >>confdefs.h <<_ACEOF
40818 #define HAVE__FPCLASS 1
40819 _ACEOF
40822 done
40831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
40832 $as_echo_n "checking for qfpclass declaration... " >&6; }
40833 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
40834 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
40835 $as_echo_n "(cached) " >&6
40836 else
40839 ac_ext=cpp
40840 ac_cpp='$CXXCPP $CPPFLAGS'
40841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40846 /* end confdefs.h. */
40847 #include <math.h>
40848 #ifdef HAVE_IEEEFP_H
40849 #include <ieeefp.h>
40850 #endif
40853 main ()
40855 qfpclass(0);
40857 return 0;
40859 _ACEOF
40860 if ac_fn_cxx_try_compile "$LINENO"; then :
40861 glibcxx_cv_func_qfpclass_use=yes
40862 else
40863 glibcxx_cv_func_qfpclass_use=no
40865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40866 ac_ext=c
40867 ac_cpp='$CPP $CPPFLAGS'
40868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
40877 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
40879 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
40880 for ac_func in qfpclass
40881 do :
40882 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
40883 if test "x$ac_cv_func_qfpclass" = x""yes; then :
40884 cat >>confdefs.h <<_ACEOF
40885 #define HAVE_QFPCLASS 1
40886 _ACEOF
40889 done
40891 else
40893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
40894 $as_echo_n "checking for _qfpclass declaration... " >&6; }
40895 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
40896 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
40897 $as_echo_n "(cached) " >&6
40898 else
40901 ac_ext=cpp
40902 ac_cpp='$CXXCPP $CPPFLAGS'
40903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40908 /* end confdefs.h. */
40909 #include <math.h>
40910 #ifdef HAVE_IEEEFP_H
40911 #include <ieeefp.h>
40912 #endif
40915 main ()
40917 _qfpclass(0);
40919 return 0;
40921 _ACEOF
40922 if ac_fn_cxx_try_compile "$LINENO"; then :
40923 glibcxx_cv_func__qfpclass_use=yes
40924 else
40925 glibcxx_cv_func__qfpclass_use=no
40927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40928 ac_ext=c
40929 ac_cpp='$CPP $CPPFLAGS'
40930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
40939 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
40941 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
40942 for ac_func in _qfpclass
40943 do :
40944 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
40945 if test "x$ac_cv_func__qfpclass" = x""yes; then :
40946 cat >>confdefs.h <<_ACEOF
40947 #define HAVE__QFPCLASS 1
40948 _ACEOF
40951 done
40960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
40961 $as_echo_n "checking for hypot declaration... " >&6; }
40962 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
40963 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
40964 $as_echo_n "(cached) " >&6
40965 else
40968 ac_ext=cpp
40969 ac_cpp='$CXXCPP $CPPFLAGS'
40970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40975 /* end confdefs.h. */
40976 #include <math.h>
40978 main ()
40980 hypot(0, 0);
40982 return 0;
40984 _ACEOF
40985 if ac_fn_cxx_try_compile "$LINENO"; then :
40986 glibcxx_cv_func_hypot_use=yes
40987 else
40988 glibcxx_cv_func_hypot_use=no
40990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40991 ac_ext=c
40992 ac_cpp='$CPP $CPPFLAGS'
40993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
41002 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
41004 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
41005 for ac_func in hypot
41006 do :
41007 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
41008 if test "x$ac_cv_func_hypot" = x""yes; then :
41009 cat >>confdefs.h <<_ACEOF
41010 #define HAVE_HYPOT 1
41011 _ACEOF
41014 done
41016 else
41018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
41019 $as_echo_n "checking for _hypot declaration... " >&6; }
41020 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
41021 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
41022 $as_echo_n "(cached) " >&6
41023 else
41026 ac_ext=cpp
41027 ac_cpp='$CXXCPP $CPPFLAGS'
41028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41033 /* end confdefs.h. */
41034 #include <math.h>
41036 main ()
41038 _hypot(0, 0);
41040 return 0;
41042 _ACEOF
41043 if ac_fn_cxx_try_compile "$LINENO"; then :
41044 glibcxx_cv_func__hypot_use=yes
41045 else
41046 glibcxx_cv_func__hypot_use=no
41048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41049 ac_ext=c
41050 ac_cpp='$CPP $CPPFLAGS'
41051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
41060 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
41062 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
41063 for ac_func in _hypot
41064 do :
41065 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
41066 if test "x$ac_cv_func__hypot" = x""yes; then :
41067 cat >>confdefs.h <<_ACEOF
41068 #define HAVE__HYPOT 1
41069 _ACEOF
41072 done
41081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
41082 $as_echo_n "checking for float trig functions... " >&6; }
41083 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
41084 $as_echo_n "(cached) " >&6
41085 else
41088 ac_ext=cpp
41089 ac_cpp='$CXXCPP $CPPFLAGS'
41090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41095 /* end confdefs.h. */
41096 #include <math.h>
41098 main ()
41100 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
41102 return 0;
41104 _ACEOF
41105 if ac_fn_cxx_try_compile "$LINENO"; then :
41106 glibcxx_cv_func_float_trig_use=yes
41107 else
41108 glibcxx_cv_func_float_trig_use=no
41110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41111 ac_ext=c
41112 ac_cpp='$CPP $CPPFLAGS'
41113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
41120 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
41121 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
41122 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
41123 do :
41124 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41125 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41126 eval as_val=\$$as_ac_var
41127 if test "x$as_val" = x""yes; then :
41128 cat >>confdefs.h <<_ACEOF
41129 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41130 _ACEOF
41133 done
41135 else
41136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
41137 $as_echo_n "checking for _float trig functions... " >&6; }
41138 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
41139 $as_echo_n "(cached) " >&6
41140 else
41143 ac_ext=cpp
41144 ac_cpp='$CXXCPP $CPPFLAGS'
41145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41150 /* end confdefs.h. */
41151 #include <math.h>
41153 main ()
41155 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
41157 return 0;
41159 _ACEOF
41160 if ac_fn_cxx_try_compile "$LINENO"; then :
41161 glibcxx_cv_func__float_trig_use=yes
41162 else
41163 glibcxx_cv_func__float_trig_use=no
41165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41166 ac_ext=c
41167 ac_cpp='$CPP $CPPFLAGS'
41168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
41175 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
41176 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
41177 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
41178 do :
41179 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41180 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41181 eval as_val=\$$as_ac_var
41182 if test "x$as_val" = x""yes; then :
41183 cat >>confdefs.h <<_ACEOF
41184 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41185 _ACEOF
41188 done
41197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
41198 $as_echo_n "checking for float round functions... " >&6; }
41199 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
41200 $as_echo_n "(cached) " >&6
41201 else
41204 ac_ext=cpp
41205 ac_cpp='$CXXCPP $CPPFLAGS'
41206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41211 /* end confdefs.h. */
41212 #include <math.h>
41214 main ()
41216 ceilf (0); floorf (0);
41218 return 0;
41220 _ACEOF
41221 if ac_fn_cxx_try_compile "$LINENO"; then :
41222 glibcxx_cv_func_float_round_use=yes
41223 else
41224 glibcxx_cv_func_float_round_use=no
41226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41227 ac_ext=c
41228 ac_cpp='$CPP $CPPFLAGS'
41229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
41236 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
41237 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
41238 for ac_func in ceilf floorf
41239 do :
41240 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41241 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41242 eval as_val=\$$as_ac_var
41243 if test "x$as_val" = x""yes; then :
41244 cat >>confdefs.h <<_ACEOF
41245 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41246 _ACEOF
41249 done
41251 else
41252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
41253 $as_echo_n "checking for _float round functions... " >&6; }
41254 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
41255 $as_echo_n "(cached) " >&6
41256 else
41259 ac_ext=cpp
41260 ac_cpp='$CXXCPP $CPPFLAGS'
41261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41266 /* end confdefs.h. */
41267 #include <math.h>
41269 main ()
41271 _ceilf (0); _floorf (0);
41273 return 0;
41275 _ACEOF
41276 if ac_fn_cxx_try_compile "$LINENO"; then :
41277 glibcxx_cv_func__float_round_use=yes
41278 else
41279 glibcxx_cv_func__float_round_use=no
41281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41282 ac_ext=c
41283 ac_cpp='$CPP $CPPFLAGS'
41284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
41291 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
41292 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
41293 for ac_func in _ceilf _floorf
41294 do :
41295 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41296 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41297 eval as_val=\$$as_ac_var
41298 if test "x$as_val" = x""yes; then :
41299 cat >>confdefs.h <<_ACEOF
41300 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41301 _ACEOF
41304 done
41314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
41315 $as_echo_n "checking for expf declaration... " >&6; }
41316 if test x${glibcxx_cv_func_expf_use+set} != xset; then
41317 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
41318 $as_echo_n "(cached) " >&6
41319 else
41322 ac_ext=cpp
41323 ac_cpp='$CXXCPP $CPPFLAGS'
41324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41329 /* end confdefs.h. */
41330 #include <math.h>
41331 #ifdef HAVE_IEEEFP_H
41332 #include <ieeefp.h>
41333 #endif
41336 main ()
41338 expf(0);
41340 return 0;
41342 _ACEOF
41343 if ac_fn_cxx_try_compile "$LINENO"; then :
41344 glibcxx_cv_func_expf_use=yes
41345 else
41346 glibcxx_cv_func_expf_use=no
41348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41349 ac_ext=c
41350 ac_cpp='$CPP $CPPFLAGS'
41351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
41360 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
41362 if test x$glibcxx_cv_func_expf_use = x"yes"; then
41363 for ac_func in expf
41364 do :
41365 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
41366 if test "x$ac_cv_func_expf" = x""yes; then :
41367 cat >>confdefs.h <<_ACEOF
41368 #define HAVE_EXPF 1
41369 _ACEOF
41372 done
41374 else
41376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
41377 $as_echo_n "checking for _expf declaration... " >&6; }
41378 if test x${glibcxx_cv_func__expf_use+set} != xset; then
41379 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
41380 $as_echo_n "(cached) " >&6
41381 else
41384 ac_ext=cpp
41385 ac_cpp='$CXXCPP $CPPFLAGS'
41386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41391 /* end confdefs.h. */
41392 #include <math.h>
41393 #ifdef HAVE_IEEEFP_H
41394 #include <ieeefp.h>
41395 #endif
41398 main ()
41400 _expf(0);
41402 return 0;
41404 _ACEOF
41405 if ac_fn_cxx_try_compile "$LINENO"; then :
41406 glibcxx_cv_func__expf_use=yes
41407 else
41408 glibcxx_cv_func__expf_use=no
41410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41411 ac_ext=c
41412 ac_cpp='$CPP $CPPFLAGS'
41413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
41422 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
41424 if test x$glibcxx_cv_func__expf_use = x"yes"; then
41425 for ac_func in _expf
41426 do :
41427 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
41428 if test "x$ac_cv_func__expf" = x""yes; then :
41429 cat >>confdefs.h <<_ACEOF
41430 #define HAVE__EXPF 1
41431 _ACEOF
41434 done
41443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
41444 $as_echo_n "checking for isnanf declaration... " >&6; }
41445 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
41446 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
41447 $as_echo_n "(cached) " >&6
41448 else
41451 ac_ext=cpp
41452 ac_cpp='$CXXCPP $CPPFLAGS'
41453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41458 /* end confdefs.h. */
41459 #include <math.h>
41460 #ifdef HAVE_IEEEFP_H
41461 #include <ieeefp.h>
41462 #endif
41465 main ()
41467 isnanf(0);
41469 return 0;
41471 _ACEOF
41472 if ac_fn_cxx_try_compile "$LINENO"; then :
41473 glibcxx_cv_func_isnanf_use=yes
41474 else
41475 glibcxx_cv_func_isnanf_use=no
41477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41478 ac_ext=c
41479 ac_cpp='$CPP $CPPFLAGS'
41480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
41489 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
41491 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
41492 for ac_func in isnanf
41493 do :
41494 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
41495 if test "x$ac_cv_func_isnanf" = x""yes; then :
41496 cat >>confdefs.h <<_ACEOF
41497 #define HAVE_ISNANF 1
41498 _ACEOF
41501 done
41503 else
41505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
41506 $as_echo_n "checking for _isnanf declaration... " >&6; }
41507 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
41508 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
41509 $as_echo_n "(cached) " >&6
41510 else
41513 ac_ext=cpp
41514 ac_cpp='$CXXCPP $CPPFLAGS'
41515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41520 /* end confdefs.h. */
41521 #include <math.h>
41522 #ifdef HAVE_IEEEFP_H
41523 #include <ieeefp.h>
41524 #endif
41527 main ()
41529 _isnanf(0);
41531 return 0;
41533 _ACEOF
41534 if ac_fn_cxx_try_compile "$LINENO"; then :
41535 glibcxx_cv_func__isnanf_use=yes
41536 else
41537 glibcxx_cv_func__isnanf_use=no
41539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41540 ac_ext=c
41541 ac_cpp='$CPP $CPPFLAGS'
41542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
41551 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
41553 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
41554 for ac_func in _isnanf
41555 do :
41556 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
41557 if test "x$ac_cv_func__isnanf" = x""yes; then :
41558 cat >>confdefs.h <<_ACEOF
41559 #define HAVE__ISNANF 1
41560 _ACEOF
41563 done
41572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
41573 $as_echo_n "checking for isinff declaration... " >&6; }
41574 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
41575 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
41576 $as_echo_n "(cached) " >&6
41577 else
41580 ac_ext=cpp
41581 ac_cpp='$CXXCPP $CPPFLAGS'
41582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41587 /* end confdefs.h. */
41588 #include <math.h>
41589 #ifdef HAVE_IEEEFP_H
41590 #include <ieeefp.h>
41591 #endif
41594 main ()
41596 isinff(0);
41598 return 0;
41600 _ACEOF
41601 if ac_fn_cxx_try_compile "$LINENO"; then :
41602 glibcxx_cv_func_isinff_use=yes
41603 else
41604 glibcxx_cv_func_isinff_use=no
41606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41607 ac_ext=c
41608 ac_cpp='$CPP $CPPFLAGS'
41609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
41618 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
41620 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
41621 for ac_func in isinff
41622 do :
41623 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
41624 if test "x$ac_cv_func_isinff" = x""yes; then :
41625 cat >>confdefs.h <<_ACEOF
41626 #define HAVE_ISINFF 1
41627 _ACEOF
41630 done
41632 else
41634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
41635 $as_echo_n "checking for _isinff declaration... " >&6; }
41636 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
41637 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
41638 $as_echo_n "(cached) " >&6
41639 else
41642 ac_ext=cpp
41643 ac_cpp='$CXXCPP $CPPFLAGS'
41644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41649 /* end confdefs.h. */
41650 #include <math.h>
41651 #ifdef HAVE_IEEEFP_H
41652 #include <ieeefp.h>
41653 #endif
41656 main ()
41658 _isinff(0);
41660 return 0;
41662 _ACEOF
41663 if ac_fn_cxx_try_compile "$LINENO"; then :
41664 glibcxx_cv_func__isinff_use=yes
41665 else
41666 glibcxx_cv_func__isinff_use=no
41668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41669 ac_ext=c
41670 ac_cpp='$CPP $CPPFLAGS'
41671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
41680 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
41682 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
41683 for ac_func in _isinff
41684 do :
41685 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
41686 if test "x$ac_cv_func__isinff" = x""yes; then :
41687 cat >>confdefs.h <<_ACEOF
41688 #define HAVE__ISINFF 1
41689 _ACEOF
41692 done
41701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
41702 $as_echo_n "checking for atan2f declaration... " >&6; }
41703 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
41704 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
41705 $as_echo_n "(cached) " >&6
41706 else
41709 ac_ext=cpp
41710 ac_cpp='$CXXCPP $CPPFLAGS'
41711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41716 /* end confdefs.h. */
41717 #include <math.h>
41719 main ()
41721 atan2f(0, 0);
41723 return 0;
41725 _ACEOF
41726 if ac_fn_cxx_try_compile "$LINENO"; then :
41727 glibcxx_cv_func_atan2f_use=yes
41728 else
41729 glibcxx_cv_func_atan2f_use=no
41731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41732 ac_ext=c
41733 ac_cpp='$CPP $CPPFLAGS'
41734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
41743 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
41745 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
41746 for ac_func in atan2f
41747 do :
41748 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
41749 if test "x$ac_cv_func_atan2f" = x""yes; then :
41750 cat >>confdefs.h <<_ACEOF
41751 #define HAVE_ATAN2F 1
41752 _ACEOF
41755 done
41757 else
41759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
41760 $as_echo_n "checking for _atan2f declaration... " >&6; }
41761 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
41762 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
41763 $as_echo_n "(cached) " >&6
41764 else
41767 ac_ext=cpp
41768 ac_cpp='$CXXCPP $CPPFLAGS'
41769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41774 /* end confdefs.h. */
41775 #include <math.h>
41777 main ()
41779 _atan2f(0, 0);
41781 return 0;
41783 _ACEOF
41784 if ac_fn_cxx_try_compile "$LINENO"; then :
41785 glibcxx_cv_func__atan2f_use=yes
41786 else
41787 glibcxx_cv_func__atan2f_use=no
41789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41790 ac_ext=c
41791 ac_cpp='$CPP $CPPFLAGS'
41792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
41801 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
41803 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
41804 for ac_func in _atan2f
41805 do :
41806 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
41807 if test "x$ac_cv_func__atan2f" = x""yes; then :
41808 cat >>confdefs.h <<_ACEOF
41809 #define HAVE__ATAN2F 1
41810 _ACEOF
41813 done
41822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
41823 $as_echo_n "checking for fabsf declaration... " >&6; }
41824 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
41825 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
41826 $as_echo_n "(cached) " >&6
41827 else
41830 ac_ext=cpp
41831 ac_cpp='$CXXCPP $CPPFLAGS'
41832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41837 /* end confdefs.h. */
41838 #include <math.h>
41839 #ifdef HAVE_IEEEFP_H
41840 #include <ieeefp.h>
41841 #endif
41844 main ()
41846 fabsf(0);
41848 return 0;
41850 _ACEOF
41851 if ac_fn_cxx_try_compile "$LINENO"; then :
41852 glibcxx_cv_func_fabsf_use=yes
41853 else
41854 glibcxx_cv_func_fabsf_use=no
41856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41857 ac_ext=c
41858 ac_cpp='$CPP $CPPFLAGS'
41859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
41868 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
41870 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
41871 for ac_func in fabsf
41872 do :
41873 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
41874 if test "x$ac_cv_func_fabsf" = x""yes; then :
41875 cat >>confdefs.h <<_ACEOF
41876 #define HAVE_FABSF 1
41877 _ACEOF
41880 done
41882 else
41884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
41885 $as_echo_n "checking for _fabsf declaration... " >&6; }
41886 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
41887 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
41888 $as_echo_n "(cached) " >&6
41889 else
41892 ac_ext=cpp
41893 ac_cpp='$CXXCPP $CPPFLAGS'
41894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41899 /* end confdefs.h. */
41900 #include <math.h>
41901 #ifdef HAVE_IEEEFP_H
41902 #include <ieeefp.h>
41903 #endif
41906 main ()
41908 _fabsf(0);
41910 return 0;
41912 _ACEOF
41913 if ac_fn_cxx_try_compile "$LINENO"; then :
41914 glibcxx_cv_func__fabsf_use=yes
41915 else
41916 glibcxx_cv_func__fabsf_use=no
41918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41919 ac_ext=c
41920 ac_cpp='$CPP $CPPFLAGS'
41921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
41930 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
41932 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
41933 for ac_func in _fabsf
41934 do :
41935 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
41936 if test "x$ac_cv_func__fabsf" = x""yes; then :
41937 cat >>confdefs.h <<_ACEOF
41938 #define HAVE__FABSF 1
41939 _ACEOF
41942 done
41951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
41952 $as_echo_n "checking for fmodf declaration... " >&6; }
41953 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
41954 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
41955 $as_echo_n "(cached) " >&6
41956 else
41959 ac_ext=cpp
41960 ac_cpp='$CXXCPP $CPPFLAGS'
41961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41966 /* end confdefs.h. */
41967 #include <math.h>
41969 main ()
41971 fmodf(0, 0);
41973 return 0;
41975 _ACEOF
41976 if ac_fn_cxx_try_compile "$LINENO"; then :
41977 glibcxx_cv_func_fmodf_use=yes
41978 else
41979 glibcxx_cv_func_fmodf_use=no
41981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41982 ac_ext=c
41983 ac_cpp='$CPP $CPPFLAGS'
41984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
41993 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
41995 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
41996 for ac_func in fmodf
41997 do :
41998 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
41999 if test "x$ac_cv_func_fmodf" = x""yes; then :
42000 cat >>confdefs.h <<_ACEOF
42001 #define HAVE_FMODF 1
42002 _ACEOF
42005 done
42007 else
42009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
42010 $as_echo_n "checking for _fmodf declaration... " >&6; }
42011 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
42012 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
42013 $as_echo_n "(cached) " >&6
42014 else
42017 ac_ext=cpp
42018 ac_cpp='$CXXCPP $CPPFLAGS'
42019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42024 /* end confdefs.h. */
42025 #include <math.h>
42027 main ()
42029 _fmodf(0, 0);
42031 return 0;
42033 _ACEOF
42034 if ac_fn_cxx_try_compile "$LINENO"; then :
42035 glibcxx_cv_func__fmodf_use=yes
42036 else
42037 glibcxx_cv_func__fmodf_use=no
42039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42040 ac_ext=c
42041 ac_cpp='$CPP $CPPFLAGS'
42042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
42051 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
42053 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
42054 for ac_func in _fmodf
42055 do :
42056 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
42057 if test "x$ac_cv_func__fmodf" = x""yes; then :
42058 cat >>confdefs.h <<_ACEOF
42059 #define HAVE__FMODF 1
42060 _ACEOF
42063 done
42072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
42073 $as_echo_n "checking for frexpf declaration... " >&6; }
42074 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
42075 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
42076 $as_echo_n "(cached) " >&6
42077 else
42080 ac_ext=cpp
42081 ac_cpp='$CXXCPP $CPPFLAGS'
42082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42087 /* end confdefs.h. */
42088 #include <math.h>
42090 main ()
42092 frexpf(0, 0);
42094 return 0;
42096 _ACEOF
42097 if ac_fn_cxx_try_compile "$LINENO"; then :
42098 glibcxx_cv_func_frexpf_use=yes
42099 else
42100 glibcxx_cv_func_frexpf_use=no
42102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42103 ac_ext=c
42104 ac_cpp='$CPP $CPPFLAGS'
42105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
42114 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
42116 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
42117 for ac_func in frexpf
42118 do :
42119 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
42120 if test "x$ac_cv_func_frexpf" = x""yes; then :
42121 cat >>confdefs.h <<_ACEOF
42122 #define HAVE_FREXPF 1
42123 _ACEOF
42126 done
42128 else
42130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
42131 $as_echo_n "checking for _frexpf declaration... " >&6; }
42132 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
42133 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
42134 $as_echo_n "(cached) " >&6
42135 else
42138 ac_ext=cpp
42139 ac_cpp='$CXXCPP $CPPFLAGS'
42140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42145 /* end confdefs.h. */
42146 #include <math.h>
42148 main ()
42150 _frexpf(0, 0);
42152 return 0;
42154 _ACEOF
42155 if ac_fn_cxx_try_compile "$LINENO"; then :
42156 glibcxx_cv_func__frexpf_use=yes
42157 else
42158 glibcxx_cv_func__frexpf_use=no
42160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42161 ac_ext=c
42162 ac_cpp='$CPP $CPPFLAGS'
42163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
42172 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
42174 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
42175 for ac_func in _frexpf
42176 do :
42177 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
42178 if test "x$ac_cv_func__frexpf" = x""yes; then :
42179 cat >>confdefs.h <<_ACEOF
42180 #define HAVE__FREXPF 1
42181 _ACEOF
42184 done
42193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
42194 $as_echo_n "checking for hypotf declaration... " >&6; }
42195 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
42196 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
42197 $as_echo_n "(cached) " >&6
42198 else
42201 ac_ext=cpp
42202 ac_cpp='$CXXCPP $CPPFLAGS'
42203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42208 /* end confdefs.h. */
42209 #include <math.h>
42211 main ()
42213 hypotf(0, 0);
42215 return 0;
42217 _ACEOF
42218 if ac_fn_cxx_try_compile "$LINENO"; then :
42219 glibcxx_cv_func_hypotf_use=yes
42220 else
42221 glibcxx_cv_func_hypotf_use=no
42223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42224 ac_ext=c
42225 ac_cpp='$CPP $CPPFLAGS'
42226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
42235 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
42237 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
42238 for ac_func in hypotf
42239 do :
42240 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
42241 if test "x$ac_cv_func_hypotf" = x""yes; then :
42242 cat >>confdefs.h <<_ACEOF
42243 #define HAVE_HYPOTF 1
42244 _ACEOF
42247 done
42249 else
42251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
42252 $as_echo_n "checking for _hypotf declaration... " >&6; }
42253 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
42254 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
42255 $as_echo_n "(cached) " >&6
42256 else
42259 ac_ext=cpp
42260 ac_cpp='$CXXCPP $CPPFLAGS'
42261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42266 /* end confdefs.h. */
42267 #include <math.h>
42269 main ()
42271 _hypotf(0, 0);
42273 return 0;
42275 _ACEOF
42276 if ac_fn_cxx_try_compile "$LINENO"; then :
42277 glibcxx_cv_func__hypotf_use=yes
42278 else
42279 glibcxx_cv_func__hypotf_use=no
42281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42282 ac_ext=c
42283 ac_cpp='$CPP $CPPFLAGS'
42284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
42293 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
42295 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
42296 for ac_func in _hypotf
42297 do :
42298 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
42299 if test "x$ac_cv_func__hypotf" = x""yes; then :
42300 cat >>confdefs.h <<_ACEOF
42301 #define HAVE__HYPOTF 1
42302 _ACEOF
42305 done
42314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
42315 $as_echo_n "checking for ldexpf declaration... " >&6; }
42316 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
42317 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
42318 $as_echo_n "(cached) " >&6
42319 else
42322 ac_ext=cpp
42323 ac_cpp='$CXXCPP $CPPFLAGS'
42324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42329 /* end confdefs.h. */
42330 #include <math.h>
42332 main ()
42334 ldexpf(0, 0);
42336 return 0;
42338 _ACEOF
42339 if ac_fn_cxx_try_compile "$LINENO"; then :
42340 glibcxx_cv_func_ldexpf_use=yes
42341 else
42342 glibcxx_cv_func_ldexpf_use=no
42344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42345 ac_ext=c
42346 ac_cpp='$CPP $CPPFLAGS'
42347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
42356 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
42358 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
42359 for ac_func in ldexpf
42360 do :
42361 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
42362 if test "x$ac_cv_func_ldexpf" = x""yes; then :
42363 cat >>confdefs.h <<_ACEOF
42364 #define HAVE_LDEXPF 1
42365 _ACEOF
42368 done
42370 else
42372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
42373 $as_echo_n "checking for _ldexpf declaration... " >&6; }
42374 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
42375 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
42376 $as_echo_n "(cached) " >&6
42377 else
42380 ac_ext=cpp
42381 ac_cpp='$CXXCPP $CPPFLAGS'
42382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42387 /* end confdefs.h. */
42388 #include <math.h>
42390 main ()
42392 _ldexpf(0, 0);
42394 return 0;
42396 _ACEOF
42397 if ac_fn_cxx_try_compile "$LINENO"; then :
42398 glibcxx_cv_func__ldexpf_use=yes
42399 else
42400 glibcxx_cv_func__ldexpf_use=no
42402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42403 ac_ext=c
42404 ac_cpp='$CPP $CPPFLAGS'
42405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
42414 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
42416 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
42417 for ac_func in _ldexpf
42418 do :
42419 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
42420 if test "x$ac_cv_func__ldexpf" = x""yes; then :
42421 cat >>confdefs.h <<_ACEOF
42422 #define HAVE__LDEXPF 1
42423 _ACEOF
42426 done
42435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
42436 $as_echo_n "checking for logf declaration... " >&6; }
42437 if test x${glibcxx_cv_func_logf_use+set} != xset; then
42438 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
42439 $as_echo_n "(cached) " >&6
42440 else
42443 ac_ext=cpp
42444 ac_cpp='$CXXCPP $CPPFLAGS'
42445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42450 /* end confdefs.h. */
42451 #include <math.h>
42452 #ifdef HAVE_IEEEFP_H
42453 #include <ieeefp.h>
42454 #endif
42457 main ()
42459 logf(0);
42461 return 0;
42463 _ACEOF
42464 if ac_fn_cxx_try_compile "$LINENO"; then :
42465 glibcxx_cv_func_logf_use=yes
42466 else
42467 glibcxx_cv_func_logf_use=no
42469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42470 ac_ext=c
42471 ac_cpp='$CPP $CPPFLAGS'
42472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
42481 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
42483 if test x$glibcxx_cv_func_logf_use = x"yes"; then
42484 for ac_func in logf
42485 do :
42486 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
42487 if test "x$ac_cv_func_logf" = x""yes; then :
42488 cat >>confdefs.h <<_ACEOF
42489 #define HAVE_LOGF 1
42490 _ACEOF
42493 done
42495 else
42497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
42498 $as_echo_n "checking for _logf declaration... " >&6; }
42499 if test x${glibcxx_cv_func__logf_use+set} != xset; then
42500 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
42501 $as_echo_n "(cached) " >&6
42502 else
42505 ac_ext=cpp
42506 ac_cpp='$CXXCPP $CPPFLAGS'
42507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42512 /* end confdefs.h. */
42513 #include <math.h>
42514 #ifdef HAVE_IEEEFP_H
42515 #include <ieeefp.h>
42516 #endif
42519 main ()
42521 _logf(0);
42523 return 0;
42525 _ACEOF
42526 if ac_fn_cxx_try_compile "$LINENO"; then :
42527 glibcxx_cv_func__logf_use=yes
42528 else
42529 glibcxx_cv_func__logf_use=no
42531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42532 ac_ext=c
42533 ac_cpp='$CPP $CPPFLAGS'
42534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
42543 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
42545 if test x$glibcxx_cv_func__logf_use = x"yes"; then
42546 for ac_func in _logf
42547 do :
42548 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
42549 if test "x$ac_cv_func__logf" = x""yes; then :
42550 cat >>confdefs.h <<_ACEOF
42551 #define HAVE__LOGF 1
42552 _ACEOF
42555 done
42564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
42565 $as_echo_n "checking for log10f declaration... " >&6; }
42566 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
42567 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
42568 $as_echo_n "(cached) " >&6
42569 else
42572 ac_ext=cpp
42573 ac_cpp='$CXXCPP $CPPFLAGS'
42574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42579 /* end confdefs.h. */
42580 #include <math.h>
42581 #ifdef HAVE_IEEEFP_H
42582 #include <ieeefp.h>
42583 #endif
42586 main ()
42588 log10f(0);
42590 return 0;
42592 _ACEOF
42593 if ac_fn_cxx_try_compile "$LINENO"; then :
42594 glibcxx_cv_func_log10f_use=yes
42595 else
42596 glibcxx_cv_func_log10f_use=no
42598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42599 ac_ext=c
42600 ac_cpp='$CPP $CPPFLAGS'
42601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
42610 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
42612 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
42613 for ac_func in log10f
42614 do :
42615 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
42616 if test "x$ac_cv_func_log10f" = x""yes; then :
42617 cat >>confdefs.h <<_ACEOF
42618 #define HAVE_LOG10F 1
42619 _ACEOF
42622 done
42624 else
42626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
42627 $as_echo_n "checking for _log10f declaration... " >&6; }
42628 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
42629 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
42630 $as_echo_n "(cached) " >&6
42631 else
42634 ac_ext=cpp
42635 ac_cpp='$CXXCPP $CPPFLAGS'
42636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42641 /* end confdefs.h. */
42642 #include <math.h>
42643 #ifdef HAVE_IEEEFP_H
42644 #include <ieeefp.h>
42645 #endif
42648 main ()
42650 _log10f(0);
42652 return 0;
42654 _ACEOF
42655 if ac_fn_cxx_try_compile "$LINENO"; then :
42656 glibcxx_cv_func__log10f_use=yes
42657 else
42658 glibcxx_cv_func__log10f_use=no
42660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42661 ac_ext=c
42662 ac_cpp='$CPP $CPPFLAGS'
42663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
42672 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
42674 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
42675 for ac_func in _log10f
42676 do :
42677 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
42678 if test "x$ac_cv_func__log10f" = x""yes; then :
42679 cat >>confdefs.h <<_ACEOF
42680 #define HAVE__LOG10F 1
42681 _ACEOF
42684 done
42693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
42694 $as_echo_n "checking for modff declaration... " >&6; }
42695 if test x${glibcxx_cv_func_modff_use+set} != xset; then
42696 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
42697 $as_echo_n "(cached) " >&6
42698 else
42701 ac_ext=cpp
42702 ac_cpp='$CXXCPP $CPPFLAGS'
42703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42708 /* end confdefs.h. */
42709 #include <math.h>
42711 main ()
42713 modff(0, 0);
42715 return 0;
42717 _ACEOF
42718 if ac_fn_cxx_try_compile "$LINENO"; then :
42719 glibcxx_cv_func_modff_use=yes
42720 else
42721 glibcxx_cv_func_modff_use=no
42723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42724 ac_ext=c
42725 ac_cpp='$CPP $CPPFLAGS'
42726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
42735 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
42737 if test x$glibcxx_cv_func_modff_use = x"yes"; then
42738 for ac_func in modff
42739 do :
42740 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
42741 if test "x$ac_cv_func_modff" = x""yes; then :
42742 cat >>confdefs.h <<_ACEOF
42743 #define HAVE_MODFF 1
42744 _ACEOF
42747 done
42749 else
42751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
42752 $as_echo_n "checking for _modff declaration... " >&6; }
42753 if test x${glibcxx_cv_func__modff_use+set} != xset; then
42754 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
42755 $as_echo_n "(cached) " >&6
42756 else
42759 ac_ext=cpp
42760 ac_cpp='$CXXCPP $CPPFLAGS'
42761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42766 /* end confdefs.h. */
42767 #include <math.h>
42769 main ()
42771 _modff(0, 0);
42773 return 0;
42775 _ACEOF
42776 if ac_fn_cxx_try_compile "$LINENO"; then :
42777 glibcxx_cv_func__modff_use=yes
42778 else
42779 glibcxx_cv_func__modff_use=no
42781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42782 ac_ext=c
42783 ac_cpp='$CPP $CPPFLAGS'
42784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
42793 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
42795 if test x$glibcxx_cv_func__modff_use = x"yes"; then
42796 for ac_func in _modff
42797 do :
42798 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
42799 if test "x$ac_cv_func__modff" = x""yes; then :
42800 cat >>confdefs.h <<_ACEOF
42801 #define HAVE__MODFF 1
42802 _ACEOF
42805 done
42814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
42815 $as_echo_n "checking for modf declaration... " >&6; }
42816 if test x${glibcxx_cv_func_modf_use+set} != xset; then
42817 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
42818 $as_echo_n "(cached) " >&6
42819 else
42822 ac_ext=cpp
42823 ac_cpp='$CXXCPP $CPPFLAGS'
42824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42829 /* end confdefs.h. */
42830 #include <math.h>
42832 main ()
42834 modf(0, 0);
42836 return 0;
42838 _ACEOF
42839 if ac_fn_cxx_try_compile "$LINENO"; then :
42840 glibcxx_cv_func_modf_use=yes
42841 else
42842 glibcxx_cv_func_modf_use=no
42844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42845 ac_ext=c
42846 ac_cpp='$CPP $CPPFLAGS'
42847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
42856 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
42858 if test x$glibcxx_cv_func_modf_use = x"yes"; then
42859 for ac_func in modf
42860 do :
42861 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
42862 if test "x$ac_cv_func_modf" = x""yes; then :
42863 cat >>confdefs.h <<_ACEOF
42864 #define HAVE_MODF 1
42865 _ACEOF
42868 done
42870 else
42872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
42873 $as_echo_n "checking for _modf declaration... " >&6; }
42874 if test x${glibcxx_cv_func__modf_use+set} != xset; then
42875 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
42876 $as_echo_n "(cached) " >&6
42877 else
42880 ac_ext=cpp
42881 ac_cpp='$CXXCPP $CPPFLAGS'
42882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42887 /* end confdefs.h. */
42888 #include <math.h>
42890 main ()
42892 _modf(0, 0);
42894 return 0;
42896 _ACEOF
42897 if ac_fn_cxx_try_compile "$LINENO"; then :
42898 glibcxx_cv_func__modf_use=yes
42899 else
42900 glibcxx_cv_func__modf_use=no
42902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42903 ac_ext=c
42904 ac_cpp='$CPP $CPPFLAGS'
42905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
42914 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
42916 if test x$glibcxx_cv_func__modf_use = x"yes"; then
42917 for ac_func in _modf
42918 do :
42919 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
42920 if test "x$ac_cv_func__modf" = x""yes; then :
42921 cat >>confdefs.h <<_ACEOF
42922 #define HAVE__MODF 1
42923 _ACEOF
42926 done
42935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
42936 $as_echo_n "checking for powf declaration... " >&6; }
42937 if test x${glibcxx_cv_func_powf_use+set} != xset; then
42938 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
42939 $as_echo_n "(cached) " >&6
42940 else
42943 ac_ext=cpp
42944 ac_cpp='$CXXCPP $CPPFLAGS'
42945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42950 /* end confdefs.h. */
42951 #include <math.h>
42953 main ()
42955 powf(0, 0);
42957 return 0;
42959 _ACEOF
42960 if ac_fn_cxx_try_compile "$LINENO"; then :
42961 glibcxx_cv_func_powf_use=yes
42962 else
42963 glibcxx_cv_func_powf_use=no
42965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42966 ac_ext=c
42967 ac_cpp='$CPP $CPPFLAGS'
42968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
42977 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
42979 if test x$glibcxx_cv_func_powf_use = x"yes"; then
42980 for ac_func in powf
42981 do :
42982 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
42983 if test "x$ac_cv_func_powf" = x""yes; then :
42984 cat >>confdefs.h <<_ACEOF
42985 #define HAVE_POWF 1
42986 _ACEOF
42989 done
42991 else
42993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
42994 $as_echo_n "checking for _powf declaration... " >&6; }
42995 if test x${glibcxx_cv_func__powf_use+set} != xset; then
42996 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
42997 $as_echo_n "(cached) " >&6
42998 else
43001 ac_ext=cpp
43002 ac_cpp='$CXXCPP $CPPFLAGS'
43003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43008 /* end confdefs.h. */
43009 #include <math.h>
43011 main ()
43013 _powf(0, 0);
43015 return 0;
43017 _ACEOF
43018 if ac_fn_cxx_try_compile "$LINENO"; then :
43019 glibcxx_cv_func__powf_use=yes
43020 else
43021 glibcxx_cv_func__powf_use=no
43023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43024 ac_ext=c
43025 ac_cpp='$CPP $CPPFLAGS'
43026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
43035 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
43037 if test x$glibcxx_cv_func__powf_use = x"yes"; then
43038 for ac_func in _powf
43039 do :
43040 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
43041 if test "x$ac_cv_func__powf" = x""yes; then :
43042 cat >>confdefs.h <<_ACEOF
43043 #define HAVE__POWF 1
43044 _ACEOF
43047 done
43056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
43057 $as_echo_n "checking for sqrtf declaration... " >&6; }
43058 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
43059 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
43060 $as_echo_n "(cached) " >&6
43061 else
43064 ac_ext=cpp
43065 ac_cpp='$CXXCPP $CPPFLAGS'
43066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43071 /* end confdefs.h. */
43072 #include <math.h>
43073 #ifdef HAVE_IEEEFP_H
43074 #include <ieeefp.h>
43075 #endif
43078 main ()
43080 sqrtf(0);
43082 return 0;
43084 _ACEOF
43085 if ac_fn_cxx_try_compile "$LINENO"; then :
43086 glibcxx_cv_func_sqrtf_use=yes
43087 else
43088 glibcxx_cv_func_sqrtf_use=no
43090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43091 ac_ext=c
43092 ac_cpp='$CPP $CPPFLAGS'
43093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
43102 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
43104 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
43105 for ac_func in sqrtf
43106 do :
43107 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
43108 if test "x$ac_cv_func_sqrtf" = x""yes; then :
43109 cat >>confdefs.h <<_ACEOF
43110 #define HAVE_SQRTF 1
43111 _ACEOF
43114 done
43116 else
43118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
43119 $as_echo_n "checking for _sqrtf declaration... " >&6; }
43120 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
43121 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
43122 $as_echo_n "(cached) " >&6
43123 else
43126 ac_ext=cpp
43127 ac_cpp='$CXXCPP $CPPFLAGS'
43128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43133 /* end confdefs.h. */
43134 #include <math.h>
43135 #ifdef HAVE_IEEEFP_H
43136 #include <ieeefp.h>
43137 #endif
43140 main ()
43142 _sqrtf(0);
43144 return 0;
43146 _ACEOF
43147 if ac_fn_cxx_try_compile "$LINENO"; then :
43148 glibcxx_cv_func__sqrtf_use=yes
43149 else
43150 glibcxx_cv_func__sqrtf_use=no
43152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43153 ac_ext=c
43154 ac_cpp='$CPP $CPPFLAGS'
43155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
43164 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
43166 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
43167 for ac_func in _sqrtf
43168 do :
43169 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
43170 if test "x$ac_cv_func__sqrtf" = x""yes; then :
43171 cat >>confdefs.h <<_ACEOF
43172 #define HAVE__SQRTF 1
43173 _ACEOF
43176 done
43185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
43186 $as_echo_n "checking for sincosf declaration... " >&6; }
43187 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
43188 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
43189 $as_echo_n "(cached) " >&6
43190 else
43193 ac_ext=cpp
43194 ac_cpp='$CXXCPP $CPPFLAGS'
43195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43200 /* end confdefs.h. */
43201 #include <math.h>
43203 main ()
43205 sincosf(0, 0, 0);
43207 return 0;
43209 _ACEOF
43210 if ac_fn_cxx_try_compile "$LINENO"; then :
43211 glibcxx_cv_func_sincosf_use=yes
43212 else
43213 glibcxx_cv_func_sincosf_use=no
43215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43216 ac_ext=c
43217 ac_cpp='$CPP $CPPFLAGS'
43218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
43227 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
43229 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
43230 for ac_func in sincosf
43231 do :
43232 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
43233 if test "x$ac_cv_func_sincosf" = x""yes; then :
43234 cat >>confdefs.h <<_ACEOF
43235 #define HAVE_SINCOSF 1
43236 _ACEOF
43239 done
43241 else
43243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
43244 $as_echo_n "checking for _sincosf declaration... " >&6; }
43245 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
43246 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
43247 $as_echo_n "(cached) " >&6
43248 else
43251 ac_ext=cpp
43252 ac_cpp='$CXXCPP $CPPFLAGS'
43253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43258 /* end confdefs.h. */
43259 #include <math.h>
43261 main ()
43263 _sincosf(0, 0, 0);
43265 return 0;
43267 _ACEOF
43268 if ac_fn_cxx_try_compile "$LINENO"; then :
43269 glibcxx_cv_func__sincosf_use=yes
43270 else
43271 glibcxx_cv_func__sincosf_use=no
43273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43274 ac_ext=c
43275 ac_cpp='$CPP $CPPFLAGS'
43276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
43285 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
43287 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
43288 for ac_func in _sincosf
43289 do :
43290 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
43291 if test "x$ac_cv_func__sincosf" = x""yes; then :
43292 cat >>confdefs.h <<_ACEOF
43293 #define HAVE__SINCOSF 1
43294 _ACEOF
43297 done
43306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
43307 $as_echo_n "checking for finitef declaration... " >&6; }
43308 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
43309 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
43310 $as_echo_n "(cached) " >&6
43311 else
43314 ac_ext=cpp
43315 ac_cpp='$CXXCPP $CPPFLAGS'
43316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43321 /* end confdefs.h. */
43322 #include <math.h>
43323 #ifdef HAVE_IEEEFP_H
43324 #include <ieeefp.h>
43325 #endif
43328 main ()
43330 finitef(0);
43332 return 0;
43334 _ACEOF
43335 if ac_fn_cxx_try_compile "$LINENO"; then :
43336 glibcxx_cv_func_finitef_use=yes
43337 else
43338 glibcxx_cv_func_finitef_use=no
43340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43341 ac_ext=c
43342 ac_cpp='$CPP $CPPFLAGS'
43343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
43352 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
43354 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
43355 for ac_func in finitef
43356 do :
43357 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
43358 if test "x$ac_cv_func_finitef" = x""yes; then :
43359 cat >>confdefs.h <<_ACEOF
43360 #define HAVE_FINITEF 1
43361 _ACEOF
43364 done
43366 else
43368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
43369 $as_echo_n "checking for _finitef declaration... " >&6; }
43370 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
43371 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
43372 $as_echo_n "(cached) " >&6
43373 else
43376 ac_ext=cpp
43377 ac_cpp='$CXXCPP $CPPFLAGS'
43378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43383 /* end confdefs.h. */
43384 #include <math.h>
43385 #ifdef HAVE_IEEEFP_H
43386 #include <ieeefp.h>
43387 #endif
43390 main ()
43392 _finitef(0);
43394 return 0;
43396 _ACEOF
43397 if ac_fn_cxx_try_compile "$LINENO"; then :
43398 glibcxx_cv_func__finitef_use=yes
43399 else
43400 glibcxx_cv_func__finitef_use=no
43402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43403 ac_ext=c
43404 ac_cpp='$CPP $CPPFLAGS'
43405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
43414 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
43416 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
43417 for ac_func in _finitef
43418 do :
43419 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
43420 if test "x$ac_cv_func__finitef" = x""yes; then :
43421 cat >>confdefs.h <<_ACEOF
43422 #define HAVE__FINITEF 1
43423 _ACEOF
43426 done
43435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
43436 $as_echo_n "checking for long double trig functions... " >&6; }
43437 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
43438 $as_echo_n "(cached) " >&6
43439 else
43442 ac_ext=cpp
43443 ac_cpp='$CXXCPP $CPPFLAGS'
43444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43449 /* end confdefs.h. */
43450 #include <math.h>
43452 main ()
43454 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
43456 return 0;
43458 _ACEOF
43459 if ac_fn_cxx_try_compile "$LINENO"; then :
43460 glibcxx_cv_func_long_double_trig_use=yes
43461 else
43462 glibcxx_cv_func_long_double_trig_use=no
43464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43465 ac_ext=c
43466 ac_cpp='$CPP $CPPFLAGS'
43467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
43474 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
43475 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
43476 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
43477 do :
43478 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43479 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43480 eval as_val=\$$as_ac_var
43481 if test "x$as_val" = x""yes; then :
43482 cat >>confdefs.h <<_ACEOF
43483 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43484 _ACEOF
43487 done
43489 else
43490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
43491 $as_echo_n "checking for _long double trig functions... " >&6; }
43492 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
43493 $as_echo_n "(cached) " >&6
43494 else
43497 ac_ext=cpp
43498 ac_cpp='$CXXCPP $CPPFLAGS'
43499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43504 /* end confdefs.h. */
43505 #include <math.h>
43507 main ()
43509 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
43511 return 0;
43513 _ACEOF
43514 if ac_fn_cxx_try_compile "$LINENO"; then :
43515 glibcxx_cv_func__long_double_trig_use=yes
43516 else
43517 glibcxx_cv_func__long_double_trig_use=no
43519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43520 ac_ext=c
43521 ac_cpp='$CPP $CPPFLAGS'
43522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
43529 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
43530 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
43531 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
43532 do :
43533 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43534 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43535 eval as_val=\$$as_ac_var
43536 if test "x$as_val" = x""yes; then :
43537 cat >>confdefs.h <<_ACEOF
43538 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43539 _ACEOF
43542 done
43551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
43552 $as_echo_n "checking for long double round functions... " >&6; }
43553 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
43554 $as_echo_n "(cached) " >&6
43555 else
43558 ac_ext=cpp
43559 ac_cpp='$CXXCPP $CPPFLAGS'
43560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43565 /* end confdefs.h. */
43566 #include <math.h>
43568 main ()
43570 ceill (0); floorl (0);
43572 return 0;
43574 _ACEOF
43575 if ac_fn_cxx_try_compile "$LINENO"; then :
43576 glibcxx_cv_func_long_double_round_use=yes
43577 else
43578 glibcxx_cv_func_long_double_round_use=no
43580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43581 ac_ext=c
43582 ac_cpp='$CPP $CPPFLAGS'
43583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
43590 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
43591 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
43592 for ac_func in ceill floorl
43593 do :
43594 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43595 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43596 eval as_val=\$$as_ac_var
43597 if test "x$as_val" = x""yes; then :
43598 cat >>confdefs.h <<_ACEOF
43599 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43600 _ACEOF
43603 done
43605 else
43606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
43607 $as_echo_n "checking for _long double round functions... " >&6; }
43608 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
43609 $as_echo_n "(cached) " >&6
43610 else
43613 ac_ext=cpp
43614 ac_cpp='$CXXCPP $CPPFLAGS'
43615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43620 /* end confdefs.h. */
43621 #include <math.h>
43623 main ()
43625 _ceill (0); _floorl (0);
43627 return 0;
43629 _ACEOF
43630 if ac_fn_cxx_try_compile "$LINENO"; then :
43631 glibcxx_cv_func__long_double_round_use=yes
43632 else
43633 glibcxx_cv_func__long_double_round_use=no
43635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43636 ac_ext=c
43637 ac_cpp='$CPP $CPPFLAGS'
43638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
43645 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
43646 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
43647 for ac_func in _ceill _floorl
43648 do :
43649 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43650 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43651 eval as_val=\$$as_ac_var
43652 if test "x$as_val" = x""yes; then :
43653 cat >>confdefs.h <<_ACEOF
43654 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43655 _ACEOF
43658 done
43668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
43669 $as_echo_n "checking for isnanl declaration... " >&6; }
43670 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
43671 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
43672 $as_echo_n "(cached) " >&6
43673 else
43676 ac_ext=cpp
43677 ac_cpp='$CXXCPP $CPPFLAGS'
43678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43683 /* end confdefs.h. */
43684 #include <math.h>
43685 #ifdef HAVE_IEEEFP_H
43686 #include <ieeefp.h>
43687 #endif
43690 main ()
43692 isnanl(0);
43694 return 0;
43696 _ACEOF
43697 if ac_fn_cxx_try_compile "$LINENO"; then :
43698 glibcxx_cv_func_isnanl_use=yes
43699 else
43700 glibcxx_cv_func_isnanl_use=no
43702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43703 ac_ext=c
43704 ac_cpp='$CPP $CPPFLAGS'
43705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
43714 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
43716 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
43717 for ac_func in isnanl
43718 do :
43719 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
43720 if test "x$ac_cv_func_isnanl" = x""yes; then :
43721 cat >>confdefs.h <<_ACEOF
43722 #define HAVE_ISNANL 1
43723 _ACEOF
43726 done
43728 else
43730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
43731 $as_echo_n "checking for _isnanl declaration... " >&6; }
43732 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
43733 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
43734 $as_echo_n "(cached) " >&6
43735 else
43738 ac_ext=cpp
43739 ac_cpp='$CXXCPP $CPPFLAGS'
43740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43745 /* end confdefs.h. */
43746 #include <math.h>
43747 #ifdef HAVE_IEEEFP_H
43748 #include <ieeefp.h>
43749 #endif
43752 main ()
43754 _isnanl(0);
43756 return 0;
43758 _ACEOF
43759 if ac_fn_cxx_try_compile "$LINENO"; then :
43760 glibcxx_cv_func__isnanl_use=yes
43761 else
43762 glibcxx_cv_func__isnanl_use=no
43764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43765 ac_ext=c
43766 ac_cpp='$CPP $CPPFLAGS'
43767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
43776 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
43778 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
43779 for ac_func in _isnanl
43780 do :
43781 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
43782 if test "x$ac_cv_func__isnanl" = x""yes; then :
43783 cat >>confdefs.h <<_ACEOF
43784 #define HAVE__ISNANL 1
43785 _ACEOF
43788 done
43797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
43798 $as_echo_n "checking for isinfl declaration... " >&6; }
43799 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
43800 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
43801 $as_echo_n "(cached) " >&6
43802 else
43805 ac_ext=cpp
43806 ac_cpp='$CXXCPP $CPPFLAGS'
43807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43812 /* end confdefs.h. */
43813 #include <math.h>
43814 #ifdef HAVE_IEEEFP_H
43815 #include <ieeefp.h>
43816 #endif
43819 main ()
43821 isinfl(0);
43823 return 0;
43825 _ACEOF
43826 if ac_fn_cxx_try_compile "$LINENO"; then :
43827 glibcxx_cv_func_isinfl_use=yes
43828 else
43829 glibcxx_cv_func_isinfl_use=no
43831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43832 ac_ext=c
43833 ac_cpp='$CPP $CPPFLAGS'
43834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
43843 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
43845 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
43846 for ac_func in isinfl
43847 do :
43848 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
43849 if test "x$ac_cv_func_isinfl" = x""yes; then :
43850 cat >>confdefs.h <<_ACEOF
43851 #define HAVE_ISINFL 1
43852 _ACEOF
43855 done
43857 else
43859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
43860 $as_echo_n "checking for _isinfl declaration... " >&6; }
43861 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
43862 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
43863 $as_echo_n "(cached) " >&6
43864 else
43867 ac_ext=cpp
43868 ac_cpp='$CXXCPP $CPPFLAGS'
43869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43874 /* end confdefs.h. */
43875 #include <math.h>
43876 #ifdef HAVE_IEEEFP_H
43877 #include <ieeefp.h>
43878 #endif
43881 main ()
43883 _isinfl(0);
43885 return 0;
43887 _ACEOF
43888 if ac_fn_cxx_try_compile "$LINENO"; then :
43889 glibcxx_cv_func__isinfl_use=yes
43890 else
43891 glibcxx_cv_func__isinfl_use=no
43893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43894 ac_ext=c
43895 ac_cpp='$CPP $CPPFLAGS'
43896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
43905 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
43907 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
43908 for ac_func in _isinfl
43909 do :
43910 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
43911 if test "x$ac_cv_func__isinfl" = x""yes; then :
43912 cat >>confdefs.h <<_ACEOF
43913 #define HAVE__ISINFL 1
43914 _ACEOF
43917 done
43926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
43927 $as_echo_n "checking for atan2l declaration... " >&6; }
43928 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
43929 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
43930 $as_echo_n "(cached) " >&6
43931 else
43934 ac_ext=cpp
43935 ac_cpp='$CXXCPP $CPPFLAGS'
43936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43941 /* end confdefs.h. */
43942 #include <math.h>
43944 main ()
43946 atan2l(0, 0);
43948 return 0;
43950 _ACEOF
43951 if ac_fn_cxx_try_compile "$LINENO"; then :
43952 glibcxx_cv_func_atan2l_use=yes
43953 else
43954 glibcxx_cv_func_atan2l_use=no
43956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43957 ac_ext=c
43958 ac_cpp='$CPP $CPPFLAGS'
43959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
43968 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
43970 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
43971 for ac_func in atan2l
43972 do :
43973 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
43974 if test "x$ac_cv_func_atan2l" = x""yes; then :
43975 cat >>confdefs.h <<_ACEOF
43976 #define HAVE_ATAN2L 1
43977 _ACEOF
43980 done
43982 else
43984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
43985 $as_echo_n "checking for _atan2l declaration... " >&6; }
43986 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
43987 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
43988 $as_echo_n "(cached) " >&6
43989 else
43992 ac_ext=cpp
43993 ac_cpp='$CXXCPP $CPPFLAGS'
43994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43999 /* end confdefs.h. */
44000 #include <math.h>
44002 main ()
44004 _atan2l(0, 0);
44006 return 0;
44008 _ACEOF
44009 if ac_fn_cxx_try_compile "$LINENO"; then :
44010 glibcxx_cv_func__atan2l_use=yes
44011 else
44012 glibcxx_cv_func__atan2l_use=no
44014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44015 ac_ext=c
44016 ac_cpp='$CPP $CPPFLAGS'
44017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
44026 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
44028 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
44029 for ac_func in _atan2l
44030 do :
44031 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
44032 if test "x$ac_cv_func__atan2l" = x""yes; then :
44033 cat >>confdefs.h <<_ACEOF
44034 #define HAVE__ATAN2L 1
44035 _ACEOF
44038 done
44047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
44048 $as_echo_n "checking for expl declaration... " >&6; }
44049 if test x${glibcxx_cv_func_expl_use+set} != xset; then
44050 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
44051 $as_echo_n "(cached) " >&6
44052 else
44055 ac_ext=cpp
44056 ac_cpp='$CXXCPP $CPPFLAGS'
44057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44062 /* end confdefs.h. */
44063 #include <math.h>
44064 #ifdef HAVE_IEEEFP_H
44065 #include <ieeefp.h>
44066 #endif
44069 main ()
44071 expl(0);
44073 return 0;
44075 _ACEOF
44076 if ac_fn_cxx_try_compile "$LINENO"; then :
44077 glibcxx_cv_func_expl_use=yes
44078 else
44079 glibcxx_cv_func_expl_use=no
44081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44082 ac_ext=c
44083 ac_cpp='$CPP $CPPFLAGS'
44084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
44093 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
44095 if test x$glibcxx_cv_func_expl_use = x"yes"; then
44096 for ac_func in expl
44097 do :
44098 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
44099 if test "x$ac_cv_func_expl" = x""yes; then :
44100 cat >>confdefs.h <<_ACEOF
44101 #define HAVE_EXPL 1
44102 _ACEOF
44105 done
44107 else
44109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
44110 $as_echo_n "checking for _expl declaration... " >&6; }
44111 if test x${glibcxx_cv_func__expl_use+set} != xset; then
44112 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
44113 $as_echo_n "(cached) " >&6
44114 else
44117 ac_ext=cpp
44118 ac_cpp='$CXXCPP $CPPFLAGS'
44119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44124 /* end confdefs.h. */
44125 #include <math.h>
44126 #ifdef HAVE_IEEEFP_H
44127 #include <ieeefp.h>
44128 #endif
44131 main ()
44133 _expl(0);
44135 return 0;
44137 _ACEOF
44138 if ac_fn_cxx_try_compile "$LINENO"; then :
44139 glibcxx_cv_func__expl_use=yes
44140 else
44141 glibcxx_cv_func__expl_use=no
44143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44144 ac_ext=c
44145 ac_cpp='$CPP $CPPFLAGS'
44146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
44155 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
44157 if test x$glibcxx_cv_func__expl_use = x"yes"; then
44158 for ac_func in _expl
44159 do :
44160 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
44161 if test "x$ac_cv_func__expl" = x""yes; then :
44162 cat >>confdefs.h <<_ACEOF
44163 #define HAVE__EXPL 1
44164 _ACEOF
44167 done
44176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
44177 $as_echo_n "checking for fabsl declaration... " >&6; }
44178 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
44179 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
44180 $as_echo_n "(cached) " >&6
44181 else
44184 ac_ext=cpp
44185 ac_cpp='$CXXCPP $CPPFLAGS'
44186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44191 /* end confdefs.h. */
44192 #include <math.h>
44193 #ifdef HAVE_IEEEFP_H
44194 #include <ieeefp.h>
44195 #endif
44198 main ()
44200 fabsl(0);
44202 return 0;
44204 _ACEOF
44205 if ac_fn_cxx_try_compile "$LINENO"; then :
44206 glibcxx_cv_func_fabsl_use=yes
44207 else
44208 glibcxx_cv_func_fabsl_use=no
44210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44211 ac_ext=c
44212 ac_cpp='$CPP $CPPFLAGS'
44213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
44222 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
44224 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
44225 for ac_func in fabsl
44226 do :
44227 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
44228 if test "x$ac_cv_func_fabsl" = x""yes; then :
44229 cat >>confdefs.h <<_ACEOF
44230 #define HAVE_FABSL 1
44231 _ACEOF
44234 done
44236 else
44238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
44239 $as_echo_n "checking for _fabsl declaration... " >&6; }
44240 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
44241 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
44242 $as_echo_n "(cached) " >&6
44243 else
44246 ac_ext=cpp
44247 ac_cpp='$CXXCPP $CPPFLAGS'
44248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44253 /* end confdefs.h. */
44254 #include <math.h>
44255 #ifdef HAVE_IEEEFP_H
44256 #include <ieeefp.h>
44257 #endif
44260 main ()
44262 _fabsl(0);
44264 return 0;
44266 _ACEOF
44267 if ac_fn_cxx_try_compile "$LINENO"; then :
44268 glibcxx_cv_func__fabsl_use=yes
44269 else
44270 glibcxx_cv_func__fabsl_use=no
44272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44273 ac_ext=c
44274 ac_cpp='$CPP $CPPFLAGS'
44275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
44284 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
44286 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
44287 for ac_func in _fabsl
44288 do :
44289 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
44290 if test "x$ac_cv_func__fabsl" = x""yes; then :
44291 cat >>confdefs.h <<_ACEOF
44292 #define HAVE__FABSL 1
44293 _ACEOF
44296 done
44305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
44306 $as_echo_n "checking for fmodl declaration... " >&6; }
44307 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
44308 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
44309 $as_echo_n "(cached) " >&6
44310 else
44313 ac_ext=cpp
44314 ac_cpp='$CXXCPP $CPPFLAGS'
44315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44320 /* end confdefs.h. */
44321 #include <math.h>
44323 main ()
44325 fmodl(0, 0);
44327 return 0;
44329 _ACEOF
44330 if ac_fn_cxx_try_compile "$LINENO"; then :
44331 glibcxx_cv_func_fmodl_use=yes
44332 else
44333 glibcxx_cv_func_fmodl_use=no
44335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44336 ac_ext=c
44337 ac_cpp='$CPP $CPPFLAGS'
44338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
44347 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
44349 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
44350 for ac_func in fmodl
44351 do :
44352 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
44353 if test "x$ac_cv_func_fmodl" = x""yes; then :
44354 cat >>confdefs.h <<_ACEOF
44355 #define HAVE_FMODL 1
44356 _ACEOF
44359 done
44361 else
44363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
44364 $as_echo_n "checking for _fmodl declaration... " >&6; }
44365 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
44366 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
44367 $as_echo_n "(cached) " >&6
44368 else
44371 ac_ext=cpp
44372 ac_cpp='$CXXCPP $CPPFLAGS'
44373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44378 /* end confdefs.h. */
44379 #include <math.h>
44381 main ()
44383 _fmodl(0, 0);
44385 return 0;
44387 _ACEOF
44388 if ac_fn_cxx_try_compile "$LINENO"; then :
44389 glibcxx_cv_func__fmodl_use=yes
44390 else
44391 glibcxx_cv_func__fmodl_use=no
44393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44394 ac_ext=c
44395 ac_cpp='$CPP $CPPFLAGS'
44396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
44405 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
44407 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
44408 for ac_func in _fmodl
44409 do :
44410 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
44411 if test "x$ac_cv_func__fmodl" = x""yes; then :
44412 cat >>confdefs.h <<_ACEOF
44413 #define HAVE__FMODL 1
44414 _ACEOF
44417 done
44426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
44427 $as_echo_n "checking for frexpl declaration... " >&6; }
44428 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
44429 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
44430 $as_echo_n "(cached) " >&6
44431 else
44434 ac_ext=cpp
44435 ac_cpp='$CXXCPP $CPPFLAGS'
44436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44441 /* end confdefs.h. */
44442 #include <math.h>
44444 main ()
44446 frexpl(0, 0);
44448 return 0;
44450 _ACEOF
44451 if ac_fn_cxx_try_compile "$LINENO"; then :
44452 glibcxx_cv_func_frexpl_use=yes
44453 else
44454 glibcxx_cv_func_frexpl_use=no
44456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44457 ac_ext=c
44458 ac_cpp='$CPP $CPPFLAGS'
44459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
44468 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
44470 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
44471 for ac_func in frexpl
44472 do :
44473 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
44474 if test "x$ac_cv_func_frexpl" = x""yes; then :
44475 cat >>confdefs.h <<_ACEOF
44476 #define HAVE_FREXPL 1
44477 _ACEOF
44480 done
44482 else
44484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
44485 $as_echo_n "checking for _frexpl declaration... " >&6; }
44486 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
44487 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
44488 $as_echo_n "(cached) " >&6
44489 else
44492 ac_ext=cpp
44493 ac_cpp='$CXXCPP $CPPFLAGS'
44494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44499 /* end confdefs.h. */
44500 #include <math.h>
44502 main ()
44504 _frexpl(0, 0);
44506 return 0;
44508 _ACEOF
44509 if ac_fn_cxx_try_compile "$LINENO"; then :
44510 glibcxx_cv_func__frexpl_use=yes
44511 else
44512 glibcxx_cv_func__frexpl_use=no
44514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44515 ac_ext=c
44516 ac_cpp='$CPP $CPPFLAGS'
44517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
44526 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
44528 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
44529 for ac_func in _frexpl
44530 do :
44531 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
44532 if test "x$ac_cv_func__frexpl" = x""yes; then :
44533 cat >>confdefs.h <<_ACEOF
44534 #define HAVE__FREXPL 1
44535 _ACEOF
44538 done
44547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
44548 $as_echo_n "checking for hypotl declaration... " >&6; }
44549 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
44550 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
44551 $as_echo_n "(cached) " >&6
44552 else
44555 ac_ext=cpp
44556 ac_cpp='$CXXCPP $CPPFLAGS'
44557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44562 /* end confdefs.h. */
44563 #include <math.h>
44565 main ()
44567 hypotl(0, 0);
44569 return 0;
44571 _ACEOF
44572 if ac_fn_cxx_try_compile "$LINENO"; then :
44573 glibcxx_cv_func_hypotl_use=yes
44574 else
44575 glibcxx_cv_func_hypotl_use=no
44577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44578 ac_ext=c
44579 ac_cpp='$CPP $CPPFLAGS'
44580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
44589 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
44591 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
44592 for ac_func in hypotl
44593 do :
44594 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
44595 if test "x$ac_cv_func_hypotl" = x""yes; then :
44596 cat >>confdefs.h <<_ACEOF
44597 #define HAVE_HYPOTL 1
44598 _ACEOF
44601 done
44603 else
44605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
44606 $as_echo_n "checking for _hypotl declaration... " >&6; }
44607 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
44608 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
44609 $as_echo_n "(cached) " >&6
44610 else
44613 ac_ext=cpp
44614 ac_cpp='$CXXCPP $CPPFLAGS'
44615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44620 /* end confdefs.h. */
44621 #include <math.h>
44623 main ()
44625 _hypotl(0, 0);
44627 return 0;
44629 _ACEOF
44630 if ac_fn_cxx_try_compile "$LINENO"; then :
44631 glibcxx_cv_func__hypotl_use=yes
44632 else
44633 glibcxx_cv_func__hypotl_use=no
44635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44636 ac_ext=c
44637 ac_cpp='$CPP $CPPFLAGS'
44638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
44647 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
44649 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
44650 for ac_func in _hypotl
44651 do :
44652 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
44653 if test "x$ac_cv_func__hypotl" = x""yes; then :
44654 cat >>confdefs.h <<_ACEOF
44655 #define HAVE__HYPOTL 1
44656 _ACEOF
44659 done
44668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
44669 $as_echo_n "checking for ldexpl declaration... " >&6; }
44670 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
44671 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
44672 $as_echo_n "(cached) " >&6
44673 else
44676 ac_ext=cpp
44677 ac_cpp='$CXXCPP $CPPFLAGS'
44678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44683 /* end confdefs.h. */
44684 #include <math.h>
44686 main ()
44688 ldexpl(0, 0);
44690 return 0;
44692 _ACEOF
44693 if ac_fn_cxx_try_compile "$LINENO"; then :
44694 glibcxx_cv_func_ldexpl_use=yes
44695 else
44696 glibcxx_cv_func_ldexpl_use=no
44698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44699 ac_ext=c
44700 ac_cpp='$CPP $CPPFLAGS'
44701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
44710 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
44712 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
44713 for ac_func in ldexpl
44714 do :
44715 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
44716 if test "x$ac_cv_func_ldexpl" = x""yes; then :
44717 cat >>confdefs.h <<_ACEOF
44718 #define HAVE_LDEXPL 1
44719 _ACEOF
44722 done
44724 else
44726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
44727 $as_echo_n "checking for _ldexpl declaration... " >&6; }
44728 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
44729 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
44730 $as_echo_n "(cached) " >&6
44731 else
44734 ac_ext=cpp
44735 ac_cpp='$CXXCPP $CPPFLAGS'
44736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44741 /* end confdefs.h. */
44742 #include <math.h>
44744 main ()
44746 _ldexpl(0, 0);
44748 return 0;
44750 _ACEOF
44751 if ac_fn_cxx_try_compile "$LINENO"; then :
44752 glibcxx_cv_func__ldexpl_use=yes
44753 else
44754 glibcxx_cv_func__ldexpl_use=no
44756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44757 ac_ext=c
44758 ac_cpp='$CPP $CPPFLAGS'
44759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
44768 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
44770 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
44771 for ac_func in _ldexpl
44772 do :
44773 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
44774 if test "x$ac_cv_func__ldexpl" = x""yes; then :
44775 cat >>confdefs.h <<_ACEOF
44776 #define HAVE__LDEXPL 1
44777 _ACEOF
44780 done
44789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
44790 $as_echo_n "checking for logl declaration... " >&6; }
44791 if test x${glibcxx_cv_func_logl_use+set} != xset; then
44792 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
44793 $as_echo_n "(cached) " >&6
44794 else
44797 ac_ext=cpp
44798 ac_cpp='$CXXCPP $CPPFLAGS'
44799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44804 /* end confdefs.h. */
44805 #include <math.h>
44806 #ifdef HAVE_IEEEFP_H
44807 #include <ieeefp.h>
44808 #endif
44811 main ()
44813 logl(0);
44815 return 0;
44817 _ACEOF
44818 if ac_fn_cxx_try_compile "$LINENO"; then :
44819 glibcxx_cv_func_logl_use=yes
44820 else
44821 glibcxx_cv_func_logl_use=no
44823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44824 ac_ext=c
44825 ac_cpp='$CPP $CPPFLAGS'
44826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
44835 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
44837 if test x$glibcxx_cv_func_logl_use = x"yes"; then
44838 for ac_func in logl
44839 do :
44840 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
44841 if test "x$ac_cv_func_logl" = x""yes; then :
44842 cat >>confdefs.h <<_ACEOF
44843 #define HAVE_LOGL 1
44844 _ACEOF
44847 done
44849 else
44851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
44852 $as_echo_n "checking for _logl declaration... " >&6; }
44853 if test x${glibcxx_cv_func__logl_use+set} != xset; then
44854 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
44855 $as_echo_n "(cached) " >&6
44856 else
44859 ac_ext=cpp
44860 ac_cpp='$CXXCPP $CPPFLAGS'
44861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44866 /* end confdefs.h. */
44867 #include <math.h>
44868 #ifdef HAVE_IEEEFP_H
44869 #include <ieeefp.h>
44870 #endif
44873 main ()
44875 _logl(0);
44877 return 0;
44879 _ACEOF
44880 if ac_fn_cxx_try_compile "$LINENO"; then :
44881 glibcxx_cv_func__logl_use=yes
44882 else
44883 glibcxx_cv_func__logl_use=no
44885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44886 ac_ext=c
44887 ac_cpp='$CPP $CPPFLAGS'
44888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
44897 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
44899 if test x$glibcxx_cv_func__logl_use = x"yes"; then
44900 for ac_func in _logl
44901 do :
44902 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
44903 if test "x$ac_cv_func__logl" = x""yes; then :
44904 cat >>confdefs.h <<_ACEOF
44905 #define HAVE__LOGL 1
44906 _ACEOF
44909 done
44918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
44919 $as_echo_n "checking for log10l declaration... " >&6; }
44920 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
44921 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
44922 $as_echo_n "(cached) " >&6
44923 else
44926 ac_ext=cpp
44927 ac_cpp='$CXXCPP $CPPFLAGS'
44928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44933 /* end confdefs.h. */
44934 #include <math.h>
44935 #ifdef HAVE_IEEEFP_H
44936 #include <ieeefp.h>
44937 #endif
44940 main ()
44942 log10l(0);
44944 return 0;
44946 _ACEOF
44947 if ac_fn_cxx_try_compile "$LINENO"; then :
44948 glibcxx_cv_func_log10l_use=yes
44949 else
44950 glibcxx_cv_func_log10l_use=no
44952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44953 ac_ext=c
44954 ac_cpp='$CPP $CPPFLAGS'
44955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
44964 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
44966 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
44967 for ac_func in log10l
44968 do :
44969 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
44970 if test "x$ac_cv_func_log10l" = x""yes; then :
44971 cat >>confdefs.h <<_ACEOF
44972 #define HAVE_LOG10L 1
44973 _ACEOF
44976 done
44978 else
44980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
44981 $as_echo_n "checking for _log10l declaration... " >&6; }
44982 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
44983 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
44984 $as_echo_n "(cached) " >&6
44985 else
44988 ac_ext=cpp
44989 ac_cpp='$CXXCPP $CPPFLAGS'
44990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44995 /* end confdefs.h. */
44996 #include <math.h>
44997 #ifdef HAVE_IEEEFP_H
44998 #include <ieeefp.h>
44999 #endif
45002 main ()
45004 _log10l(0);
45006 return 0;
45008 _ACEOF
45009 if ac_fn_cxx_try_compile "$LINENO"; then :
45010 glibcxx_cv_func__log10l_use=yes
45011 else
45012 glibcxx_cv_func__log10l_use=no
45014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45015 ac_ext=c
45016 ac_cpp='$CPP $CPPFLAGS'
45017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
45026 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
45028 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
45029 for ac_func in _log10l
45030 do :
45031 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
45032 if test "x$ac_cv_func__log10l" = x""yes; then :
45033 cat >>confdefs.h <<_ACEOF
45034 #define HAVE__LOG10L 1
45035 _ACEOF
45038 done
45047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
45048 $as_echo_n "checking for modfl declaration... " >&6; }
45049 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
45050 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
45051 $as_echo_n "(cached) " >&6
45052 else
45055 ac_ext=cpp
45056 ac_cpp='$CXXCPP $CPPFLAGS'
45057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45062 /* end confdefs.h. */
45063 #include <math.h>
45065 main ()
45067 modfl(0, 0);
45069 return 0;
45071 _ACEOF
45072 if ac_fn_cxx_try_compile "$LINENO"; then :
45073 glibcxx_cv_func_modfl_use=yes
45074 else
45075 glibcxx_cv_func_modfl_use=no
45077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45078 ac_ext=c
45079 ac_cpp='$CPP $CPPFLAGS'
45080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
45089 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
45091 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
45092 for ac_func in modfl
45093 do :
45094 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
45095 if test "x$ac_cv_func_modfl" = x""yes; then :
45096 cat >>confdefs.h <<_ACEOF
45097 #define HAVE_MODFL 1
45098 _ACEOF
45101 done
45103 else
45105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
45106 $as_echo_n "checking for _modfl declaration... " >&6; }
45107 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
45108 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
45109 $as_echo_n "(cached) " >&6
45110 else
45113 ac_ext=cpp
45114 ac_cpp='$CXXCPP $CPPFLAGS'
45115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45120 /* end confdefs.h. */
45121 #include <math.h>
45123 main ()
45125 _modfl(0, 0);
45127 return 0;
45129 _ACEOF
45130 if ac_fn_cxx_try_compile "$LINENO"; then :
45131 glibcxx_cv_func__modfl_use=yes
45132 else
45133 glibcxx_cv_func__modfl_use=no
45135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45136 ac_ext=c
45137 ac_cpp='$CPP $CPPFLAGS'
45138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
45147 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
45149 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
45150 for ac_func in _modfl
45151 do :
45152 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
45153 if test "x$ac_cv_func__modfl" = x""yes; then :
45154 cat >>confdefs.h <<_ACEOF
45155 #define HAVE__MODFL 1
45156 _ACEOF
45159 done
45168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
45169 $as_echo_n "checking for powl declaration... " >&6; }
45170 if test x${glibcxx_cv_func_powl_use+set} != xset; then
45171 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
45172 $as_echo_n "(cached) " >&6
45173 else
45176 ac_ext=cpp
45177 ac_cpp='$CXXCPP $CPPFLAGS'
45178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45183 /* end confdefs.h. */
45184 #include <math.h>
45186 main ()
45188 powl(0, 0);
45190 return 0;
45192 _ACEOF
45193 if ac_fn_cxx_try_compile "$LINENO"; then :
45194 glibcxx_cv_func_powl_use=yes
45195 else
45196 glibcxx_cv_func_powl_use=no
45198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45199 ac_ext=c
45200 ac_cpp='$CPP $CPPFLAGS'
45201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
45210 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
45212 if test x$glibcxx_cv_func_powl_use = x"yes"; then
45213 for ac_func in powl
45214 do :
45215 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
45216 if test "x$ac_cv_func_powl" = x""yes; then :
45217 cat >>confdefs.h <<_ACEOF
45218 #define HAVE_POWL 1
45219 _ACEOF
45222 done
45224 else
45226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
45227 $as_echo_n "checking for _powl declaration... " >&6; }
45228 if test x${glibcxx_cv_func__powl_use+set} != xset; then
45229 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
45230 $as_echo_n "(cached) " >&6
45231 else
45234 ac_ext=cpp
45235 ac_cpp='$CXXCPP $CPPFLAGS'
45236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45241 /* end confdefs.h. */
45242 #include <math.h>
45244 main ()
45246 _powl(0, 0);
45248 return 0;
45250 _ACEOF
45251 if ac_fn_cxx_try_compile "$LINENO"; then :
45252 glibcxx_cv_func__powl_use=yes
45253 else
45254 glibcxx_cv_func__powl_use=no
45256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45257 ac_ext=c
45258 ac_cpp='$CPP $CPPFLAGS'
45259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
45268 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
45270 if test x$glibcxx_cv_func__powl_use = x"yes"; then
45271 for ac_func in _powl
45272 do :
45273 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
45274 if test "x$ac_cv_func__powl" = x""yes; then :
45275 cat >>confdefs.h <<_ACEOF
45276 #define HAVE__POWL 1
45277 _ACEOF
45280 done
45289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
45290 $as_echo_n "checking for sqrtl declaration... " >&6; }
45291 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
45292 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
45293 $as_echo_n "(cached) " >&6
45294 else
45297 ac_ext=cpp
45298 ac_cpp='$CXXCPP $CPPFLAGS'
45299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45304 /* end confdefs.h. */
45305 #include <math.h>
45306 #ifdef HAVE_IEEEFP_H
45307 #include <ieeefp.h>
45308 #endif
45311 main ()
45313 sqrtl(0);
45315 return 0;
45317 _ACEOF
45318 if ac_fn_cxx_try_compile "$LINENO"; then :
45319 glibcxx_cv_func_sqrtl_use=yes
45320 else
45321 glibcxx_cv_func_sqrtl_use=no
45323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45324 ac_ext=c
45325 ac_cpp='$CPP $CPPFLAGS'
45326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
45335 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
45337 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
45338 for ac_func in sqrtl
45339 do :
45340 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
45341 if test "x$ac_cv_func_sqrtl" = x""yes; then :
45342 cat >>confdefs.h <<_ACEOF
45343 #define HAVE_SQRTL 1
45344 _ACEOF
45347 done
45349 else
45351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
45352 $as_echo_n "checking for _sqrtl declaration... " >&6; }
45353 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
45354 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
45355 $as_echo_n "(cached) " >&6
45356 else
45359 ac_ext=cpp
45360 ac_cpp='$CXXCPP $CPPFLAGS'
45361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45366 /* end confdefs.h. */
45367 #include <math.h>
45368 #ifdef HAVE_IEEEFP_H
45369 #include <ieeefp.h>
45370 #endif
45373 main ()
45375 _sqrtl(0);
45377 return 0;
45379 _ACEOF
45380 if ac_fn_cxx_try_compile "$LINENO"; then :
45381 glibcxx_cv_func__sqrtl_use=yes
45382 else
45383 glibcxx_cv_func__sqrtl_use=no
45385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45386 ac_ext=c
45387 ac_cpp='$CPP $CPPFLAGS'
45388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
45397 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
45399 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
45400 for ac_func in _sqrtl
45401 do :
45402 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
45403 if test "x$ac_cv_func__sqrtl" = x""yes; then :
45404 cat >>confdefs.h <<_ACEOF
45405 #define HAVE__SQRTL 1
45406 _ACEOF
45409 done
45418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
45419 $as_echo_n "checking for sincosl declaration... " >&6; }
45420 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
45421 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
45422 $as_echo_n "(cached) " >&6
45423 else
45426 ac_ext=cpp
45427 ac_cpp='$CXXCPP $CPPFLAGS'
45428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45433 /* end confdefs.h. */
45434 #include <math.h>
45436 main ()
45438 sincosl(0, 0, 0);
45440 return 0;
45442 _ACEOF
45443 if ac_fn_cxx_try_compile "$LINENO"; then :
45444 glibcxx_cv_func_sincosl_use=yes
45445 else
45446 glibcxx_cv_func_sincosl_use=no
45448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45449 ac_ext=c
45450 ac_cpp='$CPP $CPPFLAGS'
45451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
45460 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
45462 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
45463 for ac_func in sincosl
45464 do :
45465 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
45466 if test "x$ac_cv_func_sincosl" = x""yes; then :
45467 cat >>confdefs.h <<_ACEOF
45468 #define HAVE_SINCOSL 1
45469 _ACEOF
45472 done
45474 else
45476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
45477 $as_echo_n "checking for _sincosl declaration... " >&6; }
45478 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
45479 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
45480 $as_echo_n "(cached) " >&6
45481 else
45484 ac_ext=cpp
45485 ac_cpp='$CXXCPP $CPPFLAGS'
45486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45491 /* end confdefs.h. */
45492 #include <math.h>
45494 main ()
45496 _sincosl(0, 0, 0);
45498 return 0;
45500 _ACEOF
45501 if ac_fn_cxx_try_compile "$LINENO"; then :
45502 glibcxx_cv_func__sincosl_use=yes
45503 else
45504 glibcxx_cv_func__sincosl_use=no
45506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45507 ac_ext=c
45508 ac_cpp='$CPP $CPPFLAGS'
45509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
45518 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
45520 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
45521 for ac_func in _sincosl
45522 do :
45523 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
45524 if test "x$ac_cv_func__sincosl" = x""yes; then :
45525 cat >>confdefs.h <<_ACEOF
45526 #define HAVE__SINCOSL 1
45527 _ACEOF
45530 done
45539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
45540 $as_echo_n "checking for finitel declaration... " >&6; }
45541 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
45542 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
45543 $as_echo_n "(cached) " >&6
45544 else
45547 ac_ext=cpp
45548 ac_cpp='$CXXCPP $CPPFLAGS'
45549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45554 /* end confdefs.h. */
45555 #include <math.h>
45556 #ifdef HAVE_IEEEFP_H
45557 #include <ieeefp.h>
45558 #endif
45561 main ()
45563 finitel(0);
45565 return 0;
45567 _ACEOF
45568 if ac_fn_cxx_try_compile "$LINENO"; then :
45569 glibcxx_cv_func_finitel_use=yes
45570 else
45571 glibcxx_cv_func_finitel_use=no
45573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45574 ac_ext=c
45575 ac_cpp='$CPP $CPPFLAGS'
45576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
45585 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
45587 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
45588 for ac_func in finitel
45589 do :
45590 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
45591 if test "x$ac_cv_func_finitel" = x""yes; then :
45592 cat >>confdefs.h <<_ACEOF
45593 #define HAVE_FINITEL 1
45594 _ACEOF
45597 done
45599 else
45601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
45602 $as_echo_n "checking for _finitel declaration... " >&6; }
45603 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
45604 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
45605 $as_echo_n "(cached) " >&6
45606 else
45609 ac_ext=cpp
45610 ac_cpp='$CXXCPP $CPPFLAGS'
45611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45616 /* end confdefs.h. */
45617 #include <math.h>
45618 #ifdef HAVE_IEEEFP_H
45619 #include <ieeefp.h>
45620 #endif
45623 main ()
45625 _finitel(0);
45627 return 0;
45629 _ACEOF
45630 if ac_fn_cxx_try_compile "$LINENO"; then :
45631 glibcxx_cv_func__finitel_use=yes
45632 else
45633 glibcxx_cv_func__finitel_use=no
45635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45636 ac_ext=c
45637 ac_cpp='$CPP $CPPFLAGS'
45638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
45647 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
45649 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
45650 for ac_func in _finitel
45651 do :
45652 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
45653 if test "x$ac_cv_func__finitel" = x""yes; then :
45654 cat >>confdefs.h <<_ACEOF
45655 #define HAVE__FINITEL 1
45656 _ACEOF
45659 done
45667 LIBS="$ac_save_LIBS"
45668 CXXFLAGS="$ac_save_CXXFLAGS"
45671 ac_test_CXXFLAGS="${CXXFLAGS+set}"
45672 ac_save_CXXFLAGS="$CXXFLAGS"
45673 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
45676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
45677 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
45678 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
45679 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
45680 $as_echo_n "(cached) " >&6
45681 else
45684 ac_ext=cpp
45685 ac_cpp='$CXXCPP $CPPFLAGS'
45686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45691 /* end confdefs.h. */
45692 #include <stdlib.h>
45694 main ()
45696 at_quick_exit(0);
45698 return 0;
45700 _ACEOF
45701 if ac_fn_cxx_try_compile "$LINENO"; then :
45702 glibcxx_cv_func_at_quick_exit_use=yes
45703 else
45704 glibcxx_cv_func_at_quick_exit_use=no
45706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45707 ac_ext=c
45708 ac_cpp='$CPP $CPPFLAGS'
45709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
45718 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
45719 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
45720 for ac_func in at_quick_exit
45721 do :
45722 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
45723 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
45724 cat >>confdefs.h <<_ACEOF
45725 #define HAVE_AT_QUICK_EXIT 1
45726 _ACEOF
45729 done
45734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
45735 $as_echo_n "checking for quick_exit declaration... " >&6; }
45736 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
45737 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
45738 $as_echo_n "(cached) " >&6
45739 else
45742 ac_ext=cpp
45743 ac_cpp='$CXXCPP $CPPFLAGS'
45744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45749 /* end confdefs.h. */
45750 #include <stdlib.h>
45752 main ()
45754 quick_exit(0);
45756 return 0;
45758 _ACEOF
45759 if ac_fn_cxx_try_compile "$LINENO"; then :
45760 glibcxx_cv_func_quick_exit_use=yes
45761 else
45762 glibcxx_cv_func_quick_exit_use=no
45764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45765 ac_ext=c
45766 ac_cpp='$CPP $CPPFLAGS'
45767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
45776 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
45777 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
45778 for ac_func in quick_exit
45779 do :
45780 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
45781 if test "x$ac_cv_func_quick_exit" = x""yes; then :
45782 cat >>confdefs.h <<_ACEOF
45783 #define HAVE_QUICK_EXIT 1
45784 _ACEOF
45787 done
45792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
45793 $as_echo_n "checking for strtold declaration... " >&6; }
45794 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
45795 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
45796 $as_echo_n "(cached) " >&6
45797 else
45800 ac_ext=cpp
45801 ac_cpp='$CXXCPP $CPPFLAGS'
45802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45807 /* end confdefs.h. */
45808 #include <stdlib.h>
45810 main ()
45812 strtold(0, 0);
45814 return 0;
45816 _ACEOF
45817 if ac_fn_cxx_try_compile "$LINENO"; then :
45818 glibcxx_cv_func_strtold_use=yes
45819 else
45820 glibcxx_cv_func_strtold_use=no
45822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45823 ac_ext=c
45824 ac_cpp='$CPP $CPPFLAGS'
45825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
45834 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
45835 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
45836 for ac_func in strtold
45837 do :
45838 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
45839 if test "x$ac_cv_func_strtold" = x""yes; then :
45840 cat >>confdefs.h <<_ACEOF
45841 #define HAVE_STRTOLD 1
45842 _ACEOF
45845 done
45852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
45853 $as_echo_n "checking for strtof declaration... " >&6; }
45854 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
45855 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
45856 $as_echo_n "(cached) " >&6
45857 else
45860 ac_ext=cpp
45861 ac_cpp='$CXXCPP $CPPFLAGS'
45862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45867 /* end confdefs.h. */
45868 #include <stdlib.h>
45870 main ()
45872 strtof(0, 0);
45874 return 0;
45876 _ACEOF
45877 if ac_fn_cxx_try_compile "$LINENO"; then :
45878 glibcxx_cv_func_strtof_use=yes
45879 else
45880 glibcxx_cv_func_strtof_use=no
45882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45883 ac_ext=c
45884 ac_cpp='$CPP $CPPFLAGS'
45885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
45894 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
45895 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
45896 for ac_func in strtof
45897 do :
45898 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
45899 if test "x$ac_cv_func_strtof" = x""yes; then :
45900 cat >>confdefs.h <<_ACEOF
45901 #define HAVE_STRTOF 1
45902 _ACEOF
45905 done
45912 CXXFLAGS="$ac_save_CXXFLAGS"
45914 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
45916 # We don't yet support AIX's TLS ABI.
45917 #GCC_CHECK_TLS
45923 am_save_CPPFLAGS="$CPPFLAGS"
45925 for element in $INCICONV; do
45926 haveit=
45927 for x in $CPPFLAGS; do
45929 acl_save_prefix="$prefix"
45930 prefix="$acl_final_prefix"
45931 acl_save_exec_prefix="$exec_prefix"
45932 exec_prefix="$acl_final_exec_prefix"
45933 eval x=\"$x\"
45934 exec_prefix="$acl_save_exec_prefix"
45935 prefix="$acl_save_prefix"
45937 if test "X$x" = "X$element"; then
45938 haveit=yes
45939 break
45941 done
45942 if test -z "$haveit"; then
45943 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
45945 done
45948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
45949 $as_echo_n "checking for iconv... " >&6; }
45950 if test "${am_cv_func_iconv+set}" = set; then :
45951 $as_echo_n "(cached) " >&6
45952 else
45954 am_cv_func_iconv="no, consider installing GNU libiconv"
45955 am_cv_lib_iconv=no
45956 if test x$gcc_no_link = xyes; then
45957 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45960 /* end confdefs.h. */
45961 #include <stdlib.h>
45962 #include <iconv.h>
45964 main ()
45966 iconv_t cd = iconv_open("","");
45967 iconv(cd,NULL,NULL,NULL,NULL);
45968 iconv_close(cd);
45970 return 0;
45972 _ACEOF
45973 if ac_fn_c_try_link "$LINENO"; then :
45974 am_cv_func_iconv=yes
45976 rm -f core conftest.err conftest.$ac_objext \
45977 conftest$ac_exeext conftest.$ac_ext
45978 if test "$am_cv_func_iconv" != yes; then
45979 am_save_LIBS="$LIBS"
45980 LIBS="$LIBS $LIBICONV"
45981 if test x$gcc_no_link = xyes; then
45982 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45985 /* end confdefs.h. */
45986 #include <stdlib.h>
45987 #include <iconv.h>
45989 main ()
45991 iconv_t cd = iconv_open("","");
45992 iconv(cd,NULL,NULL,NULL,NULL);
45993 iconv_close(cd);
45995 return 0;
45997 _ACEOF
45998 if ac_fn_c_try_link "$LINENO"; then :
45999 am_cv_lib_iconv=yes
46000 am_cv_func_iconv=yes
46002 rm -f core conftest.err conftest.$ac_objext \
46003 conftest$ac_exeext conftest.$ac_ext
46004 LIBS="$am_save_LIBS"
46008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
46009 $as_echo "$am_cv_func_iconv" >&6; }
46010 if test "$am_cv_func_iconv" = yes; then
46012 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
46015 if test "$am_cv_lib_iconv" = yes; then
46016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
46017 $as_echo_n "checking how to link with libiconv... " >&6; }
46018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
46019 $as_echo "$LIBICONV" >&6; }
46020 else
46021 CPPFLAGS="$am_save_CPPFLAGS"
46022 LIBICONV=
46023 LTLIBICONV=
46028 if test "$am_cv_func_iconv" = yes; then
46029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
46030 $as_echo_n "checking for iconv declaration... " >&6; }
46031 if test "${am_cv_proto_iconv+set}" = set; then :
46032 $as_echo_n "(cached) " >&6
46033 else
46035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46036 /* end confdefs.h. */
46038 #include <stdlib.h>
46039 #include <iconv.h>
46040 extern
46041 #ifdef __cplusplus
46043 #endif
46044 #if defined(__STDC__) || defined(__cplusplus)
46045 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
46046 #else
46047 size_t iconv();
46048 #endif
46051 main ()
46055 return 0;
46057 _ACEOF
46058 if ac_fn_c_try_compile "$LINENO"; then :
46059 am_cv_proto_iconv_arg1=""
46060 else
46061 am_cv_proto_iconv_arg1="const"
46063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46064 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);"
46067 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
46068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
46069 }$am_cv_proto_iconv" >&5
46070 $as_echo "${ac_t:-
46071 }$am_cv_proto_iconv" >&6; }
46073 cat >>confdefs.h <<_ACEOF
46074 #define ICONV_CONST $am_cv_proto_iconv_arg1
46075 _ACEOF
46081 *-darwin*)
46082 # Darwin versions vary, but the linker should work in a cross environment,
46083 # so we just check for all the features here.
46084 # Check for available headers.
46086 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
46088 ac_test_CXXFLAGS="${CXXFLAGS+set}"
46089 ac_save_CXXFLAGS="$CXXFLAGS"
46090 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
46092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
46093 $as_echo_n "checking for sin in -lm... " >&6; }
46094 if test "${ac_cv_lib_m_sin+set}" = set; then :
46095 $as_echo_n "(cached) " >&6
46096 else
46097 ac_check_lib_save_LIBS=$LIBS
46098 LIBS="-lm $LIBS"
46099 if test x$gcc_no_link = xyes; then
46100 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46103 /* end confdefs.h. */
46105 /* Override any GCC internal prototype to avoid an error.
46106 Use char because int might match the return type of a GCC
46107 builtin and then its argument prototype would still apply. */
46108 #ifdef __cplusplus
46109 extern "C"
46110 #endif
46111 char sin ();
46113 main ()
46115 return sin ();
46117 return 0;
46119 _ACEOF
46120 if ac_fn_c_try_link "$LINENO"; then :
46121 ac_cv_lib_m_sin=yes
46122 else
46123 ac_cv_lib_m_sin=no
46125 rm -f core conftest.err conftest.$ac_objext \
46126 conftest$ac_exeext conftest.$ac_ext
46127 LIBS=$ac_check_lib_save_LIBS
46129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
46130 $as_echo "$ac_cv_lib_m_sin" >&6; }
46131 if test "x$ac_cv_lib_m_sin" = x""yes; then :
46132 libm="-lm"
46135 ac_save_LIBS="$LIBS"
46136 LIBS="$LIBS $libm"
46140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
46141 $as_echo_n "checking for isinf declaration... " >&6; }
46142 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
46143 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
46144 $as_echo_n "(cached) " >&6
46145 else
46148 ac_ext=cpp
46149 ac_cpp='$CXXCPP $CPPFLAGS'
46150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46155 /* end confdefs.h. */
46156 #include <math.h>
46157 #ifdef HAVE_IEEEFP_H
46158 #include <ieeefp.h>
46159 #endif
46162 main ()
46164 isinf(0);
46166 return 0;
46168 _ACEOF
46169 if ac_fn_cxx_try_compile "$LINENO"; then :
46170 glibcxx_cv_func_isinf_use=yes
46171 else
46172 glibcxx_cv_func_isinf_use=no
46174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46175 ac_ext=c
46176 ac_cpp='$CPP $CPPFLAGS'
46177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
46186 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
46188 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
46189 for ac_func in isinf
46190 do :
46191 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
46192 if test "x$ac_cv_func_isinf" = x""yes; then :
46193 cat >>confdefs.h <<_ACEOF
46194 #define HAVE_ISINF 1
46195 _ACEOF
46198 done
46200 else
46202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
46203 $as_echo_n "checking for _isinf declaration... " >&6; }
46204 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
46205 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
46206 $as_echo_n "(cached) " >&6
46207 else
46210 ac_ext=cpp
46211 ac_cpp='$CXXCPP $CPPFLAGS'
46212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46217 /* end confdefs.h. */
46218 #include <math.h>
46219 #ifdef HAVE_IEEEFP_H
46220 #include <ieeefp.h>
46221 #endif
46224 main ()
46226 _isinf(0);
46228 return 0;
46230 _ACEOF
46231 if ac_fn_cxx_try_compile "$LINENO"; then :
46232 glibcxx_cv_func__isinf_use=yes
46233 else
46234 glibcxx_cv_func__isinf_use=no
46236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46237 ac_ext=c
46238 ac_cpp='$CPP $CPPFLAGS'
46239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
46248 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
46250 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
46251 for ac_func in _isinf
46252 do :
46253 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
46254 if test "x$ac_cv_func__isinf" = x""yes; then :
46255 cat >>confdefs.h <<_ACEOF
46256 #define HAVE__ISINF 1
46257 _ACEOF
46260 done
46269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
46270 $as_echo_n "checking for isnan declaration... " >&6; }
46271 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
46272 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
46273 $as_echo_n "(cached) " >&6
46274 else
46277 ac_ext=cpp
46278 ac_cpp='$CXXCPP $CPPFLAGS'
46279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46284 /* end confdefs.h. */
46285 #include <math.h>
46286 #ifdef HAVE_IEEEFP_H
46287 #include <ieeefp.h>
46288 #endif
46291 main ()
46293 isnan(0);
46295 return 0;
46297 _ACEOF
46298 if ac_fn_cxx_try_compile "$LINENO"; then :
46299 glibcxx_cv_func_isnan_use=yes
46300 else
46301 glibcxx_cv_func_isnan_use=no
46303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46304 ac_ext=c
46305 ac_cpp='$CPP $CPPFLAGS'
46306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
46315 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
46317 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
46318 for ac_func in isnan
46319 do :
46320 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
46321 if test "x$ac_cv_func_isnan" = x""yes; then :
46322 cat >>confdefs.h <<_ACEOF
46323 #define HAVE_ISNAN 1
46324 _ACEOF
46327 done
46329 else
46331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
46332 $as_echo_n "checking for _isnan declaration... " >&6; }
46333 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
46334 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
46335 $as_echo_n "(cached) " >&6
46336 else
46339 ac_ext=cpp
46340 ac_cpp='$CXXCPP $CPPFLAGS'
46341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46346 /* end confdefs.h. */
46347 #include <math.h>
46348 #ifdef HAVE_IEEEFP_H
46349 #include <ieeefp.h>
46350 #endif
46353 main ()
46355 _isnan(0);
46357 return 0;
46359 _ACEOF
46360 if ac_fn_cxx_try_compile "$LINENO"; then :
46361 glibcxx_cv_func__isnan_use=yes
46362 else
46363 glibcxx_cv_func__isnan_use=no
46365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46366 ac_ext=c
46367 ac_cpp='$CPP $CPPFLAGS'
46368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
46377 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
46379 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
46380 for ac_func in _isnan
46381 do :
46382 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
46383 if test "x$ac_cv_func__isnan" = x""yes; then :
46384 cat >>confdefs.h <<_ACEOF
46385 #define HAVE__ISNAN 1
46386 _ACEOF
46389 done
46398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
46399 $as_echo_n "checking for finite declaration... " >&6; }
46400 if test x${glibcxx_cv_func_finite_use+set} != xset; then
46401 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
46402 $as_echo_n "(cached) " >&6
46403 else
46406 ac_ext=cpp
46407 ac_cpp='$CXXCPP $CPPFLAGS'
46408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46413 /* end confdefs.h. */
46414 #include <math.h>
46415 #ifdef HAVE_IEEEFP_H
46416 #include <ieeefp.h>
46417 #endif
46420 main ()
46422 finite(0);
46424 return 0;
46426 _ACEOF
46427 if ac_fn_cxx_try_compile "$LINENO"; then :
46428 glibcxx_cv_func_finite_use=yes
46429 else
46430 glibcxx_cv_func_finite_use=no
46432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46433 ac_ext=c
46434 ac_cpp='$CPP $CPPFLAGS'
46435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
46444 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
46446 if test x$glibcxx_cv_func_finite_use = x"yes"; then
46447 for ac_func in finite
46448 do :
46449 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
46450 if test "x$ac_cv_func_finite" = x""yes; then :
46451 cat >>confdefs.h <<_ACEOF
46452 #define HAVE_FINITE 1
46453 _ACEOF
46456 done
46458 else
46460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
46461 $as_echo_n "checking for _finite declaration... " >&6; }
46462 if test x${glibcxx_cv_func__finite_use+set} != xset; then
46463 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
46464 $as_echo_n "(cached) " >&6
46465 else
46468 ac_ext=cpp
46469 ac_cpp='$CXXCPP $CPPFLAGS'
46470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46475 /* end confdefs.h. */
46476 #include <math.h>
46477 #ifdef HAVE_IEEEFP_H
46478 #include <ieeefp.h>
46479 #endif
46482 main ()
46484 _finite(0);
46486 return 0;
46488 _ACEOF
46489 if ac_fn_cxx_try_compile "$LINENO"; then :
46490 glibcxx_cv_func__finite_use=yes
46491 else
46492 glibcxx_cv_func__finite_use=no
46494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46495 ac_ext=c
46496 ac_cpp='$CPP $CPPFLAGS'
46497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
46506 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
46508 if test x$glibcxx_cv_func__finite_use = x"yes"; then
46509 for ac_func in _finite
46510 do :
46511 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
46512 if test "x$ac_cv_func__finite" = x""yes; then :
46513 cat >>confdefs.h <<_ACEOF
46514 #define HAVE__FINITE 1
46515 _ACEOF
46518 done
46527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
46528 $as_echo_n "checking for sincos declaration... " >&6; }
46529 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
46530 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
46531 $as_echo_n "(cached) " >&6
46532 else
46535 ac_ext=cpp
46536 ac_cpp='$CXXCPP $CPPFLAGS'
46537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46542 /* end confdefs.h. */
46543 #include <math.h>
46545 main ()
46547 sincos(0, 0, 0);
46549 return 0;
46551 _ACEOF
46552 if ac_fn_cxx_try_compile "$LINENO"; then :
46553 glibcxx_cv_func_sincos_use=yes
46554 else
46555 glibcxx_cv_func_sincos_use=no
46557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46558 ac_ext=c
46559 ac_cpp='$CPP $CPPFLAGS'
46560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
46569 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
46571 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
46572 for ac_func in sincos
46573 do :
46574 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
46575 if test "x$ac_cv_func_sincos" = x""yes; then :
46576 cat >>confdefs.h <<_ACEOF
46577 #define HAVE_SINCOS 1
46578 _ACEOF
46581 done
46583 else
46585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
46586 $as_echo_n "checking for _sincos declaration... " >&6; }
46587 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
46588 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
46589 $as_echo_n "(cached) " >&6
46590 else
46593 ac_ext=cpp
46594 ac_cpp='$CXXCPP $CPPFLAGS'
46595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46600 /* end confdefs.h. */
46601 #include <math.h>
46603 main ()
46605 _sincos(0, 0, 0);
46607 return 0;
46609 _ACEOF
46610 if ac_fn_cxx_try_compile "$LINENO"; then :
46611 glibcxx_cv_func__sincos_use=yes
46612 else
46613 glibcxx_cv_func__sincos_use=no
46615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46616 ac_ext=c
46617 ac_cpp='$CPP $CPPFLAGS'
46618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
46627 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
46629 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
46630 for ac_func in _sincos
46631 do :
46632 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
46633 if test "x$ac_cv_func__sincos" = x""yes; then :
46634 cat >>confdefs.h <<_ACEOF
46635 #define HAVE__SINCOS 1
46636 _ACEOF
46639 done
46648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
46649 $as_echo_n "checking for fpclass declaration... " >&6; }
46650 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
46651 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
46652 $as_echo_n "(cached) " >&6
46653 else
46656 ac_ext=cpp
46657 ac_cpp='$CXXCPP $CPPFLAGS'
46658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46663 /* end confdefs.h. */
46664 #include <math.h>
46665 #ifdef HAVE_IEEEFP_H
46666 #include <ieeefp.h>
46667 #endif
46670 main ()
46672 fpclass(0);
46674 return 0;
46676 _ACEOF
46677 if ac_fn_cxx_try_compile "$LINENO"; then :
46678 glibcxx_cv_func_fpclass_use=yes
46679 else
46680 glibcxx_cv_func_fpclass_use=no
46682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46683 ac_ext=c
46684 ac_cpp='$CPP $CPPFLAGS'
46685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
46694 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
46696 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
46697 for ac_func in fpclass
46698 do :
46699 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
46700 if test "x$ac_cv_func_fpclass" = x""yes; then :
46701 cat >>confdefs.h <<_ACEOF
46702 #define HAVE_FPCLASS 1
46703 _ACEOF
46706 done
46708 else
46710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
46711 $as_echo_n "checking for _fpclass declaration... " >&6; }
46712 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
46713 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
46714 $as_echo_n "(cached) " >&6
46715 else
46718 ac_ext=cpp
46719 ac_cpp='$CXXCPP $CPPFLAGS'
46720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46725 /* end confdefs.h. */
46726 #include <math.h>
46727 #ifdef HAVE_IEEEFP_H
46728 #include <ieeefp.h>
46729 #endif
46732 main ()
46734 _fpclass(0);
46736 return 0;
46738 _ACEOF
46739 if ac_fn_cxx_try_compile "$LINENO"; then :
46740 glibcxx_cv_func__fpclass_use=yes
46741 else
46742 glibcxx_cv_func__fpclass_use=no
46744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46745 ac_ext=c
46746 ac_cpp='$CPP $CPPFLAGS'
46747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
46756 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
46758 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
46759 for ac_func in _fpclass
46760 do :
46761 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
46762 if test "x$ac_cv_func__fpclass" = x""yes; then :
46763 cat >>confdefs.h <<_ACEOF
46764 #define HAVE__FPCLASS 1
46765 _ACEOF
46768 done
46777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
46778 $as_echo_n "checking for qfpclass declaration... " >&6; }
46779 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
46780 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
46781 $as_echo_n "(cached) " >&6
46782 else
46785 ac_ext=cpp
46786 ac_cpp='$CXXCPP $CPPFLAGS'
46787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46792 /* end confdefs.h. */
46793 #include <math.h>
46794 #ifdef HAVE_IEEEFP_H
46795 #include <ieeefp.h>
46796 #endif
46799 main ()
46801 qfpclass(0);
46803 return 0;
46805 _ACEOF
46806 if ac_fn_cxx_try_compile "$LINENO"; then :
46807 glibcxx_cv_func_qfpclass_use=yes
46808 else
46809 glibcxx_cv_func_qfpclass_use=no
46811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46812 ac_ext=c
46813 ac_cpp='$CPP $CPPFLAGS'
46814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
46823 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
46825 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
46826 for ac_func in qfpclass
46827 do :
46828 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
46829 if test "x$ac_cv_func_qfpclass" = x""yes; then :
46830 cat >>confdefs.h <<_ACEOF
46831 #define HAVE_QFPCLASS 1
46832 _ACEOF
46835 done
46837 else
46839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
46840 $as_echo_n "checking for _qfpclass declaration... " >&6; }
46841 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
46842 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
46843 $as_echo_n "(cached) " >&6
46844 else
46847 ac_ext=cpp
46848 ac_cpp='$CXXCPP $CPPFLAGS'
46849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46854 /* end confdefs.h. */
46855 #include <math.h>
46856 #ifdef HAVE_IEEEFP_H
46857 #include <ieeefp.h>
46858 #endif
46861 main ()
46863 _qfpclass(0);
46865 return 0;
46867 _ACEOF
46868 if ac_fn_cxx_try_compile "$LINENO"; then :
46869 glibcxx_cv_func__qfpclass_use=yes
46870 else
46871 glibcxx_cv_func__qfpclass_use=no
46873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46874 ac_ext=c
46875 ac_cpp='$CPP $CPPFLAGS'
46876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
46885 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
46887 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
46888 for ac_func in _qfpclass
46889 do :
46890 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
46891 if test "x$ac_cv_func__qfpclass" = x""yes; then :
46892 cat >>confdefs.h <<_ACEOF
46893 #define HAVE__QFPCLASS 1
46894 _ACEOF
46897 done
46906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
46907 $as_echo_n "checking for hypot declaration... " >&6; }
46908 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
46909 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
46910 $as_echo_n "(cached) " >&6
46911 else
46914 ac_ext=cpp
46915 ac_cpp='$CXXCPP $CPPFLAGS'
46916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46921 /* end confdefs.h. */
46922 #include <math.h>
46924 main ()
46926 hypot(0, 0);
46928 return 0;
46930 _ACEOF
46931 if ac_fn_cxx_try_compile "$LINENO"; then :
46932 glibcxx_cv_func_hypot_use=yes
46933 else
46934 glibcxx_cv_func_hypot_use=no
46936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46937 ac_ext=c
46938 ac_cpp='$CPP $CPPFLAGS'
46939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
46948 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
46950 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
46951 for ac_func in hypot
46952 do :
46953 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
46954 if test "x$ac_cv_func_hypot" = x""yes; then :
46955 cat >>confdefs.h <<_ACEOF
46956 #define HAVE_HYPOT 1
46957 _ACEOF
46960 done
46962 else
46964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
46965 $as_echo_n "checking for _hypot declaration... " >&6; }
46966 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
46967 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
46968 $as_echo_n "(cached) " >&6
46969 else
46972 ac_ext=cpp
46973 ac_cpp='$CXXCPP $CPPFLAGS'
46974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46979 /* end confdefs.h. */
46980 #include <math.h>
46982 main ()
46984 _hypot(0, 0);
46986 return 0;
46988 _ACEOF
46989 if ac_fn_cxx_try_compile "$LINENO"; then :
46990 glibcxx_cv_func__hypot_use=yes
46991 else
46992 glibcxx_cv_func__hypot_use=no
46994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46995 ac_ext=c
46996 ac_cpp='$CPP $CPPFLAGS'
46997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
47006 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
47008 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
47009 for ac_func in _hypot
47010 do :
47011 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
47012 if test "x$ac_cv_func__hypot" = x""yes; then :
47013 cat >>confdefs.h <<_ACEOF
47014 #define HAVE__HYPOT 1
47015 _ACEOF
47018 done
47027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
47028 $as_echo_n "checking for float trig functions... " >&6; }
47029 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
47030 $as_echo_n "(cached) " >&6
47031 else
47034 ac_ext=cpp
47035 ac_cpp='$CXXCPP $CPPFLAGS'
47036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47041 /* end confdefs.h. */
47042 #include <math.h>
47044 main ()
47046 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
47048 return 0;
47050 _ACEOF
47051 if ac_fn_cxx_try_compile "$LINENO"; then :
47052 glibcxx_cv_func_float_trig_use=yes
47053 else
47054 glibcxx_cv_func_float_trig_use=no
47056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47057 ac_ext=c
47058 ac_cpp='$CPP $CPPFLAGS'
47059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
47066 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
47067 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
47068 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
47069 do :
47070 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47071 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47072 eval as_val=\$$as_ac_var
47073 if test "x$as_val" = x""yes; then :
47074 cat >>confdefs.h <<_ACEOF
47075 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47076 _ACEOF
47079 done
47081 else
47082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
47083 $as_echo_n "checking for _float trig functions... " >&6; }
47084 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
47085 $as_echo_n "(cached) " >&6
47086 else
47089 ac_ext=cpp
47090 ac_cpp='$CXXCPP $CPPFLAGS'
47091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47096 /* end confdefs.h. */
47097 #include <math.h>
47099 main ()
47101 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
47103 return 0;
47105 _ACEOF
47106 if ac_fn_cxx_try_compile "$LINENO"; then :
47107 glibcxx_cv_func__float_trig_use=yes
47108 else
47109 glibcxx_cv_func__float_trig_use=no
47111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47112 ac_ext=c
47113 ac_cpp='$CPP $CPPFLAGS'
47114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
47121 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
47122 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
47123 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
47124 do :
47125 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47126 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47127 eval as_val=\$$as_ac_var
47128 if test "x$as_val" = x""yes; then :
47129 cat >>confdefs.h <<_ACEOF
47130 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47131 _ACEOF
47134 done
47143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
47144 $as_echo_n "checking for float round functions... " >&6; }
47145 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
47146 $as_echo_n "(cached) " >&6
47147 else
47150 ac_ext=cpp
47151 ac_cpp='$CXXCPP $CPPFLAGS'
47152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47157 /* end confdefs.h. */
47158 #include <math.h>
47160 main ()
47162 ceilf (0); floorf (0);
47164 return 0;
47166 _ACEOF
47167 if ac_fn_cxx_try_compile "$LINENO"; then :
47168 glibcxx_cv_func_float_round_use=yes
47169 else
47170 glibcxx_cv_func_float_round_use=no
47172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47173 ac_ext=c
47174 ac_cpp='$CPP $CPPFLAGS'
47175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
47182 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
47183 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
47184 for ac_func in ceilf floorf
47185 do :
47186 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47187 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47188 eval as_val=\$$as_ac_var
47189 if test "x$as_val" = x""yes; then :
47190 cat >>confdefs.h <<_ACEOF
47191 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47192 _ACEOF
47195 done
47197 else
47198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
47199 $as_echo_n "checking for _float round functions... " >&6; }
47200 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
47201 $as_echo_n "(cached) " >&6
47202 else
47205 ac_ext=cpp
47206 ac_cpp='$CXXCPP $CPPFLAGS'
47207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47212 /* end confdefs.h. */
47213 #include <math.h>
47215 main ()
47217 _ceilf (0); _floorf (0);
47219 return 0;
47221 _ACEOF
47222 if ac_fn_cxx_try_compile "$LINENO"; then :
47223 glibcxx_cv_func__float_round_use=yes
47224 else
47225 glibcxx_cv_func__float_round_use=no
47227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47228 ac_ext=c
47229 ac_cpp='$CPP $CPPFLAGS'
47230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
47237 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
47238 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
47239 for ac_func in _ceilf _floorf
47240 do :
47241 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47242 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47243 eval as_val=\$$as_ac_var
47244 if test "x$as_val" = x""yes; then :
47245 cat >>confdefs.h <<_ACEOF
47246 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47247 _ACEOF
47250 done
47260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
47261 $as_echo_n "checking for expf declaration... " >&6; }
47262 if test x${glibcxx_cv_func_expf_use+set} != xset; then
47263 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
47264 $as_echo_n "(cached) " >&6
47265 else
47268 ac_ext=cpp
47269 ac_cpp='$CXXCPP $CPPFLAGS'
47270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47275 /* end confdefs.h. */
47276 #include <math.h>
47277 #ifdef HAVE_IEEEFP_H
47278 #include <ieeefp.h>
47279 #endif
47282 main ()
47284 expf(0);
47286 return 0;
47288 _ACEOF
47289 if ac_fn_cxx_try_compile "$LINENO"; then :
47290 glibcxx_cv_func_expf_use=yes
47291 else
47292 glibcxx_cv_func_expf_use=no
47294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47295 ac_ext=c
47296 ac_cpp='$CPP $CPPFLAGS'
47297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
47306 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
47308 if test x$glibcxx_cv_func_expf_use = x"yes"; then
47309 for ac_func in expf
47310 do :
47311 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
47312 if test "x$ac_cv_func_expf" = x""yes; then :
47313 cat >>confdefs.h <<_ACEOF
47314 #define HAVE_EXPF 1
47315 _ACEOF
47318 done
47320 else
47322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
47323 $as_echo_n "checking for _expf declaration... " >&6; }
47324 if test x${glibcxx_cv_func__expf_use+set} != xset; then
47325 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
47326 $as_echo_n "(cached) " >&6
47327 else
47330 ac_ext=cpp
47331 ac_cpp='$CXXCPP $CPPFLAGS'
47332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47337 /* end confdefs.h. */
47338 #include <math.h>
47339 #ifdef HAVE_IEEEFP_H
47340 #include <ieeefp.h>
47341 #endif
47344 main ()
47346 _expf(0);
47348 return 0;
47350 _ACEOF
47351 if ac_fn_cxx_try_compile "$LINENO"; then :
47352 glibcxx_cv_func__expf_use=yes
47353 else
47354 glibcxx_cv_func__expf_use=no
47356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47357 ac_ext=c
47358 ac_cpp='$CPP $CPPFLAGS'
47359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
47368 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
47370 if test x$glibcxx_cv_func__expf_use = x"yes"; then
47371 for ac_func in _expf
47372 do :
47373 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
47374 if test "x$ac_cv_func__expf" = x""yes; then :
47375 cat >>confdefs.h <<_ACEOF
47376 #define HAVE__EXPF 1
47377 _ACEOF
47380 done
47389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
47390 $as_echo_n "checking for isnanf declaration... " >&6; }
47391 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
47392 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
47393 $as_echo_n "(cached) " >&6
47394 else
47397 ac_ext=cpp
47398 ac_cpp='$CXXCPP $CPPFLAGS'
47399 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47400 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47401 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47404 /* end confdefs.h. */
47405 #include <math.h>
47406 #ifdef HAVE_IEEEFP_H
47407 #include <ieeefp.h>
47408 #endif
47411 main ()
47413 isnanf(0);
47415 return 0;
47417 _ACEOF
47418 if ac_fn_cxx_try_compile "$LINENO"; then :
47419 glibcxx_cv_func_isnanf_use=yes
47420 else
47421 glibcxx_cv_func_isnanf_use=no
47423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47424 ac_ext=c
47425 ac_cpp='$CPP $CPPFLAGS'
47426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
47435 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
47437 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
47438 for ac_func in isnanf
47439 do :
47440 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
47441 if test "x$ac_cv_func_isnanf" = x""yes; then :
47442 cat >>confdefs.h <<_ACEOF
47443 #define HAVE_ISNANF 1
47444 _ACEOF
47447 done
47449 else
47451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
47452 $as_echo_n "checking for _isnanf declaration... " >&6; }
47453 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
47454 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
47455 $as_echo_n "(cached) " >&6
47456 else
47459 ac_ext=cpp
47460 ac_cpp='$CXXCPP $CPPFLAGS'
47461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47466 /* end confdefs.h. */
47467 #include <math.h>
47468 #ifdef HAVE_IEEEFP_H
47469 #include <ieeefp.h>
47470 #endif
47473 main ()
47475 _isnanf(0);
47477 return 0;
47479 _ACEOF
47480 if ac_fn_cxx_try_compile "$LINENO"; then :
47481 glibcxx_cv_func__isnanf_use=yes
47482 else
47483 glibcxx_cv_func__isnanf_use=no
47485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47486 ac_ext=c
47487 ac_cpp='$CPP $CPPFLAGS'
47488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
47497 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
47499 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
47500 for ac_func in _isnanf
47501 do :
47502 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
47503 if test "x$ac_cv_func__isnanf" = x""yes; then :
47504 cat >>confdefs.h <<_ACEOF
47505 #define HAVE__ISNANF 1
47506 _ACEOF
47509 done
47518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
47519 $as_echo_n "checking for isinff declaration... " >&6; }
47520 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
47521 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
47522 $as_echo_n "(cached) " >&6
47523 else
47526 ac_ext=cpp
47527 ac_cpp='$CXXCPP $CPPFLAGS'
47528 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47529 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47530 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47533 /* end confdefs.h. */
47534 #include <math.h>
47535 #ifdef HAVE_IEEEFP_H
47536 #include <ieeefp.h>
47537 #endif
47540 main ()
47542 isinff(0);
47544 return 0;
47546 _ACEOF
47547 if ac_fn_cxx_try_compile "$LINENO"; then :
47548 glibcxx_cv_func_isinff_use=yes
47549 else
47550 glibcxx_cv_func_isinff_use=no
47552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47553 ac_ext=c
47554 ac_cpp='$CPP $CPPFLAGS'
47555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
47564 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
47566 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
47567 for ac_func in isinff
47568 do :
47569 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
47570 if test "x$ac_cv_func_isinff" = x""yes; then :
47571 cat >>confdefs.h <<_ACEOF
47572 #define HAVE_ISINFF 1
47573 _ACEOF
47576 done
47578 else
47580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
47581 $as_echo_n "checking for _isinff declaration... " >&6; }
47582 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
47583 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
47584 $as_echo_n "(cached) " >&6
47585 else
47588 ac_ext=cpp
47589 ac_cpp='$CXXCPP $CPPFLAGS'
47590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47595 /* end confdefs.h. */
47596 #include <math.h>
47597 #ifdef HAVE_IEEEFP_H
47598 #include <ieeefp.h>
47599 #endif
47602 main ()
47604 _isinff(0);
47606 return 0;
47608 _ACEOF
47609 if ac_fn_cxx_try_compile "$LINENO"; then :
47610 glibcxx_cv_func__isinff_use=yes
47611 else
47612 glibcxx_cv_func__isinff_use=no
47614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47615 ac_ext=c
47616 ac_cpp='$CPP $CPPFLAGS'
47617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
47626 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
47628 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
47629 for ac_func in _isinff
47630 do :
47631 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
47632 if test "x$ac_cv_func__isinff" = x""yes; then :
47633 cat >>confdefs.h <<_ACEOF
47634 #define HAVE__ISINFF 1
47635 _ACEOF
47638 done
47647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
47648 $as_echo_n "checking for atan2f declaration... " >&6; }
47649 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
47650 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
47651 $as_echo_n "(cached) " >&6
47652 else
47655 ac_ext=cpp
47656 ac_cpp='$CXXCPP $CPPFLAGS'
47657 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47658 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47659 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47662 /* end confdefs.h. */
47663 #include <math.h>
47665 main ()
47667 atan2f(0, 0);
47669 return 0;
47671 _ACEOF
47672 if ac_fn_cxx_try_compile "$LINENO"; then :
47673 glibcxx_cv_func_atan2f_use=yes
47674 else
47675 glibcxx_cv_func_atan2f_use=no
47677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47678 ac_ext=c
47679 ac_cpp='$CPP $CPPFLAGS'
47680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
47689 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
47691 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
47692 for ac_func in atan2f
47693 do :
47694 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
47695 if test "x$ac_cv_func_atan2f" = x""yes; then :
47696 cat >>confdefs.h <<_ACEOF
47697 #define HAVE_ATAN2F 1
47698 _ACEOF
47701 done
47703 else
47705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
47706 $as_echo_n "checking for _atan2f declaration... " >&6; }
47707 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
47708 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
47709 $as_echo_n "(cached) " >&6
47710 else
47713 ac_ext=cpp
47714 ac_cpp='$CXXCPP $CPPFLAGS'
47715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47720 /* end confdefs.h. */
47721 #include <math.h>
47723 main ()
47725 _atan2f(0, 0);
47727 return 0;
47729 _ACEOF
47730 if ac_fn_cxx_try_compile "$LINENO"; then :
47731 glibcxx_cv_func__atan2f_use=yes
47732 else
47733 glibcxx_cv_func__atan2f_use=no
47735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47736 ac_ext=c
47737 ac_cpp='$CPP $CPPFLAGS'
47738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
47747 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
47749 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
47750 for ac_func in _atan2f
47751 do :
47752 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
47753 if test "x$ac_cv_func__atan2f" = x""yes; then :
47754 cat >>confdefs.h <<_ACEOF
47755 #define HAVE__ATAN2F 1
47756 _ACEOF
47759 done
47768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
47769 $as_echo_n "checking for fabsf declaration... " >&6; }
47770 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
47771 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
47772 $as_echo_n "(cached) " >&6
47773 else
47776 ac_ext=cpp
47777 ac_cpp='$CXXCPP $CPPFLAGS'
47778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47783 /* end confdefs.h. */
47784 #include <math.h>
47785 #ifdef HAVE_IEEEFP_H
47786 #include <ieeefp.h>
47787 #endif
47790 main ()
47792 fabsf(0);
47794 return 0;
47796 _ACEOF
47797 if ac_fn_cxx_try_compile "$LINENO"; then :
47798 glibcxx_cv_func_fabsf_use=yes
47799 else
47800 glibcxx_cv_func_fabsf_use=no
47802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47803 ac_ext=c
47804 ac_cpp='$CPP $CPPFLAGS'
47805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
47814 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
47816 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
47817 for ac_func in fabsf
47818 do :
47819 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
47820 if test "x$ac_cv_func_fabsf" = x""yes; then :
47821 cat >>confdefs.h <<_ACEOF
47822 #define HAVE_FABSF 1
47823 _ACEOF
47826 done
47828 else
47830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
47831 $as_echo_n "checking for _fabsf declaration... " >&6; }
47832 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
47833 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
47834 $as_echo_n "(cached) " >&6
47835 else
47838 ac_ext=cpp
47839 ac_cpp='$CXXCPP $CPPFLAGS'
47840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47845 /* end confdefs.h. */
47846 #include <math.h>
47847 #ifdef HAVE_IEEEFP_H
47848 #include <ieeefp.h>
47849 #endif
47852 main ()
47854 _fabsf(0);
47856 return 0;
47858 _ACEOF
47859 if ac_fn_cxx_try_compile "$LINENO"; then :
47860 glibcxx_cv_func__fabsf_use=yes
47861 else
47862 glibcxx_cv_func__fabsf_use=no
47864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47865 ac_ext=c
47866 ac_cpp='$CPP $CPPFLAGS'
47867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
47876 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
47878 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
47879 for ac_func in _fabsf
47880 do :
47881 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
47882 if test "x$ac_cv_func__fabsf" = x""yes; then :
47883 cat >>confdefs.h <<_ACEOF
47884 #define HAVE__FABSF 1
47885 _ACEOF
47888 done
47897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
47898 $as_echo_n "checking for fmodf declaration... " >&6; }
47899 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
47900 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
47901 $as_echo_n "(cached) " >&6
47902 else
47905 ac_ext=cpp
47906 ac_cpp='$CXXCPP $CPPFLAGS'
47907 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47908 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47909 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47912 /* end confdefs.h. */
47913 #include <math.h>
47915 main ()
47917 fmodf(0, 0);
47919 return 0;
47921 _ACEOF
47922 if ac_fn_cxx_try_compile "$LINENO"; then :
47923 glibcxx_cv_func_fmodf_use=yes
47924 else
47925 glibcxx_cv_func_fmodf_use=no
47927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47928 ac_ext=c
47929 ac_cpp='$CPP $CPPFLAGS'
47930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
47939 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
47941 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
47942 for ac_func in fmodf
47943 do :
47944 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
47945 if test "x$ac_cv_func_fmodf" = x""yes; then :
47946 cat >>confdefs.h <<_ACEOF
47947 #define HAVE_FMODF 1
47948 _ACEOF
47951 done
47953 else
47955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
47956 $as_echo_n "checking for _fmodf declaration... " >&6; }
47957 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
47958 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
47959 $as_echo_n "(cached) " >&6
47960 else
47963 ac_ext=cpp
47964 ac_cpp='$CXXCPP $CPPFLAGS'
47965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47970 /* end confdefs.h. */
47971 #include <math.h>
47973 main ()
47975 _fmodf(0, 0);
47977 return 0;
47979 _ACEOF
47980 if ac_fn_cxx_try_compile "$LINENO"; then :
47981 glibcxx_cv_func__fmodf_use=yes
47982 else
47983 glibcxx_cv_func__fmodf_use=no
47985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47986 ac_ext=c
47987 ac_cpp='$CPP $CPPFLAGS'
47988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
47997 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
47999 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
48000 for ac_func in _fmodf
48001 do :
48002 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
48003 if test "x$ac_cv_func__fmodf" = x""yes; then :
48004 cat >>confdefs.h <<_ACEOF
48005 #define HAVE__FMODF 1
48006 _ACEOF
48009 done
48018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
48019 $as_echo_n "checking for frexpf declaration... " >&6; }
48020 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
48021 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
48022 $as_echo_n "(cached) " >&6
48023 else
48026 ac_ext=cpp
48027 ac_cpp='$CXXCPP $CPPFLAGS'
48028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48033 /* end confdefs.h. */
48034 #include <math.h>
48036 main ()
48038 frexpf(0, 0);
48040 return 0;
48042 _ACEOF
48043 if ac_fn_cxx_try_compile "$LINENO"; then :
48044 glibcxx_cv_func_frexpf_use=yes
48045 else
48046 glibcxx_cv_func_frexpf_use=no
48048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48049 ac_ext=c
48050 ac_cpp='$CPP $CPPFLAGS'
48051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
48060 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
48062 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
48063 for ac_func in frexpf
48064 do :
48065 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
48066 if test "x$ac_cv_func_frexpf" = x""yes; then :
48067 cat >>confdefs.h <<_ACEOF
48068 #define HAVE_FREXPF 1
48069 _ACEOF
48072 done
48074 else
48076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
48077 $as_echo_n "checking for _frexpf declaration... " >&6; }
48078 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
48079 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
48080 $as_echo_n "(cached) " >&6
48081 else
48084 ac_ext=cpp
48085 ac_cpp='$CXXCPP $CPPFLAGS'
48086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48091 /* end confdefs.h. */
48092 #include <math.h>
48094 main ()
48096 _frexpf(0, 0);
48098 return 0;
48100 _ACEOF
48101 if ac_fn_cxx_try_compile "$LINENO"; then :
48102 glibcxx_cv_func__frexpf_use=yes
48103 else
48104 glibcxx_cv_func__frexpf_use=no
48106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48107 ac_ext=c
48108 ac_cpp='$CPP $CPPFLAGS'
48109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
48118 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
48120 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
48121 for ac_func in _frexpf
48122 do :
48123 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
48124 if test "x$ac_cv_func__frexpf" = x""yes; then :
48125 cat >>confdefs.h <<_ACEOF
48126 #define HAVE__FREXPF 1
48127 _ACEOF
48130 done
48139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
48140 $as_echo_n "checking for hypotf declaration... " >&6; }
48141 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
48142 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
48143 $as_echo_n "(cached) " >&6
48144 else
48147 ac_ext=cpp
48148 ac_cpp='$CXXCPP $CPPFLAGS'
48149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48154 /* end confdefs.h. */
48155 #include <math.h>
48157 main ()
48159 hypotf(0, 0);
48161 return 0;
48163 _ACEOF
48164 if ac_fn_cxx_try_compile "$LINENO"; then :
48165 glibcxx_cv_func_hypotf_use=yes
48166 else
48167 glibcxx_cv_func_hypotf_use=no
48169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48170 ac_ext=c
48171 ac_cpp='$CPP $CPPFLAGS'
48172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
48181 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
48183 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
48184 for ac_func in hypotf
48185 do :
48186 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
48187 if test "x$ac_cv_func_hypotf" = x""yes; then :
48188 cat >>confdefs.h <<_ACEOF
48189 #define HAVE_HYPOTF 1
48190 _ACEOF
48193 done
48195 else
48197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
48198 $as_echo_n "checking for _hypotf declaration... " >&6; }
48199 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
48200 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
48201 $as_echo_n "(cached) " >&6
48202 else
48205 ac_ext=cpp
48206 ac_cpp='$CXXCPP $CPPFLAGS'
48207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48212 /* end confdefs.h. */
48213 #include <math.h>
48215 main ()
48217 _hypotf(0, 0);
48219 return 0;
48221 _ACEOF
48222 if ac_fn_cxx_try_compile "$LINENO"; then :
48223 glibcxx_cv_func__hypotf_use=yes
48224 else
48225 glibcxx_cv_func__hypotf_use=no
48227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48228 ac_ext=c
48229 ac_cpp='$CPP $CPPFLAGS'
48230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
48239 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
48241 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
48242 for ac_func in _hypotf
48243 do :
48244 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
48245 if test "x$ac_cv_func__hypotf" = x""yes; then :
48246 cat >>confdefs.h <<_ACEOF
48247 #define HAVE__HYPOTF 1
48248 _ACEOF
48251 done
48260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
48261 $as_echo_n "checking for ldexpf declaration... " >&6; }
48262 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
48263 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
48264 $as_echo_n "(cached) " >&6
48265 else
48268 ac_ext=cpp
48269 ac_cpp='$CXXCPP $CPPFLAGS'
48270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48275 /* end confdefs.h. */
48276 #include <math.h>
48278 main ()
48280 ldexpf(0, 0);
48282 return 0;
48284 _ACEOF
48285 if ac_fn_cxx_try_compile "$LINENO"; then :
48286 glibcxx_cv_func_ldexpf_use=yes
48287 else
48288 glibcxx_cv_func_ldexpf_use=no
48290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48291 ac_ext=c
48292 ac_cpp='$CPP $CPPFLAGS'
48293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
48302 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
48304 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
48305 for ac_func in ldexpf
48306 do :
48307 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
48308 if test "x$ac_cv_func_ldexpf" = x""yes; then :
48309 cat >>confdefs.h <<_ACEOF
48310 #define HAVE_LDEXPF 1
48311 _ACEOF
48314 done
48316 else
48318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
48319 $as_echo_n "checking for _ldexpf declaration... " >&6; }
48320 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
48321 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
48322 $as_echo_n "(cached) " >&6
48323 else
48326 ac_ext=cpp
48327 ac_cpp='$CXXCPP $CPPFLAGS'
48328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48333 /* end confdefs.h. */
48334 #include <math.h>
48336 main ()
48338 _ldexpf(0, 0);
48340 return 0;
48342 _ACEOF
48343 if ac_fn_cxx_try_compile "$LINENO"; then :
48344 glibcxx_cv_func__ldexpf_use=yes
48345 else
48346 glibcxx_cv_func__ldexpf_use=no
48348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48349 ac_ext=c
48350 ac_cpp='$CPP $CPPFLAGS'
48351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
48360 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
48362 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
48363 for ac_func in _ldexpf
48364 do :
48365 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
48366 if test "x$ac_cv_func__ldexpf" = x""yes; then :
48367 cat >>confdefs.h <<_ACEOF
48368 #define HAVE__LDEXPF 1
48369 _ACEOF
48372 done
48381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
48382 $as_echo_n "checking for logf declaration... " >&6; }
48383 if test x${glibcxx_cv_func_logf_use+set} != xset; then
48384 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
48385 $as_echo_n "(cached) " >&6
48386 else
48389 ac_ext=cpp
48390 ac_cpp='$CXXCPP $CPPFLAGS'
48391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48396 /* end confdefs.h. */
48397 #include <math.h>
48398 #ifdef HAVE_IEEEFP_H
48399 #include <ieeefp.h>
48400 #endif
48403 main ()
48405 logf(0);
48407 return 0;
48409 _ACEOF
48410 if ac_fn_cxx_try_compile "$LINENO"; then :
48411 glibcxx_cv_func_logf_use=yes
48412 else
48413 glibcxx_cv_func_logf_use=no
48415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48416 ac_ext=c
48417 ac_cpp='$CPP $CPPFLAGS'
48418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
48427 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
48429 if test x$glibcxx_cv_func_logf_use = x"yes"; then
48430 for ac_func in logf
48431 do :
48432 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
48433 if test "x$ac_cv_func_logf" = x""yes; then :
48434 cat >>confdefs.h <<_ACEOF
48435 #define HAVE_LOGF 1
48436 _ACEOF
48439 done
48441 else
48443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
48444 $as_echo_n "checking for _logf declaration... " >&6; }
48445 if test x${glibcxx_cv_func__logf_use+set} != xset; then
48446 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
48447 $as_echo_n "(cached) " >&6
48448 else
48451 ac_ext=cpp
48452 ac_cpp='$CXXCPP $CPPFLAGS'
48453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48458 /* end confdefs.h. */
48459 #include <math.h>
48460 #ifdef HAVE_IEEEFP_H
48461 #include <ieeefp.h>
48462 #endif
48465 main ()
48467 _logf(0);
48469 return 0;
48471 _ACEOF
48472 if ac_fn_cxx_try_compile "$LINENO"; then :
48473 glibcxx_cv_func__logf_use=yes
48474 else
48475 glibcxx_cv_func__logf_use=no
48477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48478 ac_ext=c
48479 ac_cpp='$CPP $CPPFLAGS'
48480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
48489 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
48491 if test x$glibcxx_cv_func__logf_use = x"yes"; then
48492 for ac_func in _logf
48493 do :
48494 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
48495 if test "x$ac_cv_func__logf" = x""yes; then :
48496 cat >>confdefs.h <<_ACEOF
48497 #define HAVE__LOGF 1
48498 _ACEOF
48501 done
48510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
48511 $as_echo_n "checking for log10f declaration... " >&6; }
48512 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
48513 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
48514 $as_echo_n "(cached) " >&6
48515 else
48518 ac_ext=cpp
48519 ac_cpp='$CXXCPP $CPPFLAGS'
48520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48525 /* end confdefs.h. */
48526 #include <math.h>
48527 #ifdef HAVE_IEEEFP_H
48528 #include <ieeefp.h>
48529 #endif
48532 main ()
48534 log10f(0);
48536 return 0;
48538 _ACEOF
48539 if ac_fn_cxx_try_compile "$LINENO"; then :
48540 glibcxx_cv_func_log10f_use=yes
48541 else
48542 glibcxx_cv_func_log10f_use=no
48544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48545 ac_ext=c
48546 ac_cpp='$CPP $CPPFLAGS'
48547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
48556 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
48558 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
48559 for ac_func in log10f
48560 do :
48561 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
48562 if test "x$ac_cv_func_log10f" = x""yes; then :
48563 cat >>confdefs.h <<_ACEOF
48564 #define HAVE_LOG10F 1
48565 _ACEOF
48568 done
48570 else
48572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
48573 $as_echo_n "checking for _log10f declaration... " >&6; }
48574 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
48575 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
48576 $as_echo_n "(cached) " >&6
48577 else
48580 ac_ext=cpp
48581 ac_cpp='$CXXCPP $CPPFLAGS'
48582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48587 /* end confdefs.h. */
48588 #include <math.h>
48589 #ifdef HAVE_IEEEFP_H
48590 #include <ieeefp.h>
48591 #endif
48594 main ()
48596 _log10f(0);
48598 return 0;
48600 _ACEOF
48601 if ac_fn_cxx_try_compile "$LINENO"; then :
48602 glibcxx_cv_func__log10f_use=yes
48603 else
48604 glibcxx_cv_func__log10f_use=no
48606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48607 ac_ext=c
48608 ac_cpp='$CPP $CPPFLAGS'
48609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
48618 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
48620 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
48621 for ac_func in _log10f
48622 do :
48623 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
48624 if test "x$ac_cv_func__log10f" = x""yes; then :
48625 cat >>confdefs.h <<_ACEOF
48626 #define HAVE__LOG10F 1
48627 _ACEOF
48630 done
48639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
48640 $as_echo_n "checking for modff declaration... " >&6; }
48641 if test x${glibcxx_cv_func_modff_use+set} != xset; then
48642 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
48643 $as_echo_n "(cached) " >&6
48644 else
48647 ac_ext=cpp
48648 ac_cpp='$CXXCPP $CPPFLAGS'
48649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48654 /* end confdefs.h. */
48655 #include <math.h>
48657 main ()
48659 modff(0, 0);
48661 return 0;
48663 _ACEOF
48664 if ac_fn_cxx_try_compile "$LINENO"; then :
48665 glibcxx_cv_func_modff_use=yes
48666 else
48667 glibcxx_cv_func_modff_use=no
48669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48670 ac_ext=c
48671 ac_cpp='$CPP $CPPFLAGS'
48672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
48681 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
48683 if test x$glibcxx_cv_func_modff_use = x"yes"; then
48684 for ac_func in modff
48685 do :
48686 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
48687 if test "x$ac_cv_func_modff" = x""yes; then :
48688 cat >>confdefs.h <<_ACEOF
48689 #define HAVE_MODFF 1
48690 _ACEOF
48693 done
48695 else
48697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
48698 $as_echo_n "checking for _modff declaration... " >&6; }
48699 if test x${glibcxx_cv_func__modff_use+set} != xset; then
48700 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
48701 $as_echo_n "(cached) " >&6
48702 else
48705 ac_ext=cpp
48706 ac_cpp='$CXXCPP $CPPFLAGS'
48707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48712 /* end confdefs.h. */
48713 #include <math.h>
48715 main ()
48717 _modff(0, 0);
48719 return 0;
48721 _ACEOF
48722 if ac_fn_cxx_try_compile "$LINENO"; then :
48723 glibcxx_cv_func__modff_use=yes
48724 else
48725 glibcxx_cv_func__modff_use=no
48727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48728 ac_ext=c
48729 ac_cpp='$CPP $CPPFLAGS'
48730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
48739 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
48741 if test x$glibcxx_cv_func__modff_use = x"yes"; then
48742 for ac_func in _modff
48743 do :
48744 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
48745 if test "x$ac_cv_func__modff" = x""yes; then :
48746 cat >>confdefs.h <<_ACEOF
48747 #define HAVE__MODFF 1
48748 _ACEOF
48751 done
48760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
48761 $as_echo_n "checking for modf declaration... " >&6; }
48762 if test x${glibcxx_cv_func_modf_use+set} != xset; then
48763 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
48764 $as_echo_n "(cached) " >&6
48765 else
48768 ac_ext=cpp
48769 ac_cpp='$CXXCPP $CPPFLAGS'
48770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48775 /* end confdefs.h. */
48776 #include <math.h>
48778 main ()
48780 modf(0, 0);
48782 return 0;
48784 _ACEOF
48785 if ac_fn_cxx_try_compile "$LINENO"; then :
48786 glibcxx_cv_func_modf_use=yes
48787 else
48788 glibcxx_cv_func_modf_use=no
48790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48791 ac_ext=c
48792 ac_cpp='$CPP $CPPFLAGS'
48793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
48802 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
48804 if test x$glibcxx_cv_func_modf_use = x"yes"; then
48805 for ac_func in modf
48806 do :
48807 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
48808 if test "x$ac_cv_func_modf" = x""yes; then :
48809 cat >>confdefs.h <<_ACEOF
48810 #define HAVE_MODF 1
48811 _ACEOF
48814 done
48816 else
48818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
48819 $as_echo_n "checking for _modf declaration... " >&6; }
48820 if test x${glibcxx_cv_func__modf_use+set} != xset; then
48821 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
48822 $as_echo_n "(cached) " >&6
48823 else
48826 ac_ext=cpp
48827 ac_cpp='$CXXCPP $CPPFLAGS'
48828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48833 /* end confdefs.h. */
48834 #include <math.h>
48836 main ()
48838 _modf(0, 0);
48840 return 0;
48842 _ACEOF
48843 if ac_fn_cxx_try_compile "$LINENO"; then :
48844 glibcxx_cv_func__modf_use=yes
48845 else
48846 glibcxx_cv_func__modf_use=no
48848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48849 ac_ext=c
48850 ac_cpp='$CPP $CPPFLAGS'
48851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
48860 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
48862 if test x$glibcxx_cv_func__modf_use = x"yes"; then
48863 for ac_func in _modf
48864 do :
48865 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
48866 if test "x$ac_cv_func__modf" = x""yes; then :
48867 cat >>confdefs.h <<_ACEOF
48868 #define HAVE__MODF 1
48869 _ACEOF
48872 done
48881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
48882 $as_echo_n "checking for powf declaration... " >&6; }
48883 if test x${glibcxx_cv_func_powf_use+set} != xset; then
48884 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
48885 $as_echo_n "(cached) " >&6
48886 else
48889 ac_ext=cpp
48890 ac_cpp='$CXXCPP $CPPFLAGS'
48891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48896 /* end confdefs.h. */
48897 #include <math.h>
48899 main ()
48901 powf(0, 0);
48903 return 0;
48905 _ACEOF
48906 if ac_fn_cxx_try_compile "$LINENO"; then :
48907 glibcxx_cv_func_powf_use=yes
48908 else
48909 glibcxx_cv_func_powf_use=no
48911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48912 ac_ext=c
48913 ac_cpp='$CPP $CPPFLAGS'
48914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
48923 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
48925 if test x$glibcxx_cv_func_powf_use = x"yes"; then
48926 for ac_func in powf
48927 do :
48928 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
48929 if test "x$ac_cv_func_powf" = x""yes; then :
48930 cat >>confdefs.h <<_ACEOF
48931 #define HAVE_POWF 1
48932 _ACEOF
48935 done
48937 else
48939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
48940 $as_echo_n "checking for _powf declaration... " >&6; }
48941 if test x${glibcxx_cv_func__powf_use+set} != xset; then
48942 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
48943 $as_echo_n "(cached) " >&6
48944 else
48947 ac_ext=cpp
48948 ac_cpp='$CXXCPP $CPPFLAGS'
48949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48954 /* end confdefs.h. */
48955 #include <math.h>
48957 main ()
48959 _powf(0, 0);
48961 return 0;
48963 _ACEOF
48964 if ac_fn_cxx_try_compile "$LINENO"; then :
48965 glibcxx_cv_func__powf_use=yes
48966 else
48967 glibcxx_cv_func__powf_use=no
48969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48970 ac_ext=c
48971 ac_cpp='$CPP $CPPFLAGS'
48972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
48981 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
48983 if test x$glibcxx_cv_func__powf_use = x"yes"; then
48984 for ac_func in _powf
48985 do :
48986 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
48987 if test "x$ac_cv_func__powf" = x""yes; then :
48988 cat >>confdefs.h <<_ACEOF
48989 #define HAVE__POWF 1
48990 _ACEOF
48993 done
49002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
49003 $as_echo_n "checking for sqrtf declaration... " >&6; }
49004 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
49005 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
49006 $as_echo_n "(cached) " >&6
49007 else
49010 ac_ext=cpp
49011 ac_cpp='$CXXCPP $CPPFLAGS'
49012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49017 /* end confdefs.h. */
49018 #include <math.h>
49019 #ifdef HAVE_IEEEFP_H
49020 #include <ieeefp.h>
49021 #endif
49024 main ()
49026 sqrtf(0);
49028 return 0;
49030 _ACEOF
49031 if ac_fn_cxx_try_compile "$LINENO"; then :
49032 glibcxx_cv_func_sqrtf_use=yes
49033 else
49034 glibcxx_cv_func_sqrtf_use=no
49036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49037 ac_ext=c
49038 ac_cpp='$CPP $CPPFLAGS'
49039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
49048 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
49050 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
49051 for ac_func in sqrtf
49052 do :
49053 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
49054 if test "x$ac_cv_func_sqrtf" = x""yes; then :
49055 cat >>confdefs.h <<_ACEOF
49056 #define HAVE_SQRTF 1
49057 _ACEOF
49060 done
49062 else
49064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
49065 $as_echo_n "checking for _sqrtf declaration... " >&6; }
49066 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
49067 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
49068 $as_echo_n "(cached) " >&6
49069 else
49072 ac_ext=cpp
49073 ac_cpp='$CXXCPP $CPPFLAGS'
49074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49079 /* end confdefs.h. */
49080 #include <math.h>
49081 #ifdef HAVE_IEEEFP_H
49082 #include <ieeefp.h>
49083 #endif
49086 main ()
49088 _sqrtf(0);
49090 return 0;
49092 _ACEOF
49093 if ac_fn_cxx_try_compile "$LINENO"; then :
49094 glibcxx_cv_func__sqrtf_use=yes
49095 else
49096 glibcxx_cv_func__sqrtf_use=no
49098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49099 ac_ext=c
49100 ac_cpp='$CPP $CPPFLAGS'
49101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
49110 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
49112 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
49113 for ac_func in _sqrtf
49114 do :
49115 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
49116 if test "x$ac_cv_func__sqrtf" = x""yes; then :
49117 cat >>confdefs.h <<_ACEOF
49118 #define HAVE__SQRTF 1
49119 _ACEOF
49122 done
49131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
49132 $as_echo_n "checking for sincosf declaration... " >&6; }
49133 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
49134 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
49135 $as_echo_n "(cached) " >&6
49136 else
49139 ac_ext=cpp
49140 ac_cpp='$CXXCPP $CPPFLAGS'
49141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49146 /* end confdefs.h. */
49147 #include <math.h>
49149 main ()
49151 sincosf(0, 0, 0);
49153 return 0;
49155 _ACEOF
49156 if ac_fn_cxx_try_compile "$LINENO"; then :
49157 glibcxx_cv_func_sincosf_use=yes
49158 else
49159 glibcxx_cv_func_sincosf_use=no
49161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49162 ac_ext=c
49163 ac_cpp='$CPP $CPPFLAGS'
49164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
49173 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
49175 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
49176 for ac_func in sincosf
49177 do :
49178 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
49179 if test "x$ac_cv_func_sincosf" = x""yes; then :
49180 cat >>confdefs.h <<_ACEOF
49181 #define HAVE_SINCOSF 1
49182 _ACEOF
49185 done
49187 else
49189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
49190 $as_echo_n "checking for _sincosf declaration... " >&6; }
49191 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
49192 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
49193 $as_echo_n "(cached) " >&6
49194 else
49197 ac_ext=cpp
49198 ac_cpp='$CXXCPP $CPPFLAGS'
49199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49204 /* end confdefs.h. */
49205 #include <math.h>
49207 main ()
49209 _sincosf(0, 0, 0);
49211 return 0;
49213 _ACEOF
49214 if ac_fn_cxx_try_compile "$LINENO"; then :
49215 glibcxx_cv_func__sincosf_use=yes
49216 else
49217 glibcxx_cv_func__sincosf_use=no
49219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49220 ac_ext=c
49221 ac_cpp='$CPP $CPPFLAGS'
49222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
49231 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
49233 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
49234 for ac_func in _sincosf
49235 do :
49236 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
49237 if test "x$ac_cv_func__sincosf" = x""yes; then :
49238 cat >>confdefs.h <<_ACEOF
49239 #define HAVE__SINCOSF 1
49240 _ACEOF
49243 done
49252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
49253 $as_echo_n "checking for finitef declaration... " >&6; }
49254 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
49255 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
49256 $as_echo_n "(cached) " >&6
49257 else
49260 ac_ext=cpp
49261 ac_cpp='$CXXCPP $CPPFLAGS'
49262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49267 /* end confdefs.h. */
49268 #include <math.h>
49269 #ifdef HAVE_IEEEFP_H
49270 #include <ieeefp.h>
49271 #endif
49274 main ()
49276 finitef(0);
49278 return 0;
49280 _ACEOF
49281 if ac_fn_cxx_try_compile "$LINENO"; then :
49282 glibcxx_cv_func_finitef_use=yes
49283 else
49284 glibcxx_cv_func_finitef_use=no
49286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49287 ac_ext=c
49288 ac_cpp='$CPP $CPPFLAGS'
49289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
49298 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
49300 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
49301 for ac_func in finitef
49302 do :
49303 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
49304 if test "x$ac_cv_func_finitef" = x""yes; then :
49305 cat >>confdefs.h <<_ACEOF
49306 #define HAVE_FINITEF 1
49307 _ACEOF
49310 done
49312 else
49314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
49315 $as_echo_n "checking for _finitef declaration... " >&6; }
49316 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
49317 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
49318 $as_echo_n "(cached) " >&6
49319 else
49322 ac_ext=cpp
49323 ac_cpp='$CXXCPP $CPPFLAGS'
49324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49329 /* end confdefs.h. */
49330 #include <math.h>
49331 #ifdef HAVE_IEEEFP_H
49332 #include <ieeefp.h>
49333 #endif
49336 main ()
49338 _finitef(0);
49340 return 0;
49342 _ACEOF
49343 if ac_fn_cxx_try_compile "$LINENO"; then :
49344 glibcxx_cv_func__finitef_use=yes
49345 else
49346 glibcxx_cv_func__finitef_use=no
49348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49349 ac_ext=c
49350 ac_cpp='$CPP $CPPFLAGS'
49351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
49360 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
49362 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
49363 for ac_func in _finitef
49364 do :
49365 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
49366 if test "x$ac_cv_func__finitef" = x""yes; then :
49367 cat >>confdefs.h <<_ACEOF
49368 #define HAVE__FINITEF 1
49369 _ACEOF
49372 done
49381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
49382 $as_echo_n "checking for long double trig functions... " >&6; }
49383 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
49384 $as_echo_n "(cached) " >&6
49385 else
49388 ac_ext=cpp
49389 ac_cpp='$CXXCPP $CPPFLAGS'
49390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49395 /* end confdefs.h. */
49396 #include <math.h>
49398 main ()
49400 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
49402 return 0;
49404 _ACEOF
49405 if ac_fn_cxx_try_compile "$LINENO"; then :
49406 glibcxx_cv_func_long_double_trig_use=yes
49407 else
49408 glibcxx_cv_func_long_double_trig_use=no
49410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49411 ac_ext=c
49412 ac_cpp='$CPP $CPPFLAGS'
49413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
49420 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
49421 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
49422 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
49423 do :
49424 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49425 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49426 eval as_val=\$$as_ac_var
49427 if test "x$as_val" = x""yes; then :
49428 cat >>confdefs.h <<_ACEOF
49429 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49430 _ACEOF
49433 done
49435 else
49436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
49437 $as_echo_n "checking for _long double trig functions... " >&6; }
49438 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
49439 $as_echo_n "(cached) " >&6
49440 else
49443 ac_ext=cpp
49444 ac_cpp='$CXXCPP $CPPFLAGS'
49445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49450 /* end confdefs.h. */
49451 #include <math.h>
49453 main ()
49455 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
49457 return 0;
49459 _ACEOF
49460 if ac_fn_cxx_try_compile "$LINENO"; then :
49461 glibcxx_cv_func__long_double_trig_use=yes
49462 else
49463 glibcxx_cv_func__long_double_trig_use=no
49465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49466 ac_ext=c
49467 ac_cpp='$CPP $CPPFLAGS'
49468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
49475 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
49476 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
49477 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
49478 do :
49479 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49480 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49481 eval as_val=\$$as_ac_var
49482 if test "x$as_val" = x""yes; then :
49483 cat >>confdefs.h <<_ACEOF
49484 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49485 _ACEOF
49488 done
49497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
49498 $as_echo_n "checking for long double round functions... " >&6; }
49499 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
49500 $as_echo_n "(cached) " >&6
49501 else
49504 ac_ext=cpp
49505 ac_cpp='$CXXCPP $CPPFLAGS'
49506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49511 /* end confdefs.h. */
49512 #include <math.h>
49514 main ()
49516 ceill (0); floorl (0);
49518 return 0;
49520 _ACEOF
49521 if ac_fn_cxx_try_compile "$LINENO"; then :
49522 glibcxx_cv_func_long_double_round_use=yes
49523 else
49524 glibcxx_cv_func_long_double_round_use=no
49526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49527 ac_ext=c
49528 ac_cpp='$CPP $CPPFLAGS'
49529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
49536 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
49537 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
49538 for ac_func in ceill floorl
49539 do :
49540 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49541 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49542 eval as_val=\$$as_ac_var
49543 if test "x$as_val" = x""yes; then :
49544 cat >>confdefs.h <<_ACEOF
49545 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49546 _ACEOF
49549 done
49551 else
49552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
49553 $as_echo_n "checking for _long double round functions... " >&6; }
49554 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
49555 $as_echo_n "(cached) " >&6
49556 else
49559 ac_ext=cpp
49560 ac_cpp='$CXXCPP $CPPFLAGS'
49561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49566 /* end confdefs.h. */
49567 #include <math.h>
49569 main ()
49571 _ceill (0); _floorl (0);
49573 return 0;
49575 _ACEOF
49576 if ac_fn_cxx_try_compile "$LINENO"; then :
49577 glibcxx_cv_func__long_double_round_use=yes
49578 else
49579 glibcxx_cv_func__long_double_round_use=no
49581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49582 ac_ext=c
49583 ac_cpp='$CPP $CPPFLAGS'
49584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
49591 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
49592 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
49593 for ac_func in _ceill _floorl
49594 do :
49595 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49596 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49597 eval as_val=\$$as_ac_var
49598 if test "x$as_val" = x""yes; then :
49599 cat >>confdefs.h <<_ACEOF
49600 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49601 _ACEOF
49604 done
49614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
49615 $as_echo_n "checking for isnanl declaration... " >&6; }
49616 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
49617 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
49618 $as_echo_n "(cached) " >&6
49619 else
49622 ac_ext=cpp
49623 ac_cpp='$CXXCPP $CPPFLAGS'
49624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49629 /* end confdefs.h. */
49630 #include <math.h>
49631 #ifdef HAVE_IEEEFP_H
49632 #include <ieeefp.h>
49633 #endif
49636 main ()
49638 isnanl(0);
49640 return 0;
49642 _ACEOF
49643 if ac_fn_cxx_try_compile "$LINENO"; then :
49644 glibcxx_cv_func_isnanl_use=yes
49645 else
49646 glibcxx_cv_func_isnanl_use=no
49648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49649 ac_ext=c
49650 ac_cpp='$CPP $CPPFLAGS'
49651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
49660 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
49662 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
49663 for ac_func in isnanl
49664 do :
49665 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
49666 if test "x$ac_cv_func_isnanl" = x""yes; then :
49667 cat >>confdefs.h <<_ACEOF
49668 #define HAVE_ISNANL 1
49669 _ACEOF
49672 done
49674 else
49676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
49677 $as_echo_n "checking for _isnanl declaration... " >&6; }
49678 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
49679 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
49680 $as_echo_n "(cached) " >&6
49681 else
49684 ac_ext=cpp
49685 ac_cpp='$CXXCPP $CPPFLAGS'
49686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49691 /* end confdefs.h. */
49692 #include <math.h>
49693 #ifdef HAVE_IEEEFP_H
49694 #include <ieeefp.h>
49695 #endif
49698 main ()
49700 _isnanl(0);
49702 return 0;
49704 _ACEOF
49705 if ac_fn_cxx_try_compile "$LINENO"; then :
49706 glibcxx_cv_func__isnanl_use=yes
49707 else
49708 glibcxx_cv_func__isnanl_use=no
49710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49711 ac_ext=c
49712 ac_cpp='$CPP $CPPFLAGS'
49713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
49722 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
49724 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
49725 for ac_func in _isnanl
49726 do :
49727 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
49728 if test "x$ac_cv_func__isnanl" = x""yes; then :
49729 cat >>confdefs.h <<_ACEOF
49730 #define HAVE__ISNANL 1
49731 _ACEOF
49734 done
49743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
49744 $as_echo_n "checking for isinfl declaration... " >&6; }
49745 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
49746 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
49747 $as_echo_n "(cached) " >&6
49748 else
49751 ac_ext=cpp
49752 ac_cpp='$CXXCPP $CPPFLAGS'
49753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49758 /* end confdefs.h. */
49759 #include <math.h>
49760 #ifdef HAVE_IEEEFP_H
49761 #include <ieeefp.h>
49762 #endif
49765 main ()
49767 isinfl(0);
49769 return 0;
49771 _ACEOF
49772 if ac_fn_cxx_try_compile "$LINENO"; then :
49773 glibcxx_cv_func_isinfl_use=yes
49774 else
49775 glibcxx_cv_func_isinfl_use=no
49777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49778 ac_ext=c
49779 ac_cpp='$CPP $CPPFLAGS'
49780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
49789 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
49791 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
49792 for ac_func in isinfl
49793 do :
49794 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
49795 if test "x$ac_cv_func_isinfl" = x""yes; then :
49796 cat >>confdefs.h <<_ACEOF
49797 #define HAVE_ISINFL 1
49798 _ACEOF
49801 done
49803 else
49805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
49806 $as_echo_n "checking for _isinfl declaration... " >&6; }
49807 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
49808 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
49809 $as_echo_n "(cached) " >&6
49810 else
49813 ac_ext=cpp
49814 ac_cpp='$CXXCPP $CPPFLAGS'
49815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49820 /* end confdefs.h. */
49821 #include <math.h>
49822 #ifdef HAVE_IEEEFP_H
49823 #include <ieeefp.h>
49824 #endif
49827 main ()
49829 _isinfl(0);
49831 return 0;
49833 _ACEOF
49834 if ac_fn_cxx_try_compile "$LINENO"; then :
49835 glibcxx_cv_func__isinfl_use=yes
49836 else
49837 glibcxx_cv_func__isinfl_use=no
49839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49840 ac_ext=c
49841 ac_cpp='$CPP $CPPFLAGS'
49842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
49851 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
49853 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
49854 for ac_func in _isinfl
49855 do :
49856 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
49857 if test "x$ac_cv_func__isinfl" = x""yes; then :
49858 cat >>confdefs.h <<_ACEOF
49859 #define HAVE__ISINFL 1
49860 _ACEOF
49863 done
49872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
49873 $as_echo_n "checking for atan2l declaration... " >&6; }
49874 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
49875 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
49876 $as_echo_n "(cached) " >&6
49877 else
49880 ac_ext=cpp
49881 ac_cpp='$CXXCPP $CPPFLAGS'
49882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49887 /* end confdefs.h. */
49888 #include <math.h>
49890 main ()
49892 atan2l(0, 0);
49894 return 0;
49896 _ACEOF
49897 if ac_fn_cxx_try_compile "$LINENO"; then :
49898 glibcxx_cv_func_atan2l_use=yes
49899 else
49900 glibcxx_cv_func_atan2l_use=no
49902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49903 ac_ext=c
49904 ac_cpp='$CPP $CPPFLAGS'
49905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
49914 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
49916 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
49917 for ac_func in atan2l
49918 do :
49919 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
49920 if test "x$ac_cv_func_atan2l" = x""yes; then :
49921 cat >>confdefs.h <<_ACEOF
49922 #define HAVE_ATAN2L 1
49923 _ACEOF
49926 done
49928 else
49930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
49931 $as_echo_n "checking for _atan2l declaration... " >&6; }
49932 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
49933 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
49934 $as_echo_n "(cached) " >&6
49935 else
49938 ac_ext=cpp
49939 ac_cpp='$CXXCPP $CPPFLAGS'
49940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49945 /* end confdefs.h. */
49946 #include <math.h>
49948 main ()
49950 _atan2l(0, 0);
49952 return 0;
49954 _ACEOF
49955 if ac_fn_cxx_try_compile "$LINENO"; then :
49956 glibcxx_cv_func__atan2l_use=yes
49957 else
49958 glibcxx_cv_func__atan2l_use=no
49960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49961 ac_ext=c
49962 ac_cpp='$CPP $CPPFLAGS'
49963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
49972 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
49974 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
49975 for ac_func in _atan2l
49976 do :
49977 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
49978 if test "x$ac_cv_func__atan2l" = x""yes; then :
49979 cat >>confdefs.h <<_ACEOF
49980 #define HAVE__ATAN2L 1
49981 _ACEOF
49984 done
49993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
49994 $as_echo_n "checking for expl declaration... " >&6; }
49995 if test x${glibcxx_cv_func_expl_use+set} != xset; then
49996 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
49997 $as_echo_n "(cached) " >&6
49998 else
50001 ac_ext=cpp
50002 ac_cpp='$CXXCPP $CPPFLAGS'
50003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50008 /* end confdefs.h. */
50009 #include <math.h>
50010 #ifdef HAVE_IEEEFP_H
50011 #include <ieeefp.h>
50012 #endif
50015 main ()
50017 expl(0);
50019 return 0;
50021 _ACEOF
50022 if ac_fn_cxx_try_compile "$LINENO"; then :
50023 glibcxx_cv_func_expl_use=yes
50024 else
50025 glibcxx_cv_func_expl_use=no
50027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50028 ac_ext=c
50029 ac_cpp='$CPP $CPPFLAGS'
50030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
50039 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
50041 if test x$glibcxx_cv_func_expl_use = x"yes"; then
50042 for ac_func in expl
50043 do :
50044 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
50045 if test "x$ac_cv_func_expl" = x""yes; then :
50046 cat >>confdefs.h <<_ACEOF
50047 #define HAVE_EXPL 1
50048 _ACEOF
50051 done
50053 else
50055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
50056 $as_echo_n "checking for _expl declaration... " >&6; }
50057 if test x${glibcxx_cv_func__expl_use+set} != xset; then
50058 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
50059 $as_echo_n "(cached) " >&6
50060 else
50063 ac_ext=cpp
50064 ac_cpp='$CXXCPP $CPPFLAGS'
50065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50070 /* end confdefs.h. */
50071 #include <math.h>
50072 #ifdef HAVE_IEEEFP_H
50073 #include <ieeefp.h>
50074 #endif
50077 main ()
50079 _expl(0);
50081 return 0;
50083 _ACEOF
50084 if ac_fn_cxx_try_compile "$LINENO"; then :
50085 glibcxx_cv_func__expl_use=yes
50086 else
50087 glibcxx_cv_func__expl_use=no
50089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50090 ac_ext=c
50091 ac_cpp='$CPP $CPPFLAGS'
50092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
50101 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
50103 if test x$glibcxx_cv_func__expl_use = x"yes"; then
50104 for ac_func in _expl
50105 do :
50106 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
50107 if test "x$ac_cv_func__expl" = x""yes; then :
50108 cat >>confdefs.h <<_ACEOF
50109 #define HAVE__EXPL 1
50110 _ACEOF
50113 done
50122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
50123 $as_echo_n "checking for fabsl declaration... " >&6; }
50124 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
50125 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
50126 $as_echo_n "(cached) " >&6
50127 else
50130 ac_ext=cpp
50131 ac_cpp='$CXXCPP $CPPFLAGS'
50132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50137 /* end confdefs.h. */
50138 #include <math.h>
50139 #ifdef HAVE_IEEEFP_H
50140 #include <ieeefp.h>
50141 #endif
50144 main ()
50146 fabsl(0);
50148 return 0;
50150 _ACEOF
50151 if ac_fn_cxx_try_compile "$LINENO"; then :
50152 glibcxx_cv_func_fabsl_use=yes
50153 else
50154 glibcxx_cv_func_fabsl_use=no
50156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50157 ac_ext=c
50158 ac_cpp='$CPP $CPPFLAGS'
50159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
50168 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
50170 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
50171 for ac_func in fabsl
50172 do :
50173 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
50174 if test "x$ac_cv_func_fabsl" = x""yes; then :
50175 cat >>confdefs.h <<_ACEOF
50176 #define HAVE_FABSL 1
50177 _ACEOF
50180 done
50182 else
50184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
50185 $as_echo_n "checking for _fabsl declaration... " >&6; }
50186 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
50187 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
50188 $as_echo_n "(cached) " >&6
50189 else
50192 ac_ext=cpp
50193 ac_cpp='$CXXCPP $CPPFLAGS'
50194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50199 /* end confdefs.h. */
50200 #include <math.h>
50201 #ifdef HAVE_IEEEFP_H
50202 #include <ieeefp.h>
50203 #endif
50206 main ()
50208 _fabsl(0);
50210 return 0;
50212 _ACEOF
50213 if ac_fn_cxx_try_compile "$LINENO"; then :
50214 glibcxx_cv_func__fabsl_use=yes
50215 else
50216 glibcxx_cv_func__fabsl_use=no
50218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50219 ac_ext=c
50220 ac_cpp='$CPP $CPPFLAGS'
50221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
50230 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
50232 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
50233 for ac_func in _fabsl
50234 do :
50235 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
50236 if test "x$ac_cv_func__fabsl" = x""yes; then :
50237 cat >>confdefs.h <<_ACEOF
50238 #define HAVE__FABSL 1
50239 _ACEOF
50242 done
50251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
50252 $as_echo_n "checking for fmodl declaration... " >&6; }
50253 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
50254 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
50255 $as_echo_n "(cached) " >&6
50256 else
50259 ac_ext=cpp
50260 ac_cpp='$CXXCPP $CPPFLAGS'
50261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50266 /* end confdefs.h. */
50267 #include <math.h>
50269 main ()
50271 fmodl(0, 0);
50273 return 0;
50275 _ACEOF
50276 if ac_fn_cxx_try_compile "$LINENO"; then :
50277 glibcxx_cv_func_fmodl_use=yes
50278 else
50279 glibcxx_cv_func_fmodl_use=no
50281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50282 ac_ext=c
50283 ac_cpp='$CPP $CPPFLAGS'
50284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
50293 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
50295 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
50296 for ac_func in fmodl
50297 do :
50298 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
50299 if test "x$ac_cv_func_fmodl" = x""yes; then :
50300 cat >>confdefs.h <<_ACEOF
50301 #define HAVE_FMODL 1
50302 _ACEOF
50305 done
50307 else
50309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
50310 $as_echo_n "checking for _fmodl declaration... " >&6; }
50311 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
50312 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
50313 $as_echo_n "(cached) " >&6
50314 else
50317 ac_ext=cpp
50318 ac_cpp='$CXXCPP $CPPFLAGS'
50319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50324 /* end confdefs.h. */
50325 #include <math.h>
50327 main ()
50329 _fmodl(0, 0);
50331 return 0;
50333 _ACEOF
50334 if ac_fn_cxx_try_compile "$LINENO"; then :
50335 glibcxx_cv_func__fmodl_use=yes
50336 else
50337 glibcxx_cv_func__fmodl_use=no
50339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50340 ac_ext=c
50341 ac_cpp='$CPP $CPPFLAGS'
50342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
50351 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
50353 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
50354 for ac_func in _fmodl
50355 do :
50356 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
50357 if test "x$ac_cv_func__fmodl" = x""yes; then :
50358 cat >>confdefs.h <<_ACEOF
50359 #define HAVE__FMODL 1
50360 _ACEOF
50363 done
50372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
50373 $as_echo_n "checking for frexpl declaration... " >&6; }
50374 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
50375 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
50376 $as_echo_n "(cached) " >&6
50377 else
50380 ac_ext=cpp
50381 ac_cpp='$CXXCPP $CPPFLAGS'
50382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50387 /* end confdefs.h. */
50388 #include <math.h>
50390 main ()
50392 frexpl(0, 0);
50394 return 0;
50396 _ACEOF
50397 if ac_fn_cxx_try_compile "$LINENO"; then :
50398 glibcxx_cv_func_frexpl_use=yes
50399 else
50400 glibcxx_cv_func_frexpl_use=no
50402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50403 ac_ext=c
50404 ac_cpp='$CPP $CPPFLAGS'
50405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
50414 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
50416 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
50417 for ac_func in frexpl
50418 do :
50419 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
50420 if test "x$ac_cv_func_frexpl" = x""yes; then :
50421 cat >>confdefs.h <<_ACEOF
50422 #define HAVE_FREXPL 1
50423 _ACEOF
50426 done
50428 else
50430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
50431 $as_echo_n "checking for _frexpl declaration... " >&6; }
50432 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
50433 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
50434 $as_echo_n "(cached) " >&6
50435 else
50438 ac_ext=cpp
50439 ac_cpp='$CXXCPP $CPPFLAGS'
50440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50445 /* end confdefs.h. */
50446 #include <math.h>
50448 main ()
50450 _frexpl(0, 0);
50452 return 0;
50454 _ACEOF
50455 if ac_fn_cxx_try_compile "$LINENO"; then :
50456 glibcxx_cv_func__frexpl_use=yes
50457 else
50458 glibcxx_cv_func__frexpl_use=no
50460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50461 ac_ext=c
50462 ac_cpp='$CPP $CPPFLAGS'
50463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
50472 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
50474 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
50475 for ac_func in _frexpl
50476 do :
50477 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
50478 if test "x$ac_cv_func__frexpl" = x""yes; then :
50479 cat >>confdefs.h <<_ACEOF
50480 #define HAVE__FREXPL 1
50481 _ACEOF
50484 done
50493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
50494 $as_echo_n "checking for hypotl declaration... " >&6; }
50495 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
50496 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
50497 $as_echo_n "(cached) " >&6
50498 else
50501 ac_ext=cpp
50502 ac_cpp='$CXXCPP $CPPFLAGS'
50503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50508 /* end confdefs.h. */
50509 #include <math.h>
50511 main ()
50513 hypotl(0, 0);
50515 return 0;
50517 _ACEOF
50518 if ac_fn_cxx_try_compile "$LINENO"; then :
50519 glibcxx_cv_func_hypotl_use=yes
50520 else
50521 glibcxx_cv_func_hypotl_use=no
50523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50524 ac_ext=c
50525 ac_cpp='$CPP $CPPFLAGS'
50526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
50535 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
50537 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
50538 for ac_func in hypotl
50539 do :
50540 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
50541 if test "x$ac_cv_func_hypotl" = x""yes; then :
50542 cat >>confdefs.h <<_ACEOF
50543 #define HAVE_HYPOTL 1
50544 _ACEOF
50547 done
50549 else
50551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
50552 $as_echo_n "checking for _hypotl declaration... " >&6; }
50553 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
50554 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
50555 $as_echo_n "(cached) " >&6
50556 else
50559 ac_ext=cpp
50560 ac_cpp='$CXXCPP $CPPFLAGS'
50561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50566 /* end confdefs.h. */
50567 #include <math.h>
50569 main ()
50571 _hypotl(0, 0);
50573 return 0;
50575 _ACEOF
50576 if ac_fn_cxx_try_compile "$LINENO"; then :
50577 glibcxx_cv_func__hypotl_use=yes
50578 else
50579 glibcxx_cv_func__hypotl_use=no
50581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50582 ac_ext=c
50583 ac_cpp='$CPP $CPPFLAGS'
50584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
50593 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
50595 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
50596 for ac_func in _hypotl
50597 do :
50598 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
50599 if test "x$ac_cv_func__hypotl" = x""yes; then :
50600 cat >>confdefs.h <<_ACEOF
50601 #define HAVE__HYPOTL 1
50602 _ACEOF
50605 done
50614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
50615 $as_echo_n "checking for ldexpl declaration... " >&6; }
50616 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
50617 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
50618 $as_echo_n "(cached) " >&6
50619 else
50622 ac_ext=cpp
50623 ac_cpp='$CXXCPP $CPPFLAGS'
50624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50629 /* end confdefs.h. */
50630 #include <math.h>
50632 main ()
50634 ldexpl(0, 0);
50636 return 0;
50638 _ACEOF
50639 if ac_fn_cxx_try_compile "$LINENO"; then :
50640 glibcxx_cv_func_ldexpl_use=yes
50641 else
50642 glibcxx_cv_func_ldexpl_use=no
50644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50645 ac_ext=c
50646 ac_cpp='$CPP $CPPFLAGS'
50647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
50656 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
50658 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
50659 for ac_func in ldexpl
50660 do :
50661 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
50662 if test "x$ac_cv_func_ldexpl" = x""yes; then :
50663 cat >>confdefs.h <<_ACEOF
50664 #define HAVE_LDEXPL 1
50665 _ACEOF
50668 done
50670 else
50672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
50673 $as_echo_n "checking for _ldexpl declaration... " >&6; }
50674 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
50675 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
50676 $as_echo_n "(cached) " >&6
50677 else
50680 ac_ext=cpp
50681 ac_cpp='$CXXCPP $CPPFLAGS'
50682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50687 /* end confdefs.h. */
50688 #include <math.h>
50690 main ()
50692 _ldexpl(0, 0);
50694 return 0;
50696 _ACEOF
50697 if ac_fn_cxx_try_compile "$LINENO"; then :
50698 glibcxx_cv_func__ldexpl_use=yes
50699 else
50700 glibcxx_cv_func__ldexpl_use=no
50702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50703 ac_ext=c
50704 ac_cpp='$CPP $CPPFLAGS'
50705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
50714 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
50716 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
50717 for ac_func in _ldexpl
50718 do :
50719 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
50720 if test "x$ac_cv_func__ldexpl" = x""yes; then :
50721 cat >>confdefs.h <<_ACEOF
50722 #define HAVE__LDEXPL 1
50723 _ACEOF
50726 done
50735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
50736 $as_echo_n "checking for logl declaration... " >&6; }
50737 if test x${glibcxx_cv_func_logl_use+set} != xset; then
50738 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
50739 $as_echo_n "(cached) " >&6
50740 else
50743 ac_ext=cpp
50744 ac_cpp='$CXXCPP $CPPFLAGS'
50745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50750 /* end confdefs.h. */
50751 #include <math.h>
50752 #ifdef HAVE_IEEEFP_H
50753 #include <ieeefp.h>
50754 #endif
50757 main ()
50759 logl(0);
50761 return 0;
50763 _ACEOF
50764 if ac_fn_cxx_try_compile "$LINENO"; then :
50765 glibcxx_cv_func_logl_use=yes
50766 else
50767 glibcxx_cv_func_logl_use=no
50769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50770 ac_ext=c
50771 ac_cpp='$CPP $CPPFLAGS'
50772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
50781 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
50783 if test x$glibcxx_cv_func_logl_use = x"yes"; then
50784 for ac_func in logl
50785 do :
50786 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
50787 if test "x$ac_cv_func_logl" = x""yes; then :
50788 cat >>confdefs.h <<_ACEOF
50789 #define HAVE_LOGL 1
50790 _ACEOF
50793 done
50795 else
50797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
50798 $as_echo_n "checking for _logl declaration... " >&6; }
50799 if test x${glibcxx_cv_func__logl_use+set} != xset; then
50800 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
50801 $as_echo_n "(cached) " >&6
50802 else
50805 ac_ext=cpp
50806 ac_cpp='$CXXCPP $CPPFLAGS'
50807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50812 /* end confdefs.h. */
50813 #include <math.h>
50814 #ifdef HAVE_IEEEFP_H
50815 #include <ieeefp.h>
50816 #endif
50819 main ()
50821 _logl(0);
50823 return 0;
50825 _ACEOF
50826 if ac_fn_cxx_try_compile "$LINENO"; then :
50827 glibcxx_cv_func__logl_use=yes
50828 else
50829 glibcxx_cv_func__logl_use=no
50831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50832 ac_ext=c
50833 ac_cpp='$CPP $CPPFLAGS'
50834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
50843 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
50845 if test x$glibcxx_cv_func__logl_use = x"yes"; then
50846 for ac_func in _logl
50847 do :
50848 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
50849 if test "x$ac_cv_func__logl" = x""yes; then :
50850 cat >>confdefs.h <<_ACEOF
50851 #define HAVE__LOGL 1
50852 _ACEOF
50855 done
50864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
50865 $as_echo_n "checking for log10l declaration... " >&6; }
50866 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
50867 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
50868 $as_echo_n "(cached) " >&6
50869 else
50872 ac_ext=cpp
50873 ac_cpp='$CXXCPP $CPPFLAGS'
50874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50879 /* end confdefs.h. */
50880 #include <math.h>
50881 #ifdef HAVE_IEEEFP_H
50882 #include <ieeefp.h>
50883 #endif
50886 main ()
50888 log10l(0);
50890 return 0;
50892 _ACEOF
50893 if ac_fn_cxx_try_compile "$LINENO"; then :
50894 glibcxx_cv_func_log10l_use=yes
50895 else
50896 glibcxx_cv_func_log10l_use=no
50898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50899 ac_ext=c
50900 ac_cpp='$CPP $CPPFLAGS'
50901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
50910 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
50912 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
50913 for ac_func in log10l
50914 do :
50915 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
50916 if test "x$ac_cv_func_log10l" = x""yes; then :
50917 cat >>confdefs.h <<_ACEOF
50918 #define HAVE_LOG10L 1
50919 _ACEOF
50922 done
50924 else
50926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
50927 $as_echo_n "checking for _log10l declaration... " >&6; }
50928 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
50929 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
50930 $as_echo_n "(cached) " >&6
50931 else
50934 ac_ext=cpp
50935 ac_cpp='$CXXCPP $CPPFLAGS'
50936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50941 /* end confdefs.h. */
50942 #include <math.h>
50943 #ifdef HAVE_IEEEFP_H
50944 #include <ieeefp.h>
50945 #endif
50948 main ()
50950 _log10l(0);
50952 return 0;
50954 _ACEOF
50955 if ac_fn_cxx_try_compile "$LINENO"; then :
50956 glibcxx_cv_func__log10l_use=yes
50957 else
50958 glibcxx_cv_func__log10l_use=no
50960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50961 ac_ext=c
50962 ac_cpp='$CPP $CPPFLAGS'
50963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
50972 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
50974 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
50975 for ac_func in _log10l
50976 do :
50977 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
50978 if test "x$ac_cv_func__log10l" = x""yes; then :
50979 cat >>confdefs.h <<_ACEOF
50980 #define HAVE__LOG10L 1
50981 _ACEOF
50984 done
50993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
50994 $as_echo_n "checking for modfl declaration... " >&6; }
50995 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
50996 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
50997 $as_echo_n "(cached) " >&6
50998 else
51001 ac_ext=cpp
51002 ac_cpp='$CXXCPP $CPPFLAGS'
51003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51008 /* end confdefs.h. */
51009 #include <math.h>
51011 main ()
51013 modfl(0, 0);
51015 return 0;
51017 _ACEOF
51018 if ac_fn_cxx_try_compile "$LINENO"; then :
51019 glibcxx_cv_func_modfl_use=yes
51020 else
51021 glibcxx_cv_func_modfl_use=no
51023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51024 ac_ext=c
51025 ac_cpp='$CPP $CPPFLAGS'
51026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
51035 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
51037 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
51038 for ac_func in modfl
51039 do :
51040 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
51041 if test "x$ac_cv_func_modfl" = x""yes; then :
51042 cat >>confdefs.h <<_ACEOF
51043 #define HAVE_MODFL 1
51044 _ACEOF
51047 done
51049 else
51051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
51052 $as_echo_n "checking for _modfl declaration... " >&6; }
51053 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
51054 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
51055 $as_echo_n "(cached) " >&6
51056 else
51059 ac_ext=cpp
51060 ac_cpp='$CXXCPP $CPPFLAGS'
51061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51066 /* end confdefs.h. */
51067 #include <math.h>
51069 main ()
51071 _modfl(0, 0);
51073 return 0;
51075 _ACEOF
51076 if ac_fn_cxx_try_compile "$LINENO"; then :
51077 glibcxx_cv_func__modfl_use=yes
51078 else
51079 glibcxx_cv_func__modfl_use=no
51081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51082 ac_ext=c
51083 ac_cpp='$CPP $CPPFLAGS'
51084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
51093 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
51095 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
51096 for ac_func in _modfl
51097 do :
51098 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
51099 if test "x$ac_cv_func__modfl" = x""yes; then :
51100 cat >>confdefs.h <<_ACEOF
51101 #define HAVE__MODFL 1
51102 _ACEOF
51105 done
51114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
51115 $as_echo_n "checking for powl declaration... " >&6; }
51116 if test x${glibcxx_cv_func_powl_use+set} != xset; then
51117 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
51118 $as_echo_n "(cached) " >&6
51119 else
51122 ac_ext=cpp
51123 ac_cpp='$CXXCPP $CPPFLAGS'
51124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51129 /* end confdefs.h. */
51130 #include <math.h>
51132 main ()
51134 powl(0, 0);
51136 return 0;
51138 _ACEOF
51139 if ac_fn_cxx_try_compile "$LINENO"; then :
51140 glibcxx_cv_func_powl_use=yes
51141 else
51142 glibcxx_cv_func_powl_use=no
51144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51145 ac_ext=c
51146 ac_cpp='$CPP $CPPFLAGS'
51147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
51156 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
51158 if test x$glibcxx_cv_func_powl_use = x"yes"; then
51159 for ac_func in powl
51160 do :
51161 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
51162 if test "x$ac_cv_func_powl" = x""yes; then :
51163 cat >>confdefs.h <<_ACEOF
51164 #define HAVE_POWL 1
51165 _ACEOF
51168 done
51170 else
51172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
51173 $as_echo_n "checking for _powl declaration... " >&6; }
51174 if test x${glibcxx_cv_func__powl_use+set} != xset; then
51175 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
51176 $as_echo_n "(cached) " >&6
51177 else
51180 ac_ext=cpp
51181 ac_cpp='$CXXCPP $CPPFLAGS'
51182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51187 /* end confdefs.h. */
51188 #include <math.h>
51190 main ()
51192 _powl(0, 0);
51194 return 0;
51196 _ACEOF
51197 if ac_fn_cxx_try_compile "$LINENO"; then :
51198 glibcxx_cv_func__powl_use=yes
51199 else
51200 glibcxx_cv_func__powl_use=no
51202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51203 ac_ext=c
51204 ac_cpp='$CPP $CPPFLAGS'
51205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
51214 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
51216 if test x$glibcxx_cv_func__powl_use = x"yes"; then
51217 for ac_func in _powl
51218 do :
51219 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
51220 if test "x$ac_cv_func__powl" = x""yes; then :
51221 cat >>confdefs.h <<_ACEOF
51222 #define HAVE__POWL 1
51223 _ACEOF
51226 done
51235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
51236 $as_echo_n "checking for sqrtl declaration... " >&6; }
51237 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
51238 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
51239 $as_echo_n "(cached) " >&6
51240 else
51243 ac_ext=cpp
51244 ac_cpp='$CXXCPP $CPPFLAGS'
51245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51250 /* end confdefs.h. */
51251 #include <math.h>
51252 #ifdef HAVE_IEEEFP_H
51253 #include <ieeefp.h>
51254 #endif
51257 main ()
51259 sqrtl(0);
51261 return 0;
51263 _ACEOF
51264 if ac_fn_cxx_try_compile "$LINENO"; then :
51265 glibcxx_cv_func_sqrtl_use=yes
51266 else
51267 glibcxx_cv_func_sqrtl_use=no
51269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51270 ac_ext=c
51271 ac_cpp='$CPP $CPPFLAGS'
51272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
51281 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
51283 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
51284 for ac_func in sqrtl
51285 do :
51286 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
51287 if test "x$ac_cv_func_sqrtl" = x""yes; then :
51288 cat >>confdefs.h <<_ACEOF
51289 #define HAVE_SQRTL 1
51290 _ACEOF
51293 done
51295 else
51297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
51298 $as_echo_n "checking for _sqrtl declaration... " >&6; }
51299 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
51300 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
51301 $as_echo_n "(cached) " >&6
51302 else
51305 ac_ext=cpp
51306 ac_cpp='$CXXCPP $CPPFLAGS'
51307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51312 /* end confdefs.h. */
51313 #include <math.h>
51314 #ifdef HAVE_IEEEFP_H
51315 #include <ieeefp.h>
51316 #endif
51319 main ()
51321 _sqrtl(0);
51323 return 0;
51325 _ACEOF
51326 if ac_fn_cxx_try_compile "$LINENO"; then :
51327 glibcxx_cv_func__sqrtl_use=yes
51328 else
51329 glibcxx_cv_func__sqrtl_use=no
51331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51332 ac_ext=c
51333 ac_cpp='$CPP $CPPFLAGS'
51334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
51343 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
51345 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
51346 for ac_func in _sqrtl
51347 do :
51348 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
51349 if test "x$ac_cv_func__sqrtl" = x""yes; then :
51350 cat >>confdefs.h <<_ACEOF
51351 #define HAVE__SQRTL 1
51352 _ACEOF
51355 done
51364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
51365 $as_echo_n "checking for sincosl declaration... " >&6; }
51366 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
51367 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
51368 $as_echo_n "(cached) " >&6
51369 else
51372 ac_ext=cpp
51373 ac_cpp='$CXXCPP $CPPFLAGS'
51374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51379 /* end confdefs.h. */
51380 #include <math.h>
51382 main ()
51384 sincosl(0, 0, 0);
51386 return 0;
51388 _ACEOF
51389 if ac_fn_cxx_try_compile "$LINENO"; then :
51390 glibcxx_cv_func_sincosl_use=yes
51391 else
51392 glibcxx_cv_func_sincosl_use=no
51394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51395 ac_ext=c
51396 ac_cpp='$CPP $CPPFLAGS'
51397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
51406 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
51408 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
51409 for ac_func in sincosl
51410 do :
51411 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
51412 if test "x$ac_cv_func_sincosl" = x""yes; then :
51413 cat >>confdefs.h <<_ACEOF
51414 #define HAVE_SINCOSL 1
51415 _ACEOF
51418 done
51420 else
51422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
51423 $as_echo_n "checking for _sincosl declaration... " >&6; }
51424 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
51425 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
51426 $as_echo_n "(cached) " >&6
51427 else
51430 ac_ext=cpp
51431 ac_cpp='$CXXCPP $CPPFLAGS'
51432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51437 /* end confdefs.h. */
51438 #include <math.h>
51440 main ()
51442 _sincosl(0, 0, 0);
51444 return 0;
51446 _ACEOF
51447 if ac_fn_cxx_try_compile "$LINENO"; then :
51448 glibcxx_cv_func__sincosl_use=yes
51449 else
51450 glibcxx_cv_func__sincosl_use=no
51452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51453 ac_ext=c
51454 ac_cpp='$CPP $CPPFLAGS'
51455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
51464 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
51466 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
51467 for ac_func in _sincosl
51468 do :
51469 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
51470 if test "x$ac_cv_func__sincosl" = x""yes; then :
51471 cat >>confdefs.h <<_ACEOF
51472 #define HAVE__SINCOSL 1
51473 _ACEOF
51476 done
51485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
51486 $as_echo_n "checking for finitel declaration... " >&6; }
51487 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
51488 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
51489 $as_echo_n "(cached) " >&6
51490 else
51493 ac_ext=cpp
51494 ac_cpp='$CXXCPP $CPPFLAGS'
51495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51500 /* end confdefs.h. */
51501 #include <math.h>
51502 #ifdef HAVE_IEEEFP_H
51503 #include <ieeefp.h>
51504 #endif
51507 main ()
51509 finitel(0);
51511 return 0;
51513 _ACEOF
51514 if ac_fn_cxx_try_compile "$LINENO"; then :
51515 glibcxx_cv_func_finitel_use=yes
51516 else
51517 glibcxx_cv_func_finitel_use=no
51519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51520 ac_ext=c
51521 ac_cpp='$CPP $CPPFLAGS'
51522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
51531 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
51533 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
51534 for ac_func in finitel
51535 do :
51536 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
51537 if test "x$ac_cv_func_finitel" = x""yes; then :
51538 cat >>confdefs.h <<_ACEOF
51539 #define HAVE_FINITEL 1
51540 _ACEOF
51543 done
51545 else
51547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
51548 $as_echo_n "checking for _finitel declaration... " >&6; }
51549 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
51550 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
51551 $as_echo_n "(cached) " >&6
51552 else
51555 ac_ext=cpp
51556 ac_cpp='$CXXCPP $CPPFLAGS'
51557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51562 /* end confdefs.h. */
51563 #include <math.h>
51564 #ifdef HAVE_IEEEFP_H
51565 #include <ieeefp.h>
51566 #endif
51569 main ()
51571 _finitel(0);
51573 return 0;
51575 _ACEOF
51576 if ac_fn_cxx_try_compile "$LINENO"; then :
51577 glibcxx_cv_func__finitel_use=yes
51578 else
51579 glibcxx_cv_func__finitel_use=no
51581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51582 ac_ext=c
51583 ac_cpp='$CPP $CPPFLAGS'
51584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
51593 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
51595 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
51596 for ac_func in _finitel
51597 do :
51598 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
51599 if test "x$ac_cv_func__finitel" = x""yes; then :
51600 cat >>confdefs.h <<_ACEOF
51601 #define HAVE__FINITEL 1
51602 _ACEOF
51605 done
51613 LIBS="$ac_save_LIBS"
51614 CXXFLAGS="$ac_save_CXXFLAGS"
51617 ac_test_CXXFLAGS="${CXXFLAGS+set}"
51618 ac_save_CXXFLAGS="$CXXFLAGS"
51619 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
51622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
51623 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
51624 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
51625 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
51626 $as_echo_n "(cached) " >&6
51627 else
51630 ac_ext=cpp
51631 ac_cpp='$CXXCPP $CPPFLAGS'
51632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51637 /* end confdefs.h. */
51638 #include <stdlib.h>
51640 main ()
51642 at_quick_exit(0);
51644 return 0;
51646 _ACEOF
51647 if ac_fn_cxx_try_compile "$LINENO"; then :
51648 glibcxx_cv_func_at_quick_exit_use=yes
51649 else
51650 glibcxx_cv_func_at_quick_exit_use=no
51652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51653 ac_ext=c
51654 ac_cpp='$CPP $CPPFLAGS'
51655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
51664 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
51665 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
51666 for ac_func in at_quick_exit
51667 do :
51668 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
51669 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
51670 cat >>confdefs.h <<_ACEOF
51671 #define HAVE_AT_QUICK_EXIT 1
51672 _ACEOF
51675 done
51680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
51681 $as_echo_n "checking for quick_exit declaration... " >&6; }
51682 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
51683 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
51684 $as_echo_n "(cached) " >&6
51685 else
51688 ac_ext=cpp
51689 ac_cpp='$CXXCPP $CPPFLAGS'
51690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51695 /* end confdefs.h. */
51696 #include <stdlib.h>
51698 main ()
51700 quick_exit(0);
51702 return 0;
51704 _ACEOF
51705 if ac_fn_cxx_try_compile "$LINENO"; then :
51706 glibcxx_cv_func_quick_exit_use=yes
51707 else
51708 glibcxx_cv_func_quick_exit_use=no
51710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51711 ac_ext=c
51712 ac_cpp='$CPP $CPPFLAGS'
51713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
51722 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
51723 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
51724 for ac_func in quick_exit
51725 do :
51726 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
51727 if test "x$ac_cv_func_quick_exit" = x""yes; then :
51728 cat >>confdefs.h <<_ACEOF
51729 #define HAVE_QUICK_EXIT 1
51730 _ACEOF
51733 done
51738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
51739 $as_echo_n "checking for strtold declaration... " >&6; }
51740 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
51741 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
51742 $as_echo_n "(cached) " >&6
51743 else
51746 ac_ext=cpp
51747 ac_cpp='$CXXCPP $CPPFLAGS'
51748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51753 /* end confdefs.h. */
51754 #include <stdlib.h>
51756 main ()
51758 strtold(0, 0);
51760 return 0;
51762 _ACEOF
51763 if ac_fn_cxx_try_compile "$LINENO"; then :
51764 glibcxx_cv_func_strtold_use=yes
51765 else
51766 glibcxx_cv_func_strtold_use=no
51768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51769 ac_ext=c
51770 ac_cpp='$CPP $CPPFLAGS'
51771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
51780 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
51781 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
51782 for ac_func in strtold
51783 do :
51784 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
51785 if test "x$ac_cv_func_strtold" = x""yes; then :
51786 cat >>confdefs.h <<_ACEOF
51787 #define HAVE_STRTOLD 1
51788 _ACEOF
51791 done
51798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
51799 $as_echo_n "checking for strtof declaration... " >&6; }
51800 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
51801 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
51802 $as_echo_n "(cached) " >&6
51803 else
51806 ac_ext=cpp
51807 ac_cpp='$CXXCPP $CPPFLAGS'
51808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51813 /* end confdefs.h. */
51814 #include <stdlib.h>
51816 main ()
51818 strtof(0, 0);
51820 return 0;
51822 _ACEOF
51823 if ac_fn_cxx_try_compile "$LINENO"; then :
51824 glibcxx_cv_func_strtof_use=yes
51825 else
51826 glibcxx_cv_func_strtof_use=no
51828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51829 ac_ext=c
51830 ac_cpp='$CPP $CPPFLAGS'
51831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
51840 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
51841 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
51842 for ac_func in strtof
51843 do :
51844 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
51845 if test "x$ac_cv_func_strtof" = x""yes; then :
51846 cat >>confdefs.h <<_ACEOF
51847 #define HAVE_STRTOF 1
51848 _ACEOF
51851 done
51858 CXXFLAGS="$ac_save_CXXFLAGS"
51862 *djgpp)
51863 # GLIBCXX_CHECK_MATH_SUPPORT
51864 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
51866 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
51868 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
51870 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
51872 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
51876 *-freebsd*)
51877 SECTION_FLAGS='-ffunction-sections -fdata-sections'
51880 # If we're not using GNU ld, then there's no point in even trying these
51881 # tests. Check for that first. We should have already tested for gld
51882 # by now (in libtool), but require it now just to be safe...
51883 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
51884 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
51888 # The name set by libtool depends on the version of libtool. Shame on us
51889 # for depending on an impl detail, but c'est la vie. Older versions used
51890 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
51891 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
51892 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
51893 # set (hence we're using an older libtool), then set it.
51894 if test x${with_gnu_ld+set} != xset; then
51895 if test x${ac_cv_prog_gnu_ld+set} != xset; then
51896 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
51897 with_gnu_ld=no
51898 else
51899 with_gnu_ld=$ac_cv_prog_gnu_ld
51903 # Start by getting the version number. I think the libtool test already
51904 # does some of this, but throws away the result.
51905 glibcxx_ld_is_gold=no
51906 if test x"$with_gnu_ld" = x"yes"; then
51907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
51908 $as_echo_n "checking for ld version... " >&6; }
51910 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
51911 glibcxx_ld_is_gold=yes
51913 ldver=`$LD --version 2>/dev/null |
51914 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'`
51916 glibcxx_gnu_ld_version=`echo $ldver | \
51917 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
51918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
51919 $as_echo "$glibcxx_gnu_ld_version" >&6; }
51922 # Set --gc-sections.
51923 glibcxx_have_gc_sections=no
51924 if test "$glibcxx_ld_is_gold" = "yes"; then
51925 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
51926 glibcxx_have_gc_sections=yes
51928 else
51929 glibcxx_gcsections_min_ld=21602
51930 if test x"$with_gnu_ld" = x"yes" &&
51931 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
51932 glibcxx_have_gc_sections=yes
51935 if test "$glibcxx_have_gc_sections" = "yes"; then
51936 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
51937 # NB: This flag only works reliably after 2.16.1. Configure tests
51938 # for this are difficult, so hard wire a value that should work.
51940 ac_test_CFLAGS="${CFLAGS+set}"
51941 ac_save_CFLAGS="$CFLAGS"
51942 CFLAGS='-Wl,--gc-sections'
51944 # Check for -Wl,--gc-sections
51945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
51946 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
51947 if test x$gcc_no_link = xyes; then
51948 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51951 /* end confdefs.h. */
51952 int one(void) { return 1; }
51953 int two(void) { return 2; }
51956 main ()
51958 two();
51960 return 0;
51962 _ACEOF
51963 if ac_fn_c_try_link "$LINENO"; then :
51964 ac_gcsections=yes
51965 else
51966 ac_gcsections=no
51968 rm -f core conftest.err conftest.$ac_objext \
51969 conftest$ac_exeext conftest.$ac_ext
51970 if test "$ac_gcsections" = "yes"; then
51971 rm -f conftest.c
51972 touch conftest.c
51973 if $CC -c conftest.c; then
51974 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
51975 grep "Warning: gc-sections option ignored" > /dev/null; then
51976 ac_gcsections=no
51979 rm -f conftest.c conftest.o conftest
51981 if test "$ac_gcsections" = "yes"; then
51982 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
51984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
51985 $as_echo "$ac_gcsections" >&6; }
51987 if test "$ac_test_CFLAGS" = set; then
51988 CFLAGS="$ac_save_CFLAGS"
51989 else
51990 # this is the suspicious part
51991 CFLAGS=''
51995 # Set -z,relro.
51996 # Note this is only for shared objects.
51997 ac_ld_relro=no
51998 if test x"$with_gnu_ld" = x"yes"; then
51999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
52000 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
52001 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
52002 if test -n "$cxx_z_relo"; then
52003 OPT_LDFLAGS="-Wl,-z,relro"
52004 ac_ld_relro=yes
52006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
52007 $as_echo "$ac_ld_relro" >&6; }
52010 # Set linker optimization flags.
52011 if test x"$with_gnu_ld" = x"yes"; then
52012 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
52018 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
52020 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
52022 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
52024 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
52026 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
52028 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
52030 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
52032 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
52034 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
52037 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
52039 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
52041 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
52043 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
52045 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
52047 $as_echo "#define HAVE_COSF 1" >>confdefs.h
52049 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
52051 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
52053 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
52055 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
52057 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
52059 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
52061 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
52063 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
52065 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
52067 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
52069 $as_echo "#define HAVE_POWF 1" >>confdefs.h
52071 $as_echo "#define HAVE_SINF 1" >>confdefs.h
52073 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
52075 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
52077 $as_echo "#define HAVE_TANF 1" >>confdefs.h
52079 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
52081 if test x"long_double_math_on_this_cpu" = x"yes"; then
52082 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
52084 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
52086 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
52090 *-hpux*)
52091 SECTION_FLAGS='-ffunction-sections -fdata-sections'
52094 # If we're not using GNU ld, then there's no point in even trying these
52095 # tests. Check for that first. We should have already tested for gld
52096 # by now (in libtool), but require it now just to be safe...
52097 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
52098 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
52102 # The name set by libtool depends on the version of libtool. Shame on us
52103 # for depending on an impl detail, but c'est la vie. Older versions used
52104 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
52105 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
52106 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
52107 # set (hence we're using an older libtool), then set it.
52108 if test x${with_gnu_ld+set} != xset; then
52109 if test x${ac_cv_prog_gnu_ld+set} != xset; then
52110 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
52111 with_gnu_ld=no
52112 else
52113 with_gnu_ld=$ac_cv_prog_gnu_ld
52117 # Start by getting the version number. I think the libtool test already
52118 # does some of this, but throws away the result.
52119 glibcxx_ld_is_gold=no
52120 if test x"$with_gnu_ld" = x"yes"; then
52121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
52122 $as_echo_n "checking for ld version... " >&6; }
52124 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
52125 glibcxx_ld_is_gold=yes
52127 ldver=`$LD --version 2>/dev/null |
52128 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'`
52130 glibcxx_gnu_ld_version=`echo $ldver | \
52131 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
52132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
52133 $as_echo "$glibcxx_gnu_ld_version" >&6; }
52136 # Set --gc-sections.
52137 glibcxx_have_gc_sections=no
52138 if test "$glibcxx_ld_is_gold" = "yes"; then
52139 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
52140 glibcxx_have_gc_sections=yes
52142 else
52143 glibcxx_gcsections_min_ld=21602
52144 if test x"$with_gnu_ld" = x"yes" &&
52145 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
52146 glibcxx_have_gc_sections=yes
52149 if test "$glibcxx_have_gc_sections" = "yes"; then
52150 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
52151 # NB: This flag only works reliably after 2.16.1. Configure tests
52152 # for this are difficult, so hard wire a value that should work.
52154 ac_test_CFLAGS="${CFLAGS+set}"
52155 ac_save_CFLAGS="$CFLAGS"
52156 CFLAGS='-Wl,--gc-sections'
52158 # Check for -Wl,--gc-sections
52159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
52160 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
52161 if test x$gcc_no_link = xyes; then
52162 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52165 /* end confdefs.h. */
52166 int one(void) { return 1; }
52167 int two(void) { return 2; }
52170 main ()
52172 two();
52174 return 0;
52176 _ACEOF
52177 if ac_fn_c_try_link "$LINENO"; then :
52178 ac_gcsections=yes
52179 else
52180 ac_gcsections=no
52182 rm -f core conftest.err conftest.$ac_objext \
52183 conftest$ac_exeext conftest.$ac_ext
52184 if test "$ac_gcsections" = "yes"; then
52185 rm -f conftest.c
52186 touch conftest.c
52187 if $CC -c conftest.c; then
52188 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
52189 grep "Warning: gc-sections option ignored" > /dev/null; then
52190 ac_gcsections=no
52193 rm -f conftest.c conftest.o conftest
52195 if test "$ac_gcsections" = "yes"; then
52196 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
52198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
52199 $as_echo "$ac_gcsections" >&6; }
52201 if test "$ac_test_CFLAGS" = set; then
52202 CFLAGS="$ac_save_CFLAGS"
52203 else
52204 # this is the suspicious part
52205 CFLAGS=''
52209 # Set -z,relro.
52210 # Note this is only for shared objects.
52211 ac_ld_relro=no
52212 if test x"$with_gnu_ld" = x"yes"; then
52213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
52214 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
52215 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
52216 if test -n "$cxx_z_relo"; then
52217 OPT_LDFLAGS="-Wl,-z,relro"
52218 ac_ld_relro=yes
52220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
52221 $as_echo "$ac_ld_relro" >&6; }
52224 # Set linker optimization flags.
52225 if test x"$with_gnu_ld" = x"yes"; then
52226 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
52233 # GLIBCXX_CHECK_MATH_SUPPORT
52234 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
52236 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
52238 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
52240 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
52242 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
52244 $as_echo "#define HAVE_COSF 1" >>confdefs.h
52246 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
52248 $as_echo "#define HAVE_SINF 1" >>confdefs.h
52250 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
52252 $as_echo "#define HAVE_TANF 1" >>confdefs.h
52254 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
52256 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
52258 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
52260 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
52262 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
52264 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
52266 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
52268 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
52270 $as_echo "#define HAVE_MODF 1" >>confdefs.h
52272 $as_echo "#define HAVE_POWF 1" >>confdefs.h
52274 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
52277 # GLIBCXX_CHECK_STDLIB_SUPPORT
52278 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
52283 # Check whether --enable-tls was given.
52284 if test "${enable_tls+set}" = set; then :
52285 enableval=$enable_tls;
52286 case "$enableval" in
52287 yes|no) ;;
52288 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
52289 esac
52291 else
52292 enable_tls=yes
52296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
52297 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
52298 if test "${gcc_cv_have_tls+set}" = set; then :
52299 $as_echo_n "(cached) " >&6
52300 else
52302 if test "$cross_compiling" = yes; then :
52303 if test x$gcc_no_link = xyes; then
52304 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52307 /* end confdefs.h. */
52308 __thread int a; int b; int main() { return a = b; }
52309 _ACEOF
52310 if ac_fn_c_try_link "$LINENO"; then :
52311 chktls_save_LDFLAGS="$LDFLAGS"
52312 case $host in
52313 *-*-linux*)
52314 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
52316 esac
52317 chktls_save_CFLAGS="$CFLAGS"
52318 CFLAGS="-fPIC $CFLAGS"
52319 if test x$gcc_no_link = xyes; then
52320 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52323 /* end confdefs.h. */
52324 int f() { return 0; }
52325 _ACEOF
52326 if ac_fn_c_try_link "$LINENO"; then :
52327 if test x$gcc_no_link = xyes; then
52328 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52331 /* end confdefs.h. */
52332 __thread int a; int b; int f() { return a = b; }
52333 _ACEOF
52334 if ac_fn_c_try_link "$LINENO"; then :
52335 gcc_cv_have_tls=yes
52336 else
52337 gcc_cv_have_tls=no
52339 rm -f core conftest.err conftest.$ac_objext \
52340 conftest$ac_exeext conftest.$ac_ext
52341 else
52342 gcc_cv_have_tls=yes
52344 rm -f core conftest.err conftest.$ac_objext \
52345 conftest$ac_exeext conftest.$ac_ext
52346 CFLAGS="$chktls_save_CFLAGS"
52347 LDFLAGS="$chktls_save_LDFLAGS"
52348 else
52349 gcc_cv_have_tls=no
52351 rm -f core conftest.err conftest.$ac_objext \
52352 conftest$ac_exeext conftest.$ac_ext
52355 else
52356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52357 /* end confdefs.h. */
52358 __thread int a; int b; int main() { return a = b; }
52359 _ACEOF
52360 if ac_fn_c_try_run "$LINENO"; then :
52361 chktls_save_LDFLAGS="$LDFLAGS"
52362 LDFLAGS="-static $LDFLAGS"
52363 if test x$gcc_no_link = xyes; then
52364 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52367 /* end confdefs.h. */
52368 int main() { return 0; }
52369 _ACEOF
52370 if ac_fn_c_try_link "$LINENO"; then :
52371 if test "$cross_compiling" = yes; then :
52372 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
52373 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
52374 as_fn_error "cannot run test program while cross compiling
52375 See \`config.log' for more details." "$LINENO" 5; }
52376 else
52377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52378 /* end confdefs.h. */
52379 __thread int a; int b; int main() { return a = b; }
52380 _ACEOF
52381 if ac_fn_c_try_run "$LINENO"; then :
52382 gcc_cv_have_tls=yes
52383 else
52384 gcc_cv_have_tls=no
52386 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
52387 conftest.$ac_objext conftest.beam conftest.$ac_ext
52390 else
52391 gcc_cv_have_tls=yes
52393 rm -f core conftest.err conftest.$ac_objext \
52394 conftest$ac_exeext conftest.$ac_ext
52395 LDFLAGS="$chktls_save_LDFLAGS"
52396 if test $gcc_cv_have_tls = yes; then
52397 chktls_save_CFLAGS="$CFLAGS"
52398 thread_CFLAGS=failed
52399 for flag in '' '-pthread' '-lpthread'; do
52400 CFLAGS="$flag $chktls_save_CFLAGS"
52401 if test x$gcc_no_link = xyes; then
52402 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52405 /* end confdefs.h. */
52406 #include <pthread.h>
52407 void *g(void *d) { return NULL; }
52409 main ()
52411 pthread_t t; pthread_create(&t,NULL,g,NULL);
52413 return 0;
52415 _ACEOF
52416 if ac_fn_c_try_link "$LINENO"; then :
52417 thread_CFLAGS="$flag"
52419 rm -f core conftest.err conftest.$ac_objext \
52420 conftest$ac_exeext conftest.$ac_ext
52421 if test "X$thread_CFLAGS" != Xfailed; then
52422 break
52424 done
52425 CFLAGS="$chktls_save_CFLAGS"
52426 if test "X$thread_CFLAGS" != Xfailed; then
52427 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
52428 if test "$cross_compiling" = yes; then :
52429 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
52430 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
52431 as_fn_error "cannot run test program while cross compiling
52432 See \`config.log' for more details." "$LINENO" 5; }
52433 else
52434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52435 /* end confdefs.h. */
52436 #include <pthread.h>
52437 __thread int a;
52438 static int *volatile a_in_other_thread;
52439 static void *
52440 thread_func (void *arg)
52442 a_in_other_thread = &a;
52443 return (void *)0;
52446 main ()
52448 pthread_t thread;
52449 void *thread_retval;
52450 int *volatile a_in_main_thread;
52451 a_in_main_thread = &a;
52452 if (pthread_create (&thread, (pthread_attr_t *)0,
52453 thread_func, (void *)0))
52454 return 0;
52455 if (pthread_join (thread, &thread_retval))
52456 return 0;
52457 return (a_in_other_thread == a_in_main_thread);
52459 return 0;
52461 _ACEOF
52462 if ac_fn_c_try_run "$LINENO"; then :
52463 gcc_cv_have_tls=yes
52464 else
52465 gcc_cv_have_tls=no
52467 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
52468 conftest.$ac_objext conftest.beam conftest.$ac_ext
52471 CFLAGS="$chktls_save_CFLAGS"
52474 else
52475 gcc_cv_have_tls=no
52477 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
52478 conftest.$ac_objext conftest.beam conftest.$ac_ext
52482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
52483 $as_echo "$gcc_cv_have_tls" >&6; }
52484 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
52486 $as_echo "#define HAVE_TLS 1" >>confdefs.h
52489 case "$target" in
52490 *-hpux10*)
52491 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
52493 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
52495 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
52497 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
52499 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
52502 esac
52504 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu | *-cygwin*)
52506 # All these tests are for C++; save the language and the compiler flags.
52507 # The CXXFLAGS thing is suspicious, but based on similar bits previously
52508 # found in GLIBCXX_CONFIGURE.
52510 ac_ext=cpp
52511 ac_cpp='$CXXCPP $CPPFLAGS'
52512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52516 ac_test_CXXFLAGS="${CXXFLAGS+set}"
52517 ac_save_CXXFLAGS="$CXXFLAGS"
52519 # Check for maintainer-mode bits.
52520 if test x"$USE_MAINTAINER_MODE" = xno; then
52521 WERROR=''
52522 else
52523 WERROR='-Werror'
52526 # Check for -ffunction-sections -fdata-sections
52527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
52528 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
52529 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
52530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52531 /* end confdefs.h. */
52532 int foo; void bar() { };
52534 main ()
52538 return 0;
52540 _ACEOF
52541 if ac_fn_cxx_try_compile "$LINENO"; then :
52542 ac_fdsections=yes
52543 else
52544 ac_fdsections=no
52546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52547 if test "$ac_test_CXXFLAGS" = set; then
52548 CXXFLAGS="$ac_save_CXXFLAGS"
52549 else
52550 # this is the suspicious part
52551 CXXFLAGS=''
52553 if test x"$ac_fdsections" = x"yes"; then
52554 SECTION_FLAGS='-ffunction-sections -fdata-sections'
52556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
52557 $as_echo "$ac_fdsections" >&6; }
52559 ac_ext=c
52560 ac_cpp='$CPP $CPPFLAGS'
52561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52569 # If we're not using GNU ld, then there's no point in even trying these
52570 # tests. Check for that first. We should have already tested for gld
52571 # by now (in libtool), but require it now just to be safe...
52572 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
52573 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
52577 # The name set by libtool depends on the version of libtool. Shame on us
52578 # for depending on an impl detail, but c'est la vie. Older versions used
52579 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
52580 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
52581 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
52582 # set (hence we're using an older libtool), then set it.
52583 if test x${with_gnu_ld+set} != xset; then
52584 if test x${ac_cv_prog_gnu_ld+set} != xset; then
52585 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
52586 with_gnu_ld=no
52587 else
52588 with_gnu_ld=$ac_cv_prog_gnu_ld
52592 # Start by getting the version number. I think the libtool test already
52593 # does some of this, but throws away the result.
52594 glibcxx_ld_is_gold=no
52595 if test x"$with_gnu_ld" = x"yes"; then
52596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
52597 $as_echo_n "checking for ld version... " >&6; }
52599 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
52600 glibcxx_ld_is_gold=yes
52602 ldver=`$LD --version 2>/dev/null |
52603 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'`
52605 glibcxx_gnu_ld_version=`echo $ldver | \
52606 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
52607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
52608 $as_echo "$glibcxx_gnu_ld_version" >&6; }
52611 # Set --gc-sections.
52612 glibcxx_have_gc_sections=no
52613 if test "$glibcxx_ld_is_gold" = "yes"; then
52614 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
52615 glibcxx_have_gc_sections=yes
52617 else
52618 glibcxx_gcsections_min_ld=21602
52619 if test x"$with_gnu_ld" = x"yes" &&
52620 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
52621 glibcxx_have_gc_sections=yes
52624 if test "$glibcxx_have_gc_sections" = "yes"; then
52625 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
52626 # NB: This flag only works reliably after 2.16.1. Configure tests
52627 # for this are difficult, so hard wire a value that should work.
52629 ac_test_CFLAGS="${CFLAGS+set}"
52630 ac_save_CFLAGS="$CFLAGS"
52631 CFLAGS='-Wl,--gc-sections'
52633 # Check for -Wl,--gc-sections
52634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
52635 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
52636 if test x$gcc_no_link = xyes; then
52637 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52640 /* end confdefs.h. */
52641 int one(void) { return 1; }
52642 int two(void) { return 2; }
52645 main ()
52647 two();
52649 return 0;
52651 _ACEOF
52652 if ac_fn_c_try_link "$LINENO"; then :
52653 ac_gcsections=yes
52654 else
52655 ac_gcsections=no
52657 rm -f core conftest.err conftest.$ac_objext \
52658 conftest$ac_exeext conftest.$ac_ext
52659 if test "$ac_gcsections" = "yes"; then
52660 rm -f conftest.c
52661 touch conftest.c
52662 if $CC -c conftest.c; then
52663 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
52664 grep "Warning: gc-sections option ignored" > /dev/null; then
52665 ac_gcsections=no
52668 rm -f conftest.c conftest.o conftest
52670 if test "$ac_gcsections" = "yes"; then
52671 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
52673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
52674 $as_echo "$ac_gcsections" >&6; }
52676 if test "$ac_test_CFLAGS" = set; then
52677 CFLAGS="$ac_save_CFLAGS"
52678 else
52679 # this is the suspicious part
52680 CFLAGS=''
52684 # Set -z,relro.
52685 # Note this is only for shared objects.
52686 ac_ld_relro=no
52687 if test x"$with_gnu_ld" = x"yes"; then
52688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
52689 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
52690 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
52691 if test -n "$cxx_z_relo"; then
52692 OPT_LDFLAGS="-Wl,-z,relro"
52693 ac_ld_relro=yes
52695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
52696 $as_echo "$ac_ld_relro" >&6; }
52699 # Set linker optimization flags.
52700 if test x"$with_gnu_ld" = x"yes"; then
52701 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
52708 ac_test_CXXFLAGS="${CXXFLAGS+set}"
52709 ac_save_CXXFLAGS="$CXXFLAGS"
52710 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
52712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
52713 $as_echo_n "checking for sin in -lm... " >&6; }
52714 if test "${ac_cv_lib_m_sin+set}" = set; then :
52715 $as_echo_n "(cached) " >&6
52716 else
52717 ac_check_lib_save_LIBS=$LIBS
52718 LIBS="-lm $LIBS"
52719 if test x$gcc_no_link = xyes; then
52720 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52723 /* end confdefs.h. */
52725 /* Override any GCC internal prototype to avoid an error.
52726 Use char because int might match the return type of a GCC
52727 builtin and then its argument prototype would still apply. */
52728 #ifdef __cplusplus
52729 extern "C"
52730 #endif
52731 char sin ();
52733 main ()
52735 return sin ();
52737 return 0;
52739 _ACEOF
52740 if ac_fn_c_try_link "$LINENO"; then :
52741 ac_cv_lib_m_sin=yes
52742 else
52743 ac_cv_lib_m_sin=no
52745 rm -f core conftest.err conftest.$ac_objext \
52746 conftest$ac_exeext conftest.$ac_ext
52747 LIBS=$ac_check_lib_save_LIBS
52749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
52750 $as_echo "$ac_cv_lib_m_sin" >&6; }
52751 if test "x$ac_cv_lib_m_sin" = x""yes; then :
52752 libm="-lm"
52755 ac_save_LIBS="$LIBS"
52756 LIBS="$LIBS $libm"
52760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
52761 $as_echo_n "checking for isinf declaration... " >&6; }
52762 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
52763 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
52764 $as_echo_n "(cached) " >&6
52765 else
52768 ac_ext=cpp
52769 ac_cpp='$CXXCPP $CPPFLAGS'
52770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52775 /* end confdefs.h. */
52776 #include <math.h>
52777 #ifdef HAVE_IEEEFP_H
52778 #include <ieeefp.h>
52779 #endif
52782 main ()
52784 isinf(0);
52786 return 0;
52788 _ACEOF
52789 if ac_fn_cxx_try_compile "$LINENO"; then :
52790 glibcxx_cv_func_isinf_use=yes
52791 else
52792 glibcxx_cv_func_isinf_use=no
52794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52795 ac_ext=c
52796 ac_cpp='$CPP $CPPFLAGS'
52797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
52806 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
52808 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
52809 for ac_func in isinf
52810 do :
52811 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
52812 if test "x$ac_cv_func_isinf" = x""yes; then :
52813 cat >>confdefs.h <<_ACEOF
52814 #define HAVE_ISINF 1
52815 _ACEOF
52818 done
52820 else
52822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
52823 $as_echo_n "checking for _isinf declaration... " >&6; }
52824 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
52825 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
52826 $as_echo_n "(cached) " >&6
52827 else
52830 ac_ext=cpp
52831 ac_cpp='$CXXCPP $CPPFLAGS'
52832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52837 /* end confdefs.h. */
52838 #include <math.h>
52839 #ifdef HAVE_IEEEFP_H
52840 #include <ieeefp.h>
52841 #endif
52844 main ()
52846 _isinf(0);
52848 return 0;
52850 _ACEOF
52851 if ac_fn_cxx_try_compile "$LINENO"; then :
52852 glibcxx_cv_func__isinf_use=yes
52853 else
52854 glibcxx_cv_func__isinf_use=no
52856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52857 ac_ext=c
52858 ac_cpp='$CPP $CPPFLAGS'
52859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
52868 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
52870 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
52871 for ac_func in _isinf
52872 do :
52873 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
52874 if test "x$ac_cv_func__isinf" = x""yes; then :
52875 cat >>confdefs.h <<_ACEOF
52876 #define HAVE__ISINF 1
52877 _ACEOF
52880 done
52889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
52890 $as_echo_n "checking for isnan declaration... " >&6; }
52891 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
52892 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
52893 $as_echo_n "(cached) " >&6
52894 else
52897 ac_ext=cpp
52898 ac_cpp='$CXXCPP $CPPFLAGS'
52899 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52900 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52901 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52904 /* end confdefs.h. */
52905 #include <math.h>
52906 #ifdef HAVE_IEEEFP_H
52907 #include <ieeefp.h>
52908 #endif
52911 main ()
52913 isnan(0);
52915 return 0;
52917 _ACEOF
52918 if ac_fn_cxx_try_compile "$LINENO"; then :
52919 glibcxx_cv_func_isnan_use=yes
52920 else
52921 glibcxx_cv_func_isnan_use=no
52923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52924 ac_ext=c
52925 ac_cpp='$CPP $CPPFLAGS'
52926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
52935 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
52937 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
52938 for ac_func in isnan
52939 do :
52940 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
52941 if test "x$ac_cv_func_isnan" = x""yes; then :
52942 cat >>confdefs.h <<_ACEOF
52943 #define HAVE_ISNAN 1
52944 _ACEOF
52947 done
52949 else
52951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
52952 $as_echo_n "checking for _isnan declaration... " >&6; }
52953 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
52954 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
52955 $as_echo_n "(cached) " >&6
52956 else
52959 ac_ext=cpp
52960 ac_cpp='$CXXCPP $CPPFLAGS'
52961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52966 /* end confdefs.h. */
52967 #include <math.h>
52968 #ifdef HAVE_IEEEFP_H
52969 #include <ieeefp.h>
52970 #endif
52973 main ()
52975 _isnan(0);
52977 return 0;
52979 _ACEOF
52980 if ac_fn_cxx_try_compile "$LINENO"; then :
52981 glibcxx_cv_func__isnan_use=yes
52982 else
52983 glibcxx_cv_func__isnan_use=no
52985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52986 ac_ext=c
52987 ac_cpp='$CPP $CPPFLAGS'
52988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
52997 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
52999 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
53000 for ac_func in _isnan
53001 do :
53002 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
53003 if test "x$ac_cv_func__isnan" = x""yes; then :
53004 cat >>confdefs.h <<_ACEOF
53005 #define HAVE__ISNAN 1
53006 _ACEOF
53009 done
53018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
53019 $as_echo_n "checking for finite declaration... " >&6; }
53020 if test x${glibcxx_cv_func_finite_use+set} != xset; then
53021 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
53022 $as_echo_n "(cached) " >&6
53023 else
53026 ac_ext=cpp
53027 ac_cpp='$CXXCPP $CPPFLAGS'
53028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53033 /* end confdefs.h. */
53034 #include <math.h>
53035 #ifdef HAVE_IEEEFP_H
53036 #include <ieeefp.h>
53037 #endif
53040 main ()
53042 finite(0);
53044 return 0;
53046 _ACEOF
53047 if ac_fn_cxx_try_compile "$LINENO"; then :
53048 glibcxx_cv_func_finite_use=yes
53049 else
53050 glibcxx_cv_func_finite_use=no
53052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53053 ac_ext=c
53054 ac_cpp='$CPP $CPPFLAGS'
53055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
53064 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
53066 if test x$glibcxx_cv_func_finite_use = x"yes"; then
53067 for ac_func in finite
53068 do :
53069 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
53070 if test "x$ac_cv_func_finite" = x""yes; then :
53071 cat >>confdefs.h <<_ACEOF
53072 #define HAVE_FINITE 1
53073 _ACEOF
53076 done
53078 else
53080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
53081 $as_echo_n "checking for _finite declaration... " >&6; }
53082 if test x${glibcxx_cv_func__finite_use+set} != xset; then
53083 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
53084 $as_echo_n "(cached) " >&6
53085 else
53088 ac_ext=cpp
53089 ac_cpp='$CXXCPP $CPPFLAGS'
53090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53095 /* end confdefs.h. */
53096 #include <math.h>
53097 #ifdef HAVE_IEEEFP_H
53098 #include <ieeefp.h>
53099 #endif
53102 main ()
53104 _finite(0);
53106 return 0;
53108 _ACEOF
53109 if ac_fn_cxx_try_compile "$LINENO"; then :
53110 glibcxx_cv_func__finite_use=yes
53111 else
53112 glibcxx_cv_func__finite_use=no
53114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53115 ac_ext=c
53116 ac_cpp='$CPP $CPPFLAGS'
53117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
53126 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
53128 if test x$glibcxx_cv_func__finite_use = x"yes"; then
53129 for ac_func in _finite
53130 do :
53131 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
53132 if test "x$ac_cv_func__finite" = x""yes; then :
53133 cat >>confdefs.h <<_ACEOF
53134 #define HAVE__FINITE 1
53135 _ACEOF
53138 done
53147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
53148 $as_echo_n "checking for sincos declaration... " >&6; }
53149 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
53150 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
53151 $as_echo_n "(cached) " >&6
53152 else
53155 ac_ext=cpp
53156 ac_cpp='$CXXCPP $CPPFLAGS'
53157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53162 /* end confdefs.h. */
53163 #include <math.h>
53165 main ()
53167 sincos(0, 0, 0);
53169 return 0;
53171 _ACEOF
53172 if ac_fn_cxx_try_compile "$LINENO"; then :
53173 glibcxx_cv_func_sincos_use=yes
53174 else
53175 glibcxx_cv_func_sincos_use=no
53177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53178 ac_ext=c
53179 ac_cpp='$CPP $CPPFLAGS'
53180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
53189 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
53191 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
53192 for ac_func in sincos
53193 do :
53194 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
53195 if test "x$ac_cv_func_sincos" = x""yes; then :
53196 cat >>confdefs.h <<_ACEOF
53197 #define HAVE_SINCOS 1
53198 _ACEOF
53201 done
53203 else
53205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
53206 $as_echo_n "checking for _sincos declaration... " >&6; }
53207 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
53208 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
53209 $as_echo_n "(cached) " >&6
53210 else
53213 ac_ext=cpp
53214 ac_cpp='$CXXCPP $CPPFLAGS'
53215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53220 /* end confdefs.h. */
53221 #include <math.h>
53223 main ()
53225 _sincos(0, 0, 0);
53227 return 0;
53229 _ACEOF
53230 if ac_fn_cxx_try_compile "$LINENO"; then :
53231 glibcxx_cv_func__sincos_use=yes
53232 else
53233 glibcxx_cv_func__sincos_use=no
53235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53236 ac_ext=c
53237 ac_cpp='$CPP $CPPFLAGS'
53238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
53247 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
53249 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
53250 for ac_func in _sincos
53251 do :
53252 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
53253 if test "x$ac_cv_func__sincos" = x""yes; then :
53254 cat >>confdefs.h <<_ACEOF
53255 #define HAVE__SINCOS 1
53256 _ACEOF
53259 done
53268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
53269 $as_echo_n "checking for fpclass declaration... " >&6; }
53270 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
53271 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
53272 $as_echo_n "(cached) " >&6
53273 else
53276 ac_ext=cpp
53277 ac_cpp='$CXXCPP $CPPFLAGS'
53278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53283 /* end confdefs.h. */
53284 #include <math.h>
53285 #ifdef HAVE_IEEEFP_H
53286 #include <ieeefp.h>
53287 #endif
53290 main ()
53292 fpclass(0);
53294 return 0;
53296 _ACEOF
53297 if ac_fn_cxx_try_compile "$LINENO"; then :
53298 glibcxx_cv_func_fpclass_use=yes
53299 else
53300 glibcxx_cv_func_fpclass_use=no
53302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53303 ac_ext=c
53304 ac_cpp='$CPP $CPPFLAGS'
53305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
53314 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
53316 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
53317 for ac_func in fpclass
53318 do :
53319 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
53320 if test "x$ac_cv_func_fpclass" = x""yes; then :
53321 cat >>confdefs.h <<_ACEOF
53322 #define HAVE_FPCLASS 1
53323 _ACEOF
53326 done
53328 else
53330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
53331 $as_echo_n "checking for _fpclass declaration... " >&6; }
53332 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
53333 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
53334 $as_echo_n "(cached) " >&6
53335 else
53338 ac_ext=cpp
53339 ac_cpp='$CXXCPP $CPPFLAGS'
53340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53345 /* end confdefs.h. */
53346 #include <math.h>
53347 #ifdef HAVE_IEEEFP_H
53348 #include <ieeefp.h>
53349 #endif
53352 main ()
53354 _fpclass(0);
53356 return 0;
53358 _ACEOF
53359 if ac_fn_cxx_try_compile "$LINENO"; then :
53360 glibcxx_cv_func__fpclass_use=yes
53361 else
53362 glibcxx_cv_func__fpclass_use=no
53364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53365 ac_ext=c
53366 ac_cpp='$CPP $CPPFLAGS'
53367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
53376 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
53378 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
53379 for ac_func in _fpclass
53380 do :
53381 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
53382 if test "x$ac_cv_func__fpclass" = x""yes; then :
53383 cat >>confdefs.h <<_ACEOF
53384 #define HAVE__FPCLASS 1
53385 _ACEOF
53388 done
53397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
53398 $as_echo_n "checking for qfpclass declaration... " >&6; }
53399 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
53400 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
53401 $as_echo_n "(cached) " >&6
53402 else
53405 ac_ext=cpp
53406 ac_cpp='$CXXCPP $CPPFLAGS'
53407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53412 /* end confdefs.h. */
53413 #include <math.h>
53414 #ifdef HAVE_IEEEFP_H
53415 #include <ieeefp.h>
53416 #endif
53419 main ()
53421 qfpclass(0);
53423 return 0;
53425 _ACEOF
53426 if ac_fn_cxx_try_compile "$LINENO"; then :
53427 glibcxx_cv_func_qfpclass_use=yes
53428 else
53429 glibcxx_cv_func_qfpclass_use=no
53431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53432 ac_ext=c
53433 ac_cpp='$CPP $CPPFLAGS'
53434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
53443 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
53445 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
53446 for ac_func in qfpclass
53447 do :
53448 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
53449 if test "x$ac_cv_func_qfpclass" = x""yes; then :
53450 cat >>confdefs.h <<_ACEOF
53451 #define HAVE_QFPCLASS 1
53452 _ACEOF
53455 done
53457 else
53459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
53460 $as_echo_n "checking for _qfpclass declaration... " >&6; }
53461 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
53462 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
53463 $as_echo_n "(cached) " >&6
53464 else
53467 ac_ext=cpp
53468 ac_cpp='$CXXCPP $CPPFLAGS'
53469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53474 /* end confdefs.h. */
53475 #include <math.h>
53476 #ifdef HAVE_IEEEFP_H
53477 #include <ieeefp.h>
53478 #endif
53481 main ()
53483 _qfpclass(0);
53485 return 0;
53487 _ACEOF
53488 if ac_fn_cxx_try_compile "$LINENO"; then :
53489 glibcxx_cv_func__qfpclass_use=yes
53490 else
53491 glibcxx_cv_func__qfpclass_use=no
53493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53494 ac_ext=c
53495 ac_cpp='$CPP $CPPFLAGS'
53496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
53505 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
53507 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
53508 for ac_func in _qfpclass
53509 do :
53510 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
53511 if test "x$ac_cv_func__qfpclass" = x""yes; then :
53512 cat >>confdefs.h <<_ACEOF
53513 #define HAVE__QFPCLASS 1
53514 _ACEOF
53517 done
53526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
53527 $as_echo_n "checking for hypot declaration... " >&6; }
53528 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
53529 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
53530 $as_echo_n "(cached) " >&6
53531 else
53534 ac_ext=cpp
53535 ac_cpp='$CXXCPP $CPPFLAGS'
53536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53541 /* end confdefs.h. */
53542 #include <math.h>
53544 main ()
53546 hypot(0, 0);
53548 return 0;
53550 _ACEOF
53551 if ac_fn_cxx_try_compile "$LINENO"; then :
53552 glibcxx_cv_func_hypot_use=yes
53553 else
53554 glibcxx_cv_func_hypot_use=no
53556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53557 ac_ext=c
53558 ac_cpp='$CPP $CPPFLAGS'
53559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
53568 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
53570 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
53571 for ac_func in hypot
53572 do :
53573 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
53574 if test "x$ac_cv_func_hypot" = x""yes; then :
53575 cat >>confdefs.h <<_ACEOF
53576 #define HAVE_HYPOT 1
53577 _ACEOF
53580 done
53582 else
53584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
53585 $as_echo_n "checking for _hypot declaration... " >&6; }
53586 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
53587 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
53588 $as_echo_n "(cached) " >&6
53589 else
53592 ac_ext=cpp
53593 ac_cpp='$CXXCPP $CPPFLAGS'
53594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53599 /* end confdefs.h. */
53600 #include <math.h>
53602 main ()
53604 _hypot(0, 0);
53606 return 0;
53608 _ACEOF
53609 if ac_fn_cxx_try_compile "$LINENO"; then :
53610 glibcxx_cv_func__hypot_use=yes
53611 else
53612 glibcxx_cv_func__hypot_use=no
53614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53615 ac_ext=c
53616 ac_cpp='$CPP $CPPFLAGS'
53617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
53626 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
53628 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
53629 for ac_func in _hypot
53630 do :
53631 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
53632 if test "x$ac_cv_func__hypot" = x""yes; then :
53633 cat >>confdefs.h <<_ACEOF
53634 #define HAVE__HYPOT 1
53635 _ACEOF
53638 done
53647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
53648 $as_echo_n "checking for float trig functions... " >&6; }
53649 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
53650 $as_echo_n "(cached) " >&6
53651 else
53654 ac_ext=cpp
53655 ac_cpp='$CXXCPP $CPPFLAGS'
53656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53661 /* end confdefs.h. */
53662 #include <math.h>
53664 main ()
53666 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
53668 return 0;
53670 _ACEOF
53671 if ac_fn_cxx_try_compile "$LINENO"; then :
53672 glibcxx_cv_func_float_trig_use=yes
53673 else
53674 glibcxx_cv_func_float_trig_use=no
53676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53677 ac_ext=c
53678 ac_cpp='$CPP $CPPFLAGS'
53679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
53686 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
53687 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
53688 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
53689 do :
53690 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53691 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53692 eval as_val=\$$as_ac_var
53693 if test "x$as_val" = x""yes; then :
53694 cat >>confdefs.h <<_ACEOF
53695 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53696 _ACEOF
53699 done
53701 else
53702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
53703 $as_echo_n "checking for _float trig functions... " >&6; }
53704 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
53705 $as_echo_n "(cached) " >&6
53706 else
53709 ac_ext=cpp
53710 ac_cpp='$CXXCPP $CPPFLAGS'
53711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53716 /* end confdefs.h. */
53717 #include <math.h>
53719 main ()
53721 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
53723 return 0;
53725 _ACEOF
53726 if ac_fn_cxx_try_compile "$LINENO"; then :
53727 glibcxx_cv_func__float_trig_use=yes
53728 else
53729 glibcxx_cv_func__float_trig_use=no
53731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53732 ac_ext=c
53733 ac_cpp='$CPP $CPPFLAGS'
53734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
53741 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
53742 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
53743 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
53744 do :
53745 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53746 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53747 eval as_val=\$$as_ac_var
53748 if test "x$as_val" = x""yes; then :
53749 cat >>confdefs.h <<_ACEOF
53750 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53751 _ACEOF
53754 done
53763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
53764 $as_echo_n "checking for float round functions... " >&6; }
53765 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
53766 $as_echo_n "(cached) " >&6
53767 else
53770 ac_ext=cpp
53771 ac_cpp='$CXXCPP $CPPFLAGS'
53772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53777 /* end confdefs.h. */
53778 #include <math.h>
53780 main ()
53782 ceilf (0); floorf (0);
53784 return 0;
53786 _ACEOF
53787 if ac_fn_cxx_try_compile "$LINENO"; then :
53788 glibcxx_cv_func_float_round_use=yes
53789 else
53790 glibcxx_cv_func_float_round_use=no
53792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53793 ac_ext=c
53794 ac_cpp='$CPP $CPPFLAGS'
53795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
53802 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
53803 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
53804 for ac_func in ceilf floorf
53805 do :
53806 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53807 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53808 eval as_val=\$$as_ac_var
53809 if test "x$as_val" = x""yes; then :
53810 cat >>confdefs.h <<_ACEOF
53811 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53812 _ACEOF
53815 done
53817 else
53818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
53819 $as_echo_n "checking for _float round functions... " >&6; }
53820 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
53821 $as_echo_n "(cached) " >&6
53822 else
53825 ac_ext=cpp
53826 ac_cpp='$CXXCPP $CPPFLAGS'
53827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53832 /* end confdefs.h. */
53833 #include <math.h>
53835 main ()
53837 _ceilf (0); _floorf (0);
53839 return 0;
53841 _ACEOF
53842 if ac_fn_cxx_try_compile "$LINENO"; then :
53843 glibcxx_cv_func__float_round_use=yes
53844 else
53845 glibcxx_cv_func__float_round_use=no
53847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53848 ac_ext=c
53849 ac_cpp='$CPP $CPPFLAGS'
53850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
53857 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
53858 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
53859 for ac_func in _ceilf _floorf
53860 do :
53861 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53862 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53863 eval as_val=\$$as_ac_var
53864 if test "x$as_val" = x""yes; then :
53865 cat >>confdefs.h <<_ACEOF
53866 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53867 _ACEOF
53870 done
53880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
53881 $as_echo_n "checking for expf declaration... " >&6; }
53882 if test x${glibcxx_cv_func_expf_use+set} != xset; then
53883 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
53884 $as_echo_n "(cached) " >&6
53885 else
53888 ac_ext=cpp
53889 ac_cpp='$CXXCPP $CPPFLAGS'
53890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53895 /* end confdefs.h. */
53896 #include <math.h>
53897 #ifdef HAVE_IEEEFP_H
53898 #include <ieeefp.h>
53899 #endif
53902 main ()
53904 expf(0);
53906 return 0;
53908 _ACEOF
53909 if ac_fn_cxx_try_compile "$LINENO"; then :
53910 glibcxx_cv_func_expf_use=yes
53911 else
53912 glibcxx_cv_func_expf_use=no
53914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53915 ac_ext=c
53916 ac_cpp='$CPP $CPPFLAGS'
53917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
53926 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
53928 if test x$glibcxx_cv_func_expf_use = x"yes"; then
53929 for ac_func in expf
53930 do :
53931 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
53932 if test "x$ac_cv_func_expf" = x""yes; then :
53933 cat >>confdefs.h <<_ACEOF
53934 #define HAVE_EXPF 1
53935 _ACEOF
53938 done
53940 else
53942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
53943 $as_echo_n "checking for _expf declaration... " >&6; }
53944 if test x${glibcxx_cv_func__expf_use+set} != xset; then
53945 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
53946 $as_echo_n "(cached) " >&6
53947 else
53950 ac_ext=cpp
53951 ac_cpp='$CXXCPP $CPPFLAGS'
53952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53957 /* end confdefs.h. */
53958 #include <math.h>
53959 #ifdef HAVE_IEEEFP_H
53960 #include <ieeefp.h>
53961 #endif
53964 main ()
53966 _expf(0);
53968 return 0;
53970 _ACEOF
53971 if ac_fn_cxx_try_compile "$LINENO"; then :
53972 glibcxx_cv_func__expf_use=yes
53973 else
53974 glibcxx_cv_func__expf_use=no
53976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53977 ac_ext=c
53978 ac_cpp='$CPP $CPPFLAGS'
53979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
53988 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
53990 if test x$glibcxx_cv_func__expf_use = x"yes"; then
53991 for ac_func in _expf
53992 do :
53993 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
53994 if test "x$ac_cv_func__expf" = x""yes; then :
53995 cat >>confdefs.h <<_ACEOF
53996 #define HAVE__EXPF 1
53997 _ACEOF
54000 done
54009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
54010 $as_echo_n "checking for isnanf declaration... " >&6; }
54011 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
54012 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
54013 $as_echo_n "(cached) " >&6
54014 else
54017 ac_ext=cpp
54018 ac_cpp='$CXXCPP $CPPFLAGS'
54019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54024 /* end confdefs.h. */
54025 #include <math.h>
54026 #ifdef HAVE_IEEEFP_H
54027 #include <ieeefp.h>
54028 #endif
54031 main ()
54033 isnanf(0);
54035 return 0;
54037 _ACEOF
54038 if ac_fn_cxx_try_compile "$LINENO"; then :
54039 glibcxx_cv_func_isnanf_use=yes
54040 else
54041 glibcxx_cv_func_isnanf_use=no
54043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54044 ac_ext=c
54045 ac_cpp='$CPP $CPPFLAGS'
54046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
54055 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
54057 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
54058 for ac_func in isnanf
54059 do :
54060 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
54061 if test "x$ac_cv_func_isnanf" = x""yes; then :
54062 cat >>confdefs.h <<_ACEOF
54063 #define HAVE_ISNANF 1
54064 _ACEOF
54067 done
54069 else
54071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
54072 $as_echo_n "checking for _isnanf declaration... " >&6; }
54073 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
54074 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
54075 $as_echo_n "(cached) " >&6
54076 else
54079 ac_ext=cpp
54080 ac_cpp='$CXXCPP $CPPFLAGS'
54081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54086 /* end confdefs.h. */
54087 #include <math.h>
54088 #ifdef HAVE_IEEEFP_H
54089 #include <ieeefp.h>
54090 #endif
54093 main ()
54095 _isnanf(0);
54097 return 0;
54099 _ACEOF
54100 if ac_fn_cxx_try_compile "$LINENO"; then :
54101 glibcxx_cv_func__isnanf_use=yes
54102 else
54103 glibcxx_cv_func__isnanf_use=no
54105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54106 ac_ext=c
54107 ac_cpp='$CPP $CPPFLAGS'
54108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
54117 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
54119 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
54120 for ac_func in _isnanf
54121 do :
54122 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
54123 if test "x$ac_cv_func__isnanf" = x""yes; then :
54124 cat >>confdefs.h <<_ACEOF
54125 #define HAVE__ISNANF 1
54126 _ACEOF
54129 done
54138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
54139 $as_echo_n "checking for isinff declaration... " >&6; }
54140 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
54141 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
54142 $as_echo_n "(cached) " >&6
54143 else
54146 ac_ext=cpp
54147 ac_cpp='$CXXCPP $CPPFLAGS'
54148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54153 /* end confdefs.h. */
54154 #include <math.h>
54155 #ifdef HAVE_IEEEFP_H
54156 #include <ieeefp.h>
54157 #endif
54160 main ()
54162 isinff(0);
54164 return 0;
54166 _ACEOF
54167 if ac_fn_cxx_try_compile "$LINENO"; then :
54168 glibcxx_cv_func_isinff_use=yes
54169 else
54170 glibcxx_cv_func_isinff_use=no
54172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54173 ac_ext=c
54174 ac_cpp='$CPP $CPPFLAGS'
54175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
54184 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
54186 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
54187 for ac_func in isinff
54188 do :
54189 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
54190 if test "x$ac_cv_func_isinff" = x""yes; then :
54191 cat >>confdefs.h <<_ACEOF
54192 #define HAVE_ISINFF 1
54193 _ACEOF
54196 done
54198 else
54200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
54201 $as_echo_n "checking for _isinff declaration... " >&6; }
54202 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
54203 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
54204 $as_echo_n "(cached) " >&6
54205 else
54208 ac_ext=cpp
54209 ac_cpp='$CXXCPP $CPPFLAGS'
54210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54215 /* end confdefs.h. */
54216 #include <math.h>
54217 #ifdef HAVE_IEEEFP_H
54218 #include <ieeefp.h>
54219 #endif
54222 main ()
54224 _isinff(0);
54226 return 0;
54228 _ACEOF
54229 if ac_fn_cxx_try_compile "$LINENO"; then :
54230 glibcxx_cv_func__isinff_use=yes
54231 else
54232 glibcxx_cv_func__isinff_use=no
54234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54235 ac_ext=c
54236 ac_cpp='$CPP $CPPFLAGS'
54237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
54246 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
54248 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
54249 for ac_func in _isinff
54250 do :
54251 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
54252 if test "x$ac_cv_func__isinff" = x""yes; then :
54253 cat >>confdefs.h <<_ACEOF
54254 #define HAVE__ISINFF 1
54255 _ACEOF
54258 done
54267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
54268 $as_echo_n "checking for atan2f declaration... " >&6; }
54269 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
54270 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
54271 $as_echo_n "(cached) " >&6
54272 else
54275 ac_ext=cpp
54276 ac_cpp='$CXXCPP $CPPFLAGS'
54277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54282 /* end confdefs.h. */
54283 #include <math.h>
54285 main ()
54287 atan2f(0, 0);
54289 return 0;
54291 _ACEOF
54292 if ac_fn_cxx_try_compile "$LINENO"; then :
54293 glibcxx_cv_func_atan2f_use=yes
54294 else
54295 glibcxx_cv_func_atan2f_use=no
54297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54298 ac_ext=c
54299 ac_cpp='$CPP $CPPFLAGS'
54300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
54309 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
54311 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
54312 for ac_func in atan2f
54313 do :
54314 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
54315 if test "x$ac_cv_func_atan2f" = x""yes; then :
54316 cat >>confdefs.h <<_ACEOF
54317 #define HAVE_ATAN2F 1
54318 _ACEOF
54321 done
54323 else
54325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
54326 $as_echo_n "checking for _atan2f declaration... " >&6; }
54327 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
54328 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
54329 $as_echo_n "(cached) " >&6
54330 else
54333 ac_ext=cpp
54334 ac_cpp='$CXXCPP $CPPFLAGS'
54335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54340 /* end confdefs.h. */
54341 #include <math.h>
54343 main ()
54345 _atan2f(0, 0);
54347 return 0;
54349 _ACEOF
54350 if ac_fn_cxx_try_compile "$LINENO"; then :
54351 glibcxx_cv_func__atan2f_use=yes
54352 else
54353 glibcxx_cv_func__atan2f_use=no
54355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54356 ac_ext=c
54357 ac_cpp='$CPP $CPPFLAGS'
54358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
54367 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
54369 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
54370 for ac_func in _atan2f
54371 do :
54372 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
54373 if test "x$ac_cv_func__atan2f" = x""yes; then :
54374 cat >>confdefs.h <<_ACEOF
54375 #define HAVE__ATAN2F 1
54376 _ACEOF
54379 done
54388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
54389 $as_echo_n "checking for fabsf declaration... " >&6; }
54390 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
54391 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
54392 $as_echo_n "(cached) " >&6
54393 else
54396 ac_ext=cpp
54397 ac_cpp='$CXXCPP $CPPFLAGS'
54398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54403 /* end confdefs.h. */
54404 #include <math.h>
54405 #ifdef HAVE_IEEEFP_H
54406 #include <ieeefp.h>
54407 #endif
54410 main ()
54412 fabsf(0);
54414 return 0;
54416 _ACEOF
54417 if ac_fn_cxx_try_compile "$LINENO"; then :
54418 glibcxx_cv_func_fabsf_use=yes
54419 else
54420 glibcxx_cv_func_fabsf_use=no
54422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54423 ac_ext=c
54424 ac_cpp='$CPP $CPPFLAGS'
54425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
54434 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
54436 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
54437 for ac_func in fabsf
54438 do :
54439 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
54440 if test "x$ac_cv_func_fabsf" = x""yes; then :
54441 cat >>confdefs.h <<_ACEOF
54442 #define HAVE_FABSF 1
54443 _ACEOF
54446 done
54448 else
54450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
54451 $as_echo_n "checking for _fabsf declaration... " >&6; }
54452 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
54453 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
54454 $as_echo_n "(cached) " >&6
54455 else
54458 ac_ext=cpp
54459 ac_cpp='$CXXCPP $CPPFLAGS'
54460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54465 /* end confdefs.h. */
54466 #include <math.h>
54467 #ifdef HAVE_IEEEFP_H
54468 #include <ieeefp.h>
54469 #endif
54472 main ()
54474 _fabsf(0);
54476 return 0;
54478 _ACEOF
54479 if ac_fn_cxx_try_compile "$LINENO"; then :
54480 glibcxx_cv_func__fabsf_use=yes
54481 else
54482 glibcxx_cv_func__fabsf_use=no
54484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54485 ac_ext=c
54486 ac_cpp='$CPP $CPPFLAGS'
54487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
54496 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
54498 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
54499 for ac_func in _fabsf
54500 do :
54501 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
54502 if test "x$ac_cv_func__fabsf" = x""yes; then :
54503 cat >>confdefs.h <<_ACEOF
54504 #define HAVE__FABSF 1
54505 _ACEOF
54508 done
54517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
54518 $as_echo_n "checking for fmodf declaration... " >&6; }
54519 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
54520 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
54521 $as_echo_n "(cached) " >&6
54522 else
54525 ac_ext=cpp
54526 ac_cpp='$CXXCPP $CPPFLAGS'
54527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54532 /* end confdefs.h. */
54533 #include <math.h>
54535 main ()
54537 fmodf(0, 0);
54539 return 0;
54541 _ACEOF
54542 if ac_fn_cxx_try_compile "$LINENO"; then :
54543 glibcxx_cv_func_fmodf_use=yes
54544 else
54545 glibcxx_cv_func_fmodf_use=no
54547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54548 ac_ext=c
54549 ac_cpp='$CPP $CPPFLAGS'
54550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
54559 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
54561 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
54562 for ac_func in fmodf
54563 do :
54564 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
54565 if test "x$ac_cv_func_fmodf" = x""yes; then :
54566 cat >>confdefs.h <<_ACEOF
54567 #define HAVE_FMODF 1
54568 _ACEOF
54571 done
54573 else
54575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
54576 $as_echo_n "checking for _fmodf declaration... " >&6; }
54577 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
54578 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
54579 $as_echo_n "(cached) " >&6
54580 else
54583 ac_ext=cpp
54584 ac_cpp='$CXXCPP $CPPFLAGS'
54585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54590 /* end confdefs.h. */
54591 #include <math.h>
54593 main ()
54595 _fmodf(0, 0);
54597 return 0;
54599 _ACEOF
54600 if ac_fn_cxx_try_compile "$LINENO"; then :
54601 glibcxx_cv_func__fmodf_use=yes
54602 else
54603 glibcxx_cv_func__fmodf_use=no
54605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54606 ac_ext=c
54607 ac_cpp='$CPP $CPPFLAGS'
54608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
54617 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
54619 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
54620 for ac_func in _fmodf
54621 do :
54622 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
54623 if test "x$ac_cv_func__fmodf" = x""yes; then :
54624 cat >>confdefs.h <<_ACEOF
54625 #define HAVE__FMODF 1
54626 _ACEOF
54629 done
54638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
54639 $as_echo_n "checking for frexpf declaration... " >&6; }
54640 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
54641 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
54642 $as_echo_n "(cached) " >&6
54643 else
54646 ac_ext=cpp
54647 ac_cpp='$CXXCPP $CPPFLAGS'
54648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54653 /* end confdefs.h. */
54654 #include <math.h>
54656 main ()
54658 frexpf(0, 0);
54660 return 0;
54662 _ACEOF
54663 if ac_fn_cxx_try_compile "$LINENO"; then :
54664 glibcxx_cv_func_frexpf_use=yes
54665 else
54666 glibcxx_cv_func_frexpf_use=no
54668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54669 ac_ext=c
54670 ac_cpp='$CPP $CPPFLAGS'
54671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
54680 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
54682 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
54683 for ac_func in frexpf
54684 do :
54685 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
54686 if test "x$ac_cv_func_frexpf" = x""yes; then :
54687 cat >>confdefs.h <<_ACEOF
54688 #define HAVE_FREXPF 1
54689 _ACEOF
54692 done
54694 else
54696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
54697 $as_echo_n "checking for _frexpf declaration... " >&6; }
54698 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
54699 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
54700 $as_echo_n "(cached) " >&6
54701 else
54704 ac_ext=cpp
54705 ac_cpp='$CXXCPP $CPPFLAGS'
54706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54711 /* end confdefs.h. */
54712 #include <math.h>
54714 main ()
54716 _frexpf(0, 0);
54718 return 0;
54720 _ACEOF
54721 if ac_fn_cxx_try_compile "$LINENO"; then :
54722 glibcxx_cv_func__frexpf_use=yes
54723 else
54724 glibcxx_cv_func__frexpf_use=no
54726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54727 ac_ext=c
54728 ac_cpp='$CPP $CPPFLAGS'
54729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
54738 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
54740 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
54741 for ac_func in _frexpf
54742 do :
54743 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
54744 if test "x$ac_cv_func__frexpf" = x""yes; then :
54745 cat >>confdefs.h <<_ACEOF
54746 #define HAVE__FREXPF 1
54747 _ACEOF
54750 done
54759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
54760 $as_echo_n "checking for hypotf declaration... " >&6; }
54761 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
54762 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
54763 $as_echo_n "(cached) " >&6
54764 else
54767 ac_ext=cpp
54768 ac_cpp='$CXXCPP $CPPFLAGS'
54769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54774 /* end confdefs.h. */
54775 #include <math.h>
54777 main ()
54779 hypotf(0, 0);
54781 return 0;
54783 _ACEOF
54784 if ac_fn_cxx_try_compile "$LINENO"; then :
54785 glibcxx_cv_func_hypotf_use=yes
54786 else
54787 glibcxx_cv_func_hypotf_use=no
54789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54790 ac_ext=c
54791 ac_cpp='$CPP $CPPFLAGS'
54792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
54801 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
54803 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
54804 for ac_func in hypotf
54805 do :
54806 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
54807 if test "x$ac_cv_func_hypotf" = x""yes; then :
54808 cat >>confdefs.h <<_ACEOF
54809 #define HAVE_HYPOTF 1
54810 _ACEOF
54813 done
54815 else
54817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
54818 $as_echo_n "checking for _hypotf declaration... " >&6; }
54819 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
54820 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
54821 $as_echo_n "(cached) " >&6
54822 else
54825 ac_ext=cpp
54826 ac_cpp='$CXXCPP $CPPFLAGS'
54827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54832 /* end confdefs.h. */
54833 #include <math.h>
54835 main ()
54837 _hypotf(0, 0);
54839 return 0;
54841 _ACEOF
54842 if ac_fn_cxx_try_compile "$LINENO"; then :
54843 glibcxx_cv_func__hypotf_use=yes
54844 else
54845 glibcxx_cv_func__hypotf_use=no
54847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54848 ac_ext=c
54849 ac_cpp='$CPP $CPPFLAGS'
54850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
54859 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
54861 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
54862 for ac_func in _hypotf
54863 do :
54864 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
54865 if test "x$ac_cv_func__hypotf" = x""yes; then :
54866 cat >>confdefs.h <<_ACEOF
54867 #define HAVE__HYPOTF 1
54868 _ACEOF
54871 done
54880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
54881 $as_echo_n "checking for ldexpf declaration... " >&6; }
54882 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
54883 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
54884 $as_echo_n "(cached) " >&6
54885 else
54888 ac_ext=cpp
54889 ac_cpp='$CXXCPP $CPPFLAGS'
54890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54895 /* end confdefs.h. */
54896 #include <math.h>
54898 main ()
54900 ldexpf(0, 0);
54902 return 0;
54904 _ACEOF
54905 if ac_fn_cxx_try_compile "$LINENO"; then :
54906 glibcxx_cv_func_ldexpf_use=yes
54907 else
54908 glibcxx_cv_func_ldexpf_use=no
54910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54911 ac_ext=c
54912 ac_cpp='$CPP $CPPFLAGS'
54913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
54922 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
54924 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
54925 for ac_func in ldexpf
54926 do :
54927 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
54928 if test "x$ac_cv_func_ldexpf" = x""yes; then :
54929 cat >>confdefs.h <<_ACEOF
54930 #define HAVE_LDEXPF 1
54931 _ACEOF
54934 done
54936 else
54938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
54939 $as_echo_n "checking for _ldexpf declaration... " >&6; }
54940 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
54941 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
54942 $as_echo_n "(cached) " >&6
54943 else
54946 ac_ext=cpp
54947 ac_cpp='$CXXCPP $CPPFLAGS'
54948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54953 /* end confdefs.h. */
54954 #include <math.h>
54956 main ()
54958 _ldexpf(0, 0);
54960 return 0;
54962 _ACEOF
54963 if ac_fn_cxx_try_compile "$LINENO"; then :
54964 glibcxx_cv_func__ldexpf_use=yes
54965 else
54966 glibcxx_cv_func__ldexpf_use=no
54968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54969 ac_ext=c
54970 ac_cpp='$CPP $CPPFLAGS'
54971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
54980 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
54982 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
54983 for ac_func in _ldexpf
54984 do :
54985 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
54986 if test "x$ac_cv_func__ldexpf" = x""yes; then :
54987 cat >>confdefs.h <<_ACEOF
54988 #define HAVE__LDEXPF 1
54989 _ACEOF
54992 done
55001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
55002 $as_echo_n "checking for logf declaration... " >&6; }
55003 if test x${glibcxx_cv_func_logf_use+set} != xset; then
55004 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
55005 $as_echo_n "(cached) " >&6
55006 else
55009 ac_ext=cpp
55010 ac_cpp='$CXXCPP $CPPFLAGS'
55011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55016 /* end confdefs.h. */
55017 #include <math.h>
55018 #ifdef HAVE_IEEEFP_H
55019 #include <ieeefp.h>
55020 #endif
55023 main ()
55025 logf(0);
55027 return 0;
55029 _ACEOF
55030 if ac_fn_cxx_try_compile "$LINENO"; then :
55031 glibcxx_cv_func_logf_use=yes
55032 else
55033 glibcxx_cv_func_logf_use=no
55035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55036 ac_ext=c
55037 ac_cpp='$CPP $CPPFLAGS'
55038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
55047 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
55049 if test x$glibcxx_cv_func_logf_use = x"yes"; then
55050 for ac_func in logf
55051 do :
55052 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
55053 if test "x$ac_cv_func_logf" = x""yes; then :
55054 cat >>confdefs.h <<_ACEOF
55055 #define HAVE_LOGF 1
55056 _ACEOF
55059 done
55061 else
55063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
55064 $as_echo_n "checking for _logf declaration... " >&6; }
55065 if test x${glibcxx_cv_func__logf_use+set} != xset; then
55066 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
55067 $as_echo_n "(cached) " >&6
55068 else
55071 ac_ext=cpp
55072 ac_cpp='$CXXCPP $CPPFLAGS'
55073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55078 /* end confdefs.h. */
55079 #include <math.h>
55080 #ifdef HAVE_IEEEFP_H
55081 #include <ieeefp.h>
55082 #endif
55085 main ()
55087 _logf(0);
55089 return 0;
55091 _ACEOF
55092 if ac_fn_cxx_try_compile "$LINENO"; then :
55093 glibcxx_cv_func__logf_use=yes
55094 else
55095 glibcxx_cv_func__logf_use=no
55097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55098 ac_ext=c
55099 ac_cpp='$CPP $CPPFLAGS'
55100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
55109 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
55111 if test x$glibcxx_cv_func__logf_use = x"yes"; then
55112 for ac_func in _logf
55113 do :
55114 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
55115 if test "x$ac_cv_func__logf" = x""yes; then :
55116 cat >>confdefs.h <<_ACEOF
55117 #define HAVE__LOGF 1
55118 _ACEOF
55121 done
55130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
55131 $as_echo_n "checking for log10f declaration... " >&6; }
55132 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
55133 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
55134 $as_echo_n "(cached) " >&6
55135 else
55138 ac_ext=cpp
55139 ac_cpp='$CXXCPP $CPPFLAGS'
55140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55145 /* end confdefs.h. */
55146 #include <math.h>
55147 #ifdef HAVE_IEEEFP_H
55148 #include <ieeefp.h>
55149 #endif
55152 main ()
55154 log10f(0);
55156 return 0;
55158 _ACEOF
55159 if ac_fn_cxx_try_compile "$LINENO"; then :
55160 glibcxx_cv_func_log10f_use=yes
55161 else
55162 glibcxx_cv_func_log10f_use=no
55164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55165 ac_ext=c
55166 ac_cpp='$CPP $CPPFLAGS'
55167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
55176 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
55178 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
55179 for ac_func in log10f
55180 do :
55181 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
55182 if test "x$ac_cv_func_log10f" = x""yes; then :
55183 cat >>confdefs.h <<_ACEOF
55184 #define HAVE_LOG10F 1
55185 _ACEOF
55188 done
55190 else
55192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
55193 $as_echo_n "checking for _log10f declaration... " >&6; }
55194 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
55195 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
55196 $as_echo_n "(cached) " >&6
55197 else
55200 ac_ext=cpp
55201 ac_cpp='$CXXCPP $CPPFLAGS'
55202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55207 /* end confdefs.h. */
55208 #include <math.h>
55209 #ifdef HAVE_IEEEFP_H
55210 #include <ieeefp.h>
55211 #endif
55214 main ()
55216 _log10f(0);
55218 return 0;
55220 _ACEOF
55221 if ac_fn_cxx_try_compile "$LINENO"; then :
55222 glibcxx_cv_func__log10f_use=yes
55223 else
55224 glibcxx_cv_func__log10f_use=no
55226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55227 ac_ext=c
55228 ac_cpp='$CPP $CPPFLAGS'
55229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
55238 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
55240 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
55241 for ac_func in _log10f
55242 do :
55243 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
55244 if test "x$ac_cv_func__log10f" = x""yes; then :
55245 cat >>confdefs.h <<_ACEOF
55246 #define HAVE__LOG10F 1
55247 _ACEOF
55250 done
55259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
55260 $as_echo_n "checking for modff declaration... " >&6; }
55261 if test x${glibcxx_cv_func_modff_use+set} != xset; then
55262 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
55263 $as_echo_n "(cached) " >&6
55264 else
55267 ac_ext=cpp
55268 ac_cpp='$CXXCPP $CPPFLAGS'
55269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55274 /* end confdefs.h. */
55275 #include <math.h>
55277 main ()
55279 modff(0, 0);
55281 return 0;
55283 _ACEOF
55284 if ac_fn_cxx_try_compile "$LINENO"; then :
55285 glibcxx_cv_func_modff_use=yes
55286 else
55287 glibcxx_cv_func_modff_use=no
55289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55290 ac_ext=c
55291 ac_cpp='$CPP $CPPFLAGS'
55292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
55301 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
55303 if test x$glibcxx_cv_func_modff_use = x"yes"; then
55304 for ac_func in modff
55305 do :
55306 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
55307 if test "x$ac_cv_func_modff" = x""yes; then :
55308 cat >>confdefs.h <<_ACEOF
55309 #define HAVE_MODFF 1
55310 _ACEOF
55313 done
55315 else
55317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
55318 $as_echo_n "checking for _modff declaration... " >&6; }
55319 if test x${glibcxx_cv_func__modff_use+set} != xset; then
55320 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
55321 $as_echo_n "(cached) " >&6
55322 else
55325 ac_ext=cpp
55326 ac_cpp='$CXXCPP $CPPFLAGS'
55327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55332 /* end confdefs.h. */
55333 #include <math.h>
55335 main ()
55337 _modff(0, 0);
55339 return 0;
55341 _ACEOF
55342 if ac_fn_cxx_try_compile "$LINENO"; then :
55343 glibcxx_cv_func__modff_use=yes
55344 else
55345 glibcxx_cv_func__modff_use=no
55347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55348 ac_ext=c
55349 ac_cpp='$CPP $CPPFLAGS'
55350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
55359 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
55361 if test x$glibcxx_cv_func__modff_use = x"yes"; then
55362 for ac_func in _modff
55363 do :
55364 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
55365 if test "x$ac_cv_func__modff" = x""yes; then :
55366 cat >>confdefs.h <<_ACEOF
55367 #define HAVE__MODFF 1
55368 _ACEOF
55371 done
55380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
55381 $as_echo_n "checking for modf declaration... " >&6; }
55382 if test x${glibcxx_cv_func_modf_use+set} != xset; then
55383 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
55384 $as_echo_n "(cached) " >&6
55385 else
55388 ac_ext=cpp
55389 ac_cpp='$CXXCPP $CPPFLAGS'
55390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55395 /* end confdefs.h. */
55396 #include <math.h>
55398 main ()
55400 modf(0, 0);
55402 return 0;
55404 _ACEOF
55405 if ac_fn_cxx_try_compile "$LINENO"; then :
55406 glibcxx_cv_func_modf_use=yes
55407 else
55408 glibcxx_cv_func_modf_use=no
55410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55411 ac_ext=c
55412 ac_cpp='$CPP $CPPFLAGS'
55413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
55422 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
55424 if test x$glibcxx_cv_func_modf_use = x"yes"; then
55425 for ac_func in modf
55426 do :
55427 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
55428 if test "x$ac_cv_func_modf" = x""yes; then :
55429 cat >>confdefs.h <<_ACEOF
55430 #define HAVE_MODF 1
55431 _ACEOF
55434 done
55436 else
55438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
55439 $as_echo_n "checking for _modf declaration... " >&6; }
55440 if test x${glibcxx_cv_func__modf_use+set} != xset; then
55441 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
55442 $as_echo_n "(cached) " >&6
55443 else
55446 ac_ext=cpp
55447 ac_cpp='$CXXCPP $CPPFLAGS'
55448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55453 /* end confdefs.h. */
55454 #include <math.h>
55456 main ()
55458 _modf(0, 0);
55460 return 0;
55462 _ACEOF
55463 if ac_fn_cxx_try_compile "$LINENO"; then :
55464 glibcxx_cv_func__modf_use=yes
55465 else
55466 glibcxx_cv_func__modf_use=no
55468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55469 ac_ext=c
55470 ac_cpp='$CPP $CPPFLAGS'
55471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
55480 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
55482 if test x$glibcxx_cv_func__modf_use = x"yes"; then
55483 for ac_func in _modf
55484 do :
55485 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
55486 if test "x$ac_cv_func__modf" = x""yes; then :
55487 cat >>confdefs.h <<_ACEOF
55488 #define HAVE__MODF 1
55489 _ACEOF
55492 done
55501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
55502 $as_echo_n "checking for powf declaration... " >&6; }
55503 if test x${glibcxx_cv_func_powf_use+set} != xset; then
55504 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
55505 $as_echo_n "(cached) " >&6
55506 else
55509 ac_ext=cpp
55510 ac_cpp='$CXXCPP $CPPFLAGS'
55511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55516 /* end confdefs.h. */
55517 #include <math.h>
55519 main ()
55521 powf(0, 0);
55523 return 0;
55525 _ACEOF
55526 if ac_fn_cxx_try_compile "$LINENO"; then :
55527 glibcxx_cv_func_powf_use=yes
55528 else
55529 glibcxx_cv_func_powf_use=no
55531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55532 ac_ext=c
55533 ac_cpp='$CPP $CPPFLAGS'
55534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
55543 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
55545 if test x$glibcxx_cv_func_powf_use = x"yes"; then
55546 for ac_func in powf
55547 do :
55548 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
55549 if test "x$ac_cv_func_powf" = x""yes; then :
55550 cat >>confdefs.h <<_ACEOF
55551 #define HAVE_POWF 1
55552 _ACEOF
55555 done
55557 else
55559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
55560 $as_echo_n "checking for _powf declaration... " >&6; }
55561 if test x${glibcxx_cv_func__powf_use+set} != xset; then
55562 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
55563 $as_echo_n "(cached) " >&6
55564 else
55567 ac_ext=cpp
55568 ac_cpp='$CXXCPP $CPPFLAGS'
55569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55574 /* end confdefs.h. */
55575 #include <math.h>
55577 main ()
55579 _powf(0, 0);
55581 return 0;
55583 _ACEOF
55584 if ac_fn_cxx_try_compile "$LINENO"; then :
55585 glibcxx_cv_func__powf_use=yes
55586 else
55587 glibcxx_cv_func__powf_use=no
55589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55590 ac_ext=c
55591 ac_cpp='$CPP $CPPFLAGS'
55592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
55601 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
55603 if test x$glibcxx_cv_func__powf_use = x"yes"; then
55604 for ac_func in _powf
55605 do :
55606 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
55607 if test "x$ac_cv_func__powf" = x""yes; then :
55608 cat >>confdefs.h <<_ACEOF
55609 #define HAVE__POWF 1
55610 _ACEOF
55613 done
55622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
55623 $as_echo_n "checking for sqrtf declaration... " >&6; }
55624 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
55625 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
55626 $as_echo_n "(cached) " >&6
55627 else
55630 ac_ext=cpp
55631 ac_cpp='$CXXCPP $CPPFLAGS'
55632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55637 /* end confdefs.h. */
55638 #include <math.h>
55639 #ifdef HAVE_IEEEFP_H
55640 #include <ieeefp.h>
55641 #endif
55644 main ()
55646 sqrtf(0);
55648 return 0;
55650 _ACEOF
55651 if ac_fn_cxx_try_compile "$LINENO"; then :
55652 glibcxx_cv_func_sqrtf_use=yes
55653 else
55654 glibcxx_cv_func_sqrtf_use=no
55656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55657 ac_ext=c
55658 ac_cpp='$CPP $CPPFLAGS'
55659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
55668 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
55670 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
55671 for ac_func in sqrtf
55672 do :
55673 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
55674 if test "x$ac_cv_func_sqrtf" = x""yes; then :
55675 cat >>confdefs.h <<_ACEOF
55676 #define HAVE_SQRTF 1
55677 _ACEOF
55680 done
55682 else
55684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
55685 $as_echo_n "checking for _sqrtf declaration... " >&6; }
55686 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
55687 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
55688 $as_echo_n "(cached) " >&6
55689 else
55692 ac_ext=cpp
55693 ac_cpp='$CXXCPP $CPPFLAGS'
55694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55699 /* end confdefs.h. */
55700 #include <math.h>
55701 #ifdef HAVE_IEEEFP_H
55702 #include <ieeefp.h>
55703 #endif
55706 main ()
55708 _sqrtf(0);
55710 return 0;
55712 _ACEOF
55713 if ac_fn_cxx_try_compile "$LINENO"; then :
55714 glibcxx_cv_func__sqrtf_use=yes
55715 else
55716 glibcxx_cv_func__sqrtf_use=no
55718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55719 ac_ext=c
55720 ac_cpp='$CPP $CPPFLAGS'
55721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
55730 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
55732 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
55733 for ac_func in _sqrtf
55734 do :
55735 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
55736 if test "x$ac_cv_func__sqrtf" = x""yes; then :
55737 cat >>confdefs.h <<_ACEOF
55738 #define HAVE__SQRTF 1
55739 _ACEOF
55742 done
55751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
55752 $as_echo_n "checking for sincosf declaration... " >&6; }
55753 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
55754 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
55755 $as_echo_n "(cached) " >&6
55756 else
55759 ac_ext=cpp
55760 ac_cpp='$CXXCPP $CPPFLAGS'
55761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55766 /* end confdefs.h. */
55767 #include <math.h>
55769 main ()
55771 sincosf(0, 0, 0);
55773 return 0;
55775 _ACEOF
55776 if ac_fn_cxx_try_compile "$LINENO"; then :
55777 glibcxx_cv_func_sincosf_use=yes
55778 else
55779 glibcxx_cv_func_sincosf_use=no
55781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55782 ac_ext=c
55783 ac_cpp='$CPP $CPPFLAGS'
55784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
55793 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
55795 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
55796 for ac_func in sincosf
55797 do :
55798 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
55799 if test "x$ac_cv_func_sincosf" = x""yes; then :
55800 cat >>confdefs.h <<_ACEOF
55801 #define HAVE_SINCOSF 1
55802 _ACEOF
55805 done
55807 else
55809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
55810 $as_echo_n "checking for _sincosf declaration... " >&6; }
55811 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
55812 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
55813 $as_echo_n "(cached) " >&6
55814 else
55817 ac_ext=cpp
55818 ac_cpp='$CXXCPP $CPPFLAGS'
55819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55824 /* end confdefs.h. */
55825 #include <math.h>
55827 main ()
55829 _sincosf(0, 0, 0);
55831 return 0;
55833 _ACEOF
55834 if ac_fn_cxx_try_compile "$LINENO"; then :
55835 glibcxx_cv_func__sincosf_use=yes
55836 else
55837 glibcxx_cv_func__sincosf_use=no
55839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55840 ac_ext=c
55841 ac_cpp='$CPP $CPPFLAGS'
55842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
55851 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
55853 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
55854 for ac_func in _sincosf
55855 do :
55856 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
55857 if test "x$ac_cv_func__sincosf" = x""yes; then :
55858 cat >>confdefs.h <<_ACEOF
55859 #define HAVE__SINCOSF 1
55860 _ACEOF
55863 done
55872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
55873 $as_echo_n "checking for finitef declaration... " >&6; }
55874 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
55875 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
55876 $as_echo_n "(cached) " >&6
55877 else
55880 ac_ext=cpp
55881 ac_cpp='$CXXCPP $CPPFLAGS'
55882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55887 /* end confdefs.h. */
55888 #include <math.h>
55889 #ifdef HAVE_IEEEFP_H
55890 #include <ieeefp.h>
55891 #endif
55894 main ()
55896 finitef(0);
55898 return 0;
55900 _ACEOF
55901 if ac_fn_cxx_try_compile "$LINENO"; then :
55902 glibcxx_cv_func_finitef_use=yes
55903 else
55904 glibcxx_cv_func_finitef_use=no
55906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55907 ac_ext=c
55908 ac_cpp='$CPP $CPPFLAGS'
55909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
55918 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
55920 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
55921 for ac_func in finitef
55922 do :
55923 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
55924 if test "x$ac_cv_func_finitef" = x""yes; then :
55925 cat >>confdefs.h <<_ACEOF
55926 #define HAVE_FINITEF 1
55927 _ACEOF
55930 done
55932 else
55934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
55935 $as_echo_n "checking for _finitef declaration... " >&6; }
55936 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
55937 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
55938 $as_echo_n "(cached) " >&6
55939 else
55942 ac_ext=cpp
55943 ac_cpp='$CXXCPP $CPPFLAGS'
55944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55949 /* end confdefs.h. */
55950 #include <math.h>
55951 #ifdef HAVE_IEEEFP_H
55952 #include <ieeefp.h>
55953 #endif
55956 main ()
55958 _finitef(0);
55960 return 0;
55962 _ACEOF
55963 if ac_fn_cxx_try_compile "$LINENO"; then :
55964 glibcxx_cv_func__finitef_use=yes
55965 else
55966 glibcxx_cv_func__finitef_use=no
55968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55969 ac_ext=c
55970 ac_cpp='$CPP $CPPFLAGS'
55971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
55980 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
55982 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
55983 for ac_func in _finitef
55984 do :
55985 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
55986 if test "x$ac_cv_func__finitef" = x""yes; then :
55987 cat >>confdefs.h <<_ACEOF
55988 #define HAVE__FINITEF 1
55989 _ACEOF
55992 done
56001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
56002 $as_echo_n "checking for long double trig functions... " >&6; }
56003 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
56004 $as_echo_n "(cached) " >&6
56005 else
56008 ac_ext=cpp
56009 ac_cpp='$CXXCPP $CPPFLAGS'
56010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56015 /* end confdefs.h. */
56016 #include <math.h>
56018 main ()
56020 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
56022 return 0;
56024 _ACEOF
56025 if ac_fn_cxx_try_compile "$LINENO"; then :
56026 glibcxx_cv_func_long_double_trig_use=yes
56027 else
56028 glibcxx_cv_func_long_double_trig_use=no
56030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56031 ac_ext=c
56032 ac_cpp='$CPP $CPPFLAGS'
56033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
56040 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
56041 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
56042 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
56043 do :
56044 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56045 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56046 eval as_val=\$$as_ac_var
56047 if test "x$as_val" = x""yes; then :
56048 cat >>confdefs.h <<_ACEOF
56049 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56050 _ACEOF
56053 done
56055 else
56056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
56057 $as_echo_n "checking for _long double trig functions... " >&6; }
56058 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
56059 $as_echo_n "(cached) " >&6
56060 else
56063 ac_ext=cpp
56064 ac_cpp='$CXXCPP $CPPFLAGS'
56065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56070 /* end confdefs.h. */
56071 #include <math.h>
56073 main ()
56075 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
56077 return 0;
56079 _ACEOF
56080 if ac_fn_cxx_try_compile "$LINENO"; then :
56081 glibcxx_cv_func__long_double_trig_use=yes
56082 else
56083 glibcxx_cv_func__long_double_trig_use=no
56085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56086 ac_ext=c
56087 ac_cpp='$CPP $CPPFLAGS'
56088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
56095 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
56096 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
56097 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
56098 do :
56099 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56100 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56101 eval as_val=\$$as_ac_var
56102 if test "x$as_val" = x""yes; then :
56103 cat >>confdefs.h <<_ACEOF
56104 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56105 _ACEOF
56108 done
56117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
56118 $as_echo_n "checking for long double round functions... " >&6; }
56119 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
56120 $as_echo_n "(cached) " >&6
56121 else
56124 ac_ext=cpp
56125 ac_cpp='$CXXCPP $CPPFLAGS'
56126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56131 /* end confdefs.h. */
56132 #include <math.h>
56134 main ()
56136 ceill (0); floorl (0);
56138 return 0;
56140 _ACEOF
56141 if ac_fn_cxx_try_compile "$LINENO"; then :
56142 glibcxx_cv_func_long_double_round_use=yes
56143 else
56144 glibcxx_cv_func_long_double_round_use=no
56146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56147 ac_ext=c
56148 ac_cpp='$CPP $CPPFLAGS'
56149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
56156 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
56157 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
56158 for ac_func in ceill floorl
56159 do :
56160 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56161 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56162 eval as_val=\$$as_ac_var
56163 if test "x$as_val" = x""yes; then :
56164 cat >>confdefs.h <<_ACEOF
56165 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56166 _ACEOF
56169 done
56171 else
56172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
56173 $as_echo_n "checking for _long double round functions... " >&6; }
56174 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
56175 $as_echo_n "(cached) " >&6
56176 else
56179 ac_ext=cpp
56180 ac_cpp='$CXXCPP $CPPFLAGS'
56181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56186 /* end confdefs.h. */
56187 #include <math.h>
56189 main ()
56191 _ceill (0); _floorl (0);
56193 return 0;
56195 _ACEOF
56196 if ac_fn_cxx_try_compile "$LINENO"; then :
56197 glibcxx_cv_func__long_double_round_use=yes
56198 else
56199 glibcxx_cv_func__long_double_round_use=no
56201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56202 ac_ext=c
56203 ac_cpp='$CPP $CPPFLAGS'
56204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
56211 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
56212 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
56213 for ac_func in _ceill _floorl
56214 do :
56215 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56216 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56217 eval as_val=\$$as_ac_var
56218 if test "x$as_val" = x""yes; then :
56219 cat >>confdefs.h <<_ACEOF
56220 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56221 _ACEOF
56224 done
56234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
56235 $as_echo_n "checking for isnanl declaration... " >&6; }
56236 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
56237 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
56238 $as_echo_n "(cached) " >&6
56239 else
56242 ac_ext=cpp
56243 ac_cpp='$CXXCPP $CPPFLAGS'
56244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56249 /* end confdefs.h. */
56250 #include <math.h>
56251 #ifdef HAVE_IEEEFP_H
56252 #include <ieeefp.h>
56253 #endif
56256 main ()
56258 isnanl(0);
56260 return 0;
56262 _ACEOF
56263 if ac_fn_cxx_try_compile "$LINENO"; then :
56264 glibcxx_cv_func_isnanl_use=yes
56265 else
56266 glibcxx_cv_func_isnanl_use=no
56268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56269 ac_ext=c
56270 ac_cpp='$CPP $CPPFLAGS'
56271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
56280 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
56282 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
56283 for ac_func in isnanl
56284 do :
56285 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
56286 if test "x$ac_cv_func_isnanl" = x""yes; then :
56287 cat >>confdefs.h <<_ACEOF
56288 #define HAVE_ISNANL 1
56289 _ACEOF
56292 done
56294 else
56296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
56297 $as_echo_n "checking for _isnanl declaration... " >&6; }
56298 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
56299 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
56300 $as_echo_n "(cached) " >&6
56301 else
56304 ac_ext=cpp
56305 ac_cpp='$CXXCPP $CPPFLAGS'
56306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56311 /* end confdefs.h. */
56312 #include <math.h>
56313 #ifdef HAVE_IEEEFP_H
56314 #include <ieeefp.h>
56315 #endif
56318 main ()
56320 _isnanl(0);
56322 return 0;
56324 _ACEOF
56325 if ac_fn_cxx_try_compile "$LINENO"; then :
56326 glibcxx_cv_func__isnanl_use=yes
56327 else
56328 glibcxx_cv_func__isnanl_use=no
56330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56331 ac_ext=c
56332 ac_cpp='$CPP $CPPFLAGS'
56333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
56342 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
56344 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
56345 for ac_func in _isnanl
56346 do :
56347 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
56348 if test "x$ac_cv_func__isnanl" = x""yes; then :
56349 cat >>confdefs.h <<_ACEOF
56350 #define HAVE__ISNANL 1
56351 _ACEOF
56354 done
56363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
56364 $as_echo_n "checking for isinfl declaration... " >&6; }
56365 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
56366 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
56367 $as_echo_n "(cached) " >&6
56368 else
56371 ac_ext=cpp
56372 ac_cpp='$CXXCPP $CPPFLAGS'
56373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56378 /* end confdefs.h. */
56379 #include <math.h>
56380 #ifdef HAVE_IEEEFP_H
56381 #include <ieeefp.h>
56382 #endif
56385 main ()
56387 isinfl(0);
56389 return 0;
56391 _ACEOF
56392 if ac_fn_cxx_try_compile "$LINENO"; then :
56393 glibcxx_cv_func_isinfl_use=yes
56394 else
56395 glibcxx_cv_func_isinfl_use=no
56397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56398 ac_ext=c
56399 ac_cpp='$CPP $CPPFLAGS'
56400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
56409 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
56411 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
56412 for ac_func in isinfl
56413 do :
56414 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
56415 if test "x$ac_cv_func_isinfl" = x""yes; then :
56416 cat >>confdefs.h <<_ACEOF
56417 #define HAVE_ISINFL 1
56418 _ACEOF
56421 done
56423 else
56425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
56426 $as_echo_n "checking for _isinfl declaration... " >&6; }
56427 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
56428 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
56429 $as_echo_n "(cached) " >&6
56430 else
56433 ac_ext=cpp
56434 ac_cpp='$CXXCPP $CPPFLAGS'
56435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56440 /* end confdefs.h. */
56441 #include <math.h>
56442 #ifdef HAVE_IEEEFP_H
56443 #include <ieeefp.h>
56444 #endif
56447 main ()
56449 _isinfl(0);
56451 return 0;
56453 _ACEOF
56454 if ac_fn_cxx_try_compile "$LINENO"; then :
56455 glibcxx_cv_func__isinfl_use=yes
56456 else
56457 glibcxx_cv_func__isinfl_use=no
56459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56460 ac_ext=c
56461 ac_cpp='$CPP $CPPFLAGS'
56462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
56471 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
56473 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
56474 for ac_func in _isinfl
56475 do :
56476 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
56477 if test "x$ac_cv_func__isinfl" = x""yes; then :
56478 cat >>confdefs.h <<_ACEOF
56479 #define HAVE__ISINFL 1
56480 _ACEOF
56483 done
56492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
56493 $as_echo_n "checking for atan2l declaration... " >&6; }
56494 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
56495 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
56496 $as_echo_n "(cached) " >&6
56497 else
56500 ac_ext=cpp
56501 ac_cpp='$CXXCPP $CPPFLAGS'
56502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56507 /* end confdefs.h. */
56508 #include <math.h>
56510 main ()
56512 atan2l(0, 0);
56514 return 0;
56516 _ACEOF
56517 if ac_fn_cxx_try_compile "$LINENO"; then :
56518 glibcxx_cv_func_atan2l_use=yes
56519 else
56520 glibcxx_cv_func_atan2l_use=no
56522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56523 ac_ext=c
56524 ac_cpp='$CPP $CPPFLAGS'
56525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
56534 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
56536 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
56537 for ac_func in atan2l
56538 do :
56539 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
56540 if test "x$ac_cv_func_atan2l" = x""yes; then :
56541 cat >>confdefs.h <<_ACEOF
56542 #define HAVE_ATAN2L 1
56543 _ACEOF
56546 done
56548 else
56550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
56551 $as_echo_n "checking for _atan2l declaration... " >&6; }
56552 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
56553 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
56554 $as_echo_n "(cached) " >&6
56555 else
56558 ac_ext=cpp
56559 ac_cpp='$CXXCPP $CPPFLAGS'
56560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56565 /* end confdefs.h. */
56566 #include <math.h>
56568 main ()
56570 _atan2l(0, 0);
56572 return 0;
56574 _ACEOF
56575 if ac_fn_cxx_try_compile "$LINENO"; then :
56576 glibcxx_cv_func__atan2l_use=yes
56577 else
56578 glibcxx_cv_func__atan2l_use=no
56580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56581 ac_ext=c
56582 ac_cpp='$CPP $CPPFLAGS'
56583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
56592 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
56594 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
56595 for ac_func in _atan2l
56596 do :
56597 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
56598 if test "x$ac_cv_func__atan2l" = x""yes; then :
56599 cat >>confdefs.h <<_ACEOF
56600 #define HAVE__ATAN2L 1
56601 _ACEOF
56604 done
56613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
56614 $as_echo_n "checking for expl declaration... " >&6; }
56615 if test x${glibcxx_cv_func_expl_use+set} != xset; then
56616 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
56617 $as_echo_n "(cached) " >&6
56618 else
56621 ac_ext=cpp
56622 ac_cpp='$CXXCPP $CPPFLAGS'
56623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56628 /* end confdefs.h. */
56629 #include <math.h>
56630 #ifdef HAVE_IEEEFP_H
56631 #include <ieeefp.h>
56632 #endif
56635 main ()
56637 expl(0);
56639 return 0;
56641 _ACEOF
56642 if ac_fn_cxx_try_compile "$LINENO"; then :
56643 glibcxx_cv_func_expl_use=yes
56644 else
56645 glibcxx_cv_func_expl_use=no
56647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56648 ac_ext=c
56649 ac_cpp='$CPP $CPPFLAGS'
56650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
56659 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
56661 if test x$glibcxx_cv_func_expl_use = x"yes"; then
56662 for ac_func in expl
56663 do :
56664 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
56665 if test "x$ac_cv_func_expl" = x""yes; then :
56666 cat >>confdefs.h <<_ACEOF
56667 #define HAVE_EXPL 1
56668 _ACEOF
56671 done
56673 else
56675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
56676 $as_echo_n "checking for _expl declaration... " >&6; }
56677 if test x${glibcxx_cv_func__expl_use+set} != xset; then
56678 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
56679 $as_echo_n "(cached) " >&6
56680 else
56683 ac_ext=cpp
56684 ac_cpp='$CXXCPP $CPPFLAGS'
56685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56690 /* end confdefs.h. */
56691 #include <math.h>
56692 #ifdef HAVE_IEEEFP_H
56693 #include <ieeefp.h>
56694 #endif
56697 main ()
56699 _expl(0);
56701 return 0;
56703 _ACEOF
56704 if ac_fn_cxx_try_compile "$LINENO"; then :
56705 glibcxx_cv_func__expl_use=yes
56706 else
56707 glibcxx_cv_func__expl_use=no
56709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56710 ac_ext=c
56711 ac_cpp='$CPP $CPPFLAGS'
56712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
56721 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
56723 if test x$glibcxx_cv_func__expl_use = x"yes"; then
56724 for ac_func in _expl
56725 do :
56726 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
56727 if test "x$ac_cv_func__expl" = x""yes; then :
56728 cat >>confdefs.h <<_ACEOF
56729 #define HAVE__EXPL 1
56730 _ACEOF
56733 done
56742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
56743 $as_echo_n "checking for fabsl declaration... " >&6; }
56744 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
56745 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
56746 $as_echo_n "(cached) " >&6
56747 else
56750 ac_ext=cpp
56751 ac_cpp='$CXXCPP $CPPFLAGS'
56752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56757 /* end confdefs.h. */
56758 #include <math.h>
56759 #ifdef HAVE_IEEEFP_H
56760 #include <ieeefp.h>
56761 #endif
56764 main ()
56766 fabsl(0);
56768 return 0;
56770 _ACEOF
56771 if ac_fn_cxx_try_compile "$LINENO"; then :
56772 glibcxx_cv_func_fabsl_use=yes
56773 else
56774 glibcxx_cv_func_fabsl_use=no
56776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56777 ac_ext=c
56778 ac_cpp='$CPP $CPPFLAGS'
56779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
56788 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
56790 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
56791 for ac_func in fabsl
56792 do :
56793 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
56794 if test "x$ac_cv_func_fabsl" = x""yes; then :
56795 cat >>confdefs.h <<_ACEOF
56796 #define HAVE_FABSL 1
56797 _ACEOF
56800 done
56802 else
56804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
56805 $as_echo_n "checking for _fabsl declaration... " >&6; }
56806 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
56807 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
56808 $as_echo_n "(cached) " >&6
56809 else
56812 ac_ext=cpp
56813 ac_cpp='$CXXCPP $CPPFLAGS'
56814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56819 /* end confdefs.h. */
56820 #include <math.h>
56821 #ifdef HAVE_IEEEFP_H
56822 #include <ieeefp.h>
56823 #endif
56826 main ()
56828 _fabsl(0);
56830 return 0;
56832 _ACEOF
56833 if ac_fn_cxx_try_compile "$LINENO"; then :
56834 glibcxx_cv_func__fabsl_use=yes
56835 else
56836 glibcxx_cv_func__fabsl_use=no
56838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56839 ac_ext=c
56840 ac_cpp='$CPP $CPPFLAGS'
56841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
56850 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
56852 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
56853 for ac_func in _fabsl
56854 do :
56855 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
56856 if test "x$ac_cv_func__fabsl" = x""yes; then :
56857 cat >>confdefs.h <<_ACEOF
56858 #define HAVE__FABSL 1
56859 _ACEOF
56862 done
56871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
56872 $as_echo_n "checking for fmodl declaration... " >&6; }
56873 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
56874 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
56875 $as_echo_n "(cached) " >&6
56876 else
56879 ac_ext=cpp
56880 ac_cpp='$CXXCPP $CPPFLAGS'
56881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56886 /* end confdefs.h. */
56887 #include <math.h>
56889 main ()
56891 fmodl(0, 0);
56893 return 0;
56895 _ACEOF
56896 if ac_fn_cxx_try_compile "$LINENO"; then :
56897 glibcxx_cv_func_fmodl_use=yes
56898 else
56899 glibcxx_cv_func_fmodl_use=no
56901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56902 ac_ext=c
56903 ac_cpp='$CPP $CPPFLAGS'
56904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
56913 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
56915 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
56916 for ac_func in fmodl
56917 do :
56918 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
56919 if test "x$ac_cv_func_fmodl" = x""yes; then :
56920 cat >>confdefs.h <<_ACEOF
56921 #define HAVE_FMODL 1
56922 _ACEOF
56925 done
56927 else
56929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
56930 $as_echo_n "checking for _fmodl declaration... " >&6; }
56931 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
56932 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
56933 $as_echo_n "(cached) " >&6
56934 else
56937 ac_ext=cpp
56938 ac_cpp='$CXXCPP $CPPFLAGS'
56939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56944 /* end confdefs.h. */
56945 #include <math.h>
56947 main ()
56949 _fmodl(0, 0);
56951 return 0;
56953 _ACEOF
56954 if ac_fn_cxx_try_compile "$LINENO"; then :
56955 glibcxx_cv_func__fmodl_use=yes
56956 else
56957 glibcxx_cv_func__fmodl_use=no
56959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56960 ac_ext=c
56961 ac_cpp='$CPP $CPPFLAGS'
56962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
56971 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
56973 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
56974 for ac_func in _fmodl
56975 do :
56976 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
56977 if test "x$ac_cv_func__fmodl" = x""yes; then :
56978 cat >>confdefs.h <<_ACEOF
56979 #define HAVE__FMODL 1
56980 _ACEOF
56983 done
56992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
56993 $as_echo_n "checking for frexpl declaration... " >&6; }
56994 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
56995 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
56996 $as_echo_n "(cached) " >&6
56997 else
57000 ac_ext=cpp
57001 ac_cpp='$CXXCPP $CPPFLAGS'
57002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57007 /* end confdefs.h. */
57008 #include <math.h>
57010 main ()
57012 frexpl(0, 0);
57014 return 0;
57016 _ACEOF
57017 if ac_fn_cxx_try_compile "$LINENO"; then :
57018 glibcxx_cv_func_frexpl_use=yes
57019 else
57020 glibcxx_cv_func_frexpl_use=no
57022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57023 ac_ext=c
57024 ac_cpp='$CPP $CPPFLAGS'
57025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
57034 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
57036 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
57037 for ac_func in frexpl
57038 do :
57039 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
57040 if test "x$ac_cv_func_frexpl" = x""yes; then :
57041 cat >>confdefs.h <<_ACEOF
57042 #define HAVE_FREXPL 1
57043 _ACEOF
57046 done
57048 else
57050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
57051 $as_echo_n "checking for _frexpl declaration... " >&6; }
57052 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
57053 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
57054 $as_echo_n "(cached) " >&6
57055 else
57058 ac_ext=cpp
57059 ac_cpp='$CXXCPP $CPPFLAGS'
57060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57065 /* end confdefs.h. */
57066 #include <math.h>
57068 main ()
57070 _frexpl(0, 0);
57072 return 0;
57074 _ACEOF
57075 if ac_fn_cxx_try_compile "$LINENO"; then :
57076 glibcxx_cv_func__frexpl_use=yes
57077 else
57078 glibcxx_cv_func__frexpl_use=no
57080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57081 ac_ext=c
57082 ac_cpp='$CPP $CPPFLAGS'
57083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
57092 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
57094 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
57095 for ac_func in _frexpl
57096 do :
57097 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
57098 if test "x$ac_cv_func__frexpl" = x""yes; then :
57099 cat >>confdefs.h <<_ACEOF
57100 #define HAVE__FREXPL 1
57101 _ACEOF
57104 done
57113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
57114 $as_echo_n "checking for hypotl declaration... " >&6; }
57115 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
57116 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
57117 $as_echo_n "(cached) " >&6
57118 else
57121 ac_ext=cpp
57122 ac_cpp='$CXXCPP $CPPFLAGS'
57123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57128 /* end confdefs.h. */
57129 #include <math.h>
57131 main ()
57133 hypotl(0, 0);
57135 return 0;
57137 _ACEOF
57138 if ac_fn_cxx_try_compile "$LINENO"; then :
57139 glibcxx_cv_func_hypotl_use=yes
57140 else
57141 glibcxx_cv_func_hypotl_use=no
57143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57144 ac_ext=c
57145 ac_cpp='$CPP $CPPFLAGS'
57146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
57155 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
57157 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
57158 for ac_func in hypotl
57159 do :
57160 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
57161 if test "x$ac_cv_func_hypotl" = x""yes; then :
57162 cat >>confdefs.h <<_ACEOF
57163 #define HAVE_HYPOTL 1
57164 _ACEOF
57167 done
57169 else
57171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
57172 $as_echo_n "checking for _hypotl declaration... " >&6; }
57173 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
57174 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
57175 $as_echo_n "(cached) " >&6
57176 else
57179 ac_ext=cpp
57180 ac_cpp='$CXXCPP $CPPFLAGS'
57181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57186 /* end confdefs.h. */
57187 #include <math.h>
57189 main ()
57191 _hypotl(0, 0);
57193 return 0;
57195 _ACEOF
57196 if ac_fn_cxx_try_compile "$LINENO"; then :
57197 glibcxx_cv_func__hypotl_use=yes
57198 else
57199 glibcxx_cv_func__hypotl_use=no
57201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57202 ac_ext=c
57203 ac_cpp='$CPP $CPPFLAGS'
57204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
57213 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
57215 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
57216 for ac_func in _hypotl
57217 do :
57218 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
57219 if test "x$ac_cv_func__hypotl" = x""yes; then :
57220 cat >>confdefs.h <<_ACEOF
57221 #define HAVE__HYPOTL 1
57222 _ACEOF
57225 done
57234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
57235 $as_echo_n "checking for ldexpl declaration... " >&6; }
57236 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
57237 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
57238 $as_echo_n "(cached) " >&6
57239 else
57242 ac_ext=cpp
57243 ac_cpp='$CXXCPP $CPPFLAGS'
57244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57249 /* end confdefs.h. */
57250 #include <math.h>
57252 main ()
57254 ldexpl(0, 0);
57256 return 0;
57258 _ACEOF
57259 if ac_fn_cxx_try_compile "$LINENO"; then :
57260 glibcxx_cv_func_ldexpl_use=yes
57261 else
57262 glibcxx_cv_func_ldexpl_use=no
57264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57265 ac_ext=c
57266 ac_cpp='$CPP $CPPFLAGS'
57267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
57276 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
57278 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
57279 for ac_func in ldexpl
57280 do :
57281 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
57282 if test "x$ac_cv_func_ldexpl" = x""yes; then :
57283 cat >>confdefs.h <<_ACEOF
57284 #define HAVE_LDEXPL 1
57285 _ACEOF
57288 done
57290 else
57292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
57293 $as_echo_n "checking for _ldexpl declaration... " >&6; }
57294 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
57295 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
57296 $as_echo_n "(cached) " >&6
57297 else
57300 ac_ext=cpp
57301 ac_cpp='$CXXCPP $CPPFLAGS'
57302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57307 /* end confdefs.h. */
57308 #include <math.h>
57310 main ()
57312 _ldexpl(0, 0);
57314 return 0;
57316 _ACEOF
57317 if ac_fn_cxx_try_compile "$LINENO"; then :
57318 glibcxx_cv_func__ldexpl_use=yes
57319 else
57320 glibcxx_cv_func__ldexpl_use=no
57322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57323 ac_ext=c
57324 ac_cpp='$CPP $CPPFLAGS'
57325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
57334 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
57336 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
57337 for ac_func in _ldexpl
57338 do :
57339 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
57340 if test "x$ac_cv_func__ldexpl" = x""yes; then :
57341 cat >>confdefs.h <<_ACEOF
57342 #define HAVE__LDEXPL 1
57343 _ACEOF
57346 done
57355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
57356 $as_echo_n "checking for logl declaration... " >&6; }
57357 if test x${glibcxx_cv_func_logl_use+set} != xset; then
57358 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
57359 $as_echo_n "(cached) " >&6
57360 else
57363 ac_ext=cpp
57364 ac_cpp='$CXXCPP $CPPFLAGS'
57365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57370 /* end confdefs.h. */
57371 #include <math.h>
57372 #ifdef HAVE_IEEEFP_H
57373 #include <ieeefp.h>
57374 #endif
57377 main ()
57379 logl(0);
57381 return 0;
57383 _ACEOF
57384 if ac_fn_cxx_try_compile "$LINENO"; then :
57385 glibcxx_cv_func_logl_use=yes
57386 else
57387 glibcxx_cv_func_logl_use=no
57389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57390 ac_ext=c
57391 ac_cpp='$CPP $CPPFLAGS'
57392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
57401 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
57403 if test x$glibcxx_cv_func_logl_use = x"yes"; then
57404 for ac_func in logl
57405 do :
57406 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
57407 if test "x$ac_cv_func_logl" = x""yes; then :
57408 cat >>confdefs.h <<_ACEOF
57409 #define HAVE_LOGL 1
57410 _ACEOF
57413 done
57415 else
57417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
57418 $as_echo_n "checking for _logl declaration... " >&6; }
57419 if test x${glibcxx_cv_func__logl_use+set} != xset; then
57420 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
57421 $as_echo_n "(cached) " >&6
57422 else
57425 ac_ext=cpp
57426 ac_cpp='$CXXCPP $CPPFLAGS'
57427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57432 /* end confdefs.h. */
57433 #include <math.h>
57434 #ifdef HAVE_IEEEFP_H
57435 #include <ieeefp.h>
57436 #endif
57439 main ()
57441 _logl(0);
57443 return 0;
57445 _ACEOF
57446 if ac_fn_cxx_try_compile "$LINENO"; then :
57447 glibcxx_cv_func__logl_use=yes
57448 else
57449 glibcxx_cv_func__logl_use=no
57451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57452 ac_ext=c
57453 ac_cpp='$CPP $CPPFLAGS'
57454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
57463 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
57465 if test x$glibcxx_cv_func__logl_use = x"yes"; then
57466 for ac_func in _logl
57467 do :
57468 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
57469 if test "x$ac_cv_func__logl" = x""yes; then :
57470 cat >>confdefs.h <<_ACEOF
57471 #define HAVE__LOGL 1
57472 _ACEOF
57475 done
57484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
57485 $as_echo_n "checking for log10l declaration... " >&6; }
57486 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
57487 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
57488 $as_echo_n "(cached) " >&6
57489 else
57492 ac_ext=cpp
57493 ac_cpp='$CXXCPP $CPPFLAGS'
57494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57499 /* end confdefs.h. */
57500 #include <math.h>
57501 #ifdef HAVE_IEEEFP_H
57502 #include <ieeefp.h>
57503 #endif
57506 main ()
57508 log10l(0);
57510 return 0;
57512 _ACEOF
57513 if ac_fn_cxx_try_compile "$LINENO"; then :
57514 glibcxx_cv_func_log10l_use=yes
57515 else
57516 glibcxx_cv_func_log10l_use=no
57518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57519 ac_ext=c
57520 ac_cpp='$CPP $CPPFLAGS'
57521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
57530 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
57532 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
57533 for ac_func in log10l
57534 do :
57535 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
57536 if test "x$ac_cv_func_log10l" = x""yes; then :
57537 cat >>confdefs.h <<_ACEOF
57538 #define HAVE_LOG10L 1
57539 _ACEOF
57542 done
57544 else
57546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
57547 $as_echo_n "checking for _log10l declaration... " >&6; }
57548 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
57549 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
57550 $as_echo_n "(cached) " >&6
57551 else
57554 ac_ext=cpp
57555 ac_cpp='$CXXCPP $CPPFLAGS'
57556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57561 /* end confdefs.h. */
57562 #include <math.h>
57563 #ifdef HAVE_IEEEFP_H
57564 #include <ieeefp.h>
57565 #endif
57568 main ()
57570 _log10l(0);
57572 return 0;
57574 _ACEOF
57575 if ac_fn_cxx_try_compile "$LINENO"; then :
57576 glibcxx_cv_func__log10l_use=yes
57577 else
57578 glibcxx_cv_func__log10l_use=no
57580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57581 ac_ext=c
57582 ac_cpp='$CPP $CPPFLAGS'
57583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
57592 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
57594 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
57595 for ac_func in _log10l
57596 do :
57597 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
57598 if test "x$ac_cv_func__log10l" = x""yes; then :
57599 cat >>confdefs.h <<_ACEOF
57600 #define HAVE__LOG10L 1
57601 _ACEOF
57604 done
57613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
57614 $as_echo_n "checking for modfl declaration... " >&6; }
57615 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
57616 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
57617 $as_echo_n "(cached) " >&6
57618 else
57621 ac_ext=cpp
57622 ac_cpp='$CXXCPP $CPPFLAGS'
57623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57628 /* end confdefs.h. */
57629 #include <math.h>
57631 main ()
57633 modfl(0, 0);
57635 return 0;
57637 _ACEOF
57638 if ac_fn_cxx_try_compile "$LINENO"; then :
57639 glibcxx_cv_func_modfl_use=yes
57640 else
57641 glibcxx_cv_func_modfl_use=no
57643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57644 ac_ext=c
57645 ac_cpp='$CPP $CPPFLAGS'
57646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
57655 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
57657 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
57658 for ac_func in modfl
57659 do :
57660 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
57661 if test "x$ac_cv_func_modfl" = x""yes; then :
57662 cat >>confdefs.h <<_ACEOF
57663 #define HAVE_MODFL 1
57664 _ACEOF
57667 done
57669 else
57671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
57672 $as_echo_n "checking for _modfl declaration... " >&6; }
57673 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
57674 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
57675 $as_echo_n "(cached) " >&6
57676 else
57679 ac_ext=cpp
57680 ac_cpp='$CXXCPP $CPPFLAGS'
57681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57686 /* end confdefs.h. */
57687 #include <math.h>
57689 main ()
57691 _modfl(0, 0);
57693 return 0;
57695 _ACEOF
57696 if ac_fn_cxx_try_compile "$LINENO"; then :
57697 glibcxx_cv_func__modfl_use=yes
57698 else
57699 glibcxx_cv_func__modfl_use=no
57701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57702 ac_ext=c
57703 ac_cpp='$CPP $CPPFLAGS'
57704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
57713 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
57715 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
57716 for ac_func in _modfl
57717 do :
57718 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
57719 if test "x$ac_cv_func__modfl" = x""yes; then :
57720 cat >>confdefs.h <<_ACEOF
57721 #define HAVE__MODFL 1
57722 _ACEOF
57725 done
57734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
57735 $as_echo_n "checking for powl declaration... " >&6; }
57736 if test x${glibcxx_cv_func_powl_use+set} != xset; then
57737 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
57738 $as_echo_n "(cached) " >&6
57739 else
57742 ac_ext=cpp
57743 ac_cpp='$CXXCPP $CPPFLAGS'
57744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57749 /* end confdefs.h. */
57750 #include <math.h>
57752 main ()
57754 powl(0, 0);
57756 return 0;
57758 _ACEOF
57759 if ac_fn_cxx_try_compile "$LINENO"; then :
57760 glibcxx_cv_func_powl_use=yes
57761 else
57762 glibcxx_cv_func_powl_use=no
57764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57765 ac_ext=c
57766 ac_cpp='$CPP $CPPFLAGS'
57767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
57776 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
57778 if test x$glibcxx_cv_func_powl_use = x"yes"; then
57779 for ac_func in powl
57780 do :
57781 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
57782 if test "x$ac_cv_func_powl" = x""yes; then :
57783 cat >>confdefs.h <<_ACEOF
57784 #define HAVE_POWL 1
57785 _ACEOF
57788 done
57790 else
57792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
57793 $as_echo_n "checking for _powl declaration... " >&6; }
57794 if test x${glibcxx_cv_func__powl_use+set} != xset; then
57795 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
57796 $as_echo_n "(cached) " >&6
57797 else
57800 ac_ext=cpp
57801 ac_cpp='$CXXCPP $CPPFLAGS'
57802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57807 /* end confdefs.h. */
57808 #include <math.h>
57810 main ()
57812 _powl(0, 0);
57814 return 0;
57816 _ACEOF
57817 if ac_fn_cxx_try_compile "$LINENO"; then :
57818 glibcxx_cv_func__powl_use=yes
57819 else
57820 glibcxx_cv_func__powl_use=no
57822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57823 ac_ext=c
57824 ac_cpp='$CPP $CPPFLAGS'
57825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
57834 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
57836 if test x$glibcxx_cv_func__powl_use = x"yes"; then
57837 for ac_func in _powl
57838 do :
57839 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
57840 if test "x$ac_cv_func__powl" = x""yes; then :
57841 cat >>confdefs.h <<_ACEOF
57842 #define HAVE__POWL 1
57843 _ACEOF
57846 done
57855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
57856 $as_echo_n "checking for sqrtl declaration... " >&6; }
57857 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
57858 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
57859 $as_echo_n "(cached) " >&6
57860 else
57863 ac_ext=cpp
57864 ac_cpp='$CXXCPP $CPPFLAGS'
57865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57870 /* end confdefs.h. */
57871 #include <math.h>
57872 #ifdef HAVE_IEEEFP_H
57873 #include <ieeefp.h>
57874 #endif
57877 main ()
57879 sqrtl(0);
57881 return 0;
57883 _ACEOF
57884 if ac_fn_cxx_try_compile "$LINENO"; then :
57885 glibcxx_cv_func_sqrtl_use=yes
57886 else
57887 glibcxx_cv_func_sqrtl_use=no
57889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57890 ac_ext=c
57891 ac_cpp='$CPP $CPPFLAGS'
57892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
57901 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
57903 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
57904 for ac_func in sqrtl
57905 do :
57906 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
57907 if test "x$ac_cv_func_sqrtl" = x""yes; then :
57908 cat >>confdefs.h <<_ACEOF
57909 #define HAVE_SQRTL 1
57910 _ACEOF
57913 done
57915 else
57917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
57918 $as_echo_n "checking for _sqrtl declaration... " >&6; }
57919 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
57920 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
57921 $as_echo_n "(cached) " >&6
57922 else
57925 ac_ext=cpp
57926 ac_cpp='$CXXCPP $CPPFLAGS'
57927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57932 /* end confdefs.h. */
57933 #include <math.h>
57934 #ifdef HAVE_IEEEFP_H
57935 #include <ieeefp.h>
57936 #endif
57939 main ()
57941 _sqrtl(0);
57943 return 0;
57945 _ACEOF
57946 if ac_fn_cxx_try_compile "$LINENO"; then :
57947 glibcxx_cv_func__sqrtl_use=yes
57948 else
57949 glibcxx_cv_func__sqrtl_use=no
57951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57952 ac_ext=c
57953 ac_cpp='$CPP $CPPFLAGS'
57954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
57963 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
57965 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
57966 for ac_func in _sqrtl
57967 do :
57968 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
57969 if test "x$ac_cv_func__sqrtl" = x""yes; then :
57970 cat >>confdefs.h <<_ACEOF
57971 #define HAVE__SQRTL 1
57972 _ACEOF
57975 done
57984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
57985 $as_echo_n "checking for sincosl declaration... " >&6; }
57986 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
57987 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
57988 $as_echo_n "(cached) " >&6
57989 else
57992 ac_ext=cpp
57993 ac_cpp='$CXXCPP $CPPFLAGS'
57994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57999 /* end confdefs.h. */
58000 #include <math.h>
58002 main ()
58004 sincosl(0, 0, 0);
58006 return 0;
58008 _ACEOF
58009 if ac_fn_cxx_try_compile "$LINENO"; then :
58010 glibcxx_cv_func_sincosl_use=yes
58011 else
58012 glibcxx_cv_func_sincosl_use=no
58014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58015 ac_ext=c
58016 ac_cpp='$CPP $CPPFLAGS'
58017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
58026 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
58028 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
58029 for ac_func in sincosl
58030 do :
58031 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
58032 if test "x$ac_cv_func_sincosl" = x""yes; then :
58033 cat >>confdefs.h <<_ACEOF
58034 #define HAVE_SINCOSL 1
58035 _ACEOF
58038 done
58040 else
58042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
58043 $as_echo_n "checking for _sincosl declaration... " >&6; }
58044 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
58045 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
58046 $as_echo_n "(cached) " >&6
58047 else
58050 ac_ext=cpp
58051 ac_cpp='$CXXCPP $CPPFLAGS'
58052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58057 /* end confdefs.h. */
58058 #include <math.h>
58060 main ()
58062 _sincosl(0, 0, 0);
58064 return 0;
58066 _ACEOF
58067 if ac_fn_cxx_try_compile "$LINENO"; then :
58068 glibcxx_cv_func__sincosl_use=yes
58069 else
58070 glibcxx_cv_func__sincosl_use=no
58072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58073 ac_ext=c
58074 ac_cpp='$CPP $CPPFLAGS'
58075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
58084 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
58086 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
58087 for ac_func in _sincosl
58088 do :
58089 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
58090 if test "x$ac_cv_func__sincosl" = x""yes; then :
58091 cat >>confdefs.h <<_ACEOF
58092 #define HAVE__SINCOSL 1
58093 _ACEOF
58096 done
58105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
58106 $as_echo_n "checking for finitel declaration... " >&6; }
58107 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
58108 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
58109 $as_echo_n "(cached) " >&6
58110 else
58113 ac_ext=cpp
58114 ac_cpp='$CXXCPP $CPPFLAGS'
58115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58120 /* end confdefs.h. */
58121 #include <math.h>
58122 #ifdef HAVE_IEEEFP_H
58123 #include <ieeefp.h>
58124 #endif
58127 main ()
58129 finitel(0);
58131 return 0;
58133 _ACEOF
58134 if ac_fn_cxx_try_compile "$LINENO"; then :
58135 glibcxx_cv_func_finitel_use=yes
58136 else
58137 glibcxx_cv_func_finitel_use=no
58139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58140 ac_ext=c
58141 ac_cpp='$CPP $CPPFLAGS'
58142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
58151 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
58153 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
58154 for ac_func in finitel
58155 do :
58156 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
58157 if test "x$ac_cv_func_finitel" = x""yes; then :
58158 cat >>confdefs.h <<_ACEOF
58159 #define HAVE_FINITEL 1
58160 _ACEOF
58163 done
58165 else
58167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
58168 $as_echo_n "checking for _finitel declaration... " >&6; }
58169 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
58170 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
58171 $as_echo_n "(cached) " >&6
58172 else
58175 ac_ext=cpp
58176 ac_cpp='$CXXCPP $CPPFLAGS'
58177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58182 /* end confdefs.h. */
58183 #include <math.h>
58184 #ifdef HAVE_IEEEFP_H
58185 #include <ieeefp.h>
58186 #endif
58189 main ()
58191 _finitel(0);
58193 return 0;
58195 _ACEOF
58196 if ac_fn_cxx_try_compile "$LINENO"; then :
58197 glibcxx_cv_func__finitel_use=yes
58198 else
58199 glibcxx_cv_func__finitel_use=no
58201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58202 ac_ext=c
58203 ac_cpp='$CPP $CPPFLAGS'
58204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
58213 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
58215 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
58216 for ac_func in _finitel
58217 do :
58218 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
58219 if test "x$ac_cv_func__finitel" = x""yes; then :
58220 cat >>confdefs.h <<_ACEOF
58221 #define HAVE__FINITEL 1
58222 _ACEOF
58225 done
58233 LIBS="$ac_save_LIBS"
58234 CXXFLAGS="$ac_save_CXXFLAGS"
58237 ac_test_CXXFLAGS="${CXXFLAGS+set}"
58238 ac_save_CXXFLAGS="$CXXFLAGS"
58239 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
58242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
58243 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
58244 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
58245 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
58246 $as_echo_n "(cached) " >&6
58247 else
58250 ac_ext=cpp
58251 ac_cpp='$CXXCPP $CPPFLAGS'
58252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58257 /* end confdefs.h. */
58258 #include <stdlib.h>
58260 main ()
58262 at_quick_exit(0);
58264 return 0;
58266 _ACEOF
58267 if ac_fn_cxx_try_compile "$LINENO"; then :
58268 glibcxx_cv_func_at_quick_exit_use=yes
58269 else
58270 glibcxx_cv_func_at_quick_exit_use=no
58272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58273 ac_ext=c
58274 ac_cpp='$CPP $CPPFLAGS'
58275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
58284 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
58285 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
58286 for ac_func in at_quick_exit
58287 do :
58288 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
58289 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
58290 cat >>confdefs.h <<_ACEOF
58291 #define HAVE_AT_QUICK_EXIT 1
58292 _ACEOF
58295 done
58300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
58301 $as_echo_n "checking for quick_exit declaration... " >&6; }
58302 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
58303 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
58304 $as_echo_n "(cached) " >&6
58305 else
58308 ac_ext=cpp
58309 ac_cpp='$CXXCPP $CPPFLAGS'
58310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58315 /* end confdefs.h. */
58316 #include <stdlib.h>
58318 main ()
58320 quick_exit(0);
58322 return 0;
58324 _ACEOF
58325 if ac_fn_cxx_try_compile "$LINENO"; then :
58326 glibcxx_cv_func_quick_exit_use=yes
58327 else
58328 glibcxx_cv_func_quick_exit_use=no
58330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58331 ac_ext=c
58332 ac_cpp='$CPP $CPPFLAGS'
58333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
58342 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
58343 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
58344 for ac_func in quick_exit
58345 do :
58346 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
58347 if test "x$ac_cv_func_quick_exit" = x""yes; then :
58348 cat >>confdefs.h <<_ACEOF
58349 #define HAVE_QUICK_EXIT 1
58350 _ACEOF
58353 done
58358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
58359 $as_echo_n "checking for strtold declaration... " >&6; }
58360 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
58361 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
58362 $as_echo_n "(cached) " >&6
58363 else
58366 ac_ext=cpp
58367 ac_cpp='$CXXCPP $CPPFLAGS'
58368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58373 /* end confdefs.h. */
58374 #include <stdlib.h>
58376 main ()
58378 strtold(0, 0);
58380 return 0;
58382 _ACEOF
58383 if ac_fn_cxx_try_compile "$LINENO"; then :
58384 glibcxx_cv_func_strtold_use=yes
58385 else
58386 glibcxx_cv_func_strtold_use=no
58388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58389 ac_ext=c
58390 ac_cpp='$CPP $CPPFLAGS'
58391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
58400 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
58401 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
58402 for ac_func in strtold
58403 do :
58404 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
58405 if test "x$ac_cv_func_strtold" = x""yes; then :
58406 cat >>confdefs.h <<_ACEOF
58407 #define HAVE_STRTOLD 1
58408 _ACEOF
58411 done
58418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
58419 $as_echo_n "checking for strtof declaration... " >&6; }
58420 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
58421 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
58422 $as_echo_n "(cached) " >&6
58423 else
58426 ac_ext=cpp
58427 ac_cpp='$CXXCPP $CPPFLAGS'
58428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58433 /* end confdefs.h. */
58434 #include <stdlib.h>
58436 main ()
58438 strtof(0, 0);
58440 return 0;
58442 _ACEOF
58443 if ac_fn_cxx_try_compile "$LINENO"; then :
58444 glibcxx_cv_func_strtof_use=yes
58445 else
58446 glibcxx_cv_func_strtof_use=no
58448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58449 ac_ext=c
58450 ac_cpp='$CPP $CPPFLAGS'
58451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
58460 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
58461 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
58462 for ac_func in strtof
58463 do :
58464 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
58465 if test "x$ac_cv_func_strtof" = x""yes; then :
58466 cat >>confdefs.h <<_ACEOF
58467 #define HAVE_STRTOF 1
58468 _ACEOF
58471 done
58478 CXXFLAGS="$ac_save_CXXFLAGS"
58480 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
58484 # Check whether --enable-tls was given.
58485 if test "${enable_tls+set}" = set; then :
58486 enableval=$enable_tls;
58487 case "$enableval" in
58488 yes|no) ;;
58489 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
58490 esac
58492 else
58493 enable_tls=yes
58497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
58498 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
58499 if test "${gcc_cv_have_tls+set}" = set; then :
58500 $as_echo_n "(cached) " >&6
58501 else
58503 if test "$cross_compiling" = yes; then :
58504 if test x$gcc_no_link = xyes; then
58505 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58508 /* end confdefs.h. */
58509 __thread int a; int b; int main() { return a = b; }
58510 _ACEOF
58511 if ac_fn_c_try_link "$LINENO"; then :
58512 chktls_save_LDFLAGS="$LDFLAGS"
58513 case $host in
58514 *-*-linux*)
58515 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
58517 esac
58518 chktls_save_CFLAGS="$CFLAGS"
58519 CFLAGS="-fPIC $CFLAGS"
58520 if test x$gcc_no_link = xyes; then
58521 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58524 /* end confdefs.h. */
58525 int f() { return 0; }
58526 _ACEOF
58527 if ac_fn_c_try_link "$LINENO"; then :
58528 if test x$gcc_no_link = xyes; then
58529 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58532 /* end confdefs.h. */
58533 __thread int a; int b; int f() { return a = b; }
58534 _ACEOF
58535 if ac_fn_c_try_link "$LINENO"; then :
58536 gcc_cv_have_tls=yes
58537 else
58538 gcc_cv_have_tls=no
58540 rm -f core conftest.err conftest.$ac_objext \
58541 conftest$ac_exeext conftest.$ac_ext
58542 else
58543 gcc_cv_have_tls=yes
58545 rm -f core conftest.err conftest.$ac_objext \
58546 conftest$ac_exeext conftest.$ac_ext
58547 CFLAGS="$chktls_save_CFLAGS"
58548 LDFLAGS="$chktls_save_LDFLAGS"
58549 else
58550 gcc_cv_have_tls=no
58552 rm -f core conftest.err conftest.$ac_objext \
58553 conftest$ac_exeext conftest.$ac_ext
58556 else
58557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58558 /* end confdefs.h. */
58559 __thread int a; int b; int main() { return a = b; }
58560 _ACEOF
58561 if ac_fn_c_try_run "$LINENO"; then :
58562 chktls_save_LDFLAGS="$LDFLAGS"
58563 LDFLAGS="-static $LDFLAGS"
58564 if test x$gcc_no_link = xyes; then
58565 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58568 /* end confdefs.h. */
58569 int main() { return 0; }
58570 _ACEOF
58571 if ac_fn_c_try_link "$LINENO"; then :
58572 if test "$cross_compiling" = yes; then :
58573 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
58574 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
58575 as_fn_error "cannot run test program while cross compiling
58576 See \`config.log' for more details." "$LINENO" 5; }
58577 else
58578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58579 /* end confdefs.h. */
58580 __thread int a; int b; int main() { return a = b; }
58581 _ACEOF
58582 if ac_fn_c_try_run "$LINENO"; then :
58583 gcc_cv_have_tls=yes
58584 else
58585 gcc_cv_have_tls=no
58587 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
58588 conftest.$ac_objext conftest.beam conftest.$ac_ext
58591 else
58592 gcc_cv_have_tls=yes
58594 rm -f core conftest.err conftest.$ac_objext \
58595 conftest$ac_exeext conftest.$ac_ext
58596 LDFLAGS="$chktls_save_LDFLAGS"
58597 if test $gcc_cv_have_tls = yes; then
58598 chktls_save_CFLAGS="$CFLAGS"
58599 thread_CFLAGS=failed
58600 for flag in '' '-pthread' '-lpthread'; do
58601 CFLAGS="$flag $chktls_save_CFLAGS"
58602 if test x$gcc_no_link = xyes; then
58603 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58606 /* end confdefs.h. */
58607 #include <pthread.h>
58608 void *g(void *d) { return NULL; }
58610 main ()
58612 pthread_t t; pthread_create(&t,NULL,g,NULL);
58614 return 0;
58616 _ACEOF
58617 if ac_fn_c_try_link "$LINENO"; then :
58618 thread_CFLAGS="$flag"
58620 rm -f core conftest.err conftest.$ac_objext \
58621 conftest$ac_exeext conftest.$ac_ext
58622 if test "X$thread_CFLAGS" != Xfailed; then
58623 break
58625 done
58626 CFLAGS="$chktls_save_CFLAGS"
58627 if test "X$thread_CFLAGS" != Xfailed; then
58628 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
58629 if test "$cross_compiling" = yes; then :
58630 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
58631 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
58632 as_fn_error "cannot run test program while cross compiling
58633 See \`config.log' for more details." "$LINENO" 5; }
58634 else
58635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58636 /* end confdefs.h. */
58637 #include <pthread.h>
58638 __thread int a;
58639 static int *volatile a_in_other_thread;
58640 static void *
58641 thread_func (void *arg)
58643 a_in_other_thread = &a;
58644 return (void *)0;
58647 main ()
58649 pthread_t thread;
58650 void *thread_retval;
58651 int *volatile a_in_main_thread;
58652 a_in_main_thread = &a;
58653 if (pthread_create (&thread, (pthread_attr_t *)0,
58654 thread_func, (void *)0))
58655 return 0;
58656 if (pthread_join (thread, &thread_retval))
58657 return 0;
58658 return (a_in_other_thread == a_in_main_thread);
58660 return 0;
58662 _ACEOF
58663 if ac_fn_c_try_run "$LINENO"; then :
58664 gcc_cv_have_tls=yes
58665 else
58666 gcc_cv_have_tls=no
58668 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
58669 conftest.$ac_objext conftest.beam conftest.$ac_ext
58672 CFLAGS="$chktls_save_CFLAGS"
58675 else
58676 gcc_cv_have_tls=no
58678 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
58679 conftest.$ac_objext conftest.beam conftest.$ac_ext
58683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
58684 $as_echo "$gcc_cv_have_tls" >&6; }
58685 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
58687 $as_echo "#define HAVE_TLS 1" >>confdefs.h
58695 am_save_CPPFLAGS="$CPPFLAGS"
58697 for element in $INCICONV; do
58698 haveit=
58699 for x in $CPPFLAGS; do
58701 acl_save_prefix="$prefix"
58702 prefix="$acl_final_prefix"
58703 acl_save_exec_prefix="$exec_prefix"
58704 exec_prefix="$acl_final_exec_prefix"
58705 eval x=\"$x\"
58706 exec_prefix="$acl_save_exec_prefix"
58707 prefix="$acl_save_prefix"
58709 if test "X$x" = "X$element"; then
58710 haveit=yes
58711 break
58713 done
58714 if test -z "$haveit"; then
58715 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
58717 done
58720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
58721 $as_echo_n "checking for iconv... " >&6; }
58722 if test "${am_cv_func_iconv+set}" = set; then :
58723 $as_echo_n "(cached) " >&6
58724 else
58726 am_cv_func_iconv="no, consider installing GNU libiconv"
58727 am_cv_lib_iconv=no
58728 if test x$gcc_no_link = xyes; then
58729 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58732 /* end confdefs.h. */
58733 #include <stdlib.h>
58734 #include <iconv.h>
58736 main ()
58738 iconv_t cd = iconv_open("","");
58739 iconv(cd,NULL,NULL,NULL,NULL);
58740 iconv_close(cd);
58742 return 0;
58744 _ACEOF
58745 if ac_fn_c_try_link "$LINENO"; then :
58746 am_cv_func_iconv=yes
58748 rm -f core conftest.err conftest.$ac_objext \
58749 conftest$ac_exeext conftest.$ac_ext
58750 if test "$am_cv_func_iconv" != yes; then
58751 am_save_LIBS="$LIBS"
58752 LIBS="$LIBS $LIBICONV"
58753 if test x$gcc_no_link = xyes; then
58754 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58757 /* end confdefs.h. */
58758 #include <stdlib.h>
58759 #include <iconv.h>
58761 main ()
58763 iconv_t cd = iconv_open("","");
58764 iconv(cd,NULL,NULL,NULL,NULL);
58765 iconv_close(cd);
58767 return 0;
58769 _ACEOF
58770 if ac_fn_c_try_link "$LINENO"; then :
58771 am_cv_lib_iconv=yes
58772 am_cv_func_iconv=yes
58774 rm -f core conftest.err conftest.$ac_objext \
58775 conftest$ac_exeext conftest.$ac_ext
58776 LIBS="$am_save_LIBS"
58780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
58781 $as_echo "$am_cv_func_iconv" >&6; }
58782 if test "$am_cv_func_iconv" = yes; then
58784 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
58787 if test "$am_cv_lib_iconv" = yes; then
58788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
58789 $as_echo_n "checking how to link with libiconv... " >&6; }
58790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
58791 $as_echo "$LIBICONV" >&6; }
58792 else
58793 CPPFLAGS="$am_save_CPPFLAGS"
58794 LIBICONV=
58795 LTLIBICONV=
58800 if test "$am_cv_func_iconv" = yes; then
58801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
58802 $as_echo_n "checking for iconv declaration... " >&6; }
58803 if test "${am_cv_proto_iconv+set}" = set; then :
58804 $as_echo_n "(cached) " >&6
58805 else
58807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58808 /* end confdefs.h. */
58810 #include <stdlib.h>
58811 #include <iconv.h>
58812 extern
58813 #ifdef __cplusplus
58815 #endif
58816 #if defined(__STDC__) || defined(__cplusplus)
58817 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
58818 #else
58819 size_t iconv();
58820 #endif
58823 main ()
58827 return 0;
58829 _ACEOF
58830 if ac_fn_c_try_compile "$LINENO"; then :
58831 am_cv_proto_iconv_arg1=""
58832 else
58833 am_cv_proto_iconv_arg1="const"
58835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58836 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);"
58839 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
58840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
58841 }$am_cv_proto_iconv" >&5
58842 $as_echo "${ac_t:-
58843 }$am_cv_proto_iconv" >&6; }
58845 cat >>confdefs.h <<_ACEOF
58846 #define ICONV_CONST $am_cv_proto_iconv_arg1
58847 _ACEOF
58852 *-mingw32*)
58854 # If we're not using GNU ld, then there's no point in even trying these
58855 # tests. Check for that first. We should have already tested for gld
58856 # by now (in libtool), but require it now just to be safe...
58857 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
58858 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
58862 # The name set by libtool depends on the version of libtool. Shame on us
58863 # for depending on an impl detail, but c'est la vie. Older versions used
58864 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
58865 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
58866 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
58867 # set (hence we're using an older libtool), then set it.
58868 if test x${with_gnu_ld+set} != xset; then
58869 if test x${ac_cv_prog_gnu_ld+set} != xset; then
58870 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
58871 with_gnu_ld=no
58872 else
58873 with_gnu_ld=$ac_cv_prog_gnu_ld
58877 # Start by getting the version number. I think the libtool test already
58878 # does some of this, but throws away the result.
58879 glibcxx_ld_is_gold=no
58880 if test x"$with_gnu_ld" = x"yes"; then
58881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
58882 $as_echo_n "checking for ld version... " >&6; }
58884 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
58885 glibcxx_ld_is_gold=yes
58887 ldver=`$LD --version 2>/dev/null |
58888 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'`
58890 glibcxx_gnu_ld_version=`echo $ldver | \
58891 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
58892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
58893 $as_echo "$glibcxx_gnu_ld_version" >&6; }
58896 # Set --gc-sections.
58897 glibcxx_have_gc_sections=no
58898 if test "$glibcxx_ld_is_gold" = "yes"; then
58899 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
58900 glibcxx_have_gc_sections=yes
58902 else
58903 glibcxx_gcsections_min_ld=21602
58904 if test x"$with_gnu_ld" = x"yes" &&
58905 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
58906 glibcxx_have_gc_sections=yes
58909 if test "$glibcxx_have_gc_sections" = "yes"; then
58910 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
58911 # NB: This flag only works reliably after 2.16.1. Configure tests
58912 # for this are difficult, so hard wire a value that should work.
58914 ac_test_CFLAGS="${CFLAGS+set}"
58915 ac_save_CFLAGS="$CFLAGS"
58916 CFLAGS='-Wl,--gc-sections'
58918 # Check for -Wl,--gc-sections
58919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
58920 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
58921 if test x$gcc_no_link = xyes; then
58922 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58925 /* end confdefs.h. */
58926 int one(void) { return 1; }
58927 int two(void) { return 2; }
58930 main ()
58932 two();
58934 return 0;
58936 _ACEOF
58937 if ac_fn_c_try_link "$LINENO"; then :
58938 ac_gcsections=yes
58939 else
58940 ac_gcsections=no
58942 rm -f core conftest.err conftest.$ac_objext \
58943 conftest$ac_exeext conftest.$ac_ext
58944 if test "$ac_gcsections" = "yes"; then
58945 rm -f conftest.c
58946 touch conftest.c
58947 if $CC -c conftest.c; then
58948 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
58949 grep "Warning: gc-sections option ignored" > /dev/null; then
58950 ac_gcsections=no
58953 rm -f conftest.c conftest.o conftest
58955 if test "$ac_gcsections" = "yes"; then
58956 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
58958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
58959 $as_echo "$ac_gcsections" >&6; }
58961 if test "$ac_test_CFLAGS" = set; then
58962 CFLAGS="$ac_save_CFLAGS"
58963 else
58964 # this is the suspicious part
58965 CFLAGS=''
58969 # Set -z,relro.
58970 # Note this is only for shared objects.
58971 ac_ld_relro=no
58972 if test x"$with_gnu_ld" = x"yes"; then
58973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
58974 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
58975 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
58976 if test -n "$cxx_z_relo"; then
58977 OPT_LDFLAGS="-Wl,-z,relro"
58978 ac_ld_relro=yes
58980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
58981 $as_echo "$ac_ld_relro" >&6; }
58984 # Set linker optimization flags.
58985 if test x"$with_gnu_ld" = x"yes"; then
58986 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
58993 ac_test_CXXFLAGS="${CXXFLAGS+set}"
58994 ac_save_CXXFLAGS="$CXXFLAGS"
58995 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
58997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
58998 $as_echo_n "checking for sin in -lm... " >&6; }
58999 if test "${ac_cv_lib_m_sin+set}" = set; then :
59000 $as_echo_n "(cached) " >&6
59001 else
59002 ac_check_lib_save_LIBS=$LIBS
59003 LIBS="-lm $LIBS"
59004 if test x$gcc_no_link = xyes; then
59005 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59008 /* end confdefs.h. */
59010 /* Override any GCC internal prototype to avoid an error.
59011 Use char because int might match the return type of a GCC
59012 builtin and then its argument prototype would still apply. */
59013 #ifdef __cplusplus
59014 extern "C"
59015 #endif
59016 char sin ();
59018 main ()
59020 return sin ();
59022 return 0;
59024 _ACEOF
59025 if ac_fn_c_try_link "$LINENO"; then :
59026 ac_cv_lib_m_sin=yes
59027 else
59028 ac_cv_lib_m_sin=no
59030 rm -f core conftest.err conftest.$ac_objext \
59031 conftest$ac_exeext conftest.$ac_ext
59032 LIBS=$ac_check_lib_save_LIBS
59034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
59035 $as_echo "$ac_cv_lib_m_sin" >&6; }
59036 if test "x$ac_cv_lib_m_sin" = x""yes; then :
59037 libm="-lm"
59040 ac_save_LIBS="$LIBS"
59041 LIBS="$LIBS $libm"
59045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
59046 $as_echo_n "checking for isinf declaration... " >&6; }
59047 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
59048 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
59049 $as_echo_n "(cached) " >&6
59050 else
59053 ac_ext=cpp
59054 ac_cpp='$CXXCPP $CPPFLAGS'
59055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59060 /* end confdefs.h. */
59061 #include <math.h>
59062 #ifdef HAVE_IEEEFP_H
59063 #include <ieeefp.h>
59064 #endif
59067 main ()
59069 isinf(0);
59071 return 0;
59073 _ACEOF
59074 if ac_fn_cxx_try_compile "$LINENO"; then :
59075 glibcxx_cv_func_isinf_use=yes
59076 else
59077 glibcxx_cv_func_isinf_use=no
59079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59080 ac_ext=c
59081 ac_cpp='$CPP $CPPFLAGS'
59082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
59091 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
59093 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
59094 for ac_func in isinf
59095 do :
59096 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
59097 if test "x$ac_cv_func_isinf" = x""yes; then :
59098 cat >>confdefs.h <<_ACEOF
59099 #define HAVE_ISINF 1
59100 _ACEOF
59103 done
59105 else
59107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
59108 $as_echo_n "checking for _isinf declaration... " >&6; }
59109 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
59110 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
59111 $as_echo_n "(cached) " >&6
59112 else
59115 ac_ext=cpp
59116 ac_cpp='$CXXCPP $CPPFLAGS'
59117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59122 /* end confdefs.h. */
59123 #include <math.h>
59124 #ifdef HAVE_IEEEFP_H
59125 #include <ieeefp.h>
59126 #endif
59129 main ()
59131 _isinf(0);
59133 return 0;
59135 _ACEOF
59136 if ac_fn_cxx_try_compile "$LINENO"; then :
59137 glibcxx_cv_func__isinf_use=yes
59138 else
59139 glibcxx_cv_func__isinf_use=no
59141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59142 ac_ext=c
59143 ac_cpp='$CPP $CPPFLAGS'
59144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
59153 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
59155 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
59156 for ac_func in _isinf
59157 do :
59158 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
59159 if test "x$ac_cv_func__isinf" = x""yes; then :
59160 cat >>confdefs.h <<_ACEOF
59161 #define HAVE__ISINF 1
59162 _ACEOF
59165 done
59174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
59175 $as_echo_n "checking for isnan declaration... " >&6; }
59176 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
59177 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
59178 $as_echo_n "(cached) " >&6
59179 else
59182 ac_ext=cpp
59183 ac_cpp='$CXXCPP $CPPFLAGS'
59184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59189 /* end confdefs.h. */
59190 #include <math.h>
59191 #ifdef HAVE_IEEEFP_H
59192 #include <ieeefp.h>
59193 #endif
59196 main ()
59198 isnan(0);
59200 return 0;
59202 _ACEOF
59203 if ac_fn_cxx_try_compile "$LINENO"; then :
59204 glibcxx_cv_func_isnan_use=yes
59205 else
59206 glibcxx_cv_func_isnan_use=no
59208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59209 ac_ext=c
59210 ac_cpp='$CPP $CPPFLAGS'
59211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
59220 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
59222 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
59223 for ac_func in isnan
59224 do :
59225 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
59226 if test "x$ac_cv_func_isnan" = x""yes; then :
59227 cat >>confdefs.h <<_ACEOF
59228 #define HAVE_ISNAN 1
59229 _ACEOF
59232 done
59234 else
59236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
59237 $as_echo_n "checking for _isnan declaration... " >&6; }
59238 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
59239 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
59240 $as_echo_n "(cached) " >&6
59241 else
59244 ac_ext=cpp
59245 ac_cpp='$CXXCPP $CPPFLAGS'
59246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59251 /* end confdefs.h. */
59252 #include <math.h>
59253 #ifdef HAVE_IEEEFP_H
59254 #include <ieeefp.h>
59255 #endif
59258 main ()
59260 _isnan(0);
59262 return 0;
59264 _ACEOF
59265 if ac_fn_cxx_try_compile "$LINENO"; then :
59266 glibcxx_cv_func__isnan_use=yes
59267 else
59268 glibcxx_cv_func__isnan_use=no
59270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59271 ac_ext=c
59272 ac_cpp='$CPP $CPPFLAGS'
59273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
59282 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
59284 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
59285 for ac_func in _isnan
59286 do :
59287 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
59288 if test "x$ac_cv_func__isnan" = x""yes; then :
59289 cat >>confdefs.h <<_ACEOF
59290 #define HAVE__ISNAN 1
59291 _ACEOF
59294 done
59303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
59304 $as_echo_n "checking for finite declaration... " >&6; }
59305 if test x${glibcxx_cv_func_finite_use+set} != xset; then
59306 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
59307 $as_echo_n "(cached) " >&6
59308 else
59311 ac_ext=cpp
59312 ac_cpp='$CXXCPP $CPPFLAGS'
59313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59318 /* end confdefs.h. */
59319 #include <math.h>
59320 #ifdef HAVE_IEEEFP_H
59321 #include <ieeefp.h>
59322 #endif
59325 main ()
59327 finite(0);
59329 return 0;
59331 _ACEOF
59332 if ac_fn_cxx_try_compile "$LINENO"; then :
59333 glibcxx_cv_func_finite_use=yes
59334 else
59335 glibcxx_cv_func_finite_use=no
59337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59338 ac_ext=c
59339 ac_cpp='$CPP $CPPFLAGS'
59340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
59349 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
59351 if test x$glibcxx_cv_func_finite_use = x"yes"; then
59352 for ac_func in finite
59353 do :
59354 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
59355 if test "x$ac_cv_func_finite" = x""yes; then :
59356 cat >>confdefs.h <<_ACEOF
59357 #define HAVE_FINITE 1
59358 _ACEOF
59361 done
59363 else
59365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
59366 $as_echo_n "checking for _finite declaration... " >&6; }
59367 if test x${glibcxx_cv_func__finite_use+set} != xset; then
59368 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
59369 $as_echo_n "(cached) " >&6
59370 else
59373 ac_ext=cpp
59374 ac_cpp='$CXXCPP $CPPFLAGS'
59375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59380 /* end confdefs.h. */
59381 #include <math.h>
59382 #ifdef HAVE_IEEEFP_H
59383 #include <ieeefp.h>
59384 #endif
59387 main ()
59389 _finite(0);
59391 return 0;
59393 _ACEOF
59394 if ac_fn_cxx_try_compile "$LINENO"; then :
59395 glibcxx_cv_func__finite_use=yes
59396 else
59397 glibcxx_cv_func__finite_use=no
59399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59400 ac_ext=c
59401 ac_cpp='$CPP $CPPFLAGS'
59402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
59411 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
59413 if test x$glibcxx_cv_func__finite_use = x"yes"; then
59414 for ac_func in _finite
59415 do :
59416 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
59417 if test "x$ac_cv_func__finite" = x""yes; then :
59418 cat >>confdefs.h <<_ACEOF
59419 #define HAVE__FINITE 1
59420 _ACEOF
59423 done
59432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
59433 $as_echo_n "checking for sincos declaration... " >&6; }
59434 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
59435 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
59436 $as_echo_n "(cached) " >&6
59437 else
59440 ac_ext=cpp
59441 ac_cpp='$CXXCPP $CPPFLAGS'
59442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59447 /* end confdefs.h. */
59448 #include <math.h>
59450 main ()
59452 sincos(0, 0, 0);
59454 return 0;
59456 _ACEOF
59457 if ac_fn_cxx_try_compile "$LINENO"; then :
59458 glibcxx_cv_func_sincos_use=yes
59459 else
59460 glibcxx_cv_func_sincos_use=no
59462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59463 ac_ext=c
59464 ac_cpp='$CPP $CPPFLAGS'
59465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
59474 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
59476 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
59477 for ac_func in sincos
59478 do :
59479 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
59480 if test "x$ac_cv_func_sincos" = x""yes; then :
59481 cat >>confdefs.h <<_ACEOF
59482 #define HAVE_SINCOS 1
59483 _ACEOF
59486 done
59488 else
59490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
59491 $as_echo_n "checking for _sincos declaration... " >&6; }
59492 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
59493 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
59494 $as_echo_n "(cached) " >&6
59495 else
59498 ac_ext=cpp
59499 ac_cpp='$CXXCPP $CPPFLAGS'
59500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59505 /* end confdefs.h. */
59506 #include <math.h>
59508 main ()
59510 _sincos(0, 0, 0);
59512 return 0;
59514 _ACEOF
59515 if ac_fn_cxx_try_compile "$LINENO"; then :
59516 glibcxx_cv_func__sincos_use=yes
59517 else
59518 glibcxx_cv_func__sincos_use=no
59520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59521 ac_ext=c
59522 ac_cpp='$CPP $CPPFLAGS'
59523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
59532 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
59534 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
59535 for ac_func in _sincos
59536 do :
59537 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
59538 if test "x$ac_cv_func__sincos" = x""yes; then :
59539 cat >>confdefs.h <<_ACEOF
59540 #define HAVE__SINCOS 1
59541 _ACEOF
59544 done
59553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
59554 $as_echo_n "checking for fpclass declaration... " >&6; }
59555 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
59556 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
59557 $as_echo_n "(cached) " >&6
59558 else
59561 ac_ext=cpp
59562 ac_cpp='$CXXCPP $CPPFLAGS'
59563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59568 /* end confdefs.h. */
59569 #include <math.h>
59570 #ifdef HAVE_IEEEFP_H
59571 #include <ieeefp.h>
59572 #endif
59575 main ()
59577 fpclass(0);
59579 return 0;
59581 _ACEOF
59582 if ac_fn_cxx_try_compile "$LINENO"; then :
59583 glibcxx_cv_func_fpclass_use=yes
59584 else
59585 glibcxx_cv_func_fpclass_use=no
59587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59588 ac_ext=c
59589 ac_cpp='$CPP $CPPFLAGS'
59590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
59599 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
59601 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
59602 for ac_func in fpclass
59603 do :
59604 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
59605 if test "x$ac_cv_func_fpclass" = x""yes; then :
59606 cat >>confdefs.h <<_ACEOF
59607 #define HAVE_FPCLASS 1
59608 _ACEOF
59611 done
59613 else
59615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
59616 $as_echo_n "checking for _fpclass declaration... " >&6; }
59617 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
59618 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
59619 $as_echo_n "(cached) " >&6
59620 else
59623 ac_ext=cpp
59624 ac_cpp='$CXXCPP $CPPFLAGS'
59625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59630 /* end confdefs.h. */
59631 #include <math.h>
59632 #ifdef HAVE_IEEEFP_H
59633 #include <ieeefp.h>
59634 #endif
59637 main ()
59639 _fpclass(0);
59641 return 0;
59643 _ACEOF
59644 if ac_fn_cxx_try_compile "$LINENO"; then :
59645 glibcxx_cv_func__fpclass_use=yes
59646 else
59647 glibcxx_cv_func__fpclass_use=no
59649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59650 ac_ext=c
59651 ac_cpp='$CPP $CPPFLAGS'
59652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
59661 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
59663 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
59664 for ac_func in _fpclass
59665 do :
59666 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
59667 if test "x$ac_cv_func__fpclass" = x""yes; then :
59668 cat >>confdefs.h <<_ACEOF
59669 #define HAVE__FPCLASS 1
59670 _ACEOF
59673 done
59682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
59683 $as_echo_n "checking for qfpclass declaration... " >&6; }
59684 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
59685 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
59686 $as_echo_n "(cached) " >&6
59687 else
59690 ac_ext=cpp
59691 ac_cpp='$CXXCPP $CPPFLAGS'
59692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59697 /* end confdefs.h. */
59698 #include <math.h>
59699 #ifdef HAVE_IEEEFP_H
59700 #include <ieeefp.h>
59701 #endif
59704 main ()
59706 qfpclass(0);
59708 return 0;
59710 _ACEOF
59711 if ac_fn_cxx_try_compile "$LINENO"; then :
59712 glibcxx_cv_func_qfpclass_use=yes
59713 else
59714 glibcxx_cv_func_qfpclass_use=no
59716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59717 ac_ext=c
59718 ac_cpp='$CPP $CPPFLAGS'
59719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
59728 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
59730 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
59731 for ac_func in qfpclass
59732 do :
59733 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
59734 if test "x$ac_cv_func_qfpclass" = x""yes; then :
59735 cat >>confdefs.h <<_ACEOF
59736 #define HAVE_QFPCLASS 1
59737 _ACEOF
59740 done
59742 else
59744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
59745 $as_echo_n "checking for _qfpclass declaration... " >&6; }
59746 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
59747 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
59748 $as_echo_n "(cached) " >&6
59749 else
59752 ac_ext=cpp
59753 ac_cpp='$CXXCPP $CPPFLAGS'
59754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59759 /* end confdefs.h. */
59760 #include <math.h>
59761 #ifdef HAVE_IEEEFP_H
59762 #include <ieeefp.h>
59763 #endif
59766 main ()
59768 _qfpclass(0);
59770 return 0;
59772 _ACEOF
59773 if ac_fn_cxx_try_compile "$LINENO"; then :
59774 glibcxx_cv_func__qfpclass_use=yes
59775 else
59776 glibcxx_cv_func__qfpclass_use=no
59778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59779 ac_ext=c
59780 ac_cpp='$CPP $CPPFLAGS'
59781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
59790 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
59792 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
59793 for ac_func in _qfpclass
59794 do :
59795 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
59796 if test "x$ac_cv_func__qfpclass" = x""yes; then :
59797 cat >>confdefs.h <<_ACEOF
59798 #define HAVE__QFPCLASS 1
59799 _ACEOF
59802 done
59811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
59812 $as_echo_n "checking for hypot declaration... " >&6; }
59813 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
59814 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
59815 $as_echo_n "(cached) " >&6
59816 else
59819 ac_ext=cpp
59820 ac_cpp='$CXXCPP $CPPFLAGS'
59821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59826 /* end confdefs.h. */
59827 #include <math.h>
59829 main ()
59831 hypot(0, 0);
59833 return 0;
59835 _ACEOF
59836 if ac_fn_cxx_try_compile "$LINENO"; then :
59837 glibcxx_cv_func_hypot_use=yes
59838 else
59839 glibcxx_cv_func_hypot_use=no
59841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59842 ac_ext=c
59843 ac_cpp='$CPP $CPPFLAGS'
59844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
59853 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
59855 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
59856 for ac_func in hypot
59857 do :
59858 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
59859 if test "x$ac_cv_func_hypot" = x""yes; then :
59860 cat >>confdefs.h <<_ACEOF
59861 #define HAVE_HYPOT 1
59862 _ACEOF
59865 done
59867 else
59869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
59870 $as_echo_n "checking for _hypot declaration... " >&6; }
59871 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
59872 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
59873 $as_echo_n "(cached) " >&6
59874 else
59877 ac_ext=cpp
59878 ac_cpp='$CXXCPP $CPPFLAGS'
59879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59884 /* end confdefs.h. */
59885 #include <math.h>
59887 main ()
59889 _hypot(0, 0);
59891 return 0;
59893 _ACEOF
59894 if ac_fn_cxx_try_compile "$LINENO"; then :
59895 glibcxx_cv_func__hypot_use=yes
59896 else
59897 glibcxx_cv_func__hypot_use=no
59899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59900 ac_ext=c
59901 ac_cpp='$CPP $CPPFLAGS'
59902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
59911 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
59913 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
59914 for ac_func in _hypot
59915 do :
59916 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
59917 if test "x$ac_cv_func__hypot" = x""yes; then :
59918 cat >>confdefs.h <<_ACEOF
59919 #define HAVE__HYPOT 1
59920 _ACEOF
59923 done
59932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
59933 $as_echo_n "checking for float trig functions... " >&6; }
59934 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
59935 $as_echo_n "(cached) " >&6
59936 else
59939 ac_ext=cpp
59940 ac_cpp='$CXXCPP $CPPFLAGS'
59941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59946 /* end confdefs.h. */
59947 #include <math.h>
59949 main ()
59951 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
59953 return 0;
59955 _ACEOF
59956 if ac_fn_cxx_try_compile "$LINENO"; then :
59957 glibcxx_cv_func_float_trig_use=yes
59958 else
59959 glibcxx_cv_func_float_trig_use=no
59961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59962 ac_ext=c
59963 ac_cpp='$CPP $CPPFLAGS'
59964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
59971 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
59972 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
59973 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
59974 do :
59975 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59976 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59977 eval as_val=\$$as_ac_var
59978 if test "x$as_val" = x""yes; then :
59979 cat >>confdefs.h <<_ACEOF
59980 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59981 _ACEOF
59984 done
59986 else
59987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
59988 $as_echo_n "checking for _float trig functions... " >&6; }
59989 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
59990 $as_echo_n "(cached) " >&6
59991 else
59994 ac_ext=cpp
59995 ac_cpp='$CXXCPP $CPPFLAGS'
59996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60001 /* end confdefs.h. */
60002 #include <math.h>
60004 main ()
60006 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
60008 return 0;
60010 _ACEOF
60011 if ac_fn_cxx_try_compile "$LINENO"; then :
60012 glibcxx_cv_func__float_trig_use=yes
60013 else
60014 glibcxx_cv_func__float_trig_use=no
60016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60017 ac_ext=c
60018 ac_cpp='$CPP $CPPFLAGS'
60019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
60026 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
60027 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
60028 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
60029 do :
60030 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60031 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60032 eval as_val=\$$as_ac_var
60033 if test "x$as_val" = x""yes; then :
60034 cat >>confdefs.h <<_ACEOF
60035 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60036 _ACEOF
60039 done
60048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
60049 $as_echo_n "checking for float round functions... " >&6; }
60050 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
60051 $as_echo_n "(cached) " >&6
60052 else
60055 ac_ext=cpp
60056 ac_cpp='$CXXCPP $CPPFLAGS'
60057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60062 /* end confdefs.h. */
60063 #include <math.h>
60065 main ()
60067 ceilf (0); floorf (0);
60069 return 0;
60071 _ACEOF
60072 if ac_fn_cxx_try_compile "$LINENO"; then :
60073 glibcxx_cv_func_float_round_use=yes
60074 else
60075 glibcxx_cv_func_float_round_use=no
60077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60078 ac_ext=c
60079 ac_cpp='$CPP $CPPFLAGS'
60080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
60087 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
60088 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
60089 for ac_func in ceilf floorf
60090 do :
60091 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60092 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60093 eval as_val=\$$as_ac_var
60094 if test "x$as_val" = x""yes; then :
60095 cat >>confdefs.h <<_ACEOF
60096 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60097 _ACEOF
60100 done
60102 else
60103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
60104 $as_echo_n "checking for _float round functions... " >&6; }
60105 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
60106 $as_echo_n "(cached) " >&6
60107 else
60110 ac_ext=cpp
60111 ac_cpp='$CXXCPP $CPPFLAGS'
60112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60117 /* end confdefs.h. */
60118 #include <math.h>
60120 main ()
60122 _ceilf (0); _floorf (0);
60124 return 0;
60126 _ACEOF
60127 if ac_fn_cxx_try_compile "$LINENO"; then :
60128 glibcxx_cv_func__float_round_use=yes
60129 else
60130 glibcxx_cv_func__float_round_use=no
60132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60133 ac_ext=c
60134 ac_cpp='$CPP $CPPFLAGS'
60135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
60142 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
60143 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
60144 for ac_func in _ceilf _floorf
60145 do :
60146 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60147 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60148 eval as_val=\$$as_ac_var
60149 if test "x$as_val" = x""yes; then :
60150 cat >>confdefs.h <<_ACEOF
60151 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60152 _ACEOF
60155 done
60165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
60166 $as_echo_n "checking for expf declaration... " >&6; }
60167 if test x${glibcxx_cv_func_expf_use+set} != xset; then
60168 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
60169 $as_echo_n "(cached) " >&6
60170 else
60173 ac_ext=cpp
60174 ac_cpp='$CXXCPP $CPPFLAGS'
60175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60180 /* end confdefs.h. */
60181 #include <math.h>
60182 #ifdef HAVE_IEEEFP_H
60183 #include <ieeefp.h>
60184 #endif
60187 main ()
60189 expf(0);
60191 return 0;
60193 _ACEOF
60194 if ac_fn_cxx_try_compile "$LINENO"; then :
60195 glibcxx_cv_func_expf_use=yes
60196 else
60197 glibcxx_cv_func_expf_use=no
60199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60200 ac_ext=c
60201 ac_cpp='$CPP $CPPFLAGS'
60202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
60211 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
60213 if test x$glibcxx_cv_func_expf_use = x"yes"; then
60214 for ac_func in expf
60215 do :
60216 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
60217 if test "x$ac_cv_func_expf" = x""yes; then :
60218 cat >>confdefs.h <<_ACEOF
60219 #define HAVE_EXPF 1
60220 _ACEOF
60223 done
60225 else
60227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
60228 $as_echo_n "checking for _expf declaration... " >&6; }
60229 if test x${glibcxx_cv_func__expf_use+set} != xset; then
60230 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
60231 $as_echo_n "(cached) " >&6
60232 else
60235 ac_ext=cpp
60236 ac_cpp='$CXXCPP $CPPFLAGS'
60237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60242 /* end confdefs.h. */
60243 #include <math.h>
60244 #ifdef HAVE_IEEEFP_H
60245 #include <ieeefp.h>
60246 #endif
60249 main ()
60251 _expf(0);
60253 return 0;
60255 _ACEOF
60256 if ac_fn_cxx_try_compile "$LINENO"; then :
60257 glibcxx_cv_func__expf_use=yes
60258 else
60259 glibcxx_cv_func__expf_use=no
60261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60262 ac_ext=c
60263 ac_cpp='$CPP $CPPFLAGS'
60264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
60273 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
60275 if test x$glibcxx_cv_func__expf_use = x"yes"; then
60276 for ac_func in _expf
60277 do :
60278 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
60279 if test "x$ac_cv_func__expf" = x""yes; then :
60280 cat >>confdefs.h <<_ACEOF
60281 #define HAVE__EXPF 1
60282 _ACEOF
60285 done
60294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
60295 $as_echo_n "checking for isnanf declaration... " >&6; }
60296 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
60297 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
60298 $as_echo_n "(cached) " >&6
60299 else
60302 ac_ext=cpp
60303 ac_cpp='$CXXCPP $CPPFLAGS'
60304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60309 /* end confdefs.h. */
60310 #include <math.h>
60311 #ifdef HAVE_IEEEFP_H
60312 #include <ieeefp.h>
60313 #endif
60316 main ()
60318 isnanf(0);
60320 return 0;
60322 _ACEOF
60323 if ac_fn_cxx_try_compile "$LINENO"; then :
60324 glibcxx_cv_func_isnanf_use=yes
60325 else
60326 glibcxx_cv_func_isnanf_use=no
60328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60329 ac_ext=c
60330 ac_cpp='$CPP $CPPFLAGS'
60331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
60340 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
60342 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
60343 for ac_func in isnanf
60344 do :
60345 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
60346 if test "x$ac_cv_func_isnanf" = x""yes; then :
60347 cat >>confdefs.h <<_ACEOF
60348 #define HAVE_ISNANF 1
60349 _ACEOF
60352 done
60354 else
60356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
60357 $as_echo_n "checking for _isnanf declaration... " >&6; }
60358 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
60359 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
60360 $as_echo_n "(cached) " >&6
60361 else
60364 ac_ext=cpp
60365 ac_cpp='$CXXCPP $CPPFLAGS'
60366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60371 /* end confdefs.h. */
60372 #include <math.h>
60373 #ifdef HAVE_IEEEFP_H
60374 #include <ieeefp.h>
60375 #endif
60378 main ()
60380 _isnanf(0);
60382 return 0;
60384 _ACEOF
60385 if ac_fn_cxx_try_compile "$LINENO"; then :
60386 glibcxx_cv_func__isnanf_use=yes
60387 else
60388 glibcxx_cv_func__isnanf_use=no
60390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60391 ac_ext=c
60392 ac_cpp='$CPP $CPPFLAGS'
60393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
60402 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
60404 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
60405 for ac_func in _isnanf
60406 do :
60407 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
60408 if test "x$ac_cv_func__isnanf" = x""yes; then :
60409 cat >>confdefs.h <<_ACEOF
60410 #define HAVE__ISNANF 1
60411 _ACEOF
60414 done
60423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
60424 $as_echo_n "checking for isinff declaration... " >&6; }
60425 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
60426 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
60427 $as_echo_n "(cached) " >&6
60428 else
60431 ac_ext=cpp
60432 ac_cpp='$CXXCPP $CPPFLAGS'
60433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60438 /* end confdefs.h. */
60439 #include <math.h>
60440 #ifdef HAVE_IEEEFP_H
60441 #include <ieeefp.h>
60442 #endif
60445 main ()
60447 isinff(0);
60449 return 0;
60451 _ACEOF
60452 if ac_fn_cxx_try_compile "$LINENO"; then :
60453 glibcxx_cv_func_isinff_use=yes
60454 else
60455 glibcxx_cv_func_isinff_use=no
60457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60458 ac_ext=c
60459 ac_cpp='$CPP $CPPFLAGS'
60460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
60469 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
60471 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
60472 for ac_func in isinff
60473 do :
60474 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
60475 if test "x$ac_cv_func_isinff" = x""yes; then :
60476 cat >>confdefs.h <<_ACEOF
60477 #define HAVE_ISINFF 1
60478 _ACEOF
60481 done
60483 else
60485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
60486 $as_echo_n "checking for _isinff declaration... " >&6; }
60487 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
60488 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
60489 $as_echo_n "(cached) " >&6
60490 else
60493 ac_ext=cpp
60494 ac_cpp='$CXXCPP $CPPFLAGS'
60495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60500 /* end confdefs.h. */
60501 #include <math.h>
60502 #ifdef HAVE_IEEEFP_H
60503 #include <ieeefp.h>
60504 #endif
60507 main ()
60509 _isinff(0);
60511 return 0;
60513 _ACEOF
60514 if ac_fn_cxx_try_compile "$LINENO"; then :
60515 glibcxx_cv_func__isinff_use=yes
60516 else
60517 glibcxx_cv_func__isinff_use=no
60519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60520 ac_ext=c
60521 ac_cpp='$CPP $CPPFLAGS'
60522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
60531 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
60533 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
60534 for ac_func in _isinff
60535 do :
60536 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
60537 if test "x$ac_cv_func__isinff" = x""yes; then :
60538 cat >>confdefs.h <<_ACEOF
60539 #define HAVE__ISINFF 1
60540 _ACEOF
60543 done
60552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
60553 $as_echo_n "checking for atan2f declaration... " >&6; }
60554 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
60555 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
60556 $as_echo_n "(cached) " >&6
60557 else
60560 ac_ext=cpp
60561 ac_cpp='$CXXCPP $CPPFLAGS'
60562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60567 /* end confdefs.h. */
60568 #include <math.h>
60570 main ()
60572 atan2f(0, 0);
60574 return 0;
60576 _ACEOF
60577 if ac_fn_cxx_try_compile "$LINENO"; then :
60578 glibcxx_cv_func_atan2f_use=yes
60579 else
60580 glibcxx_cv_func_atan2f_use=no
60582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60583 ac_ext=c
60584 ac_cpp='$CPP $CPPFLAGS'
60585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
60594 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
60596 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
60597 for ac_func in atan2f
60598 do :
60599 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
60600 if test "x$ac_cv_func_atan2f" = x""yes; then :
60601 cat >>confdefs.h <<_ACEOF
60602 #define HAVE_ATAN2F 1
60603 _ACEOF
60606 done
60608 else
60610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
60611 $as_echo_n "checking for _atan2f declaration... " >&6; }
60612 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
60613 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
60614 $as_echo_n "(cached) " >&6
60615 else
60618 ac_ext=cpp
60619 ac_cpp='$CXXCPP $CPPFLAGS'
60620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60625 /* end confdefs.h. */
60626 #include <math.h>
60628 main ()
60630 _atan2f(0, 0);
60632 return 0;
60634 _ACEOF
60635 if ac_fn_cxx_try_compile "$LINENO"; then :
60636 glibcxx_cv_func__atan2f_use=yes
60637 else
60638 glibcxx_cv_func__atan2f_use=no
60640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60641 ac_ext=c
60642 ac_cpp='$CPP $CPPFLAGS'
60643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
60652 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
60654 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
60655 for ac_func in _atan2f
60656 do :
60657 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
60658 if test "x$ac_cv_func__atan2f" = x""yes; then :
60659 cat >>confdefs.h <<_ACEOF
60660 #define HAVE__ATAN2F 1
60661 _ACEOF
60664 done
60673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
60674 $as_echo_n "checking for fabsf declaration... " >&6; }
60675 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
60676 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
60677 $as_echo_n "(cached) " >&6
60678 else
60681 ac_ext=cpp
60682 ac_cpp='$CXXCPP $CPPFLAGS'
60683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60688 /* end confdefs.h. */
60689 #include <math.h>
60690 #ifdef HAVE_IEEEFP_H
60691 #include <ieeefp.h>
60692 #endif
60695 main ()
60697 fabsf(0);
60699 return 0;
60701 _ACEOF
60702 if ac_fn_cxx_try_compile "$LINENO"; then :
60703 glibcxx_cv_func_fabsf_use=yes
60704 else
60705 glibcxx_cv_func_fabsf_use=no
60707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60708 ac_ext=c
60709 ac_cpp='$CPP $CPPFLAGS'
60710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
60719 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
60721 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
60722 for ac_func in fabsf
60723 do :
60724 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
60725 if test "x$ac_cv_func_fabsf" = x""yes; then :
60726 cat >>confdefs.h <<_ACEOF
60727 #define HAVE_FABSF 1
60728 _ACEOF
60731 done
60733 else
60735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
60736 $as_echo_n "checking for _fabsf declaration... " >&6; }
60737 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
60738 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
60739 $as_echo_n "(cached) " >&6
60740 else
60743 ac_ext=cpp
60744 ac_cpp='$CXXCPP $CPPFLAGS'
60745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60750 /* end confdefs.h. */
60751 #include <math.h>
60752 #ifdef HAVE_IEEEFP_H
60753 #include <ieeefp.h>
60754 #endif
60757 main ()
60759 _fabsf(0);
60761 return 0;
60763 _ACEOF
60764 if ac_fn_cxx_try_compile "$LINENO"; then :
60765 glibcxx_cv_func__fabsf_use=yes
60766 else
60767 glibcxx_cv_func__fabsf_use=no
60769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60770 ac_ext=c
60771 ac_cpp='$CPP $CPPFLAGS'
60772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
60781 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
60783 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
60784 for ac_func in _fabsf
60785 do :
60786 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
60787 if test "x$ac_cv_func__fabsf" = x""yes; then :
60788 cat >>confdefs.h <<_ACEOF
60789 #define HAVE__FABSF 1
60790 _ACEOF
60793 done
60802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
60803 $as_echo_n "checking for fmodf declaration... " >&6; }
60804 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
60805 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
60806 $as_echo_n "(cached) " >&6
60807 else
60810 ac_ext=cpp
60811 ac_cpp='$CXXCPP $CPPFLAGS'
60812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60817 /* end confdefs.h. */
60818 #include <math.h>
60820 main ()
60822 fmodf(0, 0);
60824 return 0;
60826 _ACEOF
60827 if ac_fn_cxx_try_compile "$LINENO"; then :
60828 glibcxx_cv_func_fmodf_use=yes
60829 else
60830 glibcxx_cv_func_fmodf_use=no
60832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60833 ac_ext=c
60834 ac_cpp='$CPP $CPPFLAGS'
60835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
60844 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
60846 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
60847 for ac_func in fmodf
60848 do :
60849 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
60850 if test "x$ac_cv_func_fmodf" = x""yes; then :
60851 cat >>confdefs.h <<_ACEOF
60852 #define HAVE_FMODF 1
60853 _ACEOF
60856 done
60858 else
60860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
60861 $as_echo_n "checking for _fmodf declaration... " >&6; }
60862 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
60863 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
60864 $as_echo_n "(cached) " >&6
60865 else
60868 ac_ext=cpp
60869 ac_cpp='$CXXCPP $CPPFLAGS'
60870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60875 /* end confdefs.h. */
60876 #include <math.h>
60878 main ()
60880 _fmodf(0, 0);
60882 return 0;
60884 _ACEOF
60885 if ac_fn_cxx_try_compile "$LINENO"; then :
60886 glibcxx_cv_func__fmodf_use=yes
60887 else
60888 glibcxx_cv_func__fmodf_use=no
60890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60891 ac_ext=c
60892 ac_cpp='$CPP $CPPFLAGS'
60893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
60902 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
60904 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
60905 for ac_func in _fmodf
60906 do :
60907 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
60908 if test "x$ac_cv_func__fmodf" = x""yes; then :
60909 cat >>confdefs.h <<_ACEOF
60910 #define HAVE__FMODF 1
60911 _ACEOF
60914 done
60923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
60924 $as_echo_n "checking for frexpf declaration... " >&6; }
60925 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
60926 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
60927 $as_echo_n "(cached) " >&6
60928 else
60931 ac_ext=cpp
60932 ac_cpp='$CXXCPP $CPPFLAGS'
60933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60938 /* end confdefs.h. */
60939 #include <math.h>
60941 main ()
60943 frexpf(0, 0);
60945 return 0;
60947 _ACEOF
60948 if ac_fn_cxx_try_compile "$LINENO"; then :
60949 glibcxx_cv_func_frexpf_use=yes
60950 else
60951 glibcxx_cv_func_frexpf_use=no
60953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60954 ac_ext=c
60955 ac_cpp='$CPP $CPPFLAGS'
60956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
60965 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
60967 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
60968 for ac_func in frexpf
60969 do :
60970 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
60971 if test "x$ac_cv_func_frexpf" = x""yes; then :
60972 cat >>confdefs.h <<_ACEOF
60973 #define HAVE_FREXPF 1
60974 _ACEOF
60977 done
60979 else
60981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
60982 $as_echo_n "checking for _frexpf declaration... " >&6; }
60983 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
60984 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
60985 $as_echo_n "(cached) " >&6
60986 else
60989 ac_ext=cpp
60990 ac_cpp='$CXXCPP $CPPFLAGS'
60991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60996 /* end confdefs.h. */
60997 #include <math.h>
60999 main ()
61001 _frexpf(0, 0);
61003 return 0;
61005 _ACEOF
61006 if ac_fn_cxx_try_compile "$LINENO"; then :
61007 glibcxx_cv_func__frexpf_use=yes
61008 else
61009 glibcxx_cv_func__frexpf_use=no
61011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61012 ac_ext=c
61013 ac_cpp='$CPP $CPPFLAGS'
61014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
61023 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
61025 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
61026 for ac_func in _frexpf
61027 do :
61028 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
61029 if test "x$ac_cv_func__frexpf" = x""yes; then :
61030 cat >>confdefs.h <<_ACEOF
61031 #define HAVE__FREXPF 1
61032 _ACEOF
61035 done
61044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
61045 $as_echo_n "checking for hypotf declaration... " >&6; }
61046 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
61047 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
61048 $as_echo_n "(cached) " >&6
61049 else
61052 ac_ext=cpp
61053 ac_cpp='$CXXCPP $CPPFLAGS'
61054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61059 /* end confdefs.h. */
61060 #include <math.h>
61062 main ()
61064 hypotf(0, 0);
61066 return 0;
61068 _ACEOF
61069 if ac_fn_cxx_try_compile "$LINENO"; then :
61070 glibcxx_cv_func_hypotf_use=yes
61071 else
61072 glibcxx_cv_func_hypotf_use=no
61074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61075 ac_ext=c
61076 ac_cpp='$CPP $CPPFLAGS'
61077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
61086 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
61088 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
61089 for ac_func in hypotf
61090 do :
61091 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
61092 if test "x$ac_cv_func_hypotf" = x""yes; then :
61093 cat >>confdefs.h <<_ACEOF
61094 #define HAVE_HYPOTF 1
61095 _ACEOF
61098 done
61100 else
61102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
61103 $as_echo_n "checking for _hypotf declaration... " >&6; }
61104 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
61105 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
61106 $as_echo_n "(cached) " >&6
61107 else
61110 ac_ext=cpp
61111 ac_cpp='$CXXCPP $CPPFLAGS'
61112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61117 /* end confdefs.h. */
61118 #include <math.h>
61120 main ()
61122 _hypotf(0, 0);
61124 return 0;
61126 _ACEOF
61127 if ac_fn_cxx_try_compile "$LINENO"; then :
61128 glibcxx_cv_func__hypotf_use=yes
61129 else
61130 glibcxx_cv_func__hypotf_use=no
61132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61133 ac_ext=c
61134 ac_cpp='$CPP $CPPFLAGS'
61135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
61144 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
61146 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
61147 for ac_func in _hypotf
61148 do :
61149 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
61150 if test "x$ac_cv_func__hypotf" = x""yes; then :
61151 cat >>confdefs.h <<_ACEOF
61152 #define HAVE__HYPOTF 1
61153 _ACEOF
61156 done
61165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
61166 $as_echo_n "checking for ldexpf declaration... " >&6; }
61167 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
61168 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
61169 $as_echo_n "(cached) " >&6
61170 else
61173 ac_ext=cpp
61174 ac_cpp='$CXXCPP $CPPFLAGS'
61175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61180 /* end confdefs.h. */
61181 #include <math.h>
61183 main ()
61185 ldexpf(0, 0);
61187 return 0;
61189 _ACEOF
61190 if ac_fn_cxx_try_compile "$LINENO"; then :
61191 glibcxx_cv_func_ldexpf_use=yes
61192 else
61193 glibcxx_cv_func_ldexpf_use=no
61195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61196 ac_ext=c
61197 ac_cpp='$CPP $CPPFLAGS'
61198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
61207 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
61209 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
61210 for ac_func in ldexpf
61211 do :
61212 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
61213 if test "x$ac_cv_func_ldexpf" = x""yes; then :
61214 cat >>confdefs.h <<_ACEOF
61215 #define HAVE_LDEXPF 1
61216 _ACEOF
61219 done
61221 else
61223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
61224 $as_echo_n "checking for _ldexpf declaration... " >&6; }
61225 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
61226 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
61227 $as_echo_n "(cached) " >&6
61228 else
61231 ac_ext=cpp
61232 ac_cpp='$CXXCPP $CPPFLAGS'
61233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61238 /* end confdefs.h. */
61239 #include <math.h>
61241 main ()
61243 _ldexpf(0, 0);
61245 return 0;
61247 _ACEOF
61248 if ac_fn_cxx_try_compile "$LINENO"; then :
61249 glibcxx_cv_func__ldexpf_use=yes
61250 else
61251 glibcxx_cv_func__ldexpf_use=no
61253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61254 ac_ext=c
61255 ac_cpp='$CPP $CPPFLAGS'
61256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
61265 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
61267 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
61268 for ac_func in _ldexpf
61269 do :
61270 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
61271 if test "x$ac_cv_func__ldexpf" = x""yes; then :
61272 cat >>confdefs.h <<_ACEOF
61273 #define HAVE__LDEXPF 1
61274 _ACEOF
61277 done
61286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
61287 $as_echo_n "checking for logf declaration... " >&6; }
61288 if test x${glibcxx_cv_func_logf_use+set} != xset; then
61289 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
61290 $as_echo_n "(cached) " >&6
61291 else
61294 ac_ext=cpp
61295 ac_cpp='$CXXCPP $CPPFLAGS'
61296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61301 /* end confdefs.h. */
61302 #include <math.h>
61303 #ifdef HAVE_IEEEFP_H
61304 #include <ieeefp.h>
61305 #endif
61308 main ()
61310 logf(0);
61312 return 0;
61314 _ACEOF
61315 if ac_fn_cxx_try_compile "$LINENO"; then :
61316 glibcxx_cv_func_logf_use=yes
61317 else
61318 glibcxx_cv_func_logf_use=no
61320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61321 ac_ext=c
61322 ac_cpp='$CPP $CPPFLAGS'
61323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
61332 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
61334 if test x$glibcxx_cv_func_logf_use = x"yes"; then
61335 for ac_func in logf
61336 do :
61337 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
61338 if test "x$ac_cv_func_logf" = x""yes; then :
61339 cat >>confdefs.h <<_ACEOF
61340 #define HAVE_LOGF 1
61341 _ACEOF
61344 done
61346 else
61348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
61349 $as_echo_n "checking for _logf declaration... " >&6; }
61350 if test x${glibcxx_cv_func__logf_use+set} != xset; then
61351 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
61352 $as_echo_n "(cached) " >&6
61353 else
61356 ac_ext=cpp
61357 ac_cpp='$CXXCPP $CPPFLAGS'
61358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61363 /* end confdefs.h. */
61364 #include <math.h>
61365 #ifdef HAVE_IEEEFP_H
61366 #include <ieeefp.h>
61367 #endif
61370 main ()
61372 _logf(0);
61374 return 0;
61376 _ACEOF
61377 if ac_fn_cxx_try_compile "$LINENO"; then :
61378 glibcxx_cv_func__logf_use=yes
61379 else
61380 glibcxx_cv_func__logf_use=no
61382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61383 ac_ext=c
61384 ac_cpp='$CPP $CPPFLAGS'
61385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
61394 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
61396 if test x$glibcxx_cv_func__logf_use = x"yes"; then
61397 for ac_func in _logf
61398 do :
61399 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
61400 if test "x$ac_cv_func__logf" = x""yes; then :
61401 cat >>confdefs.h <<_ACEOF
61402 #define HAVE__LOGF 1
61403 _ACEOF
61406 done
61415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
61416 $as_echo_n "checking for log10f declaration... " >&6; }
61417 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
61418 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
61419 $as_echo_n "(cached) " >&6
61420 else
61423 ac_ext=cpp
61424 ac_cpp='$CXXCPP $CPPFLAGS'
61425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61430 /* end confdefs.h. */
61431 #include <math.h>
61432 #ifdef HAVE_IEEEFP_H
61433 #include <ieeefp.h>
61434 #endif
61437 main ()
61439 log10f(0);
61441 return 0;
61443 _ACEOF
61444 if ac_fn_cxx_try_compile "$LINENO"; then :
61445 glibcxx_cv_func_log10f_use=yes
61446 else
61447 glibcxx_cv_func_log10f_use=no
61449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61450 ac_ext=c
61451 ac_cpp='$CPP $CPPFLAGS'
61452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
61461 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
61463 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
61464 for ac_func in log10f
61465 do :
61466 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
61467 if test "x$ac_cv_func_log10f" = x""yes; then :
61468 cat >>confdefs.h <<_ACEOF
61469 #define HAVE_LOG10F 1
61470 _ACEOF
61473 done
61475 else
61477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
61478 $as_echo_n "checking for _log10f declaration... " >&6; }
61479 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
61480 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
61481 $as_echo_n "(cached) " >&6
61482 else
61485 ac_ext=cpp
61486 ac_cpp='$CXXCPP $CPPFLAGS'
61487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61492 /* end confdefs.h. */
61493 #include <math.h>
61494 #ifdef HAVE_IEEEFP_H
61495 #include <ieeefp.h>
61496 #endif
61499 main ()
61501 _log10f(0);
61503 return 0;
61505 _ACEOF
61506 if ac_fn_cxx_try_compile "$LINENO"; then :
61507 glibcxx_cv_func__log10f_use=yes
61508 else
61509 glibcxx_cv_func__log10f_use=no
61511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61512 ac_ext=c
61513 ac_cpp='$CPP $CPPFLAGS'
61514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
61523 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
61525 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
61526 for ac_func in _log10f
61527 do :
61528 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
61529 if test "x$ac_cv_func__log10f" = x""yes; then :
61530 cat >>confdefs.h <<_ACEOF
61531 #define HAVE__LOG10F 1
61532 _ACEOF
61535 done
61544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
61545 $as_echo_n "checking for modff declaration... " >&6; }
61546 if test x${glibcxx_cv_func_modff_use+set} != xset; then
61547 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
61548 $as_echo_n "(cached) " >&6
61549 else
61552 ac_ext=cpp
61553 ac_cpp='$CXXCPP $CPPFLAGS'
61554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61559 /* end confdefs.h. */
61560 #include <math.h>
61562 main ()
61564 modff(0, 0);
61566 return 0;
61568 _ACEOF
61569 if ac_fn_cxx_try_compile "$LINENO"; then :
61570 glibcxx_cv_func_modff_use=yes
61571 else
61572 glibcxx_cv_func_modff_use=no
61574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61575 ac_ext=c
61576 ac_cpp='$CPP $CPPFLAGS'
61577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
61586 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
61588 if test x$glibcxx_cv_func_modff_use = x"yes"; then
61589 for ac_func in modff
61590 do :
61591 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
61592 if test "x$ac_cv_func_modff" = x""yes; then :
61593 cat >>confdefs.h <<_ACEOF
61594 #define HAVE_MODFF 1
61595 _ACEOF
61598 done
61600 else
61602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
61603 $as_echo_n "checking for _modff declaration... " >&6; }
61604 if test x${glibcxx_cv_func__modff_use+set} != xset; then
61605 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
61606 $as_echo_n "(cached) " >&6
61607 else
61610 ac_ext=cpp
61611 ac_cpp='$CXXCPP $CPPFLAGS'
61612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61617 /* end confdefs.h. */
61618 #include <math.h>
61620 main ()
61622 _modff(0, 0);
61624 return 0;
61626 _ACEOF
61627 if ac_fn_cxx_try_compile "$LINENO"; then :
61628 glibcxx_cv_func__modff_use=yes
61629 else
61630 glibcxx_cv_func__modff_use=no
61632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61633 ac_ext=c
61634 ac_cpp='$CPP $CPPFLAGS'
61635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
61644 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
61646 if test x$glibcxx_cv_func__modff_use = x"yes"; then
61647 for ac_func in _modff
61648 do :
61649 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
61650 if test "x$ac_cv_func__modff" = x""yes; then :
61651 cat >>confdefs.h <<_ACEOF
61652 #define HAVE__MODFF 1
61653 _ACEOF
61656 done
61665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
61666 $as_echo_n "checking for modf declaration... " >&6; }
61667 if test x${glibcxx_cv_func_modf_use+set} != xset; then
61668 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
61669 $as_echo_n "(cached) " >&6
61670 else
61673 ac_ext=cpp
61674 ac_cpp='$CXXCPP $CPPFLAGS'
61675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61680 /* end confdefs.h. */
61681 #include <math.h>
61683 main ()
61685 modf(0, 0);
61687 return 0;
61689 _ACEOF
61690 if ac_fn_cxx_try_compile "$LINENO"; then :
61691 glibcxx_cv_func_modf_use=yes
61692 else
61693 glibcxx_cv_func_modf_use=no
61695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61696 ac_ext=c
61697 ac_cpp='$CPP $CPPFLAGS'
61698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
61707 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
61709 if test x$glibcxx_cv_func_modf_use = x"yes"; then
61710 for ac_func in modf
61711 do :
61712 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
61713 if test "x$ac_cv_func_modf" = x""yes; then :
61714 cat >>confdefs.h <<_ACEOF
61715 #define HAVE_MODF 1
61716 _ACEOF
61719 done
61721 else
61723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
61724 $as_echo_n "checking for _modf declaration... " >&6; }
61725 if test x${glibcxx_cv_func__modf_use+set} != xset; then
61726 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
61727 $as_echo_n "(cached) " >&6
61728 else
61731 ac_ext=cpp
61732 ac_cpp='$CXXCPP $CPPFLAGS'
61733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61738 /* end confdefs.h. */
61739 #include <math.h>
61741 main ()
61743 _modf(0, 0);
61745 return 0;
61747 _ACEOF
61748 if ac_fn_cxx_try_compile "$LINENO"; then :
61749 glibcxx_cv_func__modf_use=yes
61750 else
61751 glibcxx_cv_func__modf_use=no
61753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61754 ac_ext=c
61755 ac_cpp='$CPP $CPPFLAGS'
61756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
61765 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
61767 if test x$glibcxx_cv_func__modf_use = x"yes"; then
61768 for ac_func in _modf
61769 do :
61770 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
61771 if test "x$ac_cv_func__modf" = x""yes; then :
61772 cat >>confdefs.h <<_ACEOF
61773 #define HAVE__MODF 1
61774 _ACEOF
61777 done
61786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
61787 $as_echo_n "checking for powf declaration... " >&6; }
61788 if test x${glibcxx_cv_func_powf_use+set} != xset; then
61789 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
61790 $as_echo_n "(cached) " >&6
61791 else
61794 ac_ext=cpp
61795 ac_cpp='$CXXCPP $CPPFLAGS'
61796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61801 /* end confdefs.h. */
61802 #include <math.h>
61804 main ()
61806 powf(0, 0);
61808 return 0;
61810 _ACEOF
61811 if ac_fn_cxx_try_compile "$LINENO"; then :
61812 glibcxx_cv_func_powf_use=yes
61813 else
61814 glibcxx_cv_func_powf_use=no
61816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61817 ac_ext=c
61818 ac_cpp='$CPP $CPPFLAGS'
61819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
61828 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
61830 if test x$glibcxx_cv_func_powf_use = x"yes"; then
61831 for ac_func in powf
61832 do :
61833 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
61834 if test "x$ac_cv_func_powf" = x""yes; then :
61835 cat >>confdefs.h <<_ACEOF
61836 #define HAVE_POWF 1
61837 _ACEOF
61840 done
61842 else
61844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
61845 $as_echo_n "checking for _powf declaration... " >&6; }
61846 if test x${glibcxx_cv_func__powf_use+set} != xset; then
61847 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
61848 $as_echo_n "(cached) " >&6
61849 else
61852 ac_ext=cpp
61853 ac_cpp='$CXXCPP $CPPFLAGS'
61854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61859 /* end confdefs.h. */
61860 #include <math.h>
61862 main ()
61864 _powf(0, 0);
61866 return 0;
61868 _ACEOF
61869 if ac_fn_cxx_try_compile "$LINENO"; then :
61870 glibcxx_cv_func__powf_use=yes
61871 else
61872 glibcxx_cv_func__powf_use=no
61874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61875 ac_ext=c
61876 ac_cpp='$CPP $CPPFLAGS'
61877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
61886 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
61888 if test x$glibcxx_cv_func__powf_use = x"yes"; then
61889 for ac_func in _powf
61890 do :
61891 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
61892 if test "x$ac_cv_func__powf" = x""yes; then :
61893 cat >>confdefs.h <<_ACEOF
61894 #define HAVE__POWF 1
61895 _ACEOF
61898 done
61907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
61908 $as_echo_n "checking for sqrtf declaration... " >&6; }
61909 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
61910 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
61911 $as_echo_n "(cached) " >&6
61912 else
61915 ac_ext=cpp
61916 ac_cpp='$CXXCPP $CPPFLAGS'
61917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61922 /* end confdefs.h. */
61923 #include <math.h>
61924 #ifdef HAVE_IEEEFP_H
61925 #include <ieeefp.h>
61926 #endif
61929 main ()
61931 sqrtf(0);
61933 return 0;
61935 _ACEOF
61936 if ac_fn_cxx_try_compile "$LINENO"; then :
61937 glibcxx_cv_func_sqrtf_use=yes
61938 else
61939 glibcxx_cv_func_sqrtf_use=no
61941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61942 ac_ext=c
61943 ac_cpp='$CPP $CPPFLAGS'
61944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
61953 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
61955 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
61956 for ac_func in sqrtf
61957 do :
61958 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
61959 if test "x$ac_cv_func_sqrtf" = x""yes; then :
61960 cat >>confdefs.h <<_ACEOF
61961 #define HAVE_SQRTF 1
61962 _ACEOF
61965 done
61967 else
61969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
61970 $as_echo_n "checking for _sqrtf declaration... " >&6; }
61971 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
61972 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
61973 $as_echo_n "(cached) " >&6
61974 else
61977 ac_ext=cpp
61978 ac_cpp='$CXXCPP $CPPFLAGS'
61979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61984 /* end confdefs.h. */
61985 #include <math.h>
61986 #ifdef HAVE_IEEEFP_H
61987 #include <ieeefp.h>
61988 #endif
61991 main ()
61993 _sqrtf(0);
61995 return 0;
61997 _ACEOF
61998 if ac_fn_cxx_try_compile "$LINENO"; then :
61999 glibcxx_cv_func__sqrtf_use=yes
62000 else
62001 glibcxx_cv_func__sqrtf_use=no
62003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62004 ac_ext=c
62005 ac_cpp='$CPP $CPPFLAGS'
62006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
62015 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
62017 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
62018 for ac_func in _sqrtf
62019 do :
62020 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
62021 if test "x$ac_cv_func__sqrtf" = x""yes; then :
62022 cat >>confdefs.h <<_ACEOF
62023 #define HAVE__SQRTF 1
62024 _ACEOF
62027 done
62036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
62037 $as_echo_n "checking for sincosf declaration... " >&6; }
62038 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
62039 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
62040 $as_echo_n "(cached) " >&6
62041 else
62044 ac_ext=cpp
62045 ac_cpp='$CXXCPP $CPPFLAGS'
62046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62051 /* end confdefs.h. */
62052 #include <math.h>
62054 main ()
62056 sincosf(0, 0, 0);
62058 return 0;
62060 _ACEOF
62061 if ac_fn_cxx_try_compile "$LINENO"; then :
62062 glibcxx_cv_func_sincosf_use=yes
62063 else
62064 glibcxx_cv_func_sincosf_use=no
62066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62067 ac_ext=c
62068 ac_cpp='$CPP $CPPFLAGS'
62069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
62078 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
62080 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
62081 for ac_func in sincosf
62082 do :
62083 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
62084 if test "x$ac_cv_func_sincosf" = x""yes; then :
62085 cat >>confdefs.h <<_ACEOF
62086 #define HAVE_SINCOSF 1
62087 _ACEOF
62090 done
62092 else
62094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
62095 $as_echo_n "checking for _sincosf declaration... " >&6; }
62096 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
62097 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
62098 $as_echo_n "(cached) " >&6
62099 else
62102 ac_ext=cpp
62103 ac_cpp='$CXXCPP $CPPFLAGS'
62104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62109 /* end confdefs.h. */
62110 #include <math.h>
62112 main ()
62114 _sincosf(0, 0, 0);
62116 return 0;
62118 _ACEOF
62119 if ac_fn_cxx_try_compile "$LINENO"; then :
62120 glibcxx_cv_func__sincosf_use=yes
62121 else
62122 glibcxx_cv_func__sincosf_use=no
62124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62125 ac_ext=c
62126 ac_cpp='$CPP $CPPFLAGS'
62127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
62136 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
62138 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
62139 for ac_func in _sincosf
62140 do :
62141 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
62142 if test "x$ac_cv_func__sincosf" = x""yes; then :
62143 cat >>confdefs.h <<_ACEOF
62144 #define HAVE__SINCOSF 1
62145 _ACEOF
62148 done
62157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
62158 $as_echo_n "checking for finitef declaration... " >&6; }
62159 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
62160 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
62161 $as_echo_n "(cached) " >&6
62162 else
62165 ac_ext=cpp
62166 ac_cpp='$CXXCPP $CPPFLAGS'
62167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62172 /* end confdefs.h. */
62173 #include <math.h>
62174 #ifdef HAVE_IEEEFP_H
62175 #include <ieeefp.h>
62176 #endif
62179 main ()
62181 finitef(0);
62183 return 0;
62185 _ACEOF
62186 if ac_fn_cxx_try_compile "$LINENO"; then :
62187 glibcxx_cv_func_finitef_use=yes
62188 else
62189 glibcxx_cv_func_finitef_use=no
62191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62192 ac_ext=c
62193 ac_cpp='$CPP $CPPFLAGS'
62194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
62203 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
62205 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
62206 for ac_func in finitef
62207 do :
62208 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
62209 if test "x$ac_cv_func_finitef" = x""yes; then :
62210 cat >>confdefs.h <<_ACEOF
62211 #define HAVE_FINITEF 1
62212 _ACEOF
62215 done
62217 else
62219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
62220 $as_echo_n "checking for _finitef declaration... " >&6; }
62221 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
62222 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
62223 $as_echo_n "(cached) " >&6
62224 else
62227 ac_ext=cpp
62228 ac_cpp='$CXXCPP $CPPFLAGS'
62229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62234 /* end confdefs.h. */
62235 #include <math.h>
62236 #ifdef HAVE_IEEEFP_H
62237 #include <ieeefp.h>
62238 #endif
62241 main ()
62243 _finitef(0);
62245 return 0;
62247 _ACEOF
62248 if ac_fn_cxx_try_compile "$LINENO"; then :
62249 glibcxx_cv_func__finitef_use=yes
62250 else
62251 glibcxx_cv_func__finitef_use=no
62253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62254 ac_ext=c
62255 ac_cpp='$CPP $CPPFLAGS'
62256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
62265 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
62267 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
62268 for ac_func in _finitef
62269 do :
62270 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
62271 if test "x$ac_cv_func__finitef" = x""yes; then :
62272 cat >>confdefs.h <<_ACEOF
62273 #define HAVE__FINITEF 1
62274 _ACEOF
62277 done
62286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
62287 $as_echo_n "checking for long double trig functions... " >&6; }
62288 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
62289 $as_echo_n "(cached) " >&6
62290 else
62293 ac_ext=cpp
62294 ac_cpp='$CXXCPP $CPPFLAGS'
62295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62300 /* end confdefs.h. */
62301 #include <math.h>
62303 main ()
62305 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
62307 return 0;
62309 _ACEOF
62310 if ac_fn_cxx_try_compile "$LINENO"; then :
62311 glibcxx_cv_func_long_double_trig_use=yes
62312 else
62313 glibcxx_cv_func_long_double_trig_use=no
62315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62316 ac_ext=c
62317 ac_cpp='$CPP $CPPFLAGS'
62318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
62325 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
62326 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
62327 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
62328 do :
62329 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62330 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62331 eval as_val=\$$as_ac_var
62332 if test "x$as_val" = x""yes; then :
62333 cat >>confdefs.h <<_ACEOF
62334 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62335 _ACEOF
62338 done
62340 else
62341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
62342 $as_echo_n "checking for _long double trig functions... " >&6; }
62343 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
62344 $as_echo_n "(cached) " >&6
62345 else
62348 ac_ext=cpp
62349 ac_cpp='$CXXCPP $CPPFLAGS'
62350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62355 /* end confdefs.h. */
62356 #include <math.h>
62358 main ()
62360 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
62362 return 0;
62364 _ACEOF
62365 if ac_fn_cxx_try_compile "$LINENO"; then :
62366 glibcxx_cv_func__long_double_trig_use=yes
62367 else
62368 glibcxx_cv_func__long_double_trig_use=no
62370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62371 ac_ext=c
62372 ac_cpp='$CPP $CPPFLAGS'
62373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
62380 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
62381 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
62382 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
62383 do :
62384 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62385 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62386 eval as_val=\$$as_ac_var
62387 if test "x$as_val" = x""yes; then :
62388 cat >>confdefs.h <<_ACEOF
62389 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62390 _ACEOF
62393 done
62402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
62403 $as_echo_n "checking for long double round functions... " >&6; }
62404 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
62405 $as_echo_n "(cached) " >&6
62406 else
62409 ac_ext=cpp
62410 ac_cpp='$CXXCPP $CPPFLAGS'
62411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62416 /* end confdefs.h. */
62417 #include <math.h>
62419 main ()
62421 ceill (0); floorl (0);
62423 return 0;
62425 _ACEOF
62426 if ac_fn_cxx_try_compile "$LINENO"; then :
62427 glibcxx_cv_func_long_double_round_use=yes
62428 else
62429 glibcxx_cv_func_long_double_round_use=no
62431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62432 ac_ext=c
62433 ac_cpp='$CPP $CPPFLAGS'
62434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
62441 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
62442 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
62443 for ac_func in ceill floorl
62444 do :
62445 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62446 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62447 eval as_val=\$$as_ac_var
62448 if test "x$as_val" = x""yes; then :
62449 cat >>confdefs.h <<_ACEOF
62450 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62451 _ACEOF
62454 done
62456 else
62457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
62458 $as_echo_n "checking for _long double round functions... " >&6; }
62459 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
62460 $as_echo_n "(cached) " >&6
62461 else
62464 ac_ext=cpp
62465 ac_cpp='$CXXCPP $CPPFLAGS'
62466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62471 /* end confdefs.h. */
62472 #include <math.h>
62474 main ()
62476 _ceill (0); _floorl (0);
62478 return 0;
62480 _ACEOF
62481 if ac_fn_cxx_try_compile "$LINENO"; then :
62482 glibcxx_cv_func__long_double_round_use=yes
62483 else
62484 glibcxx_cv_func__long_double_round_use=no
62486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62487 ac_ext=c
62488 ac_cpp='$CPP $CPPFLAGS'
62489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
62496 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
62497 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
62498 for ac_func in _ceill _floorl
62499 do :
62500 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62501 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62502 eval as_val=\$$as_ac_var
62503 if test "x$as_val" = x""yes; then :
62504 cat >>confdefs.h <<_ACEOF
62505 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62506 _ACEOF
62509 done
62519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
62520 $as_echo_n "checking for isnanl declaration... " >&6; }
62521 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
62522 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
62523 $as_echo_n "(cached) " >&6
62524 else
62527 ac_ext=cpp
62528 ac_cpp='$CXXCPP $CPPFLAGS'
62529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62534 /* end confdefs.h. */
62535 #include <math.h>
62536 #ifdef HAVE_IEEEFP_H
62537 #include <ieeefp.h>
62538 #endif
62541 main ()
62543 isnanl(0);
62545 return 0;
62547 _ACEOF
62548 if ac_fn_cxx_try_compile "$LINENO"; then :
62549 glibcxx_cv_func_isnanl_use=yes
62550 else
62551 glibcxx_cv_func_isnanl_use=no
62553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62554 ac_ext=c
62555 ac_cpp='$CPP $CPPFLAGS'
62556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
62565 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
62567 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
62568 for ac_func in isnanl
62569 do :
62570 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
62571 if test "x$ac_cv_func_isnanl" = x""yes; then :
62572 cat >>confdefs.h <<_ACEOF
62573 #define HAVE_ISNANL 1
62574 _ACEOF
62577 done
62579 else
62581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
62582 $as_echo_n "checking for _isnanl declaration... " >&6; }
62583 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
62584 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
62585 $as_echo_n "(cached) " >&6
62586 else
62589 ac_ext=cpp
62590 ac_cpp='$CXXCPP $CPPFLAGS'
62591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62596 /* end confdefs.h. */
62597 #include <math.h>
62598 #ifdef HAVE_IEEEFP_H
62599 #include <ieeefp.h>
62600 #endif
62603 main ()
62605 _isnanl(0);
62607 return 0;
62609 _ACEOF
62610 if ac_fn_cxx_try_compile "$LINENO"; then :
62611 glibcxx_cv_func__isnanl_use=yes
62612 else
62613 glibcxx_cv_func__isnanl_use=no
62615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62616 ac_ext=c
62617 ac_cpp='$CPP $CPPFLAGS'
62618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
62627 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
62629 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
62630 for ac_func in _isnanl
62631 do :
62632 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
62633 if test "x$ac_cv_func__isnanl" = x""yes; then :
62634 cat >>confdefs.h <<_ACEOF
62635 #define HAVE__ISNANL 1
62636 _ACEOF
62639 done
62648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
62649 $as_echo_n "checking for isinfl declaration... " >&6; }
62650 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
62651 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
62652 $as_echo_n "(cached) " >&6
62653 else
62656 ac_ext=cpp
62657 ac_cpp='$CXXCPP $CPPFLAGS'
62658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62663 /* end confdefs.h. */
62664 #include <math.h>
62665 #ifdef HAVE_IEEEFP_H
62666 #include <ieeefp.h>
62667 #endif
62670 main ()
62672 isinfl(0);
62674 return 0;
62676 _ACEOF
62677 if ac_fn_cxx_try_compile "$LINENO"; then :
62678 glibcxx_cv_func_isinfl_use=yes
62679 else
62680 glibcxx_cv_func_isinfl_use=no
62682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62683 ac_ext=c
62684 ac_cpp='$CPP $CPPFLAGS'
62685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
62694 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
62696 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
62697 for ac_func in isinfl
62698 do :
62699 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
62700 if test "x$ac_cv_func_isinfl" = x""yes; then :
62701 cat >>confdefs.h <<_ACEOF
62702 #define HAVE_ISINFL 1
62703 _ACEOF
62706 done
62708 else
62710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
62711 $as_echo_n "checking for _isinfl declaration... " >&6; }
62712 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
62713 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
62714 $as_echo_n "(cached) " >&6
62715 else
62718 ac_ext=cpp
62719 ac_cpp='$CXXCPP $CPPFLAGS'
62720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62725 /* end confdefs.h. */
62726 #include <math.h>
62727 #ifdef HAVE_IEEEFP_H
62728 #include <ieeefp.h>
62729 #endif
62732 main ()
62734 _isinfl(0);
62736 return 0;
62738 _ACEOF
62739 if ac_fn_cxx_try_compile "$LINENO"; then :
62740 glibcxx_cv_func__isinfl_use=yes
62741 else
62742 glibcxx_cv_func__isinfl_use=no
62744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62745 ac_ext=c
62746 ac_cpp='$CPP $CPPFLAGS'
62747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
62756 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
62758 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
62759 for ac_func in _isinfl
62760 do :
62761 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
62762 if test "x$ac_cv_func__isinfl" = x""yes; then :
62763 cat >>confdefs.h <<_ACEOF
62764 #define HAVE__ISINFL 1
62765 _ACEOF
62768 done
62777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
62778 $as_echo_n "checking for atan2l declaration... " >&6; }
62779 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
62780 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
62781 $as_echo_n "(cached) " >&6
62782 else
62785 ac_ext=cpp
62786 ac_cpp='$CXXCPP $CPPFLAGS'
62787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62792 /* end confdefs.h. */
62793 #include <math.h>
62795 main ()
62797 atan2l(0, 0);
62799 return 0;
62801 _ACEOF
62802 if ac_fn_cxx_try_compile "$LINENO"; then :
62803 glibcxx_cv_func_atan2l_use=yes
62804 else
62805 glibcxx_cv_func_atan2l_use=no
62807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62808 ac_ext=c
62809 ac_cpp='$CPP $CPPFLAGS'
62810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
62819 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
62821 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
62822 for ac_func in atan2l
62823 do :
62824 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
62825 if test "x$ac_cv_func_atan2l" = x""yes; then :
62826 cat >>confdefs.h <<_ACEOF
62827 #define HAVE_ATAN2L 1
62828 _ACEOF
62831 done
62833 else
62835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
62836 $as_echo_n "checking for _atan2l declaration... " >&6; }
62837 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
62838 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
62839 $as_echo_n "(cached) " >&6
62840 else
62843 ac_ext=cpp
62844 ac_cpp='$CXXCPP $CPPFLAGS'
62845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62850 /* end confdefs.h. */
62851 #include <math.h>
62853 main ()
62855 _atan2l(0, 0);
62857 return 0;
62859 _ACEOF
62860 if ac_fn_cxx_try_compile "$LINENO"; then :
62861 glibcxx_cv_func__atan2l_use=yes
62862 else
62863 glibcxx_cv_func__atan2l_use=no
62865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62866 ac_ext=c
62867 ac_cpp='$CPP $CPPFLAGS'
62868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
62877 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
62879 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
62880 for ac_func in _atan2l
62881 do :
62882 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
62883 if test "x$ac_cv_func__atan2l" = x""yes; then :
62884 cat >>confdefs.h <<_ACEOF
62885 #define HAVE__ATAN2L 1
62886 _ACEOF
62889 done
62898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
62899 $as_echo_n "checking for expl declaration... " >&6; }
62900 if test x${glibcxx_cv_func_expl_use+set} != xset; then
62901 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
62902 $as_echo_n "(cached) " >&6
62903 else
62906 ac_ext=cpp
62907 ac_cpp='$CXXCPP $CPPFLAGS'
62908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62913 /* end confdefs.h. */
62914 #include <math.h>
62915 #ifdef HAVE_IEEEFP_H
62916 #include <ieeefp.h>
62917 #endif
62920 main ()
62922 expl(0);
62924 return 0;
62926 _ACEOF
62927 if ac_fn_cxx_try_compile "$LINENO"; then :
62928 glibcxx_cv_func_expl_use=yes
62929 else
62930 glibcxx_cv_func_expl_use=no
62932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62933 ac_ext=c
62934 ac_cpp='$CPP $CPPFLAGS'
62935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
62944 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
62946 if test x$glibcxx_cv_func_expl_use = x"yes"; then
62947 for ac_func in expl
62948 do :
62949 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
62950 if test "x$ac_cv_func_expl" = x""yes; then :
62951 cat >>confdefs.h <<_ACEOF
62952 #define HAVE_EXPL 1
62953 _ACEOF
62956 done
62958 else
62960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
62961 $as_echo_n "checking for _expl declaration... " >&6; }
62962 if test x${glibcxx_cv_func__expl_use+set} != xset; then
62963 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
62964 $as_echo_n "(cached) " >&6
62965 else
62968 ac_ext=cpp
62969 ac_cpp='$CXXCPP $CPPFLAGS'
62970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62975 /* end confdefs.h. */
62976 #include <math.h>
62977 #ifdef HAVE_IEEEFP_H
62978 #include <ieeefp.h>
62979 #endif
62982 main ()
62984 _expl(0);
62986 return 0;
62988 _ACEOF
62989 if ac_fn_cxx_try_compile "$LINENO"; then :
62990 glibcxx_cv_func__expl_use=yes
62991 else
62992 glibcxx_cv_func__expl_use=no
62994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62995 ac_ext=c
62996 ac_cpp='$CPP $CPPFLAGS'
62997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
63006 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
63008 if test x$glibcxx_cv_func__expl_use = x"yes"; then
63009 for ac_func in _expl
63010 do :
63011 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
63012 if test "x$ac_cv_func__expl" = x""yes; then :
63013 cat >>confdefs.h <<_ACEOF
63014 #define HAVE__EXPL 1
63015 _ACEOF
63018 done
63027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
63028 $as_echo_n "checking for fabsl declaration... " >&6; }
63029 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
63030 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
63031 $as_echo_n "(cached) " >&6
63032 else
63035 ac_ext=cpp
63036 ac_cpp='$CXXCPP $CPPFLAGS'
63037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63042 /* end confdefs.h. */
63043 #include <math.h>
63044 #ifdef HAVE_IEEEFP_H
63045 #include <ieeefp.h>
63046 #endif
63049 main ()
63051 fabsl(0);
63053 return 0;
63055 _ACEOF
63056 if ac_fn_cxx_try_compile "$LINENO"; then :
63057 glibcxx_cv_func_fabsl_use=yes
63058 else
63059 glibcxx_cv_func_fabsl_use=no
63061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63062 ac_ext=c
63063 ac_cpp='$CPP $CPPFLAGS'
63064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
63073 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
63075 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
63076 for ac_func in fabsl
63077 do :
63078 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
63079 if test "x$ac_cv_func_fabsl" = x""yes; then :
63080 cat >>confdefs.h <<_ACEOF
63081 #define HAVE_FABSL 1
63082 _ACEOF
63085 done
63087 else
63089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
63090 $as_echo_n "checking for _fabsl declaration... " >&6; }
63091 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
63092 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
63093 $as_echo_n "(cached) " >&6
63094 else
63097 ac_ext=cpp
63098 ac_cpp='$CXXCPP $CPPFLAGS'
63099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63104 /* end confdefs.h. */
63105 #include <math.h>
63106 #ifdef HAVE_IEEEFP_H
63107 #include <ieeefp.h>
63108 #endif
63111 main ()
63113 _fabsl(0);
63115 return 0;
63117 _ACEOF
63118 if ac_fn_cxx_try_compile "$LINENO"; then :
63119 glibcxx_cv_func__fabsl_use=yes
63120 else
63121 glibcxx_cv_func__fabsl_use=no
63123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63124 ac_ext=c
63125 ac_cpp='$CPP $CPPFLAGS'
63126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
63135 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
63137 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
63138 for ac_func in _fabsl
63139 do :
63140 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
63141 if test "x$ac_cv_func__fabsl" = x""yes; then :
63142 cat >>confdefs.h <<_ACEOF
63143 #define HAVE__FABSL 1
63144 _ACEOF
63147 done
63156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
63157 $as_echo_n "checking for fmodl declaration... " >&6; }
63158 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
63159 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
63160 $as_echo_n "(cached) " >&6
63161 else
63164 ac_ext=cpp
63165 ac_cpp='$CXXCPP $CPPFLAGS'
63166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63171 /* end confdefs.h. */
63172 #include <math.h>
63174 main ()
63176 fmodl(0, 0);
63178 return 0;
63180 _ACEOF
63181 if ac_fn_cxx_try_compile "$LINENO"; then :
63182 glibcxx_cv_func_fmodl_use=yes
63183 else
63184 glibcxx_cv_func_fmodl_use=no
63186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63187 ac_ext=c
63188 ac_cpp='$CPP $CPPFLAGS'
63189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
63198 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
63200 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
63201 for ac_func in fmodl
63202 do :
63203 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
63204 if test "x$ac_cv_func_fmodl" = x""yes; then :
63205 cat >>confdefs.h <<_ACEOF
63206 #define HAVE_FMODL 1
63207 _ACEOF
63210 done
63212 else
63214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
63215 $as_echo_n "checking for _fmodl declaration... " >&6; }
63216 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
63217 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
63218 $as_echo_n "(cached) " >&6
63219 else
63222 ac_ext=cpp
63223 ac_cpp='$CXXCPP $CPPFLAGS'
63224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63229 /* end confdefs.h. */
63230 #include <math.h>
63232 main ()
63234 _fmodl(0, 0);
63236 return 0;
63238 _ACEOF
63239 if ac_fn_cxx_try_compile "$LINENO"; then :
63240 glibcxx_cv_func__fmodl_use=yes
63241 else
63242 glibcxx_cv_func__fmodl_use=no
63244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63245 ac_ext=c
63246 ac_cpp='$CPP $CPPFLAGS'
63247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
63256 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
63258 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
63259 for ac_func in _fmodl
63260 do :
63261 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
63262 if test "x$ac_cv_func__fmodl" = x""yes; then :
63263 cat >>confdefs.h <<_ACEOF
63264 #define HAVE__FMODL 1
63265 _ACEOF
63268 done
63277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
63278 $as_echo_n "checking for frexpl declaration... " >&6; }
63279 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
63280 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
63281 $as_echo_n "(cached) " >&6
63282 else
63285 ac_ext=cpp
63286 ac_cpp='$CXXCPP $CPPFLAGS'
63287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63292 /* end confdefs.h. */
63293 #include <math.h>
63295 main ()
63297 frexpl(0, 0);
63299 return 0;
63301 _ACEOF
63302 if ac_fn_cxx_try_compile "$LINENO"; then :
63303 glibcxx_cv_func_frexpl_use=yes
63304 else
63305 glibcxx_cv_func_frexpl_use=no
63307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63308 ac_ext=c
63309 ac_cpp='$CPP $CPPFLAGS'
63310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
63319 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
63321 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
63322 for ac_func in frexpl
63323 do :
63324 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
63325 if test "x$ac_cv_func_frexpl" = x""yes; then :
63326 cat >>confdefs.h <<_ACEOF
63327 #define HAVE_FREXPL 1
63328 _ACEOF
63331 done
63333 else
63335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
63336 $as_echo_n "checking for _frexpl declaration... " >&6; }
63337 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
63338 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
63339 $as_echo_n "(cached) " >&6
63340 else
63343 ac_ext=cpp
63344 ac_cpp='$CXXCPP $CPPFLAGS'
63345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63350 /* end confdefs.h. */
63351 #include <math.h>
63353 main ()
63355 _frexpl(0, 0);
63357 return 0;
63359 _ACEOF
63360 if ac_fn_cxx_try_compile "$LINENO"; then :
63361 glibcxx_cv_func__frexpl_use=yes
63362 else
63363 glibcxx_cv_func__frexpl_use=no
63365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63366 ac_ext=c
63367 ac_cpp='$CPP $CPPFLAGS'
63368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
63377 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
63379 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
63380 for ac_func in _frexpl
63381 do :
63382 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
63383 if test "x$ac_cv_func__frexpl" = x""yes; then :
63384 cat >>confdefs.h <<_ACEOF
63385 #define HAVE__FREXPL 1
63386 _ACEOF
63389 done
63398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
63399 $as_echo_n "checking for hypotl declaration... " >&6; }
63400 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
63401 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
63402 $as_echo_n "(cached) " >&6
63403 else
63406 ac_ext=cpp
63407 ac_cpp='$CXXCPP $CPPFLAGS'
63408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63413 /* end confdefs.h. */
63414 #include <math.h>
63416 main ()
63418 hypotl(0, 0);
63420 return 0;
63422 _ACEOF
63423 if ac_fn_cxx_try_compile "$LINENO"; then :
63424 glibcxx_cv_func_hypotl_use=yes
63425 else
63426 glibcxx_cv_func_hypotl_use=no
63428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63429 ac_ext=c
63430 ac_cpp='$CPP $CPPFLAGS'
63431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
63440 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
63442 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
63443 for ac_func in hypotl
63444 do :
63445 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
63446 if test "x$ac_cv_func_hypotl" = x""yes; then :
63447 cat >>confdefs.h <<_ACEOF
63448 #define HAVE_HYPOTL 1
63449 _ACEOF
63452 done
63454 else
63456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
63457 $as_echo_n "checking for _hypotl declaration... " >&6; }
63458 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
63459 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
63460 $as_echo_n "(cached) " >&6
63461 else
63464 ac_ext=cpp
63465 ac_cpp='$CXXCPP $CPPFLAGS'
63466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63471 /* end confdefs.h. */
63472 #include <math.h>
63474 main ()
63476 _hypotl(0, 0);
63478 return 0;
63480 _ACEOF
63481 if ac_fn_cxx_try_compile "$LINENO"; then :
63482 glibcxx_cv_func__hypotl_use=yes
63483 else
63484 glibcxx_cv_func__hypotl_use=no
63486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63487 ac_ext=c
63488 ac_cpp='$CPP $CPPFLAGS'
63489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
63498 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
63500 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
63501 for ac_func in _hypotl
63502 do :
63503 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
63504 if test "x$ac_cv_func__hypotl" = x""yes; then :
63505 cat >>confdefs.h <<_ACEOF
63506 #define HAVE__HYPOTL 1
63507 _ACEOF
63510 done
63519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
63520 $as_echo_n "checking for ldexpl declaration... " >&6; }
63521 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
63522 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
63523 $as_echo_n "(cached) " >&6
63524 else
63527 ac_ext=cpp
63528 ac_cpp='$CXXCPP $CPPFLAGS'
63529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63534 /* end confdefs.h. */
63535 #include <math.h>
63537 main ()
63539 ldexpl(0, 0);
63541 return 0;
63543 _ACEOF
63544 if ac_fn_cxx_try_compile "$LINENO"; then :
63545 glibcxx_cv_func_ldexpl_use=yes
63546 else
63547 glibcxx_cv_func_ldexpl_use=no
63549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63550 ac_ext=c
63551 ac_cpp='$CPP $CPPFLAGS'
63552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
63561 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
63563 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
63564 for ac_func in ldexpl
63565 do :
63566 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
63567 if test "x$ac_cv_func_ldexpl" = x""yes; then :
63568 cat >>confdefs.h <<_ACEOF
63569 #define HAVE_LDEXPL 1
63570 _ACEOF
63573 done
63575 else
63577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
63578 $as_echo_n "checking for _ldexpl declaration... " >&6; }
63579 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
63580 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
63581 $as_echo_n "(cached) " >&6
63582 else
63585 ac_ext=cpp
63586 ac_cpp='$CXXCPP $CPPFLAGS'
63587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63592 /* end confdefs.h. */
63593 #include <math.h>
63595 main ()
63597 _ldexpl(0, 0);
63599 return 0;
63601 _ACEOF
63602 if ac_fn_cxx_try_compile "$LINENO"; then :
63603 glibcxx_cv_func__ldexpl_use=yes
63604 else
63605 glibcxx_cv_func__ldexpl_use=no
63607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63608 ac_ext=c
63609 ac_cpp='$CPP $CPPFLAGS'
63610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
63619 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
63621 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
63622 for ac_func in _ldexpl
63623 do :
63624 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
63625 if test "x$ac_cv_func__ldexpl" = x""yes; then :
63626 cat >>confdefs.h <<_ACEOF
63627 #define HAVE__LDEXPL 1
63628 _ACEOF
63631 done
63640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
63641 $as_echo_n "checking for logl declaration... " >&6; }
63642 if test x${glibcxx_cv_func_logl_use+set} != xset; then
63643 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
63644 $as_echo_n "(cached) " >&6
63645 else
63648 ac_ext=cpp
63649 ac_cpp='$CXXCPP $CPPFLAGS'
63650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63655 /* end confdefs.h. */
63656 #include <math.h>
63657 #ifdef HAVE_IEEEFP_H
63658 #include <ieeefp.h>
63659 #endif
63662 main ()
63664 logl(0);
63666 return 0;
63668 _ACEOF
63669 if ac_fn_cxx_try_compile "$LINENO"; then :
63670 glibcxx_cv_func_logl_use=yes
63671 else
63672 glibcxx_cv_func_logl_use=no
63674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63675 ac_ext=c
63676 ac_cpp='$CPP $CPPFLAGS'
63677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
63686 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
63688 if test x$glibcxx_cv_func_logl_use = x"yes"; then
63689 for ac_func in logl
63690 do :
63691 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
63692 if test "x$ac_cv_func_logl" = x""yes; then :
63693 cat >>confdefs.h <<_ACEOF
63694 #define HAVE_LOGL 1
63695 _ACEOF
63698 done
63700 else
63702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
63703 $as_echo_n "checking for _logl declaration... " >&6; }
63704 if test x${glibcxx_cv_func__logl_use+set} != xset; then
63705 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
63706 $as_echo_n "(cached) " >&6
63707 else
63710 ac_ext=cpp
63711 ac_cpp='$CXXCPP $CPPFLAGS'
63712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63717 /* end confdefs.h. */
63718 #include <math.h>
63719 #ifdef HAVE_IEEEFP_H
63720 #include <ieeefp.h>
63721 #endif
63724 main ()
63726 _logl(0);
63728 return 0;
63730 _ACEOF
63731 if ac_fn_cxx_try_compile "$LINENO"; then :
63732 glibcxx_cv_func__logl_use=yes
63733 else
63734 glibcxx_cv_func__logl_use=no
63736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63737 ac_ext=c
63738 ac_cpp='$CPP $CPPFLAGS'
63739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
63748 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
63750 if test x$glibcxx_cv_func__logl_use = x"yes"; then
63751 for ac_func in _logl
63752 do :
63753 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
63754 if test "x$ac_cv_func__logl" = x""yes; then :
63755 cat >>confdefs.h <<_ACEOF
63756 #define HAVE__LOGL 1
63757 _ACEOF
63760 done
63769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
63770 $as_echo_n "checking for log10l declaration... " >&6; }
63771 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
63772 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
63773 $as_echo_n "(cached) " >&6
63774 else
63777 ac_ext=cpp
63778 ac_cpp='$CXXCPP $CPPFLAGS'
63779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63784 /* end confdefs.h. */
63785 #include <math.h>
63786 #ifdef HAVE_IEEEFP_H
63787 #include <ieeefp.h>
63788 #endif
63791 main ()
63793 log10l(0);
63795 return 0;
63797 _ACEOF
63798 if ac_fn_cxx_try_compile "$LINENO"; then :
63799 glibcxx_cv_func_log10l_use=yes
63800 else
63801 glibcxx_cv_func_log10l_use=no
63803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63804 ac_ext=c
63805 ac_cpp='$CPP $CPPFLAGS'
63806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
63815 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
63817 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
63818 for ac_func in log10l
63819 do :
63820 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
63821 if test "x$ac_cv_func_log10l" = x""yes; then :
63822 cat >>confdefs.h <<_ACEOF
63823 #define HAVE_LOG10L 1
63824 _ACEOF
63827 done
63829 else
63831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
63832 $as_echo_n "checking for _log10l declaration... " >&6; }
63833 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
63834 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
63835 $as_echo_n "(cached) " >&6
63836 else
63839 ac_ext=cpp
63840 ac_cpp='$CXXCPP $CPPFLAGS'
63841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63846 /* end confdefs.h. */
63847 #include <math.h>
63848 #ifdef HAVE_IEEEFP_H
63849 #include <ieeefp.h>
63850 #endif
63853 main ()
63855 _log10l(0);
63857 return 0;
63859 _ACEOF
63860 if ac_fn_cxx_try_compile "$LINENO"; then :
63861 glibcxx_cv_func__log10l_use=yes
63862 else
63863 glibcxx_cv_func__log10l_use=no
63865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63866 ac_ext=c
63867 ac_cpp='$CPP $CPPFLAGS'
63868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
63877 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
63879 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
63880 for ac_func in _log10l
63881 do :
63882 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
63883 if test "x$ac_cv_func__log10l" = x""yes; then :
63884 cat >>confdefs.h <<_ACEOF
63885 #define HAVE__LOG10L 1
63886 _ACEOF
63889 done
63898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
63899 $as_echo_n "checking for modfl declaration... " >&6; }
63900 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
63901 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
63902 $as_echo_n "(cached) " >&6
63903 else
63906 ac_ext=cpp
63907 ac_cpp='$CXXCPP $CPPFLAGS'
63908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63913 /* end confdefs.h. */
63914 #include <math.h>
63916 main ()
63918 modfl(0, 0);
63920 return 0;
63922 _ACEOF
63923 if ac_fn_cxx_try_compile "$LINENO"; then :
63924 glibcxx_cv_func_modfl_use=yes
63925 else
63926 glibcxx_cv_func_modfl_use=no
63928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63929 ac_ext=c
63930 ac_cpp='$CPP $CPPFLAGS'
63931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
63940 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
63942 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
63943 for ac_func in modfl
63944 do :
63945 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
63946 if test "x$ac_cv_func_modfl" = x""yes; then :
63947 cat >>confdefs.h <<_ACEOF
63948 #define HAVE_MODFL 1
63949 _ACEOF
63952 done
63954 else
63956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
63957 $as_echo_n "checking for _modfl declaration... " >&6; }
63958 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
63959 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
63960 $as_echo_n "(cached) " >&6
63961 else
63964 ac_ext=cpp
63965 ac_cpp='$CXXCPP $CPPFLAGS'
63966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63971 /* end confdefs.h. */
63972 #include <math.h>
63974 main ()
63976 _modfl(0, 0);
63978 return 0;
63980 _ACEOF
63981 if ac_fn_cxx_try_compile "$LINENO"; then :
63982 glibcxx_cv_func__modfl_use=yes
63983 else
63984 glibcxx_cv_func__modfl_use=no
63986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63987 ac_ext=c
63988 ac_cpp='$CPP $CPPFLAGS'
63989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
63998 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
64000 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
64001 for ac_func in _modfl
64002 do :
64003 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
64004 if test "x$ac_cv_func__modfl" = x""yes; then :
64005 cat >>confdefs.h <<_ACEOF
64006 #define HAVE__MODFL 1
64007 _ACEOF
64010 done
64019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
64020 $as_echo_n "checking for powl declaration... " >&6; }
64021 if test x${glibcxx_cv_func_powl_use+set} != xset; then
64022 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
64023 $as_echo_n "(cached) " >&6
64024 else
64027 ac_ext=cpp
64028 ac_cpp='$CXXCPP $CPPFLAGS'
64029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64034 /* end confdefs.h. */
64035 #include <math.h>
64037 main ()
64039 powl(0, 0);
64041 return 0;
64043 _ACEOF
64044 if ac_fn_cxx_try_compile "$LINENO"; then :
64045 glibcxx_cv_func_powl_use=yes
64046 else
64047 glibcxx_cv_func_powl_use=no
64049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64050 ac_ext=c
64051 ac_cpp='$CPP $CPPFLAGS'
64052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
64061 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
64063 if test x$glibcxx_cv_func_powl_use = x"yes"; then
64064 for ac_func in powl
64065 do :
64066 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
64067 if test "x$ac_cv_func_powl" = x""yes; then :
64068 cat >>confdefs.h <<_ACEOF
64069 #define HAVE_POWL 1
64070 _ACEOF
64073 done
64075 else
64077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
64078 $as_echo_n "checking for _powl declaration... " >&6; }
64079 if test x${glibcxx_cv_func__powl_use+set} != xset; then
64080 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
64081 $as_echo_n "(cached) " >&6
64082 else
64085 ac_ext=cpp
64086 ac_cpp='$CXXCPP $CPPFLAGS'
64087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64092 /* end confdefs.h. */
64093 #include <math.h>
64095 main ()
64097 _powl(0, 0);
64099 return 0;
64101 _ACEOF
64102 if ac_fn_cxx_try_compile "$LINENO"; then :
64103 glibcxx_cv_func__powl_use=yes
64104 else
64105 glibcxx_cv_func__powl_use=no
64107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64108 ac_ext=c
64109 ac_cpp='$CPP $CPPFLAGS'
64110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
64119 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
64121 if test x$glibcxx_cv_func__powl_use = x"yes"; then
64122 for ac_func in _powl
64123 do :
64124 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
64125 if test "x$ac_cv_func__powl" = x""yes; then :
64126 cat >>confdefs.h <<_ACEOF
64127 #define HAVE__POWL 1
64128 _ACEOF
64131 done
64140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
64141 $as_echo_n "checking for sqrtl declaration... " >&6; }
64142 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
64143 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
64144 $as_echo_n "(cached) " >&6
64145 else
64148 ac_ext=cpp
64149 ac_cpp='$CXXCPP $CPPFLAGS'
64150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64155 /* end confdefs.h. */
64156 #include <math.h>
64157 #ifdef HAVE_IEEEFP_H
64158 #include <ieeefp.h>
64159 #endif
64162 main ()
64164 sqrtl(0);
64166 return 0;
64168 _ACEOF
64169 if ac_fn_cxx_try_compile "$LINENO"; then :
64170 glibcxx_cv_func_sqrtl_use=yes
64171 else
64172 glibcxx_cv_func_sqrtl_use=no
64174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64175 ac_ext=c
64176 ac_cpp='$CPP $CPPFLAGS'
64177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
64186 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
64188 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
64189 for ac_func in sqrtl
64190 do :
64191 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
64192 if test "x$ac_cv_func_sqrtl" = x""yes; then :
64193 cat >>confdefs.h <<_ACEOF
64194 #define HAVE_SQRTL 1
64195 _ACEOF
64198 done
64200 else
64202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
64203 $as_echo_n "checking for _sqrtl declaration... " >&6; }
64204 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
64205 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
64206 $as_echo_n "(cached) " >&6
64207 else
64210 ac_ext=cpp
64211 ac_cpp='$CXXCPP $CPPFLAGS'
64212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64217 /* end confdefs.h. */
64218 #include <math.h>
64219 #ifdef HAVE_IEEEFP_H
64220 #include <ieeefp.h>
64221 #endif
64224 main ()
64226 _sqrtl(0);
64228 return 0;
64230 _ACEOF
64231 if ac_fn_cxx_try_compile "$LINENO"; then :
64232 glibcxx_cv_func__sqrtl_use=yes
64233 else
64234 glibcxx_cv_func__sqrtl_use=no
64236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64237 ac_ext=c
64238 ac_cpp='$CPP $CPPFLAGS'
64239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
64248 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
64250 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
64251 for ac_func in _sqrtl
64252 do :
64253 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
64254 if test "x$ac_cv_func__sqrtl" = x""yes; then :
64255 cat >>confdefs.h <<_ACEOF
64256 #define HAVE__SQRTL 1
64257 _ACEOF
64260 done
64269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
64270 $as_echo_n "checking for sincosl declaration... " >&6; }
64271 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
64272 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
64273 $as_echo_n "(cached) " >&6
64274 else
64277 ac_ext=cpp
64278 ac_cpp='$CXXCPP $CPPFLAGS'
64279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64284 /* end confdefs.h. */
64285 #include <math.h>
64287 main ()
64289 sincosl(0, 0, 0);
64291 return 0;
64293 _ACEOF
64294 if ac_fn_cxx_try_compile "$LINENO"; then :
64295 glibcxx_cv_func_sincosl_use=yes
64296 else
64297 glibcxx_cv_func_sincosl_use=no
64299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64300 ac_ext=c
64301 ac_cpp='$CPP $CPPFLAGS'
64302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
64311 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
64313 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
64314 for ac_func in sincosl
64315 do :
64316 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
64317 if test "x$ac_cv_func_sincosl" = x""yes; then :
64318 cat >>confdefs.h <<_ACEOF
64319 #define HAVE_SINCOSL 1
64320 _ACEOF
64323 done
64325 else
64327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
64328 $as_echo_n "checking for _sincosl declaration... " >&6; }
64329 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
64330 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
64331 $as_echo_n "(cached) " >&6
64332 else
64335 ac_ext=cpp
64336 ac_cpp='$CXXCPP $CPPFLAGS'
64337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64342 /* end confdefs.h. */
64343 #include <math.h>
64345 main ()
64347 _sincosl(0, 0, 0);
64349 return 0;
64351 _ACEOF
64352 if ac_fn_cxx_try_compile "$LINENO"; then :
64353 glibcxx_cv_func__sincosl_use=yes
64354 else
64355 glibcxx_cv_func__sincosl_use=no
64357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64358 ac_ext=c
64359 ac_cpp='$CPP $CPPFLAGS'
64360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
64369 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
64371 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
64372 for ac_func in _sincosl
64373 do :
64374 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
64375 if test "x$ac_cv_func__sincosl" = x""yes; then :
64376 cat >>confdefs.h <<_ACEOF
64377 #define HAVE__SINCOSL 1
64378 _ACEOF
64381 done
64390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
64391 $as_echo_n "checking for finitel declaration... " >&6; }
64392 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
64393 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
64394 $as_echo_n "(cached) " >&6
64395 else
64398 ac_ext=cpp
64399 ac_cpp='$CXXCPP $CPPFLAGS'
64400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64405 /* end confdefs.h. */
64406 #include <math.h>
64407 #ifdef HAVE_IEEEFP_H
64408 #include <ieeefp.h>
64409 #endif
64412 main ()
64414 finitel(0);
64416 return 0;
64418 _ACEOF
64419 if ac_fn_cxx_try_compile "$LINENO"; then :
64420 glibcxx_cv_func_finitel_use=yes
64421 else
64422 glibcxx_cv_func_finitel_use=no
64424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64425 ac_ext=c
64426 ac_cpp='$CPP $CPPFLAGS'
64427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
64436 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
64438 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
64439 for ac_func in finitel
64440 do :
64441 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
64442 if test "x$ac_cv_func_finitel" = x""yes; then :
64443 cat >>confdefs.h <<_ACEOF
64444 #define HAVE_FINITEL 1
64445 _ACEOF
64448 done
64450 else
64452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
64453 $as_echo_n "checking for _finitel declaration... " >&6; }
64454 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
64455 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
64456 $as_echo_n "(cached) " >&6
64457 else
64460 ac_ext=cpp
64461 ac_cpp='$CXXCPP $CPPFLAGS'
64462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64467 /* end confdefs.h. */
64468 #include <math.h>
64469 #ifdef HAVE_IEEEFP_H
64470 #include <ieeefp.h>
64471 #endif
64474 main ()
64476 _finitel(0);
64478 return 0;
64480 _ACEOF
64481 if ac_fn_cxx_try_compile "$LINENO"; then :
64482 glibcxx_cv_func__finitel_use=yes
64483 else
64484 glibcxx_cv_func__finitel_use=no
64486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64487 ac_ext=c
64488 ac_cpp='$CPP $CPPFLAGS'
64489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
64498 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
64500 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
64501 for ac_func in _finitel
64502 do :
64503 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
64504 if test "x$ac_cv_func__finitel" = x""yes; then :
64505 cat >>confdefs.h <<_ACEOF
64506 #define HAVE__FINITEL 1
64507 _ACEOF
64510 done
64518 LIBS="$ac_save_LIBS"
64519 CXXFLAGS="$ac_save_CXXFLAGS"
64522 ac_test_CXXFLAGS="${CXXFLAGS+set}"
64523 ac_save_CXXFLAGS="$CXXFLAGS"
64524 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
64527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
64528 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
64529 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
64530 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
64531 $as_echo_n "(cached) " >&6
64532 else
64535 ac_ext=cpp
64536 ac_cpp='$CXXCPP $CPPFLAGS'
64537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64542 /* end confdefs.h. */
64543 #include <stdlib.h>
64545 main ()
64547 at_quick_exit(0);
64549 return 0;
64551 _ACEOF
64552 if ac_fn_cxx_try_compile "$LINENO"; then :
64553 glibcxx_cv_func_at_quick_exit_use=yes
64554 else
64555 glibcxx_cv_func_at_quick_exit_use=no
64557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64558 ac_ext=c
64559 ac_cpp='$CPP $CPPFLAGS'
64560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
64569 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
64570 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
64571 for ac_func in at_quick_exit
64572 do :
64573 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
64574 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
64575 cat >>confdefs.h <<_ACEOF
64576 #define HAVE_AT_QUICK_EXIT 1
64577 _ACEOF
64580 done
64585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
64586 $as_echo_n "checking for quick_exit declaration... " >&6; }
64587 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
64588 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
64589 $as_echo_n "(cached) " >&6
64590 else
64593 ac_ext=cpp
64594 ac_cpp='$CXXCPP $CPPFLAGS'
64595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64600 /* end confdefs.h. */
64601 #include <stdlib.h>
64603 main ()
64605 quick_exit(0);
64607 return 0;
64609 _ACEOF
64610 if ac_fn_cxx_try_compile "$LINENO"; then :
64611 glibcxx_cv_func_quick_exit_use=yes
64612 else
64613 glibcxx_cv_func_quick_exit_use=no
64615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64616 ac_ext=c
64617 ac_cpp='$CPP $CPPFLAGS'
64618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
64627 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
64628 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
64629 for ac_func in quick_exit
64630 do :
64631 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
64632 if test "x$ac_cv_func_quick_exit" = x""yes; then :
64633 cat >>confdefs.h <<_ACEOF
64634 #define HAVE_QUICK_EXIT 1
64635 _ACEOF
64638 done
64643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
64644 $as_echo_n "checking for strtold declaration... " >&6; }
64645 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
64646 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
64647 $as_echo_n "(cached) " >&6
64648 else
64651 ac_ext=cpp
64652 ac_cpp='$CXXCPP $CPPFLAGS'
64653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64658 /* end confdefs.h. */
64659 #include <stdlib.h>
64661 main ()
64663 strtold(0, 0);
64665 return 0;
64667 _ACEOF
64668 if ac_fn_cxx_try_compile "$LINENO"; then :
64669 glibcxx_cv_func_strtold_use=yes
64670 else
64671 glibcxx_cv_func_strtold_use=no
64673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64674 ac_ext=c
64675 ac_cpp='$CPP $CPPFLAGS'
64676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
64685 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
64686 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
64687 for ac_func in strtold
64688 do :
64689 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
64690 if test "x$ac_cv_func_strtold" = x""yes; then :
64691 cat >>confdefs.h <<_ACEOF
64692 #define HAVE_STRTOLD 1
64693 _ACEOF
64696 done
64703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
64704 $as_echo_n "checking for strtof declaration... " >&6; }
64705 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
64706 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
64707 $as_echo_n "(cached) " >&6
64708 else
64711 ac_ext=cpp
64712 ac_cpp='$CXXCPP $CPPFLAGS'
64713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64718 /* end confdefs.h. */
64719 #include <stdlib.h>
64721 main ()
64723 strtof(0, 0);
64725 return 0;
64727 _ACEOF
64728 if ac_fn_cxx_try_compile "$LINENO"; then :
64729 glibcxx_cv_func_strtof_use=yes
64730 else
64731 glibcxx_cv_func_strtof_use=no
64733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64734 ac_ext=c
64735 ac_cpp='$CPP $CPPFLAGS'
64736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
64745 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
64746 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
64747 for ac_func in strtof
64748 do :
64749 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
64750 if test "x$ac_cv_func_strtof" = x""yes; then :
64751 cat >>confdefs.h <<_ACEOF
64752 #define HAVE_STRTOF 1
64753 _ACEOF
64756 done
64763 CXXFLAGS="$ac_save_CXXFLAGS"
64766 *-netbsd*)
64767 SECTION_FLAGS='-ffunction-sections -fdata-sections'
64770 # If we're not using GNU ld, then there's no point in even trying these
64771 # tests. Check for that first. We should have already tested for gld
64772 # by now (in libtool), but require it now just to be safe...
64773 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
64774 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
64778 # The name set by libtool depends on the version of libtool. Shame on us
64779 # for depending on an impl detail, but c'est la vie. Older versions used
64780 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
64781 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
64782 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
64783 # set (hence we're using an older libtool), then set it.
64784 if test x${with_gnu_ld+set} != xset; then
64785 if test x${ac_cv_prog_gnu_ld+set} != xset; then
64786 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
64787 with_gnu_ld=no
64788 else
64789 with_gnu_ld=$ac_cv_prog_gnu_ld
64793 # Start by getting the version number. I think the libtool test already
64794 # does some of this, but throws away the result.
64795 glibcxx_ld_is_gold=no
64796 if test x"$with_gnu_ld" = x"yes"; then
64797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
64798 $as_echo_n "checking for ld version... " >&6; }
64800 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
64801 glibcxx_ld_is_gold=yes
64803 ldver=`$LD --version 2>/dev/null |
64804 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'`
64806 glibcxx_gnu_ld_version=`echo $ldver | \
64807 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
64808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
64809 $as_echo "$glibcxx_gnu_ld_version" >&6; }
64812 # Set --gc-sections.
64813 glibcxx_have_gc_sections=no
64814 if test "$glibcxx_ld_is_gold" = "yes"; then
64815 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
64816 glibcxx_have_gc_sections=yes
64818 else
64819 glibcxx_gcsections_min_ld=21602
64820 if test x"$with_gnu_ld" = x"yes" &&
64821 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
64822 glibcxx_have_gc_sections=yes
64825 if test "$glibcxx_have_gc_sections" = "yes"; then
64826 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
64827 # NB: This flag only works reliably after 2.16.1. Configure tests
64828 # for this are difficult, so hard wire a value that should work.
64830 ac_test_CFLAGS="${CFLAGS+set}"
64831 ac_save_CFLAGS="$CFLAGS"
64832 CFLAGS='-Wl,--gc-sections'
64834 # Check for -Wl,--gc-sections
64835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
64836 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
64837 if test x$gcc_no_link = xyes; then
64838 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64841 /* end confdefs.h. */
64842 int one(void) { return 1; }
64843 int two(void) { return 2; }
64846 main ()
64848 two();
64850 return 0;
64852 _ACEOF
64853 if ac_fn_c_try_link "$LINENO"; then :
64854 ac_gcsections=yes
64855 else
64856 ac_gcsections=no
64858 rm -f core conftest.err conftest.$ac_objext \
64859 conftest$ac_exeext conftest.$ac_ext
64860 if test "$ac_gcsections" = "yes"; then
64861 rm -f conftest.c
64862 touch conftest.c
64863 if $CC -c conftest.c; then
64864 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
64865 grep "Warning: gc-sections option ignored" > /dev/null; then
64866 ac_gcsections=no
64869 rm -f conftest.c conftest.o conftest
64871 if test "$ac_gcsections" = "yes"; then
64872 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
64874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
64875 $as_echo "$ac_gcsections" >&6; }
64877 if test "$ac_test_CFLAGS" = set; then
64878 CFLAGS="$ac_save_CFLAGS"
64879 else
64880 # this is the suspicious part
64881 CFLAGS=''
64885 # Set -z,relro.
64886 # Note this is only for shared objects.
64887 ac_ld_relro=no
64888 if test x"$with_gnu_ld" = x"yes"; then
64889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
64890 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
64891 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
64892 if test -n "$cxx_z_relo"; then
64893 OPT_LDFLAGS="-Wl,-z,relro"
64894 ac_ld_relro=yes
64896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
64897 $as_echo "$ac_ld_relro" >&6; }
64900 # Set linker optimization flags.
64901 if test x"$with_gnu_ld" = x"yes"; then
64902 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
64908 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
64910 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
64912 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
64914 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
64916 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
64918 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
64920 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
64922 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
64924 if test x"long_double_math_on_this_cpu" = x"yes"; then
64925 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
64927 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
64929 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
64933 *-qnx6.1* | *-qnx6.2*)
64934 SECTION_FLAGS='-ffunction-sections -fdata-sections'
64937 # If we're not using GNU ld, then there's no point in even trying these
64938 # tests. Check for that first. We should have already tested for gld
64939 # by now (in libtool), but require it now just to be safe...
64940 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
64941 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
64945 # The name set by libtool depends on the version of libtool. Shame on us
64946 # for depending on an impl detail, but c'est la vie. Older versions used
64947 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
64948 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
64949 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
64950 # set (hence we're using an older libtool), then set it.
64951 if test x${with_gnu_ld+set} != xset; then
64952 if test x${ac_cv_prog_gnu_ld+set} != xset; then
64953 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
64954 with_gnu_ld=no
64955 else
64956 with_gnu_ld=$ac_cv_prog_gnu_ld
64960 # Start by getting the version number. I think the libtool test already
64961 # does some of this, but throws away the result.
64962 glibcxx_ld_is_gold=no
64963 if test x"$with_gnu_ld" = x"yes"; then
64964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
64965 $as_echo_n "checking for ld version... " >&6; }
64967 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
64968 glibcxx_ld_is_gold=yes
64970 ldver=`$LD --version 2>/dev/null |
64971 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'`
64973 glibcxx_gnu_ld_version=`echo $ldver | \
64974 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
64975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
64976 $as_echo "$glibcxx_gnu_ld_version" >&6; }
64979 # Set --gc-sections.
64980 glibcxx_have_gc_sections=no
64981 if test "$glibcxx_ld_is_gold" = "yes"; then
64982 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
64983 glibcxx_have_gc_sections=yes
64985 else
64986 glibcxx_gcsections_min_ld=21602
64987 if test x"$with_gnu_ld" = x"yes" &&
64988 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
64989 glibcxx_have_gc_sections=yes
64992 if test "$glibcxx_have_gc_sections" = "yes"; then
64993 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
64994 # NB: This flag only works reliably after 2.16.1. Configure tests
64995 # for this are difficult, so hard wire a value that should work.
64997 ac_test_CFLAGS="${CFLAGS+set}"
64998 ac_save_CFLAGS="$CFLAGS"
64999 CFLAGS='-Wl,--gc-sections'
65001 # Check for -Wl,--gc-sections
65002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
65003 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
65004 if test x$gcc_no_link = xyes; then
65005 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
65007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65008 /* end confdefs.h. */
65009 int one(void) { return 1; }
65010 int two(void) { return 2; }
65013 main ()
65015 two();
65017 return 0;
65019 _ACEOF
65020 if ac_fn_c_try_link "$LINENO"; then :
65021 ac_gcsections=yes
65022 else
65023 ac_gcsections=no
65025 rm -f core conftest.err conftest.$ac_objext \
65026 conftest$ac_exeext conftest.$ac_ext
65027 if test "$ac_gcsections" = "yes"; then
65028 rm -f conftest.c
65029 touch conftest.c
65030 if $CC -c conftest.c; then
65031 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
65032 grep "Warning: gc-sections option ignored" > /dev/null; then
65033 ac_gcsections=no
65036 rm -f conftest.c conftest.o conftest
65038 if test "$ac_gcsections" = "yes"; then
65039 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
65041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
65042 $as_echo "$ac_gcsections" >&6; }
65044 if test "$ac_test_CFLAGS" = set; then
65045 CFLAGS="$ac_save_CFLAGS"
65046 else
65047 # this is the suspicious part
65048 CFLAGS=''
65052 # Set -z,relro.
65053 # Note this is only for shared objects.
65054 ac_ld_relro=no
65055 if test x"$with_gnu_ld" = x"yes"; then
65056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
65057 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
65058 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
65059 if test -n "$cxx_z_relo"; then
65060 OPT_LDFLAGS="-Wl,-z,relro"
65061 ac_ld_relro=yes
65063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
65064 $as_echo "$ac_ld_relro" >&6; }
65067 # Set linker optimization flags.
65068 if test x"$with_gnu_ld" = x"yes"; then
65069 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
65075 $as_echo "#define HAVE_COSF 1" >>confdefs.h
65077 $as_echo "#define HAVE_COSL 1" >>confdefs.h
65079 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
65081 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
65083 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
65085 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
65087 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
65089 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
65091 $as_echo "#define HAVE_SINF 1" >>confdefs.h
65093 $as_echo "#define HAVE_SINL 1" >>confdefs.h
65095 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
65097 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
65100 *-rtems*)
65102 # All these tests are for C++; save the language and the compiler flags.
65103 # The CXXFLAGS thing is suspicious, but based on similar bits previously
65104 # found in GLIBCXX_CONFIGURE.
65106 ac_ext=cpp
65107 ac_cpp='$CXXCPP $CPPFLAGS'
65108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65112 ac_test_CXXFLAGS="${CXXFLAGS+set}"
65113 ac_save_CXXFLAGS="$CXXFLAGS"
65115 # Check for maintainer-mode bits.
65116 if test x"$USE_MAINTAINER_MODE" = xno; then
65117 WERROR=''
65118 else
65119 WERROR='-Werror'
65122 # Check for -ffunction-sections -fdata-sections
65123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
65124 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
65125 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
65126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65127 /* end confdefs.h. */
65128 int foo; void bar() { };
65130 main ()
65134 return 0;
65136 _ACEOF
65137 if ac_fn_cxx_try_compile "$LINENO"; then :
65138 ac_fdsections=yes
65139 else
65140 ac_fdsections=no
65142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65143 if test "$ac_test_CXXFLAGS" = set; then
65144 CXXFLAGS="$ac_save_CXXFLAGS"
65145 else
65146 # this is the suspicious part
65147 CXXFLAGS=''
65149 if test x"$ac_fdsections" = x"yes"; then
65150 SECTION_FLAGS='-ffunction-sections -fdata-sections'
65152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
65153 $as_echo "$ac_fdsections" >&6; }
65155 ac_ext=c
65156 ac_cpp='$CPP $CPPFLAGS'
65157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65165 # If we're not using GNU ld, then there's no point in even trying these
65166 # tests. Check for that first. We should have already tested for gld
65167 # by now (in libtool), but require it now just to be safe...
65168 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
65169 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
65173 # The name set by libtool depends on the version of libtool. Shame on us
65174 # for depending on an impl detail, but c'est la vie. Older versions used
65175 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
65176 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
65177 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
65178 # set (hence we're using an older libtool), then set it.
65179 if test x${with_gnu_ld+set} != xset; then
65180 if test x${ac_cv_prog_gnu_ld+set} != xset; then
65181 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
65182 with_gnu_ld=no
65183 else
65184 with_gnu_ld=$ac_cv_prog_gnu_ld
65188 # Start by getting the version number. I think the libtool test already
65189 # does some of this, but throws away the result.
65190 glibcxx_ld_is_gold=no
65191 if test x"$with_gnu_ld" = x"yes"; then
65192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
65193 $as_echo_n "checking for ld version... " >&6; }
65195 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
65196 glibcxx_ld_is_gold=yes
65198 ldver=`$LD --version 2>/dev/null |
65199 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'`
65201 glibcxx_gnu_ld_version=`echo $ldver | \
65202 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
65203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
65204 $as_echo "$glibcxx_gnu_ld_version" >&6; }
65207 # Set --gc-sections.
65208 glibcxx_have_gc_sections=no
65209 if test "$glibcxx_ld_is_gold" = "yes"; then
65210 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
65211 glibcxx_have_gc_sections=yes
65213 else
65214 glibcxx_gcsections_min_ld=21602
65215 if test x"$with_gnu_ld" = x"yes" &&
65216 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
65217 glibcxx_have_gc_sections=yes
65220 if test "$glibcxx_have_gc_sections" = "yes"; then
65221 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
65222 # NB: This flag only works reliably after 2.16.1. Configure tests
65223 # for this are difficult, so hard wire a value that should work.
65225 ac_test_CFLAGS="${CFLAGS+set}"
65226 ac_save_CFLAGS="$CFLAGS"
65227 CFLAGS='-Wl,--gc-sections'
65229 # Check for -Wl,--gc-sections
65230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
65231 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
65232 if test x$gcc_no_link = xyes; then
65233 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
65235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65236 /* end confdefs.h. */
65237 int one(void) { return 1; }
65238 int two(void) { return 2; }
65241 main ()
65243 two();
65245 return 0;
65247 _ACEOF
65248 if ac_fn_c_try_link "$LINENO"; then :
65249 ac_gcsections=yes
65250 else
65251 ac_gcsections=no
65253 rm -f core conftest.err conftest.$ac_objext \
65254 conftest$ac_exeext conftest.$ac_ext
65255 if test "$ac_gcsections" = "yes"; then
65256 rm -f conftest.c
65257 touch conftest.c
65258 if $CC -c conftest.c; then
65259 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
65260 grep "Warning: gc-sections option ignored" > /dev/null; then
65261 ac_gcsections=no
65264 rm -f conftest.c conftest.o conftest
65266 if test "$ac_gcsections" = "yes"; then
65267 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
65269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
65270 $as_echo "$ac_gcsections" >&6; }
65272 if test "$ac_test_CFLAGS" = set; then
65273 CFLAGS="$ac_save_CFLAGS"
65274 else
65275 # this is the suspicious part
65276 CFLAGS=''
65280 # Set -z,relro.
65281 # Note this is only for shared objects.
65282 ac_ld_relro=no
65283 if test x"$with_gnu_ld" = x"yes"; then
65284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
65285 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
65286 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
65287 if test -n "$cxx_z_relo"; then
65288 OPT_LDFLAGS="-Wl,-z,relro"
65289 ac_ld_relro=yes
65291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
65292 $as_echo "$ac_ld_relro" >&6; }
65295 # Set linker optimization flags.
65296 if test x"$with_gnu_ld" = x"yes"; then
65297 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
65304 ac_test_CXXFLAGS="${CXXFLAGS+set}"
65305 ac_save_CXXFLAGS="$CXXFLAGS"
65306 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
65308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
65309 $as_echo_n "checking for sin in -lm... " >&6; }
65310 if test "${ac_cv_lib_m_sin+set}" = set; then :
65311 $as_echo_n "(cached) " >&6
65312 else
65313 ac_check_lib_save_LIBS=$LIBS
65314 LIBS="-lm $LIBS"
65315 if test x$gcc_no_link = xyes; then
65316 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
65318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65319 /* end confdefs.h. */
65321 /* Override any GCC internal prototype to avoid an error.
65322 Use char because int might match the return type of a GCC
65323 builtin and then its argument prototype would still apply. */
65324 #ifdef __cplusplus
65325 extern "C"
65326 #endif
65327 char sin ();
65329 main ()
65331 return sin ();
65333 return 0;
65335 _ACEOF
65336 if ac_fn_c_try_link "$LINENO"; then :
65337 ac_cv_lib_m_sin=yes
65338 else
65339 ac_cv_lib_m_sin=no
65341 rm -f core conftest.err conftest.$ac_objext \
65342 conftest$ac_exeext conftest.$ac_ext
65343 LIBS=$ac_check_lib_save_LIBS
65345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
65346 $as_echo "$ac_cv_lib_m_sin" >&6; }
65347 if test "x$ac_cv_lib_m_sin" = x""yes; then :
65348 libm="-lm"
65351 ac_save_LIBS="$LIBS"
65352 LIBS="$LIBS $libm"
65356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
65357 $as_echo_n "checking for isinf declaration... " >&6; }
65358 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
65359 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
65360 $as_echo_n "(cached) " >&6
65361 else
65364 ac_ext=cpp
65365 ac_cpp='$CXXCPP $CPPFLAGS'
65366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65371 /* end confdefs.h. */
65372 #include <math.h>
65373 #ifdef HAVE_IEEEFP_H
65374 #include <ieeefp.h>
65375 #endif
65378 main ()
65380 isinf(0);
65382 return 0;
65384 _ACEOF
65385 if ac_fn_cxx_try_compile "$LINENO"; then :
65386 glibcxx_cv_func_isinf_use=yes
65387 else
65388 glibcxx_cv_func_isinf_use=no
65390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65391 ac_ext=c
65392 ac_cpp='$CPP $CPPFLAGS'
65393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
65402 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
65404 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
65405 for ac_func in isinf
65406 do :
65407 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
65408 if test "x$ac_cv_func_isinf" = x""yes; then :
65409 cat >>confdefs.h <<_ACEOF
65410 #define HAVE_ISINF 1
65411 _ACEOF
65414 done
65416 else
65418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
65419 $as_echo_n "checking for _isinf declaration... " >&6; }
65420 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
65421 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
65422 $as_echo_n "(cached) " >&6
65423 else
65426 ac_ext=cpp
65427 ac_cpp='$CXXCPP $CPPFLAGS'
65428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65433 /* end confdefs.h. */
65434 #include <math.h>
65435 #ifdef HAVE_IEEEFP_H
65436 #include <ieeefp.h>
65437 #endif
65440 main ()
65442 _isinf(0);
65444 return 0;
65446 _ACEOF
65447 if ac_fn_cxx_try_compile "$LINENO"; then :
65448 glibcxx_cv_func__isinf_use=yes
65449 else
65450 glibcxx_cv_func__isinf_use=no
65452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65453 ac_ext=c
65454 ac_cpp='$CPP $CPPFLAGS'
65455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
65464 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
65466 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
65467 for ac_func in _isinf
65468 do :
65469 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
65470 if test "x$ac_cv_func__isinf" = x""yes; then :
65471 cat >>confdefs.h <<_ACEOF
65472 #define HAVE__ISINF 1
65473 _ACEOF
65476 done
65485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
65486 $as_echo_n "checking for isnan declaration... " >&6; }
65487 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
65488 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
65489 $as_echo_n "(cached) " >&6
65490 else
65493 ac_ext=cpp
65494 ac_cpp='$CXXCPP $CPPFLAGS'
65495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65500 /* end confdefs.h. */
65501 #include <math.h>
65502 #ifdef HAVE_IEEEFP_H
65503 #include <ieeefp.h>
65504 #endif
65507 main ()
65509 isnan(0);
65511 return 0;
65513 _ACEOF
65514 if ac_fn_cxx_try_compile "$LINENO"; then :
65515 glibcxx_cv_func_isnan_use=yes
65516 else
65517 glibcxx_cv_func_isnan_use=no
65519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65520 ac_ext=c
65521 ac_cpp='$CPP $CPPFLAGS'
65522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
65531 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
65533 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
65534 for ac_func in isnan
65535 do :
65536 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
65537 if test "x$ac_cv_func_isnan" = x""yes; then :
65538 cat >>confdefs.h <<_ACEOF
65539 #define HAVE_ISNAN 1
65540 _ACEOF
65543 done
65545 else
65547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
65548 $as_echo_n "checking for _isnan declaration... " >&6; }
65549 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
65550 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
65551 $as_echo_n "(cached) " >&6
65552 else
65555 ac_ext=cpp
65556 ac_cpp='$CXXCPP $CPPFLAGS'
65557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65562 /* end confdefs.h. */
65563 #include <math.h>
65564 #ifdef HAVE_IEEEFP_H
65565 #include <ieeefp.h>
65566 #endif
65569 main ()
65571 _isnan(0);
65573 return 0;
65575 _ACEOF
65576 if ac_fn_cxx_try_compile "$LINENO"; then :
65577 glibcxx_cv_func__isnan_use=yes
65578 else
65579 glibcxx_cv_func__isnan_use=no
65581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65582 ac_ext=c
65583 ac_cpp='$CPP $CPPFLAGS'
65584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
65593 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
65595 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
65596 for ac_func in _isnan
65597 do :
65598 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
65599 if test "x$ac_cv_func__isnan" = x""yes; then :
65600 cat >>confdefs.h <<_ACEOF
65601 #define HAVE__ISNAN 1
65602 _ACEOF
65605 done
65614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
65615 $as_echo_n "checking for finite declaration... " >&6; }
65616 if test x${glibcxx_cv_func_finite_use+set} != xset; then
65617 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
65618 $as_echo_n "(cached) " >&6
65619 else
65622 ac_ext=cpp
65623 ac_cpp='$CXXCPP $CPPFLAGS'
65624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65629 /* end confdefs.h. */
65630 #include <math.h>
65631 #ifdef HAVE_IEEEFP_H
65632 #include <ieeefp.h>
65633 #endif
65636 main ()
65638 finite(0);
65640 return 0;
65642 _ACEOF
65643 if ac_fn_cxx_try_compile "$LINENO"; then :
65644 glibcxx_cv_func_finite_use=yes
65645 else
65646 glibcxx_cv_func_finite_use=no
65648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65649 ac_ext=c
65650 ac_cpp='$CPP $CPPFLAGS'
65651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
65660 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
65662 if test x$glibcxx_cv_func_finite_use = x"yes"; then
65663 for ac_func in finite
65664 do :
65665 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
65666 if test "x$ac_cv_func_finite" = x""yes; then :
65667 cat >>confdefs.h <<_ACEOF
65668 #define HAVE_FINITE 1
65669 _ACEOF
65672 done
65674 else
65676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
65677 $as_echo_n "checking for _finite declaration... " >&6; }
65678 if test x${glibcxx_cv_func__finite_use+set} != xset; then
65679 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
65680 $as_echo_n "(cached) " >&6
65681 else
65684 ac_ext=cpp
65685 ac_cpp='$CXXCPP $CPPFLAGS'
65686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65691 /* end confdefs.h. */
65692 #include <math.h>
65693 #ifdef HAVE_IEEEFP_H
65694 #include <ieeefp.h>
65695 #endif
65698 main ()
65700 _finite(0);
65702 return 0;
65704 _ACEOF
65705 if ac_fn_cxx_try_compile "$LINENO"; then :
65706 glibcxx_cv_func__finite_use=yes
65707 else
65708 glibcxx_cv_func__finite_use=no
65710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65711 ac_ext=c
65712 ac_cpp='$CPP $CPPFLAGS'
65713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
65722 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
65724 if test x$glibcxx_cv_func__finite_use = x"yes"; then
65725 for ac_func in _finite
65726 do :
65727 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
65728 if test "x$ac_cv_func__finite" = x""yes; then :
65729 cat >>confdefs.h <<_ACEOF
65730 #define HAVE__FINITE 1
65731 _ACEOF
65734 done
65743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
65744 $as_echo_n "checking for sincos declaration... " >&6; }
65745 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
65746 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
65747 $as_echo_n "(cached) " >&6
65748 else
65751 ac_ext=cpp
65752 ac_cpp='$CXXCPP $CPPFLAGS'
65753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65758 /* end confdefs.h. */
65759 #include <math.h>
65761 main ()
65763 sincos(0, 0, 0);
65765 return 0;
65767 _ACEOF
65768 if ac_fn_cxx_try_compile "$LINENO"; then :
65769 glibcxx_cv_func_sincos_use=yes
65770 else
65771 glibcxx_cv_func_sincos_use=no
65773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65774 ac_ext=c
65775 ac_cpp='$CPP $CPPFLAGS'
65776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
65785 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
65787 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
65788 for ac_func in sincos
65789 do :
65790 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
65791 if test "x$ac_cv_func_sincos" = x""yes; then :
65792 cat >>confdefs.h <<_ACEOF
65793 #define HAVE_SINCOS 1
65794 _ACEOF
65797 done
65799 else
65801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
65802 $as_echo_n "checking for _sincos declaration... " >&6; }
65803 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
65804 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
65805 $as_echo_n "(cached) " >&6
65806 else
65809 ac_ext=cpp
65810 ac_cpp='$CXXCPP $CPPFLAGS'
65811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65816 /* end confdefs.h. */
65817 #include <math.h>
65819 main ()
65821 _sincos(0, 0, 0);
65823 return 0;
65825 _ACEOF
65826 if ac_fn_cxx_try_compile "$LINENO"; then :
65827 glibcxx_cv_func__sincos_use=yes
65828 else
65829 glibcxx_cv_func__sincos_use=no
65831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65832 ac_ext=c
65833 ac_cpp='$CPP $CPPFLAGS'
65834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
65843 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
65845 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
65846 for ac_func in _sincos
65847 do :
65848 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
65849 if test "x$ac_cv_func__sincos" = x""yes; then :
65850 cat >>confdefs.h <<_ACEOF
65851 #define HAVE__SINCOS 1
65852 _ACEOF
65855 done
65864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
65865 $as_echo_n "checking for fpclass declaration... " >&6; }
65866 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
65867 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
65868 $as_echo_n "(cached) " >&6
65869 else
65872 ac_ext=cpp
65873 ac_cpp='$CXXCPP $CPPFLAGS'
65874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65879 /* end confdefs.h. */
65880 #include <math.h>
65881 #ifdef HAVE_IEEEFP_H
65882 #include <ieeefp.h>
65883 #endif
65886 main ()
65888 fpclass(0);
65890 return 0;
65892 _ACEOF
65893 if ac_fn_cxx_try_compile "$LINENO"; then :
65894 glibcxx_cv_func_fpclass_use=yes
65895 else
65896 glibcxx_cv_func_fpclass_use=no
65898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65899 ac_ext=c
65900 ac_cpp='$CPP $CPPFLAGS'
65901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
65910 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
65912 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
65913 for ac_func in fpclass
65914 do :
65915 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
65916 if test "x$ac_cv_func_fpclass" = x""yes; then :
65917 cat >>confdefs.h <<_ACEOF
65918 #define HAVE_FPCLASS 1
65919 _ACEOF
65922 done
65924 else
65926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
65927 $as_echo_n "checking for _fpclass declaration... " >&6; }
65928 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
65929 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
65930 $as_echo_n "(cached) " >&6
65931 else
65934 ac_ext=cpp
65935 ac_cpp='$CXXCPP $CPPFLAGS'
65936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65941 /* end confdefs.h. */
65942 #include <math.h>
65943 #ifdef HAVE_IEEEFP_H
65944 #include <ieeefp.h>
65945 #endif
65948 main ()
65950 _fpclass(0);
65952 return 0;
65954 _ACEOF
65955 if ac_fn_cxx_try_compile "$LINENO"; then :
65956 glibcxx_cv_func__fpclass_use=yes
65957 else
65958 glibcxx_cv_func__fpclass_use=no
65960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65961 ac_ext=c
65962 ac_cpp='$CPP $CPPFLAGS'
65963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
65972 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
65974 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
65975 for ac_func in _fpclass
65976 do :
65977 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
65978 if test "x$ac_cv_func__fpclass" = x""yes; then :
65979 cat >>confdefs.h <<_ACEOF
65980 #define HAVE__FPCLASS 1
65981 _ACEOF
65984 done
65993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
65994 $as_echo_n "checking for qfpclass declaration... " >&6; }
65995 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
65996 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
65997 $as_echo_n "(cached) " >&6
65998 else
66001 ac_ext=cpp
66002 ac_cpp='$CXXCPP $CPPFLAGS'
66003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66008 /* end confdefs.h. */
66009 #include <math.h>
66010 #ifdef HAVE_IEEEFP_H
66011 #include <ieeefp.h>
66012 #endif
66015 main ()
66017 qfpclass(0);
66019 return 0;
66021 _ACEOF
66022 if ac_fn_cxx_try_compile "$LINENO"; then :
66023 glibcxx_cv_func_qfpclass_use=yes
66024 else
66025 glibcxx_cv_func_qfpclass_use=no
66027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66028 ac_ext=c
66029 ac_cpp='$CPP $CPPFLAGS'
66030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
66039 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
66041 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
66042 for ac_func in qfpclass
66043 do :
66044 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
66045 if test "x$ac_cv_func_qfpclass" = x""yes; then :
66046 cat >>confdefs.h <<_ACEOF
66047 #define HAVE_QFPCLASS 1
66048 _ACEOF
66051 done
66053 else
66055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
66056 $as_echo_n "checking for _qfpclass declaration... " >&6; }
66057 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
66058 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
66059 $as_echo_n "(cached) " >&6
66060 else
66063 ac_ext=cpp
66064 ac_cpp='$CXXCPP $CPPFLAGS'
66065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66070 /* end confdefs.h. */
66071 #include <math.h>
66072 #ifdef HAVE_IEEEFP_H
66073 #include <ieeefp.h>
66074 #endif
66077 main ()
66079 _qfpclass(0);
66081 return 0;
66083 _ACEOF
66084 if ac_fn_cxx_try_compile "$LINENO"; then :
66085 glibcxx_cv_func__qfpclass_use=yes
66086 else
66087 glibcxx_cv_func__qfpclass_use=no
66089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66090 ac_ext=c
66091 ac_cpp='$CPP $CPPFLAGS'
66092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
66101 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
66103 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
66104 for ac_func in _qfpclass
66105 do :
66106 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
66107 if test "x$ac_cv_func__qfpclass" = x""yes; then :
66108 cat >>confdefs.h <<_ACEOF
66109 #define HAVE__QFPCLASS 1
66110 _ACEOF
66113 done
66122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
66123 $as_echo_n "checking for hypot declaration... " >&6; }
66124 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
66125 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
66126 $as_echo_n "(cached) " >&6
66127 else
66130 ac_ext=cpp
66131 ac_cpp='$CXXCPP $CPPFLAGS'
66132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66137 /* end confdefs.h. */
66138 #include <math.h>
66140 main ()
66142 hypot(0, 0);
66144 return 0;
66146 _ACEOF
66147 if ac_fn_cxx_try_compile "$LINENO"; then :
66148 glibcxx_cv_func_hypot_use=yes
66149 else
66150 glibcxx_cv_func_hypot_use=no
66152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66153 ac_ext=c
66154 ac_cpp='$CPP $CPPFLAGS'
66155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
66164 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
66166 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
66167 for ac_func in hypot
66168 do :
66169 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
66170 if test "x$ac_cv_func_hypot" = x""yes; then :
66171 cat >>confdefs.h <<_ACEOF
66172 #define HAVE_HYPOT 1
66173 _ACEOF
66176 done
66178 else
66180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
66181 $as_echo_n "checking for _hypot declaration... " >&6; }
66182 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
66183 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
66184 $as_echo_n "(cached) " >&6
66185 else
66188 ac_ext=cpp
66189 ac_cpp='$CXXCPP $CPPFLAGS'
66190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66195 /* end confdefs.h. */
66196 #include <math.h>
66198 main ()
66200 _hypot(0, 0);
66202 return 0;
66204 _ACEOF
66205 if ac_fn_cxx_try_compile "$LINENO"; then :
66206 glibcxx_cv_func__hypot_use=yes
66207 else
66208 glibcxx_cv_func__hypot_use=no
66210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66211 ac_ext=c
66212 ac_cpp='$CPP $CPPFLAGS'
66213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
66222 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
66224 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
66225 for ac_func in _hypot
66226 do :
66227 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
66228 if test "x$ac_cv_func__hypot" = x""yes; then :
66229 cat >>confdefs.h <<_ACEOF
66230 #define HAVE__HYPOT 1
66231 _ACEOF
66234 done
66243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
66244 $as_echo_n "checking for float trig functions... " >&6; }
66245 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
66246 $as_echo_n "(cached) " >&6
66247 else
66250 ac_ext=cpp
66251 ac_cpp='$CXXCPP $CPPFLAGS'
66252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66257 /* end confdefs.h. */
66258 #include <math.h>
66260 main ()
66262 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
66264 return 0;
66266 _ACEOF
66267 if ac_fn_cxx_try_compile "$LINENO"; then :
66268 glibcxx_cv_func_float_trig_use=yes
66269 else
66270 glibcxx_cv_func_float_trig_use=no
66272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66273 ac_ext=c
66274 ac_cpp='$CPP $CPPFLAGS'
66275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
66282 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
66283 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
66284 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
66285 do :
66286 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66287 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66288 eval as_val=\$$as_ac_var
66289 if test "x$as_val" = x""yes; then :
66290 cat >>confdefs.h <<_ACEOF
66291 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66292 _ACEOF
66295 done
66297 else
66298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
66299 $as_echo_n "checking for _float trig functions... " >&6; }
66300 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
66301 $as_echo_n "(cached) " >&6
66302 else
66305 ac_ext=cpp
66306 ac_cpp='$CXXCPP $CPPFLAGS'
66307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66312 /* end confdefs.h. */
66313 #include <math.h>
66315 main ()
66317 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
66319 return 0;
66321 _ACEOF
66322 if ac_fn_cxx_try_compile "$LINENO"; then :
66323 glibcxx_cv_func__float_trig_use=yes
66324 else
66325 glibcxx_cv_func__float_trig_use=no
66327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66328 ac_ext=c
66329 ac_cpp='$CPP $CPPFLAGS'
66330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
66337 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
66338 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
66339 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
66340 do :
66341 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66342 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66343 eval as_val=\$$as_ac_var
66344 if test "x$as_val" = x""yes; then :
66345 cat >>confdefs.h <<_ACEOF
66346 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66347 _ACEOF
66350 done
66359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
66360 $as_echo_n "checking for float round functions... " >&6; }
66361 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
66362 $as_echo_n "(cached) " >&6
66363 else
66366 ac_ext=cpp
66367 ac_cpp='$CXXCPP $CPPFLAGS'
66368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66373 /* end confdefs.h. */
66374 #include <math.h>
66376 main ()
66378 ceilf (0); floorf (0);
66380 return 0;
66382 _ACEOF
66383 if ac_fn_cxx_try_compile "$LINENO"; then :
66384 glibcxx_cv_func_float_round_use=yes
66385 else
66386 glibcxx_cv_func_float_round_use=no
66388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66389 ac_ext=c
66390 ac_cpp='$CPP $CPPFLAGS'
66391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
66398 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
66399 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
66400 for ac_func in ceilf floorf
66401 do :
66402 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66403 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66404 eval as_val=\$$as_ac_var
66405 if test "x$as_val" = x""yes; then :
66406 cat >>confdefs.h <<_ACEOF
66407 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66408 _ACEOF
66411 done
66413 else
66414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
66415 $as_echo_n "checking for _float round functions... " >&6; }
66416 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
66417 $as_echo_n "(cached) " >&6
66418 else
66421 ac_ext=cpp
66422 ac_cpp='$CXXCPP $CPPFLAGS'
66423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66428 /* end confdefs.h. */
66429 #include <math.h>
66431 main ()
66433 _ceilf (0); _floorf (0);
66435 return 0;
66437 _ACEOF
66438 if ac_fn_cxx_try_compile "$LINENO"; then :
66439 glibcxx_cv_func__float_round_use=yes
66440 else
66441 glibcxx_cv_func__float_round_use=no
66443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66444 ac_ext=c
66445 ac_cpp='$CPP $CPPFLAGS'
66446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
66453 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
66454 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
66455 for ac_func in _ceilf _floorf
66456 do :
66457 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66458 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66459 eval as_val=\$$as_ac_var
66460 if test "x$as_val" = x""yes; then :
66461 cat >>confdefs.h <<_ACEOF
66462 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66463 _ACEOF
66466 done
66476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
66477 $as_echo_n "checking for expf declaration... " >&6; }
66478 if test x${glibcxx_cv_func_expf_use+set} != xset; then
66479 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
66480 $as_echo_n "(cached) " >&6
66481 else
66484 ac_ext=cpp
66485 ac_cpp='$CXXCPP $CPPFLAGS'
66486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66491 /* end confdefs.h. */
66492 #include <math.h>
66493 #ifdef HAVE_IEEEFP_H
66494 #include <ieeefp.h>
66495 #endif
66498 main ()
66500 expf(0);
66502 return 0;
66504 _ACEOF
66505 if ac_fn_cxx_try_compile "$LINENO"; then :
66506 glibcxx_cv_func_expf_use=yes
66507 else
66508 glibcxx_cv_func_expf_use=no
66510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66511 ac_ext=c
66512 ac_cpp='$CPP $CPPFLAGS'
66513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
66522 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
66524 if test x$glibcxx_cv_func_expf_use = x"yes"; then
66525 for ac_func in expf
66526 do :
66527 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
66528 if test "x$ac_cv_func_expf" = x""yes; then :
66529 cat >>confdefs.h <<_ACEOF
66530 #define HAVE_EXPF 1
66531 _ACEOF
66534 done
66536 else
66538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
66539 $as_echo_n "checking for _expf declaration... " >&6; }
66540 if test x${glibcxx_cv_func__expf_use+set} != xset; then
66541 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
66542 $as_echo_n "(cached) " >&6
66543 else
66546 ac_ext=cpp
66547 ac_cpp='$CXXCPP $CPPFLAGS'
66548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66553 /* end confdefs.h. */
66554 #include <math.h>
66555 #ifdef HAVE_IEEEFP_H
66556 #include <ieeefp.h>
66557 #endif
66560 main ()
66562 _expf(0);
66564 return 0;
66566 _ACEOF
66567 if ac_fn_cxx_try_compile "$LINENO"; then :
66568 glibcxx_cv_func__expf_use=yes
66569 else
66570 glibcxx_cv_func__expf_use=no
66572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66573 ac_ext=c
66574 ac_cpp='$CPP $CPPFLAGS'
66575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
66584 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
66586 if test x$glibcxx_cv_func__expf_use = x"yes"; then
66587 for ac_func in _expf
66588 do :
66589 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
66590 if test "x$ac_cv_func__expf" = x""yes; then :
66591 cat >>confdefs.h <<_ACEOF
66592 #define HAVE__EXPF 1
66593 _ACEOF
66596 done
66605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
66606 $as_echo_n "checking for isnanf declaration... " >&6; }
66607 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
66608 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
66609 $as_echo_n "(cached) " >&6
66610 else
66613 ac_ext=cpp
66614 ac_cpp='$CXXCPP $CPPFLAGS'
66615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66620 /* end confdefs.h. */
66621 #include <math.h>
66622 #ifdef HAVE_IEEEFP_H
66623 #include <ieeefp.h>
66624 #endif
66627 main ()
66629 isnanf(0);
66631 return 0;
66633 _ACEOF
66634 if ac_fn_cxx_try_compile "$LINENO"; then :
66635 glibcxx_cv_func_isnanf_use=yes
66636 else
66637 glibcxx_cv_func_isnanf_use=no
66639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66640 ac_ext=c
66641 ac_cpp='$CPP $CPPFLAGS'
66642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
66651 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
66653 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
66654 for ac_func in isnanf
66655 do :
66656 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
66657 if test "x$ac_cv_func_isnanf" = x""yes; then :
66658 cat >>confdefs.h <<_ACEOF
66659 #define HAVE_ISNANF 1
66660 _ACEOF
66663 done
66665 else
66667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
66668 $as_echo_n "checking for _isnanf declaration... " >&6; }
66669 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
66670 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
66671 $as_echo_n "(cached) " >&6
66672 else
66675 ac_ext=cpp
66676 ac_cpp='$CXXCPP $CPPFLAGS'
66677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66682 /* end confdefs.h. */
66683 #include <math.h>
66684 #ifdef HAVE_IEEEFP_H
66685 #include <ieeefp.h>
66686 #endif
66689 main ()
66691 _isnanf(0);
66693 return 0;
66695 _ACEOF
66696 if ac_fn_cxx_try_compile "$LINENO"; then :
66697 glibcxx_cv_func__isnanf_use=yes
66698 else
66699 glibcxx_cv_func__isnanf_use=no
66701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66702 ac_ext=c
66703 ac_cpp='$CPP $CPPFLAGS'
66704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
66713 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
66715 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
66716 for ac_func in _isnanf
66717 do :
66718 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
66719 if test "x$ac_cv_func__isnanf" = x""yes; then :
66720 cat >>confdefs.h <<_ACEOF
66721 #define HAVE__ISNANF 1
66722 _ACEOF
66725 done
66734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
66735 $as_echo_n "checking for isinff declaration... " >&6; }
66736 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
66737 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
66738 $as_echo_n "(cached) " >&6
66739 else
66742 ac_ext=cpp
66743 ac_cpp='$CXXCPP $CPPFLAGS'
66744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66749 /* end confdefs.h. */
66750 #include <math.h>
66751 #ifdef HAVE_IEEEFP_H
66752 #include <ieeefp.h>
66753 #endif
66756 main ()
66758 isinff(0);
66760 return 0;
66762 _ACEOF
66763 if ac_fn_cxx_try_compile "$LINENO"; then :
66764 glibcxx_cv_func_isinff_use=yes
66765 else
66766 glibcxx_cv_func_isinff_use=no
66768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66769 ac_ext=c
66770 ac_cpp='$CPP $CPPFLAGS'
66771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
66780 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
66782 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
66783 for ac_func in isinff
66784 do :
66785 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
66786 if test "x$ac_cv_func_isinff" = x""yes; then :
66787 cat >>confdefs.h <<_ACEOF
66788 #define HAVE_ISINFF 1
66789 _ACEOF
66792 done
66794 else
66796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
66797 $as_echo_n "checking for _isinff declaration... " >&6; }
66798 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
66799 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
66800 $as_echo_n "(cached) " >&6
66801 else
66804 ac_ext=cpp
66805 ac_cpp='$CXXCPP $CPPFLAGS'
66806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66811 /* end confdefs.h. */
66812 #include <math.h>
66813 #ifdef HAVE_IEEEFP_H
66814 #include <ieeefp.h>
66815 #endif
66818 main ()
66820 _isinff(0);
66822 return 0;
66824 _ACEOF
66825 if ac_fn_cxx_try_compile "$LINENO"; then :
66826 glibcxx_cv_func__isinff_use=yes
66827 else
66828 glibcxx_cv_func__isinff_use=no
66830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66831 ac_ext=c
66832 ac_cpp='$CPP $CPPFLAGS'
66833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
66842 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
66844 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
66845 for ac_func in _isinff
66846 do :
66847 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
66848 if test "x$ac_cv_func__isinff" = x""yes; then :
66849 cat >>confdefs.h <<_ACEOF
66850 #define HAVE__ISINFF 1
66851 _ACEOF
66854 done
66863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
66864 $as_echo_n "checking for atan2f declaration... " >&6; }
66865 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
66866 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
66867 $as_echo_n "(cached) " >&6
66868 else
66871 ac_ext=cpp
66872 ac_cpp='$CXXCPP $CPPFLAGS'
66873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66878 /* end confdefs.h. */
66879 #include <math.h>
66881 main ()
66883 atan2f(0, 0);
66885 return 0;
66887 _ACEOF
66888 if ac_fn_cxx_try_compile "$LINENO"; then :
66889 glibcxx_cv_func_atan2f_use=yes
66890 else
66891 glibcxx_cv_func_atan2f_use=no
66893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66894 ac_ext=c
66895 ac_cpp='$CPP $CPPFLAGS'
66896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
66905 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
66907 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
66908 for ac_func in atan2f
66909 do :
66910 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
66911 if test "x$ac_cv_func_atan2f" = x""yes; then :
66912 cat >>confdefs.h <<_ACEOF
66913 #define HAVE_ATAN2F 1
66914 _ACEOF
66917 done
66919 else
66921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
66922 $as_echo_n "checking for _atan2f declaration... " >&6; }
66923 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
66924 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
66925 $as_echo_n "(cached) " >&6
66926 else
66929 ac_ext=cpp
66930 ac_cpp='$CXXCPP $CPPFLAGS'
66931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66936 /* end confdefs.h. */
66937 #include <math.h>
66939 main ()
66941 _atan2f(0, 0);
66943 return 0;
66945 _ACEOF
66946 if ac_fn_cxx_try_compile "$LINENO"; then :
66947 glibcxx_cv_func__atan2f_use=yes
66948 else
66949 glibcxx_cv_func__atan2f_use=no
66951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66952 ac_ext=c
66953 ac_cpp='$CPP $CPPFLAGS'
66954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
66963 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
66965 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
66966 for ac_func in _atan2f
66967 do :
66968 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
66969 if test "x$ac_cv_func__atan2f" = x""yes; then :
66970 cat >>confdefs.h <<_ACEOF
66971 #define HAVE__ATAN2F 1
66972 _ACEOF
66975 done
66984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
66985 $as_echo_n "checking for fabsf declaration... " >&6; }
66986 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
66987 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
66988 $as_echo_n "(cached) " >&6
66989 else
66992 ac_ext=cpp
66993 ac_cpp='$CXXCPP $CPPFLAGS'
66994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66999 /* end confdefs.h. */
67000 #include <math.h>
67001 #ifdef HAVE_IEEEFP_H
67002 #include <ieeefp.h>
67003 #endif
67006 main ()
67008 fabsf(0);
67010 return 0;
67012 _ACEOF
67013 if ac_fn_cxx_try_compile "$LINENO"; then :
67014 glibcxx_cv_func_fabsf_use=yes
67015 else
67016 glibcxx_cv_func_fabsf_use=no
67018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67019 ac_ext=c
67020 ac_cpp='$CPP $CPPFLAGS'
67021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
67030 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
67032 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
67033 for ac_func in fabsf
67034 do :
67035 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
67036 if test "x$ac_cv_func_fabsf" = x""yes; then :
67037 cat >>confdefs.h <<_ACEOF
67038 #define HAVE_FABSF 1
67039 _ACEOF
67042 done
67044 else
67046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
67047 $as_echo_n "checking for _fabsf declaration... " >&6; }
67048 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
67049 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
67050 $as_echo_n "(cached) " >&6
67051 else
67054 ac_ext=cpp
67055 ac_cpp='$CXXCPP $CPPFLAGS'
67056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67061 /* end confdefs.h. */
67062 #include <math.h>
67063 #ifdef HAVE_IEEEFP_H
67064 #include <ieeefp.h>
67065 #endif
67068 main ()
67070 _fabsf(0);
67072 return 0;
67074 _ACEOF
67075 if ac_fn_cxx_try_compile "$LINENO"; then :
67076 glibcxx_cv_func__fabsf_use=yes
67077 else
67078 glibcxx_cv_func__fabsf_use=no
67080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67081 ac_ext=c
67082 ac_cpp='$CPP $CPPFLAGS'
67083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
67092 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
67094 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
67095 for ac_func in _fabsf
67096 do :
67097 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
67098 if test "x$ac_cv_func__fabsf" = x""yes; then :
67099 cat >>confdefs.h <<_ACEOF
67100 #define HAVE__FABSF 1
67101 _ACEOF
67104 done
67113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
67114 $as_echo_n "checking for fmodf declaration... " >&6; }
67115 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
67116 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
67117 $as_echo_n "(cached) " >&6
67118 else
67121 ac_ext=cpp
67122 ac_cpp='$CXXCPP $CPPFLAGS'
67123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67128 /* end confdefs.h. */
67129 #include <math.h>
67131 main ()
67133 fmodf(0, 0);
67135 return 0;
67137 _ACEOF
67138 if ac_fn_cxx_try_compile "$LINENO"; then :
67139 glibcxx_cv_func_fmodf_use=yes
67140 else
67141 glibcxx_cv_func_fmodf_use=no
67143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67144 ac_ext=c
67145 ac_cpp='$CPP $CPPFLAGS'
67146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
67155 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
67157 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
67158 for ac_func in fmodf
67159 do :
67160 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
67161 if test "x$ac_cv_func_fmodf" = x""yes; then :
67162 cat >>confdefs.h <<_ACEOF
67163 #define HAVE_FMODF 1
67164 _ACEOF
67167 done
67169 else
67171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
67172 $as_echo_n "checking for _fmodf declaration... " >&6; }
67173 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
67174 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
67175 $as_echo_n "(cached) " >&6
67176 else
67179 ac_ext=cpp
67180 ac_cpp='$CXXCPP $CPPFLAGS'
67181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67186 /* end confdefs.h. */
67187 #include <math.h>
67189 main ()
67191 _fmodf(0, 0);
67193 return 0;
67195 _ACEOF
67196 if ac_fn_cxx_try_compile "$LINENO"; then :
67197 glibcxx_cv_func__fmodf_use=yes
67198 else
67199 glibcxx_cv_func__fmodf_use=no
67201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67202 ac_ext=c
67203 ac_cpp='$CPP $CPPFLAGS'
67204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
67213 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
67215 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
67216 for ac_func in _fmodf
67217 do :
67218 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
67219 if test "x$ac_cv_func__fmodf" = x""yes; then :
67220 cat >>confdefs.h <<_ACEOF
67221 #define HAVE__FMODF 1
67222 _ACEOF
67225 done
67234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
67235 $as_echo_n "checking for frexpf declaration... " >&6; }
67236 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
67237 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
67238 $as_echo_n "(cached) " >&6
67239 else
67242 ac_ext=cpp
67243 ac_cpp='$CXXCPP $CPPFLAGS'
67244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67249 /* end confdefs.h. */
67250 #include <math.h>
67252 main ()
67254 frexpf(0, 0);
67256 return 0;
67258 _ACEOF
67259 if ac_fn_cxx_try_compile "$LINENO"; then :
67260 glibcxx_cv_func_frexpf_use=yes
67261 else
67262 glibcxx_cv_func_frexpf_use=no
67264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67265 ac_ext=c
67266 ac_cpp='$CPP $CPPFLAGS'
67267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
67276 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
67278 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
67279 for ac_func in frexpf
67280 do :
67281 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
67282 if test "x$ac_cv_func_frexpf" = x""yes; then :
67283 cat >>confdefs.h <<_ACEOF
67284 #define HAVE_FREXPF 1
67285 _ACEOF
67288 done
67290 else
67292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
67293 $as_echo_n "checking for _frexpf declaration... " >&6; }
67294 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
67295 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
67296 $as_echo_n "(cached) " >&6
67297 else
67300 ac_ext=cpp
67301 ac_cpp='$CXXCPP $CPPFLAGS'
67302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67307 /* end confdefs.h. */
67308 #include <math.h>
67310 main ()
67312 _frexpf(0, 0);
67314 return 0;
67316 _ACEOF
67317 if ac_fn_cxx_try_compile "$LINENO"; then :
67318 glibcxx_cv_func__frexpf_use=yes
67319 else
67320 glibcxx_cv_func__frexpf_use=no
67322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67323 ac_ext=c
67324 ac_cpp='$CPP $CPPFLAGS'
67325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
67334 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
67336 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
67337 for ac_func in _frexpf
67338 do :
67339 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
67340 if test "x$ac_cv_func__frexpf" = x""yes; then :
67341 cat >>confdefs.h <<_ACEOF
67342 #define HAVE__FREXPF 1
67343 _ACEOF
67346 done
67355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
67356 $as_echo_n "checking for hypotf declaration... " >&6; }
67357 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
67358 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
67359 $as_echo_n "(cached) " >&6
67360 else
67363 ac_ext=cpp
67364 ac_cpp='$CXXCPP $CPPFLAGS'
67365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67370 /* end confdefs.h. */
67371 #include <math.h>
67373 main ()
67375 hypotf(0, 0);
67377 return 0;
67379 _ACEOF
67380 if ac_fn_cxx_try_compile "$LINENO"; then :
67381 glibcxx_cv_func_hypotf_use=yes
67382 else
67383 glibcxx_cv_func_hypotf_use=no
67385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67386 ac_ext=c
67387 ac_cpp='$CPP $CPPFLAGS'
67388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
67397 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
67399 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
67400 for ac_func in hypotf
67401 do :
67402 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
67403 if test "x$ac_cv_func_hypotf" = x""yes; then :
67404 cat >>confdefs.h <<_ACEOF
67405 #define HAVE_HYPOTF 1
67406 _ACEOF
67409 done
67411 else
67413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
67414 $as_echo_n "checking for _hypotf declaration... " >&6; }
67415 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
67416 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
67417 $as_echo_n "(cached) " >&6
67418 else
67421 ac_ext=cpp
67422 ac_cpp='$CXXCPP $CPPFLAGS'
67423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67428 /* end confdefs.h. */
67429 #include <math.h>
67431 main ()
67433 _hypotf(0, 0);
67435 return 0;
67437 _ACEOF
67438 if ac_fn_cxx_try_compile "$LINENO"; then :
67439 glibcxx_cv_func__hypotf_use=yes
67440 else
67441 glibcxx_cv_func__hypotf_use=no
67443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67444 ac_ext=c
67445 ac_cpp='$CPP $CPPFLAGS'
67446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
67455 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
67457 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
67458 for ac_func in _hypotf
67459 do :
67460 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
67461 if test "x$ac_cv_func__hypotf" = x""yes; then :
67462 cat >>confdefs.h <<_ACEOF
67463 #define HAVE__HYPOTF 1
67464 _ACEOF
67467 done
67476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
67477 $as_echo_n "checking for ldexpf declaration... " >&6; }
67478 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
67479 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
67480 $as_echo_n "(cached) " >&6
67481 else
67484 ac_ext=cpp
67485 ac_cpp='$CXXCPP $CPPFLAGS'
67486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67491 /* end confdefs.h. */
67492 #include <math.h>
67494 main ()
67496 ldexpf(0, 0);
67498 return 0;
67500 _ACEOF
67501 if ac_fn_cxx_try_compile "$LINENO"; then :
67502 glibcxx_cv_func_ldexpf_use=yes
67503 else
67504 glibcxx_cv_func_ldexpf_use=no
67506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67507 ac_ext=c
67508 ac_cpp='$CPP $CPPFLAGS'
67509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
67518 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
67520 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
67521 for ac_func in ldexpf
67522 do :
67523 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
67524 if test "x$ac_cv_func_ldexpf" = x""yes; then :
67525 cat >>confdefs.h <<_ACEOF
67526 #define HAVE_LDEXPF 1
67527 _ACEOF
67530 done
67532 else
67534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
67535 $as_echo_n "checking for _ldexpf declaration... " >&6; }
67536 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
67537 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
67538 $as_echo_n "(cached) " >&6
67539 else
67542 ac_ext=cpp
67543 ac_cpp='$CXXCPP $CPPFLAGS'
67544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67549 /* end confdefs.h. */
67550 #include <math.h>
67552 main ()
67554 _ldexpf(0, 0);
67556 return 0;
67558 _ACEOF
67559 if ac_fn_cxx_try_compile "$LINENO"; then :
67560 glibcxx_cv_func__ldexpf_use=yes
67561 else
67562 glibcxx_cv_func__ldexpf_use=no
67564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67565 ac_ext=c
67566 ac_cpp='$CPP $CPPFLAGS'
67567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
67576 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
67578 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
67579 for ac_func in _ldexpf
67580 do :
67581 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
67582 if test "x$ac_cv_func__ldexpf" = x""yes; then :
67583 cat >>confdefs.h <<_ACEOF
67584 #define HAVE__LDEXPF 1
67585 _ACEOF
67588 done
67597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
67598 $as_echo_n "checking for logf declaration... " >&6; }
67599 if test x${glibcxx_cv_func_logf_use+set} != xset; then
67600 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
67601 $as_echo_n "(cached) " >&6
67602 else
67605 ac_ext=cpp
67606 ac_cpp='$CXXCPP $CPPFLAGS'
67607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67612 /* end confdefs.h. */
67613 #include <math.h>
67614 #ifdef HAVE_IEEEFP_H
67615 #include <ieeefp.h>
67616 #endif
67619 main ()
67621 logf(0);
67623 return 0;
67625 _ACEOF
67626 if ac_fn_cxx_try_compile "$LINENO"; then :
67627 glibcxx_cv_func_logf_use=yes
67628 else
67629 glibcxx_cv_func_logf_use=no
67631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67632 ac_ext=c
67633 ac_cpp='$CPP $CPPFLAGS'
67634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
67643 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
67645 if test x$glibcxx_cv_func_logf_use = x"yes"; then
67646 for ac_func in logf
67647 do :
67648 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
67649 if test "x$ac_cv_func_logf" = x""yes; then :
67650 cat >>confdefs.h <<_ACEOF
67651 #define HAVE_LOGF 1
67652 _ACEOF
67655 done
67657 else
67659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
67660 $as_echo_n "checking for _logf declaration... " >&6; }
67661 if test x${glibcxx_cv_func__logf_use+set} != xset; then
67662 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
67663 $as_echo_n "(cached) " >&6
67664 else
67667 ac_ext=cpp
67668 ac_cpp='$CXXCPP $CPPFLAGS'
67669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67674 /* end confdefs.h. */
67675 #include <math.h>
67676 #ifdef HAVE_IEEEFP_H
67677 #include <ieeefp.h>
67678 #endif
67681 main ()
67683 _logf(0);
67685 return 0;
67687 _ACEOF
67688 if ac_fn_cxx_try_compile "$LINENO"; then :
67689 glibcxx_cv_func__logf_use=yes
67690 else
67691 glibcxx_cv_func__logf_use=no
67693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67694 ac_ext=c
67695 ac_cpp='$CPP $CPPFLAGS'
67696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
67705 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
67707 if test x$glibcxx_cv_func__logf_use = x"yes"; then
67708 for ac_func in _logf
67709 do :
67710 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
67711 if test "x$ac_cv_func__logf" = x""yes; then :
67712 cat >>confdefs.h <<_ACEOF
67713 #define HAVE__LOGF 1
67714 _ACEOF
67717 done
67726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
67727 $as_echo_n "checking for log10f declaration... " >&6; }
67728 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
67729 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
67730 $as_echo_n "(cached) " >&6
67731 else
67734 ac_ext=cpp
67735 ac_cpp='$CXXCPP $CPPFLAGS'
67736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67741 /* end confdefs.h. */
67742 #include <math.h>
67743 #ifdef HAVE_IEEEFP_H
67744 #include <ieeefp.h>
67745 #endif
67748 main ()
67750 log10f(0);
67752 return 0;
67754 _ACEOF
67755 if ac_fn_cxx_try_compile "$LINENO"; then :
67756 glibcxx_cv_func_log10f_use=yes
67757 else
67758 glibcxx_cv_func_log10f_use=no
67760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67761 ac_ext=c
67762 ac_cpp='$CPP $CPPFLAGS'
67763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
67772 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
67774 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
67775 for ac_func in log10f
67776 do :
67777 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
67778 if test "x$ac_cv_func_log10f" = x""yes; then :
67779 cat >>confdefs.h <<_ACEOF
67780 #define HAVE_LOG10F 1
67781 _ACEOF
67784 done
67786 else
67788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
67789 $as_echo_n "checking for _log10f declaration... " >&6; }
67790 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
67791 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
67792 $as_echo_n "(cached) " >&6
67793 else
67796 ac_ext=cpp
67797 ac_cpp='$CXXCPP $CPPFLAGS'
67798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67803 /* end confdefs.h. */
67804 #include <math.h>
67805 #ifdef HAVE_IEEEFP_H
67806 #include <ieeefp.h>
67807 #endif
67810 main ()
67812 _log10f(0);
67814 return 0;
67816 _ACEOF
67817 if ac_fn_cxx_try_compile "$LINENO"; then :
67818 glibcxx_cv_func__log10f_use=yes
67819 else
67820 glibcxx_cv_func__log10f_use=no
67822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67823 ac_ext=c
67824 ac_cpp='$CPP $CPPFLAGS'
67825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
67834 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
67836 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
67837 for ac_func in _log10f
67838 do :
67839 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
67840 if test "x$ac_cv_func__log10f" = x""yes; then :
67841 cat >>confdefs.h <<_ACEOF
67842 #define HAVE__LOG10F 1
67843 _ACEOF
67846 done
67855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
67856 $as_echo_n "checking for modff declaration... " >&6; }
67857 if test x${glibcxx_cv_func_modff_use+set} != xset; then
67858 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
67859 $as_echo_n "(cached) " >&6
67860 else
67863 ac_ext=cpp
67864 ac_cpp='$CXXCPP $CPPFLAGS'
67865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67870 /* end confdefs.h. */
67871 #include <math.h>
67873 main ()
67875 modff(0, 0);
67877 return 0;
67879 _ACEOF
67880 if ac_fn_cxx_try_compile "$LINENO"; then :
67881 glibcxx_cv_func_modff_use=yes
67882 else
67883 glibcxx_cv_func_modff_use=no
67885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67886 ac_ext=c
67887 ac_cpp='$CPP $CPPFLAGS'
67888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
67897 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
67899 if test x$glibcxx_cv_func_modff_use = x"yes"; then
67900 for ac_func in modff
67901 do :
67902 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
67903 if test "x$ac_cv_func_modff" = x""yes; then :
67904 cat >>confdefs.h <<_ACEOF
67905 #define HAVE_MODFF 1
67906 _ACEOF
67909 done
67911 else
67913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
67914 $as_echo_n "checking for _modff declaration... " >&6; }
67915 if test x${glibcxx_cv_func__modff_use+set} != xset; then
67916 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
67917 $as_echo_n "(cached) " >&6
67918 else
67921 ac_ext=cpp
67922 ac_cpp='$CXXCPP $CPPFLAGS'
67923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67928 /* end confdefs.h. */
67929 #include <math.h>
67931 main ()
67933 _modff(0, 0);
67935 return 0;
67937 _ACEOF
67938 if ac_fn_cxx_try_compile "$LINENO"; then :
67939 glibcxx_cv_func__modff_use=yes
67940 else
67941 glibcxx_cv_func__modff_use=no
67943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67944 ac_ext=c
67945 ac_cpp='$CPP $CPPFLAGS'
67946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
67955 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
67957 if test x$glibcxx_cv_func__modff_use = x"yes"; then
67958 for ac_func in _modff
67959 do :
67960 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
67961 if test "x$ac_cv_func__modff" = x""yes; then :
67962 cat >>confdefs.h <<_ACEOF
67963 #define HAVE__MODFF 1
67964 _ACEOF
67967 done
67976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
67977 $as_echo_n "checking for modf declaration... " >&6; }
67978 if test x${glibcxx_cv_func_modf_use+set} != xset; then
67979 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
67980 $as_echo_n "(cached) " >&6
67981 else
67984 ac_ext=cpp
67985 ac_cpp='$CXXCPP $CPPFLAGS'
67986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67991 /* end confdefs.h. */
67992 #include <math.h>
67994 main ()
67996 modf(0, 0);
67998 return 0;
68000 _ACEOF
68001 if ac_fn_cxx_try_compile "$LINENO"; then :
68002 glibcxx_cv_func_modf_use=yes
68003 else
68004 glibcxx_cv_func_modf_use=no
68006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68007 ac_ext=c
68008 ac_cpp='$CPP $CPPFLAGS'
68009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
68018 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
68020 if test x$glibcxx_cv_func_modf_use = x"yes"; then
68021 for ac_func in modf
68022 do :
68023 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
68024 if test "x$ac_cv_func_modf" = x""yes; then :
68025 cat >>confdefs.h <<_ACEOF
68026 #define HAVE_MODF 1
68027 _ACEOF
68030 done
68032 else
68034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
68035 $as_echo_n "checking for _modf declaration... " >&6; }
68036 if test x${glibcxx_cv_func__modf_use+set} != xset; then
68037 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
68038 $as_echo_n "(cached) " >&6
68039 else
68042 ac_ext=cpp
68043 ac_cpp='$CXXCPP $CPPFLAGS'
68044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68049 /* end confdefs.h. */
68050 #include <math.h>
68052 main ()
68054 _modf(0, 0);
68056 return 0;
68058 _ACEOF
68059 if ac_fn_cxx_try_compile "$LINENO"; then :
68060 glibcxx_cv_func__modf_use=yes
68061 else
68062 glibcxx_cv_func__modf_use=no
68064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68065 ac_ext=c
68066 ac_cpp='$CPP $CPPFLAGS'
68067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
68076 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
68078 if test x$glibcxx_cv_func__modf_use = x"yes"; then
68079 for ac_func in _modf
68080 do :
68081 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
68082 if test "x$ac_cv_func__modf" = x""yes; then :
68083 cat >>confdefs.h <<_ACEOF
68084 #define HAVE__MODF 1
68085 _ACEOF
68088 done
68097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
68098 $as_echo_n "checking for powf declaration... " >&6; }
68099 if test x${glibcxx_cv_func_powf_use+set} != xset; then
68100 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
68101 $as_echo_n "(cached) " >&6
68102 else
68105 ac_ext=cpp
68106 ac_cpp='$CXXCPP $CPPFLAGS'
68107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68112 /* end confdefs.h. */
68113 #include <math.h>
68115 main ()
68117 powf(0, 0);
68119 return 0;
68121 _ACEOF
68122 if ac_fn_cxx_try_compile "$LINENO"; then :
68123 glibcxx_cv_func_powf_use=yes
68124 else
68125 glibcxx_cv_func_powf_use=no
68127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68128 ac_ext=c
68129 ac_cpp='$CPP $CPPFLAGS'
68130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
68139 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
68141 if test x$glibcxx_cv_func_powf_use = x"yes"; then
68142 for ac_func in powf
68143 do :
68144 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
68145 if test "x$ac_cv_func_powf" = x""yes; then :
68146 cat >>confdefs.h <<_ACEOF
68147 #define HAVE_POWF 1
68148 _ACEOF
68151 done
68153 else
68155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
68156 $as_echo_n "checking for _powf declaration... " >&6; }
68157 if test x${glibcxx_cv_func__powf_use+set} != xset; then
68158 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
68159 $as_echo_n "(cached) " >&6
68160 else
68163 ac_ext=cpp
68164 ac_cpp='$CXXCPP $CPPFLAGS'
68165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68170 /* end confdefs.h. */
68171 #include <math.h>
68173 main ()
68175 _powf(0, 0);
68177 return 0;
68179 _ACEOF
68180 if ac_fn_cxx_try_compile "$LINENO"; then :
68181 glibcxx_cv_func__powf_use=yes
68182 else
68183 glibcxx_cv_func__powf_use=no
68185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68186 ac_ext=c
68187 ac_cpp='$CPP $CPPFLAGS'
68188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
68197 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
68199 if test x$glibcxx_cv_func__powf_use = x"yes"; then
68200 for ac_func in _powf
68201 do :
68202 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
68203 if test "x$ac_cv_func__powf" = x""yes; then :
68204 cat >>confdefs.h <<_ACEOF
68205 #define HAVE__POWF 1
68206 _ACEOF
68209 done
68218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
68219 $as_echo_n "checking for sqrtf declaration... " >&6; }
68220 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
68221 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
68222 $as_echo_n "(cached) " >&6
68223 else
68226 ac_ext=cpp
68227 ac_cpp='$CXXCPP $CPPFLAGS'
68228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68233 /* end confdefs.h. */
68234 #include <math.h>
68235 #ifdef HAVE_IEEEFP_H
68236 #include <ieeefp.h>
68237 #endif
68240 main ()
68242 sqrtf(0);
68244 return 0;
68246 _ACEOF
68247 if ac_fn_cxx_try_compile "$LINENO"; then :
68248 glibcxx_cv_func_sqrtf_use=yes
68249 else
68250 glibcxx_cv_func_sqrtf_use=no
68252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68253 ac_ext=c
68254 ac_cpp='$CPP $CPPFLAGS'
68255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
68264 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
68266 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
68267 for ac_func in sqrtf
68268 do :
68269 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
68270 if test "x$ac_cv_func_sqrtf" = x""yes; then :
68271 cat >>confdefs.h <<_ACEOF
68272 #define HAVE_SQRTF 1
68273 _ACEOF
68276 done
68278 else
68280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
68281 $as_echo_n "checking for _sqrtf declaration... " >&6; }
68282 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
68283 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
68284 $as_echo_n "(cached) " >&6
68285 else
68288 ac_ext=cpp
68289 ac_cpp='$CXXCPP $CPPFLAGS'
68290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68295 /* end confdefs.h. */
68296 #include <math.h>
68297 #ifdef HAVE_IEEEFP_H
68298 #include <ieeefp.h>
68299 #endif
68302 main ()
68304 _sqrtf(0);
68306 return 0;
68308 _ACEOF
68309 if ac_fn_cxx_try_compile "$LINENO"; then :
68310 glibcxx_cv_func__sqrtf_use=yes
68311 else
68312 glibcxx_cv_func__sqrtf_use=no
68314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68315 ac_ext=c
68316 ac_cpp='$CPP $CPPFLAGS'
68317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
68326 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
68328 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
68329 for ac_func in _sqrtf
68330 do :
68331 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
68332 if test "x$ac_cv_func__sqrtf" = x""yes; then :
68333 cat >>confdefs.h <<_ACEOF
68334 #define HAVE__SQRTF 1
68335 _ACEOF
68338 done
68347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
68348 $as_echo_n "checking for sincosf declaration... " >&6; }
68349 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
68350 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
68351 $as_echo_n "(cached) " >&6
68352 else
68355 ac_ext=cpp
68356 ac_cpp='$CXXCPP $CPPFLAGS'
68357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68362 /* end confdefs.h. */
68363 #include <math.h>
68365 main ()
68367 sincosf(0, 0, 0);
68369 return 0;
68371 _ACEOF
68372 if ac_fn_cxx_try_compile "$LINENO"; then :
68373 glibcxx_cv_func_sincosf_use=yes
68374 else
68375 glibcxx_cv_func_sincosf_use=no
68377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68378 ac_ext=c
68379 ac_cpp='$CPP $CPPFLAGS'
68380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
68389 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
68391 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
68392 for ac_func in sincosf
68393 do :
68394 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
68395 if test "x$ac_cv_func_sincosf" = x""yes; then :
68396 cat >>confdefs.h <<_ACEOF
68397 #define HAVE_SINCOSF 1
68398 _ACEOF
68401 done
68403 else
68405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
68406 $as_echo_n "checking for _sincosf declaration... " >&6; }
68407 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
68408 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
68409 $as_echo_n "(cached) " >&6
68410 else
68413 ac_ext=cpp
68414 ac_cpp='$CXXCPP $CPPFLAGS'
68415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68420 /* end confdefs.h. */
68421 #include <math.h>
68423 main ()
68425 _sincosf(0, 0, 0);
68427 return 0;
68429 _ACEOF
68430 if ac_fn_cxx_try_compile "$LINENO"; then :
68431 glibcxx_cv_func__sincosf_use=yes
68432 else
68433 glibcxx_cv_func__sincosf_use=no
68435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68436 ac_ext=c
68437 ac_cpp='$CPP $CPPFLAGS'
68438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
68447 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
68449 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
68450 for ac_func in _sincosf
68451 do :
68452 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
68453 if test "x$ac_cv_func__sincosf" = x""yes; then :
68454 cat >>confdefs.h <<_ACEOF
68455 #define HAVE__SINCOSF 1
68456 _ACEOF
68459 done
68468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
68469 $as_echo_n "checking for finitef declaration... " >&6; }
68470 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
68471 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
68472 $as_echo_n "(cached) " >&6
68473 else
68476 ac_ext=cpp
68477 ac_cpp='$CXXCPP $CPPFLAGS'
68478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68483 /* end confdefs.h. */
68484 #include <math.h>
68485 #ifdef HAVE_IEEEFP_H
68486 #include <ieeefp.h>
68487 #endif
68490 main ()
68492 finitef(0);
68494 return 0;
68496 _ACEOF
68497 if ac_fn_cxx_try_compile "$LINENO"; then :
68498 glibcxx_cv_func_finitef_use=yes
68499 else
68500 glibcxx_cv_func_finitef_use=no
68502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68503 ac_ext=c
68504 ac_cpp='$CPP $CPPFLAGS'
68505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
68514 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
68516 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
68517 for ac_func in finitef
68518 do :
68519 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
68520 if test "x$ac_cv_func_finitef" = x""yes; then :
68521 cat >>confdefs.h <<_ACEOF
68522 #define HAVE_FINITEF 1
68523 _ACEOF
68526 done
68528 else
68530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
68531 $as_echo_n "checking for _finitef declaration... " >&6; }
68532 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
68533 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
68534 $as_echo_n "(cached) " >&6
68535 else
68538 ac_ext=cpp
68539 ac_cpp='$CXXCPP $CPPFLAGS'
68540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68545 /* end confdefs.h. */
68546 #include <math.h>
68547 #ifdef HAVE_IEEEFP_H
68548 #include <ieeefp.h>
68549 #endif
68552 main ()
68554 _finitef(0);
68556 return 0;
68558 _ACEOF
68559 if ac_fn_cxx_try_compile "$LINENO"; then :
68560 glibcxx_cv_func__finitef_use=yes
68561 else
68562 glibcxx_cv_func__finitef_use=no
68564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68565 ac_ext=c
68566 ac_cpp='$CPP $CPPFLAGS'
68567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
68576 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
68578 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
68579 for ac_func in _finitef
68580 do :
68581 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
68582 if test "x$ac_cv_func__finitef" = x""yes; then :
68583 cat >>confdefs.h <<_ACEOF
68584 #define HAVE__FINITEF 1
68585 _ACEOF
68588 done
68597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
68598 $as_echo_n "checking for long double trig functions... " >&6; }
68599 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
68600 $as_echo_n "(cached) " >&6
68601 else
68604 ac_ext=cpp
68605 ac_cpp='$CXXCPP $CPPFLAGS'
68606 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68607 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68608 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68611 /* end confdefs.h. */
68612 #include <math.h>
68614 main ()
68616 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
68618 return 0;
68620 _ACEOF
68621 if ac_fn_cxx_try_compile "$LINENO"; then :
68622 glibcxx_cv_func_long_double_trig_use=yes
68623 else
68624 glibcxx_cv_func_long_double_trig_use=no
68626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68627 ac_ext=c
68628 ac_cpp='$CPP $CPPFLAGS'
68629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
68636 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
68637 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
68638 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
68639 do :
68640 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68641 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68642 eval as_val=\$$as_ac_var
68643 if test "x$as_val" = x""yes; then :
68644 cat >>confdefs.h <<_ACEOF
68645 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68646 _ACEOF
68649 done
68651 else
68652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
68653 $as_echo_n "checking for _long double trig functions... " >&6; }
68654 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
68655 $as_echo_n "(cached) " >&6
68656 else
68659 ac_ext=cpp
68660 ac_cpp='$CXXCPP $CPPFLAGS'
68661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68666 /* end confdefs.h. */
68667 #include <math.h>
68669 main ()
68671 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
68673 return 0;
68675 _ACEOF
68676 if ac_fn_cxx_try_compile "$LINENO"; then :
68677 glibcxx_cv_func__long_double_trig_use=yes
68678 else
68679 glibcxx_cv_func__long_double_trig_use=no
68681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68682 ac_ext=c
68683 ac_cpp='$CPP $CPPFLAGS'
68684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
68691 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
68692 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
68693 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
68694 do :
68695 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68696 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68697 eval as_val=\$$as_ac_var
68698 if test "x$as_val" = x""yes; then :
68699 cat >>confdefs.h <<_ACEOF
68700 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68701 _ACEOF
68704 done
68713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
68714 $as_echo_n "checking for long double round functions... " >&6; }
68715 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
68716 $as_echo_n "(cached) " >&6
68717 else
68720 ac_ext=cpp
68721 ac_cpp='$CXXCPP $CPPFLAGS'
68722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68727 /* end confdefs.h. */
68728 #include <math.h>
68730 main ()
68732 ceill (0); floorl (0);
68734 return 0;
68736 _ACEOF
68737 if ac_fn_cxx_try_compile "$LINENO"; then :
68738 glibcxx_cv_func_long_double_round_use=yes
68739 else
68740 glibcxx_cv_func_long_double_round_use=no
68742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68743 ac_ext=c
68744 ac_cpp='$CPP $CPPFLAGS'
68745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
68752 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
68753 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
68754 for ac_func in ceill floorl
68755 do :
68756 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68757 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68758 eval as_val=\$$as_ac_var
68759 if test "x$as_val" = x""yes; then :
68760 cat >>confdefs.h <<_ACEOF
68761 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68762 _ACEOF
68765 done
68767 else
68768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
68769 $as_echo_n "checking for _long double round functions... " >&6; }
68770 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
68771 $as_echo_n "(cached) " >&6
68772 else
68775 ac_ext=cpp
68776 ac_cpp='$CXXCPP $CPPFLAGS'
68777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68782 /* end confdefs.h. */
68783 #include <math.h>
68785 main ()
68787 _ceill (0); _floorl (0);
68789 return 0;
68791 _ACEOF
68792 if ac_fn_cxx_try_compile "$LINENO"; then :
68793 glibcxx_cv_func__long_double_round_use=yes
68794 else
68795 glibcxx_cv_func__long_double_round_use=no
68797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68798 ac_ext=c
68799 ac_cpp='$CPP $CPPFLAGS'
68800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
68807 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
68808 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
68809 for ac_func in _ceill _floorl
68810 do :
68811 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68812 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68813 eval as_val=\$$as_ac_var
68814 if test "x$as_val" = x""yes; then :
68815 cat >>confdefs.h <<_ACEOF
68816 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68817 _ACEOF
68820 done
68830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
68831 $as_echo_n "checking for isnanl declaration... " >&6; }
68832 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
68833 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
68834 $as_echo_n "(cached) " >&6
68835 else
68838 ac_ext=cpp
68839 ac_cpp='$CXXCPP $CPPFLAGS'
68840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68845 /* end confdefs.h. */
68846 #include <math.h>
68847 #ifdef HAVE_IEEEFP_H
68848 #include <ieeefp.h>
68849 #endif
68852 main ()
68854 isnanl(0);
68856 return 0;
68858 _ACEOF
68859 if ac_fn_cxx_try_compile "$LINENO"; then :
68860 glibcxx_cv_func_isnanl_use=yes
68861 else
68862 glibcxx_cv_func_isnanl_use=no
68864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68865 ac_ext=c
68866 ac_cpp='$CPP $CPPFLAGS'
68867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
68876 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
68878 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
68879 for ac_func in isnanl
68880 do :
68881 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
68882 if test "x$ac_cv_func_isnanl" = x""yes; then :
68883 cat >>confdefs.h <<_ACEOF
68884 #define HAVE_ISNANL 1
68885 _ACEOF
68888 done
68890 else
68892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
68893 $as_echo_n "checking for _isnanl declaration... " >&6; }
68894 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
68895 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
68896 $as_echo_n "(cached) " >&6
68897 else
68900 ac_ext=cpp
68901 ac_cpp='$CXXCPP $CPPFLAGS'
68902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68907 /* end confdefs.h. */
68908 #include <math.h>
68909 #ifdef HAVE_IEEEFP_H
68910 #include <ieeefp.h>
68911 #endif
68914 main ()
68916 _isnanl(0);
68918 return 0;
68920 _ACEOF
68921 if ac_fn_cxx_try_compile "$LINENO"; then :
68922 glibcxx_cv_func__isnanl_use=yes
68923 else
68924 glibcxx_cv_func__isnanl_use=no
68926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68927 ac_ext=c
68928 ac_cpp='$CPP $CPPFLAGS'
68929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
68938 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
68940 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
68941 for ac_func in _isnanl
68942 do :
68943 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
68944 if test "x$ac_cv_func__isnanl" = x""yes; then :
68945 cat >>confdefs.h <<_ACEOF
68946 #define HAVE__ISNANL 1
68947 _ACEOF
68950 done
68959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
68960 $as_echo_n "checking for isinfl declaration... " >&6; }
68961 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
68962 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
68963 $as_echo_n "(cached) " >&6
68964 else
68967 ac_ext=cpp
68968 ac_cpp='$CXXCPP $CPPFLAGS'
68969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68974 /* end confdefs.h. */
68975 #include <math.h>
68976 #ifdef HAVE_IEEEFP_H
68977 #include <ieeefp.h>
68978 #endif
68981 main ()
68983 isinfl(0);
68985 return 0;
68987 _ACEOF
68988 if ac_fn_cxx_try_compile "$LINENO"; then :
68989 glibcxx_cv_func_isinfl_use=yes
68990 else
68991 glibcxx_cv_func_isinfl_use=no
68993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68994 ac_ext=c
68995 ac_cpp='$CPP $CPPFLAGS'
68996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
69005 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
69007 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
69008 for ac_func in isinfl
69009 do :
69010 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
69011 if test "x$ac_cv_func_isinfl" = x""yes; then :
69012 cat >>confdefs.h <<_ACEOF
69013 #define HAVE_ISINFL 1
69014 _ACEOF
69017 done
69019 else
69021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
69022 $as_echo_n "checking for _isinfl declaration... " >&6; }
69023 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
69024 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
69025 $as_echo_n "(cached) " >&6
69026 else
69029 ac_ext=cpp
69030 ac_cpp='$CXXCPP $CPPFLAGS'
69031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69036 /* end confdefs.h. */
69037 #include <math.h>
69038 #ifdef HAVE_IEEEFP_H
69039 #include <ieeefp.h>
69040 #endif
69043 main ()
69045 _isinfl(0);
69047 return 0;
69049 _ACEOF
69050 if ac_fn_cxx_try_compile "$LINENO"; then :
69051 glibcxx_cv_func__isinfl_use=yes
69052 else
69053 glibcxx_cv_func__isinfl_use=no
69055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69056 ac_ext=c
69057 ac_cpp='$CPP $CPPFLAGS'
69058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
69067 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
69069 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
69070 for ac_func in _isinfl
69071 do :
69072 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
69073 if test "x$ac_cv_func__isinfl" = x""yes; then :
69074 cat >>confdefs.h <<_ACEOF
69075 #define HAVE__ISINFL 1
69076 _ACEOF
69079 done
69088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
69089 $as_echo_n "checking for atan2l declaration... " >&6; }
69090 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
69091 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
69092 $as_echo_n "(cached) " >&6
69093 else
69096 ac_ext=cpp
69097 ac_cpp='$CXXCPP $CPPFLAGS'
69098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69103 /* end confdefs.h. */
69104 #include <math.h>
69106 main ()
69108 atan2l(0, 0);
69110 return 0;
69112 _ACEOF
69113 if ac_fn_cxx_try_compile "$LINENO"; then :
69114 glibcxx_cv_func_atan2l_use=yes
69115 else
69116 glibcxx_cv_func_atan2l_use=no
69118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69119 ac_ext=c
69120 ac_cpp='$CPP $CPPFLAGS'
69121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
69130 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
69132 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
69133 for ac_func in atan2l
69134 do :
69135 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
69136 if test "x$ac_cv_func_atan2l" = x""yes; then :
69137 cat >>confdefs.h <<_ACEOF
69138 #define HAVE_ATAN2L 1
69139 _ACEOF
69142 done
69144 else
69146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
69147 $as_echo_n "checking for _atan2l declaration... " >&6; }
69148 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
69149 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
69150 $as_echo_n "(cached) " >&6
69151 else
69154 ac_ext=cpp
69155 ac_cpp='$CXXCPP $CPPFLAGS'
69156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69161 /* end confdefs.h. */
69162 #include <math.h>
69164 main ()
69166 _atan2l(0, 0);
69168 return 0;
69170 _ACEOF
69171 if ac_fn_cxx_try_compile "$LINENO"; then :
69172 glibcxx_cv_func__atan2l_use=yes
69173 else
69174 glibcxx_cv_func__atan2l_use=no
69176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69177 ac_ext=c
69178 ac_cpp='$CPP $CPPFLAGS'
69179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
69188 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
69190 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
69191 for ac_func in _atan2l
69192 do :
69193 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
69194 if test "x$ac_cv_func__atan2l" = x""yes; then :
69195 cat >>confdefs.h <<_ACEOF
69196 #define HAVE__ATAN2L 1
69197 _ACEOF
69200 done
69209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
69210 $as_echo_n "checking for expl declaration... " >&6; }
69211 if test x${glibcxx_cv_func_expl_use+set} != xset; then
69212 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
69213 $as_echo_n "(cached) " >&6
69214 else
69217 ac_ext=cpp
69218 ac_cpp='$CXXCPP $CPPFLAGS'
69219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69224 /* end confdefs.h. */
69225 #include <math.h>
69226 #ifdef HAVE_IEEEFP_H
69227 #include <ieeefp.h>
69228 #endif
69231 main ()
69233 expl(0);
69235 return 0;
69237 _ACEOF
69238 if ac_fn_cxx_try_compile "$LINENO"; then :
69239 glibcxx_cv_func_expl_use=yes
69240 else
69241 glibcxx_cv_func_expl_use=no
69243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69244 ac_ext=c
69245 ac_cpp='$CPP $CPPFLAGS'
69246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
69255 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
69257 if test x$glibcxx_cv_func_expl_use = x"yes"; then
69258 for ac_func in expl
69259 do :
69260 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
69261 if test "x$ac_cv_func_expl" = x""yes; then :
69262 cat >>confdefs.h <<_ACEOF
69263 #define HAVE_EXPL 1
69264 _ACEOF
69267 done
69269 else
69271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
69272 $as_echo_n "checking for _expl declaration... " >&6; }
69273 if test x${glibcxx_cv_func__expl_use+set} != xset; then
69274 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
69275 $as_echo_n "(cached) " >&6
69276 else
69279 ac_ext=cpp
69280 ac_cpp='$CXXCPP $CPPFLAGS'
69281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69286 /* end confdefs.h. */
69287 #include <math.h>
69288 #ifdef HAVE_IEEEFP_H
69289 #include <ieeefp.h>
69290 #endif
69293 main ()
69295 _expl(0);
69297 return 0;
69299 _ACEOF
69300 if ac_fn_cxx_try_compile "$LINENO"; then :
69301 glibcxx_cv_func__expl_use=yes
69302 else
69303 glibcxx_cv_func__expl_use=no
69305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69306 ac_ext=c
69307 ac_cpp='$CPP $CPPFLAGS'
69308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
69317 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
69319 if test x$glibcxx_cv_func__expl_use = x"yes"; then
69320 for ac_func in _expl
69321 do :
69322 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
69323 if test "x$ac_cv_func__expl" = x""yes; then :
69324 cat >>confdefs.h <<_ACEOF
69325 #define HAVE__EXPL 1
69326 _ACEOF
69329 done
69338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
69339 $as_echo_n "checking for fabsl declaration... " >&6; }
69340 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
69341 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
69342 $as_echo_n "(cached) " >&6
69343 else
69346 ac_ext=cpp
69347 ac_cpp='$CXXCPP $CPPFLAGS'
69348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69353 /* end confdefs.h. */
69354 #include <math.h>
69355 #ifdef HAVE_IEEEFP_H
69356 #include <ieeefp.h>
69357 #endif
69360 main ()
69362 fabsl(0);
69364 return 0;
69366 _ACEOF
69367 if ac_fn_cxx_try_compile "$LINENO"; then :
69368 glibcxx_cv_func_fabsl_use=yes
69369 else
69370 glibcxx_cv_func_fabsl_use=no
69372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69373 ac_ext=c
69374 ac_cpp='$CPP $CPPFLAGS'
69375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
69384 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
69386 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
69387 for ac_func in fabsl
69388 do :
69389 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
69390 if test "x$ac_cv_func_fabsl" = x""yes; then :
69391 cat >>confdefs.h <<_ACEOF
69392 #define HAVE_FABSL 1
69393 _ACEOF
69396 done
69398 else
69400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
69401 $as_echo_n "checking for _fabsl declaration... " >&6; }
69402 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
69403 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
69404 $as_echo_n "(cached) " >&6
69405 else
69408 ac_ext=cpp
69409 ac_cpp='$CXXCPP $CPPFLAGS'
69410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69415 /* end confdefs.h. */
69416 #include <math.h>
69417 #ifdef HAVE_IEEEFP_H
69418 #include <ieeefp.h>
69419 #endif
69422 main ()
69424 _fabsl(0);
69426 return 0;
69428 _ACEOF
69429 if ac_fn_cxx_try_compile "$LINENO"; then :
69430 glibcxx_cv_func__fabsl_use=yes
69431 else
69432 glibcxx_cv_func__fabsl_use=no
69434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69435 ac_ext=c
69436 ac_cpp='$CPP $CPPFLAGS'
69437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
69446 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
69448 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
69449 for ac_func in _fabsl
69450 do :
69451 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
69452 if test "x$ac_cv_func__fabsl" = x""yes; then :
69453 cat >>confdefs.h <<_ACEOF
69454 #define HAVE__FABSL 1
69455 _ACEOF
69458 done
69467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
69468 $as_echo_n "checking for fmodl declaration... " >&6; }
69469 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
69470 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
69471 $as_echo_n "(cached) " >&6
69472 else
69475 ac_ext=cpp
69476 ac_cpp='$CXXCPP $CPPFLAGS'
69477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69482 /* end confdefs.h. */
69483 #include <math.h>
69485 main ()
69487 fmodl(0, 0);
69489 return 0;
69491 _ACEOF
69492 if ac_fn_cxx_try_compile "$LINENO"; then :
69493 glibcxx_cv_func_fmodl_use=yes
69494 else
69495 glibcxx_cv_func_fmodl_use=no
69497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69498 ac_ext=c
69499 ac_cpp='$CPP $CPPFLAGS'
69500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
69509 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
69511 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
69512 for ac_func in fmodl
69513 do :
69514 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
69515 if test "x$ac_cv_func_fmodl" = x""yes; then :
69516 cat >>confdefs.h <<_ACEOF
69517 #define HAVE_FMODL 1
69518 _ACEOF
69521 done
69523 else
69525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
69526 $as_echo_n "checking for _fmodl declaration... " >&6; }
69527 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
69528 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
69529 $as_echo_n "(cached) " >&6
69530 else
69533 ac_ext=cpp
69534 ac_cpp='$CXXCPP $CPPFLAGS'
69535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69540 /* end confdefs.h. */
69541 #include <math.h>
69543 main ()
69545 _fmodl(0, 0);
69547 return 0;
69549 _ACEOF
69550 if ac_fn_cxx_try_compile "$LINENO"; then :
69551 glibcxx_cv_func__fmodl_use=yes
69552 else
69553 glibcxx_cv_func__fmodl_use=no
69555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69556 ac_ext=c
69557 ac_cpp='$CPP $CPPFLAGS'
69558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
69567 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
69569 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
69570 for ac_func in _fmodl
69571 do :
69572 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
69573 if test "x$ac_cv_func__fmodl" = x""yes; then :
69574 cat >>confdefs.h <<_ACEOF
69575 #define HAVE__FMODL 1
69576 _ACEOF
69579 done
69588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
69589 $as_echo_n "checking for frexpl declaration... " >&6; }
69590 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
69591 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
69592 $as_echo_n "(cached) " >&6
69593 else
69596 ac_ext=cpp
69597 ac_cpp='$CXXCPP $CPPFLAGS'
69598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69603 /* end confdefs.h. */
69604 #include <math.h>
69606 main ()
69608 frexpl(0, 0);
69610 return 0;
69612 _ACEOF
69613 if ac_fn_cxx_try_compile "$LINENO"; then :
69614 glibcxx_cv_func_frexpl_use=yes
69615 else
69616 glibcxx_cv_func_frexpl_use=no
69618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69619 ac_ext=c
69620 ac_cpp='$CPP $CPPFLAGS'
69621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
69630 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
69632 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
69633 for ac_func in frexpl
69634 do :
69635 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
69636 if test "x$ac_cv_func_frexpl" = x""yes; then :
69637 cat >>confdefs.h <<_ACEOF
69638 #define HAVE_FREXPL 1
69639 _ACEOF
69642 done
69644 else
69646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
69647 $as_echo_n "checking for _frexpl declaration... " >&6; }
69648 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
69649 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
69650 $as_echo_n "(cached) " >&6
69651 else
69654 ac_ext=cpp
69655 ac_cpp='$CXXCPP $CPPFLAGS'
69656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69661 /* end confdefs.h. */
69662 #include <math.h>
69664 main ()
69666 _frexpl(0, 0);
69668 return 0;
69670 _ACEOF
69671 if ac_fn_cxx_try_compile "$LINENO"; then :
69672 glibcxx_cv_func__frexpl_use=yes
69673 else
69674 glibcxx_cv_func__frexpl_use=no
69676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69677 ac_ext=c
69678 ac_cpp='$CPP $CPPFLAGS'
69679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
69688 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
69690 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
69691 for ac_func in _frexpl
69692 do :
69693 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
69694 if test "x$ac_cv_func__frexpl" = x""yes; then :
69695 cat >>confdefs.h <<_ACEOF
69696 #define HAVE__FREXPL 1
69697 _ACEOF
69700 done
69709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
69710 $as_echo_n "checking for hypotl declaration... " >&6; }
69711 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
69712 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
69713 $as_echo_n "(cached) " >&6
69714 else
69717 ac_ext=cpp
69718 ac_cpp='$CXXCPP $CPPFLAGS'
69719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69724 /* end confdefs.h. */
69725 #include <math.h>
69727 main ()
69729 hypotl(0, 0);
69731 return 0;
69733 _ACEOF
69734 if ac_fn_cxx_try_compile "$LINENO"; then :
69735 glibcxx_cv_func_hypotl_use=yes
69736 else
69737 glibcxx_cv_func_hypotl_use=no
69739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69740 ac_ext=c
69741 ac_cpp='$CPP $CPPFLAGS'
69742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
69751 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
69753 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
69754 for ac_func in hypotl
69755 do :
69756 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
69757 if test "x$ac_cv_func_hypotl" = x""yes; then :
69758 cat >>confdefs.h <<_ACEOF
69759 #define HAVE_HYPOTL 1
69760 _ACEOF
69763 done
69765 else
69767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
69768 $as_echo_n "checking for _hypotl declaration... " >&6; }
69769 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
69770 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
69771 $as_echo_n "(cached) " >&6
69772 else
69775 ac_ext=cpp
69776 ac_cpp='$CXXCPP $CPPFLAGS'
69777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69782 /* end confdefs.h. */
69783 #include <math.h>
69785 main ()
69787 _hypotl(0, 0);
69789 return 0;
69791 _ACEOF
69792 if ac_fn_cxx_try_compile "$LINENO"; then :
69793 glibcxx_cv_func__hypotl_use=yes
69794 else
69795 glibcxx_cv_func__hypotl_use=no
69797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69798 ac_ext=c
69799 ac_cpp='$CPP $CPPFLAGS'
69800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
69809 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
69811 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
69812 for ac_func in _hypotl
69813 do :
69814 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
69815 if test "x$ac_cv_func__hypotl" = x""yes; then :
69816 cat >>confdefs.h <<_ACEOF
69817 #define HAVE__HYPOTL 1
69818 _ACEOF
69821 done
69830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
69831 $as_echo_n "checking for ldexpl declaration... " >&6; }
69832 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
69833 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
69834 $as_echo_n "(cached) " >&6
69835 else
69838 ac_ext=cpp
69839 ac_cpp='$CXXCPP $CPPFLAGS'
69840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69845 /* end confdefs.h. */
69846 #include <math.h>
69848 main ()
69850 ldexpl(0, 0);
69852 return 0;
69854 _ACEOF
69855 if ac_fn_cxx_try_compile "$LINENO"; then :
69856 glibcxx_cv_func_ldexpl_use=yes
69857 else
69858 glibcxx_cv_func_ldexpl_use=no
69860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69861 ac_ext=c
69862 ac_cpp='$CPP $CPPFLAGS'
69863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
69872 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
69874 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
69875 for ac_func in ldexpl
69876 do :
69877 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
69878 if test "x$ac_cv_func_ldexpl" = x""yes; then :
69879 cat >>confdefs.h <<_ACEOF
69880 #define HAVE_LDEXPL 1
69881 _ACEOF
69884 done
69886 else
69888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
69889 $as_echo_n "checking for _ldexpl declaration... " >&6; }
69890 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
69891 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
69892 $as_echo_n "(cached) " >&6
69893 else
69896 ac_ext=cpp
69897 ac_cpp='$CXXCPP $CPPFLAGS'
69898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69903 /* end confdefs.h. */
69904 #include <math.h>
69906 main ()
69908 _ldexpl(0, 0);
69910 return 0;
69912 _ACEOF
69913 if ac_fn_cxx_try_compile "$LINENO"; then :
69914 glibcxx_cv_func__ldexpl_use=yes
69915 else
69916 glibcxx_cv_func__ldexpl_use=no
69918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69919 ac_ext=c
69920 ac_cpp='$CPP $CPPFLAGS'
69921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
69930 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
69932 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
69933 for ac_func in _ldexpl
69934 do :
69935 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
69936 if test "x$ac_cv_func__ldexpl" = x""yes; then :
69937 cat >>confdefs.h <<_ACEOF
69938 #define HAVE__LDEXPL 1
69939 _ACEOF
69942 done
69951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
69952 $as_echo_n "checking for logl declaration... " >&6; }
69953 if test x${glibcxx_cv_func_logl_use+set} != xset; then
69954 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
69955 $as_echo_n "(cached) " >&6
69956 else
69959 ac_ext=cpp
69960 ac_cpp='$CXXCPP $CPPFLAGS'
69961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69966 /* end confdefs.h. */
69967 #include <math.h>
69968 #ifdef HAVE_IEEEFP_H
69969 #include <ieeefp.h>
69970 #endif
69973 main ()
69975 logl(0);
69977 return 0;
69979 _ACEOF
69980 if ac_fn_cxx_try_compile "$LINENO"; then :
69981 glibcxx_cv_func_logl_use=yes
69982 else
69983 glibcxx_cv_func_logl_use=no
69985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69986 ac_ext=c
69987 ac_cpp='$CPP $CPPFLAGS'
69988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
69997 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
69999 if test x$glibcxx_cv_func_logl_use = x"yes"; then
70000 for ac_func in logl
70001 do :
70002 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
70003 if test "x$ac_cv_func_logl" = x""yes; then :
70004 cat >>confdefs.h <<_ACEOF
70005 #define HAVE_LOGL 1
70006 _ACEOF
70009 done
70011 else
70013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
70014 $as_echo_n "checking for _logl declaration... " >&6; }
70015 if test x${glibcxx_cv_func__logl_use+set} != xset; then
70016 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
70017 $as_echo_n "(cached) " >&6
70018 else
70021 ac_ext=cpp
70022 ac_cpp='$CXXCPP $CPPFLAGS'
70023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70028 /* end confdefs.h. */
70029 #include <math.h>
70030 #ifdef HAVE_IEEEFP_H
70031 #include <ieeefp.h>
70032 #endif
70035 main ()
70037 _logl(0);
70039 return 0;
70041 _ACEOF
70042 if ac_fn_cxx_try_compile "$LINENO"; then :
70043 glibcxx_cv_func__logl_use=yes
70044 else
70045 glibcxx_cv_func__logl_use=no
70047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70048 ac_ext=c
70049 ac_cpp='$CPP $CPPFLAGS'
70050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
70059 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
70061 if test x$glibcxx_cv_func__logl_use = x"yes"; then
70062 for ac_func in _logl
70063 do :
70064 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
70065 if test "x$ac_cv_func__logl" = x""yes; then :
70066 cat >>confdefs.h <<_ACEOF
70067 #define HAVE__LOGL 1
70068 _ACEOF
70071 done
70080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
70081 $as_echo_n "checking for log10l declaration... " >&6; }
70082 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
70083 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
70084 $as_echo_n "(cached) " >&6
70085 else
70088 ac_ext=cpp
70089 ac_cpp='$CXXCPP $CPPFLAGS'
70090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70095 /* end confdefs.h. */
70096 #include <math.h>
70097 #ifdef HAVE_IEEEFP_H
70098 #include <ieeefp.h>
70099 #endif
70102 main ()
70104 log10l(0);
70106 return 0;
70108 _ACEOF
70109 if ac_fn_cxx_try_compile "$LINENO"; then :
70110 glibcxx_cv_func_log10l_use=yes
70111 else
70112 glibcxx_cv_func_log10l_use=no
70114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70115 ac_ext=c
70116 ac_cpp='$CPP $CPPFLAGS'
70117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
70126 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
70128 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
70129 for ac_func in log10l
70130 do :
70131 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
70132 if test "x$ac_cv_func_log10l" = x""yes; then :
70133 cat >>confdefs.h <<_ACEOF
70134 #define HAVE_LOG10L 1
70135 _ACEOF
70138 done
70140 else
70142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
70143 $as_echo_n "checking for _log10l declaration... " >&6; }
70144 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
70145 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
70146 $as_echo_n "(cached) " >&6
70147 else
70150 ac_ext=cpp
70151 ac_cpp='$CXXCPP $CPPFLAGS'
70152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70157 /* end confdefs.h. */
70158 #include <math.h>
70159 #ifdef HAVE_IEEEFP_H
70160 #include <ieeefp.h>
70161 #endif
70164 main ()
70166 _log10l(0);
70168 return 0;
70170 _ACEOF
70171 if ac_fn_cxx_try_compile "$LINENO"; then :
70172 glibcxx_cv_func__log10l_use=yes
70173 else
70174 glibcxx_cv_func__log10l_use=no
70176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70177 ac_ext=c
70178 ac_cpp='$CPP $CPPFLAGS'
70179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
70188 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
70190 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
70191 for ac_func in _log10l
70192 do :
70193 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
70194 if test "x$ac_cv_func__log10l" = x""yes; then :
70195 cat >>confdefs.h <<_ACEOF
70196 #define HAVE__LOG10L 1
70197 _ACEOF
70200 done
70209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
70210 $as_echo_n "checking for modfl declaration... " >&6; }
70211 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
70212 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
70213 $as_echo_n "(cached) " >&6
70214 else
70217 ac_ext=cpp
70218 ac_cpp='$CXXCPP $CPPFLAGS'
70219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70224 /* end confdefs.h. */
70225 #include <math.h>
70227 main ()
70229 modfl(0, 0);
70231 return 0;
70233 _ACEOF
70234 if ac_fn_cxx_try_compile "$LINENO"; then :
70235 glibcxx_cv_func_modfl_use=yes
70236 else
70237 glibcxx_cv_func_modfl_use=no
70239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70240 ac_ext=c
70241 ac_cpp='$CPP $CPPFLAGS'
70242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
70251 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
70253 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
70254 for ac_func in modfl
70255 do :
70256 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
70257 if test "x$ac_cv_func_modfl" = x""yes; then :
70258 cat >>confdefs.h <<_ACEOF
70259 #define HAVE_MODFL 1
70260 _ACEOF
70263 done
70265 else
70267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
70268 $as_echo_n "checking for _modfl declaration... " >&6; }
70269 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
70270 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
70271 $as_echo_n "(cached) " >&6
70272 else
70275 ac_ext=cpp
70276 ac_cpp='$CXXCPP $CPPFLAGS'
70277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70282 /* end confdefs.h. */
70283 #include <math.h>
70285 main ()
70287 _modfl(0, 0);
70289 return 0;
70291 _ACEOF
70292 if ac_fn_cxx_try_compile "$LINENO"; then :
70293 glibcxx_cv_func__modfl_use=yes
70294 else
70295 glibcxx_cv_func__modfl_use=no
70297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70298 ac_ext=c
70299 ac_cpp='$CPP $CPPFLAGS'
70300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
70309 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
70311 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
70312 for ac_func in _modfl
70313 do :
70314 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
70315 if test "x$ac_cv_func__modfl" = x""yes; then :
70316 cat >>confdefs.h <<_ACEOF
70317 #define HAVE__MODFL 1
70318 _ACEOF
70321 done
70330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
70331 $as_echo_n "checking for powl declaration... " >&6; }
70332 if test x${glibcxx_cv_func_powl_use+set} != xset; then
70333 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
70334 $as_echo_n "(cached) " >&6
70335 else
70338 ac_ext=cpp
70339 ac_cpp='$CXXCPP $CPPFLAGS'
70340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70345 /* end confdefs.h. */
70346 #include <math.h>
70348 main ()
70350 powl(0, 0);
70352 return 0;
70354 _ACEOF
70355 if ac_fn_cxx_try_compile "$LINENO"; then :
70356 glibcxx_cv_func_powl_use=yes
70357 else
70358 glibcxx_cv_func_powl_use=no
70360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70361 ac_ext=c
70362 ac_cpp='$CPP $CPPFLAGS'
70363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
70372 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
70374 if test x$glibcxx_cv_func_powl_use = x"yes"; then
70375 for ac_func in powl
70376 do :
70377 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
70378 if test "x$ac_cv_func_powl" = x""yes; then :
70379 cat >>confdefs.h <<_ACEOF
70380 #define HAVE_POWL 1
70381 _ACEOF
70384 done
70386 else
70388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
70389 $as_echo_n "checking for _powl declaration... " >&6; }
70390 if test x${glibcxx_cv_func__powl_use+set} != xset; then
70391 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
70392 $as_echo_n "(cached) " >&6
70393 else
70396 ac_ext=cpp
70397 ac_cpp='$CXXCPP $CPPFLAGS'
70398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70403 /* end confdefs.h. */
70404 #include <math.h>
70406 main ()
70408 _powl(0, 0);
70410 return 0;
70412 _ACEOF
70413 if ac_fn_cxx_try_compile "$LINENO"; then :
70414 glibcxx_cv_func__powl_use=yes
70415 else
70416 glibcxx_cv_func__powl_use=no
70418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70419 ac_ext=c
70420 ac_cpp='$CPP $CPPFLAGS'
70421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
70430 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
70432 if test x$glibcxx_cv_func__powl_use = x"yes"; then
70433 for ac_func in _powl
70434 do :
70435 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
70436 if test "x$ac_cv_func__powl" = x""yes; then :
70437 cat >>confdefs.h <<_ACEOF
70438 #define HAVE__POWL 1
70439 _ACEOF
70442 done
70451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
70452 $as_echo_n "checking for sqrtl declaration... " >&6; }
70453 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
70454 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
70455 $as_echo_n "(cached) " >&6
70456 else
70459 ac_ext=cpp
70460 ac_cpp='$CXXCPP $CPPFLAGS'
70461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70466 /* end confdefs.h. */
70467 #include <math.h>
70468 #ifdef HAVE_IEEEFP_H
70469 #include <ieeefp.h>
70470 #endif
70473 main ()
70475 sqrtl(0);
70477 return 0;
70479 _ACEOF
70480 if ac_fn_cxx_try_compile "$LINENO"; then :
70481 glibcxx_cv_func_sqrtl_use=yes
70482 else
70483 glibcxx_cv_func_sqrtl_use=no
70485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70486 ac_ext=c
70487 ac_cpp='$CPP $CPPFLAGS'
70488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
70497 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
70499 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
70500 for ac_func in sqrtl
70501 do :
70502 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
70503 if test "x$ac_cv_func_sqrtl" = x""yes; then :
70504 cat >>confdefs.h <<_ACEOF
70505 #define HAVE_SQRTL 1
70506 _ACEOF
70509 done
70511 else
70513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
70514 $as_echo_n "checking for _sqrtl declaration... " >&6; }
70515 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
70516 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
70517 $as_echo_n "(cached) " >&6
70518 else
70521 ac_ext=cpp
70522 ac_cpp='$CXXCPP $CPPFLAGS'
70523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70528 /* end confdefs.h. */
70529 #include <math.h>
70530 #ifdef HAVE_IEEEFP_H
70531 #include <ieeefp.h>
70532 #endif
70535 main ()
70537 _sqrtl(0);
70539 return 0;
70541 _ACEOF
70542 if ac_fn_cxx_try_compile "$LINENO"; then :
70543 glibcxx_cv_func__sqrtl_use=yes
70544 else
70545 glibcxx_cv_func__sqrtl_use=no
70547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70548 ac_ext=c
70549 ac_cpp='$CPP $CPPFLAGS'
70550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
70559 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
70561 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
70562 for ac_func in _sqrtl
70563 do :
70564 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
70565 if test "x$ac_cv_func__sqrtl" = x""yes; then :
70566 cat >>confdefs.h <<_ACEOF
70567 #define HAVE__SQRTL 1
70568 _ACEOF
70571 done
70580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
70581 $as_echo_n "checking for sincosl declaration... " >&6; }
70582 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
70583 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
70584 $as_echo_n "(cached) " >&6
70585 else
70588 ac_ext=cpp
70589 ac_cpp='$CXXCPP $CPPFLAGS'
70590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70595 /* end confdefs.h. */
70596 #include <math.h>
70598 main ()
70600 sincosl(0, 0, 0);
70602 return 0;
70604 _ACEOF
70605 if ac_fn_cxx_try_compile "$LINENO"; then :
70606 glibcxx_cv_func_sincosl_use=yes
70607 else
70608 glibcxx_cv_func_sincosl_use=no
70610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70611 ac_ext=c
70612 ac_cpp='$CPP $CPPFLAGS'
70613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
70622 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
70624 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
70625 for ac_func in sincosl
70626 do :
70627 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
70628 if test "x$ac_cv_func_sincosl" = x""yes; then :
70629 cat >>confdefs.h <<_ACEOF
70630 #define HAVE_SINCOSL 1
70631 _ACEOF
70634 done
70636 else
70638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
70639 $as_echo_n "checking for _sincosl declaration... " >&6; }
70640 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
70641 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
70642 $as_echo_n "(cached) " >&6
70643 else
70646 ac_ext=cpp
70647 ac_cpp='$CXXCPP $CPPFLAGS'
70648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70653 /* end confdefs.h. */
70654 #include <math.h>
70656 main ()
70658 _sincosl(0, 0, 0);
70660 return 0;
70662 _ACEOF
70663 if ac_fn_cxx_try_compile "$LINENO"; then :
70664 glibcxx_cv_func__sincosl_use=yes
70665 else
70666 glibcxx_cv_func__sincosl_use=no
70668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70669 ac_ext=c
70670 ac_cpp='$CPP $CPPFLAGS'
70671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
70680 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
70682 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
70683 for ac_func in _sincosl
70684 do :
70685 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
70686 if test "x$ac_cv_func__sincosl" = x""yes; then :
70687 cat >>confdefs.h <<_ACEOF
70688 #define HAVE__SINCOSL 1
70689 _ACEOF
70692 done
70701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
70702 $as_echo_n "checking for finitel declaration... " >&6; }
70703 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
70704 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
70705 $as_echo_n "(cached) " >&6
70706 else
70709 ac_ext=cpp
70710 ac_cpp='$CXXCPP $CPPFLAGS'
70711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70716 /* end confdefs.h. */
70717 #include <math.h>
70718 #ifdef HAVE_IEEEFP_H
70719 #include <ieeefp.h>
70720 #endif
70723 main ()
70725 finitel(0);
70727 return 0;
70729 _ACEOF
70730 if ac_fn_cxx_try_compile "$LINENO"; then :
70731 glibcxx_cv_func_finitel_use=yes
70732 else
70733 glibcxx_cv_func_finitel_use=no
70735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70736 ac_ext=c
70737 ac_cpp='$CPP $CPPFLAGS'
70738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
70747 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
70749 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
70750 for ac_func in finitel
70751 do :
70752 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
70753 if test "x$ac_cv_func_finitel" = x""yes; then :
70754 cat >>confdefs.h <<_ACEOF
70755 #define HAVE_FINITEL 1
70756 _ACEOF
70759 done
70761 else
70763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
70764 $as_echo_n "checking for _finitel declaration... " >&6; }
70765 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
70766 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
70767 $as_echo_n "(cached) " >&6
70768 else
70771 ac_ext=cpp
70772 ac_cpp='$CXXCPP $CPPFLAGS'
70773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70778 /* end confdefs.h. */
70779 #include <math.h>
70780 #ifdef HAVE_IEEEFP_H
70781 #include <ieeefp.h>
70782 #endif
70785 main ()
70787 _finitel(0);
70789 return 0;
70791 _ACEOF
70792 if ac_fn_cxx_try_compile "$LINENO"; then :
70793 glibcxx_cv_func__finitel_use=yes
70794 else
70795 glibcxx_cv_func__finitel_use=no
70797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70798 ac_ext=c
70799 ac_cpp='$CPP $CPPFLAGS'
70800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
70809 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
70811 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
70812 for ac_func in _finitel
70813 do :
70814 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
70815 if test "x$ac_cv_func__finitel" = x""yes; then :
70816 cat >>confdefs.h <<_ACEOF
70817 #define HAVE__FINITEL 1
70818 _ACEOF
70821 done
70829 LIBS="$ac_save_LIBS"
70830 CXXFLAGS="$ac_save_CXXFLAGS"
70833 ac_test_CXXFLAGS="${CXXFLAGS+set}"
70834 ac_save_CXXFLAGS="$CXXFLAGS"
70835 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
70838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
70839 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
70840 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
70841 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
70842 $as_echo_n "(cached) " >&6
70843 else
70846 ac_ext=cpp
70847 ac_cpp='$CXXCPP $CPPFLAGS'
70848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70853 /* end confdefs.h. */
70854 #include <stdlib.h>
70856 main ()
70858 at_quick_exit(0);
70860 return 0;
70862 _ACEOF
70863 if ac_fn_cxx_try_compile "$LINENO"; then :
70864 glibcxx_cv_func_at_quick_exit_use=yes
70865 else
70866 glibcxx_cv_func_at_quick_exit_use=no
70868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70869 ac_ext=c
70870 ac_cpp='$CPP $CPPFLAGS'
70871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
70880 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
70881 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
70882 for ac_func in at_quick_exit
70883 do :
70884 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
70885 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
70886 cat >>confdefs.h <<_ACEOF
70887 #define HAVE_AT_QUICK_EXIT 1
70888 _ACEOF
70891 done
70896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
70897 $as_echo_n "checking for quick_exit declaration... " >&6; }
70898 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
70899 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
70900 $as_echo_n "(cached) " >&6
70901 else
70904 ac_ext=cpp
70905 ac_cpp='$CXXCPP $CPPFLAGS'
70906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70911 /* end confdefs.h. */
70912 #include <stdlib.h>
70914 main ()
70916 quick_exit(0);
70918 return 0;
70920 _ACEOF
70921 if ac_fn_cxx_try_compile "$LINENO"; then :
70922 glibcxx_cv_func_quick_exit_use=yes
70923 else
70924 glibcxx_cv_func_quick_exit_use=no
70926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70927 ac_ext=c
70928 ac_cpp='$CPP $CPPFLAGS'
70929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
70938 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
70939 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
70940 for ac_func in quick_exit
70941 do :
70942 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
70943 if test "x$ac_cv_func_quick_exit" = x""yes; then :
70944 cat >>confdefs.h <<_ACEOF
70945 #define HAVE_QUICK_EXIT 1
70946 _ACEOF
70949 done
70954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
70955 $as_echo_n "checking for strtold declaration... " >&6; }
70956 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
70957 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
70958 $as_echo_n "(cached) " >&6
70959 else
70962 ac_ext=cpp
70963 ac_cpp='$CXXCPP $CPPFLAGS'
70964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70969 /* end confdefs.h. */
70970 #include <stdlib.h>
70972 main ()
70974 strtold(0, 0);
70976 return 0;
70978 _ACEOF
70979 if ac_fn_cxx_try_compile "$LINENO"; then :
70980 glibcxx_cv_func_strtold_use=yes
70981 else
70982 glibcxx_cv_func_strtold_use=no
70984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70985 ac_ext=c
70986 ac_cpp='$CPP $CPPFLAGS'
70987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
70996 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
70997 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
70998 for ac_func in strtold
70999 do :
71000 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
71001 if test "x$ac_cv_func_strtold" = x""yes; then :
71002 cat >>confdefs.h <<_ACEOF
71003 #define HAVE_STRTOLD 1
71004 _ACEOF
71007 done
71014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
71015 $as_echo_n "checking for strtof declaration... " >&6; }
71016 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
71017 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
71018 $as_echo_n "(cached) " >&6
71019 else
71022 ac_ext=cpp
71023 ac_cpp='$CXXCPP $CPPFLAGS'
71024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71029 /* end confdefs.h. */
71030 #include <stdlib.h>
71032 main ()
71034 strtof(0, 0);
71036 return 0;
71038 _ACEOF
71039 if ac_fn_cxx_try_compile "$LINENO"; then :
71040 glibcxx_cv_func_strtof_use=yes
71041 else
71042 glibcxx_cv_func_strtof_use=no
71044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71045 ac_ext=c
71046 ac_cpp='$CPP $CPPFLAGS'
71047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
71056 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
71057 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
71058 for ac_func in strtof
71059 do :
71060 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
71061 if test "x$ac_cv_func_strtof" = x""yes; then :
71062 cat >>confdefs.h <<_ACEOF
71063 #define HAVE_STRTOF 1
71064 _ACEOF
71067 done
71074 CXXFLAGS="$ac_save_CXXFLAGS"
71077 *-solaris*)
71079 # If we're not using GNU ld, then there's no point in even trying these
71080 # tests. Check for that first. We should have already tested for gld
71081 # by now (in libtool), but require it now just to be safe...
71082 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
71083 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
71087 # The name set by libtool depends on the version of libtool. Shame on us
71088 # for depending on an impl detail, but c'est la vie. Older versions used
71089 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
71090 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
71091 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
71092 # set (hence we're using an older libtool), then set it.
71093 if test x${with_gnu_ld+set} != xset; then
71094 if test x${ac_cv_prog_gnu_ld+set} != xset; then
71095 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
71096 with_gnu_ld=no
71097 else
71098 with_gnu_ld=$ac_cv_prog_gnu_ld
71102 # Start by getting the version number. I think the libtool test already
71103 # does some of this, but throws away the result.
71104 glibcxx_ld_is_gold=no
71105 if test x"$with_gnu_ld" = x"yes"; then
71106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
71107 $as_echo_n "checking for ld version... " >&6; }
71109 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
71110 glibcxx_ld_is_gold=yes
71112 ldver=`$LD --version 2>/dev/null |
71113 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'`
71115 glibcxx_gnu_ld_version=`echo $ldver | \
71116 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
71117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
71118 $as_echo "$glibcxx_gnu_ld_version" >&6; }
71121 # Set --gc-sections.
71122 glibcxx_have_gc_sections=no
71123 if test "$glibcxx_ld_is_gold" = "yes"; then
71124 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
71125 glibcxx_have_gc_sections=yes
71127 else
71128 glibcxx_gcsections_min_ld=21602
71129 if test x"$with_gnu_ld" = x"yes" &&
71130 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
71131 glibcxx_have_gc_sections=yes
71134 if test "$glibcxx_have_gc_sections" = "yes"; then
71135 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
71136 # NB: This flag only works reliably after 2.16.1. Configure tests
71137 # for this are difficult, so hard wire a value that should work.
71139 ac_test_CFLAGS="${CFLAGS+set}"
71140 ac_save_CFLAGS="$CFLAGS"
71141 CFLAGS='-Wl,--gc-sections'
71143 # Check for -Wl,--gc-sections
71144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
71145 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
71146 if test x$gcc_no_link = xyes; then
71147 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71150 /* end confdefs.h. */
71151 int one(void) { return 1; }
71152 int two(void) { return 2; }
71155 main ()
71157 two();
71159 return 0;
71161 _ACEOF
71162 if ac_fn_c_try_link "$LINENO"; then :
71163 ac_gcsections=yes
71164 else
71165 ac_gcsections=no
71167 rm -f core conftest.err conftest.$ac_objext \
71168 conftest$ac_exeext conftest.$ac_ext
71169 if test "$ac_gcsections" = "yes"; then
71170 rm -f conftest.c
71171 touch conftest.c
71172 if $CC -c conftest.c; then
71173 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
71174 grep "Warning: gc-sections option ignored" > /dev/null; then
71175 ac_gcsections=no
71178 rm -f conftest.c conftest.o conftest
71180 if test "$ac_gcsections" = "yes"; then
71181 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
71183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
71184 $as_echo "$ac_gcsections" >&6; }
71186 if test "$ac_test_CFLAGS" = set; then
71187 CFLAGS="$ac_save_CFLAGS"
71188 else
71189 # this is the suspicious part
71190 CFLAGS=''
71194 # Set -z,relro.
71195 # Note this is only for shared objects.
71196 ac_ld_relro=no
71197 if test x"$with_gnu_ld" = x"yes"; then
71198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
71199 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
71200 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
71201 if test -n "$cxx_z_relo"; then
71202 OPT_LDFLAGS="-Wl,-z,relro"
71203 ac_ld_relro=yes
71205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
71206 $as_echo "$ac_ld_relro" >&6; }
71209 # Set linker optimization flags.
71210 if test x"$with_gnu_ld" = x"yes"; then
71211 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
71217 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
71219 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
71221 $as_echo "#define HAVE_FPCLASS 1" >>confdefs.h
71223 # All of the dependencies for wide character support are here, so
71224 # turn it on.
71225 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
71227 # These two C99 functions are present only in Solaris >= 10
71228 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
71230 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
71232 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
71234 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
71236 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
71238 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
71241 *-tpf)
71242 SECTION_FLAGS='-ffunction-sections -fdata-sections'
71243 SECTION_LDFLAGS='-Wl,--gc-sections $SECTION_LDFLAGS'
71245 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
71247 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
71249 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
71251 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
71253 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
71255 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
71257 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
71259 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
71261 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
71263 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
71265 if test x"long_double_math_on_this_cpu" = x"yes"; then
71266 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
71268 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
71270 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
71272 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
71276 *-*vms*)
71277 # Check for available headers.
71278 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, VMS doesn't have a GNU ld
71280 ac_test_CXXFLAGS="${CXXFLAGS+set}"
71281 ac_save_CXXFLAGS="$CXXFLAGS"
71282 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
71284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
71285 $as_echo_n "checking for sin in -lm... " >&6; }
71286 if test "${ac_cv_lib_m_sin+set}" = set; then :
71287 $as_echo_n "(cached) " >&6
71288 else
71289 ac_check_lib_save_LIBS=$LIBS
71290 LIBS="-lm $LIBS"
71291 if test x$gcc_no_link = xyes; then
71292 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71295 /* end confdefs.h. */
71297 /* Override any GCC internal prototype to avoid an error.
71298 Use char because int might match the return type of a GCC
71299 builtin and then its argument prototype would still apply. */
71300 #ifdef __cplusplus
71301 extern "C"
71302 #endif
71303 char sin ();
71305 main ()
71307 return sin ();
71309 return 0;
71311 _ACEOF
71312 if ac_fn_c_try_link "$LINENO"; then :
71313 ac_cv_lib_m_sin=yes
71314 else
71315 ac_cv_lib_m_sin=no
71317 rm -f core conftest.err conftest.$ac_objext \
71318 conftest$ac_exeext conftest.$ac_ext
71319 LIBS=$ac_check_lib_save_LIBS
71321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
71322 $as_echo "$ac_cv_lib_m_sin" >&6; }
71323 if test "x$ac_cv_lib_m_sin" = x""yes; then :
71324 libm="-lm"
71327 ac_save_LIBS="$LIBS"
71328 LIBS="$LIBS $libm"
71332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
71333 $as_echo_n "checking for isinf declaration... " >&6; }
71334 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
71335 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
71336 $as_echo_n "(cached) " >&6
71337 else
71340 ac_ext=cpp
71341 ac_cpp='$CXXCPP $CPPFLAGS'
71342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71347 /* end confdefs.h. */
71348 #include <math.h>
71349 #ifdef HAVE_IEEEFP_H
71350 #include <ieeefp.h>
71351 #endif
71354 main ()
71356 isinf(0);
71358 return 0;
71360 _ACEOF
71361 if ac_fn_cxx_try_compile "$LINENO"; then :
71362 glibcxx_cv_func_isinf_use=yes
71363 else
71364 glibcxx_cv_func_isinf_use=no
71366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71367 ac_ext=c
71368 ac_cpp='$CPP $CPPFLAGS'
71369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
71378 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
71380 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
71381 for ac_func in isinf
71382 do :
71383 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
71384 if test "x$ac_cv_func_isinf" = x""yes; then :
71385 cat >>confdefs.h <<_ACEOF
71386 #define HAVE_ISINF 1
71387 _ACEOF
71390 done
71392 else
71394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
71395 $as_echo_n "checking for _isinf declaration... " >&6; }
71396 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
71397 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
71398 $as_echo_n "(cached) " >&6
71399 else
71402 ac_ext=cpp
71403 ac_cpp='$CXXCPP $CPPFLAGS'
71404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71409 /* end confdefs.h. */
71410 #include <math.h>
71411 #ifdef HAVE_IEEEFP_H
71412 #include <ieeefp.h>
71413 #endif
71416 main ()
71418 _isinf(0);
71420 return 0;
71422 _ACEOF
71423 if ac_fn_cxx_try_compile "$LINENO"; then :
71424 glibcxx_cv_func__isinf_use=yes
71425 else
71426 glibcxx_cv_func__isinf_use=no
71428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71429 ac_ext=c
71430 ac_cpp='$CPP $CPPFLAGS'
71431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
71440 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
71442 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
71443 for ac_func in _isinf
71444 do :
71445 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
71446 if test "x$ac_cv_func__isinf" = x""yes; then :
71447 cat >>confdefs.h <<_ACEOF
71448 #define HAVE__ISINF 1
71449 _ACEOF
71452 done
71461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
71462 $as_echo_n "checking for isnan declaration... " >&6; }
71463 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
71464 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
71465 $as_echo_n "(cached) " >&6
71466 else
71469 ac_ext=cpp
71470 ac_cpp='$CXXCPP $CPPFLAGS'
71471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71476 /* end confdefs.h. */
71477 #include <math.h>
71478 #ifdef HAVE_IEEEFP_H
71479 #include <ieeefp.h>
71480 #endif
71483 main ()
71485 isnan(0);
71487 return 0;
71489 _ACEOF
71490 if ac_fn_cxx_try_compile "$LINENO"; then :
71491 glibcxx_cv_func_isnan_use=yes
71492 else
71493 glibcxx_cv_func_isnan_use=no
71495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71496 ac_ext=c
71497 ac_cpp='$CPP $CPPFLAGS'
71498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
71507 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
71509 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
71510 for ac_func in isnan
71511 do :
71512 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
71513 if test "x$ac_cv_func_isnan" = x""yes; then :
71514 cat >>confdefs.h <<_ACEOF
71515 #define HAVE_ISNAN 1
71516 _ACEOF
71519 done
71521 else
71523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
71524 $as_echo_n "checking for _isnan declaration... " >&6; }
71525 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
71526 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
71527 $as_echo_n "(cached) " >&6
71528 else
71531 ac_ext=cpp
71532 ac_cpp='$CXXCPP $CPPFLAGS'
71533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71538 /* end confdefs.h. */
71539 #include <math.h>
71540 #ifdef HAVE_IEEEFP_H
71541 #include <ieeefp.h>
71542 #endif
71545 main ()
71547 _isnan(0);
71549 return 0;
71551 _ACEOF
71552 if ac_fn_cxx_try_compile "$LINENO"; then :
71553 glibcxx_cv_func__isnan_use=yes
71554 else
71555 glibcxx_cv_func__isnan_use=no
71557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71558 ac_ext=c
71559 ac_cpp='$CPP $CPPFLAGS'
71560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
71569 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
71571 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
71572 for ac_func in _isnan
71573 do :
71574 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
71575 if test "x$ac_cv_func__isnan" = x""yes; then :
71576 cat >>confdefs.h <<_ACEOF
71577 #define HAVE__ISNAN 1
71578 _ACEOF
71581 done
71590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
71591 $as_echo_n "checking for finite declaration... " >&6; }
71592 if test x${glibcxx_cv_func_finite_use+set} != xset; then
71593 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
71594 $as_echo_n "(cached) " >&6
71595 else
71598 ac_ext=cpp
71599 ac_cpp='$CXXCPP $CPPFLAGS'
71600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71605 /* end confdefs.h. */
71606 #include <math.h>
71607 #ifdef HAVE_IEEEFP_H
71608 #include <ieeefp.h>
71609 #endif
71612 main ()
71614 finite(0);
71616 return 0;
71618 _ACEOF
71619 if ac_fn_cxx_try_compile "$LINENO"; then :
71620 glibcxx_cv_func_finite_use=yes
71621 else
71622 glibcxx_cv_func_finite_use=no
71624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71625 ac_ext=c
71626 ac_cpp='$CPP $CPPFLAGS'
71627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
71636 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
71638 if test x$glibcxx_cv_func_finite_use = x"yes"; then
71639 for ac_func in finite
71640 do :
71641 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
71642 if test "x$ac_cv_func_finite" = x""yes; then :
71643 cat >>confdefs.h <<_ACEOF
71644 #define HAVE_FINITE 1
71645 _ACEOF
71648 done
71650 else
71652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
71653 $as_echo_n "checking for _finite declaration... " >&6; }
71654 if test x${glibcxx_cv_func__finite_use+set} != xset; then
71655 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
71656 $as_echo_n "(cached) " >&6
71657 else
71660 ac_ext=cpp
71661 ac_cpp='$CXXCPP $CPPFLAGS'
71662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71667 /* end confdefs.h. */
71668 #include <math.h>
71669 #ifdef HAVE_IEEEFP_H
71670 #include <ieeefp.h>
71671 #endif
71674 main ()
71676 _finite(0);
71678 return 0;
71680 _ACEOF
71681 if ac_fn_cxx_try_compile "$LINENO"; then :
71682 glibcxx_cv_func__finite_use=yes
71683 else
71684 glibcxx_cv_func__finite_use=no
71686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71687 ac_ext=c
71688 ac_cpp='$CPP $CPPFLAGS'
71689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
71698 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
71700 if test x$glibcxx_cv_func__finite_use = x"yes"; then
71701 for ac_func in _finite
71702 do :
71703 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
71704 if test "x$ac_cv_func__finite" = x""yes; then :
71705 cat >>confdefs.h <<_ACEOF
71706 #define HAVE__FINITE 1
71707 _ACEOF
71710 done
71719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
71720 $as_echo_n "checking for sincos declaration... " >&6; }
71721 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
71722 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
71723 $as_echo_n "(cached) " >&6
71724 else
71727 ac_ext=cpp
71728 ac_cpp='$CXXCPP $CPPFLAGS'
71729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71734 /* end confdefs.h. */
71735 #include <math.h>
71737 main ()
71739 sincos(0, 0, 0);
71741 return 0;
71743 _ACEOF
71744 if ac_fn_cxx_try_compile "$LINENO"; then :
71745 glibcxx_cv_func_sincos_use=yes
71746 else
71747 glibcxx_cv_func_sincos_use=no
71749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71750 ac_ext=c
71751 ac_cpp='$CPP $CPPFLAGS'
71752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
71761 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
71763 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
71764 for ac_func in sincos
71765 do :
71766 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
71767 if test "x$ac_cv_func_sincos" = x""yes; then :
71768 cat >>confdefs.h <<_ACEOF
71769 #define HAVE_SINCOS 1
71770 _ACEOF
71773 done
71775 else
71777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
71778 $as_echo_n "checking for _sincos declaration... " >&6; }
71779 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
71780 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
71781 $as_echo_n "(cached) " >&6
71782 else
71785 ac_ext=cpp
71786 ac_cpp='$CXXCPP $CPPFLAGS'
71787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71792 /* end confdefs.h. */
71793 #include <math.h>
71795 main ()
71797 _sincos(0, 0, 0);
71799 return 0;
71801 _ACEOF
71802 if ac_fn_cxx_try_compile "$LINENO"; then :
71803 glibcxx_cv_func__sincos_use=yes
71804 else
71805 glibcxx_cv_func__sincos_use=no
71807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71808 ac_ext=c
71809 ac_cpp='$CPP $CPPFLAGS'
71810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
71819 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
71821 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
71822 for ac_func in _sincos
71823 do :
71824 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
71825 if test "x$ac_cv_func__sincos" = x""yes; then :
71826 cat >>confdefs.h <<_ACEOF
71827 #define HAVE__SINCOS 1
71828 _ACEOF
71831 done
71840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
71841 $as_echo_n "checking for fpclass declaration... " >&6; }
71842 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
71843 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
71844 $as_echo_n "(cached) " >&6
71845 else
71848 ac_ext=cpp
71849 ac_cpp='$CXXCPP $CPPFLAGS'
71850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71855 /* end confdefs.h. */
71856 #include <math.h>
71857 #ifdef HAVE_IEEEFP_H
71858 #include <ieeefp.h>
71859 #endif
71862 main ()
71864 fpclass(0);
71866 return 0;
71868 _ACEOF
71869 if ac_fn_cxx_try_compile "$LINENO"; then :
71870 glibcxx_cv_func_fpclass_use=yes
71871 else
71872 glibcxx_cv_func_fpclass_use=no
71874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71875 ac_ext=c
71876 ac_cpp='$CPP $CPPFLAGS'
71877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
71886 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
71888 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
71889 for ac_func in fpclass
71890 do :
71891 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
71892 if test "x$ac_cv_func_fpclass" = x""yes; then :
71893 cat >>confdefs.h <<_ACEOF
71894 #define HAVE_FPCLASS 1
71895 _ACEOF
71898 done
71900 else
71902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
71903 $as_echo_n "checking for _fpclass declaration... " >&6; }
71904 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
71905 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
71906 $as_echo_n "(cached) " >&6
71907 else
71910 ac_ext=cpp
71911 ac_cpp='$CXXCPP $CPPFLAGS'
71912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71917 /* end confdefs.h. */
71918 #include <math.h>
71919 #ifdef HAVE_IEEEFP_H
71920 #include <ieeefp.h>
71921 #endif
71924 main ()
71926 _fpclass(0);
71928 return 0;
71930 _ACEOF
71931 if ac_fn_cxx_try_compile "$LINENO"; then :
71932 glibcxx_cv_func__fpclass_use=yes
71933 else
71934 glibcxx_cv_func__fpclass_use=no
71936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71937 ac_ext=c
71938 ac_cpp='$CPP $CPPFLAGS'
71939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
71948 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
71950 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
71951 for ac_func in _fpclass
71952 do :
71953 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
71954 if test "x$ac_cv_func__fpclass" = x""yes; then :
71955 cat >>confdefs.h <<_ACEOF
71956 #define HAVE__FPCLASS 1
71957 _ACEOF
71960 done
71969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
71970 $as_echo_n "checking for qfpclass declaration... " >&6; }
71971 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
71972 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
71973 $as_echo_n "(cached) " >&6
71974 else
71977 ac_ext=cpp
71978 ac_cpp='$CXXCPP $CPPFLAGS'
71979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71984 /* end confdefs.h. */
71985 #include <math.h>
71986 #ifdef HAVE_IEEEFP_H
71987 #include <ieeefp.h>
71988 #endif
71991 main ()
71993 qfpclass(0);
71995 return 0;
71997 _ACEOF
71998 if ac_fn_cxx_try_compile "$LINENO"; then :
71999 glibcxx_cv_func_qfpclass_use=yes
72000 else
72001 glibcxx_cv_func_qfpclass_use=no
72003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72004 ac_ext=c
72005 ac_cpp='$CPP $CPPFLAGS'
72006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
72015 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
72017 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
72018 for ac_func in qfpclass
72019 do :
72020 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
72021 if test "x$ac_cv_func_qfpclass" = x""yes; then :
72022 cat >>confdefs.h <<_ACEOF
72023 #define HAVE_QFPCLASS 1
72024 _ACEOF
72027 done
72029 else
72031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
72032 $as_echo_n "checking for _qfpclass declaration... " >&6; }
72033 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
72034 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
72035 $as_echo_n "(cached) " >&6
72036 else
72039 ac_ext=cpp
72040 ac_cpp='$CXXCPP $CPPFLAGS'
72041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72046 /* end confdefs.h. */
72047 #include <math.h>
72048 #ifdef HAVE_IEEEFP_H
72049 #include <ieeefp.h>
72050 #endif
72053 main ()
72055 _qfpclass(0);
72057 return 0;
72059 _ACEOF
72060 if ac_fn_cxx_try_compile "$LINENO"; then :
72061 glibcxx_cv_func__qfpclass_use=yes
72062 else
72063 glibcxx_cv_func__qfpclass_use=no
72065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72066 ac_ext=c
72067 ac_cpp='$CPP $CPPFLAGS'
72068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
72077 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
72079 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
72080 for ac_func in _qfpclass
72081 do :
72082 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
72083 if test "x$ac_cv_func__qfpclass" = x""yes; then :
72084 cat >>confdefs.h <<_ACEOF
72085 #define HAVE__QFPCLASS 1
72086 _ACEOF
72089 done
72098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
72099 $as_echo_n "checking for hypot declaration... " >&6; }
72100 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
72101 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
72102 $as_echo_n "(cached) " >&6
72103 else
72106 ac_ext=cpp
72107 ac_cpp='$CXXCPP $CPPFLAGS'
72108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72113 /* end confdefs.h. */
72114 #include <math.h>
72116 main ()
72118 hypot(0, 0);
72120 return 0;
72122 _ACEOF
72123 if ac_fn_cxx_try_compile "$LINENO"; then :
72124 glibcxx_cv_func_hypot_use=yes
72125 else
72126 glibcxx_cv_func_hypot_use=no
72128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72129 ac_ext=c
72130 ac_cpp='$CPP $CPPFLAGS'
72131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
72140 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
72142 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
72143 for ac_func in hypot
72144 do :
72145 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
72146 if test "x$ac_cv_func_hypot" = x""yes; then :
72147 cat >>confdefs.h <<_ACEOF
72148 #define HAVE_HYPOT 1
72149 _ACEOF
72152 done
72154 else
72156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
72157 $as_echo_n "checking for _hypot declaration... " >&6; }
72158 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
72159 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
72160 $as_echo_n "(cached) " >&6
72161 else
72164 ac_ext=cpp
72165 ac_cpp='$CXXCPP $CPPFLAGS'
72166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72171 /* end confdefs.h. */
72172 #include <math.h>
72174 main ()
72176 _hypot(0, 0);
72178 return 0;
72180 _ACEOF
72181 if ac_fn_cxx_try_compile "$LINENO"; then :
72182 glibcxx_cv_func__hypot_use=yes
72183 else
72184 glibcxx_cv_func__hypot_use=no
72186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72187 ac_ext=c
72188 ac_cpp='$CPP $CPPFLAGS'
72189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
72198 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
72200 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
72201 for ac_func in _hypot
72202 do :
72203 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
72204 if test "x$ac_cv_func__hypot" = x""yes; then :
72205 cat >>confdefs.h <<_ACEOF
72206 #define HAVE__HYPOT 1
72207 _ACEOF
72210 done
72219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
72220 $as_echo_n "checking for float trig functions... " >&6; }
72221 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
72222 $as_echo_n "(cached) " >&6
72223 else
72226 ac_ext=cpp
72227 ac_cpp='$CXXCPP $CPPFLAGS'
72228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72233 /* end confdefs.h. */
72234 #include <math.h>
72236 main ()
72238 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
72240 return 0;
72242 _ACEOF
72243 if ac_fn_cxx_try_compile "$LINENO"; then :
72244 glibcxx_cv_func_float_trig_use=yes
72245 else
72246 glibcxx_cv_func_float_trig_use=no
72248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72249 ac_ext=c
72250 ac_cpp='$CPP $CPPFLAGS'
72251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
72258 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
72259 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
72260 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
72261 do :
72262 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
72263 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
72264 eval as_val=\$$as_ac_var
72265 if test "x$as_val" = x""yes; then :
72266 cat >>confdefs.h <<_ACEOF
72267 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
72268 _ACEOF
72271 done
72273 else
72274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
72275 $as_echo_n "checking for _float trig functions... " >&6; }
72276 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
72277 $as_echo_n "(cached) " >&6
72278 else
72281 ac_ext=cpp
72282 ac_cpp='$CXXCPP $CPPFLAGS'
72283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72288 /* end confdefs.h. */
72289 #include <math.h>
72291 main ()
72293 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
72295 return 0;
72297 _ACEOF
72298 if ac_fn_cxx_try_compile "$LINENO"; then :
72299 glibcxx_cv_func__float_trig_use=yes
72300 else
72301 glibcxx_cv_func__float_trig_use=no
72303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72304 ac_ext=c
72305 ac_cpp='$CPP $CPPFLAGS'
72306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
72313 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
72314 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
72315 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
72316 do :
72317 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
72318 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
72319 eval as_val=\$$as_ac_var
72320 if test "x$as_val" = x""yes; then :
72321 cat >>confdefs.h <<_ACEOF
72322 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
72323 _ACEOF
72326 done
72335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
72336 $as_echo_n "checking for float round functions... " >&6; }
72337 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
72338 $as_echo_n "(cached) " >&6
72339 else
72342 ac_ext=cpp
72343 ac_cpp='$CXXCPP $CPPFLAGS'
72344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72349 /* end confdefs.h. */
72350 #include <math.h>
72352 main ()
72354 ceilf (0); floorf (0);
72356 return 0;
72358 _ACEOF
72359 if ac_fn_cxx_try_compile "$LINENO"; then :
72360 glibcxx_cv_func_float_round_use=yes
72361 else
72362 glibcxx_cv_func_float_round_use=no
72364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72365 ac_ext=c
72366 ac_cpp='$CPP $CPPFLAGS'
72367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
72374 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
72375 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
72376 for ac_func in ceilf floorf
72377 do :
72378 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
72379 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
72380 eval as_val=\$$as_ac_var
72381 if test "x$as_val" = x""yes; then :
72382 cat >>confdefs.h <<_ACEOF
72383 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
72384 _ACEOF
72387 done
72389 else
72390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
72391 $as_echo_n "checking for _float round functions... " >&6; }
72392 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
72393 $as_echo_n "(cached) " >&6
72394 else
72397 ac_ext=cpp
72398 ac_cpp='$CXXCPP $CPPFLAGS'
72399 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72400 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72401 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72404 /* end confdefs.h. */
72405 #include <math.h>
72407 main ()
72409 _ceilf (0); _floorf (0);
72411 return 0;
72413 _ACEOF
72414 if ac_fn_cxx_try_compile "$LINENO"; then :
72415 glibcxx_cv_func__float_round_use=yes
72416 else
72417 glibcxx_cv_func__float_round_use=no
72419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72420 ac_ext=c
72421 ac_cpp='$CPP $CPPFLAGS'
72422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
72429 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
72430 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
72431 for ac_func in _ceilf _floorf
72432 do :
72433 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
72434 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
72435 eval as_val=\$$as_ac_var
72436 if test "x$as_val" = x""yes; then :
72437 cat >>confdefs.h <<_ACEOF
72438 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
72439 _ACEOF
72442 done
72452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
72453 $as_echo_n "checking for expf declaration... " >&6; }
72454 if test x${glibcxx_cv_func_expf_use+set} != xset; then
72455 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
72456 $as_echo_n "(cached) " >&6
72457 else
72460 ac_ext=cpp
72461 ac_cpp='$CXXCPP $CPPFLAGS'
72462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72467 /* end confdefs.h. */
72468 #include <math.h>
72469 #ifdef HAVE_IEEEFP_H
72470 #include <ieeefp.h>
72471 #endif
72474 main ()
72476 expf(0);
72478 return 0;
72480 _ACEOF
72481 if ac_fn_cxx_try_compile "$LINENO"; then :
72482 glibcxx_cv_func_expf_use=yes
72483 else
72484 glibcxx_cv_func_expf_use=no
72486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72487 ac_ext=c
72488 ac_cpp='$CPP $CPPFLAGS'
72489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
72498 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
72500 if test x$glibcxx_cv_func_expf_use = x"yes"; then
72501 for ac_func in expf
72502 do :
72503 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
72504 if test "x$ac_cv_func_expf" = x""yes; then :
72505 cat >>confdefs.h <<_ACEOF
72506 #define HAVE_EXPF 1
72507 _ACEOF
72510 done
72512 else
72514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
72515 $as_echo_n "checking for _expf declaration... " >&6; }
72516 if test x${glibcxx_cv_func__expf_use+set} != xset; then
72517 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
72518 $as_echo_n "(cached) " >&6
72519 else
72522 ac_ext=cpp
72523 ac_cpp='$CXXCPP $CPPFLAGS'
72524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72529 /* end confdefs.h. */
72530 #include <math.h>
72531 #ifdef HAVE_IEEEFP_H
72532 #include <ieeefp.h>
72533 #endif
72536 main ()
72538 _expf(0);
72540 return 0;
72542 _ACEOF
72543 if ac_fn_cxx_try_compile "$LINENO"; then :
72544 glibcxx_cv_func__expf_use=yes
72545 else
72546 glibcxx_cv_func__expf_use=no
72548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72549 ac_ext=c
72550 ac_cpp='$CPP $CPPFLAGS'
72551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
72560 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
72562 if test x$glibcxx_cv_func__expf_use = x"yes"; then
72563 for ac_func in _expf
72564 do :
72565 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
72566 if test "x$ac_cv_func__expf" = x""yes; then :
72567 cat >>confdefs.h <<_ACEOF
72568 #define HAVE__EXPF 1
72569 _ACEOF
72572 done
72581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
72582 $as_echo_n "checking for isnanf declaration... " >&6; }
72583 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
72584 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
72585 $as_echo_n "(cached) " >&6
72586 else
72589 ac_ext=cpp
72590 ac_cpp='$CXXCPP $CPPFLAGS'
72591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72596 /* end confdefs.h. */
72597 #include <math.h>
72598 #ifdef HAVE_IEEEFP_H
72599 #include <ieeefp.h>
72600 #endif
72603 main ()
72605 isnanf(0);
72607 return 0;
72609 _ACEOF
72610 if ac_fn_cxx_try_compile "$LINENO"; then :
72611 glibcxx_cv_func_isnanf_use=yes
72612 else
72613 glibcxx_cv_func_isnanf_use=no
72615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72616 ac_ext=c
72617 ac_cpp='$CPP $CPPFLAGS'
72618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
72627 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
72629 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
72630 for ac_func in isnanf
72631 do :
72632 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
72633 if test "x$ac_cv_func_isnanf" = x""yes; then :
72634 cat >>confdefs.h <<_ACEOF
72635 #define HAVE_ISNANF 1
72636 _ACEOF
72639 done
72641 else
72643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
72644 $as_echo_n "checking for _isnanf declaration... " >&6; }
72645 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
72646 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
72647 $as_echo_n "(cached) " >&6
72648 else
72651 ac_ext=cpp
72652 ac_cpp='$CXXCPP $CPPFLAGS'
72653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72658 /* end confdefs.h. */
72659 #include <math.h>
72660 #ifdef HAVE_IEEEFP_H
72661 #include <ieeefp.h>
72662 #endif
72665 main ()
72667 _isnanf(0);
72669 return 0;
72671 _ACEOF
72672 if ac_fn_cxx_try_compile "$LINENO"; then :
72673 glibcxx_cv_func__isnanf_use=yes
72674 else
72675 glibcxx_cv_func__isnanf_use=no
72677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72678 ac_ext=c
72679 ac_cpp='$CPP $CPPFLAGS'
72680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
72689 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
72691 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
72692 for ac_func in _isnanf
72693 do :
72694 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
72695 if test "x$ac_cv_func__isnanf" = x""yes; then :
72696 cat >>confdefs.h <<_ACEOF
72697 #define HAVE__ISNANF 1
72698 _ACEOF
72701 done
72710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
72711 $as_echo_n "checking for isinff declaration... " >&6; }
72712 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
72713 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
72714 $as_echo_n "(cached) " >&6
72715 else
72718 ac_ext=cpp
72719 ac_cpp='$CXXCPP $CPPFLAGS'
72720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72725 /* end confdefs.h. */
72726 #include <math.h>
72727 #ifdef HAVE_IEEEFP_H
72728 #include <ieeefp.h>
72729 #endif
72732 main ()
72734 isinff(0);
72736 return 0;
72738 _ACEOF
72739 if ac_fn_cxx_try_compile "$LINENO"; then :
72740 glibcxx_cv_func_isinff_use=yes
72741 else
72742 glibcxx_cv_func_isinff_use=no
72744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72745 ac_ext=c
72746 ac_cpp='$CPP $CPPFLAGS'
72747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
72756 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
72758 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
72759 for ac_func in isinff
72760 do :
72761 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
72762 if test "x$ac_cv_func_isinff" = x""yes; then :
72763 cat >>confdefs.h <<_ACEOF
72764 #define HAVE_ISINFF 1
72765 _ACEOF
72768 done
72770 else
72772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
72773 $as_echo_n "checking for _isinff declaration... " >&6; }
72774 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
72775 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
72776 $as_echo_n "(cached) " >&6
72777 else
72780 ac_ext=cpp
72781 ac_cpp='$CXXCPP $CPPFLAGS'
72782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72787 /* end confdefs.h. */
72788 #include <math.h>
72789 #ifdef HAVE_IEEEFP_H
72790 #include <ieeefp.h>
72791 #endif
72794 main ()
72796 _isinff(0);
72798 return 0;
72800 _ACEOF
72801 if ac_fn_cxx_try_compile "$LINENO"; then :
72802 glibcxx_cv_func__isinff_use=yes
72803 else
72804 glibcxx_cv_func__isinff_use=no
72806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72807 ac_ext=c
72808 ac_cpp='$CPP $CPPFLAGS'
72809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
72818 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
72820 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
72821 for ac_func in _isinff
72822 do :
72823 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
72824 if test "x$ac_cv_func__isinff" = x""yes; then :
72825 cat >>confdefs.h <<_ACEOF
72826 #define HAVE__ISINFF 1
72827 _ACEOF
72830 done
72839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
72840 $as_echo_n "checking for atan2f declaration... " >&6; }
72841 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
72842 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
72843 $as_echo_n "(cached) " >&6
72844 else
72847 ac_ext=cpp
72848 ac_cpp='$CXXCPP $CPPFLAGS'
72849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72854 /* end confdefs.h. */
72855 #include <math.h>
72857 main ()
72859 atan2f(0, 0);
72861 return 0;
72863 _ACEOF
72864 if ac_fn_cxx_try_compile "$LINENO"; then :
72865 glibcxx_cv_func_atan2f_use=yes
72866 else
72867 glibcxx_cv_func_atan2f_use=no
72869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72870 ac_ext=c
72871 ac_cpp='$CPP $CPPFLAGS'
72872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
72881 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
72883 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
72884 for ac_func in atan2f
72885 do :
72886 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
72887 if test "x$ac_cv_func_atan2f" = x""yes; then :
72888 cat >>confdefs.h <<_ACEOF
72889 #define HAVE_ATAN2F 1
72890 _ACEOF
72893 done
72895 else
72897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
72898 $as_echo_n "checking for _atan2f declaration... " >&6; }
72899 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
72900 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
72901 $as_echo_n "(cached) " >&6
72902 else
72905 ac_ext=cpp
72906 ac_cpp='$CXXCPP $CPPFLAGS'
72907 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72908 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72909 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72912 /* end confdefs.h. */
72913 #include <math.h>
72915 main ()
72917 _atan2f(0, 0);
72919 return 0;
72921 _ACEOF
72922 if ac_fn_cxx_try_compile "$LINENO"; then :
72923 glibcxx_cv_func__atan2f_use=yes
72924 else
72925 glibcxx_cv_func__atan2f_use=no
72927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72928 ac_ext=c
72929 ac_cpp='$CPP $CPPFLAGS'
72930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
72939 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
72941 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
72942 for ac_func in _atan2f
72943 do :
72944 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
72945 if test "x$ac_cv_func__atan2f" = x""yes; then :
72946 cat >>confdefs.h <<_ACEOF
72947 #define HAVE__ATAN2F 1
72948 _ACEOF
72951 done
72960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
72961 $as_echo_n "checking for fabsf declaration... " >&6; }
72962 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
72963 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
72964 $as_echo_n "(cached) " >&6
72965 else
72968 ac_ext=cpp
72969 ac_cpp='$CXXCPP $CPPFLAGS'
72970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72975 /* end confdefs.h. */
72976 #include <math.h>
72977 #ifdef HAVE_IEEEFP_H
72978 #include <ieeefp.h>
72979 #endif
72982 main ()
72984 fabsf(0);
72986 return 0;
72988 _ACEOF
72989 if ac_fn_cxx_try_compile "$LINENO"; then :
72990 glibcxx_cv_func_fabsf_use=yes
72991 else
72992 glibcxx_cv_func_fabsf_use=no
72994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72995 ac_ext=c
72996 ac_cpp='$CPP $CPPFLAGS'
72997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
73006 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
73008 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
73009 for ac_func in fabsf
73010 do :
73011 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
73012 if test "x$ac_cv_func_fabsf" = x""yes; then :
73013 cat >>confdefs.h <<_ACEOF
73014 #define HAVE_FABSF 1
73015 _ACEOF
73018 done
73020 else
73022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
73023 $as_echo_n "checking for _fabsf declaration... " >&6; }
73024 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
73025 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
73026 $as_echo_n "(cached) " >&6
73027 else
73030 ac_ext=cpp
73031 ac_cpp='$CXXCPP $CPPFLAGS'
73032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73037 /* end confdefs.h. */
73038 #include <math.h>
73039 #ifdef HAVE_IEEEFP_H
73040 #include <ieeefp.h>
73041 #endif
73044 main ()
73046 _fabsf(0);
73048 return 0;
73050 _ACEOF
73051 if ac_fn_cxx_try_compile "$LINENO"; then :
73052 glibcxx_cv_func__fabsf_use=yes
73053 else
73054 glibcxx_cv_func__fabsf_use=no
73056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73057 ac_ext=c
73058 ac_cpp='$CPP $CPPFLAGS'
73059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
73068 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
73070 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
73071 for ac_func in _fabsf
73072 do :
73073 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
73074 if test "x$ac_cv_func__fabsf" = x""yes; then :
73075 cat >>confdefs.h <<_ACEOF
73076 #define HAVE__FABSF 1
73077 _ACEOF
73080 done
73089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
73090 $as_echo_n "checking for fmodf declaration... " >&6; }
73091 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
73092 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
73093 $as_echo_n "(cached) " >&6
73094 else
73097 ac_ext=cpp
73098 ac_cpp='$CXXCPP $CPPFLAGS'
73099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73104 /* end confdefs.h. */
73105 #include <math.h>
73107 main ()
73109 fmodf(0, 0);
73111 return 0;
73113 _ACEOF
73114 if ac_fn_cxx_try_compile "$LINENO"; then :
73115 glibcxx_cv_func_fmodf_use=yes
73116 else
73117 glibcxx_cv_func_fmodf_use=no
73119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73120 ac_ext=c
73121 ac_cpp='$CPP $CPPFLAGS'
73122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
73131 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
73133 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
73134 for ac_func in fmodf
73135 do :
73136 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
73137 if test "x$ac_cv_func_fmodf" = x""yes; then :
73138 cat >>confdefs.h <<_ACEOF
73139 #define HAVE_FMODF 1
73140 _ACEOF
73143 done
73145 else
73147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
73148 $as_echo_n "checking for _fmodf declaration... " >&6; }
73149 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
73150 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
73151 $as_echo_n "(cached) " >&6
73152 else
73155 ac_ext=cpp
73156 ac_cpp='$CXXCPP $CPPFLAGS'
73157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73162 /* end confdefs.h. */
73163 #include <math.h>
73165 main ()
73167 _fmodf(0, 0);
73169 return 0;
73171 _ACEOF
73172 if ac_fn_cxx_try_compile "$LINENO"; then :
73173 glibcxx_cv_func__fmodf_use=yes
73174 else
73175 glibcxx_cv_func__fmodf_use=no
73177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73178 ac_ext=c
73179 ac_cpp='$CPP $CPPFLAGS'
73180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
73189 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
73191 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
73192 for ac_func in _fmodf
73193 do :
73194 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
73195 if test "x$ac_cv_func__fmodf" = x""yes; then :
73196 cat >>confdefs.h <<_ACEOF
73197 #define HAVE__FMODF 1
73198 _ACEOF
73201 done
73210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
73211 $as_echo_n "checking for frexpf declaration... " >&6; }
73212 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
73213 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
73214 $as_echo_n "(cached) " >&6
73215 else
73218 ac_ext=cpp
73219 ac_cpp='$CXXCPP $CPPFLAGS'
73220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73225 /* end confdefs.h. */
73226 #include <math.h>
73228 main ()
73230 frexpf(0, 0);
73232 return 0;
73234 _ACEOF
73235 if ac_fn_cxx_try_compile "$LINENO"; then :
73236 glibcxx_cv_func_frexpf_use=yes
73237 else
73238 glibcxx_cv_func_frexpf_use=no
73240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73241 ac_ext=c
73242 ac_cpp='$CPP $CPPFLAGS'
73243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
73252 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
73254 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
73255 for ac_func in frexpf
73256 do :
73257 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
73258 if test "x$ac_cv_func_frexpf" = x""yes; then :
73259 cat >>confdefs.h <<_ACEOF
73260 #define HAVE_FREXPF 1
73261 _ACEOF
73264 done
73266 else
73268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
73269 $as_echo_n "checking for _frexpf declaration... " >&6; }
73270 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
73271 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
73272 $as_echo_n "(cached) " >&6
73273 else
73276 ac_ext=cpp
73277 ac_cpp='$CXXCPP $CPPFLAGS'
73278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73283 /* end confdefs.h. */
73284 #include <math.h>
73286 main ()
73288 _frexpf(0, 0);
73290 return 0;
73292 _ACEOF
73293 if ac_fn_cxx_try_compile "$LINENO"; then :
73294 glibcxx_cv_func__frexpf_use=yes
73295 else
73296 glibcxx_cv_func__frexpf_use=no
73298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73299 ac_ext=c
73300 ac_cpp='$CPP $CPPFLAGS'
73301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
73310 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
73312 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
73313 for ac_func in _frexpf
73314 do :
73315 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
73316 if test "x$ac_cv_func__frexpf" = x""yes; then :
73317 cat >>confdefs.h <<_ACEOF
73318 #define HAVE__FREXPF 1
73319 _ACEOF
73322 done
73331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
73332 $as_echo_n "checking for hypotf declaration... " >&6; }
73333 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
73334 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
73335 $as_echo_n "(cached) " >&6
73336 else
73339 ac_ext=cpp
73340 ac_cpp='$CXXCPP $CPPFLAGS'
73341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73346 /* end confdefs.h. */
73347 #include <math.h>
73349 main ()
73351 hypotf(0, 0);
73353 return 0;
73355 _ACEOF
73356 if ac_fn_cxx_try_compile "$LINENO"; then :
73357 glibcxx_cv_func_hypotf_use=yes
73358 else
73359 glibcxx_cv_func_hypotf_use=no
73361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73362 ac_ext=c
73363 ac_cpp='$CPP $CPPFLAGS'
73364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
73373 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
73375 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
73376 for ac_func in hypotf
73377 do :
73378 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
73379 if test "x$ac_cv_func_hypotf" = x""yes; then :
73380 cat >>confdefs.h <<_ACEOF
73381 #define HAVE_HYPOTF 1
73382 _ACEOF
73385 done
73387 else
73389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
73390 $as_echo_n "checking for _hypotf declaration... " >&6; }
73391 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
73392 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
73393 $as_echo_n "(cached) " >&6
73394 else
73397 ac_ext=cpp
73398 ac_cpp='$CXXCPP $CPPFLAGS'
73399 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73400 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73401 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73404 /* end confdefs.h. */
73405 #include <math.h>
73407 main ()
73409 _hypotf(0, 0);
73411 return 0;
73413 _ACEOF
73414 if ac_fn_cxx_try_compile "$LINENO"; then :
73415 glibcxx_cv_func__hypotf_use=yes
73416 else
73417 glibcxx_cv_func__hypotf_use=no
73419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73420 ac_ext=c
73421 ac_cpp='$CPP $CPPFLAGS'
73422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
73431 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
73433 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
73434 for ac_func in _hypotf
73435 do :
73436 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
73437 if test "x$ac_cv_func__hypotf" = x""yes; then :
73438 cat >>confdefs.h <<_ACEOF
73439 #define HAVE__HYPOTF 1
73440 _ACEOF
73443 done
73452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
73453 $as_echo_n "checking for ldexpf declaration... " >&6; }
73454 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
73455 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
73456 $as_echo_n "(cached) " >&6
73457 else
73460 ac_ext=cpp
73461 ac_cpp='$CXXCPP $CPPFLAGS'
73462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73467 /* end confdefs.h. */
73468 #include <math.h>
73470 main ()
73472 ldexpf(0, 0);
73474 return 0;
73476 _ACEOF
73477 if ac_fn_cxx_try_compile "$LINENO"; then :
73478 glibcxx_cv_func_ldexpf_use=yes
73479 else
73480 glibcxx_cv_func_ldexpf_use=no
73482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73483 ac_ext=c
73484 ac_cpp='$CPP $CPPFLAGS'
73485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
73494 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
73496 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
73497 for ac_func in ldexpf
73498 do :
73499 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
73500 if test "x$ac_cv_func_ldexpf" = x""yes; then :
73501 cat >>confdefs.h <<_ACEOF
73502 #define HAVE_LDEXPF 1
73503 _ACEOF
73506 done
73508 else
73510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
73511 $as_echo_n "checking for _ldexpf declaration... " >&6; }
73512 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
73513 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
73514 $as_echo_n "(cached) " >&6
73515 else
73518 ac_ext=cpp
73519 ac_cpp='$CXXCPP $CPPFLAGS'
73520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73525 /* end confdefs.h. */
73526 #include <math.h>
73528 main ()
73530 _ldexpf(0, 0);
73532 return 0;
73534 _ACEOF
73535 if ac_fn_cxx_try_compile "$LINENO"; then :
73536 glibcxx_cv_func__ldexpf_use=yes
73537 else
73538 glibcxx_cv_func__ldexpf_use=no
73540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73541 ac_ext=c
73542 ac_cpp='$CPP $CPPFLAGS'
73543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
73552 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
73554 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
73555 for ac_func in _ldexpf
73556 do :
73557 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
73558 if test "x$ac_cv_func__ldexpf" = x""yes; then :
73559 cat >>confdefs.h <<_ACEOF
73560 #define HAVE__LDEXPF 1
73561 _ACEOF
73564 done
73573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
73574 $as_echo_n "checking for logf declaration... " >&6; }
73575 if test x${glibcxx_cv_func_logf_use+set} != xset; then
73576 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
73577 $as_echo_n "(cached) " >&6
73578 else
73581 ac_ext=cpp
73582 ac_cpp='$CXXCPP $CPPFLAGS'
73583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73588 /* end confdefs.h. */
73589 #include <math.h>
73590 #ifdef HAVE_IEEEFP_H
73591 #include <ieeefp.h>
73592 #endif
73595 main ()
73597 logf(0);
73599 return 0;
73601 _ACEOF
73602 if ac_fn_cxx_try_compile "$LINENO"; then :
73603 glibcxx_cv_func_logf_use=yes
73604 else
73605 glibcxx_cv_func_logf_use=no
73607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73608 ac_ext=c
73609 ac_cpp='$CPP $CPPFLAGS'
73610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
73619 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
73621 if test x$glibcxx_cv_func_logf_use = x"yes"; then
73622 for ac_func in logf
73623 do :
73624 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
73625 if test "x$ac_cv_func_logf" = x""yes; then :
73626 cat >>confdefs.h <<_ACEOF
73627 #define HAVE_LOGF 1
73628 _ACEOF
73631 done
73633 else
73635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
73636 $as_echo_n "checking for _logf declaration... " >&6; }
73637 if test x${glibcxx_cv_func__logf_use+set} != xset; then
73638 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
73639 $as_echo_n "(cached) " >&6
73640 else
73643 ac_ext=cpp
73644 ac_cpp='$CXXCPP $CPPFLAGS'
73645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73650 /* end confdefs.h. */
73651 #include <math.h>
73652 #ifdef HAVE_IEEEFP_H
73653 #include <ieeefp.h>
73654 #endif
73657 main ()
73659 _logf(0);
73661 return 0;
73663 _ACEOF
73664 if ac_fn_cxx_try_compile "$LINENO"; then :
73665 glibcxx_cv_func__logf_use=yes
73666 else
73667 glibcxx_cv_func__logf_use=no
73669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73670 ac_ext=c
73671 ac_cpp='$CPP $CPPFLAGS'
73672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
73681 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
73683 if test x$glibcxx_cv_func__logf_use = x"yes"; then
73684 for ac_func in _logf
73685 do :
73686 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
73687 if test "x$ac_cv_func__logf" = x""yes; then :
73688 cat >>confdefs.h <<_ACEOF
73689 #define HAVE__LOGF 1
73690 _ACEOF
73693 done
73702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
73703 $as_echo_n "checking for log10f declaration... " >&6; }
73704 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
73705 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
73706 $as_echo_n "(cached) " >&6
73707 else
73710 ac_ext=cpp
73711 ac_cpp='$CXXCPP $CPPFLAGS'
73712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73717 /* end confdefs.h. */
73718 #include <math.h>
73719 #ifdef HAVE_IEEEFP_H
73720 #include <ieeefp.h>
73721 #endif
73724 main ()
73726 log10f(0);
73728 return 0;
73730 _ACEOF
73731 if ac_fn_cxx_try_compile "$LINENO"; then :
73732 glibcxx_cv_func_log10f_use=yes
73733 else
73734 glibcxx_cv_func_log10f_use=no
73736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73737 ac_ext=c
73738 ac_cpp='$CPP $CPPFLAGS'
73739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
73748 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
73750 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
73751 for ac_func in log10f
73752 do :
73753 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
73754 if test "x$ac_cv_func_log10f" = x""yes; then :
73755 cat >>confdefs.h <<_ACEOF
73756 #define HAVE_LOG10F 1
73757 _ACEOF
73760 done
73762 else
73764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
73765 $as_echo_n "checking for _log10f declaration... " >&6; }
73766 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
73767 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
73768 $as_echo_n "(cached) " >&6
73769 else
73772 ac_ext=cpp
73773 ac_cpp='$CXXCPP $CPPFLAGS'
73774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73779 /* end confdefs.h. */
73780 #include <math.h>
73781 #ifdef HAVE_IEEEFP_H
73782 #include <ieeefp.h>
73783 #endif
73786 main ()
73788 _log10f(0);
73790 return 0;
73792 _ACEOF
73793 if ac_fn_cxx_try_compile "$LINENO"; then :
73794 glibcxx_cv_func__log10f_use=yes
73795 else
73796 glibcxx_cv_func__log10f_use=no
73798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73799 ac_ext=c
73800 ac_cpp='$CPP $CPPFLAGS'
73801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
73810 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
73812 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
73813 for ac_func in _log10f
73814 do :
73815 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
73816 if test "x$ac_cv_func__log10f" = x""yes; then :
73817 cat >>confdefs.h <<_ACEOF
73818 #define HAVE__LOG10F 1
73819 _ACEOF
73822 done
73831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
73832 $as_echo_n "checking for modff declaration... " >&6; }
73833 if test x${glibcxx_cv_func_modff_use+set} != xset; then
73834 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
73835 $as_echo_n "(cached) " >&6
73836 else
73839 ac_ext=cpp
73840 ac_cpp='$CXXCPP $CPPFLAGS'
73841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73846 /* end confdefs.h. */
73847 #include <math.h>
73849 main ()
73851 modff(0, 0);
73853 return 0;
73855 _ACEOF
73856 if ac_fn_cxx_try_compile "$LINENO"; then :
73857 glibcxx_cv_func_modff_use=yes
73858 else
73859 glibcxx_cv_func_modff_use=no
73861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73862 ac_ext=c
73863 ac_cpp='$CPP $CPPFLAGS'
73864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
73873 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
73875 if test x$glibcxx_cv_func_modff_use = x"yes"; then
73876 for ac_func in modff
73877 do :
73878 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
73879 if test "x$ac_cv_func_modff" = x""yes; then :
73880 cat >>confdefs.h <<_ACEOF
73881 #define HAVE_MODFF 1
73882 _ACEOF
73885 done
73887 else
73889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
73890 $as_echo_n "checking for _modff declaration... " >&6; }
73891 if test x${glibcxx_cv_func__modff_use+set} != xset; then
73892 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
73893 $as_echo_n "(cached) " >&6
73894 else
73897 ac_ext=cpp
73898 ac_cpp='$CXXCPP $CPPFLAGS'
73899 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73900 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73901 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73904 /* end confdefs.h. */
73905 #include <math.h>
73907 main ()
73909 _modff(0, 0);
73911 return 0;
73913 _ACEOF
73914 if ac_fn_cxx_try_compile "$LINENO"; then :
73915 glibcxx_cv_func__modff_use=yes
73916 else
73917 glibcxx_cv_func__modff_use=no
73919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73920 ac_ext=c
73921 ac_cpp='$CPP $CPPFLAGS'
73922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
73931 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
73933 if test x$glibcxx_cv_func__modff_use = x"yes"; then
73934 for ac_func in _modff
73935 do :
73936 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
73937 if test "x$ac_cv_func__modff" = x""yes; then :
73938 cat >>confdefs.h <<_ACEOF
73939 #define HAVE__MODFF 1
73940 _ACEOF
73943 done
73952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
73953 $as_echo_n "checking for modf declaration... " >&6; }
73954 if test x${glibcxx_cv_func_modf_use+set} != xset; then
73955 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
73956 $as_echo_n "(cached) " >&6
73957 else
73960 ac_ext=cpp
73961 ac_cpp='$CXXCPP $CPPFLAGS'
73962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73967 /* end confdefs.h. */
73968 #include <math.h>
73970 main ()
73972 modf(0, 0);
73974 return 0;
73976 _ACEOF
73977 if ac_fn_cxx_try_compile "$LINENO"; then :
73978 glibcxx_cv_func_modf_use=yes
73979 else
73980 glibcxx_cv_func_modf_use=no
73982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73983 ac_ext=c
73984 ac_cpp='$CPP $CPPFLAGS'
73985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
73994 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
73996 if test x$glibcxx_cv_func_modf_use = x"yes"; then
73997 for ac_func in modf
73998 do :
73999 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
74000 if test "x$ac_cv_func_modf" = x""yes; then :
74001 cat >>confdefs.h <<_ACEOF
74002 #define HAVE_MODF 1
74003 _ACEOF
74006 done
74008 else
74010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
74011 $as_echo_n "checking for _modf declaration... " >&6; }
74012 if test x${glibcxx_cv_func__modf_use+set} != xset; then
74013 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
74014 $as_echo_n "(cached) " >&6
74015 else
74018 ac_ext=cpp
74019 ac_cpp='$CXXCPP $CPPFLAGS'
74020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74025 /* end confdefs.h. */
74026 #include <math.h>
74028 main ()
74030 _modf(0, 0);
74032 return 0;
74034 _ACEOF
74035 if ac_fn_cxx_try_compile "$LINENO"; then :
74036 glibcxx_cv_func__modf_use=yes
74037 else
74038 glibcxx_cv_func__modf_use=no
74040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74041 ac_ext=c
74042 ac_cpp='$CPP $CPPFLAGS'
74043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
74052 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
74054 if test x$glibcxx_cv_func__modf_use = x"yes"; then
74055 for ac_func in _modf
74056 do :
74057 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
74058 if test "x$ac_cv_func__modf" = x""yes; then :
74059 cat >>confdefs.h <<_ACEOF
74060 #define HAVE__MODF 1
74061 _ACEOF
74064 done
74073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
74074 $as_echo_n "checking for powf declaration... " >&6; }
74075 if test x${glibcxx_cv_func_powf_use+set} != xset; then
74076 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
74077 $as_echo_n "(cached) " >&6
74078 else
74081 ac_ext=cpp
74082 ac_cpp='$CXXCPP $CPPFLAGS'
74083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74088 /* end confdefs.h. */
74089 #include <math.h>
74091 main ()
74093 powf(0, 0);
74095 return 0;
74097 _ACEOF
74098 if ac_fn_cxx_try_compile "$LINENO"; then :
74099 glibcxx_cv_func_powf_use=yes
74100 else
74101 glibcxx_cv_func_powf_use=no
74103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74104 ac_ext=c
74105 ac_cpp='$CPP $CPPFLAGS'
74106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
74115 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
74117 if test x$glibcxx_cv_func_powf_use = x"yes"; then
74118 for ac_func in powf
74119 do :
74120 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
74121 if test "x$ac_cv_func_powf" = x""yes; then :
74122 cat >>confdefs.h <<_ACEOF
74123 #define HAVE_POWF 1
74124 _ACEOF
74127 done
74129 else
74131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
74132 $as_echo_n "checking for _powf declaration... " >&6; }
74133 if test x${glibcxx_cv_func__powf_use+set} != xset; then
74134 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
74135 $as_echo_n "(cached) " >&6
74136 else
74139 ac_ext=cpp
74140 ac_cpp='$CXXCPP $CPPFLAGS'
74141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74146 /* end confdefs.h. */
74147 #include <math.h>
74149 main ()
74151 _powf(0, 0);
74153 return 0;
74155 _ACEOF
74156 if ac_fn_cxx_try_compile "$LINENO"; then :
74157 glibcxx_cv_func__powf_use=yes
74158 else
74159 glibcxx_cv_func__powf_use=no
74161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74162 ac_ext=c
74163 ac_cpp='$CPP $CPPFLAGS'
74164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
74173 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
74175 if test x$glibcxx_cv_func__powf_use = x"yes"; then
74176 for ac_func in _powf
74177 do :
74178 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
74179 if test "x$ac_cv_func__powf" = x""yes; then :
74180 cat >>confdefs.h <<_ACEOF
74181 #define HAVE__POWF 1
74182 _ACEOF
74185 done
74194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
74195 $as_echo_n "checking for sqrtf declaration... " >&6; }
74196 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
74197 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
74198 $as_echo_n "(cached) " >&6
74199 else
74202 ac_ext=cpp
74203 ac_cpp='$CXXCPP $CPPFLAGS'
74204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74209 /* end confdefs.h. */
74210 #include <math.h>
74211 #ifdef HAVE_IEEEFP_H
74212 #include <ieeefp.h>
74213 #endif
74216 main ()
74218 sqrtf(0);
74220 return 0;
74222 _ACEOF
74223 if ac_fn_cxx_try_compile "$LINENO"; then :
74224 glibcxx_cv_func_sqrtf_use=yes
74225 else
74226 glibcxx_cv_func_sqrtf_use=no
74228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74229 ac_ext=c
74230 ac_cpp='$CPP $CPPFLAGS'
74231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
74240 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
74242 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
74243 for ac_func in sqrtf
74244 do :
74245 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
74246 if test "x$ac_cv_func_sqrtf" = x""yes; then :
74247 cat >>confdefs.h <<_ACEOF
74248 #define HAVE_SQRTF 1
74249 _ACEOF
74252 done
74254 else
74256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
74257 $as_echo_n "checking for _sqrtf declaration... " >&6; }
74258 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
74259 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
74260 $as_echo_n "(cached) " >&6
74261 else
74264 ac_ext=cpp
74265 ac_cpp='$CXXCPP $CPPFLAGS'
74266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74271 /* end confdefs.h. */
74272 #include <math.h>
74273 #ifdef HAVE_IEEEFP_H
74274 #include <ieeefp.h>
74275 #endif
74278 main ()
74280 _sqrtf(0);
74282 return 0;
74284 _ACEOF
74285 if ac_fn_cxx_try_compile "$LINENO"; then :
74286 glibcxx_cv_func__sqrtf_use=yes
74287 else
74288 glibcxx_cv_func__sqrtf_use=no
74290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74291 ac_ext=c
74292 ac_cpp='$CPP $CPPFLAGS'
74293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
74302 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
74304 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
74305 for ac_func in _sqrtf
74306 do :
74307 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
74308 if test "x$ac_cv_func__sqrtf" = x""yes; then :
74309 cat >>confdefs.h <<_ACEOF
74310 #define HAVE__SQRTF 1
74311 _ACEOF
74314 done
74323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
74324 $as_echo_n "checking for sincosf declaration... " >&6; }
74325 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
74326 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
74327 $as_echo_n "(cached) " >&6
74328 else
74331 ac_ext=cpp
74332 ac_cpp='$CXXCPP $CPPFLAGS'
74333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74338 /* end confdefs.h. */
74339 #include <math.h>
74341 main ()
74343 sincosf(0, 0, 0);
74345 return 0;
74347 _ACEOF
74348 if ac_fn_cxx_try_compile "$LINENO"; then :
74349 glibcxx_cv_func_sincosf_use=yes
74350 else
74351 glibcxx_cv_func_sincosf_use=no
74353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74354 ac_ext=c
74355 ac_cpp='$CPP $CPPFLAGS'
74356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
74365 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
74367 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
74368 for ac_func in sincosf
74369 do :
74370 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
74371 if test "x$ac_cv_func_sincosf" = x""yes; then :
74372 cat >>confdefs.h <<_ACEOF
74373 #define HAVE_SINCOSF 1
74374 _ACEOF
74377 done
74379 else
74381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
74382 $as_echo_n "checking for _sincosf declaration... " >&6; }
74383 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
74384 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
74385 $as_echo_n "(cached) " >&6
74386 else
74389 ac_ext=cpp
74390 ac_cpp='$CXXCPP $CPPFLAGS'
74391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74396 /* end confdefs.h. */
74397 #include <math.h>
74399 main ()
74401 _sincosf(0, 0, 0);
74403 return 0;
74405 _ACEOF
74406 if ac_fn_cxx_try_compile "$LINENO"; then :
74407 glibcxx_cv_func__sincosf_use=yes
74408 else
74409 glibcxx_cv_func__sincosf_use=no
74411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74412 ac_ext=c
74413 ac_cpp='$CPP $CPPFLAGS'
74414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
74423 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
74425 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
74426 for ac_func in _sincosf
74427 do :
74428 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
74429 if test "x$ac_cv_func__sincosf" = x""yes; then :
74430 cat >>confdefs.h <<_ACEOF
74431 #define HAVE__SINCOSF 1
74432 _ACEOF
74435 done
74444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
74445 $as_echo_n "checking for finitef declaration... " >&6; }
74446 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
74447 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
74448 $as_echo_n "(cached) " >&6
74449 else
74452 ac_ext=cpp
74453 ac_cpp='$CXXCPP $CPPFLAGS'
74454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74459 /* end confdefs.h. */
74460 #include <math.h>
74461 #ifdef HAVE_IEEEFP_H
74462 #include <ieeefp.h>
74463 #endif
74466 main ()
74468 finitef(0);
74470 return 0;
74472 _ACEOF
74473 if ac_fn_cxx_try_compile "$LINENO"; then :
74474 glibcxx_cv_func_finitef_use=yes
74475 else
74476 glibcxx_cv_func_finitef_use=no
74478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74479 ac_ext=c
74480 ac_cpp='$CPP $CPPFLAGS'
74481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
74490 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
74492 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
74493 for ac_func in finitef
74494 do :
74495 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
74496 if test "x$ac_cv_func_finitef" = x""yes; then :
74497 cat >>confdefs.h <<_ACEOF
74498 #define HAVE_FINITEF 1
74499 _ACEOF
74502 done
74504 else
74506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
74507 $as_echo_n "checking for _finitef declaration... " >&6; }
74508 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
74509 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
74510 $as_echo_n "(cached) " >&6
74511 else
74514 ac_ext=cpp
74515 ac_cpp='$CXXCPP $CPPFLAGS'
74516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74521 /* end confdefs.h. */
74522 #include <math.h>
74523 #ifdef HAVE_IEEEFP_H
74524 #include <ieeefp.h>
74525 #endif
74528 main ()
74530 _finitef(0);
74532 return 0;
74534 _ACEOF
74535 if ac_fn_cxx_try_compile "$LINENO"; then :
74536 glibcxx_cv_func__finitef_use=yes
74537 else
74538 glibcxx_cv_func__finitef_use=no
74540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74541 ac_ext=c
74542 ac_cpp='$CPP $CPPFLAGS'
74543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
74552 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
74554 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
74555 for ac_func in _finitef
74556 do :
74557 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
74558 if test "x$ac_cv_func__finitef" = x""yes; then :
74559 cat >>confdefs.h <<_ACEOF
74560 #define HAVE__FINITEF 1
74561 _ACEOF
74564 done
74573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
74574 $as_echo_n "checking for long double trig functions... " >&6; }
74575 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
74576 $as_echo_n "(cached) " >&6
74577 else
74580 ac_ext=cpp
74581 ac_cpp='$CXXCPP $CPPFLAGS'
74582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74587 /* end confdefs.h. */
74588 #include <math.h>
74590 main ()
74592 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
74594 return 0;
74596 _ACEOF
74597 if ac_fn_cxx_try_compile "$LINENO"; then :
74598 glibcxx_cv_func_long_double_trig_use=yes
74599 else
74600 glibcxx_cv_func_long_double_trig_use=no
74602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74603 ac_ext=c
74604 ac_cpp='$CPP $CPPFLAGS'
74605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
74612 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
74613 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
74614 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
74615 do :
74616 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
74617 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
74618 eval as_val=\$$as_ac_var
74619 if test "x$as_val" = x""yes; then :
74620 cat >>confdefs.h <<_ACEOF
74621 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
74622 _ACEOF
74625 done
74627 else
74628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
74629 $as_echo_n "checking for _long double trig functions... " >&6; }
74630 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
74631 $as_echo_n "(cached) " >&6
74632 else
74635 ac_ext=cpp
74636 ac_cpp='$CXXCPP $CPPFLAGS'
74637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74642 /* end confdefs.h. */
74643 #include <math.h>
74645 main ()
74647 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
74649 return 0;
74651 _ACEOF
74652 if ac_fn_cxx_try_compile "$LINENO"; then :
74653 glibcxx_cv_func__long_double_trig_use=yes
74654 else
74655 glibcxx_cv_func__long_double_trig_use=no
74657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74658 ac_ext=c
74659 ac_cpp='$CPP $CPPFLAGS'
74660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
74667 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
74668 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
74669 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
74670 do :
74671 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
74672 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
74673 eval as_val=\$$as_ac_var
74674 if test "x$as_val" = x""yes; then :
74675 cat >>confdefs.h <<_ACEOF
74676 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
74677 _ACEOF
74680 done
74689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
74690 $as_echo_n "checking for long double round functions... " >&6; }
74691 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
74692 $as_echo_n "(cached) " >&6
74693 else
74696 ac_ext=cpp
74697 ac_cpp='$CXXCPP $CPPFLAGS'
74698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74703 /* end confdefs.h. */
74704 #include <math.h>
74706 main ()
74708 ceill (0); floorl (0);
74710 return 0;
74712 _ACEOF
74713 if ac_fn_cxx_try_compile "$LINENO"; then :
74714 glibcxx_cv_func_long_double_round_use=yes
74715 else
74716 glibcxx_cv_func_long_double_round_use=no
74718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74719 ac_ext=c
74720 ac_cpp='$CPP $CPPFLAGS'
74721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
74728 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
74729 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
74730 for ac_func in ceill floorl
74731 do :
74732 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
74733 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
74734 eval as_val=\$$as_ac_var
74735 if test "x$as_val" = x""yes; then :
74736 cat >>confdefs.h <<_ACEOF
74737 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
74738 _ACEOF
74741 done
74743 else
74744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
74745 $as_echo_n "checking for _long double round functions... " >&6; }
74746 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
74747 $as_echo_n "(cached) " >&6
74748 else
74751 ac_ext=cpp
74752 ac_cpp='$CXXCPP $CPPFLAGS'
74753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74758 /* end confdefs.h. */
74759 #include <math.h>
74761 main ()
74763 _ceill (0); _floorl (0);
74765 return 0;
74767 _ACEOF
74768 if ac_fn_cxx_try_compile "$LINENO"; then :
74769 glibcxx_cv_func__long_double_round_use=yes
74770 else
74771 glibcxx_cv_func__long_double_round_use=no
74773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74774 ac_ext=c
74775 ac_cpp='$CPP $CPPFLAGS'
74776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
74783 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
74784 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
74785 for ac_func in _ceill _floorl
74786 do :
74787 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
74788 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
74789 eval as_val=\$$as_ac_var
74790 if test "x$as_val" = x""yes; then :
74791 cat >>confdefs.h <<_ACEOF
74792 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
74793 _ACEOF
74796 done
74806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
74807 $as_echo_n "checking for isnanl declaration... " >&6; }
74808 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
74809 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
74810 $as_echo_n "(cached) " >&6
74811 else
74814 ac_ext=cpp
74815 ac_cpp='$CXXCPP $CPPFLAGS'
74816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74821 /* end confdefs.h. */
74822 #include <math.h>
74823 #ifdef HAVE_IEEEFP_H
74824 #include <ieeefp.h>
74825 #endif
74828 main ()
74830 isnanl(0);
74832 return 0;
74834 _ACEOF
74835 if ac_fn_cxx_try_compile "$LINENO"; then :
74836 glibcxx_cv_func_isnanl_use=yes
74837 else
74838 glibcxx_cv_func_isnanl_use=no
74840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74841 ac_ext=c
74842 ac_cpp='$CPP $CPPFLAGS'
74843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
74852 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
74854 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
74855 for ac_func in isnanl
74856 do :
74857 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
74858 if test "x$ac_cv_func_isnanl" = x""yes; then :
74859 cat >>confdefs.h <<_ACEOF
74860 #define HAVE_ISNANL 1
74861 _ACEOF
74864 done
74866 else
74868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
74869 $as_echo_n "checking for _isnanl declaration... " >&6; }
74870 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
74871 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
74872 $as_echo_n "(cached) " >&6
74873 else
74876 ac_ext=cpp
74877 ac_cpp='$CXXCPP $CPPFLAGS'
74878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74883 /* end confdefs.h. */
74884 #include <math.h>
74885 #ifdef HAVE_IEEEFP_H
74886 #include <ieeefp.h>
74887 #endif
74890 main ()
74892 _isnanl(0);
74894 return 0;
74896 _ACEOF
74897 if ac_fn_cxx_try_compile "$LINENO"; then :
74898 glibcxx_cv_func__isnanl_use=yes
74899 else
74900 glibcxx_cv_func__isnanl_use=no
74902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74903 ac_ext=c
74904 ac_cpp='$CPP $CPPFLAGS'
74905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
74914 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
74916 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
74917 for ac_func in _isnanl
74918 do :
74919 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
74920 if test "x$ac_cv_func__isnanl" = x""yes; then :
74921 cat >>confdefs.h <<_ACEOF
74922 #define HAVE__ISNANL 1
74923 _ACEOF
74926 done
74935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
74936 $as_echo_n "checking for isinfl declaration... " >&6; }
74937 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
74938 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
74939 $as_echo_n "(cached) " >&6
74940 else
74943 ac_ext=cpp
74944 ac_cpp='$CXXCPP $CPPFLAGS'
74945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74950 /* end confdefs.h. */
74951 #include <math.h>
74952 #ifdef HAVE_IEEEFP_H
74953 #include <ieeefp.h>
74954 #endif
74957 main ()
74959 isinfl(0);
74961 return 0;
74963 _ACEOF
74964 if ac_fn_cxx_try_compile "$LINENO"; then :
74965 glibcxx_cv_func_isinfl_use=yes
74966 else
74967 glibcxx_cv_func_isinfl_use=no
74969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74970 ac_ext=c
74971 ac_cpp='$CPP $CPPFLAGS'
74972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
74981 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
74983 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
74984 for ac_func in isinfl
74985 do :
74986 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
74987 if test "x$ac_cv_func_isinfl" = x""yes; then :
74988 cat >>confdefs.h <<_ACEOF
74989 #define HAVE_ISINFL 1
74990 _ACEOF
74993 done
74995 else
74997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
74998 $as_echo_n "checking for _isinfl declaration... " >&6; }
74999 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
75000 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
75001 $as_echo_n "(cached) " >&6
75002 else
75005 ac_ext=cpp
75006 ac_cpp='$CXXCPP $CPPFLAGS'
75007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75012 /* end confdefs.h. */
75013 #include <math.h>
75014 #ifdef HAVE_IEEEFP_H
75015 #include <ieeefp.h>
75016 #endif
75019 main ()
75021 _isinfl(0);
75023 return 0;
75025 _ACEOF
75026 if ac_fn_cxx_try_compile "$LINENO"; then :
75027 glibcxx_cv_func__isinfl_use=yes
75028 else
75029 glibcxx_cv_func__isinfl_use=no
75031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75032 ac_ext=c
75033 ac_cpp='$CPP $CPPFLAGS'
75034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
75043 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
75045 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
75046 for ac_func in _isinfl
75047 do :
75048 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
75049 if test "x$ac_cv_func__isinfl" = x""yes; then :
75050 cat >>confdefs.h <<_ACEOF
75051 #define HAVE__ISINFL 1
75052 _ACEOF
75055 done
75064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
75065 $as_echo_n "checking for atan2l declaration... " >&6; }
75066 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
75067 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
75068 $as_echo_n "(cached) " >&6
75069 else
75072 ac_ext=cpp
75073 ac_cpp='$CXXCPP $CPPFLAGS'
75074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75079 /* end confdefs.h. */
75080 #include <math.h>
75082 main ()
75084 atan2l(0, 0);
75086 return 0;
75088 _ACEOF
75089 if ac_fn_cxx_try_compile "$LINENO"; then :
75090 glibcxx_cv_func_atan2l_use=yes
75091 else
75092 glibcxx_cv_func_atan2l_use=no
75094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75095 ac_ext=c
75096 ac_cpp='$CPP $CPPFLAGS'
75097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
75106 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
75108 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
75109 for ac_func in atan2l
75110 do :
75111 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
75112 if test "x$ac_cv_func_atan2l" = x""yes; then :
75113 cat >>confdefs.h <<_ACEOF
75114 #define HAVE_ATAN2L 1
75115 _ACEOF
75118 done
75120 else
75122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
75123 $as_echo_n "checking for _atan2l declaration... " >&6; }
75124 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
75125 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
75126 $as_echo_n "(cached) " >&6
75127 else
75130 ac_ext=cpp
75131 ac_cpp='$CXXCPP $CPPFLAGS'
75132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75137 /* end confdefs.h. */
75138 #include <math.h>
75140 main ()
75142 _atan2l(0, 0);
75144 return 0;
75146 _ACEOF
75147 if ac_fn_cxx_try_compile "$LINENO"; then :
75148 glibcxx_cv_func__atan2l_use=yes
75149 else
75150 glibcxx_cv_func__atan2l_use=no
75152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75153 ac_ext=c
75154 ac_cpp='$CPP $CPPFLAGS'
75155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
75164 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
75166 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
75167 for ac_func in _atan2l
75168 do :
75169 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
75170 if test "x$ac_cv_func__atan2l" = x""yes; then :
75171 cat >>confdefs.h <<_ACEOF
75172 #define HAVE__ATAN2L 1
75173 _ACEOF
75176 done
75185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
75186 $as_echo_n "checking for expl declaration... " >&6; }
75187 if test x${glibcxx_cv_func_expl_use+set} != xset; then
75188 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
75189 $as_echo_n "(cached) " >&6
75190 else
75193 ac_ext=cpp
75194 ac_cpp='$CXXCPP $CPPFLAGS'
75195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75200 /* end confdefs.h. */
75201 #include <math.h>
75202 #ifdef HAVE_IEEEFP_H
75203 #include <ieeefp.h>
75204 #endif
75207 main ()
75209 expl(0);
75211 return 0;
75213 _ACEOF
75214 if ac_fn_cxx_try_compile "$LINENO"; then :
75215 glibcxx_cv_func_expl_use=yes
75216 else
75217 glibcxx_cv_func_expl_use=no
75219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75220 ac_ext=c
75221 ac_cpp='$CPP $CPPFLAGS'
75222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
75231 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
75233 if test x$glibcxx_cv_func_expl_use = x"yes"; then
75234 for ac_func in expl
75235 do :
75236 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
75237 if test "x$ac_cv_func_expl" = x""yes; then :
75238 cat >>confdefs.h <<_ACEOF
75239 #define HAVE_EXPL 1
75240 _ACEOF
75243 done
75245 else
75247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
75248 $as_echo_n "checking for _expl declaration... " >&6; }
75249 if test x${glibcxx_cv_func__expl_use+set} != xset; then
75250 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
75251 $as_echo_n "(cached) " >&6
75252 else
75255 ac_ext=cpp
75256 ac_cpp='$CXXCPP $CPPFLAGS'
75257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75262 /* end confdefs.h. */
75263 #include <math.h>
75264 #ifdef HAVE_IEEEFP_H
75265 #include <ieeefp.h>
75266 #endif
75269 main ()
75271 _expl(0);
75273 return 0;
75275 _ACEOF
75276 if ac_fn_cxx_try_compile "$LINENO"; then :
75277 glibcxx_cv_func__expl_use=yes
75278 else
75279 glibcxx_cv_func__expl_use=no
75281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75282 ac_ext=c
75283 ac_cpp='$CPP $CPPFLAGS'
75284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
75293 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
75295 if test x$glibcxx_cv_func__expl_use = x"yes"; then
75296 for ac_func in _expl
75297 do :
75298 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
75299 if test "x$ac_cv_func__expl" = x""yes; then :
75300 cat >>confdefs.h <<_ACEOF
75301 #define HAVE__EXPL 1
75302 _ACEOF
75305 done
75314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
75315 $as_echo_n "checking for fabsl declaration... " >&6; }
75316 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
75317 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
75318 $as_echo_n "(cached) " >&6
75319 else
75322 ac_ext=cpp
75323 ac_cpp='$CXXCPP $CPPFLAGS'
75324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75329 /* end confdefs.h. */
75330 #include <math.h>
75331 #ifdef HAVE_IEEEFP_H
75332 #include <ieeefp.h>
75333 #endif
75336 main ()
75338 fabsl(0);
75340 return 0;
75342 _ACEOF
75343 if ac_fn_cxx_try_compile "$LINENO"; then :
75344 glibcxx_cv_func_fabsl_use=yes
75345 else
75346 glibcxx_cv_func_fabsl_use=no
75348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75349 ac_ext=c
75350 ac_cpp='$CPP $CPPFLAGS'
75351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
75360 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
75362 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
75363 for ac_func in fabsl
75364 do :
75365 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
75366 if test "x$ac_cv_func_fabsl" = x""yes; then :
75367 cat >>confdefs.h <<_ACEOF
75368 #define HAVE_FABSL 1
75369 _ACEOF
75372 done
75374 else
75376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
75377 $as_echo_n "checking for _fabsl declaration... " >&6; }
75378 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
75379 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
75380 $as_echo_n "(cached) " >&6
75381 else
75384 ac_ext=cpp
75385 ac_cpp='$CXXCPP $CPPFLAGS'
75386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75391 /* end confdefs.h. */
75392 #include <math.h>
75393 #ifdef HAVE_IEEEFP_H
75394 #include <ieeefp.h>
75395 #endif
75398 main ()
75400 _fabsl(0);
75402 return 0;
75404 _ACEOF
75405 if ac_fn_cxx_try_compile "$LINENO"; then :
75406 glibcxx_cv_func__fabsl_use=yes
75407 else
75408 glibcxx_cv_func__fabsl_use=no
75410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75411 ac_ext=c
75412 ac_cpp='$CPP $CPPFLAGS'
75413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
75422 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
75424 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
75425 for ac_func in _fabsl
75426 do :
75427 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
75428 if test "x$ac_cv_func__fabsl" = x""yes; then :
75429 cat >>confdefs.h <<_ACEOF
75430 #define HAVE__FABSL 1
75431 _ACEOF
75434 done
75443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
75444 $as_echo_n "checking for fmodl declaration... " >&6; }
75445 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
75446 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
75447 $as_echo_n "(cached) " >&6
75448 else
75451 ac_ext=cpp
75452 ac_cpp='$CXXCPP $CPPFLAGS'
75453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75458 /* end confdefs.h. */
75459 #include <math.h>
75461 main ()
75463 fmodl(0, 0);
75465 return 0;
75467 _ACEOF
75468 if ac_fn_cxx_try_compile "$LINENO"; then :
75469 glibcxx_cv_func_fmodl_use=yes
75470 else
75471 glibcxx_cv_func_fmodl_use=no
75473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75474 ac_ext=c
75475 ac_cpp='$CPP $CPPFLAGS'
75476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
75485 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
75487 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
75488 for ac_func in fmodl
75489 do :
75490 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
75491 if test "x$ac_cv_func_fmodl" = x""yes; then :
75492 cat >>confdefs.h <<_ACEOF
75493 #define HAVE_FMODL 1
75494 _ACEOF
75497 done
75499 else
75501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
75502 $as_echo_n "checking for _fmodl declaration... " >&6; }
75503 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
75504 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
75505 $as_echo_n "(cached) " >&6
75506 else
75509 ac_ext=cpp
75510 ac_cpp='$CXXCPP $CPPFLAGS'
75511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75516 /* end confdefs.h. */
75517 #include <math.h>
75519 main ()
75521 _fmodl(0, 0);
75523 return 0;
75525 _ACEOF
75526 if ac_fn_cxx_try_compile "$LINENO"; then :
75527 glibcxx_cv_func__fmodl_use=yes
75528 else
75529 glibcxx_cv_func__fmodl_use=no
75531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75532 ac_ext=c
75533 ac_cpp='$CPP $CPPFLAGS'
75534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
75543 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
75545 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
75546 for ac_func in _fmodl
75547 do :
75548 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
75549 if test "x$ac_cv_func__fmodl" = x""yes; then :
75550 cat >>confdefs.h <<_ACEOF
75551 #define HAVE__FMODL 1
75552 _ACEOF
75555 done
75564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
75565 $as_echo_n "checking for frexpl declaration... " >&6; }
75566 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
75567 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
75568 $as_echo_n "(cached) " >&6
75569 else
75572 ac_ext=cpp
75573 ac_cpp='$CXXCPP $CPPFLAGS'
75574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75579 /* end confdefs.h. */
75580 #include <math.h>
75582 main ()
75584 frexpl(0, 0);
75586 return 0;
75588 _ACEOF
75589 if ac_fn_cxx_try_compile "$LINENO"; then :
75590 glibcxx_cv_func_frexpl_use=yes
75591 else
75592 glibcxx_cv_func_frexpl_use=no
75594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75595 ac_ext=c
75596 ac_cpp='$CPP $CPPFLAGS'
75597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
75606 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
75608 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
75609 for ac_func in frexpl
75610 do :
75611 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
75612 if test "x$ac_cv_func_frexpl" = x""yes; then :
75613 cat >>confdefs.h <<_ACEOF
75614 #define HAVE_FREXPL 1
75615 _ACEOF
75618 done
75620 else
75622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
75623 $as_echo_n "checking for _frexpl declaration... " >&6; }
75624 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
75625 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
75626 $as_echo_n "(cached) " >&6
75627 else
75630 ac_ext=cpp
75631 ac_cpp='$CXXCPP $CPPFLAGS'
75632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75637 /* end confdefs.h. */
75638 #include <math.h>
75640 main ()
75642 _frexpl(0, 0);
75644 return 0;
75646 _ACEOF
75647 if ac_fn_cxx_try_compile "$LINENO"; then :
75648 glibcxx_cv_func__frexpl_use=yes
75649 else
75650 glibcxx_cv_func__frexpl_use=no
75652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75653 ac_ext=c
75654 ac_cpp='$CPP $CPPFLAGS'
75655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
75664 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
75666 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
75667 for ac_func in _frexpl
75668 do :
75669 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
75670 if test "x$ac_cv_func__frexpl" = x""yes; then :
75671 cat >>confdefs.h <<_ACEOF
75672 #define HAVE__FREXPL 1
75673 _ACEOF
75676 done
75685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
75686 $as_echo_n "checking for hypotl declaration... " >&6; }
75687 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
75688 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
75689 $as_echo_n "(cached) " >&6
75690 else
75693 ac_ext=cpp
75694 ac_cpp='$CXXCPP $CPPFLAGS'
75695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75700 /* end confdefs.h. */
75701 #include <math.h>
75703 main ()
75705 hypotl(0, 0);
75707 return 0;
75709 _ACEOF
75710 if ac_fn_cxx_try_compile "$LINENO"; then :
75711 glibcxx_cv_func_hypotl_use=yes
75712 else
75713 glibcxx_cv_func_hypotl_use=no
75715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75716 ac_ext=c
75717 ac_cpp='$CPP $CPPFLAGS'
75718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
75727 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
75729 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
75730 for ac_func in hypotl
75731 do :
75732 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
75733 if test "x$ac_cv_func_hypotl" = x""yes; then :
75734 cat >>confdefs.h <<_ACEOF
75735 #define HAVE_HYPOTL 1
75736 _ACEOF
75739 done
75741 else
75743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
75744 $as_echo_n "checking for _hypotl declaration... " >&6; }
75745 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
75746 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
75747 $as_echo_n "(cached) " >&6
75748 else
75751 ac_ext=cpp
75752 ac_cpp='$CXXCPP $CPPFLAGS'
75753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75758 /* end confdefs.h. */
75759 #include <math.h>
75761 main ()
75763 _hypotl(0, 0);
75765 return 0;
75767 _ACEOF
75768 if ac_fn_cxx_try_compile "$LINENO"; then :
75769 glibcxx_cv_func__hypotl_use=yes
75770 else
75771 glibcxx_cv_func__hypotl_use=no
75773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75774 ac_ext=c
75775 ac_cpp='$CPP $CPPFLAGS'
75776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
75785 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
75787 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
75788 for ac_func in _hypotl
75789 do :
75790 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
75791 if test "x$ac_cv_func__hypotl" = x""yes; then :
75792 cat >>confdefs.h <<_ACEOF
75793 #define HAVE__HYPOTL 1
75794 _ACEOF
75797 done
75806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
75807 $as_echo_n "checking for ldexpl declaration... " >&6; }
75808 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
75809 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
75810 $as_echo_n "(cached) " >&6
75811 else
75814 ac_ext=cpp
75815 ac_cpp='$CXXCPP $CPPFLAGS'
75816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75821 /* end confdefs.h. */
75822 #include <math.h>
75824 main ()
75826 ldexpl(0, 0);
75828 return 0;
75830 _ACEOF
75831 if ac_fn_cxx_try_compile "$LINENO"; then :
75832 glibcxx_cv_func_ldexpl_use=yes
75833 else
75834 glibcxx_cv_func_ldexpl_use=no
75836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75837 ac_ext=c
75838 ac_cpp='$CPP $CPPFLAGS'
75839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
75848 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
75850 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
75851 for ac_func in ldexpl
75852 do :
75853 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
75854 if test "x$ac_cv_func_ldexpl" = x""yes; then :
75855 cat >>confdefs.h <<_ACEOF
75856 #define HAVE_LDEXPL 1
75857 _ACEOF
75860 done
75862 else
75864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
75865 $as_echo_n "checking for _ldexpl declaration... " >&6; }
75866 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
75867 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
75868 $as_echo_n "(cached) " >&6
75869 else
75872 ac_ext=cpp
75873 ac_cpp='$CXXCPP $CPPFLAGS'
75874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75879 /* end confdefs.h. */
75880 #include <math.h>
75882 main ()
75884 _ldexpl(0, 0);
75886 return 0;
75888 _ACEOF
75889 if ac_fn_cxx_try_compile "$LINENO"; then :
75890 glibcxx_cv_func__ldexpl_use=yes
75891 else
75892 glibcxx_cv_func__ldexpl_use=no
75894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75895 ac_ext=c
75896 ac_cpp='$CPP $CPPFLAGS'
75897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
75906 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
75908 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
75909 for ac_func in _ldexpl
75910 do :
75911 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
75912 if test "x$ac_cv_func__ldexpl" = x""yes; then :
75913 cat >>confdefs.h <<_ACEOF
75914 #define HAVE__LDEXPL 1
75915 _ACEOF
75918 done
75927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
75928 $as_echo_n "checking for logl declaration... " >&6; }
75929 if test x${glibcxx_cv_func_logl_use+set} != xset; then
75930 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
75931 $as_echo_n "(cached) " >&6
75932 else
75935 ac_ext=cpp
75936 ac_cpp='$CXXCPP $CPPFLAGS'
75937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75942 /* end confdefs.h. */
75943 #include <math.h>
75944 #ifdef HAVE_IEEEFP_H
75945 #include <ieeefp.h>
75946 #endif
75949 main ()
75951 logl(0);
75953 return 0;
75955 _ACEOF
75956 if ac_fn_cxx_try_compile "$LINENO"; then :
75957 glibcxx_cv_func_logl_use=yes
75958 else
75959 glibcxx_cv_func_logl_use=no
75961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75962 ac_ext=c
75963 ac_cpp='$CPP $CPPFLAGS'
75964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
75973 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
75975 if test x$glibcxx_cv_func_logl_use = x"yes"; then
75976 for ac_func in logl
75977 do :
75978 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
75979 if test "x$ac_cv_func_logl" = x""yes; then :
75980 cat >>confdefs.h <<_ACEOF
75981 #define HAVE_LOGL 1
75982 _ACEOF
75985 done
75987 else
75989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
75990 $as_echo_n "checking for _logl declaration... " >&6; }
75991 if test x${glibcxx_cv_func__logl_use+set} != xset; then
75992 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
75993 $as_echo_n "(cached) " >&6
75994 else
75997 ac_ext=cpp
75998 ac_cpp='$CXXCPP $CPPFLAGS'
75999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76004 /* end confdefs.h. */
76005 #include <math.h>
76006 #ifdef HAVE_IEEEFP_H
76007 #include <ieeefp.h>
76008 #endif
76011 main ()
76013 _logl(0);
76015 return 0;
76017 _ACEOF
76018 if ac_fn_cxx_try_compile "$LINENO"; then :
76019 glibcxx_cv_func__logl_use=yes
76020 else
76021 glibcxx_cv_func__logl_use=no
76023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76024 ac_ext=c
76025 ac_cpp='$CPP $CPPFLAGS'
76026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
76035 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
76037 if test x$glibcxx_cv_func__logl_use = x"yes"; then
76038 for ac_func in _logl
76039 do :
76040 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
76041 if test "x$ac_cv_func__logl" = x""yes; then :
76042 cat >>confdefs.h <<_ACEOF
76043 #define HAVE__LOGL 1
76044 _ACEOF
76047 done
76056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
76057 $as_echo_n "checking for log10l declaration... " >&6; }
76058 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
76059 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
76060 $as_echo_n "(cached) " >&6
76061 else
76064 ac_ext=cpp
76065 ac_cpp='$CXXCPP $CPPFLAGS'
76066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76071 /* end confdefs.h. */
76072 #include <math.h>
76073 #ifdef HAVE_IEEEFP_H
76074 #include <ieeefp.h>
76075 #endif
76078 main ()
76080 log10l(0);
76082 return 0;
76084 _ACEOF
76085 if ac_fn_cxx_try_compile "$LINENO"; then :
76086 glibcxx_cv_func_log10l_use=yes
76087 else
76088 glibcxx_cv_func_log10l_use=no
76090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76091 ac_ext=c
76092 ac_cpp='$CPP $CPPFLAGS'
76093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
76102 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
76104 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
76105 for ac_func in log10l
76106 do :
76107 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
76108 if test "x$ac_cv_func_log10l" = x""yes; then :
76109 cat >>confdefs.h <<_ACEOF
76110 #define HAVE_LOG10L 1
76111 _ACEOF
76114 done
76116 else
76118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
76119 $as_echo_n "checking for _log10l declaration... " >&6; }
76120 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
76121 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
76122 $as_echo_n "(cached) " >&6
76123 else
76126 ac_ext=cpp
76127 ac_cpp='$CXXCPP $CPPFLAGS'
76128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76133 /* end confdefs.h. */
76134 #include <math.h>
76135 #ifdef HAVE_IEEEFP_H
76136 #include <ieeefp.h>
76137 #endif
76140 main ()
76142 _log10l(0);
76144 return 0;
76146 _ACEOF
76147 if ac_fn_cxx_try_compile "$LINENO"; then :
76148 glibcxx_cv_func__log10l_use=yes
76149 else
76150 glibcxx_cv_func__log10l_use=no
76152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76153 ac_ext=c
76154 ac_cpp='$CPP $CPPFLAGS'
76155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
76164 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
76166 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
76167 for ac_func in _log10l
76168 do :
76169 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
76170 if test "x$ac_cv_func__log10l" = x""yes; then :
76171 cat >>confdefs.h <<_ACEOF
76172 #define HAVE__LOG10L 1
76173 _ACEOF
76176 done
76185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
76186 $as_echo_n "checking for modfl declaration... " >&6; }
76187 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
76188 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
76189 $as_echo_n "(cached) " >&6
76190 else
76193 ac_ext=cpp
76194 ac_cpp='$CXXCPP $CPPFLAGS'
76195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76200 /* end confdefs.h. */
76201 #include <math.h>
76203 main ()
76205 modfl(0, 0);
76207 return 0;
76209 _ACEOF
76210 if ac_fn_cxx_try_compile "$LINENO"; then :
76211 glibcxx_cv_func_modfl_use=yes
76212 else
76213 glibcxx_cv_func_modfl_use=no
76215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76216 ac_ext=c
76217 ac_cpp='$CPP $CPPFLAGS'
76218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
76227 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
76229 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
76230 for ac_func in modfl
76231 do :
76232 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
76233 if test "x$ac_cv_func_modfl" = x""yes; then :
76234 cat >>confdefs.h <<_ACEOF
76235 #define HAVE_MODFL 1
76236 _ACEOF
76239 done
76241 else
76243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
76244 $as_echo_n "checking for _modfl declaration... " >&6; }
76245 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
76246 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
76247 $as_echo_n "(cached) " >&6
76248 else
76251 ac_ext=cpp
76252 ac_cpp='$CXXCPP $CPPFLAGS'
76253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76258 /* end confdefs.h. */
76259 #include <math.h>
76261 main ()
76263 _modfl(0, 0);
76265 return 0;
76267 _ACEOF
76268 if ac_fn_cxx_try_compile "$LINENO"; then :
76269 glibcxx_cv_func__modfl_use=yes
76270 else
76271 glibcxx_cv_func__modfl_use=no
76273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76274 ac_ext=c
76275 ac_cpp='$CPP $CPPFLAGS'
76276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
76285 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
76287 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
76288 for ac_func in _modfl
76289 do :
76290 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
76291 if test "x$ac_cv_func__modfl" = x""yes; then :
76292 cat >>confdefs.h <<_ACEOF
76293 #define HAVE__MODFL 1
76294 _ACEOF
76297 done
76306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
76307 $as_echo_n "checking for powl declaration... " >&6; }
76308 if test x${glibcxx_cv_func_powl_use+set} != xset; then
76309 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
76310 $as_echo_n "(cached) " >&6
76311 else
76314 ac_ext=cpp
76315 ac_cpp='$CXXCPP $CPPFLAGS'
76316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76321 /* end confdefs.h. */
76322 #include <math.h>
76324 main ()
76326 powl(0, 0);
76328 return 0;
76330 _ACEOF
76331 if ac_fn_cxx_try_compile "$LINENO"; then :
76332 glibcxx_cv_func_powl_use=yes
76333 else
76334 glibcxx_cv_func_powl_use=no
76336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76337 ac_ext=c
76338 ac_cpp='$CPP $CPPFLAGS'
76339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
76348 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
76350 if test x$glibcxx_cv_func_powl_use = x"yes"; then
76351 for ac_func in powl
76352 do :
76353 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
76354 if test "x$ac_cv_func_powl" = x""yes; then :
76355 cat >>confdefs.h <<_ACEOF
76356 #define HAVE_POWL 1
76357 _ACEOF
76360 done
76362 else
76364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
76365 $as_echo_n "checking for _powl declaration... " >&6; }
76366 if test x${glibcxx_cv_func__powl_use+set} != xset; then
76367 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
76368 $as_echo_n "(cached) " >&6
76369 else
76372 ac_ext=cpp
76373 ac_cpp='$CXXCPP $CPPFLAGS'
76374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76379 /* end confdefs.h. */
76380 #include <math.h>
76382 main ()
76384 _powl(0, 0);
76386 return 0;
76388 _ACEOF
76389 if ac_fn_cxx_try_compile "$LINENO"; then :
76390 glibcxx_cv_func__powl_use=yes
76391 else
76392 glibcxx_cv_func__powl_use=no
76394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76395 ac_ext=c
76396 ac_cpp='$CPP $CPPFLAGS'
76397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
76406 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
76408 if test x$glibcxx_cv_func__powl_use = x"yes"; then
76409 for ac_func in _powl
76410 do :
76411 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
76412 if test "x$ac_cv_func__powl" = x""yes; then :
76413 cat >>confdefs.h <<_ACEOF
76414 #define HAVE__POWL 1
76415 _ACEOF
76418 done
76427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
76428 $as_echo_n "checking for sqrtl declaration... " >&6; }
76429 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
76430 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
76431 $as_echo_n "(cached) " >&6
76432 else
76435 ac_ext=cpp
76436 ac_cpp='$CXXCPP $CPPFLAGS'
76437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76442 /* end confdefs.h. */
76443 #include <math.h>
76444 #ifdef HAVE_IEEEFP_H
76445 #include <ieeefp.h>
76446 #endif
76449 main ()
76451 sqrtl(0);
76453 return 0;
76455 _ACEOF
76456 if ac_fn_cxx_try_compile "$LINENO"; then :
76457 glibcxx_cv_func_sqrtl_use=yes
76458 else
76459 glibcxx_cv_func_sqrtl_use=no
76461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76462 ac_ext=c
76463 ac_cpp='$CPP $CPPFLAGS'
76464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
76473 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
76475 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
76476 for ac_func in sqrtl
76477 do :
76478 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
76479 if test "x$ac_cv_func_sqrtl" = x""yes; then :
76480 cat >>confdefs.h <<_ACEOF
76481 #define HAVE_SQRTL 1
76482 _ACEOF
76485 done
76487 else
76489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
76490 $as_echo_n "checking for _sqrtl declaration... " >&6; }
76491 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
76492 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
76493 $as_echo_n "(cached) " >&6
76494 else
76497 ac_ext=cpp
76498 ac_cpp='$CXXCPP $CPPFLAGS'
76499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76504 /* end confdefs.h. */
76505 #include <math.h>
76506 #ifdef HAVE_IEEEFP_H
76507 #include <ieeefp.h>
76508 #endif
76511 main ()
76513 _sqrtl(0);
76515 return 0;
76517 _ACEOF
76518 if ac_fn_cxx_try_compile "$LINENO"; then :
76519 glibcxx_cv_func__sqrtl_use=yes
76520 else
76521 glibcxx_cv_func__sqrtl_use=no
76523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76524 ac_ext=c
76525 ac_cpp='$CPP $CPPFLAGS'
76526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
76535 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
76537 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
76538 for ac_func in _sqrtl
76539 do :
76540 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
76541 if test "x$ac_cv_func__sqrtl" = x""yes; then :
76542 cat >>confdefs.h <<_ACEOF
76543 #define HAVE__SQRTL 1
76544 _ACEOF
76547 done
76556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
76557 $as_echo_n "checking for sincosl declaration... " >&6; }
76558 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
76559 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
76560 $as_echo_n "(cached) " >&6
76561 else
76564 ac_ext=cpp
76565 ac_cpp='$CXXCPP $CPPFLAGS'
76566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76571 /* end confdefs.h. */
76572 #include <math.h>
76574 main ()
76576 sincosl(0, 0, 0);
76578 return 0;
76580 _ACEOF
76581 if ac_fn_cxx_try_compile "$LINENO"; then :
76582 glibcxx_cv_func_sincosl_use=yes
76583 else
76584 glibcxx_cv_func_sincosl_use=no
76586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76587 ac_ext=c
76588 ac_cpp='$CPP $CPPFLAGS'
76589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
76598 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
76600 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
76601 for ac_func in sincosl
76602 do :
76603 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
76604 if test "x$ac_cv_func_sincosl" = x""yes; then :
76605 cat >>confdefs.h <<_ACEOF
76606 #define HAVE_SINCOSL 1
76607 _ACEOF
76610 done
76612 else
76614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
76615 $as_echo_n "checking for _sincosl declaration... " >&6; }
76616 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
76617 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
76618 $as_echo_n "(cached) " >&6
76619 else
76622 ac_ext=cpp
76623 ac_cpp='$CXXCPP $CPPFLAGS'
76624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76629 /* end confdefs.h. */
76630 #include <math.h>
76632 main ()
76634 _sincosl(0, 0, 0);
76636 return 0;
76638 _ACEOF
76639 if ac_fn_cxx_try_compile "$LINENO"; then :
76640 glibcxx_cv_func__sincosl_use=yes
76641 else
76642 glibcxx_cv_func__sincosl_use=no
76644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76645 ac_ext=c
76646 ac_cpp='$CPP $CPPFLAGS'
76647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
76656 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
76658 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
76659 for ac_func in _sincosl
76660 do :
76661 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
76662 if test "x$ac_cv_func__sincosl" = x""yes; then :
76663 cat >>confdefs.h <<_ACEOF
76664 #define HAVE__SINCOSL 1
76665 _ACEOF
76668 done
76677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
76678 $as_echo_n "checking for finitel declaration... " >&6; }
76679 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
76680 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
76681 $as_echo_n "(cached) " >&6
76682 else
76685 ac_ext=cpp
76686 ac_cpp='$CXXCPP $CPPFLAGS'
76687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76692 /* end confdefs.h. */
76693 #include <math.h>
76694 #ifdef HAVE_IEEEFP_H
76695 #include <ieeefp.h>
76696 #endif
76699 main ()
76701 finitel(0);
76703 return 0;
76705 _ACEOF
76706 if ac_fn_cxx_try_compile "$LINENO"; then :
76707 glibcxx_cv_func_finitel_use=yes
76708 else
76709 glibcxx_cv_func_finitel_use=no
76711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76712 ac_ext=c
76713 ac_cpp='$CPP $CPPFLAGS'
76714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
76723 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
76725 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
76726 for ac_func in finitel
76727 do :
76728 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
76729 if test "x$ac_cv_func_finitel" = x""yes; then :
76730 cat >>confdefs.h <<_ACEOF
76731 #define HAVE_FINITEL 1
76732 _ACEOF
76735 done
76737 else
76739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
76740 $as_echo_n "checking for _finitel declaration... " >&6; }
76741 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
76742 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
76743 $as_echo_n "(cached) " >&6
76744 else
76747 ac_ext=cpp
76748 ac_cpp='$CXXCPP $CPPFLAGS'
76749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76754 /* end confdefs.h. */
76755 #include <math.h>
76756 #ifdef HAVE_IEEEFP_H
76757 #include <ieeefp.h>
76758 #endif
76761 main ()
76763 _finitel(0);
76765 return 0;
76767 _ACEOF
76768 if ac_fn_cxx_try_compile "$LINENO"; then :
76769 glibcxx_cv_func__finitel_use=yes
76770 else
76771 glibcxx_cv_func__finitel_use=no
76773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76774 ac_ext=c
76775 ac_cpp='$CPP $CPPFLAGS'
76776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
76785 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
76787 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
76788 for ac_func in _finitel
76789 do :
76790 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
76791 if test "x$ac_cv_func__finitel" = x""yes; then :
76792 cat >>confdefs.h <<_ACEOF
76793 #define HAVE__FINITEL 1
76794 _ACEOF
76797 done
76805 LIBS="$ac_save_LIBS"
76806 CXXFLAGS="$ac_save_CXXFLAGS"
76809 ac_test_CXXFLAGS="${CXXFLAGS+set}"
76810 ac_save_CXXFLAGS="$CXXFLAGS"
76811 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
76814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
76815 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
76816 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
76817 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
76818 $as_echo_n "(cached) " >&6
76819 else
76822 ac_ext=cpp
76823 ac_cpp='$CXXCPP $CPPFLAGS'
76824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76829 /* end confdefs.h. */
76830 #include <stdlib.h>
76832 main ()
76834 at_quick_exit(0);
76836 return 0;
76838 _ACEOF
76839 if ac_fn_cxx_try_compile "$LINENO"; then :
76840 glibcxx_cv_func_at_quick_exit_use=yes
76841 else
76842 glibcxx_cv_func_at_quick_exit_use=no
76844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76845 ac_ext=c
76846 ac_cpp='$CPP $CPPFLAGS'
76847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
76856 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
76857 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
76858 for ac_func in at_quick_exit
76859 do :
76860 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
76861 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
76862 cat >>confdefs.h <<_ACEOF
76863 #define HAVE_AT_QUICK_EXIT 1
76864 _ACEOF
76867 done
76872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
76873 $as_echo_n "checking for quick_exit declaration... " >&6; }
76874 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
76875 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
76876 $as_echo_n "(cached) " >&6
76877 else
76880 ac_ext=cpp
76881 ac_cpp='$CXXCPP $CPPFLAGS'
76882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76887 /* end confdefs.h. */
76888 #include <stdlib.h>
76890 main ()
76892 quick_exit(0);
76894 return 0;
76896 _ACEOF
76897 if ac_fn_cxx_try_compile "$LINENO"; then :
76898 glibcxx_cv_func_quick_exit_use=yes
76899 else
76900 glibcxx_cv_func_quick_exit_use=no
76902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76903 ac_ext=c
76904 ac_cpp='$CPP $CPPFLAGS'
76905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
76914 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
76915 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
76916 for ac_func in quick_exit
76917 do :
76918 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
76919 if test "x$ac_cv_func_quick_exit" = x""yes; then :
76920 cat >>confdefs.h <<_ACEOF
76921 #define HAVE_QUICK_EXIT 1
76922 _ACEOF
76925 done
76930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
76931 $as_echo_n "checking for strtold declaration... " >&6; }
76932 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
76933 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
76934 $as_echo_n "(cached) " >&6
76935 else
76938 ac_ext=cpp
76939 ac_cpp='$CXXCPP $CPPFLAGS'
76940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76945 /* end confdefs.h. */
76946 #include <stdlib.h>
76948 main ()
76950 strtold(0, 0);
76952 return 0;
76954 _ACEOF
76955 if ac_fn_cxx_try_compile "$LINENO"; then :
76956 glibcxx_cv_func_strtold_use=yes
76957 else
76958 glibcxx_cv_func_strtold_use=no
76960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76961 ac_ext=c
76962 ac_cpp='$CPP $CPPFLAGS'
76963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
76972 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
76973 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
76974 for ac_func in strtold
76975 do :
76976 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
76977 if test "x$ac_cv_func_strtold" = x""yes; then :
76978 cat >>confdefs.h <<_ACEOF
76979 #define HAVE_STRTOLD 1
76980 _ACEOF
76983 done
76990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
76991 $as_echo_n "checking for strtof declaration... " >&6; }
76992 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
76993 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
76994 $as_echo_n "(cached) " >&6
76995 else
76998 ac_ext=cpp
76999 ac_cpp='$CXXCPP $CPPFLAGS'
77000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77005 /* end confdefs.h. */
77006 #include <stdlib.h>
77008 main ()
77010 strtof(0, 0);
77012 return 0;
77014 _ACEOF
77015 if ac_fn_cxx_try_compile "$LINENO"; then :
77016 glibcxx_cv_func_strtof_use=yes
77017 else
77018 glibcxx_cv_func_strtof_use=no
77020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77021 ac_ext=c
77022 ac_cpp='$CPP $CPPFLAGS'
77023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
77032 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
77033 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
77034 for ac_func in strtof
77035 do :
77036 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
77037 if test "x$ac_cv_func_strtof" = x""yes; then :
77038 cat >>confdefs.h <<_ACEOF
77039 #define HAVE_STRTOF 1
77040 _ACEOF
77043 done
77050 CXXFLAGS="$ac_save_CXXFLAGS"
77053 *-vxworks)
77054 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
77056 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
77058 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
77060 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
77062 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
77064 $as_echo "#define HAVE_COSF 1" >>confdefs.h
77066 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
77068 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
77070 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
77072 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
77074 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
77076 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
77078 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
77080 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
77082 $as_echo "#define HAVE_POWF 1" >>confdefs.h
77084 $as_echo "#define HAVE_SINF 1" >>confdefs.h
77086 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
77088 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
77090 $as_echo "#define HAVE_TANF 1" >>confdefs.h
77092 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
77096 as_fn_error "No support for this host/target combination." "$LINENO" 5
77098 esac
77102 # At some point, we should differentiate between architectures
77103 # like x86, which have long double versions, and alpha/powerpc/etc.,
77104 # which don't. For the time being, punt.
77105 if test x"long_double_math_on_this_cpu" = x"yes"; then
77106 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
77108 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
77110 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
77112 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
77114 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
77116 $as_echo "#define HAVE_COSL 1" >>confdefs.h
77118 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
77120 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
77122 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
77124 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
77126 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
77128 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
77130 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
77132 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
77134 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
77136 $as_echo "#define HAVE_MODFL 1" >>confdefs.h
77138 $as_echo "#define HAVE_POWL 1" >>confdefs.h
77140 $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
77142 $as_echo "#define HAVE_SINL 1" >>confdefs.h
77144 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
77146 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
77148 $as_echo "#define HAVE_TANL 1" >>confdefs.h
77150 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
77155 # Check for _Unwind_GetIPInfo.
77158 # Check whether --with-system-libunwind was given.
77159 if test "${with_system_libunwind+set}" = set; then :
77160 withval=$with_system_libunwind;
77163 # If system-libunwind was not specifically set, pick a default setting.
77164 if test x$with_system_libunwind = x; then
77165 case ${target} in
77166 ia64-*-hpux*) with_system_libunwind=yes ;;
77167 *) with_system_libunwind=no ;;
77168 esac
77170 # Based on system-libunwind and target, do we have ipinfo?
77171 if test x$with_system_libunwind = xyes; then
77172 case ${target} in
77173 ia64-*-*) have_unwind_getipinfo=no ;;
77174 *) have_unwind_getipinfo=yes ;;
77175 esac
77176 else
77177 # Darwin before version 9 does not have _Unwind_GetIPInfo.
77179 case ${target} in
77180 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
77181 *) have_unwind_getipinfo=yes ;;
77182 esac
77186 if test x$have_unwind_getipinfo = xyes; then
77188 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
77193 # Check whether --enable-linux-futex was given.
77194 if test "${enable_linux_futex+set}" = set; then :
77195 enableval=$enable_linux_futex;
77196 case "$enableval" in
77197 yes|no|default) ;;
77198 *) as_fn_error "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
77199 esac
77201 else
77202 enable_linux_futex=default
77206 case "$target" in
77207 *-linux*)
77208 case "$enable_linux_futex" in
77209 default)
77210 # If headers don't have gettid/futex syscalls definition, then
77211 # default to no, otherwise there will be compile time failures.
77212 # Otherwise, default to yes. If we don't detect we are
77213 # compiled/linked against NPTL and not cross-compiling, check
77214 # if programs are run by default against NPTL and if not, issue
77215 # a warning.
77216 enable_linux_futex=no
77217 if test x$gcc_no_link = xyes; then
77218 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
77220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77221 /* end confdefs.h. */
77222 #include <sys/syscall.h>
77223 int lk;
77225 main ()
77227 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
77229 return 0;
77231 _ACEOF
77232 if ac_fn_c_try_link "$LINENO"; then :
77233 save_LIBS="$LIBS"
77234 LIBS="-lpthread $LIBS"
77235 if test x$gcc_no_link = xyes; then
77236 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
77238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77239 /* end confdefs.h. */
77240 #ifndef _GNU_SOURCE
77241 #define _GNU_SOURCE 1
77242 #endif
77243 #include <pthread.h>
77244 pthread_t th; void *status;
77246 main ()
77248 pthread_tryjoin_np (th, &status);
77250 return 0;
77252 _ACEOF
77253 if ac_fn_c_try_link "$LINENO"; then :
77254 enable_linux_futex=yes
77255 else
77256 if test x$cross_compiling = xno; then
77257 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
77258 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
77259 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
77260 If so, please configure with --disable-linux-futex" >&5
77261 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
77262 If so, please configure with --disable-linux-futex" >&2;}
77265 enable_linux_futex=yes
77267 rm -f core conftest.err conftest.$ac_objext \
77268 conftest$ac_exeext conftest.$ac_ext
77269 LIBS="$save_LIBS"
77271 rm -f core conftest.err conftest.$ac_objext \
77272 conftest$ac_exeext conftest.$ac_ext
77274 yes)
77275 if test x$gcc_no_link = xyes; then
77276 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
77278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77279 /* end confdefs.h. */
77280 #include <sys/syscall.h>
77281 int lk;
77283 main ()
77285 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
77287 return 0;
77289 _ACEOF
77290 if ac_fn_c_try_link "$LINENO"; then :
77292 else
77293 as_fn_error "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
77295 rm -f core conftest.err conftest.$ac_objext \
77296 conftest$ac_exeext conftest.$ac_ext
77298 esac
77301 enable_linux_futex=no
77303 esac
77304 if test x$enable_linux_futex = xyes; then
77306 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
77313 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
77315 acx_cv_header_stdint=stddef.h
77316 acx_cv_header_stdint_kind="(already complete)"
77317 for i in stdint.h $inttype_headers; do
77318 unset ac_cv_type_uintptr_t
77319 unset ac_cv_type_uintmax_t
77320 unset ac_cv_type_int_least32_t
77321 unset ac_cv_type_int_fast32_t
77322 unset ac_cv_type_uint64_t
77323 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
77324 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
77325 #include <$i>
77327 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
77328 acx_cv_header_stdint=$i
77329 else
77330 continue
77333 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
77334 #include <$i>
77336 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
77338 else
77339 acx_cv_header_stdint_kind="(mostly complete)"
77342 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
77343 #include <$i>
77345 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
77347 else
77348 acx_cv_header_stdint_kind="(mostly complete)"
77351 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
77352 #include <$i>
77354 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
77356 else
77357 acx_cv_header_stdint_kind="(mostly complete)"
77360 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
77361 #include <$i>
77363 if test "x$ac_cv_type_uint64_t" = x""yes; then :
77365 else
77366 acx_cv_header_stdint_kind="(lacks uint64_t)"
77369 break
77370 done
77371 if test "$acx_cv_header_stdint" = stddef.h; then
77372 acx_cv_header_stdint_kind="(lacks uintmax_t)"
77373 for i in stdint.h $inttype_headers; do
77374 unset ac_cv_type_uintptr_t
77375 unset ac_cv_type_uint32_t
77376 unset ac_cv_type_uint64_t
77377 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
77378 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
77379 #include <$i>
77381 if test "x$ac_cv_type_uint32_t" = x""yes; then :
77382 acx_cv_header_stdint=$i
77383 else
77384 continue
77387 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
77388 #include <$i>
77390 if test "x$ac_cv_type_uint64_t" = x""yes; then :
77394 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
77395 #include <$i>
77397 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
77401 break
77402 done
77404 if test "$acx_cv_header_stdint" = stddef.h; then
77405 acx_cv_header_stdint_kind="(u_intXX_t style)"
77406 for i in sys/types.h $inttype_headers; do
77407 unset ac_cv_type_u_int32_t
77408 unset ac_cv_type_u_int64_t
77409 $as_echo_n "looking for u_intXX_t types in $i, " >&6
77410 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
77411 #include <$i>
77413 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
77414 acx_cv_header_stdint=$i
77415 else
77416 continue
77419 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
77420 #include <$i>
77422 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
77426 break
77427 done
77429 if test "$acx_cv_header_stdint" = stddef.h; then
77430 acx_cv_header_stdint_kind="(using manual detection)"
77433 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
77434 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
77435 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
77436 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
77437 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
77439 # ----------------- Summarize what we found so far
77441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
77442 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
77444 case `$as_basename -- include/gstdint.h ||
77445 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
77446 Xinclude/gstdint.h : 'X\(//\)$' \| \
77447 Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
77448 $as_echo X/include/gstdint.h |
77449 sed '/^.*\/\([^/][^/]*\)\/*$/{
77450 s//\1/
77453 /^X\/\(\/\/\)$/{
77454 s//\1/
77457 /^X\/\(\/\).*/{
77458 s//\1/
77461 s/.*/./; q'` in
77462 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
77463 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
77464 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
77465 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
77466 *) ;;
77467 esac
77469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
77470 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
77472 # ----------------- done included file, check C basic types --------
77474 # Lacking an uintptr_t? Test size of void *
77475 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
77476 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
77477 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
77478 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
77479 # This bug is HP SR number 8606223364.
77480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
77481 $as_echo_n "checking size of void *... " >&6; }
77482 if test "${ac_cv_sizeof_void_p+set}" = set; then :
77483 $as_echo_n "(cached) " >&6
77484 else
77485 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
77487 else
77488 if test "$ac_cv_type_void_p" = yes; then
77489 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
77490 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
77491 { as_fn_set_status 77
77492 as_fn_error "cannot compute sizeof (void *)
77493 See \`config.log' for more details." "$LINENO" 5; }; }
77494 else
77495 ac_cv_sizeof_void_p=0
77500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
77501 $as_echo "$ac_cv_sizeof_void_p" >&6; }
77505 cat >>confdefs.h <<_ACEOF
77506 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
77507 _ACEOF
77510 esac
77512 # Lacking an uint64_t? Test size of long
77513 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
77514 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
77515 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
77516 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
77517 # This bug is HP SR number 8606223364.
77518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
77519 $as_echo_n "checking size of long... " >&6; }
77520 if test "${ac_cv_sizeof_long+set}" = set; then :
77521 $as_echo_n "(cached) " >&6
77522 else
77523 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
77525 else
77526 if test "$ac_cv_type_long" = yes; then
77527 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
77528 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
77529 { as_fn_set_status 77
77530 as_fn_error "cannot compute sizeof (long)
77531 See \`config.log' for more details." "$LINENO" 5; }; }
77532 else
77533 ac_cv_sizeof_long=0
77538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
77539 $as_echo "$ac_cv_sizeof_long" >&6; }
77543 cat >>confdefs.h <<_ACEOF
77544 #define SIZEOF_LONG $ac_cv_sizeof_long
77545 _ACEOF
77548 esac
77550 if test $acx_cv_header_stdint = stddef.h; then
77551 # Lacking a good header? Test size of everything and deduce all types.
77552 # The cast to long int works around a bug in the HP C Compiler
77553 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
77554 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
77555 # This bug is HP SR number 8606223364.
77556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
77557 $as_echo_n "checking size of int... " >&6; }
77558 if test "${ac_cv_sizeof_int+set}" = set; then :
77559 $as_echo_n "(cached) " >&6
77560 else
77561 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
77563 else
77564 if test "$ac_cv_type_int" = yes; then
77565 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
77566 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
77567 { as_fn_set_status 77
77568 as_fn_error "cannot compute sizeof (int)
77569 See \`config.log' for more details." "$LINENO" 5; }; }
77570 else
77571 ac_cv_sizeof_int=0
77576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
77577 $as_echo "$ac_cv_sizeof_int" >&6; }
77581 cat >>confdefs.h <<_ACEOF
77582 #define SIZEOF_INT $ac_cv_sizeof_int
77583 _ACEOF
77586 # The cast to long int works around a bug in the HP C Compiler
77587 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
77588 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
77589 # This bug is HP SR number 8606223364.
77590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
77591 $as_echo_n "checking size of short... " >&6; }
77592 if test "${ac_cv_sizeof_short+set}" = set; then :
77593 $as_echo_n "(cached) " >&6
77594 else
77595 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
77597 else
77598 if test "$ac_cv_type_short" = yes; then
77599 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
77600 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
77601 { as_fn_set_status 77
77602 as_fn_error "cannot compute sizeof (short)
77603 See \`config.log' for more details." "$LINENO" 5; }; }
77604 else
77605 ac_cv_sizeof_short=0
77610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
77611 $as_echo "$ac_cv_sizeof_short" >&6; }
77615 cat >>confdefs.h <<_ACEOF
77616 #define SIZEOF_SHORT $ac_cv_sizeof_short
77617 _ACEOF
77620 # The cast to long int works around a bug in the HP C Compiler
77621 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
77622 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
77623 # This bug is HP SR number 8606223364.
77624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
77625 $as_echo_n "checking size of char... " >&6; }
77626 if test "${ac_cv_sizeof_char+set}" = set; then :
77627 $as_echo_n "(cached) " >&6
77628 else
77629 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
77631 else
77632 if test "$ac_cv_type_char" = yes; then
77633 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
77634 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
77635 { as_fn_set_status 77
77636 as_fn_error "cannot compute sizeof (char)
77637 See \`config.log' for more details." "$LINENO" 5; }; }
77638 else
77639 ac_cv_sizeof_char=0
77644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
77645 $as_echo "$ac_cv_sizeof_char" >&6; }
77649 cat >>confdefs.h <<_ACEOF
77650 #define SIZEOF_CHAR $ac_cv_sizeof_char
77651 _ACEOF
77655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
77656 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
77657 case "$ac_cv_sizeof_char" in
77658 1) acx_cv_type_int8_t=char ;;
77659 *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
77660 esac
77661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
77662 $as_echo "$acx_cv_type_int8_t" >&6; }
77664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
77665 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
77666 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
77667 2:*) acx_cv_type_int16_t=int ;;
77668 *:2) acx_cv_type_int16_t=short ;;
77669 *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
77670 esac
77671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
77672 $as_echo "$acx_cv_type_int16_t" >&6; }
77674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
77675 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
77676 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
77677 4:*) acx_cv_type_int32_t=int ;;
77678 *:4) acx_cv_type_int32_t=long ;;
77679 *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
77680 esac
77681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
77682 $as_echo "$acx_cv_type_int32_t" >&6; }
77685 # These tests are here to make the output prettier
77687 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
77688 case "$ac_cv_sizeof_long" in
77689 8) acx_cv_type_int64_t=long ;;
77690 esac
77691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
77692 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
77693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
77694 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
77697 # Now we can use the above types
77699 if test "$ac_cv_type_uintptr_t" != yes; then
77700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
77701 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
77702 case $ac_cv_sizeof_void_p in
77703 2) acx_cv_type_intptr_t=int16_t ;;
77704 4) acx_cv_type_intptr_t=int32_t ;;
77705 8) acx_cv_type_intptr_t=int64_t ;;
77706 *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
77707 esac
77708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
77709 $as_echo "$acx_cv_type_intptr_t" >&6; }
77712 # ----------------- done all checks, emit header -------------
77713 ac_config_commands="$ac_config_commands include/gstdint.h"
77719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
77720 $as_echo_n "checking for GNU c++filt... " >&6; }
77721 if test "${ac_cv_path_CXXFILT+set}" = set; then :
77722 $as_echo_n "(cached) " >&6
77723 else
77724 if test -z "$CXXFILT"; then
77725 ac_path_CXXFILT_found=false
77726 # Loop through the user's path and test for each of PROGNAME-LIST
77727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77728 for as_dir in $PATH
77730 IFS=$as_save_IFS
77731 test -z "$as_dir" && as_dir=.
77732 for ac_prog in c++filt gc++filt; do
77733 for ac_exec_ext in '' $ac_executable_extensions; do
77734 ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
77735 { test -f "$ac_path_CXXFILT" && $as_test_x "$ac_path_CXXFILT"; } || continue
77736 # Check for GNU $ac_path_CXXFILT
77737 case `"$ac_path_CXXFILT" --version 2>&1` in
77738 *GNU*)
77739 ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
77740 esac
77742 $ac_path_CXXFILT_found && break 3
77743 done
77744 done
77745 done
77746 IFS=$as_save_IFS
77747 if test -z "$ac_cv_path_CXXFILT"; then
77750 else
77751 ac_cv_path_CXXFILT=$CXXFILT
77755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
77756 $as_echo "$ac_cv_path_CXXFILT" >&6; }
77757 CXXFILT=$ac_cv_path_CXXFILT
77761 # Check whether --enable-symvers was given.
77762 if test "${enable_symvers+set}" = set; then :
77763 enableval=$enable_symvers;
77764 case "$enableval" in
77765 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
77766 *) as_fn_error "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
77767 esac
77769 else
77770 enable_symvers=yes
77775 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
77776 # don't know enough about $LD to do tricks...
77778 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
77779 # with extern "C++" in version scripts.
77782 # Turn a 'yes' into a suitable default.
77783 if test x$enable_symvers = xyes ; then
77784 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
77785 enable_symvers=no
77786 else
77787 if test $with_gnu_ld = yes ; then
77788 case ${target_os} in
77789 hpux*)
77790 enable_symvers=no ;;
77792 enable_symvers=gnu ;;
77793 esac
77794 else
77795 case ${target_os} in
77796 darwin*)
77797 enable_symvers=darwin ;;
77798 # Sun symbol versioning exists since Solaris 2.5.
77799 solaris2.[5-9]* | solaris2.1[0-9]*)
77800 # make_sunver.pl needs GNU c++filt to support extern "C++" in
77801 # version scripts, so disable symbol versioning if none can be
77802 # found.
77803 if test -z "$ac_cv_path_CXXFILT"; then
77804 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
77805 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
77806 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could be found." >&5
77807 $as_echo "$as_me: WARNING: === no GNU c++filt could be found." >&2;}
77808 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
77809 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
77810 enable_symvers=no
77811 else
77812 enable_symvers=sun
77816 enable_symvers=no ;;
77817 esac
77822 # Check to see if 'darwin' or 'darwin-export' can win.
77823 if test x$enable_symvers = xdarwin-export ; then
77824 enable_symvers=darwin
77827 # Check if 'sun' was requested on non-Solaris 2 platforms.
77828 if test x$enable_symvers = xsun ; then
77829 case ${target_os} in
77830 solaris2*)
77831 # All fine.
77834 # Unlikely to work.
77835 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
77836 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
77837 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
77838 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
77839 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
77840 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
77841 enable_symvers=no
77843 esac
77846 # Check to see if 'gnu' can win.
77847 if test $enable_symvers = gnu ||
77848 test $enable_symvers = gnu-versioned-namespace ||
77849 test $enable_symvers = sun; then
77850 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
77851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
77852 $as_echo_n "checking for shared libgcc... " >&6; }
77853 ac_save_CFLAGS="$CFLAGS"
77854 CFLAGS=' -lgcc_s'
77855 if test x$gcc_no_link = xyes; then
77856 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
77858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77859 /* end confdefs.h. */
77862 main ()
77864 return 0;
77866 return 0;
77868 _ACEOF
77869 if ac_fn_c_try_link "$LINENO"; then :
77870 glibcxx_shared_libgcc=yes
77871 else
77872 glibcxx_shared_libgcc=no
77874 rm -f core conftest.err conftest.$ac_objext \
77875 conftest$ac_exeext conftest.$ac_ext
77876 CFLAGS="$ac_save_CFLAGS"
77877 if test $glibcxx_shared_libgcc = no; then
77878 cat > conftest.c <<EOF
77879 int main (void) { return 0; }
77881 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
77882 -shared -shared-libgcc -o conftest.so \
77883 conftest.c -v 2>&1 >/dev/null \
77884 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
77885 rm -f conftest.c conftest.so
77886 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
77887 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
77888 if test x$gcc_no_link = xyes; then
77889 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
77891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77892 /* end confdefs.h. */
77895 main ()
77897 return 0;
77899 return 0;
77901 _ACEOF
77902 if ac_fn_c_try_link "$LINENO"; then :
77903 glibcxx_shared_libgcc=yes
77905 rm -f core conftest.err conftest.$ac_objext \
77906 conftest$ac_exeext conftest.$ac_ext
77907 CFLAGS="$ac_save_CFLAGS"
77910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
77911 $as_echo "$glibcxx_shared_libgcc" >&6; }
77913 # For GNU ld, we need at least this version. The format is described in
77914 # GLIBCXX_CHECK_LINKER_FEATURES above.
77915 glibcxx_min_gnu_ld_version=21400
77917 # If no shared libgcc, can't win.
77918 if test $glibcxx_shared_libgcc != yes; then
77919 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
77920 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
77921 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
77922 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
77923 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
77924 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
77925 enable_symvers=no
77926 elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
77927 : All interesting versions of Sun ld support sun style symbol versioning.
77928 elif test $with_gnu_ld != yes ; then
77929 # just fail for now
77930 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
77931 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
77932 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
77933 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
77934 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
77935 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
77936 enable_symvers=no
77937 elif test $glibcxx_ld_is_gold = yes ; then
77938 : All versions of gold support symbol versioning.
77939 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
77940 # The right tools, the right setup, but too old. Fallbacks?
77941 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
77942 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
77943 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
77944 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
77945 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
77946 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
77947 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
77948 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
77949 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
77950 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
77951 enable_symvers=no
77955 # For libtool versioning info, format is CURRENT:REVISION:AGE
77956 libtool_VERSION=6:21:0
77958 # Everything parsed; figure out what files and settings to use.
77959 case $enable_symvers in
77961 SYMVER_FILE=config/abi/pre/none.ver
77963 gnu)
77964 SYMVER_FILE=config/abi/pre/gnu.ver
77966 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
77969 gnu-versioned-namespace)
77970 libtool_VERSION=7:0:0
77971 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
77973 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
77976 darwin)
77977 SYMVER_FILE=config/abi/pre/gnu.ver
77979 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
77982 sun)
77983 SYMVER_FILE=config/abi/pre/gnu.ver
77985 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
77988 esac
77990 if test x$enable_symvers != xno ; then
77992 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
77996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
77997 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
77998 if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then :
77999 $as_echo_n "(cached) " >&6
78000 else
78002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78003 /* end confdefs.h. */
78004 void foo (void); __asm (".symver foo, bar@SYMVER");
78006 main ()
78010 return 0;
78012 _ACEOF
78013 if ac_fn_c_try_compile "$LINENO"; then :
78014 glibcxx_cv_have_as_symver_directive=yes
78015 else
78016 glibcxx_cv_have_as_symver_directive=no
78018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
78021 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
78022 if test $glibcxx_cv_have_as_symver_directive = yes; then
78024 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
78035 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
78036 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
78038 if test $enable_symvers != no ; then
78039 case ${target_os} in
78040 # The Solaris 2 runtime linker doesn't support the GNU extension of
78041 # binding the same symbol to different versions
78042 solaris2*)
78044 # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
78047 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
78050 esac
78053 # Now, set up compatibility support, if any.
78054 # In addition, need this to deal with std::size_t mangling in
78055 # src/compatibility.cc. In a perfect world, could use
78056 # typeid(std::size_t).name()[0] to do direct substitution.
78057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
78058 $as_echo_n "checking for size_t as unsigned int... " >&6; }
78059 ac_save_CFLAGS="$CFLAGS"
78060 CFLAGS="-Werror"
78061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78062 /* end confdefs.h. */
78065 main ()
78067 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
78069 return 0;
78071 _ACEOF
78072 if ac_fn_c_try_compile "$LINENO"; then :
78073 glibcxx_size_t_is_i=yes
78074 else
78075 glibcxx_size_t_is_i=no
78077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78078 CFLAGS=$ac_save_CFLAGS
78079 if test "$glibcxx_size_t_is_i" = yes; then
78081 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
78084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
78085 $as_echo "$glibcxx_size_t_is_i" >&6; }
78087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
78088 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
78089 ac_save_CFLAGS="$CFLAGS"
78090 CFLAGS="-Werror"
78091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78092 /* end confdefs.h. */
78095 main ()
78097 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
78099 return 0;
78101 _ACEOF
78102 if ac_fn_c_try_compile "$LINENO"; then :
78103 glibcxx_ptrdiff_t_is_i=yes
78104 else
78105 glibcxx_ptrdiff_t_is_i=no
78107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78108 CFLAGS=$ac_save_CFLAGS
78109 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
78111 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
78114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
78115 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
78120 # Check whether --enable-libstdcxx-visibility was given.
78121 if test "${enable_libstdcxx_visibility+set}" = set; then :
78122 enableval=$enable_libstdcxx_visibility;
78123 case "$enableval" in
78124 yes|no) ;;
78125 *) as_fn_error "Argument to enable/disable libstdcxx-visibility must be yes or no" "$LINENO" 5 ;;
78126 esac
78128 else
78129 enable_libstdcxx_visibility=yes
78134 if test x$enable_libstdcxx_visibility = xyes ; then
78135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
78136 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
78137 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then :
78138 $as_echo_n "(cached) " >&6
78139 else
78141 save_CFLAGS="$CFLAGS"
78142 CFLAGS="$CFLAGS -Werror"
78143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78144 /* end confdefs.h. */
78145 void __attribute__((visibility("hidden"))) foo(void) { }
78147 main ()
78151 return 0;
78153 _ACEOF
78154 if ac_fn_c_try_compile "$LINENO"; then :
78155 glibcxx_cv_have_attribute_visibility=yes
78156 else
78157 glibcxx_cv_have_attribute_visibility=no
78159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78160 CFLAGS="$save_CFLAGS"
78162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
78163 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
78164 if test $glibcxx_cv_have_attribute_visibility = no; then
78165 enable_libstdcxx_visibility=no
78170 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_libstdcxx_visibility" >&5
78171 $as_echo "$as_me: visibility supported: $enable_libstdcxx_visibility" >&6;}
78175 # Check whether --enable-libstdcxx-dual-abi was given.
78176 if test "${enable_libstdcxx_dual_abi+set}" = set; then :
78177 enableval=$enable_libstdcxx_dual_abi;
78178 case "$enableval" in
78179 yes|no) ;;
78180 *) as_fn_error "Argument to enable/disable libstdcxx-dual-abi must be yes or no" "$LINENO" 5 ;;
78181 esac
78183 else
78184 enable_libstdcxx_dual_abi=yes
78188 if test x"$enable_libstdcxx_dual_abi" != xyes; then
78189 { $as_echo "$as_me:${as_lineno-$LINENO}: dual ABI is disabled" >&5
78190 $as_echo "$as_me: dual ABI is disabled" >&6;}
78191 default_libstdcxx_abi="c++98"
78196 if test x$enable_libstdcxx_dual_abi = xyes; then
78197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default std::string ABI to use" >&5
78198 $as_echo_n "checking for default std::string ABI to use... " >&6; }
78200 # Check whether --with-default-libstdcxx-abi was given.
78201 if test "${with_default_libstdcxx_abi+set}" = set; then :
78202 withval=$with_default_libstdcxx_abi; case "$withval" in
78203 c++98|gnu++98|c++03|gnu++03) default_libstdcxx_abi="c++98" ;;
78204 c++1?|gnu++1?) default_libstdcxx_abi="c++11" ;;
78205 *) as_fn_error "Invalid argument for --with-default-libstdcxx-abi" "$LINENO" 5 ;;
78206 esac
78207 else
78208 default_libstdcxx_abi="c++11"
78211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${default_libstdcxx_abi}" >&5
78212 $as_echo "${default_libstdcxx_abi}" >&6; }
78214 if test $default_libstdcxx_abi = "c++11"; then
78215 glibcxx_cxx11_abi=1
78216 glibcxx_cxx98_abi=0
78217 else
78218 glibcxx_cxx11_abi=0
78219 glibcxx_cxx98_abi=1
78225 ac_ldbl_compat=no
78226 case "$target" in
78227 powerpc*-*-linux* | \
78228 sparc*-*-linux* | \
78229 s390*-*-linux* | \
78230 alpha*-*-linux*)
78231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78232 /* end confdefs.h. */
78235 main ()
78238 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
78239 #error no need for long double compatibility
78240 #endif
78243 return 0;
78245 _ACEOF
78246 if ac_fn_c_try_compile "$LINENO"; then :
78247 ac_ldbl_compat=yes
78248 else
78249 ac_ldbl_compat=no
78251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78252 if test "$ac_ldbl_compat" = yes; then
78254 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
78256 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
78258 esac
78261 # Check if assembler supports disabling hardware capability support.
78263 test -z "$HWCAP_FLAGS" && HWCAP_FLAGS=''
78265 # Restrict the test to Solaris, other assemblers (e.g. AIX as) have -nH
78266 # with a different meaning.
78267 case ${target_os} in
78268 solaris2*)
78269 ac_save_CFLAGS="$CFLAGS"
78270 CFLAGS="$CFLAGS -Wa,-nH"
78272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for as that supports -Wa,-nH" >&5
78273 $as_echo_n "checking for as that supports -Wa,-nH... " >&6; }
78274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78275 /* end confdefs.h. */
78278 main ()
78280 return 0;
78282 return 0;
78284 _ACEOF
78285 if ac_fn_c_try_compile "$LINENO"; then :
78286 ac_hwcap_flags=yes
78287 else
78288 ac_hwcap_flags=no
78290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78291 if test "$ac_hwcap_flags" = "yes"; then
78292 HWCAP_FLAGS="-Wa,-nH $HWCAP_FLAGS"
78294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_flags" >&5
78295 $as_echo "$ac_hwcap_flags" >&6; }
78297 CFLAGS="$ac_save_CFLAGS"
78299 esac
78304 # Check if assembler supports rdrand opcode.
78306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdrand support in assembler" >&5
78307 $as_echo_n "checking for rdrand support in assembler... " >&6; }
78308 if test "${ac_cv_x86_rdrand+set}" = set; then :
78309 $as_echo_n "(cached) " >&6
78310 else
78312 ac_cv_x86_rdrand=no
78313 case "$target" in
78314 i?86-*-* | \
78315 x86_64-*-*)
78316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78317 /* end confdefs.h. */
78320 main ()
78322 asm("rdrand %eax");
78324 return 0;
78326 _ACEOF
78327 if ac_fn_c_try_compile "$LINENO"; then :
78328 ac_cv_x86_rdrand=yes
78329 else
78330 ac_cv_x86_rdrand=no
78332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78333 esac
78337 if test $ac_cv_x86_rdrand = yes; then
78339 $as_echo "#define _GLIBCXX_X86_RDRAND 1" >>confdefs.h
78342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdrand" >&5
78343 $as_echo "$ac_cv_x86_rdrand" >&6; }
78346 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
78348 if $GLIBCXX_IS_NATIVE ; then
78349 # Do checks for resource limit functions.
78351 setrlimit_have_headers=yes
78352 for ac_header in unistd.h sys/time.h sys/resource.h
78353 do :
78354 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
78355 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
78356 eval as_val=\$$as_ac_Header
78357 if test "x$as_val" = x""yes; then :
78358 cat >>confdefs.h <<_ACEOF
78359 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
78360 _ACEOF
78362 else
78363 setrlimit_have_headers=no
78366 done
78368 # If don't have the headers, then we can't run the tests now, and we
78369 # won't be seeing any of these during testsuite compilation.
78370 if test $setrlimit_have_headers = yes; then
78371 # Can't do these in a loop, else the resulting syntax is wrong.
78373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
78374 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
78375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78376 /* end confdefs.h. */
78377 #include <unistd.h>
78378 #include <sys/time.h>
78379 #include <sys/resource.h>
78382 main ()
78384 int f = RLIMIT_DATA ;
78386 return 0;
78388 _ACEOF
78389 if ac_fn_c_try_compile "$LINENO"; then :
78390 glibcxx_mresult=1
78391 else
78392 glibcxx_mresult=0
78394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78396 cat >>confdefs.h <<_ACEOF
78397 #define HAVE_LIMIT_DATA $glibcxx_mresult
78398 _ACEOF
78400 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
78401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
78402 $as_echo "$res" >&6; }
78405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
78406 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
78407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78408 /* end confdefs.h. */
78409 #include <unistd.h>
78410 #include <sys/time.h>
78411 #include <sys/resource.h>
78414 main ()
78416 int f = RLIMIT_RSS ;
78418 return 0;
78420 _ACEOF
78421 if ac_fn_c_try_compile "$LINENO"; then :
78422 glibcxx_mresult=1
78423 else
78424 glibcxx_mresult=0
78426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78428 cat >>confdefs.h <<_ACEOF
78429 #define HAVE_LIMIT_RSS $glibcxx_mresult
78430 _ACEOF
78432 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
78433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
78434 $as_echo "$res" >&6; }
78437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
78438 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
78439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78440 /* end confdefs.h. */
78441 #include <unistd.h>
78442 #include <sys/time.h>
78443 #include <sys/resource.h>
78446 main ()
78448 int f = RLIMIT_VMEM ;
78450 return 0;
78452 _ACEOF
78453 if ac_fn_c_try_compile "$LINENO"; then :
78454 glibcxx_mresult=1
78455 else
78456 glibcxx_mresult=0
78458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78460 cat >>confdefs.h <<_ACEOF
78461 #define HAVE_LIMIT_VMEM $glibcxx_mresult
78462 _ACEOF
78464 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
78465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
78466 $as_echo "$res" >&6; }
78469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
78470 $as_echo_n "checking for RLIMIT_AS... " >&6; }
78471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78472 /* end confdefs.h. */
78473 #include <unistd.h>
78474 #include <sys/time.h>
78475 #include <sys/resource.h>
78478 main ()
78480 int f = RLIMIT_AS ;
78482 return 0;
78484 _ACEOF
78485 if ac_fn_c_try_compile "$LINENO"; then :
78486 glibcxx_mresult=1
78487 else
78488 glibcxx_mresult=0
78490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78492 cat >>confdefs.h <<_ACEOF
78493 #define HAVE_LIMIT_AS $glibcxx_mresult
78494 _ACEOF
78496 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
78497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
78498 $as_echo "$res" >&6; }
78501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
78502 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
78503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78504 /* end confdefs.h. */
78505 #include <unistd.h>
78506 #include <sys/time.h>
78507 #include <sys/resource.h>
78510 main ()
78512 int f = RLIMIT_FSIZE ;
78514 return 0;
78516 _ACEOF
78517 if ac_fn_c_try_compile "$LINENO"; then :
78518 glibcxx_mresult=1
78519 else
78520 glibcxx_mresult=0
78522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78524 cat >>confdefs.h <<_ACEOF
78525 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
78526 _ACEOF
78528 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
78529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
78530 $as_echo "$res" >&6; }
78533 # Check for rlimit, setrlimit.
78534 if test "${glibcxx_cv_setrlimit+set}" = set; then :
78535 $as_echo_n "(cached) " >&6
78536 else
78538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78539 /* end confdefs.h. */
78540 #include <unistd.h>
78541 #include <sys/time.h>
78542 #include <sys/resource.h>
78545 main ()
78547 struct rlimit r;
78548 setrlimit(0, &r);
78550 return 0;
78552 _ACEOF
78553 if ac_fn_c_try_compile "$LINENO"; then :
78554 glibcxx_cv_setrlimit=yes
78555 else
78556 glibcxx_cv_setrlimit=no
78558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
78565 $as_echo_n "checking for testsuite resource limits support... " >&6; }
78566 if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
78567 ac_res_limits=yes
78569 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
78571 else
78572 ac_res_limits=no
78574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
78575 $as_echo "$ac_res_limits" >&6; }
78578 # Look for setenv, so that extended locale tests can be performed.
78580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
78581 $as_echo_n "checking for setenv declaration... " >&6; }
78582 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
78583 if test "${glibcxx_cv_func_setenv_use+set}" = set; then :
78584 $as_echo_n "(cached) " >&6
78585 else
78588 ac_ext=cpp
78589 ac_cpp='$CXXCPP $CPPFLAGS'
78590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78595 /* end confdefs.h. */
78596 #include <stdlib.h>
78598 main ()
78600 setenv(0, 0, 0);
78602 return 0;
78604 _ACEOF
78605 if ac_fn_cxx_try_compile "$LINENO"; then :
78606 glibcxx_cv_func_setenv_use=yes
78607 else
78608 glibcxx_cv_func_setenv_use=no
78610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78611 ac_ext=c
78612 ac_cpp='$CPP $CPPFLAGS'
78613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
78622 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
78623 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
78624 for ac_func in setenv
78625 do :
78626 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
78627 if test "x$ac_cv_func_setenv" = x""yes; then :
78628 cat >>confdefs.h <<_ACEOF
78629 #define HAVE_SETENV 1
78630 _ACEOF
78633 done
78639 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
78640 test $enable_symvers != no; then
78641 case "$host" in
78642 *-*-cygwin*)
78643 enable_abi_check=no ;;
78645 enable_abi_check=yes ;;
78646 esac
78647 else
78648 # Only build this as native, since automake does not understand
78649 # CXX_FOR_BUILD.
78650 enable_abi_check=no
78653 # Export file names for ABI checking.
78654 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
78656 baseline_subdir_switch="$abi_baseline_subdir_switch"
78660 # For gthread support. Depends on GLIBCXX_ENABLE_SYMVERS.
78662 # Check whether --enable-libstdcxx-threads was given.
78663 if test "${enable_libstdcxx_threads+set}" = set; then :
78664 enableval=$enable_libstdcxx_threads;
78665 case "$enableval" in
78666 yes|no) ;;
78667 *) as_fn_error "Argument to enable/disable libstdcxx-threads must be yes or no" "$LINENO" 5 ;;
78668 esac
78670 else
78671 enable_libstdcxx_threads=auto
78676 if test x$enable_libstdcxx_threads = xauto ||
78677 test x$enable_libstdcxx_threads = xyes; then
78680 ac_ext=cpp
78681 ac_cpp='$CXXCPP $CPPFLAGS'
78682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78687 ac_save_CXXFLAGS="$CXXFLAGS"
78688 CXXFLAGS="$CXXFLAGS -fno-exceptions \
78689 -I${toplevel_srcdir}/libgcc -I${toplevel_builddir}/libgcc"
78691 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
78692 case $target_thread_file in
78693 posix)
78694 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
78695 esac
78697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it can be safely assumed that mutex_timedlock is available" >&5
78698 $as_echo_n "checking whether it can be safely assumed that mutex_timedlock is available... " >&6; }
78700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78701 /* end confdefs.h. */
78702 #include <unistd.h>
78704 main ()
78707 // In case of POSIX threads check _POSIX_TIMEOUTS.
78708 #if (defined(_PTHREADS) \
78709 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
78710 #error
78711 #endif
78714 return 0;
78716 _ACEOF
78717 if ac_fn_cxx_try_compile "$LINENO"; then :
78718 ac_gthread_use_mutex_timedlock=1
78719 else
78720 ac_gthread_use_mutex_timedlock=0
78722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78725 cat >>confdefs.h <<_ACEOF
78726 #define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
78727 _ACEOF
78730 if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
78731 else res_mutex_timedlock=no ; fi
78732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
78733 $as_echo "$res_mutex_timedlock" >&6; }
78735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
78736 $as_echo_n "checking for gthreads library... " >&6; }
78738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78739 /* end confdefs.h. */
78740 #include "gthr.h"
78742 main ()
78745 #ifndef __GTHREADS_CXX0X
78746 #error
78747 #endif
78750 return 0;
78752 _ACEOF
78753 if ac_fn_cxx_try_compile "$LINENO"; then :
78754 ac_has_gthreads=yes
78755 else
78756 ac_has_gthreads=no
78758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78759 else
78760 ac_has_gthreads=no
78763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
78764 $as_echo "$ac_has_gthreads" >&6; }
78766 if test x"$ac_has_gthreads" = x"yes"; then
78768 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
78772 CXXFLAGS="$ac_save_CXXFLAGS"
78773 ac_ext=c
78774 ac_cpp='$CPP $CPPFLAGS'
78775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78781 # Define documentation rules conditionally.
78783 # See if makeinfo has been installed and is modern enough
78784 # that we can use it.
78786 # Extract the first word of "makeinfo", so it can be a program name with args.
78787 set dummy makeinfo; ac_word=$2
78788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
78789 $as_echo_n "checking for $ac_word... " >&6; }
78790 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
78791 $as_echo_n "(cached) " >&6
78792 else
78793 if test -n "$MAKEINFO"; then
78794 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
78795 else
78796 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78797 for as_dir in $PATH
78799 IFS=$as_save_IFS
78800 test -z "$as_dir" && as_dir=.
78801 for ac_exec_ext in '' $ac_executable_extensions; do
78802 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
78803 ac_cv_prog_MAKEINFO="makeinfo"
78804 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
78805 break 2
78807 done
78808 done
78809 IFS=$as_save_IFS
78813 MAKEINFO=$ac_cv_prog_MAKEINFO
78814 if test -n "$MAKEINFO"; then
78815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
78816 $as_echo "$MAKEINFO" >&6; }
78817 else
78818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
78819 $as_echo "no" >&6; }
78823 if test -n "$MAKEINFO"; then
78824 # Found it, now check the version.
78825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
78826 $as_echo_n "checking for modern makeinfo... " >&6; }
78827 if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then :
78828 $as_echo_n "(cached) " >&6
78829 else
78830 ac_prog_version=`eval $MAKEINFO --version 2>&1 |
78831 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
78833 case $ac_prog_version in
78834 '') gcc_cv_prog_makeinfo_modern=no;;
78835 4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*) gcc_cv_prog_makeinfo_modern=yes;;
78836 *) gcc_cv_prog_makeinfo_modern=no;;
78837 esac
78840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
78841 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
78842 else
78843 gcc_cv_prog_makeinfo_modern=no
78845 if test $gcc_cv_prog_makeinfo_modern = no; then
78846 MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
78849 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
78850 BUILD_INFO_TRUE=
78851 BUILD_INFO_FALSE='#'
78852 else
78853 BUILD_INFO_TRUE='#'
78854 BUILD_INFO_FALSE=
78858 # Check for doxygen
78859 # Extract the first word of "doxygen", so it can be a program name with args.
78860 set dummy doxygen; ac_word=$2
78861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
78862 $as_echo_n "checking for $ac_word... " >&6; }
78863 if test "${ac_cv_prog_DOXYGEN+set}" = set; then :
78864 $as_echo_n "(cached) " >&6
78865 else
78866 if test -n "$DOXYGEN"; then
78867 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
78868 else
78869 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78870 for as_dir in $PATH
78872 IFS=$as_save_IFS
78873 test -z "$as_dir" && as_dir=.
78874 for ac_exec_ext in '' $ac_executable_extensions; do
78875 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
78876 ac_cv_prog_DOXYGEN="yes"
78877 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
78878 break 2
78880 done
78881 done
78882 IFS=$as_save_IFS
78884 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
78887 DOXYGEN=$ac_cv_prog_DOXYGEN
78888 if test -n "$DOXYGEN"; then
78889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
78890 $as_echo "$DOXYGEN" >&6; }
78891 else
78892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
78893 $as_echo "no" >&6; }
78897 # Extract the first word of "dot", so it can be a program name with args.
78898 set dummy dot; ac_word=$2
78899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
78900 $as_echo_n "checking for $ac_word... " >&6; }
78901 if test "${ac_cv_prog_DOT+set}" = set; then :
78902 $as_echo_n "(cached) " >&6
78903 else
78904 if test -n "$DOT"; then
78905 ac_cv_prog_DOT="$DOT" # Let the user override the test.
78906 else
78907 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78908 for as_dir in $PATH
78910 IFS=$as_save_IFS
78911 test -z "$as_dir" && as_dir=.
78912 for ac_exec_ext in '' $ac_executable_extensions; do
78913 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
78914 ac_cv_prog_DOT="yes"
78915 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
78916 break 2
78918 done
78919 done
78920 IFS=$as_save_IFS
78922 test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
78925 DOT=$ac_cv_prog_DOT
78926 if test -n "$DOT"; then
78927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
78928 $as_echo "$DOT" >&6; }
78929 else
78930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
78931 $as_echo "no" >&6; }
78936 # Check for docbook
78937 # Extract the first word of "xsltproc", so it can be a program name with args.
78938 set dummy xsltproc; ac_word=$2
78939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
78940 $as_echo_n "checking for $ac_word... " >&6; }
78941 if test "${ac_cv_prog_XSLTPROC+set}" = set; then :
78942 $as_echo_n "(cached) " >&6
78943 else
78944 if test -n "$XSLTPROC"; then
78945 ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
78946 else
78947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78948 for as_dir in $PATH
78950 IFS=$as_save_IFS
78951 test -z "$as_dir" && as_dir=.
78952 for ac_exec_ext in '' $ac_executable_extensions; do
78953 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
78954 ac_cv_prog_XSLTPROC="yes"
78955 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
78956 break 2
78958 done
78959 done
78960 IFS=$as_save_IFS
78962 test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
78965 XSLTPROC=$ac_cv_prog_XSLTPROC
78966 if test -n "$XSLTPROC"; then
78967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
78968 $as_echo "$XSLTPROC" >&6; }
78969 else
78970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
78971 $as_echo "no" >&6; }
78975 # Extract the first word of "xmllint", so it can be a program name with args.
78976 set dummy xmllint; ac_word=$2
78977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
78978 $as_echo_n "checking for $ac_word... " >&6; }
78979 if test "${ac_cv_prog_XMLLINT+set}" = set; then :
78980 $as_echo_n "(cached) " >&6
78981 else
78982 if test -n "$XMLLINT"; then
78983 ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
78984 else
78985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78986 for as_dir in $PATH
78988 IFS=$as_save_IFS
78989 test -z "$as_dir" && as_dir=.
78990 for ac_exec_ext in '' $ac_executable_extensions; do
78991 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
78992 ac_cv_prog_XMLLINT="yes"
78993 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
78994 break 2
78996 done
78997 done
78998 IFS=$as_save_IFS
79000 test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
79003 XMLLINT=$ac_cv_prog_XMLLINT
79004 if test -n "$XMLLINT"; then
79005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
79006 $as_echo "$XMLLINT" >&6; }
79007 else
79008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
79009 $as_echo "no" >&6; }
79015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docbook stylesheets for documentation creation" >&5
79016 $as_echo_n "checking for docbook stylesheets for documentation creation... " >&6; }
79017 glibcxx_stylesheets=no
79018 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
79019 glibcxx_stylesheets=yes
79021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
79022 $as_echo "$glibcxx_stylesheets" >&6; }
79024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
79025 $as_echo_n "checking for local stylesheet directory... " >&6; }
79026 glibcxx_local_stylesheets=no
79027 if test x"$glibcxx_stylesheets" = x"yes"; then
79028 if test -d /usr/share/sgml/docbook/xsl-ns-stylesheets; then
79029 glibcxx_local_stylesheets=yes
79030 XSL_STYLE_DIR=/usr/share/sgml/docbook/xsl-ns-stylesheets
79032 if test -d /usr/share/xml/docbook/stylesheet/docbook-xsl-ns; then
79033 glibcxx_local_stylesheets=yes
79034 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/docbook-xsl-ns
79036 if test -d /usr/share/xml/docbook/stylesheet/nwalsh5/current; then
79037 glibcxx_local_stylesheets=yes
79038 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/nwalsh5/current
79041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
79042 $as_echo "$glibcxx_local_stylesheets" >&6; }
79044 if test x"$glibcxx_local_stylesheets" = x"yes"; then
79046 { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
79047 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
79048 else
79049 glibcxx_stylesheets=no
79052 # Check for epub3 dependencies.
79053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epub3 stylesheets for documentation creation" >&5
79054 $as_echo_n "checking for epub3 stylesheets for documentation creation... " >&6; }
79055 glibcxx_epub_stylesheets=no
79056 if test x"$glibcxx_local_stylesheets" = x"yes"; then
79057 if test -f "$XSL_STYLE_DIR/epub3/chunk.xsl"; then
79058 glibcxx_epub_stylesheets=yes
79061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_epub_stylesheets" >&5
79062 $as_echo "$glibcxx_epub_stylesheets" >&6; }
79063 if test x"$glibcxx_epub_stylesheets" = x"yes"; then
79064 BUILD_EPUB_TRUE=
79065 BUILD_EPUB_FALSE='#'
79066 else
79067 BUILD_EPUB_TRUE='#'
79068 BUILD_EPUB_FALSE=
79074 # Check for xml/html dependencies.
79075 if test $ac_cv_prog_DOXYGEN = "yes" &&
79076 test $ac_cv_prog_DOT = "yes" &&
79077 test $ac_cv_prog_XSLTPROC = "yes" &&
79078 test $ac_cv_prog_XMLLINT = "yes" &&
79079 test $glibcxx_stylesheets = "yes"; then
79080 BUILD_XML_TRUE=
79081 BUILD_XML_FALSE='#'
79082 else
79083 BUILD_XML_TRUE='#'
79084 BUILD_XML_FALSE=
79088 if test $ac_cv_prog_DOXYGEN = "yes" &&
79089 test $ac_cv_prog_DOT = "yes" &&
79090 test $ac_cv_prog_XSLTPROC = "yes" &&
79091 test $ac_cv_prog_XMLLINT = "yes" &&
79092 test $glibcxx_stylesheets = "yes"; then
79093 BUILD_HTML_TRUE=
79094 BUILD_HTML_FALSE='#'
79095 else
79096 BUILD_HTML_TRUE='#'
79097 BUILD_HTML_FALSE=
79101 # Check for man dependencies.
79102 if test $ac_cv_prog_DOXYGEN = "yes" &&
79103 test $ac_cv_prog_DOT = "yes"; then
79104 BUILD_MAN_TRUE=
79105 BUILD_MAN_FALSE='#'
79106 else
79107 BUILD_MAN_TRUE='#'
79108 BUILD_MAN_FALSE=
79112 # Check for pdf dependencies.
79113 # Extract the first word of "dblatex", so it can be a program name with args.
79114 set dummy dblatex; ac_word=$2
79115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
79116 $as_echo_n "checking for $ac_word... " >&6; }
79117 if test "${ac_cv_prog_DBLATEX+set}" = set; then :
79118 $as_echo_n "(cached) " >&6
79119 else
79120 if test -n "$DBLATEX"; then
79121 ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
79122 else
79123 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79124 for as_dir in $PATH
79126 IFS=$as_save_IFS
79127 test -z "$as_dir" && as_dir=.
79128 for ac_exec_ext in '' $ac_executable_extensions; do
79129 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
79130 ac_cv_prog_DBLATEX="yes"
79131 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
79132 break 2
79134 done
79135 done
79136 IFS=$as_save_IFS
79138 test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
79141 DBLATEX=$ac_cv_prog_DBLATEX
79142 if test -n "$DBLATEX"; then
79143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
79144 $as_echo "$DBLATEX" >&6; }
79145 else
79146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
79147 $as_echo "no" >&6; }
79151 # Extract the first word of "pdflatex", so it can be a program name with args.
79152 set dummy pdflatex; ac_word=$2
79153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
79154 $as_echo_n "checking for $ac_word... " >&6; }
79155 if test "${ac_cv_prog_PDFLATEX+set}" = set; then :
79156 $as_echo_n "(cached) " >&6
79157 else
79158 if test -n "$PDFLATEX"; then
79159 ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
79160 else
79161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79162 for as_dir in $PATH
79164 IFS=$as_save_IFS
79165 test -z "$as_dir" && as_dir=.
79166 for ac_exec_ext in '' $ac_executable_extensions; do
79167 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
79168 ac_cv_prog_PDFLATEX="yes"
79169 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
79170 break 2
79172 done
79173 done
79174 IFS=$as_save_IFS
79176 test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
79179 PDFLATEX=$ac_cv_prog_PDFLATEX
79180 if test -n "$PDFLATEX"; then
79181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
79182 $as_echo "$PDFLATEX" >&6; }
79183 else
79184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
79185 $as_echo "no" >&6; }
79189 if test $ac_cv_prog_DBLATEX = "yes" &&
79190 test $ac_cv_prog_PDFLATEX = "yes"; then
79191 BUILD_PDF_TRUE=
79192 BUILD_PDF_FALSE='#'
79193 else
79194 BUILD_PDF_TRUE='#'
79195 BUILD_PDF_FALSE=
79200 # Propagate the target-specific source directories through the build chain.
79201 ATOMICITY_SRCDIR=config/${atomicity_dir}
79202 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
79203 ATOMIC_FLAGS=${atomic_flags}
79204 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
79205 OS_INC_SRCDIR=config/${os_include_dir}
79206 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
79207 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
79208 CPU_OPT_EXT_RANDOM=config/${cpu_opt_ext_random}
79209 CPU_OPT_BITS_RANDOM=config/${cpu_opt_bits_random}
79221 # Determine cross-compile flags and AM_CONDITIONALs.
79222 #AC_SUBST(GLIBCXX_IS_NATIVE)
79223 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
79224 if test $is_hosted = yes; then
79225 GLIBCXX_HOSTED_TRUE=
79226 GLIBCXX_HOSTED_FALSE='#'
79227 else
79228 GLIBCXX_HOSTED_TRUE='#'
79229 GLIBCXX_HOSTED_FALSE=
79233 if test $enable_libstdcxx_pch = yes; then
79234 GLIBCXX_BUILD_PCH_TRUE=
79235 GLIBCXX_BUILD_PCH_FALSE='#'
79236 else
79237 GLIBCXX_BUILD_PCH_TRUE='#'
79238 GLIBCXX_BUILD_PCH_FALSE=
79242 if test $enable_cheaders = c; then
79243 GLIBCXX_C_HEADERS_C_TRUE=
79244 GLIBCXX_C_HEADERS_C_FALSE='#'
79245 else
79246 GLIBCXX_C_HEADERS_C_TRUE='#'
79247 GLIBCXX_C_HEADERS_C_FALSE=
79251 if test $enable_cheaders = c_std; then
79252 GLIBCXX_C_HEADERS_C_STD_TRUE=
79253 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
79254 else
79255 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
79256 GLIBCXX_C_HEADERS_C_STD_FALSE=
79260 if test $enable_cheaders = c_global; then
79261 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
79262 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
79263 else
79264 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
79265 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
79269 if test $c_compatibility = yes; then
79270 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
79271 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
79272 else
79273 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
79274 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
79278 if test $enable_libstdcxx_debug = yes; then
79279 GLIBCXX_BUILD_DEBUG_TRUE=
79280 GLIBCXX_BUILD_DEBUG_FALSE='#'
79281 else
79282 GLIBCXX_BUILD_DEBUG_TRUE='#'
79283 GLIBCXX_BUILD_DEBUG_FALSE=
79287 if test $enable_extern_template = yes; then
79288 ENABLE_EXTERN_TEMPLATE_TRUE=
79289 ENABLE_EXTERN_TEMPLATE_FALSE='#'
79290 else
79291 ENABLE_EXTERN_TEMPLATE_TRUE='#'
79292 ENABLE_EXTERN_TEMPLATE_FALSE=
79296 if test $python_mod_dir != no; then
79297 ENABLE_PYTHONDIR_TRUE=
79298 ENABLE_PYTHONDIR_FALSE='#'
79299 else
79300 ENABLE_PYTHONDIR_TRUE='#'
79301 ENABLE_PYTHONDIR_FALSE=
79305 if test $enable_werror = yes; then
79306 ENABLE_WERROR_TRUE=
79307 ENABLE_WERROR_FALSE='#'
79308 else
79309 ENABLE_WERROR_TRUE='#'
79310 ENABLE_WERROR_FALSE=
79314 if test $enable_vtable_verify = yes; then
79315 ENABLE_VTABLE_VERIFY_TRUE=
79316 ENABLE_VTABLE_VERIFY_FALSE='#'
79317 else
79318 ENABLE_VTABLE_VERIFY_TRUE='#'
79319 ENABLE_VTABLE_VERIFY_FALSE=
79323 if test $enable_symvers != no; then
79324 ENABLE_SYMVERS_TRUE=
79325 ENABLE_SYMVERS_FALSE='#'
79326 else
79327 ENABLE_SYMVERS_TRUE='#'
79328 ENABLE_SYMVERS_FALSE=
79332 if test $enable_symvers = gnu; then
79333 ENABLE_SYMVERS_GNU_TRUE=
79334 ENABLE_SYMVERS_GNU_FALSE='#'
79335 else
79336 ENABLE_SYMVERS_GNU_TRUE='#'
79337 ENABLE_SYMVERS_GNU_FALSE=
79341 if test $enable_symvers = gnu-versioned-namespace; then
79342 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
79343 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
79344 else
79345 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
79346 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
79350 if test $enable_symvers = darwin; then
79351 ENABLE_SYMVERS_DARWIN_TRUE=
79352 ENABLE_SYMVERS_DARWIN_FALSE='#'
79353 else
79354 ENABLE_SYMVERS_DARWIN_TRUE='#'
79355 ENABLE_SYMVERS_DARWIN_FALSE=
79359 if test $enable_symvers = sun; then
79360 ENABLE_SYMVERS_SUN_TRUE=
79361 ENABLE_SYMVERS_SUN_FALSE='#'
79362 else
79363 ENABLE_SYMVERS_SUN_TRUE='#'
79364 ENABLE_SYMVERS_SUN_FALSE=
79368 if test $enable_libstdcxx_visibility = yes; then
79369 ENABLE_VISIBILITY_TRUE=
79370 ENABLE_VISIBILITY_FALSE='#'
79371 else
79372 ENABLE_VISIBILITY_TRUE='#'
79373 ENABLE_VISIBILITY_FALSE=
79377 if test $enable_libstdcxx_dual_abi = yes; then
79378 ENABLE_DUAL_ABI_TRUE=
79379 ENABLE_DUAL_ABI_FALSE='#'
79380 else
79381 ENABLE_DUAL_ABI_TRUE='#'
79382 ENABLE_DUAL_ABI_FALSE=
79386 if test $glibcxx_cxx11_abi = 1; then
79387 ENABLE_CXX11_ABI_TRUE=
79388 ENABLE_CXX11_ABI_FALSE='#'
79389 else
79390 ENABLE_CXX11_ABI_TRUE='#'
79391 ENABLE_CXX11_ABI_FALSE=
79395 if test $ac_ldbl_compat = yes; then
79396 GLIBCXX_LDBL_COMPAT_TRUE=
79397 GLIBCXX_LDBL_COMPAT_FALSE='#'
79398 else
79399 GLIBCXX_LDBL_COMPAT_TRUE='#'
79400 GLIBCXX_LDBL_COMPAT_FALSE=
79406 cat >confcache <<\_ACEOF
79407 # This file is a shell script that caches the results of configure
79408 # tests run on this system so they can be shared between configure
79409 # scripts and configure runs, see configure's option --config-cache.
79410 # It is not useful on other systems. If it contains results you don't
79411 # want to keep, you may remove or edit it.
79413 # config.status only pays attention to the cache file if you give it
79414 # the --recheck option to rerun configure.
79416 # `ac_cv_env_foo' variables (set or unset) will be overridden when
79417 # loading this file, other *unset* `ac_cv_foo' will be assigned the
79418 # following values.
79420 _ACEOF
79422 # The following way of writing the cache mishandles newlines in values,
79423 # but we know of no workaround that is simple, portable, and efficient.
79424 # So, we kill variables containing newlines.
79425 # Ultrix sh set writes to stderr and can't be redirected directly,
79426 # and sets the high bit in the cache file unless we assign to the vars.
79428 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
79429 eval ac_val=\$$ac_var
79430 case $ac_val in #(
79431 *${as_nl}*)
79432 case $ac_var in #(
79433 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
79434 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
79435 esac
79436 case $ac_var in #(
79437 _ | IFS | as_nl) ;; #(
79438 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
79439 *) { eval $ac_var=; unset $ac_var;} ;;
79440 esac ;;
79441 esac
79442 done
79444 (set) 2>&1 |
79445 case $as_nl`(ac_space=' '; set) 2>&1` in #(
79446 *${as_nl}ac_space=\ *)
79447 # `set' does not quote correctly, so add quotes: double-quote
79448 # substitution turns \\\\ into \\, and sed turns \\ into \.
79449 sed -n \
79450 "s/'/'\\\\''/g;
79451 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
79452 ;; #(
79454 # `set' quotes correctly as required by POSIX, so do not add quotes.
79455 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
79457 esac |
79458 sort
79460 sed '
79461 /^ac_cv_env_/b end
79462 t clear
79463 :clear
79464 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
79465 t end
79466 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
79467 :end' >>confcache
79468 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
79469 if test -w "$cache_file"; then
79470 test "x$cache_file" != "x/dev/null" &&
79471 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
79472 $as_echo "$as_me: updating cache $cache_file" >&6;}
79473 cat confcache >$cache_file
79474 else
79475 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
79476 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
79479 rm -f confcache
79481 if test ${multilib} = yes; then
79482 multilib_arg="--enable-multilib"
79483 else
79484 multilib_arg=
79487 # Export all the install information.
79489 glibcxx_toolexecdir=no
79490 glibcxx_toolexeclibdir=no
79491 glibcxx_prefixdir=$prefix
79493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
79494 $as_echo_n "checking for gxx-include-dir... " >&6; }
79496 # Check whether --with-gxx-include-dir was given.
79497 if test "${with_gxx_include_dir+set}" = set; then :
79498 withval=$with_gxx_include_dir; case "$withval" in
79499 yes) as_fn_error "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
79500 no) gxx_include_dir=no ;;
79501 *) gxx_include_dir=$withval ;;
79502 esac
79503 else
79504 gxx_include_dir=no
79507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
79508 $as_echo "$gxx_include_dir" >&6; }
79510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
79511 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
79512 # Check whether --enable-version-specific-runtime-libs was given.
79513 if test "${enable_version_specific_runtime_libs+set}" = set; then :
79514 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
79515 yes) version_specific_libs=yes ;;
79516 no) version_specific_libs=no ;;
79517 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
79518 esac
79519 else
79520 version_specific_libs=no
79523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
79524 $as_echo "$version_specific_libs" >&6; }
79526 # Default case for install directory for include files.
79527 if test $version_specific_libs = no && test $gxx_include_dir = no; then
79528 gxx_include_dir='include/c++/${gcc_version}'
79529 if test -n "$with_cross_host" &&
79530 test x"$with_cross_host" != x"no"; then
79531 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
79532 else
79533 gxx_include_dir='${prefix}/'"$gxx_include_dir"
79537 # Version-specific runtime libs processing.
79538 if test $version_specific_libs = yes; then
79539 # Need the gcc compiler version to know where to install libraries
79540 # and header files if --enable-version-specific-runtime-libs option
79541 # is selected. FIXME: these variables are misnamed, there are
79542 # no executables installed in _toolexecdir or _toolexeclibdir.
79543 if test x"$gxx_include_dir" = x"no"; then
79544 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
79546 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
79547 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
79550 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
79551 # Install a library built with a cross compiler in tooldir, not libdir.
79552 if test x"$glibcxx_toolexecdir" = x"no"; then
79553 if test -n "$with_cross_host" &&
79554 test x"$with_cross_host" != x"no"; then
79555 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
79556 glibcxx_toolexeclibdir='${toolexecdir}/lib'
79557 else
79558 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
79559 glibcxx_toolexeclibdir='${libdir}'
79561 multi_os_directory=`$CXX -print-multi-os-directory`
79562 case $multi_os_directory in
79563 .) ;; # Avoid trailing /.
79564 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
79565 esac
79568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
79569 $as_echo_n "checking for install location... " >&6; }
79570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
79571 $as_echo "$gxx_include_dir" >&6; }
79579 # Export all the include and flag information to Makefiles.
79581 # Used for every C++ compile we perform.
79582 GLIBCXX_INCLUDES="\
79583 -I$glibcxx_builddir/include/$host_alias \
79584 -I$glibcxx_builddir/include \
79585 -I$glibcxx_srcdir/libsupc++"
79587 # For Canadian crosses, pick this up too.
79588 if test $CANADIAN = yes; then
79589 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
79592 # Stuff in the actual top level. Currently only used by libsupc++ to
79593 # get unwind* headers from the libgcc dir.
79594 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
79595 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc'
79597 # Now, export this to all the little Makefiles....
79602 # Optimization flags that are probably a good idea for thrill-seekers. Just
79603 # uncomment the lines below and make, everything else is ready to go...
79604 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
79605 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
79608 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi'
79612 ac_config_files="$ac_config_files Makefile"
79614 ac_config_files="$ac_config_files scripts/testsuite_flags"
79616 ac_config_files="$ac_config_files scripts/extract_symvers"
79618 ac_config_files="$ac_config_files doc/xsl/customization.xsl"
79621 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
79622 # that multilib installs will end up installed in the correct place.
79623 # The testsuite needs it for multilib-aware ABI baseline files.
79624 # To work around this not being passed down from config-ml.in ->
79625 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
79626 # append it here. Only modify Makefiles that have just been created.
79628 # Also, get rid of this simulated-VPATH thing that automake does.
79629 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"
79632 ac_config_commands="$ac_config_commands generate-headers"
79635 cat >confcache <<\_ACEOF
79636 # This file is a shell script that caches the results of configure
79637 # tests run on this system so they can be shared between configure
79638 # scripts and configure runs, see configure's option --config-cache.
79639 # It is not useful on other systems. If it contains results you don't
79640 # want to keep, you may remove or edit it.
79642 # config.status only pays attention to the cache file if you give it
79643 # the --recheck option to rerun configure.
79645 # `ac_cv_env_foo' variables (set or unset) will be overridden when
79646 # loading this file, other *unset* `ac_cv_foo' will be assigned the
79647 # following values.
79649 _ACEOF
79651 # The following way of writing the cache mishandles newlines in values,
79652 # but we know of no workaround that is simple, portable, and efficient.
79653 # So, we kill variables containing newlines.
79654 # Ultrix sh set writes to stderr and can't be redirected directly,
79655 # and sets the high bit in the cache file unless we assign to the vars.
79657 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
79658 eval ac_val=\$$ac_var
79659 case $ac_val in #(
79660 *${as_nl}*)
79661 case $ac_var in #(
79662 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
79663 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
79664 esac
79665 case $ac_var in #(
79666 _ | IFS | as_nl) ;; #(
79667 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
79668 *) { eval $ac_var=; unset $ac_var;} ;;
79669 esac ;;
79670 esac
79671 done
79673 (set) 2>&1 |
79674 case $as_nl`(ac_space=' '; set) 2>&1` in #(
79675 *${as_nl}ac_space=\ *)
79676 # `set' does not quote correctly, so add quotes: double-quote
79677 # substitution turns \\\\ into \\, and sed turns \\ into \.
79678 sed -n \
79679 "s/'/'\\\\''/g;
79680 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
79681 ;; #(
79683 # `set' quotes correctly as required by POSIX, so do not add quotes.
79684 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
79686 esac |
79687 sort
79689 sed '
79690 /^ac_cv_env_/b end
79691 t clear
79692 :clear
79693 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
79694 t end
79695 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
79696 :end' >>confcache
79697 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
79698 if test -w "$cache_file"; then
79699 test "x$cache_file" != "x/dev/null" &&
79700 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
79701 $as_echo "$as_me: updating cache $cache_file" >&6;}
79702 cat confcache >$cache_file
79703 else
79704 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
79705 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
79708 rm -f confcache
79710 test "x$prefix" = xNONE && prefix=$ac_default_prefix
79711 # Let make expand exec_prefix.
79712 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
79714 DEFS=-DHAVE_CONFIG_H
79716 ac_libobjs=
79717 ac_ltlibobjs=
79718 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
79719 # 1. Remove the extension, and $U if already installed.
79720 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
79721 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
79722 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
79723 # will be set to the directory where LIBOBJS objects are built.
79724 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
79725 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
79726 done
79727 LIBOBJS=$ac_libobjs
79729 LTLIBOBJS=$ac_ltlibobjs
79732 if test -n "$EXEEXT"; then
79733 am__EXEEXT_TRUE=
79734 am__EXEEXT_FALSE='#'
79735 else
79736 am__EXEEXT_TRUE='#'
79737 am__EXEEXT_FALSE=
79740 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
79741 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
79742 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79744 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
79745 as_fn_error "conditional \"GLIBCXX_HOSTED\" was never defined.
79746 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79748 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
79749 as_fn_error "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
79750 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79752 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
79753 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
79754 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79756 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
79757 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
79758 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79760 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
79761 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
79762 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79764 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
79765 as_fn_error "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
79766 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79768 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
79769 as_fn_error "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
79770 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79772 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
79773 as_fn_error "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
79774 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79776 if test -z "${ENABLE_PYTHONDIR_TRUE}" && test -z "${ENABLE_PYTHONDIR_FALSE}"; then
79777 as_fn_error "conditional \"ENABLE_PYTHONDIR\" was never defined.
79778 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79780 if test -z "${ENABLE_WERROR_TRUE}" && test -z "${ENABLE_WERROR_FALSE}"; then
79781 as_fn_error "conditional \"ENABLE_WERROR\" was never defined.
79782 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79784 if test -z "${ENABLE_VTABLE_VERIFY_TRUE}" && test -z "${ENABLE_VTABLE_VERIFY_FALSE}"; then
79785 as_fn_error "conditional \"ENABLE_VTABLE_VERIFY\" was never defined.
79786 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79788 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
79789 as_fn_error "conditional \"ENABLE_SYMVERS\" was never defined.
79790 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79792 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
79793 as_fn_error "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
79794 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79796 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
79797 as_fn_error "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
79798 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79800 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
79801 as_fn_error "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
79802 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79804 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
79805 as_fn_error "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
79806 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79808 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
79809 as_fn_error "conditional \"ENABLE_VISIBILITY\" was never defined.
79810 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79812 if test -z "${ENABLE_DUAL_ABI_TRUE}" && test -z "${ENABLE_DUAL_ABI_FALSE}"; then
79813 as_fn_error "conditional \"ENABLE_DUAL_ABI\" was never defined.
79814 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79816 if test -z "${ENABLE_CXX11_ABI_TRUE}" && test -z "${ENABLE_CXX11_ABI_FALSE}"; then
79817 as_fn_error "conditional \"ENABLE_CXX11_ABI\" was never defined.
79818 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79820 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
79821 as_fn_error "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
79822 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79824 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
79825 as_fn_error "conditional \"BUILD_INFO\" was never defined.
79826 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79828 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
79829 as_fn_error "conditional \"BUILD_EPUB\" was never defined.
79830 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79832 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
79833 as_fn_error "conditional \"BUILD_XML\" was never defined.
79834 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79836 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
79837 as_fn_error "conditional \"BUILD_HTML\" was never defined.
79838 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79840 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
79841 as_fn_error "conditional \"BUILD_MAN\" was never defined.
79842 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79844 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
79845 as_fn_error "conditional \"BUILD_PDF\" was never defined.
79846 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79849 : ${CONFIG_STATUS=./config.status}
79850 ac_write_fail=0
79851 ac_clean_files_save=$ac_clean_files
79852 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
79853 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
79854 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
79855 as_write_fail=0
79856 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
79857 #! $SHELL
79858 # Generated by $as_me.
79859 # Run this file to recreate the current configuration.
79860 # Compiler output produced by configure, useful for debugging
79861 # configure, is in config.log if it exists.
79863 debug=false
79864 ac_cs_recheck=false
79865 ac_cs_silent=false
79867 SHELL=\${CONFIG_SHELL-$SHELL}
79868 export SHELL
79869 _ASEOF
79870 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
79871 ## -------------------- ##
79872 ## M4sh Initialization. ##
79873 ## -------------------- ##
79875 # Be more Bourne compatible
79876 DUALCASE=1; export DUALCASE # for MKS sh
79877 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
79878 emulate sh
79879 NULLCMD=:
79880 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
79881 # is contrary to our usage. Disable this feature.
79882 alias -g '${1+"$@"}'='"$@"'
79883 setopt NO_GLOB_SUBST
79884 else
79885 case `(set -o) 2>/dev/null` in #(
79886 *posix*) :
79887 set -o posix ;; #(
79888 *) :
79890 esac
79894 as_nl='
79896 export as_nl
79897 # Printing a long string crashes Solaris 7 /usr/bin/printf.
79898 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
79899 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
79900 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
79901 # Prefer a ksh shell builtin over an external printf program on Solaris,
79902 # but without wasting forks for bash or zsh.
79903 if test -z "$BASH_VERSION$ZSH_VERSION" \
79904 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
79905 as_echo='print -r --'
79906 as_echo_n='print -rn --'
79907 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
79908 as_echo='printf %s\n'
79909 as_echo_n='printf %s'
79910 else
79911 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
79912 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
79913 as_echo_n='/usr/ucb/echo -n'
79914 else
79915 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
79916 as_echo_n_body='eval
79917 arg=$1;
79918 case $arg in #(
79919 *"$as_nl"*)
79920 expr "X$arg" : "X\\(.*\\)$as_nl";
79921 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
79922 esac;
79923 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
79925 export as_echo_n_body
79926 as_echo_n='sh -c $as_echo_n_body as_echo'
79928 export as_echo_body
79929 as_echo='sh -c $as_echo_body as_echo'
79932 # The user is always right.
79933 if test "${PATH_SEPARATOR+set}" != set; then
79934 PATH_SEPARATOR=:
79935 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
79936 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79937 PATH_SEPARATOR=';'
79942 # IFS
79943 # We need space, tab and new line, in precisely that order. Quoting is
79944 # there to prevent editors from complaining about space-tab.
79945 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
79946 # splitting by setting IFS to empty value.)
79947 IFS=" "" $as_nl"
79949 # Find who we are. Look in the path if we contain no directory separator.
79950 case $0 in #((
79951 *[\\/]* ) as_myself=$0 ;;
79952 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79953 for as_dir in $PATH
79955 IFS=$as_save_IFS
79956 test -z "$as_dir" && as_dir=.
79957 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
79958 done
79959 IFS=$as_save_IFS
79962 esac
79963 # We did not find ourselves, most probably we were run as `sh COMMAND'
79964 # in which case we are not to be found in the path.
79965 if test "x$as_myself" = x; then
79966 as_myself=$0
79968 if test ! -f "$as_myself"; then
79969 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
79970 exit 1
79973 # Unset variables that we do not need and which cause bugs (e.g. in
79974 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
79975 # suppresses any "Segmentation fault" message there. '((' could
79976 # trigger a bug in pdksh 5.2.14.
79977 for as_var in BASH_ENV ENV MAIL MAILPATH
79978 do eval test x\${$as_var+set} = xset \
79979 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
79980 done
79981 PS1='$ '
79982 PS2='> '
79983 PS4='+ '
79985 # NLS nuisances.
79986 LC_ALL=C
79987 export LC_ALL
79988 LANGUAGE=C
79989 export LANGUAGE
79991 # CDPATH.
79992 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
79995 # as_fn_error ERROR [LINENO LOG_FD]
79996 # ---------------------------------
79997 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
79998 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
79999 # script with status $?, using 1 if that was 0.
80000 as_fn_error ()
80002 as_status=$?; test $as_status -eq 0 && as_status=1
80003 if test "$3"; then
80004 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
80005 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
80007 $as_echo "$as_me: error: $1" >&2
80008 as_fn_exit $as_status
80009 } # as_fn_error
80012 # as_fn_set_status STATUS
80013 # -----------------------
80014 # Set $? to STATUS, without forking.
80015 as_fn_set_status ()
80017 return $1
80018 } # as_fn_set_status
80020 # as_fn_exit STATUS
80021 # -----------------
80022 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
80023 as_fn_exit ()
80025 set +e
80026 as_fn_set_status $1
80027 exit $1
80028 } # as_fn_exit
80030 # as_fn_unset VAR
80031 # ---------------
80032 # Portably unset VAR.
80033 as_fn_unset ()
80035 { eval $1=; unset $1;}
80037 as_unset=as_fn_unset
80038 # as_fn_append VAR VALUE
80039 # ----------------------
80040 # Append the text in VALUE to the end of the definition contained in VAR. Take
80041 # advantage of any shell optimizations that allow amortized linear growth over
80042 # repeated appends, instead of the typical quadratic growth present in naive
80043 # implementations.
80044 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
80045 eval 'as_fn_append ()
80047 eval $1+=\$2
80049 else
80050 as_fn_append ()
80052 eval $1=\$$1\$2
80054 fi # as_fn_append
80056 # as_fn_arith ARG...
80057 # ------------------
80058 # Perform arithmetic evaluation on the ARGs, and store the result in the
80059 # global $as_val. Take advantage of shells that can avoid forks. The arguments
80060 # must be portable across $(()) and expr.
80061 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
80062 eval 'as_fn_arith ()
80064 as_val=$(( $* ))
80066 else
80067 as_fn_arith ()
80069 as_val=`expr "$@" || test $? -eq 1`
80071 fi # as_fn_arith
80074 if expr a : '\(a\)' >/dev/null 2>&1 &&
80075 test "X`expr 00001 : '.*\(...\)'`" = X001; then
80076 as_expr=expr
80077 else
80078 as_expr=false
80081 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
80082 as_basename=basename
80083 else
80084 as_basename=false
80087 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
80088 as_dirname=dirname
80089 else
80090 as_dirname=false
80093 as_me=`$as_basename -- "$0" ||
80094 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
80095 X"$0" : 'X\(//\)$' \| \
80096 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
80097 $as_echo X/"$0" |
80098 sed '/^.*\/\([^/][^/]*\)\/*$/{
80099 s//\1/
80102 /^X\/\(\/\/\)$/{
80103 s//\1/
80106 /^X\/\(\/\).*/{
80107 s//\1/
80110 s/.*/./; q'`
80112 # Avoid depending upon Character Ranges.
80113 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
80114 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
80115 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
80116 as_cr_digits='0123456789'
80117 as_cr_alnum=$as_cr_Letters$as_cr_digits
80119 ECHO_C= ECHO_N= ECHO_T=
80120 case `echo -n x` in #(((((
80121 -n*)
80122 case `echo 'xy\c'` in
80123 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
80124 xy) ECHO_C='\c';;
80125 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
80126 ECHO_T=' ';;
80127 esac;;
80129 ECHO_N='-n';;
80130 esac
80132 rm -f conf$$ conf$$.exe conf$$.file
80133 if test -d conf$$.dir; then
80134 rm -f conf$$.dir/conf$$.file
80135 else
80136 rm -f conf$$.dir
80137 mkdir conf$$.dir 2>/dev/null
80139 if (echo >conf$$.file) 2>/dev/null; then
80140 if ln -s conf$$.file conf$$ 2>/dev/null; then
80141 as_ln_s='ln -s'
80142 # ... but there are two gotchas:
80143 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
80144 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
80145 # In both cases, we have to default to `cp -p'.
80146 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
80147 as_ln_s='cp -p'
80148 elif ln conf$$.file conf$$ 2>/dev/null; then
80149 as_ln_s=ln
80150 else
80151 as_ln_s='cp -p'
80153 else
80154 as_ln_s='cp -p'
80156 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
80157 rmdir conf$$.dir 2>/dev/null
80160 # as_fn_mkdir_p
80161 # -------------
80162 # Create "$as_dir" as a directory, including parents if necessary.
80163 as_fn_mkdir_p ()
80166 case $as_dir in #(
80167 -*) as_dir=./$as_dir;;
80168 esac
80169 test -d "$as_dir" || eval $as_mkdir_p || {
80170 as_dirs=
80171 while :; do
80172 case $as_dir in #(
80173 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
80174 *) as_qdir=$as_dir;;
80175 esac
80176 as_dirs="'$as_qdir' $as_dirs"
80177 as_dir=`$as_dirname -- "$as_dir" ||
80178 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
80179 X"$as_dir" : 'X\(//\)[^/]' \| \
80180 X"$as_dir" : 'X\(//\)$' \| \
80181 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
80182 $as_echo X"$as_dir" |
80183 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
80184 s//\1/
80187 /^X\(\/\/\)[^/].*/{
80188 s//\1/
80191 /^X\(\/\/\)$/{
80192 s//\1/
80195 /^X\(\/\).*/{
80196 s//\1/
80199 s/.*/./; q'`
80200 test -d "$as_dir" && break
80201 done
80202 test -z "$as_dirs" || eval "mkdir $as_dirs"
80203 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
80206 } # as_fn_mkdir_p
80207 if mkdir -p . 2>/dev/null; then
80208 as_mkdir_p='mkdir -p "$as_dir"'
80209 else
80210 test -d ./-p && rmdir ./-p
80211 as_mkdir_p=false
80214 if test -x / >/dev/null 2>&1; then
80215 as_test_x='test -x'
80216 else
80217 if ls -dL / >/dev/null 2>&1; then
80218 as_ls_L_option=L
80219 else
80220 as_ls_L_option=
80222 as_test_x='
80223 eval sh -c '\''
80224 if test -d "$1"; then
80225 test -d "$1/.";
80226 else
80227 case $1 in #(
80228 -*)set "./$1";;
80229 esac;
80230 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
80231 ???[sx]*):;;*)false;;esac;fi
80232 '\'' sh
80235 as_executable_p=$as_test_x
80237 # Sed expression to map a string onto a valid CPP name.
80238 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
80240 # Sed expression to map a string onto a valid variable name.
80241 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
80244 exec 6>&1
80245 ## ----------------------------------- ##
80246 ## Main body of $CONFIG_STATUS script. ##
80247 ## ----------------------------------- ##
80248 _ASEOF
80249 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
80251 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80252 # Save the log message, to keep $0 and so on meaningful, and to
80253 # report actual input values of CONFIG_FILES etc. instead of their
80254 # values after options handling.
80255 ac_log="
80256 This file was extended by package-unused $as_me version-unused, which was
80257 generated by GNU Autoconf 2.64. Invocation command line was
80259 CONFIG_FILES = $CONFIG_FILES
80260 CONFIG_HEADERS = $CONFIG_HEADERS
80261 CONFIG_LINKS = $CONFIG_LINKS
80262 CONFIG_COMMANDS = $CONFIG_COMMANDS
80263 $ $0 $@
80265 on `(hostname || uname -n) 2>/dev/null | sed 1q`
80268 _ACEOF
80270 case $ac_config_files in *"
80271 "*) set x $ac_config_files; shift; ac_config_files=$*;;
80272 esac
80274 case $ac_config_headers in *"
80275 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
80276 esac
80279 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
80280 # Files that config.status was made for.
80281 config_files="$ac_config_files"
80282 config_headers="$ac_config_headers"
80283 config_commands="$ac_config_commands"
80285 _ACEOF
80287 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80288 ac_cs_usage="\
80289 \`$as_me' instantiates files and other configuration actions
80290 from templates according to the current configuration. Unless the files
80291 and actions are specified as TAGs, all are instantiated by default.
80293 Usage: $0 [OPTION]... [TAG]...
80295 -h, --help print this help, then exit
80296 -V, --version print version number and configuration settings, then exit
80297 -q, --quiet, --silent
80298 do not print progress messages
80299 -d, --debug don't remove temporary files
80300 --recheck update $as_me by reconfiguring in the same conditions
80301 --file=FILE[:TEMPLATE]
80302 instantiate the configuration file FILE
80303 --header=FILE[:TEMPLATE]
80304 instantiate the configuration header FILE
80306 Configuration files:
80307 $config_files
80309 Configuration headers:
80310 $config_headers
80312 Configuration commands:
80313 $config_commands
80315 Report bugs to the package provider."
80317 _ACEOF
80318 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
80319 ac_cs_version="\\
80320 package-unused config.status version-unused
80321 configured by $0, generated by GNU Autoconf 2.64,
80322 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
80324 Copyright (C) 2009 Free Software Foundation, Inc.
80325 This config.status script is free software; the Free Software Foundation
80326 gives unlimited permission to copy, distribute and modify it."
80328 ac_pwd='$ac_pwd'
80329 srcdir='$srcdir'
80330 INSTALL='$INSTALL'
80331 MKDIR_P='$MKDIR_P'
80332 AWK='$AWK'
80333 test -n "\$AWK" || AWK=awk
80334 _ACEOF
80336 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80337 # The default lists apply if the user does not specify any file.
80338 ac_need_defaults=:
80339 while test $# != 0
80341 case $1 in
80342 --*=*)
80343 ac_option=`expr "X$1" : 'X\([^=]*\)='`
80344 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
80345 ac_shift=:
80348 ac_option=$1
80349 ac_optarg=$2
80350 ac_shift=shift
80352 esac
80354 case $ac_option in
80355 # Handling of the options.
80356 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
80357 ac_cs_recheck=: ;;
80358 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
80359 $as_echo "$ac_cs_version"; exit ;;
80360 --debug | --debu | --deb | --de | --d | -d )
80361 debug=: ;;
80362 --file | --fil | --fi | --f )
80363 $ac_shift
80364 case $ac_optarg in
80365 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
80366 esac
80367 as_fn_append CONFIG_FILES " '$ac_optarg'"
80368 ac_need_defaults=false;;
80369 --header | --heade | --head | --hea )
80370 $ac_shift
80371 case $ac_optarg in
80372 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
80373 esac
80374 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
80375 ac_need_defaults=false;;
80376 --he | --h)
80377 # Conflict between --help and --header
80378 as_fn_error "ambiguous option: \`$1'
80379 Try \`$0 --help' for more information.";;
80380 --help | --hel | -h )
80381 $as_echo "$ac_cs_usage"; exit ;;
80382 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
80383 | -silent | --silent | --silen | --sile | --sil | --si | --s)
80384 ac_cs_silent=: ;;
80386 # This is an error.
80387 -*) as_fn_error "unrecognized option: \`$1'
80388 Try \`$0 --help' for more information." ;;
80390 *) as_fn_append ac_config_targets " $1"
80391 ac_need_defaults=false ;;
80393 esac
80394 shift
80395 done
80397 ac_configure_extra_args=
80399 if $ac_cs_silent; then
80400 exec 6>/dev/null
80401 ac_configure_extra_args="$ac_configure_extra_args --silent"
80404 _ACEOF
80405 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
80406 if \$ac_cs_recheck; then
80407 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
80408 shift
80409 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
80410 CONFIG_SHELL='$SHELL'
80411 export CONFIG_SHELL
80412 exec "\$@"
80415 _ACEOF
80416 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80417 exec 5>>config.log
80419 echo
80420 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
80421 ## Running $as_me. ##
80422 _ASBOX
80423 $as_echo "$ac_log"
80424 } >&5
80426 _ACEOF
80427 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
80429 # INIT-COMMANDS
80432 srcdir="$srcdir"
80433 host="$host"
80434 target="$target"
80435 with_multisubdir="$with_multisubdir"
80436 with_multisrctop="$with_multisrctop"
80437 with_target_subdir="$with_target_subdir"
80438 ac_configure_args="${multilib_arg} ${ac_configure_args}"
80439 multi_basedir="$multi_basedir"
80440 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
80441 CC="$CC"
80442 CXX="$CXX"
80443 GFORTRAN="$GFORTRAN"
80444 GCJ="$GCJ"
80447 # The HP-UX ksh and POSIX shell print the target directory to stdout
80448 # if CDPATH is set.
80449 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
80451 sed_quote_subst='$sed_quote_subst'
80452 double_quote_subst='$double_quote_subst'
80453 delay_variable_subst='$delay_variable_subst'
80454 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
80455 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
80456 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
80457 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
80458 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
80459 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
80460 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
80461 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
80462 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
80463 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
80464 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
80465 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
80466 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
80467 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
80468 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
80469 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
80470 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
80471 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
80472 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
80473 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
80474 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
80475 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
80476 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
80477 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
80478 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
80479 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
80480 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
80481 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
80482 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
80483 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
80484 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
80485 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
80486 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
80487 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
80488 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
80489 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
80490 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
80491 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
80492 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
80493 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
80494 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
80495 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
80496 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
80497 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
80498 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
80499 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
80500 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
80501 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
80502 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"`'
80503 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
80504 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
80505 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
80506 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
80507 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
80508 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
80509 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
80510 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
80511 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
80512 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
80513 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
80514 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
80515 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
80516 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
80517 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
80518 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
80519 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
80520 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
80521 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
80522 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
80523 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
80524 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
80525 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
80526 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
80527 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
80528 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
80529 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
80530 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
80531 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
80532 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
80533 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
80534 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
80535 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
80536 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
80537 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
80538 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
80539 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
80540 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
80541 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
80542 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
80543 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
80544 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
80545 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
80546 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
80547 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
80548 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
80549 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
80550 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
80551 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
80552 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
80553 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
80554 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
80555 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
80556 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
80557 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
80558 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
80559 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
80560 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
80561 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
80562 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
80563 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
80564 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
80565 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
80566 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
80567 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
80568 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
80569 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
80570 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
80571 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
80572 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
80573 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
80574 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
80575 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
80576 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
80577 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
80578 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
80579 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
80580 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
80581 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
80582 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80583 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80584 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
80585 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
80586 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
80587 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
80588 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
80589 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
80590 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
80591 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
80592 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
80593 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
80594 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
80595 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
80596 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80597 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80598 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80599 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80600 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80601 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80602 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
80603 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
80604 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
80605 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
80606 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
80607 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
80608 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
80609 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
80610 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
80611 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
80612 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
80613 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
80614 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
80615 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
80616 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
80617 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80618 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
80619 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
80620 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80621 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
80622 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
80623 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
80624 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
80625 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
80626 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
80627 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
80628 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
80630 LTCC='$LTCC'
80631 LTCFLAGS='$LTCFLAGS'
80632 compiler='$compiler_DEFAULT'
80634 # A function that is used when there is no print builtin or printf.
80635 func_fallback_echo ()
80637 eval 'cat <<_LTECHO_EOF
80639 _LTECHO_EOF'
80642 # Quote evaled strings.
80643 for var in SHELL \
80644 ECHO \
80645 SED \
80646 GREP \
80647 EGREP \
80648 FGREP \
80649 LD \
80650 NM \
80651 LN_S \
80652 lt_SP2NL \
80653 lt_NL2SP \
80654 reload_flag \
80655 OBJDUMP \
80656 deplibs_check_method \
80657 file_magic_cmd \
80658 AR \
80659 AR_FLAGS \
80660 STRIP \
80661 RANLIB \
80662 CC \
80663 CFLAGS \
80664 compiler \
80665 lt_cv_sys_global_symbol_pipe \
80666 lt_cv_sys_global_symbol_to_cdecl \
80667 lt_cv_sys_global_symbol_to_c_name_address \
80668 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
80669 lt_prog_compiler_no_builtin_flag \
80670 lt_prog_compiler_wl \
80671 lt_prog_compiler_pic \
80672 lt_prog_compiler_static \
80673 lt_cv_prog_compiler_c_o \
80674 need_locks \
80675 DSYMUTIL \
80676 NMEDIT \
80677 LIPO \
80678 OTOOL \
80679 OTOOL64 \
80680 shrext_cmds \
80681 export_dynamic_flag_spec \
80682 whole_archive_flag_spec \
80683 compiler_needs_object \
80684 with_gnu_ld \
80685 allow_undefined_flag \
80686 no_undefined_flag \
80687 hardcode_libdir_flag_spec \
80688 hardcode_libdir_flag_spec_ld \
80689 hardcode_libdir_separator \
80690 fix_srcfile_path \
80691 exclude_expsyms \
80692 include_expsyms \
80693 file_list_spec \
80694 variables_saved_for_relink \
80695 libname_spec \
80696 library_names_spec \
80697 soname_spec \
80698 install_override_mode \
80699 finish_eval \
80700 old_striplib \
80701 striplib \
80702 compiler_lib_search_dirs \
80703 predep_objects \
80704 postdep_objects \
80705 predeps \
80706 postdeps \
80707 compiler_lib_search_path \
80708 LD_CXX \
80709 reload_flag_CXX \
80710 compiler_CXX \
80711 lt_prog_compiler_no_builtin_flag_CXX \
80712 lt_prog_compiler_wl_CXX \
80713 lt_prog_compiler_pic_CXX \
80714 lt_prog_compiler_static_CXX \
80715 lt_cv_prog_compiler_c_o_CXX \
80716 export_dynamic_flag_spec_CXX \
80717 whole_archive_flag_spec_CXX \
80718 compiler_needs_object_CXX \
80719 with_gnu_ld_CXX \
80720 allow_undefined_flag_CXX \
80721 no_undefined_flag_CXX \
80722 hardcode_libdir_flag_spec_CXX \
80723 hardcode_libdir_flag_spec_ld_CXX \
80724 hardcode_libdir_separator_CXX \
80725 fix_srcfile_path_CXX \
80726 exclude_expsyms_CXX \
80727 include_expsyms_CXX \
80728 file_list_spec_CXX \
80729 compiler_lib_search_dirs_CXX \
80730 predep_objects_CXX \
80731 postdep_objects_CXX \
80732 predeps_CXX \
80733 postdeps_CXX \
80734 compiler_lib_search_path_CXX; do
80735 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
80736 *[\\\\\\\`\\"\\\$]*)
80737 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
80740 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
80742 esac
80743 done
80745 # Double-quote double-evaled strings.
80746 for var in reload_cmds \
80747 old_postinstall_cmds \
80748 old_postuninstall_cmds \
80749 old_archive_cmds \
80750 extract_expsyms_cmds \
80751 old_archive_from_new_cmds \
80752 old_archive_from_expsyms_cmds \
80753 archive_cmds \
80754 archive_expsym_cmds \
80755 module_cmds \
80756 module_expsym_cmds \
80757 export_symbols_cmds \
80758 prelink_cmds \
80759 postinstall_cmds \
80760 postuninstall_cmds \
80761 finish_cmds \
80762 sys_lib_search_path_spec \
80763 sys_lib_dlsearch_path_spec \
80764 reload_cmds_CXX \
80765 old_archive_cmds_CXX \
80766 old_archive_from_new_cmds_CXX \
80767 old_archive_from_expsyms_cmds_CXX \
80768 archive_cmds_CXX \
80769 archive_expsym_cmds_CXX \
80770 module_cmds_CXX \
80771 module_expsym_cmds_CXX \
80772 export_symbols_cmds_CXX \
80773 prelink_cmds_CXX; do
80774 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
80775 *[\\\\\\\`\\"\\\$]*)
80776 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
80779 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
80781 esac
80782 done
80784 ac_aux_dir='$ac_aux_dir'
80785 xsi_shell='$xsi_shell'
80786 lt_shell_append='$lt_shell_append'
80788 # See if we are running on zsh, and set the options which allow our
80789 # commands through without removal of \ escapes INIT.
80790 if test -n "\${ZSH_VERSION+set}" ; then
80791 setopt NO_GLOB_SUBST
80795 PACKAGE='$PACKAGE'
80796 VERSION='$VERSION'
80797 TIMESTAMP='$TIMESTAMP'
80798 RM='$RM'
80799 ofile='$ofile'
80806 GCC="$GCC"
80807 CC="$CC"
80808 acx_cv_header_stdint="$acx_cv_header_stdint"
80809 acx_cv_type_int8_t="$acx_cv_type_int8_t"
80810 acx_cv_type_int16_t="$acx_cv_type_int16_t"
80811 acx_cv_type_int32_t="$acx_cv_type_int32_t"
80812 acx_cv_type_int64_t="$acx_cv_type_int64_t"
80813 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
80814 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
80815 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
80816 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
80817 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
80818 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
80819 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
80820 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
80821 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
80824 _ACEOF
80826 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80828 # Handling of arguments.
80829 for ac_config_target in $ac_config_targets
80831 case $ac_config_target in
80832 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
80833 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
80834 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
80835 "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
80836 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
80837 "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
80838 "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
80839 "doc/xsl/customization.xsl") CONFIG_FILES="$CONFIG_FILES doc/xsl/customization.xsl" ;;
80840 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
80841 "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
80842 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
80843 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
80844 "src/c++98/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++98/Makefile" ;;
80845 "src/c++11/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++11/Makefile" ;;
80846 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
80847 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
80848 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
80849 "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
80851 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
80852 esac
80853 done
80856 # If the user did not use the arguments to specify the items to instantiate,
80857 # then the envvar interface is used. Set only those that are not.
80858 # We use the long form for the default assignment because of an extremely
80859 # bizarre bug on SunOS 4.1.3.
80860 if $ac_need_defaults; then
80861 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
80862 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
80863 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
80866 # Have a temporary directory for convenience. Make it in the build tree
80867 # simply because there is no reason against having it here, and in addition,
80868 # creating and moving files from /tmp can sometimes cause problems.
80869 # Hook for its removal unless debugging.
80870 # Note that there is a small window in which the directory will not be cleaned:
80871 # after its creation but before its name has been assigned to `$tmp'.
80872 $debug ||
80874 tmp=
80875 trap 'exit_status=$?
80876 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
80878 trap 'as_fn_exit 1' 1 2 13 15
80880 # Create a (secure) tmp directory for tmp files.
80883 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
80884 test -n "$tmp" && test -d "$tmp"
80885 } ||
80887 tmp=./conf$$-$RANDOM
80888 (umask 077 && mkdir "$tmp")
80889 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
80891 # Set up the scripts for CONFIG_FILES section.
80892 # No need to generate them if there are no CONFIG_FILES.
80893 # This happens for instance with `./config.status config.h'.
80894 if test -n "$CONFIG_FILES"; then
80897 ac_cr=`echo X | tr X '\015'`
80898 # On cygwin, bash can eat \r inside `` if the user requested igncr.
80899 # But we know of no other shell where ac_cr would be empty at this
80900 # point, so we can use a bashism as a fallback.
80901 if test "x$ac_cr" = x; then
80902 eval ac_cr=\$\'\\r\'
80904 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
80905 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
80906 ac_cs_awk_cr='\r'
80907 else
80908 ac_cs_awk_cr=$ac_cr
80911 echo 'BEGIN {' >"$tmp/subs1.awk" &&
80912 _ACEOF
80916 echo "cat >conf$$subs.awk <<_ACEOF" &&
80917 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
80918 echo "_ACEOF"
80919 } >conf$$subs.sh ||
80920 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
80921 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
80922 ac_delim='%!_!# '
80923 for ac_last_try in false false false false false :; do
80924 . ./conf$$subs.sh ||
80925 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
80927 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
80928 if test $ac_delim_n = $ac_delim_num; then
80929 break
80930 elif $ac_last_try; then
80931 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
80932 else
80933 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
80935 done
80936 rm -f conf$$subs.sh
80938 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
80939 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
80940 _ACEOF
80941 sed -n '
80943 s/^/S["/; s/!.*/"]=/
80946 s/^[^!]*!//
80947 :repl
80948 t repl
80949 s/'"$ac_delim"'$//
80950 t delim
80953 s/\(.\{148\}\).*/\1/
80954 t more1
80955 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
80958 b repl
80959 :more1
80960 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
80963 s/.\{148\}//
80964 t nl
80965 :delim
80967 s/\(.\{148\}\).*/\1/
80968 t more2
80969 s/["\\]/\\&/g; s/^/"/; s/$/"/
80972 :more2
80973 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
80976 s/.\{148\}//
80977 t delim
80978 ' <conf$$subs.awk | sed '
80979 /^[^""]/{
80981 s/\n//
80983 ' >>$CONFIG_STATUS || ac_write_fail=1
80984 rm -f conf$$subs.awk
80985 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
80986 _ACAWK
80987 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
80988 for (key in S) S_is_set[key] = 1
80989 FS = "\a"
80993 line = $ 0
80994 nfields = split(line, field, "@")
80995 substed = 0
80996 len = length(field[1])
80997 for (i = 2; i < nfields; i++) {
80998 key = field[i]
80999 keylen = length(key)
81000 if (S_is_set[key]) {
81001 value = S[key]
81002 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
81003 len += length(value) + length(field[++i])
81004 substed = 1
81005 } else
81006 len += 1 + keylen
81009 print line
81012 _ACAWK
81013 _ACEOF
81014 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
81015 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
81016 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
81017 else
81019 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
81020 || as_fn_error "could not setup config files machinery" "$LINENO" 5
81021 _ACEOF
81023 # VPATH may cause trouble with some makes, so we remove $(srcdir),
81024 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
81025 # trailing colons and then remove the whole line if VPATH becomes empty
81026 # (actually we leave an empty line to preserve line numbers).
81027 if test "x$srcdir" = x.; then
81028 ac_vpsub='/^[ ]*VPATH[ ]*=/{
81029 s/:*\$(srcdir):*/:/
81030 s/:*\${srcdir}:*/:/
81031 s/:*@srcdir@:*/:/
81032 s/^\([^=]*=[ ]*\):*/\1/
81033 s/:*$//
81034 s/^[^=]*=[ ]*$//
81038 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
81039 fi # test -n "$CONFIG_FILES"
81041 # Set up the scripts for CONFIG_HEADERS section.
81042 # No need to generate them if there are no CONFIG_HEADERS.
81043 # This happens for instance with `./config.status Makefile'.
81044 if test -n "$CONFIG_HEADERS"; then
81045 cat >"$tmp/defines.awk" <<\_ACAWK ||
81046 BEGIN {
81047 _ACEOF
81049 # Transform confdefs.h into an awk script `defines.awk', embedded as
81050 # here-document in config.status, that substitutes the proper values into
81051 # config.h.in to produce config.h.
81053 # Create a delimiter string that does not exist in confdefs.h, to ease
81054 # handling of long lines.
81055 ac_delim='%!_!# '
81056 for ac_last_try in false false :; do
81057 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
81058 if test -z "$ac_t"; then
81059 break
81060 elif $ac_last_try; then
81061 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
81062 else
81063 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
81065 done
81067 # For the awk script, D is an array of macro values keyed by name,
81068 # likewise P contains macro parameters if any. Preserve backslash
81069 # newline sequences.
81071 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
81072 sed -n '
81073 s/.\{148\}/&'"$ac_delim"'/g
81074 t rset
81075 :rset
81076 s/^[ ]*#[ ]*define[ ][ ]*/ /
81077 t def
81079 :def
81080 s/\\$//
81081 t bsnl
81082 s/["\\]/\\&/g
81083 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
81084 D["\1"]=" \3"/p
81085 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
81087 :bsnl
81088 s/["\\]/\\&/g
81089 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
81090 D["\1"]=" \3\\\\\\n"\\/p
81091 t cont
81092 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
81093 t cont
81095 :cont
81097 s/.\{148\}/&'"$ac_delim"'/g
81098 t clear
81099 :clear
81100 s/\\$//
81101 t bsnlc
81102 s/["\\]/\\&/g; s/^/"/; s/$/"/p
81104 :bsnlc
81105 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
81106 b cont
81107 ' <confdefs.h | sed '
81108 s/'"$ac_delim"'/"\\\
81109 "/g' >>$CONFIG_STATUS || ac_write_fail=1
81111 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
81112 for (key in D) D_is_set[key] = 1
81113 FS = "\a"
81115 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
81116 line = \$ 0
81117 split(line, arg, " ")
81118 if (arg[1] == "#") {
81119 defundef = arg[2]
81120 mac1 = arg[3]
81121 } else {
81122 defundef = substr(arg[1], 2)
81123 mac1 = arg[2]
81125 split(mac1, mac2, "(") #)
81126 macro = mac2[1]
81127 prefix = substr(line, 1, index(line, defundef) - 1)
81128 if (D_is_set[macro]) {
81129 # Preserve the white space surrounding the "#".
81130 print prefix "define", macro P[macro] D[macro]
81131 next
81132 } else {
81133 # Replace #undef with comments. This is necessary, for example,
81134 # in the case of _POSIX_SOURCE, which is predefined and required
81135 # on some systems where configure will not decide to define it.
81136 if (defundef == "undef") {
81137 print "/*", prefix defundef, macro, "*/"
81138 next
81142 { print }
81143 _ACAWK
81144 _ACEOF
81145 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
81146 as_fn_error "could not setup config headers machinery" "$LINENO" 5
81147 fi # test -n "$CONFIG_HEADERS"
81150 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
81151 shift
81152 for ac_tag
81154 case $ac_tag in
81155 :[FHLC]) ac_mode=$ac_tag; continue;;
81156 esac
81157 case $ac_mode$ac_tag in
81158 :[FHL]*:*);;
81159 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
81160 :[FH]-) ac_tag=-:-;;
81161 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
81162 esac
81163 ac_save_IFS=$IFS
81164 IFS=:
81165 set x $ac_tag
81166 IFS=$ac_save_IFS
81167 shift
81168 ac_file=$1
81169 shift
81171 case $ac_mode in
81172 :L) ac_source=$1;;
81173 :[FH])
81174 ac_file_inputs=
81175 for ac_f
81177 case $ac_f in
81178 -) ac_f="$tmp/stdin";;
81179 *) # Look for the file first in the build tree, then in the source tree
81180 # (if the path is not absolute). The absolute path cannot be DOS-style,
81181 # because $ac_f cannot contain `:'.
81182 test -f "$ac_f" ||
81183 case $ac_f in
81184 [\\/$]*) false;;
81185 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
81186 esac ||
81187 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
81188 esac
81189 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
81190 as_fn_append ac_file_inputs " '$ac_f'"
81191 done
81193 # Let's still pretend it is `configure' which instantiates (i.e., don't
81194 # use $as_me), people would be surprised to read:
81195 # /* config.h. Generated by config.status. */
81196 configure_input='Generated from '`
81197 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
81198 `' by configure.'
81199 if test x"$ac_file" != x-; then
81200 configure_input="$ac_file. $configure_input"
81201 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
81202 $as_echo "$as_me: creating $ac_file" >&6;}
81204 # Neutralize special characters interpreted by sed in replacement strings.
81205 case $configure_input in #(
81206 *\&* | *\|* | *\\* )
81207 ac_sed_conf_input=`$as_echo "$configure_input" |
81208 sed 's/[\\\\&|]/\\\\&/g'`;; #(
81209 *) ac_sed_conf_input=$configure_input;;
81210 esac
81212 case $ac_tag in
81213 *:-:* | *:-) cat >"$tmp/stdin" \
81214 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
81215 esac
81217 esac
81219 ac_dir=`$as_dirname -- "$ac_file" ||
81220 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
81221 X"$ac_file" : 'X\(//\)[^/]' \| \
81222 X"$ac_file" : 'X\(//\)$' \| \
81223 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
81224 $as_echo X"$ac_file" |
81225 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
81226 s//\1/
81229 /^X\(\/\/\)[^/].*/{
81230 s//\1/
81233 /^X\(\/\/\)$/{
81234 s//\1/
81237 /^X\(\/\).*/{
81238 s//\1/
81241 s/.*/./; q'`
81242 as_dir="$ac_dir"; as_fn_mkdir_p
81243 ac_builddir=.
81245 case "$ac_dir" in
81246 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
81248 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
81249 # A ".." for each directory in $ac_dir_suffix.
81250 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
81251 case $ac_top_builddir_sub in
81252 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
81253 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
81254 esac ;;
81255 esac
81256 ac_abs_top_builddir=$ac_pwd
81257 ac_abs_builddir=$ac_pwd$ac_dir_suffix
81258 # for backward compatibility:
81259 ac_top_builddir=$ac_top_build_prefix
81261 case $srcdir in
81262 .) # We are building in place.
81263 ac_srcdir=.
81264 ac_top_srcdir=$ac_top_builddir_sub
81265 ac_abs_top_srcdir=$ac_pwd ;;
81266 [\\/]* | ?:[\\/]* ) # Absolute name.
81267 ac_srcdir=$srcdir$ac_dir_suffix;
81268 ac_top_srcdir=$srcdir
81269 ac_abs_top_srcdir=$srcdir ;;
81270 *) # Relative name.
81271 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
81272 ac_top_srcdir=$ac_top_build_prefix$srcdir
81273 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
81274 esac
81275 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
81278 case $ac_mode in
81281 # CONFIG_FILE
81284 case $INSTALL in
81285 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
81286 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
81287 esac
81288 ac_MKDIR_P=$MKDIR_P
81289 case $MKDIR_P in
81290 [\\/$]* | ?:[\\/]* ) ;;
81291 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
81292 esac
81293 _ACEOF
81295 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
81296 # If the template does not know about datarootdir, expand it.
81297 # FIXME: This hack should be removed a few years after 2.60.
81298 ac_datarootdir_hack=; ac_datarootdir_seen=
81299 ac_sed_dataroot='
81300 /datarootdir/ {
81304 /@datadir@/p
81305 /@docdir@/p
81306 /@infodir@/p
81307 /@localedir@/p
81308 /@mandir@/p'
81309 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
81310 *datarootdir*) ac_datarootdir_seen=yes;;
81311 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
81312 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
81313 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
81314 _ACEOF
81315 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
81316 ac_datarootdir_hack='
81317 s&@datadir@&$datadir&g
81318 s&@docdir@&$docdir&g
81319 s&@infodir@&$infodir&g
81320 s&@localedir@&$localedir&g
81321 s&@mandir@&$mandir&g
81322 s&\\\${datarootdir}&$datarootdir&g' ;;
81323 esac
81324 _ACEOF
81326 # Neutralize VPATH when `$srcdir' = `.'.
81327 # Shell code in configure.ac might set extrasub.
81328 # FIXME: do we really want to maintain this feature?
81329 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
81330 ac_sed_extra="$ac_vpsub
81331 $extrasub
81332 _ACEOF
81333 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
81335 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
81336 s|@configure_input@|$ac_sed_conf_input|;t t
81337 s&@top_builddir@&$ac_top_builddir_sub&;t t
81338 s&@top_build_prefix@&$ac_top_build_prefix&;t t
81339 s&@srcdir@&$ac_srcdir&;t t
81340 s&@abs_srcdir@&$ac_abs_srcdir&;t t
81341 s&@top_srcdir@&$ac_top_srcdir&;t t
81342 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
81343 s&@builddir@&$ac_builddir&;t t
81344 s&@abs_builddir@&$ac_abs_builddir&;t t
81345 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
81346 s&@INSTALL@&$ac_INSTALL&;t t
81347 s&@MKDIR_P@&$ac_MKDIR_P&;t t
81348 $ac_datarootdir_hack
81350 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
81351 || as_fn_error "could not create $ac_file" "$LINENO" 5
81353 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
81354 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
81355 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
81356 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
81357 which seems to be undefined. Please make sure it is defined." >&5
81358 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
81359 which seems to be undefined. Please make sure it is defined." >&2;}
81361 rm -f "$tmp/stdin"
81362 case $ac_file in
81363 -) cat "$tmp/out" && rm -f "$tmp/out";;
81364 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
81365 esac \
81366 || as_fn_error "could not create $ac_file" "$LINENO" 5
81370 # CONFIG_HEADER
81372 if test x"$ac_file" != x-; then
81374 $as_echo "/* $configure_input */" \
81375 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
81376 } >"$tmp/config.h" \
81377 || as_fn_error "could not create $ac_file" "$LINENO" 5
81378 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
81379 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
81380 $as_echo "$as_me: $ac_file is unchanged" >&6;}
81381 else
81382 rm -f "$ac_file"
81383 mv "$tmp/config.h" "$ac_file" \
81384 || as_fn_error "could not create $ac_file" "$LINENO" 5
81386 else
81387 $as_echo "/* $configure_input */" \
81388 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
81389 || as_fn_error "could not create -" "$LINENO" 5
81391 # Compute "$ac_file"'s index in $config_headers.
81392 _am_arg="$ac_file"
81393 _am_stamp_count=1
81394 for _am_header in $config_headers :; do
81395 case $_am_header in
81396 $_am_arg | $_am_arg:* )
81397 break ;;
81399 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
81400 esac
81401 done
81402 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
81403 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
81404 X"$_am_arg" : 'X\(//\)[^/]' \| \
81405 X"$_am_arg" : 'X\(//\)$' \| \
81406 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
81407 $as_echo X"$_am_arg" |
81408 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
81409 s//\1/
81412 /^X\(\/\/\)[^/].*/{
81413 s//\1/
81416 /^X\(\/\/\)$/{
81417 s//\1/
81420 /^X\(\/\).*/{
81421 s//\1/
81424 s/.*/./; q'`/stamp-h$_am_stamp_count
81427 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
81428 $as_echo "$as_me: executing $ac_file commands" >&6;}
81430 esac
81433 case $ac_file$ac_mode in
81434 "default-1":C)
81435 # Only add multilib support code if we just rebuilt the top-level
81436 # Makefile.
81437 case " $CONFIG_FILES " in
81438 *" Makefile "*)
81439 ac_file=Makefile . ${multi_basedir}/config-ml.in
81441 esac ;;
81442 "libtool":C)
81444 # See if we are running on zsh, and set the options which allow our
81445 # commands through without removal of \ escapes.
81446 if test -n "${ZSH_VERSION+set}" ; then
81447 setopt NO_GLOB_SUBST
81450 cfgfile="${ofile}T"
81451 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
81452 $RM "$cfgfile"
81454 cat <<_LT_EOF >> "$cfgfile"
81455 #! $SHELL
81457 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
81458 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
81459 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
81460 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
81462 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
81463 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
81464 # Written by Gordon Matzigkeit, 1996
81466 # This file is part of GNU Libtool.
81468 # GNU Libtool is free software; you can redistribute it and/or
81469 # modify it under the terms of the GNU General Public License as
81470 # published by the Free Software Foundation; either version 2 of
81471 # the License, or (at your option) any later version.
81473 # As a special exception to the GNU General Public License,
81474 # if you distribute this file as part of a program or library that
81475 # is built using GNU Libtool, you may include this file under the
81476 # same distribution terms that you use for the rest of that program.
81478 # GNU Libtool is distributed in the hope that it will be useful,
81479 # but WITHOUT ANY WARRANTY; without even the implied warranty of
81480 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
81481 # GNU General Public License for more details.
81483 # You should have received a copy of the GNU General Public License
81484 # along with GNU Libtool; see the file COPYING. If not, a copy
81485 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
81486 # obtained by writing to the Free Software Foundation, Inc.,
81487 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
81490 # The names of the tagged configurations supported by this script.
81491 available_tags="CXX "
81493 # ### BEGIN LIBTOOL CONFIG
81495 # Which release of libtool.m4 was used?
81496 macro_version=$macro_version
81497 macro_revision=$macro_revision
81499 # Whether or not to build shared libraries.
81500 build_libtool_libs=$enable_shared
81502 # Whether or not to build static libraries.
81503 build_old_libs=$enable_static
81505 # What type of objects to build.
81506 pic_mode=$pic_mode
81508 # Whether or not to optimize for fast installation.
81509 fast_install=$enable_fast_install
81511 # Shell to use when invoking shell scripts.
81512 SHELL=$lt_SHELL
81514 # An echo program that protects backslashes.
81515 ECHO=$lt_ECHO
81517 # The host system.
81518 host_alias=$host_alias
81519 host=$host
81520 host_os=$host_os
81522 # The build system.
81523 build_alias=$build_alias
81524 build=$build
81525 build_os=$build_os
81527 # A sed program that does not truncate output.
81528 SED=$lt_SED
81530 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
81531 Xsed="\$SED -e 1s/^X//"
81533 # A grep program that handles long lines.
81534 GREP=$lt_GREP
81536 # An ERE matcher.
81537 EGREP=$lt_EGREP
81539 # A literal string matcher.
81540 FGREP=$lt_FGREP
81542 # A BSD- or MS-compatible name lister.
81543 NM=$lt_NM
81545 # Whether we need soft or hard links.
81546 LN_S=$lt_LN_S
81548 # What is the maximum length of a command?
81549 max_cmd_len=$max_cmd_len
81551 # Object file suffix (normally "o").
81552 objext=$ac_objext
81554 # Executable file suffix (normally "").
81555 exeext=$exeext
81557 # whether the shell understands "unset".
81558 lt_unset=$lt_unset
81560 # turn spaces into newlines.
81561 SP2NL=$lt_lt_SP2NL
81563 # turn newlines into spaces.
81564 NL2SP=$lt_lt_NL2SP
81566 # An object symbol dumper.
81567 OBJDUMP=$lt_OBJDUMP
81569 # Method to check whether dependent libraries are shared objects.
81570 deplibs_check_method=$lt_deplibs_check_method
81572 # Command to use when deplibs_check_method == "file_magic".
81573 file_magic_cmd=$lt_file_magic_cmd
81575 # The archiver.
81576 AR=$lt_AR
81577 AR_FLAGS=$lt_AR_FLAGS
81579 # A symbol stripping program.
81580 STRIP=$lt_STRIP
81582 # Commands used to install an old-style archive.
81583 RANLIB=$lt_RANLIB
81584 old_postinstall_cmds=$lt_old_postinstall_cmds
81585 old_postuninstall_cmds=$lt_old_postuninstall_cmds
81587 # Whether to use a lock for old archive extraction.
81588 lock_old_archive_extraction=$lock_old_archive_extraction
81590 # A C compiler.
81591 LTCC=$lt_CC
81593 # LTCC compiler flags.
81594 LTCFLAGS=$lt_CFLAGS
81596 # Take the output of nm and produce a listing of raw symbols and C names.
81597 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
81599 # Transform the output of nm in a proper C declaration.
81600 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
81602 # Transform the output of nm in a C name address pair.
81603 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
81605 # Transform the output of nm in a C name address pair when lib prefix is needed.
81606 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
81608 # The name of the directory that contains temporary libtool files.
81609 objdir=$objdir
81611 # Used to examine libraries when file_magic_cmd begins with "file".
81612 MAGIC_CMD=$MAGIC_CMD
81614 # Must we lock files when doing compilation?
81615 need_locks=$lt_need_locks
81617 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
81618 DSYMUTIL=$lt_DSYMUTIL
81620 # Tool to change global to local symbols on Mac OS X.
81621 NMEDIT=$lt_NMEDIT
81623 # Tool to manipulate fat objects and archives on Mac OS X.
81624 LIPO=$lt_LIPO
81626 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
81627 OTOOL=$lt_OTOOL
81629 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
81630 OTOOL64=$lt_OTOOL64
81632 # Old archive suffix (normally "a").
81633 libext=$libext
81635 # Shared library suffix (normally ".so").
81636 shrext_cmds=$lt_shrext_cmds
81638 # The commands to extract the exported symbol list from a shared archive.
81639 extract_expsyms_cmds=$lt_extract_expsyms_cmds
81641 # Variables whose values should be saved in libtool wrapper scripts and
81642 # restored at link time.
81643 variables_saved_for_relink=$lt_variables_saved_for_relink
81645 # Do we need the "lib" prefix for modules?
81646 need_lib_prefix=$need_lib_prefix
81648 # Do we need a version for libraries?
81649 need_version=$need_version
81651 # Library versioning type.
81652 version_type=$version_type
81654 # Shared library runtime path variable.
81655 runpath_var=$runpath_var
81657 # Shared library path variable.
81658 shlibpath_var=$shlibpath_var
81660 # Is shlibpath searched before the hard-coded library search path?
81661 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
81663 # Format of library name prefix.
81664 libname_spec=$lt_libname_spec
81666 # List of archive names. First name is the real one, the rest are links.
81667 # The last name is the one that the linker finds with -lNAME
81668 library_names_spec=$lt_library_names_spec
81670 # The coded name of the library, if different from the real name.
81671 soname_spec=$lt_soname_spec
81673 # Permission mode override for installation of shared libraries.
81674 install_override_mode=$lt_install_override_mode
81676 # Command to use after installation of a shared archive.
81677 postinstall_cmds=$lt_postinstall_cmds
81679 # Command to use after uninstallation of a shared archive.
81680 postuninstall_cmds=$lt_postuninstall_cmds
81682 # Commands used to finish a libtool library installation in a directory.
81683 finish_cmds=$lt_finish_cmds
81685 # As "finish_cmds", except a single script fragment to be evaled but
81686 # not shown.
81687 finish_eval=$lt_finish_eval
81689 # Whether we should hardcode library paths into libraries.
81690 hardcode_into_libs=$hardcode_into_libs
81692 # Compile-time system search path for libraries.
81693 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
81695 # Run-time system search path for libraries.
81696 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
81698 # Whether dlopen is supported.
81699 dlopen_support=$enable_dlopen
81701 # Whether dlopen of programs is supported.
81702 dlopen_self=$enable_dlopen_self
81704 # Whether dlopen of statically linked programs is supported.
81705 dlopen_self_static=$enable_dlopen_self_static
81707 # Commands to strip libraries.
81708 old_striplib=$lt_old_striplib
81709 striplib=$lt_striplib
81712 # The linker used to build libraries.
81713 LD=$lt_LD
81715 # How to create reloadable object files.
81716 reload_flag=$lt_reload_flag
81717 reload_cmds=$lt_reload_cmds
81719 # Commands used to build an old-style archive.
81720 old_archive_cmds=$lt_old_archive_cmds
81722 # A language specific compiler.
81723 CC=$lt_compiler
81725 # Is the compiler the GNU compiler?
81726 with_gcc=$GCC
81728 # Compiler flag to turn off builtin functions.
81729 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
81731 # How to pass a linker flag through the compiler.
81732 wl=$lt_lt_prog_compiler_wl
81734 # Additional compiler flags for building library objects.
81735 pic_flag=$lt_lt_prog_compiler_pic
81737 # Compiler flag to prevent dynamic linking.
81738 link_static_flag=$lt_lt_prog_compiler_static
81740 # Does compiler simultaneously support -c and -o options?
81741 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
81743 # Whether or not to add -lc for building shared libraries.
81744 build_libtool_need_lc=$archive_cmds_need_lc
81746 # Whether or not to disallow shared libs when runtime libs are static.
81747 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
81749 # Compiler flag to allow reflexive dlopens.
81750 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
81752 # Compiler flag to generate shared objects directly from archives.
81753 whole_archive_flag_spec=$lt_whole_archive_flag_spec
81755 # Whether the compiler copes with passing no objects directly.
81756 compiler_needs_object=$lt_compiler_needs_object
81758 # Create an old-style archive from a shared archive.
81759 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
81761 # Create a temporary old-style archive to link instead of a shared archive.
81762 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
81764 # Commands used to build a shared archive.
81765 archive_cmds=$lt_archive_cmds
81766 archive_expsym_cmds=$lt_archive_expsym_cmds
81768 # Commands used to build a loadable module if different from building
81769 # a shared archive.
81770 module_cmds=$lt_module_cmds
81771 module_expsym_cmds=$lt_module_expsym_cmds
81773 # Whether we are building with GNU ld or not.
81774 with_gnu_ld=$lt_with_gnu_ld
81776 # Flag that allows shared libraries with undefined symbols to be built.
81777 allow_undefined_flag=$lt_allow_undefined_flag
81779 # Flag that enforces no undefined symbols.
81780 no_undefined_flag=$lt_no_undefined_flag
81782 # Flag to hardcode \$libdir into a binary during linking.
81783 # This must work even if \$libdir does not exist
81784 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
81786 # If ld is used when linking, flag to hardcode \$libdir into a binary
81787 # during linking. This must work even if \$libdir does not exist.
81788 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
81790 # Whether we need a single "-rpath" flag with a separated argument.
81791 hardcode_libdir_separator=$lt_hardcode_libdir_separator
81793 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
81794 # DIR into the resulting binary.
81795 hardcode_direct=$hardcode_direct
81797 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
81798 # DIR into the resulting binary and the resulting library dependency is
81799 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
81800 # library is relocated.
81801 hardcode_direct_absolute=$hardcode_direct_absolute
81803 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
81804 # into the resulting binary.
81805 hardcode_minus_L=$hardcode_minus_L
81807 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
81808 # into the resulting binary.
81809 hardcode_shlibpath_var=$hardcode_shlibpath_var
81811 # Set to "yes" if building a shared library automatically hardcodes DIR
81812 # into the library and all subsequent libraries and executables linked
81813 # against it.
81814 hardcode_automatic=$hardcode_automatic
81816 # Set to yes if linker adds runtime paths of dependent libraries
81817 # to runtime path list.
81818 inherit_rpath=$inherit_rpath
81820 # Whether libtool must link a program against all its dependency libraries.
81821 link_all_deplibs=$link_all_deplibs
81823 # Fix the shell variable \$srcfile for the compiler.
81824 fix_srcfile_path=$lt_fix_srcfile_path
81826 # Set to "yes" if exported symbols are required.
81827 always_export_symbols=$always_export_symbols
81829 # The commands to list exported symbols.
81830 export_symbols_cmds=$lt_export_symbols_cmds
81832 # Symbols that should not be listed in the preloaded symbols.
81833 exclude_expsyms=$lt_exclude_expsyms
81835 # Symbols that must always be exported.
81836 include_expsyms=$lt_include_expsyms
81838 # Commands necessary for linking programs (against libraries) with templates.
81839 prelink_cmds=$lt_prelink_cmds
81841 # Specify filename containing input files.
81842 file_list_spec=$lt_file_list_spec
81844 # How to hardcode a shared library path into an executable.
81845 hardcode_action=$hardcode_action
81847 # The directories searched by this compiler when creating a shared library.
81848 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
81850 # Dependencies to place before and after the objects being linked to
81851 # create a shared library.
81852 predep_objects=$lt_predep_objects
81853 postdep_objects=$lt_postdep_objects
81854 predeps=$lt_predeps
81855 postdeps=$lt_postdeps
81857 # The library search path used internally by the compiler when linking
81858 # a shared library.
81859 compiler_lib_search_path=$lt_compiler_lib_search_path
81861 # ### END LIBTOOL CONFIG
81863 _LT_EOF
81865 case $host_os in
81866 aix3*)
81867 cat <<\_LT_EOF >> "$cfgfile"
81868 # AIX sometimes has problems with the GCC collect2 program. For some
81869 # reason, if we set the COLLECT_NAMES environment variable, the problems
81870 # vanish in a puff of smoke.
81871 if test "X${COLLECT_NAMES+set}" != Xset; then
81872 COLLECT_NAMES=
81873 export COLLECT_NAMES
81875 _LT_EOF
81877 esac
81880 ltmain="$ac_aux_dir/ltmain.sh"
81883 # We use sed instead of cat because bash on DJGPP gets confused if
81884 # if finds mixed CR/LF and LF-only lines. Since sed operates in
81885 # text mode, it properly converts lines to CR/LF. This bash problem
81886 # is reportedly fixed, but why not run on old versions too?
81887 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
81888 || (rm -f "$cfgfile"; exit 1)
81890 case $xsi_shell in
81891 yes)
81892 cat << \_LT_EOF >> "$cfgfile"
81894 # func_dirname file append nondir_replacement
81895 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
81896 # otherwise set result to NONDIR_REPLACEMENT.
81897 func_dirname ()
81899 case ${1} in
81900 */*) func_dirname_result="${1%/*}${2}" ;;
81901 * ) func_dirname_result="${3}" ;;
81902 esac
81905 # func_basename file
81906 func_basename ()
81908 func_basename_result="${1##*/}"
81911 # func_dirname_and_basename file append nondir_replacement
81912 # perform func_basename and func_dirname in a single function
81913 # call:
81914 # dirname: Compute the dirname of FILE. If nonempty,
81915 # add APPEND to the result, otherwise set result
81916 # to NONDIR_REPLACEMENT.
81917 # value returned in "$func_dirname_result"
81918 # basename: Compute filename of FILE.
81919 # value retuned in "$func_basename_result"
81920 # Implementation must be kept synchronized with func_dirname
81921 # and func_basename. For efficiency, we do not delegate to
81922 # those functions but instead duplicate the functionality here.
81923 func_dirname_and_basename ()
81925 case ${1} in
81926 */*) func_dirname_result="${1%/*}${2}" ;;
81927 * ) func_dirname_result="${3}" ;;
81928 esac
81929 func_basename_result="${1##*/}"
81932 # func_stripname prefix suffix name
81933 # strip PREFIX and SUFFIX off of NAME.
81934 # PREFIX and SUFFIX must not contain globbing or regex special
81935 # characters, hashes, percent signs, but SUFFIX may contain a leading
81936 # dot (in which case that matches only a dot).
81937 func_stripname ()
81939 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
81940 # positional parameters, so assign one to ordinary parameter first.
81941 func_stripname_result=${3}
81942 func_stripname_result=${func_stripname_result#"${1}"}
81943 func_stripname_result=${func_stripname_result%"${2}"}
81946 # func_opt_split
81947 func_opt_split ()
81949 func_opt_split_opt=${1%%=*}
81950 func_opt_split_arg=${1#*=}
81953 # func_lo2o object
81954 func_lo2o ()
81956 case ${1} in
81957 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
81958 *) func_lo2o_result=${1} ;;
81959 esac
81962 # func_xform libobj-or-source
81963 func_xform ()
81965 func_xform_result=${1%.*}.lo
81968 # func_arith arithmetic-term...
81969 func_arith ()
81971 func_arith_result=$(( $* ))
81974 # func_len string
81975 # STRING may not start with a hyphen.
81976 func_len ()
81978 func_len_result=${#1}
81981 _LT_EOF
81983 *) # Bourne compatible functions.
81984 cat << \_LT_EOF >> "$cfgfile"
81986 # func_dirname file append nondir_replacement
81987 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
81988 # otherwise set result to NONDIR_REPLACEMENT.
81989 func_dirname ()
81991 # Extract subdirectory from the argument.
81992 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
81993 if test "X$func_dirname_result" = "X${1}"; then
81994 func_dirname_result="${3}"
81995 else
81996 func_dirname_result="$func_dirname_result${2}"
82000 # func_basename file
82001 func_basename ()
82003 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
82007 # func_stripname prefix suffix name
82008 # strip PREFIX and SUFFIX off of NAME.
82009 # PREFIX and SUFFIX must not contain globbing or regex special
82010 # characters, hashes, percent signs, but SUFFIX may contain a leading
82011 # dot (in which case that matches only a dot).
82012 # func_strip_suffix prefix name
82013 func_stripname ()
82015 case ${2} in
82016 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
82017 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
82018 esac
82021 # sed scripts:
82022 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
82023 my_sed_long_arg='1s/^-[^=]*=//'
82025 # func_opt_split
82026 func_opt_split ()
82028 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
82029 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
82032 # func_lo2o object
82033 func_lo2o ()
82035 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
82038 # func_xform libobj-or-source
82039 func_xform ()
82041 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
82044 # func_arith arithmetic-term...
82045 func_arith ()
82047 func_arith_result=`expr "$@"`
82050 # func_len string
82051 # STRING may not start with a hyphen.
82052 func_len ()
82054 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
82057 _LT_EOF
82058 esac
82060 case $lt_shell_append in
82061 yes)
82062 cat << \_LT_EOF >> "$cfgfile"
82064 # func_append var value
82065 # Append VALUE to the end of shell variable VAR.
82066 func_append ()
82068 eval "$1+=\$2"
82070 _LT_EOF
82073 cat << \_LT_EOF >> "$cfgfile"
82075 # func_append var value
82076 # Append VALUE to the end of shell variable VAR.
82077 func_append ()
82079 eval "$1=\$$1\$2"
82082 _LT_EOF
82084 esac
82087 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
82088 || (rm -f "$cfgfile"; exit 1)
82090 mv -f "$cfgfile" "$ofile" ||
82091 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
82092 chmod +x "$ofile"
82095 cat <<_LT_EOF >> "$ofile"
82097 # ### BEGIN LIBTOOL TAG CONFIG: CXX
82099 # The linker used to build libraries.
82100 LD=$lt_LD_CXX
82102 # How to create reloadable object files.
82103 reload_flag=$lt_reload_flag_CXX
82104 reload_cmds=$lt_reload_cmds_CXX
82106 # Commands used to build an old-style archive.
82107 old_archive_cmds=$lt_old_archive_cmds_CXX
82109 # A language specific compiler.
82110 CC=$lt_compiler_CXX
82112 # Is the compiler the GNU compiler?
82113 with_gcc=$GCC_CXX
82115 # Compiler flag to turn off builtin functions.
82116 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
82118 # How to pass a linker flag through the compiler.
82119 wl=$lt_lt_prog_compiler_wl_CXX
82121 # Additional compiler flags for building library objects.
82122 pic_flag=$lt_lt_prog_compiler_pic_CXX
82124 # Compiler flag to prevent dynamic linking.
82125 link_static_flag=$lt_lt_prog_compiler_static_CXX
82127 # Does compiler simultaneously support -c and -o options?
82128 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
82130 # Whether or not to add -lc for building shared libraries.
82131 build_libtool_need_lc=$archive_cmds_need_lc_CXX
82133 # Whether or not to disallow shared libs when runtime libs are static.
82134 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
82136 # Compiler flag to allow reflexive dlopens.
82137 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
82139 # Compiler flag to generate shared objects directly from archives.
82140 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
82142 # Whether the compiler copes with passing no objects directly.
82143 compiler_needs_object=$lt_compiler_needs_object_CXX
82145 # Create an old-style archive from a shared archive.
82146 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
82148 # Create a temporary old-style archive to link instead of a shared archive.
82149 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
82151 # Commands used to build a shared archive.
82152 archive_cmds=$lt_archive_cmds_CXX
82153 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
82155 # Commands used to build a loadable module if different from building
82156 # a shared archive.
82157 module_cmds=$lt_module_cmds_CXX
82158 module_expsym_cmds=$lt_module_expsym_cmds_CXX
82160 # Whether we are building with GNU ld or not.
82161 with_gnu_ld=$lt_with_gnu_ld_CXX
82163 # Flag that allows shared libraries with undefined symbols to be built.
82164 allow_undefined_flag=$lt_allow_undefined_flag_CXX
82166 # Flag that enforces no undefined symbols.
82167 no_undefined_flag=$lt_no_undefined_flag_CXX
82169 # Flag to hardcode \$libdir into a binary during linking.
82170 # This must work even if \$libdir does not exist
82171 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
82173 # If ld is used when linking, flag to hardcode \$libdir into a binary
82174 # during linking. This must work even if \$libdir does not exist.
82175 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
82177 # Whether we need a single "-rpath" flag with a separated argument.
82178 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
82180 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
82181 # DIR into the resulting binary.
82182 hardcode_direct=$hardcode_direct_CXX
82184 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
82185 # DIR into the resulting binary and the resulting library dependency is
82186 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
82187 # library is relocated.
82188 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
82190 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
82191 # into the resulting binary.
82192 hardcode_minus_L=$hardcode_minus_L_CXX
82194 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
82195 # into the resulting binary.
82196 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
82198 # Set to "yes" if building a shared library automatically hardcodes DIR
82199 # into the library and all subsequent libraries and executables linked
82200 # against it.
82201 hardcode_automatic=$hardcode_automatic_CXX
82203 # Set to yes if linker adds runtime paths of dependent libraries
82204 # to runtime path list.
82205 inherit_rpath=$inherit_rpath_CXX
82207 # Whether libtool must link a program against all its dependency libraries.
82208 link_all_deplibs=$link_all_deplibs_CXX
82210 # Fix the shell variable \$srcfile for the compiler.
82211 fix_srcfile_path=$lt_fix_srcfile_path_CXX
82213 # Set to "yes" if exported symbols are required.
82214 always_export_symbols=$always_export_symbols_CXX
82216 # The commands to list exported symbols.
82217 export_symbols_cmds=$lt_export_symbols_cmds_CXX
82219 # Symbols that should not be listed in the preloaded symbols.
82220 exclude_expsyms=$lt_exclude_expsyms_CXX
82222 # Symbols that must always be exported.
82223 include_expsyms=$lt_include_expsyms_CXX
82225 # Commands necessary for linking programs (against libraries) with templates.
82226 prelink_cmds=$lt_prelink_cmds_CXX
82228 # Specify filename containing input files.
82229 file_list_spec=$lt_file_list_spec_CXX
82231 # How to hardcode a shared library path into an executable.
82232 hardcode_action=$hardcode_action_CXX
82234 # The directories searched by this compiler when creating a shared library.
82235 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
82237 # Dependencies to place before and after the objects being linked to
82238 # create a shared library.
82239 predep_objects=$lt_predep_objects_CXX
82240 postdep_objects=$lt_postdep_objects_CXX
82241 predeps=$lt_predeps_CXX
82242 postdeps=$lt_postdeps_CXX
82244 # The library search path used internally by the compiler when linking
82245 # a shared library.
82246 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
82248 # ### END LIBTOOL TAG CONFIG: CXX
82249 _LT_EOF
82252 "include/gstdint.h":C)
82253 if test "$GCC" = yes; then
82254 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
82255 else
82256 echo "/* generated for $CC */" > tmp-stdint.h
82259 sed 's/^ *//' >> tmp-stdint.h <<EOF
82261 #ifndef GCC_GENERATED_STDINT_H
82262 #define GCC_GENERATED_STDINT_H 1
82264 #include <sys/types.h>
82267 if test "$acx_cv_header_stdint" != stdint.h; then
82268 echo "#include <stddef.h>" >> tmp-stdint.h
82270 if test "$acx_cv_header_stdint" != stddef.h; then
82271 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
82274 sed 's/^ *//' >> tmp-stdint.h <<EOF
82275 /* glibc uses these symbols as guards to prevent redefinitions. */
82276 #ifdef __int8_t_defined
82277 #define _INT8_T
82278 #define _INT16_T
82279 #define _INT32_T
82280 #endif
82281 #ifdef __uint32_t_defined
82282 #define _UINT32_T
82283 #endif
82287 # ----------------- done header, emit basic int types -------------
82288 if test "$acx_cv_header_stdint" = stddef.h; then
82289 sed 's/^ *//' >> tmp-stdint.h <<EOF
82291 #ifndef _UINT8_T
82292 #define _UINT8_T
82293 #ifndef __uint8_t_defined
82294 #define __uint8_t_defined
82295 #ifndef uint8_t
82296 typedef unsigned $acx_cv_type_int8_t uint8_t;
82297 #endif
82298 #endif
82299 #endif
82301 #ifndef _UINT16_T
82302 #define _UINT16_T
82303 #ifndef __uint16_t_defined
82304 #define __uint16_t_defined
82305 #ifndef uint16_t
82306 typedef unsigned $acx_cv_type_int16_t uint16_t;
82307 #endif
82308 #endif
82309 #endif
82311 #ifndef _UINT32_T
82312 #define _UINT32_T
82313 #ifndef __uint32_t_defined
82314 #define __uint32_t_defined
82315 #ifndef uint32_t
82316 typedef unsigned $acx_cv_type_int32_t uint32_t;
82317 #endif
82318 #endif
82319 #endif
82321 #ifndef _INT8_T
82322 #define _INT8_T
82323 #ifndef __int8_t_defined
82324 #define __int8_t_defined
82325 #ifndef int8_t
82326 typedef $acx_cv_type_int8_t int8_t;
82327 #endif
82328 #endif
82329 #endif
82331 #ifndef _INT16_T
82332 #define _INT16_T
82333 #ifndef __int16_t_defined
82334 #define __int16_t_defined
82335 #ifndef int16_t
82336 typedef $acx_cv_type_int16_t int16_t;
82337 #endif
82338 #endif
82339 #endif
82341 #ifndef _INT32_T
82342 #define _INT32_T
82343 #ifndef __int32_t_defined
82344 #define __int32_t_defined
82345 #ifndef int32_t
82346 typedef $acx_cv_type_int32_t int32_t;
82347 #endif
82348 #endif
82349 #endif
82351 elif test "$ac_cv_type_u_int32_t" = yes; then
82352 sed 's/^ *//' >> tmp-stdint.h <<EOF
82354 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
82355 #ifndef _INT8_T
82356 #define _INT8_T
82357 #endif
82358 #ifndef _INT16_T
82359 #define _INT16_T
82360 #endif
82361 #ifndef _INT32_T
82362 #define _INT32_T
82363 #endif
82365 #ifndef _UINT8_T
82366 #define _UINT8_T
82367 #ifndef __uint8_t_defined
82368 #define __uint8_t_defined
82369 #ifndef uint8_t
82370 typedef u_int8_t uint8_t;
82371 #endif
82372 #endif
82373 #endif
82375 #ifndef _UINT16_T
82376 #define _UINT16_T
82377 #ifndef __uint16_t_defined
82378 #define __uint16_t_defined
82379 #ifndef uint16_t
82380 typedef u_int16_t uint16_t;
82381 #endif
82382 #endif
82383 #endif
82385 #ifndef _UINT32_T
82386 #define _UINT32_T
82387 #ifndef __uint32_t_defined
82388 #define __uint32_t_defined
82389 #ifndef uint32_t
82390 typedef u_int32_t uint32_t;
82391 #endif
82392 #endif
82393 #endif
82395 else
82396 sed 's/^ *//' >> tmp-stdint.h <<EOF
82398 /* Some systems have guard macros to prevent redefinitions, define them. */
82399 #ifndef _INT8_T
82400 #define _INT8_T
82401 #endif
82402 #ifndef _INT16_T
82403 #define _INT16_T
82404 #endif
82405 #ifndef _INT32_T
82406 #define _INT32_T
82407 #endif
82408 #ifndef _UINT8_T
82409 #define _UINT8_T
82410 #endif
82411 #ifndef _UINT16_T
82412 #define _UINT16_T
82413 #endif
82414 #ifndef _UINT32_T
82415 #define _UINT32_T
82416 #endif
82420 # ------------- done basic int types, emit int64_t types ------------
82421 if test "$ac_cv_type_uint64_t" = yes; then
82422 sed 's/^ *//' >> tmp-stdint.h <<EOF
82424 /* system headers have good uint64_t and int64_t */
82425 #ifndef _INT64_T
82426 #define _INT64_T
82427 #endif
82428 #ifndef _UINT64_T
82429 #define _UINT64_T
82430 #endif
82432 elif test "$ac_cv_type_u_int64_t" = yes; then
82433 sed 's/^ *//' >> tmp-stdint.h <<EOF
82435 /* system headers have an u_int64_t (and int64_t) */
82436 #ifndef _INT64_T
82437 #define _INT64_T
82438 #endif
82439 #ifndef _UINT64_T
82440 #define _UINT64_T
82441 #ifndef __uint64_t_defined
82442 #define __uint64_t_defined
82443 #ifndef uint64_t
82444 typedef u_int64_t uint64_t;
82445 #endif
82446 #endif
82447 #endif
82449 elif test -n "$acx_cv_type_int64_t"; then
82450 sed 's/^ *//' >> tmp-stdint.h <<EOF
82452 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
82453 #ifndef _INT64_T
82454 #define _INT64_T
82455 #ifndef int64_t
82456 typedef $acx_cv_type_int64_t int64_t;
82457 #endif
82458 #endif
82459 #ifndef _UINT64_T
82460 #define _UINT64_T
82461 #ifndef __uint64_t_defined
82462 #define __uint64_t_defined
82463 #ifndef uint64_t
82464 typedef unsigned $acx_cv_type_int64_t uint64_t;
82465 #endif
82466 #endif
82467 #endif
82469 else
82470 sed 's/^ *//' >> tmp-stdint.h <<EOF
82472 /* some common heuristics for int64_t, using compiler-specific tests */
82473 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
82474 #ifndef _INT64_T
82475 #define _INT64_T
82476 #ifndef __int64_t_defined
82477 #ifndef int64_t
82478 typedef long long int64_t;
82479 #endif
82480 #endif
82481 #endif
82482 #ifndef _UINT64_T
82483 #define _UINT64_T
82484 #ifndef uint64_t
82485 typedef unsigned long long uint64_t;
82486 #endif
82487 #endif
82489 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
82490 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
82491 does not implement __extension__. But that compiler doesn't define
82492 __GNUC_MINOR__. */
82493 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
82494 # define __extension__
82495 # endif
82497 # ifndef _INT64_T
82498 # define _INT64_T
82499 # ifndef int64_t
82500 __extension__ typedef long long int64_t;
82501 # endif
82502 # endif
82503 # ifndef _UINT64_T
82504 # define _UINT64_T
82505 # ifndef uint64_t
82506 __extension__ typedef unsigned long long uint64_t;
82507 # endif
82508 # endif
82510 #elif !defined __STRICT_ANSI__
82511 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
82513 # ifndef _INT64_T
82514 # define _INT64_T
82515 # ifndef int64_t
82516 typedef __int64 int64_t;
82517 # endif
82518 # endif
82519 # ifndef _UINT64_T
82520 # define _UINT64_T
82521 # ifndef uint64_t
82522 typedef unsigned __int64 uint64_t;
82523 # endif
82524 # endif
82525 # endif /* compiler */
82527 #endif /* ANSI version */
82531 # ------------- done int64_t types, emit intptr types ------------
82532 if test "$ac_cv_type_uintptr_t" != yes; then
82533 sed 's/^ *//' >> tmp-stdint.h <<EOF
82535 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
82536 #ifndef __uintptr_t_defined
82537 #ifndef uintptr_t
82538 typedef u$acx_cv_type_intptr_t uintptr_t;
82539 #endif
82540 #endif
82541 #ifndef __intptr_t_defined
82542 #ifndef intptr_t
82543 typedef $acx_cv_type_intptr_t intptr_t;
82544 #endif
82545 #endif
82549 # ------------- done intptr types, emit int_least types ------------
82550 if test "$ac_cv_type_int_least32_t" != yes; then
82551 sed 's/^ *//' >> tmp-stdint.h <<EOF
82553 /* Define int_least types */
82554 typedef int8_t int_least8_t;
82555 typedef int16_t int_least16_t;
82556 typedef int32_t int_least32_t;
82557 #ifdef _INT64_T
82558 typedef int64_t int_least64_t;
82559 #endif
82561 typedef uint8_t uint_least8_t;
82562 typedef uint16_t uint_least16_t;
82563 typedef uint32_t uint_least32_t;
82564 #ifdef _UINT64_T
82565 typedef uint64_t uint_least64_t;
82566 #endif
82570 # ------------- done intptr types, emit int_fast types ------------
82571 if test "$ac_cv_type_int_fast32_t" != yes; then
82572 sed 's/^ *//' >> tmp-stdint.h <<EOF
82574 /* Define int_fast types. short is often slow */
82575 typedef int8_t int_fast8_t;
82576 typedef int int_fast16_t;
82577 typedef int32_t int_fast32_t;
82578 #ifdef _INT64_T
82579 typedef int64_t int_fast64_t;
82580 #endif
82582 typedef uint8_t uint_fast8_t;
82583 typedef unsigned int uint_fast16_t;
82584 typedef uint32_t uint_fast32_t;
82585 #ifdef _UINT64_T
82586 typedef uint64_t uint_fast64_t;
82587 #endif
82591 if test "$ac_cv_type_uintmax_t" != yes; then
82592 sed 's/^ *//' >> tmp-stdint.h <<EOF
82594 /* Define intmax based on what we found */
82595 #ifndef intmax_t
82596 #ifdef _INT64_T
82597 typedef int64_t intmax_t;
82598 #else
82599 typedef long intmax_t;
82600 #endif
82601 #endif
82602 #ifndef uintmax_t
82603 #ifdef _UINT64_T
82604 typedef uint64_t uintmax_t;
82605 #else
82606 typedef unsigned long uintmax_t;
82607 #endif
82608 #endif
82612 sed 's/^ *//' >> tmp-stdint.h <<EOF
82614 #endif /* GCC_GENERATED_STDINT_H */
82617 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
82618 rm -f tmp-stdint.h
82619 else
82620 mv -f tmp-stdint.h include/gstdint.h
82624 "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
82625 "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
82626 "include/Makefile":F) cat > vpsed$$ << \_EOF
82627 s!`test -f '$<' || echo '$(srcdir)/'`!!
82628 _EOF
82629 sed -f vpsed$$ $ac_file > tmp$$
82630 mv tmp$$ $ac_file
82631 rm vpsed$$
82632 echo 'MULTISUBDIR =' >> $ac_file
82633 ml_norecursion=yes
82634 . ${multi_basedir}/config-ml.in
82635 { ml_norecursion=; unset ml_norecursion;}
82637 "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
82638 s!`test -f '$<' || echo '$(srcdir)/'`!!
82639 _EOF
82640 sed -f vpsed$$ $ac_file > tmp$$
82641 mv tmp$$ $ac_file
82642 rm vpsed$$
82643 echo 'MULTISUBDIR =' >> $ac_file
82644 ml_norecursion=yes
82645 . ${multi_basedir}/config-ml.in
82646 { ml_norecursion=; unset ml_norecursion;}
82648 "python/Makefile":F) cat > vpsed$$ << \_EOF
82649 s!`test -f '$<' || echo '$(srcdir)/'`!!
82650 _EOF
82651 sed -f vpsed$$ $ac_file > tmp$$
82652 mv tmp$$ $ac_file
82653 rm vpsed$$
82654 echo 'MULTISUBDIR =' >> $ac_file
82655 ml_norecursion=yes
82656 . ${multi_basedir}/config-ml.in
82657 { ml_norecursion=; unset ml_norecursion;}
82659 "src/Makefile":F) cat > vpsed$$ << \_EOF
82660 s!`test -f '$<' || echo '$(srcdir)/'`!!
82661 _EOF
82662 sed -f vpsed$$ $ac_file > tmp$$
82663 mv tmp$$ $ac_file
82664 rm vpsed$$
82665 echo 'MULTISUBDIR =' >> $ac_file
82666 ml_norecursion=yes
82667 . ${multi_basedir}/config-ml.in
82668 { ml_norecursion=; unset ml_norecursion;}
82670 "src/c++98/Makefile":F) cat > vpsed$$ << \_EOF
82671 s!`test -f '$<' || echo '$(srcdir)/'`!!
82672 _EOF
82673 sed -f vpsed$$ $ac_file > tmp$$
82674 mv tmp$$ $ac_file
82675 rm vpsed$$
82676 echo 'MULTISUBDIR =' >> $ac_file
82677 ml_norecursion=yes
82678 . ${multi_basedir}/config-ml.in
82679 { ml_norecursion=; unset ml_norecursion;}
82681 "src/c++11/Makefile":F) cat > vpsed$$ << \_EOF
82682 s!`test -f '$<' || echo '$(srcdir)/'`!!
82683 _EOF
82684 sed -f vpsed$$ $ac_file > tmp$$
82685 mv tmp$$ $ac_file
82686 rm vpsed$$
82687 echo 'MULTISUBDIR =' >> $ac_file
82688 ml_norecursion=yes
82689 . ${multi_basedir}/config-ml.in
82690 { ml_norecursion=; unset ml_norecursion;}
82692 "doc/Makefile":F) cat > vpsed$$ << \_EOF
82693 s!`test -f '$<' || echo '$(srcdir)/'`!!
82694 _EOF
82695 sed -f vpsed$$ $ac_file > tmp$$
82696 mv tmp$$ $ac_file
82697 rm vpsed$$
82698 echo 'MULTISUBDIR =' >> $ac_file
82699 ml_norecursion=yes
82700 . ${multi_basedir}/config-ml.in
82701 { ml_norecursion=; unset ml_norecursion;}
82703 "po/Makefile":F) cat > vpsed$$ << \_EOF
82704 s!`test -f '$<' || echo '$(srcdir)/'`!!
82705 _EOF
82706 sed -f vpsed$$ $ac_file > tmp$$
82707 mv tmp$$ $ac_file
82708 rm vpsed$$
82709 echo 'MULTISUBDIR =' >> $ac_file
82710 ml_norecursion=yes
82711 . ${multi_basedir}/config-ml.in
82712 { ml_norecursion=; unset ml_norecursion;}
82714 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
82715 s!`test -f '$<' || echo '$(srcdir)/'`!!
82716 _EOF
82717 sed -f vpsed$$ $ac_file > tmp$$
82718 mv tmp$$ $ac_file
82719 rm vpsed$$
82720 echo 'MULTISUBDIR =' >> $ac_file
82721 ml_norecursion=yes
82722 . ${multi_basedir}/config-ml.in
82723 { ml_norecursion=; unset ml_norecursion;}
82725 "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
82727 esac
82728 done # for ac_tag
82731 as_fn_exit 0
82732 _ACEOF
82733 ac_clean_files=$ac_clean_files_save
82735 test $ac_write_fail = 0 ||
82736 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
82739 # configure is writing to config.log, and then calls config.status.
82740 # config.status does its own redirection, appending to config.log.
82741 # Unfortunately, on DOS this fails, as config.log is still kept open
82742 # by configure, so config.status won't be able to write to it; its
82743 # output is simply discarded. So we exec the FD to /dev/null,
82744 # effectively closing config.log, so it can be properly (re)opened and
82745 # appended to by config.status. When coming back to configure, we
82746 # need to make the FD available again.
82747 if test "$no_create" != yes; then
82748 ac_cs_success=:
82749 ac_config_status_args=
82750 test "$silent" = yes &&
82751 ac_config_status_args="$ac_config_status_args --quiet"
82752 exec 5>/dev/null
82753 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
82754 exec 5>>config.log
82755 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
82756 # would make configure fail if this is the last instruction.
82757 $ac_cs_success || as_fn_exit $?
82759 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
82760 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
82761 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}