acinclude.m4 (GLIBCXX_ENABLE_VTABLE_VERIFY): Define VTV_CYGMIN unconditionally.
[official-gcc.git] / libstdc++-v3 / configure
blob9078ce4609ac8a2973f6aeefbfa49e8f79ea4af5
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 VTV_CYGMIN_FALSE
678 VTV_CYGMIN_TRUE
679 ENABLE_WERROR_FALSE
680 ENABLE_WERROR_TRUE
681 ENABLE_PYTHONDIR_FALSE
682 ENABLE_PYTHONDIR_TRUE
683 python_mod_dir
684 ENABLE_EXTERN_TEMPLATE_FALSE
685 ENABLE_EXTERN_TEMPLATE_TRUE
686 EXTRA_CXX_FLAGS
687 GLIBCXX_BUILD_DEBUG_FALSE
688 GLIBCXX_BUILD_DEBUG_TRUE
689 DEBUG_FLAGS
690 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE
691 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE
692 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE
693 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE
694 GLIBCXX_C_HEADERS_C_STD_FALSE
695 GLIBCXX_C_HEADERS_C_STD_TRUE
696 GLIBCXX_C_HEADERS_C_FALSE
697 GLIBCXX_C_HEADERS_C_TRUE
698 C_INCLUDE_DIR
699 ALLOCATOR_NAME
700 ALLOCATOR_H
701 CLOCALE_INTERNAL_H
702 CLOCALE_CC
703 CTIME_CC
704 CTIME_H
705 CNUMERIC_CC
706 CMONEY_CC
707 CMESSAGES_CC
708 CCTYPE_CC
709 CCOLLATE_CC
710 CCODECVT_CC
711 CMESSAGES_H
712 CLOCALE_H
713 USE_NLS
714 glibcxx_localedir
715 glibcxx_POFILES
716 glibcxx_MOFILES
717 check_msgfmt
718 BASIC_FILE_CC
719 BASIC_FILE_H
720 CSTDIO_H
721 SECTION_FLAGS
722 WERROR
723 thread_header
724 glibcxx_PCHFLAGS
725 GLIBCXX_BUILD_PCH_FALSE
726 GLIBCXX_BUILD_PCH_TRUE
727 GLIBCXX_HOSTED_FALSE
728 GLIBCXX_HOSTED_TRUE
729 glibcxx_compiler_shared_flag
730 glibcxx_compiler_pic_flag
731 glibcxx_lt_pic_flag
732 enable_static
733 enable_shared
734 lt_host_flags
735 CXXCPP
736 OTOOL64
737 OTOOL
738 LIPO
739 NMEDIT
740 DSYMUTIL
741 OBJDUMP
743 ac_ct_DUMPBIN
744 DUMPBIN
746 FGREP
748 LIBTOOL
749 EGREP
750 GREP
752 MAINT
753 MAINTAINER_MODE_FALSE
754 MAINTAINER_MODE_TRUE
755 RANLIB
758 LN_S
759 toplevel_srcdir
760 toplevel_builddir
761 glibcxx_srcdir
762 glibcxx_builddir
763 ac_ct_CXX
764 CXXFLAGS
766 OBJEXT
767 EXEEXT
768 ac_ct_CC
769 CPPFLAGS
770 LDFLAGS
771 CFLAGS
773 am__untar
774 am__tar
775 AMTAR
776 am__leading_dot
777 SET_MAKE
779 mkdir_p
780 MKDIR_P
781 INSTALL_STRIP_PROGRAM
782 STRIP
783 install_sh
784 MAKEINFO
785 AUTOHEADER
786 AUTOMAKE
787 AUTOCONF
788 ACLOCAL
789 VERSION
790 PACKAGE
791 CYGPATH_W
792 am__isrc
793 INSTALL_DATA
794 INSTALL_SCRIPT
795 INSTALL_PROGRAM
796 target_os
797 target_vendor
798 target_cpu
799 target
800 host_os
801 host_vendor
802 host_cpu
803 host
804 build_os
805 build_vendor
806 build_cpu
807 build
808 multi_basedir
809 target_alias
810 host_alias
811 build_alias
812 LIBS
813 ECHO_T
814 ECHO_N
815 ECHO_C
816 DEFS
817 mandir
818 localedir
819 libdir
820 psdir
821 pdfdir
822 dvidir
823 htmldir
824 infodir
825 docdir
826 oldincludedir
827 includedir
828 localstatedir
829 sharedstatedir
830 sysconfdir
831 datadir
832 datarootdir
833 libexecdir
834 sbindir
835 bindir
836 program_transform_name
837 prefix
838 exec_prefix
839 PACKAGE_URL
840 PACKAGE_BUGREPORT
841 PACKAGE_STRING
842 PACKAGE_VERSION
843 PACKAGE_TARNAME
844 PACKAGE_NAME
845 PATH_SEPARATOR
846 SHELL'
847 ac_subst_files=''
848 ac_user_opts='
849 enable_option_checking
850 enable_multilib
851 with_target_subdir
852 with_cross_host
853 with_newlib
854 enable_maintainer_mode
855 enable_shared
856 enable_static
857 with_pic
858 enable_fast_install
859 with_gnu_ld
860 enable_libtool_lock
861 enable_hosted_libstdcxx
862 enable_libstdcxx_verbose
863 enable_sjlj_exceptions
864 enable_libstdcxx_pch
865 enable_cstdio
866 enable_clocale
867 enable_nls
868 enable_libstdcxx_allocator
869 enable_cheaders
870 enable_long_long
871 enable_wchar_t
872 enable_c99
873 enable_concept_checks
874 enable_libstdcxx_debug_flags
875 enable_libstdcxx_debug
876 enable_cxx_flags
877 enable_fully_dynamic_string
878 enable_extern_template
879 with_python_dir
880 enable_werror
881 enable_vtable_verify
882 enable_libstdcxx_time
883 enable_tls
884 enable_rpath
885 with_libiconv_prefix
886 with_system_libunwind
887 enable_linux_futex
888 enable_symvers
889 enable_libstdcxx_visibility
890 enable_libstdcxx_dual_abi
891 with_default_libstdcxx_abi
892 enable_libstdcxx_threads
893 with_gxx_include_dir
894 enable_version_specific_runtime_libs
896 ac_precious_vars='build_alias
897 host_alias
898 target_alias
900 CFLAGS
901 LDFLAGS
902 LIBS
903 CPPFLAGS
905 CXXFLAGS
908 CXXCPP
909 CXXFILT'
912 # Initialize some variables set by options.
913 ac_init_help=
914 ac_init_version=false
915 ac_unrecognized_opts=
916 ac_unrecognized_sep=
917 # The variables have the same names as the options, with
918 # dashes changed to underlines.
919 cache_file=/dev/null
920 exec_prefix=NONE
921 no_create=
922 no_recursion=
923 prefix=NONE
924 program_prefix=NONE
925 program_suffix=NONE
926 program_transform_name=s,x,x,
927 silent=
928 site=
929 srcdir=
930 verbose=
931 x_includes=NONE
932 x_libraries=NONE
934 # Installation directory options.
935 # These are left unexpanded so users can "make install exec_prefix=/foo"
936 # and all the variables that are supposed to be based on exec_prefix
937 # by default will actually change.
938 # Use braces instead of parens because sh, perl, etc. also accept them.
939 # (The list follows the same order as the GNU Coding Standards.)
940 bindir='${exec_prefix}/bin'
941 sbindir='${exec_prefix}/sbin'
942 libexecdir='${exec_prefix}/libexec'
943 datarootdir='${prefix}/share'
944 datadir='${datarootdir}'
945 sysconfdir='${prefix}/etc'
946 sharedstatedir='${prefix}/com'
947 localstatedir='${prefix}/var'
948 includedir='${prefix}/include'
949 oldincludedir='/usr/include'
950 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
951 infodir='${datarootdir}/info'
952 htmldir='${docdir}'
953 dvidir='${docdir}'
954 pdfdir='${docdir}'
955 psdir='${docdir}'
956 libdir='${exec_prefix}/lib'
957 localedir='${datarootdir}/locale'
958 mandir='${datarootdir}/man'
960 ac_prev=
961 ac_dashdash=
962 for ac_option
964 # If the previous option needs an argument, assign it.
965 if test -n "$ac_prev"; then
966 eval $ac_prev=\$ac_option
967 ac_prev=
968 continue
971 case $ac_option in
972 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
973 *) ac_optarg=yes ;;
974 esac
976 # Accept the important Cygnus configure options, so we can diagnose typos.
978 case $ac_dashdash$ac_option in
980 ac_dashdash=yes ;;
982 -bindir | --bindir | --bindi | --bind | --bin | --bi)
983 ac_prev=bindir ;;
984 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
985 bindir=$ac_optarg ;;
987 -build | --build | --buil | --bui | --bu)
988 ac_prev=build_alias ;;
989 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
990 build_alias=$ac_optarg ;;
992 -cache-file | --cache-file | --cache-fil | --cache-fi \
993 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
994 ac_prev=cache_file ;;
995 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
996 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
997 cache_file=$ac_optarg ;;
999 --config-cache | -C)
1000 cache_file=config.cache ;;
1002 -datadir | --datadir | --datadi | --datad)
1003 ac_prev=datadir ;;
1004 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1005 datadir=$ac_optarg ;;
1007 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1008 | --dataroo | --dataro | --datar)
1009 ac_prev=datarootdir ;;
1010 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1011 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1012 datarootdir=$ac_optarg ;;
1014 -disable-* | --disable-*)
1015 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1016 # Reject names that are not valid shell variable names.
1017 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1018 as_fn_error "invalid feature name: $ac_useropt"
1019 ac_useropt_orig=$ac_useropt
1020 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1021 case $ac_user_opts in
1023 "enable_$ac_useropt"
1024 "*) ;;
1025 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1026 ac_unrecognized_sep=', ';;
1027 esac
1028 eval enable_$ac_useropt=no ;;
1030 -docdir | --docdir | --docdi | --doc | --do)
1031 ac_prev=docdir ;;
1032 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1033 docdir=$ac_optarg ;;
1035 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1036 ac_prev=dvidir ;;
1037 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1038 dvidir=$ac_optarg ;;
1040 -enable-* | --enable-*)
1041 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1042 # Reject names that are not valid shell variable names.
1043 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1044 as_fn_error "invalid feature name: $ac_useropt"
1045 ac_useropt_orig=$ac_useropt
1046 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1047 case $ac_user_opts in
1049 "enable_$ac_useropt"
1050 "*) ;;
1051 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1052 ac_unrecognized_sep=', ';;
1053 esac
1054 eval enable_$ac_useropt=\$ac_optarg ;;
1056 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1057 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1058 | --exec | --exe | --ex)
1059 ac_prev=exec_prefix ;;
1060 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1061 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1062 | --exec=* | --exe=* | --ex=*)
1063 exec_prefix=$ac_optarg ;;
1065 -gas | --gas | --ga | --g)
1066 # Obsolete; use --with-gas.
1067 with_gas=yes ;;
1069 -help | --help | --hel | --he | -h)
1070 ac_init_help=long ;;
1071 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1072 ac_init_help=recursive ;;
1073 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1074 ac_init_help=short ;;
1076 -host | --host | --hos | --ho)
1077 ac_prev=host_alias ;;
1078 -host=* | --host=* | --hos=* | --ho=*)
1079 host_alias=$ac_optarg ;;
1081 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1082 ac_prev=htmldir ;;
1083 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1084 | --ht=*)
1085 htmldir=$ac_optarg ;;
1087 -includedir | --includedir | --includedi | --included | --include \
1088 | --includ | --inclu | --incl | --inc)
1089 ac_prev=includedir ;;
1090 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1091 | --includ=* | --inclu=* | --incl=* | --inc=*)
1092 includedir=$ac_optarg ;;
1094 -infodir | --infodir | --infodi | --infod | --info | --inf)
1095 ac_prev=infodir ;;
1096 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1097 infodir=$ac_optarg ;;
1099 -libdir | --libdir | --libdi | --libd)
1100 ac_prev=libdir ;;
1101 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1102 libdir=$ac_optarg ;;
1104 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1105 | --libexe | --libex | --libe)
1106 ac_prev=libexecdir ;;
1107 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1108 | --libexe=* | --libex=* | --libe=*)
1109 libexecdir=$ac_optarg ;;
1111 -localedir | --localedir | --localedi | --localed | --locale)
1112 ac_prev=localedir ;;
1113 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1114 localedir=$ac_optarg ;;
1116 -localstatedir | --localstatedir | --localstatedi | --localstated \
1117 | --localstate | --localstat | --localsta | --localst | --locals)
1118 ac_prev=localstatedir ;;
1119 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1120 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1121 localstatedir=$ac_optarg ;;
1123 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1124 ac_prev=mandir ;;
1125 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1126 mandir=$ac_optarg ;;
1128 -nfp | --nfp | --nf)
1129 # Obsolete; use --without-fp.
1130 with_fp=no ;;
1132 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1133 | --no-cr | --no-c | -n)
1134 no_create=yes ;;
1136 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1137 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1138 no_recursion=yes ;;
1140 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1141 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1142 | --oldin | --oldi | --old | --ol | --o)
1143 ac_prev=oldincludedir ;;
1144 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1145 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1146 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1147 oldincludedir=$ac_optarg ;;
1149 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1150 ac_prev=prefix ;;
1151 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1152 prefix=$ac_optarg ;;
1154 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1155 | --program-pre | --program-pr | --program-p)
1156 ac_prev=program_prefix ;;
1157 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1158 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1159 program_prefix=$ac_optarg ;;
1161 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1162 | --program-suf | --program-su | --program-s)
1163 ac_prev=program_suffix ;;
1164 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1165 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1166 program_suffix=$ac_optarg ;;
1168 -program-transform-name | --program-transform-name \
1169 | --program-transform-nam | --program-transform-na \
1170 | --program-transform-n | --program-transform- \
1171 | --program-transform | --program-transfor \
1172 | --program-transfo | --program-transf \
1173 | --program-trans | --program-tran \
1174 | --progr-tra | --program-tr | --program-t)
1175 ac_prev=program_transform_name ;;
1176 -program-transform-name=* | --program-transform-name=* \
1177 | --program-transform-nam=* | --program-transform-na=* \
1178 | --program-transform-n=* | --program-transform-=* \
1179 | --program-transform=* | --program-transfor=* \
1180 | --program-transfo=* | --program-transf=* \
1181 | --program-trans=* | --program-tran=* \
1182 | --progr-tra=* | --program-tr=* | --program-t=*)
1183 program_transform_name=$ac_optarg ;;
1185 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1186 ac_prev=pdfdir ;;
1187 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1188 pdfdir=$ac_optarg ;;
1190 -psdir | --psdir | --psdi | --psd | --ps)
1191 ac_prev=psdir ;;
1192 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1193 psdir=$ac_optarg ;;
1195 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1196 | -silent | --silent | --silen | --sile | --sil)
1197 silent=yes ;;
1199 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1200 ac_prev=sbindir ;;
1201 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1202 | --sbi=* | --sb=*)
1203 sbindir=$ac_optarg ;;
1205 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1206 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1207 | --sharedst | --shareds | --shared | --share | --shar \
1208 | --sha | --sh)
1209 ac_prev=sharedstatedir ;;
1210 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1211 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1212 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1213 | --sha=* | --sh=*)
1214 sharedstatedir=$ac_optarg ;;
1216 -site | --site | --sit)
1217 ac_prev=site ;;
1218 -site=* | --site=* | --sit=*)
1219 site=$ac_optarg ;;
1221 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1222 ac_prev=srcdir ;;
1223 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1224 srcdir=$ac_optarg ;;
1226 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1227 | --syscon | --sysco | --sysc | --sys | --sy)
1228 ac_prev=sysconfdir ;;
1229 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1230 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1231 sysconfdir=$ac_optarg ;;
1233 -target | --target | --targe | --targ | --tar | --ta | --t)
1234 ac_prev=target_alias ;;
1235 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1236 target_alias=$ac_optarg ;;
1238 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1239 verbose=yes ;;
1241 -version | --version | --versio | --versi | --vers | -V)
1242 ac_init_version=: ;;
1244 -with-* | --with-*)
1245 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1246 # Reject names that are not valid shell variable names.
1247 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1248 as_fn_error "invalid package name: $ac_useropt"
1249 ac_useropt_orig=$ac_useropt
1250 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1251 case $ac_user_opts in
1253 "with_$ac_useropt"
1254 "*) ;;
1255 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1256 ac_unrecognized_sep=', ';;
1257 esac
1258 eval with_$ac_useropt=\$ac_optarg ;;
1260 -without-* | --without-*)
1261 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1262 # Reject names that are not valid shell variable names.
1263 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1264 as_fn_error "invalid package name: $ac_useropt"
1265 ac_useropt_orig=$ac_useropt
1266 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1267 case $ac_user_opts in
1269 "with_$ac_useropt"
1270 "*) ;;
1271 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1272 ac_unrecognized_sep=', ';;
1273 esac
1274 eval with_$ac_useropt=no ;;
1276 --x)
1277 # Obsolete; use --with-x.
1278 with_x=yes ;;
1280 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1281 | --x-incl | --x-inc | --x-in | --x-i)
1282 ac_prev=x_includes ;;
1283 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1284 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1285 x_includes=$ac_optarg ;;
1287 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1288 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1289 ac_prev=x_libraries ;;
1290 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1291 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1292 x_libraries=$ac_optarg ;;
1294 -*) as_fn_error "unrecognized option: \`$ac_option'
1295 Try \`$0 --help' for more information."
1298 *=*)
1299 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1300 # Reject names that are not valid shell variable names.
1301 case $ac_envvar in #(
1302 '' | [0-9]* | *[!_$as_cr_alnum]* )
1303 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1304 esac
1305 eval $ac_envvar=\$ac_optarg
1306 export $ac_envvar ;;
1309 # FIXME: should be removed in autoconf 3.0.
1310 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1311 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1312 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1313 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1316 esac
1317 done
1319 if test -n "$ac_prev"; then
1320 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1321 as_fn_error "missing argument to $ac_option"
1324 if test -n "$ac_unrecognized_opts"; then
1325 case $enable_option_checking in
1326 no) ;;
1327 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1328 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1329 esac
1332 # Check all directory arguments for consistency.
1333 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1334 datadir sysconfdir sharedstatedir localstatedir includedir \
1335 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1336 libdir localedir mandir
1338 eval ac_val=\$$ac_var
1339 # Remove trailing slashes.
1340 case $ac_val in
1341 */ )
1342 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1343 eval $ac_var=\$ac_val;;
1344 esac
1345 # Be sure to have absolute directory names.
1346 case $ac_val in
1347 [\\/$]* | ?:[\\/]* ) continue;;
1348 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1349 esac
1350 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1351 done
1353 # There might be people who depend on the old broken behavior: `$host'
1354 # used to hold the argument of --host etc.
1355 # FIXME: To remove some day.
1356 build=$build_alias
1357 host=$host_alias
1358 target=$target_alias
1360 # FIXME: To remove some day.
1361 if test "x$host_alias" != x; then
1362 if test "x$build_alias" = x; then
1363 cross_compiling=maybe
1364 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1365 If a cross compiler is detected then cross compile mode will be used." >&2
1366 elif test "x$build_alias" != "x$host_alias"; then
1367 cross_compiling=yes
1371 ac_tool_prefix=
1372 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1374 test "$silent" = yes && exec 6>/dev/null
1377 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1378 ac_ls_di=`ls -di .` &&
1379 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1380 as_fn_error "working directory cannot be determined"
1381 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1382 as_fn_error "pwd does not report name of working directory"
1385 # Find the source files, if location was not specified.
1386 if test -z "$srcdir"; then
1387 ac_srcdir_defaulted=yes
1388 # Try the directory containing this script, then the parent directory.
1389 ac_confdir=`$as_dirname -- "$as_myself" ||
1390 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1391 X"$as_myself" : 'X\(//\)[^/]' \| \
1392 X"$as_myself" : 'X\(//\)$' \| \
1393 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1394 $as_echo X"$as_myself" |
1395 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1396 s//\1/
1399 /^X\(\/\/\)[^/].*/{
1400 s//\1/
1403 /^X\(\/\/\)$/{
1404 s//\1/
1407 /^X\(\/\).*/{
1408 s//\1/
1411 s/.*/./; q'`
1412 srcdir=$ac_confdir
1413 if test ! -r "$srcdir/$ac_unique_file"; then
1414 srcdir=..
1416 else
1417 ac_srcdir_defaulted=no
1419 if test ! -r "$srcdir/$ac_unique_file"; then
1420 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1421 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1423 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1424 ac_abs_confdir=`(
1425 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1426 pwd)`
1427 # When building in place, set srcdir=.
1428 if test "$ac_abs_confdir" = "$ac_pwd"; then
1429 srcdir=.
1431 # Remove unnecessary trailing slashes from srcdir.
1432 # Double slashes in file names in object file debugging info
1433 # mess up M-x gdb in Emacs.
1434 case $srcdir in
1435 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1436 esac
1437 for ac_var in $ac_precious_vars; do
1438 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1439 eval ac_env_${ac_var}_value=\$${ac_var}
1440 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1441 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1442 done
1445 # Report the --help message.
1447 if test "$ac_init_help" = "long"; then
1448 # Omit some internal or obsolete options to make the list less imposing.
1449 # This message is too long to be a string in the A/UX 3.1 sh.
1450 cat <<_ACEOF
1451 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1453 Usage: $0 [OPTION]... [VAR=VALUE]...
1455 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1456 VAR=VALUE. See below for descriptions of some of the useful variables.
1458 Defaults for the options are specified in brackets.
1460 Configuration:
1461 -h, --help display this help and exit
1462 --help=short display options specific to this package
1463 --help=recursive display the short help of all the included packages
1464 -V, --version display version information and exit
1465 -q, --quiet, --silent do not print \`checking...' messages
1466 --cache-file=FILE cache test results in FILE [disabled]
1467 -C, --config-cache alias for \`--cache-file=config.cache'
1468 -n, --no-create do not create output files
1469 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1471 Installation directories:
1472 --prefix=PREFIX install architecture-independent files in PREFIX
1473 [$ac_default_prefix]
1474 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1475 [PREFIX]
1477 By default, \`make install' will install all the files in
1478 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1479 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1480 for instance \`--prefix=\$HOME'.
1482 For better control, use the options below.
1484 Fine tuning of the installation directories:
1485 --bindir=DIR user executables [EPREFIX/bin]
1486 --sbindir=DIR system admin executables [EPREFIX/sbin]
1487 --libexecdir=DIR program executables [EPREFIX/libexec]
1488 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1489 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1490 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1491 --libdir=DIR object code libraries [EPREFIX/lib]
1492 --includedir=DIR C header files [PREFIX/include]
1493 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1494 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1495 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1496 --infodir=DIR info documentation [DATAROOTDIR/info]
1497 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1498 --mandir=DIR man documentation [DATAROOTDIR/man]
1499 --docdir=DIR documentation root [DATAROOTDIR/doc/libstdc++]
1500 --htmldir=DIR html documentation [DOCDIR]
1501 --dvidir=DIR dvi documentation [DOCDIR]
1502 --pdfdir=DIR pdf documentation [DOCDIR]
1503 --psdir=DIR ps documentation [DOCDIR]
1504 _ACEOF
1506 cat <<\_ACEOF
1508 Program names:
1509 --program-prefix=PREFIX prepend PREFIX to installed program names
1510 --program-suffix=SUFFIX append SUFFIX to installed program names
1511 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1513 System types:
1514 --build=BUILD configure for building on BUILD [guessed]
1515 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1516 --target=TARGET configure for building compilers for TARGET [HOST]
1517 _ACEOF
1520 if test -n "$ac_init_help"; then
1521 case $ac_init_help in
1522 short | recursive ) echo "Configuration of package-unused version-unused:";;
1523 esac
1524 cat <<\_ACEOF
1526 Optional Features:
1527 --disable-option-checking ignore unrecognized --enable/--with options
1528 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1529 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1530 --enable-multilib build many library versions (default)
1531 --enable-maintainer-mode enable make rules and dependencies not useful
1532 (and sometimes confusing) to the casual installer
1533 --enable-shared[=PKGS] build shared libraries [default=yes]
1534 --enable-static[=PKGS] build static libraries [default=yes]
1535 --enable-fast-install[=PKGS]
1536 optimize for fast installation [default=yes]
1537 --disable-libtool-lock avoid locking (might break parallel builds)
1538 --disable-hosted-libstdcxx
1539 only build freestanding C++ runtime support
1540 --disable-libstdcxx-verbose
1541 disable termination messages to standard error
1542 --enable-sjlj-exceptions
1543 force use of builtin_setjmp for exceptions
1544 [default=auto]
1545 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
1546 [default=$is_hosted]
1547 --enable-cstdio[=PACKAGE]
1548 use target-specific I/O package [default=stdio]
1549 --enable-clocale[=MODEL]
1550 use MODEL for target locale package [default=auto]
1551 --enable-nls use Native Language Support (default)
1552 --enable-libstdcxx-allocator[=KIND]
1553 use KIND for target std::allocator base
1554 [default=auto]
1555 --enable-cheaders[=KIND]
1556 construct "C" headers for g++ [default=$c_model]
1557 --enable-long-long enable template specializations for 'long long'
1558 [default=yes]
1559 --enable-wchar_t enable template specializations for 'wchar_t'
1560 [default=yes]
1561 --enable-c99 turns on ISO/IEC 9899:1999 support [default=yes]
1562 --enable-concept-checks use Boost-derived template checks [default=no]
1563 --enable-libstdcxx-debug-flags=FLAGS
1564 pass compiler FLAGS when building debug library
1565 [default="-gdwarf-4 -g3 -O0"]
1566 --enable-libstdcxx-debug
1567 build extra debug library [default=no]
1568 --enable-cxx-flags=FLAGS
1569 pass compiler FLAGS when building library [default=]
1570 --enable-fully-dynamic-string
1571 do not put empty strings in per-process static
1572 memory [default=no]
1573 --enable-extern-template
1574 enable extern template [default=yes]
1575 --enable-werror turns on -Werror [default=yes]
1576 --enable-vtable-verify enable vtable verify [default=no]
1577 --enable-libstdcxx-time[=KIND]
1578 use KIND for check type [default=auto]
1579 --enable-tls Use thread-local storage [default=yes]
1580 --disable-rpath do not hardcode runtime library paths
1581 --enable-linux-futex use the Linux futex system call [default=default]
1582 --enable-symvers[=STYLE]
1583 enables symbol versioning of the shared library
1584 [default=yes]
1585 --enable-libstdcxx-visibility
1586 enables visibility safe usage [default=yes]
1587 --enable-libstdcxx-dual-abi
1588 support two versions of std::string [default=yes]
1589 --enable-libstdcxx-threads
1590 enable C++11 threads support [default=auto]
1591 --enable-version-specific-runtime-libs
1592 Specify that runtime libraries should be installed
1593 in a compiler-specific directory
1595 Optional Packages:
1596 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1597 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1598 --with-target-subdir=SUBDIR
1599 configuring in a subdirectory
1600 --with-cross-host=HOST configuring with a cross compiler
1601 --with-newlib assume newlib as a system C library
1602 --with-pic try to use only PIC/non-PIC objects [default=use
1603 both]
1604 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1605 --with-python-dir the location to install Python modules. This path is
1606 relative starting from the prefix.
1607 --with-gnu-ld assume the C compiler uses GNU ld default=no
1608 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1609 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1610 --with-system-libunwind use installed libunwind
1611 --with-default-libstdcxx-abi
1612 set the std::string ABI to use by default
1613 --with-gxx-include-dir=DIR
1614 installation directory for include files
1616 Some influential environment variables:
1617 CC C compiler command
1618 CFLAGS C compiler flags
1619 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1620 nonstandard directory <lib dir>
1621 LIBS libraries to pass to the linker, e.g. -l<library>
1622 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1623 you have headers in a nonstandard directory <include dir>
1624 CXX C++ compiler command
1625 CXXFLAGS C++ compiler flags
1626 CPP C preprocessor
1627 CXXCPP C++ preprocessor
1628 CXXFILT Location of GNU c++filt. Defaults to the first GNU version of
1629 `c++filt', `gc++filt' on PATH.
1631 Use these variables to override the choices made by `configure' or to help
1632 it to find libraries and programs with nonstandard names/locations.
1634 Report bugs to the package provider.
1635 _ACEOF
1636 ac_status=$?
1639 if test "$ac_init_help" = "recursive"; then
1640 # If there are subdirs, report their specific --help.
1641 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1642 test -d "$ac_dir" ||
1643 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1644 continue
1645 ac_builddir=.
1647 case "$ac_dir" in
1648 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1650 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1651 # A ".." for each directory in $ac_dir_suffix.
1652 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1653 case $ac_top_builddir_sub in
1654 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1655 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1656 esac ;;
1657 esac
1658 ac_abs_top_builddir=$ac_pwd
1659 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1660 # for backward compatibility:
1661 ac_top_builddir=$ac_top_build_prefix
1663 case $srcdir in
1664 .) # We are building in place.
1665 ac_srcdir=.
1666 ac_top_srcdir=$ac_top_builddir_sub
1667 ac_abs_top_srcdir=$ac_pwd ;;
1668 [\\/]* | ?:[\\/]* ) # Absolute name.
1669 ac_srcdir=$srcdir$ac_dir_suffix;
1670 ac_top_srcdir=$srcdir
1671 ac_abs_top_srcdir=$srcdir ;;
1672 *) # Relative name.
1673 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1674 ac_top_srcdir=$ac_top_build_prefix$srcdir
1675 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1676 esac
1677 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1679 cd "$ac_dir" || { ac_status=$?; continue; }
1680 # Check for guested configure.
1681 if test -f "$ac_srcdir/configure.gnu"; then
1682 echo &&
1683 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1684 elif test -f "$ac_srcdir/configure"; then
1685 echo &&
1686 $SHELL "$ac_srcdir/configure" --help=recursive
1687 else
1688 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1689 fi || ac_status=$?
1690 cd "$ac_pwd" || { ac_status=$?; break; }
1691 done
1694 test -n "$ac_init_help" && exit $ac_status
1695 if $ac_init_version; then
1696 cat <<\_ACEOF
1697 package-unused configure version-unused
1698 generated by GNU Autoconf 2.64
1700 Copyright (C) 2009 Free Software Foundation, Inc.
1701 This configure script is free software; the Free Software Foundation
1702 gives unlimited permission to copy, distribute and modify it.
1703 _ACEOF
1704 exit
1707 ## ------------------------ ##
1708 ## Autoconf initialization. ##
1709 ## ------------------------ ##
1711 # ac_fn_c_try_compile LINENO
1712 # --------------------------
1713 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1714 ac_fn_c_try_compile ()
1716 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1717 rm -f conftest.$ac_objext
1718 if { { ac_try="$ac_compile"
1719 case "(($ac_try" in
1720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1721 *) ac_try_echo=$ac_try;;
1722 esac
1723 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1724 $as_echo "$ac_try_echo"; } >&5
1725 (eval "$ac_compile") 2>conftest.err
1726 ac_status=$?
1727 if test -s conftest.err; then
1728 grep -v '^ *+' conftest.err >conftest.er1
1729 cat conftest.er1 >&5
1730 mv -f conftest.er1 conftest.err
1732 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1733 test $ac_status = 0; } && {
1734 test -z "$ac_c_werror_flag" ||
1735 test ! -s conftest.err
1736 } && test -s conftest.$ac_objext; then :
1737 ac_retval=0
1738 else
1739 $as_echo "$as_me: failed program was:" >&5
1740 sed 's/^/| /' conftest.$ac_ext >&5
1742 ac_retval=1
1744 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1745 return $ac_retval
1747 } # ac_fn_c_try_compile
1749 # ac_fn_cxx_try_compile LINENO
1750 # ----------------------------
1751 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1752 ac_fn_cxx_try_compile ()
1754 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1755 rm -f conftest.$ac_objext
1756 if { { ac_try="$ac_compile"
1757 case "(($ac_try" in
1758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1759 *) ac_try_echo=$ac_try;;
1760 esac
1761 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1762 $as_echo "$ac_try_echo"; } >&5
1763 (eval "$ac_compile") 2>conftest.err
1764 ac_status=$?
1765 if test -s conftest.err; then
1766 grep -v '^ *+' conftest.err >conftest.er1
1767 cat conftest.er1 >&5
1768 mv -f conftest.er1 conftest.err
1770 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1771 test $ac_status = 0; } && {
1772 test -z "$ac_cxx_werror_flag" ||
1773 test ! -s conftest.err
1774 } && test -s conftest.$ac_objext; then :
1775 ac_retval=0
1776 else
1777 $as_echo "$as_me: failed program was:" >&5
1778 sed 's/^/| /' conftest.$ac_ext >&5
1780 ac_retval=1
1782 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1783 return $ac_retval
1785 } # ac_fn_cxx_try_compile
1787 # ac_fn_c_try_cpp LINENO
1788 # ----------------------
1789 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1790 ac_fn_c_try_cpp ()
1792 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1793 if { { ac_try="$ac_cpp conftest.$ac_ext"
1794 case "(($ac_try" in
1795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1796 *) ac_try_echo=$ac_try;;
1797 esac
1798 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1799 $as_echo "$ac_try_echo"; } >&5
1800 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1801 ac_status=$?
1802 if test -s conftest.err; then
1803 grep -v '^ *+' conftest.err >conftest.er1
1804 cat conftest.er1 >&5
1805 mv -f conftest.er1 conftest.err
1807 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1808 test $ac_status = 0; } >/dev/null && {
1809 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1810 test ! -s conftest.err
1811 }; then :
1812 ac_retval=0
1813 else
1814 $as_echo "$as_me: failed program was:" >&5
1815 sed 's/^/| /' conftest.$ac_ext >&5
1817 ac_retval=1
1819 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1820 return $ac_retval
1822 } # ac_fn_c_try_cpp
1824 # ac_fn_c_try_link LINENO
1825 # -----------------------
1826 # Try to link conftest.$ac_ext, and return whether this succeeded.
1827 ac_fn_c_try_link ()
1829 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1830 rm -f conftest.$ac_objext conftest$ac_exeext
1831 if { { ac_try="$ac_link"
1832 case "(($ac_try" in
1833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1834 *) ac_try_echo=$ac_try;;
1835 esac
1836 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1837 $as_echo "$ac_try_echo"; } >&5
1838 (eval "$ac_link") 2>conftest.err
1839 ac_status=$?
1840 if test -s conftest.err; then
1841 grep -v '^ *+' conftest.err >conftest.er1
1842 cat conftest.er1 >&5
1843 mv -f conftest.er1 conftest.err
1845 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1846 test $ac_status = 0; } && {
1847 test -z "$ac_c_werror_flag" ||
1848 test ! -s conftest.err
1849 } && test -s conftest$ac_exeext && {
1850 test "$cross_compiling" = yes ||
1851 $as_test_x conftest$ac_exeext
1852 }; then :
1853 ac_retval=0
1854 else
1855 $as_echo "$as_me: failed program was:" >&5
1856 sed 's/^/| /' conftest.$ac_ext >&5
1858 ac_retval=1
1860 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1861 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1862 # interfere with the next link command; also delete a directory that is
1863 # left behind by Apple's compiler. We do this before executing the actions.
1864 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1865 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1866 return $ac_retval
1868 } # ac_fn_c_try_link
1870 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1871 # -------------------------------------------------------
1872 # Tests whether HEADER exists and can be compiled using the include files in
1873 # INCLUDES, setting the cache variable VAR accordingly.
1874 ac_fn_c_check_header_compile ()
1876 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1878 $as_echo_n "checking for $2... " >&6; }
1879 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1880 $as_echo_n "(cached) " >&6
1881 else
1882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1883 /* end confdefs.h. */
1885 #include <$2>
1886 _ACEOF
1887 if ac_fn_c_try_compile "$LINENO"; then :
1888 eval "$3=yes"
1889 else
1890 eval "$3=no"
1892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1894 eval ac_res=\$$3
1895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1896 $as_echo "$ac_res" >&6; }
1897 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1899 } # ac_fn_c_check_header_compile
1901 # ac_fn_c_try_run LINENO
1902 # ----------------------
1903 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1904 # that executables *can* be run.
1905 ac_fn_c_try_run ()
1907 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1908 if { { ac_try="$ac_link"
1909 case "(($ac_try" in
1910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1911 *) ac_try_echo=$ac_try;;
1912 esac
1913 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1914 $as_echo "$ac_try_echo"; } >&5
1915 (eval "$ac_link") 2>&5
1916 ac_status=$?
1917 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1918 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1919 { { case "(($ac_try" in
1920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1921 *) ac_try_echo=$ac_try;;
1922 esac
1923 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1924 $as_echo "$ac_try_echo"; } >&5
1925 (eval "$ac_try") 2>&5
1926 ac_status=$?
1927 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1928 test $ac_status = 0; }; }; then :
1929 ac_retval=0
1930 else
1931 $as_echo "$as_me: program exited with status $ac_status" >&5
1932 $as_echo "$as_me: failed program was:" >&5
1933 sed 's/^/| /' conftest.$ac_ext >&5
1935 ac_retval=$ac_status
1937 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1938 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1939 return $ac_retval
1941 } # ac_fn_c_try_run
1943 # ac_fn_c_check_func LINENO FUNC VAR
1944 # ----------------------------------
1945 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1946 ac_fn_c_check_func ()
1948 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1950 $as_echo_n "checking for $2... " >&6; }
1951 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1952 $as_echo_n "(cached) " >&6
1953 else
1954 if test x$gcc_no_link = xyes; then
1955 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1958 /* end confdefs.h. */
1959 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1960 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1961 #define $2 innocuous_$2
1963 /* System header to define __stub macros and hopefully few prototypes,
1964 which can conflict with char $2 (); below.
1965 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1966 <limits.h> exists even on freestanding compilers. */
1968 #ifdef __STDC__
1969 # include <limits.h>
1970 #else
1971 # include <assert.h>
1972 #endif
1974 #undef $2
1976 /* Override any GCC internal prototype to avoid an error.
1977 Use char because int might match the return type of a GCC
1978 builtin and then its argument prototype would still apply. */
1979 #ifdef __cplusplus
1980 extern "C"
1981 #endif
1982 char $2 ();
1983 /* The GNU C library defines this for functions which it implements
1984 to always fail with ENOSYS. Some functions are actually named
1985 something starting with __ and the normal name is an alias. */
1986 #if defined __stub_$2 || defined __stub___$2
1987 choke me
1988 #endif
1991 main ()
1993 return $2 ();
1995 return 0;
1997 _ACEOF
1998 if ac_fn_c_try_link "$LINENO"; then :
1999 eval "$3=yes"
2000 else
2001 eval "$3=no"
2003 rm -f core conftest.err conftest.$ac_objext \
2004 conftest$ac_exeext conftest.$ac_ext
2006 eval ac_res=\$$3
2007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2008 $as_echo "$ac_res" >&6; }
2009 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2011 } # ac_fn_c_check_func
2013 # ac_fn_cxx_try_cpp LINENO
2014 # ------------------------
2015 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2016 ac_fn_cxx_try_cpp ()
2018 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2019 if { { ac_try="$ac_cpp conftest.$ac_ext"
2020 case "(($ac_try" in
2021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2022 *) ac_try_echo=$ac_try;;
2023 esac
2024 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2025 $as_echo "$ac_try_echo"; } >&5
2026 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2027 ac_status=$?
2028 if test -s conftest.err; then
2029 grep -v '^ *+' conftest.err >conftest.er1
2030 cat conftest.er1 >&5
2031 mv -f conftest.er1 conftest.err
2033 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2034 test $ac_status = 0; } >/dev/null && {
2035 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2036 test ! -s conftest.err
2037 }; then :
2038 ac_retval=0
2039 else
2040 $as_echo "$as_me: failed program was:" >&5
2041 sed 's/^/| /' conftest.$ac_ext >&5
2043 ac_retval=1
2045 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2046 return $ac_retval
2048 } # ac_fn_cxx_try_cpp
2050 # ac_fn_cxx_try_link LINENO
2051 # -------------------------
2052 # Try to link conftest.$ac_ext, and return whether this succeeded.
2053 ac_fn_cxx_try_link ()
2055 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2056 rm -f conftest.$ac_objext conftest$ac_exeext
2057 if { { ac_try="$ac_link"
2058 case "(($ac_try" in
2059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2060 *) ac_try_echo=$ac_try;;
2061 esac
2062 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2063 $as_echo "$ac_try_echo"; } >&5
2064 (eval "$ac_link") 2>conftest.err
2065 ac_status=$?
2066 if test -s conftest.err; then
2067 grep -v '^ *+' conftest.err >conftest.er1
2068 cat conftest.er1 >&5
2069 mv -f conftest.er1 conftest.err
2071 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2072 test $ac_status = 0; } && {
2073 test -z "$ac_cxx_werror_flag" ||
2074 test ! -s conftest.err
2075 } && test -s conftest$ac_exeext && {
2076 test "$cross_compiling" = yes ||
2077 $as_test_x conftest$ac_exeext
2078 }; then :
2079 ac_retval=0
2080 else
2081 $as_echo "$as_me: failed program was:" >&5
2082 sed 's/^/| /' conftest.$ac_ext >&5
2084 ac_retval=1
2086 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2087 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2088 # interfere with the next link command; also delete a directory that is
2089 # left behind by Apple's compiler. We do this before executing the actions.
2090 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2091 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2092 return $ac_retval
2094 } # ac_fn_cxx_try_link
2096 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2097 # -------------------------------------------------------
2098 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2099 # the include files in INCLUDES and setting the cache variable VAR
2100 # accordingly.
2101 ac_fn_c_check_header_mongrel ()
2103 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2104 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2106 $as_echo_n "checking for $2... " >&6; }
2107 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2108 $as_echo_n "(cached) " >&6
2110 eval ac_res=\$$3
2111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2112 $as_echo "$ac_res" >&6; }
2113 else
2114 # Is the header compilable?
2115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2116 $as_echo_n "checking $2 usability... " >&6; }
2117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2118 /* end confdefs.h. */
2120 #include <$2>
2121 _ACEOF
2122 if ac_fn_c_try_compile "$LINENO"; then :
2123 ac_header_compiler=yes
2124 else
2125 ac_header_compiler=no
2127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2129 $as_echo "$ac_header_compiler" >&6; }
2131 # Is the header present?
2132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2133 $as_echo_n "checking $2 presence... " >&6; }
2134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2135 /* end confdefs.h. */
2136 #include <$2>
2137 _ACEOF
2138 if ac_fn_c_try_cpp "$LINENO"; then :
2139 ac_header_preproc=yes
2140 else
2141 ac_header_preproc=no
2143 rm -f conftest.err conftest.$ac_ext
2144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2145 $as_echo "$ac_header_preproc" >&6; }
2147 # So? What about this header?
2148 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2149 yes:no: )
2150 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2151 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2152 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2153 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2155 no:yes:* )
2156 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2157 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2158 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2159 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2160 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2161 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2162 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2163 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2164 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2165 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2167 esac
2168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2169 $as_echo_n "checking for $2... " >&6; }
2170 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2171 $as_echo_n "(cached) " >&6
2172 else
2173 eval "$3=\$ac_header_compiler"
2175 eval ac_res=\$$3
2176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2177 $as_echo "$ac_res" >&6; }
2179 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2181 } # ac_fn_c_check_header_mongrel
2183 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2184 # ---------------------------------------------------------
2185 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2186 # the include files in INCLUDES and setting the cache variable VAR
2187 # accordingly.
2188 ac_fn_cxx_check_header_mongrel ()
2190 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2191 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2193 $as_echo_n "checking for $2... " >&6; }
2194 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2195 $as_echo_n "(cached) " >&6
2197 eval ac_res=\$$3
2198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2199 $as_echo "$ac_res" >&6; }
2200 else
2201 # Is the header compilable?
2202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2203 $as_echo_n "checking $2 usability... " >&6; }
2204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2205 /* end confdefs.h. */
2207 #include <$2>
2208 _ACEOF
2209 if ac_fn_cxx_try_compile "$LINENO"; then :
2210 ac_header_compiler=yes
2211 else
2212 ac_header_compiler=no
2214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2216 $as_echo "$ac_header_compiler" >&6; }
2218 # Is the header present?
2219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2220 $as_echo_n "checking $2 presence... " >&6; }
2221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2222 /* end confdefs.h. */
2223 #include <$2>
2224 _ACEOF
2225 if ac_fn_cxx_try_cpp "$LINENO"; then :
2226 ac_header_preproc=yes
2227 else
2228 ac_header_preproc=no
2230 rm -f conftest.err conftest.$ac_ext
2231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2232 $as_echo "$ac_header_preproc" >&6; }
2234 # So? What about this header?
2235 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2236 yes:no: )
2237 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2238 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2239 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2240 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2242 no:yes:* )
2243 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2244 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2245 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2246 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2247 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2248 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2249 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2250 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2251 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2252 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2254 esac
2255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2256 $as_echo_n "checking for $2... " >&6; }
2257 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2258 $as_echo_n "(cached) " >&6
2259 else
2260 eval "$3=\$ac_header_compiler"
2262 eval ac_res=\$$3
2263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2264 $as_echo "$ac_res" >&6; }
2266 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2268 } # ac_fn_cxx_check_header_mongrel
2270 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2271 # --------------------------------------------
2272 # Tries to find the compile-time value of EXPR in a program that includes
2273 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2274 # computed
2275 ac_fn_c_compute_int ()
2277 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2278 if test "$cross_compiling" = yes; then
2279 # Depending upon the size, compute the lo and hi bounds.
2280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2281 /* end confdefs.h. */
2284 main ()
2286 static int test_array [1 - 2 * !(($2) >= 0)];
2287 test_array [0] = 0
2290 return 0;
2292 _ACEOF
2293 if ac_fn_c_try_compile "$LINENO"; then :
2294 ac_lo=0 ac_mid=0
2295 while :; do
2296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2297 /* end confdefs.h. */
2300 main ()
2302 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2303 test_array [0] = 0
2306 return 0;
2308 _ACEOF
2309 if ac_fn_c_try_compile "$LINENO"; then :
2310 ac_hi=$ac_mid; break
2311 else
2312 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2313 if test $ac_lo -le $ac_mid; then
2314 ac_lo= ac_hi=
2315 break
2317 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2320 done
2321 else
2322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2323 /* end confdefs.h. */
2326 main ()
2328 static int test_array [1 - 2 * !(($2) < 0)];
2329 test_array [0] = 0
2332 return 0;
2334 _ACEOF
2335 if ac_fn_c_try_compile "$LINENO"; then :
2336 ac_hi=-1 ac_mid=-1
2337 while :; do
2338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2339 /* end confdefs.h. */
2342 main ()
2344 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2345 test_array [0] = 0
2348 return 0;
2350 _ACEOF
2351 if ac_fn_c_try_compile "$LINENO"; then :
2352 ac_lo=$ac_mid; break
2353 else
2354 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2355 if test $ac_mid -le $ac_hi; then
2356 ac_lo= ac_hi=
2357 break
2359 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2362 done
2363 else
2364 ac_lo= ac_hi=
2366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2369 # Binary search between lo and hi bounds.
2370 while test "x$ac_lo" != "x$ac_hi"; do
2371 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2373 /* end confdefs.h. */
2376 main ()
2378 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2379 test_array [0] = 0
2382 return 0;
2384 _ACEOF
2385 if ac_fn_c_try_compile "$LINENO"; then :
2386 ac_hi=$ac_mid
2387 else
2388 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2391 done
2392 case $ac_lo in #((
2393 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2394 '') ac_retval=1 ;;
2395 esac
2396 else
2397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2398 /* end confdefs.h. */
2400 static long int longval () { return $2; }
2401 static unsigned long int ulongval () { return $2; }
2402 #include <stdio.h>
2403 #include <stdlib.h>
2405 main ()
2408 FILE *f = fopen ("conftest.val", "w");
2409 if (! f)
2410 return 1;
2411 if (($2) < 0)
2413 long int i = longval ();
2414 if (i != ($2))
2415 return 1;
2416 fprintf (f, "%ld", i);
2418 else
2420 unsigned long int i = ulongval ();
2421 if (i != ($2))
2422 return 1;
2423 fprintf (f, "%lu", i);
2425 /* Do not output a trailing newline, as this causes \r\n confusion
2426 on some platforms. */
2427 return ferror (f) || fclose (f) != 0;
2430 return 0;
2432 _ACEOF
2433 if ac_fn_c_try_run "$LINENO"; then :
2434 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2435 else
2436 ac_retval=1
2438 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2439 conftest.$ac_objext conftest.beam conftest.$ac_ext
2440 rm -f conftest.val
2443 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2444 return $ac_retval
2446 } # ac_fn_c_compute_int
2448 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2449 # -------------------------------------------
2450 # Tests whether TYPE exists after having included INCLUDES, setting cache
2451 # variable VAR accordingly.
2452 ac_fn_c_check_type ()
2454 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2456 $as_echo_n "checking for $2... " >&6; }
2457 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2458 $as_echo_n "(cached) " >&6
2459 else
2460 eval "$3=no"
2461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2462 /* end confdefs.h. */
2465 main ()
2467 if (sizeof ($2))
2468 return 0;
2470 return 0;
2472 _ACEOF
2473 if ac_fn_c_try_compile "$LINENO"; then :
2474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2475 /* end confdefs.h. */
2478 main ()
2480 if (sizeof (($2)))
2481 return 0;
2483 return 0;
2485 _ACEOF
2486 if ac_fn_c_try_compile "$LINENO"; then :
2488 else
2489 eval "$3=yes"
2491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2495 eval ac_res=\$$3
2496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2497 $as_echo "$ac_res" >&6; }
2498 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2500 } # ac_fn_c_check_type
2501 cat >config.log <<_ACEOF
2502 This file contains any messages produced by compilers while
2503 running configure, to aid debugging if configure makes a mistake.
2505 It was created by package-unused $as_me version-unused, which was
2506 generated by GNU Autoconf 2.64. Invocation command line was
2508 $ $0 $@
2510 _ACEOF
2511 exec 5>>config.log
2513 cat <<_ASUNAME
2514 ## --------- ##
2515 ## Platform. ##
2516 ## --------- ##
2518 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2519 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2520 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2521 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2522 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2524 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2525 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2527 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2528 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2529 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2530 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2531 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2532 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2533 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2535 _ASUNAME
2537 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2538 for as_dir in $PATH
2540 IFS=$as_save_IFS
2541 test -z "$as_dir" && as_dir=.
2542 $as_echo "PATH: $as_dir"
2543 done
2544 IFS=$as_save_IFS
2546 } >&5
2548 cat >&5 <<_ACEOF
2551 ## ----------- ##
2552 ## Core tests. ##
2553 ## ----------- ##
2555 _ACEOF
2558 # Keep a trace of the command line.
2559 # Strip out --no-create and --no-recursion so they do not pile up.
2560 # Strip out --silent because we don't want to record it for future runs.
2561 # Also quote any args containing shell meta-characters.
2562 # Make two passes to allow for proper duplicate-argument suppression.
2563 ac_configure_args=
2564 ac_configure_args0=
2565 ac_configure_args1=
2566 ac_must_keep_next=false
2567 for ac_pass in 1 2
2569 for ac_arg
2571 case $ac_arg in
2572 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2573 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2574 | -silent | --silent | --silen | --sile | --sil)
2575 continue ;;
2576 *\'*)
2577 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2578 esac
2579 case $ac_pass in
2580 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2582 as_fn_append ac_configure_args1 " '$ac_arg'"
2583 if test $ac_must_keep_next = true; then
2584 ac_must_keep_next=false # Got value, back to normal.
2585 else
2586 case $ac_arg in
2587 *=* | --config-cache | -C | -disable-* | --disable-* \
2588 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2589 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2590 | -with-* | --with-* | -without-* | --without-* | --x)
2591 case "$ac_configure_args0 " in
2592 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2593 esac
2595 -* ) ac_must_keep_next=true ;;
2596 esac
2598 as_fn_append ac_configure_args " '$ac_arg'"
2600 esac
2601 done
2602 done
2603 { ac_configure_args0=; unset ac_configure_args0;}
2604 { ac_configure_args1=; unset ac_configure_args1;}
2606 # When interrupted or exit'd, cleanup temporary files, and complete
2607 # config.log. We remove comments because anyway the quotes in there
2608 # would cause problems or look ugly.
2609 # WARNING: Use '\'' to represent an apostrophe within the trap.
2610 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2611 trap 'exit_status=$?
2612 # Save into config.log some information that might help in debugging.
2614 echo
2616 cat <<\_ASBOX
2617 ## ---------------- ##
2618 ## Cache variables. ##
2619 ## ---------------- ##
2620 _ASBOX
2621 echo
2622 # The following way of writing the cache mishandles newlines in values,
2624 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2625 eval ac_val=\$$ac_var
2626 case $ac_val in #(
2627 *${as_nl}*)
2628 case $ac_var in #(
2629 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2630 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2631 esac
2632 case $ac_var in #(
2633 _ | IFS | as_nl) ;; #(
2634 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2635 *) { eval $ac_var=; unset $ac_var;} ;;
2636 esac ;;
2637 esac
2638 done
2639 (set) 2>&1 |
2640 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2641 *${as_nl}ac_space=\ *)
2642 sed -n \
2643 "s/'\''/'\''\\\\'\'''\''/g;
2644 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2645 ;; #(
2647 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2649 esac |
2650 sort
2652 echo
2654 cat <<\_ASBOX
2655 ## ----------------- ##
2656 ## Output variables. ##
2657 ## ----------------- ##
2658 _ASBOX
2659 echo
2660 for ac_var in $ac_subst_vars
2662 eval ac_val=\$$ac_var
2663 case $ac_val in
2664 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2665 esac
2666 $as_echo "$ac_var='\''$ac_val'\''"
2667 done | sort
2668 echo
2670 if test -n "$ac_subst_files"; then
2671 cat <<\_ASBOX
2672 ## ------------------- ##
2673 ## File substitutions. ##
2674 ## ------------------- ##
2675 _ASBOX
2676 echo
2677 for ac_var in $ac_subst_files
2679 eval ac_val=\$$ac_var
2680 case $ac_val in
2681 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2682 esac
2683 $as_echo "$ac_var='\''$ac_val'\''"
2684 done | sort
2685 echo
2688 if test -s confdefs.h; then
2689 cat <<\_ASBOX
2690 ## ----------- ##
2691 ## confdefs.h. ##
2692 ## ----------- ##
2693 _ASBOX
2694 echo
2695 cat confdefs.h
2696 echo
2698 test "$ac_signal" != 0 &&
2699 $as_echo "$as_me: caught signal $ac_signal"
2700 $as_echo "$as_me: exit $exit_status"
2701 } >&5
2702 rm -f core *.core core.conftest.* &&
2703 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2704 exit $exit_status
2706 for ac_signal in 1 2 13 15; do
2707 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2708 done
2709 ac_signal=0
2711 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2712 rm -f -r conftest* confdefs.h
2714 $as_echo "/* confdefs.h */" > confdefs.h
2716 # Predefined preprocessor variables.
2718 cat >>confdefs.h <<_ACEOF
2719 #define PACKAGE_NAME "$PACKAGE_NAME"
2720 _ACEOF
2722 cat >>confdefs.h <<_ACEOF
2723 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2724 _ACEOF
2726 cat >>confdefs.h <<_ACEOF
2727 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2728 _ACEOF
2730 cat >>confdefs.h <<_ACEOF
2731 #define PACKAGE_STRING "$PACKAGE_STRING"
2732 _ACEOF
2734 cat >>confdefs.h <<_ACEOF
2735 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2736 _ACEOF
2738 cat >>confdefs.h <<_ACEOF
2739 #define PACKAGE_URL "$PACKAGE_URL"
2740 _ACEOF
2743 # Let the site file select an alternate cache file if it wants to.
2744 # Prefer an explicitly selected file to automatically selected ones.
2745 ac_site_file1=NONE
2746 ac_site_file2=NONE
2747 if test -n "$CONFIG_SITE"; then
2748 ac_site_file1=$CONFIG_SITE
2749 elif test "x$prefix" != xNONE; then
2750 ac_site_file1=$prefix/share/config.site
2751 ac_site_file2=$prefix/etc/config.site
2752 else
2753 ac_site_file1=$ac_default_prefix/share/config.site
2754 ac_site_file2=$ac_default_prefix/etc/config.site
2756 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2758 test "x$ac_site_file" = xNONE && continue
2759 if test -r "$ac_site_file"; then
2760 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2761 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2762 sed 's/^/| /' "$ac_site_file" >&5
2763 . "$ac_site_file"
2765 done
2767 if test -r "$cache_file"; then
2768 # Some versions of bash will fail to source /dev/null (special
2769 # files actually), so we avoid doing that.
2770 if test -f "$cache_file"; then
2771 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2772 $as_echo "$as_me: loading cache $cache_file" >&6;}
2773 case $cache_file in
2774 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2775 *) . "./$cache_file";;
2776 esac
2778 else
2779 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2780 $as_echo "$as_me: creating cache $cache_file" >&6;}
2781 >$cache_file
2784 # Check that the precious variables saved in the cache have kept the same
2785 # value.
2786 ac_cache_corrupted=false
2787 for ac_var in $ac_precious_vars; do
2788 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2789 eval ac_new_set=\$ac_env_${ac_var}_set
2790 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2791 eval ac_new_val=\$ac_env_${ac_var}_value
2792 case $ac_old_set,$ac_new_set in
2793 set,)
2794 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2795 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2796 ac_cache_corrupted=: ;;
2797 ,set)
2798 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2799 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2800 ac_cache_corrupted=: ;;
2801 ,);;
2803 if test "x$ac_old_val" != "x$ac_new_val"; then
2804 # differences in whitespace do not lead to failure.
2805 ac_old_val_w=`echo x $ac_old_val`
2806 ac_new_val_w=`echo x $ac_new_val`
2807 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2808 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2809 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2810 ac_cache_corrupted=:
2811 else
2812 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2813 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2814 eval $ac_var=\$ac_old_val
2816 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2817 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2818 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2819 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2820 fi;;
2821 esac
2822 # Pass precious variables to config.status.
2823 if test "$ac_new_set" = set; then
2824 case $ac_new_val in
2825 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2826 *) ac_arg=$ac_var=$ac_new_val ;;
2827 esac
2828 case " $ac_configure_args " in
2829 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2830 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2831 esac
2833 done
2834 if $ac_cache_corrupted; then
2835 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2836 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2837 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2838 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2839 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2841 ## -------------------- ##
2842 ## Main body of script. ##
2843 ## -------------------- ##
2845 ac_ext=c
2846 ac_cpp='$CPP $CPPFLAGS'
2847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2856 ac_config_headers="$ac_config_headers config.h"
2859 # This works around the fact that libtool configuration may change LD
2860 # for this particular configuration, but some shells, instead of
2861 # keeping the changes in LD private, export them just because LD is
2862 # exported. Only used at the end of this file.
2863 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
2865 # Find the rest of the source tree framework.
2866 # Default to --enable-multilib
2867 # Check whether --enable-multilib was given.
2868 if test "${enable_multilib+set}" = set; then :
2869 enableval=$enable_multilib; case "$enableval" in
2870 yes) multilib=yes ;;
2871 no) multilib=no ;;
2872 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2873 esac
2874 else
2875 multilib=yes
2879 # We may get other options which we leave undocumented:
2880 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2881 # See config-ml.in if you want the gory details.
2883 if test "$srcdir" = "."; then
2884 if test "$with_target_subdir" != "."; then
2885 multi_basedir="$srcdir/$with_multisrctop../.."
2886 else
2887 multi_basedir="$srcdir/$with_multisrctop.."
2889 else
2890 multi_basedir="$srcdir/.."
2894 # Even if the default multilib is not a cross compilation,
2895 # it may be that some of the other multilibs are.
2896 if test $cross_compiling = no && test $multilib = yes \
2897 && test "x${with_multisubdir}" != x ; then
2898 cross_compiling=maybe
2901 ac_config_commands="$ac_config_commands default-1"
2904 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2906 # You will slowly go insane if you do not grok the following fact: when
2907 # building v3 as part of the compiler, the top-level /target/ becomes the
2908 # library's /host/. configure then causes --target to default to --host,
2909 # exactly like any other package using autoconf. Therefore, 'target' and
2910 # 'host' will always be the same. This makes sense both for native and
2911 # cross compilers, just think about it for a little while. :-)
2913 # Also, if v3 is being configured as part of a cross compiler, the top-level
2914 # configure script will pass the "real" host as $with_cross_host.
2916 # Do not delete or change the following two lines. For why, see
2917 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2918 ac_aux_dir=
2919 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2920 for ac_t in install-sh install.sh shtool; do
2921 if test -f "$ac_dir/$ac_t"; then
2922 ac_aux_dir=$ac_dir
2923 ac_install_sh="$ac_aux_dir/$ac_t -c"
2924 break 2
2926 done
2927 done
2928 if test -z "$ac_aux_dir"; then
2929 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2932 # These three variables are undocumented and unsupported,
2933 # and are intended to be withdrawn in a future Autoconf release.
2934 # They can cause serious problems if a builder's source tree is in a directory
2935 # whose full name contains unusual characters.
2936 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2937 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2938 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2941 # Make sure we can run config.sub.
2942 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2943 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2946 $as_echo_n "checking build system type... " >&6; }
2947 if test "${ac_cv_build+set}" = set; then :
2948 $as_echo_n "(cached) " >&6
2949 else
2950 ac_build_alias=$build_alias
2951 test "x$ac_build_alias" = x &&
2952 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2953 test "x$ac_build_alias" = x &&
2954 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2955 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2956 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2960 $as_echo "$ac_cv_build" >&6; }
2961 case $ac_cv_build in
2962 *-*-*) ;;
2963 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2964 esac
2965 build=$ac_cv_build
2966 ac_save_IFS=$IFS; IFS='-'
2967 set x $ac_cv_build
2968 shift
2969 build_cpu=$1
2970 build_vendor=$2
2971 shift; shift
2972 # Remember, the first character of IFS is used to create $*,
2973 # except with old shells:
2974 build_os=$*
2975 IFS=$ac_save_IFS
2976 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2980 $as_echo_n "checking host system type... " >&6; }
2981 if test "${ac_cv_host+set}" = set; then :
2982 $as_echo_n "(cached) " >&6
2983 else
2984 if test "x$host_alias" = x; then
2985 ac_cv_host=$ac_cv_build
2986 else
2987 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2988 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2993 $as_echo "$ac_cv_host" >&6; }
2994 case $ac_cv_host in
2995 *-*-*) ;;
2996 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2997 esac
2998 host=$ac_cv_host
2999 ac_save_IFS=$IFS; IFS='-'
3000 set x $ac_cv_host
3001 shift
3002 host_cpu=$1
3003 host_vendor=$2
3004 shift; shift
3005 # Remember, the first character of IFS is used to create $*,
3006 # except with old shells:
3007 host_os=$*
3008 IFS=$ac_save_IFS
3009 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3013 $as_echo_n "checking target system type... " >&6; }
3014 if test "${ac_cv_target+set}" = set; then :
3015 $as_echo_n "(cached) " >&6
3016 else
3017 if test "x$target_alias" = x; then
3018 ac_cv_target=$ac_cv_host
3019 else
3020 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3021 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3026 $as_echo "$ac_cv_target" >&6; }
3027 case $ac_cv_target in
3028 *-*-*) ;;
3029 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
3030 esac
3031 target=$ac_cv_target
3032 ac_save_IFS=$IFS; IFS='-'
3033 set x $ac_cv_target
3034 shift
3035 target_cpu=$1
3036 target_vendor=$2
3037 shift; shift
3038 # Remember, the first character of IFS is used to create $*,
3039 # except with old shells:
3040 target_os=$*
3041 IFS=$ac_save_IFS
3042 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3045 # The aliases save the names the user supplied, while $host etc.
3046 # will get canonicalized.
3047 test -n "$target_alias" &&
3048 test "$program_prefix$program_suffix$program_transform_name" = \
3049 NONENONEs,x,x, &&
3050 program_prefix=${target_alias}-
3052 target_alias=${target_alias-$host_alias}
3054 # Handy for debugging:
3055 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3057 if test "$build" != "$host"; then
3058 # We are being configured with some form of cross compiler.
3059 GLIBCXX_IS_NATIVE=false
3060 case "$host","$target" in
3061 # Darwin crosses can use the host system's libraries and headers,
3062 # because of the fat library support. Of course, it must be the
3063 # same version of Darwin on both sides. Allow the user to
3064 # just say --target=foo-darwin without a version number to mean
3065 # "the version on this system".
3066 *-*-darwin*,*-*-darwin*)
3067 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3068 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3069 if test $hostos = $targetos -o $targetos = darwin ; then
3070 GLIBCXX_IS_NATIVE=true
3077 esac
3078 else
3079 GLIBCXX_IS_NATIVE=true
3082 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
3083 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3084 # 1.x: minimum required version
3085 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
3086 # of other PACKAGE_* variables will, however, and there's nothing
3087 # we can do about that; they come from AC_INIT).
3088 # foreign: we don't follow the normal rules for GNU packages (no COPYING
3089 # file in the top srcdir, etc, etc), so stop complaining.
3090 # no-dependencies: turns off auto dependency generation (just for now)
3091 # no-dist: we don't want 'dist' and related rules.
3092 # -Wall: turns on all automake warnings...
3093 # -Wno-portability: ...except this one, since GNU make is now required.
3094 am__api_version='1.11'
3096 # Find a good install program. We prefer a C program (faster),
3097 # so one script is as good as another. But avoid the broken or
3098 # incompatible versions:
3099 # SysV /etc/install, /usr/sbin/install
3100 # SunOS /usr/etc/install
3101 # IRIX /sbin/install
3102 # AIX /bin/install
3103 # AmigaOS /C/install, which installs bootblocks on floppy discs
3104 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3105 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3106 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3107 # OS/2's system install, which has a completely different semantic
3108 # ./install, which can be erroneously created by make from ./install.sh.
3109 # Reject install programs that cannot install multiple files.
3110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3111 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3112 if test -z "$INSTALL"; then
3113 if test "${ac_cv_path_install+set}" = set; then :
3114 $as_echo_n "(cached) " >&6
3115 else
3116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3117 for as_dir in $PATH
3119 IFS=$as_save_IFS
3120 test -z "$as_dir" && as_dir=.
3121 # Account for people who put trailing slashes in PATH elements.
3122 case $as_dir/ in #((
3123 ./ | .// | /[cC]/* | \
3124 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3125 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3126 /usr/ucb/* ) ;;
3128 # OSF1 and SCO ODT 3.0 have their own names for install.
3129 # Don't use installbsd from OSF since it installs stuff as root
3130 # by default.
3131 for ac_prog in ginstall scoinst install; do
3132 for ac_exec_ext in '' $ac_executable_extensions; do
3133 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3134 if test $ac_prog = install &&
3135 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3136 # AIX install. It has an incompatible calling convention.
3138 elif test $ac_prog = install &&
3139 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3140 # program-specific install script used by HP pwplus--don't use.
3142 else
3143 rm -rf conftest.one conftest.two conftest.dir
3144 echo one > conftest.one
3145 echo two > conftest.two
3146 mkdir conftest.dir
3147 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3148 test -s conftest.one && test -s conftest.two &&
3149 test -s conftest.dir/conftest.one &&
3150 test -s conftest.dir/conftest.two
3151 then
3152 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3153 break 3
3157 done
3158 done
3160 esac
3162 done
3163 IFS=$as_save_IFS
3165 rm -rf conftest.one conftest.two conftest.dir
3168 if test "${ac_cv_path_install+set}" = set; then
3169 INSTALL=$ac_cv_path_install
3170 else
3171 # As a last resort, use the slow shell script. Don't cache a
3172 # value for INSTALL within a source directory, because that will
3173 # break other packages using the cache if that directory is
3174 # removed, or if the value is a relative name.
3175 INSTALL=$ac_install_sh
3178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3179 $as_echo "$INSTALL" >&6; }
3181 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3182 # It thinks the first close brace ends the variable substitution.
3183 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3185 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3187 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3190 $as_echo_n "checking whether build environment is sane... " >&6; }
3191 # Just in case
3192 sleep 1
3193 echo timestamp > conftest.file
3194 # Reject unsafe characters in $srcdir or the absolute working directory
3195 # name. Accept space and tab only in the latter.
3196 am_lf='
3198 case `pwd` in
3199 *[\\\"\#\$\&\'\`$am_lf]*)
3200 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3201 esac
3202 case $srcdir in
3203 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3204 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3205 esac
3207 # Do `set' in a subshell so we don't clobber the current shell's
3208 # arguments. Must try -L first in case configure is actually a
3209 # symlink; some systems play weird games with the mod time of symlinks
3210 # (eg FreeBSD returns the mod time of the symlink's containing
3211 # directory).
3212 if (
3213 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3214 if test "$*" = "X"; then
3215 # -L didn't work.
3216 set X `ls -t "$srcdir/configure" conftest.file`
3218 rm -f conftest.file
3219 if test "$*" != "X $srcdir/configure conftest.file" \
3220 && test "$*" != "X conftest.file $srcdir/configure"; then
3222 # If neither matched, then we have a broken ls. This can happen
3223 # if, for instance, CONFIG_SHELL is bash and it inherits a
3224 # broken ls alias from the environment. This has actually
3225 # happened. Such a system could not be considered "sane".
3226 as_fn_error "ls -t appears to fail. Make sure there is not a broken
3227 alias in your environment" "$LINENO" 5
3230 test "$2" = conftest.file
3232 then
3233 # Ok.
3235 else
3236 as_fn_error "newly created file is older than distributed files!
3237 Check your system clock" "$LINENO" 5
3239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3240 $as_echo "yes" >&6; }
3241 test "$program_prefix" != NONE &&
3242 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3243 # Use a double $ so make ignores it.
3244 test "$program_suffix" != NONE &&
3245 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3246 # Double any \ or $.
3247 # By default was `s,x,x', remove it if useless.
3248 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3249 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3251 # expand $ac_aux_dir to an absolute path
3252 am_aux_dir=`cd $ac_aux_dir && pwd`
3254 if test x"${MISSING+set}" != xset; then
3255 case $am_aux_dir in
3256 *\ * | *\ *)
3257 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3259 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3260 esac
3262 # Use eval to expand $SHELL
3263 if eval "$MISSING --run true"; then
3264 am_missing_run="$MISSING --run "
3265 else
3266 am_missing_run=
3267 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3268 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3271 if test x"${install_sh}" != xset; then
3272 case $am_aux_dir in
3273 *\ * | *\ *)
3274 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3276 install_sh="\${SHELL} $am_aux_dir/install-sh"
3277 esac
3280 # Installed binaries are usually stripped using `strip' when the user
3281 # run `make install-strip'. However `strip' might not be the right
3282 # tool to use in cross-compilation environments, therefore Automake
3283 # will honor the `STRIP' environment variable to overrule this program.
3284 if test "$cross_compiling" != no; then
3285 if test -n "$ac_tool_prefix"; then
3286 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3287 set dummy ${ac_tool_prefix}strip; ac_word=$2
3288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3289 $as_echo_n "checking for $ac_word... " >&6; }
3290 if test "${ac_cv_prog_STRIP+set}" = set; then :
3291 $as_echo_n "(cached) " >&6
3292 else
3293 if test -n "$STRIP"; then
3294 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3295 else
3296 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3297 for as_dir in $PATH
3299 IFS=$as_save_IFS
3300 test -z "$as_dir" && as_dir=.
3301 for ac_exec_ext in '' $ac_executable_extensions; do
3302 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3303 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3304 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3305 break 2
3307 done
3308 done
3309 IFS=$as_save_IFS
3313 STRIP=$ac_cv_prog_STRIP
3314 if test -n "$STRIP"; then
3315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3316 $as_echo "$STRIP" >&6; }
3317 else
3318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3319 $as_echo "no" >&6; }
3324 if test -z "$ac_cv_prog_STRIP"; then
3325 ac_ct_STRIP=$STRIP
3326 # Extract the first word of "strip", so it can be a program name with args.
3327 set dummy strip; ac_word=$2
3328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3329 $as_echo_n "checking for $ac_word... " >&6; }
3330 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3331 $as_echo_n "(cached) " >&6
3332 else
3333 if test -n "$ac_ct_STRIP"; then
3334 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3335 else
3336 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3337 for as_dir in $PATH
3339 IFS=$as_save_IFS
3340 test -z "$as_dir" && as_dir=.
3341 for ac_exec_ext in '' $ac_executable_extensions; do
3342 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3343 ac_cv_prog_ac_ct_STRIP="strip"
3344 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3345 break 2
3347 done
3348 done
3349 IFS=$as_save_IFS
3353 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3354 if test -n "$ac_ct_STRIP"; then
3355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3356 $as_echo "$ac_ct_STRIP" >&6; }
3357 else
3358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3359 $as_echo "no" >&6; }
3362 if test "x$ac_ct_STRIP" = x; then
3363 STRIP=":"
3364 else
3365 case $cross_compiling:$ac_tool_warned in
3366 yes:)
3367 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3368 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3369 ac_tool_warned=yes ;;
3370 esac
3371 STRIP=$ac_ct_STRIP
3373 else
3374 STRIP="$ac_cv_prog_STRIP"
3378 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3381 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3382 if test -z "$MKDIR_P"; then
3383 if test "${ac_cv_path_mkdir+set}" = set; then :
3384 $as_echo_n "(cached) " >&6
3385 else
3386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3387 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3389 IFS=$as_save_IFS
3390 test -z "$as_dir" && as_dir=.
3391 for ac_prog in mkdir gmkdir; do
3392 for ac_exec_ext in '' $ac_executable_extensions; do
3393 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3394 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3395 'mkdir (GNU coreutils) '* | \
3396 'mkdir (coreutils) '* | \
3397 'mkdir (fileutils) '4.1*)
3398 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3399 break 3;;
3400 esac
3401 done
3402 done
3403 done
3404 IFS=$as_save_IFS
3408 if test "${ac_cv_path_mkdir+set}" = set; then
3409 MKDIR_P="$ac_cv_path_mkdir -p"
3410 else
3411 # As a last resort, use the slow shell script. Don't cache a
3412 # value for MKDIR_P within a source directory, because that will
3413 # break other packages using the cache if that directory is
3414 # removed, or if the value is a relative name.
3415 test -d ./--version && rmdir ./--version
3416 MKDIR_P="$ac_install_sh -d"
3419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3420 $as_echo "$MKDIR_P" >&6; }
3422 mkdir_p="$MKDIR_P"
3423 case $mkdir_p in
3424 [\\/$]* | ?:[\\/]*) ;;
3425 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3426 esac
3428 for ac_prog in gawk mawk nawk awk
3430 # Extract the first word of "$ac_prog", so it can be a program name with args.
3431 set dummy $ac_prog; ac_word=$2
3432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3433 $as_echo_n "checking for $ac_word... " >&6; }
3434 if test "${ac_cv_prog_AWK+set}" = set; then :
3435 $as_echo_n "(cached) " >&6
3436 else
3437 if test -n "$AWK"; then
3438 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3439 else
3440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3441 for as_dir in $PATH
3443 IFS=$as_save_IFS
3444 test -z "$as_dir" && as_dir=.
3445 for ac_exec_ext in '' $ac_executable_extensions; do
3446 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3447 ac_cv_prog_AWK="$ac_prog"
3448 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3449 break 2
3451 done
3452 done
3453 IFS=$as_save_IFS
3457 AWK=$ac_cv_prog_AWK
3458 if test -n "$AWK"; then
3459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3460 $as_echo "$AWK" >&6; }
3461 else
3462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3463 $as_echo "no" >&6; }
3467 test -n "$AWK" && break
3468 done
3470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3471 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3472 set x ${MAKE-make}
3473 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3474 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3475 $as_echo_n "(cached) " >&6
3476 else
3477 cat >conftest.make <<\_ACEOF
3478 SHELL = /bin/sh
3479 all:
3480 @echo '@@@%%%=$(MAKE)=@@@%%%'
3481 _ACEOF
3482 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3483 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3484 *@@@%%%=?*=@@@%%%*)
3485 eval ac_cv_prog_make_${ac_make}_set=yes;;
3487 eval ac_cv_prog_make_${ac_make}_set=no;;
3488 esac
3489 rm -f conftest.make
3491 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3493 $as_echo "yes" >&6; }
3494 SET_MAKE=
3495 else
3496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3497 $as_echo "no" >&6; }
3498 SET_MAKE="MAKE=${MAKE-make}"
3501 rm -rf .tst 2>/dev/null
3502 mkdir .tst 2>/dev/null
3503 if test -d .tst; then
3504 am__leading_dot=.
3505 else
3506 am__leading_dot=_
3508 rmdir .tst 2>/dev/null
3510 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3511 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3512 # is not polluted with repeated "-I."
3513 am__isrc=' -I$(srcdir)'
3514 # test to see if srcdir already configured
3515 if test -f $srcdir/config.status; then
3516 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3520 # test whether we have cygpath
3521 if test -z "$CYGPATH_W"; then
3522 if (cygpath --version) >/dev/null 2>/dev/null; then
3523 CYGPATH_W='cygpath -w'
3524 else
3525 CYGPATH_W=echo
3530 # Define the identity of the package.
3531 PACKAGE='libstdc++'
3532 VERSION='version-unused'
3535 # Some tools Automake needs.
3537 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3540 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3543 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3546 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3549 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3551 # We need awk for the "check" target. The system "awk" is bad on
3552 # some platforms.
3553 # Always define AMTAR for backward compatibility.
3555 AMTAR=${AMTAR-"${am_missing_run}tar"}
3557 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3566 # -fno-builtin must be present here so that a non-conflicting form of
3567 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3569 save_CXXFLAGS="$CXXFLAGS"
3570 CXXFLAGS="$CXXFLAGS -fno-builtin"
3571 ac_ext=c
3572 ac_cpp='$CPP $CPPFLAGS'
3573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3576 if test -n "$ac_tool_prefix"; then
3577 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3578 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3580 $as_echo_n "checking for $ac_word... " >&6; }
3581 if test "${ac_cv_prog_CC+set}" = set; then :
3582 $as_echo_n "(cached) " >&6
3583 else
3584 if test -n "$CC"; then
3585 ac_cv_prog_CC="$CC" # Let the user override the test.
3586 else
3587 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3588 for as_dir in $PATH
3590 IFS=$as_save_IFS
3591 test -z "$as_dir" && as_dir=.
3592 for ac_exec_ext in '' $ac_executable_extensions; do
3593 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3594 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3595 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3596 break 2
3598 done
3599 done
3600 IFS=$as_save_IFS
3604 CC=$ac_cv_prog_CC
3605 if test -n "$CC"; then
3606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3607 $as_echo "$CC" >&6; }
3608 else
3609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3610 $as_echo "no" >&6; }
3615 if test -z "$ac_cv_prog_CC"; then
3616 ac_ct_CC=$CC
3617 # Extract the first word of "gcc", so it can be a program name with args.
3618 set dummy gcc; ac_word=$2
3619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3620 $as_echo_n "checking for $ac_word... " >&6; }
3621 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3622 $as_echo_n "(cached) " >&6
3623 else
3624 if test -n "$ac_ct_CC"; then
3625 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3626 else
3627 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3628 for as_dir in $PATH
3630 IFS=$as_save_IFS
3631 test -z "$as_dir" && as_dir=.
3632 for ac_exec_ext in '' $ac_executable_extensions; do
3633 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3634 ac_cv_prog_ac_ct_CC="gcc"
3635 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3636 break 2
3638 done
3639 done
3640 IFS=$as_save_IFS
3644 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3645 if test -n "$ac_ct_CC"; then
3646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3647 $as_echo "$ac_ct_CC" >&6; }
3648 else
3649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3650 $as_echo "no" >&6; }
3653 if test "x$ac_ct_CC" = x; then
3654 CC=""
3655 else
3656 case $cross_compiling:$ac_tool_warned in
3657 yes:)
3658 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3659 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3660 ac_tool_warned=yes ;;
3661 esac
3662 CC=$ac_ct_CC
3664 else
3665 CC="$ac_cv_prog_CC"
3668 if test -z "$CC"; then
3669 if test -n "$ac_tool_prefix"; then
3670 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3671 set dummy ${ac_tool_prefix}cc; ac_word=$2
3672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3673 $as_echo_n "checking for $ac_word... " >&6; }
3674 if test "${ac_cv_prog_CC+set}" = set; then :
3675 $as_echo_n "(cached) " >&6
3676 else
3677 if test -n "$CC"; then
3678 ac_cv_prog_CC="$CC" # Let the user override the test.
3679 else
3680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3681 for as_dir in $PATH
3683 IFS=$as_save_IFS
3684 test -z "$as_dir" && as_dir=.
3685 for ac_exec_ext in '' $ac_executable_extensions; do
3686 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3687 ac_cv_prog_CC="${ac_tool_prefix}cc"
3688 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3689 break 2
3691 done
3692 done
3693 IFS=$as_save_IFS
3697 CC=$ac_cv_prog_CC
3698 if test -n "$CC"; then
3699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3700 $as_echo "$CC" >&6; }
3701 else
3702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3703 $as_echo "no" >&6; }
3709 if test -z "$CC"; then
3710 # Extract the first word of "cc", so it can be a program name with args.
3711 set dummy cc; ac_word=$2
3712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3713 $as_echo_n "checking for $ac_word... " >&6; }
3714 if test "${ac_cv_prog_CC+set}" = set; then :
3715 $as_echo_n "(cached) " >&6
3716 else
3717 if test -n "$CC"; then
3718 ac_cv_prog_CC="$CC" # Let the user override the test.
3719 else
3720 ac_prog_rejected=no
3721 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3722 for as_dir in $PATH
3724 IFS=$as_save_IFS
3725 test -z "$as_dir" && as_dir=.
3726 for ac_exec_ext in '' $ac_executable_extensions; do
3727 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3728 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3729 ac_prog_rejected=yes
3730 continue
3732 ac_cv_prog_CC="cc"
3733 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3734 break 2
3736 done
3737 done
3738 IFS=$as_save_IFS
3740 if test $ac_prog_rejected = yes; then
3741 # We found a bogon in the path, so make sure we never use it.
3742 set dummy $ac_cv_prog_CC
3743 shift
3744 if test $# != 0; then
3745 # We chose a different compiler from the bogus one.
3746 # However, it has the same basename, so the bogon will be chosen
3747 # first if we set CC to just the basename; use the full file name.
3748 shift
3749 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3754 CC=$ac_cv_prog_CC
3755 if test -n "$CC"; then
3756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3757 $as_echo "$CC" >&6; }
3758 else
3759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3760 $as_echo "no" >&6; }
3765 if test -z "$CC"; then
3766 if test -n "$ac_tool_prefix"; then
3767 for ac_prog in cl.exe
3769 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3770 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3772 $as_echo_n "checking for $ac_word... " >&6; }
3773 if test "${ac_cv_prog_CC+set}" = set; then :
3774 $as_echo_n "(cached) " >&6
3775 else
3776 if test -n "$CC"; then
3777 ac_cv_prog_CC="$CC" # Let the user override the test.
3778 else
3779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3780 for as_dir in $PATH
3782 IFS=$as_save_IFS
3783 test -z "$as_dir" && as_dir=.
3784 for ac_exec_ext in '' $ac_executable_extensions; do
3785 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3786 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3787 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3788 break 2
3790 done
3791 done
3792 IFS=$as_save_IFS
3796 CC=$ac_cv_prog_CC
3797 if test -n "$CC"; then
3798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3799 $as_echo "$CC" >&6; }
3800 else
3801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3802 $as_echo "no" >&6; }
3806 test -n "$CC" && break
3807 done
3809 if test -z "$CC"; then
3810 ac_ct_CC=$CC
3811 for ac_prog in cl.exe
3813 # Extract the first word of "$ac_prog", so it can be a program name with args.
3814 set dummy $ac_prog; ac_word=$2
3815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3816 $as_echo_n "checking for $ac_word... " >&6; }
3817 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3818 $as_echo_n "(cached) " >&6
3819 else
3820 if test -n "$ac_ct_CC"; then
3821 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3822 else
3823 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3824 for as_dir in $PATH
3826 IFS=$as_save_IFS
3827 test -z "$as_dir" && as_dir=.
3828 for ac_exec_ext in '' $ac_executable_extensions; do
3829 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3830 ac_cv_prog_ac_ct_CC="$ac_prog"
3831 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3832 break 2
3834 done
3835 done
3836 IFS=$as_save_IFS
3840 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3841 if test -n "$ac_ct_CC"; then
3842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3843 $as_echo "$ac_ct_CC" >&6; }
3844 else
3845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3846 $as_echo "no" >&6; }
3850 test -n "$ac_ct_CC" && break
3851 done
3853 if test "x$ac_ct_CC" = x; then
3854 CC=""
3855 else
3856 case $cross_compiling:$ac_tool_warned in
3857 yes:)
3858 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3859 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3860 ac_tool_warned=yes ;;
3861 esac
3862 CC=$ac_ct_CC
3869 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3870 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3871 as_fn_error "no acceptable C compiler found in \$PATH
3872 See \`config.log' for more details." "$LINENO" 5; }
3874 # Provide some information about the compiler.
3875 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3876 set X $ac_compile
3877 ac_compiler=$2
3878 for ac_option in --version -v -V -qversion; do
3879 { { ac_try="$ac_compiler $ac_option >&5"
3880 case "(($ac_try" in
3881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3882 *) ac_try_echo=$ac_try;;
3883 esac
3884 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3885 $as_echo "$ac_try_echo"; } >&5
3886 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3887 ac_status=$?
3888 if test -s conftest.err; then
3889 sed '10a\
3890 ... rest of stderr output deleted ...
3891 10q' conftest.err >conftest.er1
3892 cat conftest.er1 >&5
3893 rm -f conftest.er1 conftest.err
3895 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3896 test $ac_status = 0; }
3897 done
3899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3900 /* end confdefs.h. */
3903 main ()
3907 return 0;
3909 _ACEOF
3910 # FIXME: Cleanup?
3911 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3912 (eval $ac_link) 2>&5
3913 ac_status=$?
3914 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3915 test $ac_status = 0; }; then :
3916 gcc_no_link=no
3917 else
3918 gcc_no_link=yes
3920 if test x$gcc_no_link = xyes; then
3921 # Setting cross_compile will disable run tests; it will
3922 # also disable AC_CHECK_FILE but that's generally
3923 # correct if we can't link.
3924 cross_compiling=yes
3925 EXEEXT=
3926 else
3927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3928 /* end confdefs.h. */
3931 main ()
3935 return 0;
3937 _ACEOF
3938 ac_clean_files_save=$ac_clean_files
3939 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3940 # Try to create an executable without -o first, disregard a.out.
3941 # It will help us diagnose broken compilers, and finding out an intuition
3942 # of exeext.
3943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3944 $as_echo_n "checking for C compiler default output file name... " >&6; }
3945 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3947 # The possible output files:
3948 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3950 ac_rmfiles=
3951 for ac_file in $ac_files
3953 case $ac_file in
3954 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3955 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3956 esac
3957 done
3958 rm -f $ac_rmfiles
3960 if { { ac_try="$ac_link_default"
3961 case "(($ac_try" in
3962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3963 *) ac_try_echo=$ac_try;;
3964 esac
3965 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3966 $as_echo "$ac_try_echo"; } >&5
3967 (eval "$ac_link_default") 2>&5
3968 ac_status=$?
3969 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3970 test $ac_status = 0; }; then :
3971 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3972 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3973 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3974 # so that the user can short-circuit this test for compilers unknown to
3975 # Autoconf.
3976 for ac_file in $ac_files ''
3978 test -f "$ac_file" || continue
3979 case $ac_file in
3980 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3982 [ab].out )
3983 # We found the default executable, but exeext='' is most
3984 # certainly right.
3985 break;;
3986 *.* )
3987 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3988 then :; else
3989 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3991 # We set ac_cv_exeext here because the later test for it is not
3992 # safe: cross compilers may not add the suffix if given an `-o'
3993 # argument, so we may need to know it at that point already.
3994 # Even if this section looks crufty: it has the advantage of
3995 # actually working.
3996 break;;
3998 break;;
3999 esac
4000 done
4001 test "$ac_cv_exeext" = no && ac_cv_exeext=
4003 else
4004 ac_file=''
4006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4007 $as_echo "$ac_file" >&6; }
4008 if test -z "$ac_file"; then :
4009 $as_echo "$as_me: failed program was:" >&5
4010 sed 's/^/| /' conftest.$ac_ext >&5
4012 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4013 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4014 { as_fn_set_status 77
4015 as_fn_error "C compiler cannot create executables
4016 See \`config.log' for more details." "$LINENO" 5; }; }
4018 ac_exeext=$ac_cv_exeext
4020 # Check that the compiler produces executables we can run. If not, either
4021 # the compiler is broken, or we cross compile.
4022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4023 $as_echo_n "checking whether the C compiler works... " >&6; }
4024 # If not cross compiling, check that we can run a simple program.
4025 if test "$cross_compiling" != yes; then
4026 if { ac_try='./$ac_file'
4027 { { case "(($ac_try" in
4028 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4029 *) ac_try_echo=$ac_try;;
4030 esac
4031 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4032 $as_echo "$ac_try_echo"; } >&5
4033 (eval "$ac_try") 2>&5
4034 ac_status=$?
4035 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4036 test $ac_status = 0; }; }; then
4037 cross_compiling=no
4038 else
4039 if test "$cross_compiling" = maybe; then
4040 cross_compiling=yes
4041 else
4042 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4043 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4044 as_fn_error "cannot run C compiled programs.
4045 If you meant to cross compile, use \`--host'.
4046 See \`config.log' for more details." "$LINENO" 5; }
4050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4051 $as_echo "yes" >&6; }
4053 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4054 ac_clean_files=$ac_clean_files_save
4055 # Check that the compiler produces executables we can run. If not, either
4056 # the compiler is broken, or we cross compile.
4057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4058 $as_echo_n "checking whether we are cross compiling... " >&6; }
4059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4060 $as_echo "$cross_compiling" >&6; }
4062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4063 $as_echo_n "checking for suffix of executables... " >&6; }
4064 if { { ac_try="$ac_link"
4065 case "(($ac_try" in
4066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4067 *) ac_try_echo=$ac_try;;
4068 esac
4069 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4070 $as_echo "$ac_try_echo"; } >&5
4071 (eval "$ac_link") 2>&5
4072 ac_status=$?
4073 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4074 test $ac_status = 0; }; then :
4075 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4076 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4077 # work properly (i.e., refer to `conftest.exe'), while it won't with
4078 # `rm'.
4079 for ac_file in conftest.exe conftest conftest.*; do
4080 test -f "$ac_file" || continue
4081 case $ac_file in
4082 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4083 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4084 break;;
4085 * ) break;;
4086 esac
4087 done
4088 else
4089 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4090 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4091 as_fn_error "cannot compute suffix of executables: cannot compile and link
4092 See \`config.log' for more details." "$LINENO" 5; }
4094 rm -f conftest$ac_cv_exeext
4095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4096 $as_echo "$ac_cv_exeext" >&6; }
4098 rm -f conftest.$ac_ext
4099 EXEEXT=$ac_cv_exeext
4100 ac_exeext=$EXEEXT
4102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4103 $as_echo_n "checking for suffix of object files... " >&6; }
4104 if test "${ac_cv_objext+set}" = set; then :
4105 $as_echo_n "(cached) " >&6
4106 else
4107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4108 /* end confdefs.h. */
4111 main ()
4115 return 0;
4117 _ACEOF
4118 rm -f conftest.o conftest.obj
4119 if { { ac_try="$ac_compile"
4120 case "(($ac_try" in
4121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4122 *) ac_try_echo=$ac_try;;
4123 esac
4124 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4125 $as_echo "$ac_try_echo"; } >&5
4126 (eval "$ac_compile") 2>&5
4127 ac_status=$?
4128 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4129 test $ac_status = 0; }; then :
4130 for ac_file in conftest.o conftest.obj conftest.*; do
4131 test -f "$ac_file" || continue;
4132 case $ac_file in
4133 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4134 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4135 break;;
4136 esac
4137 done
4138 else
4139 $as_echo "$as_me: failed program was:" >&5
4140 sed 's/^/| /' conftest.$ac_ext >&5
4142 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4143 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4144 as_fn_error "cannot compute suffix of object files: cannot compile
4145 See \`config.log' for more details." "$LINENO" 5; }
4147 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4150 $as_echo "$ac_cv_objext" >&6; }
4151 OBJEXT=$ac_cv_objext
4152 ac_objext=$OBJEXT
4153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4154 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4155 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4156 $as_echo_n "(cached) " >&6
4157 else
4158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4159 /* end confdefs.h. */
4162 main ()
4164 #ifndef __GNUC__
4165 choke me
4166 #endif
4169 return 0;
4171 _ACEOF
4172 if ac_fn_c_try_compile "$LINENO"; then :
4173 ac_compiler_gnu=yes
4174 else
4175 ac_compiler_gnu=no
4177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4178 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4182 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4183 if test $ac_compiler_gnu = yes; then
4184 GCC=yes
4185 else
4186 GCC=
4188 ac_test_CFLAGS=${CFLAGS+set}
4189 ac_save_CFLAGS=$CFLAGS
4190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4191 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4192 if test "${ac_cv_prog_cc_g+set}" = set; then :
4193 $as_echo_n "(cached) " >&6
4194 else
4195 ac_save_c_werror_flag=$ac_c_werror_flag
4196 ac_c_werror_flag=yes
4197 ac_cv_prog_cc_g=no
4198 CFLAGS="-g"
4199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4200 /* end confdefs.h. */
4203 main ()
4207 return 0;
4209 _ACEOF
4210 if ac_fn_c_try_compile "$LINENO"; then :
4211 ac_cv_prog_cc_g=yes
4212 else
4213 CFLAGS=""
4214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4215 /* end confdefs.h. */
4218 main ()
4222 return 0;
4224 _ACEOF
4225 if ac_fn_c_try_compile "$LINENO"; then :
4227 else
4228 ac_c_werror_flag=$ac_save_c_werror_flag
4229 CFLAGS="-g"
4230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4231 /* end confdefs.h. */
4234 main ()
4238 return 0;
4240 _ACEOF
4241 if ac_fn_c_try_compile "$LINENO"; then :
4242 ac_cv_prog_cc_g=yes
4244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4249 ac_c_werror_flag=$ac_save_c_werror_flag
4251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4252 $as_echo "$ac_cv_prog_cc_g" >&6; }
4253 if test "$ac_test_CFLAGS" = set; then
4254 CFLAGS=$ac_save_CFLAGS
4255 elif test $ac_cv_prog_cc_g = yes; then
4256 if test "$GCC" = yes; then
4257 CFLAGS="-g -O2"
4258 else
4259 CFLAGS="-g"
4261 else
4262 if test "$GCC" = yes; then
4263 CFLAGS="-O2"
4264 else
4265 CFLAGS=
4268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4269 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4270 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4271 $as_echo_n "(cached) " >&6
4272 else
4273 ac_cv_prog_cc_c89=no
4274 ac_save_CC=$CC
4275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4276 /* end confdefs.h. */
4277 #include <stdarg.h>
4278 #include <stdio.h>
4279 #include <sys/types.h>
4280 #include <sys/stat.h>
4281 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4282 struct buf { int x; };
4283 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4284 static char *e (p, i)
4285 char **p;
4286 int i;
4288 return p[i];
4290 static char *f (char * (*g) (char **, int), char **p, ...)
4292 char *s;
4293 va_list v;
4294 va_start (v,p);
4295 s = g (p, va_arg (v,int));
4296 va_end (v);
4297 return s;
4300 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4301 function prototypes and stuff, but not '\xHH' hex character constants.
4302 These don't provoke an error unfortunately, instead are silently treated
4303 as 'x'. The following induces an error, until -std is added to get
4304 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4305 array size at least. It's necessary to write '\x00'==0 to get something
4306 that's true only with -std. */
4307 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4309 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4310 inside strings and character constants. */
4311 #define FOO(x) 'x'
4312 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4314 int test (int i, double x);
4315 struct s1 {int (*f) (int a);};
4316 struct s2 {int (*f) (double a);};
4317 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4318 int argc;
4319 char **argv;
4321 main ()
4323 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4325 return 0;
4327 _ACEOF
4328 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4329 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4331 CC="$ac_save_CC $ac_arg"
4332 if ac_fn_c_try_compile "$LINENO"; then :
4333 ac_cv_prog_cc_c89=$ac_arg
4335 rm -f core conftest.err conftest.$ac_objext
4336 test "x$ac_cv_prog_cc_c89" != "xno" && break
4337 done
4338 rm -f conftest.$ac_ext
4339 CC=$ac_save_CC
4342 # AC_CACHE_VAL
4343 case "x$ac_cv_prog_cc_c89" in
4345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4346 $as_echo "none needed" >&6; } ;;
4347 xno)
4348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4349 $as_echo "unsupported" >&6; } ;;
4351 CC="$CC $ac_cv_prog_cc_c89"
4352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4353 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4354 esac
4355 if test "x$ac_cv_prog_cc_c89" != xno; then :
4359 ac_ext=c
4360 ac_cpp='$CPP $CPPFLAGS'
4361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4365 ac_ext=cpp
4366 ac_cpp='$CXXCPP $CPPFLAGS'
4367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4370 if test -z "$CXX"; then
4371 if test -n "$CCC"; then
4372 CXX=$CCC
4373 else
4374 if test -n "$ac_tool_prefix"; then
4375 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4377 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4378 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4380 $as_echo_n "checking for $ac_word... " >&6; }
4381 if test "${ac_cv_prog_CXX+set}" = set; then :
4382 $as_echo_n "(cached) " >&6
4383 else
4384 if test -n "$CXX"; then
4385 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4386 else
4387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4388 for as_dir in $PATH
4390 IFS=$as_save_IFS
4391 test -z "$as_dir" && as_dir=.
4392 for ac_exec_ext in '' $ac_executable_extensions; do
4393 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4394 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4395 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4396 break 2
4398 done
4399 done
4400 IFS=$as_save_IFS
4404 CXX=$ac_cv_prog_CXX
4405 if test -n "$CXX"; then
4406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4407 $as_echo "$CXX" >&6; }
4408 else
4409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4410 $as_echo "no" >&6; }
4414 test -n "$CXX" && break
4415 done
4417 if test -z "$CXX"; then
4418 ac_ct_CXX=$CXX
4419 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4421 # Extract the first word of "$ac_prog", so it can be a program name with args.
4422 set dummy $ac_prog; ac_word=$2
4423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4424 $as_echo_n "checking for $ac_word... " >&6; }
4425 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4426 $as_echo_n "(cached) " >&6
4427 else
4428 if test -n "$ac_ct_CXX"; then
4429 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4430 else
4431 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4432 for as_dir in $PATH
4434 IFS=$as_save_IFS
4435 test -z "$as_dir" && as_dir=.
4436 for ac_exec_ext in '' $ac_executable_extensions; do
4437 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4438 ac_cv_prog_ac_ct_CXX="$ac_prog"
4439 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4440 break 2
4442 done
4443 done
4444 IFS=$as_save_IFS
4448 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4449 if test -n "$ac_ct_CXX"; then
4450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4451 $as_echo "$ac_ct_CXX" >&6; }
4452 else
4453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4454 $as_echo "no" >&6; }
4458 test -n "$ac_ct_CXX" && break
4459 done
4461 if test "x$ac_ct_CXX" = x; then
4462 CXX="g++"
4463 else
4464 case $cross_compiling:$ac_tool_warned in
4465 yes:)
4466 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4467 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4468 ac_tool_warned=yes ;;
4469 esac
4470 CXX=$ac_ct_CXX
4476 # Provide some information about the compiler.
4477 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4478 set X $ac_compile
4479 ac_compiler=$2
4480 for ac_option in --version -v -V -qversion; do
4481 { { ac_try="$ac_compiler $ac_option >&5"
4482 case "(($ac_try" in
4483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4484 *) ac_try_echo=$ac_try;;
4485 esac
4486 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4487 $as_echo "$ac_try_echo"; } >&5
4488 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4489 ac_status=$?
4490 if test -s conftest.err; then
4491 sed '10a\
4492 ... rest of stderr output deleted ...
4493 10q' conftest.err >conftest.er1
4494 cat conftest.er1 >&5
4495 rm -f conftest.er1 conftest.err
4497 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4498 test $ac_status = 0; }
4499 done
4501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4502 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4503 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4504 $as_echo_n "(cached) " >&6
4505 else
4506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4507 /* end confdefs.h. */
4510 main ()
4512 #ifndef __GNUC__
4513 choke me
4514 #endif
4517 return 0;
4519 _ACEOF
4520 if ac_fn_cxx_try_compile "$LINENO"; then :
4521 ac_compiler_gnu=yes
4522 else
4523 ac_compiler_gnu=no
4525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4526 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4530 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4531 if test $ac_compiler_gnu = yes; then
4532 GXX=yes
4533 else
4534 GXX=
4536 ac_test_CXXFLAGS=${CXXFLAGS+set}
4537 ac_save_CXXFLAGS=$CXXFLAGS
4538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4539 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4540 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4541 $as_echo_n "(cached) " >&6
4542 else
4543 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4544 ac_cxx_werror_flag=yes
4545 ac_cv_prog_cxx_g=no
4546 CXXFLAGS="-g"
4547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4548 /* end confdefs.h. */
4551 main ()
4555 return 0;
4557 _ACEOF
4558 if ac_fn_cxx_try_compile "$LINENO"; then :
4559 ac_cv_prog_cxx_g=yes
4560 else
4561 CXXFLAGS=""
4562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4563 /* end confdefs.h. */
4566 main ()
4570 return 0;
4572 _ACEOF
4573 if ac_fn_cxx_try_compile "$LINENO"; then :
4575 else
4576 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4577 CXXFLAGS="-g"
4578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4579 /* end confdefs.h. */
4582 main ()
4586 return 0;
4588 _ACEOF
4589 if ac_fn_cxx_try_compile "$LINENO"; then :
4590 ac_cv_prog_cxx_g=yes
4592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4597 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4600 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4601 if test "$ac_test_CXXFLAGS" = set; then
4602 CXXFLAGS=$ac_save_CXXFLAGS
4603 elif test $ac_cv_prog_cxx_g = yes; then
4604 if test "$GXX" = yes; then
4605 CXXFLAGS="-g -O2"
4606 else
4607 CXXFLAGS="-g"
4609 else
4610 if test "$GXX" = yes; then
4611 CXXFLAGS="-O2"
4612 else
4613 CXXFLAGS=
4616 ac_ext=c
4617 ac_cpp='$CPP $CPPFLAGS'
4618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4622 CXXFLAGS="$save_CXXFLAGS"
4624 # Runs configure.host, and assorted other critical bits. Sets
4625 # up critical shell variables.
4627 ac_ext=c
4628 ac_cpp='$CPP $CPPFLAGS'
4629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4633 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4634 # On Suns, sometimes $CPP names a directory.
4635 if test -n "$CPP" && test -d "$CPP"; then
4636 CPP=
4638 if test -z "$CPP"; then
4639 if test "${ac_cv_prog_CPP+set}" = set; then :
4640 $as_echo_n "(cached) " >&6
4641 else
4642 # Double quotes because CPP needs to be expanded
4643 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4645 ac_preproc_ok=false
4646 for ac_c_preproc_warn_flag in '' yes
4648 # Use a header file that comes with gcc, so configuring glibc
4649 # with a fresh cross-compiler works.
4650 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4651 # <limits.h> exists even on freestanding compilers.
4652 # On the NeXT, cc -E runs the code through the compiler's parser,
4653 # not just through cpp. "Syntax error" is here to catch this case.
4654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4655 /* end confdefs.h. */
4656 #ifdef __STDC__
4657 # include <limits.h>
4658 #else
4659 # include <assert.h>
4660 #endif
4661 Syntax error
4662 _ACEOF
4663 if ac_fn_c_try_cpp "$LINENO"; then :
4665 else
4666 # Broken: fails on valid input.
4667 continue
4669 rm -f conftest.err conftest.$ac_ext
4671 # OK, works on sane cases. Now check whether nonexistent headers
4672 # can be detected and how.
4673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4674 /* end confdefs.h. */
4675 #include <ac_nonexistent.h>
4676 _ACEOF
4677 if ac_fn_c_try_cpp "$LINENO"; then :
4678 # Broken: success on invalid input.
4679 continue
4680 else
4681 # Passes both tests.
4682 ac_preproc_ok=:
4683 break
4685 rm -f conftest.err conftest.$ac_ext
4687 done
4688 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4689 rm -f conftest.err conftest.$ac_ext
4690 if $ac_preproc_ok; then :
4691 break
4694 done
4695 ac_cv_prog_CPP=$CPP
4698 CPP=$ac_cv_prog_CPP
4699 else
4700 ac_cv_prog_CPP=$CPP
4702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4703 $as_echo "$CPP" >&6; }
4704 ac_preproc_ok=false
4705 for ac_c_preproc_warn_flag in '' yes
4707 # Use a header file that comes with gcc, so configuring glibc
4708 # with a fresh cross-compiler works.
4709 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4710 # <limits.h> exists even on freestanding compilers.
4711 # On the NeXT, cc -E runs the code through the compiler's parser,
4712 # not just through cpp. "Syntax error" is here to catch this case.
4713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4714 /* end confdefs.h. */
4715 #ifdef __STDC__
4716 # include <limits.h>
4717 #else
4718 # include <assert.h>
4719 #endif
4720 Syntax error
4721 _ACEOF
4722 if ac_fn_c_try_cpp "$LINENO"; then :
4724 else
4725 # Broken: fails on valid input.
4726 continue
4728 rm -f conftest.err conftest.$ac_ext
4730 # OK, works on sane cases. Now check whether nonexistent headers
4731 # can be detected and how.
4732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4733 /* end confdefs.h. */
4734 #include <ac_nonexistent.h>
4735 _ACEOF
4736 if ac_fn_c_try_cpp "$LINENO"; then :
4737 # Broken: success on invalid input.
4738 continue
4739 else
4740 # Passes both tests.
4741 ac_preproc_ok=:
4742 break
4744 rm -f conftest.err conftest.$ac_ext
4746 done
4747 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4748 rm -f conftest.err conftest.$ac_ext
4749 if $ac_preproc_ok; then :
4751 else
4752 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4753 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4754 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4755 See \`config.log' for more details." "$LINENO" 5; }
4758 ac_ext=c
4759 ac_cpp='$CPP $CPPFLAGS'
4760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4766 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4767 if test "${ac_cv_path_GREP+set}" = set; then :
4768 $as_echo_n "(cached) " >&6
4769 else
4770 if test -z "$GREP"; then
4771 ac_path_GREP_found=false
4772 # Loop through the user's path and test for each of PROGNAME-LIST
4773 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4774 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4776 IFS=$as_save_IFS
4777 test -z "$as_dir" && as_dir=.
4778 for ac_prog in grep ggrep; do
4779 for ac_exec_ext in '' $ac_executable_extensions; do
4780 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4781 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4782 # Check for GNU ac_path_GREP and select it if it is found.
4783 # Check for GNU $ac_path_GREP
4784 case `"$ac_path_GREP" --version 2>&1` in
4785 *GNU*)
4786 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4788 ac_count=0
4789 $as_echo_n 0123456789 >"conftest.in"
4790 while :
4792 cat "conftest.in" "conftest.in" >"conftest.tmp"
4793 mv "conftest.tmp" "conftest.in"
4794 cp "conftest.in" "conftest.nl"
4795 $as_echo 'GREP' >> "conftest.nl"
4796 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4797 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4798 as_fn_arith $ac_count + 1 && ac_count=$as_val
4799 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4800 # Best one so far, save it but keep looking for a better one
4801 ac_cv_path_GREP="$ac_path_GREP"
4802 ac_path_GREP_max=$ac_count
4804 # 10*(2^10) chars as input seems more than enough
4805 test $ac_count -gt 10 && break
4806 done
4807 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4808 esac
4810 $ac_path_GREP_found && break 3
4811 done
4812 done
4813 done
4814 IFS=$as_save_IFS
4815 if test -z "$ac_cv_path_GREP"; then
4816 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4818 else
4819 ac_cv_path_GREP=$GREP
4823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4824 $as_echo "$ac_cv_path_GREP" >&6; }
4825 GREP="$ac_cv_path_GREP"
4828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4829 $as_echo_n "checking for egrep... " >&6; }
4830 if test "${ac_cv_path_EGREP+set}" = set; then :
4831 $as_echo_n "(cached) " >&6
4832 else
4833 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4834 then ac_cv_path_EGREP="$GREP -E"
4835 else
4836 if test -z "$EGREP"; then
4837 ac_path_EGREP_found=false
4838 # Loop through the user's path and test for each of PROGNAME-LIST
4839 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4840 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4842 IFS=$as_save_IFS
4843 test -z "$as_dir" && as_dir=.
4844 for ac_prog in egrep; do
4845 for ac_exec_ext in '' $ac_executable_extensions; do
4846 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4847 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4848 # Check for GNU ac_path_EGREP and select it if it is found.
4849 # Check for GNU $ac_path_EGREP
4850 case `"$ac_path_EGREP" --version 2>&1` in
4851 *GNU*)
4852 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4854 ac_count=0
4855 $as_echo_n 0123456789 >"conftest.in"
4856 while :
4858 cat "conftest.in" "conftest.in" >"conftest.tmp"
4859 mv "conftest.tmp" "conftest.in"
4860 cp "conftest.in" "conftest.nl"
4861 $as_echo 'EGREP' >> "conftest.nl"
4862 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4863 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4864 as_fn_arith $ac_count + 1 && ac_count=$as_val
4865 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4866 # Best one so far, save it but keep looking for a better one
4867 ac_cv_path_EGREP="$ac_path_EGREP"
4868 ac_path_EGREP_max=$ac_count
4870 # 10*(2^10) chars as input seems more than enough
4871 test $ac_count -gt 10 && break
4872 done
4873 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4874 esac
4876 $ac_path_EGREP_found && break 3
4877 done
4878 done
4879 done
4880 IFS=$as_save_IFS
4881 if test -z "$ac_cv_path_EGREP"; then
4882 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4884 else
4885 ac_cv_path_EGREP=$EGREP
4890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4891 $as_echo "$ac_cv_path_EGREP" >&6; }
4892 EGREP="$ac_cv_path_EGREP"
4896 # Keep these sync'd with the list in Makefile.am. The first provides an
4897 # expandable list at autoconf time; the second provides an expandable list
4898 # (i.e., shell variable) at configure time.
4900 SUBDIRS='include libsupc++ python src src/c++98 src/c++11 doc po testsuite'
4902 # These need to be absolute paths, yet at the same time need to
4903 # canonicalize only relative paths, because then amd will not unmount
4904 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
4905 glibcxx_builddir=`${PWDCMD-pwd}`
4906 case $srcdir in
4907 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
4908 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
4909 esac
4910 toplevel_builddir=${glibcxx_builddir}/..
4911 toplevel_srcdir=${glibcxx_srcdir}/..
4917 # We use these options to decide which functions to include. They are
4918 # set from the top level.
4920 # Check whether --with-target-subdir was given.
4921 if test "${with_target_subdir+set}" = set; then :
4922 withval=$with_target_subdir;
4927 # Check whether --with-cross-host was given.
4928 if test "${with_cross_host+set}" = set; then :
4929 withval=$with_cross_host;
4934 # Check whether --with-newlib was given.
4935 if test "${with_newlib+set}" = set; then :
4936 withval=$with_newlib;
4940 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
4941 # available). Uncomment the next line to force a particular method.
4942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4943 $as_echo_n "checking whether ln -s works... " >&6; }
4944 LN_S=$as_ln_s
4945 if test "$LN_S" = "ln -s"; then
4946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4947 $as_echo "yes" >&6; }
4948 else
4949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4950 $as_echo "no, using $LN_S" >&6; }
4953 #LN_S='cp -p'
4955 if test -n "$ac_tool_prefix"; then
4956 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4957 set dummy ${ac_tool_prefix}as; ac_word=$2
4958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4959 $as_echo_n "checking for $ac_word... " >&6; }
4960 if test "${ac_cv_prog_AS+set}" = set; then :
4961 $as_echo_n "(cached) " >&6
4962 else
4963 if test -n "$AS"; then
4964 ac_cv_prog_AS="$AS" # Let the user override the test.
4965 else
4966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4967 for as_dir in $PATH
4969 IFS=$as_save_IFS
4970 test -z "$as_dir" && as_dir=.
4971 for ac_exec_ext in '' $ac_executable_extensions; do
4972 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4973 ac_cv_prog_AS="${ac_tool_prefix}as"
4974 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4975 break 2
4977 done
4978 done
4979 IFS=$as_save_IFS
4983 AS=$ac_cv_prog_AS
4984 if test -n "$AS"; then
4985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4986 $as_echo "$AS" >&6; }
4987 else
4988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4989 $as_echo "no" >&6; }
4994 if test -z "$ac_cv_prog_AS"; then
4995 ac_ct_AS=$AS
4996 # Extract the first word of "as", so it can be a program name with args.
4997 set dummy as; ac_word=$2
4998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4999 $as_echo_n "checking for $ac_word... " >&6; }
5000 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
5001 $as_echo_n "(cached) " >&6
5002 else
5003 if test -n "$ac_ct_AS"; then
5004 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5005 else
5006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5007 for as_dir in $PATH
5009 IFS=$as_save_IFS
5010 test -z "$as_dir" && as_dir=.
5011 for ac_exec_ext in '' $ac_executable_extensions; do
5012 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5013 ac_cv_prog_ac_ct_AS="as"
5014 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5015 break 2
5017 done
5018 done
5019 IFS=$as_save_IFS
5023 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5024 if test -n "$ac_ct_AS"; then
5025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5026 $as_echo "$ac_ct_AS" >&6; }
5027 else
5028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5029 $as_echo "no" >&6; }
5032 if test "x$ac_ct_AS" = x; then
5033 AS=""
5034 else
5035 case $cross_compiling:$ac_tool_warned in
5036 yes:)
5037 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5038 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5039 ac_tool_warned=yes ;;
5040 esac
5041 AS=$ac_ct_AS
5043 else
5044 AS="$ac_cv_prog_AS"
5047 if test -n "$ac_tool_prefix"; then
5048 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5049 set dummy ${ac_tool_prefix}ar; ac_word=$2
5050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5051 $as_echo_n "checking for $ac_word... " >&6; }
5052 if test "${ac_cv_prog_AR+set}" = set; then :
5053 $as_echo_n "(cached) " >&6
5054 else
5055 if test -n "$AR"; then
5056 ac_cv_prog_AR="$AR" # Let the user override the test.
5057 else
5058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5059 for as_dir in $PATH
5061 IFS=$as_save_IFS
5062 test -z "$as_dir" && as_dir=.
5063 for ac_exec_ext in '' $ac_executable_extensions; do
5064 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5065 ac_cv_prog_AR="${ac_tool_prefix}ar"
5066 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5067 break 2
5069 done
5070 done
5071 IFS=$as_save_IFS
5075 AR=$ac_cv_prog_AR
5076 if test -n "$AR"; then
5077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5078 $as_echo "$AR" >&6; }
5079 else
5080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5081 $as_echo "no" >&6; }
5086 if test -z "$ac_cv_prog_AR"; then
5087 ac_ct_AR=$AR
5088 # Extract the first word of "ar", so it can be a program name with args.
5089 set dummy ar; ac_word=$2
5090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5091 $as_echo_n "checking for $ac_word... " >&6; }
5092 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5093 $as_echo_n "(cached) " >&6
5094 else
5095 if test -n "$ac_ct_AR"; then
5096 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5097 else
5098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5099 for as_dir in $PATH
5101 IFS=$as_save_IFS
5102 test -z "$as_dir" && as_dir=.
5103 for ac_exec_ext in '' $ac_executable_extensions; do
5104 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5105 ac_cv_prog_ac_ct_AR="ar"
5106 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5107 break 2
5109 done
5110 done
5111 IFS=$as_save_IFS
5115 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5116 if test -n "$ac_ct_AR"; then
5117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5118 $as_echo "$ac_ct_AR" >&6; }
5119 else
5120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5121 $as_echo "no" >&6; }
5124 if test "x$ac_ct_AR" = x; then
5125 AR=""
5126 else
5127 case $cross_compiling:$ac_tool_warned in
5128 yes:)
5129 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5130 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5131 ac_tool_warned=yes ;;
5132 esac
5133 AR=$ac_ct_AR
5135 else
5136 AR="$ac_cv_prog_AR"
5139 if test -n "$ac_tool_prefix"; then
5140 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5141 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5143 $as_echo_n "checking for $ac_word... " >&6; }
5144 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5145 $as_echo_n "(cached) " >&6
5146 else
5147 if test -n "$RANLIB"; then
5148 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5149 else
5150 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5151 for as_dir in $PATH
5153 IFS=$as_save_IFS
5154 test -z "$as_dir" && as_dir=.
5155 for ac_exec_ext in '' $ac_executable_extensions; do
5156 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5157 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5158 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5159 break 2
5161 done
5162 done
5163 IFS=$as_save_IFS
5167 RANLIB=$ac_cv_prog_RANLIB
5168 if test -n "$RANLIB"; then
5169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5170 $as_echo "$RANLIB" >&6; }
5171 else
5172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5173 $as_echo "no" >&6; }
5178 if test -z "$ac_cv_prog_RANLIB"; then
5179 ac_ct_RANLIB=$RANLIB
5180 # Extract the first word of "ranlib", so it can be a program name with args.
5181 set dummy ranlib; ac_word=$2
5182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5183 $as_echo_n "checking for $ac_word... " >&6; }
5184 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5185 $as_echo_n "(cached) " >&6
5186 else
5187 if test -n "$ac_ct_RANLIB"; then
5188 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5189 else
5190 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5191 for as_dir in $PATH
5193 IFS=$as_save_IFS
5194 test -z "$as_dir" && as_dir=.
5195 for ac_exec_ext in '' $ac_executable_extensions; do
5196 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5197 ac_cv_prog_ac_ct_RANLIB="ranlib"
5198 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5199 break 2
5201 done
5202 done
5203 IFS=$as_save_IFS
5207 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5208 if test -n "$ac_ct_RANLIB"; then
5209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5210 $as_echo "$ac_ct_RANLIB" >&6; }
5211 else
5212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5213 $as_echo "no" >&6; }
5216 if test "x$ac_ct_RANLIB" = x; then
5217 RANLIB="ranlib-not-found-in-path-error"
5218 else
5219 case $cross_compiling:$ac_tool_warned in
5220 yes:)
5221 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5222 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5223 ac_tool_warned=yes ;;
5224 esac
5225 RANLIB=$ac_ct_RANLIB
5227 else
5228 RANLIB="$ac_cv_prog_RANLIB"
5233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5234 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5235 # Check whether --enable-maintainer-mode was given.
5236 if test "${enable_maintainer_mode+set}" = set; then :
5237 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5238 else
5239 USE_MAINTAINER_MODE=no
5242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5243 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5244 if test $USE_MAINTAINER_MODE = yes; then
5245 MAINTAINER_MODE_TRUE=
5246 MAINTAINER_MODE_FALSE='#'
5247 else
5248 MAINTAINER_MODE_TRUE='#'
5249 MAINTAINER_MODE_FALSE=
5252 MAINT=$MAINTAINER_MODE_TRUE
5256 # Set up safe default values for all subsequent AM_CONDITIONAL tests
5257 # which are themselves conditionally expanded.
5258 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5259 ## other macros from doing the same. This should be automated.) -pme
5261 # Check for C library flavor since GNU/Linux platforms use different
5262 # configuration directories depending on the C library in use.
5263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5264 /* end confdefs.h. */
5266 #include <stdio.h>
5267 #if __UCLIBC__
5268 _using_uclibc
5269 #endif
5271 _ACEOF
5272 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5273 $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5274 uclibc=yes
5275 else
5276 uclibc=no
5278 rm -f conftest*
5281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5282 /* end confdefs.h. */
5284 #include <stdio.h>
5285 #if __BIONIC__
5286 _using_bionic
5287 #endif
5289 _ACEOF
5290 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5291 $EGREP "_using_bionic" >/dev/null 2>&1; then :
5292 bionic=yes
5293 else
5294 bionic=no
5296 rm -f conftest*
5299 # Find platform-specific directories containing configuration info.
5300 # Also possibly modify flags used elsewhere, as needed by the platform.
5302 . $glibcxx_srcdir/configure.host
5303 { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5304 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5305 { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5306 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5310 # Libtool setup.
5311 if test "x${with_newlib}" != "xyes"; then
5312 enable_dlopen=yes
5317 case `pwd` in
5318 *\ * | *\ *)
5319 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5320 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5321 esac
5325 macro_version='2.2.7a'
5326 macro_revision='1.3134'
5340 ltmain="$ac_aux_dir/ltmain.sh"
5342 # Backslashify metacharacters that are still active within
5343 # double-quoted strings.
5344 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5346 # Same as above, but do not quote variable references.
5347 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5349 # Sed substitution to delay expansion of an escaped shell variable in a
5350 # double_quote_subst'ed string.
5351 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5353 # Sed substitution to delay expansion of an escaped single quote.
5354 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5356 # Sed substitution to avoid accidental globbing in evaled expressions
5357 no_glob_subst='s/\*/\\\*/g'
5359 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5360 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5361 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5364 $as_echo_n "checking how to print strings... " >&6; }
5365 # Test print first, because it will be a builtin if present.
5366 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5367 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5368 ECHO='print -r --'
5369 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5370 ECHO='printf %s\n'
5371 else
5372 # Use this function as a fallback that always works.
5373 func_fallback_echo ()
5375 eval 'cat <<_LTECHO_EOF
5377 _LTECHO_EOF'
5379 ECHO='func_fallback_echo'
5382 # func_echo_all arg...
5383 # Invoke $ECHO with all args, space-separated.
5384 func_echo_all ()
5386 $ECHO ""
5389 case "$ECHO" in
5390 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5391 $as_echo "printf" >&6; } ;;
5392 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5393 $as_echo "print -r" >&6; } ;;
5394 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5395 $as_echo "cat" >&6; } ;;
5396 esac
5411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5412 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5413 if test "${ac_cv_path_SED+set}" = set; then :
5414 $as_echo_n "(cached) " >&6
5415 else
5416 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5417 for ac_i in 1 2 3 4 5 6 7; do
5418 ac_script="$ac_script$as_nl$ac_script"
5419 done
5420 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5421 { ac_script=; unset ac_script;}
5422 if test -z "$SED"; then
5423 ac_path_SED_found=false
5424 # Loop through the user's path and test for each of PROGNAME-LIST
5425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5426 for as_dir in $PATH
5428 IFS=$as_save_IFS
5429 test -z "$as_dir" && as_dir=.
5430 for ac_prog in sed gsed; do
5431 for ac_exec_ext in '' $ac_executable_extensions; do
5432 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5433 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5434 # Check for GNU ac_path_SED and select it if it is found.
5435 # Check for GNU $ac_path_SED
5436 case `"$ac_path_SED" --version 2>&1` in
5437 *GNU*)
5438 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5440 ac_count=0
5441 $as_echo_n 0123456789 >"conftest.in"
5442 while :
5444 cat "conftest.in" "conftest.in" >"conftest.tmp"
5445 mv "conftest.tmp" "conftest.in"
5446 cp "conftest.in" "conftest.nl"
5447 $as_echo '' >> "conftest.nl"
5448 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5449 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5450 as_fn_arith $ac_count + 1 && ac_count=$as_val
5451 if test $ac_count -gt ${ac_path_SED_max-0}; then
5452 # Best one so far, save it but keep looking for a better one
5453 ac_cv_path_SED="$ac_path_SED"
5454 ac_path_SED_max=$ac_count
5456 # 10*(2^10) chars as input seems more than enough
5457 test $ac_count -gt 10 && break
5458 done
5459 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5460 esac
5462 $ac_path_SED_found && break 3
5463 done
5464 done
5465 done
5466 IFS=$as_save_IFS
5467 if test -z "$ac_cv_path_SED"; then
5468 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5470 else
5471 ac_cv_path_SED=$SED
5475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5476 $as_echo "$ac_cv_path_SED" >&6; }
5477 SED="$ac_cv_path_SED"
5478 rm -f conftest.sed
5480 test -z "$SED" && SED=sed
5481 Xsed="$SED -e 1s/^X//"
5493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5494 $as_echo_n "checking for fgrep... " >&6; }
5495 if test "${ac_cv_path_FGREP+set}" = set; then :
5496 $as_echo_n "(cached) " >&6
5497 else
5498 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5499 then ac_cv_path_FGREP="$GREP -F"
5500 else
5501 if test -z "$FGREP"; then
5502 ac_path_FGREP_found=false
5503 # Loop through the user's path and test for each of PROGNAME-LIST
5504 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5505 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5507 IFS=$as_save_IFS
5508 test -z "$as_dir" && as_dir=.
5509 for ac_prog in fgrep; do
5510 for ac_exec_ext in '' $ac_executable_extensions; do
5511 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5512 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5513 # Check for GNU ac_path_FGREP and select it if it is found.
5514 # Check for GNU $ac_path_FGREP
5515 case `"$ac_path_FGREP" --version 2>&1` in
5516 *GNU*)
5517 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5519 ac_count=0
5520 $as_echo_n 0123456789 >"conftest.in"
5521 while :
5523 cat "conftest.in" "conftest.in" >"conftest.tmp"
5524 mv "conftest.tmp" "conftest.in"
5525 cp "conftest.in" "conftest.nl"
5526 $as_echo 'FGREP' >> "conftest.nl"
5527 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5528 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5529 as_fn_arith $ac_count + 1 && ac_count=$as_val
5530 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5531 # Best one so far, save it but keep looking for a better one
5532 ac_cv_path_FGREP="$ac_path_FGREP"
5533 ac_path_FGREP_max=$ac_count
5535 # 10*(2^10) chars as input seems more than enough
5536 test $ac_count -gt 10 && break
5537 done
5538 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5539 esac
5541 $ac_path_FGREP_found && break 3
5542 done
5543 done
5544 done
5545 IFS=$as_save_IFS
5546 if test -z "$ac_cv_path_FGREP"; then
5547 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5549 else
5550 ac_cv_path_FGREP=$FGREP
5555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5556 $as_echo "$ac_cv_path_FGREP" >&6; }
5557 FGREP="$ac_cv_path_FGREP"
5560 test -z "$GREP" && GREP=grep
5580 # Check whether --with-gnu-ld was given.
5581 if test "${with_gnu_ld+set}" = set; then :
5582 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5583 else
5584 with_gnu_ld=no
5587 ac_prog=ld
5588 if test "$GCC" = yes; then
5589 # Check if gcc -print-prog-name=ld gives a path.
5590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5591 $as_echo_n "checking for ld used by $CC... " >&6; }
5592 case $host in
5593 *-*-mingw*)
5594 # gcc leaves a trailing carriage return which upsets mingw
5595 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5597 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5598 esac
5599 case $ac_prog in
5600 # Accept absolute paths.
5601 [\\/]* | ?:[\\/]*)
5602 re_direlt='/[^/][^/]*/\.\./'
5603 # Canonicalize the pathname of ld
5604 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5605 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5606 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5607 done
5608 test -z "$LD" && LD="$ac_prog"
5611 # If it fails, then pretend we aren't using GCC.
5612 ac_prog=ld
5615 # If it is relative, then search for the first ld in PATH.
5616 with_gnu_ld=unknown
5618 esac
5619 elif test "$with_gnu_ld" = yes; then
5620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5621 $as_echo_n "checking for GNU ld... " >&6; }
5622 else
5623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5624 $as_echo_n "checking for non-GNU ld... " >&6; }
5626 if test "${lt_cv_path_LD+set}" = set; then :
5627 $as_echo_n "(cached) " >&6
5628 else
5629 if test -z "$LD"; then
5630 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5631 for ac_dir in $PATH; do
5632 IFS="$lt_save_ifs"
5633 test -z "$ac_dir" && ac_dir=.
5634 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5635 lt_cv_path_LD="$ac_dir/$ac_prog"
5636 # Check to see if the program is GNU ld. I'd rather use --version,
5637 # but apparently some variants of GNU ld only accept -v.
5638 # Break only if it was the GNU/non-GNU ld that we prefer.
5639 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5640 *GNU* | *'with BFD'*)
5641 test "$with_gnu_ld" != no && break
5644 test "$with_gnu_ld" != yes && break
5646 esac
5648 done
5649 IFS="$lt_save_ifs"
5650 else
5651 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5655 LD="$lt_cv_path_LD"
5656 if test -n "$LD"; then
5657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5658 $as_echo "$LD" >&6; }
5659 else
5660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5661 $as_echo "no" >&6; }
5663 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5665 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5666 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5667 $as_echo_n "(cached) " >&6
5668 else
5669 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5670 case `$LD -v 2>&1 </dev/null` in
5671 *GNU* | *'with BFD'*)
5672 lt_cv_prog_gnu_ld=yes
5675 lt_cv_prog_gnu_ld=no
5677 esac
5679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5680 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5681 with_gnu_ld=$lt_cv_prog_gnu_ld
5691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5692 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5693 if test "${lt_cv_path_NM+set}" = set; then :
5694 $as_echo_n "(cached) " >&6
5695 else
5696 if test -n "$NM"; then
5697 # Let the user override the test.
5698 lt_cv_path_NM="$NM"
5699 else
5700 lt_nm_to_check="${ac_tool_prefix}nm"
5701 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5702 lt_nm_to_check="$lt_nm_to_check nm"
5704 for lt_tmp_nm in $lt_nm_to_check; do
5705 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5706 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5707 IFS="$lt_save_ifs"
5708 test -z "$ac_dir" && ac_dir=.
5709 tmp_nm="$ac_dir/$lt_tmp_nm"
5710 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5711 # Check to see if the nm accepts a BSD-compat flag.
5712 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5713 # nm: unknown option "B" ignored
5714 # Tru64's nm complains that /dev/null is an invalid object file
5715 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5716 */dev/null* | *'Invalid file or object type'*)
5717 lt_cv_path_NM="$tmp_nm -B"
5718 break
5721 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5722 */dev/null*)
5723 lt_cv_path_NM="$tmp_nm -p"
5724 break
5727 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5728 continue # so that we can try to find one that supports BSD flags
5730 esac
5732 esac
5734 done
5735 IFS="$lt_save_ifs"
5736 done
5737 : ${lt_cv_path_NM=no}
5740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5741 $as_echo "$lt_cv_path_NM" >&6; }
5742 if test "$lt_cv_path_NM" != "no"; then
5743 NM="$lt_cv_path_NM"
5744 else
5745 # Didn't find any BSD compatible name lister, look for dumpbin.
5746 if test -n "$DUMPBIN"; then :
5747 # Let the user override the test.
5748 else
5749 if test -n "$ac_tool_prefix"; then
5750 for ac_prog in dumpbin "link -dump"
5752 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5753 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5755 $as_echo_n "checking for $ac_word... " >&6; }
5756 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5757 $as_echo_n "(cached) " >&6
5758 else
5759 if test -n "$DUMPBIN"; then
5760 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5761 else
5762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5763 for as_dir in $PATH
5765 IFS=$as_save_IFS
5766 test -z "$as_dir" && as_dir=.
5767 for ac_exec_ext in '' $ac_executable_extensions; do
5768 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5769 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5770 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5771 break 2
5773 done
5774 done
5775 IFS=$as_save_IFS
5779 DUMPBIN=$ac_cv_prog_DUMPBIN
5780 if test -n "$DUMPBIN"; then
5781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5782 $as_echo "$DUMPBIN" >&6; }
5783 else
5784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5785 $as_echo "no" >&6; }
5789 test -n "$DUMPBIN" && break
5790 done
5792 if test -z "$DUMPBIN"; then
5793 ac_ct_DUMPBIN=$DUMPBIN
5794 for ac_prog in dumpbin "link -dump"
5796 # Extract the first word of "$ac_prog", so it can be a program name with args.
5797 set dummy $ac_prog; ac_word=$2
5798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5799 $as_echo_n "checking for $ac_word... " >&6; }
5800 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5801 $as_echo_n "(cached) " >&6
5802 else
5803 if test -n "$ac_ct_DUMPBIN"; then
5804 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5805 else
5806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5807 for as_dir in $PATH
5809 IFS=$as_save_IFS
5810 test -z "$as_dir" && as_dir=.
5811 for ac_exec_ext in '' $ac_executable_extensions; do
5812 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5813 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5814 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5815 break 2
5817 done
5818 done
5819 IFS=$as_save_IFS
5823 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5824 if test -n "$ac_ct_DUMPBIN"; then
5825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5826 $as_echo "$ac_ct_DUMPBIN" >&6; }
5827 else
5828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5829 $as_echo "no" >&6; }
5833 test -n "$ac_ct_DUMPBIN" && break
5834 done
5836 if test "x$ac_ct_DUMPBIN" = x; then
5837 DUMPBIN=":"
5838 else
5839 case $cross_compiling:$ac_tool_warned in
5840 yes:)
5841 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5842 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5843 ac_tool_warned=yes ;;
5844 esac
5845 DUMPBIN=$ac_ct_DUMPBIN
5849 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5850 *COFF*)
5851 DUMPBIN="$DUMPBIN -symbols"
5854 DUMPBIN=:
5856 esac
5859 if test "$DUMPBIN" != ":"; then
5860 NM="$DUMPBIN"
5863 test -z "$NM" && NM=nm
5870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5871 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5872 if test "${lt_cv_nm_interface+set}" = set; then :
5873 $as_echo_n "(cached) " >&6
5874 else
5875 lt_cv_nm_interface="BSD nm"
5876 echo "int some_variable = 0;" > conftest.$ac_ext
5877 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5878 (eval "$ac_compile" 2>conftest.err)
5879 cat conftest.err >&5
5880 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5881 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5882 cat conftest.err >&5
5883 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5884 cat conftest.out >&5
5885 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5886 lt_cv_nm_interface="MS dumpbin"
5888 rm -f conftest*
5890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5891 $as_echo "$lt_cv_nm_interface" >&6; }
5893 # find the maximum length of command line arguments
5894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5895 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5896 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5897 $as_echo_n "(cached) " >&6
5898 else
5900 teststring="ABCD"
5902 case $build_os in
5903 msdosdjgpp*)
5904 # On DJGPP, this test can blow up pretty badly due to problems in libc
5905 # (any single argument exceeding 2000 bytes causes a buffer overrun
5906 # during glob expansion). Even if it were fixed, the result of this
5907 # check would be larger than it should be.
5908 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5911 gnu*)
5912 # Under GNU Hurd, this test is not required because there is
5913 # no limit to the length of command line arguments.
5914 # Libtool will interpret -1 as no limit whatsoever
5915 lt_cv_sys_max_cmd_len=-1;
5918 cygwin* | mingw* | cegcc*)
5919 # On Win9x/ME, this test blows up -- it succeeds, but takes
5920 # about 5 minutes as the teststring grows exponentially.
5921 # Worse, since 9x/ME are not pre-emptively multitasking,
5922 # you end up with a "frozen" computer, even though with patience
5923 # the test eventually succeeds (with a max line length of 256k).
5924 # Instead, let's just punt: use the minimum linelength reported by
5925 # all of the supported platforms: 8192 (on NT/2K/XP).
5926 lt_cv_sys_max_cmd_len=8192;
5929 mint*)
5930 # On MiNT this can take a long time and run out of memory.
5931 lt_cv_sys_max_cmd_len=8192;
5934 amigaos*)
5935 # On AmigaOS with pdksh, this test takes hours, literally.
5936 # So we just punt and use a minimum line length of 8192.
5937 lt_cv_sys_max_cmd_len=8192;
5940 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5941 # This has been around since 386BSD, at least. Likely further.
5942 if test -x /sbin/sysctl; then
5943 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5944 elif test -x /usr/sbin/sysctl; then
5945 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5946 else
5947 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5949 # And add a safety zone
5950 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5951 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5954 interix*)
5955 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5956 lt_cv_sys_max_cmd_len=196608
5959 osf*)
5960 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5961 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5962 # nice to cause kernel panics so lets avoid the loop below.
5963 # First set a reasonable default.
5964 lt_cv_sys_max_cmd_len=16384
5966 if test -x /sbin/sysconfig; then
5967 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5968 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5969 esac
5972 sco3.2v5*)
5973 lt_cv_sys_max_cmd_len=102400
5975 sysv5* | sco5v6* | sysv4.2uw2*)
5976 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5977 if test -n "$kargmax"; then
5978 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5979 else
5980 lt_cv_sys_max_cmd_len=32768
5984 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5985 if test -n "$lt_cv_sys_max_cmd_len"; then
5986 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5987 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5988 else
5989 # Make teststring a little bigger before we do anything with it.
5990 # a 1K string should be a reasonable start.
5991 for i in 1 2 3 4 5 6 7 8 ; do
5992 teststring=$teststring$teststring
5993 done
5994 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5995 # If test is not a shell built-in, we'll probably end up computing a
5996 # maximum length that is only half of the actual maximum length, but
5997 # we can't tell.
5998 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5999 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6000 test $i != 17 # 1/2 MB should be enough
6002 i=`expr $i + 1`
6003 teststring=$teststring$teststring
6004 done
6005 # Only check the string length outside the loop.
6006 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6007 teststring=
6008 # Add a significant safety factor because C++ compilers can tack on
6009 # massive amounts of additional arguments before passing them to the
6010 # linker. It appears as though 1/2 is a usable value.
6011 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6014 esac
6018 if test -n $lt_cv_sys_max_cmd_len ; then
6019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6020 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6021 else
6022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6023 $as_echo "none" >&6; }
6025 max_cmd_len=$lt_cv_sys_max_cmd_len
6032 : ${CP="cp -f"}
6033 : ${MV="mv -f"}
6034 : ${RM="rm -f"}
6036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6037 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6038 # Try some XSI features
6039 xsi_shell=no
6040 ( _lt_dummy="a/b/c"
6041 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6042 = c,a/b,, \
6043 && eval 'test $(( 1 + 1 )) -eq 2 \
6044 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6045 && xsi_shell=yes
6046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6047 $as_echo "$xsi_shell" >&6; }
6050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6051 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6052 lt_shell_append=no
6053 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6054 >/dev/null 2>&1 \
6055 && lt_shell_append=yes
6056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6057 $as_echo "$lt_shell_append" >&6; }
6060 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6061 lt_unset=unset
6062 else
6063 lt_unset=false
6070 # test EBCDIC or ASCII
6071 case `echo X|tr X '\101'` in
6072 A) # ASCII based system
6073 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6074 lt_SP2NL='tr \040 \012'
6075 lt_NL2SP='tr \015\012 \040\040'
6077 *) # EBCDIC based system
6078 lt_SP2NL='tr \100 \n'
6079 lt_NL2SP='tr \r\n \100\100'
6081 esac
6091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6092 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6093 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6094 $as_echo_n "(cached) " >&6
6095 else
6096 lt_cv_ld_reload_flag='-r'
6098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6099 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6100 reload_flag=$lt_cv_ld_reload_flag
6101 case $reload_flag in
6102 "" | " "*) ;;
6103 *) reload_flag=" $reload_flag" ;;
6104 esac
6105 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6106 case $host_os in
6107 darwin*)
6108 if test "$GCC" = yes; then
6109 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6110 else
6111 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6114 esac
6124 if test -n "$ac_tool_prefix"; then
6125 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6126 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6128 $as_echo_n "checking for $ac_word... " >&6; }
6129 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6130 $as_echo_n "(cached) " >&6
6131 else
6132 if test -n "$OBJDUMP"; then
6133 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6134 else
6135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6136 for as_dir in $PATH
6138 IFS=$as_save_IFS
6139 test -z "$as_dir" && as_dir=.
6140 for ac_exec_ext in '' $ac_executable_extensions; do
6141 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6142 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6143 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6144 break 2
6146 done
6147 done
6148 IFS=$as_save_IFS
6152 OBJDUMP=$ac_cv_prog_OBJDUMP
6153 if test -n "$OBJDUMP"; then
6154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6155 $as_echo "$OBJDUMP" >&6; }
6156 else
6157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6158 $as_echo "no" >&6; }
6163 if test -z "$ac_cv_prog_OBJDUMP"; then
6164 ac_ct_OBJDUMP=$OBJDUMP
6165 # Extract the first word of "objdump", so it can be a program name with args.
6166 set dummy objdump; ac_word=$2
6167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6168 $as_echo_n "checking for $ac_word... " >&6; }
6169 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6170 $as_echo_n "(cached) " >&6
6171 else
6172 if test -n "$ac_ct_OBJDUMP"; then
6173 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6174 else
6175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6176 for as_dir in $PATH
6178 IFS=$as_save_IFS
6179 test -z "$as_dir" && as_dir=.
6180 for ac_exec_ext in '' $ac_executable_extensions; do
6181 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6182 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6183 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6184 break 2
6186 done
6187 done
6188 IFS=$as_save_IFS
6192 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6193 if test -n "$ac_ct_OBJDUMP"; then
6194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6195 $as_echo "$ac_ct_OBJDUMP" >&6; }
6196 else
6197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6198 $as_echo "no" >&6; }
6201 if test "x$ac_ct_OBJDUMP" = x; then
6202 OBJDUMP="false"
6203 else
6204 case $cross_compiling:$ac_tool_warned in
6205 yes:)
6206 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6207 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6208 ac_tool_warned=yes ;;
6209 esac
6210 OBJDUMP=$ac_ct_OBJDUMP
6212 else
6213 OBJDUMP="$ac_cv_prog_OBJDUMP"
6216 test -z "$OBJDUMP" && OBJDUMP=objdump
6226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6227 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6228 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6229 $as_echo_n "(cached) " >&6
6230 else
6231 lt_cv_file_magic_cmd='$MAGIC_CMD'
6232 lt_cv_file_magic_test_file=
6233 lt_cv_deplibs_check_method='unknown'
6234 # Need to set the preceding variable on all platforms that support
6235 # interlibrary dependencies.
6236 # 'none' -- dependencies not supported.
6237 # `unknown' -- same as none, but documents that we really don't know.
6238 # 'pass_all' -- all dependencies passed with no checks.
6239 # 'test_compile' -- check by making test program.
6240 # 'file_magic [[regex]]' -- check by looking for files in library path
6241 # which responds to the $file_magic_cmd with a given extended regex.
6242 # If you have `file' or equivalent on your system and you're not sure
6243 # whether `pass_all' will *always* work, you probably want this one.
6245 case $host_os in
6246 aix[4-9]*)
6247 lt_cv_deplibs_check_method=pass_all
6250 beos*)
6251 lt_cv_deplibs_check_method=pass_all
6254 bsdi[45]*)
6255 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6256 lt_cv_file_magic_cmd='/usr/bin/file -L'
6257 lt_cv_file_magic_test_file=/shlib/libc.so
6260 cygwin*)
6261 # func_win32_libid is a shell function defined in ltmain.sh
6262 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6263 lt_cv_file_magic_cmd='func_win32_libid'
6266 mingw* | pw32*)
6267 # Base MSYS/MinGW do not provide the 'file' command needed by
6268 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6269 # unless we find 'file', for example because we are cross-compiling.
6270 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6271 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6272 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6273 lt_cv_file_magic_cmd='func_win32_libid'
6274 else
6275 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6276 lt_cv_file_magic_cmd='$OBJDUMP -f'
6280 cegcc*)
6281 # use the weaker test based on 'objdump'. See mingw*.
6282 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6283 lt_cv_file_magic_cmd='$OBJDUMP -f'
6286 darwin* | rhapsody*)
6287 lt_cv_deplibs_check_method=pass_all
6290 freebsd* | dragonfly*)
6291 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6292 case $host_cpu in
6293 i*86 )
6294 # Not sure whether the presence of OpenBSD here was a mistake.
6295 # Let's accept both of them until this is cleared up.
6296 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6297 lt_cv_file_magic_cmd=/usr/bin/file
6298 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6300 esac
6301 else
6302 lt_cv_deplibs_check_method=pass_all
6306 gnu*)
6307 lt_cv_deplibs_check_method=pass_all
6310 haiku*)
6311 lt_cv_deplibs_check_method=pass_all
6314 hpux10.20* | hpux11*)
6315 lt_cv_file_magic_cmd=/usr/bin/file
6316 case $host_cpu in
6317 ia64*)
6318 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6319 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6321 hppa*64*)
6322 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
6323 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6326 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6327 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6329 esac
6332 interix[3-9]*)
6333 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6334 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6337 irix5* | irix6* | nonstopux*)
6338 case $LD in
6339 *-32|*"-32 ") libmagic=32-bit;;
6340 *-n32|*"-n32 ") libmagic=N32;;
6341 *-64|*"-64 ") libmagic=64-bit;;
6342 *) libmagic=never-match;;
6343 esac
6344 lt_cv_deplibs_check_method=pass_all
6347 # This must be Linux ELF.
6348 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6349 lt_cv_deplibs_check_method=pass_all
6352 netbsd*)
6353 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6354 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6355 else
6356 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6360 newos6*)
6361 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6362 lt_cv_file_magic_cmd=/usr/bin/file
6363 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6366 *nto* | *qnx*)
6367 lt_cv_deplibs_check_method=pass_all
6370 openbsd*)
6371 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6372 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6373 else
6374 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6378 osf3* | osf4* | osf5*)
6379 lt_cv_deplibs_check_method=pass_all
6382 rdos*)
6383 lt_cv_deplibs_check_method=pass_all
6386 solaris*)
6387 lt_cv_deplibs_check_method=pass_all
6390 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6391 lt_cv_deplibs_check_method=pass_all
6394 sysv4 | sysv4.3*)
6395 case $host_vendor in
6396 motorola)
6397 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
6398 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6400 ncr)
6401 lt_cv_deplibs_check_method=pass_all
6403 sequent)
6404 lt_cv_file_magic_cmd='/bin/file'
6405 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6407 sni)
6408 lt_cv_file_magic_cmd='/bin/file'
6409 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6410 lt_cv_file_magic_test_file=/lib/libc.so
6412 siemens)
6413 lt_cv_deplibs_check_method=pass_all
6416 lt_cv_deplibs_check_method=pass_all
6418 esac
6421 tpf*)
6422 lt_cv_deplibs_check_method=pass_all
6424 esac
6427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6428 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6429 file_magic_cmd=$lt_cv_file_magic_cmd
6430 deplibs_check_method=$lt_cv_deplibs_check_method
6431 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6444 if test -n "$ac_tool_prefix"; then
6445 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6446 set dummy ${ac_tool_prefix}ar; ac_word=$2
6447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6448 $as_echo_n "checking for $ac_word... " >&6; }
6449 if test "${ac_cv_prog_AR+set}" = set; then :
6450 $as_echo_n "(cached) " >&6
6451 else
6452 if test -n "$AR"; then
6453 ac_cv_prog_AR="$AR" # Let the user override the test.
6454 else
6455 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6456 for as_dir in $PATH
6458 IFS=$as_save_IFS
6459 test -z "$as_dir" && as_dir=.
6460 for ac_exec_ext in '' $ac_executable_extensions; do
6461 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6462 ac_cv_prog_AR="${ac_tool_prefix}ar"
6463 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6464 break 2
6466 done
6467 done
6468 IFS=$as_save_IFS
6472 AR=$ac_cv_prog_AR
6473 if test -n "$AR"; then
6474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6475 $as_echo "$AR" >&6; }
6476 else
6477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6478 $as_echo "no" >&6; }
6483 if test -z "$ac_cv_prog_AR"; then
6484 ac_ct_AR=$AR
6485 # Extract the first word of "ar", so it can be a program name with args.
6486 set dummy ar; ac_word=$2
6487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6488 $as_echo_n "checking for $ac_word... " >&6; }
6489 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6490 $as_echo_n "(cached) " >&6
6491 else
6492 if test -n "$ac_ct_AR"; then
6493 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6494 else
6495 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6496 for as_dir in $PATH
6498 IFS=$as_save_IFS
6499 test -z "$as_dir" && as_dir=.
6500 for ac_exec_ext in '' $ac_executable_extensions; do
6501 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6502 ac_cv_prog_ac_ct_AR="ar"
6503 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6504 break 2
6506 done
6507 done
6508 IFS=$as_save_IFS
6512 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6513 if test -n "$ac_ct_AR"; then
6514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6515 $as_echo "$ac_ct_AR" >&6; }
6516 else
6517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6518 $as_echo "no" >&6; }
6521 if test "x$ac_ct_AR" = x; then
6522 AR="false"
6523 else
6524 case $cross_compiling:$ac_tool_warned in
6525 yes:)
6526 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6527 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6528 ac_tool_warned=yes ;;
6529 esac
6530 AR=$ac_ct_AR
6532 else
6533 AR="$ac_cv_prog_AR"
6536 test -z "$AR" && AR=ar
6537 test -z "$AR_FLAGS" && AR_FLAGS=cru
6549 if test -n "$ac_tool_prefix"; then
6550 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6551 set dummy ${ac_tool_prefix}strip; ac_word=$2
6552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6553 $as_echo_n "checking for $ac_word... " >&6; }
6554 if test "${ac_cv_prog_STRIP+set}" = set; then :
6555 $as_echo_n "(cached) " >&6
6556 else
6557 if test -n "$STRIP"; then
6558 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6559 else
6560 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6561 for as_dir in $PATH
6563 IFS=$as_save_IFS
6564 test -z "$as_dir" && as_dir=.
6565 for ac_exec_ext in '' $ac_executable_extensions; do
6566 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6567 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6568 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6569 break 2
6571 done
6572 done
6573 IFS=$as_save_IFS
6577 STRIP=$ac_cv_prog_STRIP
6578 if test -n "$STRIP"; then
6579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6580 $as_echo "$STRIP" >&6; }
6581 else
6582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6583 $as_echo "no" >&6; }
6588 if test -z "$ac_cv_prog_STRIP"; then
6589 ac_ct_STRIP=$STRIP
6590 # Extract the first word of "strip", so it can be a program name with args.
6591 set dummy strip; ac_word=$2
6592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6593 $as_echo_n "checking for $ac_word... " >&6; }
6594 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6595 $as_echo_n "(cached) " >&6
6596 else
6597 if test -n "$ac_ct_STRIP"; then
6598 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6599 else
6600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6601 for as_dir in $PATH
6603 IFS=$as_save_IFS
6604 test -z "$as_dir" && as_dir=.
6605 for ac_exec_ext in '' $ac_executable_extensions; do
6606 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6607 ac_cv_prog_ac_ct_STRIP="strip"
6608 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6609 break 2
6611 done
6612 done
6613 IFS=$as_save_IFS
6617 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6618 if test -n "$ac_ct_STRIP"; then
6619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6620 $as_echo "$ac_ct_STRIP" >&6; }
6621 else
6622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6623 $as_echo "no" >&6; }
6626 if test "x$ac_ct_STRIP" = x; then
6627 STRIP=":"
6628 else
6629 case $cross_compiling:$ac_tool_warned in
6630 yes:)
6631 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6632 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6633 ac_tool_warned=yes ;;
6634 esac
6635 STRIP=$ac_ct_STRIP
6637 else
6638 STRIP="$ac_cv_prog_STRIP"
6641 test -z "$STRIP" && STRIP=:
6648 if test -n "$ac_tool_prefix"; then
6649 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6650 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6652 $as_echo_n "checking for $ac_word... " >&6; }
6653 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6654 $as_echo_n "(cached) " >&6
6655 else
6656 if test -n "$RANLIB"; then
6657 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6658 else
6659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6660 for as_dir in $PATH
6662 IFS=$as_save_IFS
6663 test -z "$as_dir" && as_dir=.
6664 for ac_exec_ext in '' $ac_executable_extensions; do
6665 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6666 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6667 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6668 break 2
6670 done
6671 done
6672 IFS=$as_save_IFS
6676 RANLIB=$ac_cv_prog_RANLIB
6677 if test -n "$RANLIB"; then
6678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6679 $as_echo "$RANLIB" >&6; }
6680 else
6681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6682 $as_echo "no" >&6; }
6687 if test -z "$ac_cv_prog_RANLIB"; then
6688 ac_ct_RANLIB=$RANLIB
6689 # Extract the first word of "ranlib", so it can be a program name with args.
6690 set dummy ranlib; ac_word=$2
6691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6692 $as_echo_n "checking for $ac_word... " >&6; }
6693 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6694 $as_echo_n "(cached) " >&6
6695 else
6696 if test -n "$ac_ct_RANLIB"; then
6697 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6698 else
6699 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6700 for as_dir in $PATH
6702 IFS=$as_save_IFS
6703 test -z "$as_dir" && as_dir=.
6704 for ac_exec_ext in '' $ac_executable_extensions; do
6705 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6706 ac_cv_prog_ac_ct_RANLIB="ranlib"
6707 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6708 break 2
6710 done
6711 done
6712 IFS=$as_save_IFS
6716 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6717 if test -n "$ac_ct_RANLIB"; then
6718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6719 $as_echo "$ac_ct_RANLIB" >&6; }
6720 else
6721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6722 $as_echo "no" >&6; }
6725 if test "x$ac_ct_RANLIB" = x; then
6726 RANLIB=":"
6727 else
6728 case $cross_compiling:$ac_tool_warned in
6729 yes:)
6730 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6731 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6732 ac_tool_warned=yes ;;
6733 esac
6734 RANLIB=$ac_ct_RANLIB
6736 else
6737 RANLIB="$ac_cv_prog_RANLIB"
6740 test -z "$RANLIB" && RANLIB=:
6747 # Determine commands to create old-style static archives.
6748 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6749 old_postinstall_cmds='chmod 644 $oldlib'
6750 old_postuninstall_cmds=
6752 if test -n "$RANLIB"; then
6753 case $host_os in
6754 openbsd*)
6755 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6758 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6760 esac
6761 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6764 case $host_os in
6765 darwin*)
6766 lock_old_archive_extraction=yes ;;
6768 lock_old_archive_extraction=no ;;
6769 esac
6809 # If no C compiler was specified, use CC.
6810 LTCC=${LTCC-"$CC"}
6812 # If no C compiler flags were specified, use CFLAGS.
6813 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6815 # Allow CC to be a program name with arguments.
6816 compiler=$CC
6819 # Check for command to grab the raw symbol name followed by C symbol from nm.
6820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6821 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6822 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6823 $as_echo_n "(cached) " >&6
6824 else
6826 # These are sane defaults that work on at least a few old systems.
6827 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6829 # Character class describing NM global symbol codes.
6830 symcode='[BCDEGRST]'
6832 # Regexp to match symbols that can be accessed directly from C.
6833 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6835 # Define system-specific variables.
6836 case $host_os in
6837 aix*)
6838 symcode='[BCDT]'
6840 cygwin* | mingw* | pw32* | cegcc*)
6841 symcode='[ABCDGISTW]'
6843 hpux*)
6844 if test "$host_cpu" = ia64; then
6845 symcode='[ABCDEGRST]'
6848 irix* | nonstopux*)
6849 symcode='[BCDEGRST]'
6851 osf*)
6852 symcode='[BCDEGQRST]'
6854 solaris*)
6855 symcode='[BDRT]'
6857 sco3.2v5*)
6858 symcode='[DT]'
6860 sysv4.2uw2*)
6861 symcode='[DT]'
6863 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6864 symcode='[ABDT]'
6866 sysv4)
6867 symcode='[DFNSTU]'
6869 esac
6871 # If we're using GNU nm, then use its standard symbol codes.
6872 case `$NM -V 2>&1` in
6873 *GNU* | *'with BFD'*)
6874 symcode='[ABCDGIRSTW]' ;;
6875 esac
6877 # Transform an extracted symbol line into a proper C declaration.
6878 # Some systems (esp. on ia64) link data and code symbols differently,
6879 # so use this general approach.
6880 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6882 # Transform an extracted symbol line into symbol name and symbol address
6883 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6884 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
6886 # Handle CRLF in mingw tool chain
6887 opt_cr=
6888 case $build_os in
6889 mingw*)
6890 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6892 esac
6894 # Try without a prefix underscore, then with it.
6895 for ac_symprfx in "" "_"; do
6897 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6898 symxfrm="\\1 $ac_symprfx\\2 \\2"
6900 # Write the raw and C identifiers.
6901 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6902 # Fake it for dumpbin and say T for any non-static function
6903 # and D for any global variable.
6904 # Also find C++ and __fastcall symbols from MSVC++,
6905 # which start with @ or ?.
6906 lt_cv_sys_global_symbol_pipe="$AWK '"\
6907 " {last_section=section; section=\$ 3};"\
6908 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6909 " \$ 0!~/External *\|/{next};"\
6910 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6911 " {if(hide[section]) next};"\
6912 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6913 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6914 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6915 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6916 " ' prfx=^$ac_symprfx"
6917 else
6918 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6921 # Check to see that the pipe works correctly.
6922 pipe_works=no
6924 rm -f conftest*
6925 cat > conftest.$ac_ext <<_LT_EOF
6926 #ifdef __cplusplus
6927 extern "C" {
6928 #endif
6929 char nm_test_var;
6930 void nm_test_func(void);
6931 void nm_test_func(void){}
6932 #ifdef __cplusplus
6934 #endif
6935 int main(){nm_test_var='a';nm_test_func();return(0);}
6936 _LT_EOF
6938 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6939 (eval $ac_compile) 2>&5
6940 ac_status=$?
6941 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6942 test $ac_status = 0; }; then
6943 # Now try to grab the symbols.
6944 nlist=conftest.nm
6945 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6946 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6947 ac_status=$?
6948 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6949 test $ac_status = 0; } && test -s "$nlist"; then
6950 # Try sorting and uniquifying the output.
6951 if sort "$nlist" | uniq > "$nlist"T; then
6952 mv -f "$nlist"T "$nlist"
6953 else
6954 rm -f "$nlist"T
6957 # Make sure that we snagged all the symbols we need.
6958 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6959 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6960 cat <<_LT_EOF > conftest.$ac_ext
6961 #ifdef __cplusplus
6962 extern "C" {
6963 #endif
6965 _LT_EOF
6966 # Now generate the symbol file.
6967 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6969 cat <<_LT_EOF >> conftest.$ac_ext
6971 /* The mapping between symbol names and symbols. */
6972 const struct {
6973 const char *name;
6974 void *address;
6976 lt__PROGRAM__LTX_preloaded_symbols[] =
6978 { "@PROGRAM@", (void *) 0 },
6979 _LT_EOF
6980 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6981 cat <<\_LT_EOF >> conftest.$ac_ext
6982 {0, (void *) 0}
6985 /* This works around a problem in FreeBSD linker */
6986 #ifdef FREEBSD_WORKAROUND
6987 static const void *lt_preloaded_setup() {
6988 return lt__PROGRAM__LTX_preloaded_symbols;
6990 #endif
6992 #ifdef __cplusplus
6994 #endif
6995 _LT_EOF
6996 # Now try linking the two files.
6997 mv conftest.$ac_objext conftstm.$ac_objext
6998 lt_save_LIBS="$LIBS"
6999 lt_save_CFLAGS="$CFLAGS"
7000 LIBS="conftstm.$ac_objext"
7001 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7002 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7003 (eval $ac_link) 2>&5
7004 ac_status=$?
7005 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7006 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7007 pipe_works=yes
7009 LIBS="$lt_save_LIBS"
7010 CFLAGS="$lt_save_CFLAGS"
7011 else
7012 echo "cannot find nm_test_func in $nlist" >&5
7014 else
7015 echo "cannot find nm_test_var in $nlist" >&5
7017 else
7018 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7020 else
7021 echo "$progname: failed program was:" >&5
7022 cat conftest.$ac_ext >&5
7024 rm -rf conftest* conftst*
7026 # Do not use the global_symbol_pipe unless it works.
7027 if test "$pipe_works" = yes; then
7028 break
7029 else
7030 lt_cv_sys_global_symbol_pipe=
7032 done
7036 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7037 lt_cv_sys_global_symbol_to_cdecl=
7039 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7041 $as_echo "failed" >&6; }
7042 else
7043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7044 $as_echo "ok" >&6; }
7068 # Check whether --enable-libtool-lock was given.
7069 if test "${enable_libtool_lock+set}" = set; then :
7070 enableval=$enable_libtool_lock;
7073 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7075 # Some flags need to be propagated to the compiler or linker for good
7076 # libtool support.
7077 case $host in
7078 ia64-*-hpux*)
7079 # Find out which ABI we are using.
7080 echo 'int i;' > conftest.$ac_ext
7081 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7082 (eval $ac_compile) 2>&5
7083 ac_status=$?
7084 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7085 test $ac_status = 0; }; then
7086 case `/usr/bin/file conftest.$ac_objext` in
7087 *ELF-32*)
7088 HPUX_IA64_MODE="32"
7090 *ELF-64*)
7091 HPUX_IA64_MODE="64"
7093 esac
7095 rm -rf conftest*
7097 *-*-irix6*)
7098 # Find out which ABI we are using.
7099 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7100 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7101 (eval $ac_compile) 2>&5
7102 ac_status=$?
7103 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7104 test $ac_status = 0; }; then
7105 if test "$lt_cv_prog_gnu_ld" = yes; then
7106 case `/usr/bin/file conftest.$ac_objext` in
7107 *32-bit*)
7108 LD="${LD-ld} -melf32bsmip"
7110 *N32*)
7111 LD="${LD-ld} -melf32bmipn32"
7113 *64-bit*)
7114 LD="${LD-ld} -melf64bmip"
7116 esac
7117 else
7118 case `/usr/bin/file conftest.$ac_objext` in
7119 *32-bit*)
7120 LD="${LD-ld} -32"
7122 *N32*)
7123 LD="${LD-ld} -n32"
7125 *64-bit*)
7126 LD="${LD-ld} -64"
7128 esac
7131 rm -rf conftest*
7134 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7135 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7136 # Find out which ABI we are using.
7137 echo 'int i;' > conftest.$ac_ext
7138 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7139 (eval $ac_compile) 2>&5
7140 ac_status=$?
7141 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7142 test $ac_status = 0; }; then
7143 case `/usr/bin/file conftest.o` in
7144 *32-bit*)
7145 case $host in
7146 x86_64-*kfreebsd*-gnu)
7147 LD="${LD-ld} -m elf_i386_fbsd"
7149 x86_64-*linux*)
7150 case `/usr/bin/file conftest.o` in
7151 *x86-64*)
7152 LD="${LD-ld} -m elf32_x86_64"
7155 LD="${LD-ld} -m elf_i386"
7157 esac
7159 powerpc64le-*linux*)
7160 LD="${LD-ld} -m elf32lppclinux"
7162 powerpc64-*linux*)
7163 LD="${LD-ld} -m elf32ppclinux"
7165 s390x-*linux*)
7166 LD="${LD-ld} -m elf_s390"
7168 sparc64-*linux*)
7169 LD="${LD-ld} -m elf32_sparc"
7171 esac
7173 *64-bit*)
7174 case $host in
7175 x86_64-*kfreebsd*-gnu)
7176 LD="${LD-ld} -m elf_x86_64_fbsd"
7178 x86_64-*linux*)
7179 LD="${LD-ld} -m elf_x86_64"
7181 powerpcle-*linux*)
7182 LD="${LD-ld} -m elf64lppc"
7184 powerpc-*linux*)
7185 LD="${LD-ld} -m elf64ppc"
7187 s390*-*linux*|s390*-*tpf*)
7188 LD="${LD-ld} -m elf64_s390"
7190 sparc*-*linux*)
7191 LD="${LD-ld} -m elf64_sparc"
7193 esac
7195 esac
7197 rm -rf conftest*
7200 *-*-sco3.2v5*)
7201 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7202 SAVE_CFLAGS="$CFLAGS"
7203 CFLAGS="$CFLAGS -belf"
7204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7205 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7206 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7207 $as_echo_n "(cached) " >&6
7208 else
7209 ac_ext=c
7210 ac_cpp='$CPP $CPPFLAGS'
7211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7215 if test x$gcc_no_link = xyes; then
7216 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7219 /* end confdefs.h. */
7222 main ()
7226 return 0;
7228 _ACEOF
7229 if ac_fn_c_try_link "$LINENO"; then :
7230 lt_cv_cc_needs_belf=yes
7231 else
7232 lt_cv_cc_needs_belf=no
7234 rm -f core conftest.err conftest.$ac_objext \
7235 conftest$ac_exeext conftest.$ac_ext
7236 ac_ext=c
7237 ac_cpp='$CPP $CPPFLAGS'
7238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7244 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7245 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7246 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7247 CFLAGS="$SAVE_CFLAGS"
7250 sparc*-*solaris*)
7251 # Find out which ABI we are using.
7252 echo 'int i;' > conftest.$ac_ext
7253 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7254 (eval $ac_compile) 2>&5
7255 ac_status=$?
7256 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7257 test $ac_status = 0; }; then
7258 case `/usr/bin/file conftest.o` in
7259 *64-bit*)
7260 case $lt_cv_prog_gnu_ld in
7261 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7263 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7264 LD="${LD-ld} -64"
7267 esac
7269 esac
7271 rm -rf conftest*
7273 esac
7275 need_locks="$enable_libtool_lock"
7278 case $host_os in
7279 rhapsody* | darwin*)
7280 if test -n "$ac_tool_prefix"; then
7281 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7282 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7284 $as_echo_n "checking for $ac_word... " >&6; }
7285 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7286 $as_echo_n "(cached) " >&6
7287 else
7288 if test -n "$DSYMUTIL"; then
7289 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7290 else
7291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7292 for as_dir in $PATH
7294 IFS=$as_save_IFS
7295 test -z "$as_dir" && as_dir=.
7296 for ac_exec_ext in '' $ac_executable_extensions; do
7297 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7298 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7299 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7300 break 2
7302 done
7303 done
7304 IFS=$as_save_IFS
7308 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7309 if test -n "$DSYMUTIL"; then
7310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7311 $as_echo "$DSYMUTIL" >&6; }
7312 else
7313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7314 $as_echo "no" >&6; }
7319 if test -z "$ac_cv_prog_DSYMUTIL"; then
7320 ac_ct_DSYMUTIL=$DSYMUTIL
7321 # Extract the first word of "dsymutil", so it can be a program name with args.
7322 set dummy dsymutil; ac_word=$2
7323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7324 $as_echo_n "checking for $ac_word... " >&6; }
7325 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7326 $as_echo_n "(cached) " >&6
7327 else
7328 if test -n "$ac_ct_DSYMUTIL"; then
7329 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7330 else
7331 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7332 for as_dir in $PATH
7334 IFS=$as_save_IFS
7335 test -z "$as_dir" && as_dir=.
7336 for ac_exec_ext in '' $ac_executable_extensions; do
7337 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7338 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7339 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7340 break 2
7342 done
7343 done
7344 IFS=$as_save_IFS
7348 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7349 if test -n "$ac_ct_DSYMUTIL"; then
7350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7351 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7352 else
7353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7354 $as_echo "no" >&6; }
7357 if test "x$ac_ct_DSYMUTIL" = x; then
7358 DSYMUTIL=":"
7359 else
7360 case $cross_compiling:$ac_tool_warned in
7361 yes:)
7362 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7363 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7364 ac_tool_warned=yes ;;
7365 esac
7366 DSYMUTIL=$ac_ct_DSYMUTIL
7368 else
7369 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7372 if test -n "$ac_tool_prefix"; then
7373 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7374 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7376 $as_echo_n "checking for $ac_word... " >&6; }
7377 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7378 $as_echo_n "(cached) " >&6
7379 else
7380 if test -n "$NMEDIT"; then
7381 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7382 else
7383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7384 for as_dir in $PATH
7386 IFS=$as_save_IFS
7387 test -z "$as_dir" && as_dir=.
7388 for ac_exec_ext in '' $ac_executable_extensions; do
7389 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7390 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7391 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7392 break 2
7394 done
7395 done
7396 IFS=$as_save_IFS
7400 NMEDIT=$ac_cv_prog_NMEDIT
7401 if test -n "$NMEDIT"; then
7402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7403 $as_echo "$NMEDIT" >&6; }
7404 else
7405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7406 $as_echo "no" >&6; }
7411 if test -z "$ac_cv_prog_NMEDIT"; then
7412 ac_ct_NMEDIT=$NMEDIT
7413 # Extract the first word of "nmedit", so it can be a program name with args.
7414 set dummy nmedit; ac_word=$2
7415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7416 $as_echo_n "checking for $ac_word... " >&6; }
7417 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7418 $as_echo_n "(cached) " >&6
7419 else
7420 if test -n "$ac_ct_NMEDIT"; then
7421 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7422 else
7423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7424 for as_dir in $PATH
7426 IFS=$as_save_IFS
7427 test -z "$as_dir" && as_dir=.
7428 for ac_exec_ext in '' $ac_executable_extensions; do
7429 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7430 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7431 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7432 break 2
7434 done
7435 done
7436 IFS=$as_save_IFS
7440 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7441 if test -n "$ac_ct_NMEDIT"; then
7442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7443 $as_echo "$ac_ct_NMEDIT" >&6; }
7444 else
7445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7446 $as_echo "no" >&6; }
7449 if test "x$ac_ct_NMEDIT" = x; then
7450 NMEDIT=":"
7451 else
7452 case $cross_compiling:$ac_tool_warned in
7453 yes:)
7454 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7455 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7456 ac_tool_warned=yes ;;
7457 esac
7458 NMEDIT=$ac_ct_NMEDIT
7460 else
7461 NMEDIT="$ac_cv_prog_NMEDIT"
7464 if test -n "$ac_tool_prefix"; then
7465 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7466 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7468 $as_echo_n "checking for $ac_word... " >&6; }
7469 if test "${ac_cv_prog_LIPO+set}" = set; then :
7470 $as_echo_n "(cached) " >&6
7471 else
7472 if test -n "$LIPO"; then
7473 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7474 else
7475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7476 for as_dir in $PATH
7478 IFS=$as_save_IFS
7479 test -z "$as_dir" && as_dir=.
7480 for ac_exec_ext in '' $ac_executable_extensions; do
7481 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7482 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7483 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7484 break 2
7486 done
7487 done
7488 IFS=$as_save_IFS
7492 LIPO=$ac_cv_prog_LIPO
7493 if test -n "$LIPO"; then
7494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7495 $as_echo "$LIPO" >&6; }
7496 else
7497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7498 $as_echo "no" >&6; }
7503 if test -z "$ac_cv_prog_LIPO"; then
7504 ac_ct_LIPO=$LIPO
7505 # Extract the first word of "lipo", so it can be a program name with args.
7506 set dummy lipo; ac_word=$2
7507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7508 $as_echo_n "checking for $ac_word... " >&6; }
7509 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7510 $as_echo_n "(cached) " >&6
7511 else
7512 if test -n "$ac_ct_LIPO"; then
7513 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7514 else
7515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7516 for as_dir in $PATH
7518 IFS=$as_save_IFS
7519 test -z "$as_dir" && as_dir=.
7520 for ac_exec_ext in '' $ac_executable_extensions; do
7521 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7522 ac_cv_prog_ac_ct_LIPO="lipo"
7523 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7524 break 2
7526 done
7527 done
7528 IFS=$as_save_IFS
7532 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7533 if test -n "$ac_ct_LIPO"; then
7534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7535 $as_echo "$ac_ct_LIPO" >&6; }
7536 else
7537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7538 $as_echo "no" >&6; }
7541 if test "x$ac_ct_LIPO" = x; then
7542 LIPO=":"
7543 else
7544 case $cross_compiling:$ac_tool_warned in
7545 yes:)
7546 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7547 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7548 ac_tool_warned=yes ;;
7549 esac
7550 LIPO=$ac_ct_LIPO
7552 else
7553 LIPO="$ac_cv_prog_LIPO"
7556 if test -n "$ac_tool_prefix"; then
7557 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7558 set dummy ${ac_tool_prefix}otool; ac_word=$2
7559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7560 $as_echo_n "checking for $ac_word... " >&6; }
7561 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7562 $as_echo_n "(cached) " >&6
7563 else
7564 if test -n "$OTOOL"; then
7565 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7566 else
7567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7568 for as_dir in $PATH
7570 IFS=$as_save_IFS
7571 test -z "$as_dir" && as_dir=.
7572 for ac_exec_ext in '' $ac_executable_extensions; do
7573 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7574 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7575 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7576 break 2
7578 done
7579 done
7580 IFS=$as_save_IFS
7584 OTOOL=$ac_cv_prog_OTOOL
7585 if test -n "$OTOOL"; then
7586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7587 $as_echo "$OTOOL" >&6; }
7588 else
7589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7590 $as_echo "no" >&6; }
7595 if test -z "$ac_cv_prog_OTOOL"; then
7596 ac_ct_OTOOL=$OTOOL
7597 # Extract the first word of "otool", so it can be a program name with args.
7598 set dummy otool; ac_word=$2
7599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7600 $as_echo_n "checking for $ac_word... " >&6; }
7601 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7602 $as_echo_n "(cached) " >&6
7603 else
7604 if test -n "$ac_ct_OTOOL"; then
7605 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7606 else
7607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7608 for as_dir in $PATH
7610 IFS=$as_save_IFS
7611 test -z "$as_dir" && as_dir=.
7612 for ac_exec_ext in '' $ac_executable_extensions; do
7613 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7614 ac_cv_prog_ac_ct_OTOOL="otool"
7615 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7616 break 2
7618 done
7619 done
7620 IFS=$as_save_IFS
7624 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7625 if test -n "$ac_ct_OTOOL"; then
7626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7627 $as_echo "$ac_ct_OTOOL" >&6; }
7628 else
7629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7630 $as_echo "no" >&6; }
7633 if test "x$ac_ct_OTOOL" = x; then
7634 OTOOL=":"
7635 else
7636 case $cross_compiling:$ac_tool_warned in
7637 yes:)
7638 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7639 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7640 ac_tool_warned=yes ;;
7641 esac
7642 OTOOL=$ac_ct_OTOOL
7644 else
7645 OTOOL="$ac_cv_prog_OTOOL"
7648 if test -n "$ac_tool_prefix"; then
7649 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7650 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7652 $as_echo_n "checking for $ac_word... " >&6; }
7653 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7654 $as_echo_n "(cached) " >&6
7655 else
7656 if test -n "$OTOOL64"; then
7657 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7658 else
7659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7660 for as_dir in $PATH
7662 IFS=$as_save_IFS
7663 test -z "$as_dir" && as_dir=.
7664 for ac_exec_ext in '' $ac_executable_extensions; do
7665 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7666 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7667 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7668 break 2
7670 done
7671 done
7672 IFS=$as_save_IFS
7676 OTOOL64=$ac_cv_prog_OTOOL64
7677 if test -n "$OTOOL64"; then
7678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7679 $as_echo "$OTOOL64" >&6; }
7680 else
7681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7682 $as_echo "no" >&6; }
7687 if test -z "$ac_cv_prog_OTOOL64"; then
7688 ac_ct_OTOOL64=$OTOOL64
7689 # Extract the first word of "otool64", so it can be a program name with args.
7690 set dummy otool64; ac_word=$2
7691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7692 $as_echo_n "checking for $ac_word... " >&6; }
7693 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7694 $as_echo_n "(cached) " >&6
7695 else
7696 if test -n "$ac_ct_OTOOL64"; then
7697 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7698 else
7699 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7700 for as_dir in $PATH
7702 IFS=$as_save_IFS
7703 test -z "$as_dir" && as_dir=.
7704 for ac_exec_ext in '' $ac_executable_extensions; do
7705 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7706 ac_cv_prog_ac_ct_OTOOL64="otool64"
7707 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7708 break 2
7710 done
7711 done
7712 IFS=$as_save_IFS
7716 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7717 if test -n "$ac_ct_OTOOL64"; then
7718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7719 $as_echo "$ac_ct_OTOOL64" >&6; }
7720 else
7721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7722 $as_echo "no" >&6; }
7725 if test "x$ac_ct_OTOOL64" = x; then
7726 OTOOL64=":"
7727 else
7728 case $cross_compiling:$ac_tool_warned in
7729 yes:)
7730 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7731 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7732 ac_tool_warned=yes ;;
7733 esac
7734 OTOOL64=$ac_ct_OTOOL64
7736 else
7737 OTOOL64="$ac_cv_prog_OTOOL64"
7766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7767 $as_echo_n "checking for -single_module linker flag... " >&6; }
7768 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7769 $as_echo_n "(cached) " >&6
7770 else
7771 lt_cv_apple_cc_single_mod=no
7772 if test -z "${LT_MULTI_MODULE}"; then
7773 # By default we will add the -single_module flag. You can override
7774 # by either setting the environment variable LT_MULTI_MODULE
7775 # non-empty at configure time, or by adding -multi_module to the
7776 # link flags.
7777 rm -rf libconftest.dylib*
7778 echo "int foo(void){return 1;}" > conftest.c
7779 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7780 -dynamiclib -Wl,-single_module conftest.c" >&5
7781 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7782 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7783 _lt_result=$?
7784 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7785 lt_cv_apple_cc_single_mod=yes
7786 else
7787 cat conftest.err >&5
7789 rm -rf libconftest.dylib*
7790 rm -f conftest.*
7793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7794 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7796 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7797 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7798 $as_echo_n "(cached) " >&6
7799 else
7800 lt_cv_ld_exported_symbols_list=no
7801 save_LDFLAGS=$LDFLAGS
7802 echo "_main" > conftest.sym
7803 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7804 if test x$gcc_no_link = xyes; then
7805 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7808 /* end confdefs.h. */
7811 main ()
7815 return 0;
7817 _ACEOF
7818 if ac_fn_c_try_link "$LINENO"; then :
7819 lt_cv_ld_exported_symbols_list=yes
7820 else
7821 lt_cv_ld_exported_symbols_list=no
7823 rm -f core conftest.err conftest.$ac_objext \
7824 conftest$ac_exeext conftest.$ac_ext
7825 LDFLAGS="$save_LDFLAGS"
7828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7829 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7831 $as_echo_n "checking for -force_load linker flag... " >&6; }
7832 if test "${lt_cv_ld_force_load+set}" = set; then :
7833 $as_echo_n "(cached) " >&6
7834 else
7835 lt_cv_ld_force_load=no
7836 cat > conftest.c << _LT_EOF
7837 int forced_loaded() { return 2;}
7838 _LT_EOF
7839 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7840 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7841 echo "$AR cru libconftest.a conftest.o" >&5
7842 $AR cru libconftest.a conftest.o 2>&5
7843 cat > conftest.c << _LT_EOF
7844 int main() { return 0;}
7845 _LT_EOF
7846 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7847 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7848 _lt_result=$?
7849 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7850 lt_cv_ld_force_load=yes
7851 else
7852 cat conftest.err >&5
7854 rm -f conftest.err libconftest.a conftest conftest.c
7855 rm -rf conftest.dSYM
7858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7859 $as_echo "$lt_cv_ld_force_load" >&6; }
7860 case $host_os in
7861 rhapsody* | darwin1.[012])
7862 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7863 darwin1.*)
7864 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7865 darwin*) # darwin 5.x on
7866 # if running on 10.5 or later, the deployment target defaults
7867 # to the OS version, if on x86, and 10.4, the deployment
7868 # target defaults to 10.4. Don't you love it?
7869 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7870 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7871 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7872 10.[012][,.]*)
7873 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7874 10.*)
7875 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7876 esac
7878 esac
7879 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7880 _lt_dar_single_mod='$single_module'
7882 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7883 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7884 else
7885 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7887 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7888 _lt_dsymutil='~$DSYMUTIL $lib || :'
7889 else
7890 _lt_dsymutil=
7893 esac
7895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7896 $as_echo_n "checking for ANSI C header files... " >&6; }
7897 if test "${ac_cv_header_stdc+set}" = set; then :
7898 $as_echo_n "(cached) " >&6
7899 else
7900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7901 /* end confdefs.h. */
7902 #include <stdlib.h>
7903 #include <stdarg.h>
7904 #include <string.h>
7905 #include <float.h>
7908 main ()
7912 return 0;
7914 _ACEOF
7915 if ac_fn_c_try_compile "$LINENO"; then :
7916 ac_cv_header_stdc=yes
7917 else
7918 ac_cv_header_stdc=no
7920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7922 if test $ac_cv_header_stdc = yes; then
7923 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7925 /* end confdefs.h. */
7926 #include <string.h>
7928 _ACEOF
7929 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7930 $EGREP "memchr" >/dev/null 2>&1; then :
7932 else
7933 ac_cv_header_stdc=no
7935 rm -f conftest*
7939 if test $ac_cv_header_stdc = yes; then
7940 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7942 /* end confdefs.h. */
7943 #include <stdlib.h>
7945 _ACEOF
7946 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7947 $EGREP "free" >/dev/null 2>&1; then :
7949 else
7950 ac_cv_header_stdc=no
7952 rm -f conftest*
7956 if test $ac_cv_header_stdc = yes; then
7957 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7958 if test "$cross_compiling" = yes; then :
7960 else
7961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7962 /* end confdefs.h. */
7963 #include <ctype.h>
7964 #include <stdlib.h>
7965 #if ((' ' & 0x0FF) == 0x020)
7966 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7967 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7968 #else
7969 # define ISLOWER(c) \
7970 (('a' <= (c) && (c) <= 'i') \
7971 || ('j' <= (c) && (c) <= 'r') \
7972 || ('s' <= (c) && (c) <= 'z'))
7973 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7974 #endif
7976 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7978 main ()
7980 int i;
7981 for (i = 0; i < 256; i++)
7982 if (XOR (islower (i), ISLOWER (i))
7983 || toupper (i) != TOUPPER (i))
7984 return 2;
7985 return 0;
7987 _ACEOF
7988 if ac_fn_c_try_run "$LINENO"; then :
7990 else
7991 ac_cv_header_stdc=no
7993 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7994 conftest.$ac_objext conftest.beam conftest.$ac_ext
7999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8000 $as_echo "$ac_cv_header_stdc" >&6; }
8001 if test $ac_cv_header_stdc = yes; then
8003 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8007 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8008 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8009 inttypes.h stdint.h unistd.h
8010 do :
8011 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8012 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8014 eval as_val=\$$as_ac_Header
8015 if test "x$as_val" = x""yes; then :
8016 cat >>confdefs.h <<_ACEOF
8017 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8018 _ACEOF
8022 done
8025 for ac_header in dlfcn.h
8026 do :
8027 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8029 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
8030 cat >>confdefs.h <<_ACEOF
8031 #define HAVE_DLFCN_H 1
8032 _ACEOF
8036 done
8043 # Set options
8048 enable_win32_dll=no
8051 # Check whether --enable-shared was given.
8052 if test "${enable_shared+set}" = set; then :
8053 enableval=$enable_shared; p=${PACKAGE-default}
8054 case $enableval in
8055 yes) enable_shared=yes ;;
8056 no) enable_shared=no ;;
8058 enable_shared=no
8059 # Look at the argument we got. We use all the common list separators.
8060 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8061 for pkg in $enableval; do
8062 IFS="$lt_save_ifs"
8063 if test "X$pkg" = "X$p"; then
8064 enable_shared=yes
8066 done
8067 IFS="$lt_save_ifs"
8069 esac
8070 else
8071 enable_shared=yes
8082 # Check whether --enable-static was given.
8083 if test "${enable_static+set}" = set; then :
8084 enableval=$enable_static; p=${PACKAGE-default}
8085 case $enableval in
8086 yes) enable_static=yes ;;
8087 no) enable_static=no ;;
8089 enable_static=no
8090 # Look at the argument we got. We use all the common list separators.
8091 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8092 for pkg in $enableval; do
8093 IFS="$lt_save_ifs"
8094 if test "X$pkg" = "X$p"; then
8095 enable_static=yes
8097 done
8098 IFS="$lt_save_ifs"
8100 esac
8101 else
8102 enable_static=yes
8114 # Check whether --with-pic was given.
8115 if test "${with_pic+set}" = set; then :
8116 withval=$with_pic; pic_mode="$withval"
8117 else
8118 pic_mode=default
8122 test -z "$pic_mode" && pic_mode=default
8130 # Check whether --enable-fast-install was given.
8131 if test "${enable_fast_install+set}" = set; then :
8132 enableval=$enable_fast_install; p=${PACKAGE-default}
8133 case $enableval in
8134 yes) enable_fast_install=yes ;;
8135 no) enable_fast_install=no ;;
8137 enable_fast_install=no
8138 # Look at the argument we got. We use all the common list separators.
8139 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8140 for pkg in $enableval; do
8141 IFS="$lt_save_ifs"
8142 if test "X$pkg" = "X$p"; then
8143 enable_fast_install=yes
8145 done
8146 IFS="$lt_save_ifs"
8148 esac
8149 else
8150 enable_fast_install=yes
8163 # This can be used to rebuild libtool when needed
8164 LIBTOOL_DEPS="$ltmain"
8166 # Always use our own libtool.
8167 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8194 test -z "$LN_S" && LN_S="ln -s"
8209 if test -n "${ZSH_VERSION+set}" ; then
8210 setopt NO_GLOB_SUBST
8213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8214 $as_echo_n "checking for objdir... " >&6; }
8215 if test "${lt_cv_objdir+set}" = set; then :
8216 $as_echo_n "(cached) " >&6
8217 else
8218 rm -f .libs 2>/dev/null
8219 mkdir .libs 2>/dev/null
8220 if test -d .libs; then
8221 lt_cv_objdir=.libs
8222 else
8223 # MS-DOS does not allow filenames that begin with a dot.
8224 lt_cv_objdir=_libs
8226 rmdir .libs 2>/dev/null
8228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8229 $as_echo "$lt_cv_objdir" >&6; }
8230 objdir=$lt_cv_objdir
8236 cat >>confdefs.h <<_ACEOF
8237 #define LT_OBJDIR "$lt_cv_objdir/"
8238 _ACEOF
8243 case $host_os in
8244 aix3*)
8245 # AIX sometimes has problems with the GCC collect2 program. For some
8246 # reason, if we set the COLLECT_NAMES environment variable, the problems
8247 # vanish in a puff of smoke.
8248 if test "X${COLLECT_NAMES+set}" != Xset; then
8249 COLLECT_NAMES=
8250 export COLLECT_NAMES
8253 esac
8255 # Global variables:
8256 ofile=libtool
8257 can_build_shared=yes
8259 # All known linkers require a `.a' archive for static linking (except MSVC,
8260 # which needs '.lib').
8261 libext=a
8263 with_gnu_ld="$lt_cv_prog_gnu_ld"
8265 old_CC="$CC"
8266 old_CFLAGS="$CFLAGS"
8268 # Set sane defaults for various variables
8269 test -z "$CC" && CC=cc
8270 test -z "$LTCC" && LTCC=$CC
8271 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8272 test -z "$LD" && LD=ld
8273 test -z "$ac_objext" && ac_objext=o
8275 for cc_temp in $compiler""; do
8276 case $cc_temp in
8277 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8278 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8279 \-*) ;;
8280 *) break;;
8281 esac
8282 done
8283 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8286 # Only perform the check for file, if the check method requires it
8287 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8288 case $deplibs_check_method in
8289 file_magic*)
8290 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8292 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8293 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8294 $as_echo_n "(cached) " >&6
8295 else
8296 case $MAGIC_CMD in
8297 [\\/*] | ?:[\\/]*)
8298 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8301 lt_save_MAGIC_CMD="$MAGIC_CMD"
8302 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8303 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8304 for ac_dir in $ac_dummy; do
8305 IFS="$lt_save_ifs"
8306 test -z "$ac_dir" && ac_dir=.
8307 if test -f $ac_dir/${ac_tool_prefix}file; then
8308 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8309 if test -n "$file_magic_test_file"; then
8310 case $deplibs_check_method in
8311 "file_magic "*)
8312 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8313 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8314 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8315 $EGREP "$file_magic_regex" > /dev/null; then
8317 else
8318 cat <<_LT_EOF 1>&2
8320 *** Warning: the command libtool uses to detect shared libraries,
8321 *** $file_magic_cmd, produces output that libtool cannot recognize.
8322 *** The result is that libtool may fail to recognize shared libraries
8323 *** as such. This will affect the creation of libtool libraries that
8324 *** depend on shared libraries, but programs linked with such libtool
8325 *** libraries will work regardless of this problem. Nevertheless, you
8326 *** may want to report the problem to your system manager and/or to
8327 *** bug-libtool@gnu.org
8329 _LT_EOF
8330 fi ;;
8331 esac
8333 break
8335 done
8336 IFS="$lt_save_ifs"
8337 MAGIC_CMD="$lt_save_MAGIC_CMD"
8339 esac
8342 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8343 if test -n "$MAGIC_CMD"; then
8344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8345 $as_echo "$MAGIC_CMD" >&6; }
8346 else
8347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8348 $as_echo "no" >&6; }
8355 if test -z "$lt_cv_path_MAGIC_CMD"; then
8356 if test -n "$ac_tool_prefix"; then
8357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8358 $as_echo_n "checking for file... " >&6; }
8359 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8360 $as_echo_n "(cached) " >&6
8361 else
8362 case $MAGIC_CMD in
8363 [\\/*] | ?:[\\/]*)
8364 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8367 lt_save_MAGIC_CMD="$MAGIC_CMD"
8368 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8369 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8370 for ac_dir in $ac_dummy; do
8371 IFS="$lt_save_ifs"
8372 test -z "$ac_dir" && ac_dir=.
8373 if test -f $ac_dir/file; then
8374 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8375 if test -n "$file_magic_test_file"; then
8376 case $deplibs_check_method in
8377 "file_magic "*)
8378 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8379 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8380 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8381 $EGREP "$file_magic_regex" > /dev/null; then
8383 else
8384 cat <<_LT_EOF 1>&2
8386 *** Warning: the command libtool uses to detect shared libraries,
8387 *** $file_magic_cmd, produces output that libtool cannot recognize.
8388 *** The result is that libtool may fail to recognize shared libraries
8389 *** as such. This will affect the creation of libtool libraries that
8390 *** depend on shared libraries, but programs linked with such libtool
8391 *** libraries will work regardless of this problem. Nevertheless, you
8392 *** may want to report the problem to your system manager and/or to
8393 *** bug-libtool@gnu.org
8395 _LT_EOF
8396 fi ;;
8397 esac
8399 break
8401 done
8402 IFS="$lt_save_ifs"
8403 MAGIC_CMD="$lt_save_MAGIC_CMD"
8405 esac
8408 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8409 if test -n "$MAGIC_CMD"; then
8410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8411 $as_echo "$MAGIC_CMD" >&6; }
8412 else
8413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8414 $as_echo "no" >&6; }
8418 else
8419 MAGIC_CMD=:
8425 esac
8427 # Use C for the default configuration in the libtool script
8429 lt_save_CC="$CC"
8430 ac_ext=c
8431 ac_cpp='$CPP $CPPFLAGS'
8432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8437 # Source file extension for C test sources.
8438 ac_ext=c
8440 # Object file extension for compiled C test sources.
8441 objext=o
8442 objext=$objext
8444 # Code to be used in simple compile tests
8445 lt_simple_compile_test_code="int some_variable = 0;"
8447 # Code to be used in simple link tests
8448 lt_simple_link_test_code='int main(){return(0);}'
8456 # If no C compiler was specified, use CC.
8457 LTCC=${LTCC-"$CC"}
8459 # If no C compiler flags were specified, use CFLAGS.
8460 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8462 # Allow CC to be a program name with arguments.
8463 compiler=$CC
8465 # Save the default compiler, since it gets overwritten when the other
8466 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8467 compiler_DEFAULT=$CC
8469 # save warnings/boilerplate of simple test code
8470 ac_outfile=conftest.$ac_objext
8471 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8472 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8473 _lt_compiler_boilerplate=`cat conftest.err`
8474 $RM conftest*
8476 ac_outfile=conftest.$ac_objext
8477 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8478 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8479 _lt_linker_boilerplate=`cat conftest.err`
8480 $RM -r conftest*
8483 ## CAVEAT EMPTOR:
8484 ## There is no encapsulation within the following macros, do not change
8485 ## the running order or otherwise move them around unless you know exactly
8486 ## what you are doing...
8487 if test -n "$compiler"; then
8489 lt_prog_compiler_no_builtin_flag=
8491 if test "$GCC" = yes; then
8492 case $cc_basename in
8493 nvcc*)
8494 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8496 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8497 esac
8499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8500 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8501 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8502 $as_echo_n "(cached) " >&6
8503 else
8504 lt_cv_prog_compiler_rtti_exceptions=no
8505 ac_outfile=conftest.$ac_objext
8506 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8507 lt_compiler_flag="-fno-rtti -fno-exceptions"
8508 # Insert the option either (1) after the last *FLAGS variable, or
8509 # (2) before a word containing "conftest.", or (3) at the end.
8510 # Note that $ac_compile itself does not contain backslashes and begins
8511 # with a dollar sign (not a hyphen), so the echo should work correctly.
8512 # The option is referenced via a variable to avoid confusing sed.
8513 lt_compile=`echo "$ac_compile" | $SED \
8514 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8515 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8516 -e 's:$: $lt_compiler_flag:'`
8517 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8518 (eval "$lt_compile" 2>conftest.err)
8519 ac_status=$?
8520 cat conftest.err >&5
8521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8522 if (exit $ac_status) && test -s "$ac_outfile"; then
8523 # The compiler can only warn and ignore the option if not recognized
8524 # So say no if there are warnings other than the usual output.
8525 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8526 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8527 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8528 lt_cv_prog_compiler_rtti_exceptions=yes
8531 $RM conftest*
8534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8535 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8537 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8538 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8539 else
8550 lt_prog_compiler_wl=
8551 lt_prog_compiler_pic=
8552 lt_prog_compiler_static=
8554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8555 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8557 if test "$GCC" = yes; then
8558 lt_prog_compiler_wl='-Wl,'
8559 lt_prog_compiler_static='-static'
8561 case $host_os in
8562 aix*)
8563 # All AIX code is PIC.
8564 if test "$host_cpu" = ia64; then
8565 # AIX 5 now supports IA64 processor
8566 lt_prog_compiler_static='-Bstatic'
8568 lt_prog_compiler_pic='-fPIC'
8571 amigaos*)
8572 case $host_cpu in
8573 powerpc)
8574 # see comment about AmigaOS4 .so support
8575 lt_prog_compiler_pic='-fPIC'
8577 m68k)
8578 # FIXME: we need at least 68020 code to build shared libraries, but
8579 # adding the `-m68020' flag to GCC prevents building anything better,
8580 # like `-m68040'.
8581 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8583 esac
8586 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8587 # PIC is the default for these OSes.
8590 mingw* | cygwin* | pw32* | os2* | cegcc*)
8591 # This hack is so that the source file can tell whether it is being
8592 # built for inclusion in a dll (and should export symbols for example).
8593 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8594 # (--disable-auto-import) libraries
8595 lt_prog_compiler_pic='-DDLL_EXPORT'
8598 darwin* | rhapsody*)
8599 # PIC is the default on this platform
8600 # Common symbols not allowed in MH_DYLIB files
8601 lt_prog_compiler_pic='-fno-common'
8604 haiku*)
8605 # PIC is the default for Haiku.
8606 # The "-static" flag exists, but is broken.
8607 lt_prog_compiler_static=
8610 hpux*)
8611 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8612 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8613 # sets the default TLS model and affects inlining.
8614 case $host_cpu in
8615 hppa*64*)
8616 # +Z the default
8619 lt_prog_compiler_pic='-fPIC'
8621 esac
8624 interix[3-9]*)
8625 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8626 # Instead, we relocate shared libraries at runtime.
8629 msdosdjgpp*)
8630 # Just because we use GCC doesn't mean we suddenly get shared libraries
8631 # on systems that don't support them.
8632 lt_prog_compiler_can_build_shared=no
8633 enable_shared=no
8636 *nto* | *qnx*)
8637 # QNX uses GNU C++, but need to define -shared option too, otherwise
8638 # it will coredump.
8639 lt_prog_compiler_pic='-fPIC -shared'
8642 sysv4*MP*)
8643 if test -d /usr/nec; then
8644 lt_prog_compiler_pic=-Kconform_pic
8649 lt_prog_compiler_pic='-fPIC'
8651 esac
8653 case $cc_basename in
8654 nvcc*) # Cuda Compiler Driver 2.2
8655 lt_prog_compiler_wl='-Xlinker '
8656 lt_prog_compiler_pic='-Xcompiler -fPIC'
8658 esac
8659 else
8660 # PORTME Check for flag to pass linker flags through the system compiler.
8661 case $host_os in
8662 aix*)
8663 lt_prog_compiler_wl='-Wl,'
8664 if test "$host_cpu" = ia64; then
8665 # AIX 5 now supports IA64 processor
8666 lt_prog_compiler_static='-Bstatic'
8667 else
8668 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8672 mingw* | cygwin* | pw32* | os2* | cegcc*)
8673 # This hack is so that the source file can tell whether it is being
8674 # built for inclusion in a dll (and should export symbols for example).
8675 lt_prog_compiler_pic='-DDLL_EXPORT'
8678 hpux9* | hpux10* | hpux11*)
8679 lt_prog_compiler_wl='-Wl,'
8680 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8681 # not for PA HP-UX.
8682 case $host_cpu in
8683 hppa*64*|ia64*)
8684 # +Z the default
8687 lt_prog_compiler_pic='+Z'
8689 esac
8690 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8691 lt_prog_compiler_static='${wl}-a ${wl}archive'
8694 irix5* | irix6* | nonstopux*)
8695 lt_prog_compiler_wl='-Wl,'
8696 # PIC (with -KPIC) is the default.
8697 lt_prog_compiler_static='-non_shared'
8700 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8701 case $cc_basename in
8702 # old Intel for x86_64 which still supported -KPIC.
8703 ecc*)
8704 lt_prog_compiler_wl='-Wl,'
8705 lt_prog_compiler_pic='-KPIC'
8706 lt_prog_compiler_static='-static'
8708 # icc used to be incompatible with GCC.
8709 # ICC 10 doesn't accept -KPIC any more.
8710 icc* | ifort*)
8711 lt_prog_compiler_wl='-Wl,'
8712 lt_prog_compiler_pic='-fPIC'
8713 lt_prog_compiler_static='-static'
8715 # Lahey Fortran 8.1.
8716 lf95*)
8717 lt_prog_compiler_wl='-Wl,'
8718 lt_prog_compiler_pic='--shared'
8719 lt_prog_compiler_static='--static'
8721 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8722 # Portland Group compilers (*not* the Pentium gcc compiler,
8723 # which looks to be a dead project)
8724 lt_prog_compiler_wl='-Wl,'
8725 lt_prog_compiler_pic='-fpic'
8726 lt_prog_compiler_static='-Bstatic'
8728 ccc*)
8729 lt_prog_compiler_wl='-Wl,'
8730 # All Alpha code is PIC.
8731 lt_prog_compiler_static='-non_shared'
8733 xl* | bgxl* | bgf* | mpixl*)
8734 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8735 lt_prog_compiler_wl='-Wl,'
8736 lt_prog_compiler_pic='-qpic'
8737 lt_prog_compiler_static='-qstaticlink'
8740 case `$CC -V 2>&1 | sed 5q` in
8741 *Sun\ F* | *Sun*Fortran*)
8742 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8743 lt_prog_compiler_pic='-KPIC'
8744 lt_prog_compiler_static='-Bstatic'
8745 lt_prog_compiler_wl=''
8747 *Sun\ C*)
8748 # Sun C 5.9
8749 lt_prog_compiler_pic='-KPIC'
8750 lt_prog_compiler_static='-Bstatic'
8751 lt_prog_compiler_wl='-Wl,'
8753 esac
8755 esac
8758 newsos6)
8759 lt_prog_compiler_pic='-KPIC'
8760 lt_prog_compiler_static='-Bstatic'
8763 *nto* | *qnx*)
8764 # QNX uses GNU C++, but need to define -shared option too, otherwise
8765 # it will coredump.
8766 lt_prog_compiler_pic='-fPIC -shared'
8769 osf3* | osf4* | osf5*)
8770 lt_prog_compiler_wl='-Wl,'
8771 # All OSF/1 code is PIC.
8772 lt_prog_compiler_static='-non_shared'
8775 rdos*)
8776 lt_prog_compiler_static='-non_shared'
8779 solaris*)
8780 lt_prog_compiler_pic='-KPIC'
8781 lt_prog_compiler_static='-Bstatic'
8782 case $cc_basename in
8783 f77* | f90* | f95*)
8784 lt_prog_compiler_wl='-Qoption ld ';;
8786 lt_prog_compiler_wl='-Wl,';;
8787 esac
8790 sunos4*)
8791 lt_prog_compiler_wl='-Qoption ld '
8792 lt_prog_compiler_pic='-PIC'
8793 lt_prog_compiler_static='-Bstatic'
8796 sysv4 | sysv4.2uw2* | sysv4.3*)
8797 lt_prog_compiler_wl='-Wl,'
8798 lt_prog_compiler_pic='-KPIC'
8799 lt_prog_compiler_static='-Bstatic'
8802 sysv4*MP*)
8803 if test -d /usr/nec ;then
8804 lt_prog_compiler_pic='-Kconform_pic'
8805 lt_prog_compiler_static='-Bstatic'
8809 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8810 lt_prog_compiler_wl='-Wl,'
8811 lt_prog_compiler_pic='-KPIC'
8812 lt_prog_compiler_static='-Bstatic'
8815 unicos*)
8816 lt_prog_compiler_wl='-Wl,'
8817 lt_prog_compiler_can_build_shared=no
8820 uts4*)
8821 lt_prog_compiler_pic='-pic'
8822 lt_prog_compiler_static='-Bstatic'
8826 lt_prog_compiler_can_build_shared=no
8828 esac
8831 case $host_os in
8832 # For platforms which do not support PIC, -DPIC is meaningless:
8833 *djgpp*)
8834 lt_prog_compiler_pic=
8837 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8839 esac
8840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8841 $as_echo "$lt_prog_compiler_pic" >&6; }
8849 # Check to make sure the PIC flag actually works.
8851 if test -n "$lt_prog_compiler_pic"; then
8852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8853 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8854 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8855 $as_echo_n "(cached) " >&6
8856 else
8857 lt_cv_prog_compiler_pic_works=no
8858 ac_outfile=conftest.$ac_objext
8859 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8860 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8861 # Insert the option either (1) after the last *FLAGS variable, or
8862 # (2) before a word containing "conftest.", or (3) at the end.
8863 # Note that $ac_compile itself does not contain backslashes and begins
8864 # with a dollar sign (not a hyphen), so the echo should work correctly.
8865 # The option is referenced via a variable to avoid confusing sed.
8866 lt_compile=`echo "$ac_compile" | $SED \
8867 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8868 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8869 -e 's:$: $lt_compiler_flag:'`
8870 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8871 (eval "$lt_compile" 2>conftest.err)
8872 ac_status=$?
8873 cat conftest.err >&5
8874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8875 if (exit $ac_status) && test -s "$ac_outfile"; then
8876 # The compiler can only warn and ignore the option if not recognized
8877 # So say no if there are warnings other than the usual output.
8878 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8879 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8880 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8881 lt_cv_prog_compiler_pic_works=yes
8884 $RM conftest*
8887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8888 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8890 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8891 case $lt_prog_compiler_pic in
8892 "" | " "*) ;;
8893 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8894 esac
8895 else
8896 lt_prog_compiler_pic=
8897 lt_prog_compiler_can_build_shared=no
8908 # Check to make sure the static flag actually works.
8910 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8912 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8913 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8914 $as_echo_n "(cached) " >&6
8915 else
8916 lt_cv_prog_compiler_static_works=no
8917 save_LDFLAGS="$LDFLAGS"
8918 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8919 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8920 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8921 # The linker can only warn and ignore the option if not recognized
8922 # So say no if there are warnings
8923 if test -s conftest.err; then
8924 # Append any errors to the config.log.
8925 cat conftest.err 1>&5
8926 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8927 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8928 if diff conftest.exp conftest.er2 >/dev/null; then
8929 lt_cv_prog_compiler_static_works=yes
8931 else
8932 lt_cv_prog_compiler_static_works=yes
8935 $RM -r conftest*
8936 LDFLAGS="$save_LDFLAGS"
8939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8940 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8942 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8944 else
8945 lt_prog_compiler_static=
8954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8955 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8956 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8957 $as_echo_n "(cached) " >&6
8958 else
8959 lt_cv_prog_compiler_c_o=no
8960 $RM -r conftest 2>/dev/null
8961 mkdir conftest
8962 cd conftest
8963 mkdir out
8964 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8966 lt_compiler_flag="-o out/conftest2.$ac_objext"
8967 # Insert the option either (1) after the last *FLAGS variable, or
8968 # (2) before a word containing "conftest.", or (3) at the end.
8969 # Note that $ac_compile itself does not contain backslashes and begins
8970 # with a dollar sign (not a hyphen), so the echo should work correctly.
8971 lt_compile=`echo "$ac_compile" | $SED \
8972 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8973 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8974 -e 's:$: $lt_compiler_flag:'`
8975 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8976 (eval "$lt_compile" 2>out/conftest.err)
8977 ac_status=$?
8978 cat out/conftest.err >&5
8979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8980 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8981 then
8982 # The compiler can only warn and ignore the option if not recognized
8983 # So say no if there are warnings
8984 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8985 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8986 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8987 lt_cv_prog_compiler_c_o=yes
8990 chmod u+w . 2>&5
8991 $RM conftest*
8992 # SGI C++ compiler will create directory out/ii_files/ for
8993 # template instantiation
8994 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8995 $RM out/* && rmdir out
8996 cd ..
8997 $RM -r conftest
8998 $RM conftest*
9001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9002 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9010 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9011 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9012 $as_echo_n "(cached) " >&6
9013 else
9014 lt_cv_prog_compiler_c_o=no
9015 $RM -r conftest 2>/dev/null
9016 mkdir conftest
9017 cd conftest
9018 mkdir out
9019 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9021 lt_compiler_flag="-o out/conftest2.$ac_objext"
9022 # Insert the option either (1) after the last *FLAGS variable, or
9023 # (2) before a word containing "conftest.", or (3) at the end.
9024 # Note that $ac_compile itself does not contain backslashes and begins
9025 # with a dollar sign (not a hyphen), so the echo should work correctly.
9026 lt_compile=`echo "$ac_compile" | $SED \
9027 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9028 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9029 -e 's:$: $lt_compiler_flag:'`
9030 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9031 (eval "$lt_compile" 2>out/conftest.err)
9032 ac_status=$?
9033 cat out/conftest.err >&5
9034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9035 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9036 then
9037 # The compiler can only warn and ignore the option if not recognized
9038 # So say no if there are warnings
9039 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9040 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9041 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9042 lt_cv_prog_compiler_c_o=yes
9045 chmod u+w . 2>&5
9046 $RM conftest*
9047 # SGI C++ compiler will create directory out/ii_files/ for
9048 # template instantiation
9049 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9050 $RM out/* && rmdir out
9051 cd ..
9052 $RM -r conftest
9053 $RM conftest*
9056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9057 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9062 hard_links="nottested"
9063 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9064 # do not overwrite the value of need_locks provided by the user
9065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9066 $as_echo_n "checking if we can lock with hard links... " >&6; }
9067 hard_links=yes
9068 $RM conftest*
9069 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9070 touch conftest.a
9071 ln conftest.a conftest.b 2>&5 || hard_links=no
9072 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9074 $as_echo "$hard_links" >&6; }
9075 if test "$hard_links" = no; then
9076 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9077 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9078 need_locks=warn
9080 else
9081 need_locks=no
9089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9090 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9092 runpath_var=
9093 allow_undefined_flag=
9094 always_export_symbols=no
9095 archive_cmds=
9096 archive_expsym_cmds=
9097 compiler_needs_object=no
9098 enable_shared_with_static_runtimes=no
9099 export_dynamic_flag_spec=
9100 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9101 hardcode_automatic=no
9102 hardcode_direct=no
9103 hardcode_direct_absolute=no
9104 hardcode_libdir_flag_spec=
9105 hardcode_libdir_flag_spec_ld=
9106 hardcode_libdir_separator=
9107 hardcode_minus_L=no
9108 hardcode_shlibpath_var=unsupported
9109 inherit_rpath=no
9110 link_all_deplibs=unknown
9111 module_cmds=
9112 module_expsym_cmds=
9113 old_archive_from_new_cmds=
9114 old_archive_from_expsyms_cmds=
9115 thread_safe_flag_spec=
9116 whole_archive_flag_spec=
9117 # include_expsyms should be a list of space-separated symbols to be *always*
9118 # included in the symbol list
9119 include_expsyms=
9120 # exclude_expsyms can be an extended regexp of symbols to exclude
9121 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9122 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9123 # as well as any symbol that contains `d'.
9124 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9125 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9126 # platforms (ab)use it in PIC code, but their linkers get confused if
9127 # the symbol is explicitly referenced. Since portable code cannot
9128 # rely on this symbol name, it's probably fine to never include it in
9129 # preloaded symbol tables.
9130 # Exclude shared library initialization/finalization symbols.
9131 extract_expsyms_cmds=
9133 case $host_os in
9134 cygwin* | mingw* | pw32* | cegcc*)
9135 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9136 # When not using gcc, we currently assume that we are using
9137 # Microsoft Visual C++.
9138 if test "$GCC" != yes; then
9139 with_gnu_ld=no
9142 interix*)
9143 # we just hope/assume this is gcc and not c89 (= MSVC++)
9144 with_gnu_ld=yes
9146 openbsd*)
9147 with_gnu_ld=no
9149 esac
9151 ld_shlibs=yes
9153 # On some targets, GNU ld is compatible enough with the native linker
9154 # that we're better off using the native interface for both.
9155 lt_use_gnu_ld_interface=no
9156 if test "$with_gnu_ld" = yes; then
9157 case $host_os in
9158 aix*)
9159 # The AIX port of GNU ld has always aspired to compatibility
9160 # with the native linker. However, as the warning in the GNU ld
9161 # block says, versions before 2.19.5* couldn't really create working
9162 # shared libraries, regardless of the interface used.
9163 case `$LD -v 2>&1` in
9164 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9165 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9166 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9168 lt_use_gnu_ld_interface=yes
9170 esac
9173 lt_use_gnu_ld_interface=yes
9175 esac
9178 if test "$lt_use_gnu_ld_interface" = yes; then
9179 # If archive_cmds runs LD, not CC, wlarc should be empty
9180 wlarc='${wl}'
9182 # Set some defaults for GNU ld with shared library support. These
9183 # are reset later if shared libraries are not supported. Putting them
9184 # here allows them to be overridden if necessary.
9185 runpath_var=LD_RUN_PATH
9186 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9187 export_dynamic_flag_spec='${wl}--export-dynamic'
9188 # ancient GNU ld didn't support --whole-archive et. al.
9189 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9190 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9191 else
9192 whole_archive_flag_spec=
9194 supports_anon_versioning=no
9195 case `$LD -v 2>&1` in
9196 *GNU\ gold*) supports_anon_versioning=yes ;;
9197 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9198 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9199 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9200 *\ 2.11.*) ;; # other 2.11 versions
9201 *) supports_anon_versioning=yes ;;
9202 esac
9204 # See if GNU ld supports shared libraries.
9205 case $host_os in
9206 aix[3-9]*)
9207 # On AIX/PPC, the GNU linker is very broken
9208 if test "$host_cpu" != ia64; then
9209 ld_shlibs=no
9210 cat <<_LT_EOF 1>&2
9212 *** Warning: the GNU linker, at least up to release 2.19, is reported
9213 *** to be unable to reliably create shared libraries on AIX.
9214 *** Therefore, libtool is disabling shared libraries support. If you
9215 *** really care for shared libraries, you may want to install binutils
9216 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9217 *** You will then need to restart the configuration process.
9219 _LT_EOF
9223 amigaos*)
9224 case $host_cpu in
9225 powerpc)
9226 # see comment about AmigaOS4 .so support
9227 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9228 archive_expsym_cmds=''
9230 m68k)
9231 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
9232 hardcode_libdir_flag_spec='-L$libdir'
9233 hardcode_minus_L=yes
9235 esac
9238 beos*)
9239 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9240 allow_undefined_flag=unsupported
9241 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9242 # support --undefined. This deserves some investigation. FIXME
9243 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9244 else
9245 ld_shlibs=no
9249 cygwin* | mingw* | pw32* | cegcc*)
9250 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9251 # as there is no search path for DLLs.
9252 hardcode_libdir_flag_spec='-L$libdir'
9253 export_dynamic_flag_spec='${wl}--export-all-symbols'
9254 allow_undefined_flag=unsupported
9255 always_export_symbols=no
9256 enable_shared_with_static_runtimes=yes
9257 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9259 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9260 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9261 # If the export-symbols file already is a .def file (1st line
9262 # is EXPORTS), use it as is; otherwise, prepend...
9263 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9264 cp $export_symbols $output_objdir/$soname.def;
9265 else
9266 echo EXPORTS > $output_objdir/$soname.def;
9267 cat $export_symbols >> $output_objdir/$soname.def;
9269 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9270 else
9271 ld_shlibs=no
9275 haiku*)
9276 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9277 link_all_deplibs=yes
9280 interix[3-9]*)
9281 hardcode_direct=no
9282 hardcode_shlibpath_var=no
9283 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9284 export_dynamic_flag_spec='${wl}-E'
9285 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9286 # Instead, shared libraries are loaded at an image base (0x10000000 by
9287 # default) and relocated if they conflict, which is a slow very memory
9288 # consuming and fragmenting process. To avoid this, we pick a random,
9289 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9290 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9291 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9292 archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9295 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9296 tmp_diet=no
9297 if test "$host_os" = linux-dietlibc; then
9298 case $cc_basename in
9299 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9300 esac
9302 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9303 && test "$tmp_diet" = no
9304 then
9305 tmp_addflag=' $pic_flag'
9306 tmp_sharedflag='-shared'
9307 case $cc_basename,$host_cpu in
9308 pgcc*) # Portland Group C compiler
9309 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9310 tmp_addflag=' $pic_flag'
9312 pgf77* | pgf90* | pgf95* | pgfortran*)
9313 # Portland Group f77 and f90 compilers
9314 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9315 tmp_addflag=' $pic_flag -Mnomain' ;;
9316 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9317 tmp_addflag=' -i_dynamic' ;;
9318 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9319 tmp_addflag=' -i_dynamic -nofor_main' ;;
9320 ifc* | ifort*) # Intel Fortran compiler
9321 tmp_addflag=' -nofor_main' ;;
9322 lf95*) # Lahey Fortran 8.1
9323 whole_archive_flag_spec=
9324 tmp_sharedflag='--shared' ;;
9325 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9326 tmp_sharedflag='-qmkshrobj'
9327 tmp_addflag= ;;
9328 nvcc*) # Cuda Compiler Driver 2.2
9329 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9330 compiler_needs_object=yes
9332 esac
9333 case `$CC -V 2>&1 | sed 5q` in
9334 *Sun\ C*) # Sun C 5.9
9335 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9336 compiler_needs_object=yes
9337 tmp_sharedflag='-G' ;;
9338 *Sun\ F*) # Sun Fortran 8.3
9339 tmp_sharedflag='-G' ;;
9340 esac
9341 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9343 if test "x$supports_anon_versioning" = xyes; then
9344 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9345 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9346 echo "local: *; };" >> $output_objdir/$libname.ver~
9347 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9350 case $cc_basename in
9351 xlf* | bgf* | bgxlf* | mpixlf*)
9352 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9353 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9354 hardcode_libdir_flag_spec=
9355 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9356 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9357 if test "x$supports_anon_versioning" = xyes; then
9358 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9359 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9360 echo "local: *; };" >> $output_objdir/$libname.ver~
9361 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9364 esac
9365 else
9366 ld_shlibs=no
9370 netbsd*)
9371 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9372 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9373 wlarc=
9374 else
9375 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9376 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9380 solaris*)
9381 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9382 ld_shlibs=no
9383 cat <<_LT_EOF 1>&2
9385 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9386 *** create shared libraries on Solaris systems. Therefore, libtool
9387 *** is disabling shared libraries support. We urge you to upgrade GNU
9388 *** binutils to release 2.9.1 or newer. Another option is to modify
9389 *** your PATH or compiler configuration so that the native linker is
9390 *** used, and then restart.
9392 _LT_EOF
9393 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9394 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9395 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9396 else
9397 ld_shlibs=no
9401 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9402 case `$LD -v 2>&1` in
9403 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9404 ld_shlibs=no
9405 cat <<_LT_EOF 1>&2
9407 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9408 *** reliably create shared libraries on SCO systems. Therefore, libtool
9409 *** is disabling shared libraries support. We urge you to upgrade GNU
9410 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9411 *** your PATH or compiler configuration so that the native linker is
9412 *** used, and then restart.
9414 _LT_EOF
9417 # For security reasons, it is highly recommended that you always
9418 # use absolute paths for naming shared libraries, and exclude the
9419 # DT_RUNPATH tag from executables and libraries. But doing so
9420 # requires that you compile everything twice, which is a pain.
9421 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9422 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9423 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9424 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9425 else
9426 ld_shlibs=no
9429 esac
9432 sunos4*)
9433 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9434 wlarc=
9435 hardcode_direct=yes
9436 hardcode_shlibpath_var=no
9440 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9441 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9442 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9443 else
9444 ld_shlibs=no
9447 esac
9449 if test "$ld_shlibs" = no; then
9450 runpath_var=
9451 hardcode_libdir_flag_spec=
9452 export_dynamic_flag_spec=
9453 whole_archive_flag_spec=
9455 else
9456 # PORTME fill in a description of your system's linker (not GNU ld)
9457 case $host_os in
9458 aix3*)
9459 allow_undefined_flag=unsupported
9460 always_export_symbols=yes
9461 archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
9462 # Note: this linker hardcodes the directories in LIBPATH if there
9463 # are no directories specified by -L.
9464 hardcode_minus_L=yes
9465 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9466 # Neither direct hardcoding nor static linking is supported with a
9467 # broken collect2.
9468 hardcode_direct=unsupported
9472 aix[4-9]*)
9473 if test "$host_cpu" = ia64; then
9474 # On IA64, the linker does run time linking by default, so we don't
9475 # have to do anything special.
9476 aix_use_runtimelinking=no
9477 exp_sym_flag='-Bexport'
9478 no_entry_flag=""
9479 else
9480 # If we're using GNU nm, then we don't want the "-C" option.
9481 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9482 # Also, AIX nm treats weak defined symbols like other global
9483 # defined symbols, whereas GNU nm marks them as "W".
9484 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9485 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9486 else
9487 export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9489 aix_use_runtimelinking=no
9491 # Test if we are trying to use run time linking or normal
9492 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9493 # need to do runtime linking.
9494 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9495 for ld_flag in $LDFLAGS; do
9496 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9497 aix_use_runtimelinking=yes
9498 break
9500 done
9502 esac
9504 exp_sym_flag='-bexport'
9505 no_entry_flag='-bnoentry'
9508 # When large executables or shared objects are built, AIX ld can
9509 # have problems creating the table of contents. If linking a library
9510 # or program results in "error TOC overflow" add -mminimal-toc to
9511 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9512 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9514 archive_cmds=''
9515 hardcode_direct=yes
9516 hardcode_direct_absolute=yes
9517 hardcode_libdir_separator=':'
9518 link_all_deplibs=yes
9519 file_list_spec='${wl}-f,'
9521 if test "$GCC" = yes; then
9522 case $host_os in aix4.[012]|aix4.[012].*)
9523 # We only want to do this on AIX 4.2 and lower, the check
9524 # below for broken collect2 doesn't work under 4.3+
9525 collect2name=`${CC} -print-prog-name=collect2`
9526 if test -f "$collect2name" &&
9527 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9528 then
9529 # We have reworked collect2
9531 else
9532 # We have old collect2
9533 hardcode_direct=unsupported
9534 # It fails to find uninstalled libraries when the uninstalled
9535 # path is not listed in the libpath. Setting hardcode_minus_L
9536 # to unsupported forces relinking
9537 hardcode_minus_L=yes
9538 hardcode_libdir_flag_spec='-L$libdir'
9539 hardcode_libdir_separator=
9542 esac
9543 shared_flag='-shared'
9544 if test "$aix_use_runtimelinking" = yes; then
9545 shared_flag="$shared_flag "'${wl}-G'
9547 else
9548 # not using gcc
9549 if test "$host_cpu" = ia64; then
9550 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9551 # chokes on -Wl,-G. The following line is correct:
9552 shared_flag='-G'
9553 else
9554 if test "$aix_use_runtimelinking" = yes; then
9555 shared_flag='${wl}-G'
9556 else
9557 shared_flag='${wl}-bM:SRE'
9562 export_dynamic_flag_spec='${wl}-bexpall'
9563 # It seems that -bexpall does not export symbols beginning with
9564 # underscore (_), so it is better to generate a list of symbols to export.
9565 always_export_symbols=yes
9566 if test "$aix_use_runtimelinking" = yes; then
9567 # Warning - without using the other runtime loading flags (-brtl),
9568 # -berok will link without error, but may produce a broken library.
9569 allow_undefined_flag='-berok'
9570 # Determine the default libpath from the value encoded in an
9571 # empty executable.
9572 if test x$gcc_no_link = xyes; then
9573 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9576 /* end confdefs.h. */
9579 main ()
9583 return 0;
9585 _ACEOF
9586 if ac_fn_c_try_link "$LINENO"; then :
9588 lt_aix_libpath_sed='
9589 /Import File Strings/,/^$/ {
9590 /^0/ {
9591 s/^0 *\(.*\)$/\1/
9595 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9596 # Check for a 64-bit object if we didn't find anything.
9597 if test -z "$aix_libpath"; then
9598 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9601 rm -f core conftest.err conftest.$ac_objext \
9602 conftest$ac_exeext conftest.$ac_ext
9603 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9605 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9606 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9607 else
9608 if test "$host_cpu" = ia64; then
9609 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9610 allow_undefined_flag="-z nodefs"
9611 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
9612 else
9613 # Determine the default libpath from the value encoded in an
9614 # empty executable.
9615 if test x$gcc_no_link = xyes; then
9616 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9619 /* end confdefs.h. */
9622 main ()
9626 return 0;
9628 _ACEOF
9629 if ac_fn_c_try_link "$LINENO"; then :
9631 lt_aix_libpath_sed='
9632 /Import File Strings/,/^$/ {
9633 /^0/ {
9634 s/^0 *\(.*\)$/\1/
9638 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9639 # Check for a 64-bit object if we didn't find anything.
9640 if test -z "$aix_libpath"; then
9641 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9644 rm -f core conftest.err conftest.$ac_objext \
9645 conftest$ac_exeext conftest.$ac_ext
9646 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9648 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9649 # Warning - without using the other run time loading flags,
9650 # -berok will link without error, but may produce a broken library.
9651 no_undefined_flag=' ${wl}-bernotok'
9652 allow_undefined_flag=' ${wl}-berok'
9653 if test "$with_gnu_ld" = yes; then
9654 # We only use this code for GNU lds that support --whole-archive.
9655 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9656 else
9657 # Exported symbols can be pulled into shared objects from archives
9658 whole_archive_flag_spec='$convenience'
9660 archive_cmds_need_lc=yes
9661 # This is similar to how AIX traditionally builds its shared libraries.
9662 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
9667 amigaos*)
9668 case $host_cpu in
9669 powerpc)
9670 # see comment about AmigaOS4 .so support
9671 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9672 archive_expsym_cmds=''
9674 m68k)
9675 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
9676 hardcode_libdir_flag_spec='-L$libdir'
9677 hardcode_minus_L=yes
9679 esac
9682 bsdi[45]*)
9683 export_dynamic_flag_spec=-rdynamic
9686 cygwin* | mingw* | pw32* | cegcc*)
9687 # When not using gcc, we currently assume that we are using
9688 # Microsoft Visual C++.
9689 # hardcode_libdir_flag_spec is actually meaningless, as there is
9690 # no search path for DLLs.
9691 hardcode_libdir_flag_spec=' '
9692 allow_undefined_flag=unsupported
9693 # Tell ltmain to make .lib files, not .a files.
9694 libext=lib
9695 # Tell ltmain to make .dll files, not .so files.
9696 shrext_cmds=".dll"
9697 # FIXME: Setting linknames here is a bad hack.
9698 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9699 # The linker will automatically build a .lib file if we build a DLL.
9700 old_archive_from_new_cmds='true'
9701 # FIXME: Should let the user specify the lib program.
9702 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9703 fix_srcfile_path='`cygpath -w "$srcfile"`'
9704 enable_shared_with_static_runtimes=yes
9707 darwin* | rhapsody*)
9710 archive_cmds_need_lc=no
9711 hardcode_direct=no
9712 hardcode_automatic=yes
9713 hardcode_shlibpath_var=unsupported
9714 if test "$lt_cv_ld_force_load" = "yes"; then
9715 whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
9716 else
9717 whole_archive_flag_spec=''
9719 link_all_deplibs=yes
9720 allow_undefined_flag="$_lt_dar_allow_undefined"
9721 case $cc_basename in
9722 ifort*) _lt_dar_can_shared=yes ;;
9723 *) _lt_dar_can_shared=$GCC ;;
9724 esac
9725 if test "$_lt_dar_can_shared" = "yes"; then
9726 output_verbose_link_cmd=func_echo_all
9727 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9728 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9729 archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
9730 module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
9732 else
9733 ld_shlibs=no
9738 dgux*)
9739 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9740 hardcode_libdir_flag_spec='-L$libdir'
9741 hardcode_shlibpath_var=no
9744 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9745 # support. Future versions do this automatically, but an explicit c++rt0.o
9746 # does not break anything, and helps significantly (at the cost of a little
9747 # extra space).
9748 freebsd2.2*)
9749 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9750 hardcode_libdir_flag_spec='-R$libdir'
9751 hardcode_direct=yes
9752 hardcode_shlibpath_var=no
9755 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9756 freebsd2.*)
9757 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9758 hardcode_direct=yes
9759 hardcode_minus_L=yes
9760 hardcode_shlibpath_var=no
9763 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9764 freebsd* | dragonfly*)
9765 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9766 hardcode_libdir_flag_spec='-R$libdir'
9767 hardcode_direct=yes
9768 hardcode_shlibpath_var=no
9771 hpux9*)
9772 if test "$GCC" = yes; then
9773 archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9774 else
9775 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9777 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9778 hardcode_libdir_separator=:
9779 hardcode_direct=yes
9781 # hardcode_minus_L: Not really in the search PATH,
9782 # but as the default location of the library.
9783 hardcode_minus_L=yes
9784 export_dynamic_flag_spec='${wl}-E'
9787 hpux10*)
9788 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9789 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9790 else
9791 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9793 if test "$with_gnu_ld" = no; then
9794 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9795 hardcode_libdir_flag_spec_ld='+b $libdir'
9796 hardcode_libdir_separator=:
9797 hardcode_direct=yes
9798 hardcode_direct_absolute=yes
9799 export_dynamic_flag_spec='${wl}-E'
9800 # hardcode_minus_L: Not really in the search PATH,
9801 # but as the default location of the library.
9802 hardcode_minus_L=yes
9806 hpux11*)
9807 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9808 case $host_cpu in
9809 hppa*64*)
9810 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9812 ia64*)
9813 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9816 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9818 esac
9819 else
9820 case $host_cpu in
9821 hppa*64*)
9822 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9824 ia64*)
9825 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9829 # Older versions of the 11.00 compiler do not understand -b yet
9830 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9832 $as_echo_n "checking if $CC understands -b... " >&6; }
9833 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9834 $as_echo_n "(cached) " >&6
9835 else
9836 lt_cv_prog_compiler__b=no
9837 save_LDFLAGS="$LDFLAGS"
9838 LDFLAGS="$LDFLAGS -b"
9839 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9840 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9841 # The linker can only warn and ignore the option if not recognized
9842 # So say no if there are warnings
9843 if test -s conftest.err; then
9844 # Append any errors to the config.log.
9845 cat conftest.err 1>&5
9846 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9847 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9848 if diff conftest.exp conftest.er2 >/dev/null; then
9849 lt_cv_prog_compiler__b=yes
9851 else
9852 lt_cv_prog_compiler__b=yes
9855 $RM -r conftest*
9856 LDFLAGS="$save_LDFLAGS"
9859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9860 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9862 if test x"$lt_cv_prog_compiler__b" = xyes; then
9863 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9864 else
9865 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9869 esac
9871 if test "$with_gnu_ld" = no; then
9872 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9873 hardcode_libdir_separator=:
9875 case $host_cpu in
9876 hppa*64*|ia64*)
9877 hardcode_direct=no
9878 hardcode_shlibpath_var=no
9881 hardcode_direct=yes
9882 hardcode_direct_absolute=yes
9883 export_dynamic_flag_spec='${wl}-E'
9885 # hardcode_minus_L: Not really in the search PATH,
9886 # but as the default location of the library.
9887 hardcode_minus_L=yes
9889 esac
9893 irix5* | irix6* | nonstopux*)
9894 if test "$GCC" = yes; then
9895 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9896 # Try to use the -exported_symbol ld option, if it does not
9897 # work, assume that -exports_file does not work either and
9898 # implicitly export all symbols.
9899 save_LDFLAGS="$LDFLAGS"
9900 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9901 if test x$gcc_no_link = xyes; then
9902 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9905 /* end confdefs.h. */
9906 int foo(void) {}
9907 _ACEOF
9908 if ac_fn_c_try_link "$LINENO"; then :
9909 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
9912 rm -f core conftest.err conftest.$ac_objext \
9913 conftest$ac_exeext conftest.$ac_ext
9914 LDFLAGS="$save_LDFLAGS"
9915 else
9916 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9917 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
9919 archive_cmds_need_lc='no'
9920 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9921 hardcode_libdir_separator=:
9922 inherit_rpath=yes
9923 link_all_deplibs=yes
9926 netbsd*)
9927 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9928 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9929 else
9930 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9932 hardcode_libdir_flag_spec='-R$libdir'
9933 hardcode_direct=yes
9934 hardcode_shlibpath_var=no
9937 newsos6)
9938 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9939 hardcode_direct=yes
9940 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9941 hardcode_libdir_separator=:
9942 hardcode_shlibpath_var=no
9945 *nto* | *qnx*)
9948 openbsd*)
9949 if test -f /usr/libexec/ld.so; then
9950 hardcode_direct=yes
9951 hardcode_shlibpath_var=no
9952 hardcode_direct_absolute=yes
9953 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9954 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9955 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9956 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9957 export_dynamic_flag_spec='${wl}-E'
9958 else
9959 case $host_os in
9960 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9961 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9962 hardcode_libdir_flag_spec='-R$libdir'
9965 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9966 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9968 esac
9970 else
9971 ld_shlibs=no
9975 os2*)
9976 hardcode_libdir_flag_spec='-L$libdir'
9977 hardcode_minus_L=yes
9978 allow_undefined_flag=unsupported
9979 archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
9980 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9983 osf3*)
9984 if test "$GCC" = yes; then
9985 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9986 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9987 else
9988 allow_undefined_flag=' -expect_unresolved \*'
9989 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9991 archive_cmds_need_lc='no'
9992 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9993 hardcode_libdir_separator=:
9996 osf4* | osf5*) # as osf3* with the addition of -msym flag
9997 if test "$GCC" = yes; then
9998 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9999 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10000 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10001 else
10002 allow_undefined_flag=' -expect_unresolved \*'
10003 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10004 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
10005 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
10007 # Both c and cxx compiler support -rpath directly
10008 hardcode_libdir_flag_spec='-rpath $libdir'
10010 archive_cmds_need_lc='no'
10011 hardcode_libdir_separator=:
10014 solaris*)
10015 no_undefined_flag=' -z defs'
10016 if test "$GCC" = yes; then
10017 wlarc='${wl}'
10018 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10019 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10020 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10021 else
10022 case `$CC -V 2>&1` in
10023 *"Compilers 5.0"*)
10024 wlarc=''
10025 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10026 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10027 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10030 wlarc='${wl}'
10031 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10032 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10033 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10035 esac
10037 hardcode_libdir_flag_spec='-R$libdir'
10038 hardcode_shlibpath_var=no
10039 case $host_os in
10040 solaris2.[0-5] | solaris2.[0-5].*) ;;
10042 # The compiler driver will combine and reorder linker options,
10043 # but understands `-z linker_flag'. GCC discards it without `$wl',
10044 # but is careful enough not to reorder.
10045 # Supported since Solaris 2.6 (maybe 2.5.1?)
10046 if test "$GCC" = yes; then
10047 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10048 else
10049 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10052 esac
10053 link_all_deplibs=yes
10056 sunos4*)
10057 if test "x$host_vendor" = xsequent; then
10058 # Use $CC to link under sequent, because it throws in some extra .o
10059 # files that make .init and .fini sections work.
10060 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10061 else
10062 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10064 hardcode_libdir_flag_spec='-L$libdir'
10065 hardcode_direct=yes
10066 hardcode_minus_L=yes
10067 hardcode_shlibpath_var=no
10070 sysv4)
10071 case $host_vendor in
10072 sni)
10073 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10074 hardcode_direct=yes # is this really true???
10076 siemens)
10077 ## LD is ld it makes a PLAMLIB
10078 ## CC just makes a GrossModule.
10079 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10080 reload_cmds='$CC -r -o $output$reload_objs'
10081 hardcode_direct=no
10083 motorola)
10084 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10085 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10087 esac
10088 runpath_var='LD_RUN_PATH'
10089 hardcode_shlibpath_var=no
10092 sysv4.3*)
10093 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10094 hardcode_shlibpath_var=no
10095 export_dynamic_flag_spec='-Bexport'
10098 sysv4*MP*)
10099 if test -d /usr/nec; then
10100 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10101 hardcode_shlibpath_var=no
10102 runpath_var=LD_RUN_PATH
10103 hardcode_runpath_var=yes
10104 ld_shlibs=yes
10108 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10109 no_undefined_flag='${wl}-z,text'
10110 archive_cmds_need_lc=no
10111 hardcode_shlibpath_var=no
10112 runpath_var='LD_RUN_PATH'
10114 if test "$GCC" = yes; then
10115 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10116 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10117 else
10118 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10119 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10123 sysv5* | sco3.2v5* | sco5v6*)
10124 # Note: We can NOT use -z defs as we might desire, because we do not
10125 # link with -lc, and that would cause any symbols used from libc to
10126 # always be unresolved, which means just about no library would
10127 # ever link correctly. If we're not using GNU ld we use -z text
10128 # though, which does catch some bad symbols but isn't as heavy-handed
10129 # as -z defs.
10130 no_undefined_flag='${wl}-z,text'
10131 allow_undefined_flag='${wl}-z,nodefs'
10132 archive_cmds_need_lc=no
10133 hardcode_shlibpath_var=no
10134 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10135 hardcode_libdir_separator=':'
10136 link_all_deplibs=yes
10137 export_dynamic_flag_spec='${wl}-Bexport'
10138 runpath_var='LD_RUN_PATH'
10140 if test "$GCC" = yes; then
10141 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10142 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10143 else
10144 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10145 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10149 uts4*)
10150 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10151 hardcode_libdir_flag_spec='-L$libdir'
10152 hardcode_shlibpath_var=no
10156 ld_shlibs=no
10158 esac
10160 if test x$host_vendor = xsni; then
10161 case $host in
10162 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10163 export_dynamic_flag_spec='${wl}-Blargedynsym'
10165 esac
10169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10170 $as_echo "$ld_shlibs" >&6; }
10171 test "$ld_shlibs" = no && can_build_shared=no
10173 with_gnu_ld=$with_gnu_ld
10190 # Do we need to explicitly link libc?
10192 case "x$archive_cmds_need_lc" in
10193 x|xyes)
10194 # Assume -lc should be added
10195 archive_cmds_need_lc=yes
10197 if test "$enable_shared" = yes && test "$GCC" = yes; then
10198 case $archive_cmds in
10199 *'~'*)
10200 # FIXME: we may have to deal with multi-command sequences.
10202 '$CC '*)
10203 # Test whether the compiler implicitly links with -lc since on some
10204 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10205 # to ld, don't add -lc before -lgcc.
10206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10207 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10208 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10209 $as_echo_n "(cached) " >&6
10210 else
10211 $RM conftest*
10212 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10214 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10215 (eval $ac_compile) 2>&5
10216 ac_status=$?
10217 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10218 test $ac_status = 0; } 2>conftest.err; then
10219 soname=conftest
10220 lib=conftest
10221 libobjs=conftest.$ac_objext
10222 deplibs=
10223 wl=$lt_prog_compiler_wl
10224 pic_flag=$lt_prog_compiler_pic
10225 compiler_flags=-v
10226 linker_flags=-v
10227 verstring=
10228 output_objdir=.
10229 libname=conftest
10230 lt_save_allow_undefined_flag=$allow_undefined_flag
10231 allow_undefined_flag=
10232 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10233 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10234 ac_status=$?
10235 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10236 test $ac_status = 0; }
10237 then
10238 lt_cv_archive_cmds_need_lc=no
10239 else
10240 lt_cv_archive_cmds_need_lc=yes
10242 allow_undefined_flag=$lt_save_allow_undefined_flag
10243 else
10244 cat conftest.err 1>&5
10246 $RM conftest*
10249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10250 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10251 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10253 esac
10256 esac
10414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10415 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10417 if test "$GCC" = yes; then
10418 case $host_os in
10419 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10420 *) lt_awk_arg="/^libraries:/" ;;
10421 esac
10422 case $host_os in
10423 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10424 *) lt_sed_strip_eq="s,=/,/,g" ;;
10425 esac
10426 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10427 case $lt_search_path_spec in
10428 *\;*)
10429 # if the path contains ";" then we assume it to be the separator
10430 # otherwise default to the standard path separator (i.e. ":") - it is
10431 # assumed that no part of a normal pathname contains ";" but that should
10432 # okay in the real world where ";" in dirpaths is itself problematic.
10433 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10436 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10438 esac
10439 # Ok, now we have the path, separated by spaces, we can step through it
10440 # and add multilib dir if necessary.
10441 lt_tmp_lt_search_path_spec=
10442 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10443 for lt_sys_path in $lt_search_path_spec; do
10444 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10445 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10446 else
10447 test -d "$lt_sys_path" && \
10448 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10450 done
10451 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10452 BEGIN {RS=" "; FS="/|\n";} {
10453 lt_foo="";
10454 lt_count=0;
10455 for (lt_i = NF; lt_i > 0; lt_i--) {
10456 if ($lt_i != "" && $lt_i != ".") {
10457 if ($lt_i == "..") {
10458 lt_count++;
10459 } else {
10460 if (lt_count == 0) {
10461 lt_foo="/" $lt_i lt_foo;
10462 } else {
10463 lt_count--;
10468 if (lt_foo != "") { lt_freq[lt_foo]++; }
10469 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10471 # AWK program above erroneously prepends '/' to C:/dos/paths
10472 # for these hosts.
10473 case $host_os in
10474 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10475 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10476 esac
10477 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10478 else
10479 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10481 library_names_spec=
10482 libname_spec='lib$name'
10483 soname_spec=
10484 shrext_cmds=".so"
10485 postinstall_cmds=
10486 postuninstall_cmds=
10487 finish_cmds=
10488 finish_eval=
10489 shlibpath_var=
10490 shlibpath_overrides_runpath=unknown
10491 version_type=none
10492 dynamic_linker="$host_os ld.so"
10493 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10494 need_lib_prefix=unknown
10495 hardcode_into_libs=no
10497 # when you set need_version to no, make sure it does not cause -set_version
10498 # flags to be left without arguments
10499 need_version=unknown
10501 case $host_os in
10502 aix3*)
10503 version_type=linux
10504 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10505 shlibpath_var=LIBPATH
10507 # AIX 3 has no versioning support, so we append a major version to the name.
10508 soname_spec='${libname}${release}${shared_ext}$major'
10511 aix[4-9]*)
10512 version_type=linux
10513 need_lib_prefix=no
10514 need_version=no
10515 hardcode_into_libs=yes
10516 if test "$host_cpu" = ia64; then
10517 # AIX 5 supports IA64
10518 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10519 shlibpath_var=LD_LIBRARY_PATH
10520 else
10521 # With GCC up to 2.95.x, collect2 would create an import file
10522 # for dependence libraries. The import file would start with
10523 # the line `#! .'. This would cause the generated library to
10524 # depend on `.', always an invalid library. This was fixed in
10525 # development snapshots of GCC prior to 3.0.
10526 case $host_os in
10527 aix4 | aix4.[01] | aix4.[01].*)
10528 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10529 echo ' yes '
10530 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10532 else
10533 can_build_shared=no
10536 esac
10537 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10538 # soname into executable. Probably we can add versioning support to
10539 # collect2, so additional links can be useful in future.
10540 if test "$aix_use_runtimelinking" = yes; then
10541 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10542 # instead of lib<name>.a to let people know that these are not
10543 # typical AIX shared libraries.
10544 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10545 else
10546 # We preserve .a as extension for shared libraries through AIX4.2
10547 # and later when we are not doing run time linking.
10548 library_names_spec='${libname}${release}.a $libname.a'
10549 soname_spec='${libname}${release}${shared_ext}$major'
10551 shlibpath_var=LIBPATH
10555 amigaos*)
10556 case $host_cpu in
10557 powerpc)
10558 # Since July 2007 AmigaOS4 officially supports .so libraries.
10559 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10560 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10562 m68k)
10563 library_names_spec='$libname.ixlibrary $libname.a'
10564 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10565 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
10567 esac
10570 beos*)
10571 library_names_spec='${libname}${shared_ext}'
10572 dynamic_linker="$host_os ld.so"
10573 shlibpath_var=LIBRARY_PATH
10576 bsdi[45]*)
10577 version_type=linux
10578 need_version=no
10579 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10580 soname_spec='${libname}${release}${shared_ext}$major'
10581 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10582 shlibpath_var=LD_LIBRARY_PATH
10583 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10584 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10585 # the default ld.so.conf also contains /usr/contrib/lib and
10586 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10587 # libtool to hard-code these into programs
10590 cygwin* | mingw* | pw32* | cegcc*)
10591 version_type=windows
10592 shrext_cmds=".dll"
10593 need_version=no
10594 need_lib_prefix=no
10596 case $GCC,$host_os in
10597 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10598 library_names_spec='$libname.dll.a'
10599 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10600 postinstall_cmds='base_file=`basename \${file}`~
10601 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10602 dldir=$destdir/`dirname \$dlpath`~
10603 test -d \$dldir || mkdir -p \$dldir~
10604 $install_prog $dir/$dlname \$dldir/$dlname~
10605 chmod a+x \$dldir/$dlname~
10606 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10607 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10609 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10610 dlpath=$dir/\$dldll~
10611 $RM \$dlpath'
10612 shlibpath_overrides_runpath=yes
10614 case $host_os in
10615 cygwin*)
10616 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10617 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10619 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10621 mingw* | cegcc*)
10622 # MinGW DLLs use traditional 'lib' prefix
10623 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10625 pw32*)
10626 # pw32 DLLs use 'pw' prefix rather than 'lib'
10627 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10629 esac
10633 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10635 esac
10636 dynamic_linker='Win32 ld.exe'
10637 # FIXME: first we should search . and the directory the executable is in
10638 shlibpath_var=PATH
10641 darwin* | rhapsody*)
10642 dynamic_linker="$host_os dyld"
10643 version_type=darwin
10644 need_lib_prefix=no
10645 need_version=no
10646 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10647 soname_spec='${libname}${release}${major}$shared_ext'
10648 shlibpath_overrides_runpath=yes
10649 shlibpath_var=DYLD_LIBRARY_PATH
10650 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10652 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10653 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10656 dgux*)
10657 version_type=linux
10658 need_lib_prefix=no
10659 need_version=no
10660 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10661 soname_spec='${libname}${release}${shared_ext}$major'
10662 shlibpath_var=LD_LIBRARY_PATH
10665 freebsd* | dragonfly*)
10666 # DragonFly does not have aout. When/if they implement a new
10667 # versioning mechanism, adjust this.
10668 if test -x /usr/bin/objformat; then
10669 objformat=`/usr/bin/objformat`
10670 else
10671 case $host_os in
10672 freebsd[23].*) objformat=aout ;;
10673 *) objformat=elf ;;
10674 esac
10676 version_type=freebsd-$objformat
10677 case $version_type in
10678 freebsd-elf*)
10679 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10680 need_version=no
10681 need_lib_prefix=no
10683 freebsd-*)
10684 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10685 need_version=yes
10687 esac
10688 shlibpath_var=LD_LIBRARY_PATH
10689 case $host_os in
10690 freebsd2.*)
10691 shlibpath_overrides_runpath=yes
10693 freebsd3.[01]* | freebsdelf3.[01]*)
10694 shlibpath_overrides_runpath=yes
10695 hardcode_into_libs=yes
10697 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10698 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10699 shlibpath_overrides_runpath=no
10700 hardcode_into_libs=yes
10702 *) # from 4.6 on, and DragonFly
10703 shlibpath_overrides_runpath=yes
10704 hardcode_into_libs=yes
10706 esac
10709 gnu*)
10710 version_type=linux
10711 need_lib_prefix=no
10712 need_version=no
10713 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10714 soname_spec='${libname}${release}${shared_ext}$major'
10715 shlibpath_var=LD_LIBRARY_PATH
10716 hardcode_into_libs=yes
10719 haiku*)
10720 version_type=linux
10721 need_lib_prefix=no
10722 need_version=no
10723 dynamic_linker="$host_os runtime_loader"
10724 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10725 soname_spec='${libname}${release}${shared_ext}$major'
10726 shlibpath_var=LIBRARY_PATH
10727 shlibpath_overrides_runpath=yes
10728 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10729 hardcode_into_libs=yes
10732 hpux9* | hpux10* | hpux11*)
10733 # Give a soname corresponding to the major version so that dld.sl refuses to
10734 # link against other versions.
10735 version_type=sunos
10736 need_lib_prefix=no
10737 need_version=no
10738 case $host_cpu in
10739 ia64*)
10740 shrext_cmds='.so'
10741 hardcode_into_libs=yes
10742 dynamic_linker="$host_os dld.so"
10743 shlibpath_var=LD_LIBRARY_PATH
10744 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10745 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10746 soname_spec='${libname}${release}${shared_ext}$major'
10747 if test "X$HPUX_IA64_MODE" = X32; then
10748 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10749 else
10750 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10752 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10754 hppa*64*)
10755 shrext_cmds='.sl'
10756 hardcode_into_libs=yes
10757 dynamic_linker="$host_os dld.sl"
10758 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10759 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10760 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10761 soname_spec='${libname}${release}${shared_ext}$major'
10762 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10763 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10766 shrext_cmds='.sl'
10767 dynamic_linker="$host_os dld.sl"
10768 shlibpath_var=SHLIB_PATH
10769 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10770 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10771 soname_spec='${libname}${release}${shared_ext}$major'
10773 esac
10774 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10775 postinstall_cmds='chmod 555 $lib'
10776 # or fails outright, so override atomically:
10777 install_override_mode=555
10780 interix[3-9]*)
10781 version_type=linux
10782 need_lib_prefix=no
10783 need_version=no
10784 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10785 soname_spec='${libname}${release}${shared_ext}$major'
10786 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10787 shlibpath_var=LD_LIBRARY_PATH
10788 shlibpath_overrides_runpath=no
10789 hardcode_into_libs=yes
10792 irix5* | irix6* | nonstopux*)
10793 case $host_os in
10794 nonstopux*) version_type=nonstopux ;;
10796 if test "$lt_cv_prog_gnu_ld" = yes; then
10797 version_type=linux
10798 else
10799 version_type=irix
10800 fi ;;
10801 esac
10802 need_lib_prefix=no
10803 need_version=no
10804 soname_spec='${libname}${release}${shared_ext}$major'
10805 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10806 case $host_os in
10807 irix5* | nonstopux*)
10808 libsuff= shlibsuff=
10811 case $LD in # libtool.m4 will add one of these switches to LD
10812 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10813 libsuff= shlibsuff= libmagic=32-bit;;
10814 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10815 libsuff=32 shlibsuff=N32 libmagic=N32;;
10816 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10817 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10818 *) libsuff= shlibsuff= libmagic=never-match;;
10819 esac
10821 esac
10822 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10823 shlibpath_overrides_runpath=no
10824 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10825 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10826 hardcode_into_libs=yes
10829 # No shared lib support for Linux oldld, aout, or coff.
10830 linux*oldld* | linux*aout* | linux*coff*)
10831 dynamic_linker=no
10834 # This must be Linux ELF.
10835 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10836 version_type=linux
10837 need_lib_prefix=no
10838 need_version=no
10839 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10840 soname_spec='${libname}${release}${shared_ext}$major'
10841 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10842 shlibpath_var=LD_LIBRARY_PATH
10843 shlibpath_overrides_runpath=no
10845 # Some binutils ld are patched to set DT_RUNPATH
10846 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10847 $as_echo_n "(cached) " >&6
10848 else
10849 lt_cv_shlibpath_overrides_runpath=no
10850 save_LDFLAGS=$LDFLAGS
10851 save_libdir=$libdir
10852 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10853 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10854 if test x$gcc_no_link = xyes; then
10855 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10858 /* end confdefs.h. */
10861 main ()
10865 return 0;
10867 _ACEOF
10868 if ac_fn_c_try_link "$LINENO"; then :
10869 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10870 lt_cv_shlibpath_overrides_runpath=yes
10873 rm -f core conftest.err conftest.$ac_objext \
10874 conftest$ac_exeext conftest.$ac_ext
10875 LDFLAGS=$save_LDFLAGS
10876 libdir=$save_libdir
10880 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10882 # This implies no fast_install, which is unacceptable.
10883 # Some rework will be needed to allow for fast_install
10884 # before this can be enabled.
10885 hardcode_into_libs=yes
10887 # Append ld.so.conf contents to the search path
10888 if test -f /etc/ld.so.conf; then
10889 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
10890 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10893 # We used to test for /lib/ld.so.1 and disable shared libraries on
10894 # powerpc, because MkLinux only supported shared libraries with the
10895 # GNU dynamic linker. Since this was broken with cross compilers,
10896 # most powerpc-linux boxes support dynamic linking these days and
10897 # people can always --disable-shared, the test was removed, and we
10898 # assume the GNU/Linux dynamic linker is in use.
10899 dynamic_linker='GNU/Linux ld.so'
10902 netbsd*)
10903 version_type=sunos
10904 need_lib_prefix=no
10905 need_version=no
10906 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10907 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10908 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10909 dynamic_linker='NetBSD (a.out) ld.so'
10910 else
10911 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10912 soname_spec='${libname}${release}${shared_ext}$major'
10913 dynamic_linker='NetBSD ld.elf_so'
10915 shlibpath_var=LD_LIBRARY_PATH
10916 shlibpath_overrides_runpath=yes
10917 hardcode_into_libs=yes
10920 newsos6)
10921 version_type=linux
10922 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10923 shlibpath_var=LD_LIBRARY_PATH
10924 shlibpath_overrides_runpath=yes
10927 *nto* | *qnx*)
10928 version_type=qnx
10929 need_lib_prefix=no
10930 need_version=no
10931 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10932 soname_spec='${libname}${release}${shared_ext}$major'
10933 shlibpath_var=LD_LIBRARY_PATH
10934 shlibpath_overrides_runpath=no
10935 hardcode_into_libs=yes
10936 dynamic_linker='ldqnx.so'
10939 openbsd*)
10940 version_type=sunos
10941 sys_lib_dlsearch_path_spec="/usr/lib"
10942 need_lib_prefix=no
10943 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10944 case $host_os in
10945 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10946 *) need_version=no ;;
10947 esac
10948 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10949 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10950 shlibpath_var=LD_LIBRARY_PATH
10951 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10952 case $host_os in
10953 openbsd2.[89] | openbsd2.[89].*)
10954 shlibpath_overrides_runpath=no
10957 shlibpath_overrides_runpath=yes
10959 esac
10960 else
10961 shlibpath_overrides_runpath=yes
10965 os2*)
10966 libname_spec='$name'
10967 shrext_cmds=".dll"
10968 need_lib_prefix=no
10969 library_names_spec='$libname${shared_ext} $libname.a'
10970 dynamic_linker='OS/2 ld.exe'
10971 shlibpath_var=LIBPATH
10974 osf3* | osf4* | osf5*)
10975 version_type=osf
10976 need_lib_prefix=no
10977 need_version=no
10978 soname_spec='${libname}${release}${shared_ext}$major'
10979 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10980 shlibpath_var=LD_LIBRARY_PATH
10981 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10982 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10985 rdos*)
10986 dynamic_linker=no
10989 solaris*)
10990 version_type=linux
10991 need_lib_prefix=no
10992 need_version=no
10993 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10994 soname_spec='${libname}${release}${shared_ext}$major'
10995 shlibpath_var=LD_LIBRARY_PATH
10996 shlibpath_overrides_runpath=yes
10997 hardcode_into_libs=yes
10998 # ldd complains unless libraries are executable
10999 postinstall_cmds='chmod +x $lib'
11002 sunos4*)
11003 version_type=sunos
11004 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11005 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11006 shlibpath_var=LD_LIBRARY_PATH
11007 shlibpath_overrides_runpath=yes
11008 if test "$with_gnu_ld" = yes; then
11009 need_lib_prefix=no
11011 need_version=yes
11014 sysv4 | sysv4.3*)
11015 version_type=linux
11016 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11017 soname_spec='${libname}${release}${shared_ext}$major'
11018 shlibpath_var=LD_LIBRARY_PATH
11019 case $host_vendor in
11020 sni)
11021 shlibpath_overrides_runpath=no
11022 need_lib_prefix=no
11023 runpath_var=LD_RUN_PATH
11025 siemens)
11026 need_lib_prefix=no
11028 motorola)
11029 need_lib_prefix=no
11030 need_version=no
11031 shlibpath_overrides_runpath=no
11032 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11034 esac
11037 sysv4*MP*)
11038 if test -d /usr/nec ;then
11039 version_type=linux
11040 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11041 soname_spec='$libname${shared_ext}.$major'
11042 shlibpath_var=LD_LIBRARY_PATH
11046 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11047 version_type=freebsd-elf
11048 need_lib_prefix=no
11049 need_version=no
11050 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11051 soname_spec='${libname}${release}${shared_ext}$major'
11052 shlibpath_var=LD_LIBRARY_PATH
11053 shlibpath_overrides_runpath=yes
11054 hardcode_into_libs=yes
11055 if test "$with_gnu_ld" = yes; then
11056 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11057 else
11058 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11059 case $host_os in
11060 sco3.2v5*)
11061 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11063 esac
11065 sys_lib_dlsearch_path_spec='/usr/lib'
11068 tpf*)
11069 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11070 version_type=linux
11071 need_lib_prefix=no
11072 need_version=no
11073 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11074 shlibpath_var=LD_LIBRARY_PATH
11075 shlibpath_overrides_runpath=no
11076 hardcode_into_libs=yes
11079 uts4*)
11080 version_type=linux
11081 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11082 soname_spec='${libname}${release}${shared_ext}$major'
11083 shlibpath_var=LD_LIBRARY_PATH
11087 dynamic_linker=no
11089 esac
11090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11091 $as_echo "$dynamic_linker" >&6; }
11092 test "$dynamic_linker" = no && can_build_shared=no
11094 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11095 if test "$GCC" = yes; then
11096 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11099 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11100 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11102 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11103 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11198 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11199 hardcode_action=
11200 if test -n "$hardcode_libdir_flag_spec" ||
11201 test -n "$runpath_var" ||
11202 test "X$hardcode_automatic" = "Xyes" ; then
11204 # We can hardcode non-existent directories.
11205 if test "$hardcode_direct" != no &&
11206 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11207 # have to relink, otherwise we might link with an installed library
11208 # when we should be linking with a yet-to-be-installed one
11209 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11210 test "$hardcode_minus_L" != no; then
11211 # Linking always hardcodes the temporary library directory.
11212 hardcode_action=relink
11213 else
11214 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11215 hardcode_action=immediate
11217 else
11218 # We cannot hardcode anything, or else we can only hardcode existing
11219 # directories.
11220 hardcode_action=unsupported
11222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11223 $as_echo "$hardcode_action" >&6; }
11225 if test "$hardcode_action" = relink ||
11226 test "$inherit_rpath" = yes; then
11227 # Fast installation is not supported
11228 enable_fast_install=no
11229 elif test "$shlibpath_overrides_runpath" = yes ||
11230 test "$enable_shared" = no; then
11231 # Fast installation is not necessary
11232 enable_fast_install=needless
11240 if test "x$enable_dlopen" != xyes; then
11241 enable_dlopen=unknown
11242 enable_dlopen_self=unknown
11243 enable_dlopen_self_static=unknown
11244 else
11245 lt_cv_dlopen=no
11246 lt_cv_dlopen_libs=
11248 case $host_os in
11249 beos*)
11250 lt_cv_dlopen="load_add_on"
11251 lt_cv_dlopen_libs=
11252 lt_cv_dlopen_self=yes
11255 mingw* | pw32* | cegcc*)
11256 lt_cv_dlopen="LoadLibrary"
11257 lt_cv_dlopen_libs=
11260 cygwin*)
11261 lt_cv_dlopen="dlopen"
11262 lt_cv_dlopen_libs=
11265 darwin*)
11266 # if libdl is installed we need to link against it
11267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11268 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11269 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11270 $as_echo_n "(cached) " >&6
11271 else
11272 ac_check_lib_save_LIBS=$LIBS
11273 LIBS="-ldl $LIBS"
11274 if test x$gcc_no_link = xyes; then
11275 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11278 /* end confdefs.h. */
11280 /* Override any GCC internal prototype to avoid an error.
11281 Use char because int might match the return type of a GCC
11282 builtin and then its argument prototype would still apply. */
11283 #ifdef __cplusplus
11284 extern "C"
11285 #endif
11286 char dlopen ();
11288 main ()
11290 return dlopen ();
11292 return 0;
11294 _ACEOF
11295 if ac_fn_c_try_link "$LINENO"; then :
11296 ac_cv_lib_dl_dlopen=yes
11297 else
11298 ac_cv_lib_dl_dlopen=no
11300 rm -f core conftest.err conftest.$ac_objext \
11301 conftest$ac_exeext conftest.$ac_ext
11302 LIBS=$ac_check_lib_save_LIBS
11304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11305 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11306 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11307 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11308 else
11310 lt_cv_dlopen="dyld"
11311 lt_cv_dlopen_libs=
11312 lt_cv_dlopen_self=yes
11319 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11320 if test "x$ac_cv_func_shl_load" = x""yes; then :
11321 lt_cv_dlopen="shl_load"
11322 else
11323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11324 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11325 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11326 $as_echo_n "(cached) " >&6
11327 else
11328 ac_check_lib_save_LIBS=$LIBS
11329 LIBS="-ldld $LIBS"
11330 if test x$gcc_no_link = xyes; then
11331 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11334 /* end confdefs.h. */
11336 /* Override any GCC internal prototype to avoid an error.
11337 Use char because int might match the return type of a GCC
11338 builtin and then its argument prototype would still apply. */
11339 #ifdef __cplusplus
11340 extern "C"
11341 #endif
11342 char shl_load ();
11344 main ()
11346 return shl_load ();
11348 return 0;
11350 _ACEOF
11351 if ac_fn_c_try_link "$LINENO"; then :
11352 ac_cv_lib_dld_shl_load=yes
11353 else
11354 ac_cv_lib_dld_shl_load=no
11356 rm -f core conftest.err conftest.$ac_objext \
11357 conftest$ac_exeext conftest.$ac_ext
11358 LIBS=$ac_check_lib_save_LIBS
11360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11361 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11362 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11363 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11364 else
11365 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11366 if test "x$ac_cv_func_dlopen" = x""yes; then :
11367 lt_cv_dlopen="dlopen"
11368 else
11369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11370 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11371 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11372 $as_echo_n "(cached) " >&6
11373 else
11374 ac_check_lib_save_LIBS=$LIBS
11375 LIBS="-ldl $LIBS"
11376 if test x$gcc_no_link = xyes; then
11377 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11380 /* end confdefs.h. */
11382 /* Override any GCC internal prototype to avoid an error.
11383 Use char because int might match the return type of a GCC
11384 builtin and then its argument prototype would still apply. */
11385 #ifdef __cplusplus
11386 extern "C"
11387 #endif
11388 char dlopen ();
11390 main ()
11392 return dlopen ();
11394 return 0;
11396 _ACEOF
11397 if ac_fn_c_try_link "$LINENO"; then :
11398 ac_cv_lib_dl_dlopen=yes
11399 else
11400 ac_cv_lib_dl_dlopen=no
11402 rm -f core conftest.err conftest.$ac_objext \
11403 conftest$ac_exeext conftest.$ac_ext
11404 LIBS=$ac_check_lib_save_LIBS
11406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11407 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11408 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11409 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11410 else
11411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11412 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11413 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11414 $as_echo_n "(cached) " >&6
11415 else
11416 ac_check_lib_save_LIBS=$LIBS
11417 LIBS="-lsvld $LIBS"
11418 if test x$gcc_no_link = xyes; then
11419 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11422 /* end confdefs.h. */
11424 /* Override any GCC internal prototype to avoid an error.
11425 Use char because int might match the return type of a GCC
11426 builtin and then its argument prototype would still apply. */
11427 #ifdef __cplusplus
11428 extern "C"
11429 #endif
11430 char dlopen ();
11432 main ()
11434 return dlopen ();
11436 return 0;
11438 _ACEOF
11439 if ac_fn_c_try_link "$LINENO"; then :
11440 ac_cv_lib_svld_dlopen=yes
11441 else
11442 ac_cv_lib_svld_dlopen=no
11444 rm -f core conftest.err conftest.$ac_objext \
11445 conftest$ac_exeext conftest.$ac_ext
11446 LIBS=$ac_check_lib_save_LIBS
11448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11449 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11450 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11451 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11452 else
11453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11454 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11455 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11456 $as_echo_n "(cached) " >&6
11457 else
11458 ac_check_lib_save_LIBS=$LIBS
11459 LIBS="-ldld $LIBS"
11460 if test x$gcc_no_link = xyes; then
11461 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11464 /* end confdefs.h. */
11466 /* Override any GCC internal prototype to avoid an error.
11467 Use char because int might match the return type of a GCC
11468 builtin and then its argument prototype would still apply. */
11469 #ifdef __cplusplus
11470 extern "C"
11471 #endif
11472 char dld_link ();
11474 main ()
11476 return dld_link ();
11478 return 0;
11480 _ACEOF
11481 if ac_fn_c_try_link "$LINENO"; then :
11482 ac_cv_lib_dld_dld_link=yes
11483 else
11484 ac_cv_lib_dld_dld_link=no
11486 rm -f core conftest.err conftest.$ac_objext \
11487 conftest$ac_exeext conftest.$ac_ext
11488 LIBS=$ac_check_lib_save_LIBS
11490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11491 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11492 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11493 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11512 esac
11514 if test "x$lt_cv_dlopen" != xno; then
11515 enable_dlopen=yes
11516 else
11517 enable_dlopen=no
11520 case $lt_cv_dlopen in
11521 dlopen)
11522 save_CPPFLAGS="$CPPFLAGS"
11523 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11525 save_LDFLAGS="$LDFLAGS"
11526 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11528 save_LIBS="$LIBS"
11529 LIBS="$lt_cv_dlopen_libs $LIBS"
11531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11532 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11533 if test "${lt_cv_dlopen_self+set}" = set; then :
11534 $as_echo_n "(cached) " >&6
11535 else
11536 if test "$cross_compiling" = yes; then :
11537 lt_cv_dlopen_self=cross
11538 else
11539 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11540 lt_status=$lt_dlunknown
11541 cat > conftest.$ac_ext <<_LT_EOF
11542 #line 11542 "configure"
11543 #include "confdefs.h"
11545 #if HAVE_DLFCN_H
11546 #include <dlfcn.h>
11547 #endif
11549 #include <stdio.h>
11551 #ifdef RTLD_GLOBAL
11552 # define LT_DLGLOBAL RTLD_GLOBAL
11553 #else
11554 # ifdef DL_GLOBAL
11555 # define LT_DLGLOBAL DL_GLOBAL
11556 # else
11557 # define LT_DLGLOBAL 0
11558 # endif
11559 #endif
11561 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11562 find out it does not work in some platform. */
11563 #ifndef LT_DLLAZY_OR_NOW
11564 # ifdef RTLD_LAZY
11565 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11566 # else
11567 # ifdef DL_LAZY
11568 # define LT_DLLAZY_OR_NOW DL_LAZY
11569 # else
11570 # ifdef RTLD_NOW
11571 # define LT_DLLAZY_OR_NOW RTLD_NOW
11572 # else
11573 # ifdef DL_NOW
11574 # define LT_DLLAZY_OR_NOW DL_NOW
11575 # else
11576 # define LT_DLLAZY_OR_NOW 0
11577 # endif
11578 # endif
11579 # endif
11580 # endif
11581 #endif
11583 /* When -fvisbility=hidden is used, assume the code has been annotated
11584 correspondingly for the symbols needed. */
11585 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11586 void fnord () __attribute__((visibility("default")));
11587 #endif
11589 void fnord () { int i=42; }
11590 int main ()
11592 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11593 int status = $lt_dlunknown;
11595 if (self)
11597 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11598 else
11600 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11601 else puts (dlerror ());
11603 /* dlclose (self); */
11605 else
11606 puts (dlerror ());
11608 return status;
11610 _LT_EOF
11611 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11612 (eval $ac_link) 2>&5
11613 ac_status=$?
11614 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11615 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11616 (./conftest; exit; ) >&5 2>/dev/null
11617 lt_status=$?
11618 case x$lt_status in
11619 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11620 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11621 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11622 esac
11623 else :
11624 # compilation failed
11625 lt_cv_dlopen_self=no
11628 rm -fr conftest*
11632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11633 $as_echo "$lt_cv_dlopen_self" >&6; }
11635 if test "x$lt_cv_dlopen_self" = xyes; then
11636 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11638 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11639 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11640 $as_echo_n "(cached) " >&6
11641 else
11642 if test "$cross_compiling" = yes; then :
11643 lt_cv_dlopen_self_static=cross
11644 else
11645 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11646 lt_status=$lt_dlunknown
11647 cat > conftest.$ac_ext <<_LT_EOF
11648 #line 11648 "configure"
11649 #include "confdefs.h"
11651 #if HAVE_DLFCN_H
11652 #include <dlfcn.h>
11653 #endif
11655 #include <stdio.h>
11657 #ifdef RTLD_GLOBAL
11658 # define LT_DLGLOBAL RTLD_GLOBAL
11659 #else
11660 # ifdef DL_GLOBAL
11661 # define LT_DLGLOBAL DL_GLOBAL
11662 # else
11663 # define LT_DLGLOBAL 0
11664 # endif
11665 #endif
11667 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11668 find out it does not work in some platform. */
11669 #ifndef LT_DLLAZY_OR_NOW
11670 # ifdef RTLD_LAZY
11671 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11672 # else
11673 # ifdef DL_LAZY
11674 # define LT_DLLAZY_OR_NOW DL_LAZY
11675 # else
11676 # ifdef RTLD_NOW
11677 # define LT_DLLAZY_OR_NOW RTLD_NOW
11678 # else
11679 # ifdef DL_NOW
11680 # define LT_DLLAZY_OR_NOW DL_NOW
11681 # else
11682 # define LT_DLLAZY_OR_NOW 0
11683 # endif
11684 # endif
11685 # endif
11686 # endif
11687 #endif
11689 /* When -fvisbility=hidden is used, assume the code has been annotated
11690 correspondingly for the symbols needed. */
11691 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11692 void fnord () __attribute__((visibility("default")));
11693 #endif
11695 void fnord () { int i=42; }
11696 int main ()
11698 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11699 int status = $lt_dlunknown;
11701 if (self)
11703 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11704 else
11706 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11707 else puts (dlerror ());
11709 /* dlclose (self); */
11711 else
11712 puts (dlerror ());
11714 return status;
11716 _LT_EOF
11717 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11718 (eval $ac_link) 2>&5
11719 ac_status=$?
11720 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11721 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11722 (./conftest; exit; ) >&5 2>/dev/null
11723 lt_status=$?
11724 case x$lt_status in
11725 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11726 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11727 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11728 esac
11729 else :
11730 # compilation failed
11731 lt_cv_dlopen_self_static=no
11734 rm -fr conftest*
11738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11739 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11742 CPPFLAGS="$save_CPPFLAGS"
11743 LDFLAGS="$save_LDFLAGS"
11744 LIBS="$save_LIBS"
11746 esac
11748 case $lt_cv_dlopen_self in
11749 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11750 *) enable_dlopen_self=unknown ;;
11751 esac
11753 case $lt_cv_dlopen_self_static in
11754 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11755 *) enable_dlopen_self_static=unknown ;;
11756 esac
11775 striplib=
11776 old_striplib=
11777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11778 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11779 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11780 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11781 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11783 $as_echo "yes" >&6; }
11784 else
11785 # FIXME - insert some real tests, host_os isn't really good enough
11786 case $host_os in
11787 darwin*)
11788 if test -n "$STRIP" ; then
11789 striplib="$STRIP -x"
11790 old_striplib="$STRIP -S"
11791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11792 $as_echo "yes" >&6; }
11793 else
11794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11795 $as_echo "no" >&6; }
11799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11800 $as_echo "no" >&6; }
11802 esac
11816 # Report which library types will actually be built
11817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11818 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11820 $as_echo "$can_build_shared" >&6; }
11822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11823 $as_echo_n "checking whether to build shared libraries... " >&6; }
11824 test "$can_build_shared" = "no" && enable_shared=no
11826 # On AIX, shared libraries and static libraries use the same namespace, and
11827 # are all built from PIC.
11828 case $host_os in
11829 aix3*)
11830 test "$enable_shared" = yes && enable_static=no
11831 if test -n "$RANLIB"; then
11832 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11833 postinstall_cmds='$RANLIB $lib'
11837 aix[4-9]*)
11838 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11839 test "$enable_shared" = yes && enable_static=no
11842 esac
11843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11844 $as_echo "$enable_shared" >&6; }
11846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11847 $as_echo_n "checking whether to build static libraries... " >&6; }
11848 # Make sure either enable_shared or enable_static is yes.
11849 test "$enable_shared" = yes || enable_static=yes
11850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11851 $as_echo "$enable_static" >&6; }
11857 ac_ext=c
11858 ac_cpp='$CPP $CPPFLAGS'
11859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11863 CC="$lt_save_CC"
11865 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11866 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11867 (test "X$CXX" != "Xg++"))) ; then
11868 ac_ext=cpp
11869 ac_cpp='$CXXCPP $CPPFLAGS'
11870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11874 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11875 if test -z "$CXXCPP"; then
11876 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11877 $as_echo_n "(cached) " >&6
11878 else
11879 # Double quotes because CXXCPP needs to be expanded
11880 for CXXCPP in "$CXX -E" "/lib/cpp"
11882 ac_preproc_ok=false
11883 for ac_cxx_preproc_warn_flag in '' yes
11885 # Use a header file that comes with gcc, so configuring glibc
11886 # with a fresh cross-compiler works.
11887 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11888 # <limits.h> exists even on freestanding compilers.
11889 # On the NeXT, cc -E runs the code through the compiler's parser,
11890 # not just through cpp. "Syntax error" is here to catch this case.
11891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11892 /* end confdefs.h. */
11893 #ifdef __STDC__
11894 # include <limits.h>
11895 #else
11896 # include <assert.h>
11897 #endif
11898 Syntax error
11899 _ACEOF
11900 if ac_fn_cxx_try_cpp "$LINENO"; then :
11902 else
11903 # Broken: fails on valid input.
11904 continue
11906 rm -f conftest.err conftest.$ac_ext
11908 # OK, works on sane cases. Now check whether nonexistent headers
11909 # can be detected and how.
11910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11911 /* end confdefs.h. */
11912 #include <ac_nonexistent.h>
11913 _ACEOF
11914 if ac_fn_cxx_try_cpp "$LINENO"; then :
11915 # Broken: success on invalid input.
11916 continue
11917 else
11918 # Passes both tests.
11919 ac_preproc_ok=:
11920 break
11922 rm -f conftest.err conftest.$ac_ext
11924 done
11925 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11926 rm -f conftest.err conftest.$ac_ext
11927 if $ac_preproc_ok; then :
11928 break
11931 done
11932 ac_cv_prog_CXXCPP=$CXXCPP
11935 CXXCPP=$ac_cv_prog_CXXCPP
11936 else
11937 ac_cv_prog_CXXCPP=$CXXCPP
11939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11940 $as_echo "$CXXCPP" >&6; }
11941 ac_preproc_ok=false
11942 for ac_cxx_preproc_warn_flag in '' yes
11944 # Use a header file that comes with gcc, so configuring glibc
11945 # with a fresh cross-compiler works.
11946 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11947 # <limits.h> exists even on freestanding compilers.
11948 # On the NeXT, cc -E runs the code through the compiler's parser,
11949 # not just through cpp. "Syntax error" is here to catch this case.
11950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11951 /* end confdefs.h. */
11952 #ifdef __STDC__
11953 # include <limits.h>
11954 #else
11955 # include <assert.h>
11956 #endif
11957 Syntax error
11958 _ACEOF
11959 if ac_fn_cxx_try_cpp "$LINENO"; then :
11961 else
11962 # Broken: fails on valid input.
11963 continue
11965 rm -f conftest.err conftest.$ac_ext
11967 # OK, works on sane cases. Now check whether nonexistent headers
11968 # can be detected and how.
11969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11970 /* end confdefs.h. */
11971 #include <ac_nonexistent.h>
11972 _ACEOF
11973 if ac_fn_cxx_try_cpp "$LINENO"; then :
11974 # Broken: success on invalid input.
11975 continue
11976 else
11977 # Passes both tests.
11978 ac_preproc_ok=:
11979 break
11981 rm -f conftest.err conftest.$ac_ext
11983 done
11984 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11985 rm -f conftest.err conftest.$ac_ext
11986 if $ac_preproc_ok; then :
11988 else
11989 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11990 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11991 as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
11992 See \`config.log' for more details." "$LINENO" 5; }
11995 ac_ext=c
11996 ac_cpp='$CPP $CPPFLAGS'
11997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12001 else
12002 _lt_caught_CXX_error=yes
12005 ac_ext=cpp
12006 ac_cpp='$CXXCPP $CPPFLAGS'
12007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12011 archive_cmds_need_lc_CXX=no
12012 allow_undefined_flag_CXX=
12013 always_export_symbols_CXX=no
12014 archive_expsym_cmds_CXX=
12015 compiler_needs_object_CXX=no
12016 export_dynamic_flag_spec_CXX=
12017 hardcode_direct_CXX=no
12018 hardcode_direct_absolute_CXX=no
12019 hardcode_libdir_flag_spec_CXX=
12020 hardcode_libdir_flag_spec_ld_CXX=
12021 hardcode_libdir_separator_CXX=
12022 hardcode_minus_L_CXX=no
12023 hardcode_shlibpath_var_CXX=unsupported
12024 hardcode_automatic_CXX=no
12025 inherit_rpath_CXX=no
12026 module_cmds_CXX=
12027 module_expsym_cmds_CXX=
12028 link_all_deplibs_CXX=unknown
12029 old_archive_cmds_CXX=$old_archive_cmds
12030 reload_flag_CXX=$reload_flag
12031 reload_cmds_CXX=$reload_cmds
12032 no_undefined_flag_CXX=
12033 whole_archive_flag_spec_CXX=
12034 enable_shared_with_static_runtimes_CXX=no
12036 # Source file extension for C++ test sources.
12037 ac_ext=cpp
12039 # Object file extension for compiled C++ test sources.
12040 objext=o
12041 objext_CXX=$objext
12043 # No sense in running all these tests if we already determined that
12044 # the CXX compiler isn't working. Some variables (like enable_shared)
12045 # are currently assumed to apply to all compilers on this platform,
12046 # and will be corrupted by setting them based on a non-working compiler.
12047 if test "$_lt_caught_CXX_error" != yes; then
12048 # Code to be used in simple compile tests
12049 lt_simple_compile_test_code="int some_variable = 0;"
12051 # Code to be used in simple link tests
12052 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12054 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12061 # If no C compiler was specified, use CC.
12062 LTCC=${LTCC-"$CC"}
12064 # If no C compiler flags were specified, use CFLAGS.
12065 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12067 # Allow CC to be a program name with arguments.
12068 compiler=$CC
12071 # save warnings/boilerplate of simple test code
12072 ac_outfile=conftest.$ac_objext
12073 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12074 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12075 _lt_compiler_boilerplate=`cat conftest.err`
12076 $RM conftest*
12078 ac_outfile=conftest.$ac_objext
12079 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12080 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12081 _lt_linker_boilerplate=`cat conftest.err`
12082 $RM -r conftest*
12085 # Allow CC to be a program name with arguments.
12086 lt_save_CC=$CC
12087 lt_save_LD=$LD
12088 lt_save_GCC=$GCC
12089 GCC=$GXX
12090 lt_save_with_gnu_ld=$with_gnu_ld
12091 lt_save_path_LD=$lt_cv_path_LD
12092 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12093 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12094 else
12095 $as_unset lt_cv_prog_gnu_ld
12097 if test -n "${lt_cv_path_LDCXX+set}"; then
12098 lt_cv_path_LD=$lt_cv_path_LDCXX
12099 else
12100 $as_unset lt_cv_path_LD
12102 test -z "${LDCXX+set}" || LD=$LDCXX
12103 CC=${CXX-"c++"}
12104 compiler=$CC
12105 compiler_CXX=$CC
12106 for cc_temp in $compiler""; do
12107 case $cc_temp in
12108 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12109 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12110 \-*) ;;
12111 *) break;;
12112 esac
12113 done
12114 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12117 if test -n "$compiler"; then
12118 # We don't want -fno-exception when compiling C++ code, so set the
12119 # no_builtin_flag separately
12120 if test "$GXX" = yes; then
12121 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12122 else
12123 lt_prog_compiler_no_builtin_flag_CXX=
12126 if test "$GXX" = yes; then
12127 # Set up default GNU C++ configuration
12131 # Check whether --with-gnu-ld was given.
12132 if test "${with_gnu_ld+set}" = set; then :
12133 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12134 else
12135 with_gnu_ld=no
12138 ac_prog=ld
12139 if test "$GCC" = yes; then
12140 # Check if gcc -print-prog-name=ld gives a path.
12141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12142 $as_echo_n "checking for ld used by $CC... " >&6; }
12143 case $host in
12144 *-*-mingw*)
12145 # gcc leaves a trailing carriage return which upsets mingw
12146 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12148 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12149 esac
12150 case $ac_prog in
12151 # Accept absolute paths.
12152 [\\/]* | ?:[\\/]*)
12153 re_direlt='/[^/][^/]*/\.\./'
12154 # Canonicalize the pathname of ld
12155 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12156 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12157 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12158 done
12159 test -z "$LD" && LD="$ac_prog"
12162 # If it fails, then pretend we aren't using GCC.
12163 ac_prog=ld
12166 # If it is relative, then search for the first ld in PATH.
12167 with_gnu_ld=unknown
12169 esac
12170 elif test "$with_gnu_ld" = yes; then
12171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12172 $as_echo_n "checking for GNU ld... " >&6; }
12173 else
12174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12175 $as_echo_n "checking for non-GNU ld... " >&6; }
12177 if test "${lt_cv_path_LD+set}" = set; then :
12178 $as_echo_n "(cached) " >&6
12179 else
12180 if test -z "$LD"; then
12181 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12182 for ac_dir in $PATH; do
12183 IFS="$lt_save_ifs"
12184 test -z "$ac_dir" && ac_dir=.
12185 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12186 lt_cv_path_LD="$ac_dir/$ac_prog"
12187 # Check to see if the program is GNU ld. I'd rather use --version,
12188 # but apparently some variants of GNU ld only accept -v.
12189 # Break only if it was the GNU/non-GNU ld that we prefer.
12190 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12191 *GNU* | *'with BFD'*)
12192 test "$with_gnu_ld" != no && break
12195 test "$with_gnu_ld" != yes && break
12197 esac
12199 done
12200 IFS="$lt_save_ifs"
12201 else
12202 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12206 LD="$lt_cv_path_LD"
12207 if test -n "$LD"; then
12208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12209 $as_echo "$LD" >&6; }
12210 else
12211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12212 $as_echo "no" >&6; }
12214 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
12215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12216 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12217 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12218 $as_echo_n "(cached) " >&6
12219 else
12220 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12221 case `$LD -v 2>&1 </dev/null` in
12222 *GNU* | *'with BFD'*)
12223 lt_cv_prog_gnu_ld=yes
12226 lt_cv_prog_gnu_ld=no
12228 esac
12230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12231 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12232 with_gnu_ld=$lt_cv_prog_gnu_ld
12240 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12241 # archiving commands below assume that GNU ld is being used.
12242 if test "$with_gnu_ld" = yes; then
12243 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12244 archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12246 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12247 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12249 # If archive_cmds runs LD, not CC, wlarc should be empty
12250 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12251 # investigate it a little bit more. (MM)
12252 wlarc='${wl}'
12254 # ancient GNU ld didn't support --whole-archive et. al.
12255 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12256 $GREP 'no-whole-archive' > /dev/null; then
12257 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12258 else
12259 whole_archive_flag_spec_CXX=
12261 else
12262 with_gnu_ld=no
12263 wlarc=
12265 # A generic and very simple default shared library creation
12266 # command for GNU C++ for the case where it uses the native
12267 # linker, instead of GNU ld. If possible, this setting should
12268 # overridden to take advantage of the native linker features on
12269 # the platform it is being used on.
12270 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12273 # Commands to make compiler produce verbose output that lists
12274 # what "hidden" libraries, object files and flags are used when
12275 # linking a shared library.
12276 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12278 else
12279 GXX=no
12280 with_gnu_ld=no
12281 wlarc=
12284 # PORTME: fill in a description of your system's C++ link characteristics
12285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12286 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12287 ld_shlibs_CXX=yes
12288 case $host_os in
12289 aix3*)
12290 # FIXME: insert proper C++ library support
12291 ld_shlibs_CXX=no
12293 aix[4-9]*)
12294 if test "$host_cpu" = ia64; then
12295 # On IA64, the linker does run time linking by default, so we don't
12296 # have to do anything special.
12297 aix_use_runtimelinking=no
12298 exp_sym_flag='-Bexport'
12299 no_entry_flag=""
12300 else
12301 aix_use_runtimelinking=no
12303 # Test if we are trying to use run time linking or normal
12304 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12305 # need to do runtime linking.
12306 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12307 for ld_flag in $LDFLAGS; do
12308 case $ld_flag in
12309 *-brtl*)
12310 aix_use_runtimelinking=yes
12311 break
12313 esac
12314 done
12316 esac
12318 exp_sym_flag='-bexport'
12319 no_entry_flag='-bnoentry'
12322 # When large executables or shared objects are built, AIX ld can
12323 # have problems creating the table of contents. If linking a library
12324 # or program results in "error TOC overflow" add -mminimal-toc to
12325 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12326 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12328 archive_cmds_CXX=''
12329 hardcode_direct_CXX=yes
12330 hardcode_direct_absolute_CXX=yes
12331 hardcode_libdir_separator_CXX=':'
12332 link_all_deplibs_CXX=yes
12333 file_list_spec_CXX='${wl}-f,'
12335 if test "$GXX" = yes; then
12336 case $host_os in aix4.[012]|aix4.[012].*)
12337 # We only want to do this on AIX 4.2 and lower, the check
12338 # below for broken collect2 doesn't work under 4.3+
12339 collect2name=`${CC} -print-prog-name=collect2`
12340 if test -f "$collect2name" &&
12341 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12342 then
12343 # We have reworked collect2
12345 else
12346 # We have old collect2
12347 hardcode_direct_CXX=unsupported
12348 # It fails to find uninstalled libraries when the uninstalled
12349 # path is not listed in the libpath. Setting hardcode_minus_L
12350 # to unsupported forces relinking
12351 hardcode_minus_L_CXX=yes
12352 hardcode_libdir_flag_spec_CXX='-L$libdir'
12353 hardcode_libdir_separator_CXX=
12355 esac
12356 shared_flag='-shared'
12357 if test "$aix_use_runtimelinking" = yes; then
12358 shared_flag="$shared_flag "'${wl}-G'
12360 else
12361 # not using gcc
12362 if test "$host_cpu" = ia64; then
12363 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12364 # chokes on -Wl,-G. The following line is correct:
12365 shared_flag='-G'
12366 else
12367 if test "$aix_use_runtimelinking" = yes; then
12368 shared_flag='${wl}-G'
12369 else
12370 shared_flag='${wl}-bM:SRE'
12375 export_dynamic_flag_spec_CXX='${wl}-bexpall'
12376 # It seems that -bexpall does not export symbols beginning with
12377 # underscore (_), so it is better to generate a list of symbols to
12378 # export.
12379 always_export_symbols_CXX=yes
12380 if test "$aix_use_runtimelinking" = yes; then
12381 # Warning - without using the other runtime loading flags (-brtl),
12382 # -berok will link without error, but may produce a broken library.
12383 allow_undefined_flag_CXX='-berok'
12384 # Determine the default libpath from the value encoded in an empty
12385 # executable.
12386 if test x$gcc_no_link = xyes; then
12387 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12390 /* end confdefs.h. */
12393 main ()
12397 return 0;
12399 _ACEOF
12400 if ac_fn_cxx_try_link "$LINENO"; then :
12402 lt_aix_libpath_sed='
12403 /Import File Strings/,/^$/ {
12404 /^0/ {
12405 s/^0 *\(.*\)$/\1/
12409 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12410 # Check for a 64-bit object if we didn't find anything.
12411 if test -z "$aix_libpath"; then
12412 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12415 rm -f core conftest.err conftest.$ac_objext \
12416 conftest$ac_exeext conftest.$ac_ext
12417 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12419 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12421 archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
12422 else
12423 if test "$host_cpu" = ia64; then
12424 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12425 allow_undefined_flag_CXX="-z nodefs"
12426 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
12427 else
12428 # Determine the default libpath from the value encoded in an
12429 # empty executable.
12430 if test x$gcc_no_link = xyes; then
12431 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12434 /* end confdefs.h. */
12437 main ()
12441 return 0;
12443 _ACEOF
12444 if ac_fn_cxx_try_link "$LINENO"; then :
12446 lt_aix_libpath_sed='
12447 /Import File Strings/,/^$/ {
12448 /^0/ {
12449 s/^0 *\(.*\)$/\1/
12453 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12454 # Check for a 64-bit object if we didn't find anything.
12455 if test -z "$aix_libpath"; then
12456 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12459 rm -f core conftest.err conftest.$ac_objext \
12460 conftest$ac_exeext conftest.$ac_ext
12461 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12463 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12464 # Warning - without using the other run time loading flags,
12465 # -berok will link without error, but may produce a broken library.
12466 no_undefined_flag_CXX=' ${wl}-bernotok'
12467 allow_undefined_flag_CXX=' ${wl}-berok'
12468 if test "$with_gnu_ld" = yes; then
12469 # We only use this code for GNU lds that support --whole-archive.
12470 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12471 else
12472 # Exported symbols can be pulled into shared objects from archives
12473 whole_archive_flag_spec_CXX='$convenience'
12475 archive_cmds_need_lc_CXX=yes
12476 # This is similar to how AIX traditionally builds its shared
12477 # libraries.
12478 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
12483 beos*)
12484 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12485 allow_undefined_flag_CXX=unsupported
12486 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12487 # support --undefined. This deserves some investigation. FIXME
12488 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12489 else
12490 ld_shlibs_CXX=no
12494 chorus*)
12495 case $cc_basename in
12497 # FIXME: insert proper C++ library support
12498 ld_shlibs_CXX=no
12500 esac
12503 cygwin* | mingw* | pw32* | cegcc*)
12504 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12505 # as there is no search path for DLLs.
12506 hardcode_libdir_flag_spec_CXX='-L$libdir'
12507 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12508 allow_undefined_flag_CXX=unsupported
12509 always_export_symbols_CXX=no
12510 enable_shared_with_static_runtimes_CXX=yes
12512 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12513 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12514 # If the export-symbols file already is a .def file (1st line
12515 # is EXPORTS), use it as is; otherwise, prepend...
12516 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12517 cp $export_symbols $output_objdir/$soname.def;
12518 else
12519 echo EXPORTS > $output_objdir/$soname.def;
12520 cat $export_symbols >> $output_objdir/$soname.def;
12522 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12523 else
12524 ld_shlibs_CXX=no
12527 darwin* | rhapsody*)
12530 archive_cmds_need_lc_CXX=no
12531 hardcode_direct_CXX=no
12532 hardcode_automatic_CXX=yes
12533 hardcode_shlibpath_var_CXX=unsupported
12534 if test "$lt_cv_ld_force_load" = "yes"; then
12535 whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
12536 else
12537 whole_archive_flag_spec_CXX=''
12539 link_all_deplibs_CXX=yes
12540 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12541 case $cc_basename in
12542 ifort*) _lt_dar_can_shared=yes ;;
12543 *) _lt_dar_can_shared=$GCC ;;
12544 esac
12545 if test "$_lt_dar_can_shared" = "yes"; then
12546 output_verbose_link_cmd=func_echo_all
12547 archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
12548 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12549 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
12550 module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
12551 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12552 archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
12553 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
12556 else
12557 ld_shlibs_CXX=no
12562 dgux*)
12563 case $cc_basename in
12564 ec++*)
12565 # FIXME: insert proper C++ library support
12566 ld_shlibs_CXX=no
12568 ghcx*)
12569 # Green Hills C++ Compiler
12570 # FIXME: insert proper C++ library support
12571 ld_shlibs_CXX=no
12574 # FIXME: insert proper C++ library support
12575 ld_shlibs_CXX=no
12577 esac
12580 freebsd2.*)
12581 # C++ shared libraries reported to be fairly broken before
12582 # switch to ELF
12583 ld_shlibs_CXX=no
12586 freebsd-elf*)
12587 archive_cmds_need_lc_CXX=no
12590 freebsd* | dragonfly*)
12591 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12592 # conventions
12593 ld_shlibs_CXX=yes
12596 gnu*)
12599 haiku*)
12600 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12601 link_all_deplibs_CXX=yes
12604 hpux9*)
12605 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12606 hardcode_libdir_separator_CXX=:
12607 export_dynamic_flag_spec_CXX='${wl}-E'
12608 hardcode_direct_CXX=yes
12609 hardcode_minus_L_CXX=yes # Not in the search PATH,
12610 # but as the default
12611 # location of the library.
12613 case $cc_basename in
12614 CC*)
12615 # FIXME: insert proper C++ library support
12616 ld_shlibs_CXX=no
12618 aCC*)
12619 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12620 # Commands to make compiler produce verbose output that lists
12621 # what "hidden" libraries, object files and flags are used when
12622 # linking a shared library.
12624 # There doesn't appear to be a way to prevent this compiler from
12625 # explicitly linking system object files so we need to strip them
12626 # from the output so that they don't get included in the library
12627 # dependencies.
12628 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
12631 if test "$GXX" = yes; then
12632 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12633 else
12634 # FIXME: insert proper C++ library support
12635 ld_shlibs_CXX=no
12638 esac
12641 hpux10*|hpux11*)
12642 if test $with_gnu_ld = no; then
12643 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12644 hardcode_libdir_separator_CXX=:
12646 case $host_cpu in
12647 hppa*64*|ia64*)
12650 export_dynamic_flag_spec_CXX='${wl}-E'
12652 esac
12654 case $host_cpu in
12655 hppa*64*|ia64*)
12656 hardcode_direct_CXX=no
12657 hardcode_shlibpath_var_CXX=no
12660 hardcode_direct_CXX=yes
12661 hardcode_direct_absolute_CXX=yes
12662 hardcode_minus_L_CXX=yes # Not in the search PATH,
12663 # but as the default
12664 # location of the library.
12666 esac
12668 case $cc_basename in
12669 CC*)
12670 # FIXME: insert proper C++ library support
12671 ld_shlibs_CXX=no
12673 aCC*)
12674 case $host_cpu in
12675 hppa*64*)
12676 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12678 ia64*)
12679 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12682 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12684 esac
12685 # Commands to make compiler produce verbose output that lists
12686 # what "hidden" libraries, object files and flags are used when
12687 # linking a shared library.
12689 # There doesn't appear to be a way to prevent this compiler from
12690 # explicitly linking system object files so we need to strip them
12691 # from the output so that they don't get included in the library
12692 # dependencies.
12693 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
12696 if test "$GXX" = yes; then
12697 if test $with_gnu_ld = no; then
12698 case $host_cpu in
12699 hppa*64*)
12700 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12702 ia64*)
12703 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12706 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12708 esac
12710 else
12711 # FIXME: insert proper C++ library support
12712 ld_shlibs_CXX=no
12715 esac
12718 interix[3-9]*)
12719 hardcode_direct_CXX=no
12720 hardcode_shlibpath_var_CXX=no
12721 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12722 export_dynamic_flag_spec_CXX='${wl}-E'
12723 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12724 # Instead, shared libraries are loaded at an image base (0x10000000 by
12725 # default) and relocated if they conflict, which is a slow very memory
12726 # consuming and fragmenting process. To avoid this, we pick a random,
12727 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12728 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12729 archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
12730 archive_expsym_cmds_CXX='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
12732 irix5* | irix6*)
12733 case $cc_basename in
12734 CC*)
12735 # SGI C++
12736 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
12738 # Archives containing C++ object files must be created using
12739 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12740 # necessary to make sure instantiated templates are included
12741 # in the archive.
12742 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12745 if test "$GXX" = yes; then
12746 if test "$with_gnu_ld" = no; then
12747 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12748 else
12749 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
12752 link_all_deplibs_CXX=yes
12754 esac
12755 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12756 hardcode_libdir_separator_CXX=:
12757 inherit_rpath_CXX=yes
12760 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12761 case $cc_basename in
12762 KCC*)
12763 # Kuck and Associates, Inc. (KAI) C++ Compiler
12765 # KCC will only create a shared library if the output file
12766 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12767 # to its proper name (with version) after linking.
12768 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
12769 archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
12770 # Commands to make compiler produce verbose output that lists
12771 # what "hidden" libraries, object files and flags are used when
12772 # linking a shared library.
12774 # There doesn't appear to be a way to prevent this compiler from
12775 # explicitly linking system object files so we need to strip them
12776 # from the output so that they don't get included in the library
12777 # dependencies.
12778 output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
12780 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12781 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12783 # Archives containing C++ object files must be created using
12784 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12785 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12787 icpc* | ecpc* )
12788 # Intel C++
12789 with_gnu_ld=yes
12790 # version 8.0 and above of icpc choke on multiply defined symbols
12791 # if we add $predep_objects and $postdep_objects, however 7.1 and
12792 # earlier do not add the objects themselves.
12793 case `$CC -V 2>&1` in
12794 *"Version 7."*)
12795 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12796 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12798 *) # Version 8.0 or newer
12799 tmp_idyn=
12800 case $host_cpu in
12801 ia64*) tmp_idyn=' -i_dynamic';;
12802 esac
12803 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12804 archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12806 esac
12807 archive_cmds_need_lc_CXX=no
12808 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12809 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12810 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12812 pgCC* | pgcpp*)
12813 # Portland Group C++ compiler
12814 case `$CC -V` in
12815 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12816 prelink_cmds_CXX='tpldir=Template.dir~
12817 rm -rf $tpldir~
12818 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12819 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12820 old_archive_cmds_CXX='tpldir=Template.dir~
12821 rm -rf $tpldir~
12822 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12823 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12824 $RANLIB $oldlib'
12825 archive_cmds_CXX='tpldir=Template.dir~
12826 rm -rf $tpldir~
12827 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12828 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12829 archive_expsym_cmds_CXX='tpldir=Template.dir~
12830 rm -rf $tpldir~
12831 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12832 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
12834 *) # Version 6 and above use weak symbols
12835 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12836 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
12838 esac
12840 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12841 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12842 whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
12844 cxx*)
12845 # Compaq C++
12846 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12847 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
12849 runpath_var=LD_RUN_PATH
12850 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12851 hardcode_libdir_separator_CXX=:
12853 # Commands to make compiler produce verbose output that lists
12854 # what "hidden" libraries, object files and flags are used when
12855 # linking a shared library.
12857 # There doesn't appear to be a way to prevent this compiler from
12858 # explicitly linking system object files so we need to strip them
12859 # from the output so that they don't get included in the library
12860 # dependencies.
12861 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
12863 xl* | mpixl* | bgxl*)
12864 # IBM XL 8.0 on PPC, with GNU ld
12865 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12866 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12867 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12868 if test "x$supports_anon_versioning" = xyes; then
12869 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12870 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12871 echo "local: *; };" >> $output_objdir/$libname.ver~
12872 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12876 case `$CC -V 2>&1 | sed 5q` in
12877 *Sun\ C*)
12878 # Sun C++ 5.9
12879 no_undefined_flag_CXX=' -zdefs'
12880 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12881 archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
12882 hardcode_libdir_flag_spec_CXX='-R$libdir'
12883 whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
12884 compiler_needs_object_CXX=yes
12886 # Not sure whether something based on
12887 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12888 # would be better.
12889 output_verbose_link_cmd='func_echo_all'
12891 # Archives containing C++ object files must be created using
12892 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12893 # necessary to make sure instantiated templates are included
12894 # in the archive.
12895 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12897 esac
12899 esac
12902 lynxos*)
12903 # FIXME: insert proper C++ library support
12904 ld_shlibs_CXX=no
12907 m88k*)
12908 # FIXME: insert proper C++ library support
12909 ld_shlibs_CXX=no
12912 mvs*)
12913 case $cc_basename in
12914 cxx*)
12915 # FIXME: insert proper C++ library support
12916 ld_shlibs_CXX=no
12919 # FIXME: insert proper C++ library support
12920 ld_shlibs_CXX=no
12922 esac
12925 netbsd*)
12926 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12927 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12928 wlarc=
12929 hardcode_libdir_flag_spec_CXX='-R$libdir'
12930 hardcode_direct_CXX=yes
12931 hardcode_shlibpath_var_CXX=no
12933 # Workaround some broken pre-1.5 toolchains
12934 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12937 *nto* | *qnx*)
12938 ld_shlibs_CXX=yes
12941 openbsd2*)
12942 # C++ shared libraries are fairly broken
12943 ld_shlibs_CXX=no
12946 openbsd*)
12947 if test -f /usr/libexec/ld.so; then
12948 hardcode_direct_CXX=yes
12949 hardcode_shlibpath_var_CXX=no
12950 hardcode_direct_absolute_CXX=yes
12951 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12952 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12953 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12954 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12955 export_dynamic_flag_spec_CXX='${wl}-E'
12956 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12958 output_verbose_link_cmd=func_echo_all
12959 else
12960 ld_shlibs_CXX=no
12964 osf3* | osf4* | osf5*)
12965 case $cc_basename in
12966 KCC*)
12967 # Kuck and Associates, Inc. (KAI) C++ Compiler
12969 # KCC will only create a shared library if the output file
12970 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12971 # to its proper name (with version) after linking.
12972 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
12974 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12975 hardcode_libdir_separator_CXX=:
12977 # Archives containing C++ object files must be created using
12978 # the KAI C++ compiler.
12979 case $host in
12980 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
12981 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
12982 esac
12984 RCC*)
12985 # Rational C++ 2.4.1
12986 # FIXME: insert proper C++ library support
12987 ld_shlibs_CXX=no
12989 cxx*)
12990 case $host in
12991 osf3*)
12992 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12993 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
12994 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12997 allow_undefined_flag_CXX=' -expect_unresolved \*'
12998 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
12999 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13000 echo "-hidden">> $lib.exp~
13001 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~
13002 $RM $lib.exp'
13003 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13005 esac
13007 hardcode_libdir_separator_CXX=:
13009 # Commands to make compiler produce verbose output that lists
13010 # what "hidden" libraries, object files and flags are used when
13011 # linking a shared library.
13013 # There doesn't appear to be a way to prevent this compiler from
13014 # explicitly linking system object files so we need to strip them
13015 # from the output so that they don't get included in the library
13016 # dependencies.
13017 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
13020 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13021 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13022 case $host in
13023 osf3*)
13024 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13027 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13029 esac
13031 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13032 hardcode_libdir_separator_CXX=:
13034 # Commands to make compiler produce verbose output that lists
13035 # what "hidden" libraries, object files and flags are used when
13036 # linking a shared library.
13037 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13039 else
13040 # FIXME: insert proper C++ library support
13041 ld_shlibs_CXX=no
13044 esac
13047 psos*)
13048 # FIXME: insert proper C++ library support
13049 ld_shlibs_CXX=no
13052 sunos4*)
13053 case $cc_basename in
13054 CC*)
13055 # Sun C++ 4.x
13056 # FIXME: insert proper C++ library support
13057 ld_shlibs_CXX=no
13059 lcc*)
13060 # Lucid
13061 # FIXME: insert proper C++ library support
13062 ld_shlibs_CXX=no
13065 # FIXME: insert proper C++ library support
13066 ld_shlibs_CXX=no
13068 esac
13071 solaris*)
13072 case $cc_basename in
13073 CC*)
13074 # Sun C++ 4.2, 5.x and Centerline C++
13075 archive_cmds_need_lc_CXX=yes
13076 no_undefined_flag_CXX=' -zdefs'
13077 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13078 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13079 $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13081 hardcode_libdir_flag_spec_CXX='-R$libdir'
13082 hardcode_shlibpath_var_CXX=no
13083 case $host_os in
13084 solaris2.[0-5] | solaris2.[0-5].*) ;;
13086 # The compiler driver will combine and reorder linker options,
13087 # but understands `-z linker_flag'.
13088 # Supported since Solaris 2.6 (maybe 2.5.1?)
13089 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13091 esac
13092 link_all_deplibs_CXX=yes
13094 output_verbose_link_cmd='func_echo_all'
13096 # Archives containing C++ object files must be created using
13097 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13098 # necessary to make sure instantiated templates are included
13099 # in the archive.
13100 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13102 gcx*)
13103 # Green Hills C++ Compiler
13104 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13106 # The C++ compiler must be used to create the archive.
13107 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13110 # GNU C++ compiler with Solaris linker
13111 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13112 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13113 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13114 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13115 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13116 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13118 # Commands to make compiler produce verbose output that lists
13119 # what "hidden" libraries, object files and flags are used when
13120 # linking a shared library.
13121 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13122 else
13123 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13124 # platform.
13125 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13126 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13127 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13129 # Commands to make compiler produce verbose output that lists
13130 # what "hidden" libraries, object files and flags are used when
13131 # linking a shared library.
13132 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13135 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13136 case $host_os in
13137 solaris2.[0-5] | solaris2.[0-5].*) ;;
13139 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13141 esac
13144 esac
13147 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13148 no_undefined_flag_CXX='${wl}-z,text'
13149 archive_cmds_need_lc_CXX=no
13150 hardcode_shlibpath_var_CXX=no
13151 runpath_var='LD_RUN_PATH'
13153 case $cc_basename in
13154 CC*)
13155 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13156 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13159 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13160 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13162 esac
13165 sysv5* | sco3.2v5* | sco5v6*)
13166 # Note: We can NOT use -z defs as we might desire, because we do not
13167 # link with -lc, and that would cause any symbols used from libc to
13168 # always be unresolved, which means just about no library would
13169 # ever link correctly. If we're not using GNU ld we use -z text
13170 # though, which does catch some bad symbols but isn't as heavy-handed
13171 # as -z defs.
13172 no_undefined_flag_CXX='${wl}-z,text'
13173 allow_undefined_flag_CXX='${wl}-z,nodefs'
13174 archive_cmds_need_lc_CXX=no
13175 hardcode_shlibpath_var_CXX=no
13176 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13177 hardcode_libdir_separator_CXX=':'
13178 link_all_deplibs_CXX=yes
13179 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13180 runpath_var='LD_RUN_PATH'
13182 case $cc_basename in
13183 CC*)
13184 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13185 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13186 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13187 '"$old_archive_cmds_CXX"
13188 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13189 '"$reload_cmds_CXX"
13192 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13193 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13195 esac
13198 tandem*)
13199 case $cc_basename in
13200 NCC*)
13201 # NonStop-UX NCC 3.20
13202 # FIXME: insert proper C++ library support
13203 ld_shlibs_CXX=no
13206 # FIXME: insert proper C++ library support
13207 ld_shlibs_CXX=no
13209 esac
13212 vxworks*)
13213 # FIXME: insert proper C++ library support
13214 ld_shlibs_CXX=no
13218 # FIXME: insert proper C++ library support
13219 ld_shlibs_CXX=no
13221 esac
13223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13224 $as_echo "$ld_shlibs_CXX" >&6; }
13225 test "$ld_shlibs_CXX" = no && can_build_shared=no
13227 GCC_CXX="$GXX"
13228 LD_CXX="$LD"
13230 ## CAVEAT EMPTOR:
13231 ## There is no encapsulation within the following macros, do not change
13232 ## the running order or otherwise move them around unless you know exactly
13233 ## what you are doing...
13234 # Dependencies to place before and after the object being linked:
13235 predep_objects_CXX=
13236 postdep_objects_CXX=
13237 predeps_CXX=
13238 postdeps_CXX=
13239 compiler_lib_search_path_CXX=
13241 cat > conftest.$ac_ext <<_LT_EOF
13242 class Foo
13244 public:
13245 Foo (void) { a = 0; }
13246 private:
13247 int a;
13249 _LT_EOF
13251 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13252 (eval $ac_compile) 2>&5
13253 ac_status=$?
13254 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13255 test $ac_status = 0; }; then
13256 # Parse the compiler output and extract the necessary
13257 # objects, libraries and library flags.
13259 # Sentinel used to keep track of whether or not we are before
13260 # the conftest object file.
13261 pre_test_object_deps_done=no
13263 for p in `eval "$output_verbose_link_cmd"`; do
13264 case $p in
13266 -L* | -R* | -l*)
13267 # Some compilers place space between "-{L,R}" and the path.
13268 # Remove the space.
13269 if test $p = "-L" ||
13270 test $p = "-R"; then
13271 prev=$p
13272 continue
13273 else
13274 prev=
13277 if test "$pre_test_object_deps_done" = no; then
13278 case $p in
13279 -L* | -R*)
13280 # Internal compiler library paths should come after those
13281 # provided the user. The postdeps already come after the
13282 # user supplied libs so there is no need to process them.
13283 if test -z "$compiler_lib_search_path_CXX"; then
13284 compiler_lib_search_path_CXX="${prev}${p}"
13285 else
13286 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13289 # The "-l" case would never come before the object being
13290 # linked, so don't bother handling this case.
13291 esac
13292 else
13293 if test -z "$postdeps_CXX"; then
13294 postdeps_CXX="${prev}${p}"
13295 else
13296 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13301 *.$objext)
13302 # This assumes that the test object file only shows up
13303 # once in the compiler output.
13304 if test "$p" = "conftest.$objext"; then
13305 pre_test_object_deps_done=yes
13306 continue
13309 if test "$pre_test_object_deps_done" = no; then
13310 if test -z "$predep_objects_CXX"; then
13311 predep_objects_CXX="$p"
13312 else
13313 predep_objects_CXX="$predep_objects_CXX $p"
13315 else
13316 if test -z "$postdep_objects_CXX"; then
13317 postdep_objects_CXX="$p"
13318 else
13319 postdep_objects_CXX="$postdep_objects_CXX $p"
13324 *) ;; # Ignore the rest.
13326 esac
13327 done
13329 # Clean up.
13330 rm -f a.out a.exe
13331 else
13332 echo "libtool.m4: error: problem compiling CXX test program"
13335 $RM -f confest.$objext
13337 # PORTME: override above test on systems where it is broken
13338 case $host_os in
13339 interix[3-9]*)
13340 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13341 # hack all around it, let's just trust "g++" to DTRT.
13342 predep_objects_CXX=
13343 postdep_objects_CXX=
13344 postdeps_CXX=
13347 linux*)
13348 case `$CC -V 2>&1 | sed 5q` in
13349 *Sun\ C*)
13350 # Sun C++ 5.9
13352 # The more standards-conforming stlport4 library is
13353 # incompatible with the Cstd library. Avoid specifying
13354 # it if it's in CXXFLAGS. Ignore libCrun as
13355 # -library=stlport4 depends on it.
13356 case " $CXX $CXXFLAGS " in
13357 *" -library=stlport4 "*)
13358 solaris_use_stlport4=yes
13360 esac
13362 if test "$solaris_use_stlport4" != yes; then
13363 postdeps_CXX='-library=Cstd -library=Crun'
13366 esac
13369 solaris*)
13370 case $cc_basename in
13371 CC*)
13372 # The more standards-conforming stlport4 library is
13373 # incompatible with the Cstd library. Avoid specifying
13374 # it if it's in CXXFLAGS. Ignore libCrun as
13375 # -library=stlport4 depends on it.
13376 case " $CXX $CXXFLAGS " in
13377 *" -library=stlport4 "*)
13378 solaris_use_stlport4=yes
13380 esac
13382 # Adding this requires a known-good setup of shared libraries for
13383 # Sun compiler versions before 5.6, else PIC objects from an old
13384 # archive will be linked into the output, leading to subtle bugs.
13385 if test "$solaris_use_stlport4" != yes; then
13386 postdeps_CXX='-library=Cstd -library=Crun'
13389 esac
13391 esac
13394 case " $postdeps_CXX " in
13395 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13396 esac
13397 compiler_lib_search_dirs_CXX=
13398 if test -n "${compiler_lib_search_path_CXX}"; then
13399 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13432 lt_prog_compiler_wl_CXX=
13433 lt_prog_compiler_pic_CXX=
13434 lt_prog_compiler_static_CXX=
13436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13437 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13439 # C++ specific cases for pic, static, wl, etc.
13440 if test "$GXX" = yes; then
13441 lt_prog_compiler_wl_CXX='-Wl,'
13442 lt_prog_compiler_static_CXX='-static'
13444 case $host_os in
13445 aix*)
13446 # All AIX code is PIC.
13447 if test "$host_cpu" = ia64; then
13448 # AIX 5 now supports IA64 processor
13449 lt_prog_compiler_static_CXX='-Bstatic'
13451 lt_prog_compiler_pic_CXX='-fPIC'
13454 amigaos*)
13455 case $host_cpu in
13456 powerpc)
13457 # see comment about AmigaOS4 .so support
13458 lt_prog_compiler_pic_CXX='-fPIC'
13460 m68k)
13461 # FIXME: we need at least 68020 code to build shared libraries, but
13462 # adding the `-m68020' flag to GCC prevents building anything better,
13463 # like `-m68040'.
13464 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13466 esac
13469 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13470 # PIC is the default for these OSes.
13472 mingw* | cygwin* | os2* | pw32* | cegcc*)
13473 # This hack is so that the source file can tell whether it is being
13474 # built for inclusion in a dll (and should export symbols for example).
13475 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13476 # (--disable-auto-import) libraries
13477 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13479 darwin* | rhapsody*)
13480 # PIC is the default on this platform
13481 # Common symbols not allowed in MH_DYLIB files
13482 lt_prog_compiler_pic_CXX='-fno-common'
13484 *djgpp*)
13485 # DJGPP does not support shared libraries at all
13486 lt_prog_compiler_pic_CXX=
13488 haiku*)
13489 # PIC is the default for Haiku.
13490 # The "-static" flag exists, but is broken.
13491 lt_prog_compiler_static_CXX=
13493 interix[3-9]*)
13494 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13495 # Instead, we relocate shared libraries at runtime.
13497 sysv4*MP*)
13498 if test -d /usr/nec; then
13499 lt_prog_compiler_pic_CXX=-Kconform_pic
13502 hpux*)
13503 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13504 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13505 # sets the default TLS model and affects inlining.
13506 case $host_cpu in
13507 hppa*64*)
13510 lt_prog_compiler_pic_CXX='-fPIC'
13512 esac
13514 *qnx* | *nto*)
13515 # QNX uses GNU C++, but need to define -shared option too, otherwise
13516 # it will coredump.
13517 lt_prog_compiler_pic_CXX='-fPIC -shared'
13520 lt_prog_compiler_pic_CXX='-fPIC'
13522 esac
13523 else
13524 case $host_os in
13525 aix[4-9]*)
13526 # All AIX code is PIC.
13527 if test "$host_cpu" = ia64; then
13528 # AIX 5 now supports IA64 processor
13529 lt_prog_compiler_static_CXX='-Bstatic'
13530 else
13531 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13534 chorus*)
13535 case $cc_basename in
13536 cxch68*)
13537 # Green Hills C++ Compiler
13538 # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
13540 esac
13542 dgux*)
13543 case $cc_basename in
13544 ec++*)
13545 lt_prog_compiler_pic_CXX='-KPIC'
13547 ghcx*)
13548 # Green Hills C++ Compiler
13549 lt_prog_compiler_pic_CXX='-pic'
13553 esac
13555 freebsd* | dragonfly*)
13556 # FreeBSD uses GNU C++
13558 hpux9* | hpux10* | hpux11*)
13559 case $cc_basename in
13560 CC*)
13561 lt_prog_compiler_wl_CXX='-Wl,'
13562 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13563 if test "$host_cpu" != ia64; then
13564 lt_prog_compiler_pic_CXX='+Z'
13567 aCC*)
13568 lt_prog_compiler_wl_CXX='-Wl,'
13569 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13570 case $host_cpu in
13571 hppa*64*|ia64*)
13572 # +Z the default
13575 lt_prog_compiler_pic_CXX='+Z'
13577 esac
13581 esac
13583 interix*)
13584 # This is c89, which is MS Visual C++ (no shared libs)
13585 # Anyone wants to do a port?
13587 irix5* | irix6* | nonstopux*)
13588 case $cc_basename in
13589 CC*)
13590 lt_prog_compiler_wl_CXX='-Wl,'
13591 lt_prog_compiler_static_CXX='-non_shared'
13592 # CC pic flag -KPIC is the default.
13596 esac
13598 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13599 case $cc_basename in
13600 KCC*)
13601 # KAI C++ Compiler
13602 lt_prog_compiler_wl_CXX='--backend -Wl,'
13603 lt_prog_compiler_pic_CXX='-fPIC'
13605 ecpc* )
13606 # old Intel C++ for x86_64 which still supported -KPIC.
13607 lt_prog_compiler_wl_CXX='-Wl,'
13608 lt_prog_compiler_pic_CXX='-KPIC'
13609 lt_prog_compiler_static_CXX='-static'
13611 icpc* )
13612 # Intel C++, used to be incompatible with GCC.
13613 # ICC 10 doesn't accept -KPIC any more.
13614 lt_prog_compiler_wl_CXX='-Wl,'
13615 lt_prog_compiler_pic_CXX='-fPIC'
13616 lt_prog_compiler_static_CXX='-static'
13618 pgCC* | pgcpp*)
13619 # Portland Group C++ compiler
13620 lt_prog_compiler_wl_CXX='-Wl,'
13621 lt_prog_compiler_pic_CXX='-fpic'
13622 lt_prog_compiler_static_CXX='-Bstatic'
13624 cxx*)
13625 # Compaq C++
13626 # Make sure the PIC flag is empty. It appears that all Alpha
13627 # Linux and Compaq Tru64 Unix objects are PIC.
13628 lt_prog_compiler_pic_CXX=
13629 lt_prog_compiler_static_CXX='-non_shared'
13631 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13632 # IBM XL 8.0, 9.0 on PPC and BlueGene
13633 lt_prog_compiler_wl_CXX='-Wl,'
13634 lt_prog_compiler_pic_CXX='-qpic'
13635 lt_prog_compiler_static_CXX='-qstaticlink'
13638 case `$CC -V 2>&1 | sed 5q` in
13639 *Sun\ C*)
13640 # Sun C++ 5.9
13641 lt_prog_compiler_pic_CXX='-KPIC'
13642 lt_prog_compiler_static_CXX='-Bstatic'
13643 lt_prog_compiler_wl_CXX='-Qoption ld '
13645 esac
13647 esac
13649 lynxos*)
13651 m88k*)
13653 mvs*)
13654 case $cc_basename in
13655 cxx*)
13656 lt_prog_compiler_pic_CXX='-W c,exportall'
13660 esac
13662 netbsd*)
13664 *qnx* | *nto*)
13665 # QNX uses GNU C++, but need to define -shared option too, otherwise
13666 # it will coredump.
13667 lt_prog_compiler_pic_CXX='-fPIC -shared'
13669 osf3* | osf4* | osf5*)
13670 case $cc_basename in
13671 KCC*)
13672 lt_prog_compiler_wl_CXX='--backend -Wl,'
13674 RCC*)
13675 # Rational C++ 2.4.1
13676 lt_prog_compiler_pic_CXX='-pic'
13678 cxx*)
13679 # Digital/Compaq C++
13680 lt_prog_compiler_wl_CXX='-Wl,'
13681 # Make sure the PIC flag is empty. It appears that all Alpha
13682 # Linux and Compaq Tru64 Unix objects are PIC.
13683 lt_prog_compiler_pic_CXX=
13684 lt_prog_compiler_static_CXX='-non_shared'
13688 esac
13690 psos*)
13692 solaris*)
13693 case $cc_basename in
13694 CC*)
13695 # Sun C++ 4.2, 5.x and Centerline C++
13696 lt_prog_compiler_pic_CXX='-KPIC'
13697 lt_prog_compiler_static_CXX='-Bstatic'
13698 lt_prog_compiler_wl_CXX='-Qoption ld '
13700 gcx*)
13701 # Green Hills C++ Compiler
13702 lt_prog_compiler_pic_CXX='-PIC'
13706 esac
13708 sunos4*)
13709 case $cc_basename in
13710 CC*)
13711 # Sun C++ 4.x
13712 lt_prog_compiler_pic_CXX='-pic'
13713 lt_prog_compiler_static_CXX='-Bstatic'
13715 lcc*)
13716 # Lucid
13717 lt_prog_compiler_pic_CXX='-pic'
13721 esac
13723 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13724 case $cc_basename in
13725 CC*)
13726 lt_prog_compiler_wl_CXX='-Wl,'
13727 lt_prog_compiler_pic_CXX='-KPIC'
13728 lt_prog_compiler_static_CXX='-Bstatic'
13730 esac
13732 tandem*)
13733 case $cc_basename in
13734 NCC*)
13735 # NonStop-UX NCC 3.20
13736 lt_prog_compiler_pic_CXX='-KPIC'
13740 esac
13742 vxworks*)
13745 lt_prog_compiler_can_build_shared_CXX=no
13747 esac
13750 case $host_os in
13751 # For platforms which do not support PIC, -DPIC is meaningless:
13752 *djgpp*)
13753 lt_prog_compiler_pic_CXX=
13756 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13758 esac
13759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13760 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13765 # Check to make sure the PIC flag actually works.
13767 if test -n "$lt_prog_compiler_pic_CXX"; then
13768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13769 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13770 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13771 $as_echo_n "(cached) " >&6
13772 else
13773 lt_cv_prog_compiler_pic_works_CXX=no
13774 ac_outfile=conftest.$ac_objext
13775 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13776 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13777 # Insert the option either (1) after the last *FLAGS variable, or
13778 # (2) before a word containing "conftest.", or (3) at the end.
13779 # Note that $ac_compile itself does not contain backslashes and begins
13780 # with a dollar sign (not a hyphen), so the echo should work correctly.
13781 # The option is referenced via a variable to avoid confusing sed.
13782 lt_compile=`echo "$ac_compile" | $SED \
13783 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13784 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13785 -e 's:$: $lt_compiler_flag:'`
13786 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13787 (eval "$lt_compile" 2>conftest.err)
13788 ac_status=$?
13789 cat conftest.err >&5
13790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13791 if (exit $ac_status) && test -s "$ac_outfile"; then
13792 # The compiler can only warn and ignore the option if not recognized
13793 # So say no if there are warnings other than the usual output.
13794 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13795 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13796 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13797 lt_cv_prog_compiler_pic_works_CXX=yes
13800 $RM conftest*
13803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13804 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13806 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13807 case $lt_prog_compiler_pic_CXX in
13808 "" | " "*) ;;
13809 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13810 esac
13811 else
13812 lt_prog_compiler_pic_CXX=
13813 lt_prog_compiler_can_build_shared_CXX=no
13821 # Check to make sure the static flag actually works.
13823 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13825 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13826 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13827 $as_echo_n "(cached) " >&6
13828 else
13829 lt_cv_prog_compiler_static_works_CXX=no
13830 save_LDFLAGS="$LDFLAGS"
13831 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13832 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13833 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13834 # The linker can only warn and ignore the option if not recognized
13835 # So say no if there are warnings
13836 if test -s conftest.err; then
13837 # Append any errors to the config.log.
13838 cat conftest.err 1>&5
13839 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13840 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13841 if diff conftest.exp conftest.er2 >/dev/null; then
13842 lt_cv_prog_compiler_static_works_CXX=yes
13844 else
13845 lt_cv_prog_compiler_static_works_CXX=yes
13848 $RM -r conftest*
13849 LDFLAGS="$save_LDFLAGS"
13852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13853 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13855 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13857 else
13858 lt_prog_compiler_static_CXX=
13864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13865 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13866 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13867 $as_echo_n "(cached) " >&6
13868 else
13869 lt_cv_prog_compiler_c_o_CXX=no
13870 $RM -r conftest 2>/dev/null
13871 mkdir conftest
13872 cd conftest
13873 mkdir out
13874 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13876 lt_compiler_flag="-o out/conftest2.$ac_objext"
13877 # Insert the option either (1) after the last *FLAGS variable, or
13878 # (2) before a word containing "conftest.", or (3) at the end.
13879 # Note that $ac_compile itself does not contain backslashes and begins
13880 # with a dollar sign (not a hyphen), so the echo should work correctly.
13881 lt_compile=`echo "$ac_compile" | $SED \
13882 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13883 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13884 -e 's:$: $lt_compiler_flag:'`
13885 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13886 (eval "$lt_compile" 2>out/conftest.err)
13887 ac_status=$?
13888 cat out/conftest.err >&5
13889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13890 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13891 then
13892 # The compiler can only warn and ignore the option if not recognized
13893 # So say no if there are warnings
13894 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13895 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13896 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13897 lt_cv_prog_compiler_c_o_CXX=yes
13900 chmod u+w . 2>&5
13901 $RM conftest*
13902 # SGI C++ compiler will create directory out/ii_files/ for
13903 # template instantiation
13904 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13905 $RM out/* && rmdir out
13906 cd ..
13907 $RM -r conftest
13908 $RM conftest*
13911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13912 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13917 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13918 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13919 $as_echo_n "(cached) " >&6
13920 else
13921 lt_cv_prog_compiler_c_o_CXX=no
13922 $RM -r conftest 2>/dev/null
13923 mkdir conftest
13924 cd conftest
13925 mkdir out
13926 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13928 lt_compiler_flag="-o out/conftest2.$ac_objext"
13929 # Insert the option either (1) after the last *FLAGS variable, or
13930 # (2) before a word containing "conftest.", or (3) at the end.
13931 # Note that $ac_compile itself does not contain backslashes and begins
13932 # with a dollar sign (not a hyphen), so the echo should work correctly.
13933 lt_compile=`echo "$ac_compile" | $SED \
13934 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13935 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13936 -e 's:$: $lt_compiler_flag:'`
13937 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13938 (eval "$lt_compile" 2>out/conftest.err)
13939 ac_status=$?
13940 cat out/conftest.err >&5
13941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13942 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13943 then
13944 # The compiler can only warn and ignore the option if not recognized
13945 # So say no if there are warnings
13946 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13947 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13948 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13949 lt_cv_prog_compiler_c_o_CXX=yes
13952 chmod u+w . 2>&5
13953 $RM conftest*
13954 # SGI C++ compiler will create directory out/ii_files/ for
13955 # template instantiation
13956 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13957 $RM out/* && rmdir out
13958 cd ..
13959 $RM -r conftest
13960 $RM conftest*
13963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13964 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13969 hard_links="nottested"
13970 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13971 # do not overwrite the value of need_locks provided by the user
13972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13973 $as_echo_n "checking if we can lock with hard links... " >&6; }
13974 hard_links=yes
13975 $RM conftest*
13976 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13977 touch conftest.a
13978 ln conftest.a conftest.b 2>&5 || hard_links=no
13979 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13981 $as_echo "$hard_links" >&6; }
13982 if test "$hard_links" = no; then
13983 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13984 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13985 need_locks=warn
13987 else
13988 need_locks=no
13993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13994 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13996 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13997 case $host_os in
13998 aix[4-9]*)
13999 # If we're using GNU nm, then we don't want the "-C" option.
14000 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14001 # Also, AIX nm treats weak defined symbols like other global defined
14002 # symbols, whereas GNU nm marks them as "W".
14003 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14004 export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14005 else
14006 export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14009 pw32*)
14010 export_symbols_cmds_CXX="$ltdll_cmds"
14012 cygwin* | mingw* | cegcc*)
14013 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
14016 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14018 esac
14019 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14022 $as_echo "$ld_shlibs_CXX" >&6; }
14023 test "$ld_shlibs_CXX" = no && can_build_shared=no
14025 with_gnu_ld_CXX=$with_gnu_ld
14033 # Do we need to explicitly link libc?
14035 case "x$archive_cmds_need_lc_CXX" in
14036 x|xyes)
14037 # Assume -lc should be added
14038 archive_cmds_need_lc_CXX=yes
14040 if test "$enable_shared" = yes && test "$GCC" = yes; then
14041 case $archive_cmds_CXX in
14042 *'~'*)
14043 # FIXME: we may have to deal with multi-command sequences.
14045 '$CC '*)
14046 # Test whether the compiler implicitly links with -lc since on some
14047 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14048 # to ld, don't add -lc before -lgcc.
14049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14050 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14051 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
14052 $as_echo_n "(cached) " >&6
14053 else
14054 $RM conftest*
14055 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14057 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14058 (eval $ac_compile) 2>&5
14059 ac_status=$?
14060 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14061 test $ac_status = 0; } 2>conftest.err; then
14062 soname=conftest
14063 lib=conftest
14064 libobjs=conftest.$ac_objext
14065 deplibs=
14066 wl=$lt_prog_compiler_wl_CXX
14067 pic_flag=$lt_prog_compiler_pic_CXX
14068 compiler_flags=-v
14069 linker_flags=-v
14070 verstring=
14071 output_objdir=.
14072 libname=conftest
14073 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14074 allow_undefined_flag_CXX=
14075 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14076 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14077 ac_status=$?
14078 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14079 test $ac_status = 0; }
14080 then
14081 lt_cv_archive_cmds_need_lc_CXX=no
14082 else
14083 lt_cv_archive_cmds_need_lc_CXX=yes
14085 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14086 else
14087 cat conftest.err 1>&5
14089 $RM conftest*
14092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14093 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14094 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14096 esac
14099 esac
14164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14165 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14167 library_names_spec=
14168 libname_spec='lib$name'
14169 soname_spec=
14170 shrext_cmds=".so"
14171 postinstall_cmds=
14172 postuninstall_cmds=
14173 finish_cmds=
14174 finish_eval=
14175 shlibpath_var=
14176 shlibpath_overrides_runpath=unknown
14177 version_type=none
14178 dynamic_linker="$host_os ld.so"
14179 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14180 need_lib_prefix=unknown
14181 hardcode_into_libs=no
14183 # when you set need_version to no, make sure it does not cause -set_version
14184 # flags to be left without arguments
14185 need_version=unknown
14187 case $host_os in
14188 aix3*)
14189 version_type=linux
14190 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14191 shlibpath_var=LIBPATH
14193 # AIX 3 has no versioning support, so we append a major version to the name.
14194 soname_spec='${libname}${release}${shared_ext}$major'
14197 aix[4-9]*)
14198 version_type=linux
14199 need_lib_prefix=no
14200 need_version=no
14201 hardcode_into_libs=yes
14202 if test "$host_cpu" = ia64; then
14203 # AIX 5 supports IA64
14204 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14205 shlibpath_var=LD_LIBRARY_PATH
14206 else
14207 # With GCC up to 2.95.x, collect2 would create an import file
14208 # for dependence libraries. The import file would start with
14209 # the line `#! .'. This would cause the generated library to
14210 # depend on `.', always an invalid library. This was fixed in
14211 # development snapshots of GCC prior to 3.0.
14212 case $host_os in
14213 aix4 | aix4.[01] | aix4.[01].*)
14214 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14215 echo ' yes '
14216 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14218 else
14219 can_build_shared=no
14222 esac
14223 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14224 # soname into executable. Probably we can add versioning support to
14225 # collect2, so additional links can be useful in future.
14226 if test "$aix_use_runtimelinking" = yes; then
14227 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14228 # instead of lib<name>.a to let people know that these are not
14229 # typical AIX shared libraries.
14230 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14231 else
14232 # We preserve .a as extension for shared libraries through AIX4.2
14233 # and later when we are not doing run time linking.
14234 library_names_spec='${libname}${release}.a $libname.a'
14235 soname_spec='${libname}${release}${shared_ext}$major'
14237 shlibpath_var=LIBPATH
14241 amigaos*)
14242 case $host_cpu in
14243 powerpc)
14244 # Since July 2007 AmigaOS4 officially supports .so libraries.
14245 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14246 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14248 m68k)
14249 library_names_spec='$libname.ixlibrary $libname.a'
14250 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14251 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
14253 esac
14256 beos*)
14257 library_names_spec='${libname}${shared_ext}'
14258 dynamic_linker="$host_os ld.so"
14259 shlibpath_var=LIBRARY_PATH
14262 bsdi[45]*)
14263 version_type=linux
14264 need_version=no
14265 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14266 soname_spec='${libname}${release}${shared_ext}$major'
14267 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14268 shlibpath_var=LD_LIBRARY_PATH
14269 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14270 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14271 # the default ld.so.conf also contains /usr/contrib/lib and
14272 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14273 # libtool to hard-code these into programs
14276 cygwin* | mingw* | pw32* | cegcc*)
14277 version_type=windows
14278 shrext_cmds=".dll"
14279 need_version=no
14280 need_lib_prefix=no
14282 case $GCC,$host_os in
14283 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14284 library_names_spec='$libname.dll.a'
14285 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14286 postinstall_cmds='base_file=`basename \${file}`~
14287 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14288 dldir=$destdir/`dirname \$dlpath`~
14289 test -d \$dldir || mkdir -p \$dldir~
14290 $install_prog $dir/$dlname \$dldir/$dlname~
14291 chmod a+x \$dldir/$dlname~
14292 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14293 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14295 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14296 dlpath=$dir/\$dldll~
14297 $RM \$dlpath'
14298 shlibpath_overrides_runpath=yes
14300 case $host_os in
14301 cygwin*)
14302 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14303 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14306 mingw* | cegcc*)
14307 # MinGW DLLs use traditional 'lib' prefix
14308 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14310 pw32*)
14311 # pw32 DLLs use 'pw' prefix rather than 'lib'
14312 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14314 esac
14318 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14320 esac
14321 dynamic_linker='Win32 ld.exe'
14322 # FIXME: first we should search . and the directory the executable is in
14323 shlibpath_var=PATH
14326 darwin* | rhapsody*)
14327 dynamic_linker="$host_os dyld"
14328 version_type=darwin
14329 need_lib_prefix=no
14330 need_version=no
14331 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14332 soname_spec='${libname}${release}${major}$shared_ext'
14333 shlibpath_overrides_runpath=yes
14334 shlibpath_var=DYLD_LIBRARY_PATH
14335 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14337 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14340 dgux*)
14341 version_type=linux
14342 need_lib_prefix=no
14343 need_version=no
14344 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14345 soname_spec='${libname}${release}${shared_ext}$major'
14346 shlibpath_var=LD_LIBRARY_PATH
14349 freebsd* | dragonfly*)
14350 # DragonFly does not have aout. When/if they implement a new
14351 # versioning mechanism, adjust this.
14352 if test -x /usr/bin/objformat; then
14353 objformat=`/usr/bin/objformat`
14354 else
14355 case $host_os in
14356 freebsd[23].*) objformat=aout ;;
14357 *) objformat=elf ;;
14358 esac
14360 version_type=freebsd-$objformat
14361 case $version_type in
14362 freebsd-elf*)
14363 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14364 need_version=no
14365 need_lib_prefix=no
14367 freebsd-*)
14368 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14369 need_version=yes
14371 esac
14372 shlibpath_var=LD_LIBRARY_PATH
14373 case $host_os in
14374 freebsd2.*)
14375 shlibpath_overrides_runpath=yes
14377 freebsd3.[01]* | freebsdelf3.[01]*)
14378 shlibpath_overrides_runpath=yes
14379 hardcode_into_libs=yes
14381 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14382 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14383 shlibpath_overrides_runpath=no
14384 hardcode_into_libs=yes
14386 *) # from 4.6 on, and DragonFly
14387 shlibpath_overrides_runpath=yes
14388 hardcode_into_libs=yes
14390 esac
14393 gnu*)
14394 version_type=linux
14395 need_lib_prefix=no
14396 need_version=no
14397 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14398 soname_spec='${libname}${release}${shared_ext}$major'
14399 shlibpath_var=LD_LIBRARY_PATH
14400 hardcode_into_libs=yes
14403 haiku*)
14404 version_type=linux
14405 need_lib_prefix=no
14406 need_version=no
14407 dynamic_linker="$host_os runtime_loader"
14408 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14409 soname_spec='${libname}${release}${shared_ext}$major'
14410 shlibpath_var=LIBRARY_PATH
14411 shlibpath_overrides_runpath=yes
14412 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14413 hardcode_into_libs=yes
14416 hpux9* | hpux10* | hpux11*)
14417 # Give a soname corresponding to the major version so that dld.sl refuses to
14418 # link against other versions.
14419 version_type=sunos
14420 need_lib_prefix=no
14421 need_version=no
14422 case $host_cpu in
14423 ia64*)
14424 shrext_cmds='.so'
14425 hardcode_into_libs=yes
14426 dynamic_linker="$host_os dld.so"
14427 shlibpath_var=LD_LIBRARY_PATH
14428 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14429 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14430 soname_spec='${libname}${release}${shared_ext}$major'
14431 if test "X$HPUX_IA64_MODE" = X32; then
14432 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14433 else
14434 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14436 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14438 hppa*64*)
14439 shrext_cmds='.sl'
14440 hardcode_into_libs=yes
14441 dynamic_linker="$host_os dld.sl"
14442 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14443 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14444 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14445 soname_spec='${libname}${release}${shared_ext}$major'
14446 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14447 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14450 shrext_cmds='.sl'
14451 dynamic_linker="$host_os dld.sl"
14452 shlibpath_var=SHLIB_PATH
14453 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14454 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14455 soname_spec='${libname}${release}${shared_ext}$major'
14457 esac
14458 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14459 postinstall_cmds='chmod 555 $lib'
14460 # or fails outright, so override atomically:
14461 install_override_mode=555
14464 interix[3-9]*)
14465 version_type=linux
14466 need_lib_prefix=no
14467 need_version=no
14468 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14469 soname_spec='${libname}${release}${shared_ext}$major'
14470 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14471 shlibpath_var=LD_LIBRARY_PATH
14472 shlibpath_overrides_runpath=no
14473 hardcode_into_libs=yes
14476 irix5* | irix6* | nonstopux*)
14477 case $host_os in
14478 nonstopux*) version_type=nonstopux ;;
14480 if test "$lt_cv_prog_gnu_ld" = yes; then
14481 version_type=linux
14482 else
14483 version_type=irix
14484 fi ;;
14485 esac
14486 need_lib_prefix=no
14487 need_version=no
14488 soname_spec='${libname}${release}${shared_ext}$major'
14489 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14490 case $host_os in
14491 irix5* | nonstopux*)
14492 libsuff= shlibsuff=
14495 case $LD in # libtool.m4 will add one of these switches to LD
14496 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14497 libsuff= shlibsuff= libmagic=32-bit;;
14498 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14499 libsuff=32 shlibsuff=N32 libmagic=N32;;
14500 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14501 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14502 *) libsuff= shlibsuff= libmagic=never-match;;
14503 esac
14505 esac
14506 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14507 shlibpath_overrides_runpath=no
14508 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14509 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14510 hardcode_into_libs=yes
14513 # No shared lib support for Linux oldld, aout, or coff.
14514 linux*oldld* | linux*aout* | linux*coff*)
14515 dynamic_linker=no
14518 # This must be Linux ELF.
14519 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14520 version_type=linux
14521 need_lib_prefix=no
14522 need_version=no
14523 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14524 soname_spec='${libname}${release}${shared_ext}$major'
14525 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14526 shlibpath_var=LD_LIBRARY_PATH
14527 shlibpath_overrides_runpath=no
14529 # Some binutils ld are patched to set DT_RUNPATH
14530 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14531 $as_echo_n "(cached) " >&6
14532 else
14533 lt_cv_shlibpath_overrides_runpath=no
14534 save_LDFLAGS=$LDFLAGS
14535 save_libdir=$libdir
14536 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14537 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14538 if test x$gcc_no_link = xyes; then
14539 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14542 /* end confdefs.h. */
14545 main ()
14549 return 0;
14551 _ACEOF
14552 if ac_fn_cxx_try_link "$LINENO"; then :
14553 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14554 lt_cv_shlibpath_overrides_runpath=yes
14557 rm -f core conftest.err conftest.$ac_objext \
14558 conftest$ac_exeext conftest.$ac_ext
14559 LDFLAGS=$save_LDFLAGS
14560 libdir=$save_libdir
14564 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14566 # This implies no fast_install, which is unacceptable.
14567 # Some rework will be needed to allow for fast_install
14568 # before this can be enabled.
14569 hardcode_into_libs=yes
14571 # Append ld.so.conf contents to the search path
14572 if test -f /etc/ld.so.conf; then
14573 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
14574 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14577 # We used to test for /lib/ld.so.1 and disable shared libraries on
14578 # powerpc, because MkLinux only supported shared libraries with the
14579 # GNU dynamic linker. Since this was broken with cross compilers,
14580 # most powerpc-linux boxes support dynamic linking these days and
14581 # people can always --disable-shared, the test was removed, and we
14582 # assume the GNU/Linux dynamic linker is in use.
14583 dynamic_linker='GNU/Linux ld.so'
14586 netbsd*)
14587 version_type=sunos
14588 need_lib_prefix=no
14589 need_version=no
14590 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14591 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14592 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14593 dynamic_linker='NetBSD (a.out) ld.so'
14594 else
14595 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14596 soname_spec='${libname}${release}${shared_ext}$major'
14597 dynamic_linker='NetBSD ld.elf_so'
14599 shlibpath_var=LD_LIBRARY_PATH
14600 shlibpath_overrides_runpath=yes
14601 hardcode_into_libs=yes
14604 newsos6)
14605 version_type=linux
14606 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14607 shlibpath_var=LD_LIBRARY_PATH
14608 shlibpath_overrides_runpath=yes
14611 *nto* | *qnx*)
14612 version_type=qnx
14613 need_lib_prefix=no
14614 need_version=no
14615 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14616 soname_spec='${libname}${release}${shared_ext}$major'
14617 shlibpath_var=LD_LIBRARY_PATH
14618 shlibpath_overrides_runpath=no
14619 hardcode_into_libs=yes
14620 dynamic_linker='ldqnx.so'
14623 openbsd*)
14624 version_type=sunos
14625 sys_lib_dlsearch_path_spec="/usr/lib"
14626 need_lib_prefix=no
14627 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14628 case $host_os in
14629 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14630 *) need_version=no ;;
14631 esac
14632 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14633 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14634 shlibpath_var=LD_LIBRARY_PATH
14635 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14636 case $host_os in
14637 openbsd2.[89] | openbsd2.[89].*)
14638 shlibpath_overrides_runpath=no
14641 shlibpath_overrides_runpath=yes
14643 esac
14644 else
14645 shlibpath_overrides_runpath=yes
14649 os2*)
14650 libname_spec='$name'
14651 shrext_cmds=".dll"
14652 need_lib_prefix=no
14653 library_names_spec='$libname${shared_ext} $libname.a'
14654 dynamic_linker='OS/2 ld.exe'
14655 shlibpath_var=LIBPATH
14658 osf3* | osf4* | osf5*)
14659 version_type=osf
14660 need_lib_prefix=no
14661 need_version=no
14662 soname_spec='${libname}${release}${shared_ext}$major'
14663 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14664 shlibpath_var=LD_LIBRARY_PATH
14665 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14666 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14669 rdos*)
14670 dynamic_linker=no
14673 solaris*)
14674 version_type=linux
14675 need_lib_prefix=no
14676 need_version=no
14677 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14678 soname_spec='${libname}${release}${shared_ext}$major'
14679 shlibpath_var=LD_LIBRARY_PATH
14680 shlibpath_overrides_runpath=yes
14681 hardcode_into_libs=yes
14682 # ldd complains unless libraries are executable
14683 postinstall_cmds='chmod +x $lib'
14686 sunos4*)
14687 version_type=sunos
14688 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14689 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14690 shlibpath_var=LD_LIBRARY_PATH
14691 shlibpath_overrides_runpath=yes
14692 if test "$with_gnu_ld" = yes; then
14693 need_lib_prefix=no
14695 need_version=yes
14698 sysv4 | sysv4.3*)
14699 version_type=linux
14700 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14701 soname_spec='${libname}${release}${shared_ext}$major'
14702 shlibpath_var=LD_LIBRARY_PATH
14703 case $host_vendor in
14704 sni)
14705 shlibpath_overrides_runpath=no
14706 need_lib_prefix=no
14707 runpath_var=LD_RUN_PATH
14709 siemens)
14710 need_lib_prefix=no
14712 motorola)
14713 need_lib_prefix=no
14714 need_version=no
14715 shlibpath_overrides_runpath=no
14716 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14718 esac
14721 sysv4*MP*)
14722 if test -d /usr/nec ;then
14723 version_type=linux
14724 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14725 soname_spec='$libname${shared_ext}.$major'
14726 shlibpath_var=LD_LIBRARY_PATH
14730 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14731 version_type=freebsd-elf
14732 need_lib_prefix=no
14733 need_version=no
14734 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14735 soname_spec='${libname}${release}${shared_ext}$major'
14736 shlibpath_var=LD_LIBRARY_PATH
14737 shlibpath_overrides_runpath=yes
14738 hardcode_into_libs=yes
14739 if test "$with_gnu_ld" = yes; then
14740 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14741 else
14742 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14743 case $host_os in
14744 sco3.2v5*)
14745 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14747 esac
14749 sys_lib_dlsearch_path_spec='/usr/lib'
14752 tpf*)
14753 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14754 version_type=linux
14755 need_lib_prefix=no
14756 need_version=no
14757 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14758 shlibpath_var=LD_LIBRARY_PATH
14759 shlibpath_overrides_runpath=no
14760 hardcode_into_libs=yes
14763 uts4*)
14764 version_type=linux
14765 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14766 soname_spec='${libname}${release}${shared_ext}$major'
14767 shlibpath_var=LD_LIBRARY_PATH
14771 dynamic_linker=no
14773 esac
14774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14775 $as_echo "$dynamic_linker" >&6; }
14776 test "$dynamic_linker" = no && can_build_shared=no
14778 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14779 if test "$GCC" = yes; then
14780 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14783 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14784 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14786 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14787 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14828 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14829 hardcode_action_CXX=
14830 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14831 test -n "$runpath_var_CXX" ||
14832 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14834 # We can hardcode non-existent directories.
14835 if test "$hardcode_direct_CXX" != no &&
14836 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14837 # have to relink, otherwise we might link with an installed library
14838 # when we should be linking with a yet-to-be-installed one
14839 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14840 test "$hardcode_minus_L_CXX" != no; then
14841 # Linking always hardcodes the temporary library directory.
14842 hardcode_action_CXX=relink
14843 else
14844 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14845 hardcode_action_CXX=immediate
14847 else
14848 # We cannot hardcode anything, or else we can only hardcode existing
14849 # directories.
14850 hardcode_action_CXX=unsupported
14852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14853 $as_echo "$hardcode_action_CXX" >&6; }
14855 if test "$hardcode_action_CXX" = relink ||
14856 test "$inherit_rpath_CXX" = yes; then
14857 # Fast installation is not supported
14858 enable_fast_install=no
14859 elif test "$shlibpath_overrides_runpath" = yes ||
14860 test "$enable_shared" = no; then
14861 # Fast installation is not necessary
14862 enable_fast_install=needless
14871 fi # test -n "$compiler"
14873 CC=$lt_save_CC
14874 LDCXX=$LD
14875 LD=$lt_save_LD
14876 GCC=$lt_save_GCC
14877 with_gnu_ld=$lt_save_with_gnu_ld
14878 lt_cv_path_LDCXX=$lt_cv_path_LD
14879 lt_cv_path_LD=$lt_save_path_LD
14880 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14881 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14882 fi # test "$_lt_caught_CXX_error" != yes
14884 ac_ext=c
14885 ac_cpp='$CPP $CPPFLAGS'
14886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14902 ac_config_commands="$ac_config_commands libtool"
14907 # Only expand once:
14913 case $host in
14914 *-cygwin* | *-mingw*)
14915 # 'host' will be top-level target in the case of a target lib,
14916 # we must compare to with_cross_host to decide if this is a native
14917 # or cross-compiler and select where to install dlls appropriately.
14918 if test -n "$with_cross_host" &&
14919 test x"$with_cross_host" != x"no"; then
14920 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
14921 else
14922 lt_host_flags='-no-undefined -bindir "$(bindir)"';
14926 lt_host_flags=
14928 esac
14935 if test "$enable_vtable_verify" = yes; then
14936 predep_objects_CXX="${predep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_start.o"
14937 postdep_objects_CXX="${postdep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_end.o"
14941 # libtool variables for C++ shared and position-independent compiles.
14943 # Use glibcxx_lt_pic_flag to designate the automake variable
14944 # used to encapsulate the default libtool approach to creating objects
14945 # with position-independent code. Default: -prefer-pic.
14947 # Use glibcxx_compiler_shared_flag to designate a compile-time flags for
14948 # creating shared objects. Default: -D_GLIBCXX_SHARED.
14950 # Use glibcxx_compiler_pic_flag to designate a compile-time flags for
14951 # creating position-independent objects. This varies with the target
14952 # hardware and operating system, but is often: -DPIC -fPIC.
14953 if test "$enable_shared" = yes; then
14954 glibcxx_lt_pic_flag="-prefer-pic"
14955 glibcxx_compiler_pic_flag="$lt_prog_compiler_pic_CXX"
14956 glibcxx_compiler_shared_flag="-D_GLIBCXX_SHARED"
14958 else
14959 glibcxx_lt_pic_flag=
14960 glibcxx_compiler_pic_flag=
14961 glibcxx_compiler_shared_flag=
14967 # Override the libtool's pic_flag and pic_mode.
14968 # Do this step after AM_PROG_LIBTOOL, but before AC_OUTPUT.
14969 # NB: this impacts --with-pic and --without-pic.
14970 lt_prog_compiler_pic_CXX="$glibcxx_compiler_pic_flag $glibcxx_compiler_shared_flag"
14971 pic_mode='default'
14973 # Eliminate -lstdc++ addition to postdeps for cross compiles.
14974 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
14976 # Possibly disable most of the library.
14977 ## TODO: Consider skipping unncessary tests altogether in this case, rather
14978 ## than just ignoring the results. Faster /and/ more correct, win win.
14980 # Check whether --enable-hosted-libstdcxx was given.
14981 if test "${enable_hosted_libstdcxx+set}" = set; then :
14982 enableval=$enable_hosted_libstdcxx;
14983 else
14984 case "$host" in
14985 arm*-*-symbianelf*)
14986 enable_hosted_libstdcxx=no
14989 enable_hosted_libstdcxx=yes
14991 esac
14994 if test "$enable_hosted_libstdcxx" = no; then
14995 { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
14996 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
14997 is_hosted=no
14998 hosted_define=0
14999 enable_abi_check=no
15000 enable_libstdcxx_pch=no
15001 else
15002 is_hosted=yes
15003 hosted_define=1
15007 cat >>confdefs.h <<_ACEOF
15008 #define _GLIBCXX_HOSTED $hosted_define
15009 _ACEOF
15013 # Enable descriptive messages to standard output on termination.
15015 # Check whether --enable-libstdcxx-verbose was given.
15016 if test "${enable_libstdcxx_verbose+set}" = set; then :
15017 enableval=$enable_libstdcxx_verbose;
15018 else
15019 enable_libstdcxx_verbose=yes
15022 if test x"$enable_libstdcxx_verbose" = xyes; then
15023 verbose_define=1
15024 else
15025 { $as_echo "$as_me:${as_lineno-$LINENO}: verbose termination messages are disabled" >&5
15026 $as_echo "$as_me: verbose termination messages are disabled" >&6;}
15027 verbose_define=0
15030 cat >>confdefs.h <<_ACEOF
15031 #define _GLIBCXX_VERBOSE $verbose_define
15032 _ACEOF
15036 # Enable compiler support that doesn't require linking.
15038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exception model to use" >&5
15039 $as_echo_n "checking for exception model to use... " >&6; }
15041 ac_ext=cpp
15042 ac_cpp='$CXXCPP $CPPFLAGS'
15043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15047 # Check whether --enable-sjlj-exceptions was given.
15048 if test "${enable_sjlj_exceptions+set}" = set; then :
15049 enableval=$enable_sjlj_exceptions;
15050 case "$enableval" in
15051 yes|no|auto) ;;
15052 *) as_fn_error "Unknown argument to enable/disable sjlj-exceptions" "$LINENO" 5 ;;
15053 esac
15055 else
15056 enable_sjlj_exceptions=auto
15061 if test $enable_sjlj_exceptions = auto; then
15062 # Botheration. Now we've got to detect the exception model. Link tests
15063 # against libgcc.a are problematic since we've not been given proper -L
15064 # bits for single-tree newlib and libgloss.
15066 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
15067 cat > conftest.$ac_ext << EOF
15068 #line 15068 "configure"
15069 struct S { ~S(); };
15070 void bar();
15071 void foo()
15073 S s;
15074 bar();
15077 old_CXXFLAGS="$CXXFLAGS"
15078 CXXFLAGS=-S
15079 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15080 (eval $ac_compile) 2>&5
15081 ac_status=$?
15082 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15083 test $ac_status = 0; }; then
15084 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
15085 enable_sjlj_exceptions=yes
15086 elif grep _Unwind_SjLj_Register conftest.s >/dev/null 2>&1 ; then
15087 enable_sjlj_exceptions=yes
15088 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
15089 enable_sjlj_exceptions=no
15090 elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
15091 enable_sjlj_exceptions=no
15094 CXXFLAGS="$old_CXXFLAGS"
15095 rm -f conftest*
15098 # This is a tad weird, for hysterical raisins. We have to map
15099 # enable/disable to two different models.
15100 case $enable_sjlj_exceptions in
15101 yes)
15103 $as_echo "#define _GLIBCXX_SJLJ_EXCEPTIONS 1" >>confdefs.h
15105 ac_exception_model_name=sjlj
15108 ac_exception_model_name="call frame"
15111 as_fn_error "unable to detect exception model" "$LINENO" 5
15113 esac
15114 ac_ext=c
15115 ac_cpp='$CPP $CPPFLAGS'
15116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_exception_model_name" >&5
15121 $as_echo "$ac_exception_model_name" >&6; }
15124 # Check whether --enable-libstdcxx-pch was given.
15125 if test "${enable_libstdcxx_pch+set}" = set; then :
15126 enableval=$enable_libstdcxx_pch;
15127 case "$enableval" in
15128 yes|no) ;;
15129 *) as_fn_error "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15130 esac
15132 else
15133 enable_libstdcxx_pch=$is_hosted
15137 if test $enable_libstdcxx_pch = yes; then
15138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15139 $as_echo_n "checking for compiler with PCH support... " >&6; }
15140 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then :
15141 $as_echo_n "(cached) " >&6
15142 else
15143 ac_save_CXXFLAGS="$CXXFLAGS"
15144 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15146 ac_ext=cpp
15147 ac_cpp='$CXXCPP $CPPFLAGS'
15148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15152 echo '#include <math.h>' > conftest.h
15153 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15154 -o conftest.h.gch 1>&5 2>&1 &&
15155 echo '#error "pch failed"' > conftest.h &&
15156 echo '#include "conftest.h"' > conftest.cc &&
15157 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15158 then
15159 glibcxx_cv_prog_CXX_pch=yes
15160 else
15161 glibcxx_cv_prog_CXX_pch=no
15163 rm -f conftest*
15164 CXXFLAGS=$ac_save_CXXFLAGS
15165 ac_ext=c
15166 ac_cpp='$CPP $CPPFLAGS'
15167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15174 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15175 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15179 $as_echo_n "checking for enabled PCH... " >&6; }
15180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15181 $as_echo "$enable_libstdcxx_pch" >&6; }
15184 if test $enable_libstdcxx_pch = yes; then
15185 glibcxx_PCHFLAGS="-include bits/stdc++.h"
15186 else
15187 glibcxx_PCHFLAGS=""
15192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15193 $as_echo_n "checking for thread model used by GCC... " >&6; }
15194 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15196 $as_echo "$target_thread_file" >&6; }
15198 case $target_thread_file in
15199 aix) thread_header=config/rs6000/gthr-aix.h ;;
15200 dce) thread_header=config/pa/gthr-dce.h ;;
15201 lynx) thread_header=config/gthr-lynx.h ;;
15202 mipssde) thread_header=config/mips/gthr-mipssde.h ;;
15203 posix) thread_header=gthr-posix.h ;;
15204 rtems) thread_header=config/gthr-rtems.h ;;
15205 single) thread_header=gthr-single.h ;;
15206 tpf) thread_header=config/s390/gthr-tpf.h ;;
15207 vxworks) thread_header=config/gthr-vxworks.h ;;
15208 win32) thread_header=config/i386/gthr-win32.h ;;
15209 esac
15215 ac_ext=cpp
15216 ac_cpp='$CXXCPP $CPPFLAGS'
15217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15221 old_CXXFLAGS="$CXXFLAGS"
15223 # Do link tests if possible, instead asm tests, limited to some platforms
15224 # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15225 # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15226 atomic_builtins_link_tests=no
15227 if test x$gcc_no_link != xyes; then
15228 # Can do link tests. Limit to some tested platforms
15229 case "$host" in
15230 *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15231 atomic_builtins_link_tests=yes
15233 esac
15236 if test x$atomic_builtins_link_tests = xyes; then
15238 # Do link tests.
15240 CXXFLAGS="$CXXFLAGS -fno-exceptions"
15242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15243 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15244 if test "${glibcxx_cv_atomic_bool+set}" = set; then :
15245 $as_echo_n "(cached) " >&6
15246 else
15248 if test x$gcc_no_link = xyes; then
15249 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15252 /* end confdefs.h. */
15255 main ()
15257 typedef bool atomic_type;
15258 atomic_type c1;
15259 atomic_type c2;
15260 atomic_type c3(0);
15261 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15262 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15263 __ATOMIC_RELAXED);
15264 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15265 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15268 return 0;
15270 _ACEOF
15271 if ac_fn_cxx_try_link "$LINENO"; then :
15272 glibcxx_cv_atomic_bool=yes
15273 else
15274 glibcxx_cv_atomic_bool=no
15276 rm -f core conftest.err conftest.$ac_objext \
15277 conftest$ac_exeext conftest.$ac_ext
15281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15282 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15285 $as_echo_n "checking for atomic builtins for short... " >&6; }
15286 if test "${glibcxx_cv_atomic_short+set}" = set; then :
15287 $as_echo_n "(cached) " >&6
15288 else
15290 if test x$gcc_no_link = xyes; then
15291 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15294 /* end confdefs.h. */
15297 main ()
15299 typedef short atomic_type;
15300 atomic_type c1;
15301 atomic_type c2;
15302 atomic_type c3(0);
15303 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15304 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15305 __ATOMIC_RELAXED);
15306 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15307 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15310 return 0;
15312 _ACEOF
15313 if ac_fn_cxx_try_link "$LINENO"; then :
15314 glibcxx_cv_atomic_short=yes
15315 else
15316 glibcxx_cv_atomic_short=no
15318 rm -f core conftest.err conftest.$ac_objext \
15319 conftest$ac_exeext conftest.$ac_ext
15323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15324 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15327 $as_echo_n "checking for atomic builtins for int... " >&6; }
15328 if test "${glibcxx_cv_atomic_int+set}" = set; then :
15329 $as_echo_n "(cached) " >&6
15330 else
15332 if test x$gcc_no_link = xyes; then
15333 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15336 /* end confdefs.h. */
15339 main ()
15341 typedef int atomic_type;
15342 atomic_type c1;
15343 atomic_type c2;
15344 atomic_type c3(0);
15345 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15346 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15347 __ATOMIC_RELAXED);
15348 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15349 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15352 return 0;
15354 _ACEOF
15355 if ac_fn_cxx_try_link "$LINENO"; then :
15356 glibcxx_cv_atomic_int=yes
15357 else
15358 glibcxx_cv_atomic_int=no
15360 rm -f core conftest.err conftest.$ac_objext \
15361 conftest$ac_exeext conftest.$ac_ext
15365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15366 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15369 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15370 if test "${glibcxx_cv_atomic_long_long+set}" = set; then :
15371 $as_echo_n "(cached) " >&6
15372 else
15374 if test x$gcc_no_link = xyes; then
15375 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15378 /* end confdefs.h. */
15381 main ()
15383 typedef long long atomic_type;
15384 atomic_type c1;
15385 atomic_type c2;
15386 atomic_type c3(0);
15387 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15388 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15389 __ATOMIC_RELAXED);
15390 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15391 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15394 return 0;
15396 _ACEOF
15397 if ac_fn_cxx_try_link "$LINENO"; then :
15398 glibcxx_cv_atomic_long_long=yes
15399 else
15400 glibcxx_cv_atomic_long_long=no
15402 rm -f core conftest.err conftest.$ac_objext \
15403 conftest$ac_exeext conftest.$ac_ext
15407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15408 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15410 else
15412 # Do asm tests.
15414 # Compile unoptimized.
15415 CXXFLAGS='-O0 -S'
15417 # Fake what AC_TRY_COMPILE does.
15419 cat > conftest.$ac_ext << EOF
15420 #line 15420 "configure"
15421 int main()
15423 typedef bool atomic_type;
15424 atomic_type c1;
15425 atomic_type c2;
15426 atomic_type c3(0);
15427 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15428 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15429 __ATOMIC_RELAXED);
15430 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15431 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15433 return 0;
15437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15438 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15439 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15440 (eval $ac_compile) 2>&5
15441 ac_status=$?
15442 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15443 test $ac_status = 0; }; then
15444 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15445 glibcxx_cv_atomic_bool=no
15446 else
15447 glibcxx_cv_atomic_bool=yes
15450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15451 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15452 rm -f conftest*
15454 cat > conftest.$ac_ext << EOF
15455 #line 15455 "configure"
15456 int main()
15458 typedef short atomic_type;
15459 atomic_type c1;
15460 atomic_type c2;
15461 atomic_type c3(0);
15462 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15463 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15464 __ATOMIC_RELAXED);
15465 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15466 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15468 return 0;
15472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15473 $as_echo_n "checking for atomic builtins for short... " >&6; }
15474 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15475 (eval $ac_compile) 2>&5
15476 ac_status=$?
15477 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15478 test $ac_status = 0; }; then
15479 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15480 glibcxx_cv_atomic_short=no
15481 else
15482 glibcxx_cv_atomic_short=yes
15485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15486 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15487 rm -f conftest*
15489 cat > conftest.$ac_ext << EOF
15490 #line 15490 "configure"
15491 int main()
15493 // NB: _Atomic_word not necessarily int.
15494 typedef int atomic_type;
15495 atomic_type c1;
15496 atomic_type c2;
15497 atomic_type c3(0);
15498 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15499 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15500 __ATOMIC_RELAXED);
15501 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15502 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15504 return 0;
15508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15509 $as_echo_n "checking for atomic builtins for int... " >&6; }
15510 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15511 (eval $ac_compile) 2>&5
15512 ac_status=$?
15513 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15514 test $ac_status = 0; }; then
15515 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15516 glibcxx_cv_atomic_int=no
15517 else
15518 glibcxx_cv_atomic_int=yes
15521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15522 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15523 rm -f conftest*
15525 cat > conftest.$ac_ext << EOF
15526 #line 15526 "configure"
15527 int main()
15529 typedef long long atomic_type;
15530 atomic_type c1;
15531 atomic_type c2;
15532 atomic_type c3(0);
15533 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15534 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15535 __ATOMIC_RELAXED);
15536 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15537 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15539 return 0;
15543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15544 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15545 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15546 (eval $ac_compile) 2>&5
15547 ac_status=$?
15548 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15549 test $ac_status = 0; }; then
15550 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15551 glibcxx_cv_atomic_long_long=no
15552 else
15553 glibcxx_cv_atomic_long_long=yes
15556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15557 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15558 rm -f conftest*
15562 CXXFLAGS="$old_CXXFLAGS"
15563 ac_ext=c
15564 ac_cpp='$CPP $CPPFLAGS'
15565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15570 # Set atomicity_dir to builtins if all but the long long test above passes.
15571 if test $glibcxx_cv_atomic_bool = yes \
15572 && test $glibcxx_cv_atomic_short = yes \
15573 && test $glibcxx_cv_atomic_int = yes; then
15575 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS 1" >>confdefs.h
15577 atomicity_dir=cpu/generic/atomicity_builtins
15580 # If still generic, set to mutex.
15581 if test $atomicity_dir = "cpu/generic" ; then
15582 atomicity_dir=cpu/generic/atomicity_mutex
15583 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
15584 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
15585 if test "x$target_thread_file" = xsingle; then
15586 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
15587 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
15588 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
15589 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
15590 else
15591 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
15592 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
15593 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
15594 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
15601 # Fake what AC_TRY_COMPILE does, without linking as this is
15602 # unnecessary for this test.
15604 cat > conftest.$ac_ext << EOF
15605 #line 15605 "configure"
15606 int main()
15608 _Decimal32 d1;
15609 _Decimal64 d2;
15610 _Decimal128 d3;
15611 return 0;
15615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
15616 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
15617 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15618 (eval $ac_compile) 2>&5
15619 ac_status=$?
15620 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15621 test $ac_status = 0; }; then
15623 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
15625 enable_dfp=yes
15626 else
15627 enable_dfp=no
15629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
15630 $as_echo "$enable_dfp" >&6; }
15631 rm -f conftest*
15636 ac_ext=cpp
15637 ac_cpp='$CXXCPP $CPPFLAGS'
15638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15643 # Fake what AC_TRY_COMPILE does, without linking as this is
15644 # unnecessary for this test.
15646 cat > conftest.$ac_ext << EOF
15647 #line 15647 "configure"
15648 template<typename T1, typename T2>
15649 struct same
15650 { typedef T2 type; };
15652 template<typename T>
15653 struct same<T, T>;
15655 int main()
15657 typename same<long, __int128>::type i1;
15658 typename same<long long, __int128>::type i2;
15662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __int128" >&5
15663 $as_echo_n "checking for __int128... " >&6; }
15664 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15665 (eval $ac_compile) 2>&5
15666 ac_status=$?
15667 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15668 test $ac_status = 0; }; then
15670 $as_echo "#define _GLIBCXX_USE_INT128 1" >>confdefs.h
15672 enable_int128=yes
15673 else
15674 enable_int128=no
15676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_int128" >&5
15677 $as_echo "$enable_int128" >&6; }
15678 rm -f conftest*
15680 cat > conftest.$ac_ext << EOF
15681 #line 15681 "configure"
15682 template<typename T1, typename T2>
15683 struct same
15684 { typedef T2 type; };
15686 template<typename T>
15687 struct same<T, T>;
15689 int main()
15691 typename same<double, __float128>::type f1;
15692 typename same<long double, __float128>::type f2;
15696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __float128" >&5
15697 $as_echo_n "checking for __float128... " >&6; }
15698 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15699 (eval $ac_compile) 2>&5
15700 ac_status=$?
15701 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15702 test $ac_status = 0; }; then
15704 $as_echo "#define _GLIBCXX_USE_FLOAT128 1" >>confdefs.h
15706 enable_float128=yes
15707 else
15708 enable_float128=no
15710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_float128" >&5
15711 $as_echo "$enable_float128" >&6; }
15712 rm -f conftest*
15714 ac_ext=c
15715 ac_cpp='$CPP $CPPFLAGS'
15716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15721 if test "$enable_float128" = yes; then
15722 port_specific_symbol_files="$port_specific_symbol_files \$(top_srcdir)/config/abi/pre/float128.ver"
15725 # Checks for compiler support that doesn't require linking.
15727 # All these tests are for C++; save the language and the compiler flags.
15728 # The CXXFLAGS thing is suspicious, but based on similar bits previously
15729 # found in GLIBCXX_CONFIGURE.
15731 ac_ext=cpp
15732 ac_cpp='$CXXCPP $CPPFLAGS'
15733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15737 ac_test_CXXFLAGS="${CXXFLAGS+set}"
15738 ac_save_CXXFLAGS="$CXXFLAGS"
15740 # Check for maintainer-mode bits.
15741 if test x"$USE_MAINTAINER_MODE" = xno; then
15742 WERROR=''
15743 else
15744 WERROR='-Werror'
15747 # Check for -ffunction-sections -fdata-sections
15748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
15749 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
15750 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
15751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15752 /* end confdefs.h. */
15753 int foo; void bar() { };
15755 main ()
15759 return 0;
15761 _ACEOF
15762 if ac_fn_cxx_try_compile "$LINENO"; then :
15763 ac_fdsections=yes
15764 else
15765 ac_fdsections=no
15767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15768 if test "$ac_test_CXXFLAGS" = set; then
15769 CXXFLAGS="$ac_save_CXXFLAGS"
15770 else
15771 # this is the suspicious part
15772 CXXFLAGS=''
15774 if test x"$ac_fdsections" = x"yes"; then
15775 SECTION_FLAGS='-ffunction-sections -fdata-sections'
15777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
15778 $as_echo "$ac_fdsections" >&6; }
15780 ac_ext=c
15781 ac_cpp='$CPP $CPPFLAGS'
15782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15790 # Enable all the variable C++ runtime options that don't require linking.
15792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
15793 $as_echo_n "checking for underlying I/O to use... " >&6; }
15794 # Check whether --enable-cstdio was given.
15795 if test "${enable_cstdio+set}" = set; then :
15796 enableval=$enable_cstdio;
15797 case "$enableval" in
15798 stdio) ;;
15799 *) as_fn_error "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
15800 esac
15802 else
15803 enable_cstdio=stdio
15808 # Now that libio has been removed, you can have any color you want as long
15809 # as it's black. This is one big no-op until other packages are added, but
15810 # showing the framework never hurts.
15811 case ${enable_cstdio} in
15812 stdio)
15813 CSTDIO_H=config/io/c_io_stdio.h
15814 BASIC_FILE_H=config/io/basic_file_stdio.h
15815 BASIC_FILE_CC=config/io/basic_file_stdio.cc
15816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
15817 $as_echo "stdio" >&6; }
15819 esac
15826 # Check whether --enable-clocale was given.
15827 if test "${enable_clocale+set}" = set; then :
15828 enableval=$enable_clocale;
15829 case "$enableval" in
15830 generic|gnu|ieee_1003.1-2001|newlib|yes|no|auto) ;;
15831 *) as_fn_error "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
15832 esac
15834 else
15835 enable_clocale=auto
15840 # Deal with gettext issues. Default to not using it (=no) until we detect
15841 # support for it later. Let the user turn it off via --e/d, but let that
15842 # default to on for easier handling.
15843 USE_NLS=no
15844 # Check whether --enable-nls was given.
15845 if test "${enable_nls+set}" = set; then :
15846 enableval=$enable_nls;
15847 else
15848 enable_nls=yes
15852 # Either a known package, or "auto"
15853 if test $enable_clocale = no || test $enable_clocale = yes; then
15854 enable_clocale=auto
15856 enable_clocale_flag=$enable_clocale
15858 # Probe for locale model to use if none specified.
15859 # Default to "generic".
15860 if test $enable_clocale_flag = auto; then
15861 case ${target_os} in
15862 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15863 enable_clocale_flag=gnu
15865 darwin* | freebsd*)
15866 enable_clocale_flag=darwin
15868 dragonfly*)
15869 enable_clocale_flag=dragonfly
15871 openbsd*)
15872 enable_clocale_flag=newlib
15875 if test x"$with_newlib" = x"yes"; then
15876 enable_clocale_flag=newlib
15877 else
15878 enable_clocale_flag=generic
15881 esac
15884 # Sanity check model, and test for special functionality.
15885 if test $enable_clocale_flag = gnu; then
15886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15887 /* end confdefs.h. */
15889 #include <features.h>
15890 #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
15891 _GLIBCXX_ok
15892 #endif
15894 _ACEOF
15895 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15896 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
15897 enable_clocale_flag=gnu
15898 else
15899 enable_clocale_flag=generic
15901 rm -f conftest*
15904 # Set it to scream when it hurts.
15905 ac_save_CFLAGS="$CFLAGS"
15906 CFLAGS="-Wimplicit-function-declaration -Werror"
15908 # Use strxfrm_l if available.
15909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15910 /* end confdefs.h. */
15911 #define _GNU_SOURCE 1
15912 #include <string.h>
15913 #include <locale.h>
15915 main ()
15917 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
15919 return 0;
15921 _ACEOF
15922 if ac_fn_c_try_compile "$LINENO"; then :
15924 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
15927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15929 # Use strerror_l if available.
15930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15931 /* end confdefs.h. */
15932 #define _GNU_SOURCE 1
15933 #include <string.h>
15934 #include <locale.h>
15936 main ()
15938 __locale_t loc; strerror_l(5, loc);
15940 return 0;
15942 _ACEOF
15943 if ac_fn_c_try_compile "$LINENO"; then :
15945 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
15948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15950 CFLAGS="$ac_save_CFLAGS"
15953 # Perhaps use strerror_r if available, and strerror_l isn't.
15954 ac_save_CFLAGS="$CFLAGS"
15955 CFLAGS="-Wimplicit-function-declaration -Werror"
15956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15957 /* end confdefs.h. */
15958 #define _GNU_SOURCE 1
15959 #include <string.h>
15960 #include <locale.h>
15962 main ()
15964 char s[128]; strerror_r(5, s, 128);
15966 return 0;
15968 _ACEOF
15969 if ac_fn_c_try_compile "$LINENO"; then :
15971 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
15974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15975 CFLAGS="$ac_save_CFLAGS"
15977 # Set configure bits for specified locale package
15978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
15979 $as_echo_n "checking for C locale to use... " >&6; }
15980 case ${enable_clocale_flag} in
15981 generic)
15982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
15983 $as_echo "generic" >&6; }
15985 CLOCALE_H=config/locale/generic/c_locale.h
15986 CLOCALE_CC=config/locale/generic/c_locale.cc
15987 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15988 CCOLLATE_CC=config/locale/generic/collate_members.cc
15989 CCTYPE_CC=config/locale/generic/ctype_members.cc
15990 CMESSAGES_H=config/locale/generic/messages_members.h
15991 CMESSAGES_CC=config/locale/generic/messages_members.cc
15992 CMONEY_CC=config/locale/generic/monetary_members.cc
15993 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15994 CTIME_H=config/locale/generic/time_members.h
15995 CTIME_CC=config/locale/generic/time_members.cc
15996 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15998 darwin)
15999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin or freebsd" >&5
16000 $as_echo "darwin or freebsd" >&6; }
16002 CLOCALE_H=config/locale/generic/c_locale.h
16003 CLOCALE_CC=config/locale/generic/c_locale.cc
16004 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16005 CCOLLATE_CC=config/locale/generic/collate_members.cc
16006 CCTYPE_CC=config/locale/darwin/ctype_members.cc
16007 CMESSAGES_H=config/locale/generic/messages_members.h
16008 CMESSAGES_CC=config/locale/generic/messages_members.cc
16009 CMONEY_CC=config/locale/generic/monetary_members.cc
16010 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16011 CTIME_H=config/locale/generic/time_members.h
16012 CTIME_CC=config/locale/generic/time_members.cc
16013 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16016 dragonfly)
16017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: dragonfly" >&5
16018 $as_echo "dragonfly" >&6; }
16020 CLOCALE_H=config/locale/generic/c_locale.h
16021 CLOCALE_CC=config/locale/dragonfly/c_locale.cc
16022 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16023 CCOLLATE_CC=config/locale/generic/collate_members.cc
16024 CCTYPE_CC=config/locale/dragonfly/ctype_members.cc
16025 CMESSAGES_H=config/locale/generic/messages_members.h
16026 CMESSAGES_CC=config/locale/generic/messages_members.cc
16027 CMONEY_CC=config/locale/generic/monetary_members.cc
16028 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16029 CTIME_H=config/locale/generic/time_members.h
16030 CTIME_CC=config/locale/generic/time_members.cc
16031 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16034 gnu)
16035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
16036 $as_echo "gnu" >&6; }
16038 # Declare intention to use gettext, and add support for specific
16039 # languages.
16040 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
16041 ALL_LINGUAS="de fr"
16043 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
16044 # Extract the first word of "msgfmt", so it can be a program name with args.
16045 set dummy msgfmt; ac_word=$2
16046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16047 $as_echo_n "checking for $ac_word... " >&6; }
16048 if test "${ac_cv_prog_check_msgfmt+set}" = set; then :
16049 $as_echo_n "(cached) " >&6
16050 else
16051 if test -n "$check_msgfmt"; then
16052 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
16053 else
16054 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16055 for as_dir in $PATH
16057 IFS=$as_save_IFS
16058 test -z "$as_dir" && as_dir=.
16059 for ac_exec_ext in '' $ac_executable_extensions; do
16060 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16061 ac_cv_prog_check_msgfmt="yes"
16062 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16063 break 2
16065 done
16066 done
16067 IFS=$as_save_IFS
16069 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
16072 check_msgfmt=$ac_cv_prog_check_msgfmt
16073 if test -n "$check_msgfmt"; then
16074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
16075 $as_echo "$check_msgfmt" >&6; }
16076 else
16077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16078 $as_echo "no" >&6; }
16082 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
16083 USE_NLS=yes
16085 # Export the build objects.
16086 for ling in $ALL_LINGUAS; do \
16087 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
16088 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
16089 done
16093 CLOCALE_H=config/locale/gnu/c_locale.h
16094 CLOCALE_CC=config/locale/gnu/c_locale.cc
16095 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
16096 CCOLLATE_CC=config/locale/gnu/collate_members.cc
16097 CCTYPE_CC=config/locale/gnu/ctype_members.cc
16098 CMESSAGES_H=config/locale/gnu/messages_members.h
16099 CMESSAGES_CC=config/locale/gnu/messages_members.cc
16100 CMONEY_CC=config/locale/gnu/monetary_members.cc
16101 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
16102 CTIME_H=config/locale/gnu/time_members.h
16103 CTIME_CC=config/locale/gnu/time_members.cc
16104 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
16106 ieee_1003.1-2001)
16107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
16108 $as_echo "IEEE 1003.1" >&6; }
16110 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
16111 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
16112 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16113 CCOLLATE_CC=config/locale/generic/collate_members.cc
16114 CCTYPE_CC=config/locale/generic/ctype_members.cc
16115 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
16116 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
16117 CMONEY_CC=config/locale/generic/monetary_members.cc
16118 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16119 CTIME_H=config/locale/generic/time_members.h
16120 CTIME_CC=config/locale/generic/time_members.cc
16121 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16123 newlib)
16124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: newlib" >&5
16125 $as_echo "newlib" >&6; }
16127 CLOCALE_H=config/locale/generic/c_locale.h
16128 CLOCALE_CC=config/locale/generic/c_locale.cc
16129 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16130 CCOLLATE_CC=config/locale/generic/collate_members.cc
16131 CCTYPE_CC=config/locale/newlib/ctype_members.cc
16132 CMESSAGES_H=config/locale/generic/messages_members.h
16133 CMESSAGES_CC=config/locale/generic/messages_members.cc
16134 CMONEY_CC=config/locale/generic/monetary_members.cc
16135 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16136 CTIME_H=config/locale/generic/time_members.h
16137 CTIME_CC=config/locale/generic/time_members.cc
16138 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16140 esac
16142 # This is where the testsuite looks for locale catalogs, using the
16143 # -DLOCALEDIR define during testsuite compilation.
16144 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
16147 # A standalone libintl (e.g., GNU libintl) may be in use.
16148 if test $USE_NLS = yes; then
16149 for ac_header in libintl.h
16150 do :
16151 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
16152 if test "x$ac_cv_header_libintl_h" = x""yes; then :
16153 cat >>confdefs.h <<_ACEOF
16154 #define HAVE_LIBINTL_H 1
16155 _ACEOF
16157 else
16158 USE_NLS=no
16161 done
16163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
16164 $as_echo_n "checking for library containing gettext... " >&6; }
16165 if test "${ac_cv_search_gettext+set}" = set; then :
16166 $as_echo_n "(cached) " >&6
16167 else
16168 ac_func_search_save_LIBS=$LIBS
16169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16170 /* end confdefs.h. */
16172 /* Override any GCC internal prototype to avoid an error.
16173 Use char because int might match the return type of a GCC
16174 builtin and then its argument prototype would still apply. */
16175 #ifdef __cplusplus
16176 extern "C"
16177 #endif
16178 char gettext ();
16180 main ()
16182 return gettext ();
16184 return 0;
16186 _ACEOF
16187 for ac_lib in '' intl; do
16188 if test -z "$ac_lib"; then
16189 ac_res="none required"
16190 else
16191 ac_res=-l$ac_lib
16192 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16194 if test x$gcc_no_link = xyes; then
16195 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16197 if ac_fn_c_try_link "$LINENO"; then :
16198 ac_cv_search_gettext=$ac_res
16200 rm -f core conftest.err conftest.$ac_objext \
16201 conftest$ac_exeext
16202 if test "${ac_cv_search_gettext+set}" = set; then :
16203 break
16205 done
16206 if test "${ac_cv_search_gettext+set}" = set; then :
16208 else
16209 ac_cv_search_gettext=no
16211 rm conftest.$ac_ext
16212 LIBS=$ac_func_search_save_LIBS
16214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
16215 $as_echo "$ac_cv_search_gettext" >&6; }
16216 ac_res=$ac_cv_search_gettext
16217 if test "$ac_res" != no; then :
16218 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16220 else
16221 USE_NLS=no
16225 if test $USE_NLS = yes; then
16227 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16247 $as_echo_n "checking for std::allocator base class... " >&6; }
16248 # Check whether --enable-libstdcxx-allocator was given.
16249 if test "${enable_libstdcxx_allocator+set}" = set; then :
16250 enableval=$enable_libstdcxx_allocator;
16251 case "$enableval" in
16252 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
16253 *) as_fn_error "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16254 esac
16256 else
16257 enable_libstdcxx_allocator=auto
16262 # If they didn't use this option switch, or if they specified --enable
16263 # with no specific model, we'll have to look for one. If they
16264 # specified --disable (???), do likewise.
16265 if test $enable_libstdcxx_allocator = no ||
16266 test $enable_libstdcxx_allocator = yes;
16267 then
16268 enable_libstdcxx_allocator=auto
16271 # Either a known package, or "auto". Auto implies the default choice
16272 # for a particular platform.
16273 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16275 # Probe for host-specific support if no specific model is specified.
16276 # Default to "new".
16277 if test $enable_libstdcxx_allocator_flag = auto; then
16278 case ${target_os} in
16279 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16280 enable_libstdcxx_allocator_flag=new
16283 enable_libstdcxx_allocator_flag=new
16285 esac
16287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16288 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16291 # Set configure bits for specified locale package
16292 case ${enable_libstdcxx_allocator_flag} in
16293 bitmap)
16294 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16295 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16297 malloc)
16298 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16299 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16302 ALLOCATOR_H=config/allocator/mt_allocator_base.h
16303 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16305 new)
16306 ALLOCATOR_H=config/allocator/new_allocator_base.h
16307 ALLOCATOR_NAME=__gnu_cxx::new_allocator
16309 pool)
16310 ALLOCATOR_H=config/allocator/pool_allocator_base.h
16311 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16313 esac
16319 # Check whether --enable-cheaders was given.
16320 if test "${enable_cheaders+set}" = set; then :
16321 enableval=$enable_cheaders;
16322 case "$enableval" in
16323 c|c_std|c_global) ;;
16324 *) as_fn_error "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16325 esac
16327 else
16328 enable_cheaders=$c_model
16332 { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16333 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16335 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16337 # Allow overrides to configure.host here.
16338 if test $enable_cheaders = c_global; then
16339 c_compatibility=yes
16348 # Check whether --enable-long-long was given.
16349 if test "${enable_long_long+set}" = set; then :
16350 enableval=$enable_long_long;
16351 case "$enableval" in
16352 yes|no) ;;
16353 *) as_fn_error "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16354 esac
16356 else
16357 enable_long_long=yes
16361 if test $enable_long_long = yes; then
16363 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16367 $as_echo_n "checking for enabled long long specializations... " >&6; }
16368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16369 $as_echo "$enable_long_long" >&6; }
16372 # Check whether --enable-wchar_t was given.
16373 if test "${enable_wchar_t+set}" = set; then :
16374 enableval=$enable_wchar_t;
16375 case "$enableval" in
16376 yes|no) ;;
16377 *) as_fn_error "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16378 esac
16380 else
16381 enable_wchar_t=yes
16386 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16387 for ac_header in wchar.h
16388 do :
16389 ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16390 if test "x$ac_cv_header_wchar_h" = x""yes; then :
16391 cat >>confdefs.h <<_ACEOF
16392 #define HAVE_WCHAR_H 1
16393 _ACEOF
16394 ac_has_wchar_h=yes
16395 else
16396 ac_has_wchar_h=no
16399 done
16401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16402 $as_echo_n "checking for mbstate_t... " >&6; }
16403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16404 /* end confdefs.h. */
16405 #include <wchar.h>
16407 main ()
16409 mbstate_t teststate;
16411 return 0;
16413 _ACEOF
16414 if ac_fn_c_try_compile "$LINENO"; then :
16415 have_mbstate_t=yes
16416 else
16417 have_mbstate_t=no
16419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16421 $as_echo "$have_mbstate_t" >&6; }
16422 if test x"$have_mbstate_t" = xyes; then
16424 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16428 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16429 # ac_has_wchar_h.
16430 for ac_header in wctype.h
16431 do :
16432 ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16433 if test "x$ac_cv_header_wctype_h" = x""yes; then :
16434 cat >>confdefs.h <<_ACEOF
16435 #define HAVE_WCTYPE_H 1
16436 _ACEOF
16437 ac_has_wctype_h=yes
16438 else
16439 ac_has_wctype_h=no
16442 done
16445 if test x"$enable_wchar_t" = x"yes"; then
16448 ac_ext=cpp
16449 ac_cpp='$CXXCPP $CPPFLAGS'
16450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16455 if test x"$ac_has_wchar_h" = xyes &&
16456 test x"$ac_has_wctype_h" = xyes; then
16457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16458 /* end confdefs.h. */
16459 #include <wchar.h>
16460 #include <stddef.h>
16461 wint_t i;
16462 long l = WEOF;
16463 long j = WCHAR_MIN;
16464 long k = WCHAR_MAX;
16465 namespace test
16467 using ::btowc;
16468 using ::fgetwc;
16469 using ::fgetws;
16470 using ::fputwc;
16471 using ::fputws;
16472 using ::fwide;
16473 using ::fwprintf;
16474 using ::fwscanf;
16475 using ::getwc;
16476 using ::getwchar;
16477 using ::mbrlen;
16478 using ::mbrtowc;
16479 using ::mbsinit;
16480 using ::mbsrtowcs;
16481 using ::putwc;
16482 using ::putwchar;
16483 using ::swprintf;
16484 using ::swscanf;
16485 using ::ungetwc;
16486 using ::vfwprintf;
16487 using ::vswprintf;
16488 using ::vwprintf;
16489 using ::wcrtomb;
16490 using ::wcscat;
16491 using ::wcschr;
16492 using ::wcscmp;
16493 using ::wcscoll;
16494 using ::wcscpy;
16495 using ::wcscspn;
16496 using ::wcsftime;
16497 using ::wcslen;
16498 using ::wcsncat;
16499 using ::wcsncmp;
16500 using ::wcsncpy;
16501 using ::wcspbrk;
16502 using ::wcsrchr;
16503 using ::wcsrtombs;
16504 using ::wcsspn;
16505 using ::wcsstr;
16506 using ::wcstod;
16507 using ::wcstok;
16508 using ::wcstol;
16509 using ::wcstoul;
16510 using ::wcsxfrm;
16511 using ::wctob;
16512 using ::wmemchr;
16513 using ::wmemcmp;
16514 using ::wmemcpy;
16515 using ::wmemmove;
16516 using ::wmemset;
16517 using ::wprintf;
16518 using ::wscanf;
16522 main ()
16526 return 0;
16528 _ACEOF
16529 if ac_fn_cxx_try_compile "$LINENO"; then :
16531 else
16532 enable_wchar_t=no
16534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16535 else
16536 enable_wchar_t=no
16539 ac_ext=c
16540 ac_cpp='$CPP $CPPFLAGS'
16541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16547 if test x"$enable_wchar_t" = x"yes"; then
16549 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
16553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
16554 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
16555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
16556 $as_echo "$enable_wchar_t" >&6; }
16560 # Check whether --enable-c99 was given.
16561 if test "${enable_c99+set}" = set; then :
16562 enableval=$enable_c99;
16563 case "$enableval" in
16564 yes|no) ;;
16565 *) as_fn_error "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
16566 esac
16568 else
16569 enable_c99=yes
16574 if test x"$enable_c99" = x"yes"; then
16577 ac_ext=cpp
16578 ac_cpp='$CXXCPP $CPPFLAGS'
16579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16584 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
16585 # undefined and fake C99 facilities - like pre-standard snprintf - may be
16586 # spuriously enabled.
16587 # Long term, -std=c++0x could be even better, could manage to explicitly
16588 # request C99 facilities to the underlying C headers.
16589 ac_save_CXXFLAGS="$CXXFLAGS"
16590 CXXFLAGS="$CXXFLAGS -std=c++98"
16591 ac_save_LIBS="$LIBS"
16592 ac_save_gcc_no_link="$gcc_no_link"
16594 if test x$gcc_no_link != xyes; then
16595 # Use -fno-exceptions to that the C driver can link these tests without
16596 # hitting undefined references to personality routines.
16597 CXXFLAGS="$CXXFLAGS -fno-exceptions"
16598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16599 $as_echo_n "checking for sin in -lm... " >&6; }
16600 if test "${ac_cv_lib_m_sin+set}" = set; then :
16601 $as_echo_n "(cached) " >&6
16602 else
16603 ac_check_lib_save_LIBS=$LIBS
16604 LIBS="-lm $LIBS"
16605 if test x$gcc_no_link = xyes; then
16606 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16609 /* end confdefs.h. */
16611 /* Override any GCC internal prototype to avoid an error.
16612 Use char because int might match the return type of a GCC
16613 builtin and then its argument prototype would still apply. */
16614 #ifdef __cplusplus
16615 extern "C"
16616 #endif
16617 char sin ();
16619 main ()
16621 return sin ();
16623 return 0;
16625 _ACEOF
16626 if ac_fn_cxx_try_link "$LINENO"; then :
16627 ac_cv_lib_m_sin=yes
16628 else
16629 ac_cv_lib_m_sin=no
16631 rm -f core conftest.err conftest.$ac_objext \
16632 conftest$ac_exeext conftest.$ac_ext
16633 LIBS=$ac_check_lib_save_LIBS
16635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16636 $as_echo "$ac_cv_lib_m_sin" >&6; }
16637 if test "x$ac_cv_lib_m_sin" = x""yes; then :
16639 LIBS="$LIBS -lm"
16641 else
16643 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16644 gcc_no_link=yes
16650 # Check for the existence of <math.h> functions used if C99 is enabled.
16651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h>" >&5
16652 $as_echo_n "checking for ISO C99 support in <math.h>... " >&6; }
16653 if test "${glibcxx_cv_c99_math+set}" = set; then :
16654 $as_echo_n "(cached) " >&6
16655 else
16657 if test x$gcc_no_link = xyes; then
16658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16659 /* end confdefs.h. */
16660 #include <math.h>
16661 volatile double d1, d2;
16662 volatile int i;
16664 main ()
16666 i = fpclassify(d1);
16667 i = isfinite(d1);
16668 i = isinf(d1);
16669 i = isnan(d1);
16670 i = isnormal(d1);
16671 i = signbit(d1);
16672 i = isgreater(d1, d2);
16673 i = isgreaterequal(d1, d2);
16674 i = isless(d1, d2);
16675 i = islessequal(d1, d2);
16676 i = islessgreater(d1, d2);
16677 i = islessgreater(d1, d2);
16678 i = isunordered(d1, d2);
16681 return 0;
16683 _ACEOF
16684 if ac_fn_cxx_try_compile "$LINENO"; then :
16685 glibcxx_cv_c99_math=yes
16686 else
16687 glibcxx_cv_c99_math=no
16689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16690 else
16691 if test x$gcc_no_link = xyes; then
16692 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16695 /* end confdefs.h. */
16696 #include <math.h>
16697 volatile double d1, d2;
16698 volatile int i;
16700 main ()
16702 i = fpclassify(d1);
16703 i = isfinite(d1);
16704 i = isinf(d1);
16705 i = isnan(d1);
16706 i = isnormal(d1);
16707 i = signbit(d1);
16708 i = isgreater(d1, d2);
16709 i = isgreaterequal(d1, d2);
16710 i = isless(d1, d2);
16711 i = islessequal(d1, d2);
16712 i = islessgreater(d1, d2);
16713 i = islessgreater(d1, d2);
16714 i = isunordered(d1, d2);
16717 return 0;
16719 _ACEOF
16720 if ac_fn_cxx_try_link "$LINENO"; then :
16721 glibcxx_cv_c99_math=yes
16722 else
16723 glibcxx_cv_c99_math=no
16725 rm -f core conftest.err conftest.$ac_objext \
16726 conftest$ac_exeext conftest.$ac_ext
16731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math" >&5
16732 $as_echo "$glibcxx_cv_c99_math" >&6; }
16733 if test x"$glibcxx_cv_c99_math" = x"yes"; then
16735 $as_echo "#define _GLIBCXX_USE_C99_MATH 1" >>confdefs.h
16739 # Check for the existence of <complex.h> complex math functions.
16740 # This is necessary even though libstdc++ uses the builtin versions
16741 # of these functions, because if the builtin cannot be used, a reference
16742 # to the library function is emitted.
16743 for ac_header in tgmath.h
16744 do :
16745 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
16746 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
16747 cat >>confdefs.h <<_ACEOF
16748 #define HAVE_TGMATH_H 1
16749 _ACEOF
16750 ac_has_tgmath_h=yes
16751 else
16752 ac_has_tgmath_h=no
16755 done
16757 for ac_header in complex.h
16758 do :
16759 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
16760 if test "x$ac_cv_header_complex_h" = x""yes; then :
16761 cat >>confdefs.h <<_ACEOF
16762 #define HAVE_COMPLEX_H 1
16763 _ACEOF
16764 ac_has_complex_h=yes
16765 else
16766 ac_has_complex_h=no
16769 done
16771 glibcxx_cv_c99_complex=no;
16772 if test x"$ac_has_complex_h" = x"yes"; then
16773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h>" >&5
16774 $as_echo_n "checking for ISO C99 support in <complex.h>... " >&6; }
16775 if test x$gcc_no_link = xyes; then
16776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16777 /* end confdefs.h. */
16778 #include <complex.h>
16779 typedef __complex__ float float_type;
16780 typedef __complex__ double double_type;
16781 typedef __complex__ long double ld_type;
16782 volatile float_type tmpf;
16783 volatile double_type tmpd;
16784 volatile ld_type tmpld;
16785 volatile float f;
16786 volatile double d;
16787 volatile long double ld;
16789 main ()
16791 f = cabsf(tmpf);
16792 f = cargf(tmpf);
16793 tmpf = ccosf(tmpf);
16794 tmpf = ccoshf(tmpf);
16795 tmpf = cexpf(tmpf);
16796 tmpf = clogf(tmpf);
16797 tmpf = csinf(tmpf);
16798 tmpf = csinhf(tmpf);
16799 tmpf = csqrtf(tmpf);
16800 tmpf = ctanf(tmpf);
16801 tmpf = ctanhf(tmpf);
16802 tmpf = cpowf(tmpf, tmpf);
16803 tmpf = cprojf(tmpf);
16804 d = cabs(tmpd);
16805 d = carg(tmpd);
16806 tmpd = ccos(tmpd);
16807 tmpd = ccosh(tmpd);
16808 tmpd = cexp(tmpd);
16809 tmpd = clog(tmpd);
16810 tmpd = csin(tmpd);
16811 tmpd = csinh(tmpd);
16812 tmpd = csqrt(tmpd);
16813 tmpd = ctan(tmpd);
16814 tmpd = ctanh(tmpd);
16815 tmpd = cpow(tmpd, tmpd);
16816 tmpd = cproj(tmpd);
16817 ld = cabsl(tmpld);
16818 ld = cargl(tmpld);
16819 tmpld = ccosl(tmpld);
16820 tmpld = ccoshl(tmpld);
16821 tmpld = cexpl(tmpld);
16822 tmpld = clogl(tmpld);
16823 tmpld = csinl(tmpld);
16824 tmpld = csinhl(tmpld);
16825 tmpld = csqrtl(tmpld);
16826 tmpld = ctanl(tmpld);
16827 tmpld = ctanhl(tmpld);
16828 tmpld = cpowl(tmpld, tmpld);
16829 tmpld = cprojl(tmpld);
16832 return 0;
16834 _ACEOF
16835 if ac_fn_cxx_try_compile "$LINENO"; then :
16836 glibcxx_cv_c99_complex=yes
16837 else
16838 glibcxx_cv_c99_complex=no
16840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16841 else
16842 if test x$gcc_no_link = xyes; then
16843 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16846 /* end confdefs.h. */
16847 #include <complex.h>
16848 typedef __complex__ float float_type;
16849 typedef __complex__ double double_type;
16850 typedef __complex__ long double ld_type;
16851 volatile float_type tmpf;
16852 volatile double_type tmpd;
16853 volatile ld_type tmpld;
16854 volatile float f;
16855 volatile double d;
16856 volatile long double ld;
16858 main ()
16860 f = cabsf(tmpf);
16861 f = cargf(tmpf);
16862 tmpf = ccosf(tmpf);
16863 tmpf = ccoshf(tmpf);
16864 tmpf = cexpf(tmpf);
16865 tmpf = clogf(tmpf);
16866 tmpf = csinf(tmpf);
16867 tmpf = csinhf(tmpf);
16868 tmpf = csqrtf(tmpf);
16869 tmpf = ctanf(tmpf);
16870 tmpf = ctanhf(tmpf);
16871 tmpf = cpowf(tmpf, tmpf);
16872 tmpf = cprojf(tmpf);
16873 d = cabs(tmpd);
16874 d = carg(tmpd);
16875 tmpd = ccos(tmpd);
16876 tmpd = ccosh(tmpd);
16877 tmpd = cexp(tmpd);
16878 tmpd = clog(tmpd);
16879 tmpd = csin(tmpd);
16880 tmpd = csinh(tmpd);
16881 tmpd = csqrt(tmpd);
16882 tmpd = ctan(tmpd);
16883 tmpd = ctanh(tmpd);
16884 tmpd = cpow(tmpd, tmpd);
16885 tmpd = cproj(tmpd);
16886 ld = cabsl(tmpld);
16887 ld = cargl(tmpld);
16888 tmpld = ccosl(tmpld);
16889 tmpld = ccoshl(tmpld);
16890 tmpld = cexpl(tmpld);
16891 tmpld = clogl(tmpld);
16892 tmpld = csinl(tmpld);
16893 tmpld = csinhl(tmpld);
16894 tmpld = csqrtl(tmpld);
16895 tmpld = ctanl(tmpld);
16896 tmpld = ctanhl(tmpld);
16897 tmpld = cpowl(tmpld, tmpld);
16898 tmpld = cprojl(tmpld);
16901 return 0;
16903 _ACEOF
16904 if ac_fn_cxx_try_link "$LINENO"; then :
16905 glibcxx_cv_c99_complex=yes
16906 else
16907 glibcxx_cv_c99_complex=no
16909 rm -f core conftest.err conftest.$ac_objext \
16910 conftest$ac_exeext conftest.$ac_ext
16913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex" >&5
16914 $as_echo "$glibcxx_cv_c99_complex" >&6; }
16915 if test x"$glibcxx_cv_c99_complex" = x"yes"; then
16917 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX 1" >>confdefs.h
16921 # Check for the existence in <stdio.h> of vscanf, et. al.
16922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h>" >&5
16923 $as_echo_n "checking for ISO C99 support in <stdio.h>... " >&6; }
16924 if test "${glibcxx_cv_c99_stdio+set}" = set; then :
16925 $as_echo_n "(cached) " >&6
16926 else
16928 if test x$gcc_no_link = xyes; then
16929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16930 /* end confdefs.h. */
16931 #include <stdio.h>
16932 #include <stdarg.h>
16933 void foo(char* fmt, ...)
16935 va_list args; va_start(args, fmt);
16936 vfscanf(stderr, "%i", args);
16937 vscanf("%i", args);
16938 vsnprintf(fmt, 0, "%i", args);
16939 vsscanf(fmt, "%i", args);
16940 snprintf(fmt, 0, "%i");
16943 main ()
16947 return 0;
16949 _ACEOF
16950 if ac_fn_cxx_try_compile "$LINENO"; then :
16951 glibcxx_cv_c99_stdio=yes
16952 else
16953 glibcxx_cv_c99_stdio=no
16955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16956 else
16957 if test x$gcc_no_link = xyes; then
16958 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16961 /* end confdefs.h. */
16962 #include <stdio.h>
16963 #include <stdarg.h>
16964 void foo(char* fmt, ...)
16966 va_list args; va_start(args, fmt);
16967 vfscanf(stderr, "%i", args);
16968 vscanf("%i", args);
16969 vsnprintf(fmt, 0, "%i", args);
16970 vsscanf(fmt, "%i", args);
16971 snprintf(fmt, 0, "%i");
16974 main ()
16978 return 0;
16980 _ACEOF
16981 if ac_fn_cxx_try_link "$LINENO"; then :
16982 glibcxx_cv_c99_stdio=yes
16983 else
16984 glibcxx_cv_c99_stdio=no
16986 rm -f core conftest.err conftest.$ac_objext \
16987 conftest$ac_exeext conftest.$ac_ext
16992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio" >&5
16993 $as_echo "$glibcxx_cv_c99_stdio" >&6; }
16995 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
16996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h>" >&5
16997 $as_echo_n "checking for ISO C99 support in <stdlib.h>... " >&6; }
16998 if test "${glibcxx_cv_c99_stdlib+set}" = set; then :
16999 $as_echo_n "(cached) " >&6
17000 else
17002 if test x$gcc_no_link = xyes; then
17003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17004 /* end confdefs.h. */
17005 #include <stdlib.h>
17006 volatile float f;
17007 volatile long double ld;
17008 volatile unsigned long long ll;
17009 lldiv_t mydivt;
17011 main ()
17013 char* tmp;
17014 f = strtof("gnu", &tmp);
17015 ld = strtold("gnu", &tmp);
17016 ll = strtoll("gnu", &tmp, 10);
17017 ll = strtoull("gnu", &tmp, 10);
17018 ll = llabs(10);
17019 mydivt = lldiv(10,1);
17020 ll = mydivt.quot;
17021 ll = mydivt.rem;
17022 ll = atoll("10");
17023 _Exit(0);
17026 return 0;
17028 _ACEOF
17029 if ac_fn_cxx_try_compile "$LINENO"; then :
17030 glibcxx_cv_c99_stdlib=yes
17031 else
17032 glibcxx_cv_c99_stdlib=no
17034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17035 else
17036 if test x$gcc_no_link = xyes; then
17037 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17040 /* end confdefs.h. */
17041 #include <stdlib.h>
17042 volatile float f;
17043 volatile long double ld;
17044 volatile unsigned long long ll;
17045 lldiv_t mydivt;
17047 main ()
17049 char* tmp;
17050 f = strtof("gnu", &tmp);
17051 ld = strtold("gnu", &tmp);
17052 ll = strtoll("gnu", &tmp, 10);
17053 ll = strtoull("gnu", &tmp, 10);
17054 ll = llabs(10);
17055 mydivt = lldiv(10,1);
17056 ll = mydivt.quot;
17057 ll = mydivt.rem;
17058 ll = atoll("10");
17059 _Exit(0);
17062 return 0;
17064 _ACEOF
17065 if ac_fn_cxx_try_link "$LINENO"; then :
17066 glibcxx_cv_c99_stdlib=yes
17067 else
17068 glibcxx_cv_c99_stdlib=no
17070 rm -f core conftest.err conftest.$ac_objext \
17071 conftest$ac_exeext conftest.$ac_ext
17076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib" >&5
17077 $as_echo "$glibcxx_cv_c99_stdlib" >&6; }
17079 # Check for the existence in <wchar.h> of wcstold, etc.
17080 glibcxx_cv_c99_wchar=no;
17081 if test x"$ac_has_wchar_h" = xyes &&
17082 test x"$ac_has_wctype_h" = xyes; then
17083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h>" >&5
17084 $as_echo_n "checking for ISO C99 support in <wchar.h>... " >&6; }
17085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17086 /* end confdefs.h. */
17087 #include <wchar.h>
17088 namespace test
17090 using ::wcstold;
17091 using ::wcstoll;
17092 using ::wcstoull;
17096 main ()
17100 return 0;
17102 _ACEOF
17103 if ac_fn_cxx_try_compile "$LINENO"; then :
17104 glibcxx_cv_c99_wchar=yes
17105 else
17106 glibcxx_cv_c99_wchar=no
17108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17110 # Checks for wide character functions that may not be present.
17111 # Injection of these is wrapped with guard macros.
17112 # NB: only put functions here, instead of immediately above, if
17113 # absolutely necessary.
17114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17115 /* end confdefs.h. */
17116 #include <wchar.h>
17117 namespace test { using ::vfwscanf; }
17119 main ()
17123 return 0;
17125 _ACEOF
17126 if ac_fn_cxx_try_compile "$LINENO"; then :
17128 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17134 /* end confdefs.h. */
17135 #include <wchar.h>
17136 namespace test { using ::vswscanf; }
17138 main ()
17142 return 0;
17144 _ACEOF
17145 if ac_fn_cxx_try_compile "$LINENO"; then :
17147 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17153 /* end confdefs.h. */
17154 #include <wchar.h>
17155 namespace test { using ::vwscanf; }
17157 main ()
17161 return 0;
17163 _ACEOF
17164 if ac_fn_cxx_try_compile "$LINENO"; then :
17166 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17172 /* end confdefs.h. */
17173 #include <wchar.h>
17174 namespace test { using ::wcstof; }
17176 main ()
17180 return 0;
17182 _ACEOF
17183 if ac_fn_cxx_try_compile "$LINENO"; then :
17185 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17191 /* end confdefs.h. */
17192 #include <wctype.h>
17194 main ()
17196 wint_t t; int i = iswblank(t);
17198 return 0;
17200 _ACEOF
17201 if ac_fn_cxx_try_compile "$LINENO"; then :
17203 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar" >&5
17209 $as_echo "$glibcxx_cv_c99_wchar" >&6; }
17212 # Option parsed, now set things appropriately.
17213 if test x"$glibcxx_cv_c99_math" = x"no" ||
17214 test x"$glibcxx_cv_c99_complex" = x"no" ||
17215 test x"$glibcxx_cv_c99_stdio" = x"no" ||
17216 test x"$glibcxx_cv_c99_stdlib" = x"no" ||
17217 test x"$glibcxx_cv_c99_wchar" = x"no"; then
17218 enable_c99=no;
17219 else
17221 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
17225 gcc_no_link="$ac_save_gcc_no_link"
17226 LIBS="$ac_save_LIBS"
17227 CXXFLAGS="$ac_save_CXXFLAGS"
17228 ac_ext=c
17229 ac_cpp='$CPP $CPPFLAGS'
17230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
17237 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
17238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
17239 $as_echo "$enable_c99" >&6; }
17242 # Check whether --enable-concept-checks was given.
17243 if test "${enable_concept_checks+set}" = set; then :
17244 enableval=$enable_concept_checks;
17245 case "$enableval" in
17246 yes|no) ;;
17247 *) as_fn_error "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
17248 esac
17250 else
17251 enable_concept_checks=no
17255 if test $enable_concept_checks = yes; then
17257 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
17262 # Check whether --enable-libstdcxx-debug-flags was given.
17263 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
17264 enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
17265 xno | x) enable_libstdcxx_debug_flags= ;;
17266 x-*) ;;
17267 *) as_fn_error "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17268 esac
17269 else
17270 enable_libstdcxx_debug_flags="-gdwarf-4 -g3 -O0"
17275 # Option parsed, now set things appropriately
17276 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
17279 { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
17280 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
17283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
17284 $as_echo_n "checking for additional debug build... " >&6; }
17285 # Check whether --enable-libstdcxx-debug was given.
17286 if test "${enable_libstdcxx_debug+set}" = set; then :
17287 enableval=$enable_libstdcxx_debug;
17288 case "$enableval" in
17289 yes|no) ;;
17290 *) as_fn_error "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
17291 esac
17293 else
17294 enable_libstdcxx_debug=no
17298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug" >&5
17299 $as_echo "$enable_libstdcxx_debug" >&6; }
17304 enable_parallel=no;
17306 # See if configured libgomp/omp.h exists. (libgomp may be in
17307 # noconfigdirs but not explicitly disabled.)
17308 if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
17309 enable_parallel=yes;
17310 else
17311 { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
17312 $as_echo "$as_me: target-libgomp not built" >&6;}
17315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
17316 $as_echo_n "checking for parallel mode support... " >&6; }
17317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
17318 $as_echo "$enable_parallel" >&6; }
17320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
17321 $as_echo_n "checking for extra compiler flags for building... " >&6; }
17322 # Check whether --enable-cxx-flags was given.
17323 if test "${enable_cxx_flags+set}" = set; then :
17324 enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
17325 xno | x) enable_cxx_flags= ;;
17326 x-*) ;;
17327 *) as_fn_error "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17328 esac
17329 else
17330 enable_cxx_flags=
17335 # Run through flags (either default or command-line) and set anything
17336 # extra (e.g., #defines) that must accompany particular g++ options.
17337 if test -n "$enable_cxx_flags"; then
17338 for f in $enable_cxx_flags; do
17339 case "$f" in
17340 -fhonor-std) ;;
17341 -*) ;;
17342 *) # and we're trying to pass /what/ exactly?
17343 as_fn_error "compiler flags start with a -" "$LINENO" 5 ;;
17344 esac
17345 done
17348 EXTRA_CXX_FLAGS="$enable_cxx_flags"
17349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
17350 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
17354 # Check whether --enable-fully-dynamic-string was given.
17355 if test "${enable_fully_dynamic_string+set}" = set; then :
17356 enableval=$enable_fully_dynamic_string;
17357 case "$enableval" in
17358 yes|no) ;;
17359 *) as_fn_error "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
17360 esac
17362 else
17363 enable_fully_dynamic_string=no
17367 if test $enable_fully_dynamic_string = yes; then
17368 enable_fully_dynamic_string_def=1
17369 else
17370 enable_fully_dynamic_string_def=0
17373 cat >>confdefs.h <<_ACEOF
17374 #define _GLIBCXX_FULLY_DYNAMIC_STRING ${enable_fully_dynamic_string_def}
17375 _ACEOF
17380 # Check whether --enable-extern-template was given.
17381 if test "${enable_extern_template+set}" = set; then :
17382 enableval=$enable_extern_template;
17383 case "$enableval" in
17384 yes|no) ;;
17385 *) as_fn_error "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
17386 esac
17388 else
17389 enable_extern_template=yes
17394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
17395 $as_echo_n "checking for extern template support... " >&6; }
17396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
17397 $as_echo "$enable_extern_template" >&6; }
17403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for custom python install directory" >&5
17404 $as_echo_n "checking for custom python install directory... " >&6; }
17406 # Check whether --with-python-dir was given.
17407 if test "${with_python_dir+set}" = set; then :
17408 withval=$with_python_dir; with_python_dir=$withval
17409 else
17410 with_python_dir="no"
17413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_python_dir}" >&5
17414 $as_echo "${with_python_dir}" >&6; }
17416 # Needed for installing Python modules during make install.
17417 python_mod_dir="${with_python_dir}"
17422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Werror" >&5
17423 $as_echo_n "checking for -Werror... " >&6; }
17424 # Check whether --enable-werror was given.
17425 if test "${enable_werror+set}" = set; then :
17426 enableval=$enable_werror;
17427 case "$enableval" in
17428 yes|no) ;;
17429 *) as_fn_error "Argument to enable/disable werror must be yes or no" "$LINENO" 5 ;;
17430 esac
17432 else
17433 enable_werror=yes
17437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_werror" >&5
17438 $as_echo "$enable_werror" >&6; }
17443 # Check whether --enable-vtable-verify was given.
17444 if test "${enable_vtable_verify+set}" = set; then :
17445 enableval=$enable_vtable_verify;
17446 case "$enableval" in
17447 yes|no) ;;
17448 *) as_fn_error "Argument to enable/disable vtable-verify must be yes or no" "$LINENO" 5 ;;
17449 esac
17451 else
17452 enable_vtable_verify=no
17457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vtable verify support" >&5
17458 $as_echo_n "checking for vtable verify support... " >&6; }
17459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
17460 $as_echo "$enable_vtable_verify" >&6; }
17462 if test $vtv_cygmin = yes; then
17463 VTV_CYGMIN_TRUE=
17464 VTV_CYGMIN_FALSE='#'
17465 else
17466 VTV_CYGMIN_TRUE='#'
17467 VTV_CYGMIN_FALSE=
17471 if test $enable_vtable_verify = yes; then
17472 case ${target_os} in
17473 cygwin*|mingw32*)
17474 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-lvtv,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
17475 vtv_cygmin="yes"
17478 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
17479 vtv_cygmin="no"
17481 esac
17482 VTV_PCH_CXXFLAGS="-fvtable-verify=std"
17483 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
17484 else
17485 VTV_CXXFLAGS=
17486 VTV_PCH_CXXFLAGS=
17487 VTV_CXXLINKFLAGS=
17496 # Checks for operating systems support that doesn't require linking.
17500 ac_ext=cpp
17501 ac_cpp='$CXXCPP $CPPFLAGS'
17502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gets declaration" >&5
17508 $as_echo_n "checking for gets declaration... " >&6; }
17509 if test "${glibcxx_cv_gets+set}" = set; then :
17510 $as_echo_n "(cached) " >&6
17511 else
17513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17514 /* end confdefs.h. */
17515 #include <stdio.h>
17516 namespace test
17518 using ::gets;
17521 _ACEOF
17522 if ac_fn_cxx_try_compile "$LINENO"; then :
17523 glibcxx_cv_gets=yes
17524 else
17525 glibcxx_cv_gets=no
17528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17532 if test $glibcxx_cv_gets = yes; then
17534 $as_echo "#define HAVE_GETS 1" >>confdefs.h
17537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_gets" >&5
17538 $as_echo "$glibcxx_cv_gets" >&6; }
17540 ac_ext=c
17541 ac_cpp='$CPP $CPPFLAGS'
17542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
17550 $as_echo_n "checking for EOWNERDEAD... " >&6; }
17551 if test "${glibcxx_cv_system_error1+set}" = set; then :
17552 $as_echo_n "(cached) " >&6
17553 else
17555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17556 /* end confdefs.h. */
17557 #include <errno.h>
17559 main ()
17561 int i = EOWNERDEAD;
17563 return 0;
17565 _ACEOF
17566 if ac_fn_c_try_compile "$LINENO"; then :
17567 glibcxx_cv_system_error1=yes
17568 else
17569 glibcxx_cv_system_error1=no
17571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
17576 $as_echo "$glibcxx_cv_system_error1" >&6; }
17577 if test x"$glibcxx_cv_system_error1" = x"yes"; then
17579 $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
17582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
17583 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
17584 if test "${glibcxx_cv_system_error2+set}" = set; then :
17585 $as_echo_n "(cached) " >&6
17586 else
17588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17589 /* end confdefs.h. */
17590 #include <errno.h>
17592 main ()
17594 int i = ENOTRECOVERABLE;
17596 return 0;
17598 _ACEOF
17599 if ac_fn_c_try_compile "$LINENO"; then :
17600 glibcxx_cv_system_error2=yes
17601 else
17602 glibcxx_cv_system_error2=no
17604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
17609 $as_echo "$glibcxx_cv_system_error2" >&6; }
17610 if test x"$glibcxx_cv_system_error2" = x"yes"; then
17612 $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
17615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
17616 $as_echo_n "checking for ENOLINK... " >&6; }
17617 if test "${glibcxx_cv_system_error3+set}" = set; then :
17618 $as_echo_n "(cached) " >&6
17619 else
17621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17622 /* end confdefs.h. */
17623 #include <errno.h>
17625 main ()
17627 int i = ENOLINK;
17629 return 0;
17631 _ACEOF
17632 if ac_fn_c_try_compile "$LINENO"; then :
17633 glibcxx_cv_system_error3=yes
17634 else
17635 glibcxx_cv_system_error3=no
17637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
17642 $as_echo "$glibcxx_cv_system_error3" >&6; }
17643 if test x"$glibcxx_cv_system_error3" = x"yes"; then
17645 $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
17648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
17649 $as_echo_n "checking for EPROTO... " >&6; }
17650 if test "${glibcxx_cv_system_error4+set}" = set; then :
17651 $as_echo_n "(cached) " >&6
17652 else
17654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17655 /* end confdefs.h. */
17656 #include <errno.h>
17658 main ()
17660 int i = EPROTO;
17662 return 0;
17664 _ACEOF
17665 if ac_fn_c_try_compile "$LINENO"; then :
17666 glibcxx_cv_system_error4=yes
17667 else
17668 glibcxx_cv_system_error4=no
17670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
17675 $as_echo "$glibcxx_cv_system_error4" >&6; }
17676 if test x"$glibcxx_cv_system_error4" = x"yes"; then
17678 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
17681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
17682 $as_echo_n "checking for ENODATA... " >&6; }
17683 if test "${glibcxx_cv_system_error5+set}" = set; then :
17684 $as_echo_n "(cached) " >&6
17685 else
17687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17688 /* end confdefs.h. */
17689 #include <errno.h>
17691 main ()
17693 int i = ENODATA;
17695 return 0;
17697 _ACEOF
17698 if ac_fn_c_try_compile "$LINENO"; then :
17699 glibcxx_cv_system_error5=yes
17700 else
17701 glibcxx_cv_system_error5=no
17703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
17708 $as_echo "$glibcxx_cv_system_error5" >&6; }
17709 if test x"$glibcxx_cv_system_error5" = x"yes"; then
17711 $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
17714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
17715 $as_echo_n "checking for ENOSR... " >&6; }
17716 if test "${glibcxx_cv_system_error6+set}" = set; then :
17717 $as_echo_n "(cached) " >&6
17718 else
17720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17721 /* end confdefs.h. */
17722 #include <errno.h>
17724 main ()
17726 int i = ENOSR;
17728 return 0;
17730 _ACEOF
17731 if ac_fn_c_try_compile "$LINENO"; then :
17732 glibcxx_cv_system_error6=yes
17733 else
17734 glibcxx_cv_system_error6=no
17736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
17741 $as_echo "$glibcxx_cv_system_error6" >&6; }
17742 if test x"$glibcxx_cv_system_error6" = x"yes"; then
17744 $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
17747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
17748 $as_echo_n "checking for ENOSTR... " >&6; }
17749 if test "${glibcxx_cv_system_error7+set}" = set; then :
17750 $as_echo_n "(cached) " >&6
17751 else
17753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17754 /* end confdefs.h. */
17755 #include <errno.h>
17757 main ()
17759 int i = ENOSTR;
17761 return 0;
17763 _ACEOF
17764 if ac_fn_c_try_compile "$LINENO"; then :
17765 glibcxx_cv_system_error7=yes
17766 else
17767 glibcxx_cv_system_error7=no
17769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
17774 $as_echo "$glibcxx_cv_system_error7" >&6; }
17775 if test x"$glibcxx_cv_system_error7" = x"yes"; then
17777 $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
17780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
17781 $as_echo_n "checking for ETIME... " >&6; }
17782 if test "${glibcxx_cv_system_error8+set}" = set; then :
17783 $as_echo_n "(cached) " >&6
17784 else
17786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17787 /* end confdefs.h. */
17788 #include <errno.h>
17790 main ()
17792 int i = ETIME;
17794 return 0;
17796 _ACEOF
17797 if ac_fn_c_try_compile "$LINENO"; then :
17798 glibcxx_cv_system_error8=yes
17799 else
17800 glibcxx_cv_system_error8=no
17802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
17807 $as_echo "$glibcxx_cv_system_error8" >&6; }
17808 if test x"$glibcxx_cv_system_error8" = x"yes"; then
17810 $as_echo "#define HAVE_ETIME 1" >>confdefs.h
17813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
17814 $as_echo_n "checking for EBADMSG... " >&6; }
17815 if test "${glibcxx_cv_system_error9+set}" = set; then :
17816 $as_echo_n "(cached) " >&6
17817 else
17819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17820 /* end confdefs.h. */
17821 #include <errno.h>
17823 main ()
17825 int i = EBADMSG;
17827 return 0;
17829 _ACEOF
17830 if ac_fn_c_try_compile "$LINENO"; then :
17831 glibcxx_cv_system_error9=yes
17832 else
17833 glibcxx_cv_system_error9=no
17835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
17840 $as_echo "$glibcxx_cv_system_error9" >&6; }
17841 if test x"$glibcxx_cv_system_error9" = x"yes"; then
17843 $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
17846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
17847 $as_echo_n "checking for ECANCELED... " >&6; }
17848 if test "${glibcxx_cv_system_error10+set}" = set; then :
17849 $as_echo_n "(cached) " >&6
17850 else
17852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17853 /* end confdefs.h. */
17854 #include <errno.h>
17856 main ()
17858 int i = ECANCELED;
17860 return 0;
17862 _ACEOF
17863 if ac_fn_c_try_compile "$LINENO"; then :
17864 glibcxx_cv_system_error10=yes
17865 else
17866 glibcxx_cv_system_error10=no
17868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
17873 $as_echo "$glibcxx_cv_system_error10" >&6; }
17874 if test x"$glibcxx_cv_system_error10" = x"yes"; then
17876 $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
17879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
17880 $as_echo_n "checking for EOVERFLOW... " >&6; }
17881 if test "${glibcxx_cv_system_error11+set}" = set; then :
17882 $as_echo_n "(cached) " >&6
17883 else
17885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17886 /* end confdefs.h. */
17887 #include <errno.h>
17889 main ()
17891 int i = EOVERFLOW;
17893 return 0;
17895 _ACEOF
17896 if ac_fn_c_try_compile "$LINENO"; then :
17897 glibcxx_cv_system_error11=yes
17898 else
17899 glibcxx_cv_system_error11=no
17901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
17906 $as_echo "$glibcxx_cv_system_error11" >&6; }
17907 if test x"$glibcxx_cv_system_error11" = x"yes"; then
17909 $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
17912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
17913 $as_echo_n "checking for ENOTSUP... " >&6; }
17914 if test "${glibcxx_cv_system_error12+set}" = set; then :
17915 $as_echo_n "(cached) " >&6
17916 else
17918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17919 /* end confdefs.h. */
17920 #include <errno.h>
17922 main ()
17924 int i = ENOTSUP;
17926 return 0;
17928 _ACEOF
17929 if ac_fn_c_try_compile "$LINENO"; then :
17930 glibcxx_cv_system_error12=yes
17931 else
17932 glibcxx_cv_system_error12=no
17934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
17939 $as_echo "$glibcxx_cv_system_error12" >&6; }
17940 if test x"$glibcxx_cv_system_error12" = x"yes"; then
17942 $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
17945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
17946 $as_echo_n "checking for EIDRM... " >&6; }
17947 if test "${glibcxx_cv_system_error13+set}" = set; then :
17948 $as_echo_n "(cached) " >&6
17949 else
17951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17952 /* end confdefs.h. */
17953 #include <errno.h>
17955 main ()
17957 int i = EIDRM;
17959 return 0;
17961 _ACEOF
17962 if ac_fn_c_try_compile "$LINENO"; then :
17963 glibcxx_cv_system_error13=yes
17964 else
17965 glibcxx_cv_system_error13=no
17967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
17972 $as_echo "$glibcxx_cv_system_error13" >&6; }
17973 if test x"$glibcxx_cv_system_error13" = x"yes"; then
17975 $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
17978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
17979 $as_echo_n "checking for ETXTBSY... " >&6; }
17980 if test "${glibcxx_cv_system_error14+set}" = set; then :
17981 $as_echo_n "(cached) " >&6
17982 else
17984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17985 /* end confdefs.h. */
17986 #include <errno.h>
17988 main ()
17990 int i = ETXTBSY;
17992 return 0;
17994 _ACEOF
17995 if ac_fn_c_try_compile "$LINENO"; then :
17996 glibcxx_cv_system_error14=yes
17997 else
17998 glibcxx_cv_system_error14=no
18000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
18005 $as_echo "$glibcxx_cv_system_error14" >&6; }
18006 if test x"$glibcxx_cv_system_error14" = x"yes"; then
18008 $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
18011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECHILD" >&5
18012 $as_echo_n "checking for ECHILD... " >&6; }
18013 if test "${glibcxx_cv_system_error15+set}" = set; then :
18014 $as_echo_n "(cached) " >&6
18015 else
18017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18018 /* end confdefs.h. */
18019 #include <errno.h>
18021 main ()
18023 int i = ECHILD;
18025 return 0;
18027 _ACEOF
18028 if ac_fn_c_try_compile "$LINENO"; then :
18029 glibcxx_cv_system_error15=yes
18030 else
18031 glibcxx_cv_system_error15=no
18033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error15" >&5
18038 $as_echo "$glibcxx_cv_system_error15" >&6; }
18039 if test x"$glibcxx_cv_system_error15" = x"yes"; then
18041 $as_echo "#define HAVE_ECHILD 1" >>confdefs.h
18044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSPC" >&5
18045 $as_echo_n "checking for ENOSPC... " >&6; }
18046 if test "${glibcxx_cv_system_error16+set}" = set; then :
18047 $as_echo_n "(cached) " >&6
18048 else
18050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18051 /* end confdefs.h. */
18052 #include <errno.h>
18054 main ()
18056 int i = ENOSPC;
18058 return 0;
18060 _ACEOF
18061 if ac_fn_c_try_compile "$LINENO"; then :
18062 glibcxx_cv_system_error16=yes
18063 else
18064 glibcxx_cv_system_error16=no
18066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error16" >&5
18071 $as_echo "$glibcxx_cv_system_error16" >&6; }
18072 if test x"$glibcxx_cv_system_error16" = x"yes"; then
18074 $as_echo "#define HAVE_ENOSPC 1" >>confdefs.h
18077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPERM" >&5
18078 $as_echo_n "checking for EPERM... " >&6; }
18079 if test "${glibcxx_cv_system_error17+set}" = set; then :
18080 $as_echo_n "(cached) " >&6
18081 else
18083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18084 /* end confdefs.h. */
18085 #include <errno.h>
18087 main ()
18089 int i = EPERM;
18091 return 0;
18093 _ACEOF
18094 if ac_fn_c_try_compile "$LINENO"; then :
18095 glibcxx_cv_system_error17=yes
18096 else
18097 glibcxx_cv_system_error17=no
18099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error17" >&5
18104 $as_echo "$glibcxx_cv_system_error17" >&6; }
18105 if test x"$glibcxx_cv_system_error17" = x"yes"; then
18107 $as_echo "#define HAVE_EPERM 1" >>confdefs.h
18110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIMEDOUT" >&5
18111 $as_echo_n "checking for ETIMEDOUT... " >&6; }
18112 if test "${glibcxx_cv_system_error18+set}" = set; then :
18113 $as_echo_n "(cached) " >&6
18114 else
18116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18117 /* end confdefs.h. */
18118 #include <errno.h>
18120 main ()
18122 int i = ETIMEDOUT;
18124 return 0;
18126 _ACEOF
18127 if ac_fn_c_try_compile "$LINENO"; then :
18128 glibcxx_cv_system_error18=yes
18129 else
18130 glibcxx_cv_system_error18=no
18132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error18" >&5
18137 $as_echo "$glibcxx_cv_system_error18" >&6; }
18138 if test x"$glibcxx_cv_system_error18" = x"yes"; then
18140 $as_echo "#define HAVE_ETIMEDOUT 1" >>confdefs.h
18143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EWOULDBLOCK" >&5
18144 $as_echo_n "checking for EWOULDBLOCK... " >&6; }
18145 if test "${glibcxx_cv_system_error19+set}" = set; then :
18146 $as_echo_n "(cached) " >&6
18147 else
18149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18150 /* end confdefs.h. */
18151 #include <errno.h>
18153 main ()
18155 int i = EWOULDBLOCK;
18157 return 0;
18159 _ACEOF
18160 if ac_fn_c_try_compile "$LINENO"; then :
18161 glibcxx_cv_system_error19=yes
18162 else
18163 glibcxx_cv_system_error19=no
18165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error19" >&5
18170 $as_echo "$glibcxx_cv_system_error19" >&6; }
18171 if test x"$glibcxx_cv_system_error19" = x"yes"; then
18173 $as_echo "#define HAVE_EWOULDBLOCK 1" >>confdefs.h
18179 # For the streamoff typedef.
18183 ac_ext=cpp
18184 ac_cpp='$CXXCPP $CPPFLAGS'
18185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
18191 $as_echo_n "checking for int64_t... " >&6; }
18192 if test "${glibcxx_cv_INT64_T+set}" = set; then :
18193 $as_echo_n "(cached) " >&6
18194 else
18196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18197 /* end confdefs.h. */
18198 #include <stdint.h>
18200 main ()
18202 int64_t var;
18204 return 0;
18206 _ACEOF
18207 if ac_fn_cxx_try_compile "$LINENO"; then :
18208 glibcxx_cv_INT64_T=yes
18209 else
18210 glibcxx_cv_INT64_T=no
18212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18217 if test $glibcxx_cv_INT64_T = yes; then
18219 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
18221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
18222 $as_echo "$glibcxx_cv_INT64_T" >&6; }
18224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
18225 $as_echo_n "checking for int64_t as long... " >&6; }
18226 if test "${glibcxx_cv_int64_t_long+set}" = set; then :
18227 $as_echo_n "(cached) " >&6
18228 else
18230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18231 /* end confdefs.h. */
18232 #include <stdint.h>
18233 template<typename, typename> struct same { enum { value = -1 }; };
18234 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18235 int array[same<int64_t, long>::value];
18237 main ()
18241 return 0;
18243 _ACEOF
18244 if ac_fn_cxx_try_compile "$LINENO"; then :
18245 glibcxx_cv_int64_t_long=yes
18246 else
18247 glibcxx_cv_int64_t_long=no
18249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18254 if test $glibcxx_cv_int64_t_long = yes; then
18256 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
18258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
18259 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
18262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
18263 $as_echo_n "checking for int64_t as long long... " >&6; }
18264 if test "${glibcxx_cv_int64_t_long_long+set}" = set; then :
18265 $as_echo_n "(cached) " >&6
18266 else
18268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18269 /* end confdefs.h. */
18270 #include <stdint.h>
18271 template<typename, typename> struct same { enum { value = -1 }; };
18272 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18273 int array[same<int64_t, long long>::value];
18275 main ()
18279 return 0;
18281 _ACEOF
18282 if ac_fn_cxx_try_compile "$LINENO"; then :
18283 glibcxx_cv_int64_t_long_long=yes
18284 else
18285 glibcxx_cv_int64_t_long_long=no
18287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18292 if test $glibcxx_cv_int64_t_long_long = yes; then
18294 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
18296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
18297 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
18301 ac_ext=c
18302 ac_cpp='$CPP $CPPFLAGS'
18303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18309 # For LFS support.
18312 ac_ext=cpp
18313 ac_cpp='$CXXCPP $CPPFLAGS'
18314 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18315 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18316 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18318 ac_save_CXXFLAGS="$CXXFLAGS"
18319 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
18321 $as_echo_n "checking for LFS support... " >&6; }
18322 if test "${glibcxx_cv_LFS+set}" = set; then :
18323 $as_echo_n "(cached) " >&6
18324 else
18326 if test x$gcc_no_link = xyes; then
18327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18328 /* end confdefs.h. */
18329 #include <unistd.h>
18330 #include <stdio.h>
18331 #include <sys/stat.h>
18334 main ()
18336 FILE* fp;
18337 fopen64("t", "w");
18338 fseeko64(fp, 0, SEEK_CUR);
18339 ftello64(fp);
18340 lseek64(1, 0, SEEK_CUR);
18341 struct stat64 buf;
18342 fstat64(1, &buf);
18344 return 0;
18346 _ACEOF
18347 if ac_fn_cxx_try_compile "$LINENO"; then :
18348 glibcxx_cv_LFS=yes
18349 else
18350 glibcxx_cv_LFS=no
18352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18353 else
18354 if test x$gcc_no_link = xyes; then
18355 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18358 /* end confdefs.h. */
18359 #include <unistd.h>
18360 #include <stdio.h>
18361 #include <sys/stat.h>
18364 main ()
18366 FILE* fp;
18367 fopen64("t", "w");
18368 fseeko64(fp, 0, SEEK_CUR);
18369 ftello64(fp);
18370 lseek64(1, 0, SEEK_CUR);
18371 struct stat64 buf;
18372 fstat64(1, &buf);
18374 return 0;
18376 _ACEOF
18377 if ac_fn_cxx_try_link "$LINENO"; then :
18378 glibcxx_cv_LFS=yes
18379 else
18380 glibcxx_cv_LFS=no
18382 rm -f core conftest.err conftest.$ac_objext \
18383 conftest$ac_exeext conftest.$ac_ext
18388 if test $glibcxx_cv_LFS = yes; then
18390 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
18393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
18394 $as_echo "$glibcxx_cv_LFS" >&6; }
18395 CXXFLAGS="$ac_save_CXXFLAGS"
18396 ac_ext=c
18397 ac_cpp='$CPP $CPPFLAGS'
18398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18404 # For showmanyc_helper().
18405 for ac_header in sys/ioctl.h sys/filio.h
18406 do :
18407 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18408 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18409 eval as_val=\$$as_ac_Header
18410 if test "x$as_val" = x""yes; then :
18411 cat >>confdefs.h <<_ACEOF
18412 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18413 _ACEOF
18417 done
18422 ac_ext=cpp
18423 ac_cpp='$CXXCPP $CPPFLAGS'
18424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18428 ac_save_CXXFLAGS="$CXXFLAGS"
18429 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
18432 $as_echo_n "checking for poll... " >&6; }
18433 if test "${glibcxx_cv_POLL+set}" = set; then :
18434 $as_echo_n "(cached) " >&6
18435 else
18437 if test x$gcc_no_link = xyes; then
18438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18439 /* end confdefs.h. */
18440 #include <poll.h>
18442 main ()
18444 struct pollfd pfd[1];
18445 pfd[0].events = POLLIN;
18446 poll(pfd, 1, 0);
18448 return 0;
18450 _ACEOF
18451 if ac_fn_cxx_try_compile "$LINENO"; then :
18452 glibcxx_cv_POLL=yes
18453 else
18454 glibcxx_cv_POLL=no
18456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18457 else
18458 if test x$gcc_no_link = xyes; then
18459 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18462 /* end confdefs.h. */
18463 #include <poll.h>
18465 main ()
18467 struct pollfd pfd[1];
18468 pfd[0].events = POLLIN;
18469 poll(pfd, 1, 0);
18471 return 0;
18473 _ACEOF
18474 if ac_fn_cxx_try_link "$LINENO"; then :
18475 glibcxx_cv_POLL=yes
18476 else
18477 glibcxx_cv_POLL=no
18479 rm -f core conftest.err conftest.$ac_objext \
18480 conftest$ac_exeext conftest.$ac_ext
18485 if test $glibcxx_cv_POLL = yes; then
18487 $as_echo "#define HAVE_POLL 1" >>confdefs.h
18490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
18491 $as_echo "$glibcxx_cv_POLL" >&6; }
18493 CXXFLAGS="$ac_save_CXXFLAGS"
18494 ac_ext=c
18495 ac_cpp='$CPP $CPPFLAGS'
18496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18504 ac_ext=cpp
18505 ac_cpp='$CXXCPP $CPPFLAGS'
18506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18510 ac_save_CXXFLAGS="$CXXFLAGS"
18511 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
18514 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
18515 if test "${glibcxx_cv_S_ISREG+set}" = set; then :
18516 $as_echo_n "(cached) " >&6
18517 else
18519 if test x$gcc_no_link = xyes; then
18520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18521 /* end confdefs.h. */
18522 #include <sys/stat.h>
18524 main ()
18526 struct stat buffer;
18527 fstat(0, &buffer);
18528 S_ISREG(buffer.st_mode);
18530 return 0;
18532 _ACEOF
18533 if ac_fn_cxx_try_compile "$LINENO"; then :
18534 glibcxx_cv_S_ISREG=yes
18535 else
18536 glibcxx_cv_S_ISREG=no
18538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18539 else
18540 if test x$gcc_no_link = xyes; then
18541 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18544 /* end confdefs.h. */
18545 #include <sys/stat.h>
18547 main ()
18549 struct stat buffer;
18550 fstat(0, &buffer);
18551 S_ISREG(buffer.st_mode);
18553 return 0;
18555 _ACEOF
18556 if ac_fn_cxx_try_link "$LINENO"; then :
18557 glibcxx_cv_S_ISREG=yes
18558 else
18559 glibcxx_cv_S_ISREG=no
18561 rm -f core conftest.err conftest.$ac_objext \
18562 conftest$ac_exeext conftest.$ac_ext
18567 if test "${glibcxx_cv_S_IFREG+set}" = set; then :
18568 $as_echo_n "(cached) " >&6
18569 else
18571 if test x$gcc_no_link = xyes; then
18572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18573 /* end confdefs.h. */
18574 #include <sys/stat.h>
18576 main ()
18578 struct stat buffer;
18579 fstat(0, &buffer);
18580 S_IFREG & buffer.st_mode;
18582 return 0;
18584 _ACEOF
18585 if ac_fn_cxx_try_compile "$LINENO"; then :
18586 glibcxx_cv_S_IFREG=yes
18587 else
18588 glibcxx_cv_S_IFREG=no
18590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18591 else
18592 if test x$gcc_no_link = xyes; then
18593 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18596 /* end confdefs.h. */
18597 #include <sys/stat.h>
18599 main ()
18601 struct stat buffer;
18602 fstat(0, &buffer);
18603 S_IFREG & buffer.st_mode;
18605 return 0;
18607 _ACEOF
18608 if ac_fn_cxx_try_link "$LINENO"; then :
18609 glibcxx_cv_S_IFREG=yes
18610 else
18611 glibcxx_cv_S_IFREG=no
18613 rm -f core conftest.err conftest.$ac_objext \
18614 conftest$ac_exeext conftest.$ac_ext
18619 res=no
18620 if test $glibcxx_cv_S_ISREG = yes; then
18622 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
18624 res=S_ISREG
18625 elif test $glibcxx_cv_S_IFREG = yes; then
18627 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
18629 res=S_IFREG
18631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
18632 $as_echo "$res" >&6; }
18634 CXXFLAGS="$ac_save_CXXFLAGS"
18635 ac_ext=c
18636 ac_cpp='$CPP $CPPFLAGS'
18637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18643 # For xsputn_2().
18644 for ac_header in sys/uio.h
18645 do :
18646 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
18647 if test "x$ac_cv_header_sys_uio_h" = x""yes; then :
18648 cat >>confdefs.h <<_ACEOF
18649 #define HAVE_SYS_UIO_H 1
18650 _ACEOF
18654 done
18659 ac_ext=cpp
18660 ac_cpp='$CXXCPP $CPPFLAGS'
18661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18665 ac_save_CXXFLAGS="$CXXFLAGS"
18666 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
18669 $as_echo_n "checking for writev... " >&6; }
18670 if test "${glibcxx_cv_WRITEV+set}" = set; then :
18671 $as_echo_n "(cached) " >&6
18672 else
18674 if test x$gcc_no_link = xyes; then
18675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18676 /* end confdefs.h. */
18677 #include <sys/uio.h>
18679 main ()
18681 struct iovec iov[2];
18682 writev(0, iov, 0);
18684 return 0;
18686 _ACEOF
18687 if ac_fn_cxx_try_compile "$LINENO"; then :
18688 glibcxx_cv_WRITEV=yes
18689 else
18690 glibcxx_cv_WRITEV=no
18692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18693 else
18694 if test x$gcc_no_link = xyes; then
18695 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18698 /* end confdefs.h. */
18699 #include <sys/uio.h>
18701 main ()
18703 struct iovec iov[2];
18704 writev(0, iov, 0);
18706 return 0;
18708 _ACEOF
18709 if ac_fn_cxx_try_link "$LINENO"; then :
18710 glibcxx_cv_WRITEV=yes
18711 else
18712 glibcxx_cv_WRITEV=no
18714 rm -f core conftest.err conftest.$ac_objext \
18715 conftest$ac_exeext conftest.$ac_ext
18720 if test $glibcxx_cv_WRITEV = yes; then
18722 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
18725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
18726 $as_echo "$glibcxx_cv_WRITEV" >&6; }
18728 CXXFLAGS="$ac_save_CXXFLAGS"
18729 ac_ext=c
18730 ac_cpp='$CPP $CPPFLAGS'
18731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18737 # Check for fenv.h and complex.h before GLIBCXX_CHECK_C99_TR1
18738 # so that the check is done with the C compiler (not C++).
18739 # Checking with C++ can break a canadian cross build if either
18740 # file does not exist in C but does in C++.
18741 for ac_header in fenv.h complex.h
18742 do :
18743 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18744 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18745 eval as_val=\$$as_ac_Header
18746 if test "x$as_val" = x""yes; then :
18747 cat >>confdefs.h <<_ACEOF
18748 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18749 _ACEOF
18753 done
18756 # For C99 support to TR1.
18760 ac_ext=cpp
18761 ac_cpp='$CXXCPP $CPPFLAGS'
18762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18767 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
18768 # undefined and fake C99 facilities may be spuriously enabled.
18769 ac_save_CXXFLAGS="$CXXFLAGS"
18770 CXXFLAGS="$CXXFLAGS -std=c++98"
18772 # Check for the existence of <complex.h> complex math functions used
18773 # by tr1/complex.
18774 for ac_header in complex.h
18775 do :
18776 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
18777 if test "x$ac_cv_header_complex_h" = x""yes; then :
18778 cat >>confdefs.h <<_ACEOF
18779 #define HAVE_COMPLEX_H 1
18780 _ACEOF
18781 ac_has_complex_h=yes
18782 else
18783 ac_has_complex_h=no
18786 done
18788 ac_c99_complex_tr1=no;
18789 if test x"$ac_has_complex_h" = x"yes"; then
18790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
18791 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
18792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18793 /* end confdefs.h. */
18794 #include <complex.h>
18796 main ()
18798 typedef __complex__ float float_type; float_type tmpf;
18799 cacosf(tmpf);
18800 casinf(tmpf);
18801 catanf(tmpf);
18802 cacoshf(tmpf);
18803 casinhf(tmpf);
18804 catanhf(tmpf);
18805 typedef __complex__ double double_type; double_type tmpd;
18806 cacos(tmpd);
18807 casin(tmpd);
18808 catan(tmpd);
18809 cacosh(tmpd);
18810 casinh(tmpd);
18811 catanh(tmpd);
18812 typedef __complex__ long double ld_type; ld_type tmpld;
18813 cacosl(tmpld);
18814 casinl(tmpld);
18815 catanl(tmpld);
18816 cacoshl(tmpld);
18817 casinhl(tmpld);
18818 catanhl(tmpld);
18821 return 0;
18823 _ACEOF
18824 if ac_fn_cxx_try_compile "$LINENO"; then :
18825 ac_c99_complex_tr1=yes
18826 else
18827 ac_c99_complex_tr1=no
18829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
18832 $as_echo "$ac_c99_complex_tr1" >&6; }
18833 if test x"$ac_c99_complex_tr1" = x"yes"; then
18835 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
18839 # Check for the existence of <ctype.h> functions.
18840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
18841 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
18842 if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then :
18843 $as_echo_n "(cached) " >&6
18844 else
18846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18847 /* end confdefs.h. */
18848 #include <ctype.h>
18850 main ()
18852 int ch;
18853 int ret;
18854 ret = isblank(ch);
18857 return 0;
18859 _ACEOF
18860 if ac_fn_cxx_try_compile "$LINENO"; then :
18861 glibcxx_cv_c99_ctype_tr1=yes
18862 else
18863 glibcxx_cv_c99_ctype_tr1=no
18865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
18870 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
18871 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
18873 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
18877 # Check for the existence of <fenv.h> functions.
18878 for ac_header in fenv.h
18879 do :
18880 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
18881 if test "x$ac_cv_header_fenv_h" = x""yes; then :
18882 cat >>confdefs.h <<_ACEOF
18883 #define HAVE_FENV_H 1
18884 _ACEOF
18885 ac_has_fenv_h=yes
18886 else
18887 ac_has_fenv_h=no
18890 done
18892 ac_c99_fenv_tr1=no;
18893 if test x"$ac_has_fenv_h" = x"yes"; then
18894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
18895 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
18896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18897 /* end confdefs.h. */
18898 #include <fenv.h>
18900 main ()
18902 int except, mode;
18903 fexcept_t* pflag;
18904 fenv_t* penv;
18905 int ret;
18906 ret = feclearexcept(except);
18907 ret = fegetexceptflag(pflag, except);
18908 ret = feraiseexcept(except);
18909 ret = fesetexceptflag(pflag, except);
18910 ret = fetestexcept(except);
18911 ret = fegetround();
18912 ret = fesetround(mode);
18913 ret = fegetenv(penv);
18914 ret = feholdexcept(penv);
18915 ret = fesetenv(penv);
18916 ret = feupdateenv(penv);
18919 return 0;
18921 _ACEOF
18922 if ac_fn_cxx_try_compile "$LINENO"; then :
18923 ac_c99_fenv_tr1=yes
18924 else
18925 ac_c99_fenv_tr1=no
18927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
18930 $as_echo "$ac_c99_fenv_tr1" >&6; }
18931 if test x"$ac_c99_fenv_tr1" = x"yes"; then
18933 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
18937 # Check for the existence of <stdint.h> types.
18938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
18939 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
18940 if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then :
18941 $as_echo_n "(cached) " >&6
18942 else
18944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18945 /* end confdefs.h. */
18946 #define __STDC_LIMIT_MACROS
18947 #define __STDC_CONSTANT_MACROS
18948 #include <stdint.h>
18950 main ()
18952 typedef int8_t my_int8_t;
18953 my_int8_t i8 = INT8_MIN;
18954 i8 = INT8_MAX;
18955 typedef int16_t my_int16_t;
18956 my_int16_t i16 = INT16_MIN;
18957 i16 = INT16_MAX;
18958 typedef int32_t my_int32_t;
18959 my_int32_t i32 = INT32_MIN;
18960 i32 = INT32_MAX;
18961 typedef int64_t my_int64_t;
18962 my_int64_t i64 = INT64_MIN;
18963 i64 = INT64_MAX;
18964 typedef int_fast8_t my_int_fast8_t;
18965 my_int_fast8_t if8 = INT_FAST8_MIN;
18966 if8 = INT_FAST8_MAX;
18967 typedef int_fast16_t my_int_fast16_t;
18968 my_int_fast16_t if16 = INT_FAST16_MIN;
18969 if16 = INT_FAST16_MAX;
18970 typedef int_fast32_t my_int_fast32_t;
18971 my_int_fast32_t if32 = INT_FAST32_MIN;
18972 if32 = INT_FAST32_MAX;
18973 typedef int_fast64_t my_int_fast64_t;
18974 my_int_fast64_t if64 = INT_FAST64_MIN;
18975 if64 = INT_FAST64_MAX;
18976 typedef int_least8_t my_int_least8_t;
18977 my_int_least8_t il8 = INT_LEAST8_MIN;
18978 il8 = INT_LEAST8_MAX;
18979 typedef int_least16_t my_int_least16_t;
18980 my_int_least16_t il16 = INT_LEAST16_MIN;
18981 il16 = INT_LEAST16_MAX;
18982 typedef int_least32_t my_int_least32_t;
18983 my_int_least32_t il32 = INT_LEAST32_MIN;
18984 il32 = INT_LEAST32_MAX;
18985 typedef int_least64_t my_int_least64_t;
18986 my_int_least64_t il64 = INT_LEAST64_MIN;
18987 il64 = INT_LEAST64_MAX;
18988 typedef intmax_t my_intmax_t;
18989 my_intmax_t im = INTMAX_MAX;
18990 im = INTMAX_MIN;
18991 typedef intptr_t my_intptr_t;
18992 my_intptr_t ip = INTPTR_MAX;
18993 ip = INTPTR_MIN;
18994 typedef uint8_t my_uint8_t;
18995 my_uint8_t ui8 = UINT8_MAX;
18996 ui8 = UINT8_MAX;
18997 typedef uint16_t my_uint16_t;
18998 my_uint16_t ui16 = UINT16_MAX;
18999 ui16 = UINT16_MAX;
19000 typedef uint32_t my_uint32_t;
19001 my_uint32_t ui32 = UINT32_MAX;
19002 ui32 = UINT32_MAX;
19003 typedef uint64_t my_uint64_t;
19004 my_uint64_t ui64 = UINT64_MAX;
19005 ui64 = UINT64_MAX;
19006 typedef uint_fast8_t my_uint_fast8_t;
19007 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
19008 uif8 = UINT_FAST8_MAX;
19009 typedef uint_fast16_t my_uint_fast16_t;
19010 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
19011 uif16 = UINT_FAST16_MAX;
19012 typedef uint_fast32_t my_uint_fast32_t;
19013 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
19014 uif32 = UINT_FAST32_MAX;
19015 typedef uint_fast64_t my_uint_fast64_t;
19016 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
19017 uif64 = UINT_FAST64_MAX;
19018 typedef uint_least8_t my_uint_least8_t;
19019 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
19020 uil8 = UINT_LEAST8_MAX;
19021 typedef uint_least16_t my_uint_least16_t;
19022 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
19023 uil16 = UINT_LEAST16_MAX;
19024 typedef uint_least32_t my_uint_least32_t;
19025 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
19026 uil32 = UINT_LEAST32_MAX;
19027 typedef uint_least64_t my_uint_least64_t;
19028 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
19029 uil64 = UINT_LEAST64_MAX;
19030 typedef uintmax_t my_uintmax_t;
19031 my_uintmax_t uim = UINTMAX_MAX;
19032 uim = UINTMAX_MAX;
19033 typedef uintptr_t my_uintptr_t;
19034 my_uintptr_t uip = UINTPTR_MAX;
19035 uip = UINTPTR_MAX;
19038 return 0;
19040 _ACEOF
19041 if ac_fn_cxx_try_compile "$LINENO"; then :
19042 glibcxx_cv_c99_stdint_tr1=yes
19043 else
19044 glibcxx_cv_c99_stdint_tr1=no
19046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
19051 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
19052 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19054 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
19058 # Check for the existence of <math.h> functions.
19059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
19060 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
19061 if test "${glibcxx_cv_c99_math_tr1+set}" = set; then :
19062 $as_echo_n "(cached) " >&6
19063 else
19065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19066 /* end confdefs.h. */
19067 #include <math.h>
19069 main ()
19071 typedef double_t my_double_t;
19072 typedef float_t my_float_t;
19073 acosh(0.0);
19074 acoshf(0.0f);
19075 acoshl(0.0l);
19076 asinh(0.0);
19077 asinhf(0.0f);
19078 asinhl(0.0l);
19079 atanh(0.0);
19080 atanhf(0.0f);
19081 atanhl(0.0l);
19082 cbrt(0.0);
19083 cbrtf(0.0f);
19084 cbrtl(0.0l);
19085 copysign(0.0, 0.0);
19086 copysignf(0.0f, 0.0f);
19087 copysignl(0.0l, 0.0l);
19088 erf(0.0);
19089 erff(0.0f);
19090 erfl(0.0l);
19091 erfc(0.0);
19092 erfcf(0.0f);
19093 erfcl(0.0l);
19094 exp2(0.0);
19095 exp2f(0.0f);
19096 exp2l(0.0l);
19097 expm1(0.0);
19098 expm1f(0.0f);
19099 expm1l(0.0l);
19100 fdim(0.0, 0.0);
19101 fdimf(0.0f, 0.0f);
19102 fdiml(0.0l, 0.0l);
19103 fma(0.0, 0.0, 0.0);
19104 fmaf(0.0f, 0.0f, 0.0f);
19105 fmal(0.0l, 0.0l, 0.0l);
19106 fmax(0.0, 0.0);
19107 fmaxf(0.0f, 0.0f);
19108 fmaxl(0.0l, 0.0l);
19109 fmin(0.0, 0.0);
19110 fminf(0.0f, 0.0f);
19111 fminl(0.0l, 0.0l);
19112 hypot(0.0, 0.0);
19113 hypotf(0.0f, 0.0f);
19114 hypotl(0.0l, 0.0l);
19115 ilogb(0.0);
19116 ilogbf(0.0f);
19117 ilogbl(0.0l);
19118 lgamma(0.0);
19119 lgammaf(0.0f);
19120 lgammal(0.0l);
19121 llrint(0.0);
19122 llrintf(0.0f);
19123 llrintl(0.0l);
19124 llround(0.0);
19125 llroundf(0.0f);
19126 llroundl(0.0l);
19127 log1p(0.0);
19128 log1pf(0.0f);
19129 log1pl(0.0l);
19130 log2(0.0);
19131 log2f(0.0f);
19132 log2l(0.0l);
19133 logb(0.0);
19134 logbf(0.0f);
19135 logbl(0.0l);
19136 lrint(0.0);
19137 lrintf(0.0f);
19138 lrintl(0.0l);
19139 lround(0.0);
19140 lroundf(0.0f);
19141 lroundl(0.0l);
19142 nan(0);
19143 nanf(0);
19144 nanl(0);
19145 nearbyint(0.0);
19146 nearbyintf(0.0f);
19147 nearbyintl(0.0l);
19148 nextafter(0.0, 0.0);
19149 nextafterf(0.0f, 0.0f);
19150 nextafterl(0.0l, 0.0l);
19151 nexttoward(0.0, 0.0);
19152 nexttowardf(0.0f, 0.0f);
19153 nexttowardl(0.0l, 0.0l);
19154 remainder(0.0, 0.0);
19155 remainderf(0.0f, 0.0f);
19156 remainderl(0.0l, 0.0l);
19157 remquo(0.0, 0.0, 0);
19158 remquof(0.0f, 0.0f, 0);
19159 remquol(0.0l, 0.0l, 0);
19160 rint(0.0);
19161 rintf(0.0f);
19162 rintl(0.0l);
19163 round(0.0);
19164 roundf(0.0f);
19165 roundl(0.0l);
19166 scalbln(0.0, 0l);
19167 scalblnf(0.0f, 0l);
19168 scalblnl(0.0l, 0l);
19169 scalbn(0.0, 0);
19170 scalbnf(0.0f, 0);
19171 scalbnl(0.0l, 0);
19172 tgamma(0.0);
19173 tgammaf(0.0f);
19174 tgammal(0.0l);
19175 trunc(0.0);
19176 truncf(0.0f);
19177 truncl(0.0l);
19180 return 0;
19182 _ACEOF
19183 if ac_fn_cxx_try_compile "$LINENO"; then :
19184 glibcxx_cv_c99_math_tr1=yes
19185 else
19186 glibcxx_cv_c99_math_tr1=no
19188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
19193 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
19194 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
19196 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
19200 # Check for the existence of <inttypes.h> functions (NB: doesn't make
19201 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
19202 ac_c99_inttypes_tr1=no;
19203 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
19205 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
19206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19207 /* end confdefs.h. */
19208 #include <inttypes.h>
19210 main ()
19212 intmax_t i, numer, denom, base;
19213 const char* s;
19214 char** endptr;
19215 intmax_t ret = imaxabs(i);
19216 imaxdiv_t dret = imaxdiv(numer, denom);
19217 ret = strtoimax(s, endptr, base);
19218 uintmax_t uret = strtoumax(s, endptr, base);
19221 return 0;
19223 _ACEOF
19224 if ac_fn_cxx_try_compile "$LINENO"; then :
19225 ac_c99_inttypes_tr1=yes
19226 else
19227 ac_c99_inttypes_tr1=no
19229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
19232 $as_echo "$ac_c99_inttypes_tr1" >&6; }
19233 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
19235 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
19239 # Check for the existence of wchar_t <inttypes.h> functions (NB: doesn't
19240 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
19241 ac_c99_inttypes_wchar_t_tr1=no;
19242 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
19244 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
19245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19246 /* end confdefs.h. */
19247 #include <inttypes.h>
19249 main ()
19251 intmax_t base;
19252 const wchar_t* s;
19253 wchar_t** endptr;
19254 intmax_t ret = wcstoimax(s, endptr, base);
19255 uintmax_t uret = wcstoumax(s, endptr, base);
19258 return 0;
19260 _ACEOF
19261 if ac_fn_cxx_try_compile "$LINENO"; then :
19262 ac_c99_inttypes_wchar_t_tr1=yes
19263 else
19264 ac_c99_inttypes_wchar_t_tr1=no
19266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
19269 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
19270 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
19272 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
19276 # Check for the existence of the <stdbool.h> header.
19277 for ac_header in stdbool.h
19278 do :
19279 ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
19280 if test "x$ac_cv_header_stdbool_h" = x""yes; then :
19281 cat >>confdefs.h <<_ACEOF
19282 #define HAVE_STDBOOL_H 1
19283 _ACEOF
19287 done
19290 # Check for the existence of the <stdalign.h> header.
19291 for ac_header in stdalign.h
19292 do :
19293 ac_fn_cxx_check_header_mongrel "$LINENO" "stdalign.h" "ac_cv_header_stdalign_h" "$ac_includes_default"
19294 if test "x$ac_cv_header_stdalign_h" = x""yes; then :
19295 cat >>confdefs.h <<_ACEOF
19296 #define HAVE_STDALIGN_H 1
19297 _ACEOF
19301 done
19304 CXXFLAGS="$ac_save_CXXFLAGS"
19305 ac_ext=c
19306 ac_cpp='$CPP $CPPFLAGS'
19307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19313 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
19316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
19317 $as_echo_n "checking for the value of EOF... " >&6; }
19318 if test "${glibcxx_cv_stdio_eof+set}" = set; then :
19319 $as_echo_n "(cached) " >&6
19320 else
19322 if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof" "#include <stdio.h>"; then :
19324 else
19325 as_fn_error "computing EOF failed" "$LINENO" 5
19330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
19331 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
19333 cat >>confdefs.h <<_ACEOF
19334 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
19335 _ACEOF
19338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
19339 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
19340 if test "${glibcxx_cv_stdio_seek_cur+set}" = set; then :
19341 $as_echo_n "(cached) " >&6
19342 else
19344 if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur" "#include <stdio.h>"; then :
19346 else
19347 as_fn_error "computing SEEK_CUR failed" "$LINENO" 5
19352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
19353 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
19355 cat >>confdefs.h <<_ACEOF
19356 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
19357 _ACEOF
19360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
19361 $as_echo_n "checking for the value of SEEK_END... " >&6; }
19362 if test "${glibcxx_cv_stdio_seek_end+set}" = set; then :
19363 $as_echo_n "(cached) " >&6
19364 else
19366 if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end" "#include <stdio.h>"; then :
19368 else
19369 as_fn_error "computing SEEK_END failed" "$LINENO" 5
19374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
19375 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
19377 cat >>confdefs.h <<_ACEOF
19378 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
19379 _ACEOF
19383 # For gettimeofday support.
19386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19387 $as_echo_n "checking for gettimeofday... " >&6; }
19390 ac_ext=cpp
19391 ac_cpp='$CXXCPP $CPPFLAGS'
19392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19396 ac_save_CXXFLAGS="$CXXFLAGS"
19397 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19399 ac_has_gettimeofday=no;
19400 for ac_header in sys/time.h
19401 do :
19402 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
19403 if test "x$ac_cv_header_sys_time_h" = x""yes; then :
19404 cat >>confdefs.h <<_ACEOF
19405 #define HAVE_SYS_TIME_H 1
19406 _ACEOF
19407 ac_has_sys_time_h=yes
19408 else
19409 ac_has_sys_time_h=no
19412 done
19414 if test x"$ac_has_sys_time_h" = x"yes"; then
19415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19416 $as_echo_n "checking for gettimeofday... " >&6; }
19417 if test x$gcc_no_link = xyes; then
19418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19419 /* end confdefs.h. */
19420 #include <sys/time.h>
19422 main ()
19424 timeval tv; gettimeofday(&tv, 0);
19426 return 0;
19428 _ACEOF
19429 if ac_fn_cxx_try_compile "$LINENO"; then :
19430 ac_has_gettimeofday=yes
19431 else
19432 ac_has_gettimeofday=no
19434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19435 else
19436 if test x$gcc_no_link = xyes; then
19437 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19440 /* end confdefs.h. */
19441 #include <sys/time.h>
19443 main ()
19445 timeval tv; gettimeofday(&tv, 0);
19447 return 0;
19449 _ACEOF
19450 if ac_fn_cxx_try_link "$LINENO"; then :
19451 ac_has_gettimeofday=yes
19452 else
19453 ac_has_gettimeofday=no
19455 rm -f core conftest.err conftest.$ac_objext \
19456 conftest$ac_exeext conftest.$ac_ext
19459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
19460 $as_echo "$ac_has_gettimeofday" >&6; }
19463 if test x"$ac_has_gettimeofday" = x"yes"; then
19465 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
19469 CXXFLAGS="$ac_save_CXXFLAGS"
19470 ac_ext=c
19471 ac_cpp='$CPP $CPPFLAGS'
19472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19478 # For clock_gettime, nanosleep and sched_yield support.
19481 # Check whether --enable-libstdcxx-time was given.
19482 if test "${enable_libstdcxx_time+set}" = set; then :
19483 enableval=$enable_libstdcxx_time;
19484 case "$enableval" in
19485 yes|no|rt) ;;
19486 *) as_fn_error "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
19487 esac
19489 else
19490 enable_libstdcxx_time=auto
19496 ac_ext=cpp
19497 ac_cpp='$CXXCPP $CPPFLAGS'
19498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19502 ac_save_CXXFLAGS="$CXXFLAGS"
19503 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19504 ac_save_LIBS="$LIBS"
19506 ac_has_clock_monotonic=no
19507 ac_has_clock_realtime=no
19508 ac_has_nanosleep=no
19509 ac_has_sched_yield=no
19511 if test x"$enable_libstdcxx_time" = x"auto"; then
19513 case "${target_os}" in
19514 cygwin*)
19515 ac_has_nanosleep=yes
19517 darwin*)
19518 ac_has_nanosleep=yes
19519 ac_has_sched_yield=yes
19521 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
19522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at least GNU libc 2.17" >&5
19523 $as_echo_n "checking for at least GNU libc 2.17... " >&6; }
19524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19525 /* end confdefs.h. */
19526 #include <features.h>
19528 main ()
19531 #if ! __GLIBC_PREREQ(2, 17)
19532 #error
19533 #endif
19536 return 0;
19538 _ACEOF
19539 if ac_fn_cxx_try_compile "$LINENO"; then :
19540 glibcxx_glibc217=yes
19541 else
19542 glibcxx_glibc217=no
19544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_glibc217" >&5
19546 $as_echo "$glibcxx_glibc217" >&6; }
19548 if test x"$glibcxx_glibc217" = x"yes"; then
19549 ac_has_clock_monotonic=yes
19550 ac_has_clock_realtime=yes
19552 ac_has_nanosleep=yes
19553 ac_has_sched_yield=yes
19555 freebsd*|netbsd*)
19556 ac_has_clock_monotonic=yes
19557 ac_has_clock_realtime=yes
19558 ac_has_nanosleep=yes
19559 ac_has_sched_yield=yes
19561 openbsd*)
19562 ac_has_clock_monotonic=yes
19563 ac_has_clock_realtime=yes
19564 ac_has_nanosleep=yes
19566 solaris*)
19567 GLIBCXX_LIBS="$GLIBCXX_LIBS -lrt"
19568 ac_has_clock_monotonic=yes
19569 ac_has_clock_realtime=yes
19570 ac_has_nanosleep=yes
19571 ac_has_sched_yield=yes
19573 esac
19575 elif test x"$enable_libstdcxx_time" != x"no"; then
19577 if test x"$enable_libstdcxx_time" = x"rt"; then
19578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19579 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19580 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19581 $as_echo_n "(cached) " >&6
19582 else
19583 ac_func_search_save_LIBS=$LIBS
19584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19585 /* end confdefs.h. */
19587 /* Override any GCC internal prototype to avoid an error.
19588 Use char because int might match the return type of a GCC
19589 builtin and then its argument prototype would still apply. */
19590 #ifdef __cplusplus
19591 extern "C"
19592 #endif
19593 char clock_gettime ();
19595 main ()
19597 return clock_gettime ();
19599 return 0;
19601 _ACEOF
19602 for ac_lib in '' rt posix4; do
19603 if test -z "$ac_lib"; then
19604 ac_res="none required"
19605 else
19606 ac_res=-l$ac_lib
19607 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19609 if test x$gcc_no_link = xyes; then
19610 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19612 if ac_fn_cxx_try_link "$LINENO"; then :
19613 ac_cv_search_clock_gettime=$ac_res
19615 rm -f core conftest.err conftest.$ac_objext \
19616 conftest$ac_exeext
19617 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19618 break
19620 done
19621 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19623 else
19624 ac_cv_search_clock_gettime=no
19626 rm conftest.$ac_ext
19627 LIBS=$ac_func_search_save_LIBS
19629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19630 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19631 ac_res=$ac_cv_search_clock_gettime
19632 if test "$ac_res" != no; then :
19633 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19638 $as_echo_n "checking for library containing nanosleep... " >&6; }
19639 if test "${ac_cv_search_nanosleep+set}" = set; then :
19640 $as_echo_n "(cached) " >&6
19641 else
19642 ac_func_search_save_LIBS=$LIBS
19643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19644 /* end confdefs.h. */
19646 /* Override any GCC internal prototype to avoid an error.
19647 Use char because int might match the return type of a GCC
19648 builtin and then its argument prototype would still apply. */
19649 #ifdef __cplusplus
19650 extern "C"
19651 #endif
19652 char nanosleep ();
19654 main ()
19656 return nanosleep ();
19658 return 0;
19660 _ACEOF
19661 for ac_lib in '' rt posix4; do
19662 if test -z "$ac_lib"; then
19663 ac_res="none required"
19664 else
19665 ac_res=-l$ac_lib
19666 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19668 if test x$gcc_no_link = xyes; then
19669 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19671 if ac_fn_cxx_try_link "$LINENO"; then :
19672 ac_cv_search_nanosleep=$ac_res
19674 rm -f core conftest.err conftest.$ac_objext \
19675 conftest$ac_exeext
19676 if test "${ac_cv_search_nanosleep+set}" = set; then :
19677 break
19679 done
19680 if test "${ac_cv_search_nanosleep+set}" = set; then :
19682 else
19683 ac_cv_search_nanosleep=no
19685 rm conftest.$ac_ext
19686 LIBS=$ac_func_search_save_LIBS
19688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19689 $as_echo "$ac_cv_search_nanosleep" >&6; }
19690 ac_res=$ac_cv_search_nanosleep
19691 if test "$ac_res" != no; then :
19692 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19696 else
19697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19698 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19699 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19700 $as_echo_n "(cached) " >&6
19701 else
19702 ac_func_search_save_LIBS=$LIBS
19703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19704 /* end confdefs.h. */
19706 /* Override any GCC internal prototype to avoid an error.
19707 Use char because int might match the return type of a GCC
19708 builtin and then its argument prototype would still apply. */
19709 #ifdef __cplusplus
19710 extern "C"
19711 #endif
19712 char clock_gettime ();
19714 main ()
19716 return clock_gettime ();
19718 return 0;
19720 _ACEOF
19721 for ac_lib in '' posix4; do
19722 if test -z "$ac_lib"; then
19723 ac_res="none required"
19724 else
19725 ac_res=-l$ac_lib
19726 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19728 if test x$gcc_no_link = xyes; then
19729 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19731 if ac_fn_cxx_try_link "$LINENO"; then :
19732 ac_cv_search_clock_gettime=$ac_res
19734 rm -f core conftest.err conftest.$ac_objext \
19735 conftest$ac_exeext
19736 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19737 break
19739 done
19740 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19742 else
19743 ac_cv_search_clock_gettime=no
19745 rm conftest.$ac_ext
19746 LIBS=$ac_func_search_save_LIBS
19748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19749 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19750 ac_res=$ac_cv_search_clock_gettime
19751 if test "$ac_res" != no; then :
19752 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19757 $as_echo_n "checking for library containing nanosleep... " >&6; }
19758 if test "${ac_cv_search_nanosleep+set}" = set; then :
19759 $as_echo_n "(cached) " >&6
19760 else
19761 ac_func_search_save_LIBS=$LIBS
19762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19763 /* end confdefs.h. */
19765 /* Override any GCC internal prototype to avoid an error.
19766 Use char because int might match the return type of a GCC
19767 builtin and then its argument prototype would still apply. */
19768 #ifdef __cplusplus
19769 extern "C"
19770 #endif
19771 char nanosleep ();
19773 main ()
19775 return nanosleep ();
19777 return 0;
19779 _ACEOF
19780 for ac_lib in '' posix4; do
19781 if test -z "$ac_lib"; then
19782 ac_res="none required"
19783 else
19784 ac_res=-l$ac_lib
19785 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19787 if test x$gcc_no_link = xyes; then
19788 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19790 if ac_fn_cxx_try_link "$LINENO"; then :
19791 ac_cv_search_nanosleep=$ac_res
19793 rm -f core conftest.err conftest.$ac_objext \
19794 conftest$ac_exeext
19795 if test "${ac_cv_search_nanosleep+set}" = set; then :
19796 break
19798 done
19799 if test "${ac_cv_search_nanosleep+set}" = set; then :
19801 else
19802 ac_cv_search_nanosleep=no
19804 rm conftest.$ac_ext
19805 LIBS=$ac_func_search_save_LIBS
19807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19808 $as_echo "$ac_cv_search_nanosleep" >&6; }
19809 ac_res=$ac_cv_search_nanosleep
19810 if test "$ac_res" != no; then :
19811 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19817 case "$ac_cv_search_clock_gettime" in
19818 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
19820 esac
19821 case "$ac_cv_search_nanosleep" in
19822 -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
19824 esac
19826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
19827 $as_echo_n "checking for library containing sched_yield... " >&6; }
19828 if test "${ac_cv_search_sched_yield+set}" = set; then :
19829 $as_echo_n "(cached) " >&6
19830 else
19831 ac_func_search_save_LIBS=$LIBS
19832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19833 /* end confdefs.h. */
19835 /* Override any GCC internal prototype to avoid an error.
19836 Use char because int might match the return type of a GCC
19837 builtin and then its argument prototype would still apply. */
19838 #ifdef __cplusplus
19839 extern "C"
19840 #endif
19841 char sched_yield ();
19843 main ()
19845 return sched_yield ();
19847 return 0;
19849 _ACEOF
19850 for ac_lib in '' rt posix4; do
19851 if test -z "$ac_lib"; then
19852 ac_res="none required"
19853 else
19854 ac_res=-l$ac_lib
19855 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19857 if test x$gcc_no_link = xyes; then
19858 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19860 if ac_fn_cxx_try_link "$LINENO"; then :
19861 ac_cv_search_sched_yield=$ac_res
19863 rm -f core conftest.err conftest.$ac_objext \
19864 conftest$ac_exeext
19865 if test "${ac_cv_search_sched_yield+set}" = set; then :
19866 break
19868 done
19869 if test "${ac_cv_search_sched_yield+set}" = set; then :
19871 else
19872 ac_cv_search_sched_yield=no
19874 rm conftest.$ac_ext
19875 LIBS=$ac_func_search_save_LIBS
19877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
19878 $as_echo "$ac_cv_search_sched_yield" >&6; }
19879 ac_res=$ac_cv_search_sched_yield
19880 if test "$ac_res" != no; then :
19881 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19886 case "$ac_cv_search_sched_yield" in
19887 -lposix4*)
19888 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19889 ac_has_sched_yield=yes
19891 -lrt*)
19892 if test x"$enable_libstdcxx_time" = x"rt"; then
19893 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19894 ac_has_sched_yield=yes
19898 ac_has_sched_yield=yes
19900 esac
19902 for ac_header in unistd.h
19903 do :
19904 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
19905 if test "x$ac_cv_header_unistd_h" = x""yes; then :
19906 cat >>confdefs.h <<_ACEOF
19907 #define HAVE_UNISTD_H 1
19908 _ACEOF
19909 ac_has_unistd_h=yes
19910 else
19911 ac_has_unistd_h=no
19914 done
19917 if test x"$ac_has_unistd_h" = x"yes"; then
19918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
19919 $as_echo_n "checking for monotonic clock... " >&6; }
19920 if test x$gcc_no_link = xyes; then
19921 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19924 /* end confdefs.h. */
19925 #include <unistd.h>
19926 #include <time.h>
19929 main ()
19931 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
19932 timespec tp;
19933 #endif
19934 clock_gettime(CLOCK_MONOTONIC, &tp);
19937 return 0;
19939 _ACEOF
19940 if ac_fn_cxx_try_link "$LINENO"; then :
19941 ac_has_clock_monotonic=yes
19942 else
19943 ac_has_clock_monotonic=no
19945 rm -f core conftest.err conftest.$ac_objext \
19946 conftest$ac_exeext conftest.$ac_ext
19948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
19949 $as_echo "$ac_has_clock_monotonic" >&6; }
19951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
19952 $as_echo_n "checking for realtime clock... " >&6; }
19953 if test x$gcc_no_link = xyes; then
19954 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19957 /* end confdefs.h. */
19958 #include <unistd.h>
19959 #include <time.h>
19962 main ()
19964 #if _POSIX_TIMERS > 0
19965 timespec tp;
19966 #endif
19967 clock_gettime(CLOCK_REALTIME, &tp);
19970 return 0;
19972 _ACEOF
19973 if ac_fn_cxx_try_link "$LINENO"; then :
19974 ac_has_clock_realtime=yes
19975 else
19976 ac_has_clock_realtime=no
19978 rm -f core conftest.err conftest.$ac_objext \
19979 conftest$ac_exeext conftest.$ac_ext
19981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
19982 $as_echo "$ac_has_clock_realtime" >&6; }
19984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
19985 $as_echo_n "checking for nanosleep... " >&6; }
19986 if test x$gcc_no_link = xyes; then
19987 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19990 /* end confdefs.h. */
19991 #include <unistd.h>
19992 #include <time.h>
19995 main ()
19997 #if _POSIX_TIMERS > 0
19998 timespec tp;
19999 #endif
20000 nanosleep(&tp, 0);
20003 return 0;
20005 _ACEOF
20006 if ac_fn_cxx_try_link "$LINENO"; then :
20007 ac_has_nanosleep=yes
20008 else
20009 ac_has_nanosleep=no
20011 rm -f core conftest.err conftest.$ac_objext \
20012 conftest$ac_exeext conftest.$ac_ext
20014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
20015 $as_echo "$ac_has_nanosleep" >&6; }
20019 if test x"$ac_has_clock_monotonic" != x"yes"; then
20020 case ${target_os} in
20021 linux*)
20022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime syscall" >&5
20023 $as_echo_n "checking for clock_gettime syscall... " >&6; }
20024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20025 /* end confdefs.h. */
20026 #include <unistd.h>
20027 #include <time.h>
20028 #include <sys/syscall.h>
20031 main ()
20033 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
20034 timespec tp;
20035 #endif
20036 syscall(SYS_clock_gettime, CLOCK_MONOTONIC, &tp);
20037 syscall(SYS_clock_gettime, CLOCK_REALTIME, &tp);
20040 return 0;
20042 _ACEOF
20043 if ac_fn_cxx_try_compile "$LINENO"; then :
20044 ac_has_clock_monotonic_syscall=yes
20045 else
20046 ac_has_clock_monotonic_syscall=no
20048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic_syscall" >&5
20050 $as_echo "$ac_has_clock_monotonic_syscall" >&6; }
20051 if test x"$ac_has_clock_monotonic_syscall" = x"yes"; then
20053 $as_echo "#define _GLIBCXX_USE_CLOCK_GETTIME_SYSCALL 1" >>confdefs.h
20055 ac_has_clock_monotonic=yes
20056 ac_has_clock_realtime=yes
20057 fi;;
20058 esac
20061 if test x"$ac_has_clock_monotonic" = x"yes"; then
20063 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
20067 if test x"$ac_has_clock_realtime" = x"yes"; then
20069 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
20073 if test x"$ac_has_sched_yield" = x"yes"; then
20075 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
20079 if test x"$ac_has_nanosleep" = x"yes"; then
20081 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
20083 else
20084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sleep" >&5
20085 $as_echo_n "checking for sleep... " >&6; }
20086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20087 /* end confdefs.h. */
20088 #include <unistd.h>
20090 main ()
20092 sleep(1)
20094 return 0;
20096 _ACEOF
20097 if ac_fn_cxx_try_compile "$LINENO"; then :
20098 ac_has_sleep=yes
20099 else
20100 ac_has_sleep=no
20102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20103 if test x"$ac_has_sleep" = x"yes"; then
20105 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
20108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_sleep" >&5
20109 $as_echo "$ac_has_sleep" >&6; }
20110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usleep" >&5
20111 $as_echo_n "checking for usleep... " >&6; }
20112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20113 /* end confdefs.h. */
20114 #include <unistd.h>
20116 main ()
20118 sleep(1);
20119 usleep(100);
20121 return 0;
20123 _ACEOF
20124 if ac_fn_cxx_try_compile "$LINENO"; then :
20125 ac_has_usleep=yes
20126 else
20127 ac_has_usleep=no
20129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20130 if test x"$ac_has_usleep" = x"yes"; then
20132 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
20135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_usleep" >&5
20136 $as_echo "$ac_has_usleep" >&6; }
20139 if test x"$ac_has_nanosleep$ac_has_sleep" = x"nono"; then
20140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Sleep" >&5
20141 $as_echo_n "checking for Sleep... " >&6; }
20142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20143 /* end confdefs.h. */
20144 #include <windows.h>
20146 main ()
20148 Sleep(1)
20150 return 0;
20152 _ACEOF
20153 if ac_fn_cxx_try_compile "$LINENO"; then :
20154 ac_has_win32_sleep=yes
20155 else
20156 ac_has_win32_sleep=no
20158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20159 if test x"$ac_has_win32_sleep" = x"yes"; then
20161 $as_echo "#define HAVE_WIN32_SLEEP 1" >>confdefs.h
20164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_win32_sleep" >&5
20165 $as_echo "$ac_has_win32_sleep" >&6; }
20170 CXXFLAGS="$ac_save_CXXFLAGS"
20171 LIBS="$ac_save_LIBS"
20172 ac_ext=c
20173 ac_cpp='$CPP $CPPFLAGS'
20174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20180 # Check for tmpnam which is obsolescent in POSIX.1-2008
20182 ac_ext=cpp
20183 ac_cpp='$CXXCPP $CPPFLAGS'
20184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20188 ac_save_CXXFLAGS="$CXXFLAGS"
20189 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tmpnam" >&5
20191 $as_echo_n "checking for tmpnam... " >&6; }
20192 if test "${glibcxx_cv_TMPNAM+set}" = set; then :
20193 $as_echo_n "(cached) " >&6
20194 else
20195 if test x$gcc_no_link = xyes; then
20196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20197 /* end confdefs.h. */
20198 #include <stdio.h>
20200 main ()
20202 char *tmp = tmpnam(NULL);
20204 return 0;
20206 _ACEOF
20207 if ac_fn_cxx_try_compile "$LINENO"; then :
20208 glibcxx_cv_TMPNAM=yes
20209 else
20210 glibcxx_cv_TMPNAM=no
20212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20213 else
20214 if test x$gcc_no_link = xyes; then
20215 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20218 /* end confdefs.h. */
20219 #include <stdio.h>
20221 main ()
20223 char *tmp = tmpnam(NULL);
20225 return 0;
20227 _ACEOF
20228 if ac_fn_cxx_try_link "$LINENO"; then :
20229 glibcxx_cv_TMPNAM=yes
20230 else
20231 glibcxx_cv_TMPNAM=no
20233 rm -f core conftest.err conftest.$ac_objext \
20234 conftest$ac_exeext conftest.$ac_ext
20239 if test $glibcxx_cv_TMPNAM = yes; then
20241 $as_echo "#define _GLIBCXX_USE_TMPNAM 1" >>confdefs.h
20244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_TMPNAM" >&5
20245 $as_echo "$glibcxx_cv_TMPNAM" >&6; }
20246 CXXFLAGS="$ac_save_CXXFLAGS"
20247 ac_ext=c
20248 ac_cpp='$CPP $CPPFLAGS'
20249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20256 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
20257 if test "x$ac_cv_header_locale_h" = x""yes; then :
20259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
20260 $as_echo_n "checking for LC_MESSAGES... " >&6; }
20261 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then :
20262 $as_echo_n "(cached) " >&6
20263 else
20264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20265 /* end confdefs.h. */
20266 #include <locale.h>
20268 main ()
20270 return LC_MESSAGES
20272 return 0;
20274 _ACEOF
20275 if ac_fn_c_try_compile "$LINENO"; then :
20276 ac_cv_val_LC_MESSAGES=yes
20277 else
20278 ac_cv_val_LC_MESSAGES=no
20280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
20283 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
20284 if test $ac_cv_val_LC_MESSAGES = yes; then
20286 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
20295 # For hardware_concurrency
20296 for ac_header in sys/sysinfo.h
20297 do :
20298 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
20299 if test "x$ac_cv_header_sys_sysinfo_h" = x""yes; then :
20300 cat >>confdefs.h <<_ACEOF
20301 #define HAVE_SYS_SYSINFO_H 1
20302 _ACEOF
20306 done
20311 ac_ext=cpp
20312 ac_cpp='$CXXCPP $CPPFLAGS'
20313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20317 ac_save_CXXFLAGS="$CXXFLAGS"
20318 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
20321 $as_echo_n "checking for get_nprocs... " >&6; }
20322 if test "${glibcxx_cv_GET_NPROCS+set}" = set; then :
20323 $as_echo_n "(cached) " >&6
20324 else
20326 if test x$gcc_no_link = xyes; then
20327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20328 /* end confdefs.h. */
20329 #include <sys/sysinfo.h>
20331 main ()
20333 int n = get_nprocs();
20335 return 0;
20337 _ACEOF
20338 if ac_fn_cxx_try_compile "$LINENO"; then :
20339 glibcxx_cv_GET_NPROCS=yes
20340 else
20341 glibcxx_cv_GET_NPROCS=no
20343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20344 else
20345 if test x$gcc_no_link = xyes; then
20346 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20349 /* end confdefs.h. */
20350 #include <sys/sysinfo.h>
20352 main ()
20354 int n = get_nprocs();
20356 return 0;
20358 _ACEOF
20359 if ac_fn_cxx_try_link "$LINENO"; then :
20360 glibcxx_cv_GET_NPROCS=yes
20361 else
20362 glibcxx_cv_GET_NPROCS=no
20364 rm -f core conftest.err conftest.$ac_objext \
20365 conftest$ac_exeext conftest.$ac_ext
20370 if test $glibcxx_cv_GET_NPROCS = yes; then
20372 $as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
20375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
20376 $as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
20378 CXXFLAGS="$ac_save_CXXFLAGS"
20379 ac_ext=c
20380 ac_cpp='$CPP $CPPFLAGS'
20381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20386 for ac_header in unistd.h
20387 do :
20388 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
20389 if test "x$ac_cv_header_unistd_h" = x""yes; then :
20390 cat >>confdefs.h <<_ACEOF
20391 #define HAVE_UNISTD_H 1
20392 _ACEOF
20396 done
20401 ac_ext=cpp
20402 ac_cpp='$CXXCPP $CPPFLAGS'
20403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20407 ac_save_CXXFLAGS="$CXXFLAGS"
20408 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
20411 $as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
20412 if test "${glibcxx_cv_SC_NPROCESSORS_ONLN+set}" = set; then :
20413 $as_echo_n "(cached) " >&6
20414 else
20416 if test x$gcc_no_link = xyes; then
20417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20418 /* end confdefs.h. */
20419 #include <unistd.h>
20421 main ()
20423 int n = sysconf(_SC_NPROCESSORS_ONLN);
20425 return 0;
20427 _ACEOF
20428 if ac_fn_cxx_try_compile "$LINENO"; then :
20429 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
20430 else
20431 glibcxx_cv_SC_NPROCESSORS_ONLN=no
20433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20434 else
20435 if test x$gcc_no_link = xyes; then
20436 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20439 /* end confdefs.h. */
20440 #include <unistd.h>
20442 main ()
20444 int n = sysconf(_SC_NPROCESSORS_ONLN);
20446 return 0;
20448 _ACEOF
20449 if ac_fn_cxx_try_link "$LINENO"; then :
20450 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
20451 else
20452 glibcxx_cv_SC_NPROCESSORS_ONLN=no
20454 rm -f core conftest.err conftest.$ac_objext \
20455 conftest$ac_exeext conftest.$ac_ext
20460 if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
20462 $as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
20465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
20466 $as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
20468 CXXFLAGS="$ac_save_CXXFLAGS"
20469 ac_ext=c
20470 ac_cpp='$CPP $CPPFLAGS'
20471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20479 ac_ext=cpp
20480 ac_cpp='$CXXCPP $CPPFLAGS'
20481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20485 ac_save_CXXFLAGS="$CXXFLAGS"
20486 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROC_ONLN" >&5
20489 $as_echo_n "checking for _SC_NPROC_ONLN... " >&6; }
20490 if test "${glibcxx_cv_SC_NPROC_ONLN+set}" = set; then :
20491 $as_echo_n "(cached) " >&6
20492 else
20494 if test x$gcc_no_link = xyes; then
20495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20496 /* end confdefs.h. */
20497 #include <unistd.h>
20499 main ()
20501 int n = sysconf(_SC_NPROC_ONLN);
20503 return 0;
20505 _ACEOF
20506 if ac_fn_cxx_try_compile "$LINENO"; then :
20507 glibcxx_cv_SC_NPROC_ONLN=yes
20508 else
20509 glibcxx_cv_SC_NPROC_ONLN=no
20511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20512 else
20513 if test x$gcc_no_link = xyes; then
20514 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20517 /* end confdefs.h. */
20518 #include <unistd.h>
20520 main ()
20522 int n = sysconf(_SC_NPROC_ONLN);
20524 return 0;
20526 _ACEOF
20527 if ac_fn_cxx_try_link "$LINENO"; then :
20528 glibcxx_cv_SC_NPROC_ONLN=yes
20529 else
20530 glibcxx_cv_SC_NPROC_ONLN=no
20532 rm -f core conftest.err conftest.$ac_objext \
20533 conftest$ac_exeext conftest.$ac_ext
20538 if test $glibcxx_cv_SC_NPROC_ONLN = yes; then
20540 $as_echo "#define _GLIBCXX_USE_SC_NPROC_ONLN 1" >>confdefs.h
20543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROC_ONLN" >&5
20544 $as_echo "$glibcxx_cv_SC_NPROC_ONLN" >&6; }
20546 CXXFLAGS="$ac_save_CXXFLAGS"
20547 ac_ext=c
20548 ac_cpp='$CPP $CPPFLAGS'
20549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20557 ac_ext=cpp
20558 ac_cpp='$CXXCPP $CPPFLAGS'
20559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20563 ac_save_CXXFLAGS="$CXXFLAGS"
20564 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthreads_num_processors_np" >&5
20567 $as_echo_n "checking for pthreads_num_processors_np... " >&6; }
20568 if test "${glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP+set}" = set; then :
20569 $as_echo_n "(cached) " >&6
20570 else
20572 if test x$gcc_no_link = xyes; then
20573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20574 /* end confdefs.h. */
20575 #include <pthread.h>
20577 main ()
20579 int n = pthread_num_processors_np();
20581 return 0;
20583 _ACEOF
20584 if ac_fn_cxx_try_compile "$LINENO"; then :
20585 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
20586 else
20587 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
20589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20590 else
20591 if test x$gcc_no_link = xyes; then
20592 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20595 /* end confdefs.h. */
20596 #include <pthread.h>
20598 main ()
20600 int n = pthread_num_processors_np();
20602 return 0;
20604 _ACEOF
20605 if ac_fn_cxx_try_link "$LINENO"; then :
20606 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
20607 else
20608 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
20610 rm -f core conftest.err conftest.$ac_objext \
20611 conftest$ac_exeext conftest.$ac_ext
20616 if test $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP = yes; then
20618 $as_echo "#define _GLIBCXX_USE_PTHREADS_NUM_PROCESSORS_NP 1" >>confdefs.h
20621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&5
20622 $as_echo "$glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&6; }
20624 CXXFLAGS="$ac_save_CXXFLAGS"
20625 ac_ext=c
20626 ac_cpp='$CPP $CPPFLAGS'
20627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20635 ac_ext=cpp
20636 ac_cpp='$CXXCPP $CPPFLAGS'
20637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20641 ac_save_CXXFLAGS="$CXXFLAGS"
20642 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hw.ncpu sysctl" >&5
20645 $as_echo_n "checking for hw.ncpu sysctl... " >&6; }
20646 if test "${glibcxx_cv_SYSCTL_HW_NCPU+set}" = set; then :
20647 $as_echo_n "(cached) " >&6
20648 else
20650 if test x$gcc_no_link = xyes; then
20651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20652 /* end confdefs.h. */
20654 #include <stddef.h>
20655 #include <sys/sysctl.h>
20658 main ()
20661 int count;
20662 size_t size = sizeof(count);
20663 int mib[] = { CTL_HW, HW_NCPU };
20664 sysctl(mib, 2, &count, &size, NULL, 0);
20667 return 0;
20669 _ACEOF
20670 if ac_fn_cxx_try_compile "$LINENO"; then :
20671 glibcxx_cv_SYSCTL_HW_NCPU=yes
20672 else
20673 glibcxx_cv_SYSCTL_HW_NCPU=no
20675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20676 else
20677 if test x$gcc_no_link = xyes; then
20678 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20681 /* end confdefs.h. */
20683 #include <stddef.h>
20684 #include <sys/sysctl.h>
20687 main ()
20690 int count;
20691 size_t size = sizeof(count);
20692 int mib[] = { CTL_HW, HW_NCPU };
20693 sysctl(mib, 2, &count, &size, NULL, 0);
20696 return 0;
20698 _ACEOF
20699 if ac_fn_cxx_try_link "$LINENO"; then :
20700 glibcxx_cv_SYSCTL_HW_NCPU=yes
20701 else
20702 glibcxx_cv_SYSCTL_HW_NCPU=no
20704 rm -f core conftest.err conftest.$ac_objext \
20705 conftest$ac_exeext conftest.$ac_ext
20710 if test $glibcxx_cv_SYSCTL_HW_NCPU = yes; then
20712 $as_echo "#define _GLIBCXX_USE_SYSCTL_HW_NCPU 1" >>confdefs.h
20715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SYSCTL_HW_NCPU" >&5
20716 $as_echo "$glibcxx_cv_SYSCTL_HW_NCPU" >&6; }
20718 CXXFLAGS="$ac_save_CXXFLAGS"
20719 ac_ext=c
20720 ac_cpp='$CPP $CPPFLAGS'
20721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suitable sys/sdt.h" >&5
20728 $as_echo_n "checking for suitable sys/sdt.h... " >&6; }
20729 # Note that this test has to be run with the C language.
20730 # Otherwise, sdt.h will try to include some headers from
20731 # libstdc++ itself.
20733 ac_ext=c
20734 ac_cpp='$CPP $CPPFLAGS'
20735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20739 if test "${glibcxx_cv_sys_sdt_h+set}" = set; then :
20740 $as_echo_n "(cached) " >&6
20741 else
20743 # Because we have to run the test in C, we use grep rather
20744 # than the compiler to check for the bug. The bug is that
20745 # were strings without trailing whitespace, causing g++
20746 # to look for operator"". The pattern searches for the fixed
20747 # output.
20748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20749 /* end confdefs.h. */
20751 #include <sys/sdt.h>
20752 int f() { STAP_PROBE(hi, bob); }
20754 _ACEOF
20755 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20756 $EGREP " \",\" " >/dev/null 2>&1; then :
20757 glibcxx_cv_sys_sdt_h=yes
20758 else
20759 glibcxx_cv_sys_sdt_h=no
20761 rm -f conftest*
20766 ac_ext=c
20767 ac_cpp='$CPP $CPPFLAGS'
20768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20772 if test $glibcxx_cv_sys_sdt_h = yes; then
20774 $as_echo "#define HAVE_SYS_SDT_H 1" >>confdefs.h
20777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sys_sdt_h" >&5
20778 $as_echo "$glibcxx_cv_sys_sdt_h" >&6; }
20781 # Check for available headers.
20782 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
20783 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
20784 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
20785 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
20786 wchar.h wctype.h
20787 do :
20788 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20789 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20790 eval as_val=\$$as_ac_Header
20791 if test "x$as_val" = x""yes; then :
20792 cat >>confdefs.h <<_ACEOF
20793 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20794 _ACEOF
20798 done
20801 # Only do link tests if native. Else, hardcode.
20802 if $GLIBCXX_IS_NATIVE; then
20804 # We can do more elaborate tests that assume a working linker.
20805 CANADIAN=no
20809 # Check whether --with-gnu-ld was given.
20810 if test "${with_gnu_ld+set}" = set; then :
20811 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
20812 else
20813 with_gnu_ld=no
20816 ac_prog=ld
20817 if test "$GCC" = yes; then
20818 # Check if gcc -print-prog-name=ld gives a path.
20819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
20820 $as_echo_n "checking for ld used by $CC... " >&6; }
20821 case $host in
20822 *-*-mingw*)
20823 # gcc leaves a trailing carriage return which upsets mingw
20824 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
20826 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
20827 esac
20828 case $ac_prog in
20829 # Accept absolute paths.
20830 [\\/]* | ?:[\\/]*)
20831 re_direlt='/[^/][^/]*/\.\./'
20832 # Canonicalize the pathname of ld
20833 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
20834 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
20835 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
20836 done
20837 test -z "$LD" && LD="$ac_prog"
20840 # If it fails, then pretend we aren't using GCC.
20841 ac_prog=ld
20844 # If it is relative, then search for the first ld in PATH.
20845 with_gnu_ld=unknown
20847 esac
20848 elif test "$with_gnu_ld" = yes; then
20849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
20850 $as_echo_n "checking for GNU ld... " >&6; }
20851 else
20852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
20853 $as_echo_n "checking for non-GNU ld... " >&6; }
20855 if test "${lt_cv_path_LD+set}" = set; then :
20856 $as_echo_n "(cached) " >&6
20857 else
20858 if test -z "$LD"; then
20859 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
20860 for ac_dir in $PATH; do
20861 IFS="$lt_save_ifs"
20862 test -z "$ac_dir" && ac_dir=.
20863 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
20864 lt_cv_path_LD="$ac_dir/$ac_prog"
20865 # Check to see if the program is GNU ld. I'd rather use --version,
20866 # but apparently some variants of GNU ld only accept -v.
20867 # Break only if it was the GNU/non-GNU ld that we prefer.
20868 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
20869 *GNU* | *'with BFD'*)
20870 test "$with_gnu_ld" != no && break
20873 test "$with_gnu_ld" != yes && break
20875 esac
20877 done
20878 IFS="$lt_save_ifs"
20879 else
20880 lt_cv_path_LD="$LD" # Let the user override the test with a path.
20884 LD="$lt_cv_path_LD"
20885 if test -n "$LD"; then
20886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
20887 $as_echo "$LD" >&6; }
20888 else
20889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20890 $as_echo "no" >&6; }
20892 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
20893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
20894 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
20895 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
20896 $as_echo_n "(cached) " >&6
20897 else
20898 # I'd rather use --version here, but apparently some GNU lds only accept -v.
20899 case `$LD -v 2>&1 </dev/null` in
20900 *GNU* | *'with BFD'*)
20901 lt_cv_prog_gnu_ld=yes
20904 lt_cv_prog_gnu_ld=no
20906 esac
20908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
20909 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
20910 with_gnu_ld=$lt_cv_prog_gnu_ld
20918 # If we're not using GNU ld, then there's no point in even trying these
20919 # tests. Check for that first. We should have already tested for gld
20920 # by now (in libtool), but require it now just to be safe...
20921 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
20922 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
20926 # The name set by libtool depends on the version of libtool. Shame on us
20927 # for depending on an impl detail, but c'est la vie. Older versions used
20928 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
20929 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
20930 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
20931 # set (hence we're using an older libtool), then set it.
20932 if test x${with_gnu_ld+set} != xset; then
20933 if test x${ac_cv_prog_gnu_ld+set} != xset; then
20934 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
20935 with_gnu_ld=no
20936 else
20937 with_gnu_ld=$ac_cv_prog_gnu_ld
20941 # Start by getting the version number. I think the libtool test already
20942 # does some of this, but throws away the result.
20943 glibcxx_ld_is_gold=no
20944 if test x"$with_gnu_ld" = x"yes"; then
20945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
20946 $as_echo_n "checking for ld version... " >&6; }
20948 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
20949 glibcxx_ld_is_gold=yes
20951 ldver=`$LD --version 2>/dev/null |
20952 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'`
20954 glibcxx_gnu_ld_version=`echo $ldver | \
20955 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
20956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
20957 $as_echo "$glibcxx_gnu_ld_version" >&6; }
20960 # Set --gc-sections.
20961 glibcxx_have_gc_sections=no
20962 if test "$glibcxx_ld_is_gold" = "yes"; then
20963 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
20964 glibcxx_have_gc_sections=yes
20966 else
20967 glibcxx_gcsections_min_ld=21602
20968 if test x"$with_gnu_ld" = x"yes" &&
20969 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
20970 glibcxx_have_gc_sections=yes
20973 if test "$glibcxx_have_gc_sections" = "yes"; then
20974 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
20975 # NB: This flag only works reliably after 2.16.1. Configure tests
20976 # for this are difficult, so hard wire a value that should work.
20978 ac_test_CFLAGS="${CFLAGS+set}"
20979 ac_save_CFLAGS="$CFLAGS"
20980 CFLAGS='-Wl,--gc-sections'
20982 # Check for -Wl,--gc-sections
20983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
20984 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
20985 if test x$gcc_no_link = xyes; then
20986 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20989 /* end confdefs.h. */
20990 int one(void) { return 1; }
20991 int two(void) { return 2; }
20994 main ()
20996 two();
20998 return 0;
21000 _ACEOF
21001 if ac_fn_c_try_link "$LINENO"; then :
21002 ac_gcsections=yes
21003 else
21004 ac_gcsections=no
21006 rm -f core conftest.err conftest.$ac_objext \
21007 conftest$ac_exeext conftest.$ac_ext
21008 if test "$ac_gcsections" = "yes"; then
21009 rm -f conftest.c
21010 touch conftest.c
21011 if $CC -c conftest.c; then
21012 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
21013 grep "Warning: gc-sections option ignored" > /dev/null; then
21014 ac_gcsections=no
21017 rm -f conftest.c conftest.o conftest
21019 if test "$ac_gcsections" = "yes"; then
21020 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
21022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
21023 $as_echo "$ac_gcsections" >&6; }
21025 if test "$ac_test_CFLAGS" = set; then
21026 CFLAGS="$ac_save_CFLAGS"
21027 else
21028 # this is the suspicious part
21029 CFLAGS=''
21033 # Set -z,relro.
21034 # Note this is only for shared objects.
21035 ac_ld_relro=no
21036 if test x"$with_gnu_ld" = x"yes"; then
21037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
21038 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
21039 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
21040 if test -n "$cxx_z_relo"; then
21041 OPT_LDFLAGS="-Wl,-z,relro"
21042 ac_ld_relro=yes
21044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
21045 $as_echo "$ac_ld_relro" >&6; }
21048 # Set linker optimization flags.
21049 if test x"$with_gnu_ld" = x"yes"; then
21050 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
21057 ac_test_CXXFLAGS="${CXXFLAGS+set}"
21058 ac_save_CXXFLAGS="$CXXFLAGS"
21059 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
21061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
21062 $as_echo_n "checking for sin in -lm... " >&6; }
21063 if test "${ac_cv_lib_m_sin+set}" = set; then :
21064 $as_echo_n "(cached) " >&6
21065 else
21066 ac_check_lib_save_LIBS=$LIBS
21067 LIBS="-lm $LIBS"
21068 if test x$gcc_no_link = xyes; then
21069 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21072 /* end confdefs.h. */
21074 /* Override any GCC internal prototype to avoid an error.
21075 Use char because int might match the return type of a GCC
21076 builtin and then its argument prototype would still apply. */
21077 #ifdef __cplusplus
21078 extern "C"
21079 #endif
21080 char sin ();
21082 main ()
21084 return sin ();
21086 return 0;
21088 _ACEOF
21089 if ac_fn_c_try_link "$LINENO"; then :
21090 ac_cv_lib_m_sin=yes
21091 else
21092 ac_cv_lib_m_sin=no
21094 rm -f core conftest.err conftest.$ac_objext \
21095 conftest$ac_exeext conftest.$ac_ext
21096 LIBS=$ac_check_lib_save_LIBS
21098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
21099 $as_echo "$ac_cv_lib_m_sin" >&6; }
21100 if test "x$ac_cv_lib_m_sin" = x""yes; then :
21101 libm="-lm"
21104 ac_save_LIBS="$LIBS"
21105 LIBS="$LIBS $libm"
21109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
21110 $as_echo_n "checking for isinf declaration... " >&6; }
21111 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
21112 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
21113 $as_echo_n "(cached) " >&6
21114 else
21117 ac_ext=cpp
21118 ac_cpp='$CXXCPP $CPPFLAGS'
21119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21124 /* end confdefs.h. */
21125 #include <math.h>
21126 #ifdef HAVE_IEEEFP_H
21127 #include <ieeefp.h>
21128 #endif
21131 main ()
21133 isinf(0);
21135 return 0;
21137 _ACEOF
21138 if ac_fn_cxx_try_compile "$LINENO"; then :
21139 glibcxx_cv_func_isinf_use=yes
21140 else
21141 glibcxx_cv_func_isinf_use=no
21143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21144 ac_ext=c
21145 ac_cpp='$CPP $CPPFLAGS'
21146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
21155 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
21157 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
21158 for ac_func in isinf
21159 do :
21160 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
21161 if test "x$ac_cv_func_isinf" = x""yes; then :
21162 cat >>confdefs.h <<_ACEOF
21163 #define HAVE_ISINF 1
21164 _ACEOF
21167 done
21169 else
21171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
21172 $as_echo_n "checking for _isinf declaration... " >&6; }
21173 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
21174 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
21175 $as_echo_n "(cached) " >&6
21176 else
21179 ac_ext=cpp
21180 ac_cpp='$CXXCPP $CPPFLAGS'
21181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21186 /* end confdefs.h. */
21187 #include <math.h>
21188 #ifdef HAVE_IEEEFP_H
21189 #include <ieeefp.h>
21190 #endif
21193 main ()
21195 _isinf(0);
21197 return 0;
21199 _ACEOF
21200 if ac_fn_cxx_try_compile "$LINENO"; then :
21201 glibcxx_cv_func__isinf_use=yes
21202 else
21203 glibcxx_cv_func__isinf_use=no
21205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21206 ac_ext=c
21207 ac_cpp='$CPP $CPPFLAGS'
21208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
21217 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
21219 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
21220 for ac_func in _isinf
21221 do :
21222 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
21223 if test "x$ac_cv_func__isinf" = x""yes; then :
21224 cat >>confdefs.h <<_ACEOF
21225 #define HAVE__ISINF 1
21226 _ACEOF
21229 done
21238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
21239 $as_echo_n "checking for isnan declaration... " >&6; }
21240 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
21241 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
21242 $as_echo_n "(cached) " >&6
21243 else
21246 ac_ext=cpp
21247 ac_cpp='$CXXCPP $CPPFLAGS'
21248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21253 /* end confdefs.h. */
21254 #include <math.h>
21255 #ifdef HAVE_IEEEFP_H
21256 #include <ieeefp.h>
21257 #endif
21260 main ()
21262 isnan(0);
21264 return 0;
21266 _ACEOF
21267 if ac_fn_cxx_try_compile "$LINENO"; then :
21268 glibcxx_cv_func_isnan_use=yes
21269 else
21270 glibcxx_cv_func_isnan_use=no
21272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21273 ac_ext=c
21274 ac_cpp='$CPP $CPPFLAGS'
21275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
21284 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
21286 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
21287 for ac_func in isnan
21288 do :
21289 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
21290 if test "x$ac_cv_func_isnan" = x""yes; then :
21291 cat >>confdefs.h <<_ACEOF
21292 #define HAVE_ISNAN 1
21293 _ACEOF
21296 done
21298 else
21300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
21301 $as_echo_n "checking for _isnan declaration... " >&6; }
21302 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
21303 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
21304 $as_echo_n "(cached) " >&6
21305 else
21308 ac_ext=cpp
21309 ac_cpp='$CXXCPP $CPPFLAGS'
21310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21315 /* end confdefs.h. */
21316 #include <math.h>
21317 #ifdef HAVE_IEEEFP_H
21318 #include <ieeefp.h>
21319 #endif
21322 main ()
21324 _isnan(0);
21326 return 0;
21328 _ACEOF
21329 if ac_fn_cxx_try_compile "$LINENO"; then :
21330 glibcxx_cv_func__isnan_use=yes
21331 else
21332 glibcxx_cv_func__isnan_use=no
21334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21335 ac_ext=c
21336 ac_cpp='$CPP $CPPFLAGS'
21337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
21346 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
21348 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
21349 for ac_func in _isnan
21350 do :
21351 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
21352 if test "x$ac_cv_func__isnan" = x""yes; then :
21353 cat >>confdefs.h <<_ACEOF
21354 #define HAVE__ISNAN 1
21355 _ACEOF
21358 done
21367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
21368 $as_echo_n "checking for finite declaration... " >&6; }
21369 if test x${glibcxx_cv_func_finite_use+set} != xset; then
21370 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
21371 $as_echo_n "(cached) " >&6
21372 else
21375 ac_ext=cpp
21376 ac_cpp='$CXXCPP $CPPFLAGS'
21377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21382 /* end confdefs.h. */
21383 #include <math.h>
21384 #ifdef HAVE_IEEEFP_H
21385 #include <ieeefp.h>
21386 #endif
21389 main ()
21391 finite(0);
21393 return 0;
21395 _ACEOF
21396 if ac_fn_cxx_try_compile "$LINENO"; then :
21397 glibcxx_cv_func_finite_use=yes
21398 else
21399 glibcxx_cv_func_finite_use=no
21401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21402 ac_ext=c
21403 ac_cpp='$CPP $CPPFLAGS'
21404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
21413 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
21415 if test x$glibcxx_cv_func_finite_use = x"yes"; then
21416 for ac_func in finite
21417 do :
21418 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
21419 if test "x$ac_cv_func_finite" = x""yes; then :
21420 cat >>confdefs.h <<_ACEOF
21421 #define HAVE_FINITE 1
21422 _ACEOF
21425 done
21427 else
21429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
21430 $as_echo_n "checking for _finite declaration... " >&6; }
21431 if test x${glibcxx_cv_func__finite_use+set} != xset; then
21432 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
21433 $as_echo_n "(cached) " >&6
21434 else
21437 ac_ext=cpp
21438 ac_cpp='$CXXCPP $CPPFLAGS'
21439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21444 /* end confdefs.h. */
21445 #include <math.h>
21446 #ifdef HAVE_IEEEFP_H
21447 #include <ieeefp.h>
21448 #endif
21451 main ()
21453 _finite(0);
21455 return 0;
21457 _ACEOF
21458 if ac_fn_cxx_try_compile "$LINENO"; then :
21459 glibcxx_cv_func__finite_use=yes
21460 else
21461 glibcxx_cv_func__finite_use=no
21463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21464 ac_ext=c
21465 ac_cpp='$CPP $CPPFLAGS'
21466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
21475 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
21477 if test x$glibcxx_cv_func__finite_use = x"yes"; then
21478 for ac_func in _finite
21479 do :
21480 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
21481 if test "x$ac_cv_func__finite" = x""yes; then :
21482 cat >>confdefs.h <<_ACEOF
21483 #define HAVE__FINITE 1
21484 _ACEOF
21487 done
21496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
21497 $as_echo_n "checking for sincos declaration... " >&6; }
21498 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
21499 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
21500 $as_echo_n "(cached) " >&6
21501 else
21504 ac_ext=cpp
21505 ac_cpp='$CXXCPP $CPPFLAGS'
21506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21511 /* end confdefs.h. */
21512 #include <math.h>
21514 main ()
21516 sincos(0, 0, 0);
21518 return 0;
21520 _ACEOF
21521 if ac_fn_cxx_try_compile "$LINENO"; then :
21522 glibcxx_cv_func_sincos_use=yes
21523 else
21524 glibcxx_cv_func_sincos_use=no
21526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21527 ac_ext=c
21528 ac_cpp='$CPP $CPPFLAGS'
21529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
21538 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
21540 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
21541 for ac_func in sincos
21542 do :
21543 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
21544 if test "x$ac_cv_func_sincos" = x""yes; then :
21545 cat >>confdefs.h <<_ACEOF
21546 #define HAVE_SINCOS 1
21547 _ACEOF
21550 done
21552 else
21554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
21555 $as_echo_n "checking for _sincos declaration... " >&6; }
21556 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
21557 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
21558 $as_echo_n "(cached) " >&6
21559 else
21562 ac_ext=cpp
21563 ac_cpp='$CXXCPP $CPPFLAGS'
21564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21569 /* end confdefs.h. */
21570 #include <math.h>
21572 main ()
21574 _sincos(0, 0, 0);
21576 return 0;
21578 _ACEOF
21579 if ac_fn_cxx_try_compile "$LINENO"; then :
21580 glibcxx_cv_func__sincos_use=yes
21581 else
21582 glibcxx_cv_func__sincos_use=no
21584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21585 ac_ext=c
21586 ac_cpp='$CPP $CPPFLAGS'
21587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
21596 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
21598 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
21599 for ac_func in _sincos
21600 do :
21601 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
21602 if test "x$ac_cv_func__sincos" = x""yes; then :
21603 cat >>confdefs.h <<_ACEOF
21604 #define HAVE__SINCOS 1
21605 _ACEOF
21608 done
21617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
21618 $as_echo_n "checking for fpclass declaration... " >&6; }
21619 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
21620 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
21621 $as_echo_n "(cached) " >&6
21622 else
21625 ac_ext=cpp
21626 ac_cpp='$CXXCPP $CPPFLAGS'
21627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21632 /* end confdefs.h. */
21633 #include <math.h>
21634 #ifdef HAVE_IEEEFP_H
21635 #include <ieeefp.h>
21636 #endif
21639 main ()
21641 fpclass(0);
21643 return 0;
21645 _ACEOF
21646 if ac_fn_cxx_try_compile "$LINENO"; then :
21647 glibcxx_cv_func_fpclass_use=yes
21648 else
21649 glibcxx_cv_func_fpclass_use=no
21651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21652 ac_ext=c
21653 ac_cpp='$CPP $CPPFLAGS'
21654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
21663 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
21665 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
21666 for ac_func in fpclass
21667 do :
21668 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
21669 if test "x$ac_cv_func_fpclass" = x""yes; then :
21670 cat >>confdefs.h <<_ACEOF
21671 #define HAVE_FPCLASS 1
21672 _ACEOF
21675 done
21677 else
21679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
21680 $as_echo_n "checking for _fpclass declaration... " >&6; }
21681 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
21682 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
21683 $as_echo_n "(cached) " >&6
21684 else
21687 ac_ext=cpp
21688 ac_cpp='$CXXCPP $CPPFLAGS'
21689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21694 /* end confdefs.h. */
21695 #include <math.h>
21696 #ifdef HAVE_IEEEFP_H
21697 #include <ieeefp.h>
21698 #endif
21701 main ()
21703 _fpclass(0);
21705 return 0;
21707 _ACEOF
21708 if ac_fn_cxx_try_compile "$LINENO"; then :
21709 glibcxx_cv_func__fpclass_use=yes
21710 else
21711 glibcxx_cv_func__fpclass_use=no
21713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21714 ac_ext=c
21715 ac_cpp='$CPP $CPPFLAGS'
21716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
21725 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
21727 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
21728 for ac_func in _fpclass
21729 do :
21730 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
21731 if test "x$ac_cv_func__fpclass" = x""yes; then :
21732 cat >>confdefs.h <<_ACEOF
21733 #define HAVE__FPCLASS 1
21734 _ACEOF
21737 done
21746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
21747 $as_echo_n "checking for qfpclass declaration... " >&6; }
21748 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
21749 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
21750 $as_echo_n "(cached) " >&6
21751 else
21754 ac_ext=cpp
21755 ac_cpp='$CXXCPP $CPPFLAGS'
21756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21761 /* end confdefs.h. */
21762 #include <math.h>
21763 #ifdef HAVE_IEEEFP_H
21764 #include <ieeefp.h>
21765 #endif
21768 main ()
21770 qfpclass(0);
21772 return 0;
21774 _ACEOF
21775 if ac_fn_cxx_try_compile "$LINENO"; then :
21776 glibcxx_cv_func_qfpclass_use=yes
21777 else
21778 glibcxx_cv_func_qfpclass_use=no
21780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21781 ac_ext=c
21782 ac_cpp='$CPP $CPPFLAGS'
21783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
21792 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
21794 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
21795 for ac_func in qfpclass
21796 do :
21797 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
21798 if test "x$ac_cv_func_qfpclass" = x""yes; then :
21799 cat >>confdefs.h <<_ACEOF
21800 #define HAVE_QFPCLASS 1
21801 _ACEOF
21804 done
21806 else
21808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
21809 $as_echo_n "checking for _qfpclass declaration... " >&6; }
21810 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
21811 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
21812 $as_echo_n "(cached) " >&6
21813 else
21816 ac_ext=cpp
21817 ac_cpp='$CXXCPP $CPPFLAGS'
21818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21823 /* end confdefs.h. */
21824 #include <math.h>
21825 #ifdef HAVE_IEEEFP_H
21826 #include <ieeefp.h>
21827 #endif
21830 main ()
21832 _qfpclass(0);
21834 return 0;
21836 _ACEOF
21837 if ac_fn_cxx_try_compile "$LINENO"; then :
21838 glibcxx_cv_func__qfpclass_use=yes
21839 else
21840 glibcxx_cv_func__qfpclass_use=no
21842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21843 ac_ext=c
21844 ac_cpp='$CPP $CPPFLAGS'
21845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
21854 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
21856 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
21857 for ac_func in _qfpclass
21858 do :
21859 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
21860 if test "x$ac_cv_func__qfpclass" = x""yes; then :
21861 cat >>confdefs.h <<_ACEOF
21862 #define HAVE__QFPCLASS 1
21863 _ACEOF
21866 done
21875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
21876 $as_echo_n "checking for hypot declaration... " >&6; }
21877 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
21878 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
21879 $as_echo_n "(cached) " >&6
21880 else
21883 ac_ext=cpp
21884 ac_cpp='$CXXCPP $CPPFLAGS'
21885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21890 /* end confdefs.h. */
21891 #include <math.h>
21893 main ()
21895 hypot(0, 0);
21897 return 0;
21899 _ACEOF
21900 if ac_fn_cxx_try_compile "$LINENO"; then :
21901 glibcxx_cv_func_hypot_use=yes
21902 else
21903 glibcxx_cv_func_hypot_use=no
21905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21906 ac_ext=c
21907 ac_cpp='$CPP $CPPFLAGS'
21908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
21917 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
21919 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
21920 for ac_func in hypot
21921 do :
21922 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
21923 if test "x$ac_cv_func_hypot" = x""yes; then :
21924 cat >>confdefs.h <<_ACEOF
21925 #define HAVE_HYPOT 1
21926 _ACEOF
21929 done
21931 else
21933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
21934 $as_echo_n "checking for _hypot declaration... " >&6; }
21935 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
21936 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
21937 $as_echo_n "(cached) " >&6
21938 else
21941 ac_ext=cpp
21942 ac_cpp='$CXXCPP $CPPFLAGS'
21943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21948 /* end confdefs.h. */
21949 #include <math.h>
21951 main ()
21953 _hypot(0, 0);
21955 return 0;
21957 _ACEOF
21958 if ac_fn_cxx_try_compile "$LINENO"; then :
21959 glibcxx_cv_func__hypot_use=yes
21960 else
21961 glibcxx_cv_func__hypot_use=no
21963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21964 ac_ext=c
21965 ac_cpp='$CPP $CPPFLAGS'
21966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
21975 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
21977 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
21978 for ac_func in _hypot
21979 do :
21980 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
21981 if test "x$ac_cv_func__hypot" = x""yes; then :
21982 cat >>confdefs.h <<_ACEOF
21983 #define HAVE__HYPOT 1
21984 _ACEOF
21987 done
21996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
21997 $as_echo_n "checking for float trig functions... " >&6; }
21998 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
21999 $as_echo_n "(cached) " >&6
22000 else
22003 ac_ext=cpp
22004 ac_cpp='$CXXCPP $CPPFLAGS'
22005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22010 /* end confdefs.h. */
22011 #include <math.h>
22013 main ()
22015 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
22017 return 0;
22019 _ACEOF
22020 if ac_fn_cxx_try_compile "$LINENO"; then :
22021 glibcxx_cv_func_float_trig_use=yes
22022 else
22023 glibcxx_cv_func_float_trig_use=no
22025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22026 ac_ext=c
22027 ac_cpp='$CPP $CPPFLAGS'
22028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
22035 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
22036 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
22037 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
22038 do :
22039 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22040 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22041 eval as_val=\$$as_ac_var
22042 if test "x$as_val" = x""yes; then :
22043 cat >>confdefs.h <<_ACEOF
22044 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22045 _ACEOF
22048 done
22050 else
22051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
22052 $as_echo_n "checking for _float trig functions... " >&6; }
22053 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
22054 $as_echo_n "(cached) " >&6
22055 else
22058 ac_ext=cpp
22059 ac_cpp='$CXXCPP $CPPFLAGS'
22060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22065 /* end confdefs.h. */
22066 #include <math.h>
22068 main ()
22070 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
22072 return 0;
22074 _ACEOF
22075 if ac_fn_cxx_try_compile "$LINENO"; then :
22076 glibcxx_cv_func__float_trig_use=yes
22077 else
22078 glibcxx_cv_func__float_trig_use=no
22080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22081 ac_ext=c
22082 ac_cpp='$CPP $CPPFLAGS'
22083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
22090 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
22091 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
22092 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
22093 do :
22094 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22095 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22096 eval as_val=\$$as_ac_var
22097 if test "x$as_val" = x""yes; then :
22098 cat >>confdefs.h <<_ACEOF
22099 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22100 _ACEOF
22103 done
22112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
22113 $as_echo_n "checking for float round functions... " >&6; }
22114 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
22115 $as_echo_n "(cached) " >&6
22116 else
22119 ac_ext=cpp
22120 ac_cpp='$CXXCPP $CPPFLAGS'
22121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22126 /* end confdefs.h. */
22127 #include <math.h>
22129 main ()
22131 ceilf (0); floorf (0);
22133 return 0;
22135 _ACEOF
22136 if ac_fn_cxx_try_compile "$LINENO"; then :
22137 glibcxx_cv_func_float_round_use=yes
22138 else
22139 glibcxx_cv_func_float_round_use=no
22141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22142 ac_ext=c
22143 ac_cpp='$CPP $CPPFLAGS'
22144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
22151 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
22152 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
22153 for ac_func in ceilf floorf
22154 do :
22155 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22156 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22157 eval as_val=\$$as_ac_var
22158 if test "x$as_val" = x""yes; then :
22159 cat >>confdefs.h <<_ACEOF
22160 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22161 _ACEOF
22164 done
22166 else
22167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
22168 $as_echo_n "checking for _float round functions... " >&6; }
22169 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
22170 $as_echo_n "(cached) " >&6
22171 else
22174 ac_ext=cpp
22175 ac_cpp='$CXXCPP $CPPFLAGS'
22176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22181 /* end confdefs.h. */
22182 #include <math.h>
22184 main ()
22186 _ceilf (0); _floorf (0);
22188 return 0;
22190 _ACEOF
22191 if ac_fn_cxx_try_compile "$LINENO"; then :
22192 glibcxx_cv_func__float_round_use=yes
22193 else
22194 glibcxx_cv_func__float_round_use=no
22196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22197 ac_ext=c
22198 ac_cpp='$CPP $CPPFLAGS'
22199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
22206 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
22207 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
22208 for ac_func in _ceilf _floorf
22209 do :
22210 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22211 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22212 eval as_val=\$$as_ac_var
22213 if test "x$as_val" = x""yes; then :
22214 cat >>confdefs.h <<_ACEOF
22215 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22216 _ACEOF
22219 done
22229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
22230 $as_echo_n "checking for expf declaration... " >&6; }
22231 if test x${glibcxx_cv_func_expf_use+set} != xset; then
22232 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
22233 $as_echo_n "(cached) " >&6
22234 else
22237 ac_ext=cpp
22238 ac_cpp='$CXXCPP $CPPFLAGS'
22239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22244 /* end confdefs.h. */
22245 #include <math.h>
22246 #ifdef HAVE_IEEEFP_H
22247 #include <ieeefp.h>
22248 #endif
22251 main ()
22253 expf(0);
22255 return 0;
22257 _ACEOF
22258 if ac_fn_cxx_try_compile "$LINENO"; then :
22259 glibcxx_cv_func_expf_use=yes
22260 else
22261 glibcxx_cv_func_expf_use=no
22263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22264 ac_ext=c
22265 ac_cpp='$CPP $CPPFLAGS'
22266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
22275 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
22277 if test x$glibcxx_cv_func_expf_use = x"yes"; then
22278 for ac_func in expf
22279 do :
22280 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
22281 if test "x$ac_cv_func_expf" = x""yes; then :
22282 cat >>confdefs.h <<_ACEOF
22283 #define HAVE_EXPF 1
22284 _ACEOF
22287 done
22289 else
22291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
22292 $as_echo_n "checking for _expf declaration... " >&6; }
22293 if test x${glibcxx_cv_func__expf_use+set} != xset; then
22294 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
22295 $as_echo_n "(cached) " >&6
22296 else
22299 ac_ext=cpp
22300 ac_cpp='$CXXCPP $CPPFLAGS'
22301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22306 /* end confdefs.h. */
22307 #include <math.h>
22308 #ifdef HAVE_IEEEFP_H
22309 #include <ieeefp.h>
22310 #endif
22313 main ()
22315 _expf(0);
22317 return 0;
22319 _ACEOF
22320 if ac_fn_cxx_try_compile "$LINENO"; then :
22321 glibcxx_cv_func__expf_use=yes
22322 else
22323 glibcxx_cv_func__expf_use=no
22325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22326 ac_ext=c
22327 ac_cpp='$CPP $CPPFLAGS'
22328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
22337 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
22339 if test x$glibcxx_cv_func__expf_use = x"yes"; then
22340 for ac_func in _expf
22341 do :
22342 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
22343 if test "x$ac_cv_func__expf" = x""yes; then :
22344 cat >>confdefs.h <<_ACEOF
22345 #define HAVE__EXPF 1
22346 _ACEOF
22349 done
22358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
22359 $as_echo_n "checking for isnanf declaration... " >&6; }
22360 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
22361 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
22362 $as_echo_n "(cached) " >&6
22363 else
22366 ac_ext=cpp
22367 ac_cpp='$CXXCPP $CPPFLAGS'
22368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22373 /* end confdefs.h. */
22374 #include <math.h>
22375 #ifdef HAVE_IEEEFP_H
22376 #include <ieeefp.h>
22377 #endif
22380 main ()
22382 isnanf(0);
22384 return 0;
22386 _ACEOF
22387 if ac_fn_cxx_try_compile "$LINENO"; then :
22388 glibcxx_cv_func_isnanf_use=yes
22389 else
22390 glibcxx_cv_func_isnanf_use=no
22392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22393 ac_ext=c
22394 ac_cpp='$CPP $CPPFLAGS'
22395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
22404 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
22406 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
22407 for ac_func in isnanf
22408 do :
22409 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
22410 if test "x$ac_cv_func_isnanf" = x""yes; then :
22411 cat >>confdefs.h <<_ACEOF
22412 #define HAVE_ISNANF 1
22413 _ACEOF
22416 done
22418 else
22420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
22421 $as_echo_n "checking for _isnanf declaration... " >&6; }
22422 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
22423 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
22424 $as_echo_n "(cached) " >&6
22425 else
22428 ac_ext=cpp
22429 ac_cpp='$CXXCPP $CPPFLAGS'
22430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22435 /* end confdefs.h. */
22436 #include <math.h>
22437 #ifdef HAVE_IEEEFP_H
22438 #include <ieeefp.h>
22439 #endif
22442 main ()
22444 _isnanf(0);
22446 return 0;
22448 _ACEOF
22449 if ac_fn_cxx_try_compile "$LINENO"; then :
22450 glibcxx_cv_func__isnanf_use=yes
22451 else
22452 glibcxx_cv_func__isnanf_use=no
22454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22455 ac_ext=c
22456 ac_cpp='$CPP $CPPFLAGS'
22457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
22466 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
22468 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
22469 for ac_func in _isnanf
22470 do :
22471 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
22472 if test "x$ac_cv_func__isnanf" = x""yes; then :
22473 cat >>confdefs.h <<_ACEOF
22474 #define HAVE__ISNANF 1
22475 _ACEOF
22478 done
22487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
22488 $as_echo_n "checking for isinff declaration... " >&6; }
22489 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
22490 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
22491 $as_echo_n "(cached) " >&6
22492 else
22495 ac_ext=cpp
22496 ac_cpp='$CXXCPP $CPPFLAGS'
22497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22502 /* end confdefs.h. */
22503 #include <math.h>
22504 #ifdef HAVE_IEEEFP_H
22505 #include <ieeefp.h>
22506 #endif
22509 main ()
22511 isinff(0);
22513 return 0;
22515 _ACEOF
22516 if ac_fn_cxx_try_compile "$LINENO"; then :
22517 glibcxx_cv_func_isinff_use=yes
22518 else
22519 glibcxx_cv_func_isinff_use=no
22521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22522 ac_ext=c
22523 ac_cpp='$CPP $CPPFLAGS'
22524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
22533 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
22535 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
22536 for ac_func in isinff
22537 do :
22538 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
22539 if test "x$ac_cv_func_isinff" = x""yes; then :
22540 cat >>confdefs.h <<_ACEOF
22541 #define HAVE_ISINFF 1
22542 _ACEOF
22545 done
22547 else
22549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
22550 $as_echo_n "checking for _isinff declaration... " >&6; }
22551 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
22552 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
22553 $as_echo_n "(cached) " >&6
22554 else
22557 ac_ext=cpp
22558 ac_cpp='$CXXCPP $CPPFLAGS'
22559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22564 /* end confdefs.h. */
22565 #include <math.h>
22566 #ifdef HAVE_IEEEFP_H
22567 #include <ieeefp.h>
22568 #endif
22571 main ()
22573 _isinff(0);
22575 return 0;
22577 _ACEOF
22578 if ac_fn_cxx_try_compile "$LINENO"; then :
22579 glibcxx_cv_func__isinff_use=yes
22580 else
22581 glibcxx_cv_func__isinff_use=no
22583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22584 ac_ext=c
22585 ac_cpp='$CPP $CPPFLAGS'
22586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
22595 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
22597 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
22598 for ac_func in _isinff
22599 do :
22600 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
22601 if test "x$ac_cv_func__isinff" = x""yes; then :
22602 cat >>confdefs.h <<_ACEOF
22603 #define HAVE__ISINFF 1
22604 _ACEOF
22607 done
22616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
22617 $as_echo_n "checking for atan2f declaration... " >&6; }
22618 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
22619 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
22620 $as_echo_n "(cached) " >&6
22621 else
22624 ac_ext=cpp
22625 ac_cpp='$CXXCPP $CPPFLAGS'
22626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22631 /* end confdefs.h. */
22632 #include <math.h>
22634 main ()
22636 atan2f(0, 0);
22638 return 0;
22640 _ACEOF
22641 if ac_fn_cxx_try_compile "$LINENO"; then :
22642 glibcxx_cv_func_atan2f_use=yes
22643 else
22644 glibcxx_cv_func_atan2f_use=no
22646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22647 ac_ext=c
22648 ac_cpp='$CPP $CPPFLAGS'
22649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
22658 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
22660 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
22661 for ac_func in atan2f
22662 do :
22663 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
22664 if test "x$ac_cv_func_atan2f" = x""yes; then :
22665 cat >>confdefs.h <<_ACEOF
22666 #define HAVE_ATAN2F 1
22667 _ACEOF
22670 done
22672 else
22674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
22675 $as_echo_n "checking for _atan2f declaration... " >&6; }
22676 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
22677 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
22678 $as_echo_n "(cached) " >&6
22679 else
22682 ac_ext=cpp
22683 ac_cpp='$CXXCPP $CPPFLAGS'
22684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22689 /* end confdefs.h. */
22690 #include <math.h>
22692 main ()
22694 _atan2f(0, 0);
22696 return 0;
22698 _ACEOF
22699 if ac_fn_cxx_try_compile "$LINENO"; then :
22700 glibcxx_cv_func__atan2f_use=yes
22701 else
22702 glibcxx_cv_func__atan2f_use=no
22704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22705 ac_ext=c
22706 ac_cpp='$CPP $CPPFLAGS'
22707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
22716 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
22718 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
22719 for ac_func in _atan2f
22720 do :
22721 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
22722 if test "x$ac_cv_func__atan2f" = x""yes; then :
22723 cat >>confdefs.h <<_ACEOF
22724 #define HAVE__ATAN2F 1
22725 _ACEOF
22728 done
22737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
22738 $as_echo_n "checking for fabsf declaration... " >&6; }
22739 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
22740 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
22741 $as_echo_n "(cached) " >&6
22742 else
22745 ac_ext=cpp
22746 ac_cpp='$CXXCPP $CPPFLAGS'
22747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22752 /* end confdefs.h. */
22753 #include <math.h>
22754 #ifdef HAVE_IEEEFP_H
22755 #include <ieeefp.h>
22756 #endif
22759 main ()
22761 fabsf(0);
22763 return 0;
22765 _ACEOF
22766 if ac_fn_cxx_try_compile "$LINENO"; then :
22767 glibcxx_cv_func_fabsf_use=yes
22768 else
22769 glibcxx_cv_func_fabsf_use=no
22771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22772 ac_ext=c
22773 ac_cpp='$CPP $CPPFLAGS'
22774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
22783 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
22785 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
22786 for ac_func in fabsf
22787 do :
22788 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
22789 if test "x$ac_cv_func_fabsf" = x""yes; then :
22790 cat >>confdefs.h <<_ACEOF
22791 #define HAVE_FABSF 1
22792 _ACEOF
22795 done
22797 else
22799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
22800 $as_echo_n "checking for _fabsf declaration... " >&6; }
22801 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
22802 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
22803 $as_echo_n "(cached) " >&6
22804 else
22807 ac_ext=cpp
22808 ac_cpp='$CXXCPP $CPPFLAGS'
22809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22814 /* end confdefs.h. */
22815 #include <math.h>
22816 #ifdef HAVE_IEEEFP_H
22817 #include <ieeefp.h>
22818 #endif
22821 main ()
22823 _fabsf(0);
22825 return 0;
22827 _ACEOF
22828 if ac_fn_cxx_try_compile "$LINENO"; then :
22829 glibcxx_cv_func__fabsf_use=yes
22830 else
22831 glibcxx_cv_func__fabsf_use=no
22833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22834 ac_ext=c
22835 ac_cpp='$CPP $CPPFLAGS'
22836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
22845 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
22847 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
22848 for ac_func in _fabsf
22849 do :
22850 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
22851 if test "x$ac_cv_func__fabsf" = x""yes; then :
22852 cat >>confdefs.h <<_ACEOF
22853 #define HAVE__FABSF 1
22854 _ACEOF
22857 done
22866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
22867 $as_echo_n "checking for fmodf declaration... " >&6; }
22868 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
22869 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
22870 $as_echo_n "(cached) " >&6
22871 else
22874 ac_ext=cpp
22875 ac_cpp='$CXXCPP $CPPFLAGS'
22876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22881 /* end confdefs.h. */
22882 #include <math.h>
22884 main ()
22886 fmodf(0, 0);
22888 return 0;
22890 _ACEOF
22891 if ac_fn_cxx_try_compile "$LINENO"; then :
22892 glibcxx_cv_func_fmodf_use=yes
22893 else
22894 glibcxx_cv_func_fmodf_use=no
22896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22897 ac_ext=c
22898 ac_cpp='$CPP $CPPFLAGS'
22899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
22908 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
22910 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
22911 for ac_func in fmodf
22912 do :
22913 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
22914 if test "x$ac_cv_func_fmodf" = x""yes; then :
22915 cat >>confdefs.h <<_ACEOF
22916 #define HAVE_FMODF 1
22917 _ACEOF
22920 done
22922 else
22924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
22925 $as_echo_n "checking for _fmodf declaration... " >&6; }
22926 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
22927 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
22928 $as_echo_n "(cached) " >&6
22929 else
22932 ac_ext=cpp
22933 ac_cpp='$CXXCPP $CPPFLAGS'
22934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22939 /* end confdefs.h. */
22940 #include <math.h>
22942 main ()
22944 _fmodf(0, 0);
22946 return 0;
22948 _ACEOF
22949 if ac_fn_cxx_try_compile "$LINENO"; then :
22950 glibcxx_cv_func__fmodf_use=yes
22951 else
22952 glibcxx_cv_func__fmodf_use=no
22954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22955 ac_ext=c
22956 ac_cpp='$CPP $CPPFLAGS'
22957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
22966 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
22968 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
22969 for ac_func in _fmodf
22970 do :
22971 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
22972 if test "x$ac_cv_func__fmodf" = x""yes; then :
22973 cat >>confdefs.h <<_ACEOF
22974 #define HAVE__FMODF 1
22975 _ACEOF
22978 done
22987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
22988 $as_echo_n "checking for frexpf declaration... " >&6; }
22989 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
22990 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
22991 $as_echo_n "(cached) " >&6
22992 else
22995 ac_ext=cpp
22996 ac_cpp='$CXXCPP $CPPFLAGS'
22997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23002 /* end confdefs.h. */
23003 #include <math.h>
23005 main ()
23007 frexpf(0, 0);
23009 return 0;
23011 _ACEOF
23012 if ac_fn_cxx_try_compile "$LINENO"; then :
23013 glibcxx_cv_func_frexpf_use=yes
23014 else
23015 glibcxx_cv_func_frexpf_use=no
23017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23018 ac_ext=c
23019 ac_cpp='$CPP $CPPFLAGS'
23020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
23029 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
23031 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
23032 for ac_func in frexpf
23033 do :
23034 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
23035 if test "x$ac_cv_func_frexpf" = x""yes; then :
23036 cat >>confdefs.h <<_ACEOF
23037 #define HAVE_FREXPF 1
23038 _ACEOF
23041 done
23043 else
23045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
23046 $as_echo_n "checking for _frexpf declaration... " >&6; }
23047 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
23048 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
23049 $as_echo_n "(cached) " >&6
23050 else
23053 ac_ext=cpp
23054 ac_cpp='$CXXCPP $CPPFLAGS'
23055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23060 /* end confdefs.h. */
23061 #include <math.h>
23063 main ()
23065 _frexpf(0, 0);
23067 return 0;
23069 _ACEOF
23070 if ac_fn_cxx_try_compile "$LINENO"; then :
23071 glibcxx_cv_func__frexpf_use=yes
23072 else
23073 glibcxx_cv_func__frexpf_use=no
23075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23076 ac_ext=c
23077 ac_cpp='$CPP $CPPFLAGS'
23078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
23087 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
23089 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
23090 for ac_func in _frexpf
23091 do :
23092 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
23093 if test "x$ac_cv_func__frexpf" = x""yes; then :
23094 cat >>confdefs.h <<_ACEOF
23095 #define HAVE__FREXPF 1
23096 _ACEOF
23099 done
23108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
23109 $as_echo_n "checking for hypotf declaration... " >&6; }
23110 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
23111 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
23112 $as_echo_n "(cached) " >&6
23113 else
23116 ac_ext=cpp
23117 ac_cpp='$CXXCPP $CPPFLAGS'
23118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23123 /* end confdefs.h. */
23124 #include <math.h>
23126 main ()
23128 hypotf(0, 0);
23130 return 0;
23132 _ACEOF
23133 if ac_fn_cxx_try_compile "$LINENO"; then :
23134 glibcxx_cv_func_hypotf_use=yes
23135 else
23136 glibcxx_cv_func_hypotf_use=no
23138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23139 ac_ext=c
23140 ac_cpp='$CPP $CPPFLAGS'
23141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
23150 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
23152 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
23153 for ac_func in hypotf
23154 do :
23155 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
23156 if test "x$ac_cv_func_hypotf" = x""yes; then :
23157 cat >>confdefs.h <<_ACEOF
23158 #define HAVE_HYPOTF 1
23159 _ACEOF
23162 done
23164 else
23166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
23167 $as_echo_n "checking for _hypotf declaration... " >&6; }
23168 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
23169 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
23170 $as_echo_n "(cached) " >&6
23171 else
23174 ac_ext=cpp
23175 ac_cpp='$CXXCPP $CPPFLAGS'
23176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23181 /* end confdefs.h. */
23182 #include <math.h>
23184 main ()
23186 _hypotf(0, 0);
23188 return 0;
23190 _ACEOF
23191 if ac_fn_cxx_try_compile "$LINENO"; then :
23192 glibcxx_cv_func__hypotf_use=yes
23193 else
23194 glibcxx_cv_func__hypotf_use=no
23196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23197 ac_ext=c
23198 ac_cpp='$CPP $CPPFLAGS'
23199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
23208 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
23210 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
23211 for ac_func in _hypotf
23212 do :
23213 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
23214 if test "x$ac_cv_func__hypotf" = x""yes; then :
23215 cat >>confdefs.h <<_ACEOF
23216 #define HAVE__HYPOTF 1
23217 _ACEOF
23220 done
23229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
23230 $as_echo_n "checking for ldexpf declaration... " >&6; }
23231 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
23232 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
23233 $as_echo_n "(cached) " >&6
23234 else
23237 ac_ext=cpp
23238 ac_cpp='$CXXCPP $CPPFLAGS'
23239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23244 /* end confdefs.h. */
23245 #include <math.h>
23247 main ()
23249 ldexpf(0, 0);
23251 return 0;
23253 _ACEOF
23254 if ac_fn_cxx_try_compile "$LINENO"; then :
23255 glibcxx_cv_func_ldexpf_use=yes
23256 else
23257 glibcxx_cv_func_ldexpf_use=no
23259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23260 ac_ext=c
23261 ac_cpp='$CPP $CPPFLAGS'
23262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
23271 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
23273 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
23274 for ac_func in ldexpf
23275 do :
23276 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
23277 if test "x$ac_cv_func_ldexpf" = x""yes; then :
23278 cat >>confdefs.h <<_ACEOF
23279 #define HAVE_LDEXPF 1
23280 _ACEOF
23283 done
23285 else
23287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
23288 $as_echo_n "checking for _ldexpf declaration... " >&6; }
23289 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
23290 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
23291 $as_echo_n "(cached) " >&6
23292 else
23295 ac_ext=cpp
23296 ac_cpp='$CXXCPP $CPPFLAGS'
23297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23302 /* end confdefs.h. */
23303 #include <math.h>
23305 main ()
23307 _ldexpf(0, 0);
23309 return 0;
23311 _ACEOF
23312 if ac_fn_cxx_try_compile "$LINENO"; then :
23313 glibcxx_cv_func__ldexpf_use=yes
23314 else
23315 glibcxx_cv_func__ldexpf_use=no
23317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23318 ac_ext=c
23319 ac_cpp='$CPP $CPPFLAGS'
23320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
23329 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
23331 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
23332 for ac_func in _ldexpf
23333 do :
23334 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
23335 if test "x$ac_cv_func__ldexpf" = x""yes; then :
23336 cat >>confdefs.h <<_ACEOF
23337 #define HAVE__LDEXPF 1
23338 _ACEOF
23341 done
23350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
23351 $as_echo_n "checking for logf declaration... " >&6; }
23352 if test x${glibcxx_cv_func_logf_use+set} != xset; then
23353 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
23354 $as_echo_n "(cached) " >&6
23355 else
23358 ac_ext=cpp
23359 ac_cpp='$CXXCPP $CPPFLAGS'
23360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23365 /* end confdefs.h. */
23366 #include <math.h>
23367 #ifdef HAVE_IEEEFP_H
23368 #include <ieeefp.h>
23369 #endif
23372 main ()
23374 logf(0);
23376 return 0;
23378 _ACEOF
23379 if ac_fn_cxx_try_compile "$LINENO"; then :
23380 glibcxx_cv_func_logf_use=yes
23381 else
23382 glibcxx_cv_func_logf_use=no
23384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23385 ac_ext=c
23386 ac_cpp='$CPP $CPPFLAGS'
23387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
23396 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
23398 if test x$glibcxx_cv_func_logf_use = x"yes"; then
23399 for ac_func in logf
23400 do :
23401 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
23402 if test "x$ac_cv_func_logf" = x""yes; then :
23403 cat >>confdefs.h <<_ACEOF
23404 #define HAVE_LOGF 1
23405 _ACEOF
23408 done
23410 else
23412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
23413 $as_echo_n "checking for _logf declaration... " >&6; }
23414 if test x${glibcxx_cv_func__logf_use+set} != xset; then
23415 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
23416 $as_echo_n "(cached) " >&6
23417 else
23420 ac_ext=cpp
23421 ac_cpp='$CXXCPP $CPPFLAGS'
23422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23427 /* end confdefs.h. */
23428 #include <math.h>
23429 #ifdef HAVE_IEEEFP_H
23430 #include <ieeefp.h>
23431 #endif
23434 main ()
23436 _logf(0);
23438 return 0;
23440 _ACEOF
23441 if ac_fn_cxx_try_compile "$LINENO"; then :
23442 glibcxx_cv_func__logf_use=yes
23443 else
23444 glibcxx_cv_func__logf_use=no
23446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23447 ac_ext=c
23448 ac_cpp='$CPP $CPPFLAGS'
23449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
23458 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
23460 if test x$glibcxx_cv_func__logf_use = x"yes"; then
23461 for ac_func in _logf
23462 do :
23463 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
23464 if test "x$ac_cv_func__logf" = x""yes; then :
23465 cat >>confdefs.h <<_ACEOF
23466 #define HAVE__LOGF 1
23467 _ACEOF
23470 done
23479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
23480 $as_echo_n "checking for log10f declaration... " >&6; }
23481 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
23482 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
23483 $as_echo_n "(cached) " >&6
23484 else
23487 ac_ext=cpp
23488 ac_cpp='$CXXCPP $CPPFLAGS'
23489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23494 /* end confdefs.h. */
23495 #include <math.h>
23496 #ifdef HAVE_IEEEFP_H
23497 #include <ieeefp.h>
23498 #endif
23501 main ()
23503 log10f(0);
23505 return 0;
23507 _ACEOF
23508 if ac_fn_cxx_try_compile "$LINENO"; then :
23509 glibcxx_cv_func_log10f_use=yes
23510 else
23511 glibcxx_cv_func_log10f_use=no
23513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23514 ac_ext=c
23515 ac_cpp='$CPP $CPPFLAGS'
23516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
23525 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
23527 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
23528 for ac_func in log10f
23529 do :
23530 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
23531 if test "x$ac_cv_func_log10f" = x""yes; then :
23532 cat >>confdefs.h <<_ACEOF
23533 #define HAVE_LOG10F 1
23534 _ACEOF
23537 done
23539 else
23541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
23542 $as_echo_n "checking for _log10f declaration... " >&6; }
23543 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
23544 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
23545 $as_echo_n "(cached) " >&6
23546 else
23549 ac_ext=cpp
23550 ac_cpp='$CXXCPP $CPPFLAGS'
23551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23556 /* end confdefs.h. */
23557 #include <math.h>
23558 #ifdef HAVE_IEEEFP_H
23559 #include <ieeefp.h>
23560 #endif
23563 main ()
23565 _log10f(0);
23567 return 0;
23569 _ACEOF
23570 if ac_fn_cxx_try_compile "$LINENO"; then :
23571 glibcxx_cv_func__log10f_use=yes
23572 else
23573 glibcxx_cv_func__log10f_use=no
23575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23576 ac_ext=c
23577 ac_cpp='$CPP $CPPFLAGS'
23578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
23587 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
23589 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
23590 for ac_func in _log10f
23591 do :
23592 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
23593 if test "x$ac_cv_func__log10f" = x""yes; then :
23594 cat >>confdefs.h <<_ACEOF
23595 #define HAVE__LOG10F 1
23596 _ACEOF
23599 done
23608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
23609 $as_echo_n "checking for modff declaration... " >&6; }
23610 if test x${glibcxx_cv_func_modff_use+set} != xset; then
23611 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
23612 $as_echo_n "(cached) " >&6
23613 else
23616 ac_ext=cpp
23617 ac_cpp='$CXXCPP $CPPFLAGS'
23618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23623 /* end confdefs.h. */
23624 #include <math.h>
23626 main ()
23628 modff(0, 0);
23630 return 0;
23632 _ACEOF
23633 if ac_fn_cxx_try_compile "$LINENO"; then :
23634 glibcxx_cv_func_modff_use=yes
23635 else
23636 glibcxx_cv_func_modff_use=no
23638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23639 ac_ext=c
23640 ac_cpp='$CPP $CPPFLAGS'
23641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
23650 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
23652 if test x$glibcxx_cv_func_modff_use = x"yes"; then
23653 for ac_func in modff
23654 do :
23655 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
23656 if test "x$ac_cv_func_modff" = x""yes; then :
23657 cat >>confdefs.h <<_ACEOF
23658 #define HAVE_MODFF 1
23659 _ACEOF
23662 done
23664 else
23666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
23667 $as_echo_n "checking for _modff declaration... " >&6; }
23668 if test x${glibcxx_cv_func__modff_use+set} != xset; then
23669 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
23670 $as_echo_n "(cached) " >&6
23671 else
23674 ac_ext=cpp
23675 ac_cpp='$CXXCPP $CPPFLAGS'
23676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23681 /* end confdefs.h. */
23682 #include <math.h>
23684 main ()
23686 _modff(0, 0);
23688 return 0;
23690 _ACEOF
23691 if ac_fn_cxx_try_compile "$LINENO"; then :
23692 glibcxx_cv_func__modff_use=yes
23693 else
23694 glibcxx_cv_func__modff_use=no
23696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23697 ac_ext=c
23698 ac_cpp='$CPP $CPPFLAGS'
23699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
23708 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
23710 if test x$glibcxx_cv_func__modff_use = x"yes"; then
23711 for ac_func in _modff
23712 do :
23713 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
23714 if test "x$ac_cv_func__modff" = x""yes; then :
23715 cat >>confdefs.h <<_ACEOF
23716 #define HAVE__MODFF 1
23717 _ACEOF
23720 done
23729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
23730 $as_echo_n "checking for modf declaration... " >&6; }
23731 if test x${glibcxx_cv_func_modf_use+set} != xset; then
23732 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
23733 $as_echo_n "(cached) " >&6
23734 else
23737 ac_ext=cpp
23738 ac_cpp='$CXXCPP $CPPFLAGS'
23739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23744 /* end confdefs.h. */
23745 #include <math.h>
23747 main ()
23749 modf(0, 0);
23751 return 0;
23753 _ACEOF
23754 if ac_fn_cxx_try_compile "$LINENO"; then :
23755 glibcxx_cv_func_modf_use=yes
23756 else
23757 glibcxx_cv_func_modf_use=no
23759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23760 ac_ext=c
23761 ac_cpp='$CPP $CPPFLAGS'
23762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
23771 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
23773 if test x$glibcxx_cv_func_modf_use = x"yes"; then
23774 for ac_func in modf
23775 do :
23776 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
23777 if test "x$ac_cv_func_modf" = x""yes; then :
23778 cat >>confdefs.h <<_ACEOF
23779 #define HAVE_MODF 1
23780 _ACEOF
23783 done
23785 else
23787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
23788 $as_echo_n "checking for _modf declaration... " >&6; }
23789 if test x${glibcxx_cv_func__modf_use+set} != xset; then
23790 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
23791 $as_echo_n "(cached) " >&6
23792 else
23795 ac_ext=cpp
23796 ac_cpp='$CXXCPP $CPPFLAGS'
23797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23802 /* end confdefs.h. */
23803 #include <math.h>
23805 main ()
23807 _modf(0, 0);
23809 return 0;
23811 _ACEOF
23812 if ac_fn_cxx_try_compile "$LINENO"; then :
23813 glibcxx_cv_func__modf_use=yes
23814 else
23815 glibcxx_cv_func__modf_use=no
23817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23818 ac_ext=c
23819 ac_cpp='$CPP $CPPFLAGS'
23820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
23829 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
23831 if test x$glibcxx_cv_func__modf_use = x"yes"; then
23832 for ac_func in _modf
23833 do :
23834 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
23835 if test "x$ac_cv_func__modf" = x""yes; then :
23836 cat >>confdefs.h <<_ACEOF
23837 #define HAVE__MODF 1
23838 _ACEOF
23841 done
23850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
23851 $as_echo_n "checking for powf declaration... " >&6; }
23852 if test x${glibcxx_cv_func_powf_use+set} != xset; then
23853 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
23854 $as_echo_n "(cached) " >&6
23855 else
23858 ac_ext=cpp
23859 ac_cpp='$CXXCPP $CPPFLAGS'
23860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23865 /* end confdefs.h. */
23866 #include <math.h>
23868 main ()
23870 powf(0, 0);
23872 return 0;
23874 _ACEOF
23875 if ac_fn_cxx_try_compile "$LINENO"; then :
23876 glibcxx_cv_func_powf_use=yes
23877 else
23878 glibcxx_cv_func_powf_use=no
23880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23881 ac_ext=c
23882 ac_cpp='$CPP $CPPFLAGS'
23883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
23892 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
23894 if test x$glibcxx_cv_func_powf_use = x"yes"; then
23895 for ac_func in powf
23896 do :
23897 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
23898 if test "x$ac_cv_func_powf" = x""yes; then :
23899 cat >>confdefs.h <<_ACEOF
23900 #define HAVE_POWF 1
23901 _ACEOF
23904 done
23906 else
23908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
23909 $as_echo_n "checking for _powf declaration... " >&6; }
23910 if test x${glibcxx_cv_func__powf_use+set} != xset; then
23911 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
23912 $as_echo_n "(cached) " >&6
23913 else
23916 ac_ext=cpp
23917 ac_cpp='$CXXCPP $CPPFLAGS'
23918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23923 /* end confdefs.h. */
23924 #include <math.h>
23926 main ()
23928 _powf(0, 0);
23930 return 0;
23932 _ACEOF
23933 if ac_fn_cxx_try_compile "$LINENO"; then :
23934 glibcxx_cv_func__powf_use=yes
23935 else
23936 glibcxx_cv_func__powf_use=no
23938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23939 ac_ext=c
23940 ac_cpp='$CPP $CPPFLAGS'
23941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
23950 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
23952 if test x$glibcxx_cv_func__powf_use = x"yes"; then
23953 for ac_func in _powf
23954 do :
23955 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
23956 if test "x$ac_cv_func__powf" = x""yes; then :
23957 cat >>confdefs.h <<_ACEOF
23958 #define HAVE__POWF 1
23959 _ACEOF
23962 done
23971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
23972 $as_echo_n "checking for sqrtf declaration... " >&6; }
23973 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
23974 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
23975 $as_echo_n "(cached) " >&6
23976 else
23979 ac_ext=cpp
23980 ac_cpp='$CXXCPP $CPPFLAGS'
23981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23986 /* end confdefs.h. */
23987 #include <math.h>
23988 #ifdef HAVE_IEEEFP_H
23989 #include <ieeefp.h>
23990 #endif
23993 main ()
23995 sqrtf(0);
23997 return 0;
23999 _ACEOF
24000 if ac_fn_cxx_try_compile "$LINENO"; then :
24001 glibcxx_cv_func_sqrtf_use=yes
24002 else
24003 glibcxx_cv_func_sqrtf_use=no
24005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24006 ac_ext=c
24007 ac_cpp='$CPP $CPPFLAGS'
24008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
24017 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
24019 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
24020 for ac_func in sqrtf
24021 do :
24022 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
24023 if test "x$ac_cv_func_sqrtf" = x""yes; then :
24024 cat >>confdefs.h <<_ACEOF
24025 #define HAVE_SQRTF 1
24026 _ACEOF
24029 done
24031 else
24033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
24034 $as_echo_n "checking for _sqrtf declaration... " >&6; }
24035 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
24036 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
24037 $as_echo_n "(cached) " >&6
24038 else
24041 ac_ext=cpp
24042 ac_cpp='$CXXCPP $CPPFLAGS'
24043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24048 /* end confdefs.h. */
24049 #include <math.h>
24050 #ifdef HAVE_IEEEFP_H
24051 #include <ieeefp.h>
24052 #endif
24055 main ()
24057 _sqrtf(0);
24059 return 0;
24061 _ACEOF
24062 if ac_fn_cxx_try_compile "$LINENO"; then :
24063 glibcxx_cv_func__sqrtf_use=yes
24064 else
24065 glibcxx_cv_func__sqrtf_use=no
24067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24068 ac_ext=c
24069 ac_cpp='$CPP $CPPFLAGS'
24070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
24079 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
24081 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
24082 for ac_func in _sqrtf
24083 do :
24084 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
24085 if test "x$ac_cv_func__sqrtf" = x""yes; then :
24086 cat >>confdefs.h <<_ACEOF
24087 #define HAVE__SQRTF 1
24088 _ACEOF
24091 done
24100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
24101 $as_echo_n "checking for sincosf declaration... " >&6; }
24102 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
24103 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
24104 $as_echo_n "(cached) " >&6
24105 else
24108 ac_ext=cpp
24109 ac_cpp='$CXXCPP $CPPFLAGS'
24110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24115 /* end confdefs.h. */
24116 #include <math.h>
24118 main ()
24120 sincosf(0, 0, 0);
24122 return 0;
24124 _ACEOF
24125 if ac_fn_cxx_try_compile "$LINENO"; then :
24126 glibcxx_cv_func_sincosf_use=yes
24127 else
24128 glibcxx_cv_func_sincosf_use=no
24130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24131 ac_ext=c
24132 ac_cpp='$CPP $CPPFLAGS'
24133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
24142 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
24144 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
24145 for ac_func in sincosf
24146 do :
24147 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
24148 if test "x$ac_cv_func_sincosf" = x""yes; then :
24149 cat >>confdefs.h <<_ACEOF
24150 #define HAVE_SINCOSF 1
24151 _ACEOF
24154 done
24156 else
24158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
24159 $as_echo_n "checking for _sincosf declaration... " >&6; }
24160 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
24161 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
24162 $as_echo_n "(cached) " >&6
24163 else
24166 ac_ext=cpp
24167 ac_cpp='$CXXCPP $CPPFLAGS'
24168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24173 /* end confdefs.h. */
24174 #include <math.h>
24176 main ()
24178 _sincosf(0, 0, 0);
24180 return 0;
24182 _ACEOF
24183 if ac_fn_cxx_try_compile "$LINENO"; then :
24184 glibcxx_cv_func__sincosf_use=yes
24185 else
24186 glibcxx_cv_func__sincosf_use=no
24188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24189 ac_ext=c
24190 ac_cpp='$CPP $CPPFLAGS'
24191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
24200 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
24202 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
24203 for ac_func in _sincosf
24204 do :
24205 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
24206 if test "x$ac_cv_func__sincosf" = x""yes; then :
24207 cat >>confdefs.h <<_ACEOF
24208 #define HAVE__SINCOSF 1
24209 _ACEOF
24212 done
24221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
24222 $as_echo_n "checking for finitef declaration... " >&6; }
24223 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
24224 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
24225 $as_echo_n "(cached) " >&6
24226 else
24229 ac_ext=cpp
24230 ac_cpp='$CXXCPP $CPPFLAGS'
24231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24236 /* end confdefs.h. */
24237 #include <math.h>
24238 #ifdef HAVE_IEEEFP_H
24239 #include <ieeefp.h>
24240 #endif
24243 main ()
24245 finitef(0);
24247 return 0;
24249 _ACEOF
24250 if ac_fn_cxx_try_compile "$LINENO"; then :
24251 glibcxx_cv_func_finitef_use=yes
24252 else
24253 glibcxx_cv_func_finitef_use=no
24255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24256 ac_ext=c
24257 ac_cpp='$CPP $CPPFLAGS'
24258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
24267 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
24269 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
24270 for ac_func in finitef
24271 do :
24272 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
24273 if test "x$ac_cv_func_finitef" = x""yes; then :
24274 cat >>confdefs.h <<_ACEOF
24275 #define HAVE_FINITEF 1
24276 _ACEOF
24279 done
24281 else
24283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
24284 $as_echo_n "checking for _finitef declaration... " >&6; }
24285 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
24286 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
24287 $as_echo_n "(cached) " >&6
24288 else
24291 ac_ext=cpp
24292 ac_cpp='$CXXCPP $CPPFLAGS'
24293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24298 /* end confdefs.h. */
24299 #include <math.h>
24300 #ifdef HAVE_IEEEFP_H
24301 #include <ieeefp.h>
24302 #endif
24305 main ()
24307 _finitef(0);
24309 return 0;
24311 _ACEOF
24312 if ac_fn_cxx_try_compile "$LINENO"; then :
24313 glibcxx_cv_func__finitef_use=yes
24314 else
24315 glibcxx_cv_func__finitef_use=no
24317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24318 ac_ext=c
24319 ac_cpp='$CPP $CPPFLAGS'
24320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
24329 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
24331 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
24332 for ac_func in _finitef
24333 do :
24334 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
24335 if test "x$ac_cv_func__finitef" = x""yes; then :
24336 cat >>confdefs.h <<_ACEOF
24337 #define HAVE__FINITEF 1
24338 _ACEOF
24341 done
24350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
24351 $as_echo_n "checking for long double trig functions... " >&6; }
24352 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
24353 $as_echo_n "(cached) " >&6
24354 else
24357 ac_ext=cpp
24358 ac_cpp='$CXXCPP $CPPFLAGS'
24359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24364 /* end confdefs.h. */
24365 #include <math.h>
24367 main ()
24369 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
24371 return 0;
24373 _ACEOF
24374 if ac_fn_cxx_try_compile "$LINENO"; then :
24375 glibcxx_cv_func_long_double_trig_use=yes
24376 else
24377 glibcxx_cv_func_long_double_trig_use=no
24379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24380 ac_ext=c
24381 ac_cpp='$CPP $CPPFLAGS'
24382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
24389 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
24390 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
24391 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
24392 do :
24393 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24394 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24395 eval as_val=\$$as_ac_var
24396 if test "x$as_val" = x""yes; then :
24397 cat >>confdefs.h <<_ACEOF
24398 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24399 _ACEOF
24402 done
24404 else
24405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
24406 $as_echo_n "checking for _long double trig functions... " >&6; }
24407 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
24408 $as_echo_n "(cached) " >&6
24409 else
24412 ac_ext=cpp
24413 ac_cpp='$CXXCPP $CPPFLAGS'
24414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24419 /* end confdefs.h. */
24420 #include <math.h>
24422 main ()
24424 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
24426 return 0;
24428 _ACEOF
24429 if ac_fn_cxx_try_compile "$LINENO"; then :
24430 glibcxx_cv_func__long_double_trig_use=yes
24431 else
24432 glibcxx_cv_func__long_double_trig_use=no
24434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24435 ac_ext=c
24436 ac_cpp='$CPP $CPPFLAGS'
24437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
24444 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
24445 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
24446 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
24447 do :
24448 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24449 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24450 eval as_val=\$$as_ac_var
24451 if test "x$as_val" = x""yes; then :
24452 cat >>confdefs.h <<_ACEOF
24453 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24454 _ACEOF
24457 done
24466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
24467 $as_echo_n "checking for long double round functions... " >&6; }
24468 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
24469 $as_echo_n "(cached) " >&6
24470 else
24473 ac_ext=cpp
24474 ac_cpp='$CXXCPP $CPPFLAGS'
24475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24480 /* end confdefs.h. */
24481 #include <math.h>
24483 main ()
24485 ceill (0); floorl (0);
24487 return 0;
24489 _ACEOF
24490 if ac_fn_cxx_try_compile "$LINENO"; then :
24491 glibcxx_cv_func_long_double_round_use=yes
24492 else
24493 glibcxx_cv_func_long_double_round_use=no
24495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24496 ac_ext=c
24497 ac_cpp='$CPP $CPPFLAGS'
24498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
24505 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
24506 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
24507 for ac_func in ceill floorl
24508 do :
24509 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24510 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24511 eval as_val=\$$as_ac_var
24512 if test "x$as_val" = x""yes; then :
24513 cat >>confdefs.h <<_ACEOF
24514 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24515 _ACEOF
24518 done
24520 else
24521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
24522 $as_echo_n "checking for _long double round functions... " >&6; }
24523 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
24524 $as_echo_n "(cached) " >&6
24525 else
24528 ac_ext=cpp
24529 ac_cpp='$CXXCPP $CPPFLAGS'
24530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24535 /* end confdefs.h. */
24536 #include <math.h>
24538 main ()
24540 _ceill (0); _floorl (0);
24542 return 0;
24544 _ACEOF
24545 if ac_fn_cxx_try_compile "$LINENO"; then :
24546 glibcxx_cv_func__long_double_round_use=yes
24547 else
24548 glibcxx_cv_func__long_double_round_use=no
24550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24551 ac_ext=c
24552 ac_cpp='$CPP $CPPFLAGS'
24553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
24560 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
24561 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
24562 for ac_func in _ceill _floorl
24563 do :
24564 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24565 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24566 eval as_val=\$$as_ac_var
24567 if test "x$as_val" = x""yes; then :
24568 cat >>confdefs.h <<_ACEOF
24569 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24570 _ACEOF
24573 done
24583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
24584 $as_echo_n "checking for isnanl declaration... " >&6; }
24585 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
24586 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
24587 $as_echo_n "(cached) " >&6
24588 else
24591 ac_ext=cpp
24592 ac_cpp='$CXXCPP $CPPFLAGS'
24593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24598 /* end confdefs.h. */
24599 #include <math.h>
24600 #ifdef HAVE_IEEEFP_H
24601 #include <ieeefp.h>
24602 #endif
24605 main ()
24607 isnanl(0);
24609 return 0;
24611 _ACEOF
24612 if ac_fn_cxx_try_compile "$LINENO"; then :
24613 glibcxx_cv_func_isnanl_use=yes
24614 else
24615 glibcxx_cv_func_isnanl_use=no
24617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24618 ac_ext=c
24619 ac_cpp='$CPP $CPPFLAGS'
24620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
24629 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
24631 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
24632 for ac_func in isnanl
24633 do :
24634 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
24635 if test "x$ac_cv_func_isnanl" = x""yes; then :
24636 cat >>confdefs.h <<_ACEOF
24637 #define HAVE_ISNANL 1
24638 _ACEOF
24641 done
24643 else
24645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
24646 $as_echo_n "checking for _isnanl declaration... " >&6; }
24647 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
24648 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
24649 $as_echo_n "(cached) " >&6
24650 else
24653 ac_ext=cpp
24654 ac_cpp='$CXXCPP $CPPFLAGS'
24655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24660 /* end confdefs.h. */
24661 #include <math.h>
24662 #ifdef HAVE_IEEEFP_H
24663 #include <ieeefp.h>
24664 #endif
24667 main ()
24669 _isnanl(0);
24671 return 0;
24673 _ACEOF
24674 if ac_fn_cxx_try_compile "$LINENO"; then :
24675 glibcxx_cv_func__isnanl_use=yes
24676 else
24677 glibcxx_cv_func__isnanl_use=no
24679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24680 ac_ext=c
24681 ac_cpp='$CPP $CPPFLAGS'
24682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
24691 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
24693 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
24694 for ac_func in _isnanl
24695 do :
24696 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
24697 if test "x$ac_cv_func__isnanl" = x""yes; then :
24698 cat >>confdefs.h <<_ACEOF
24699 #define HAVE__ISNANL 1
24700 _ACEOF
24703 done
24712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
24713 $as_echo_n "checking for isinfl declaration... " >&6; }
24714 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
24715 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
24716 $as_echo_n "(cached) " >&6
24717 else
24720 ac_ext=cpp
24721 ac_cpp='$CXXCPP $CPPFLAGS'
24722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24727 /* end confdefs.h. */
24728 #include <math.h>
24729 #ifdef HAVE_IEEEFP_H
24730 #include <ieeefp.h>
24731 #endif
24734 main ()
24736 isinfl(0);
24738 return 0;
24740 _ACEOF
24741 if ac_fn_cxx_try_compile "$LINENO"; then :
24742 glibcxx_cv_func_isinfl_use=yes
24743 else
24744 glibcxx_cv_func_isinfl_use=no
24746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24747 ac_ext=c
24748 ac_cpp='$CPP $CPPFLAGS'
24749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
24758 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
24760 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
24761 for ac_func in isinfl
24762 do :
24763 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
24764 if test "x$ac_cv_func_isinfl" = x""yes; then :
24765 cat >>confdefs.h <<_ACEOF
24766 #define HAVE_ISINFL 1
24767 _ACEOF
24770 done
24772 else
24774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
24775 $as_echo_n "checking for _isinfl declaration... " >&6; }
24776 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
24777 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
24778 $as_echo_n "(cached) " >&6
24779 else
24782 ac_ext=cpp
24783 ac_cpp='$CXXCPP $CPPFLAGS'
24784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24789 /* end confdefs.h. */
24790 #include <math.h>
24791 #ifdef HAVE_IEEEFP_H
24792 #include <ieeefp.h>
24793 #endif
24796 main ()
24798 _isinfl(0);
24800 return 0;
24802 _ACEOF
24803 if ac_fn_cxx_try_compile "$LINENO"; then :
24804 glibcxx_cv_func__isinfl_use=yes
24805 else
24806 glibcxx_cv_func__isinfl_use=no
24808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24809 ac_ext=c
24810 ac_cpp='$CPP $CPPFLAGS'
24811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
24820 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
24822 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
24823 for ac_func in _isinfl
24824 do :
24825 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
24826 if test "x$ac_cv_func__isinfl" = x""yes; then :
24827 cat >>confdefs.h <<_ACEOF
24828 #define HAVE__ISINFL 1
24829 _ACEOF
24832 done
24841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
24842 $as_echo_n "checking for atan2l declaration... " >&6; }
24843 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
24844 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
24845 $as_echo_n "(cached) " >&6
24846 else
24849 ac_ext=cpp
24850 ac_cpp='$CXXCPP $CPPFLAGS'
24851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24856 /* end confdefs.h. */
24857 #include <math.h>
24859 main ()
24861 atan2l(0, 0);
24863 return 0;
24865 _ACEOF
24866 if ac_fn_cxx_try_compile "$LINENO"; then :
24867 glibcxx_cv_func_atan2l_use=yes
24868 else
24869 glibcxx_cv_func_atan2l_use=no
24871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24872 ac_ext=c
24873 ac_cpp='$CPP $CPPFLAGS'
24874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
24883 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
24885 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
24886 for ac_func in atan2l
24887 do :
24888 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
24889 if test "x$ac_cv_func_atan2l" = x""yes; then :
24890 cat >>confdefs.h <<_ACEOF
24891 #define HAVE_ATAN2L 1
24892 _ACEOF
24895 done
24897 else
24899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
24900 $as_echo_n "checking for _atan2l declaration... " >&6; }
24901 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
24902 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
24903 $as_echo_n "(cached) " >&6
24904 else
24907 ac_ext=cpp
24908 ac_cpp='$CXXCPP $CPPFLAGS'
24909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24914 /* end confdefs.h. */
24915 #include <math.h>
24917 main ()
24919 _atan2l(0, 0);
24921 return 0;
24923 _ACEOF
24924 if ac_fn_cxx_try_compile "$LINENO"; then :
24925 glibcxx_cv_func__atan2l_use=yes
24926 else
24927 glibcxx_cv_func__atan2l_use=no
24929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24930 ac_ext=c
24931 ac_cpp='$CPP $CPPFLAGS'
24932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
24941 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
24943 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
24944 for ac_func in _atan2l
24945 do :
24946 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
24947 if test "x$ac_cv_func__atan2l" = x""yes; then :
24948 cat >>confdefs.h <<_ACEOF
24949 #define HAVE__ATAN2L 1
24950 _ACEOF
24953 done
24962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
24963 $as_echo_n "checking for expl declaration... " >&6; }
24964 if test x${glibcxx_cv_func_expl_use+set} != xset; then
24965 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
24966 $as_echo_n "(cached) " >&6
24967 else
24970 ac_ext=cpp
24971 ac_cpp='$CXXCPP $CPPFLAGS'
24972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24977 /* end confdefs.h. */
24978 #include <math.h>
24979 #ifdef HAVE_IEEEFP_H
24980 #include <ieeefp.h>
24981 #endif
24984 main ()
24986 expl(0);
24988 return 0;
24990 _ACEOF
24991 if ac_fn_cxx_try_compile "$LINENO"; then :
24992 glibcxx_cv_func_expl_use=yes
24993 else
24994 glibcxx_cv_func_expl_use=no
24996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24997 ac_ext=c
24998 ac_cpp='$CPP $CPPFLAGS'
24999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
25008 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
25010 if test x$glibcxx_cv_func_expl_use = x"yes"; then
25011 for ac_func in expl
25012 do :
25013 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
25014 if test "x$ac_cv_func_expl" = x""yes; then :
25015 cat >>confdefs.h <<_ACEOF
25016 #define HAVE_EXPL 1
25017 _ACEOF
25020 done
25022 else
25024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
25025 $as_echo_n "checking for _expl declaration... " >&6; }
25026 if test x${glibcxx_cv_func__expl_use+set} != xset; then
25027 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
25028 $as_echo_n "(cached) " >&6
25029 else
25032 ac_ext=cpp
25033 ac_cpp='$CXXCPP $CPPFLAGS'
25034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25039 /* end confdefs.h. */
25040 #include <math.h>
25041 #ifdef HAVE_IEEEFP_H
25042 #include <ieeefp.h>
25043 #endif
25046 main ()
25048 _expl(0);
25050 return 0;
25052 _ACEOF
25053 if ac_fn_cxx_try_compile "$LINENO"; then :
25054 glibcxx_cv_func__expl_use=yes
25055 else
25056 glibcxx_cv_func__expl_use=no
25058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25059 ac_ext=c
25060 ac_cpp='$CPP $CPPFLAGS'
25061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
25070 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
25072 if test x$glibcxx_cv_func__expl_use = x"yes"; then
25073 for ac_func in _expl
25074 do :
25075 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
25076 if test "x$ac_cv_func__expl" = x""yes; then :
25077 cat >>confdefs.h <<_ACEOF
25078 #define HAVE__EXPL 1
25079 _ACEOF
25082 done
25091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
25092 $as_echo_n "checking for fabsl declaration... " >&6; }
25093 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
25094 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
25095 $as_echo_n "(cached) " >&6
25096 else
25099 ac_ext=cpp
25100 ac_cpp='$CXXCPP $CPPFLAGS'
25101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25106 /* end confdefs.h. */
25107 #include <math.h>
25108 #ifdef HAVE_IEEEFP_H
25109 #include <ieeefp.h>
25110 #endif
25113 main ()
25115 fabsl(0);
25117 return 0;
25119 _ACEOF
25120 if ac_fn_cxx_try_compile "$LINENO"; then :
25121 glibcxx_cv_func_fabsl_use=yes
25122 else
25123 glibcxx_cv_func_fabsl_use=no
25125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25126 ac_ext=c
25127 ac_cpp='$CPP $CPPFLAGS'
25128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
25137 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
25139 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
25140 for ac_func in fabsl
25141 do :
25142 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
25143 if test "x$ac_cv_func_fabsl" = x""yes; then :
25144 cat >>confdefs.h <<_ACEOF
25145 #define HAVE_FABSL 1
25146 _ACEOF
25149 done
25151 else
25153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
25154 $as_echo_n "checking for _fabsl declaration... " >&6; }
25155 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
25156 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
25157 $as_echo_n "(cached) " >&6
25158 else
25161 ac_ext=cpp
25162 ac_cpp='$CXXCPP $CPPFLAGS'
25163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25168 /* end confdefs.h. */
25169 #include <math.h>
25170 #ifdef HAVE_IEEEFP_H
25171 #include <ieeefp.h>
25172 #endif
25175 main ()
25177 _fabsl(0);
25179 return 0;
25181 _ACEOF
25182 if ac_fn_cxx_try_compile "$LINENO"; then :
25183 glibcxx_cv_func__fabsl_use=yes
25184 else
25185 glibcxx_cv_func__fabsl_use=no
25187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25188 ac_ext=c
25189 ac_cpp='$CPP $CPPFLAGS'
25190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
25199 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
25201 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
25202 for ac_func in _fabsl
25203 do :
25204 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
25205 if test "x$ac_cv_func__fabsl" = x""yes; then :
25206 cat >>confdefs.h <<_ACEOF
25207 #define HAVE__FABSL 1
25208 _ACEOF
25211 done
25220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
25221 $as_echo_n "checking for fmodl declaration... " >&6; }
25222 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
25223 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
25224 $as_echo_n "(cached) " >&6
25225 else
25228 ac_ext=cpp
25229 ac_cpp='$CXXCPP $CPPFLAGS'
25230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25235 /* end confdefs.h. */
25236 #include <math.h>
25238 main ()
25240 fmodl(0, 0);
25242 return 0;
25244 _ACEOF
25245 if ac_fn_cxx_try_compile "$LINENO"; then :
25246 glibcxx_cv_func_fmodl_use=yes
25247 else
25248 glibcxx_cv_func_fmodl_use=no
25250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25251 ac_ext=c
25252 ac_cpp='$CPP $CPPFLAGS'
25253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
25262 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
25264 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
25265 for ac_func in fmodl
25266 do :
25267 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
25268 if test "x$ac_cv_func_fmodl" = x""yes; then :
25269 cat >>confdefs.h <<_ACEOF
25270 #define HAVE_FMODL 1
25271 _ACEOF
25274 done
25276 else
25278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
25279 $as_echo_n "checking for _fmodl declaration... " >&6; }
25280 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
25281 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
25282 $as_echo_n "(cached) " >&6
25283 else
25286 ac_ext=cpp
25287 ac_cpp='$CXXCPP $CPPFLAGS'
25288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25293 /* end confdefs.h. */
25294 #include <math.h>
25296 main ()
25298 _fmodl(0, 0);
25300 return 0;
25302 _ACEOF
25303 if ac_fn_cxx_try_compile "$LINENO"; then :
25304 glibcxx_cv_func__fmodl_use=yes
25305 else
25306 glibcxx_cv_func__fmodl_use=no
25308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25309 ac_ext=c
25310 ac_cpp='$CPP $CPPFLAGS'
25311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
25320 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
25322 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
25323 for ac_func in _fmodl
25324 do :
25325 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
25326 if test "x$ac_cv_func__fmodl" = x""yes; then :
25327 cat >>confdefs.h <<_ACEOF
25328 #define HAVE__FMODL 1
25329 _ACEOF
25332 done
25341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
25342 $as_echo_n "checking for frexpl declaration... " >&6; }
25343 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
25344 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
25345 $as_echo_n "(cached) " >&6
25346 else
25349 ac_ext=cpp
25350 ac_cpp='$CXXCPP $CPPFLAGS'
25351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25356 /* end confdefs.h. */
25357 #include <math.h>
25359 main ()
25361 frexpl(0, 0);
25363 return 0;
25365 _ACEOF
25366 if ac_fn_cxx_try_compile "$LINENO"; then :
25367 glibcxx_cv_func_frexpl_use=yes
25368 else
25369 glibcxx_cv_func_frexpl_use=no
25371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25372 ac_ext=c
25373 ac_cpp='$CPP $CPPFLAGS'
25374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
25383 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
25385 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
25386 for ac_func in frexpl
25387 do :
25388 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
25389 if test "x$ac_cv_func_frexpl" = x""yes; then :
25390 cat >>confdefs.h <<_ACEOF
25391 #define HAVE_FREXPL 1
25392 _ACEOF
25395 done
25397 else
25399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
25400 $as_echo_n "checking for _frexpl declaration... " >&6; }
25401 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
25402 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
25403 $as_echo_n "(cached) " >&6
25404 else
25407 ac_ext=cpp
25408 ac_cpp='$CXXCPP $CPPFLAGS'
25409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25414 /* end confdefs.h. */
25415 #include <math.h>
25417 main ()
25419 _frexpl(0, 0);
25421 return 0;
25423 _ACEOF
25424 if ac_fn_cxx_try_compile "$LINENO"; then :
25425 glibcxx_cv_func__frexpl_use=yes
25426 else
25427 glibcxx_cv_func__frexpl_use=no
25429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25430 ac_ext=c
25431 ac_cpp='$CPP $CPPFLAGS'
25432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
25441 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
25443 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
25444 for ac_func in _frexpl
25445 do :
25446 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
25447 if test "x$ac_cv_func__frexpl" = x""yes; then :
25448 cat >>confdefs.h <<_ACEOF
25449 #define HAVE__FREXPL 1
25450 _ACEOF
25453 done
25462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
25463 $as_echo_n "checking for hypotl declaration... " >&6; }
25464 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
25465 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
25466 $as_echo_n "(cached) " >&6
25467 else
25470 ac_ext=cpp
25471 ac_cpp='$CXXCPP $CPPFLAGS'
25472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25477 /* end confdefs.h. */
25478 #include <math.h>
25480 main ()
25482 hypotl(0, 0);
25484 return 0;
25486 _ACEOF
25487 if ac_fn_cxx_try_compile "$LINENO"; then :
25488 glibcxx_cv_func_hypotl_use=yes
25489 else
25490 glibcxx_cv_func_hypotl_use=no
25492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25493 ac_ext=c
25494 ac_cpp='$CPP $CPPFLAGS'
25495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
25504 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
25506 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
25507 for ac_func in hypotl
25508 do :
25509 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
25510 if test "x$ac_cv_func_hypotl" = x""yes; then :
25511 cat >>confdefs.h <<_ACEOF
25512 #define HAVE_HYPOTL 1
25513 _ACEOF
25516 done
25518 else
25520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
25521 $as_echo_n "checking for _hypotl declaration... " >&6; }
25522 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
25523 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
25524 $as_echo_n "(cached) " >&6
25525 else
25528 ac_ext=cpp
25529 ac_cpp='$CXXCPP $CPPFLAGS'
25530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25535 /* end confdefs.h. */
25536 #include <math.h>
25538 main ()
25540 _hypotl(0, 0);
25542 return 0;
25544 _ACEOF
25545 if ac_fn_cxx_try_compile "$LINENO"; then :
25546 glibcxx_cv_func__hypotl_use=yes
25547 else
25548 glibcxx_cv_func__hypotl_use=no
25550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25551 ac_ext=c
25552 ac_cpp='$CPP $CPPFLAGS'
25553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
25562 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
25564 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
25565 for ac_func in _hypotl
25566 do :
25567 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
25568 if test "x$ac_cv_func__hypotl" = x""yes; then :
25569 cat >>confdefs.h <<_ACEOF
25570 #define HAVE__HYPOTL 1
25571 _ACEOF
25574 done
25583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
25584 $as_echo_n "checking for ldexpl declaration... " >&6; }
25585 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
25586 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
25587 $as_echo_n "(cached) " >&6
25588 else
25591 ac_ext=cpp
25592 ac_cpp='$CXXCPP $CPPFLAGS'
25593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25598 /* end confdefs.h. */
25599 #include <math.h>
25601 main ()
25603 ldexpl(0, 0);
25605 return 0;
25607 _ACEOF
25608 if ac_fn_cxx_try_compile "$LINENO"; then :
25609 glibcxx_cv_func_ldexpl_use=yes
25610 else
25611 glibcxx_cv_func_ldexpl_use=no
25613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25614 ac_ext=c
25615 ac_cpp='$CPP $CPPFLAGS'
25616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
25625 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
25627 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
25628 for ac_func in ldexpl
25629 do :
25630 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
25631 if test "x$ac_cv_func_ldexpl" = x""yes; then :
25632 cat >>confdefs.h <<_ACEOF
25633 #define HAVE_LDEXPL 1
25634 _ACEOF
25637 done
25639 else
25641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
25642 $as_echo_n "checking for _ldexpl declaration... " >&6; }
25643 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
25644 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
25645 $as_echo_n "(cached) " >&6
25646 else
25649 ac_ext=cpp
25650 ac_cpp='$CXXCPP $CPPFLAGS'
25651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25656 /* end confdefs.h. */
25657 #include <math.h>
25659 main ()
25661 _ldexpl(0, 0);
25663 return 0;
25665 _ACEOF
25666 if ac_fn_cxx_try_compile "$LINENO"; then :
25667 glibcxx_cv_func__ldexpl_use=yes
25668 else
25669 glibcxx_cv_func__ldexpl_use=no
25671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25672 ac_ext=c
25673 ac_cpp='$CPP $CPPFLAGS'
25674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
25683 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
25685 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
25686 for ac_func in _ldexpl
25687 do :
25688 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
25689 if test "x$ac_cv_func__ldexpl" = x""yes; then :
25690 cat >>confdefs.h <<_ACEOF
25691 #define HAVE__LDEXPL 1
25692 _ACEOF
25695 done
25704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
25705 $as_echo_n "checking for logl declaration... " >&6; }
25706 if test x${glibcxx_cv_func_logl_use+set} != xset; then
25707 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
25708 $as_echo_n "(cached) " >&6
25709 else
25712 ac_ext=cpp
25713 ac_cpp='$CXXCPP $CPPFLAGS'
25714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25719 /* end confdefs.h. */
25720 #include <math.h>
25721 #ifdef HAVE_IEEEFP_H
25722 #include <ieeefp.h>
25723 #endif
25726 main ()
25728 logl(0);
25730 return 0;
25732 _ACEOF
25733 if ac_fn_cxx_try_compile "$LINENO"; then :
25734 glibcxx_cv_func_logl_use=yes
25735 else
25736 glibcxx_cv_func_logl_use=no
25738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25739 ac_ext=c
25740 ac_cpp='$CPP $CPPFLAGS'
25741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
25750 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
25752 if test x$glibcxx_cv_func_logl_use = x"yes"; then
25753 for ac_func in logl
25754 do :
25755 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
25756 if test "x$ac_cv_func_logl" = x""yes; then :
25757 cat >>confdefs.h <<_ACEOF
25758 #define HAVE_LOGL 1
25759 _ACEOF
25762 done
25764 else
25766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
25767 $as_echo_n "checking for _logl declaration... " >&6; }
25768 if test x${glibcxx_cv_func__logl_use+set} != xset; then
25769 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
25770 $as_echo_n "(cached) " >&6
25771 else
25774 ac_ext=cpp
25775 ac_cpp='$CXXCPP $CPPFLAGS'
25776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25781 /* end confdefs.h. */
25782 #include <math.h>
25783 #ifdef HAVE_IEEEFP_H
25784 #include <ieeefp.h>
25785 #endif
25788 main ()
25790 _logl(0);
25792 return 0;
25794 _ACEOF
25795 if ac_fn_cxx_try_compile "$LINENO"; then :
25796 glibcxx_cv_func__logl_use=yes
25797 else
25798 glibcxx_cv_func__logl_use=no
25800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25801 ac_ext=c
25802 ac_cpp='$CPP $CPPFLAGS'
25803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
25812 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
25814 if test x$glibcxx_cv_func__logl_use = x"yes"; then
25815 for ac_func in _logl
25816 do :
25817 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
25818 if test "x$ac_cv_func__logl" = x""yes; then :
25819 cat >>confdefs.h <<_ACEOF
25820 #define HAVE__LOGL 1
25821 _ACEOF
25824 done
25833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
25834 $as_echo_n "checking for log10l declaration... " >&6; }
25835 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
25836 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
25837 $as_echo_n "(cached) " >&6
25838 else
25841 ac_ext=cpp
25842 ac_cpp='$CXXCPP $CPPFLAGS'
25843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25848 /* end confdefs.h. */
25849 #include <math.h>
25850 #ifdef HAVE_IEEEFP_H
25851 #include <ieeefp.h>
25852 #endif
25855 main ()
25857 log10l(0);
25859 return 0;
25861 _ACEOF
25862 if ac_fn_cxx_try_compile "$LINENO"; then :
25863 glibcxx_cv_func_log10l_use=yes
25864 else
25865 glibcxx_cv_func_log10l_use=no
25867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25868 ac_ext=c
25869 ac_cpp='$CPP $CPPFLAGS'
25870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
25879 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
25881 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
25882 for ac_func in log10l
25883 do :
25884 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
25885 if test "x$ac_cv_func_log10l" = x""yes; then :
25886 cat >>confdefs.h <<_ACEOF
25887 #define HAVE_LOG10L 1
25888 _ACEOF
25891 done
25893 else
25895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
25896 $as_echo_n "checking for _log10l declaration... " >&6; }
25897 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
25898 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
25899 $as_echo_n "(cached) " >&6
25900 else
25903 ac_ext=cpp
25904 ac_cpp='$CXXCPP $CPPFLAGS'
25905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25910 /* end confdefs.h. */
25911 #include <math.h>
25912 #ifdef HAVE_IEEEFP_H
25913 #include <ieeefp.h>
25914 #endif
25917 main ()
25919 _log10l(0);
25921 return 0;
25923 _ACEOF
25924 if ac_fn_cxx_try_compile "$LINENO"; then :
25925 glibcxx_cv_func__log10l_use=yes
25926 else
25927 glibcxx_cv_func__log10l_use=no
25929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25930 ac_ext=c
25931 ac_cpp='$CPP $CPPFLAGS'
25932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
25941 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
25943 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
25944 for ac_func in _log10l
25945 do :
25946 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
25947 if test "x$ac_cv_func__log10l" = x""yes; then :
25948 cat >>confdefs.h <<_ACEOF
25949 #define HAVE__LOG10L 1
25950 _ACEOF
25953 done
25962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
25963 $as_echo_n "checking for modfl declaration... " >&6; }
25964 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
25965 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
25966 $as_echo_n "(cached) " >&6
25967 else
25970 ac_ext=cpp
25971 ac_cpp='$CXXCPP $CPPFLAGS'
25972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25977 /* end confdefs.h. */
25978 #include <math.h>
25980 main ()
25982 modfl(0, 0);
25984 return 0;
25986 _ACEOF
25987 if ac_fn_cxx_try_compile "$LINENO"; then :
25988 glibcxx_cv_func_modfl_use=yes
25989 else
25990 glibcxx_cv_func_modfl_use=no
25992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25993 ac_ext=c
25994 ac_cpp='$CPP $CPPFLAGS'
25995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
26004 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
26006 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
26007 for ac_func in modfl
26008 do :
26009 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
26010 if test "x$ac_cv_func_modfl" = x""yes; then :
26011 cat >>confdefs.h <<_ACEOF
26012 #define HAVE_MODFL 1
26013 _ACEOF
26016 done
26018 else
26020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
26021 $as_echo_n "checking for _modfl declaration... " >&6; }
26022 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
26023 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
26024 $as_echo_n "(cached) " >&6
26025 else
26028 ac_ext=cpp
26029 ac_cpp='$CXXCPP $CPPFLAGS'
26030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26035 /* end confdefs.h. */
26036 #include <math.h>
26038 main ()
26040 _modfl(0, 0);
26042 return 0;
26044 _ACEOF
26045 if ac_fn_cxx_try_compile "$LINENO"; then :
26046 glibcxx_cv_func__modfl_use=yes
26047 else
26048 glibcxx_cv_func__modfl_use=no
26050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26051 ac_ext=c
26052 ac_cpp='$CPP $CPPFLAGS'
26053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
26062 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
26064 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
26065 for ac_func in _modfl
26066 do :
26067 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
26068 if test "x$ac_cv_func__modfl" = x""yes; then :
26069 cat >>confdefs.h <<_ACEOF
26070 #define HAVE__MODFL 1
26071 _ACEOF
26074 done
26083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
26084 $as_echo_n "checking for powl declaration... " >&6; }
26085 if test x${glibcxx_cv_func_powl_use+set} != xset; then
26086 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
26087 $as_echo_n "(cached) " >&6
26088 else
26091 ac_ext=cpp
26092 ac_cpp='$CXXCPP $CPPFLAGS'
26093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26098 /* end confdefs.h. */
26099 #include <math.h>
26101 main ()
26103 powl(0, 0);
26105 return 0;
26107 _ACEOF
26108 if ac_fn_cxx_try_compile "$LINENO"; then :
26109 glibcxx_cv_func_powl_use=yes
26110 else
26111 glibcxx_cv_func_powl_use=no
26113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26114 ac_ext=c
26115 ac_cpp='$CPP $CPPFLAGS'
26116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
26125 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
26127 if test x$glibcxx_cv_func_powl_use = x"yes"; then
26128 for ac_func in powl
26129 do :
26130 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
26131 if test "x$ac_cv_func_powl" = x""yes; then :
26132 cat >>confdefs.h <<_ACEOF
26133 #define HAVE_POWL 1
26134 _ACEOF
26137 done
26139 else
26141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
26142 $as_echo_n "checking for _powl declaration... " >&6; }
26143 if test x${glibcxx_cv_func__powl_use+set} != xset; then
26144 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
26145 $as_echo_n "(cached) " >&6
26146 else
26149 ac_ext=cpp
26150 ac_cpp='$CXXCPP $CPPFLAGS'
26151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26156 /* end confdefs.h. */
26157 #include <math.h>
26159 main ()
26161 _powl(0, 0);
26163 return 0;
26165 _ACEOF
26166 if ac_fn_cxx_try_compile "$LINENO"; then :
26167 glibcxx_cv_func__powl_use=yes
26168 else
26169 glibcxx_cv_func__powl_use=no
26171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26172 ac_ext=c
26173 ac_cpp='$CPP $CPPFLAGS'
26174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
26183 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
26185 if test x$glibcxx_cv_func__powl_use = x"yes"; then
26186 for ac_func in _powl
26187 do :
26188 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
26189 if test "x$ac_cv_func__powl" = x""yes; then :
26190 cat >>confdefs.h <<_ACEOF
26191 #define HAVE__POWL 1
26192 _ACEOF
26195 done
26204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
26205 $as_echo_n "checking for sqrtl declaration... " >&6; }
26206 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
26207 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
26208 $as_echo_n "(cached) " >&6
26209 else
26212 ac_ext=cpp
26213 ac_cpp='$CXXCPP $CPPFLAGS'
26214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26219 /* end confdefs.h. */
26220 #include <math.h>
26221 #ifdef HAVE_IEEEFP_H
26222 #include <ieeefp.h>
26223 #endif
26226 main ()
26228 sqrtl(0);
26230 return 0;
26232 _ACEOF
26233 if ac_fn_cxx_try_compile "$LINENO"; then :
26234 glibcxx_cv_func_sqrtl_use=yes
26235 else
26236 glibcxx_cv_func_sqrtl_use=no
26238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26239 ac_ext=c
26240 ac_cpp='$CPP $CPPFLAGS'
26241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
26250 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
26252 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
26253 for ac_func in sqrtl
26254 do :
26255 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
26256 if test "x$ac_cv_func_sqrtl" = x""yes; then :
26257 cat >>confdefs.h <<_ACEOF
26258 #define HAVE_SQRTL 1
26259 _ACEOF
26262 done
26264 else
26266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
26267 $as_echo_n "checking for _sqrtl declaration... " >&6; }
26268 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
26269 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
26270 $as_echo_n "(cached) " >&6
26271 else
26274 ac_ext=cpp
26275 ac_cpp='$CXXCPP $CPPFLAGS'
26276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26281 /* end confdefs.h. */
26282 #include <math.h>
26283 #ifdef HAVE_IEEEFP_H
26284 #include <ieeefp.h>
26285 #endif
26288 main ()
26290 _sqrtl(0);
26292 return 0;
26294 _ACEOF
26295 if ac_fn_cxx_try_compile "$LINENO"; then :
26296 glibcxx_cv_func__sqrtl_use=yes
26297 else
26298 glibcxx_cv_func__sqrtl_use=no
26300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26301 ac_ext=c
26302 ac_cpp='$CPP $CPPFLAGS'
26303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
26312 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
26314 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
26315 for ac_func in _sqrtl
26316 do :
26317 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
26318 if test "x$ac_cv_func__sqrtl" = x""yes; then :
26319 cat >>confdefs.h <<_ACEOF
26320 #define HAVE__SQRTL 1
26321 _ACEOF
26324 done
26333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
26334 $as_echo_n "checking for sincosl declaration... " >&6; }
26335 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
26336 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
26337 $as_echo_n "(cached) " >&6
26338 else
26341 ac_ext=cpp
26342 ac_cpp='$CXXCPP $CPPFLAGS'
26343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26348 /* end confdefs.h. */
26349 #include <math.h>
26351 main ()
26353 sincosl(0, 0, 0);
26355 return 0;
26357 _ACEOF
26358 if ac_fn_cxx_try_compile "$LINENO"; then :
26359 glibcxx_cv_func_sincosl_use=yes
26360 else
26361 glibcxx_cv_func_sincosl_use=no
26363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26364 ac_ext=c
26365 ac_cpp='$CPP $CPPFLAGS'
26366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
26375 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
26377 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
26378 for ac_func in sincosl
26379 do :
26380 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
26381 if test "x$ac_cv_func_sincosl" = x""yes; then :
26382 cat >>confdefs.h <<_ACEOF
26383 #define HAVE_SINCOSL 1
26384 _ACEOF
26387 done
26389 else
26391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
26392 $as_echo_n "checking for _sincosl declaration... " >&6; }
26393 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
26394 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
26395 $as_echo_n "(cached) " >&6
26396 else
26399 ac_ext=cpp
26400 ac_cpp='$CXXCPP $CPPFLAGS'
26401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26406 /* end confdefs.h. */
26407 #include <math.h>
26409 main ()
26411 _sincosl(0, 0, 0);
26413 return 0;
26415 _ACEOF
26416 if ac_fn_cxx_try_compile "$LINENO"; then :
26417 glibcxx_cv_func__sincosl_use=yes
26418 else
26419 glibcxx_cv_func__sincosl_use=no
26421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26422 ac_ext=c
26423 ac_cpp='$CPP $CPPFLAGS'
26424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
26433 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
26435 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
26436 for ac_func in _sincosl
26437 do :
26438 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
26439 if test "x$ac_cv_func__sincosl" = x""yes; then :
26440 cat >>confdefs.h <<_ACEOF
26441 #define HAVE__SINCOSL 1
26442 _ACEOF
26445 done
26454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
26455 $as_echo_n "checking for finitel declaration... " >&6; }
26456 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
26457 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
26458 $as_echo_n "(cached) " >&6
26459 else
26462 ac_ext=cpp
26463 ac_cpp='$CXXCPP $CPPFLAGS'
26464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26469 /* end confdefs.h. */
26470 #include <math.h>
26471 #ifdef HAVE_IEEEFP_H
26472 #include <ieeefp.h>
26473 #endif
26476 main ()
26478 finitel(0);
26480 return 0;
26482 _ACEOF
26483 if ac_fn_cxx_try_compile "$LINENO"; then :
26484 glibcxx_cv_func_finitel_use=yes
26485 else
26486 glibcxx_cv_func_finitel_use=no
26488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26489 ac_ext=c
26490 ac_cpp='$CPP $CPPFLAGS'
26491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
26500 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
26502 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
26503 for ac_func in finitel
26504 do :
26505 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
26506 if test "x$ac_cv_func_finitel" = x""yes; then :
26507 cat >>confdefs.h <<_ACEOF
26508 #define HAVE_FINITEL 1
26509 _ACEOF
26512 done
26514 else
26516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
26517 $as_echo_n "checking for _finitel declaration... " >&6; }
26518 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
26519 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
26520 $as_echo_n "(cached) " >&6
26521 else
26524 ac_ext=cpp
26525 ac_cpp='$CXXCPP $CPPFLAGS'
26526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26531 /* end confdefs.h. */
26532 #include <math.h>
26533 #ifdef HAVE_IEEEFP_H
26534 #include <ieeefp.h>
26535 #endif
26538 main ()
26540 _finitel(0);
26542 return 0;
26544 _ACEOF
26545 if ac_fn_cxx_try_compile "$LINENO"; then :
26546 glibcxx_cv_func__finitel_use=yes
26547 else
26548 glibcxx_cv_func__finitel_use=no
26550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26551 ac_ext=c
26552 ac_cpp='$CPP $CPPFLAGS'
26553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
26562 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
26564 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
26565 for ac_func in _finitel
26566 do :
26567 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
26568 if test "x$ac_cv_func__finitel" = x""yes; then :
26569 cat >>confdefs.h <<_ACEOF
26570 #define HAVE__FINITEL 1
26571 _ACEOF
26574 done
26582 LIBS="$ac_save_LIBS"
26583 CXXFLAGS="$ac_save_CXXFLAGS"
26586 ac_test_CXXFLAGS="${CXXFLAGS+set}"
26587 ac_save_CXXFLAGS="$CXXFLAGS"
26588 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
26591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
26592 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
26593 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
26594 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
26595 $as_echo_n "(cached) " >&6
26596 else
26599 ac_ext=cpp
26600 ac_cpp='$CXXCPP $CPPFLAGS'
26601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26606 /* end confdefs.h. */
26607 #include <stdlib.h>
26609 main ()
26611 at_quick_exit(0);
26613 return 0;
26615 _ACEOF
26616 if ac_fn_cxx_try_compile "$LINENO"; then :
26617 glibcxx_cv_func_at_quick_exit_use=yes
26618 else
26619 glibcxx_cv_func_at_quick_exit_use=no
26621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26622 ac_ext=c
26623 ac_cpp='$CPP $CPPFLAGS'
26624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
26633 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
26634 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
26635 for ac_func in at_quick_exit
26636 do :
26637 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
26638 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
26639 cat >>confdefs.h <<_ACEOF
26640 #define HAVE_AT_QUICK_EXIT 1
26641 _ACEOF
26644 done
26649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
26650 $as_echo_n "checking for quick_exit declaration... " >&6; }
26651 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
26652 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
26653 $as_echo_n "(cached) " >&6
26654 else
26657 ac_ext=cpp
26658 ac_cpp='$CXXCPP $CPPFLAGS'
26659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26664 /* end confdefs.h. */
26665 #include <stdlib.h>
26667 main ()
26669 quick_exit(0);
26671 return 0;
26673 _ACEOF
26674 if ac_fn_cxx_try_compile "$LINENO"; then :
26675 glibcxx_cv_func_quick_exit_use=yes
26676 else
26677 glibcxx_cv_func_quick_exit_use=no
26679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26680 ac_ext=c
26681 ac_cpp='$CPP $CPPFLAGS'
26682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
26691 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
26692 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
26693 for ac_func in quick_exit
26694 do :
26695 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
26696 if test "x$ac_cv_func_quick_exit" = x""yes; then :
26697 cat >>confdefs.h <<_ACEOF
26698 #define HAVE_QUICK_EXIT 1
26699 _ACEOF
26702 done
26707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
26708 $as_echo_n "checking for strtold declaration... " >&6; }
26709 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
26710 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
26711 $as_echo_n "(cached) " >&6
26712 else
26715 ac_ext=cpp
26716 ac_cpp='$CXXCPP $CPPFLAGS'
26717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26722 /* end confdefs.h. */
26723 #include <stdlib.h>
26725 main ()
26727 strtold(0, 0);
26729 return 0;
26731 _ACEOF
26732 if ac_fn_cxx_try_compile "$LINENO"; then :
26733 glibcxx_cv_func_strtold_use=yes
26734 else
26735 glibcxx_cv_func_strtold_use=no
26737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26738 ac_ext=c
26739 ac_cpp='$CPP $CPPFLAGS'
26740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
26749 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
26750 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
26751 for ac_func in strtold
26752 do :
26753 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
26754 if test "x$ac_cv_func_strtold" = x""yes; then :
26755 cat >>confdefs.h <<_ACEOF
26756 #define HAVE_STRTOLD 1
26757 _ACEOF
26760 done
26767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
26768 $as_echo_n "checking for strtof declaration... " >&6; }
26769 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
26770 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
26771 $as_echo_n "(cached) " >&6
26772 else
26775 ac_ext=cpp
26776 ac_cpp='$CXXCPP $CPPFLAGS'
26777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26782 /* end confdefs.h. */
26783 #include <stdlib.h>
26785 main ()
26787 strtof(0, 0);
26789 return 0;
26791 _ACEOF
26792 if ac_fn_cxx_try_compile "$LINENO"; then :
26793 glibcxx_cv_func_strtof_use=yes
26794 else
26795 glibcxx_cv_func_strtof_use=no
26797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26798 ac_ext=c
26799 ac_cpp='$CPP $CPPFLAGS'
26800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
26809 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
26810 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
26811 for ac_func in strtof
26812 do :
26813 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
26814 if test "x$ac_cv_func_strtof" = x""yes; then :
26815 cat >>confdefs.h <<_ACEOF
26816 #define HAVE_STRTOF 1
26817 _ACEOF
26820 done
26827 CXXFLAGS="$ac_save_CXXFLAGS"
26830 # For /dev/random and /dev/urandom for TR1.
26833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
26834 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... " >&6; }
26835 if test "${glibcxx_cv_random_tr1+set}" = set; then :
26836 $as_echo_n "(cached) " >&6
26837 else
26839 if test -r /dev/random && test -r /dev/urandom; then
26840 ## For MSys environment the test above is detect as false-positive
26841 ## on mingw-targets. So disable it explicit for them.
26842 case ${target_os} in
26843 *mingw*) glibcxx_cv_random_tr1=no ;;
26844 *) glibcxx_cv_random_tr1=yes ;;
26845 esac
26846 else
26847 glibcxx_cv_random_tr1=no;
26852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_random_tr1" >&5
26853 $as_echo "$glibcxx_cv_random_tr1" >&6; }
26855 if test x"$glibcxx_cv_random_tr1" = x"yes"; then
26857 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
26863 # For TLS support.
26866 # Check whether --enable-tls was given.
26867 if test "${enable_tls+set}" = set; then :
26868 enableval=$enable_tls;
26869 case "$enableval" in
26870 yes|no) ;;
26871 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
26872 esac
26874 else
26875 enable_tls=yes
26879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
26880 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
26881 if test "${gcc_cv_have_tls+set}" = set; then :
26882 $as_echo_n "(cached) " >&6
26883 else
26885 if test "$cross_compiling" = yes; then :
26886 if test x$gcc_no_link = xyes; then
26887 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26890 /* end confdefs.h. */
26891 __thread int a; int b; int main() { return a = b; }
26892 _ACEOF
26893 if ac_fn_c_try_link "$LINENO"; then :
26894 chktls_save_LDFLAGS="$LDFLAGS"
26895 case $host in
26896 *-*-linux*)
26897 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
26899 esac
26900 chktls_save_CFLAGS="$CFLAGS"
26901 CFLAGS="-fPIC $CFLAGS"
26902 if test x$gcc_no_link = xyes; then
26903 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26906 /* end confdefs.h. */
26907 int f() { return 0; }
26908 _ACEOF
26909 if ac_fn_c_try_link "$LINENO"; then :
26910 if test x$gcc_no_link = xyes; then
26911 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26914 /* end confdefs.h. */
26915 __thread int a; int b; int f() { return a = b; }
26916 _ACEOF
26917 if ac_fn_c_try_link "$LINENO"; then :
26918 gcc_cv_have_tls=yes
26919 else
26920 gcc_cv_have_tls=no
26922 rm -f core conftest.err conftest.$ac_objext \
26923 conftest$ac_exeext conftest.$ac_ext
26924 else
26925 gcc_cv_have_tls=yes
26927 rm -f core conftest.err conftest.$ac_objext \
26928 conftest$ac_exeext conftest.$ac_ext
26929 CFLAGS="$chktls_save_CFLAGS"
26930 LDFLAGS="$chktls_save_LDFLAGS"
26931 else
26932 gcc_cv_have_tls=no
26934 rm -f core conftest.err conftest.$ac_objext \
26935 conftest$ac_exeext conftest.$ac_ext
26938 else
26939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26940 /* end confdefs.h. */
26941 __thread int a; int b; int main() { return a = b; }
26942 _ACEOF
26943 if ac_fn_c_try_run "$LINENO"; then :
26944 chktls_save_LDFLAGS="$LDFLAGS"
26945 LDFLAGS="-static $LDFLAGS"
26946 if test x$gcc_no_link = xyes; then
26947 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26950 /* end confdefs.h. */
26951 int main() { return 0; }
26952 _ACEOF
26953 if ac_fn_c_try_link "$LINENO"; then :
26954 if test "$cross_compiling" = yes; then :
26955 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26956 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26957 as_fn_error "cannot run test program while cross compiling
26958 See \`config.log' for more details." "$LINENO" 5; }
26959 else
26960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26961 /* end confdefs.h. */
26962 __thread int a; int b; int main() { return a = b; }
26963 _ACEOF
26964 if ac_fn_c_try_run "$LINENO"; then :
26965 gcc_cv_have_tls=yes
26966 else
26967 gcc_cv_have_tls=no
26969 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26970 conftest.$ac_objext conftest.beam conftest.$ac_ext
26973 else
26974 gcc_cv_have_tls=yes
26976 rm -f core conftest.err conftest.$ac_objext \
26977 conftest$ac_exeext conftest.$ac_ext
26978 LDFLAGS="$chktls_save_LDFLAGS"
26979 if test $gcc_cv_have_tls = yes; then
26980 chktls_save_CFLAGS="$CFLAGS"
26981 thread_CFLAGS=failed
26982 for flag in '' '-pthread' '-lpthread'; do
26983 CFLAGS="$flag $chktls_save_CFLAGS"
26984 if test x$gcc_no_link = xyes; then
26985 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26988 /* end confdefs.h. */
26989 #include <pthread.h>
26990 void *g(void *d) { return NULL; }
26992 main ()
26994 pthread_t t; pthread_create(&t,NULL,g,NULL);
26996 return 0;
26998 _ACEOF
26999 if ac_fn_c_try_link "$LINENO"; then :
27000 thread_CFLAGS="$flag"
27002 rm -f core conftest.err conftest.$ac_objext \
27003 conftest$ac_exeext conftest.$ac_ext
27004 if test "X$thread_CFLAGS" != Xfailed; then
27005 break
27007 done
27008 CFLAGS="$chktls_save_CFLAGS"
27009 if test "X$thread_CFLAGS" != Xfailed; then
27010 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
27011 if test "$cross_compiling" = yes; then :
27012 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
27013 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
27014 as_fn_error "cannot run test program while cross compiling
27015 See \`config.log' for more details." "$LINENO" 5; }
27016 else
27017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27018 /* end confdefs.h. */
27019 #include <pthread.h>
27020 __thread int a;
27021 static int *volatile a_in_other_thread;
27022 static void *
27023 thread_func (void *arg)
27025 a_in_other_thread = &a;
27026 return (void *)0;
27029 main ()
27031 pthread_t thread;
27032 void *thread_retval;
27033 int *volatile a_in_main_thread;
27034 a_in_main_thread = &a;
27035 if (pthread_create (&thread, (pthread_attr_t *)0,
27036 thread_func, (void *)0))
27037 return 0;
27038 if (pthread_join (thread, &thread_retval))
27039 return 0;
27040 return (a_in_other_thread == a_in_main_thread);
27042 return 0;
27044 _ACEOF
27045 if ac_fn_c_try_run "$LINENO"; then :
27046 gcc_cv_have_tls=yes
27047 else
27048 gcc_cv_have_tls=no
27050 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
27051 conftest.$ac_objext conftest.beam conftest.$ac_ext
27054 CFLAGS="$chktls_save_CFLAGS"
27057 else
27058 gcc_cv_have_tls=no
27060 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
27061 conftest.$ac_objext conftest.beam conftest.$ac_ext
27065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
27066 $as_echo "$gcc_cv_have_tls" >&6; }
27067 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
27069 $as_echo "#define HAVE_TLS 1" >>confdefs.h
27073 for ac_func in __cxa_thread_atexit_impl
27074 do :
27075 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit_impl" "ac_cv_func___cxa_thread_atexit_impl"
27076 if test "x$ac_cv_func___cxa_thread_atexit_impl" = x""yes; then :
27077 cat >>confdefs.h <<_ACEOF
27078 #define HAVE___CXA_THREAD_ATEXIT_IMPL 1
27079 _ACEOF
27082 done
27085 # For iconv support.
27087 if test "X$prefix" = "XNONE"; then
27088 acl_final_prefix="$ac_default_prefix"
27089 else
27090 acl_final_prefix="$prefix"
27092 if test "X$exec_prefix" = "XNONE"; then
27093 acl_final_exec_prefix='${prefix}'
27094 else
27095 acl_final_exec_prefix="$exec_prefix"
27097 acl_save_prefix="$prefix"
27098 prefix="$acl_final_prefix"
27099 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
27100 prefix="$acl_save_prefix"
27103 # Check whether --with-gnu-ld was given.
27104 if test "${with_gnu_ld+set}" = set; then :
27105 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
27106 else
27107 with_gnu_ld=no
27110 # Prepare PATH_SEPARATOR.
27111 # The user is always right.
27112 if test "${PATH_SEPARATOR+set}" != set; then
27113 echo "#! /bin/sh" >conf$$.sh
27114 echo "exit 0" >>conf$$.sh
27115 chmod +x conf$$.sh
27116 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
27117 PATH_SEPARATOR=';'
27118 else
27119 PATH_SEPARATOR=:
27121 rm -f conf$$.sh
27123 ac_prog=ld
27124 if test "$GCC" = yes; then
27125 # Check if gcc -print-prog-name=ld gives a path.
27126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
27127 $as_echo_n "checking for ld used by GCC... " >&6; }
27128 case $host in
27129 *-*-mingw*)
27130 # gcc leaves a trailing carriage return which upsets mingw
27131 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
27133 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
27134 esac
27135 case $ac_prog in
27136 # Accept absolute paths.
27137 [\\/]* | [A-Za-z]:[\\/]*)
27138 re_direlt='/[^/][^/]*/\.\./'
27139 # Canonicalize the path of ld
27140 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
27141 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
27142 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
27143 done
27144 test -z "$LD" && LD="$ac_prog"
27147 # If it fails, then pretend we aren't using GCC.
27148 ac_prog=ld
27151 # If it is relative, then search for the first ld in PATH.
27152 with_gnu_ld=unknown
27154 esac
27155 elif test "$with_gnu_ld" = yes; then
27156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
27157 $as_echo_n "checking for GNU ld... " >&6; }
27158 else
27159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
27160 $as_echo_n "checking for non-GNU ld... " >&6; }
27162 if test "${acl_cv_path_LD+set}" = set; then :
27163 $as_echo_n "(cached) " >&6
27164 else
27165 if test -z "$LD"; then
27166 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
27167 for ac_dir in $PATH; do
27168 test -z "$ac_dir" && ac_dir=.
27169 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
27170 acl_cv_path_LD="$ac_dir/$ac_prog"
27171 # Check to see if the program is GNU ld. I'd rather use --version,
27172 # but apparently some GNU ld's only accept -v.
27173 # Break only if it was the GNU/non-GNU ld that we prefer.
27174 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
27175 test "$with_gnu_ld" != no && break
27176 else
27177 test "$with_gnu_ld" != yes && break
27180 done
27181 IFS="$ac_save_ifs"
27182 else
27183 acl_cv_path_LD="$LD" # Let the user override the test with a path.
27187 LD="$acl_cv_path_LD"
27188 if test -n "$LD"; then
27189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
27190 $as_echo "$LD" >&6; }
27191 else
27192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27193 $as_echo "no" >&6; }
27195 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
27196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
27197 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
27198 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
27199 $as_echo_n "(cached) " >&6
27200 else
27201 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
27202 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
27203 acl_cv_prog_gnu_ld=yes
27204 else
27205 acl_cv_prog_gnu_ld=no
27208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
27209 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
27210 with_gnu_ld=$acl_cv_prog_gnu_ld
27214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
27215 $as_echo_n "checking for shared library run path origin... " >&6; }
27216 if test "${acl_cv_rpath+set}" = set; then :
27217 $as_echo_n "(cached) " >&6
27218 else
27220 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
27221 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
27222 . ./conftest.sh
27223 rm -f ./conftest.sh
27224 acl_cv_rpath=done
27227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
27228 $as_echo "$acl_cv_rpath" >&6; }
27229 wl="$acl_cv_wl"
27230 libext="$acl_cv_libext"
27231 shlibext="$acl_cv_shlibext"
27232 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
27233 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
27234 hardcode_direct="$acl_cv_hardcode_direct"
27235 hardcode_minus_L="$acl_cv_hardcode_minus_L"
27236 # Check whether --enable-rpath was given.
27237 if test "${enable_rpath+set}" = set; then :
27238 enableval=$enable_rpath; :
27239 else
27240 enable_rpath=yes
27250 use_additional=yes
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"
27264 # Check whether --with-libiconv-prefix was given.
27265 if test "${with_libiconv_prefix+set}" = set; then :
27266 withval=$with_libiconv_prefix;
27267 if test "X$withval" = "Xno"; then
27268 use_additional=no
27269 else
27270 if test "X$withval" = "X"; then
27272 acl_save_prefix="$prefix"
27273 prefix="$acl_final_prefix"
27274 acl_save_exec_prefix="$exec_prefix"
27275 exec_prefix="$acl_final_exec_prefix"
27277 eval additional_includedir=\"$includedir\"
27278 eval additional_libdir=\"$libdir\"
27280 exec_prefix="$acl_save_exec_prefix"
27281 prefix="$acl_save_prefix"
27283 else
27284 additional_includedir="$withval/include"
27285 additional_libdir="$withval/lib"
27291 LIBICONV=
27292 LTLIBICONV=
27293 INCICONV=
27294 rpathdirs=
27295 ltrpathdirs=
27296 names_already_handled=
27297 names_next_round='iconv '
27298 while test -n "$names_next_round"; do
27299 names_this_round="$names_next_round"
27300 names_next_round=
27301 for name in $names_this_round; do
27302 already_handled=
27303 for n in $names_already_handled; do
27304 if test "$n" = "$name"; then
27305 already_handled=yes
27306 break
27308 done
27309 if test -z "$already_handled"; then
27310 names_already_handled="$names_already_handled $name"
27311 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
27312 eval value=\"\$HAVE_LIB$uppername\"
27313 if test -n "$value"; then
27314 if test "$value" = yes; then
27315 eval value=\"\$LIB$uppername\"
27316 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
27317 eval value=\"\$LTLIB$uppername\"
27318 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
27319 else
27322 else
27323 found_dir=
27324 found_la=
27325 found_so=
27326 found_a=
27327 if test $use_additional = yes; then
27328 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
27329 found_dir="$additional_libdir"
27330 found_so="$additional_libdir/lib$name.$shlibext"
27331 if test -f "$additional_libdir/lib$name.la"; then
27332 found_la="$additional_libdir/lib$name.la"
27334 else
27335 if test -f "$additional_libdir/lib$name.$libext"; then
27336 found_dir="$additional_libdir"
27337 found_a="$additional_libdir/lib$name.$libext"
27338 if test -f "$additional_libdir/lib$name.la"; then
27339 found_la="$additional_libdir/lib$name.la"
27344 if test "X$found_dir" = "X"; then
27345 for x in $LDFLAGS $LTLIBICONV; do
27347 acl_save_prefix="$prefix"
27348 prefix="$acl_final_prefix"
27349 acl_save_exec_prefix="$exec_prefix"
27350 exec_prefix="$acl_final_exec_prefix"
27351 eval x=\"$x\"
27352 exec_prefix="$acl_save_exec_prefix"
27353 prefix="$acl_save_prefix"
27355 case "$x" in
27356 -L*)
27357 dir=`echo "X$x" | sed -e 's/^X-L//'`
27358 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
27359 found_dir="$dir"
27360 found_so="$dir/lib$name.$shlibext"
27361 if test -f "$dir/lib$name.la"; then
27362 found_la="$dir/lib$name.la"
27364 else
27365 if test -f "$dir/lib$name.$libext"; then
27366 found_dir="$dir"
27367 found_a="$dir/lib$name.$libext"
27368 if test -f "$dir/lib$name.la"; then
27369 found_la="$dir/lib$name.la"
27374 esac
27375 if test "X$found_dir" != "X"; then
27376 break
27378 done
27380 if test "X$found_dir" != "X"; then
27381 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
27382 if test "X$found_so" != "X"; then
27383 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
27384 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27385 else
27386 haveit=
27387 for x in $ltrpathdirs; do
27388 if test "X$x" = "X$found_dir"; then
27389 haveit=yes
27390 break
27392 done
27393 if test -z "$haveit"; then
27394 ltrpathdirs="$ltrpathdirs $found_dir"
27396 if test "$hardcode_direct" = yes; then
27397 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27398 else
27399 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
27400 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27401 haveit=
27402 for x in $rpathdirs; do
27403 if test "X$x" = "X$found_dir"; then
27404 haveit=yes
27405 break
27407 done
27408 if test -z "$haveit"; then
27409 rpathdirs="$rpathdirs $found_dir"
27411 else
27412 haveit=
27413 for x in $LDFLAGS $LIBICONV; do
27415 acl_save_prefix="$prefix"
27416 prefix="$acl_final_prefix"
27417 acl_save_exec_prefix="$exec_prefix"
27418 exec_prefix="$acl_final_exec_prefix"
27419 eval x=\"$x\"
27420 exec_prefix="$acl_save_exec_prefix"
27421 prefix="$acl_save_prefix"
27423 if test "X$x" = "X-L$found_dir"; then
27424 haveit=yes
27425 break
27427 done
27428 if test -z "$haveit"; then
27429 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
27431 if test "$hardcode_minus_L" != no; then
27432 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27433 else
27434 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
27439 else
27440 if test "X$found_a" != "X"; then
27441 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
27442 else
27443 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
27446 additional_includedir=
27447 case "$found_dir" in
27448 */lib | */lib/)
27449 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
27450 additional_includedir="$basedir/include"
27452 esac
27453 if test "X$additional_includedir" != "X"; then
27454 if test "X$additional_includedir" != "X/usr/include"; then
27455 haveit=
27456 if test "X$additional_includedir" = "X/usr/local/include"; then
27457 if test -n "$GCC"; then
27458 case $host_os in
27459 linux*) haveit=yes;;
27460 esac
27463 if test -z "$haveit"; then
27464 for x in $CPPFLAGS $INCICONV; do
27466 acl_save_prefix="$prefix"
27467 prefix="$acl_final_prefix"
27468 acl_save_exec_prefix="$exec_prefix"
27469 exec_prefix="$acl_final_exec_prefix"
27470 eval x=\"$x\"
27471 exec_prefix="$acl_save_exec_prefix"
27472 prefix="$acl_save_prefix"
27474 if test "X$x" = "X-I$additional_includedir"; then
27475 haveit=yes
27476 break
27478 done
27479 if test -z "$haveit"; then
27480 if test -d "$additional_includedir"; then
27481 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
27487 if test -n "$found_la"; then
27488 save_libdir="$libdir"
27489 case "$found_la" in
27490 */* | *\\*) . "$found_la" ;;
27491 *) . "./$found_la" ;;
27492 esac
27493 libdir="$save_libdir"
27494 for dep in $dependency_libs; do
27495 case "$dep" in
27496 -L*)
27497 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
27498 if test "X$additional_libdir" != "X/usr/lib"; then
27499 haveit=
27500 if test "X$additional_libdir" = "X/usr/local/lib"; then
27501 if test -n "$GCC"; then
27502 case $host_os in
27503 linux*) haveit=yes;;
27504 esac
27507 if test -z "$haveit"; then
27508 haveit=
27509 for x in $LDFLAGS $LIBICONV; do
27511 acl_save_prefix="$prefix"
27512 prefix="$acl_final_prefix"
27513 acl_save_exec_prefix="$exec_prefix"
27514 exec_prefix="$acl_final_exec_prefix"
27515 eval x=\"$x\"
27516 exec_prefix="$acl_save_exec_prefix"
27517 prefix="$acl_save_prefix"
27519 if test "X$x" = "X-L$additional_libdir"; then
27520 haveit=yes
27521 break
27523 done
27524 if test -z "$haveit"; then
27525 if test -d "$additional_libdir"; then
27526 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
27529 haveit=
27530 for x in $LDFLAGS $LTLIBICONV; do
27532 acl_save_prefix="$prefix"
27533 prefix="$acl_final_prefix"
27534 acl_save_exec_prefix="$exec_prefix"
27535 exec_prefix="$acl_final_exec_prefix"
27536 eval x=\"$x\"
27537 exec_prefix="$acl_save_exec_prefix"
27538 prefix="$acl_save_prefix"
27540 if test "X$x" = "X-L$additional_libdir"; then
27541 haveit=yes
27542 break
27544 done
27545 if test -z "$haveit"; then
27546 if test -d "$additional_libdir"; then
27547 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
27553 -R*)
27554 dir=`echo "X$dep" | sed -e 's/^X-R//'`
27555 if test "$enable_rpath" != no; then
27556 haveit=
27557 for x in $rpathdirs; do
27558 if test "X$x" = "X$dir"; then
27559 haveit=yes
27560 break
27562 done
27563 if test -z "$haveit"; then
27564 rpathdirs="$rpathdirs $dir"
27566 haveit=
27567 for x in $ltrpathdirs; do
27568 if test "X$x" = "X$dir"; then
27569 haveit=yes
27570 break
27572 done
27573 if test -z "$haveit"; then
27574 ltrpathdirs="$ltrpathdirs $dir"
27578 -l*)
27579 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
27581 *.la)
27582 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
27585 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
27586 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
27588 esac
27589 done
27591 else
27592 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
27593 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
27597 done
27598 done
27599 if test "X$rpathdirs" != "X"; then
27600 if test -n "$hardcode_libdir_separator"; then
27601 alldirs=
27602 for found_dir in $rpathdirs; do
27603 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
27604 done
27605 acl_save_libdir="$libdir"
27606 libdir="$alldirs"
27607 eval flag=\"$hardcode_libdir_flag_spec\"
27608 libdir="$acl_save_libdir"
27609 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
27610 else
27611 for found_dir in $rpathdirs; do
27612 acl_save_libdir="$libdir"
27613 libdir="$found_dir"
27614 eval flag=\"$hardcode_libdir_flag_spec\"
27615 libdir="$acl_save_libdir"
27616 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
27617 done
27620 if test "X$ltrpathdirs" != "X"; then
27621 for found_dir in $ltrpathdirs; do
27622 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
27623 done
27632 am_save_CPPFLAGS="$CPPFLAGS"
27634 for element in $INCICONV; do
27635 haveit=
27636 for x in $CPPFLAGS; do
27638 acl_save_prefix="$prefix"
27639 prefix="$acl_final_prefix"
27640 acl_save_exec_prefix="$exec_prefix"
27641 exec_prefix="$acl_final_exec_prefix"
27642 eval x=\"$x\"
27643 exec_prefix="$acl_save_exec_prefix"
27644 prefix="$acl_save_prefix"
27646 if test "X$x" = "X$element"; then
27647 haveit=yes
27648 break
27650 done
27651 if test -z "$haveit"; then
27652 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
27654 done
27657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
27658 $as_echo_n "checking for iconv... " >&6; }
27659 if test "${am_cv_func_iconv+set}" = set; then :
27660 $as_echo_n "(cached) " >&6
27661 else
27663 am_cv_func_iconv="no, consider installing GNU libiconv"
27664 am_cv_lib_iconv=no
27665 if test x$gcc_no_link = xyes; then
27666 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27669 /* end confdefs.h. */
27670 #include <stdlib.h>
27671 #include <iconv.h>
27673 main ()
27675 iconv_t cd = iconv_open("","");
27676 iconv(cd,NULL,NULL,NULL,NULL);
27677 iconv_close(cd);
27679 return 0;
27681 _ACEOF
27682 if ac_fn_c_try_link "$LINENO"; then :
27683 am_cv_func_iconv=yes
27685 rm -f core conftest.err conftest.$ac_objext \
27686 conftest$ac_exeext conftest.$ac_ext
27687 if test "$am_cv_func_iconv" != yes; then
27688 am_save_LIBS="$LIBS"
27689 LIBS="$LIBS $LIBICONV"
27690 if test x$gcc_no_link = xyes; then
27691 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27694 /* end confdefs.h. */
27695 #include <stdlib.h>
27696 #include <iconv.h>
27698 main ()
27700 iconv_t cd = iconv_open("","");
27701 iconv(cd,NULL,NULL,NULL,NULL);
27702 iconv_close(cd);
27704 return 0;
27706 _ACEOF
27707 if ac_fn_c_try_link "$LINENO"; then :
27708 am_cv_lib_iconv=yes
27709 am_cv_func_iconv=yes
27711 rm -f core conftest.err conftest.$ac_objext \
27712 conftest$ac_exeext conftest.$ac_ext
27713 LIBS="$am_save_LIBS"
27717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
27718 $as_echo "$am_cv_func_iconv" >&6; }
27719 if test "$am_cv_func_iconv" = yes; then
27721 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27724 if test "$am_cv_lib_iconv" = yes; then
27725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
27726 $as_echo_n "checking how to link with libiconv... " >&6; }
27727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
27728 $as_echo "$LIBICONV" >&6; }
27729 else
27730 CPPFLAGS="$am_save_CPPFLAGS"
27731 LIBICONV=
27732 LTLIBICONV=
27737 if test "$am_cv_func_iconv" = yes; then
27738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
27739 $as_echo_n "checking for iconv declaration... " >&6; }
27740 if test "${am_cv_proto_iconv+set}" = set; then :
27741 $as_echo_n "(cached) " >&6
27742 else
27744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27745 /* end confdefs.h. */
27747 #include <stdlib.h>
27748 #include <iconv.h>
27749 extern
27750 #ifdef __cplusplus
27752 #endif
27753 #if defined(__STDC__) || defined(__cplusplus)
27754 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
27755 #else
27756 size_t iconv();
27757 #endif
27760 main ()
27764 return 0;
27766 _ACEOF
27767 if ac_fn_c_try_compile "$LINENO"; then :
27768 am_cv_proto_iconv_arg1=""
27769 else
27770 am_cv_proto_iconv_arg1="const"
27772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27773 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);"
27776 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
27777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
27778 }$am_cv_proto_iconv" >&5
27779 $as_echo "${ac_t:-
27780 }$am_cv_proto_iconv" >&6; }
27782 cat >>confdefs.h <<_ACEOF
27783 #define ICONV_CONST $am_cv_proto_iconv_arg1
27784 _ACEOF
27789 else
27791 # This lets us hard-code the functionality we know we'll have in the cross
27792 # target environment. "Let" is a sugar-coated word placed on an especially
27793 # dull and tedious hack, actually.
27795 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
27796 # that involve linking, can't be used:
27797 # "cannot open sim-crt0.o"
27798 # "cannot open crt0.o"
27799 # etc. All this is because there currently exists no unified, consistent
27800 # way for top level CC information to be passed down to target directories:
27801 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
27802 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
27803 # crosses can be removed.
27805 # If Canadian cross, then don't pick up tools from the build directory.
27806 # Used only in GLIBCXX_EXPORT_INCLUDES.
27807 if test -n "$with_cross_host" &&
27808 test x"$build_alias" != x"$with_cross_host" &&
27809 test x"$build" != x"$target";
27810 then
27811 CANADIAN=yes
27812 else
27813 CANADIAN=no
27816 # Construct crosses by hand, eliminating bits that need ld...
27817 # GLIBCXX_CHECK_MATH_SUPPORT
27819 # First, test for "known" system libraries. We may be using newlib even
27820 # on a hosted environment.
27821 if test "x${with_newlib}" = "xyes"; then
27822 os_include_dir="os/newlib"
27823 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
27826 # GLIBCXX_CHECK_STDLIB_SUPPORT
27827 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
27830 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
27832 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
27834 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
27836 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
27838 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
27840 $as_echo "#define HAVE_COSF 1" >>confdefs.h
27842 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
27844 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
27846 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
27848 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
27850 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
27852 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
27854 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
27856 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
27858 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
27860 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
27862 $as_echo "#define HAVE_POWF 1" >>confdefs.h
27864 $as_echo "#define HAVE_SINF 1" >>confdefs.h
27866 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
27868 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
27870 $as_echo "#define HAVE_TANF 1" >>confdefs.h
27872 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
27875 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27877 else
27879 # Base decisions on target environment.
27880 case "${host}" in
27881 arm*-*-symbianelf*)
27882 # This is a freestanding configuration; there is nothing to do here.
27885 mips*-sde-elf*)
27886 # These definitions are for the SDE C library rather than newlib.
27887 SECTION_FLAGS='-ffunction-sections -fdata-sections'
27890 # All these tests are for C++; save the language and the compiler flags.
27891 # The CXXFLAGS thing is suspicious, but based on similar bits previously
27892 # found in GLIBCXX_CONFIGURE.
27894 ac_ext=cpp
27895 ac_cpp='$CXXCPP $CPPFLAGS'
27896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27900 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27901 ac_save_CXXFLAGS="$CXXFLAGS"
27903 # Check for maintainer-mode bits.
27904 if test x"$USE_MAINTAINER_MODE" = xno; then
27905 WERROR=''
27906 else
27907 WERROR='-Werror'
27910 # Check for -ffunction-sections -fdata-sections
27911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
27912 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
27913 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
27914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27915 /* end confdefs.h. */
27916 int foo; void bar() { };
27918 main ()
27922 return 0;
27924 _ACEOF
27925 if ac_fn_cxx_try_compile "$LINENO"; then :
27926 ac_fdsections=yes
27927 else
27928 ac_fdsections=no
27930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27931 if test "$ac_test_CXXFLAGS" = set; then
27932 CXXFLAGS="$ac_save_CXXFLAGS"
27933 else
27934 # this is the suspicious part
27935 CXXFLAGS=''
27937 if test x"$ac_fdsections" = x"yes"; then
27938 SECTION_FLAGS='-ffunction-sections -fdata-sections'
27940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
27941 $as_echo "$ac_fdsections" >&6; }
27943 ac_ext=c
27944 ac_cpp='$CPP $CPPFLAGS'
27945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27953 # If we're not using GNU ld, then there's no point in even trying these
27954 # tests. Check for that first. We should have already tested for gld
27955 # by now (in libtool), but require it now just to be safe...
27956 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
27957 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
27961 # The name set by libtool depends on the version of libtool. Shame on us
27962 # for depending on an impl detail, but c'est la vie. Older versions used
27963 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
27964 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
27965 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
27966 # set (hence we're using an older libtool), then set it.
27967 if test x${with_gnu_ld+set} != xset; then
27968 if test x${ac_cv_prog_gnu_ld+set} != xset; then
27969 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
27970 with_gnu_ld=no
27971 else
27972 with_gnu_ld=$ac_cv_prog_gnu_ld
27976 # Start by getting the version number. I think the libtool test already
27977 # does some of this, but throws away the result.
27978 glibcxx_ld_is_gold=no
27979 if test x"$with_gnu_ld" = x"yes"; then
27980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
27981 $as_echo_n "checking for ld version... " >&6; }
27983 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
27984 glibcxx_ld_is_gold=yes
27986 ldver=`$LD --version 2>/dev/null |
27987 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'`
27989 glibcxx_gnu_ld_version=`echo $ldver | \
27990 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
27991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
27992 $as_echo "$glibcxx_gnu_ld_version" >&6; }
27995 # Set --gc-sections.
27996 glibcxx_have_gc_sections=no
27997 if test "$glibcxx_ld_is_gold" = "yes"; then
27998 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
27999 glibcxx_have_gc_sections=yes
28001 else
28002 glibcxx_gcsections_min_ld=21602
28003 if test x"$with_gnu_ld" = x"yes" &&
28004 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
28005 glibcxx_have_gc_sections=yes
28008 if test "$glibcxx_have_gc_sections" = "yes"; then
28009 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
28010 # NB: This flag only works reliably after 2.16.1. Configure tests
28011 # for this are difficult, so hard wire a value that should work.
28013 ac_test_CFLAGS="${CFLAGS+set}"
28014 ac_save_CFLAGS="$CFLAGS"
28015 CFLAGS='-Wl,--gc-sections'
28017 # Check for -Wl,--gc-sections
28018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
28019 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
28020 if test x$gcc_no_link = xyes; then
28021 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28024 /* end confdefs.h. */
28025 int one(void) { return 1; }
28026 int two(void) { return 2; }
28029 main ()
28031 two();
28033 return 0;
28035 _ACEOF
28036 if ac_fn_c_try_link "$LINENO"; then :
28037 ac_gcsections=yes
28038 else
28039 ac_gcsections=no
28041 rm -f core conftest.err conftest.$ac_objext \
28042 conftest$ac_exeext conftest.$ac_ext
28043 if test "$ac_gcsections" = "yes"; then
28044 rm -f conftest.c
28045 touch conftest.c
28046 if $CC -c conftest.c; then
28047 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
28048 grep "Warning: gc-sections option ignored" > /dev/null; then
28049 ac_gcsections=no
28052 rm -f conftest.c conftest.o conftest
28054 if test "$ac_gcsections" = "yes"; then
28055 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
28057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
28058 $as_echo "$ac_gcsections" >&6; }
28060 if test "$ac_test_CFLAGS" = set; then
28061 CFLAGS="$ac_save_CFLAGS"
28062 else
28063 # this is the suspicious part
28064 CFLAGS=''
28068 # Set -z,relro.
28069 # Note this is only for shared objects.
28070 ac_ld_relro=no
28071 if test x"$with_gnu_ld" = x"yes"; then
28072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
28073 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
28074 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
28075 if test -n "$cxx_z_relo"; then
28076 OPT_LDFLAGS="-Wl,-z,relro"
28077 ac_ld_relro=yes
28079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
28080 $as_echo "$ac_ld_relro" >&6; }
28083 # Set linker optimization flags.
28084 if test x"$with_gnu_ld" = x"yes"; then
28085 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
28092 ac_test_CXXFLAGS="${CXXFLAGS+set}"
28093 ac_save_CXXFLAGS="$CXXFLAGS"
28094 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
28096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
28097 $as_echo_n "checking for sin in -lm... " >&6; }
28098 if test "${ac_cv_lib_m_sin+set}" = set; then :
28099 $as_echo_n "(cached) " >&6
28100 else
28101 ac_check_lib_save_LIBS=$LIBS
28102 LIBS="-lm $LIBS"
28103 if test x$gcc_no_link = xyes; then
28104 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28107 /* end confdefs.h. */
28109 /* Override any GCC internal prototype to avoid an error.
28110 Use char because int might match the return type of a GCC
28111 builtin and then its argument prototype would still apply. */
28112 #ifdef __cplusplus
28113 extern "C"
28114 #endif
28115 char sin ();
28117 main ()
28119 return sin ();
28121 return 0;
28123 _ACEOF
28124 if ac_fn_c_try_link "$LINENO"; then :
28125 ac_cv_lib_m_sin=yes
28126 else
28127 ac_cv_lib_m_sin=no
28129 rm -f core conftest.err conftest.$ac_objext \
28130 conftest$ac_exeext conftest.$ac_ext
28131 LIBS=$ac_check_lib_save_LIBS
28133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
28134 $as_echo "$ac_cv_lib_m_sin" >&6; }
28135 if test "x$ac_cv_lib_m_sin" = x""yes; then :
28136 libm="-lm"
28139 ac_save_LIBS="$LIBS"
28140 LIBS="$LIBS $libm"
28144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
28145 $as_echo_n "checking for isinf declaration... " >&6; }
28146 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
28147 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
28148 $as_echo_n "(cached) " >&6
28149 else
28152 ac_ext=cpp
28153 ac_cpp='$CXXCPP $CPPFLAGS'
28154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28159 /* end confdefs.h. */
28160 #include <math.h>
28161 #ifdef HAVE_IEEEFP_H
28162 #include <ieeefp.h>
28163 #endif
28166 main ()
28168 isinf(0);
28170 return 0;
28172 _ACEOF
28173 if ac_fn_cxx_try_compile "$LINENO"; then :
28174 glibcxx_cv_func_isinf_use=yes
28175 else
28176 glibcxx_cv_func_isinf_use=no
28178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28179 ac_ext=c
28180 ac_cpp='$CPP $CPPFLAGS'
28181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
28190 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
28192 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
28193 for ac_func in isinf
28194 do :
28195 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
28196 if test "x$ac_cv_func_isinf" = x""yes; then :
28197 cat >>confdefs.h <<_ACEOF
28198 #define HAVE_ISINF 1
28199 _ACEOF
28202 done
28204 else
28206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
28207 $as_echo_n "checking for _isinf declaration... " >&6; }
28208 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
28209 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
28210 $as_echo_n "(cached) " >&6
28211 else
28214 ac_ext=cpp
28215 ac_cpp='$CXXCPP $CPPFLAGS'
28216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28221 /* end confdefs.h. */
28222 #include <math.h>
28223 #ifdef HAVE_IEEEFP_H
28224 #include <ieeefp.h>
28225 #endif
28228 main ()
28230 _isinf(0);
28232 return 0;
28234 _ACEOF
28235 if ac_fn_cxx_try_compile "$LINENO"; then :
28236 glibcxx_cv_func__isinf_use=yes
28237 else
28238 glibcxx_cv_func__isinf_use=no
28240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28241 ac_ext=c
28242 ac_cpp='$CPP $CPPFLAGS'
28243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
28252 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
28254 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
28255 for ac_func in _isinf
28256 do :
28257 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
28258 if test "x$ac_cv_func__isinf" = x""yes; then :
28259 cat >>confdefs.h <<_ACEOF
28260 #define HAVE__ISINF 1
28261 _ACEOF
28264 done
28273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
28274 $as_echo_n "checking for isnan declaration... " >&6; }
28275 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
28276 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
28277 $as_echo_n "(cached) " >&6
28278 else
28281 ac_ext=cpp
28282 ac_cpp='$CXXCPP $CPPFLAGS'
28283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28288 /* end confdefs.h. */
28289 #include <math.h>
28290 #ifdef HAVE_IEEEFP_H
28291 #include <ieeefp.h>
28292 #endif
28295 main ()
28297 isnan(0);
28299 return 0;
28301 _ACEOF
28302 if ac_fn_cxx_try_compile "$LINENO"; then :
28303 glibcxx_cv_func_isnan_use=yes
28304 else
28305 glibcxx_cv_func_isnan_use=no
28307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28308 ac_ext=c
28309 ac_cpp='$CPP $CPPFLAGS'
28310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
28319 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
28321 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
28322 for ac_func in isnan
28323 do :
28324 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
28325 if test "x$ac_cv_func_isnan" = x""yes; then :
28326 cat >>confdefs.h <<_ACEOF
28327 #define HAVE_ISNAN 1
28328 _ACEOF
28331 done
28333 else
28335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
28336 $as_echo_n "checking for _isnan declaration... " >&6; }
28337 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
28338 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
28339 $as_echo_n "(cached) " >&6
28340 else
28343 ac_ext=cpp
28344 ac_cpp='$CXXCPP $CPPFLAGS'
28345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28350 /* end confdefs.h. */
28351 #include <math.h>
28352 #ifdef HAVE_IEEEFP_H
28353 #include <ieeefp.h>
28354 #endif
28357 main ()
28359 _isnan(0);
28361 return 0;
28363 _ACEOF
28364 if ac_fn_cxx_try_compile "$LINENO"; then :
28365 glibcxx_cv_func__isnan_use=yes
28366 else
28367 glibcxx_cv_func__isnan_use=no
28369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28370 ac_ext=c
28371 ac_cpp='$CPP $CPPFLAGS'
28372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
28381 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
28383 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
28384 for ac_func in _isnan
28385 do :
28386 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
28387 if test "x$ac_cv_func__isnan" = x""yes; then :
28388 cat >>confdefs.h <<_ACEOF
28389 #define HAVE__ISNAN 1
28390 _ACEOF
28393 done
28402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
28403 $as_echo_n "checking for finite declaration... " >&6; }
28404 if test x${glibcxx_cv_func_finite_use+set} != xset; then
28405 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
28406 $as_echo_n "(cached) " >&6
28407 else
28410 ac_ext=cpp
28411 ac_cpp='$CXXCPP $CPPFLAGS'
28412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28417 /* end confdefs.h. */
28418 #include <math.h>
28419 #ifdef HAVE_IEEEFP_H
28420 #include <ieeefp.h>
28421 #endif
28424 main ()
28426 finite(0);
28428 return 0;
28430 _ACEOF
28431 if ac_fn_cxx_try_compile "$LINENO"; then :
28432 glibcxx_cv_func_finite_use=yes
28433 else
28434 glibcxx_cv_func_finite_use=no
28436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28437 ac_ext=c
28438 ac_cpp='$CPP $CPPFLAGS'
28439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
28448 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
28450 if test x$glibcxx_cv_func_finite_use = x"yes"; then
28451 for ac_func in finite
28452 do :
28453 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
28454 if test "x$ac_cv_func_finite" = x""yes; then :
28455 cat >>confdefs.h <<_ACEOF
28456 #define HAVE_FINITE 1
28457 _ACEOF
28460 done
28462 else
28464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
28465 $as_echo_n "checking for _finite declaration... " >&6; }
28466 if test x${glibcxx_cv_func__finite_use+set} != xset; then
28467 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
28468 $as_echo_n "(cached) " >&6
28469 else
28472 ac_ext=cpp
28473 ac_cpp='$CXXCPP $CPPFLAGS'
28474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28479 /* end confdefs.h. */
28480 #include <math.h>
28481 #ifdef HAVE_IEEEFP_H
28482 #include <ieeefp.h>
28483 #endif
28486 main ()
28488 _finite(0);
28490 return 0;
28492 _ACEOF
28493 if ac_fn_cxx_try_compile "$LINENO"; then :
28494 glibcxx_cv_func__finite_use=yes
28495 else
28496 glibcxx_cv_func__finite_use=no
28498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28499 ac_ext=c
28500 ac_cpp='$CPP $CPPFLAGS'
28501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
28510 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
28512 if test x$glibcxx_cv_func__finite_use = x"yes"; then
28513 for ac_func in _finite
28514 do :
28515 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
28516 if test "x$ac_cv_func__finite" = x""yes; then :
28517 cat >>confdefs.h <<_ACEOF
28518 #define HAVE__FINITE 1
28519 _ACEOF
28522 done
28531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
28532 $as_echo_n "checking for sincos declaration... " >&6; }
28533 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
28534 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
28535 $as_echo_n "(cached) " >&6
28536 else
28539 ac_ext=cpp
28540 ac_cpp='$CXXCPP $CPPFLAGS'
28541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28546 /* end confdefs.h. */
28547 #include <math.h>
28549 main ()
28551 sincos(0, 0, 0);
28553 return 0;
28555 _ACEOF
28556 if ac_fn_cxx_try_compile "$LINENO"; then :
28557 glibcxx_cv_func_sincos_use=yes
28558 else
28559 glibcxx_cv_func_sincos_use=no
28561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28562 ac_ext=c
28563 ac_cpp='$CPP $CPPFLAGS'
28564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
28573 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
28575 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
28576 for ac_func in sincos
28577 do :
28578 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
28579 if test "x$ac_cv_func_sincos" = x""yes; then :
28580 cat >>confdefs.h <<_ACEOF
28581 #define HAVE_SINCOS 1
28582 _ACEOF
28585 done
28587 else
28589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
28590 $as_echo_n "checking for _sincos declaration... " >&6; }
28591 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
28592 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
28593 $as_echo_n "(cached) " >&6
28594 else
28597 ac_ext=cpp
28598 ac_cpp='$CXXCPP $CPPFLAGS'
28599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28604 /* end confdefs.h. */
28605 #include <math.h>
28607 main ()
28609 _sincos(0, 0, 0);
28611 return 0;
28613 _ACEOF
28614 if ac_fn_cxx_try_compile "$LINENO"; then :
28615 glibcxx_cv_func__sincos_use=yes
28616 else
28617 glibcxx_cv_func__sincos_use=no
28619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28620 ac_ext=c
28621 ac_cpp='$CPP $CPPFLAGS'
28622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
28631 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
28633 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
28634 for ac_func in _sincos
28635 do :
28636 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
28637 if test "x$ac_cv_func__sincos" = x""yes; then :
28638 cat >>confdefs.h <<_ACEOF
28639 #define HAVE__SINCOS 1
28640 _ACEOF
28643 done
28652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
28653 $as_echo_n "checking for fpclass declaration... " >&6; }
28654 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
28655 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
28656 $as_echo_n "(cached) " >&6
28657 else
28660 ac_ext=cpp
28661 ac_cpp='$CXXCPP $CPPFLAGS'
28662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28667 /* end confdefs.h. */
28668 #include <math.h>
28669 #ifdef HAVE_IEEEFP_H
28670 #include <ieeefp.h>
28671 #endif
28674 main ()
28676 fpclass(0);
28678 return 0;
28680 _ACEOF
28681 if ac_fn_cxx_try_compile "$LINENO"; then :
28682 glibcxx_cv_func_fpclass_use=yes
28683 else
28684 glibcxx_cv_func_fpclass_use=no
28686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28687 ac_ext=c
28688 ac_cpp='$CPP $CPPFLAGS'
28689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
28698 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
28700 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
28701 for ac_func in fpclass
28702 do :
28703 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
28704 if test "x$ac_cv_func_fpclass" = x""yes; then :
28705 cat >>confdefs.h <<_ACEOF
28706 #define HAVE_FPCLASS 1
28707 _ACEOF
28710 done
28712 else
28714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
28715 $as_echo_n "checking for _fpclass declaration... " >&6; }
28716 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
28717 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
28718 $as_echo_n "(cached) " >&6
28719 else
28722 ac_ext=cpp
28723 ac_cpp='$CXXCPP $CPPFLAGS'
28724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28729 /* end confdefs.h. */
28730 #include <math.h>
28731 #ifdef HAVE_IEEEFP_H
28732 #include <ieeefp.h>
28733 #endif
28736 main ()
28738 _fpclass(0);
28740 return 0;
28742 _ACEOF
28743 if ac_fn_cxx_try_compile "$LINENO"; then :
28744 glibcxx_cv_func__fpclass_use=yes
28745 else
28746 glibcxx_cv_func__fpclass_use=no
28748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28749 ac_ext=c
28750 ac_cpp='$CPP $CPPFLAGS'
28751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
28760 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
28762 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
28763 for ac_func in _fpclass
28764 do :
28765 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
28766 if test "x$ac_cv_func__fpclass" = x""yes; then :
28767 cat >>confdefs.h <<_ACEOF
28768 #define HAVE__FPCLASS 1
28769 _ACEOF
28772 done
28781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
28782 $as_echo_n "checking for qfpclass declaration... " >&6; }
28783 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
28784 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
28785 $as_echo_n "(cached) " >&6
28786 else
28789 ac_ext=cpp
28790 ac_cpp='$CXXCPP $CPPFLAGS'
28791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28796 /* end confdefs.h. */
28797 #include <math.h>
28798 #ifdef HAVE_IEEEFP_H
28799 #include <ieeefp.h>
28800 #endif
28803 main ()
28805 qfpclass(0);
28807 return 0;
28809 _ACEOF
28810 if ac_fn_cxx_try_compile "$LINENO"; then :
28811 glibcxx_cv_func_qfpclass_use=yes
28812 else
28813 glibcxx_cv_func_qfpclass_use=no
28815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28816 ac_ext=c
28817 ac_cpp='$CPP $CPPFLAGS'
28818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
28827 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
28829 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
28830 for ac_func in qfpclass
28831 do :
28832 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
28833 if test "x$ac_cv_func_qfpclass" = x""yes; then :
28834 cat >>confdefs.h <<_ACEOF
28835 #define HAVE_QFPCLASS 1
28836 _ACEOF
28839 done
28841 else
28843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
28844 $as_echo_n "checking for _qfpclass declaration... " >&6; }
28845 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
28846 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
28847 $as_echo_n "(cached) " >&6
28848 else
28851 ac_ext=cpp
28852 ac_cpp='$CXXCPP $CPPFLAGS'
28853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28858 /* end confdefs.h. */
28859 #include <math.h>
28860 #ifdef HAVE_IEEEFP_H
28861 #include <ieeefp.h>
28862 #endif
28865 main ()
28867 _qfpclass(0);
28869 return 0;
28871 _ACEOF
28872 if ac_fn_cxx_try_compile "$LINENO"; then :
28873 glibcxx_cv_func__qfpclass_use=yes
28874 else
28875 glibcxx_cv_func__qfpclass_use=no
28877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28878 ac_ext=c
28879 ac_cpp='$CPP $CPPFLAGS'
28880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
28889 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
28891 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
28892 for ac_func in _qfpclass
28893 do :
28894 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
28895 if test "x$ac_cv_func__qfpclass" = x""yes; then :
28896 cat >>confdefs.h <<_ACEOF
28897 #define HAVE__QFPCLASS 1
28898 _ACEOF
28901 done
28910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
28911 $as_echo_n "checking for hypot declaration... " >&6; }
28912 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
28913 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
28914 $as_echo_n "(cached) " >&6
28915 else
28918 ac_ext=cpp
28919 ac_cpp='$CXXCPP $CPPFLAGS'
28920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28925 /* end confdefs.h. */
28926 #include <math.h>
28928 main ()
28930 hypot(0, 0);
28932 return 0;
28934 _ACEOF
28935 if ac_fn_cxx_try_compile "$LINENO"; then :
28936 glibcxx_cv_func_hypot_use=yes
28937 else
28938 glibcxx_cv_func_hypot_use=no
28940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28941 ac_ext=c
28942 ac_cpp='$CPP $CPPFLAGS'
28943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
28952 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
28954 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
28955 for ac_func in hypot
28956 do :
28957 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
28958 if test "x$ac_cv_func_hypot" = x""yes; then :
28959 cat >>confdefs.h <<_ACEOF
28960 #define HAVE_HYPOT 1
28961 _ACEOF
28964 done
28966 else
28968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
28969 $as_echo_n "checking for _hypot declaration... " >&6; }
28970 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
28971 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
28972 $as_echo_n "(cached) " >&6
28973 else
28976 ac_ext=cpp
28977 ac_cpp='$CXXCPP $CPPFLAGS'
28978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28983 /* end confdefs.h. */
28984 #include <math.h>
28986 main ()
28988 _hypot(0, 0);
28990 return 0;
28992 _ACEOF
28993 if ac_fn_cxx_try_compile "$LINENO"; then :
28994 glibcxx_cv_func__hypot_use=yes
28995 else
28996 glibcxx_cv_func__hypot_use=no
28998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28999 ac_ext=c
29000 ac_cpp='$CPP $CPPFLAGS'
29001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
29010 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
29012 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
29013 for ac_func in _hypot
29014 do :
29015 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
29016 if test "x$ac_cv_func__hypot" = x""yes; then :
29017 cat >>confdefs.h <<_ACEOF
29018 #define HAVE__HYPOT 1
29019 _ACEOF
29022 done
29031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
29032 $as_echo_n "checking for float trig functions... " >&6; }
29033 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
29034 $as_echo_n "(cached) " >&6
29035 else
29038 ac_ext=cpp
29039 ac_cpp='$CXXCPP $CPPFLAGS'
29040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29045 /* end confdefs.h. */
29046 #include <math.h>
29048 main ()
29050 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
29052 return 0;
29054 _ACEOF
29055 if ac_fn_cxx_try_compile "$LINENO"; then :
29056 glibcxx_cv_func_float_trig_use=yes
29057 else
29058 glibcxx_cv_func_float_trig_use=no
29060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29061 ac_ext=c
29062 ac_cpp='$CPP $CPPFLAGS'
29063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
29070 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
29071 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
29072 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
29073 do :
29074 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29075 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29076 eval as_val=\$$as_ac_var
29077 if test "x$as_val" = x""yes; then :
29078 cat >>confdefs.h <<_ACEOF
29079 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29080 _ACEOF
29083 done
29085 else
29086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
29087 $as_echo_n "checking for _float trig functions... " >&6; }
29088 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
29089 $as_echo_n "(cached) " >&6
29090 else
29093 ac_ext=cpp
29094 ac_cpp='$CXXCPP $CPPFLAGS'
29095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29100 /* end confdefs.h. */
29101 #include <math.h>
29103 main ()
29105 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
29107 return 0;
29109 _ACEOF
29110 if ac_fn_cxx_try_compile "$LINENO"; then :
29111 glibcxx_cv_func__float_trig_use=yes
29112 else
29113 glibcxx_cv_func__float_trig_use=no
29115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29116 ac_ext=c
29117 ac_cpp='$CPP $CPPFLAGS'
29118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
29125 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
29126 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
29127 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
29128 do :
29129 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29130 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29131 eval as_val=\$$as_ac_var
29132 if test "x$as_val" = x""yes; then :
29133 cat >>confdefs.h <<_ACEOF
29134 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29135 _ACEOF
29138 done
29147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
29148 $as_echo_n "checking for float round functions... " >&6; }
29149 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
29150 $as_echo_n "(cached) " >&6
29151 else
29154 ac_ext=cpp
29155 ac_cpp='$CXXCPP $CPPFLAGS'
29156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29161 /* end confdefs.h. */
29162 #include <math.h>
29164 main ()
29166 ceilf (0); floorf (0);
29168 return 0;
29170 _ACEOF
29171 if ac_fn_cxx_try_compile "$LINENO"; then :
29172 glibcxx_cv_func_float_round_use=yes
29173 else
29174 glibcxx_cv_func_float_round_use=no
29176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29177 ac_ext=c
29178 ac_cpp='$CPP $CPPFLAGS'
29179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
29186 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
29187 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
29188 for ac_func in ceilf floorf
29189 do :
29190 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29191 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29192 eval as_val=\$$as_ac_var
29193 if test "x$as_val" = x""yes; then :
29194 cat >>confdefs.h <<_ACEOF
29195 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29196 _ACEOF
29199 done
29201 else
29202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
29203 $as_echo_n "checking for _float round functions... " >&6; }
29204 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
29205 $as_echo_n "(cached) " >&6
29206 else
29209 ac_ext=cpp
29210 ac_cpp='$CXXCPP $CPPFLAGS'
29211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29216 /* end confdefs.h. */
29217 #include <math.h>
29219 main ()
29221 _ceilf (0); _floorf (0);
29223 return 0;
29225 _ACEOF
29226 if ac_fn_cxx_try_compile "$LINENO"; then :
29227 glibcxx_cv_func__float_round_use=yes
29228 else
29229 glibcxx_cv_func__float_round_use=no
29231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29232 ac_ext=c
29233 ac_cpp='$CPP $CPPFLAGS'
29234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
29241 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
29242 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
29243 for ac_func in _ceilf _floorf
29244 do :
29245 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29246 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29247 eval as_val=\$$as_ac_var
29248 if test "x$as_val" = x""yes; then :
29249 cat >>confdefs.h <<_ACEOF
29250 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29251 _ACEOF
29254 done
29264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
29265 $as_echo_n "checking for expf declaration... " >&6; }
29266 if test x${glibcxx_cv_func_expf_use+set} != xset; then
29267 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
29268 $as_echo_n "(cached) " >&6
29269 else
29272 ac_ext=cpp
29273 ac_cpp='$CXXCPP $CPPFLAGS'
29274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29279 /* end confdefs.h. */
29280 #include <math.h>
29281 #ifdef HAVE_IEEEFP_H
29282 #include <ieeefp.h>
29283 #endif
29286 main ()
29288 expf(0);
29290 return 0;
29292 _ACEOF
29293 if ac_fn_cxx_try_compile "$LINENO"; then :
29294 glibcxx_cv_func_expf_use=yes
29295 else
29296 glibcxx_cv_func_expf_use=no
29298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29299 ac_ext=c
29300 ac_cpp='$CPP $CPPFLAGS'
29301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
29310 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
29312 if test x$glibcxx_cv_func_expf_use = x"yes"; then
29313 for ac_func in expf
29314 do :
29315 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
29316 if test "x$ac_cv_func_expf" = x""yes; then :
29317 cat >>confdefs.h <<_ACEOF
29318 #define HAVE_EXPF 1
29319 _ACEOF
29322 done
29324 else
29326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
29327 $as_echo_n "checking for _expf declaration... " >&6; }
29328 if test x${glibcxx_cv_func__expf_use+set} != xset; then
29329 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
29330 $as_echo_n "(cached) " >&6
29331 else
29334 ac_ext=cpp
29335 ac_cpp='$CXXCPP $CPPFLAGS'
29336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29341 /* end confdefs.h. */
29342 #include <math.h>
29343 #ifdef HAVE_IEEEFP_H
29344 #include <ieeefp.h>
29345 #endif
29348 main ()
29350 _expf(0);
29352 return 0;
29354 _ACEOF
29355 if ac_fn_cxx_try_compile "$LINENO"; then :
29356 glibcxx_cv_func__expf_use=yes
29357 else
29358 glibcxx_cv_func__expf_use=no
29360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29361 ac_ext=c
29362 ac_cpp='$CPP $CPPFLAGS'
29363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
29372 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
29374 if test x$glibcxx_cv_func__expf_use = x"yes"; then
29375 for ac_func in _expf
29376 do :
29377 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
29378 if test "x$ac_cv_func__expf" = x""yes; then :
29379 cat >>confdefs.h <<_ACEOF
29380 #define HAVE__EXPF 1
29381 _ACEOF
29384 done
29393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
29394 $as_echo_n "checking for isnanf declaration... " >&6; }
29395 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
29396 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
29397 $as_echo_n "(cached) " >&6
29398 else
29401 ac_ext=cpp
29402 ac_cpp='$CXXCPP $CPPFLAGS'
29403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29408 /* end confdefs.h. */
29409 #include <math.h>
29410 #ifdef HAVE_IEEEFP_H
29411 #include <ieeefp.h>
29412 #endif
29415 main ()
29417 isnanf(0);
29419 return 0;
29421 _ACEOF
29422 if ac_fn_cxx_try_compile "$LINENO"; then :
29423 glibcxx_cv_func_isnanf_use=yes
29424 else
29425 glibcxx_cv_func_isnanf_use=no
29427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29428 ac_ext=c
29429 ac_cpp='$CPP $CPPFLAGS'
29430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
29439 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
29441 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
29442 for ac_func in isnanf
29443 do :
29444 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
29445 if test "x$ac_cv_func_isnanf" = x""yes; then :
29446 cat >>confdefs.h <<_ACEOF
29447 #define HAVE_ISNANF 1
29448 _ACEOF
29451 done
29453 else
29455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
29456 $as_echo_n "checking for _isnanf declaration... " >&6; }
29457 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
29458 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
29459 $as_echo_n "(cached) " >&6
29460 else
29463 ac_ext=cpp
29464 ac_cpp='$CXXCPP $CPPFLAGS'
29465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29470 /* end confdefs.h. */
29471 #include <math.h>
29472 #ifdef HAVE_IEEEFP_H
29473 #include <ieeefp.h>
29474 #endif
29477 main ()
29479 _isnanf(0);
29481 return 0;
29483 _ACEOF
29484 if ac_fn_cxx_try_compile "$LINENO"; then :
29485 glibcxx_cv_func__isnanf_use=yes
29486 else
29487 glibcxx_cv_func__isnanf_use=no
29489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29490 ac_ext=c
29491 ac_cpp='$CPP $CPPFLAGS'
29492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
29501 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
29503 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
29504 for ac_func in _isnanf
29505 do :
29506 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
29507 if test "x$ac_cv_func__isnanf" = x""yes; then :
29508 cat >>confdefs.h <<_ACEOF
29509 #define HAVE__ISNANF 1
29510 _ACEOF
29513 done
29522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
29523 $as_echo_n "checking for isinff declaration... " >&6; }
29524 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
29525 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
29526 $as_echo_n "(cached) " >&6
29527 else
29530 ac_ext=cpp
29531 ac_cpp='$CXXCPP $CPPFLAGS'
29532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29537 /* end confdefs.h. */
29538 #include <math.h>
29539 #ifdef HAVE_IEEEFP_H
29540 #include <ieeefp.h>
29541 #endif
29544 main ()
29546 isinff(0);
29548 return 0;
29550 _ACEOF
29551 if ac_fn_cxx_try_compile "$LINENO"; then :
29552 glibcxx_cv_func_isinff_use=yes
29553 else
29554 glibcxx_cv_func_isinff_use=no
29556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29557 ac_ext=c
29558 ac_cpp='$CPP $CPPFLAGS'
29559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
29568 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
29570 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
29571 for ac_func in isinff
29572 do :
29573 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
29574 if test "x$ac_cv_func_isinff" = x""yes; then :
29575 cat >>confdefs.h <<_ACEOF
29576 #define HAVE_ISINFF 1
29577 _ACEOF
29580 done
29582 else
29584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
29585 $as_echo_n "checking for _isinff declaration... " >&6; }
29586 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
29587 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
29588 $as_echo_n "(cached) " >&6
29589 else
29592 ac_ext=cpp
29593 ac_cpp='$CXXCPP $CPPFLAGS'
29594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29599 /* end confdefs.h. */
29600 #include <math.h>
29601 #ifdef HAVE_IEEEFP_H
29602 #include <ieeefp.h>
29603 #endif
29606 main ()
29608 _isinff(0);
29610 return 0;
29612 _ACEOF
29613 if ac_fn_cxx_try_compile "$LINENO"; then :
29614 glibcxx_cv_func__isinff_use=yes
29615 else
29616 glibcxx_cv_func__isinff_use=no
29618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29619 ac_ext=c
29620 ac_cpp='$CPP $CPPFLAGS'
29621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
29630 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
29632 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
29633 for ac_func in _isinff
29634 do :
29635 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
29636 if test "x$ac_cv_func__isinff" = x""yes; then :
29637 cat >>confdefs.h <<_ACEOF
29638 #define HAVE__ISINFF 1
29639 _ACEOF
29642 done
29651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
29652 $as_echo_n "checking for atan2f declaration... " >&6; }
29653 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
29654 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
29655 $as_echo_n "(cached) " >&6
29656 else
29659 ac_ext=cpp
29660 ac_cpp='$CXXCPP $CPPFLAGS'
29661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29666 /* end confdefs.h. */
29667 #include <math.h>
29669 main ()
29671 atan2f(0, 0);
29673 return 0;
29675 _ACEOF
29676 if ac_fn_cxx_try_compile "$LINENO"; then :
29677 glibcxx_cv_func_atan2f_use=yes
29678 else
29679 glibcxx_cv_func_atan2f_use=no
29681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29682 ac_ext=c
29683 ac_cpp='$CPP $CPPFLAGS'
29684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
29693 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
29695 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
29696 for ac_func in atan2f
29697 do :
29698 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
29699 if test "x$ac_cv_func_atan2f" = x""yes; then :
29700 cat >>confdefs.h <<_ACEOF
29701 #define HAVE_ATAN2F 1
29702 _ACEOF
29705 done
29707 else
29709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
29710 $as_echo_n "checking for _atan2f declaration... " >&6; }
29711 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
29712 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
29713 $as_echo_n "(cached) " >&6
29714 else
29717 ac_ext=cpp
29718 ac_cpp='$CXXCPP $CPPFLAGS'
29719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29724 /* end confdefs.h. */
29725 #include <math.h>
29727 main ()
29729 _atan2f(0, 0);
29731 return 0;
29733 _ACEOF
29734 if ac_fn_cxx_try_compile "$LINENO"; then :
29735 glibcxx_cv_func__atan2f_use=yes
29736 else
29737 glibcxx_cv_func__atan2f_use=no
29739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29740 ac_ext=c
29741 ac_cpp='$CPP $CPPFLAGS'
29742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
29751 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
29753 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
29754 for ac_func in _atan2f
29755 do :
29756 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
29757 if test "x$ac_cv_func__atan2f" = x""yes; then :
29758 cat >>confdefs.h <<_ACEOF
29759 #define HAVE__ATAN2F 1
29760 _ACEOF
29763 done
29772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
29773 $as_echo_n "checking for fabsf declaration... " >&6; }
29774 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
29775 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
29776 $as_echo_n "(cached) " >&6
29777 else
29780 ac_ext=cpp
29781 ac_cpp='$CXXCPP $CPPFLAGS'
29782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29787 /* end confdefs.h. */
29788 #include <math.h>
29789 #ifdef HAVE_IEEEFP_H
29790 #include <ieeefp.h>
29791 #endif
29794 main ()
29796 fabsf(0);
29798 return 0;
29800 _ACEOF
29801 if ac_fn_cxx_try_compile "$LINENO"; then :
29802 glibcxx_cv_func_fabsf_use=yes
29803 else
29804 glibcxx_cv_func_fabsf_use=no
29806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29807 ac_ext=c
29808 ac_cpp='$CPP $CPPFLAGS'
29809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
29818 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
29820 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
29821 for ac_func in fabsf
29822 do :
29823 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
29824 if test "x$ac_cv_func_fabsf" = x""yes; then :
29825 cat >>confdefs.h <<_ACEOF
29826 #define HAVE_FABSF 1
29827 _ACEOF
29830 done
29832 else
29834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
29835 $as_echo_n "checking for _fabsf declaration... " >&6; }
29836 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
29837 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
29838 $as_echo_n "(cached) " >&6
29839 else
29842 ac_ext=cpp
29843 ac_cpp='$CXXCPP $CPPFLAGS'
29844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29849 /* end confdefs.h. */
29850 #include <math.h>
29851 #ifdef HAVE_IEEEFP_H
29852 #include <ieeefp.h>
29853 #endif
29856 main ()
29858 _fabsf(0);
29860 return 0;
29862 _ACEOF
29863 if ac_fn_cxx_try_compile "$LINENO"; then :
29864 glibcxx_cv_func__fabsf_use=yes
29865 else
29866 glibcxx_cv_func__fabsf_use=no
29868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29869 ac_ext=c
29870 ac_cpp='$CPP $CPPFLAGS'
29871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
29880 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
29882 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
29883 for ac_func in _fabsf
29884 do :
29885 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
29886 if test "x$ac_cv_func__fabsf" = x""yes; then :
29887 cat >>confdefs.h <<_ACEOF
29888 #define HAVE__FABSF 1
29889 _ACEOF
29892 done
29901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
29902 $as_echo_n "checking for fmodf declaration... " >&6; }
29903 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
29904 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
29905 $as_echo_n "(cached) " >&6
29906 else
29909 ac_ext=cpp
29910 ac_cpp='$CXXCPP $CPPFLAGS'
29911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29916 /* end confdefs.h. */
29917 #include <math.h>
29919 main ()
29921 fmodf(0, 0);
29923 return 0;
29925 _ACEOF
29926 if ac_fn_cxx_try_compile "$LINENO"; then :
29927 glibcxx_cv_func_fmodf_use=yes
29928 else
29929 glibcxx_cv_func_fmodf_use=no
29931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29932 ac_ext=c
29933 ac_cpp='$CPP $CPPFLAGS'
29934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
29943 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
29945 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
29946 for ac_func in fmodf
29947 do :
29948 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
29949 if test "x$ac_cv_func_fmodf" = x""yes; then :
29950 cat >>confdefs.h <<_ACEOF
29951 #define HAVE_FMODF 1
29952 _ACEOF
29955 done
29957 else
29959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
29960 $as_echo_n "checking for _fmodf declaration... " >&6; }
29961 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
29962 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
29963 $as_echo_n "(cached) " >&6
29964 else
29967 ac_ext=cpp
29968 ac_cpp='$CXXCPP $CPPFLAGS'
29969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29974 /* end confdefs.h. */
29975 #include <math.h>
29977 main ()
29979 _fmodf(0, 0);
29981 return 0;
29983 _ACEOF
29984 if ac_fn_cxx_try_compile "$LINENO"; then :
29985 glibcxx_cv_func__fmodf_use=yes
29986 else
29987 glibcxx_cv_func__fmodf_use=no
29989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29990 ac_ext=c
29991 ac_cpp='$CPP $CPPFLAGS'
29992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
30001 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
30003 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
30004 for ac_func in _fmodf
30005 do :
30006 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
30007 if test "x$ac_cv_func__fmodf" = x""yes; then :
30008 cat >>confdefs.h <<_ACEOF
30009 #define HAVE__FMODF 1
30010 _ACEOF
30013 done
30022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
30023 $as_echo_n "checking for frexpf declaration... " >&6; }
30024 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
30025 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
30026 $as_echo_n "(cached) " >&6
30027 else
30030 ac_ext=cpp
30031 ac_cpp='$CXXCPP $CPPFLAGS'
30032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30037 /* end confdefs.h. */
30038 #include <math.h>
30040 main ()
30042 frexpf(0, 0);
30044 return 0;
30046 _ACEOF
30047 if ac_fn_cxx_try_compile "$LINENO"; then :
30048 glibcxx_cv_func_frexpf_use=yes
30049 else
30050 glibcxx_cv_func_frexpf_use=no
30052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30053 ac_ext=c
30054 ac_cpp='$CPP $CPPFLAGS'
30055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
30064 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
30066 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
30067 for ac_func in frexpf
30068 do :
30069 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
30070 if test "x$ac_cv_func_frexpf" = x""yes; then :
30071 cat >>confdefs.h <<_ACEOF
30072 #define HAVE_FREXPF 1
30073 _ACEOF
30076 done
30078 else
30080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
30081 $as_echo_n "checking for _frexpf declaration... " >&6; }
30082 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
30083 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
30084 $as_echo_n "(cached) " >&6
30085 else
30088 ac_ext=cpp
30089 ac_cpp='$CXXCPP $CPPFLAGS'
30090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30095 /* end confdefs.h. */
30096 #include <math.h>
30098 main ()
30100 _frexpf(0, 0);
30102 return 0;
30104 _ACEOF
30105 if ac_fn_cxx_try_compile "$LINENO"; then :
30106 glibcxx_cv_func__frexpf_use=yes
30107 else
30108 glibcxx_cv_func__frexpf_use=no
30110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30111 ac_ext=c
30112 ac_cpp='$CPP $CPPFLAGS'
30113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
30122 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
30124 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
30125 for ac_func in _frexpf
30126 do :
30127 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
30128 if test "x$ac_cv_func__frexpf" = x""yes; then :
30129 cat >>confdefs.h <<_ACEOF
30130 #define HAVE__FREXPF 1
30131 _ACEOF
30134 done
30143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
30144 $as_echo_n "checking for hypotf declaration... " >&6; }
30145 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
30146 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
30147 $as_echo_n "(cached) " >&6
30148 else
30151 ac_ext=cpp
30152 ac_cpp='$CXXCPP $CPPFLAGS'
30153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30158 /* end confdefs.h. */
30159 #include <math.h>
30161 main ()
30163 hypotf(0, 0);
30165 return 0;
30167 _ACEOF
30168 if ac_fn_cxx_try_compile "$LINENO"; then :
30169 glibcxx_cv_func_hypotf_use=yes
30170 else
30171 glibcxx_cv_func_hypotf_use=no
30173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30174 ac_ext=c
30175 ac_cpp='$CPP $CPPFLAGS'
30176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
30185 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
30187 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
30188 for ac_func in hypotf
30189 do :
30190 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
30191 if test "x$ac_cv_func_hypotf" = x""yes; then :
30192 cat >>confdefs.h <<_ACEOF
30193 #define HAVE_HYPOTF 1
30194 _ACEOF
30197 done
30199 else
30201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
30202 $as_echo_n "checking for _hypotf declaration... " >&6; }
30203 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
30204 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
30205 $as_echo_n "(cached) " >&6
30206 else
30209 ac_ext=cpp
30210 ac_cpp='$CXXCPP $CPPFLAGS'
30211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30216 /* end confdefs.h. */
30217 #include <math.h>
30219 main ()
30221 _hypotf(0, 0);
30223 return 0;
30225 _ACEOF
30226 if ac_fn_cxx_try_compile "$LINENO"; then :
30227 glibcxx_cv_func__hypotf_use=yes
30228 else
30229 glibcxx_cv_func__hypotf_use=no
30231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30232 ac_ext=c
30233 ac_cpp='$CPP $CPPFLAGS'
30234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
30243 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
30245 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
30246 for ac_func in _hypotf
30247 do :
30248 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
30249 if test "x$ac_cv_func__hypotf" = x""yes; then :
30250 cat >>confdefs.h <<_ACEOF
30251 #define HAVE__HYPOTF 1
30252 _ACEOF
30255 done
30264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
30265 $as_echo_n "checking for ldexpf declaration... " >&6; }
30266 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
30267 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
30268 $as_echo_n "(cached) " >&6
30269 else
30272 ac_ext=cpp
30273 ac_cpp='$CXXCPP $CPPFLAGS'
30274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30279 /* end confdefs.h. */
30280 #include <math.h>
30282 main ()
30284 ldexpf(0, 0);
30286 return 0;
30288 _ACEOF
30289 if ac_fn_cxx_try_compile "$LINENO"; then :
30290 glibcxx_cv_func_ldexpf_use=yes
30291 else
30292 glibcxx_cv_func_ldexpf_use=no
30294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30295 ac_ext=c
30296 ac_cpp='$CPP $CPPFLAGS'
30297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
30306 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
30308 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
30309 for ac_func in ldexpf
30310 do :
30311 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
30312 if test "x$ac_cv_func_ldexpf" = x""yes; then :
30313 cat >>confdefs.h <<_ACEOF
30314 #define HAVE_LDEXPF 1
30315 _ACEOF
30318 done
30320 else
30322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
30323 $as_echo_n "checking for _ldexpf declaration... " >&6; }
30324 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
30325 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
30326 $as_echo_n "(cached) " >&6
30327 else
30330 ac_ext=cpp
30331 ac_cpp='$CXXCPP $CPPFLAGS'
30332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30337 /* end confdefs.h. */
30338 #include <math.h>
30340 main ()
30342 _ldexpf(0, 0);
30344 return 0;
30346 _ACEOF
30347 if ac_fn_cxx_try_compile "$LINENO"; then :
30348 glibcxx_cv_func__ldexpf_use=yes
30349 else
30350 glibcxx_cv_func__ldexpf_use=no
30352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30353 ac_ext=c
30354 ac_cpp='$CPP $CPPFLAGS'
30355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
30364 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
30366 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
30367 for ac_func in _ldexpf
30368 do :
30369 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
30370 if test "x$ac_cv_func__ldexpf" = x""yes; then :
30371 cat >>confdefs.h <<_ACEOF
30372 #define HAVE__LDEXPF 1
30373 _ACEOF
30376 done
30385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
30386 $as_echo_n "checking for logf declaration... " >&6; }
30387 if test x${glibcxx_cv_func_logf_use+set} != xset; then
30388 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
30389 $as_echo_n "(cached) " >&6
30390 else
30393 ac_ext=cpp
30394 ac_cpp='$CXXCPP $CPPFLAGS'
30395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30400 /* end confdefs.h. */
30401 #include <math.h>
30402 #ifdef HAVE_IEEEFP_H
30403 #include <ieeefp.h>
30404 #endif
30407 main ()
30409 logf(0);
30411 return 0;
30413 _ACEOF
30414 if ac_fn_cxx_try_compile "$LINENO"; then :
30415 glibcxx_cv_func_logf_use=yes
30416 else
30417 glibcxx_cv_func_logf_use=no
30419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30420 ac_ext=c
30421 ac_cpp='$CPP $CPPFLAGS'
30422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
30431 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
30433 if test x$glibcxx_cv_func_logf_use = x"yes"; then
30434 for ac_func in logf
30435 do :
30436 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
30437 if test "x$ac_cv_func_logf" = x""yes; then :
30438 cat >>confdefs.h <<_ACEOF
30439 #define HAVE_LOGF 1
30440 _ACEOF
30443 done
30445 else
30447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
30448 $as_echo_n "checking for _logf declaration... " >&6; }
30449 if test x${glibcxx_cv_func__logf_use+set} != xset; then
30450 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
30451 $as_echo_n "(cached) " >&6
30452 else
30455 ac_ext=cpp
30456 ac_cpp='$CXXCPP $CPPFLAGS'
30457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30462 /* end confdefs.h. */
30463 #include <math.h>
30464 #ifdef HAVE_IEEEFP_H
30465 #include <ieeefp.h>
30466 #endif
30469 main ()
30471 _logf(0);
30473 return 0;
30475 _ACEOF
30476 if ac_fn_cxx_try_compile "$LINENO"; then :
30477 glibcxx_cv_func__logf_use=yes
30478 else
30479 glibcxx_cv_func__logf_use=no
30481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30482 ac_ext=c
30483 ac_cpp='$CPP $CPPFLAGS'
30484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
30493 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
30495 if test x$glibcxx_cv_func__logf_use = x"yes"; then
30496 for ac_func in _logf
30497 do :
30498 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
30499 if test "x$ac_cv_func__logf" = x""yes; then :
30500 cat >>confdefs.h <<_ACEOF
30501 #define HAVE__LOGF 1
30502 _ACEOF
30505 done
30514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
30515 $as_echo_n "checking for log10f declaration... " >&6; }
30516 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
30517 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
30518 $as_echo_n "(cached) " >&6
30519 else
30522 ac_ext=cpp
30523 ac_cpp='$CXXCPP $CPPFLAGS'
30524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30529 /* end confdefs.h. */
30530 #include <math.h>
30531 #ifdef HAVE_IEEEFP_H
30532 #include <ieeefp.h>
30533 #endif
30536 main ()
30538 log10f(0);
30540 return 0;
30542 _ACEOF
30543 if ac_fn_cxx_try_compile "$LINENO"; then :
30544 glibcxx_cv_func_log10f_use=yes
30545 else
30546 glibcxx_cv_func_log10f_use=no
30548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30549 ac_ext=c
30550 ac_cpp='$CPP $CPPFLAGS'
30551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
30560 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
30562 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
30563 for ac_func in log10f
30564 do :
30565 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
30566 if test "x$ac_cv_func_log10f" = x""yes; then :
30567 cat >>confdefs.h <<_ACEOF
30568 #define HAVE_LOG10F 1
30569 _ACEOF
30572 done
30574 else
30576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
30577 $as_echo_n "checking for _log10f declaration... " >&6; }
30578 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
30579 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
30580 $as_echo_n "(cached) " >&6
30581 else
30584 ac_ext=cpp
30585 ac_cpp='$CXXCPP $CPPFLAGS'
30586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30591 /* end confdefs.h. */
30592 #include <math.h>
30593 #ifdef HAVE_IEEEFP_H
30594 #include <ieeefp.h>
30595 #endif
30598 main ()
30600 _log10f(0);
30602 return 0;
30604 _ACEOF
30605 if ac_fn_cxx_try_compile "$LINENO"; then :
30606 glibcxx_cv_func__log10f_use=yes
30607 else
30608 glibcxx_cv_func__log10f_use=no
30610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30611 ac_ext=c
30612 ac_cpp='$CPP $CPPFLAGS'
30613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
30622 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
30624 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
30625 for ac_func in _log10f
30626 do :
30627 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
30628 if test "x$ac_cv_func__log10f" = x""yes; then :
30629 cat >>confdefs.h <<_ACEOF
30630 #define HAVE__LOG10F 1
30631 _ACEOF
30634 done
30643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
30644 $as_echo_n "checking for modff declaration... " >&6; }
30645 if test x${glibcxx_cv_func_modff_use+set} != xset; then
30646 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
30647 $as_echo_n "(cached) " >&6
30648 else
30651 ac_ext=cpp
30652 ac_cpp='$CXXCPP $CPPFLAGS'
30653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30658 /* end confdefs.h. */
30659 #include <math.h>
30661 main ()
30663 modff(0, 0);
30665 return 0;
30667 _ACEOF
30668 if ac_fn_cxx_try_compile "$LINENO"; then :
30669 glibcxx_cv_func_modff_use=yes
30670 else
30671 glibcxx_cv_func_modff_use=no
30673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30674 ac_ext=c
30675 ac_cpp='$CPP $CPPFLAGS'
30676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
30685 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
30687 if test x$glibcxx_cv_func_modff_use = x"yes"; then
30688 for ac_func in modff
30689 do :
30690 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
30691 if test "x$ac_cv_func_modff" = x""yes; then :
30692 cat >>confdefs.h <<_ACEOF
30693 #define HAVE_MODFF 1
30694 _ACEOF
30697 done
30699 else
30701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
30702 $as_echo_n "checking for _modff declaration... " >&6; }
30703 if test x${glibcxx_cv_func__modff_use+set} != xset; then
30704 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
30705 $as_echo_n "(cached) " >&6
30706 else
30709 ac_ext=cpp
30710 ac_cpp='$CXXCPP $CPPFLAGS'
30711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30716 /* end confdefs.h. */
30717 #include <math.h>
30719 main ()
30721 _modff(0, 0);
30723 return 0;
30725 _ACEOF
30726 if ac_fn_cxx_try_compile "$LINENO"; then :
30727 glibcxx_cv_func__modff_use=yes
30728 else
30729 glibcxx_cv_func__modff_use=no
30731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30732 ac_ext=c
30733 ac_cpp='$CPP $CPPFLAGS'
30734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
30743 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
30745 if test x$glibcxx_cv_func__modff_use = x"yes"; then
30746 for ac_func in _modff
30747 do :
30748 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
30749 if test "x$ac_cv_func__modff" = x""yes; then :
30750 cat >>confdefs.h <<_ACEOF
30751 #define HAVE__MODFF 1
30752 _ACEOF
30755 done
30764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
30765 $as_echo_n "checking for modf declaration... " >&6; }
30766 if test x${glibcxx_cv_func_modf_use+set} != xset; then
30767 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
30768 $as_echo_n "(cached) " >&6
30769 else
30772 ac_ext=cpp
30773 ac_cpp='$CXXCPP $CPPFLAGS'
30774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30779 /* end confdefs.h. */
30780 #include <math.h>
30782 main ()
30784 modf(0, 0);
30786 return 0;
30788 _ACEOF
30789 if ac_fn_cxx_try_compile "$LINENO"; then :
30790 glibcxx_cv_func_modf_use=yes
30791 else
30792 glibcxx_cv_func_modf_use=no
30794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30795 ac_ext=c
30796 ac_cpp='$CPP $CPPFLAGS'
30797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
30806 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
30808 if test x$glibcxx_cv_func_modf_use = x"yes"; then
30809 for ac_func in modf
30810 do :
30811 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
30812 if test "x$ac_cv_func_modf" = x""yes; then :
30813 cat >>confdefs.h <<_ACEOF
30814 #define HAVE_MODF 1
30815 _ACEOF
30818 done
30820 else
30822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
30823 $as_echo_n "checking for _modf declaration... " >&6; }
30824 if test x${glibcxx_cv_func__modf_use+set} != xset; then
30825 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
30826 $as_echo_n "(cached) " >&6
30827 else
30830 ac_ext=cpp
30831 ac_cpp='$CXXCPP $CPPFLAGS'
30832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30837 /* end confdefs.h. */
30838 #include <math.h>
30840 main ()
30842 _modf(0, 0);
30844 return 0;
30846 _ACEOF
30847 if ac_fn_cxx_try_compile "$LINENO"; then :
30848 glibcxx_cv_func__modf_use=yes
30849 else
30850 glibcxx_cv_func__modf_use=no
30852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30853 ac_ext=c
30854 ac_cpp='$CPP $CPPFLAGS'
30855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
30864 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
30866 if test x$glibcxx_cv_func__modf_use = x"yes"; then
30867 for ac_func in _modf
30868 do :
30869 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
30870 if test "x$ac_cv_func__modf" = x""yes; then :
30871 cat >>confdefs.h <<_ACEOF
30872 #define HAVE__MODF 1
30873 _ACEOF
30876 done
30885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
30886 $as_echo_n "checking for powf declaration... " >&6; }
30887 if test x${glibcxx_cv_func_powf_use+set} != xset; then
30888 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
30889 $as_echo_n "(cached) " >&6
30890 else
30893 ac_ext=cpp
30894 ac_cpp='$CXXCPP $CPPFLAGS'
30895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30900 /* end confdefs.h. */
30901 #include <math.h>
30903 main ()
30905 powf(0, 0);
30907 return 0;
30909 _ACEOF
30910 if ac_fn_cxx_try_compile "$LINENO"; then :
30911 glibcxx_cv_func_powf_use=yes
30912 else
30913 glibcxx_cv_func_powf_use=no
30915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30916 ac_ext=c
30917 ac_cpp='$CPP $CPPFLAGS'
30918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
30927 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
30929 if test x$glibcxx_cv_func_powf_use = x"yes"; then
30930 for ac_func in powf
30931 do :
30932 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
30933 if test "x$ac_cv_func_powf" = x""yes; then :
30934 cat >>confdefs.h <<_ACEOF
30935 #define HAVE_POWF 1
30936 _ACEOF
30939 done
30941 else
30943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
30944 $as_echo_n "checking for _powf declaration... " >&6; }
30945 if test x${glibcxx_cv_func__powf_use+set} != xset; then
30946 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
30947 $as_echo_n "(cached) " >&6
30948 else
30951 ac_ext=cpp
30952 ac_cpp='$CXXCPP $CPPFLAGS'
30953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30958 /* end confdefs.h. */
30959 #include <math.h>
30961 main ()
30963 _powf(0, 0);
30965 return 0;
30967 _ACEOF
30968 if ac_fn_cxx_try_compile "$LINENO"; then :
30969 glibcxx_cv_func__powf_use=yes
30970 else
30971 glibcxx_cv_func__powf_use=no
30973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30974 ac_ext=c
30975 ac_cpp='$CPP $CPPFLAGS'
30976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
30985 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
30987 if test x$glibcxx_cv_func__powf_use = x"yes"; then
30988 for ac_func in _powf
30989 do :
30990 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
30991 if test "x$ac_cv_func__powf" = x""yes; then :
30992 cat >>confdefs.h <<_ACEOF
30993 #define HAVE__POWF 1
30994 _ACEOF
30997 done
31006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
31007 $as_echo_n "checking for sqrtf declaration... " >&6; }
31008 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
31009 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
31010 $as_echo_n "(cached) " >&6
31011 else
31014 ac_ext=cpp
31015 ac_cpp='$CXXCPP $CPPFLAGS'
31016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31021 /* end confdefs.h. */
31022 #include <math.h>
31023 #ifdef HAVE_IEEEFP_H
31024 #include <ieeefp.h>
31025 #endif
31028 main ()
31030 sqrtf(0);
31032 return 0;
31034 _ACEOF
31035 if ac_fn_cxx_try_compile "$LINENO"; then :
31036 glibcxx_cv_func_sqrtf_use=yes
31037 else
31038 glibcxx_cv_func_sqrtf_use=no
31040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31041 ac_ext=c
31042 ac_cpp='$CPP $CPPFLAGS'
31043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
31052 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
31054 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
31055 for ac_func in sqrtf
31056 do :
31057 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
31058 if test "x$ac_cv_func_sqrtf" = x""yes; then :
31059 cat >>confdefs.h <<_ACEOF
31060 #define HAVE_SQRTF 1
31061 _ACEOF
31064 done
31066 else
31068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
31069 $as_echo_n "checking for _sqrtf declaration... " >&6; }
31070 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
31071 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
31072 $as_echo_n "(cached) " >&6
31073 else
31076 ac_ext=cpp
31077 ac_cpp='$CXXCPP $CPPFLAGS'
31078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31083 /* end confdefs.h. */
31084 #include <math.h>
31085 #ifdef HAVE_IEEEFP_H
31086 #include <ieeefp.h>
31087 #endif
31090 main ()
31092 _sqrtf(0);
31094 return 0;
31096 _ACEOF
31097 if ac_fn_cxx_try_compile "$LINENO"; then :
31098 glibcxx_cv_func__sqrtf_use=yes
31099 else
31100 glibcxx_cv_func__sqrtf_use=no
31102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31103 ac_ext=c
31104 ac_cpp='$CPP $CPPFLAGS'
31105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
31114 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
31116 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
31117 for ac_func in _sqrtf
31118 do :
31119 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
31120 if test "x$ac_cv_func__sqrtf" = x""yes; then :
31121 cat >>confdefs.h <<_ACEOF
31122 #define HAVE__SQRTF 1
31123 _ACEOF
31126 done
31135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
31136 $as_echo_n "checking for sincosf declaration... " >&6; }
31137 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
31138 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
31139 $as_echo_n "(cached) " >&6
31140 else
31143 ac_ext=cpp
31144 ac_cpp='$CXXCPP $CPPFLAGS'
31145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31150 /* end confdefs.h. */
31151 #include <math.h>
31153 main ()
31155 sincosf(0, 0, 0);
31157 return 0;
31159 _ACEOF
31160 if ac_fn_cxx_try_compile "$LINENO"; then :
31161 glibcxx_cv_func_sincosf_use=yes
31162 else
31163 glibcxx_cv_func_sincosf_use=no
31165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31166 ac_ext=c
31167 ac_cpp='$CPP $CPPFLAGS'
31168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
31177 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
31179 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
31180 for ac_func in sincosf
31181 do :
31182 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
31183 if test "x$ac_cv_func_sincosf" = x""yes; then :
31184 cat >>confdefs.h <<_ACEOF
31185 #define HAVE_SINCOSF 1
31186 _ACEOF
31189 done
31191 else
31193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
31194 $as_echo_n "checking for _sincosf declaration... " >&6; }
31195 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
31196 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
31197 $as_echo_n "(cached) " >&6
31198 else
31201 ac_ext=cpp
31202 ac_cpp='$CXXCPP $CPPFLAGS'
31203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31208 /* end confdefs.h. */
31209 #include <math.h>
31211 main ()
31213 _sincosf(0, 0, 0);
31215 return 0;
31217 _ACEOF
31218 if ac_fn_cxx_try_compile "$LINENO"; then :
31219 glibcxx_cv_func__sincosf_use=yes
31220 else
31221 glibcxx_cv_func__sincosf_use=no
31223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31224 ac_ext=c
31225 ac_cpp='$CPP $CPPFLAGS'
31226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
31235 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
31237 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
31238 for ac_func in _sincosf
31239 do :
31240 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
31241 if test "x$ac_cv_func__sincosf" = x""yes; then :
31242 cat >>confdefs.h <<_ACEOF
31243 #define HAVE__SINCOSF 1
31244 _ACEOF
31247 done
31256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
31257 $as_echo_n "checking for finitef declaration... " >&6; }
31258 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
31259 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
31260 $as_echo_n "(cached) " >&6
31261 else
31264 ac_ext=cpp
31265 ac_cpp='$CXXCPP $CPPFLAGS'
31266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31271 /* end confdefs.h. */
31272 #include <math.h>
31273 #ifdef HAVE_IEEEFP_H
31274 #include <ieeefp.h>
31275 #endif
31278 main ()
31280 finitef(0);
31282 return 0;
31284 _ACEOF
31285 if ac_fn_cxx_try_compile "$LINENO"; then :
31286 glibcxx_cv_func_finitef_use=yes
31287 else
31288 glibcxx_cv_func_finitef_use=no
31290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31291 ac_ext=c
31292 ac_cpp='$CPP $CPPFLAGS'
31293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
31302 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
31304 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
31305 for ac_func in finitef
31306 do :
31307 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
31308 if test "x$ac_cv_func_finitef" = x""yes; then :
31309 cat >>confdefs.h <<_ACEOF
31310 #define HAVE_FINITEF 1
31311 _ACEOF
31314 done
31316 else
31318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
31319 $as_echo_n "checking for _finitef declaration... " >&6; }
31320 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
31321 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
31322 $as_echo_n "(cached) " >&6
31323 else
31326 ac_ext=cpp
31327 ac_cpp='$CXXCPP $CPPFLAGS'
31328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31333 /* end confdefs.h. */
31334 #include <math.h>
31335 #ifdef HAVE_IEEEFP_H
31336 #include <ieeefp.h>
31337 #endif
31340 main ()
31342 _finitef(0);
31344 return 0;
31346 _ACEOF
31347 if ac_fn_cxx_try_compile "$LINENO"; then :
31348 glibcxx_cv_func__finitef_use=yes
31349 else
31350 glibcxx_cv_func__finitef_use=no
31352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31353 ac_ext=c
31354 ac_cpp='$CPP $CPPFLAGS'
31355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
31364 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
31366 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
31367 for ac_func in _finitef
31368 do :
31369 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
31370 if test "x$ac_cv_func__finitef" = x""yes; then :
31371 cat >>confdefs.h <<_ACEOF
31372 #define HAVE__FINITEF 1
31373 _ACEOF
31376 done
31385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
31386 $as_echo_n "checking for long double trig functions... " >&6; }
31387 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
31388 $as_echo_n "(cached) " >&6
31389 else
31392 ac_ext=cpp
31393 ac_cpp='$CXXCPP $CPPFLAGS'
31394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31399 /* end confdefs.h. */
31400 #include <math.h>
31402 main ()
31404 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
31406 return 0;
31408 _ACEOF
31409 if ac_fn_cxx_try_compile "$LINENO"; then :
31410 glibcxx_cv_func_long_double_trig_use=yes
31411 else
31412 glibcxx_cv_func_long_double_trig_use=no
31414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31415 ac_ext=c
31416 ac_cpp='$CPP $CPPFLAGS'
31417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
31424 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
31425 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
31426 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
31427 do :
31428 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31429 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31430 eval as_val=\$$as_ac_var
31431 if test "x$as_val" = x""yes; then :
31432 cat >>confdefs.h <<_ACEOF
31433 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31434 _ACEOF
31437 done
31439 else
31440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
31441 $as_echo_n "checking for _long double trig functions... " >&6; }
31442 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
31443 $as_echo_n "(cached) " >&6
31444 else
31447 ac_ext=cpp
31448 ac_cpp='$CXXCPP $CPPFLAGS'
31449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31454 /* end confdefs.h. */
31455 #include <math.h>
31457 main ()
31459 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
31461 return 0;
31463 _ACEOF
31464 if ac_fn_cxx_try_compile "$LINENO"; then :
31465 glibcxx_cv_func__long_double_trig_use=yes
31466 else
31467 glibcxx_cv_func__long_double_trig_use=no
31469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31470 ac_ext=c
31471 ac_cpp='$CPP $CPPFLAGS'
31472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
31479 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
31480 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
31481 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
31482 do :
31483 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31484 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31485 eval as_val=\$$as_ac_var
31486 if test "x$as_val" = x""yes; then :
31487 cat >>confdefs.h <<_ACEOF
31488 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31489 _ACEOF
31492 done
31501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
31502 $as_echo_n "checking for long double round functions... " >&6; }
31503 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
31504 $as_echo_n "(cached) " >&6
31505 else
31508 ac_ext=cpp
31509 ac_cpp='$CXXCPP $CPPFLAGS'
31510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31515 /* end confdefs.h. */
31516 #include <math.h>
31518 main ()
31520 ceill (0); floorl (0);
31522 return 0;
31524 _ACEOF
31525 if ac_fn_cxx_try_compile "$LINENO"; then :
31526 glibcxx_cv_func_long_double_round_use=yes
31527 else
31528 glibcxx_cv_func_long_double_round_use=no
31530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31531 ac_ext=c
31532 ac_cpp='$CPP $CPPFLAGS'
31533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
31540 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
31541 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
31542 for ac_func in ceill floorl
31543 do :
31544 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31545 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31546 eval as_val=\$$as_ac_var
31547 if test "x$as_val" = x""yes; then :
31548 cat >>confdefs.h <<_ACEOF
31549 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31550 _ACEOF
31553 done
31555 else
31556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
31557 $as_echo_n "checking for _long double round functions... " >&6; }
31558 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
31559 $as_echo_n "(cached) " >&6
31560 else
31563 ac_ext=cpp
31564 ac_cpp='$CXXCPP $CPPFLAGS'
31565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31570 /* end confdefs.h. */
31571 #include <math.h>
31573 main ()
31575 _ceill (0); _floorl (0);
31577 return 0;
31579 _ACEOF
31580 if ac_fn_cxx_try_compile "$LINENO"; then :
31581 glibcxx_cv_func__long_double_round_use=yes
31582 else
31583 glibcxx_cv_func__long_double_round_use=no
31585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31586 ac_ext=c
31587 ac_cpp='$CPP $CPPFLAGS'
31588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
31595 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
31596 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
31597 for ac_func in _ceill _floorl
31598 do :
31599 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31600 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31601 eval as_val=\$$as_ac_var
31602 if test "x$as_val" = x""yes; then :
31603 cat >>confdefs.h <<_ACEOF
31604 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31605 _ACEOF
31608 done
31618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
31619 $as_echo_n "checking for isnanl declaration... " >&6; }
31620 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
31621 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
31622 $as_echo_n "(cached) " >&6
31623 else
31626 ac_ext=cpp
31627 ac_cpp='$CXXCPP $CPPFLAGS'
31628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31633 /* end confdefs.h. */
31634 #include <math.h>
31635 #ifdef HAVE_IEEEFP_H
31636 #include <ieeefp.h>
31637 #endif
31640 main ()
31642 isnanl(0);
31644 return 0;
31646 _ACEOF
31647 if ac_fn_cxx_try_compile "$LINENO"; then :
31648 glibcxx_cv_func_isnanl_use=yes
31649 else
31650 glibcxx_cv_func_isnanl_use=no
31652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31653 ac_ext=c
31654 ac_cpp='$CPP $CPPFLAGS'
31655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
31664 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
31666 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
31667 for ac_func in isnanl
31668 do :
31669 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
31670 if test "x$ac_cv_func_isnanl" = x""yes; then :
31671 cat >>confdefs.h <<_ACEOF
31672 #define HAVE_ISNANL 1
31673 _ACEOF
31676 done
31678 else
31680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
31681 $as_echo_n "checking for _isnanl declaration... " >&6; }
31682 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
31683 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
31684 $as_echo_n "(cached) " >&6
31685 else
31688 ac_ext=cpp
31689 ac_cpp='$CXXCPP $CPPFLAGS'
31690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31695 /* end confdefs.h. */
31696 #include <math.h>
31697 #ifdef HAVE_IEEEFP_H
31698 #include <ieeefp.h>
31699 #endif
31702 main ()
31704 _isnanl(0);
31706 return 0;
31708 _ACEOF
31709 if ac_fn_cxx_try_compile "$LINENO"; then :
31710 glibcxx_cv_func__isnanl_use=yes
31711 else
31712 glibcxx_cv_func__isnanl_use=no
31714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31715 ac_ext=c
31716 ac_cpp='$CPP $CPPFLAGS'
31717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
31726 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
31728 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
31729 for ac_func in _isnanl
31730 do :
31731 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
31732 if test "x$ac_cv_func__isnanl" = x""yes; then :
31733 cat >>confdefs.h <<_ACEOF
31734 #define HAVE__ISNANL 1
31735 _ACEOF
31738 done
31747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
31748 $as_echo_n "checking for isinfl declaration... " >&6; }
31749 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
31750 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
31751 $as_echo_n "(cached) " >&6
31752 else
31755 ac_ext=cpp
31756 ac_cpp='$CXXCPP $CPPFLAGS'
31757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31762 /* end confdefs.h. */
31763 #include <math.h>
31764 #ifdef HAVE_IEEEFP_H
31765 #include <ieeefp.h>
31766 #endif
31769 main ()
31771 isinfl(0);
31773 return 0;
31775 _ACEOF
31776 if ac_fn_cxx_try_compile "$LINENO"; then :
31777 glibcxx_cv_func_isinfl_use=yes
31778 else
31779 glibcxx_cv_func_isinfl_use=no
31781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31782 ac_ext=c
31783 ac_cpp='$CPP $CPPFLAGS'
31784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
31793 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
31795 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
31796 for ac_func in isinfl
31797 do :
31798 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
31799 if test "x$ac_cv_func_isinfl" = x""yes; then :
31800 cat >>confdefs.h <<_ACEOF
31801 #define HAVE_ISINFL 1
31802 _ACEOF
31805 done
31807 else
31809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
31810 $as_echo_n "checking for _isinfl declaration... " >&6; }
31811 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
31812 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
31813 $as_echo_n "(cached) " >&6
31814 else
31817 ac_ext=cpp
31818 ac_cpp='$CXXCPP $CPPFLAGS'
31819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31824 /* end confdefs.h. */
31825 #include <math.h>
31826 #ifdef HAVE_IEEEFP_H
31827 #include <ieeefp.h>
31828 #endif
31831 main ()
31833 _isinfl(0);
31835 return 0;
31837 _ACEOF
31838 if ac_fn_cxx_try_compile "$LINENO"; then :
31839 glibcxx_cv_func__isinfl_use=yes
31840 else
31841 glibcxx_cv_func__isinfl_use=no
31843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31844 ac_ext=c
31845 ac_cpp='$CPP $CPPFLAGS'
31846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
31855 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
31857 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
31858 for ac_func in _isinfl
31859 do :
31860 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
31861 if test "x$ac_cv_func__isinfl" = x""yes; then :
31862 cat >>confdefs.h <<_ACEOF
31863 #define HAVE__ISINFL 1
31864 _ACEOF
31867 done
31876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
31877 $as_echo_n "checking for atan2l declaration... " >&6; }
31878 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
31879 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
31880 $as_echo_n "(cached) " >&6
31881 else
31884 ac_ext=cpp
31885 ac_cpp='$CXXCPP $CPPFLAGS'
31886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31891 /* end confdefs.h. */
31892 #include <math.h>
31894 main ()
31896 atan2l(0, 0);
31898 return 0;
31900 _ACEOF
31901 if ac_fn_cxx_try_compile "$LINENO"; then :
31902 glibcxx_cv_func_atan2l_use=yes
31903 else
31904 glibcxx_cv_func_atan2l_use=no
31906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31907 ac_ext=c
31908 ac_cpp='$CPP $CPPFLAGS'
31909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
31918 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
31920 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
31921 for ac_func in atan2l
31922 do :
31923 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
31924 if test "x$ac_cv_func_atan2l" = x""yes; then :
31925 cat >>confdefs.h <<_ACEOF
31926 #define HAVE_ATAN2L 1
31927 _ACEOF
31930 done
31932 else
31934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
31935 $as_echo_n "checking for _atan2l declaration... " >&6; }
31936 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
31937 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
31938 $as_echo_n "(cached) " >&6
31939 else
31942 ac_ext=cpp
31943 ac_cpp='$CXXCPP $CPPFLAGS'
31944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31949 /* end confdefs.h. */
31950 #include <math.h>
31952 main ()
31954 _atan2l(0, 0);
31956 return 0;
31958 _ACEOF
31959 if ac_fn_cxx_try_compile "$LINENO"; then :
31960 glibcxx_cv_func__atan2l_use=yes
31961 else
31962 glibcxx_cv_func__atan2l_use=no
31964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31965 ac_ext=c
31966 ac_cpp='$CPP $CPPFLAGS'
31967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
31976 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
31978 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
31979 for ac_func in _atan2l
31980 do :
31981 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
31982 if test "x$ac_cv_func__atan2l" = x""yes; then :
31983 cat >>confdefs.h <<_ACEOF
31984 #define HAVE__ATAN2L 1
31985 _ACEOF
31988 done
31997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
31998 $as_echo_n "checking for expl declaration... " >&6; }
31999 if test x${glibcxx_cv_func_expl_use+set} != xset; then
32000 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
32001 $as_echo_n "(cached) " >&6
32002 else
32005 ac_ext=cpp
32006 ac_cpp='$CXXCPP $CPPFLAGS'
32007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32012 /* end confdefs.h. */
32013 #include <math.h>
32014 #ifdef HAVE_IEEEFP_H
32015 #include <ieeefp.h>
32016 #endif
32019 main ()
32021 expl(0);
32023 return 0;
32025 _ACEOF
32026 if ac_fn_cxx_try_compile "$LINENO"; then :
32027 glibcxx_cv_func_expl_use=yes
32028 else
32029 glibcxx_cv_func_expl_use=no
32031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32032 ac_ext=c
32033 ac_cpp='$CPP $CPPFLAGS'
32034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
32043 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
32045 if test x$glibcxx_cv_func_expl_use = x"yes"; then
32046 for ac_func in expl
32047 do :
32048 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
32049 if test "x$ac_cv_func_expl" = x""yes; then :
32050 cat >>confdefs.h <<_ACEOF
32051 #define HAVE_EXPL 1
32052 _ACEOF
32055 done
32057 else
32059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
32060 $as_echo_n "checking for _expl declaration... " >&6; }
32061 if test x${glibcxx_cv_func__expl_use+set} != xset; then
32062 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
32063 $as_echo_n "(cached) " >&6
32064 else
32067 ac_ext=cpp
32068 ac_cpp='$CXXCPP $CPPFLAGS'
32069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32074 /* end confdefs.h. */
32075 #include <math.h>
32076 #ifdef HAVE_IEEEFP_H
32077 #include <ieeefp.h>
32078 #endif
32081 main ()
32083 _expl(0);
32085 return 0;
32087 _ACEOF
32088 if ac_fn_cxx_try_compile "$LINENO"; then :
32089 glibcxx_cv_func__expl_use=yes
32090 else
32091 glibcxx_cv_func__expl_use=no
32093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32094 ac_ext=c
32095 ac_cpp='$CPP $CPPFLAGS'
32096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
32105 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
32107 if test x$glibcxx_cv_func__expl_use = x"yes"; then
32108 for ac_func in _expl
32109 do :
32110 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
32111 if test "x$ac_cv_func__expl" = x""yes; then :
32112 cat >>confdefs.h <<_ACEOF
32113 #define HAVE__EXPL 1
32114 _ACEOF
32117 done
32126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
32127 $as_echo_n "checking for fabsl declaration... " >&6; }
32128 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
32129 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
32130 $as_echo_n "(cached) " >&6
32131 else
32134 ac_ext=cpp
32135 ac_cpp='$CXXCPP $CPPFLAGS'
32136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32141 /* end confdefs.h. */
32142 #include <math.h>
32143 #ifdef HAVE_IEEEFP_H
32144 #include <ieeefp.h>
32145 #endif
32148 main ()
32150 fabsl(0);
32152 return 0;
32154 _ACEOF
32155 if ac_fn_cxx_try_compile "$LINENO"; then :
32156 glibcxx_cv_func_fabsl_use=yes
32157 else
32158 glibcxx_cv_func_fabsl_use=no
32160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32161 ac_ext=c
32162 ac_cpp='$CPP $CPPFLAGS'
32163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
32172 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
32174 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
32175 for ac_func in fabsl
32176 do :
32177 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
32178 if test "x$ac_cv_func_fabsl" = x""yes; then :
32179 cat >>confdefs.h <<_ACEOF
32180 #define HAVE_FABSL 1
32181 _ACEOF
32184 done
32186 else
32188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
32189 $as_echo_n "checking for _fabsl declaration... " >&6; }
32190 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
32191 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
32192 $as_echo_n "(cached) " >&6
32193 else
32196 ac_ext=cpp
32197 ac_cpp='$CXXCPP $CPPFLAGS'
32198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32203 /* end confdefs.h. */
32204 #include <math.h>
32205 #ifdef HAVE_IEEEFP_H
32206 #include <ieeefp.h>
32207 #endif
32210 main ()
32212 _fabsl(0);
32214 return 0;
32216 _ACEOF
32217 if ac_fn_cxx_try_compile "$LINENO"; then :
32218 glibcxx_cv_func__fabsl_use=yes
32219 else
32220 glibcxx_cv_func__fabsl_use=no
32222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32223 ac_ext=c
32224 ac_cpp='$CPP $CPPFLAGS'
32225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
32234 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
32236 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
32237 for ac_func in _fabsl
32238 do :
32239 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
32240 if test "x$ac_cv_func__fabsl" = x""yes; then :
32241 cat >>confdefs.h <<_ACEOF
32242 #define HAVE__FABSL 1
32243 _ACEOF
32246 done
32255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
32256 $as_echo_n "checking for fmodl declaration... " >&6; }
32257 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
32258 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
32259 $as_echo_n "(cached) " >&6
32260 else
32263 ac_ext=cpp
32264 ac_cpp='$CXXCPP $CPPFLAGS'
32265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32270 /* end confdefs.h. */
32271 #include <math.h>
32273 main ()
32275 fmodl(0, 0);
32277 return 0;
32279 _ACEOF
32280 if ac_fn_cxx_try_compile "$LINENO"; then :
32281 glibcxx_cv_func_fmodl_use=yes
32282 else
32283 glibcxx_cv_func_fmodl_use=no
32285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32286 ac_ext=c
32287 ac_cpp='$CPP $CPPFLAGS'
32288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
32297 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
32299 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
32300 for ac_func in fmodl
32301 do :
32302 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
32303 if test "x$ac_cv_func_fmodl" = x""yes; then :
32304 cat >>confdefs.h <<_ACEOF
32305 #define HAVE_FMODL 1
32306 _ACEOF
32309 done
32311 else
32313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
32314 $as_echo_n "checking for _fmodl declaration... " >&6; }
32315 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
32316 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
32317 $as_echo_n "(cached) " >&6
32318 else
32321 ac_ext=cpp
32322 ac_cpp='$CXXCPP $CPPFLAGS'
32323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32328 /* end confdefs.h. */
32329 #include <math.h>
32331 main ()
32333 _fmodl(0, 0);
32335 return 0;
32337 _ACEOF
32338 if ac_fn_cxx_try_compile "$LINENO"; then :
32339 glibcxx_cv_func__fmodl_use=yes
32340 else
32341 glibcxx_cv_func__fmodl_use=no
32343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32344 ac_ext=c
32345 ac_cpp='$CPP $CPPFLAGS'
32346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
32355 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
32357 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
32358 for ac_func in _fmodl
32359 do :
32360 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
32361 if test "x$ac_cv_func__fmodl" = x""yes; then :
32362 cat >>confdefs.h <<_ACEOF
32363 #define HAVE__FMODL 1
32364 _ACEOF
32367 done
32376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
32377 $as_echo_n "checking for frexpl declaration... " >&6; }
32378 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
32379 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
32380 $as_echo_n "(cached) " >&6
32381 else
32384 ac_ext=cpp
32385 ac_cpp='$CXXCPP $CPPFLAGS'
32386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32391 /* end confdefs.h. */
32392 #include <math.h>
32394 main ()
32396 frexpl(0, 0);
32398 return 0;
32400 _ACEOF
32401 if ac_fn_cxx_try_compile "$LINENO"; then :
32402 glibcxx_cv_func_frexpl_use=yes
32403 else
32404 glibcxx_cv_func_frexpl_use=no
32406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32407 ac_ext=c
32408 ac_cpp='$CPP $CPPFLAGS'
32409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
32418 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
32420 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
32421 for ac_func in frexpl
32422 do :
32423 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
32424 if test "x$ac_cv_func_frexpl" = x""yes; then :
32425 cat >>confdefs.h <<_ACEOF
32426 #define HAVE_FREXPL 1
32427 _ACEOF
32430 done
32432 else
32434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
32435 $as_echo_n "checking for _frexpl declaration... " >&6; }
32436 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
32437 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
32438 $as_echo_n "(cached) " >&6
32439 else
32442 ac_ext=cpp
32443 ac_cpp='$CXXCPP $CPPFLAGS'
32444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32449 /* end confdefs.h. */
32450 #include <math.h>
32452 main ()
32454 _frexpl(0, 0);
32456 return 0;
32458 _ACEOF
32459 if ac_fn_cxx_try_compile "$LINENO"; then :
32460 glibcxx_cv_func__frexpl_use=yes
32461 else
32462 glibcxx_cv_func__frexpl_use=no
32464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32465 ac_ext=c
32466 ac_cpp='$CPP $CPPFLAGS'
32467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
32476 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
32478 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
32479 for ac_func in _frexpl
32480 do :
32481 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
32482 if test "x$ac_cv_func__frexpl" = x""yes; then :
32483 cat >>confdefs.h <<_ACEOF
32484 #define HAVE__FREXPL 1
32485 _ACEOF
32488 done
32497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
32498 $as_echo_n "checking for hypotl declaration... " >&6; }
32499 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
32500 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
32501 $as_echo_n "(cached) " >&6
32502 else
32505 ac_ext=cpp
32506 ac_cpp='$CXXCPP $CPPFLAGS'
32507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32512 /* end confdefs.h. */
32513 #include <math.h>
32515 main ()
32517 hypotl(0, 0);
32519 return 0;
32521 _ACEOF
32522 if ac_fn_cxx_try_compile "$LINENO"; then :
32523 glibcxx_cv_func_hypotl_use=yes
32524 else
32525 glibcxx_cv_func_hypotl_use=no
32527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32528 ac_ext=c
32529 ac_cpp='$CPP $CPPFLAGS'
32530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
32539 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
32541 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
32542 for ac_func in hypotl
32543 do :
32544 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
32545 if test "x$ac_cv_func_hypotl" = x""yes; then :
32546 cat >>confdefs.h <<_ACEOF
32547 #define HAVE_HYPOTL 1
32548 _ACEOF
32551 done
32553 else
32555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
32556 $as_echo_n "checking for _hypotl declaration... " >&6; }
32557 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
32558 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
32559 $as_echo_n "(cached) " >&6
32560 else
32563 ac_ext=cpp
32564 ac_cpp='$CXXCPP $CPPFLAGS'
32565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32570 /* end confdefs.h. */
32571 #include <math.h>
32573 main ()
32575 _hypotl(0, 0);
32577 return 0;
32579 _ACEOF
32580 if ac_fn_cxx_try_compile "$LINENO"; then :
32581 glibcxx_cv_func__hypotl_use=yes
32582 else
32583 glibcxx_cv_func__hypotl_use=no
32585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32586 ac_ext=c
32587 ac_cpp='$CPP $CPPFLAGS'
32588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
32597 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
32599 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
32600 for ac_func in _hypotl
32601 do :
32602 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
32603 if test "x$ac_cv_func__hypotl" = x""yes; then :
32604 cat >>confdefs.h <<_ACEOF
32605 #define HAVE__HYPOTL 1
32606 _ACEOF
32609 done
32618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
32619 $as_echo_n "checking for ldexpl declaration... " >&6; }
32620 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
32621 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
32622 $as_echo_n "(cached) " >&6
32623 else
32626 ac_ext=cpp
32627 ac_cpp='$CXXCPP $CPPFLAGS'
32628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32633 /* end confdefs.h. */
32634 #include <math.h>
32636 main ()
32638 ldexpl(0, 0);
32640 return 0;
32642 _ACEOF
32643 if ac_fn_cxx_try_compile "$LINENO"; then :
32644 glibcxx_cv_func_ldexpl_use=yes
32645 else
32646 glibcxx_cv_func_ldexpl_use=no
32648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32649 ac_ext=c
32650 ac_cpp='$CPP $CPPFLAGS'
32651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
32660 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
32662 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
32663 for ac_func in ldexpl
32664 do :
32665 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
32666 if test "x$ac_cv_func_ldexpl" = x""yes; then :
32667 cat >>confdefs.h <<_ACEOF
32668 #define HAVE_LDEXPL 1
32669 _ACEOF
32672 done
32674 else
32676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
32677 $as_echo_n "checking for _ldexpl declaration... " >&6; }
32678 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
32679 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
32680 $as_echo_n "(cached) " >&6
32681 else
32684 ac_ext=cpp
32685 ac_cpp='$CXXCPP $CPPFLAGS'
32686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32691 /* end confdefs.h. */
32692 #include <math.h>
32694 main ()
32696 _ldexpl(0, 0);
32698 return 0;
32700 _ACEOF
32701 if ac_fn_cxx_try_compile "$LINENO"; then :
32702 glibcxx_cv_func__ldexpl_use=yes
32703 else
32704 glibcxx_cv_func__ldexpl_use=no
32706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32707 ac_ext=c
32708 ac_cpp='$CPP $CPPFLAGS'
32709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
32718 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
32720 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
32721 for ac_func in _ldexpl
32722 do :
32723 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
32724 if test "x$ac_cv_func__ldexpl" = x""yes; then :
32725 cat >>confdefs.h <<_ACEOF
32726 #define HAVE__LDEXPL 1
32727 _ACEOF
32730 done
32739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
32740 $as_echo_n "checking for logl declaration... " >&6; }
32741 if test x${glibcxx_cv_func_logl_use+set} != xset; then
32742 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
32743 $as_echo_n "(cached) " >&6
32744 else
32747 ac_ext=cpp
32748 ac_cpp='$CXXCPP $CPPFLAGS'
32749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32754 /* end confdefs.h. */
32755 #include <math.h>
32756 #ifdef HAVE_IEEEFP_H
32757 #include <ieeefp.h>
32758 #endif
32761 main ()
32763 logl(0);
32765 return 0;
32767 _ACEOF
32768 if ac_fn_cxx_try_compile "$LINENO"; then :
32769 glibcxx_cv_func_logl_use=yes
32770 else
32771 glibcxx_cv_func_logl_use=no
32773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32774 ac_ext=c
32775 ac_cpp='$CPP $CPPFLAGS'
32776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
32785 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
32787 if test x$glibcxx_cv_func_logl_use = x"yes"; then
32788 for ac_func in logl
32789 do :
32790 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
32791 if test "x$ac_cv_func_logl" = x""yes; then :
32792 cat >>confdefs.h <<_ACEOF
32793 #define HAVE_LOGL 1
32794 _ACEOF
32797 done
32799 else
32801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
32802 $as_echo_n "checking for _logl declaration... " >&6; }
32803 if test x${glibcxx_cv_func__logl_use+set} != xset; then
32804 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
32805 $as_echo_n "(cached) " >&6
32806 else
32809 ac_ext=cpp
32810 ac_cpp='$CXXCPP $CPPFLAGS'
32811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32816 /* end confdefs.h. */
32817 #include <math.h>
32818 #ifdef HAVE_IEEEFP_H
32819 #include <ieeefp.h>
32820 #endif
32823 main ()
32825 _logl(0);
32827 return 0;
32829 _ACEOF
32830 if ac_fn_cxx_try_compile "$LINENO"; then :
32831 glibcxx_cv_func__logl_use=yes
32832 else
32833 glibcxx_cv_func__logl_use=no
32835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32836 ac_ext=c
32837 ac_cpp='$CPP $CPPFLAGS'
32838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
32847 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
32849 if test x$glibcxx_cv_func__logl_use = x"yes"; then
32850 for ac_func in _logl
32851 do :
32852 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
32853 if test "x$ac_cv_func__logl" = x""yes; then :
32854 cat >>confdefs.h <<_ACEOF
32855 #define HAVE__LOGL 1
32856 _ACEOF
32859 done
32868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
32869 $as_echo_n "checking for log10l declaration... " >&6; }
32870 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
32871 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
32872 $as_echo_n "(cached) " >&6
32873 else
32876 ac_ext=cpp
32877 ac_cpp='$CXXCPP $CPPFLAGS'
32878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32883 /* end confdefs.h. */
32884 #include <math.h>
32885 #ifdef HAVE_IEEEFP_H
32886 #include <ieeefp.h>
32887 #endif
32890 main ()
32892 log10l(0);
32894 return 0;
32896 _ACEOF
32897 if ac_fn_cxx_try_compile "$LINENO"; then :
32898 glibcxx_cv_func_log10l_use=yes
32899 else
32900 glibcxx_cv_func_log10l_use=no
32902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32903 ac_ext=c
32904 ac_cpp='$CPP $CPPFLAGS'
32905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
32914 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
32916 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
32917 for ac_func in log10l
32918 do :
32919 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
32920 if test "x$ac_cv_func_log10l" = x""yes; then :
32921 cat >>confdefs.h <<_ACEOF
32922 #define HAVE_LOG10L 1
32923 _ACEOF
32926 done
32928 else
32930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
32931 $as_echo_n "checking for _log10l declaration... " >&6; }
32932 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
32933 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
32934 $as_echo_n "(cached) " >&6
32935 else
32938 ac_ext=cpp
32939 ac_cpp='$CXXCPP $CPPFLAGS'
32940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32945 /* end confdefs.h. */
32946 #include <math.h>
32947 #ifdef HAVE_IEEEFP_H
32948 #include <ieeefp.h>
32949 #endif
32952 main ()
32954 _log10l(0);
32956 return 0;
32958 _ACEOF
32959 if ac_fn_cxx_try_compile "$LINENO"; then :
32960 glibcxx_cv_func__log10l_use=yes
32961 else
32962 glibcxx_cv_func__log10l_use=no
32964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32965 ac_ext=c
32966 ac_cpp='$CPP $CPPFLAGS'
32967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
32976 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
32978 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
32979 for ac_func in _log10l
32980 do :
32981 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
32982 if test "x$ac_cv_func__log10l" = x""yes; then :
32983 cat >>confdefs.h <<_ACEOF
32984 #define HAVE__LOG10L 1
32985 _ACEOF
32988 done
32997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
32998 $as_echo_n "checking for modfl declaration... " >&6; }
32999 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
33000 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
33001 $as_echo_n "(cached) " >&6
33002 else
33005 ac_ext=cpp
33006 ac_cpp='$CXXCPP $CPPFLAGS'
33007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33012 /* end confdefs.h. */
33013 #include <math.h>
33015 main ()
33017 modfl(0, 0);
33019 return 0;
33021 _ACEOF
33022 if ac_fn_cxx_try_compile "$LINENO"; then :
33023 glibcxx_cv_func_modfl_use=yes
33024 else
33025 glibcxx_cv_func_modfl_use=no
33027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33028 ac_ext=c
33029 ac_cpp='$CPP $CPPFLAGS'
33030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
33039 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
33041 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
33042 for ac_func in modfl
33043 do :
33044 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
33045 if test "x$ac_cv_func_modfl" = x""yes; then :
33046 cat >>confdefs.h <<_ACEOF
33047 #define HAVE_MODFL 1
33048 _ACEOF
33051 done
33053 else
33055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
33056 $as_echo_n "checking for _modfl declaration... " >&6; }
33057 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
33058 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
33059 $as_echo_n "(cached) " >&6
33060 else
33063 ac_ext=cpp
33064 ac_cpp='$CXXCPP $CPPFLAGS'
33065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33070 /* end confdefs.h. */
33071 #include <math.h>
33073 main ()
33075 _modfl(0, 0);
33077 return 0;
33079 _ACEOF
33080 if ac_fn_cxx_try_compile "$LINENO"; then :
33081 glibcxx_cv_func__modfl_use=yes
33082 else
33083 glibcxx_cv_func__modfl_use=no
33085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33086 ac_ext=c
33087 ac_cpp='$CPP $CPPFLAGS'
33088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
33097 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
33099 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
33100 for ac_func in _modfl
33101 do :
33102 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
33103 if test "x$ac_cv_func__modfl" = x""yes; then :
33104 cat >>confdefs.h <<_ACEOF
33105 #define HAVE__MODFL 1
33106 _ACEOF
33109 done
33118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
33119 $as_echo_n "checking for powl declaration... " >&6; }
33120 if test x${glibcxx_cv_func_powl_use+set} != xset; then
33121 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
33122 $as_echo_n "(cached) " >&6
33123 else
33126 ac_ext=cpp
33127 ac_cpp='$CXXCPP $CPPFLAGS'
33128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33133 /* end confdefs.h. */
33134 #include <math.h>
33136 main ()
33138 powl(0, 0);
33140 return 0;
33142 _ACEOF
33143 if ac_fn_cxx_try_compile "$LINENO"; then :
33144 glibcxx_cv_func_powl_use=yes
33145 else
33146 glibcxx_cv_func_powl_use=no
33148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33149 ac_ext=c
33150 ac_cpp='$CPP $CPPFLAGS'
33151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
33160 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
33162 if test x$glibcxx_cv_func_powl_use = x"yes"; then
33163 for ac_func in powl
33164 do :
33165 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
33166 if test "x$ac_cv_func_powl" = x""yes; then :
33167 cat >>confdefs.h <<_ACEOF
33168 #define HAVE_POWL 1
33169 _ACEOF
33172 done
33174 else
33176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
33177 $as_echo_n "checking for _powl declaration... " >&6; }
33178 if test x${glibcxx_cv_func__powl_use+set} != xset; then
33179 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
33180 $as_echo_n "(cached) " >&6
33181 else
33184 ac_ext=cpp
33185 ac_cpp='$CXXCPP $CPPFLAGS'
33186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33191 /* end confdefs.h. */
33192 #include <math.h>
33194 main ()
33196 _powl(0, 0);
33198 return 0;
33200 _ACEOF
33201 if ac_fn_cxx_try_compile "$LINENO"; then :
33202 glibcxx_cv_func__powl_use=yes
33203 else
33204 glibcxx_cv_func__powl_use=no
33206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33207 ac_ext=c
33208 ac_cpp='$CPP $CPPFLAGS'
33209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
33218 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
33220 if test x$glibcxx_cv_func__powl_use = x"yes"; then
33221 for ac_func in _powl
33222 do :
33223 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
33224 if test "x$ac_cv_func__powl" = x""yes; then :
33225 cat >>confdefs.h <<_ACEOF
33226 #define HAVE__POWL 1
33227 _ACEOF
33230 done
33239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
33240 $as_echo_n "checking for sqrtl declaration... " >&6; }
33241 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
33242 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
33243 $as_echo_n "(cached) " >&6
33244 else
33247 ac_ext=cpp
33248 ac_cpp='$CXXCPP $CPPFLAGS'
33249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33254 /* end confdefs.h. */
33255 #include <math.h>
33256 #ifdef HAVE_IEEEFP_H
33257 #include <ieeefp.h>
33258 #endif
33261 main ()
33263 sqrtl(0);
33265 return 0;
33267 _ACEOF
33268 if ac_fn_cxx_try_compile "$LINENO"; then :
33269 glibcxx_cv_func_sqrtl_use=yes
33270 else
33271 glibcxx_cv_func_sqrtl_use=no
33273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33274 ac_ext=c
33275 ac_cpp='$CPP $CPPFLAGS'
33276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
33285 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
33287 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
33288 for ac_func in sqrtl
33289 do :
33290 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
33291 if test "x$ac_cv_func_sqrtl" = x""yes; then :
33292 cat >>confdefs.h <<_ACEOF
33293 #define HAVE_SQRTL 1
33294 _ACEOF
33297 done
33299 else
33301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
33302 $as_echo_n "checking for _sqrtl declaration... " >&6; }
33303 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
33304 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
33305 $as_echo_n "(cached) " >&6
33306 else
33309 ac_ext=cpp
33310 ac_cpp='$CXXCPP $CPPFLAGS'
33311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33316 /* end confdefs.h. */
33317 #include <math.h>
33318 #ifdef HAVE_IEEEFP_H
33319 #include <ieeefp.h>
33320 #endif
33323 main ()
33325 _sqrtl(0);
33327 return 0;
33329 _ACEOF
33330 if ac_fn_cxx_try_compile "$LINENO"; then :
33331 glibcxx_cv_func__sqrtl_use=yes
33332 else
33333 glibcxx_cv_func__sqrtl_use=no
33335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33336 ac_ext=c
33337 ac_cpp='$CPP $CPPFLAGS'
33338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
33347 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
33349 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
33350 for ac_func in _sqrtl
33351 do :
33352 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
33353 if test "x$ac_cv_func__sqrtl" = x""yes; then :
33354 cat >>confdefs.h <<_ACEOF
33355 #define HAVE__SQRTL 1
33356 _ACEOF
33359 done
33368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
33369 $as_echo_n "checking for sincosl declaration... " >&6; }
33370 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
33371 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
33372 $as_echo_n "(cached) " >&6
33373 else
33376 ac_ext=cpp
33377 ac_cpp='$CXXCPP $CPPFLAGS'
33378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33383 /* end confdefs.h. */
33384 #include <math.h>
33386 main ()
33388 sincosl(0, 0, 0);
33390 return 0;
33392 _ACEOF
33393 if ac_fn_cxx_try_compile "$LINENO"; then :
33394 glibcxx_cv_func_sincosl_use=yes
33395 else
33396 glibcxx_cv_func_sincosl_use=no
33398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33399 ac_ext=c
33400 ac_cpp='$CPP $CPPFLAGS'
33401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
33410 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
33412 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
33413 for ac_func in sincosl
33414 do :
33415 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
33416 if test "x$ac_cv_func_sincosl" = x""yes; then :
33417 cat >>confdefs.h <<_ACEOF
33418 #define HAVE_SINCOSL 1
33419 _ACEOF
33422 done
33424 else
33426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
33427 $as_echo_n "checking for _sincosl declaration... " >&6; }
33428 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
33429 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
33430 $as_echo_n "(cached) " >&6
33431 else
33434 ac_ext=cpp
33435 ac_cpp='$CXXCPP $CPPFLAGS'
33436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33441 /* end confdefs.h. */
33442 #include <math.h>
33444 main ()
33446 _sincosl(0, 0, 0);
33448 return 0;
33450 _ACEOF
33451 if ac_fn_cxx_try_compile "$LINENO"; then :
33452 glibcxx_cv_func__sincosl_use=yes
33453 else
33454 glibcxx_cv_func__sincosl_use=no
33456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33457 ac_ext=c
33458 ac_cpp='$CPP $CPPFLAGS'
33459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
33468 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
33470 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
33471 for ac_func in _sincosl
33472 do :
33473 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
33474 if test "x$ac_cv_func__sincosl" = x""yes; then :
33475 cat >>confdefs.h <<_ACEOF
33476 #define HAVE__SINCOSL 1
33477 _ACEOF
33480 done
33489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
33490 $as_echo_n "checking for finitel declaration... " >&6; }
33491 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
33492 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
33493 $as_echo_n "(cached) " >&6
33494 else
33497 ac_ext=cpp
33498 ac_cpp='$CXXCPP $CPPFLAGS'
33499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33504 /* end confdefs.h. */
33505 #include <math.h>
33506 #ifdef HAVE_IEEEFP_H
33507 #include <ieeefp.h>
33508 #endif
33511 main ()
33513 finitel(0);
33515 return 0;
33517 _ACEOF
33518 if ac_fn_cxx_try_compile "$LINENO"; then :
33519 glibcxx_cv_func_finitel_use=yes
33520 else
33521 glibcxx_cv_func_finitel_use=no
33523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33524 ac_ext=c
33525 ac_cpp='$CPP $CPPFLAGS'
33526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
33535 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
33537 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
33538 for ac_func in finitel
33539 do :
33540 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
33541 if test "x$ac_cv_func_finitel" = x""yes; then :
33542 cat >>confdefs.h <<_ACEOF
33543 #define HAVE_FINITEL 1
33544 _ACEOF
33547 done
33549 else
33551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
33552 $as_echo_n "checking for _finitel declaration... " >&6; }
33553 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
33554 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
33555 $as_echo_n "(cached) " >&6
33556 else
33559 ac_ext=cpp
33560 ac_cpp='$CXXCPP $CPPFLAGS'
33561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33566 /* end confdefs.h. */
33567 #include <math.h>
33568 #ifdef HAVE_IEEEFP_H
33569 #include <ieeefp.h>
33570 #endif
33573 main ()
33575 _finitel(0);
33577 return 0;
33579 _ACEOF
33580 if ac_fn_cxx_try_compile "$LINENO"; then :
33581 glibcxx_cv_func__finitel_use=yes
33582 else
33583 glibcxx_cv_func__finitel_use=no
33585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33586 ac_ext=c
33587 ac_cpp='$CPP $CPPFLAGS'
33588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
33597 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
33599 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
33600 for ac_func in _finitel
33601 do :
33602 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
33603 if test "x$ac_cv_func__finitel" = x""yes; then :
33604 cat >>confdefs.h <<_ACEOF
33605 #define HAVE__FINITEL 1
33606 _ACEOF
33609 done
33617 LIBS="$ac_save_LIBS"
33618 CXXFLAGS="$ac_save_CXXFLAGS"
33621 ac_test_CXXFLAGS="${CXXFLAGS+set}"
33622 ac_save_CXXFLAGS="$CXXFLAGS"
33623 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
33626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
33627 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
33628 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
33629 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
33630 $as_echo_n "(cached) " >&6
33631 else
33634 ac_ext=cpp
33635 ac_cpp='$CXXCPP $CPPFLAGS'
33636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33641 /* end confdefs.h. */
33642 #include <stdlib.h>
33644 main ()
33646 at_quick_exit(0);
33648 return 0;
33650 _ACEOF
33651 if ac_fn_cxx_try_compile "$LINENO"; then :
33652 glibcxx_cv_func_at_quick_exit_use=yes
33653 else
33654 glibcxx_cv_func_at_quick_exit_use=no
33656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33657 ac_ext=c
33658 ac_cpp='$CPP $CPPFLAGS'
33659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
33668 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
33669 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
33670 for ac_func in at_quick_exit
33671 do :
33672 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
33673 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
33674 cat >>confdefs.h <<_ACEOF
33675 #define HAVE_AT_QUICK_EXIT 1
33676 _ACEOF
33679 done
33684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
33685 $as_echo_n "checking for quick_exit declaration... " >&6; }
33686 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
33687 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
33688 $as_echo_n "(cached) " >&6
33689 else
33692 ac_ext=cpp
33693 ac_cpp='$CXXCPP $CPPFLAGS'
33694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33699 /* end confdefs.h. */
33700 #include <stdlib.h>
33702 main ()
33704 quick_exit(0);
33706 return 0;
33708 _ACEOF
33709 if ac_fn_cxx_try_compile "$LINENO"; then :
33710 glibcxx_cv_func_quick_exit_use=yes
33711 else
33712 glibcxx_cv_func_quick_exit_use=no
33714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33715 ac_ext=c
33716 ac_cpp='$CPP $CPPFLAGS'
33717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
33726 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
33727 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
33728 for ac_func in quick_exit
33729 do :
33730 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
33731 if test "x$ac_cv_func_quick_exit" = x""yes; then :
33732 cat >>confdefs.h <<_ACEOF
33733 #define HAVE_QUICK_EXIT 1
33734 _ACEOF
33737 done
33742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
33743 $as_echo_n "checking for strtold declaration... " >&6; }
33744 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
33745 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
33746 $as_echo_n "(cached) " >&6
33747 else
33750 ac_ext=cpp
33751 ac_cpp='$CXXCPP $CPPFLAGS'
33752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33757 /* end confdefs.h. */
33758 #include <stdlib.h>
33760 main ()
33762 strtold(0, 0);
33764 return 0;
33766 _ACEOF
33767 if ac_fn_cxx_try_compile "$LINENO"; then :
33768 glibcxx_cv_func_strtold_use=yes
33769 else
33770 glibcxx_cv_func_strtold_use=no
33772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33773 ac_ext=c
33774 ac_cpp='$CPP $CPPFLAGS'
33775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
33784 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
33785 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
33786 for ac_func in strtold
33787 do :
33788 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
33789 if test "x$ac_cv_func_strtold" = x""yes; then :
33790 cat >>confdefs.h <<_ACEOF
33791 #define HAVE_STRTOLD 1
33792 _ACEOF
33795 done
33802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
33803 $as_echo_n "checking for strtof declaration... " >&6; }
33804 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
33805 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
33806 $as_echo_n "(cached) " >&6
33807 else
33810 ac_ext=cpp
33811 ac_cpp='$CXXCPP $CPPFLAGS'
33812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33817 /* end confdefs.h. */
33818 #include <stdlib.h>
33820 main ()
33822 strtof(0, 0);
33824 return 0;
33826 _ACEOF
33827 if ac_fn_cxx_try_compile "$LINENO"; then :
33828 glibcxx_cv_func_strtof_use=yes
33829 else
33830 glibcxx_cv_func_strtof_use=no
33832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33833 ac_ext=c
33834 ac_cpp='$CPP $CPPFLAGS'
33835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
33844 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
33845 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
33846 for ac_func in strtof
33847 do :
33848 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
33849 if test "x$ac_cv_func_strtof" = x""yes; then :
33850 cat >>confdefs.h <<_ACEOF
33851 #define HAVE_STRTOF 1
33852 _ACEOF
33855 done
33862 CXXFLAGS="$ac_save_CXXFLAGS"
33865 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
33867 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
33869 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
33871 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
33874 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
33876 $as_echo "#define HAVE_MODF 1" >>confdefs.h
33878 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
33882 spu-*-elf*)
33884 # All these tests are for C++; save the language and the compiler flags.
33885 # The CXXFLAGS thing is suspicious, but based on similar bits previously
33886 # found in GLIBCXX_CONFIGURE.
33888 ac_ext=cpp
33889 ac_cpp='$CXXCPP $CPPFLAGS'
33890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33894 ac_test_CXXFLAGS="${CXXFLAGS+set}"
33895 ac_save_CXXFLAGS="$CXXFLAGS"
33897 # Check for maintainer-mode bits.
33898 if test x"$USE_MAINTAINER_MODE" = xno; then
33899 WERROR=''
33900 else
33901 WERROR='-Werror'
33904 # Check for -ffunction-sections -fdata-sections
33905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
33906 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
33907 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
33908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33909 /* end confdefs.h. */
33910 int foo; void bar() { };
33912 main ()
33916 return 0;
33918 _ACEOF
33919 if ac_fn_cxx_try_compile "$LINENO"; then :
33920 ac_fdsections=yes
33921 else
33922 ac_fdsections=no
33924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33925 if test "$ac_test_CXXFLAGS" = set; then
33926 CXXFLAGS="$ac_save_CXXFLAGS"
33927 else
33928 # this is the suspicious part
33929 CXXFLAGS=''
33931 if test x"$ac_fdsections" = x"yes"; then
33932 SECTION_FLAGS='-ffunction-sections -fdata-sections'
33934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
33935 $as_echo "$ac_fdsections" >&6; }
33937 ac_ext=c
33938 ac_cpp='$CPP $CPPFLAGS'
33939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33947 # If we're not using GNU ld, then there's no point in even trying these
33948 # tests. Check for that first. We should have already tested for gld
33949 # by now (in libtool), but require it now just to be safe...
33950 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
33951 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
33955 # The name set by libtool depends on the version of libtool. Shame on us
33956 # for depending on an impl detail, but c'est la vie. Older versions used
33957 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
33958 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
33959 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
33960 # set (hence we're using an older libtool), then set it.
33961 if test x${with_gnu_ld+set} != xset; then
33962 if test x${ac_cv_prog_gnu_ld+set} != xset; then
33963 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
33964 with_gnu_ld=no
33965 else
33966 with_gnu_ld=$ac_cv_prog_gnu_ld
33970 # Start by getting the version number. I think the libtool test already
33971 # does some of this, but throws away the result.
33972 glibcxx_ld_is_gold=no
33973 if test x"$with_gnu_ld" = x"yes"; then
33974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
33975 $as_echo_n "checking for ld version... " >&6; }
33977 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
33978 glibcxx_ld_is_gold=yes
33980 ldver=`$LD --version 2>/dev/null |
33981 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'`
33983 glibcxx_gnu_ld_version=`echo $ldver | \
33984 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
33985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
33986 $as_echo "$glibcxx_gnu_ld_version" >&6; }
33989 # Set --gc-sections.
33990 glibcxx_have_gc_sections=no
33991 if test "$glibcxx_ld_is_gold" = "yes"; then
33992 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
33993 glibcxx_have_gc_sections=yes
33995 else
33996 glibcxx_gcsections_min_ld=21602
33997 if test x"$with_gnu_ld" = x"yes" &&
33998 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
33999 glibcxx_have_gc_sections=yes
34002 if test "$glibcxx_have_gc_sections" = "yes"; then
34003 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
34004 # NB: This flag only works reliably after 2.16.1. Configure tests
34005 # for this are difficult, so hard wire a value that should work.
34007 ac_test_CFLAGS="${CFLAGS+set}"
34008 ac_save_CFLAGS="$CFLAGS"
34009 CFLAGS='-Wl,--gc-sections'
34011 # Check for -Wl,--gc-sections
34012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
34013 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
34014 if test x$gcc_no_link = xyes; then
34015 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
34017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34018 /* end confdefs.h. */
34019 int one(void) { return 1; }
34020 int two(void) { return 2; }
34023 main ()
34025 two();
34027 return 0;
34029 _ACEOF
34030 if ac_fn_c_try_link "$LINENO"; then :
34031 ac_gcsections=yes
34032 else
34033 ac_gcsections=no
34035 rm -f core conftest.err conftest.$ac_objext \
34036 conftest$ac_exeext conftest.$ac_ext
34037 if test "$ac_gcsections" = "yes"; then
34038 rm -f conftest.c
34039 touch conftest.c
34040 if $CC -c conftest.c; then
34041 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
34042 grep "Warning: gc-sections option ignored" > /dev/null; then
34043 ac_gcsections=no
34046 rm -f conftest.c conftest.o conftest
34048 if test "$ac_gcsections" = "yes"; then
34049 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
34051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
34052 $as_echo "$ac_gcsections" >&6; }
34054 if test "$ac_test_CFLAGS" = set; then
34055 CFLAGS="$ac_save_CFLAGS"
34056 else
34057 # this is the suspicious part
34058 CFLAGS=''
34062 # Set -z,relro.
34063 # Note this is only for shared objects.
34064 ac_ld_relro=no
34065 if test x"$with_gnu_ld" = x"yes"; then
34066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
34067 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
34068 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
34069 if test -n "$cxx_z_relo"; then
34070 OPT_LDFLAGS="-Wl,-z,relro"
34071 ac_ld_relro=yes
34073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
34074 $as_echo "$ac_ld_relro" >&6; }
34077 # Set linker optimization flags.
34078 if test x"$with_gnu_ld" = x"yes"; then
34079 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
34086 ac_test_CXXFLAGS="${CXXFLAGS+set}"
34087 ac_save_CXXFLAGS="$CXXFLAGS"
34088 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
34090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
34091 $as_echo_n "checking for sin in -lm... " >&6; }
34092 if test "${ac_cv_lib_m_sin+set}" = set; then :
34093 $as_echo_n "(cached) " >&6
34094 else
34095 ac_check_lib_save_LIBS=$LIBS
34096 LIBS="-lm $LIBS"
34097 if test x$gcc_no_link = xyes; then
34098 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
34100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34101 /* end confdefs.h. */
34103 /* Override any GCC internal prototype to avoid an error.
34104 Use char because int might match the return type of a GCC
34105 builtin and then its argument prototype would still apply. */
34106 #ifdef __cplusplus
34107 extern "C"
34108 #endif
34109 char sin ();
34111 main ()
34113 return sin ();
34115 return 0;
34117 _ACEOF
34118 if ac_fn_c_try_link "$LINENO"; then :
34119 ac_cv_lib_m_sin=yes
34120 else
34121 ac_cv_lib_m_sin=no
34123 rm -f core conftest.err conftest.$ac_objext \
34124 conftest$ac_exeext conftest.$ac_ext
34125 LIBS=$ac_check_lib_save_LIBS
34127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
34128 $as_echo "$ac_cv_lib_m_sin" >&6; }
34129 if test "x$ac_cv_lib_m_sin" = x""yes; then :
34130 libm="-lm"
34133 ac_save_LIBS="$LIBS"
34134 LIBS="$LIBS $libm"
34138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
34139 $as_echo_n "checking for isinf declaration... " >&6; }
34140 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
34141 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
34142 $as_echo_n "(cached) " >&6
34143 else
34146 ac_ext=cpp
34147 ac_cpp='$CXXCPP $CPPFLAGS'
34148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34153 /* end confdefs.h. */
34154 #include <math.h>
34155 #ifdef HAVE_IEEEFP_H
34156 #include <ieeefp.h>
34157 #endif
34160 main ()
34162 isinf(0);
34164 return 0;
34166 _ACEOF
34167 if ac_fn_cxx_try_compile "$LINENO"; then :
34168 glibcxx_cv_func_isinf_use=yes
34169 else
34170 glibcxx_cv_func_isinf_use=no
34172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34173 ac_ext=c
34174 ac_cpp='$CPP $CPPFLAGS'
34175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
34184 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
34186 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
34187 for ac_func in isinf
34188 do :
34189 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
34190 if test "x$ac_cv_func_isinf" = x""yes; then :
34191 cat >>confdefs.h <<_ACEOF
34192 #define HAVE_ISINF 1
34193 _ACEOF
34196 done
34198 else
34200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
34201 $as_echo_n "checking for _isinf declaration... " >&6; }
34202 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
34203 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
34204 $as_echo_n "(cached) " >&6
34205 else
34208 ac_ext=cpp
34209 ac_cpp='$CXXCPP $CPPFLAGS'
34210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34215 /* end confdefs.h. */
34216 #include <math.h>
34217 #ifdef HAVE_IEEEFP_H
34218 #include <ieeefp.h>
34219 #endif
34222 main ()
34224 _isinf(0);
34226 return 0;
34228 _ACEOF
34229 if ac_fn_cxx_try_compile "$LINENO"; then :
34230 glibcxx_cv_func__isinf_use=yes
34231 else
34232 glibcxx_cv_func__isinf_use=no
34234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34235 ac_ext=c
34236 ac_cpp='$CPP $CPPFLAGS'
34237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
34246 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
34248 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
34249 for ac_func in _isinf
34250 do :
34251 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
34252 if test "x$ac_cv_func__isinf" = x""yes; then :
34253 cat >>confdefs.h <<_ACEOF
34254 #define HAVE__ISINF 1
34255 _ACEOF
34258 done
34267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
34268 $as_echo_n "checking for isnan declaration... " >&6; }
34269 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
34270 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
34271 $as_echo_n "(cached) " >&6
34272 else
34275 ac_ext=cpp
34276 ac_cpp='$CXXCPP $CPPFLAGS'
34277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34282 /* end confdefs.h. */
34283 #include <math.h>
34284 #ifdef HAVE_IEEEFP_H
34285 #include <ieeefp.h>
34286 #endif
34289 main ()
34291 isnan(0);
34293 return 0;
34295 _ACEOF
34296 if ac_fn_cxx_try_compile "$LINENO"; then :
34297 glibcxx_cv_func_isnan_use=yes
34298 else
34299 glibcxx_cv_func_isnan_use=no
34301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34302 ac_ext=c
34303 ac_cpp='$CPP $CPPFLAGS'
34304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
34313 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
34315 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
34316 for ac_func in isnan
34317 do :
34318 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
34319 if test "x$ac_cv_func_isnan" = x""yes; then :
34320 cat >>confdefs.h <<_ACEOF
34321 #define HAVE_ISNAN 1
34322 _ACEOF
34325 done
34327 else
34329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
34330 $as_echo_n "checking for _isnan declaration... " >&6; }
34331 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
34332 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
34333 $as_echo_n "(cached) " >&6
34334 else
34337 ac_ext=cpp
34338 ac_cpp='$CXXCPP $CPPFLAGS'
34339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34344 /* end confdefs.h. */
34345 #include <math.h>
34346 #ifdef HAVE_IEEEFP_H
34347 #include <ieeefp.h>
34348 #endif
34351 main ()
34353 _isnan(0);
34355 return 0;
34357 _ACEOF
34358 if ac_fn_cxx_try_compile "$LINENO"; then :
34359 glibcxx_cv_func__isnan_use=yes
34360 else
34361 glibcxx_cv_func__isnan_use=no
34363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34364 ac_ext=c
34365 ac_cpp='$CPP $CPPFLAGS'
34366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
34375 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
34377 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
34378 for ac_func in _isnan
34379 do :
34380 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
34381 if test "x$ac_cv_func__isnan" = x""yes; then :
34382 cat >>confdefs.h <<_ACEOF
34383 #define HAVE__ISNAN 1
34384 _ACEOF
34387 done
34396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
34397 $as_echo_n "checking for finite declaration... " >&6; }
34398 if test x${glibcxx_cv_func_finite_use+set} != xset; then
34399 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
34400 $as_echo_n "(cached) " >&6
34401 else
34404 ac_ext=cpp
34405 ac_cpp='$CXXCPP $CPPFLAGS'
34406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34411 /* end confdefs.h. */
34412 #include <math.h>
34413 #ifdef HAVE_IEEEFP_H
34414 #include <ieeefp.h>
34415 #endif
34418 main ()
34420 finite(0);
34422 return 0;
34424 _ACEOF
34425 if ac_fn_cxx_try_compile "$LINENO"; then :
34426 glibcxx_cv_func_finite_use=yes
34427 else
34428 glibcxx_cv_func_finite_use=no
34430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34431 ac_ext=c
34432 ac_cpp='$CPP $CPPFLAGS'
34433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
34442 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
34444 if test x$glibcxx_cv_func_finite_use = x"yes"; then
34445 for ac_func in finite
34446 do :
34447 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
34448 if test "x$ac_cv_func_finite" = x""yes; then :
34449 cat >>confdefs.h <<_ACEOF
34450 #define HAVE_FINITE 1
34451 _ACEOF
34454 done
34456 else
34458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
34459 $as_echo_n "checking for _finite declaration... " >&6; }
34460 if test x${glibcxx_cv_func__finite_use+set} != xset; then
34461 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
34462 $as_echo_n "(cached) " >&6
34463 else
34466 ac_ext=cpp
34467 ac_cpp='$CXXCPP $CPPFLAGS'
34468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34473 /* end confdefs.h. */
34474 #include <math.h>
34475 #ifdef HAVE_IEEEFP_H
34476 #include <ieeefp.h>
34477 #endif
34480 main ()
34482 _finite(0);
34484 return 0;
34486 _ACEOF
34487 if ac_fn_cxx_try_compile "$LINENO"; then :
34488 glibcxx_cv_func__finite_use=yes
34489 else
34490 glibcxx_cv_func__finite_use=no
34492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34493 ac_ext=c
34494 ac_cpp='$CPP $CPPFLAGS'
34495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
34504 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
34506 if test x$glibcxx_cv_func__finite_use = x"yes"; then
34507 for ac_func in _finite
34508 do :
34509 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
34510 if test "x$ac_cv_func__finite" = x""yes; then :
34511 cat >>confdefs.h <<_ACEOF
34512 #define HAVE__FINITE 1
34513 _ACEOF
34516 done
34525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
34526 $as_echo_n "checking for sincos declaration... " >&6; }
34527 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
34528 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
34529 $as_echo_n "(cached) " >&6
34530 else
34533 ac_ext=cpp
34534 ac_cpp='$CXXCPP $CPPFLAGS'
34535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34540 /* end confdefs.h. */
34541 #include <math.h>
34543 main ()
34545 sincos(0, 0, 0);
34547 return 0;
34549 _ACEOF
34550 if ac_fn_cxx_try_compile "$LINENO"; then :
34551 glibcxx_cv_func_sincos_use=yes
34552 else
34553 glibcxx_cv_func_sincos_use=no
34555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34556 ac_ext=c
34557 ac_cpp='$CPP $CPPFLAGS'
34558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
34567 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
34569 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
34570 for ac_func in sincos
34571 do :
34572 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
34573 if test "x$ac_cv_func_sincos" = x""yes; then :
34574 cat >>confdefs.h <<_ACEOF
34575 #define HAVE_SINCOS 1
34576 _ACEOF
34579 done
34581 else
34583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
34584 $as_echo_n "checking for _sincos declaration... " >&6; }
34585 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
34586 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
34587 $as_echo_n "(cached) " >&6
34588 else
34591 ac_ext=cpp
34592 ac_cpp='$CXXCPP $CPPFLAGS'
34593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34598 /* end confdefs.h. */
34599 #include <math.h>
34601 main ()
34603 _sincos(0, 0, 0);
34605 return 0;
34607 _ACEOF
34608 if ac_fn_cxx_try_compile "$LINENO"; then :
34609 glibcxx_cv_func__sincos_use=yes
34610 else
34611 glibcxx_cv_func__sincos_use=no
34613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34614 ac_ext=c
34615 ac_cpp='$CPP $CPPFLAGS'
34616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
34625 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
34627 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
34628 for ac_func in _sincos
34629 do :
34630 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
34631 if test "x$ac_cv_func__sincos" = x""yes; then :
34632 cat >>confdefs.h <<_ACEOF
34633 #define HAVE__SINCOS 1
34634 _ACEOF
34637 done
34646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
34647 $as_echo_n "checking for fpclass declaration... " >&6; }
34648 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
34649 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
34650 $as_echo_n "(cached) " >&6
34651 else
34654 ac_ext=cpp
34655 ac_cpp='$CXXCPP $CPPFLAGS'
34656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34661 /* end confdefs.h. */
34662 #include <math.h>
34663 #ifdef HAVE_IEEEFP_H
34664 #include <ieeefp.h>
34665 #endif
34668 main ()
34670 fpclass(0);
34672 return 0;
34674 _ACEOF
34675 if ac_fn_cxx_try_compile "$LINENO"; then :
34676 glibcxx_cv_func_fpclass_use=yes
34677 else
34678 glibcxx_cv_func_fpclass_use=no
34680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34681 ac_ext=c
34682 ac_cpp='$CPP $CPPFLAGS'
34683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
34692 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
34694 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
34695 for ac_func in fpclass
34696 do :
34697 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
34698 if test "x$ac_cv_func_fpclass" = x""yes; then :
34699 cat >>confdefs.h <<_ACEOF
34700 #define HAVE_FPCLASS 1
34701 _ACEOF
34704 done
34706 else
34708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
34709 $as_echo_n "checking for _fpclass declaration... " >&6; }
34710 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
34711 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
34712 $as_echo_n "(cached) " >&6
34713 else
34716 ac_ext=cpp
34717 ac_cpp='$CXXCPP $CPPFLAGS'
34718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34723 /* end confdefs.h. */
34724 #include <math.h>
34725 #ifdef HAVE_IEEEFP_H
34726 #include <ieeefp.h>
34727 #endif
34730 main ()
34732 _fpclass(0);
34734 return 0;
34736 _ACEOF
34737 if ac_fn_cxx_try_compile "$LINENO"; then :
34738 glibcxx_cv_func__fpclass_use=yes
34739 else
34740 glibcxx_cv_func__fpclass_use=no
34742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34743 ac_ext=c
34744 ac_cpp='$CPP $CPPFLAGS'
34745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
34754 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
34756 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
34757 for ac_func in _fpclass
34758 do :
34759 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
34760 if test "x$ac_cv_func__fpclass" = x""yes; then :
34761 cat >>confdefs.h <<_ACEOF
34762 #define HAVE__FPCLASS 1
34763 _ACEOF
34766 done
34775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
34776 $as_echo_n "checking for qfpclass declaration... " >&6; }
34777 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
34778 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
34779 $as_echo_n "(cached) " >&6
34780 else
34783 ac_ext=cpp
34784 ac_cpp='$CXXCPP $CPPFLAGS'
34785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34790 /* end confdefs.h. */
34791 #include <math.h>
34792 #ifdef HAVE_IEEEFP_H
34793 #include <ieeefp.h>
34794 #endif
34797 main ()
34799 qfpclass(0);
34801 return 0;
34803 _ACEOF
34804 if ac_fn_cxx_try_compile "$LINENO"; then :
34805 glibcxx_cv_func_qfpclass_use=yes
34806 else
34807 glibcxx_cv_func_qfpclass_use=no
34809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34810 ac_ext=c
34811 ac_cpp='$CPP $CPPFLAGS'
34812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
34821 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
34823 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
34824 for ac_func in qfpclass
34825 do :
34826 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
34827 if test "x$ac_cv_func_qfpclass" = x""yes; then :
34828 cat >>confdefs.h <<_ACEOF
34829 #define HAVE_QFPCLASS 1
34830 _ACEOF
34833 done
34835 else
34837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
34838 $as_echo_n "checking for _qfpclass declaration... " >&6; }
34839 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
34840 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
34841 $as_echo_n "(cached) " >&6
34842 else
34845 ac_ext=cpp
34846 ac_cpp='$CXXCPP $CPPFLAGS'
34847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34852 /* end confdefs.h. */
34853 #include <math.h>
34854 #ifdef HAVE_IEEEFP_H
34855 #include <ieeefp.h>
34856 #endif
34859 main ()
34861 _qfpclass(0);
34863 return 0;
34865 _ACEOF
34866 if ac_fn_cxx_try_compile "$LINENO"; then :
34867 glibcxx_cv_func__qfpclass_use=yes
34868 else
34869 glibcxx_cv_func__qfpclass_use=no
34871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34872 ac_ext=c
34873 ac_cpp='$CPP $CPPFLAGS'
34874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
34883 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
34885 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
34886 for ac_func in _qfpclass
34887 do :
34888 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
34889 if test "x$ac_cv_func__qfpclass" = x""yes; then :
34890 cat >>confdefs.h <<_ACEOF
34891 #define HAVE__QFPCLASS 1
34892 _ACEOF
34895 done
34904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
34905 $as_echo_n "checking for hypot declaration... " >&6; }
34906 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
34907 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
34908 $as_echo_n "(cached) " >&6
34909 else
34912 ac_ext=cpp
34913 ac_cpp='$CXXCPP $CPPFLAGS'
34914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34919 /* end confdefs.h. */
34920 #include <math.h>
34922 main ()
34924 hypot(0, 0);
34926 return 0;
34928 _ACEOF
34929 if ac_fn_cxx_try_compile "$LINENO"; then :
34930 glibcxx_cv_func_hypot_use=yes
34931 else
34932 glibcxx_cv_func_hypot_use=no
34934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34935 ac_ext=c
34936 ac_cpp='$CPP $CPPFLAGS'
34937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
34946 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
34948 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
34949 for ac_func in hypot
34950 do :
34951 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
34952 if test "x$ac_cv_func_hypot" = x""yes; then :
34953 cat >>confdefs.h <<_ACEOF
34954 #define HAVE_HYPOT 1
34955 _ACEOF
34958 done
34960 else
34962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
34963 $as_echo_n "checking for _hypot declaration... " >&6; }
34964 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
34965 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
34966 $as_echo_n "(cached) " >&6
34967 else
34970 ac_ext=cpp
34971 ac_cpp='$CXXCPP $CPPFLAGS'
34972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34977 /* end confdefs.h. */
34978 #include <math.h>
34980 main ()
34982 _hypot(0, 0);
34984 return 0;
34986 _ACEOF
34987 if ac_fn_cxx_try_compile "$LINENO"; then :
34988 glibcxx_cv_func__hypot_use=yes
34989 else
34990 glibcxx_cv_func__hypot_use=no
34992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34993 ac_ext=c
34994 ac_cpp='$CPP $CPPFLAGS'
34995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
35004 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
35006 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
35007 for ac_func in _hypot
35008 do :
35009 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
35010 if test "x$ac_cv_func__hypot" = x""yes; then :
35011 cat >>confdefs.h <<_ACEOF
35012 #define HAVE__HYPOT 1
35013 _ACEOF
35016 done
35025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
35026 $as_echo_n "checking for float trig functions... " >&6; }
35027 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
35028 $as_echo_n "(cached) " >&6
35029 else
35032 ac_ext=cpp
35033 ac_cpp='$CXXCPP $CPPFLAGS'
35034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35039 /* end confdefs.h. */
35040 #include <math.h>
35042 main ()
35044 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
35046 return 0;
35048 _ACEOF
35049 if ac_fn_cxx_try_compile "$LINENO"; then :
35050 glibcxx_cv_func_float_trig_use=yes
35051 else
35052 glibcxx_cv_func_float_trig_use=no
35054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35055 ac_ext=c
35056 ac_cpp='$CPP $CPPFLAGS'
35057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
35064 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
35065 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
35066 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
35067 do :
35068 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35069 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35070 eval as_val=\$$as_ac_var
35071 if test "x$as_val" = x""yes; then :
35072 cat >>confdefs.h <<_ACEOF
35073 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35074 _ACEOF
35077 done
35079 else
35080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
35081 $as_echo_n "checking for _float trig functions... " >&6; }
35082 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
35083 $as_echo_n "(cached) " >&6
35084 else
35087 ac_ext=cpp
35088 ac_cpp='$CXXCPP $CPPFLAGS'
35089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35094 /* end confdefs.h. */
35095 #include <math.h>
35097 main ()
35099 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
35101 return 0;
35103 _ACEOF
35104 if ac_fn_cxx_try_compile "$LINENO"; then :
35105 glibcxx_cv_func__float_trig_use=yes
35106 else
35107 glibcxx_cv_func__float_trig_use=no
35109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35110 ac_ext=c
35111 ac_cpp='$CPP $CPPFLAGS'
35112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
35119 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
35120 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
35121 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
35122 do :
35123 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35124 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35125 eval as_val=\$$as_ac_var
35126 if test "x$as_val" = x""yes; then :
35127 cat >>confdefs.h <<_ACEOF
35128 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35129 _ACEOF
35132 done
35141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
35142 $as_echo_n "checking for float round functions... " >&6; }
35143 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
35144 $as_echo_n "(cached) " >&6
35145 else
35148 ac_ext=cpp
35149 ac_cpp='$CXXCPP $CPPFLAGS'
35150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35155 /* end confdefs.h. */
35156 #include <math.h>
35158 main ()
35160 ceilf (0); floorf (0);
35162 return 0;
35164 _ACEOF
35165 if ac_fn_cxx_try_compile "$LINENO"; then :
35166 glibcxx_cv_func_float_round_use=yes
35167 else
35168 glibcxx_cv_func_float_round_use=no
35170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35171 ac_ext=c
35172 ac_cpp='$CPP $CPPFLAGS'
35173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
35180 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
35181 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
35182 for ac_func in ceilf floorf
35183 do :
35184 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35185 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35186 eval as_val=\$$as_ac_var
35187 if test "x$as_val" = x""yes; then :
35188 cat >>confdefs.h <<_ACEOF
35189 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35190 _ACEOF
35193 done
35195 else
35196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
35197 $as_echo_n "checking for _float round functions... " >&6; }
35198 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
35199 $as_echo_n "(cached) " >&6
35200 else
35203 ac_ext=cpp
35204 ac_cpp='$CXXCPP $CPPFLAGS'
35205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35210 /* end confdefs.h. */
35211 #include <math.h>
35213 main ()
35215 _ceilf (0); _floorf (0);
35217 return 0;
35219 _ACEOF
35220 if ac_fn_cxx_try_compile "$LINENO"; then :
35221 glibcxx_cv_func__float_round_use=yes
35222 else
35223 glibcxx_cv_func__float_round_use=no
35225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35226 ac_ext=c
35227 ac_cpp='$CPP $CPPFLAGS'
35228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
35235 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
35236 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
35237 for ac_func in _ceilf _floorf
35238 do :
35239 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35240 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35241 eval as_val=\$$as_ac_var
35242 if test "x$as_val" = x""yes; then :
35243 cat >>confdefs.h <<_ACEOF
35244 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35245 _ACEOF
35248 done
35258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
35259 $as_echo_n "checking for expf declaration... " >&6; }
35260 if test x${glibcxx_cv_func_expf_use+set} != xset; then
35261 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
35262 $as_echo_n "(cached) " >&6
35263 else
35266 ac_ext=cpp
35267 ac_cpp='$CXXCPP $CPPFLAGS'
35268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35273 /* end confdefs.h. */
35274 #include <math.h>
35275 #ifdef HAVE_IEEEFP_H
35276 #include <ieeefp.h>
35277 #endif
35280 main ()
35282 expf(0);
35284 return 0;
35286 _ACEOF
35287 if ac_fn_cxx_try_compile "$LINENO"; then :
35288 glibcxx_cv_func_expf_use=yes
35289 else
35290 glibcxx_cv_func_expf_use=no
35292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35293 ac_ext=c
35294 ac_cpp='$CPP $CPPFLAGS'
35295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
35304 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
35306 if test x$glibcxx_cv_func_expf_use = x"yes"; then
35307 for ac_func in expf
35308 do :
35309 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
35310 if test "x$ac_cv_func_expf" = x""yes; then :
35311 cat >>confdefs.h <<_ACEOF
35312 #define HAVE_EXPF 1
35313 _ACEOF
35316 done
35318 else
35320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
35321 $as_echo_n "checking for _expf declaration... " >&6; }
35322 if test x${glibcxx_cv_func__expf_use+set} != xset; then
35323 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
35324 $as_echo_n "(cached) " >&6
35325 else
35328 ac_ext=cpp
35329 ac_cpp='$CXXCPP $CPPFLAGS'
35330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35335 /* end confdefs.h. */
35336 #include <math.h>
35337 #ifdef HAVE_IEEEFP_H
35338 #include <ieeefp.h>
35339 #endif
35342 main ()
35344 _expf(0);
35346 return 0;
35348 _ACEOF
35349 if ac_fn_cxx_try_compile "$LINENO"; then :
35350 glibcxx_cv_func__expf_use=yes
35351 else
35352 glibcxx_cv_func__expf_use=no
35354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35355 ac_ext=c
35356 ac_cpp='$CPP $CPPFLAGS'
35357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
35366 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
35368 if test x$glibcxx_cv_func__expf_use = x"yes"; then
35369 for ac_func in _expf
35370 do :
35371 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
35372 if test "x$ac_cv_func__expf" = x""yes; then :
35373 cat >>confdefs.h <<_ACEOF
35374 #define HAVE__EXPF 1
35375 _ACEOF
35378 done
35387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
35388 $as_echo_n "checking for isnanf declaration... " >&6; }
35389 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
35390 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
35391 $as_echo_n "(cached) " >&6
35392 else
35395 ac_ext=cpp
35396 ac_cpp='$CXXCPP $CPPFLAGS'
35397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35402 /* end confdefs.h. */
35403 #include <math.h>
35404 #ifdef HAVE_IEEEFP_H
35405 #include <ieeefp.h>
35406 #endif
35409 main ()
35411 isnanf(0);
35413 return 0;
35415 _ACEOF
35416 if ac_fn_cxx_try_compile "$LINENO"; then :
35417 glibcxx_cv_func_isnanf_use=yes
35418 else
35419 glibcxx_cv_func_isnanf_use=no
35421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35422 ac_ext=c
35423 ac_cpp='$CPP $CPPFLAGS'
35424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
35433 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
35435 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
35436 for ac_func in isnanf
35437 do :
35438 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
35439 if test "x$ac_cv_func_isnanf" = x""yes; then :
35440 cat >>confdefs.h <<_ACEOF
35441 #define HAVE_ISNANF 1
35442 _ACEOF
35445 done
35447 else
35449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
35450 $as_echo_n "checking for _isnanf declaration... " >&6; }
35451 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
35452 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
35453 $as_echo_n "(cached) " >&6
35454 else
35457 ac_ext=cpp
35458 ac_cpp='$CXXCPP $CPPFLAGS'
35459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35464 /* end confdefs.h. */
35465 #include <math.h>
35466 #ifdef HAVE_IEEEFP_H
35467 #include <ieeefp.h>
35468 #endif
35471 main ()
35473 _isnanf(0);
35475 return 0;
35477 _ACEOF
35478 if ac_fn_cxx_try_compile "$LINENO"; then :
35479 glibcxx_cv_func__isnanf_use=yes
35480 else
35481 glibcxx_cv_func__isnanf_use=no
35483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35484 ac_ext=c
35485 ac_cpp='$CPP $CPPFLAGS'
35486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
35495 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
35497 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
35498 for ac_func in _isnanf
35499 do :
35500 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
35501 if test "x$ac_cv_func__isnanf" = x""yes; then :
35502 cat >>confdefs.h <<_ACEOF
35503 #define HAVE__ISNANF 1
35504 _ACEOF
35507 done
35516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
35517 $as_echo_n "checking for isinff declaration... " >&6; }
35518 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
35519 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
35520 $as_echo_n "(cached) " >&6
35521 else
35524 ac_ext=cpp
35525 ac_cpp='$CXXCPP $CPPFLAGS'
35526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35531 /* end confdefs.h. */
35532 #include <math.h>
35533 #ifdef HAVE_IEEEFP_H
35534 #include <ieeefp.h>
35535 #endif
35538 main ()
35540 isinff(0);
35542 return 0;
35544 _ACEOF
35545 if ac_fn_cxx_try_compile "$LINENO"; then :
35546 glibcxx_cv_func_isinff_use=yes
35547 else
35548 glibcxx_cv_func_isinff_use=no
35550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35551 ac_ext=c
35552 ac_cpp='$CPP $CPPFLAGS'
35553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
35562 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
35564 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
35565 for ac_func in isinff
35566 do :
35567 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
35568 if test "x$ac_cv_func_isinff" = x""yes; then :
35569 cat >>confdefs.h <<_ACEOF
35570 #define HAVE_ISINFF 1
35571 _ACEOF
35574 done
35576 else
35578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
35579 $as_echo_n "checking for _isinff declaration... " >&6; }
35580 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
35581 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
35582 $as_echo_n "(cached) " >&6
35583 else
35586 ac_ext=cpp
35587 ac_cpp='$CXXCPP $CPPFLAGS'
35588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35593 /* end confdefs.h. */
35594 #include <math.h>
35595 #ifdef HAVE_IEEEFP_H
35596 #include <ieeefp.h>
35597 #endif
35600 main ()
35602 _isinff(0);
35604 return 0;
35606 _ACEOF
35607 if ac_fn_cxx_try_compile "$LINENO"; then :
35608 glibcxx_cv_func__isinff_use=yes
35609 else
35610 glibcxx_cv_func__isinff_use=no
35612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35613 ac_ext=c
35614 ac_cpp='$CPP $CPPFLAGS'
35615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
35624 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
35626 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
35627 for ac_func in _isinff
35628 do :
35629 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
35630 if test "x$ac_cv_func__isinff" = x""yes; then :
35631 cat >>confdefs.h <<_ACEOF
35632 #define HAVE__ISINFF 1
35633 _ACEOF
35636 done
35645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
35646 $as_echo_n "checking for atan2f declaration... " >&6; }
35647 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
35648 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
35649 $as_echo_n "(cached) " >&6
35650 else
35653 ac_ext=cpp
35654 ac_cpp='$CXXCPP $CPPFLAGS'
35655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35660 /* end confdefs.h. */
35661 #include <math.h>
35663 main ()
35665 atan2f(0, 0);
35667 return 0;
35669 _ACEOF
35670 if ac_fn_cxx_try_compile "$LINENO"; then :
35671 glibcxx_cv_func_atan2f_use=yes
35672 else
35673 glibcxx_cv_func_atan2f_use=no
35675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35676 ac_ext=c
35677 ac_cpp='$CPP $CPPFLAGS'
35678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
35687 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
35689 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
35690 for ac_func in atan2f
35691 do :
35692 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
35693 if test "x$ac_cv_func_atan2f" = x""yes; then :
35694 cat >>confdefs.h <<_ACEOF
35695 #define HAVE_ATAN2F 1
35696 _ACEOF
35699 done
35701 else
35703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
35704 $as_echo_n "checking for _atan2f declaration... " >&6; }
35705 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
35706 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
35707 $as_echo_n "(cached) " >&6
35708 else
35711 ac_ext=cpp
35712 ac_cpp='$CXXCPP $CPPFLAGS'
35713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35718 /* end confdefs.h. */
35719 #include <math.h>
35721 main ()
35723 _atan2f(0, 0);
35725 return 0;
35727 _ACEOF
35728 if ac_fn_cxx_try_compile "$LINENO"; then :
35729 glibcxx_cv_func__atan2f_use=yes
35730 else
35731 glibcxx_cv_func__atan2f_use=no
35733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35734 ac_ext=c
35735 ac_cpp='$CPP $CPPFLAGS'
35736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
35745 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
35747 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
35748 for ac_func in _atan2f
35749 do :
35750 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
35751 if test "x$ac_cv_func__atan2f" = x""yes; then :
35752 cat >>confdefs.h <<_ACEOF
35753 #define HAVE__ATAN2F 1
35754 _ACEOF
35757 done
35766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
35767 $as_echo_n "checking for fabsf declaration... " >&6; }
35768 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
35769 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
35770 $as_echo_n "(cached) " >&6
35771 else
35774 ac_ext=cpp
35775 ac_cpp='$CXXCPP $CPPFLAGS'
35776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35781 /* end confdefs.h. */
35782 #include <math.h>
35783 #ifdef HAVE_IEEEFP_H
35784 #include <ieeefp.h>
35785 #endif
35788 main ()
35790 fabsf(0);
35792 return 0;
35794 _ACEOF
35795 if ac_fn_cxx_try_compile "$LINENO"; then :
35796 glibcxx_cv_func_fabsf_use=yes
35797 else
35798 glibcxx_cv_func_fabsf_use=no
35800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35801 ac_ext=c
35802 ac_cpp='$CPP $CPPFLAGS'
35803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
35812 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
35814 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
35815 for ac_func in fabsf
35816 do :
35817 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
35818 if test "x$ac_cv_func_fabsf" = x""yes; then :
35819 cat >>confdefs.h <<_ACEOF
35820 #define HAVE_FABSF 1
35821 _ACEOF
35824 done
35826 else
35828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
35829 $as_echo_n "checking for _fabsf declaration... " >&6; }
35830 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
35831 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
35832 $as_echo_n "(cached) " >&6
35833 else
35836 ac_ext=cpp
35837 ac_cpp='$CXXCPP $CPPFLAGS'
35838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35843 /* end confdefs.h. */
35844 #include <math.h>
35845 #ifdef HAVE_IEEEFP_H
35846 #include <ieeefp.h>
35847 #endif
35850 main ()
35852 _fabsf(0);
35854 return 0;
35856 _ACEOF
35857 if ac_fn_cxx_try_compile "$LINENO"; then :
35858 glibcxx_cv_func__fabsf_use=yes
35859 else
35860 glibcxx_cv_func__fabsf_use=no
35862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35863 ac_ext=c
35864 ac_cpp='$CPP $CPPFLAGS'
35865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
35874 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
35876 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
35877 for ac_func in _fabsf
35878 do :
35879 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
35880 if test "x$ac_cv_func__fabsf" = x""yes; then :
35881 cat >>confdefs.h <<_ACEOF
35882 #define HAVE__FABSF 1
35883 _ACEOF
35886 done
35895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
35896 $as_echo_n "checking for fmodf declaration... " >&6; }
35897 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
35898 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
35899 $as_echo_n "(cached) " >&6
35900 else
35903 ac_ext=cpp
35904 ac_cpp='$CXXCPP $CPPFLAGS'
35905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35910 /* end confdefs.h. */
35911 #include <math.h>
35913 main ()
35915 fmodf(0, 0);
35917 return 0;
35919 _ACEOF
35920 if ac_fn_cxx_try_compile "$LINENO"; then :
35921 glibcxx_cv_func_fmodf_use=yes
35922 else
35923 glibcxx_cv_func_fmodf_use=no
35925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35926 ac_ext=c
35927 ac_cpp='$CPP $CPPFLAGS'
35928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
35937 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
35939 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
35940 for ac_func in fmodf
35941 do :
35942 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
35943 if test "x$ac_cv_func_fmodf" = x""yes; then :
35944 cat >>confdefs.h <<_ACEOF
35945 #define HAVE_FMODF 1
35946 _ACEOF
35949 done
35951 else
35953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
35954 $as_echo_n "checking for _fmodf declaration... " >&6; }
35955 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
35956 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
35957 $as_echo_n "(cached) " >&6
35958 else
35961 ac_ext=cpp
35962 ac_cpp='$CXXCPP $CPPFLAGS'
35963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35968 /* end confdefs.h. */
35969 #include <math.h>
35971 main ()
35973 _fmodf(0, 0);
35975 return 0;
35977 _ACEOF
35978 if ac_fn_cxx_try_compile "$LINENO"; then :
35979 glibcxx_cv_func__fmodf_use=yes
35980 else
35981 glibcxx_cv_func__fmodf_use=no
35983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35984 ac_ext=c
35985 ac_cpp='$CPP $CPPFLAGS'
35986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
35995 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
35997 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
35998 for ac_func in _fmodf
35999 do :
36000 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
36001 if test "x$ac_cv_func__fmodf" = x""yes; then :
36002 cat >>confdefs.h <<_ACEOF
36003 #define HAVE__FMODF 1
36004 _ACEOF
36007 done
36016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
36017 $as_echo_n "checking for frexpf declaration... " >&6; }
36018 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
36019 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
36020 $as_echo_n "(cached) " >&6
36021 else
36024 ac_ext=cpp
36025 ac_cpp='$CXXCPP $CPPFLAGS'
36026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36031 /* end confdefs.h. */
36032 #include <math.h>
36034 main ()
36036 frexpf(0, 0);
36038 return 0;
36040 _ACEOF
36041 if ac_fn_cxx_try_compile "$LINENO"; then :
36042 glibcxx_cv_func_frexpf_use=yes
36043 else
36044 glibcxx_cv_func_frexpf_use=no
36046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36047 ac_ext=c
36048 ac_cpp='$CPP $CPPFLAGS'
36049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
36058 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
36060 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
36061 for ac_func in frexpf
36062 do :
36063 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
36064 if test "x$ac_cv_func_frexpf" = x""yes; then :
36065 cat >>confdefs.h <<_ACEOF
36066 #define HAVE_FREXPF 1
36067 _ACEOF
36070 done
36072 else
36074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
36075 $as_echo_n "checking for _frexpf declaration... " >&6; }
36076 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
36077 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
36078 $as_echo_n "(cached) " >&6
36079 else
36082 ac_ext=cpp
36083 ac_cpp='$CXXCPP $CPPFLAGS'
36084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36089 /* end confdefs.h. */
36090 #include <math.h>
36092 main ()
36094 _frexpf(0, 0);
36096 return 0;
36098 _ACEOF
36099 if ac_fn_cxx_try_compile "$LINENO"; then :
36100 glibcxx_cv_func__frexpf_use=yes
36101 else
36102 glibcxx_cv_func__frexpf_use=no
36104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36105 ac_ext=c
36106 ac_cpp='$CPP $CPPFLAGS'
36107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
36116 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
36118 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
36119 for ac_func in _frexpf
36120 do :
36121 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
36122 if test "x$ac_cv_func__frexpf" = x""yes; then :
36123 cat >>confdefs.h <<_ACEOF
36124 #define HAVE__FREXPF 1
36125 _ACEOF
36128 done
36137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
36138 $as_echo_n "checking for hypotf declaration... " >&6; }
36139 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
36140 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
36141 $as_echo_n "(cached) " >&6
36142 else
36145 ac_ext=cpp
36146 ac_cpp='$CXXCPP $CPPFLAGS'
36147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36152 /* end confdefs.h. */
36153 #include <math.h>
36155 main ()
36157 hypotf(0, 0);
36159 return 0;
36161 _ACEOF
36162 if ac_fn_cxx_try_compile "$LINENO"; then :
36163 glibcxx_cv_func_hypotf_use=yes
36164 else
36165 glibcxx_cv_func_hypotf_use=no
36167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36168 ac_ext=c
36169 ac_cpp='$CPP $CPPFLAGS'
36170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
36179 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
36181 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
36182 for ac_func in hypotf
36183 do :
36184 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
36185 if test "x$ac_cv_func_hypotf" = x""yes; then :
36186 cat >>confdefs.h <<_ACEOF
36187 #define HAVE_HYPOTF 1
36188 _ACEOF
36191 done
36193 else
36195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
36196 $as_echo_n "checking for _hypotf declaration... " >&6; }
36197 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
36198 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
36199 $as_echo_n "(cached) " >&6
36200 else
36203 ac_ext=cpp
36204 ac_cpp='$CXXCPP $CPPFLAGS'
36205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36210 /* end confdefs.h. */
36211 #include <math.h>
36213 main ()
36215 _hypotf(0, 0);
36217 return 0;
36219 _ACEOF
36220 if ac_fn_cxx_try_compile "$LINENO"; then :
36221 glibcxx_cv_func__hypotf_use=yes
36222 else
36223 glibcxx_cv_func__hypotf_use=no
36225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36226 ac_ext=c
36227 ac_cpp='$CPP $CPPFLAGS'
36228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
36237 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
36239 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
36240 for ac_func in _hypotf
36241 do :
36242 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
36243 if test "x$ac_cv_func__hypotf" = x""yes; then :
36244 cat >>confdefs.h <<_ACEOF
36245 #define HAVE__HYPOTF 1
36246 _ACEOF
36249 done
36258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
36259 $as_echo_n "checking for ldexpf declaration... " >&6; }
36260 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
36261 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
36262 $as_echo_n "(cached) " >&6
36263 else
36266 ac_ext=cpp
36267 ac_cpp='$CXXCPP $CPPFLAGS'
36268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36273 /* end confdefs.h. */
36274 #include <math.h>
36276 main ()
36278 ldexpf(0, 0);
36280 return 0;
36282 _ACEOF
36283 if ac_fn_cxx_try_compile "$LINENO"; then :
36284 glibcxx_cv_func_ldexpf_use=yes
36285 else
36286 glibcxx_cv_func_ldexpf_use=no
36288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36289 ac_ext=c
36290 ac_cpp='$CPP $CPPFLAGS'
36291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
36300 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
36302 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
36303 for ac_func in ldexpf
36304 do :
36305 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
36306 if test "x$ac_cv_func_ldexpf" = x""yes; then :
36307 cat >>confdefs.h <<_ACEOF
36308 #define HAVE_LDEXPF 1
36309 _ACEOF
36312 done
36314 else
36316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
36317 $as_echo_n "checking for _ldexpf declaration... " >&6; }
36318 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
36319 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
36320 $as_echo_n "(cached) " >&6
36321 else
36324 ac_ext=cpp
36325 ac_cpp='$CXXCPP $CPPFLAGS'
36326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36331 /* end confdefs.h. */
36332 #include <math.h>
36334 main ()
36336 _ldexpf(0, 0);
36338 return 0;
36340 _ACEOF
36341 if ac_fn_cxx_try_compile "$LINENO"; then :
36342 glibcxx_cv_func__ldexpf_use=yes
36343 else
36344 glibcxx_cv_func__ldexpf_use=no
36346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36347 ac_ext=c
36348 ac_cpp='$CPP $CPPFLAGS'
36349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
36358 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
36360 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
36361 for ac_func in _ldexpf
36362 do :
36363 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
36364 if test "x$ac_cv_func__ldexpf" = x""yes; then :
36365 cat >>confdefs.h <<_ACEOF
36366 #define HAVE__LDEXPF 1
36367 _ACEOF
36370 done
36379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
36380 $as_echo_n "checking for logf declaration... " >&6; }
36381 if test x${glibcxx_cv_func_logf_use+set} != xset; then
36382 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
36383 $as_echo_n "(cached) " >&6
36384 else
36387 ac_ext=cpp
36388 ac_cpp='$CXXCPP $CPPFLAGS'
36389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36394 /* end confdefs.h. */
36395 #include <math.h>
36396 #ifdef HAVE_IEEEFP_H
36397 #include <ieeefp.h>
36398 #endif
36401 main ()
36403 logf(0);
36405 return 0;
36407 _ACEOF
36408 if ac_fn_cxx_try_compile "$LINENO"; then :
36409 glibcxx_cv_func_logf_use=yes
36410 else
36411 glibcxx_cv_func_logf_use=no
36413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36414 ac_ext=c
36415 ac_cpp='$CPP $CPPFLAGS'
36416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
36425 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
36427 if test x$glibcxx_cv_func_logf_use = x"yes"; then
36428 for ac_func in logf
36429 do :
36430 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
36431 if test "x$ac_cv_func_logf" = x""yes; then :
36432 cat >>confdefs.h <<_ACEOF
36433 #define HAVE_LOGF 1
36434 _ACEOF
36437 done
36439 else
36441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
36442 $as_echo_n "checking for _logf declaration... " >&6; }
36443 if test x${glibcxx_cv_func__logf_use+set} != xset; then
36444 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
36445 $as_echo_n "(cached) " >&6
36446 else
36449 ac_ext=cpp
36450 ac_cpp='$CXXCPP $CPPFLAGS'
36451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36456 /* end confdefs.h. */
36457 #include <math.h>
36458 #ifdef HAVE_IEEEFP_H
36459 #include <ieeefp.h>
36460 #endif
36463 main ()
36465 _logf(0);
36467 return 0;
36469 _ACEOF
36470 if ac_fn_cxx_try_compile "$LINENO"; then :
36471 glibcxx_cv_func__logf_use=yes
36472 else
36473 glibcxx_cv_func__logf_use=no
36475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36476 ac_ext=c
36477 ac_cpp='$CPP $CPPFLAGS'
36478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
36487 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
36489 if test x$glibcxx_cv_func__logf_use = x"yes"; then
36490 for ac_func in _logf
36491 do :
36492 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
36493 if test "x$ac_cv_func__logf" = x""yes; then :
36494 cat >>confdefs.h <<_ACEOF
36495 #define HAVE__LOGF 1
36496 _ACEOF
36499 done
36508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
36509 $as_echo_n "checking for log10f declaration... " >&6; }
36510 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
36511 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
36512 $as_echo_n "(cached) " >&6
36513 else
36516 ac_ext=cpp
36517 ac_cpp='$CXXCPP $CPPFLAGS'
36518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36523 /* end confdefs.h. */
36524 #include <math.h>
36525 #ifdef HAVE_IEEEFP_H
36526 #include <ieeefp.h>
36527 #endif
36530 main ()
36532 log10f(0);
36534 return 0;
36536 _ACEOF
36537 if ac_fn_cxx_try_compile "$LINENO"; then :
36538 glibcxx_cv_func_log10f_use=yes
36539 else
36540 glibcxx_cv_func_log10f_use=no
36542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36543 ac_ext=c
36544 ac_cpp='$CPP $CPPFLAGS'
36545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
36554 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
36556 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
36557 for ac_func in log10f
36558 do :
36559 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
36560 if test "x$ac_cv_func_log10f" = x""yes; then :
36561 cat >>confdefs.h <<_ACEOF
36562 #define HAVE_LOG10F 1
36563 _ACEOF
36566 done
36568 else
36570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
36571 $as_echo_n "checking for _log10f declaration... " >&6; }
36572 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
36573 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
36574 $as_echo_n "(cached) " >&6
36575 else
36578 ac_ext=cpp
36579 ac_cpp='$CXXCPP $CPPFLAGS'
36580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36585 /* end confdefs.h. */
36586 #include <math.h>
36587 #ifdef HAVE_IEEEFP_H
36588 #include <ieeefp.h>
36589 #endif
36592 main ()
36594 _log10f(0);
36596 return 0;
36598 _ACEOF
36599 if ac_fn_cxx_try_compile "$LINENO"; then :
36600 glibcxx_cv_func__log10f_use=yes
36601 else
36602 glibcxx_cv_func__log10f_use=no
36604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36605 ac_ext=c
36606 ac_cpp='$CPP $CPPFLAGS'
36607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
36616 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
36618 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
36619 for ac_func in _log10f
36620 do :
36621 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
36622 if test "x$ac_cv_func__log10f" = x""yes; then :
36623 cat >>confdefs.h <<_ACEOF
36624 #define HAVE__LOG10F 1
36625 _ACEOF
36628 done
36637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
36638 $as_echo_n "checking for modff declaration... " >&6; }
36639 if test x${glibcxx_cv_func_modff_use+set} != xset; then
36640 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
36641 $as_echo_n "(cached) " >&6
36642 else
36645 ac_ext=cpp
36646 ac_cpp='$CXXCPP $CPPFLAGS'
36647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36652 /* end confdefs.h. */
36653 #include <math.h>
36655 main ()
36657 modff(0, 0);
36659 return 0;
36661 _ACEOF
36662 if ac_fn_cxx_try_compile "$LINENO"; then :
36663 glibcxx_cv_func_modff_use=yes
36664 else
36665 glibcxx_cv_func_modff_use=no
36667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36668 ac_ext=c
36669 ac_cpp='$CPP $CPPFLAGS'
36670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
36679 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
36681 if test x$glibcxx_cv_func_modff_use = x"yes"; then
36682 for ac_func in modff
36683 do :
36684 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
36685 if test "x$ac_cv_func_modff" = x""yes; then :
36686 cat >>confdefs.h <<_ACEOF
36687 #define HAVE_MODFF 1
36688 _ACEOF
36691 done
36693 else
36695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
36696 $as_echo_n "checking for _modff declaration... " >&6; }
36697 if test x${glibcxx_cv_func__modff_use+set} != xset; then
36698 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
36699 $as_echo_n "(cached) " >&6
36700 else
36703 ac_ext=cpp
36704 ac_cpp='$CXXCPP $CPPFLAGS'
36705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36710 /* end confdefs.h. */
36711 #include <math.h>
36713 main ()
36715 _modff(0, 0);
36717 return 0;
36719 _ACEOF
36720 if ac_fn_cxx_try_compile "$LINENO"; then :
36721 glibcxx_cv_func__modff_use=yes
36722 else
36723 glibcxx_cv_func__modff_use=no
36725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36726 ac_ext=c
36727 ac_cpp='$CPP $CPPFLAGS'
36728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
36737 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
36739 if test x$glibcxx_cv_func__modff_use = x"yes"; then
36740 for ac_func in _modff
36741 do :
36742 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
36743 if test "x$ac_cv_func__modff" = x""yes; then :
36744 cat >>confdefs.h <<_ACEOF
36745 #define HAVE__MODFF 1
36746 _ACEOF
36749 done
36758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
36759 $as_echo_n "checking for modf declaration... " >&6; }
36760 if test x${glibcxx_cv_func_modf_use+set} != xset; then
36761 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
36762 $as_echo_n "(cached) " >&6
36763 else
36766 ac_ext=cpp
36767 ac_cpp='$CXXCPP $CPPFLAGS'
36768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36773 /* end confdefs.h. */
36774 #include <math.h>
36776 main ()
36778 modf(0, 0);
36780 return 0;
36782 _ACEOF
36783 if ac_fn_cxx_try_compile "$LINENO"; then :
36784 glibcxx_cv_func_modf_use=yes
36785 else
36786 glibcxx_cv_func_modf_use=no
36788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36789 ac_ext=c
36790 ac_cpp='$CPP $CPPFLAGS'
36791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
36800 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
36802 if test x$glibcxx_cv_func_modf_use = x"yes"; then
36803 for ac_func in modf
36804 do :
36805 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
36806 if test "x$ac_cv_func_modf" = x""yes; then :
36807 cat >>confdefs.h <<_ACEOF
36808 #define HAVE_MODF 1
36809 _ACEOF
36812 done
36814 else
36816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
36817 $as_echo_n "checking for _modf declaration... " >&6; }
36818 if test x${glibcxx_cv_func__modf_use+set} != xset; then
36819 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
36820 $as_echo_n "(cached) " >&6
36821 else
36824 ac_ext=cpp
36825 ac_cpp='$CXXCPP $CPPFLAGS'
36826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36831 /* end confdefs.h. */
36832 #include <math.h>
36834 main ()
36836 _modf(0, 0);
36838 return 0;
36840 _ACEOF
36841 if ac_fn_cxx_try_compile "$LINENO"; then :
36842 glibcxx_cv_func__modf_use=yes
36843 else
36844 glibcxx_cv_func__modf_use=no
36846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36847 ac_ext=c
36848 ac_cpp='$CPP $CPPFLAGS'
36849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
36858 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
36860 if test x$glibcxx_cv_func__modf_use = x"yes"; then
36861 for ac_func in _modf
36862 do :
36863 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
36864 if test "x$ac_cv_func__modf" = x""yes; then :
36865 cat >>confdefs.h <<_ACEOF
36866 #define HAVE__MODF 1
36867 _ACEOF
36870 done
36879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
36880 $as_echo_n "checking for powf declaration... " >&6; }
36881 if test x${glibcxx_cv_func_powf_use+set} != xset; then
36882 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
36883 $as_echo_n "(cached) " >&6
36884 else
36887 ac_ext=cpp
36888 ac_cpp='$CXXCPP $CPPFLAGS'
36889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36894 /* end confdefs.h. */
36895 #include <math.h>
36897 main ()
36899 powf(0, 0);
36901 return 0;
36903 _ACEOF
36904 if ac_fn_cxx_try_compile "$LINENO"; then :
36905 glibcxx_cv_func_powf_use=yes
36906 else
36907 glibcxx_cv_func_powf_use=no
36909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36910 ac_ext=c
36911 ac_cpp='$CPP $CPPFLAGS'
36912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
36921 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
36923 if test x$glibcxx_cv_func_powf_use = x"yes"; then
36924 for ac_func in powf
36925 do :
36926 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
36927 if test "x$ac_cv_func_powf" = x""yes; then :
36928 cat >>confdefs.h <<_ACEOF
36929 #define HAVE_POWF 1
36930 _ACEOF
36933 done
36935 else
36937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
36938 $as_echo_n "checking for _powf declaration... " >&6; }
36939 if test x${glibcxx_cv_func__powf_use+set} != xset; then
36940 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
36941 $as_echo_n "(cached) " >&6
36942 else
36945 ac_ext=cpp
36946 ac_cpp='$CXXCPP $CPPFLAGS'
36947 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36948 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36949 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36952 /* end confdefs.h. */
36953 #include <math.h>
36955 main ()
36957 _powf(0, 0);
36959 return 0;
36961 _ACEOF
36962 if ac_fn_cxx_try_compile "$LINENO"; then :
36963 glibcxx_cv_func__powf_use=yes
36964 else
36965 glibcxx_cv_func__powf_use=no
36967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36968 ac_ext=c
36969 ac_cpp='$CPP $CPPFLAGS'
36970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
36979 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
36981 if test x$glibcxx_cv_func__powf_use = x"yes"; then
36982 for ac_func in _powf
36983 do :
36984 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
36985 if test "x$ac_cv_func__powf" = x""yes; then :
36986 cat >>confdefs.h <<_ACEOF
36987 #define HAVE__POWF 1
36988 _ACEOF
36991 done
37000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
37001 $as_echo_n "checking for sqrtf declaration... " >&6; }
37002 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
37003 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
37004 $as_echo_n "(cached) " >&6
37005 else
37008 ac_ext=cpp
37009 ac_cpp='$CXXCPP $CPPFLAGS'
37010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37015 /* end confdefs.h. */
37016 #include <math.h>
37017 #ifdef HAVE_IEEEFP_H
37018 #include <ieeefp.h>
37019 #endif
37022 main ()
37024 sqrtf(0);
37026 return 0;
37028 _ACEOF
37029 if ac_fn_cxx_try_compile "$LINENO"; then :
37030 glibcxx_cv_func_sqrtf_use=yes
37031 else
37032 glibcxx_cv_func_sqrtf_use=no
37034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37035 ac_ext=c
37036 ac_cpp='$CPP $CPPFLAGS'
37037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
37046 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
37048 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
37049 for ac_func in sqrtf
37050 do :
37051 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
37052 if test "x$ac_cv_func_sqrtf" = x""yes; then :
37053 cat >>confdefs.h <<_ACEOF
37054 #define HAVE_SQRTF 1
37055 _ACEOF
37058 done
37060 else
37062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
37063 $as_echo_n "checking for _sqrtf declaration... " >&6; }
37064 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
37065 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
37066 $as_echo_n "(cached) " >&6
37067 else
37070 ac_ext=cpp
37071 ac_cpp='$CXXCPP $CPPFLAGS'
37072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37077 /* end confdefs.h. */
37078 #include <math.h>
37079 #ifdef HAVE_IEEEFP_H
37080 #include <ieeefp.h>
37081 #endif
37084 main ()
37086 _sqrtf(0);
37088 return 0;
37090 _ACEOF
37091 if ac_fn_cxx_try_compile "$LINENO"; then :
37092 glibcxx_cv_func__sqrtf_use=yes
37093 else
37094 glibcxx_cv_func__sqrtf_use=no
37096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37097 ac_ext=c
37098 ac_cpp='$CPP $CPPFLAGS'
37099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
37108 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
37110 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
37111 for ac_func in _sqrtf
37112 do :
37113 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
37114 if test "x$ac_cv_func__sqrtf" = x""yes; then :
37115 cat >>confdefs.h <<_ACEOF
37116 #define HAVE__SQRTF 1
37117 _ACEOF
37120 done
37129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
37130 $as_echo_n "checking for sincosf declaration... " >&6; }
37131 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
37132 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
37133 $as_echo_n "(cached) " >&6
37134 else
37137 ac_ext=cpp
37138 ac_cpp='$CXXCPP $CPPFLAGS'
37139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37144 /* end confdefs.h. */
37145 #include <math.h>
37147 main ()
37149 sincosf(0, 0, 0);
37151 return 0;
37153 _ACEOF
37154 if ac_fn_cxx_try_compile "$LINENO"; then :
37155 glibcxx_cv_func_sincosf_use=yes
37156 else
37157 glibcxx_cv_func_sincosf_use=no
37159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37160 ac_ext=c
37161 ac_cpp='$CPP $CPPFLAGS'
37162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
37171 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
37173 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
37174 for ac_func in sincosf
37175 do :
37176 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
37177 if test "x$ac_cv_func_sincosf" = x""yes; then :
37178 cat >>confdefs.h <<_ACEOF
37179 #define HAVE_SINCOSF 1
37180 _ACEOF
37183 done
37185 else
37187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
37188 $as_echo_n "checking for _sincosf declaration... " >&6; }
37189 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
37190 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
37191 $as_echo_n "(cached) " >&6
37192 else
37195 ac_ext=cpp
37196 ac_cpp='$CXXCPP $CPPFLAGS'
37197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37202 /* end confdefs.h. */
37203 #include <math.h>
37205 main ()
37207 _sincosf(0, 0, 0);
37209 return 0;
37211 _ACEOF
37212 if ac_fn_cxx_try_compile "$LINENO"; then :
37213 glibcxx_cv_func__sincosf_use=yes
37214 else
37215 glibcxx_cv_func__sincosf_use=no
37217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37218 ac_ext=c
37219 ac_cpp='$CPP $CPPFLAGS'
37220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
37229 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
37231 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
37232 for ac_func in _sincosf
37233 do :
37234 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
37235 if test "x$ac_cv_func__sincosf" = x""yes; then :
37236 cat >>confdefs.h <<_ACEOF
37237 #define HAVE__SINCOSF 1
37238 _ACEOF
37241 done
37250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
37251 $as_echo_n "checking for finitef declaration... " >&6; }
37252 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
37253 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
37254 $as_echo_n "(cached) " >&6
37255 else
37258 ac_ext=cpp
37259 ac_cpp='$CXXCPP $CPPFLAGS'
37260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37265 /* end confdefs.h. */
37266 #include <math.h>
37267 #ifdef HAVE_IEEEFP_H
37268 #include <ieeefp.h>
37269 #endif
37272 main ()
37274 finitef(0);
37276 return 0;
37278 _ACEOF
37279 if ac_fn_cxx_try_compile "$LINENO"; then :
37280 glibcxx_cv_func_finitef_use=yes
37281 else
37282 glibcxx_cv_func_finitef_use=no
37284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37285 ac_ext=c
37286 ac_cpp='$CPP $CPPFLAGS'
37287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
37296 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
37298 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
37299 for ac_func in finitef
37300 do :
37301 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
37302 if test "x$ac_cv_func_finitef" = x""yes; then :
37303 cat >>confdefs.h <<_ACEOF
37304 #define HAVE_FINITEF 1
37305 _ACEOF
37308 done
37310 else
37312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
37313 $as_echo_n "checking for _finitef declaration... " >&6; }
37314 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
37315 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
37316 $as_echo_n "(cached) " >&6
37317 else
37320 ac_ext=cpp
37321 ac_cpp='$CXXCPP $CPPFLAGS'
37322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37327 /* end confdefs.h. */
37328 #include <math.h>
37329 #ifdef HAVE_IEEEFP_H
37330 #include <ieeefp.h>
37331 #endif
37334 main ()
37336 _finitef(0);
37338 return 0;
37340 _ACEOF
37341 if ac_fn_cxx_try_compile "$LINENO"; then :
37342 glibcxx_cv_func__finitef_use=yes
37343 else
37344 glibcxx_cv_func__finitef_use=no
37346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37347 ac_ext=c
37348 ac_cpp='$CPP $CPPFLAGS'
37349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
37358 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
37360 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
37361 for ac_func in _finitef
37362 do :
37363 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
37364 if test "x$ac_cv_func__finitef" = x""yes; then :
37365 cat >>confdefs.h <<_ACEOF
37366 #define HAVE__FINITEF 1
37367 _ACEOF
37370 done
37379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
37380 $as_echo_n "checking for long double trig functions... " >&6; }
37381 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
37382 $as_echo_n "(cached) " >&6
37383 else
37386 ac_ext=cpp
37387 ac_cpp='$CXXCPP $CPPFLAGS'
37388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37393 /* end confdefs.h. */
37394 #include <math.h>
37396 main ()
37398 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
37400 return 0;
37402 _ACEOF
37403 if ac_fn_cxx_try_compile "$LINENO"; then :
37404 glibcxx_cv_func_long_double_trig_use=yes
37405 else
37406 glibcxx_cv_func_long_double_trig_use=no
37408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37409 ac_ext=c
37410 ac_cpp='$CPP $CPPFLAGS'
37411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
37418 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
37419 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
37420 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
37421 do :
37422 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37423 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37424 eval as_val=\$$as_ac_var
37425 if test "x$as_val" = x""yes; then :
37426 cat >>confdefs.h <<_ACEOF
37427 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37428 _ACEOF
37431 done
37433 else
37434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
37435 $as_echo_n "checking for _long double trig functions... " >&6; }
37436 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
37437 $as_echo_n "(cached) " >&6
37438 else
37441 ac_ext=cpp
37442 ac_cpp='$CXXCPP $CPPFLAGS'
37443 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37444 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37445 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37448 /* end confdefs.h. */
37449 #include <math.h>
37451 main ()
37453 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
37455 return 0;
37457 _ACEOF
37458 if ac_fn_cxx_try_compile "$LINENO"; then :
37459 glibcxx_cv_func__long_double_trig_use=yes
37460 else
37461 glibcxx_cv_func__long_double_trig_use=no
37463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37464 ac_ext=c
37465 ac_cpp='$CPP $CPPFLAGS'
37466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
37473 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
37474 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
37475 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
37476 do :
37477 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37478 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37479 eval as_val=\$$as_ac_var
37480 if test "x$as_val" = x""yes; then :
37481 cat >>confdefs.h <<_ACEOF
37482 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37483 _ACEOF
37486 done
37495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
37496 $as_echo_n "checking for long double round functions... " >&6; }
37497 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
37498 $as_echo_n "(cached) " >&6
37499 else
37502 ac_ext=cpp
37503 ac_cpp='$CXXCPP $CPPFLAGS'
37504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37509 /* end confdefs.h. */
37510 #include <math.h>
37512 main ()
37514 ceill (0); floorl (0);
37516 return 0;
37518 _ACEOF
37519 if ac_fn_cxx_try_compile "$LINENO"; then :
37520 glibcxx_cv_func_long_double_round_use=yes
37521 else
37522 glibcxx_cv_func_long_double_round_use=no
37524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37525 ac_ext=c
37526 ac_cpp='$CPP $CPPFLAGS'
37527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
37534 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
37535 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
37536 for ac_func in ceill floorl
37537 do :
37538 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37539 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37540 eval as_val=\$$as_ac_var
37541 if test "x$as_val" = x""yes; then :
37542 cat >>confdefs.h <<_ACEOF
37543 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37544 _ACEOF
37547 done
37549 else
37550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
37551 $as_echo_n "checking for _long double round functions... " >&6; }
37552 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
37553 $as_echo_n "(cached) " >&6
37554 else
37557 ac_ext=cpp
37558 ac_cpp='$CXXCPP $CPPFLAGS'
37559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37564 /* end confdefs.h. */
37565 #include <math.h>
37567 main ()
37569 _ceill (0); _floorl (0);
37571 return 0;
37573 _ACEOF
37574 if ac_fn_cxx_try_compile "$LINENO"; then :
37575 glibcxx_cv_func__long_double_round_use=yes
37576 else
37577 glibcxx_cv_func__long_double_round_use=no
37579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37580 ac_ext=c
37581 ac_cpp='$CPP $CPPFLAGS'
37582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
37589 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
37590 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
37591 for ac_func in _ceill _floorl
37592 do :
37593 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37594 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37595 eval as_val=\$$as_ac_var
37596 if test "x$as_val" = x""yes; then :
37597 cat >>confdefs.h <<_ACEOF
37598 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37599 _ACEOF
37602 done
37612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
37613 $as_echo_n "checking for isnanl declaration... " >&6; }
37614 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
37615 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
37616 $as_echo_n "(cached) " >&6
37617 else
37620 ac_ext=cpp
37621 ac_cpp='$CXXCPP $CPPFLAGS'
37622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37627 /* end confdefs.h. */
37628 #include <math.h>
37629 #ifdef HAVE_IEEEFP_H
37630 #include <ieeefp.h>
37631 #endif
37634 main ()
37636 isnanl(0);
37638 return 0;
37640 _ACEOF
37641 if ac_fn_cxx_try_compile "$LINENO"; then :
37642 glibcxx_cv_func_isnanl_use=yes
37643 else
37644 glibcxx_cv_func_isnanl_use=no
37646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37647 ac_ext=c
37648 ac_cpp='$CPP $CPPFLAGS'
37649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
37658 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
37660 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
37661 for ac_func in isnanl
37662 do :
37663 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
37664 if test "x$ac_cv_func_isnanl" = x""yes; then :
37665 cat >>confdefs.h <<_ACEOF
37666 #define HAVE_ISNANL 1
37667 _ACEOF
37670 done
37672 else
37674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
37675 $as_echo_n "checking for _isnanl declaration... " >&6; }
37676 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
37677 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
37678 $as_echo_n "(cached) " >&6
37679 else
37682 ac_ext=cpp
37683 ac_cpp='$CXXCPP $CPPFLAGS'
37684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37689 /* end confdefs.h. */
37690 #include <math.h>
37691 #ifdef HAVE_IEEEFP_H
37692 #include <ieeefp.h>
37693 #endif
37696 main ()
37698 _isnanl(0);
37700 return 0;
37702 _ACEOF
37703 if ac_fn_cxx_try_compile "$LINENO"; then :
37704 glibcxx_cv_func__isnanl_use=yes
37705 else
37706 glibcxx_cv_func__isnanl_use=no
37708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37709 ac_ext=c
37710 ac_cpp='$CPP $CPPFLAGS'
37711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
37720 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
37722 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
37723 for ac_func in _isnanl
37724 do :
37725 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
37726 if test "x$ac_cv_func__isnanl" = x""yes; then :
37727 cat >>confdefs.h <<_ACEOF
37728 #define HAVE__ISNANL 1
37729 _ACEOF
37732 done
37741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
37742 $as_echo_n "checking for isinfl declaration... " >&6; }
37743 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
37744 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
37745 $as_echo_n "(cached) " >&6
37746 else
37749 ac_ext=cpp
37750 ac_cpp='$CXXCPP $CPPFLAGS'
37751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37756 /* end confdefs.h. */
37757 #include <math.h>
37758 #ifdef HAVE_IEEEFP_H
37759 #include <ieeefp.h>
37760 #endif
37763 main ()
37765 isinfl(0);
37767 return 0;
37769 _ACEOF
37770 if ac_fn_cxx_try_compile "$LINENO"; then :
37771 glibcxx_cv_func_isinfl_use=yes
37772 else
37773 glibcxx_cv_func_isinfl_use=no
37775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37776 ac_ext=c
37777 ac_cpp='$CPP $CPPFLAGS'
37778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
37787 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
37789 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
37790 for ac_func in isinfl
37791 do :
37792 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
37793 if test "x$ac_cv_func_isinfl" = x""yes; then :
37794 cat >>confdefs.h <<_ACEOF
37795 #define HAVE_ISINFL 1
37796 _ACEOF
37799 done
37801 else
37803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
37804 $as_echo_n "checking for _isinfl declaration... " >&6; }
37805 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
37806 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
37807 $as_echo_n "(cached) " >&6
37808 else
37811 ac_ext=cpp
37812 ac_cpp='$CXXCPP $CPPFLAGS'
37813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37818 /* end confdefs.h. */
37819 #include <math.h>
37820 #ifdef HAVE_IEEEFP_H
37821 #include <ieeefp.h>
37822 #endif
37825 main ()
37827 _isinfl(0);
37829 return 0;
37831 _ACEOF
37832 if ac_fn_cxx_try_compile "$LINENO"; then :
37833 glibcxx_cv_func__isinfl_use=yes
37834 else
37835 glibcxx_cv_func__isinfl_use=no
37837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37838 ac_ext=c
37839 ac_cpp='$CPP $CPPFLAGS'
37840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
37849 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
37851 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
37852 for ac_func in _isinfl
37853 do :
37854 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
37855 if test "x$ac_cv_func__isinfl" = x""yes; then :
37856 cat >>confdefs.h <<_ACEOF
37857 #define HAVE__ISINFL 1
37858 _ACEOF
37861 done
37870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
37871 $as_echo_n "checking for atan2l declaration... " >&6; }
37872 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
37873 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
37874 $as_echo_n "(cached) " >&6
37875 else
37878 ac_ext=cpp
37879 ac_cpp='$CXXCPP $CPPFLAGS'
37880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37885 /* end confdefs.h. */
37886 #include <math.h>
37888 main ()
37890 atan2l(0, 0);
37892 return 0;
37894 _ACEOF
37895 if ac_fn_cxx_try_compile "$LINENO"; then :
37896 glibcxx_cv_func_atan2l_use=yes
37897 else
37898 glibcxx_cv_func_atan2l_use=no
37900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37901 ac_ext=c
37902 ac_cpp='$CPP $CPPFLAGS'
37903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
37912 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
37914 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
37915 for ac_func in atan2l
37916 do :
37917 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
37918 if test "x$ac_cv_func_atan2l" = x""yes; then :
37919 cat >>confdefs.h <<_ACEOF
37920 #define HAVE_ATAN2L 1
37921 _ACEOF
37924 done
37926 else
37928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
37929 $as_echo_n "checking for _atan2l declaration... " >&6; }
37930 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
37931 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
37932 $as_echo_n "(cached) " >&6
37933 else
37936 ac_ext=cpp
37937 ac_cpp='$CXXCPP $CPPFLAGS'
37938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37943 /* end confdefs.h. */
37944 #include <math.h>
37946 main ()
37948 _atan2l(0, 0);
37950 return 0;
37952 _ACEOF
37953 if ac_fn_cxx_try_compile "$LINENO"; then :
37954 glibcxx_cv_func__atan2l_use=yes
37955 else
37956 glibcxx_cv_func__atan2l_use=no
37958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37959 ac_ext=c
37960 ac_cpp='$CPP $CPPFLAGS'
37961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
37970 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
37972 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
37973 for ac_func in _atan2l
37974 do :
37975 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
37976 if test "x$ac_cv_func__atan2l" = x""yes; then :
37977 cat >>confdefs.h <<_ACEOF
37978 #define HAVE__ATAN2L 1
37979 _ACEOF
37982 done
37991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
37992 $as_echo_n "checking for expl declaration... " >&6; }
37993 if test x${glibcxx_cv_func_expl_use+set} != xset; then
37994 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
37995 $as_echo_n "(cached) " >&6
37996 else
37999 ac_ext=cpp
38000 ac_cpp='$CXXCPP $CPPFLAGS'
38001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38006 /* end confdefs.h. */
38007 #include <math.h>
38008 #ifdef HAVE_IEEEFP_H
38009 #include <ieeefp.h>
38010 #endif
38013 main ()
38015 expl(0);
38017 return 0;
38019 _ACEOF
38020 if ac_fn_cxx_try_compile "$LINENO"; then :
38021 glibcxx_cv_func_expl_use=yes
38022 else
38023 glibcxx_cv_func_expl_use=no
38025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38026 ac_ext=c
38027 ac_cpp='$CPP $CPPFLAGS'
38028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
38037 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
38039 if test x$glibcxx_cv_func_expl_use = x"yes"; then
38040 for ac_func in expl
38041 do :
38042 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
38043 if test "x$ac_cv_func_expl" = x""yes; then :
38044 cat >>confdefs.h <<_ACEOF
38045 #define HAVE_EXPL 1
38046 _ACEOF
38049 done
38051 else
38053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
38054 $as_echo_n "checking for _expl declaration... " >&6; }
38055 if test x${glibcxx_cv_func__expl_use+set} != xset; then
38056 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
38057 $as_echo_n "(cached) " >&6
38058 else
38061 ac_ext=cpp
38062 ac_cpp='$CXXCPP $CPPFLAGS'
38063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38068 /* end confdefs.h. */
38069 #include <math.h>
38070 #ifdef HAVE_IEEEFP_H
38071 #include <ieeefp.h>
38072 #endif
38075 main ()
38077 _expl(0);
38079 return 0;
38081 _ACEOF
38082 if ac_fn_cxx_try_compile "$LINENO"; then :
38083 glibcxx_cv_func__expl_use=yes
38084 else
38085 glibcxx_cv_func__expl_use=no
38087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38088 ac_ext=c
38089 ac_cpp='$CPP $CPPFLAGS'
38090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
38099 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
38101 if test x$glibcxx_cv_func__expl_use = x"yes"; then
38102 for ac_func in _expl
38103 do :
38104 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
38105 if test "x$ac_cv_func__expl" = x""yes; then :
38106 cat >>confdefs.h <<_ACEOF
38107 #define HAVE__EXPL 1
38108 _ACEOF
38111 done
38120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
38121 $as_echo_n "checking for fabsl declaration... " >&6; }
38122 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
38123 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
38124 $as_echo_n "(cached) " >&6
38125 else
38128 ac_ext=cpp
38129 ac_cpp='$CXXCPP $CPPFLAGS'
38130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38135 /* end confdefs.h. */
38136 #include <math.h>
38137 #ifdef HAVE_IEEEFP_H
38138 #include <ieeefp.h>
38139 #endif
38142 main ()
38144 fabsl(0);
38146 return 0;
38148 _ACEOF
38149 if ac_fn_cxx_try_compile "$LINENO"; then :
38150 glibcxx_cv_func_fabsl_use=yes
38151 else
38152 glibcxx_cv_func_fabsl_use=no
38154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38155 ac_ext=c
38156 ac_cpp='$CPP $CPPFLAGS'
38157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
38166 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
38168 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
38169 for ac_func in fabsl
38170 do :
38171 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
38172 if test "x$ac_cv_func_fabsl" = x""yes; then :
38173 cat >>confdefs.h <<_ACEOF
38174 #define HAVE_FABSL 1
38175 _ACEOF
38178 done
38180 else
38182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
38183 $as_echo_n "checking for _fabsl declaration... " >&6; }
38184 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
38185 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
38186 $as_echo_n "(cached) " >&6
38187 else
38190 ac_ext=cpp
38191 ac_cpp='$CXXCPP $CPPFLAGS'
38192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38197 /* end confdefs.h. */
38198 #include <math.h>
38199 #ifdef HAVE_IEEEFP_H
38200 #include <ieeefp.h>
38201 #endif
38204 main ()
38206 _fabsl(0);
38208 return 0;
38210 _ACEOF
38211 if ac_fn_cxx_try_compile "$LINENO"; then :
38212 glibcxx_cv_func__fabsl_use=yes
38213 else
38214 glibcxx_cv_func__fabsl_use=no
38216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38217 ac_ext=c
38218 ac_cpp='$CPP $CPPFLAGS'
38219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
38228 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
38230 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
38231 for ac_func in _fabsl
38232 do :
38233 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
38234 if test "x$ac_cv_func__fabsl" = x""yes; then :
38235 cat >>confdefs.h <<_ACEOF
38236 #define HAVE__FABSL 1
38237 _ACEOF
38240 done
38249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
38250 $as_echo_n "checking for fmodl declaration... " >&6; }
38251 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
38252 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
38253 $as_echo_n "(cached) " >&6
38254 else
38257 ac_ext=cpp
38258 ac_cpp='$CXXCPP $CPPFLAGS'
38259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38264 /* end confdefs.h. */
38265 #include <math.h>
38267 main ()
38269 fmodl(0, 0);
38271 return 0;
38273 _ACEOF
38274 if ac_fn_cxx_try_compile "$LINENO"; then :
38275 glibcxx_cv_func_fmodl_use=yes
38276 else
38277 glibcxx_cv_func_fmodl_use=no
38279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38280 ac_ext=c
38281 ac_cpp='$CPP $CPPFLAGS'
38282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
38291 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
38293 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
38294 for ac_func in fmodl
38295 do :
38296 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
38297 if test "x$ac_cv_func_fmodl" = x""yes; then :
38298 cat >>confdefs.h <<_ACEOF
38299 #define HAVE_FMODL 1
38300 _ACEOF
38303 done
38305 else
38307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
38308 $as_echo_n "checking for _fmodl declaration... " >&6; }
38309 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
38310 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
38311 $as_echo_n "(cached) " >&6
38312 else
38315 ac_ext=cpp
38316 ac_cpp='$CXXCPP $CPPFLAGS'
38317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38322 /* end confdefs.h. */
38323 #include <math.h>
38325 main ()
38327 _fmodl(0, 0);
38329 return 0;
38331 _ACEOF
38332 if ac_fn_cxx_try_compile "$LINENO"; then :
38333 glibcxx_cv_func__fmodl_use=yes
38334 else
38335 glibcxx_cv_func__fmodl_use=no
38337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38338 ac_ext=c
38339 ac_cpp='$CPP $CPPFLAGS'
38340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
38349 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
38351 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
38352 for ac_func in _fmodl
38353 do :
38354 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
38355 if test "x$ac_cv_func__fmodl" = x""yes; then :
38356 cat >>confdefs.h <<_ACEOF
38357 #define HAVE__FMODL 1
38358 _ACEOF
38361 done
38370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
38371 $as_echo_n "checking for frexpl declaration... " >&6; }
38372 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
38373 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
38374 $as_echo_n "(cached) " >&6
38375 else
38378 ac_ext=cpp
38379 ac_cpp='$CXXCPP $CPPFLAGS'
38380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38385 /* end confdefs.h. */
38386 #include <math.h>
38388 main ()
38390 frexpl(0, 0);
38392 return 0;
38394 _ACEOF
38395 if ac_fn_cxx_try_compile "$LINENO"; then :
38396 glibcxx_cv_func_frexpl_use=yes
38397 else
38398 glibcxx_cv_func_frexpl_use=no
38400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38401 ac_ext=c
38402 ac_cpp='$CPP $CPPFLAGS'
38403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
38412 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
38414 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
38415 for ac_func in frexpl
38416 do :
38417 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
38418 if test "x$ac_cv_func_frexpl" = x""yes; then :
38419 cat >>confdefs.h <<_ACEOF
38420 #define HAVE_FREXPL 1
38421 _ACEOF
38424 done
38426 else
38428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
38429 $as_echo_n "checking for _frexpl declaration... " >&6; }
38430 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
38431 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
38432 $as_echo_n "(cached) " >&6
38433 else
38436 ac_ext=cpp
38437 ac_cpp='$CXXCPP $CPPFLAGS'
38438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38443 /* end confdefs.h. */
38444 #include <math.h>
38446 main ()
38448 _frexpl(0, 0);
38450 return 0;
38452 _ACEOF
38453 if ac_fn_cxx_try_compile "$LINENO"; then :
38454 glibcxx_cv_func__frexpl_use=yes
38455 else
38456 glibcxx_cv_func__frexpl_use=no
38458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38459 ac_ext=c
38460 ac_cpp='$CPP $CPPFLAGS'
38461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
38470 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
38472 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
38473 for ac_func in _frexpl
38474 do :
38475 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
38476 if test "x$ac_cv_func__frexpl" = x""yes; then :
38477 cat >>confdefs.h <<_ACEOF
38478 #define HAVE__FREXPL 1
38479 _ACEOF
38482 done
38491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
38492 $as_echo_n "checking for hypotl declaration... " >&6; }
38493 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
38494 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
38495 $as_echo_n "(cached) " >&6
38496 else
38499 ac_ext=cpp
38500 ac_cpp='$CXXCPP $CPPFLAGS'
38501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38506 /* end confdefs.h. */
38507 #include <math.h>
38509 main ()
38511 hypotl(0, 0);
38513 return 0;
38515 _ACEOF
38516 if ac_fn_cxx_try_compile "$LINENO"; then :
38517 glibcxx_cv_func_hypotl_use=yes
38518 else
38519 glibcxx_cv_func_hypotl_use=no
38521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38522 ac_ext=c
38523 ac_cpp='$CPP $CPPFLAGS'
38524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
38533 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
38535 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
38536 for ac_func in hypotl
38537 do :
38538 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
38539 if test "x$ac_cv_func_hypotl" = x""yes; then :
38540 cat >>confdefs.h <<_ACEOF
38541 #define HAVE_HYPOTL 1
38542 _ACEOF
38545 done
38547 else
38549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
38550 $as_echo_n "checking for _hypotl declaration... " >&6; }
38551 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
38552 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
38553 $as_echo_n "(cached) " >&6
38554 else
38557 ac_ext=cpp
38558 ac_cpp='$CXXCPP $CPPFLAGS'
38559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38564 /* end confdefs.h. */
38565 #include <math.h>
38567 main ()
38569 _hypotl(0, 0);
38571 return 0;
38573 _ACEOF
38574 if ac_fn_cxx_try_compile "$LINENO"; then :
38575 glibcxx_cv_func__hypotl_use=yes
38576 else
38577 glibcxx_cv_func__hypotl_use=no
38579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38580 ac_ext=c
38581 ac_cpp='$CPP $CPPFLAGS'
38582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
38591 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
38593 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
38594 for ac_func in _hypotl
38595 do :
38596 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
38597 if test "x$ac_cv_func__hypotl" = x""yes; then :
38598 cat >>confdefs.h <<_ACEOF
38599 #define HAVE__HYPOTL 1
38600 _ACEOF
38603 done
38612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
38613 $as_echo_n "checking for ldexpl declaration... " >&6; }
38614 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
38615 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
38616 $as_echo_n "(cached) " >&6
38617 else
38620 ac_ext=cpp
38621 ac_cpp='$CXXCPP $CPPFLAGS'
38622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38627 /* end confdefs.h. */
38628 #include <math.h>
38630 main ()
38632 ldexpl(0, 0);
38634 return 0;
38636 _ACEOF
38637 if ac_fn_cxx_try_compile "$LINENO"; then :
38638 glibcxx_cv_func_ldexpl_use=yes
38639 else
38640 glibcxx_cv_func_ldexpl_use=no
38642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38643 ac_ext=c
38644 ac_cpp='$CPP $CPPFLAGS'
38645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
38654 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
38656 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
38657 for ac_func in ldexpl
38658 do :
38659 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
38660 if test "x$ac_cv_func_ldexpl" = x""yes; then :
38661 cat >>confdefs.h <<_ACEOF
38662 #define HAVE_LDEXPL 1
38663 _ACEOF
38666 done
38668 else
38670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
38671 $as_echo_n "checking for _ldexpl declaration... " >&6; }
38672 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
38673 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
38674 $as_echo_n "(cached) " >&6
38675 else
38678 ac_ext=cpp
38679 ac_cpp='$CXXCPP $CPPFLAGS'
38680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38685 /* end confdefs.h. */
38686 #include <math.h>
38688 main ()
38690 _ldexpl(0, 0);
38692 return 0;
38694 _ACEOF
38695 if ac_fn_cxx_try_compile "$LINENO"; then :
38696 glibcxx_cv_func__ldexpl_use=yes
38697 else
38698 glibcxx_cv_func__ldexpl_use=no
38700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38701 ac_ext=c
38702 ac_cpp='$CPP $CPPFLAGS'
38703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
38712 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
38714 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
38715 for ac_func in _ldexpl
38716 do :
38717 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
38718 if test "x$ac_cv_func__ldexpl" = x""yes; then :
38719 cat >>confdefs.h <<_ACEOF
38720 #define HAVE__LDEXPL 1
38721 _ACEOF
38724 done
38733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
38734 $as_echo_n "checking for logl declaration... " >&6; }
38735 if test x${glibcxx_cv_func_logl_use+set} != xset; then
38736 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
38737 $as_echo_n "(cached) " >&6
38738 else
38741 ac_ext=cpp
38742 ac_cpp='$CXXCPP $CPPFLAGS'
38743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38748 /* end confdefs.h. */
38749 #include <math.h>
38750 #ifdef HAVE_IEEEFP_H
38751 #include <ieeefp.h>
38752 #endif
38755 main ()
38757 logl(0);
38759 return 0;
38761 _ACEOF
38762 if ac_fn_cxx_try_compile "$LINENO"; then :
38763 glibcxx_cv_func_logl_use=yes
38764 else
38765 glibcxx_cv_func_logl_use=no
38767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38768 ac_ext=c
38769 ac_cpp='$CPP $CPPFLAGS'
38770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
38779 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
38781 if test x$glibcxx_cv_func_logl_use = x"yes"; then
38782 for ac_func in logl
38783 do :
38784 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
38785 if test "x$ac_cv_func_logl" = x""yes; then :
38786 cat >>confdefs.h <<_ACEOF
38787 #define HAVE_LOGL 1
38788 _ACEOF
38791 done
38793 else
38795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
38796 $as_echo_n "checking for _logl declaration... " >&6; }
38797 if test x${glibcxx_cv_func__logl_use+set} != xset; then
38798 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
38799 $as_echo_n "(cached) " >&6
38800 else
38803 ac_ext=cpp
38804 ac_cpp='$CXXCPP $CPPFLAGS'
38805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38810 /* end confdefs.h. */
38811 #include <math.h>
38812 #ifdef HAVE_IEEEFP_H
38813 #include <ieeefp.h>
38814 #endif
38817 main ()
38819 _logl(0);
38821 return 0;
38823 _ACEOF
38824 if ac_fn_cxx_try_compile "$LINENO"; then :
38825 glibcxx_cv_func__logl_use=yes
38826 else
38827 glibcxx_cv_func__logl_use=no
38829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38830 ac_ext=c
38831 ac_cpp='$CPP $CPPFLAGS'
38832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
38841 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
38843 if test x$glibcxx_cv_func__logl_use = x"yes"; then
38844 for ac_func in _logl
38845 do :
38846 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
38847 if test "x$ac_cv_func__logl" = x""yes; then :
38848 cat >>confdefs.h <<_ACEOF
38849 #define HAVE__LOGL 1
38850 _ACEOF
38853 done
38862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
38863 $as_echo_n "checking for log10l declaration... " >&6; }
38864 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
38865 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
38866 $as_echo_n "(cached) " >&6
38867 else
38870 ac_ext=cpp
38871 ac_cpp='$CXXCPP $CPPFLAGS'
38872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38877 /* end confdefs.h. */
38878 #include <math.h>
38879 #ifdef HAVE_IEEEFP_H
38880 #include <ieeefp.h>
38881 #endif
38884 main ()
38886 log10l(0);
38888 return 0;
38890 _ACEOF
38891 if ac_fn_cxx_try_compile "$LINENO"; then :
38892 glibcxx_cv_func_log10l_use=yes
38893 else
38894 glibcxx_cv_func_log10l_use=no
38896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38897 ac_ext=c
38898 ac_cpp='$CPP $CPPFLAGS'
38899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
38908 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
38910 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
38911 for ac_func in log10l
38912 do :
38913 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
38914 if test "x$ac_cv_func_log10l" = x""yes; then :
38915 cat >>confdefs.h <<_ACEOF
38916 #define HAVE_LOG10L 1
38917 _ACEOF
38920 done
38922 else
38924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
38925 $as_echo_n "checking for _log10l declaration... " >&6; }
38926 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
38927 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
38928 $as_echo_n "(cached) " >&6
38929 else
38932 ac_ext=cpp
38933 ac_cpp='$CXXCPP $CPPFLAGS'
38934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38939 /* end confdefs.h. */
38940 #include <math.h>
38941 #ifdef HAVE_IEEEFP_H
38942 #include <ieeefp.h>
38943 #endif
38946 main ()
38948 _log10l(0);
38950 return 0;
38952 _ACEOF
38953 if ac_fn_cxx_try_compile "$LINENO"; then :
38954 glibcxx_cv_func__log10l_use=yes
38955 else
38956 glibcxx_cv_func__log10l_use=no
38958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38959 ac_ext=c
38960 ac_cpp='$CPP $CPPFLAGS'
38961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
38970 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
38972 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
38973 for ac_func in _log10l
38974 do :
38975 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
38976 if test "x$ac_cv_func__log10l" = x""yes; then :
38977 cat >>confdefs.h <<_ACEOF
38978 #define HAVE__LOG10L 1
38979 _ACEOF
38982 done
38991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
38992 $as_echo_n "checking for modfl declaration... " >&6; }
38993 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
38994 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
38995 $as_echo_n "(cached) " >&6
38996 else
38999 ac_ext=cpp
39000 ac_cpp='$CXXCPP $CPPFLAGS'
39001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39006 /* end confdefs.h. */
39007 #include <math.h>
39009 main ()
39011 modfl(0, 0);
39013 return 0;
39015 _ACEOF
39016 if ac_fn_cxx_try_compile "$LINENO"; then :
39017 glibcxx_cv_func_modfl_use=yes
39018 else
39019 glibcxx_cv_func_modfl_use=no
39021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39022 ac_ext=c
39023 ac_cpp='$CPP $CPPFLAGS'
39024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
39033 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
39035 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
39036 for ac_func in modfl
39037 do :
39038 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
39039 if test "x$ac_cv_func_modfl" = x""yes; then :
39040 cat >>confdefs.h <<_ACEOF
39041 #define HAVE_MODFL 1
39042 _ACEOF
39045 done
39047 else
39049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
39050 $as_echo_n "checking for _modfl declaration... " >&6; }
39051 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
39052 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
39053 $as_echo_n "(cached) " >&6
39054 else
39057 ac_ext=cpp
39058 ac_cpp='$CXXCPP $CPPFLAGS'
39059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39064 /* end confdefs.h. */
39065 #include <math.h>
39067 main ()
39069 _modfl(0, 0);
39071 return 0;
39073 _ACEOF
39074 if ac_fn_cxx_try_compile "$LINENO"; then :
39075 glibcxx_cv_func__modfl_use=yes
39076 else
39077 glibcxx_cv_func__modfl_use=no
39079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39080 ac_ext=c
39081 ac_cpp='$CPP $CPPFLAGS'
39082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
39091 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
39093 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
39094 for ac_func in _modfl
39095 do :
39096 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
39097 if test "x$ac_cv_func__modfl" = x""yes; then :
39098 cat >>confdefs.h <<_ACEOF
39099 #define HAVE__MODFL 1
39100 _ACEOF
39103 done
39112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
39113 $as_echo_n "checking for powl declaration... " >&6; }
39114 if test x${glibcxx_cv_func_powl_use+set} != xset; then
39115 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
39116 $as_echo_n "(cached) " >&6
39117 else
39120 ac_ext=cpp
39121 ac_cpp='$CXXCPP $CPPFLAGS'
39122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39127 /* end confdefs.h. */
39128 #include <math.h>
39130 main ()
39132 powl(0, 0);
39134 return 0;
39136 _ACEOF
39137 if ac_fn_cxx_try_compile "$LINENO"; then :
39138 glibcxx_cv_func_powl_use=yes
39139 else
39140 glibcxx_cv_func_powl_use=no
39142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39143 ac_ext=c
39144 ac_cpp='$CPP $CPPFLAGS'
39145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
39154 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
39156 if test x$glibcxx_cv_func_powl_use = x"yes"; then
39157 for ac_func in powl
39158 do :
39159 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
39160 if test "x$ac_cv_func_powl" = x""yes; then :
39161 cat >>confdefs.h <<_ACEOF
39162 #define HAVE_POWL 1
39163 _ACEOF
39166 done
39168 else
39170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
39171 $as_echo_n "checking for _powl declaration... " >&6; }
39172 if test x${glibcxx_cv_func__powl_use+set} != xset; then
39173 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
39174 $as_echo_n "(cached) " >&6
39175 else
39178 ac_ext=cpp
39179 ac_cpp='$CXXCPP $CPPFLAGS'
39180 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39181 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39182 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39185 /* end confdefs.h. */
39186 #include <math.h>
39188 main ()
39190 _powl(0, 0);
39192 return 0;
39194 _ACEOF
39195 if ac_fn_cxx_try_compile "$LINENO"; then :
39196 glibcxx_cv_func__powl_use=yes
39197 else
39198 glibcxx_cv_func__powl_use=no
39200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39201 ac_ext=c
39202 ac_cpp='$CPP $CPPFLAGS'
39203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
39212 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
39214 if test x$glibcxx_cv_func__powl_use = x"yes"; then
39215 for ac_func in _powl
39216 do :
39217 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
39218 if test "x$ac_cv_func__powl" = x""yes; then :
39219 cat >>confdefs.h <<_ACEOF
39220 #define HAVE__POWL 1
39221 _ACEOF
39224 done
39233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
39234 $as_echo_n "checking for sqrtl declaration... " >&6; }
39235 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
39236 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
39237 $as_echo_n "(cached) " >&6
39238 else
39241 ac_ext=cpp
39242 ac_cpp='$CXXCPP $CPPFLAGS'
39243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39248 /* end confdefs.h. */
39249 #include <math.h>
39250 #ifdef HAVE_IEEEFP_H
39251 #include <ieeefp.h>
39252 #endif
39255 main ()
39257 sqrtl(0);
39259 return 0;
39261 _ACEOF
39262 if ac_fn_cxx_try_compile "$LINENO"; then :
39263 glibcxx_cv_func_sqrtl_use=yes
39264 else
39265 glibcxx_cv_func_sqrtl_use=no
39267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39268 ac_ext=c
39269 ac_cpp='$CPP $CPPFLAGS'
39270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
39279 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
39281 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
39282 for ac_func in sqrtl
39283 do :
39284 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
39285 if test "x$ac_cv_func_sqrtl" = x""yes; then :
39286 cat >>confdefs.h <<_ACEOF
39287 #define HAVE_SQRTL 1
39288 _ACEOF
39291 done
39293 else
39295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
39296 $as_echo_n "checking for _sqrtl declaration... " >&6; }
39297 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
39298 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
39299 $as_echo_n "(cached) " >&6
39300 else
39303 ac_ext=cpp
39304 ac_cpp='$CXXCPP $CPPFLAGS'
39305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39310 /* end confdefs.h. */
39311 #include <math.h>
39312 #ifdef HAVE_IEEEFP_H
39313 #include <ieeefp.h>
39314 #endif
39317 main ()
39319 _sqrtl(0);
39321 return 0;
39323 _ACEOF
39324 if ac_fn_cxx_try_compile "$LINENO"; then :
39325 glibcxx_cv_func__sqrtl_use=yes
39326 else
39327 glibcxx_cv_func__sqrtl_use=no
39329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39330 ac_ext=c
39331 ac_cpp='$CPP $CPPFLAGS'
39332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
39341 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
39343 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
39344 for ac_func in _sqrtl
39345 do :
39346 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
39347 if test "x$ac_cv_func__sqrtl" = x""yes; then :
39348 cat >>confdefs.h <<_ACEOF
39349 #define HAVE__SQRTL 1
39350 _ACEOF
39353 done
39362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
39363 $as_echo_n "checking for sincosl declaration... " >&6; }
39364 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
39365 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
39366 $as_echo_n "(cached) " >&6
39367 else
39370 ac_ext=cpp
39371 ac_cpp='$CXXCPP $CPPFLAGS'
39372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39377 /* end confdefs.h. */
39378 #include <math.h>
39380 main ()
39382 sincosl(0, 0, 0);
39384 return 0;
39386 _ACEOF
39387 if ac_fn_cxx_try_compile "$LINENO"; then :
39388 glibcxx_cv_func_sincosl_use=yes
39389 else
39390 glibcxx_cv_func_sincosl_use=no
39392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39393 ac_ext=c
39394 ac_cpp='$CPP $CPPFLAGS'
39395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
39404 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
39406 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
39407 for ac_func in sincosl
39408 do :
39409 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
39410 if test "x$ac_cv_func_sincosl" = x""yes; then :
39411 cat >>confdefs.h <<_ACEOF
39412 #define HAVE_SINCOSL 1
39413 _ACEOF
39416 done
39418 else
39420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
39421 $as_echo_n "checking for _sincosl declaration... " >&6; }
39422 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
39423 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
39424 $as_echo_n "(cached) " >&6
39425 else
39428 ac_ext=cpp
39429 ac_cpp='$CXXCPP $CPPFLAGS'
39430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39435 /* end confdefs.h. */
39436 #include <math.h>
39438 main ()
39440 _sincosl(0, 0, 0);
39442 return 0;
39444 _ACEOF
39445 if ac_fn_cxx_try_compile "$LINENO"; then :
39446 glibcxx_cv_func__sincosl_use=yes
39447 else
39448 glibcxx_cv_func__sincosl_use=no
39450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39451 ac_ext=c
39452 ac_cpp='$CPP $CPPFLAGS'
39453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
39462 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
39464 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
39465 for ac_func in _sincosl
39466 do :
39467 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
39468 if test "x$ac_cv_func__sincosl" = x""yes; then :
39469 cat >>confdefs.h <<_ACEOF
39470 #define HAVE__SINCOSL 1
39471 _ACEOF
39474 done
39483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
39484 $as_echo_n "checking for finitel declaration... " >&6; }
39485 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
39486 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
39487 $as_echo_n "(cached) " >&6
39488 else
39491 ac_ext=cpp
39492 ac_cpp='$CXXCPP $CPPFLAGS'
39493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39498 /* end confdefs.h. */
39499 #include <math.h>
39500 #ifdef HAVE_IEEEFP_H
39501 #include <ieeefp.h>
39502 #endif
39505 main ()
39507 finitel(0);
39509 return 0;
39511 _ACEOF
39512 if ac_fn_cxx_try_compile "$LINENO"; then :
39513 glibcxx_cv_func_finitel_use=yes
39514 else
39515 glibcxx_cv_func_finitel_use=no
39517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39518 ac_ext=c
39519 ac_cpp='$CPP $CPPFLAGS'
39520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
39529 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
39531 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
39532 for ac_func in finitel
39533 do :
39534 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
39535 if test "x$ac_cv_func_finitel" = x""yes; then :
39536 cat >>confdefs.h <<_ACEOF
39537 #define HAVE_FINITEL 1
39538 _ACEOF
39541 done
39543 else
39545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
39546 $as_echo_n "checking for _finitel declaration... " >&6; }
39547 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
39548 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
39549 $as_echo_n "(cached) " >&6
39550 else
39553 ac_ext=cpp
39554 ac_cpp='$CXXCPP $CPPFLAGS'
39555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39560 /* end confdefs.h. */
39561 #include <math.h>
39562 #ifdef HAVE_IEEEFP_H
39563 #include <ieeefp.h>
39564 #endif
39567 main ()
39569 _finitel(0);
39571 return 0;
39573 _ACEOF
39574 if ac_fn_cxx_try_compile "$LINENO"; then :
39575 glibcxx_cv_func__finitel_use=yes
39576 else
39577 glibcxx_cv_func__finitel_use=no
39579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39580 ac_ext=c
39581 ac_cpp='$CPP $CPPFLAGS'
39582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
39591 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
39593 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
39594 for ac_func in _finitel
39595 do :
39596 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
39597 if test "x$ac_cv_func__finitel" = x""yes; then :
39598 cat >>confdefs.h <<_ACEOF
39599 #define HAVE__FINITEL 1
39600 _ACEOF
39603 done
39611 LIBS="$ac_save_LIBS"
39612 CXXFLAGS="$ac_save_CXXFLAGS"
39615 ac_test_CXXFLAGS="${CXXFLAGS+set}"
39616 ac_save_CXXFLAGS="$CXXFLAGS"
39617 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
39620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
39621 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
39622 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
39623 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
39624 $as_echo_n "(cached) " >&6
39625 else
39628 ac_ext=cpp
39629 ac_cpp='$CXXCPP $CPPFLAGS'
39630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39635 /* end confdefs.h. */
39636 #include <stdlib.h>
39638 main ()
39640 at_quick_exit(0);
39642 return 0;
39644 _ACEOF
39645 if ac_fn_cxx_try_compile "$LINENO"; then :
39646 glibcxx_cv_func_at_quick_exit_use=yes
39647 else
39648 glibcxx_cv_func_at_quick_exit_use=no
39650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39651 ac_ext=c
39652 ac_cpp='$CPP $CPPFLAGS'
39653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
39662 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
39663 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
39664 for ac_func in at_quick_exit
39665 do :
39666 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
39667 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
39668 cat >>confdefs.h <<_ACEOF
39669 #define HAVE_AT_QUICK_EXIT 1
39670 _ACEOF
39673 done
39678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
39679 $as_echo_n "checking for quick_exit declaration... " >&6; }
39680 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
39681 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
39682 $as_echo_n "(cached) " >&6
39683 else
39686 ac_ext=cpp
39687 ac_cpp='$CXXCPP $CPPFLAGS'
39688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39693 /* end confdefs.h. */
39694 #include <stdlib.h>
39696 main ()
39698 quick_exit(0);
39700 return 0;
39702 _ACEOF
39703 if ac_fn_cxx_try_compile "$LINENO"; then :
39704 glibcxx_cv_func_quick_exit_use=yes
39705 else
39706 glibcxx_cv_func_quick_exit_use=no
39708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39709 ac_ext=c
39710 ac_cpp='$CPP $CPPFLAGS'
39711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
39720 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
39721 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
39722 for ac_func in quick_exit
39723 do :
39724 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
39725 if test "x$ac_cv_func_quick_exit" = x""yes; then :
39726 cat >>confdefs.h <<_ACEOF
39727 #define HAVE_QUICK_EXIT 1
39728 _ACEOF
39731 done
39736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
39737 $as_echo_n "checking for strtold declaration... " >&6; }
39738 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
39739 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
39740 $as_echo_n "(cached) " >&6
39741 else
39744 ac_ext=cpp
39745 ac_cpp='$CXXCPP $CPPFLAGS'
39746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39751 /* end confdefs.h. */
39752 #include <stdlib.h>
39754 main ()
39756 strtold(0, 0);
39758 return 0;
39760 _ACEOF
39761 if ac_fn_cxx_try_compile "$LINENO"; then :
39762 glibcxx_cv_func_strtold_use=yes
39763 else
39764 glibcxx_cv_func_strtold_use=no
39766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39767 ac_ext=c
39768 ac_cpp='$CPP $CPPFLAGS'
39769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
39778 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
39779 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
39780 for ac_func in strtold
39781 do :
39782 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
39783 if test "x$ac_cv_func_strtold" = x""yes; then :
39784 cat >>confdefs.h <<_ACEOF
39785 #define HAVE_STRTOLD 1
39786 _ACEOF
39789 done
39796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
39797 $as_echo_n "checking for strtof declaration... " >&6; }
39798 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
39799 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
39800 $as_echo_n "(cached) " >&6
39801 else
39804 ac_ext=cpp
39805 ac_cpp='$CXXCPP $CPPFLAGS'
39806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39811 /* end confdefs.h. */
39812 #include <stdlib.h>
39814 main ()
39816 strtof(0, 0);
39818 return 0;
39820 _ACEOF
39821 if ac_fn_cxx_try_compile "$LINENO"; then :
39822 glibcxx_cv_func_strtof_use=yes
39823 else
39824 glibcxx_cv_func_strtof_use=no
39826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39827 ac_ext=c
39828 ac_cpp='$CPP $CPPFLAGS'
39829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
39838 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
39839 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
39840 for ac_func in strtof
39841 do :
39842 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
39843 if test "x$ac_cv_func_strtof" = x""yes; then :
39844 cat >>confdefs.h <<_ACEOF
39845 #define HAVE_STRTOF 1
39846 _ACEOF
39849 done
39856 CXXFLAGS="$ac_save_CXXFLAGS"
39863 am_save_CPPFLAGS="$CPPFLAGS"
39865 for element in $INCICONV; do
39866 haveit=
39867 for x in $CPPFLAGS; do
39869 acl_save_prefix="$prefix"
39870 prefix="$acl_final_prefix"
39871 acl_save_exec_prefix="$exec_prefix"
39872 exec_prefix="$acl_final_exec_prefix"
39873 eval x=\"$x\"
39874 exec_prefix="$acl_save_exec_prefix"
39875 prefix="$acl_save_prefix"
39877 if test "X$x" = "X$element"; then
39878 haveit=yes
39879 break
39881 done
39882 if test -z "$haveit"; then
39883 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
39885 done
39888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
39889 $as_echo_n "checking for iconv... " >&6; }
39890 if test "${am_cv_func_iconv+set}" = set; then :
39891 $as_echo_n "(cached) " >&6
39892 else
39894 am_cv_func_iconv="no, consider installing GNU libiconv"
39895 am_cv_lib_iconv=no
39896 if test x$gcc_no_link = xyes; then
39897 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39900 /* end confdefs.h. */
39901 #include <stdlib.h>
39902 #include <iconv.h>
39904 main ()
39906 iconv_t cd = iconv_open("","");
39907 iconv(cd,NULL,NULL,NULL,NULL);
39908 iconv_close(cd);
39910 return 0;
39912 _ACEOF
39913 if ac_fn_c_try_link "$LINENO"; then :
39914 am_cv_func_iconv=yes
39916 rm -f core conftest.err conftest.$ac_objext \
39917 conftest$ac_exeext conftest.$ac_ext
39918 if test "$am_cv_func_iconv" != yes; then
39919 am_save_LIBS="$LIBS"
39920 LIBS="$LIBS $LIBICONV"
39921 if test x$gcc_no_link = xyes; then
39922 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39925 /* end confdefs.h. */
39926 #include <stdlib.h>
39927 #include <iconv.h>
39929 main ()
39931 iconv_t cd = iconv_open("","");
39932 iconv(cd,NULL,NULL,NULL,NULL);
39933 iconv_close(cd);
39935 return 0;
39937 _ACEOF
39938 if ac_fn_c_try_link "$LINENO"; then :
39939 am_cv_lib_iconv=yes
39940 am_cv_func_iconv=yes
39942 rm -f core conftest.err conftest.$ac_objext \
39943 conftest$ac_exeext conftest.$ac_ext
39944 LIBS="$am_save_LIBS"
39948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
39949 $as_echo "$am_cv_func_iconv" >&6; }
39950 if test "$am_cv_func_iconv" = yes; then
39952 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
39955 if test "$am_cv_lib_iconv" = yes; then
39956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
39957 $as_echo_n "checking how to link with libiconv... " >&6; }
39958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
39959 $as_echo "$LIBICONV" >&6; }
39960 else
39961 CPPFLAGS="$am_save_CPPFLAGS"
39962 LIBICONV=
39963 LTLIBICONV=
39968 if test "$am_cv_func_iconv" = yes; then
39969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
39970 $as_echo_n "checking for iconv declaration... " >&6; }
39971 if test "${am_cv_proto_iconv+set}" = set; then :
39972 $as_echo_n "(cached) " >&6
39973 else
39975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39976 /* end confdefs.h. */
39978 #include <stdlib.h>
39979 #include <iconv.h>
39980 extern
39981 #ifdef __cplusplus
39983 #endif
39984 #if defined(__STDC__) || defined(__cplusplus)
39985 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
39986 #else
39987 size_t iconv();
39988 #endif
39991 main ()
39995 return 0;
39997 _ACEOF
39998 if ac_fn_c_try_compile "$LINENO"; then :
39999 am_cv_proto_iconv_arg1=""
40000 else
40001 am_cv_proto_iconv_arg1="const"
40003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40004 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);"
40007 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
40008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
40009 }$am_cv_proto_iconv" >&5
40010 $as_echo "${ac_t:-
40011 }$am_cv_proto_iconv" >&6; }
40013 cat >>confdefs.h <<_ACEOF
40014 #define ICONV_CONST $am_cv_proto_iconv_arg1
40015 _ACEOF
40021 *-aix*)
40023 # If we're not using GNU ld, then there's no point in even trying these
40024 # tests. Check for that first. We should have already tested for gld
40025 # by now (in libtool), but require it now just to be safe...
40026 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
40027 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
40031 # The name set by libtool depends on the version of libtool. Shame on us
40032 # for depending on an impl detail, but c'est la vie. Older versions used
40033 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
40034 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
40035 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
40036 # set (hence we're using an older libtool), then set it.
40037 if test x${with_gnu_ld+set} != xset; then
40038 if test x${ac_cv_prog_gnu_ld+set} != xset; then
40039 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
40040 with_gnu_ld=no
40041 else
40042 with_gnu_ld=$ac_cv_prog_gnu_ld
40046 # Start by getting the version number. I think the libtool test already
40047 # does some of this, but throws away the result.
40048 glibcxx_ld_is_gold=no
40049 if test x"$with_gnu_ld" = x"yes"; then
40050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
40051 $as_echo_n "checking for ld version... " >&6; }
40053 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
40054 glibcxx_ld_is_gold=yes
40056 ldver=`$LD --version 2>/dev/null |
40057 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'`
40059 glibcxx_gnu_ld_version=`echo $ldver | \
40060 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
40061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
40062 $as_echo "$glibcxx_gnu_ld_version" >&6; }
40065 # Set --gc-sections.
40066 glibcxx_have_gc_sections=no
40067 if test "$glibcxx_ld_is_gold" = "yes"; then
40068 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
40069 glibcxx_have_gc_sections=yes
40071 else
40072 glibcxx_gcsections_min_ld=21602
40073 if test x"$with_gnu_ld" = x"yes" &&
40074 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
40075 glibcxx_have_gc_sections=yes
40078 if test "$glibcxx_have_gc_sections" = "yes"; then
40079 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
40080 # NB: This flag only works reliably after 2.16.1. Configure tests
40081 # for this are difficult, so hard wire a value that should work.
40083 ac_test_CFLAGS="${CFLAGS+set}"
40084 ac_save_CFLAGS="$CFLAGS"
40085 CFLAGS='-Wl,--gc-sections'
40087 # Check for -Wl,--gc-sections
40088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
40089 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
40090 if test x$gcc_no_link = xyes; then
40091 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
40093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40094 /* end confdefs.h. */
40095 int one(void) { return 1; }
40096 int two(void) { return 2; }
40099 main ()
40101 two();
40103 return 0;
40105 _ACEOF
40106 if ac_fn_c_try_link "$LINENO"; then :
40107 ac_gcsections=yes
40108 else
40109 ac_gcsections=no
40111 rm -f core conftest.err conftest.$ac_objext \
40112 conftest$ac_exeext conftest.$ac_ext
40113 if test "$ac_gcsections" = "yes"; then
40114 rm -f conftest.c
40115 touch conftest.c
40116 if $CC -c conftest.c; then
40117 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
40118 grep "Warning: gc-sections option ignored" > /dev/null; then
40119 ac_gcsections=no
40122 rm -f conftest.c conftest.o conftest
40124 if test "$ac_gcsections" = "yes"; then
40125 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
40127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
40128 $as_echo "$ac_gcsections" >&6; }
40130 if test "$ac_test_CFLAGS" = set; then
40131 CFLAGS="$ac_save_CFLAGS"
40132 else
40133 # this is the suspicious part
40134 CFLAGS=''
40138 # Set -z,relro.
40139 # Note this is only for shared objects.
40140 ac_ld_relro=no
40141 if test x"$with_gnu_ld" = x"yes"; then
40142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
40143 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
40144 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
40145 if test -n "$cxx_z_relo"; then
40146 OPT_LDFLAGS="-Wl,-z,relro"
40147 ac_ld_relro=yes
40149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
40150 $as_echo "$ac_ld_relro" >&6; }
40153 # Set linker optimization flags.
40154 if test x"$with_gnu_ld" = x"yes"; then
40155 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
40162 ac_test_CXXFLAGS="${CXXFLAGS+set}"
40163 ac_save_CXXFLAGS="$CXXFLAGS"
40164 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
40166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
40167 $as_echo_n "checking for sin in -lm... " >&6; }
40168 if test "${ac_cv_lib_m_sin+set}" = set; then :
40169 $as_echo_n "(cached) " >&6
40170 else
40171 ac_check_lib_save_LIBS=$LIBS
40172 LIBS="-lm $LIBS"
40173 if test x$gcc_no_link = xyes; then
40174 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
40176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40177 /* end confdefs.h. */
40179 /* Override any GCC internal prototype to avoid an error.
40180 Use char because int might match the return type of a GCC
40181 builtin and then its argument prototype would still apply. */
40182 #ifdef __cplusplus
40183 extern "C"
40184 #endif
40185 char sin ();
40187 main ()
40189 return sin ();
40191 return 0;
40193 _ACEOF
40194 if ac_fn_c_try_link "$LINENO"; then :
40195 ac_cv_lib_m_sin=yes
40196 else
40197 ac_cv_lib_m_sin=no
40199 rm -f core conftest.err conftest.$ac_objext \
40200 conftest$ac_exeext conftest.$ac_ext
40201 LIBS=$ac_check_lib_save_LIBS
40203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
40204 $as_echo "$ac_cv_lib_m_sin" >&6; }
40205 if test "x$ac_cv_lib_m_sin" = x""yes; then :
40206 libm="-lm"
40209 ac_save_LIBS="$LIBS"
40210 LIBS="$LIBS $libm"
40214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
40215 $as_echo_n "checking for isinf declaration... " >&6; }
40216 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
40217 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
40218 $as_echo_n "(cached) " >&6
40219 else
40222 ac_ext=cpp
40223 ac_cpp='$CXXCPP $CPPFLAGS'
40224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40229 /* end confdefs.h. */
40230 #include <math.h>
40231 #ifdef HAVE_IEEEFP_H
40232 #include <ieeefp.h>
40233 #endif
40236 main ()
40238 isinf(0);
40240 return 0;
40242 _ACEOF
40243 if ac_fn_cxx_try_compile "$LINENO"; then :
40244 glibcxx_cv_func_isinf_use=yes
40245 else
40246 glibcxx_cv_func_isinf_use=no
40248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40249 ac_ext=c
40250 ac_cpp='$CPP $CPPFLAGS'
40251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
40260 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
40262 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
40263 for ac_func in isinf
40264 do :
40265 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
40266 if test "x$ac_cv_func_isinf" = x""yes; then :
40267 cat >>confdefs.h <<_ACEOF
40268 #define HAVE_ISINF 1
40269 _ACEOF
40272 done
40274 else
40276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
40277 $as_echo_n "checking for _isinf declaration... " >&6; }
40278 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
40279 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
40280 $as_echo_n "(cached) " >&6
40281 else
40284 ac_ext=cpp
40285 ac_cpp='$CXXCPP $CPPFLAGS'
40286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40291 /* end confdefs.h. */
40292 #include <math.h>
40293 #ifdef HAVE_IEEEFP_H
40294 #include <ieeefp.h>
40295 #endif
40298 main ()
40300 _isinf(0);
40302 return 0;
40304 _ACEOF
40305 if ac_fn_cxx_try_compile "$LINENO"; then :
40306 glibcxx_cv_func__isinf_use=yes
40307 else
40308 glibcxx_cv_func__isinf_use=no
40310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40311 ac_ext=c
40312 ac_cpp='$CPP $CPPFLAGS'
40313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
40322 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
40324 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
40325 for ac_func in _isinf
40326 do :
40327 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
40328 if test "x$ac_cv_func__isinf" = x""yes; then :
40329 cat >>confdefs.h <<_ACEOF
40330 #define HAVE__ISINF 1
40331 _ACEOF
40334 done
40343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
40344 $as_echo_n "checking for isnan declaration... " >&6; }
40345 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
40346 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
40347 $as_echo_n "(cached) " >&6
40348 else
40351 ac_ext=cpp
40352 ac_cpp='$CXXCPP $CPPFLAGS'
40353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40358 /* end confdefs.h. */
40359 #include <math.h>
40360 #ifdef HAVE_IEEEFP_H
40361 #include <ieeefp.h>
40362 #endif
40365 main ()
40367 isnan(0);
40369 return 0;
40371 _ACEOF
40372 if ac_fn_cxx_try_compile "$LINENO"; then :
40373 glibcxx_cv_func_isnan_use=yes
40374 else
40375 glibcxx_cv_func_isnan_use=no
40377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40378 ac_ext=c
40379 ac_cpp='$CPP $CPPFLAGS'
40380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
40389 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
40391 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
40392 for ac_func in isnan
40393 do :
40394 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
40395 if test "x$ac_cv_func_isnan" = x""yes; then :
40396 cat >>confdefs.h <<_ACEOF
40397 #define HAVE_ISNAN 1
40398 _ACEOF
40401 done
40403 else
40405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
40406 $as_echo_n "checking for _isnan declaration... " >&6; }
40407 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
40408 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
40409 $as_echo_n "(cached) " >&6
40410 else
40413 ac_ext=cpp
40414 ac_cpp='$CXXCPP $CPPFLAGS'
40415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40420 /* end confdefs.h. */
40421 #include <math.h>
40422 #ifdef HAVE_IEEEFP_H
40423 #include <ieeefp.h>
40424 #endif
40427 main ()
40429 _isnan(0);
40431 return 0;
40433 _ACEOF
40434 if ac_fn_cxx_try_compile "$LINENO"; then :
40435 glibcxx_cv_func__isnan_use=yes
40436 else
40437 glibcxx_cv_func__isnan_use=no
40439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40440 ac_ext=c
40441 ac_cpp='$CPP $CPPFLAGS'
40442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
40451 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
40453 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
40454 for ac_func in _isnan
40455 do :
40456 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
40457 if test "x$ac_cv_func__isnan" = x""yes; then :
40458 cat >>confdefs.h <<_ACEOF
40459 #define HAVE__ISNAN 1
40460 _ACEOF
40463 done
40472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
40473 $as_echo_n "checking for finite declaration... " >&6; }
40474 if test x${glibcxx_cv_func_finite_use+set} != xset; then
40475 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
40476 $as_echo_n "(cached) " >&6
40477 else
40480 ac_ext=cpp
40481 ac_cpp='$CXXCPP $CPPFLAGS'
40482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40487 /* end confdefs.h. */
40488 #include <math.h>
40489 #ifdef HAVE_IEEEFP_H
40490 #include <ieeefp.h>
40491 #endif
40494 main ()
40496 finite(0);
40498 return 0;
40500 _ACEOF
40501 if ac_fn_cxx_try_compile "$LINENO"; then :
40502 glibcxx_cv_func_finite_use=yes
40503 else
40504 glibcxx_cv_func_finite_use=no
40506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40507 ac_ext=c
40508 ac_cpp='$CPP $CPPFLAGS'
40509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
40518 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
40520 if test x$glibcxx_cv_func_finite_use = x"yes"; then
40521 for ac_func in finite
40522 do :
40523 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
40524 if test "x$ac_cv_func_finite" = x""yes; then :
40525 cat >>confdefs.h <<_ACEOF
40526 #define HAVE_FINITE 1
40527 _ACEOF
40530 done
40532 else
40534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
40535 $as_echo_n "checking for _finite declaration... " >&6; }
40536 if test x${glibcxx_cv_func__finite_use+set} != xset; then
40537 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
40538 $as_echo_n "(cached) " >&6
40539 else
40542 ac_ext=cpp
40543 ac_cpp='$CXXCPP $CPPFLAGS'
40544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40549 /* end confdefs.h. */
40550 #include <math.h>
40551 #ifdef HAVE_IEEEFP_H
40552 #include <ieeefp.h>
40553 #endif
40556 main ()
40558 _finite(0);
40560 return 0;
40562 _ACEOF
40563 if ac_fn_cxx_try_compile "$LINENO"; then :
40564 glibcxx_cv_func__finite_use=yes
40565 else
40566 glibcxx_cv_func__finite_use=no
40568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40569 ac_ext=c
40570 ac_cpp='$CPP $CPPFLAGS'
40571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
40580 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
40582 if test x$glibcxx_cv_func__finite_use = x"yes"; then
40583 for ac_func in _finite
40584 do :
40585 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
40586 if test "x$ac_cv_func__finite" = x""yes; then :
40587 cat >>confdefs.h <<_ACEOF
40588 #define HAVE__FINITE 1
40589 _ACEOF
40592 done
40601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
40602 $as_echo_n "checking for sincos declaration... " >&6; }
40603 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
40604 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
40605 $as_echo_n "(cached) " >&6
40606 else
40609 ac_ext=cpp
40610 ac_cpp='$CXXCPP $CPPFLAGS'
40611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40616 /* end confdefs.h. */
40617 #include <math.h>
40619 main ()
40621 sincos(0, 0, 0);
40623 return 0;
40625 _ACEOF
40626 if ac_fn_cxx_try_compile "$LINENO"; then :
40627 glibcxx_cv_func_sincos_use=yes
40628 else
40629 glibcxx_cv_func_sincos_use=no
40631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40632 ac_ext=c
40633 ac_cpp='$CPP $CPPFLAGS'
40634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
40643 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
40645 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
40646 for ac_func in sincos
40647 do :
40648 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
40649 if test "x$ac_cv_func_sincos" = x""yes; then :
40650 cat >>confdefs.h <<_ACEOF
40651 #define HAVE_SINCOS 1
40652 _ACEOF
40655 done
40657 else
40659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
40660 $as_echo_n "checking for _sincos declaration... " >&6; }
40661 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
40662 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
40663 $as_echo_n "(cached) " >&6
40664 else
40667 ac_ext=cpp
40668 ac_cpp='$CXXCPP $CPPFLAGS'
40669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40674 /* end confdefs.h. */
40675 #include <math.h>
40677 main ()
40679 _sincos(0, 0, 0);
40681 return 0;
40683 _ACEOF
40684 if ac_fn_cxx_try_compile "$LINENO"; then :
40685 glibcxx_cv_func__sincos_use=yes
40686 else
40687 glibcxx_cv_func__sincos_use=no
40689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40690 ac_ext=c
40691 ac_cpp='$CPP $CPPFLAGS'
40692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
40701 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
40703 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
40704 for ac_func in _sincos
40705 do :
40706 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
40707 if test "x$ac_cv_func__sincos" = x""yes; then :
40708 cat >>confdefs.h <<_ACEOF
40709 #define HAVE__SINCOS 1
40710 _ACEOF
40713 done
40722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
40723 $as_echo_n "checking for fpclass declaration... " >&6; }
40724 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
40725 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
40726 $as_echo_n "(cached) " >&6
40727 else
40730 ac_ext=cpp
40731 ac_cpp='$CXXCPP $CPPFLAGS'
40732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40737 /* end confdefs.h. */
40738 #include <math.h>
40739 #ifdef HAVE_IEEEFP_H
40740 #include <ieeefp.h>
40741 #endif
40744 main ()
40746 fpclass(0);
40748 return 0;
40750 _ACEOF
40751 if ac_fn_cxx_try_compile "$LINENO"; then :
40752 glibcxx_cv_func_fpclass_use=yes
40753 else
40754 glibcxx_cv_func_fpclass_use=no
40756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40757 ac_ext=c
40758 ac_cpp='$CPP $CPPFLAGS'
40759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
40768 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
40770 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
40771 for ac_func in fpclass
40772 do :
40773 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
40774 if test "x$ac_cv_func_fpclass" = x""yes; then :
40775 cat >>confdefs.h <<_ACEOF
40776 #define HAVE_FPCLASS 1
40777 _ACEOF
40780 done
40782 else
40784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
40785 $as_echo_n "checking for _fpclass declaration... " >&6; }
40786 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
40787 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
40788 $as_echo_n "(cached) " >&6
40789 else
40792 ac_ext=cpp
40793 ac_cpp='$CXXCPP $CPPFLAGS'
40794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40799 /* end confdefs.h. */
40800 #include <math.h>
40801 #ifdef HAVE_IEEEFP_H
40802 #include <ieeefp.h>
40803 #endif
40806 main ()
40808 _fpclass(0);
40810 return 0;
40812 _ACEOF
40813 if ac_fn_cxx_try_compile "$LINENO"; then :
40814 glibcxx_cv_func__fpclass_use=yes
40815 else
40816 glibcxx_cv_func__fpclass_use=no
40818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40819 ac_ext=c
40820 ac_cpp='$CPP $CPPFLAGS'
40821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
40830 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
40832 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
40833 for ac_func in _fpclass
40834 do :
40835 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
40836 if test "x$ac_cv_func__fpclass" = x""yes; then :
40837 cat >>confdefs.h <<_ACEOF
40838 #define HAVE__FPCLASS 1
40839 _ACEOF
40842 done
40851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
40852 $as_echo_n "checking for qfpclass declaration... " >&6; }
40853 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
40854 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
40855 $as_echo_n "(cached) " >&6
40856 else
40859 ac_ext=cpp
40860 ac_cpp='$CXXCPP $CPPFLAGS'
40861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40866 /* end confdefs.h. */
40867 #include <math.h>
40868 #ifdef HAVE_IEEEFP_H
40869 #include <ieeefp.h>
40870 #endif
40873 main ()
40875 qfpclass(0);
40877 return 0;
40879 _ACEOF
40880 if ac_fn_cxx_try_compile "$LINENO"; then :
40881 glibcxx_cv_func_qfpclass_use=yes
40882 else
40883 glibcxx_cv_func_qfpclass_use=no
40885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40886 ac_ext=c
40887 ac_cpp='$CPP $CPPFLAGS'
40888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
40897 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
40899 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
40900 for ac_func in qfpclass
40901 do :
40902 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
40903 if test "x$ac_cv_func_qfpclass" = x""yes; then :
40904 cat >>confdefs.h <<_ACEOF
40905 #define HAVE_QFPCLASS 1
40906 _ACEOF
40909 done
40911 else
40913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
40914 $as_echo_n "checking for _qfpclass declaration... " >&6; }
40915 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
40916 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
40917 $as_echo_n "(cached) " >&6
40918 else
40921 ac_ext=cpp
40922 ac_cpp='$CXXCPP $CPPFLAGS'
40923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40928 /* end confdefs.h. */
40929 #include <math.h>
40930 #ifdef HAVE_IEEEFP_H
40931 #include <ieeefp.h>
40932 #endif
40935 main ()
40937 _qfpclass(0);
40939 return 0;
40941 _ACEOF
40942 if ac_fn_cxx_try_compile "$LINENO"; then :
40943 glibcxx_cv_func__qfpclass_use=yes
40944 else
40945 glibcxx_cv_func__qfpclass_use=no
40947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40948 ac_ext=c
40949 ac_cpp='$CPP $CPPFLAGS'
40950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
40959 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
40961 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
40962 for ac_func in _qfpclass
40963 do :
40964 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
40965 if test "x$ac_cv_func__qfpclass" = x""yes; then :
40966 cat >>confdefs.h <<_ACEOF
40967 #define HAVE__QFPCLASS 1
40968 _ACEOF
40971 done
40980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
40981 $as_echo_n "checking for hypot declaration... " >&6; }
40982 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
40983 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
40984 $as_echo_n "(cached) " >&6
40985 else
40988 ac_ext=cpp
40989 ac_cpp='$CXXCPP $CPPFLAGS'
40990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40995 /* end confdefs.h. */
40996 #include <math.h>
40998 main ()
41000 hypot(0, 0);
41002 return 0;
41004 _ACEOF
41005 if ac_fn_cxx_try_compile "$LINENO"; then :
41006 glibcxx_cv_func_hypot_use=yes
41007 else
41008 glibcxx_cv_func_hypot_use=no
41010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41011 ac_ext=c
41012 ac_cpp='$CPP $CPPFLAGS'
41013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
41022 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
41024 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
41025 for ac_func in hypot
41026 do :
41027 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
41028 if test "x$ac_cv_func_hypot" = x""yes; then :
41029 cat >>confdefs.h <<_ACEOF
41030 #define HAVE_HYPOT 1
41031 _ACEOF
41034 done
41036 else
41038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
41039 $as_echo_n "checking for _hypot declaration... " >&6; }
41040 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
41041 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
41042 $as_echo_n "(cached) " >&6
41043 else
41046 ac_ext=cpp
41047 ac_cpp='$CXXCPP $CPPFLAGS'
41048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41053 /* end confdefs.h. */
41054 #include <math.h>
41056 main ()
41058 _hypot(0, 0);
41060 return 0;
41062 _ACEOF
41063 if ac_fn_cxx_try_compile "$LINENO"; then :
41064 glibcxx_cv_func__hypot_use=yes
41065 else
41066 glibcxx_cv_func__hypot_use=no
41068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41069 ac_ext=c
41070 ac_cpp='$CPP $CPPFLAGS'
41071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
41080 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
41082 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
41083 for ac_func in _hypot
41084 do :
41085 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
41086 if test "x$ac_cv_func__hypot" = x""yes; then :
41087 cat >>confdefs.h <<_ACEOF
41088 #define HAVE__HYPOT 1
41089 _ACEOF
41092 done
41101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
41102 $as_echo_n "checking for float trig functions... " >&6; }
41103 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
41104 $as_echo_n "(cached) " >&6
41105 else
41108 ac_ext=cpp
41109 ac_cpp='$CXXCPP $CPPFLAGS'
41110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41115 /* end confdefs.h. */
41116 #include <math.h>
41118 main ()
41120 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
41122 return 0;
41124 _ACEOF
41125 if ac_fn_cxx_try_compile "$LINENO"; then :
41126 glibcxx_cv_func_float_trig_use=yes
41127 else
41128 glibcxx_cv_func_float_trig_use=no
41130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41131 ac_ext=c
41132 ac_cpp='$CPP $CPPFLAGS'
41133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
41140 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
41141 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
41142 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
41143 do :
41144 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41145 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41146 eval as_val=\$$as_ac_var
41147 if test "x$as_val" = x""yes; then :
41148 cat >>confdefs.h <<_ACEOF
41149 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41150 _ACEOF
41153 done
41155 else
41156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
41157 $as_echo_n "checking for _float trig functions... " >&6; }
41158 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
41159 $as_echo_n "(cached) " >&6
41160 else
41163 ac_ext=cpp
41164 ac_cpp='$CXXCPP $CPPFLAGS'
41165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41170 /* end confdefs.h. */
41171 #include <math.h>
41173 main ()
41175 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
41177 return 0;
41179 _ACEOF
41180 if ac_fn_cxx_try_compile "$LINENO"; then :
41181 glibcxx_cv_func__float_trig_use=yes
41182 else
41183 glibcxx_cv_func__float_trig_use=no
41185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41186 ac_ext=c
41187 ac_cpp='$CPP $CPPFLAGS'
41188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
41195 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
41196 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
41197 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
41198 do :
41199 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41200 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41201 eval as_val=\$$as_ac_var
41202 if test "x$as_val" = x""yes; then :
41203 cat >>confdefs.h <<_ACEOF
41204 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41205 _ACEOF
41208 done
41217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
41218 $as_echo_n "checking for float round functions... " >&6; }
41219 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
41220 $as_echo_n "(cached) " >&6
41221 else
41224 ac_ext=cpp
41225 ac_cpp='$CXXCPP $CPPFLAGS'
41226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41231 /* end confdefs.h. */
41232 #include <math.h>
41234 main ()
41236 ceilf (0); floorf (0);
41238 return 0;
41240 _ACEOF
41241 if ac_fn_cxx_try_compile "$LINENO"; then :
41242 glibcxx_cv_func_float_round_use=yes
41243 else
41244 glibcxx_cv_func_float_round_use=no
41246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41247 ac_ext=c
41248 ac_cpp='$CPP $CPPFLAGS'
41249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
41256 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
41257 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
41258 for ac_func in ceilf floorf
41259 do :
41260 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41261 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41262 eval as_val=\$$as_ac_var
41263 if test "x$as_val" = x""yes; then :
41264 cat >>confdefs.h <<_ACEOF
41265 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41266 _ACEOF
41269 done
41271 else
41272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
41273 $as_echo_n "checking for _float round functions... " >&6; }
41274 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
41275 $as_echo_n "(cached) " >&6
41276 else
41279 ac_ext=cpp
41280 ac_cpp='$CXXCPP $CPPFLAGS'
41281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41286 /* end confdefs.h. */
41287 #include <math.h>
41289 main ()
41291 _ceilf (0); _floorf (0);
41293 return 0;
41295 _ACEOF
41296 if ac_fn_cxx_try_compile "$LINENO"; then :
41297 glibcxx_cv_func__float_round_use=yes
41298 else
41299 glibcxx_cv_func__float_round_use=no
41301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41302 ac_ext=c
41303 ac_cpp='$CPP $CPPFLAGS'
41304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
41311 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
41312 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
41313 for ac_func in _ceilf _floorf
41314 do :
41315 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41316 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41317 eval as_val=\$$as_ac_var
41318 if test "x$as_val" = x""yes; then :
41319 cat >>confdefs.h <<_ACEOF
41320 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41321 _ACEOF
41324 done
41334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
41335 $as_echo_n "checking for expf declaration... " >&6; }
41336 if test x${glibcxx_cv_func_expf_use+set} != xset; then
41337 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
41338 $as_echo_n "(cached) " >&6
41339 else
41342 ac_ext=cpp
41343 ac_cpp='$CXXCPP $CPPFLAGS'
41344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41349 /* end confdefs.h. */
41350 #include <math.h>
41351 #ifdef HAVE_IEEEFP_H
41352 #include <ieeefp.h>
41353 #endif
41356 main ()
41358 expf(0);
41360 return 0;
41362 _ACEOF
41363 if ac_fn_cxx_try_compile "$LINENO"; then :
41364 glibcxx_cv_func_expf_use=yes
41365 else
41366 glibcxx_cv_func_expf_use=no
41368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41369 ac_ext=c
41370 ac_cpp='$CPP $CPPFLAGS'
41371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
41380 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
41382 if test x$glibcxx_cv_func_expf_use = x"yes"; then
41383 for ac_func in expf
41384 do :
41385 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
41386 if test "x$ac_cv_func_expf" = x""yes; then :
41387 cat >>confdefs.h <<_ACEOF
41388 #define HAVE_EXPF 1
41389 _ACEOF
41392 done
41394 else
41396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
41397 $as_echo_n "checking for _expf declaration... " >&6; }
41398 if test x${glibcxx_cv_func__expf_use+set} != xset; then
41399 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
41400 $as_echo_n "(cached) " >&6
41401 else
41404 ac_ext=cpp
41405 ac_cpp='$CXXCPP $CPPFLAGS'
41406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41411 /* end confdefs.h. */
41412 #include <math.h>
41413 #ifdef HAVE_IEEEFP_H
41414 #include <ieeefp.h>
41415 #endif
41418 main ()
41420 _expf(0);
41422 return 0;
41424 _ACEOF
41425 if ac_fn_cxx_try_compile "$LINENO"; then :
41426 glibcxx_cv_func__expf_use=yes
41427 else
41428 glibcxx_cv_func__expf_use=no
41430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41431 ac_ext=c
41432 ac_cpp='$CPP $CPPFLAGS'
41433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
41442 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
41444 if test x$glibcxx_cv_func__expf_use = x"yes"; then
41445 for ac_func in _expf
41446 do :
41447 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
41448 if test "x$ac_cv_func__expf" = x""yes; then :
41449 cat >>confdefs.h <<_ACEOF
41450 #define HAVE__EXPF 1
41451 _ACEOF
41454 done
41463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
41464 $as_echo_n "checking for isnanf declaration... " >&6; }
41465 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
41466 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
41467 $as_echo_n "(cached) " >&6
41468 else
41471 ac_ext=cpp
41472 ac_cpp='$CXXCPP $CPPFLAGS'
41473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41478 /* end confdefs.h. */
41479 #include <math.h>
41480 #ifdef HAVE_IEEEFP_H
41481 #include <ieeefp.h>
41482 #endif
41485 main ()
41487 isnanf(0);
41489 return 0;
41491 _ACEOF
41492 if ac_fn_cxx_try_compile "$LINENO"; then :
41493 glibcxx_cv_func_isnanf_use=yes
41494 else
41495 glibcxx_cv_func_isnanf_use=no
41497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41498 ac_ext=c
41499 ac_cpp='$CPP $CPPFLAGS'
41500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
41509 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
41511 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
41512 for ac_func in isnanf
41513 do :
41514 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
41515 if test "x$ac_cv_func_isnanf" = x""yes; then :
41516 cat >>confdefs.h <<_ACEOF
41517 #define HAVE_ISNANF 1
41518 _ACEOF
41521 done
41523 else
41525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
41526 $as_echo_n "checking for _isnanf declaration... " >&6; }
41527 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
41528 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
41529 $as_echo_n "(cached) " >&6
41530 else
41533 ac_ext=cpp
41534 ac_cpp='$CXXCPP $CPPFLAGS'
41535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41540 /* end confdefs.h. */
41541 #include <math.h>
41542 #ifdef HAVE_IEEEFP_H
41543 #include <ieeefp.h>
41544 #endif
41547 main ()
41549 _isnanf(0);
41551 return 0;
41553 _ACEOF
41554 if ac_fn_cxx_try_compile "$LINENO"; then :
41555 glibcxx_cv_func__isnanf_use=yes
41556 else
41557 glibcxx_cv_func__isnanf_use=no
41559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41560 ac_ext=c
41561 ac_cpp='$CPP $CPPFLAGS'
41562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
41571 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
41573 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
41574 for ac_func in _isnanf
41575 do :
41576 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
41577 if test "x$ac_cv_func__isnanf" = x""yes; then :
41578 cat >>confdefs.h <<_ACEOF
41579 #define HAVE__ISNANF 1
41580 _ACEOF
41583 done
41592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
41593 $as_echo_n "checking for isinff declaration... " >&6; }
41594 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
41595 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
41596 $as_echo_n "(cached) " >&6
41597 else
41600 ac_ext=cpp
41601 ac_cpp='$CXXCPP $CPPFLAGS'
41602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41607 /* end confdefs.h. */
41608 #include <math.h>
41609 #ifdef HAVE_IEEEFP_H
41610 #include <ieeefp.h>
41611 #endif
41614 main ()
41616 isinff(0);
41618 return 0;
41620 _ACEOF
41621 if ac_fn_cxx_try_compile "$LINENO"; then :
41622 glibcxx_cv_func_isinff_use=yes
41623 else
41624 glibcxx_cv_func_isinff_use=no
41626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41627 ac_ext=c
41628 ac_cpp='$CPP $CPPFLAGS'
41629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
41638 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
41640 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
41641 for ac_func in isinff
41642 do :
41643 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
41644 if test "x$ac_cv_func_isinff" = x""yes; then :
41645 cat >>confdefs.h <<_ACEOF
41646 #define HAVE_ISINFF 1
41647 _ACEOF
41650 done
41652 else
41654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
41655 $as_echo_n "checking for _isinff declaration... " >&6; }
41656 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
41657 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
41658 $as_echo_n "(cached) " >&6
41659 else
41662 ac_ext=cpp
41663 ac_cpp='$CXXCPP $CPPFLAGS'
41664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41669 /* end confdefs.h. */
41670 #include <math.h>
41671 #ifdef HAVE_IEEEFP_H
41672 #include <ieeefp.h>
41673 #endif
41676 main ()
41678 _isinff(0);
41680 return 0;
41682 _ACEOF
41683 if ac_fn_cxx_try_compile "$LINENO"; then :
41684 glibcxx_cv_func__isinff_use=yes
41685 else
41686 glibcxx_cv_func__isinff_use=no
41688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41689 ac_ext=c
41690 ac_cpp='$CPP $CPPFLAGS'
41691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
41700 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
41702 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
41703 for ac_func in _isinff
41704 do :
41705 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
41706 if test "x$ac_cv_func__isinff" = x""yes; then :
41707 cat >>confdefs.h <<_ACEOF
41708 #define HAVE__ISINFF 1
41709 _ACEOF
41712 done
41721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
41722 $as_echo_n "checking for atan2f declaration... " >&6; }
41723 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
41724 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
41725 $as_echo_n "(cached) " >&6
41726 else
41729 ac_ext=cpp
41730 ac_cpp='$CXXCPP $CPPFLAGS'
41731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41736 /* end confdefs.h. */
41737 #include <math.h>
41739 main ()
41741 atan2f(0, 0);
41743 return 0;
41745 _ACEOF
41746 if ac_fn_cxx_try_compile "$LINENO"; then :
41747 glibcxx_cv_func_atan2f_use=yes
41748 else
41749 glibcxx_cv_func_atan2f_use=no
41751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41752 ac_ext=c
41753 ac_cpp='$CPP $CPPFLAGS'
41754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
41763 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
41765 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
41766 for ac_func in atan2f
41767 do :
41768 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
41769 if test "x$ac_cv_func_atan2f" = x""yes; then :
41770 cat >>confdefs.h <<_ACEOF
41771 #define HAVE_ATAN2F 1
41772 _ACEOF
41775 done
41777 else
41779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
41780 $as_echo_n "checking for _atan2f declaration... " >&6; }
41781 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
41782 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
41783 $as_echo_n "(cached) " >&6
41784 else
41787 ac_ext=cpp
41788 ac_cpp='$CXXCPP $CPPFLAGS'
41789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41794 /* end confdefs.h. */
41795 #include <math.h>
41797 main ()
41799 _atan2f(0, 0);
41801 return 0;
41803 _ACEOF
41804 if ac_fn_cxx_try_compile "$LINENO"; then :
41805 glibcxx_cv_func__atan2f_use=yes
41806 else
41807 glibcxx_cv_func__atan2f_use=no
41809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41810 ac_ext=c
41811 ac_cpp='$CPP $CPPFLAGS'
41812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
41821 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
41823 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
41824 for ac_func in _atan2f
41825 do :
41826 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
41827 if test "x$ac_cv_func__atan2f" = x""yes; then :
41828 cat >>confdefs.h <<_ACEOF
41829 #define HAVE__ATAN2F 1
41830 _ACEOF
41833 done
41842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
41843 $as_echo_n "checking for fabsf declaration... " >&6; }
41844 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
41845 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
41846 $as_echo_n "(cached) " >&6
41847 else
41850 ac_ext=cpp
41851 ac_cpp='$CXXCPP $CPPFLAGS'
41852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41857 /* end confdefs.h. */
41858 #include <math.h>
41859 #ifdef HAVE_IEEEFP_H
41860 #include <ieeefp.h>
41861 #endif
41864 main ()
41866 fabsf(0);
41868 return 0;
41870 _ACEOF
41871 if ac_fn_cxx_try_compile "$LINENO"; then :
41872 glibcxx_cv_func_fabsf_use=yes
41873 else
41874 glibcxx_cv_func_fabsf_use=no
41876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41877 ac_ext=c
41878 ac_cpp='$CPP $CPPFLAGS'
41879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
41888 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
41890 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
41891 for ac_func in fabsf
41892 do :
41893 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
41894 if test "x$ac_cv_func_fabsf" = x""yes; then :
41895 cat >>confdefs.h <<_ACEOF
41896 #define HAVE_FABSF 1
41897 _ACEOF
41900 done
41902 else
41904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
41905 $as_echo_n "checking for _fabsf declaration... " >&6; }
41906 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
41907 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
41908 $as_echo_n "(cached) " >&6
41909 else
41912 ac_ext=cpp
41913 ac_cpp='$CXXCPP $CPPFLAGS'
41914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41919 /* end confdefs.h. */
41920 #include <math.h>
41921 #ifdef HAVE_IEEEFP_H
41922 #include <ieeefp.h>
41923 #endif
41926 main ()
41928 _fabsf(0);
41930 return 0;
41932 _ACEOF
41933 if ac_fn_cxx_try_compile "$LINENO"; then :
41934 glibcxx_cv_func__fabsf_use=yes
41935 else
41936 glibcxx_cv_func__fabsf_use=no
41938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41939 ac_ext=c
41940 ac_cpp='$CPP $CPPFLAGS'
41941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
41950 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
41952 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
41953 for ac_func in _fabsf
41954 do :
41955 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
41956 if test "x$ac_cv_func__fabsf" = x""yes; then :
41957 cat >>confdefs.h <<_ACEOF
41958 #define HAVE__FABSF 1
41959 _ACEOF
41962 done
41971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
41972 $as_echo_n "checking for fmodf declaration... " >&6; }
41973 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
41974 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
41975 $as_echo_n "(cached) " >&6
41976 else
41979 ac_ext=cpp
41980 ac_cpp='$CXXCPP $CPPFLAGS'
41981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41986 /* end confdefs.h. */
41987 #include <math.h>
41989 main ()
41991 fmodf(0, 0);
41993 return 0;
41995 _ACEOF
41996 if ac_fn_cxx_try_compile "$LINENO"; then :
41997 glibcxx_cv_func_fmodf_use=yes
41998 else
41999 glibcxx_cv_func_fmodf_use=no
42001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42002 ac_ext=c
42003 ac_cpp='$CPP $CPPFLAGS'
42004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
42013 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
42015 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
42016 for ac_func in fmodf
42017 do :
42018 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
42019 if test "x$ac_cv_func_fmodf" = x""yes; then :
42020 cat >>confdefs.h <<_ACEOF
42021 #define HAVE_FMODF 1
42022 _ACEOF
42025 done
42027 else
42029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
42030 $as_echo_n "checking for _fmodf declaration... " >&6; }
42031 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
42032 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
42033 $as_echo_n "(cached) " >&6
42034 else
42037 ac_ext=cpp
42038 ac_cpp='$CXXCPP $CPPFLAGS'
42039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42044 /* end confdefs.h. */
42045 #include <math.h>
42047 main ()
42049 _fmodf(0, 0);
42051 return 0;
42053 _ACEOF
42054 if ac_fn_cxx_try_compile "$LINENO"; then :
42055 glibcxx_cv_func__fmodf_use=yes
42056 else
42057 glibcxx_cv_func__fmodf_use=no
42059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42060 ac_ext=c
42061 ac_cpp='$CPP $CPPFLAGS'
42062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
42071 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
42073 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
42074 for ac_func in _fmodf
42075 do :
42076 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
42077 if test "x$ac_cv_func__fmodf" = x""yes; then :
42078 cat >>confdefs.h <<_ACEOF
42079 #define HAVE__FMODF 1
42080 _ACEOF
42083 done
42092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
42093 $as_echo_n "checking for frexpf declaration... " >&6; }
42094 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
42095 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
42096 $as_echo_n "(cached) " >&6
42097 else
42100 ac_ext=cpp
42101 ac_cpp='$CXXCPP $CPPFLAGS'
42102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42107 /* end confdefs.h. */
42108 #include <math.h>
42110 main ()
42112 frexpf(0, 0);
42114 return 0;
42116 _ACEOF
42117 if ac_fn_cxx_try_compile "$LINENO"; then :
42118 glibcxx_cv_func_frexpf_use=yes
42119 else
42120 glibcxx_cv_func_frexpf_use=no
42122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42123 ac_ext=c
42124 ac_cpp='$CPP $CPPFLAGS'
42125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
42134 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
42136 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
42137 for ac_func in frexpf
42138 do :
42139 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
42140 if test "x$ac_cv_func_frexpf" = x""yes; then :
42141 cat >>confdefs.h <<_ACEOF
42142 #define HAVE_FREXPF 1
42143 _ACEOF
42146 done
42148 else
42150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
42151 $as_echo_n "checking for _frexpf declaration... " >&6; }
42152 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
42153 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
42154 $as_echo_n "(cached) " >&6
42155 else
42158 ac_ext=cpp
42159 ac_cpp='$CXXCPP $CPPFLAGS'
42160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42165 /* end confdefs.h. */
42166 #include <math.h>
42168 main ()
42170 _frexpf(0, 0);
42172 return 0;
42174 _ACEOF
42175 if ac_fn_cxx_try_compile "$LINENO"; then :
42176 glibcxx_cv_func__frexpf_use=yes
42177 else
42178 glibcxx_cv_func__frexpf_use=no
42180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42181 ac_ext=c
42182 ac_cpp='$CPP $CPPFLAGS'
42183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
42192 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
42194 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
42195 for ac_func in _frexpf
42196 do :
42197 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
42198 if test "x$ac_cv_func__frexpf" = x""yes; then :
42199 cat >>confdefs.h <<_ACEOF
42200 #define HAVE__FREXPF 1
42201 _ACEOF
42204 done
42213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
42214 $as_echo_n "checking for hypotf declaration... " >&6; }
42215 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
42216 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
42217 $as_echo_n "(cached) " >&6
42218 else
42221 ac_ext=cpp
42222 ac_cpp='$CXXCPP $CPPFLAGS'
42223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42228 /* end confdefs.h. */
42229 #include <math.h>
42231 main ()
42233 hypotf(0, 0);
42235 return 0;
42237 _ACEOF
42238 if ac_fn_cxx_try_compile "$LINENO"; then :
42239 glibcxx_cv_func_hypotf_use=yes
42240 else
42241 glibcxx_cv_func_hypotf_use=no
42243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42244 ac_ext=c
42245 ac_cpp='$CPP $CPPFLAGS'
42246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
42255 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
42257 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
42258 for ac_func in hypotf
42259 do :
42260 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
42261 if test "x$ac_cv_func_hypotf" = x""yes; then :
42262 cat >>confdefs.h <<_ACEOF
42263 #define HAVE_HYPOTF 1
42264 _ACEOF
42267 done
42269 else
42271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
42272 $as_echo_n "checking for _hypotf declaration... " >&6; }
42273 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
42274 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
42275 $as_echo_n "(cached) " >&6
42276 else
42279 ac_ext=cpp
42280 ac_cpp='$CXXCPP $CPPFLAGS'
42281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42286 /* end confdefs.h. */
42287 #include <math.h>
42289 main ()
42291 _hypotf(0, 0);
42293 return 0;
42295 _ACEOF
42296 if ac_fn_cxx_try_compile "$LINENO"; then :
42297 glibcxx_cv_func__hypotf_use=yes
42298 else
42299 glibcxx_cv_func__hypotf_use=no
42301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42302 ac_ext=c
42303 ac_cpp='$CPP $CPPFLAGS'
42304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
42313 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
42315 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
42316 for ac_func in _hypotf
42317 do :
42318 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
42319 if test "x$ac_cv_func__hypotf" = x""yes; then :
42320 cat >>confdefs.h <<_ACEOF
42321 #define HAVE__HYPOTF 1
42322 _ACEOF
42325 done
42334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
42335 $as_echo_n "checking for ldexpf declaration... " >&6; }
42336 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
42337 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
42338 $as_echo_n "(cached) " >&6
42339 else
42342 ac_ext=cpp
42343 ac_cpp='$CXXCPP $CPPFLAGS'
42344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42349 /* end confdefs.h. */
42350 #include <math.h>
42352 main ()
42354 ldexpf(0, 0);
42356 return 0;
42358 _ACEOF
42359 if ac_fn_cxx_try_compile "$LINENO"; then :
42360 glibcxx_cv_func_ldexpf_use=yes
42361 else
42362 glibcxx_cv_func_ldexpf_use=no
42364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42365 ac_ext=c
42366 ac_cpp='$CPP $CPPFLAGS'
42367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
42376 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
42378 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
42379 for ac_func in ldexpf
42380 do :
42381 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
42382 if test "x$ac_cv_func_ldexpf" = x""yes; then :
42383 cat >>confdefs.h <<_ACEOF
42384 #define HAVE_LDEXPF 1
42385 _ACEOF
42388 done
42390 else
42392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
42393 $as_echo_n "checking for _ldexpf declaration... " >&6; }
42394 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
42395 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
42396 $as_echo_n "(cached) " >&6
42397 else
42400 ac_ext=cpp
42401 ac_cpp='$CXXCPP $CPPFLAGS'
42402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42407 /* end confdefs.h. */
42408 #include <math.h>
42410 main ()
42412 _ldexpf(0, 0);
42414 return 0;
42416 _ACEOF
42417 if ac_fn_cxx_try_compile "$LINENO"; then :
42418 glibcxx_cv_func__ldexpf_use=yes
42419 else
42420 glibcxx_cv_func__ldexpf_use=no
42422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42423 ac_ext=c
42424 ac_cpp='$CPP $CPPFLAGS'
42425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
42434 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
42436 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
42437 for ac_func in _ldexpf
42438 do :
42439 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
42440 if test "x$ac_cv_func__ldexpf" = x""yes; then :
42441 cat >>confdefs.h <<_ACEOF
42442 #define HAVE__LDEXPF 1
42443 _ACEOF
42446 done
42455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
42456 $as_echo_n "checking for logf declaration... " >&6; }
42457 if test x${glibcxx_cv_func_logf_use+set} != xset; then
42458 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
42459 $as_echo_n "(cached) " >&6
42460 else
42463 ac_ext=cpp
42464 ac_cpp='$CXXCPP $CPPFLAGS'
42465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42470 /* end confdefs.h. */
42471 #include <math.h>
42472 #ifdef HAVE_IEEEFP_H
42473 #include <ieeefp.h>
42474 #endif
42477 main ()
42479 logf(0);
42481 return 0;
42483 _ACEOF
42484 if ac_fn_cxx_try_compile "$LINENO"; then :
42485 glibcxx_cv_func_logf_use=yes
42486 else
42487 glibcxx_cv_func_logf_use=no
42489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42490 ac_ext=c
42491 ac_cpp='$CPP $CPPFLAGS'
42492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
42501 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
42503 if test x$glibcxx_cv_func_logf_use = x"yes"; then
42504 for ac_func in logf
42505 do :
42506 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
42507 if test "x$ac_cv_func_logf" = x""yes; then :
42508 cat >>confdefs.h <<_ACEOF
42509 #define HAVE_LOGF 1
42510 _ACEOF
42513 done
42515 else
42517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
42518 $as_echo_n "checking for _logf declaration... " >&6; }
42519 if test x${glibcxx_cv_func__logf_use+set} != xset; then
42520 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
42521 $as_echo_n "(cached) " >&6
42522 else
42525 ac_ext=cpp
42526 ac_cpp='$CXXCPP $CPPFLAGS'
42527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42532 /* end confdefs.h. */
42533 #include <math.h>
42534 #ifdef HAVE_IEEEFP_H
42535 #include <ieeefp.h>
42536 #endif
42539 main ()
42541 _logf(0);
42543 return 0;
42545 _ACEOF
42546 if ac_fn_cxx_try_compile "$LINENO"; then :
42547 glibcxx_cv_func__logf_use=yes
42548 else
42549 glibcxx_cv_func__logf_use=no
42551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42552 ac_ext=c
42553 ac_cpp='$CPP $CPPFLAGS'
42554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
42563 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
42565 if test x$glibcxx_cv_func__logf_use = x"yes"; then
42566 for ac_func in _logf
42567 do :
42568 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
42569 if test "x$ac_cv_func__logf" = x""yes; then :
42570 cat >>confdefs.h <<_ACEOF
42571 #define HAVE__LOGF 1
42572 _ACEOF
42575 done
42584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
42585 $as_echo_n "checking for log10f declaration... " >&6; }
42586 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
42587 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
42588 $as_echo_n "(cached) " >&6
42589 else
42592 ac_ext=cpp
42593 ac_cpp='$CXXCPP $CPPFLAGS'
42594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42599 /* end confdefs.h. */
42600 #include <math.h>
42601 #ifdef HAVE_IEEEFP_H
42602 #include <ieeefp.h>
42603 #endif
42606 main ()
42608 log10f(0);
42610 return 0;
42612 _ACEOF
42613 if ac_fn_cxx_try_compile "$LINENO"; then :
42614 glibcxx_cv_func_log10f_use=yes
42615 else
42616 glibcxx_cv_func_log10f_use=no
42618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42619 ac_ext=c
42620 ac_cpp='$CPP $CPPFLAGS'
42621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
42630 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
42632 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
42633 for ac_func in log10f
42634 do :
42635 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
42636 if test "x$ac_cv_func_log10f" = x""yes; then :
42637 cat >>confdefs.h <<_ACEOF
42638 #define HAVE_LOG10F 1
42639 _ACEOF
42642 done
42644 else
42646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
42647 $as_echo_n "checking for _log10f declaration... " >&6; }
42648 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
42649 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
42650 $as_echo_n "(cached) " >&6
42651 else
42654 ac_ext=cpp
42655 ac_cpp='$CXXCPP $CPPFLAGS'
42656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42661 /* end confdefs.h. */
42662 #include <math.h>
42663 #ifdef HAVE_IEEEFP_H
42664 #include <ieeefp.h>
42665 #endif
42668 main ()
42670 _log10f(0);
42672 return 0;
42674 _ACEOF
42675 if ac_fn_cxx_try_compile "$LINENO"; then :
42676 glibcxx_cv_func__log10f_use=yes
42677 else
42678 glibcxx_cv_func__log10f_use=no
42680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42681 ac_ext=c
42682 ac_cpp='$CPP $CPPFLAGS'
42683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
42692 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
42694 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
42695 for ac_func in _log10f
42696 do :
42697 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
42698 if test "x$ac_cv_func__log10f" = x""yes; then :
42699 cat >>confdefs.h <<_ACEOF
42700 #define HAVE__LOG10F 1
42701 _ACEOF
42704 done
42713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
42714 $as_echo_n "checking for modff declaration... " >&6; }
42715 if test x${glibcxx_cv_func_modff_use+set} != xset; then
42716 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
42717 $as_echo_n "(cached) " >&6
42718 else
42721 ac_ext=cpp
42722 ac_cpp='$CXXCPP $CPPFLAGS'
42723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42728 /* end confdefs.h. */
42729 #include <math.h>
42731 main ()
42733 modff(0, 0);
42735 return 0;
42737 _ACEOF
42738 if ac_fn_cxx_try_compile "$LINENO"; then :
42739 glibcxx_cv_func_modff_use=yes
42740 else
42741 glibcxx_cv_func_modff_use=no
42743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42744 ac_ext=c
42745 ac_cpp='$CPP $CPPFLAGS'
42746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
42755 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
42757 if test x$glibcxx_cv_func_modff_use = x"yes"; then
42758 for ac_func in modff
42759 do :
42760 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
42761 if test "x$ac_cv_func_modff" = x""yes; then :
42762 cat >>confdefs.h <<_ACEOF
42763 #define HAVE_MODFF 1
42764 _ACEOF
42767 done
42769 else
42771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
42772 $as_echo_n "checking for _modff declaration... " >&6; }
42773 if test x${glibcxx_cv_func__modff_use+set} != xset; then
42774 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
42775 $as_echo_n "(cached) " >&6
42776 else
42779 ac_ext=cpp
42780 ac_cpp='$CXXCPP $CPPFLAGS'
42781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42786 /* end confdefs.h. */
42787 #include <math.h>
42789 main ()
42791 _modff(0, 0);
42793 return 0;
42795 _ACEOF
42796 if ac_fn_cxx_try_compile "$LINENO"; then :
42797 glibcxx_cv_func__modff_use=yes
42798 else
42799 glibcxx_cv_func__modff_use=no
42801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42802 ac_ext=c
42803 ac_cpp='$CPP $CPPFLAGS'
42804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
42813 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
42815 if test x$glibcxx_cv_func__modff_use = x"yes"; then
42816 for ac_func in _modff
42817 do :
42818 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
42819 if test "x$ac_cv_func__modff" = x""yes; then :
42820 cat >>confdefs.h <<_ACEOF
42821 #define HAVE__MODFF 1
42822 _ACEOF
42825 done
42834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
42835 $as_echo_n "checking for modf declaration... " >&6; }
42836 if test x${glibcxx_cv_func_modf_use+set} != xset; then
42837 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
42838 $as_echo_n "(cached) " >&6
42839 else
42842 ac_ext=cpp
42843 ac_cpp='$CXXCPP $CPPFLAGS'
42844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42849 /* end confdefs.h. */
42850 #include <math.h>
42852 main ()
42854 modf(0, 0);
42856 return 0;
42858 _ACEOF
42859 if ac_fn_cxx_try_compile "$LINENO"; then :
42860 glibcxx_cv_func_modf_use=yes
42861 else
42862 glibcxx_cv_func_modf_use=no
42864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42865 ac_ext=c
42866 ac_cpp='$CPP $CPPFLAGS'
42867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
42876 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
42878 if test x$glibcxx_cv_func_modf_use = x"yes"; then
42879 for ac_func in modf
42880 do :
42881 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
42882 if test "x$ac_cv_func_modf" = x""yes; then :
42883 cat >>confdefs.h <<_ACEOF
42884 #define HAVE_MODF 1
42885 _ACEOF
42888 done
42890 else
42892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
42893 $as_echo_n "checking for _modf declaration... " >&6; }
42894 if test x${glibcxx_cv_func__modf_use+set} != xset; then
42895 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
42896 $as_echo_n "(cached) " >&6
42897 else
42900 ac_ext=cpp
42901 ac_cpp='$CXXCPP $CPPFLAGS'
42902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42907 /* end confdefs.h. */
42908 #include <math.h>
42910 main ()
42912 _modf(0, 0);
42914 return 0;
42916 _ACEOF
42917 if ac_fn_cxx_try_compile "$LINENO"; then :
42918 glibcxx_cv_func__modf_use=yes
42919 else
42920 glibcxx_cv_func__modf_use=no
42922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42923 ac_ext=c
42924 ac_cpp='$CPP $CPPFLAGS'
42925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
42934 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
42936 if test x$glibcxx_cv_func__modf_use = x"yes"; then
42937 for ac_func in _modf
42938 do :
42939 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
42940 if test "x$ac_cv_func__modf" = x""yes; then :
42941 cat >>confdefs.h <<_ACEOF
42942 #define HAVE__MODF 1
42943 _ACEOF
42946 done
42955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
42956 $as_echo_n "checking for powf declaration... " >&6; }
42957 if test x${glibcxx_cv_func_powf_use+set} != xset; then
42958 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
42959 $as_echo_n "(cached) " >&6
42960 else
42963 ac_ext=cpp
42964 ac_cpp='$CXXCPP $CPPFLAGS'
42965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42970 /* end confdefs.h. */
42971 #include <math.h>
42973 main ()
42975 powf(0, 0);
42977 return 0;
42979 _ACEOF
42980 if ac_fn_cxx_try_compile "$LINENO"; then :
42981 glibcxx_cv_func_powf_use=yes
42982 else
42983 glibcxx_cv_func_powf_use=no
42985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42986 ac_ext=c
42987 ac_cpp='$CPP $CPPFLAGS'
42988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
42997 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
42999 if test x$glibcxx_cv_func_powf_use = x"yes"; then
43000 for ac_func in powf
43001 do :
43002 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
43003 if test "x$ac_cv_func_powf" = x""yes; then :
43004 cat >>confdefs.h <<_ACEOF
43005 #define HAVE_POWF 1
43006 _ACEOF
43009 done
43011 else
43013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
43014 $as_echo_n "checking for _powf declaration... " >&6; }
43015 if test x${glibcxx_cv_func__powf_use+set} != xset; then
43016 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
43017 $as_echo_n "(cached) " >&6
43018 else
43021 ac_ext=cpp
43022 ac_cpp='$CXXCPP $CPPFLAGS'
43023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43028 /* end confdefs.h. */
43029 #include <math.h>
43031 main ()
43033 _powf(0, 0);
43035 return 0;
43037 _ACEOF
43038 if ac_fn_cxx_try_compile "$LINENO"; then :
43039 glibcxx_cv_func__powf_use=yes
43040 else
43041 glibcxx_cv_func__powf_use=no
43043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43044 ac_ext=c
43045 ac_cpp='$CPP $CPPFLAGS'
43046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
43055 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
43057 if test x$glibcxx_cv_func__powf_use = x"yes"; then
43058 for ac_func in _powf
43059 do :
43060 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
43061 if test "x$ac_cv_func__powf" = x""yes; then :
43062 cat >>confdefs.h <<_ACEOF
43063 #define HAVE__POWF 1
43064 _ACEOF
43067 done
43076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
43077 $as_echo_n "checking for sqrtf declaration... " >&6; }
43078 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
43079 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
43080 $as_echo_n "(cached) " >&6
43081 else
43084 ac_ext=cpp
43085 ac_cpp='$CXXCPP $CPPFLAGS'
43086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43091 /* end confdefs.h. */
43092 #include <math.h>
43093 #ifdef HAVE_IEEEFP_H
43094 #include <ieeefp.h>
43095 #endif
43098 main ()
43100 sqrtf(0);
43102 return 0;
43104 _ACEOF
43105 if ac_fn_cxx_try_compile "$LINENO"; then :
43106 glibcxx_cv_func_sqrtf_use=yes
43107 else
43108 glibcxx_cv_func_sqrtf_use=no
43110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43111 ac_ext=c
43112 ac_cpp='$CPP $CPPFLAGS'
43113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
43122 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
43124 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
43125 for ac_func in sqrtf
43126 do :
43127 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
43128 if test "x$ac_cv_func_sqrtf" = x""yes; then :
43129 cat >>confdefs.h <<_ACEOF
43130 #define HAVE_SQRTF 1
43131 _ACEOF
43134 done
43136 else
43138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
43139 $as_echo_n "checking for _sqrtf declaration... " >&6; }
43140 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
43141 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
43142 $as_echo_n "(cached) " >&6
43143 else
43146 ac_ext=cpp
43147 ac_cpp='$CXXCPP $CPPFLAGS'
43148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43153 /* end confdefs.h. */
43154 #include <math.h>
43155 #ifdef HAVE_IEEEFP_H
43156 #include <ieeefp.h>
43157 #endif
43160 main ()
43162 _sqrtf(0);
43164 return 0;
43166 _ACEOF
43167 if ac_fn_cxx_try_compile "$LINENO"; then :
43168 glibcxx_cv_func__sqrtf_use=yes
43169 else
43170 glibcxx_cv_func__sqrtf_use=no
43172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43173 ac_ext=c
43174 ac_cpp='$CPP $CPPFLAGS'
43175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
43184 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
43186 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
43187 for ac_func in _sqrtf
43188 do :
43189 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
43190 if test "x$ac_cv_func__sqrtf" = x""yes; then :
43191 cat >>confdefs.h <<_ACEOF
43192 #define HAVE__SQRTF 1
43193 _ACEOF
43196 done
43205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
43206 $as_echo_n "checking for sincosf declaration... " >&6; }
43207 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
43208 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
43209 $as_echo_n "(cached) " >&6
43210 else
43213 ac_ext=cpp
43214 ac_cpp='$CXXCPP $CPPFLAGS'
43215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43220 /* end confdefs.h. */
43221 #include <math.h>
43223 main ()
43225 sincosf(0, 0, 0);
43227 return 0;
43229 _ACEOF
43230 if ac_fn_cxx_try_compile "$LINENO"; then :
43231 glibcxx_cv_func_sincosf_use=yes
43232 else
43233 glibcxx_cv_func_sincosf_use=no
43235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43236 ac_ext=c
43237 ac_cpp='$CPP $CPPFLAGS'
43238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
43247 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
43249 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
43250 for ac_func in sincosf
43251 do :
43252 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
43253 if test "x$ac_cv_func_sincosf" = x""yes; then :
43254 cat >>confdefs.h <<_ACEOF
43255 #define HAVE_SINCOSF 1
43256 _ACEOF
43259 done
43261 else
43263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
43264 $as_echo_n "checking for _sincosf declaration... " >&6; }
43265 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
43266 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
43267 $as_echo_n "(cached) " >&6
43268 else
43271 ac_ext=cpp
43272 ac_cpp='$CXXCPP $CPPFLAGS'
43273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43278 /* end confdefs.h. */
43279 #include <math.h>
43281 main ()
43283 _sincosf(0, 0, 0);
43285 return 0;
43287 _ACEOF
43288 if ac_fn_cxx_try_compile "$LINENO"; then :
43289 glibcxx_cv_func__sincosf_use=yes
43290 else
43291 glibcxx_cv_func__sincosf_use=no
43293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43294 ac_ext=c
43295 ac_cpp='$CPP $CPPFLAGS'
43296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
43305 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
43307 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
43308 for ac_func in _sincosf
43309 do :
43310 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
43311 if test "x$ac_cv_func__sincosf" = x""yes; then :
43312 cat >>confdefs.h <<_ACEOF
43313 #define HAVE__SINCOSF 1
43314 _ACEOF
43317 done
43326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
43327 $as_echo_n "checking for finitef declaration... " >&6; }
43328 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
43329 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
43330 $as_echo_n "(cached) " >&6
43331 else
43334 ac_ext=cpp
43335 ac_cpp='$CXXCPP $CPPFLAGS'
43336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43341 /* end confdefs.h. */
43342 #include <math.h>
43343 #ifdef HAVE_IEEEFP_H
43344 #include <ieeefp.h>
43345 #endif
43348 main ()
43350 finitef(0);
43352 return 0;
43354 _ACEOF
43355 if ac_fn_cxx_try_compile "$LINENO"; then :
43356 glibcxx_cv_func_finitef_use=yes
43357 else
43358 glibcxx_cv_func_finitef_use=no
43360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43361 ac_ext=c
43362 ac_cpp='$CPP $CPPFLAGS'
43363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
43372 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
43374 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
43375 for ac_func in finitef
43376 do :
43377 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
43378 if test "x$ac_cv_func_finitef" = x""yes; then :
43379 cat >>confdefs.h <<_ACEOF
43380 #define HAVE_FINITEF 1
43381 _ACEOF
43384 done
43386 else
43388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
43389 $as_echo_n "checking for _finitef declaration... " >&6; }
43390 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
43391 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
43392 $as_echo_n "(cached) " >&6
43393 else
43396 ac_ext=cpp
43397 ac_cpp='$CXXCPP $CPPFLAGS'
43398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43403 /* end confdefs.h. */
43404 #include <math.h>
43405 #ifdef HAVE_IEEEFP_H
43406 #include <ieeefp.h>
43407 #endif
43410 main ()
43412 _finitef(0);
43414 return 0;
43416 _ACEOF
43417 if ac_fn_cxx_try_compile "$LINENO"; then :
43418 glibcxx_cv_func__finitef_use=yes
43419 else
43420 glibcxx_cv_func__finitef_use=no
43422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43423 ac_ext=c
43424 ac_cpp='$CPP $CPPFLAGS'
43425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
43434 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
43436 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
43437 for ac_func in _finitef
43438 do :
43439 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
43440 if test "x$ac_cv_func__finitef" = x""yes; then :
43441 cat >>confdefs.h <<_ACEOF
43442 #define HAVE__FINITEF 1
43443 _ACEOF
43446 done
43455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
43456 $as_echo_n "checking for long double trig functions... " >&6; }
43457 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
43458 $as_echo_n "(cached) " >&6
43459 else
43462 ac_ext=cpp
43463 ac_cpp='$CXXCPP $CPPFLAGS'
43464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43469 /* end confdefs.h. */
43470 #include <math.h>
43472 main ()
43474 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
43476 return 0;
43478 _ACEOF
43479 if ac_fn_cxx_try_compile "$LINENO"; then :
43480 glibcxx_cv_func_long_double_trig_use=yes
43481 else
43482 glibcxx_cv_func_long_double_trig_use=no
43484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43485 ac_ext=c
43486 ac_cpp='$CPP $CPPFLAGS'
43487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
43494 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
43495 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
43496 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
43497 do :
43498 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43499 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43500 eval as_val=\$$as_ac_var
43501 if test "x$as_val" = x""yes; then :
43502 cat >>confdefs.h <<_ACEOF
43503 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43504 _ACEOF
43507 done
43509 else
43510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
43511 $as_echo_n "checking for _long double trig functions... " >&6; }
43512 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
43513 $as_echo_n "(cached) " >&6
43514 else
43517 ac_ext=cpp
43518 ac_cpp='$CXXCPP $CPPFLAGS'
43519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43524 /* end confdefs.h. */
43525 #include <math.h>
43527 main ()
43529 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
43531 return 0;
43533 _ACEOF
43534 if ac_fn_cxx_try_compile "$LINENO"; then :
43535 glibcxx_cv_func__long_double_trig_use=yes
43536 else
43537 glibcxx_cv_func__long_double_trig_use=no
43539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43540 ac_ext=c
43541 ac_cpp='$CPP $CPPFLAGS'
43542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
43549 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
43550 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
43551 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
43552 do :
43553 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43554 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43555 eval as_val=\$$as_ac_var
43556 if test "x$as_val" = x""yes; then :
43557 cat >>confdefs.h <<_ACEOF
43558 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43559 _ACEOF
43562 done
43571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
43572 $as_echo_n "checking for long double round functions... " >&6; }
43573 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
43574 $as_echo_n "(cached) " >&6
43575 else
43578 ac_ext=cpp
43579 ac_cpp='$CXXCPP $CPPFLAGS'
43580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43585 /* end confdefs.h. */
43586 #include <math.h>
43588 main ()
43590 ceill (0); floorl (0);
43592 return 0;
43594 _ACEOF
43595 if ac_fn_cxx_try_compile "$LINENO"; then :
43596 glibcxx_cv_func_long_double_round_use=yes
43597 else
43598 glibcxx_cv_func_long_double_round_use=no
43600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43601 ac_ext=c
43602 ac_cpp='$CPP $CPPFLAGS'
43603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
43610 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
43611 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
43612 for ac_func in ceill floorl
43613 do :
43614 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43615 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43616 eval as_val=\$$as_ac_var
43617 if test "x$as_val" = x""yes; then :
43618 cat >>confdefs.h <<_ACEOF
43619 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43620 _ACEOF
43623 done
43625 else
43626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
43627 $as_echo_n "checking for _long double round functions... " >&6; }
43628 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
43629 $as_echo_n "(cached) " >&6
43630 else
43633 ac_ext=cpp
43634 ac_cpp='$CXXCPP $CPPFLAGS'
43635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43640 /* end confdefs.h. */
43641 #include <math.h>
43643 main ()
43645 _ceill (0); _floorl (0);
43647 return 0;
43649 _ACEOF
43650 if ac_fn_cxx_try_compile "$LINENO"; then :
43651 glibcxx_cv_func__long_double_round_use=yes
43652 else
43653 glibcxx_cv_func__long_double_round_use=no
43655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43656 ac_ext=c
43657 ac_cpp='$CPP $CPPFLAGS'
43658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
43665 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
43666 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
43667 for ac_func in _ceill _floorl
43668 do :
43669 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43670 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43671 eval as_val=\$$as_ac_var
43672 if test "x$as_val" = x""yes; then :
43673 cat >>confdefs.h <<_ACEOF
43674 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43675 _ACEOF
43678 done
43688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
43689 $as_echo_n "checking for isnanl declaration... " >&6; }
43690 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
43691 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
43692 $as_echo_n "(cached) " >&6
43693 else
43696 ac_ext=cpp
43697 ac_cpp='$CXXCPP $CPPFLAGS'
43698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43703 /* end confdefs.h. */
43704 #include <math.h>
43705 #ifdef HAVE_IEEEFP_H
43706 #include <ieeefp.h>
43707 #endif
43710 main ()
43712 isnanl(0);
43714 return 0;
43716 _ACEOF
43717 if ac_fn_cxx_try_compile "$LINENO"; then :
43718 glibcxx_cv_func_isnanl_use=yes
43719 else
43720 glibcxx_cv_func_isnanl_use=no
43722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43723 ac_ext=c
43724 ac_cpp='$CPP $CPPFLAGS'
43725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
43734 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
43736 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
43737 for ac_func in isnanl
43738 do :
43739 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
43740 if test "x$ac_cv_func_isnanl" = x""yes; then :
43741 cat >>confdefs.h <<_ACEOF
43742 #define HAVE_ISNANL 1
43743 _ACEOF
43746 done
43748 else
43750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
43751 $as_echo_n "checking for _isnanl declaration... " >&6; }
43752 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
43753 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
43754 $as_echo_n "(cached) " >&6
43755 else
43758 ac_ext=cpp
43759 ac_cpp='$CXXCPP $CPPFLAGS'
43760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43765 /* end confdefs.h. */
43766 #include <math.h>
43767 #ifdef HAVE_IEEEFP_H
43768 #include <ieeefp.h>
43769 #endif
43772 main ()
43774 _isnanl(0);
43776 return 0;
43778 _ACEOF
43779 if ac_fn_cxx_try_compile "$LINENO"; then :
43780 glibcxx_cv_func__isnanl_use=yes
43781 else
43782 glibcxx_cv_func__isnanl_use=no
43784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43785 ac_ext=c
43786 ac_cpp='$CPP $CPPFLAGS'
43787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
43796 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
43798 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
43799 for ac_func in _isnanl
43800 do :
43801 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
43802 if test "x$ac_cv_func__isnanl" = x""yes; then :
43803 cat >>confdefs.h <<_ACEOF
43804 #define HAVE__ISNANL 1
43805 _ACEOF
43808 done
43817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
43818 $as_echo_n "checking for isinfl declaration... " >&6; }
43819 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
43820 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
43821 $as_echo_n "(cached) " >&6
43822 else
43825 ac_ext=cpp
43826 ac_cpp='$CXXCPP $CPPFLAGS'
43827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43832 /* end confdefs.h. */
43833 #include <math.h>
43834 #ifdef HAVE_IEEEFP_H
43835 #include <ieeefp.h>
43836 #endif
43839 main ()
43841 isinfl(0);
43843 return 0;
43845 _ACEOF
43846 if ac_fn_cxx_try_compile "$LINENO"; then :
43847 glibcxx_cv_func_isinfl_use=yes
43848 else
43849 glibcxx_cv_func_isinfl_use=no
43851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43852 ac_ext=c
43853 ac_cpp='$CPP $CPPFLAGS'
43854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
43863 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
43865 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
43866 for ac_func in isinfl
43867 do :
43868 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
43869 if test "x$ac_cv_func_isinfl" = x""yes; then :
43870 cat >>confdefs.h <<_ACEOF
43871 #define HAVE_ISINFL 1
43872 _ACEOF
43875 done
43877 else
43879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
43880 $as_echo_n "checking for _isinfl declaration... " >&6; }
43881 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
43882 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
43883 $as_echo_n "(cached) " >&6
43884 else
43887 ac_ext=cpp
43888 ac_cpp='$CXXCPP $CPPFLAGS'
43889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43894 /* end confdefs.h. */
43895 #include <math.h>
43896 #ifdef HAVE_IEEEFP_H
43897 #include <ieeefp.h>
43898 #endif
43901 main ()
43903 _isinfl(0);
43905 return 0;
43907 _ACEOF
43908 if ac_fn_cxx_try_compile "$LINENO"; then :
43909 glibcxx_cv_func__isinfl_use=yes
43910 else
43911 glibcxx_cv_func__isinfl_use=no
43913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43914 ac_ext=c
43915 ac_cpp='$CPP $CPPFLAGS'
43916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
43925 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
43927 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
43928 for ac_func in _isinfl
43929 do :
43930 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
43931 if test "x$ac_cv_func__isinfl" = x""yes; then :
43932 cat >>confdefs.h <<_ACEOF
43933 #define HAVE__ISINFL 1
43934 _ACEOF
43937 done
43946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
43947 $as_echo_n "checking for atan2l declaration... " >&6; }
43948 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
43949 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
43950 $as_echo_n "(cached) " >&6
43951 else
43954 ac_ext=cpp
43955 ac_cpp='$CXXCPP $CPPFLAGS'
43956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43961 /* end confdefs.h. */
43962 #include <math.h>
43964 main ()
43966 atan2l(0, 0);
43968 return 0;
43970 _ACEOF
43971 if ac_fn_cxx_try_compile "$LINENO"; then :
43972 glibcxx_cv_func_atan2l_use=yes
43973 else
43974 glibcxx_cv_func_atan2l_use=no
43976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43977 ac_ext=c
43978 ac_cpp='$CPP $CPPFLAGS'
43979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
43988 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
43990 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
43991 for ac_func in atan2l
43992 do :
43993 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
43994 if test "x$ac_cv_func_atan2l" = x""yes; then :
43995 cat >>confdefs.h <<_ACEOF
43996 #define HAVE_ATAN2L 1
43997 _ACEOF
44000 done
44002 else
44004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
44005 $as_echo_n "checking for _atan2l declaration... " >&6; }
44006 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
44007 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
44008 $as_echo_n "(cached) " >&6
44009 else
44012 ac_ext=cpp
44013 ac_cpp='$CXXCPP $CPPFLAGS'
44014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44019 /* end confdefs.h. */
44020 #include <math.h>
44022 main ()
44024 _atan2l(0, 0);
44026 return 0;
44028 _ACEOF
44029 if ac_fn_cxx_try_compile "$LINENO"; then :
44030 glibcxx_cv_func__atan2l_use=yes
44031 else
44032 glibcxx_cv_func__atan2l_use=no
44034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44035 ac_ext=c
44036 ac_cpp='$CPP $CPPFLAGS'
44037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
44046 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
44048 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
44049 for ac_func in _atan2l
44050 do :
44051 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
44052 if test "x$ac_cv_func__atan2l" = x""yes; then :
44053 cat >>confdefs.h <<_ACEOF
44054 #define HAVE__ATAN2L 1
44055 _ACEOF
44058 done
44067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
44068 $as_echo_n "checking for expl declaration... " >&6; }
44069 if test x${glibcxx_cv_func_expl_use+set} != xset; then
44070 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
44071 $as_echo_n "(cached) " >&6
44072 else
44075 ac_ext=cpp
44076 ac_cpp='$CXXCPP $CPPFLAGS'
44077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44082 /* end confdefs.h. */
44083 #include <math.h>
44084 #ifdef HAVE_IEEEFP_H
44085 #include <ieeefp.h>
44086 #endif
44089 main ()
44091 expl(0);
44093 return 0;
44095 _ACEOF
44096 if ac_fn_cxx_try_compile "$LINENO"; then :
44097 glibcxx_cv_func_expl_use=yes
44098 else
44099 glibcxx_cv_func_expl_use=no
44101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44102 ac_ext=c
44103 ac_cpp='$CPP $CPPFLAGS'
44104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
44113 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
44115 if test x$glibcxx_cv_func_expl_use = x"yes"; then
44116 for ac_func in expl
44117 do :
44118 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
44119 if test "x$ac_cv_func_expl" = x""yes; then :
44120 cat >>confdefs.h <<_ACEOF
44121 #define HAVE_EXPL 1
44122 _ACEOF
44125 done
44127 else
44129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
44130 $as_echo_n "checking for _expl declaration... " >&6; }
44131 if test x${glibcxx_cv_func__expl_use+set} != xset; then
44132 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
44133 $as_echo_n "(cached) " >&6
44134 else
44137 ac_ext=cpp
44138 ac_cpp='$CXXCPP $CPPFLAGS'
44139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44144 /* end confdefs.h. */
44145 #include <math.h>
44146 #ifdef HAVE_IEEEFP_H
44147 #include <ieeefp.h>
44148 #endif
44151 main ()
44153 _expl(0);
44155 return 0;
44157 _ACEOF
44158 if ac_fn_cxx_try_compile "$LINENO"; then :
44159 glibcxx_cv_func__expl_use=yes
44160 else
44161 glibcxx_cv_func__expl_use=no
44163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44164 ac_ext=c
44165 ac_cpp='$CPP $CPPFLAGS'
44166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
44175 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
44177 if test x$glibcxx_cv_func__expl_use = x"yes"; then
44178 for ac_func in _expl
44179 do :
44180 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
44181 if test "x$ac_cv_func__expl" = x""yes; then :
44182 cat >>confdefs.h <<_ACEOF
44183 #define HAVE__EXPL 1
44184 _ACEOF
44187 done
44196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
44197 $as_echo_n "checking for fabsl declaration... " >&6; }
44198 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
44199 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
44200 $as_echo_n "(cached) " >&6
44201 else
44204 ac_ext=cpp
44205 ac_cpp='$CXXCPP $CPPFLAGS'
44206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44211 /* end confdefs.h. */
44212 #include <math.h>
44213 #ifdef HAVE_IEEEFP_H
44214 #include <ieeefp.h>
44215 #endif
44218 main ()
44220 fabsl(0);
44222 return 0;
44224 _ACEOF
44225 if ac_fn_cxx_try_compile "$LINENO"; then :
44226 glibcxx_cv_func_fabsl_use=yes
44227 else
44228 glibcxx_cv_func_fabsl_use=no
44230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44231 ac_ext=c
44232 ac_cpp='$CPP $CPPFLAGS'
44233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
44242 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
44244 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
44245 for ac_func in fabsl
44246 do :
44247 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
44248 if test "x$ac_cv_func_fabsl" = x""yes; then :
44249 cat >>confdefs.h <<_ACEOF
44250 #define HAVE_FABSL 1
44251 _ACEOF
44254 done
44256 else
44258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
44259 $as_echo_n "checking for _fabsl declaration... " >&6; }
44260 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
44261 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
44262 $as_echo_n "(cached) " >&6
44263 else
44266 ac_ext=cpp
44267 ac_cpp='$CXXCPP $CPPFLAGS'
44268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44273 /* end confdefs.h. */
44274 #include <math.h>
44275 #ifdef HAVE_IEEEFP_H
44276 #include <ieeefp.h>
44277 #endif
44280 main ()
44282 _fabsl(0);
44284 return 0;
44286 _ACEOF
44287 if ac_fn_cxx_try_compile "$LINENO"; then :
44288 glibcxx_cv_func__fabsl_use=yes
44289 else
44290 glibcxx_cv_func__fabsl_use=no
44292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44293 ac_ext=c
44294 ac_cpp='$CPP $CPPFLAGS'
44295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
44304 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
44306 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
44307 for ac_func in _fabsl
44308 do :
44309 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
44310 if test "x$ac_cv_func__fabsl" = x""yes; then :
44311 cat >>confdefs.h <<_ACEOF
44312 #define HAVE__FABSL 1
44313 _ACEOF
44316 done
44325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
44326 $as_echo_n "checking for fmodl declaration... " >&6; }
44327 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
44328 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
44329 $as_echo_n "(cached) " >&6
44330 else
44333 ac_ext=cpp
44334 ac_cpp='$CXXCPP $CPPFLAGS'
44335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44340 /* end confdefs.h. */
44341 #include <math.h>
44343 main ()
44345 fmodl(0, 0);
44347 return 0;
44349 _ACEOF
44350 if ac_fn_cxx_try_compile "$LINENO"; then :
44351 glibcxx_cv_func_fmodl_use=yes
44352 else
44353 glibcxx_cv_func_fmodl_use=no
44355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44356 ac_ext=c
44357 ac_cpp='$CPP $CPPFLAGS'
44358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
44367 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
44369 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
44370 for ac_func in fmodl
44371 do :
44372 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
44373 if test "x$ac_cv_func_fmodl" = x""yes; then :
44374 cat >>confdefs.h <<_ACEOF
44375 #define HAVE_FMODL 1
44376 _ACEOF
44379 done
44381 else
44383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
44384 $as_echo_n "checking for _fmodl declaration... " >&6; }
44385 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
44386 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
44387 $as_echo_n "(cached) " >&6
44388 else
44391 ac_ext=cpp
44392 ac_cpp='$CXXCPP $CPPFLAGS'
44393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44398 /* end confdefs.h. */
44399 #include <math.h>
44401 main ()
44403 _fmodl(0, 0);
44405 return 0;
44407 _ACEOF
44408 if ac_fn_cxx_try_compile "$LINENO"; then :
44409 glibcxx_cv_func__fmodl_use=yes
44410 else
44411 glibcxx_cv_func__fmodl_use=no
44413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44414 ac_ext=c
44415 ac_cpp='$CPP $CPPFLAGS'
44416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
44425 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
44427 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
44428 for ac_func in _fmodl
44429 do :
44430 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
44431 if test "x$ac_cv_func__fmodl" = x""yes; then :
44432 cat >>confdefs.h <<_ACEOF
44433 #define HAVE__FMODL 1
44434 _ACEOF
44437 done
44446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
44447 $as_echo_n "checking for frexpl declaration... " >&6; }
44448 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
44449 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
44450 $as_echo_n "(cached) " >&6
44451 else
44454 ac_ext=cpp
44455 ac_cpp='$CXXCPP $CPPFLAGS'
44456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44461 /* end confdefs.h. */
44462 #include <math.h>
44464 main ()
44466 frexpl(0, 0);
44468 return 0;
44470 _ACEOF
44471 if ac_fn_cxx_try_compile "$LINENO"; then :
44472 glibcxx_cv_func_frexpl_use=yes
44473 else
44474 glibcxx_cv_func_frexpl_use=no
44476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44477 ac_ext=c
44478 ac_cpp='$CPP $CPPFLAGS'
44479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
44488 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
44490 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
44491 for ac_func in frexpl
44492 do :
44493 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
44494 if test "x$ac_cv_func_frexpl" = x""yes; then :
44495 cat >>confdefs.h <<_ACEOF
44496 #define HAVE_FREXPL 1
44497 _ACEOF
44500 done
44502 else
44504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
44505 $as_echo_n "checking for _frexpl declaration... " >&6; }
44506 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
44507 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
44508 $as_echo_n "(cached) " >&6
44509 else
44512 ac_ext=cpp
44513 ac_cpp='$CXXCPP $CPPFLAGS'
44514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44519 /* end confdefs.h. */
44520 #include <math.h>
44522 main ()
44524 _frexpl(0, 0);
44526 return 0;
44528 _ACEOF
44529 if ac_fn_cxx_try_compile "$LINENO"; then :
44530 glibcxx_cv_func__frexpl_use=yes
44531 else
44532 glibcxx_cv_func__frexpl_use=no
44534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44535 ac_ext=c
44536 ac_cpp='$CPP $CPPFLAGS'
44537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
44546 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
44548 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
44549 for ac_func in _frexpl
44550 do :
44551 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
44552 if test "x$ac_cv_func__frexpl" = x""yes; then :
44553 cat >>confdefs.h <<_ACEOF
44554 #define HAVE__FREXPL 1
44555 _ACEOF
44558 done
44567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
44568 $as_echo_n "checking for hypotl declaration... " >&6; }
44569 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
44570 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
44571 $as_echo_n "(cached) " >&6
44572 else
44575 ac_ext=cpp
44576 ac_cpp='$CXXCPP $CPPFLAGS'
44577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44582 /* end confdefs.h. */
44583 #include <math.h>
44585 main ()
44587 hypotl(0, 0);
44589 return 0;
44591 _ACEOF
44592 if ac_fn_cxx_try_compile "$LINENO"; then :
44593 glibcxx_cv_func_hypotl_use=yes
44594 else
44595 glibcxx_cv_func_hypotl_use=no
44597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44598 ac_ext=c
44599 ac_cpp='$CPP $CPPFLAGS'
44600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
44609 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
44611 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
44612 for ac_func in hypotl
44613 do :
44614 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
44615 if test "x$ac_cv_func_hypotl" = x""yes; then :
44616 cat >>confdefs.h <<_ACEOF
44617 #define HAVE_HYPOTL 1
44618 _ACEOF
44621 done
44623 else
44625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
44626 $as_echo_n "checking for _hypotl declaration... " >&6; }
44627 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
44628 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
44629 $as_echo_n "(cached) " >&6
44630 else
44633 ac_ext=cpp
44634 ac_cpp='$CXXCPP $CPPFLAGS'
44635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44640 /* end confdefs.h. */
44641 #include <math.h>
44643 main ()
44645 _hypotl(0, 0);
44647 return 0;
44649 _ACEOF
44650 if ac_fn_cxx_try_compile "$LINENO"; then :
44651 glibcxx_cv_func__hypotl_use=yes
44652 else
44653 glibcxx_cv_func__hypotl_use=no
44655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44656 ac_ext=c
44657 ac_cpp='$CPP $CPPFLAGS'
44658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
44667 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
44669 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
44670 for ac_func in _hypotl
44671 do :
44672 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
44673 if test "x$ac_cv_func__hypotl" = x""yes; then :
44674 cat >>confdefs.h <<_ACEOF
44675 #define HAVE__HYPOTL 1
44676 _ACEOF
44679 done
44688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
44689 $as_echo_n "checking for ldexpl declaration... " >&6; }
44690 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
44691 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
44692 $as_echo_n "(cached) " >&6
44693 else
44696 ac_ext=cpp
44697 ac_cpp='$CXXCPP $CPPFLAGS'
44698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44703 /* end confdefs.h. */
44704 #include <math.h>
44706 main ()
44708 ldexpl(0, 0);
44710 return 0;
44712 _ACEOF
44713 if ac_fn_cxx_try_compile "$LINENO"; then :
44714 glibcxx_cv_func_ldexpl_use=yes
44715 else
44716 glibcxx_cv_func_ldexpl_use=no
44718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44719 ac_ext=c
44720 ac_cpp='$CPP $CPPFLAGS'
44721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
44730 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
44732 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
44733 for ac_func in ldexpl
44734 do :
44735 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
44736 if test "x$ac_cv_func_ldexpl" = x""yes; then :
44737 cat >>confdefs.h <<_ACEOF
44738 #define HAVE_LDEXPL 1
44739 _ACEOF
44742 done
44744 else
44746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
44747 $as_echo_n "checking for _ldexpl declaration... " >&6; }
44748 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
44749 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
44750 $as_echo_n "(cached) " >&6
44751 else
44754 ac_ext=cpp
44755 ac_cpp='$CXXCPP $CPPFLAGS'
44756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44761 /* end confdefs.h. */
44762 #include <math.h>
44764 main ()
44766 _ldexpl(0, 0);
44768 return 0;
44770 _ACEOF
44771 if ac_fn_cxx_try_compile "$LINENO"; then :
44772 glibcxx_cv_func__ldexpl_use=yes
44773 else
44774 glibcxx_cv_func__ldexpl_use=no
44776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44777 ac_ext=c
44778 ac_cpp='$CPP $CPPFLAGS'
44779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
44788 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
44790 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
44791 for ac_func in _ldexpl
44792 do :
44793 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
44794 if test "x$ac_cv_func__ldexpl" = x""yes; then :
44795 cat >>confdefs.h <<_ACEOF
44796 #define HAVE__LDEXPL 1
44797 _ACEOF
44800 done
44809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
44810 $as_echo_n "checking for logl declaration... " >&6; }
44811 if test x${glibcxx_cv_func_logl_use+set} != xset; then
44812 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
44813 $as_echo_n "(cached) " >&6
44814 else
44817 ac_ext=cpp
44818 ac_cpp='$CXXCPP $CPPFLAGS'
44819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44824 /* end confdefs.h. */
44825 #include <math.h>
44826 #ifdef HAVE_IEEEFP_H
44827 #include <ieeefp.h>
44828 #endif
44831 main ()
44833 logl(0);
44835 return 0;
44837 _ACEOF
44838 if ac_fn_cxx_try_compile "$LINENO"; then :
44839 glibcxx_cv_func_logl_use=yes
44840 else
44841 glibcxx_cv_func_logl_use=no
44843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44844 ac_ext=c
44845 ac_cpp='$CPP $CPPFLAGS'
44846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
44855 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
44857 if test x$glibcxx_cv_func_logl_use = x"yes"; then
44858 for ac_func in logl
44859 do :
44860 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
44861 if test "x$ac_cv_func_logl" = x""yes; then :
44862 cat >>confdefs.h <<_ACEOF
44863 #define HAVE_LOGL 1
44864 _ACEOF
44867 done
44869 else
44871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
44872 $as_echo_n "checking for _logl declaration... " >&6; }
44873 if test x${glibcxx_cv_func__logl_use+set} != xset; then
44874 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
44875 $as_echo_n "(cached) " >&6
44876 else
44879 ac_ext=cpp
44880 ac_cpp='$CXXCPP $CPPFLAGS'
44881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44886 /* end confdefs.h. */
44887 #include <math.h>
44888 #ifdef HAVE_IEEEFP_H
44889 #include <ieeefp.h>
44890 #endif
44893 main ()
44895 _logl(0);
44897 return 0;
44899 _ACEOF
44900 if ac_fn_cxx_try_compile "$LINENO"; then :
44901 glibcxx_cv_func__logl_use=yes
44902 else
44903 glibcxx_cv_func__logl_use=no
44905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44906 ac_ext=c
44907 ac_cpp='$CPP $CPPFLAGS'
44908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
44917 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
44919 if test x$glibcxx_cv_func__logl_use = x"yes"; then
44920 for ac_func in _logl
44921 do :
44922 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
44923 if test "x$ac_cv_func__logl" = x""yes; then :
44924 cat >>confdefs.h <<_ACEOF
44925 #define HAVE__LOGL 1
44926 _ACEOF
44929 done
44938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
44939 $as_echo_n "checking for log10l declaration... " >&6; }
44940 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
44941 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
44942 $as_echo_n "(cached) " >&6
44943 else
44946 ac_ext=cpp
44947 ac_cpp='$CXXCPP $CPPFLAGS'
44948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44953 /* end confdefs.h. */
44954 #include <math.h>
44955 #ifdef HAVE_IEEEFP_H
44956 #include <ieeefp.h>
44957 #endif
44960 main ()
44962 log10l(0);
44964 return 0;
44966 _ACEOF
44967 if ac_fn_cxx_try_compile "$LINENO"; then :
44968 glibcxx_cv_func_log10l_use=yes
44969 else
44970 glibcxx_cv_func_log10l_use=no
44972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44973 ac_ext=c
44974 ac_cpp='$CPP $CPPFLAGS'
44975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
44984 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
44986 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
44987 for ac_func in log10l
44988 do :
44989 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
44990 if test "x$ac_cv_func_log10l" = x""yes; then :
44991 cat >>confdefs.h <<_ACEOF
44992 #define HAVE_LOG10L 1
44993 _ACEOF
44996 done
44998 else
45000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
45001 $as_echo_n "checking for _log10l declaration... " >&6; }
45002 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
45003 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
45004 $as_echo_n "(cached) " >&6
45005 else
45008 ac_ext=cpp
45009 ac_cpp='$CXXCPP $CPPFLAGS'
45010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45015 /* end confdefs.h. */
45016 #include <math.h>
45017 #ifdef HAVE_IEEEFP_H
45018 #include <ieeefp.h>
45019 #endif
45022 main ()
45024 _log10l(0);
45026 return 0;
45028 _ACEOF
45029 if ac_fn_cxx_try_compile "$LINENO"; then :
45030 glibcxx_cv_func__log10l_use=yes
45031 else
45032 glibcxx_cv_func__log10l_use=no
45034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45035 ac_ext=c
45036 ac_cpp='$CPP $CPPFLAGS'
45037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
45046 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
45048 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
45049 for ac_func in _log10l
45050 do :
45051 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
45052 if test "x$ac_cv_func__log10l" = x""yes; then :
45053 cat >>confdefs.h <<_ACEOF
45054 #define HAVE__LOG10L 1
45055 _ACEOF
45058 done
45067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
45068 $as_echo_n "checking for modfl declaration... " >&6; }
45069 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
45070 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
45071 $as_echo_n "(cached) " >&6
45072 else
45075 ac_ext=cpp
45076 ac_cpp='$CXXCPP $CPPFLAGS'
45077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45082 /* end confdefs.h. */
45083 #include <math.h>
45085 main ()
45087 modfl(0, 0);
45089 return 0;
45091 _ACEOF
45092 if ac_fn_cxx_try_compile "$LINENO"; then :
45093 glibcxx_cv_func_modfl_use=yes
45094 else
45095 glibcxx_cv_func_modfl_use=no
45097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45098 ac_ext=c
45099 ac_cpp='$CPP $CPPFLAGS'
45100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
45109 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
45111 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
45112 for ac_func in modfl
45113 do :
45114 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
45115 if test "x$ac_cv_func_modfl" = x""yes; then :
45116 cat >>confdefs.h <<_ACEOF
45117 #define HAVE_MODFL 1
45118 _ACEOF
45121 done
45123 else
45125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
45126 $as_echo_n "checking for _modfl declaration... " >&6; }
45127 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
45128 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
45129 $as_echo_n "(cached) " >&6
45130 else
45133 ac_ext=cpp
45134 ac_cpp='$CXXCPP $CPPFLAGS'
45135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45140 /* end confdefs.h. */
45141 #include <math.h>
45143 main ()
45145 _modfl(0, 0);
45147 return 0;
45149 _ACEOF
45150 if ac_fn_cxx_try_compile "$LINENO"; then :
45151 glibcxx_cv_func__modfl_use=yes
45152 else
45153 glibcxx_cv_func__modfl_use=no
45155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45156 ac_ext=c
45157 ac_cpp='$CPP $CPPFLAGS'
45158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
45167 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
45169 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
45170 for ac_func in _modfl
45171 do :
45172 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
45173 if test "x$ac_cv_func__modfl" = x""yes; then :
45174 cat >>confdefs.h <<_ACEOF
45175 #define HAVE__MODFL 1
45176 _ACEOF
45179 done
45188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
45189 $as_echo_n "checking for powl declaration... " >&6; }
45190 if test x${glibcxx_cv_func_powl_use+set} != xset; then
45191 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
45192 $as_echo_n "(cached) " >&6
45193 else
45196 ac_ext=cpp
45197 ac_cpp='$CXXCPP $CPPFLAGS'
45198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45203 /* end confdefs.h. */
45204 #include <math.h>
45206 main ()
45208 powl(0, 0);
45210 return 0;
45212 _ACEOF
45213 if ac_fn_cxx_try_compile "$LINENO"; then :
45214 glibcxx_cv_func_powl_use=yes
45215 else
45216 glibcxx_cv_func_powl_use=no
45218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45219 ac_ext=c
45220 ac_cpp='$CPP $CPPFLAGS'
45221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
45230 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
45232 if test x$glibcxx_cv_func_powl_use = x"yes"; then
45233 for ac_func in powl
45234 do :
45235 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
45236 if test "x$ac_cv_func_powl" = x""yes; then :
45237 cat >>confdefs.h <<_ACEOF
45238 #define HAVE_POWL 1
45239 _ACEOF
45242 done
45244 else
45246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
45247 $as_echo_n "checking for _powl declaration... " >&6; }
45248 if test x${glibcxx_cv_func__powl_use+set} != xset; then
45249 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
45250 $as_echo_n "(cached) " >&6
45251 else
45254 ac_ext=cpp
45255 ac_cpp='$CXXCPP $CPPFLAGS'
45256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45261 /* end confdefs.h. */
45262 #include <math.h>
45264 main ()
45266 _powl(0, 0);
45268 return 0;
45270 _ACEOF
45271 if ac_fn_cxx_try_compile "$LINENO"; then :
45272 glibcxx_cv_func__powl_use=yes
45273 else
45274 glibcxx_cv_func__powl_use=no
45276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45277 ac_ext=c
45278 ac_cpp='$CPP $CPPFLAGS'
45279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
45288 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
45290 if test x$glibcxx_cv_func__powl_use = x"yes"; then
45291 for ac_func in _powl
45292 do :
45293 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
45294 if test "x$ac_cv_func__powl" = x""yes; then :
45295 cat >>confdefs.h <<_ACEOF
45296 #define HAVE__POWL 1
45297 _ACEOF
45300 done
45309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
45310 $as_echo_n "checking for sqrtl declaration... " >&6; }
45311 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
45312 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
45313 $as_echo_n "(cached) " >&6
45314 else
45317 ac_ext=cpp
45318 ac_cpp='$CXXCPP $CPPFLAGS'
45319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45324 /* end confdefs.h. */
45325 #include <math.h>
45326 #ifdef HAVE_IEEEFP_H
45327 #include <ieeefp.h>
45328 #endif
45331 main ()
45333 sqrtl(0);
45335 return 0;
45337 _ACEOF
45338 if ac_fn_cxx_try_compile "$LINENO"; then :
45339 glibcxx_cv_func_sqrtl_use=yes
45340 else
45341 glibcxx_cv_func_sqrtl_use=no
45343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45344 ac_ext=c
45345 ac_cpp='$CPP $CPPFLAGS'
45346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
45355 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
45357 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
45358 for ac_func in sqrtl
45359 do :
45360 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
45361 if test "x$ac_cv_func_sqrtl" = x""yes; then :
45362 cat >>confdefs.h <<_ACEOF
45363 #define HAVE_SQRTL 1
45364 _ACEOF
45367 done
45369 else
45371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
45372 $as_echo_n "checking for _sqrtl declaration... " >&6; }
45373 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
45374 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
45375 $as_echo_n "(cached) " >&6
45376 else
45379 ac_ext=cpp
45380 ac_cpp='$CXXCPP $CPPFLAGS'
45381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45386 /* end confdefs.h. */
45387 #include <math.h>
45388 #ifdef HAVE_IEEEFP_H
45389 #include <ieeefp.h>
45390 #endif
45393 main ()
45395 _sqrtl(0);
45397 return 0;
45399 _ACEOF
45400 if ac_fn_cxx_try_compile "$LINENO"; then :
45401 glibcxx_cv_func__sqrtl_use=yes
45402 else
45403 glibcxx_cv_func__sqrtl_use=no
45405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45406 ac_ext=c
45407 ac_cpp='$CPP $CPPFLAGS'
45408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
45417 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
45419 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
45420 for ac_func in _sqrtl
45421 do :
45422 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
45423 if test "x$ac_cv_func__sqrtl" = x""yes; then :
45424 cat >>confdefs.h <<_ACEOF
45425 #define HAVE__SQRTL 1
45426 _ACEOF
45429 done
45438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
45439 $as_echo_n "checking for sincosl declaration... " >&6; }
45440 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
45441 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
45442 $as_echo_n "(cached) " >&6
45443 else
45446 ac_ext=cpp
45447 ac_cpp='$CXXCPP $CPPFLAGS'
45448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45453 /* end confdefs.h. */
45454 #include <math.h>
45456 main ()
45458 sincosl(0, 0, 0);
45460 return 0;
45462 _ACEOF
45463 if ac_fn_cxx_try_compile "$LINENO"; then :
45464 glibcxx_cv_func_sincosl_use=yes
45465 else
45466 glibcxx_cv_func_sincosl_use=no
45468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45469 ac_ext=c
45470 ac_cpp='$CPP $CPPFLAGS'
45471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
45480 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
45482 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
45483 for ac_func in sincosl
45484 do :
45485 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
45486 if test "x$ac_cv_func_sincosl" = x""yes; then :
45487 cat >>confdefs.h <<_ACEOF
45488 #define HAVE_SINCOSL 1
45489 _ACEOF
45492 done
45494 else
45496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
45497 $as_echo_n "checking for _sincosl declaration... " >&6; }
45498 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
45499 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
45500 $as_echo_n "(cached) " >&6
45501 else
45504 ac_ext=cpp
45505 ac_cpp='$CXXCPP $CPPFLAGS'
45506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45511 /* end confdefs.h. */
45512 #include <math.h>
45514 main ()
45516 _sincosl(0, 0, 0);
45518 return 0;
45520 _ACEOF
45521 if ac_fn_cxx_try_compile "$LINENO"; then :
45522 glibcxx_cv_func__sincosl_use=yes
45523 else
45524 glibcxx_cv_func__sincosl_use=no
45526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45527 ac_ext=c
45528 ac_cpp='$CPP $CPPFLAGS'
45529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
45538 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
45540 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
45541 for ac_func in _sincosl
45542 do :
45543 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
45544 if test "x$ac_cv_func__sincosl" = x""yes; then :
45545 cat >>confdefs.h <<_ACEOF
45546 #define HAVE__SINCOSL 1
45547 _ACEOF
45550 done
45559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
45560 $as_echo_n "checking for finitel declaration... " >&6; }
45561 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
45562 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
45563 $as_echo_n "(cached) " >&6
45564 else
45567 ac_ext=cpp
45568 ac_cpp='$CXXCPP $CPPFLAGS'
45569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45574 /* end confdefs.h. */
45575 #include <math.h>
45576 #ifdef HAVE_IEEEFP_H
45577 #include <ieeefp.h>
45578 #endif
45581 main ()
45583 finitel(0);
45585 return 0;
45587 _ACEOF
45588 if ac_fn_cxx_try_compile "$LINENO"; then :
45589 glibcxx_cv_func_finitel_use=yes
45590 else
45591 glibcxx_cv_func_finitel_use=no
45593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45594 ac_ext=c
45595 ac_cpp='$CPP $CPPFLAGS'
45596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
45605 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
45607 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
45608 for ac_func in finitel
45609 do :
45610 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
45611 if test "x$ac_cv_func_finitel" = x""yes; then :
45612 cat >>confdefs.h <<_ACEOF
45613 #define HAVE_FINITEL 1
45614 _ACEOF
45617 done
45619 else
45621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
45622 $as_echo_n "checking for _finitel declaration... " >&6; }
45623 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
45624 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
45625 $as_echo_n "(cached) " >&6
45626 else
45629 ac_ext=cpp
45630 ac_cpp='$CXXCPP $CPPFLAGS'
45631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45636 /* end confdefs.h. */
45637 #include <math.h>
45638 #ifdef HAVE_IEEEFP_H
45639 #include <ieeefp.h>
45640 #endif
45643 main ()
45645 _finitel(0);
45647 return 0;
45649 _ACEOF
45650 if ac_fn_cxx_try_compile "$LINENO"; then :
45651 glibcxx_cv_func__finitel_use=yes
45652 else
45653 glibcxx_cv_func__finitel_use=no
45655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45656 ac_ext=c
45657 ac_cpp='$CPP $CPPFLAGS'
45658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
45667 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
45669 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
45670 for ac_func in _finitel
45671 do :
45672 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
45673 if test "x$ac_cv_func__finitel" = x""yes; then :
45674 cat >>confdefs.h <<_ACEOF
45675 #define HAVE__FINITEL 1
45676 _ACEOF
45679 done
45687 LIBS="$ac_save_LIBS"
45688 CXXFLAGS="$ac_save_CXXFLAGS"
45691 ac_test_CXXFLAGS="${CXXFLAGS+set}"
45692 ac_save_CXXFLAGS="$CXXFLAGS"
45693 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
45696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
45697 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
45698 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
45699 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
45700 $as_echo_n "(cached) " >&6
45701 else
45704 ac_ext=cpp
45705 ac_cpp='$CXXCPP $CPPFLAGS'
45706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45711 /* end confdefs.h. */
45712 #include <stdlib.h>
45714 main ()
45716 at_quick_exit(0);
45718 return 0;
45720 _ACEOF
45721 if ac_fn_cxx_try_compile "$LINENO"; then :
45722 glibcxx_cv_func_at_quick_exit_use=yes
45723 else
45724 glibcxx_cv_func_at_quick_exit_use=no
45726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45727 ac_ext=c
45728 ac_cpp='$CPP $CPPFLAGS'
45729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
45738 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
45739 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
45740 for ac_func in at_quick_exit
45741 do :
45742 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
45743 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
45744 cat >>confdefs.h <<_ACEOF
45745 #define HAVE_AT_QUICK_EXIT 1
45746 _ACEOF
45749 done
45754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
45755 $as_echo_n "checking for quick_exit declaration... " >&6; }
45756 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
45757 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
45758 $as_echo_n "(cached) " >&6
45759 else
45762 ac_ext=cpp
45763 ac_cpp='$CXXCPP $CPPFLAGS'
45764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45769 /* end confdefs.h. */
45770 #include <stdlib.h>
45772 main ()
45774 quick_exit(0);
45776 return 0;
45778 _ACEOF
45779 if ac_fn_cxx_try_compile "$LINENO"; then :
45780 glibcxx_cv_func_quick_exit_use=yes
45781 else
45782 glibcxx_cv_func_quick_exit_use=no
45784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45785 ac_ext=c
45786 ac_cpp='$CPP $CPPFLAGS'
45787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
45796 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
45797 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
45798 for ac_func in quick_exit
45799 do :
45800 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
45801 if test "x$ac_cv_func_quick_exit" = x""yes; then :
45802 cat >>confdefs.h <<_ACEOF
45803 #define HAVE_QUICK_EXIT 1
45804 _ACEOF
45807 done
45812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
45813 $as_echo_n "checking for strtold declaration... " >&6; }
45814 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
45815 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
45816 $as_echo_n "(cached) " >&6
45817 else
45820 ac_ext=cpp
45821 ac_cpp='$CXXCPP $CPPFLAGS'
45822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45827 /* end confdefs.h. */
45828 #include <stdlib.h>
45830 main ()
45832 strtold(0, 0);
45834 return 0;
45836 _ACEOF
45837 if ac_fn_cxx_try_compile "$LINENO"; then :
45838 glibcxx_cv_func_strtold_use=yes
45839 else
45840 glibcxx_cv_func_strtold_use=no
45842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45843 ac_ext=c
45844 ac_cpp='$CPP $CPPFLAGS'
45845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
45854 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
45855 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
45856 for ac_func in strtold
45857 do :
45858 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
45859 if test "x$ac_cv_func_strtold" = x""yes; then :
45860 cat >>confdefs.h <<_ACEOF
45861 #define HAVE_STRTOLD 1
45862 _ACEOF
45865 done
45872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
45873 $as_echo_n "checking for strtof declaration... " >&6; }
45874 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
45875 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
45876 $as_echo_n "(cached) " >&6
45877 else
45880 ac_ext=cpp
45881 ac_cpp='$CXXCPP $CPPFLAGS'
45882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45887 /* end confdefs.h. */
45888 #include <stdlib.h>
45890 main ()
45892 strtof(0, 0);
45894 return 0;
45896 _ACEOF
45897 if ac_fn_cxx_try_compile "$LINENO"; then :
45898 glibcxx_cv_func_strtof_use=yes
45899 else
45900 glibcxx_cv_func_strtof_use=no
45902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45903 ac_ext=c
45904 ac_cpp='$CPP $CPPFLAGS'
45905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
45914 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
45915 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
45916 for ac_func in strtof
45917 do :
45918 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
45919 if test "x$ac_cv_func_strtof" = x""yes; then :
45920 cat >>confdefs.h <<_ACEOF
45921 #define HAVE_STRTOF 1
45922 _ACEOF
45925 done
45932 CXXFLAGS="$ac_save_CXXFLAGS"
45934 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
45936 # We don't yet support AIX's TLS ABI.
45937 #GCC_CHECK_TLS
45943 am_save_CPPFLAGS="$CPPFLAGS"
45945 for element in $INCICONV; do
45946 haveit=
45947 for x in $CPPFLAGS; do
45949 acl_save_prefix="$prefix"
45950 prefix="$acl_final_prefix"
45951 acl_save_exec_prefix="$exec_prefix"
45952 exec_prefix="$acl_final_exec_prefix"
45953 eval x=\"$x\"
45954 exec_prefix="$acl_save_exec_prefix"
45955 prefix="$acl_save_prefix"
45957 if test "X$x" = "X$element"; then
45958 haveit=yes
45959 break
45961 done
45962 if test -z "$haveit"; then
45963 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
45965 done
45968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
45969 $as_echo_n "checking for iconv... " >&6; }
45970 if test "${am_cv_func_iconv+set}" = set; then :
45971 $as_echo_n "(cached) " >&6
45972 else
45974 am_cv_func_iconv="no, consider installing GNU libiconv"
45975 am_cv_lib_iconv=no
45976 if test x$gcc_no_link = xyes; then
45977 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45980 /* end confdefs.h. */
45981 #include <stdlib.h>
45982 #include <iconv.h>
45984 main ()
45986 iconv_t cd = iconv_open("","");
45987 iconv(cd,NULL,NULL,NULL,NULL);
45988 iconv_close(cd);
45990 return 0;
45992 _ACEOF
45993 if ac_fn_c_try_link "$LINENO"; then :
45994 am_cv_func_iconv=yes
45996 rm -f core conftest.err conftest.$ac_objext \
45997 conftest$ac_exeext conftest.$ac_ext
45998 if test "$am_cv_func_iconv" != yes; then
45999 am_save_LIBS="$LIBS"
46000 LIBS="$LIBS $LIBICONV"
46001 if test x$gcc_no_link = xyes; then
46002 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46005 /* end confdefs.h. */
46006 #include <stdlib.h>
46007 #include <iconv.h>
46009 main ()
46011 iconv_t cd = iconv_open("","");
46012 iconv(cd,NULL,NULL,NULL,NULL);
46013 iconv_close(cd);
46015 return 0;
46017 _ACEOF
46018 if ac_fn_c_try_link "$LINENO"; then :
46019 am_cv_lib_iconv=yes
46020 am_cv_func_iconv=yes
46022 rm -f core conftest.err conftest.$ac_objext \
46023 conftest$ac_exeext conftest.$ac_ext
46024 LIBS="$am_save_LIBS"
46028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
46029 $as_echo "$am_cv_func_iconv" >&6; }
46030 if test "$am_cv_func_iconv" = yes; then
46032 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
46035 if test "$am_cv_lib_iconv" = yes; then
46036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
46037 $as_echo_n "checking how to link with libiconv... " >&6; }
46038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
46039 $as_echo "$LIBICONV" >&6; }
46040 else
46041 CPPFLAGS="$am_save_CPPFLAGS"
46042 LIBICONV=
46043 LTLIBICONV=
46048 if test "$am_cv_func_iconv" = yes; then
46049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
46050 $as_echo_n "checking for iconv declaration... " >&6; }
46051 if test "${am_cv_proto_iconv+set}" = set; then :
46052 $as_echo_n "(cached) " >&6
46053 else
46055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46056 /* end confdefs.h. */
46058 #include <stdlib.h>
46059 #include <iconv.h>
46060 extern
46061 #ifdef __cplusplus
46063 #endif
46064 #if defined(__STDC__) || defined(__cplusplus)
46065 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
46066 #else
46067 size_t iconv();
46068 #endif
46071 main ()
46075 return 0;
46077 _ACEOF
46078 if ac_fn_c_try_compile "$LINENO"; then :
46079 am_cv_proto_iconv_arg1=""
46080 else
46081 am_cv_proto_iconv_arg1="const"
46083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46084 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);"
46087 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
46088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
46089 }$am_cv_proto_iconv" >&5
46090 $as_echo "${ac_t:-
46091 }$am_cv_proto_iconv" >&6; }
46093 cat >>confdefs.h <<_ACEOF
46094 #define ICONV_CONST $am_cv_proto_iconv_arg1
46095 _ACEOF
46101 *-darwin*)
46102 # Darwin versions vary, but the linker should work in a cross environment,
46103 # so we just check for all the features here.
46104 # Check for available headers.
46106 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
46108 ac_test_CXXFLAGS="${CXXFLAGS+set}"
46109 ac_save_CXXFLAGS="$CXXFLAGS"
46110 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
46112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
46113 $as_echo_n "checking for sin in -lm... " >&6; }
46114 if test "${ac_cv_lib_m_sin+set}" = set; then :
46115 $as_echo_n "(cached) " >&6
46116 else
46117 ac_check_lib_save_LIBS=$LIBS
46118 LIBS="-lm $LIBS"
46119 if test x$gcc_no_link = xyes; then
46120 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46123 /* end confdefs.h. */
46125 /* Override any GCC internal prototype to avoid an error.
46126 Use char because int might match the return type of a GCC
46127 builtin and then its argument prototype would still apply. */
46128 #ifdef __cplusplus
46129 extern "C"
46130 #endif
46131 char sin ();
46133 main ()
46135 return sin ();
46137 return 0;
46139 _ACEOF
46140 if ac_fn_c_try_link "$LINENO"; then :
46141 ac_cv_lib_m_sin=yes
46142 else
46143 ac_cv_lib_m_sin=no
46145 rm -f core conftest.err conftest.$ac_objext \
46146 conftest$ac_exeext conftest.$ac_ext
46147 LIBS=$ac_check_lib_save_LIBS
46149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
46150 $as_echo "$ac_cv_lib_m_sin" >&6; }
46151 if test "x$ac_cv_lib_m_sin" = x""yes; then :
46152 libm="-lm"
46155 ac_save_LIBS="$LIBS"
46156 LIBS="$LIBS $libm"
46160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
46161 $as_echo_n "checking for isinf declaration... " >&6; }
46162 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
46163 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
46164 $as_echo_n "(cached) " >&6
46165 else
46168 ac_ext=cpp
46169 ac_cpp='$CXXCPP $CPPFLAGS'
46170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46175 /* end confdefs.h. */
46176 #include <math.h>
46177 #ifdef HAVE_IEEEFP_H
46178 #include <ieeefp.h>
46179 #endif
46182 main ()
46184 isinf(0);
46186 return 0;
46188 _ACEOF
46189 if ac_fn_cxx_try_compile "$LINENO"; then :
46190 glibcxx_cv_func_isinf_use=yes
46191 else
46192 glibcxx_cv_func_isinf_use=no
46194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46195 ac_ext=c
46196 ac_cpp='$CPP $CPPFLAGS'
46197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
46206 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
46208 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
46209 for ac_func in isinf
46210 do :
46211 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
46212 if test "x$ac_cv_func_isinf" = x""yes; then :
46213 cat >>confdefs.h <<_ACEOF
46214 #define HAVE_ISINF 1
46215 _ACEOF
46218 done
46220 else
46222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
46223 $as_echo_n "checking for _isinf declaration... " >&6; }
46224 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
46225 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
46226 $as_echo_n "(cached) " >&6
46227 else
46230 ac_ext=cpp
46231 ac_cpp='$CXXCPP $CPPFLAGS'
46232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46237 /* end confdefs.h. */
46238 #include <math.h>
46239 #ifdef HAVE_IEEEFP_H
46240 #include <ieeefp.h>
46241 #endif
46244 main ()
46246 _isinf(0);
46248 return 0;
46250 _ACEOF
46251 if ac_fn_cxx_try_compile "$LINENO"; then :
46252 glibcxx_cv_func__isinf_use=yes
46253 else
46254 glibcxx_cv_func__isinf_use=no
46256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46257 ac_ext=c
46258 ac_cpp='$CPP $CPPFLAGS'
46259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
46268 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
46270 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
46271 for ac_func in _isinf
46272 do :
46273 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
46274 if test "x$ac_cv_func__isinf" = x""yes; then :
46275 cat >>confdefs.h <<_ACEOF
46276 #define HAVE__ISINF 1
46277 _ACEOF
46280 done
46289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
46290 $as_echo_n "checking for isnan declaration... " >&6; }
46291 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
46292 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
46293 $as_echo_n "(cached) " >&6
46294 else
46297 ac_ext=cpp
46298 ac_cpp='$CXXCPP $CPPFLAGS'
46299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46304 /* end confdefs.h. */
46305 #include <math.h>
46306 #ifdef HAVE_IEEEFP_H
46307 #include <ieeefp.h>
46308 #endif
46311 main ()
46313 isnan(0);
46315 return 0;
46317 _ACEOF
46318 if ac_fn_cxx_try_compile "$LINENO"; then :
46319 glibcxx_cv_func_isnan_use=yes
46320 else
46321 glibcxx_cv_func_isnan_use=no
46323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46324 ac_ext=c
46325 ac_cpp='$CPP $CPPFLAGS'
46326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
46335 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
46337 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
46338 for ac_func in isnan
46339 do :
46340 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
46341 if test "x$ac_cv_func_isnan" = x""yes; then :
46342 cat >>confdefs.h <<_ACEOF
46343 #define HAVE_ISNAN 1
46344 _ACEOF
46347 done
46349 else
46351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
46352 $as_echo_n "checking for _isnan declaration... " >&6; }
46353 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
46354 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
46355 $as_echo_n "(cached) " >&6
46356 else
46359 ac_ext=cpp
46360 ac_cpp='$CXXCPP $CPPFLAGS'
46361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46366 /* end confdefs.h. */
46367 #include <math.h>
46368 #ifdef HAVE_IEEEFP_H
46369 #include <ieeefp.h>
46370 #endif
46373 main ()
46375 _isnan(0);
46377 return 0;
46379 _ACEOF
46380 if ac_fn_cxx_try_compile "$LINENO"; then :
46381 glibcxx_cv_func__isnan_use=yes
46382 else
46383 glibcxx_cv_func__isnan_use=no
46385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46386 ac_ext=c
46387 ac_cpp='$CPP $CPPFLAGS'
46388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
46397 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
46399 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
46400 for ac_func in _isnan
46401 do :
46402 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
46403 if test "x$ac_cv_func__isnan" = x""yes; then :
46404 cat >>confdefs.h <<_ACEOF
46405 #define HAVE__ISNAN 1
46406 _ACEOF
46409 done
46418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
46419 $as_echo_n "checking for finite declaration... " >&6; }
46420 if test x${glibcxx_cv_func_finite_use+set} != xset; then
46421 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
46422 $as_echo_n "(cached) " >&6
46423 else
46426 ac_ext=cpp
46427 ac_cpp='$CXXCPP $CPPFLAGS'
46428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46433 /* end confdefs.h. */
46434 #include <math.h>
46435 #ifdef HAVE_IEEEFP_H
46436 #include <ieeefp.h>
46437 #endif
46440 main ()
46442 finite(0);
46444 return 0;
46446 _ACEOF
46447 if ac_fn_cxx_try_compile "$LINENO"; then :
46448 glibcxx_cv_func_finite_use=yes
46449 else
46450 glibcxx_cv_func_finite_use=no
46452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46453 ac_ext=c
46454 ac_cpp='$CPP $CPPFLAGS'
46455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
46464 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
46466 if test x$glibcxx_cv_func_finite_use = x"yes"; then
46467 for ac_func in finite
46468 do :
46469 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
46470 if test "x$ac_cv_func_finite" = x""yes; then :
46471 cat >>confdefs.h <<_ACEOF
46472 #define HAVE_FINITE 1
46473 _ACEOF
46476 done
46478 else
46480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
46481 $as_echo_n "checking for _finite declaration... " >&6; }
46482 if test x${glibcxx_cv_func__finite_use+set} != xset; then
46483 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
46484 $as_echo_n "(cached) " >&6
46485 else
46488 ac_ext=cpp
46489 ac_cpp='$CXXCPP $CPPFLAGS'
46490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46495 /* end confdefs.h. */
46496 #include <math.h>
46497 #ifdef HAVE_IEEEFP_H
46498 #include <ieeefp.h>
46499 #endif
46502 main ()
46504 _finite(0);
46506 return 0;
46508 _ACEOF
46509 if ac_fn_cxx_try_compile "$LINENO"; then :
46510 glibcxx_cv_func__finite_use=yes
46511 else
46512 glibcxx_cv_func__finite_use=no
46514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46515 ac_ext=c
46516 ac_cpp='$CPP $CPPFLAGS'
46517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
46526 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
46528 if test x$glibcxx_cv_func__finite_use = x"yes"; then
46529 for ac_func in _finite
46530 do :
46531 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
46532 if test "x$ac_cv_func__finite" = x""yes; then :
46533 cat >>confdefs.h <<_ACEOF
46534 #define HAVE__FINITE 1
46535 _ACEOF
46538 done
46547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
46548 $as_echo_n "checking for sincos declaration... " >&6; }
46549 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
46550 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
46551 $as_echo_n "(cached) " >&6
46552 else
46555 ac_ext=cpp
46556 ac_cpp='$CXXCPP $CPPFLAGS'
46557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46562 /* end confdefs.h. */
46563 #include <math.h>
46565 main ()
46567 sincos(0, 0, 0);
46569 return 0;
46571 _ACEOF
46572 if ac_fn_cxx_try_compile "$LINENO"; then :
46573 glibcxx_cv_func_sincos_use=yes
46574 else
46575 glibcxx_cv_func_sincos_use=no
46577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46578 ac_ext=c
46579 ac_cpp='$CPP $CPPFLAGS'
46580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
46589 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
46591 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
46592 for ac_func in sincos
46593 do :
46594 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
46595 if test "x$ac_cv_func_sincos" = x""yes; then :
46596 cat >>confdefs.h <<_ACEOF
46597 #define HAVE_SINCOS 1
46598 _ACEOF
46601 done
46603 else
46605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
46606 $as_echo_n "checking for _sincos declaration... " >&6; }
46607 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
46608 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
46609 $as_echo_n "(cached) " >&6
46610 else
46613 ac_ext=cpp
46614 ac_cpp='$CXXCPP $CPPFLAGS'
46615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46620 /* end confdefs.h. */
46621 #include <math.h>
46623 main ()
46625 _sincos(0, 0, 0);
46627 return 0;
46629 _ACEOF
46630 if ac_fn_cxx_try_compile "$LINENO"; then :
46631 glibcxx_cv_func__sincos_use=yes
46632 else
46633 glibcxx_cv_func__sincos_use=no
46635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46636 ac_ext=c
46637 ac_cpp='$CPP $CPPFLAGS'
46638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
46647 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
46649 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
46650 for ac_func in _sincos
46651 do :
46652 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
46653 if test "x$ac_cv_func__sincos" = x""yes; then :
46654 cat >>confdefs.h <<_ACEOF
46655 #define HAVE__SINCOS 1
46656 _ACEOF
46659 done
46668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
46669 $as_echo_n "checking for fpclass declaration... " >&6; }
46670 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
46671 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
46672 $as_echo_n "(cached) " >&6
46673 else
46676 ac_ext=cpp
46677 ac_cpp='$CXXCPP $CPPFLAGS'
46678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46683 /* end confdefs.h. */
46684 #include <math.h>
46685 #ifdef HAVE_IEEEFP_H
46686 #include <ieeefp.h>
46687 #endif
46690 main ()
46692 fpclass(0);
46694 return 0;
46696 _ACEOF
46697 if ac_fn_cxx_try_compile "$LINENO"; then :
46698 glibcxx_cv_func_fpclass_use=yes
46699 else
46700 glibcxx_cv_func_fpclass_use=no
46702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46703 ac_ext=c
46704 ac_cpp='$CPP $CPPFLAGS'
46705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
46714 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
46716 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
46717 for ac_func in fpclass
46718 do :
46719 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
46720 if test "x$ac_cv_func_fpclass" = x""yes; then :
46721 cat >>confdefs.h <<_ACEOF
46722 #define HAVE_FPCLASS 1
46723 _ACEOF
46726 done
46728 else
46730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
46731 $as_echo_n "checking for _fpclass declaration... " >&6; }
46732 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
46733 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
46734 $as_echo_n "(cached) " >&6
46735 else
46738 ac_ext=cpp
46739 ac_cpp='$CXXCPP $CPPFLAGS'
46740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46745 /* end confdefs.h. */
46746 #include <math.h>
46747 #ifdef HAVE_IEEEFP_H
46748 #include <ieeefp.h>
46749 #endif
46752 main ()
46754 _fpclass(0);
46756 return 0;
46758 _ACEOF
46759 if ac_fn_cxx_try_compile "$LINENO"; then :
46760 glibcxx_cv_func__fpclass_use=yes
46761 else
46762 glibcxx_cv_func__fpclass_use=no
46764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46765 ac_ext=c
46766 ac_cpp='$CPP $CPPFLAGS'
46767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
46776 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
46778 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
46779 for ac_func in _fpclass
46780 do :
46781 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
46782 if test "x$ac_cv_func__fpclass" = x""yes; then :
46783 cat >>confdefs.h <<_ACEOF
46784 #define HAVE__FPCLASS 1
46785 _ACEOF
46788 done
46797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
46798 $as_echo_n "checking for qfpclass declaration... " >&6; }
46799 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
46800 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
46801 $as_echo_n "(cached) " >&6
46802 else
46805 ac_ext=cpp
46806 ac_cpp='$CXXCPP $CPPFLAGS'
46807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46812 /* end confdefs.h. */
46813 #include <math.h>
46814 #ifdef HAVE_IEEEFP_H
46815 #include <ieeefp.h>
46816 #endif
46819 main ()
46821 qfpclass(0);
46823 return 0;
46825 _ACEOF
46826 if ac_fn_cxx_try_compile "$LINENO"; then :
46827 glibcxx_cv_func_qfpclass_use=yes
46828 else
46829 glibcxx_cv_func_qfpclass_use=no
46831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46832 ac_ext=c
46833 ac_cpp='$CPP $CPPFLAGS'
46834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
46843 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
46845 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
46846 for ac_func in qfpclass
46847 do :
46848 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
46849 if test "x$ac_cv_func_qfpclass" = x""yes; then :
46850 cat >>confdefs.h <<_ACEOF
46851 #define HAVE_QFPCLASS 1
46852 _ACEOF
46855 done
46857 else
46859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
46860 $as_echo_n "checking for _qfpclass declaration... " >&6; }
46861 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
46862 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
46863 $as_echo_n "(cached) " >&6
46864 else
46867 ac_ext=cpp
46868 ac_cpp='$CXXCPP $CPPFLAGS'
46869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46874 /* end confdefs.h. */
46875 #include <math.h>
46876 #ifdef HAVE_IEEEFP_H
46877 #include <ieeefp.h>
46878 #endif
46881 main ()
46883 _qfpclass(0);
46885 return 0;
46887 _ACEOF
46888 if ac_fn_cxx_try_compile "$LINENO"; then :
46889 glibcxx_cv_func__qfpclass_use=yes
46890 else
46891 glibcxx_cv_func__qfpclass_use=no
46893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46894 ac_ext=c
46895 ac_cpp='$CPP $CPPFLAGS'
46896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
46905 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
46907 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
46908 for ac_func in _qfpclass
46909 do :
46910 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
46911 if test "x$ac_cv_func__qfpclass" = x""yes; then :
46912 cat >>confdefs.h <<_ACEOF
46913 #define HAVE__QFPCLASS 1
46914 _ACEOF
46917 done
46926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
46927 $as_echo_n "checking for hypot declaration... " >&6; }
46928 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
46929 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
46930 $as_echo_n "(cached) " >&6
46931 else
46934 ac_ext=cpp
46935 ac_cpp='$CXXCPP $CPPFLAGS'
46936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46941 /* end confdefs.h. */
46942 #include <math.h>
46944 main ()
46946 hypot(0, 0);
46948 return 0;
46950 _ACEOF
46951 if ac_fn_cxx_try_compile "$LINENO"; then :
46952 glibcxx_cv_func_hypot_use=yes
46953 else
46954 glibcxx_cv_func_hypot_use=no
46956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46957 ac_ext=c
46958 ac_cpp='$CPP $CPPFLAGS'
46959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
46968 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
46970 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
46971 for ac_func in hypot
46972 do :
46973 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
46974 if test "x$ac_cv_func_hypot" = x""yes; then :
46975 cat >>confdefs.h <<_ACEOF
46976 #define HAVE_HYPOT 1
46977 _ACEOF
46980 done
46982 else
46984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
46985 $as_echo_n "checking for _hypot declaration... " >&6; }
46986 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
46987 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
46988 $as_echo_n "(cached) " >&6
46989 else
46992 ac_ext=cpp
46993 ac_cpp='$CXXCPP $CPPFLAGS'
46994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46999 /* end confdefs.h. */
47000 #include <math.h>
47002 main ()
47004 _hypot(0, 0);
47006 return 0;
47008 _ACEOF
47009 if ac_fn_cxx_try_compile "$LINENO"; then :
47010 glibcxx_cv_func__hypot_use=yes
47011 else
47012 glibcxx_cv_func__hypot_use=no
47014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47015 ac_ext=c
47016 ac_cpp='$CPP $CPPFLAGS'
47017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
47026 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
47028 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
47029 for ac_func in _hypot
47030 do :
47031 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
47032 if test "x$ac_cv_func__hypot" = x""yes; then :
47033 cat >>confdefs.h <<_ACEOF
47034 #define HAVE__HYPOT 1
47035 _ACEOF
47038 done
47047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
47048 $as_echo_n "checking for float trig functions... " >&6; }
47049 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
47050 $as_echo_n "(cached) " >&6
47051 else
47054 ac_ext=cpp
47055 ac_cpp='$CXXCPP $CPPFLAGS'
47056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47061 /* end confdefs.h. */
47062 #include <math.h>
47064 main ()
47066 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
47068 return 0;
47070 _ACEOF
47071 if ac_fn_cxx_try_compile "$LINENO"; then :
47072 glibcxx_cv_func_float_trig_use=yes
47073 else
47074 glibcxx_cv_func_float_trig_use=no
47076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47077 ac_ext=c
47078 ac_cpp='$CPP $CPPFLAGS'
47079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
47086 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
47087 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
47088 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
47089 do :
47090 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47091 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47092 eval as_val=\$$as_ac_var
47093 if test "x$as_val" = x""yes; then :
47094 cat >>confdefs.h <<_ACEOF
47095 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47096 _ACEOF
47099 done
47101 else
47102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
47103 $as_echo_n "checking for _float trig functions... " >&6; }
47104 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
47105 $as_echo_n "(cached) " >&6
47106 else
47109 ac_ext=cpp
47110 ac_cpp='$CXXCPP $CPPFLAGS'
47111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47116 /* end confdefs.h. */
47117 #include <math.h>
47119 main ()
47121 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
47123 return 0;
47125 _ACEOF
47126 if ac_fn_cxx_try_compile "$LINENO"; then :
47127 glibcxx_cv_func__float_trig_use=yes
47128 else
47129 glibcxx_cv_func__float_trig_use=no
47131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47132 ac_ext=c
47133 ac_cpp='$CPP $CPPFLAGS'
47134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
47141 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
47142 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
47143 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
47144 do :
47145 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47146 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47147 eval as_val=\$$as_ac_var
47148 if test "x$as_val" = x""yes; then :
47149 cat >>confdefs.h <<_ACEOF
47150 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47151 _ACEOF
47154 done
47163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
47164 $as_echo_n "checking for float round functions... " >&6; }
47165 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
47166 $as_echo_n "(cached) " >&6
47167 else
47170 ac_ext=cpp
47171 ac_cpp='$CXXCPP $CPPFLAGS'
47172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47177 /* end confdefs.h. */
47178 #include <math.h>
47180 main ()
47182 ceilf (0); floorf (0);
47184 return 0;
47186 _ACEOF
47187 if ac_fn_cxx_try_compile "$LINENO"; then :
47188 glibcxx_cv_func_float_round_use=yes
47189 else
47190 glibcxx_cv_func_float_round_use=no
47192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47193 ac_ext=c
47194 ac_cpp='$CPP $CPPFLAGS'
47195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
47202 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
47203 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
47204 for ac_func in ceilf floorf
47205 do :
47206 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47207 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47208 eval as_val=\$$as_ac_var
47209 if test "x$as_val" = x""yes; then :
47210 cat >>confdefs.h <<_ACEOF
47211 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47212 _ACEOF
47215 done
47217 else
47218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
47219 $as_echo_n "checking for _float round functions... " >&6; }
47220 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
47221 $as_echo_n "(cached) " >&6
47222 else
47225 ac_ext=cpp
47226 ac_cpp='$CXXCPP $CPPFLAGS'
47227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47232 /* end confdefs.h. */
47233 #include <math.h>
47235 main ()
47237 _ceilf (0); _floorf (0);
47239 return 0;
47241 _ACEOF
47242 if ac_fn_cxx_try_compile "$LINENO"; then :
47243 glibcxx_cv_func__float_round_use=yes
47244 else
47245 glibcxx_cv_func__float_round_use=no
47247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47248 ac_ext=c
47249 ac_cpp='$CPP $CPPFLAGS'
47250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
47257 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
47258 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
47259 for ac_func in _ceilf _floorf
47260 do :
47261 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47262 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47263 eval as_val=\$$as_ac_var
47264 if test "x$as_val" = x""yes; then :
47265 cat >>confdefs.h <<_ACEOF
47266 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47267 _ACEOF
47270 done
47280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
47281 $as_echo_n "checking for expf declaration... " >&6; }
47282 if test x${glibcxx_cv_func_expf_use+set} != xset; then
47283 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
47284 $as_echo_n "(cached) " >&6
47285 else
47288 ac_ext=cpp
47289 ac_cpp='$CXXCPP $CPPFLAGS'
47290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47295 /* end confdefs.h. */
47296 #include <math.h>
47297 #ifdef HAVE_IEEEFP_H
47298 #include <ieeefp.h>
47299 #endif
47302 main ()
47304 expf(0);
47306 return 0;
47308 _ACEOF
47309 if ac_fn_cxx_try_compile "$LINENO"; then :
47310 glibcxx_cv_func_expf_use=yes
47311 else
47312 glibcxx_cv_func_expf_use=no
47314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47315 ac_ext=c
47316 ac_cpp='$CPP $CPPFLAGS'
47317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
47326 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
47328 if test x$glibcxx_cv_func_expf_use = x"yes"; then
47329 for ac_func in expf
47330 do :
47331 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
47332 if test "x$ac_cv_func_expf" = x""yes; then :
47333 cat >>confdefs.h <<_ACEOF
47334 #define HAVE_EXPF 1
47335 _ACEOF
47338 done
47340 else
47342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
47343 $as_echo_n "checking for _expf declaration... " >&6; }
47344 if test x${glibcxx_cv_func__expf_use+set} != xset; then
47345 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
47346 $as_echo_n "(cached) " >&6
47347 else
47350 ac_ext=cpp
47351 ac_cpp='$CXXCPP $CPPFLAGS'
47352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47357 /* end confdefs.h. */
47358 #include <math.h>
47359 #ifdef HAVE_IEEEFP_H
47360 #include <ieeefp.h>
47361 #endif
47364 main ()
47366 _expf(0);
47368 return 0;
47370 _ACEOF
47371 if ac_fn_cxx_try_compile "$LINENO"; then :
47372 glibcxx_cv_func__expf_use=yes
47373 else
47374 glibcxx_cv_func__expf_use=no
47376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47377 ac_ext=c
47378 ac_cpp='$CPP $CPPFLAGS'
47379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
47388 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
47390 if test x$glibcxx_cv_func__expf_use = x"yes"; then
47391 for ac_func in _expf
47392 do :
47393 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
47394 if test "x$ac_cv_func__expf" = x""yes; then :
47395 cat >>confdefs.h <<_ACEOF
47396 #define HAVE__EXPF 1
47397 _ACEOF
47400 done
47409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
47410 $as_echo_n "checking for isnanf declaration... " >&6; }
47411 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
47412 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
47413 $as_echo_n "(cached) " >&6
47414 else
47417 ac_ext=cpp
47418 ac_cpp='$CXXCPP $CPPFLAGS'
47419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47424 /* end confdefs.h. */
47425 #include <math.h>
47426 #ifdef HAVE_IEEEFP_H
47427 #include <ieeefp.h>
47428 #endif
47431 main ()
47433 isnanf(0);
47435 return 0;
47437 _ACEOF
47438 if ac_fn_cxx_try_compile "$LINENO"; then :
47439 glibcxx_cv_func_isnanf_use=yes
47440 else
47441 glibcxx_cv_func_isnanf_use=no
47443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47444 ac_ext=c
47445 ac_cpp='$CPP $CPPFLAGS'
47446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
47455 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
47457 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
47458 for ac_func in isnanf
47459 do :
47460 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
47461 if test "x$ac_cv_func_isnanf" = x""yes; then :
47462 cat >>confdefs.h <<_ACEOF
47463 #define HAVE_ISNANF 1
47464 _ACEOF
47467 done
47469 else
47471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
47472 $as_echo_n "checking for _isnanf declaration... " >&6; }
47473 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
47474 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
47475 $as_echo_n "(cached) " >&6
47476 else
47479 ac_ext=cpp
47480 ac_cpp='$CXXCPP $CPPFLAGS'
47481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47486 /* end confdefs.h. */
47487 #include <math.h>
47488 #ifdef HAVE_IEEEFP_H
47489 #include <ieeefp.h>
47490 #endif
47493 main ()
47495 _isnanf(0);
47497 return 0;
47499 _ACEOF
47500 if ac_fn_cxx_try_compile "$LINENO"; then :
47501 glibcxx_cv_func__isnanf_use=yes
47502 else
47503 glibcxx_cv_func__isnanf_use=no
47505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47506 ac_ext=c
47507 ac_cpp='$CPP $CPPFLAGS'
47508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
47517 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
47519 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
47520 for ac_func in _isnanf
47521 do :
47522 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
47523 if test "x$ac_cv_func__isnanf" = x""yes; then :
47524 cat >>confdefs.h <<_ACEOF
47525 #define HAVE__ISNANF 1
47526 _ACEOF
47529 done
47538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
47539 $as_echo_n "checking for isinff declaration... " >&6; }
47540 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
47541 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
47542 $as_echo_n "(cached) " >&6
47543 else
47546 ac_ext=cpp
47547 ac_cpp='$CXXCPP $CPPFLAGS'
47548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47553 /* end confdefs.h. */
47554 #include <math.h>
47555 #ifdef HAVE_IEEEFP_H
47556 #include <ieeefp.h>
47557 #endif
47560 main ()
47562 isinff(0);
47564 return 0;
47566 _ACEOF
47567 if ac_fn_cxx_try_compile "$LINENO"; then :
47568 glibcxx_cv_func_isinff_use=yes
47569 else
47570 glibcxx_cv_func_isinff_use=no
47572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47573 ac_ext=c
47574 ac_cpp='$CPP $CPPFLAGS'
47575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
47584 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
47586 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
47587 for ac_func in isinff
47588 do :
47589 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
47590 if test "x$ac_cv_func_isinff" = x""yes; then :
47591 cat >>confdefs.h <<_ACEOF
47592 #define HAVE_ISINFF 1
47593 _ACEOF
47596 done
47598 else
47600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
47601 $as_echo_n "checking for _isinff declaration... " >&6; }
47602 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
47603 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
47604 $as_echo_n "(cached) " >&6
47605 else
47608 ac_ext=cpp
47609 ac_cpp='$CXXCPP $CPPFLAGS'
47610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47615 /* end confdefs.h. */
47616 #include <math.h>
47617 #ifdef HAVE_IEEEFP_H
47618 #include <ieeefp.h>
47619 #endif
47622 main ()
47624 _isinff(0);
47626 return 0;
47628 _ACEOF
47629 if ac_fn_cxx_try_compile "$LINENO"; then :
47630 glibcxx_cv_func__isinff_use=yes
47631 else
47632 glibcxx_cv_func__isinff_use=no
47634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47635 ac_ext=c
47636 ac_cpp='$CPP $CPPFLAGS'
47637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
47646 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
47648 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
47649 for ac_func in _isinff
47650 do :
47651 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
47652 if test "x$ac_cv_func__isinff" = x""yes; then :
47653 cat >>confdefs.h <<_ACEOF
47654 #define HAVE__ISINFF 1
47655 _ACEOF
47658 done
47667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
47668 $as_echo_n "checking for atan2f declaration... " >&6; }
47669 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
47670 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
47671 $as_echo_n "(cached) " >&6
47672 else
47675 ac_ext=cpp
47676 ac_cpp='$CXXCPP $CPPFLAGS'
47677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47682 /* end confdefs.h. */
47683 #include <math.h>
47685 main ()
47687 atan2f(0, 0);
47689 return 0;
47691 _ACEOF
47692 if ac_fn_cxx_try_compile "$LINENO"; then :
47693 glibcxx_cv_func_atan2f_use=yes
47694 else
47695 glibcxx_cv_func_atan2f_use=no
47697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47698 ac_ext=c
47699 ac_cpp='$CPP $CPPFLAGS'
47700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
47709 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
47711 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
47712 for ac_func in atan2f
47713 do :
47714 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
47715 if test "x$ac_cv_func_atan2f" = x""yes; then :
47716 cat >>confdefs.h <<_ACEOF
47717 #define HAVE_ATAN2F 1
47718 _ACEOF
47721 done
47723 else
47725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
47726 $as_echo_n "checking for _atan2f declaration... " >&6; }
47727 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
47728 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
47729 $as_echo_n "(cached) " >&6
47730 else
47733 ac_ext=cpp
47734 ac_cpp='$CXXCPP $CPPFLAGS'
47735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47740 /* end confdefs.h. */
47741 #include <math.h>
47743 main ()
47745 _atan2f(0, 0);
47747 return 0;
47749 _ACEOF
47750 if ac_fn_cxx_try_compile "$LINENO"; then :
47751 glibcxx_cv_func__atan2f_use=yes
47752 else
47753 glibcxx_cv_func__atan2f_use=no
47755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47756 ac_ext=c
47757 ac_cpp='$CPP $CPPFLAGS'
47758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
47767 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
47769 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
47770 for ac_func in _atan2f
47771 do :
47772 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
47773 if test "x$ac_cv_func__atan2f" = x""yes; then :
47774 cat >>confdefs.h <<_ACEOF
47775 #define HAVE__ATAN2F 1
47776 _ACEOF
47779 done
47788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
47789 $as_echo_n "checking for fabsf declaration... " >&6; }
47790 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
47791 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
47792 $as_echo_n "(cached) " >&6
47793 else
47796 ac_ext=cpp
47797 ac_cpp='$CXXCPP $CPPFLAGS'
47798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47803 /* end confdefs.h. */
47804 #include <math.h>
47805 #ifdef HAVE_IEEEFP_H
47806 #include <ieeefp.h>
47807 #endif
47810 main ()
47812 fabsf(0);
47814 return 0;
47816 _ACEOF
47817 if ac_fn_cxx_try_compile "$LINENO"; then :
47818 glibcxx_cv_func_fabsf_use=yes
47819 else
47820 glibcxx_cv_func_fabsf_use=no
47822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47823 ac_ext=c
47824 ac_cpp='$CPP $CPPFLAGS'
47825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
47834 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
47836 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
47837 for ac_func in fabsf
47838 do :
47839 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
47840 if test "x$ac_cv_func_fabsf" = x""yes; then :
47841 cat >>confdefs.h <<_ACEOF
47842 #define HAVE_FABSF 1
47843 _ACEOF
47846 done
47848 else
47850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
47851 $as_echo_n "checking for _fabsf declaration... " >&6; }
47852 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
47853 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
47854 $as_echo_n "(cached) " >&6
47855 else
47858 ac_ext=cpp
47859 ac_cpp='$CXXCPP $CPPFLAGS'
47860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47865 /* end confdefs.h. */
47866 #include <math.h>
47867 #ifdef HAVE_IEEEFP_H
47868 #include <ieeefp.h>
47869 #endif
47872 main ()
47874 _fabsf(0);
47876 return 0;
47878 _ACEOF
47879 if ac_fn_cxx_try_compile "$LINENO"; then :
47880 glibcxx_cv_func__fabsf_use=yes
47881 else
47882 glibcxx_cv_func__fabsf_use=no
47884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47885 ac_ext=c
47886 ac_cpp='$CPP $CPPFLAGS'
47887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
47896 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
47898 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
47899 for ac_func in _fabsf
47900 do :
47901 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
47902 if test "x$ac_cv_func__fabsf" = x""yes; then :
47903 cat >>confdefs.h <<_ACEOF
47904 #define HAVE__FABSF 1
47905 _ACEOF
47908 done
47917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
47918 $as_echo_n "checking for fmodf declaration... " >&6; }
47919 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
47920 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
47921 $as_echo_n "(cached) " >&6
47922 else
47925 ac_ext=cpp
47926 ac_cpp='$CXXCPP $CPPFLAGS'
47927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47932 /* end confdefs.h. */
47933 #include <math.h>
47935 main ()
47937 fmodf(0, 0);
47939 return 0;
47941 _ACEOF
47942 if ac_fn_cxx_try_compile "$LINENO"; then :
47943 glibcxx_cv_func_fmodf_use=yes
47944 else
47945 glibcxx_cv_func_fmodf_use=no
47947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47948 ac_ext=c
47949 ac_cpp='$CPP $CPPFLAGS'
47950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
47959 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
47961 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
47962 for ac_func in fmodf
47963 do :
47964 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
47965 if test "x$ac_cv_func_fmodf" = x""yes; then :
47966 cat >>confdefs.h <<_ACEOF
47967 #define HAVE_FMODF 1
47968 _ACEOF
47971 done
47973 else
47975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
47976 $as_echo_n "checking for _fmodf declaration... " >&6; }
47977 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
47978 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
47979 $as_echo_n "(cached) " >&6
47980 else
47983 ac_ext=cpp
47984 ac_cpp='$CXXCPP $CPPFLAGS'
47985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47990 /* end confdefs.h. */
47991 #include <math.h>
47993 main ()
47995 _fmodf(0, 0);
47997 return 0;
47999 _ACEOF
48000 if ac_fn_cxx_try_compile "$LINENO"; then :
48001 glibcxx_cv_func__fmodf_use=yes
48002 else
48003 glibcxx_cv_func__fmodf_use=no
48005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48006 ac_ext=c
48007 ac_cpp='$CPP $CPPFLAGS'
48008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
48017 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
48019 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
48020 for ac_func in _fmodf
48021 do :
48022 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
48023 if test "x$ac_cv_func__fmodf" = x""yes; then :
48024 cat >>confdefs.h <<_ACEOF
48025 #define HAVE__FMODF 1
48026 _ACEOF
48029 done
48038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
48039 $as_echo_n "checking for frexpf declaration... " >&6; }
48040 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
48041 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
48042 $as_echo_n "(cached) " >&6
48043 else
48046 ac_ext=cpp
48047 ac_cpp='$CXXCPP $CPPFLAGS'
48048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48053 /* end confdefs.h. */
48054 #include <math.h>
48056 main ()
48058 frexpf(0, 0);
48060 return 0;
48062 _ACEOF
48063 if ac_fn_cxx_try_compile "$LINENO"; then :
48064 glibcxx_cv_func_frexpf_use=yes
48065 else
48066 glibcxx_cv_func_frexpf_use=no
48068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48069 ac_ext=c
48070 ac_cpp='$CPP $CPPFLAGS'
48071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
48080 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
48082 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
48083 for ac_func in frexpf
48084 do :
48085 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
48086 if test "x$ac_cv_func_frexpf" = x""yes; then :
48087 cat >>confdefs.h <<_ACEOF
48088 #define HAVE_FREXPF 1
48089 _ACEOF
48092 done
48094 else
48096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
48097 $as_echo_n "checking for _frexpf declaration... " >&6; }
48098 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
48099 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
48100 $as_echo_n "(cached) " >&6
48101 else
48104 ac_ext=cpp
48105 ac_cpp='$CXXCPP $CPPFLAGS'
48106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48111 /* end confdefs.h. */
48112 #include <math.h>
48114 main ()
48116 _frexpf(0, 0);
48118 return 0;
48120 _ACEOF
48121 if ac_fn_cxx_try_compile "$LINENO"; then :
48122 glibcxx_cv_func__frexpf_use=yes
48123 else
48124 glibcxx_cv_func__frexpf_use=no
48126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48127 ac_ext=c
48128 ac_cpp='$CPP $CPPFLAGS'
48129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
48138 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
48140 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
48141 for ac_func in _frexpf
48142 do :
48143 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
48144 if test "x$ac_cv_func__frexpf" = x""yes; then :
48145 cat >>confdefs.h <<_ACEOF
48146 #define HAVE__FREXPF 1
48147 _ACEOF
48150 done
48159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
48160 $as_echo_n "checking for hypotf declaration... " >&6; }
48161 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
48162 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
48163 $as_echo_n "(cached) " >&6
48164 else
48167 ac_ext=cpp
48168 ac_cpp='$CXXCPP $CPPFLAGS'
48169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48174 /* end confdefs.h. */
48175 #include <math.h>
48177 main ()
48179 hypotf(0, 0);
48181 return 0;
48183 _ACEOF
48184 if ac_fn_cxx_try_compile "$LINENO"; then :
48185 glibcxx_cv_func_hypotf_use=yes
48186 else
48187 glibcxx_cv_func_hypotf_use=no
48189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48190 ac_ext=c
48191 ac_cpp='$CPP $CPPFLAGS'
48192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
48201 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
48203 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
48204 for ac_func in hypotf
48205 do :
48206 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
48207 if test "x$ac_cv_func_hypotf" = x""yes; then :
48208 cat >>confdefs.h <<_ACEOF
48209 #define HAVE_HYPOTF 1
48210 _ACEOF
48213 done
48215 else
48217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
48218 $as_echo_n "checking for _hypotf declaration... " >&6; }
48219 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
48220 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
48221 $as_echo_n "(cached) " >&6
48222 else
48225 ac_ext=cpp
48226 ac_cpp='$CXXCPP $CPPFLAGS'
48227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48232 /* end confdefs.h. */
48233 #include <math.h>
48235 main ()
48237 _hypotf(0, 0);
48239 return 0;
48241 _ACEOF
48242 if ac_fn_cxx_try_compile "$LINENO"; then :
48243 glibcxx_cv_func__hypotf_use=yes
48244 else
48245 glibcxx_cv_func__hypotf_use=no
48247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48248 ac_ext=c
48249 ac_cpp='$CPP $CPPFLAGS'
48250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
48259 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
48261 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
48262 for ac_func in _hypotf
48263 do :
48264 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
48265 if test "x$ac_cv_func__hypotf" = x""yes; then :
48266 cat >>confdefs.h <<_ACEOF
48267 #define HAVE__HYPOTF 1
48268 _ACEOF
48271 done
48280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
48281 $as_echo_n "checking for ldexpf declaration... " >&6; }
48282 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
48283 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
48284 $as_echo_n "(cached) " >&6
48285 else
48288 ac_ext=cpp
48289 ac_cpp='$CXXCPP $CPPFLAGS'
48290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48295 /* end confdefs.h. */
48296 #include <math.h>
48298 main ()
48300 ldexpf(0, 0);
48302 return 0;
48304 _ACEOF
48305 if ac_fn_cxx_try_compile "$LINENO"; then :
48306 glibcxx_cv_func_ldexpf_use=yes
48307 else
48308 glibcxx_cv_func_ldexpf_use=no
48310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48311 ac_ext=c
48312 ac_cpp='$CPP $CPPFLAGS'
48313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
48322 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
48324 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
48325 for ac_func in ldexpf
48326 do :
48327 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
48328 if test "x$ac_cv_func_ldexpf" = x""yes; then :
48329 cat >>confdefs.h <<_ACEOF
48330 #define HAVE_LDEXPF 1
48331 _ACEOF
48334 done
48336 else
48338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
48339 $as_echo_n "checking for _ldexpf declaration... " >&6; }
48340 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
48341 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
48342 $as_echo_n "(cached) " >&6
48343 else
48346 ac_ext=cpp
48347 ac_cpp='$CXXCPP $CPPFLAGS'
48348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48353 /* end confdefs.h. */
48354 #include <math.h>
48356 main ()
48358 _ldexpf(0, 0);
48360 return 0;
48362 _ACEOF
48363 if ac_fn_cxx_try_compile "$LINENO"; then :
48364 glibcxx_cv_func__ldexpf_use=yes
48365 else
48366 glibcxx_cv_func__ldexpf_use=no
48368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48369 ac_ext=c
48370 ac_cpp='$CPP $CPPFLAGS'
48371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
48380 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
48382 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
48383 for ac_func in _ldexpf
48384 do :
48385 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
48386 if test "x$ac_cv_func__ldexpf" = x""yes; then :
48387 cat >>confdefs.h <<_ACEOF
48388 #define HAVE__LDEXPF 1
48389 _ACEOF
48392 done
48401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
48402 $as_echo_n "checking for logf declaration... " >&6; }
48403 if test x${glibcxx_cv_func_logf_use+set} != xset; then
48404 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
48405 $as_echo_n "(cached) " >&6
48406 else
48409 ac_ext=cpp
48410 ac_cpp='$CXXCPP $CPPFLAGS'
48411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48416 /* end confdefs.h. */
48417 #include <math.h>
48418 #ifdef HAVE_IEEEFP_H
48419 #include <ieeefp.h>
48420 #endif
48423 main ()
48425 logf(0);
48427 return 0;
48429 _ACEOF
48430 if ac_fn_cxx_try_compile "$LINENO"; then :
48431 glibcxx_cv_func_logf_use=yes
48432 else
48433 glibcxx_cv_func_logf_use=no
48435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48436 ac_ext=c
48437 ac_cpp='$CPP $CPPFLAGS'
48438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
48447 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
48449 if test x$glibcxx_cv_func_logf_use = x"yes"; then
48450 for ac_func in logf
48451 do :
48452 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
48453 if test "x$ac_cv_func_logf" = x""yes; then :
48454 cat >>confdefs.h <<_ACEOF
48455 #define HAVE_LOGF 1
48456 _ACEOF
48459 done
48461 else
48463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
48464 $as_echo_n "checking for _logf declaration... " >&6; }
48465 if test x${glibcxx_cv_func__logf_use+set} != xset; then
48466 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
48467 $as_echo_n "(cached) " >&6
48468 else
48471 ac_ext=cpp
48472 ac_cpp='$CXXCPP $CPPFLAGS'
48473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48478 /* end confdefs.h. */
48479 #include <math.h>
48480 #ifdef HAVE_IEEEFP_H
48481 #include <ieeefp.h>
48482 #endif
48485 main ()
48487 _logf(0);
48489 return 0;
48491 _ACEOF
48492 if ac_fn_cxx_try_compile "$LINENO"; then :
48493 glibcxx_cv_func__logf_use=yes
48494 else
48495 glibcxx_cv_func__logf_use=no
48497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48498 ac_ext=c
48499 ac_cpp='$CPP $CPPFLAGS'
48500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
48509 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
48511 if test x$glibcxx_cv_func__logf_use = x"yes"; then
48512 for ac_func in _logf
48513 do :
48514 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
48515 if test "x$ac_cv_func__logf" = x""yes; then :
48516 cat >>confdefs.h <<_ACEOF
48517 #define HAVE__LOGF 1
48518 _ACEOF
48521 done
48530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
48531 $as_echo_n "checking for log10f declaration... " >&6; }
48532 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
48533 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
48534 $as_echo_n "(cached) " >&6
48535 else
48538 ac_ext=cpp
48539 ac_cpp='$CXXCPP $CPPFLAGS'
48540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48545 /* end confdefs.h. */
48546 #include <math.h>
48547 #ifdef HAVE_IEEEFP_H
48548 #include <ieeefp.h>
48549 #endif
48552 main ()
48554 log10f(0);
48556 return 0;
48558 _ACEOF
48559 if ac_fn_cxx_try_compile "$LINENO"; then :
48560 glibcxx_cv_func_log10f_use=yes
48561 else
48562 glibcxx_cv_func_log10f_use=no
48564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48565 ac_ext=c
48566 ac_cpp='$CPP $CPPFLAGS'
48567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
48576 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
48578 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
48579 for ac_func in log10f
48580 do :
48581 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
48582 if test "x$ac_cv_func_log10f" = x""yes; then :
48583 cat >>confdefs.h <<_ACEOF
48584 #define HAVE_LOG10F 1
48585 _ACEOF
48588 done
48590 else
48592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
48593 $as_echo_n "checking for _log10f declaration... " >&6; }
48594 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
48595 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
48596 $as_echo_n "(cached) " >&6
48597 else
48600 ac_ext=cpp
48601 ac_cpp='$CXXCPP $CPPFLAGS'
48602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48607 /* end confdefs.h. */
48608 #include <math.h>
48609 #ifdef HAVE_IEEEFP_H
48610 #include <ieeefp.h>
48611 #endif
48614 main ()
48616 _log10f(0);
48618 return 0;
48620 _ACEOF
48621 if ac_fn_cxx_try_compile "$LINENO"; then :
48622 glibcxx_cv_func__log10f_use=yes
48623 else
48624 glibcxx_cv_func__log10f_use=no
48626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48627 ac_ext=c
48628 ac_cpp='$CPP $CPPFLAGS'
48629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
48638 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
48640 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
48641 for ac_func in _log10f
48642 do :
48643 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
48644 if test "x$ac_cv_func__log10f" = x""yes; then :
48645 cat >>confdefs.h <<_ACEOF
48646 #define HAVE__LOG10F 1
48647 _ACEOF
48650 done
48659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
48660 $as_echo_n "checking for modff declaration... " >&6; }
48661 if test x${glibcxx_cv_func_modff_use+set} != xset; then
48662 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
48663 $as_echo_n "(cached) " >&6
48664 else
48667 ac_ext=cpp
48668 ac_cpp='$CXXCPP $CPPFLAGS'
48669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48674 /* end confdefs.h. */
48675 #include <math.h>
48677 main ()
48679 modff(0, 0);
48681 return 0;
48683 _ACEOF
48684 if ac_fn_cxx_try_compile "$LINENO"; then :
48685 glibcxx_cv_func_modff_use=yes
48686 else
48687 glibcxx_cv_func_modff_use=no
48689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48690 ac_ext=c
48691 ac_cpp='$CPP $CPPFLAGS'
48692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
48701 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
48703 if test x$glibcxx_cv_func_modff_use = x"yes"; then
48704 for ac_func in modff
48705 do :
48706 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
48707 if test "x$ac_cv_func_modff" = x""yes; then :
48708 cat >>confdefs.h <<_ACEOF
48709 #define HAVE_MODFF 1
48710 _ACEOF
48713 done
48715 else
48717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
48718 $as_echo_n "checking for _modff declaration... " >&6; }
48719 if test x${glibcxx_cv_func__modff_use+set} != xset; then
48720 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
48721 $as_echo_n "(cached) " >&6
48722 else
48725 ac_ext=cpp
48726 ac_cpp='$CXXCPP $CPPFLAGS'
48727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48732 /* end confdefs.h. */
48733 #include <math.h>
48735 main ()
48737 _modff(0, 0);
48739 return 0;
48741 _ACEOF
48742 if ac_fn_cxx_try_compile "$LINENO"; then :
48743 glibcxx_cv_func__modff_use=yes
48744 else
48745 glibcxx_cv_func__modff_use=no
48747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48748 ac_ext=c
48749 ac_cpp='$CPP $CPPFLAGS'
48750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
48759 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
48761 if test x$glibcxx_cv_func__modff_use = x"yes"; then
48762 for ac_func in _modff
48763 do :
48764 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
48765 if test "x$ac_cv_func__modff" = x""yes; then :
48766 cat >>confdefs.h <<_ACEOF
48767 #define HAVE__MODFF 1
48768 _ACEOF
48771 done
48780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
48781 $as_echo_n "checking for modf declaration... " >&6; }
48782 if test x${glibcxx_cv_func_modf_use+set} != xset; then
48783 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
48784 $as_echo_n "(cached) " >&6
48785 else
48788 ac_ext=cpp
48789 ac_cpp='$CXXCPP $CPPFLAGS'
48790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48795 /* end confdefs.h. */
48796 #include <math.h>
48798 main ()
48800 modf(0, 0);
48802 return 0;
48804 _ACEOF
48805 if ac_fn_cxx_try_compile "$LINENO"; then :
48806 glibcxx_cv_func_modf_use=yes
48807 else
48808 glibcxx_cv_func_modf_use=no
48810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48811 ac_ext=c
48812 ac_cpp='$CPP $CPPFLAGS'
48813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
48822 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
48824 if test x$glibcxx_cv_func_modf_use = x"yes"; then
48825 for ac_func in modf
48826 do :
48827 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
48828 if test "x$ac_cv_func_modf" = x""yes; then :
48829 cat >>confdefs.h <<_ACEOF
48830 #define HAVE_MODF 1
48831 _ACEOF
48834 done
48836 else
48838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
48839 $as_echo_n "checking for _modf declaration... " >&6; }
48840 if test x${glibcxx_cv_func__modf_use+set} != xset; then
48841 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
48842 $as_echo_n "(cached) " >&6
48843 else
48846 ac_ext=cpp
48847 ac_cpp='$CXXCPP $CPPFLAGS'
48848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48853 /* end confdefs.h. */
48854 #include <math.h>
48856 main ()
48858 _modf(0, 0);
48860 return 0;
48862 _ACEOF
48863 if ac_fn_cxx_try_compile "$LINENO"; then :
48864 glibcxx_cv_func__modf_use=yes
48865 else
48866 glibcxx_cv_func__modf_use=no
48868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48869 ac_ext=c
48870 ac_cpp='$CPP $CPPFLAGS'
48871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
48880 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
48882 if test x$glibcxx_cv_func__modf_use = x"yes"; then
48883 for ac_func in _modf
48884 do :
48885 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
48886 if test "x$ac_cv_func__modf" = x""yes; then :
48887 cat >>confdefs.h <<_ACEOF
48888 #define HAVE__MODF 1
48889 _ACEOF
48892 done
48901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
48902 $as_echo_n "checking for powf declaration... " >&6; }
48903 if test x${glibcxx_cv_func_powf_use+set} != xset; then
48904 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
48905 $as_echo_n "(cached) " >&6
48906 else
48909 ac_ext=cpp
48910 ac_cpp='$CXXCPP $CPPFLAGS'
48911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48916 /* end confdefs.h. */
48917 #include <math.h>
48919 main ()
48921 powf(0, 0);
48923 return 0;
48925 _ACEOF
48926 if ac_fn_cxx_try_compile "$LINENO"; then :
48927 glibcxx_cv_func_powf_use=yes
48928 else
48929 glibcxx_cv_func_powf_use=no
48931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48932 ac_ext=c
48933 ac_cpp='$CPP $CPPFLAGS'
48934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
48943 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
48945 if test x$glibcxx_cv_func_powf_use = x"yes"; then
48946 for ac_func in powf
48947 do :
48948 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
48949 if test "x$ac_cv_func_powf" = x""yes; then :
48950 cat >>confdefs.h <<_ACEOF
48951 #define HAVE_POWF 1
48952 _ACEOF
48955 done
48957 else
48959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
48960 $as_echo_n "checking for _powf declaration... " >&6; }
48961 if test x${glibcxx_cv_func__powf_use+set} != xset; then
48962 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
48963 $as_echo_n "(cached) " >&6
48964 else
48967 ac_ext=cpp
48968 ac_cpp='$CXXCPP $CPPFLAGS'
48969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48974 /* end confdefs.h. */
48975 #include <math.h>
48977 main ()
48979 _powf(0, 0);
48981 return 0;
48983 _ACEOF
48984 if ac_fn_cxx_try_compile "$LINENO"; then :
48985 glibcxx_cv_func__powf_use=yes
48986 else
48987 glibcxx_cv_func__powf_use=no
48989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48990 ac_ext=c
48991 ac_cpp='$CPP $CPPFLAGS'
48992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
49001 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
49003 if test x$glibcxx_cv_func__powf_use = x"yes"; then
49004 for ac_func in _powf
49005 do :
49006 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
49007 if test "x$ac_cv_func__powf" = x""yes; then :
49008 cat >>confdefs.h <<_ACEOF
49009 #define HAVE__POWF 1
49010 _ACEOF
49013 done
49022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
49023 $as_echo_n "checking for sqrtf declaration... " >&6; }
49024 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
49025 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
49026 $as_echo_n "(cached) " >&6
49027 else
49030 ac_ext=cpp
49031 ac_cpp='$CXXCPP $CPPFLAGS'
49032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49037 /* end confdefs.h. */
49038 #include <math.h>
49039 #ifdef HAVE_IEEEFP_H
49040 #include <ieeefp.h>
49041 #endif
49044 main ()
49046 sqrtf(0);
49048 return 0;
49050 _ACEOF
49051 if ac_fn_cxx_try_compile "$LINENO"; then :
49052 glibcxx_cv_func_sqrtf_use=yes
49053 else
49054 glibcxx_cv_func_sqrtf_use=no
49056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49057 ac_ext=c
49058 ac_cpp='$CPP $CPPFLAGS'
49059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
49068 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
49070 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
49071 for ac_func in sqrtf
49072 do :
49073 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
49074 if test "x$ac_cv_func_sqrtf" = x""yes; then :
49075 cat >>confdefs.h <<_ACEOF
49076 #define HAVE_SQRTF 1
49077 _ACEOF
49080 done
49082 else
49084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
49085 $as_echo_n "checking for _sqrtf declaration... " >&6; }
49086 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
49087 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
49088 $as_echo_n "(cached) " >&6
49089 else
49092 ac_ext=cpp
49093 ac_cpp='$CXXCPP $CPPFLAGS'
49094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49099 /* end confdefs.h. */
49100 #include <math.h>
49101 #ifdef HAVE_IEEEFP_H
49102 #include <ieeefp.h>
49103 #endif
49106 main ()
49108 _sqrtf(0);
49110 return 0;
49112 _ACEOF
49113 if ac_fn_cxx_try_compile "$LINENO"; then :
49114 glibcxx_cv_func__sqrtf_use=yes
49115 else
49116 glibcxx_cv_func__sqrtf_use=no
49118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49119 ac_ext=c
49120 ac_cpp='$CPP $CPPFLAGS'
49121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
49130 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
49132 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
49133 for ac_func in _sqrtf
49134 do :
49135 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
49136 if test "x$ac_cv_func__sqrtf" = x""yes; then :
49137 cat >>confdefs.h <<_ACEOF
49138 #define HAVE__SQRTF 1
49139 _ACEOF
49142 done
49151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
49152 $as_echo_n "checking for sincosf declaration... " >&6; }
49153 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
49154 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
49155 $as_echo_n "(cached) " >&6
49156 else
49159 ac_ext=cpp
49160 ac_cpp='$CXXCPP $CPPFLAGS'
49161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49166 /* end confdefs.h. */
49167 #include <math.h>
49169 main ()
49171 sincosf(0, 0, 0);
49173 return 0;
49175 _ACEOF
49176 if ac_fn_cxx_try_compile "$LINENO"; then :
49177 glibcxx_cv_func_sincosf_use=yes
49178 else
49179 glibcxx_cv_func_sincosf_use=no
49181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49182 ac_ext=c
49183 ac_cpp='$CPP $CPPFLAGS'
49184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
49193 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
49195 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
49196 for ac_func in sincosf
49197 do :
49198 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
49199 if test "x$ac_cv_func_sincosf" = x""yes; then :
49200 cat >>confdefs.h <<_ACEOF
49201 #define HAVE_SINCOSF 1
49202 _ACEOF
49205 done
49207 else
49209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
49210 $as_echo_n "checking for _sincosf declaration... " >&6; }
49211 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
49212 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
49213 $as_echo_n "(cached) " >&6
49214 else
49217 ac_ext=cpp
49218 ac_cpp='$CXXCPP $CPPFLAGS'
49219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49224 /* end confdefs.h. */
49225 #include <math.h>
49227 main ()
49229 _sincosf(0, 0, 0);
49231 return 0;
49233 _ACEOF
49234 if ac_fn_cxx_try_compile "$LINENO"; then :
49235 glibcxx_cv_func__sincosf_use=yes
49236 else
49237 glibcxx_cv_func__sincosf_use=no
49239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49240 ac_ext=c
49241 ac_cpp='$CPP $CPPFLAGS'
49242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
49251 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
49253 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
49254 for ac_func in _sincosf
49255 do :
49256 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
49257 if test "x$ac_cv_func__sincosf" = x""yes; then :
49258 cat >>confdefs.h <<_ACEOF
49259 #define HAVE__SINCOSF 1
49260 _ACEOF
49263 done
49272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
49273 $as_echo_n "checking for finitef declaration... " >&6; }
49274 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
49275 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
49276 $as_echo_n "(cached) " >&6
49277 else
49280 ac_ext=cpp
49281 ac_cpp='$CXXCPP $CPPFLAGS'
49282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49287 /* end confdefs.h. */
49288 #include <math.h>
49289 #ifdef HAVE_IEEEFP_H
49290 #include <ieeefp.h>
49291 #endif
49294 main ()
49296 finitef(0);
49298 return 0;
49300 _ACEOF
49301 if ac_fn_cxx_try_compile "$LINENO"; then :
49302 glibcxx_cv_func_finitef_use=yes
49303 else
49304 glibcxx_cv_func_finitef_use=no
49306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49307 ac_ext=c
49308 ac_cpp='$CPP $CPPFLAGS'
49309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
49318 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
49320 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
49321 for ac_func in finitef
49322 do :
49323 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
49324 if test "x$ac_cv_func_finitef" = x""yes; then :
49325 cat >>confdefs.h <<_ACEOF
49326 #define HAVE_FINITEF 1
49327 _ACEOF
49330 done
49332 else
49334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
49335 $as_echo_n "checking for _finitef declaration... " >&6; }
49336 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
49337 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
49338 $as_echo_n "(cached) " >&6
49339 else
49342 ac_ext=cpp
49343 ac_cpp='$CXXCPP $CPPFLAGS'
49344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49349 /* end confdefs.h. */
49350 #include <math.h>
49351 #ifdef HAVE_IEEEFP_H
49352 #include <ieeefp.h>
49353 #endif
49356 main ()
49358 _finitef(0);
49360 return 0;
49362 _ACEOF
49363 if ac_fn_cxx_try_compile "$LINENO"; then :
49364 glibcxx_cv_func__finitef_use=yes
49365 else
49366 glibcxx_cv_func__finitef_use=no
49368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49369 ac_ext=c
49370 ac_cpp='$CPP $CPPFLAGS'
49371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
49380 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
49382 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
49383 for ac_func in _finitef
49384 do :
49385 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
49386 if test "x$ac_cv_func__finitef" = x""yes; then :
49387 cat >>confdefs.h <<_ACEOF
49388 #define HAVE__FINITEF 1
49389 _ACEOF
49392 done
49401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
49402 $as_echo_n "checking for long double trig functions... " >&6; }
49403 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
49404 $as_echo_n "(cached) " >&6
49405 else
49408 ac_ext=cpp
49409 ac_cpp='$CXXCPP $CPPFLAGS'
49410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49415 /* end confdefs.h. */
49416 #include <math.h>
49418 main ()
49420 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
49422 return 0;
49424 _ACEOF
49425 if ac_fn_cxx_try_compile "$LINENO"; then :
49426 glibcxx_cv_func_long_double_trig_use=yes
49427 else
49428 glibcxx_cv_func_long_double_trig_use=no
49430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49431 ac_ext=c
49432 ac_cpp='$CPP $CPPFLAGS'
49433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
49440 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
49441 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
49442 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
49443 do :
49444 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49445 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49446 eval as_val=\$$as_ac_var
49447 if test "x$as_val" = x""yes; then :
49448 cat >>confdefs.h <<_ACEOF
49449 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49450 _ACEOF
49453 done
49455 else
49456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
49457 $as_echo_n "checking for _long double trig functions... " >&6; }
49458 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
49459 $as_echo_n "(cached) " >&6
49460 else
49463 ac_ext=cpp
49464 ac_cpp='$CXXCPP $CPPFLAGS'
49465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49470 /* end confdefs.h. */
49471 #include <math.h>
49473 main ()
49475 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
49477 return 0;
49479 _ACEOF
49480 if ac_fn_cxx_try_compile "$LINENO"; then :
49481 glibcxx_cv_func__long_double_trig_use=yes
49482 else
49483 glibcxx_cv_func__long_double_trig_use=no
49485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49486 ac_ext=c
49487 ac_cpp='$CPP $CPPFLAGS'
49488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
49495 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
49496 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
49497 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
49498 do :
49499 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49500 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49501 eval as_val=\$$as_ac_var
49502 if test "x$as_val" = x""yes; then :
49503 cat >>confdefs.h <<_ACEOF
49504 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49505 _ACEOF
49508 done
49517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
49518 $as_echo_n "checking for long double round functions... " >&6; }
49519 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
49520 $as_echo_n "(cached) " >&6
49521 else
49524 ac_ext=cpp
49525 ac_cpp='$CXXCPP $CPPFLAGS'
49526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49531 /* end confdefs.h. */
49532 #include <math.h>
49534 main ()
49536 ceill (0); floorl (0);
49538 return 0;
49540 _ACEOF
49541 if ac_fn_cxx_try_compile "$LINENO"; then :
49542 glibcxx_cv_func_long_double_round_use=yes
49543 else
49544 glibcxx_cv_func_long_double_round_use=no
49546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49547 ac_ext=c
49548 ac_cpp='$CPP $CPPFLAGS'
49549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
49556 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
49557 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
49558 for ac_func in ceill floorl
49559 do :
49560 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49561 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49562 eval as_val=\$$as_ac_var
49563 if test "x$as_val" = x""yes; then :
49564 cat >>confdefs.h <<_ACEOF
49565 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49566 _ACEOF
49569 done
49571 else
49572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
49573 $as_echo_n "checking for _long double round functions... " >&6; }
49574 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
49575 $as_echo_n "(cached) " >&6
49576 else
49579 ac_ext=cpp
49580 ac_cpp='$CXXCPP $CPPFLAGS'
49581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49586 /* end confdefs.h. */
49587 #include <math.h>
49589 main ()
49591 _ceill (0); _floorl (0);
49593 return 0;
49595 _ACEOF
49596 if ac_fn_cxx_try_compile "$LINENO"; then :
49597 glibcxx_cv_func__long_double_round_use=yes
49598 else
49599 glibcxx_cv_func__long_double_round_use=no
49601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49602 ac_ext=c
49603 ac_cpp='$CPP $CPPFLAGS'
49604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
49611 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
49612 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
49613 for ac_func in _ceill _floorl
49614 do :
49615 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49616 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49617 eval as_val=\$$as_ac_var
49618 if test "x$as_val" = x""yes; then :
49619 cat >>confdefs.h <<_ACEOF
49620 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49621 _ACEOF
49624 done
49634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
49635 $as_echo_n "checking for isnanl declaration... " >&6; }
49636 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
49637 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
49638 $as_echo_n "(cached) " >&6
49639 else
49642 ac_ext=cpp
49643 ac_cpp='$CXXCPP $CPPFLAGS'
49644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49649 /* end confdefs.h. */
49650 #include <math.h>
49651 #ifdef HAVE_IEEEFP_H
49652 #include <ieeefp.h>
49653 #endif
49656 main ()
49658 isnanl(0);
49660 return 0;
49662 _ACEOF
49663 if ac_fn_cxx_try_compile "$LINENO"; then :
49664 glibcxx_cv_func_isnanl_use=yes
49665 else
49666 glibcxx_cv_func_isnanl_use=no
49668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49669 ac_ext=c
49670 ac_cpp='$CPP $CPPFLAGS'
49671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
49680 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
49682 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
49683 for ac_func in isnanl
49684 do :
49685 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
49686 if test "x$ac_cv_func_isnanl" = x""yes; then :
49687 cat >>confdefs.h <<_ACEOF
49688 #define HAVE_ISNANL 1
49689 _ACEOF
49692 done
49694 else
49696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
49697 $as_echo_n "checking for _isnanl declaration... " >&6; }
49698 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
49699 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
49700 $as_echo_n "(cached) " >&6
49701 else
49704 ac_ext=cpp
49705 ac_cpp='$CXXCPP $CPPFLAGS'
49706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49711 /* end confdefs.h. */
49712 #include <math.h>
49713 #ifdef HAVE_IEEEFP_H
49714 #include <ieeefp.h>
49715 #endif
49718 main ()
49720 _isnanl(0);
49722 return 0;
49724 _ACEOF
49725 if ac_fn_cxx_try_compile "$LINENO"; then :
49726 glibcxx_cv_func__isnanl_use=yes
49727 else
49728 glibcxx_cv_func__isnanl_use=no
49730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49731 ac_ext=c
49732 ac_cpp='$CPP $CPPFLAGS'
49733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
49742 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
49744 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
49745 for ac_func in _isnanl
49746 do :
49747 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
49748 if test "x$ac_cv_func__isnanl" = x""yes; then :
49749 cat >>confdefs.h <<_ACEOF
49750 #define HAVE__ISNANL 1
49751 _ACEOF
49754 done
49763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
49764 $as_echo_n "checking for isinfl declaration... " >&6; }
49765 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
49766 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
49767 $as_echo_n "(cached) " >&6
49768 else
49771 ac_ext=cpp
49772 ac_cpp='$CXXCPP $CPPFLAGS'
49773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49778 /* end confdefs.h. */
49779 #include <math.h>
49780 #ifdef HAVE_IEEEFP_H
49781 #include <ieeefp.h>
49782 #endif
49785 main ()
49787 isinfl(0);
49789 return 0;
49791 _ACEOF
49792 if ac_fn_cxx_try_compile "$LINENO"; then :
49793 glibcxx_cv_func_isinfl_use=yes
49794 else
49795 glibcxx_cv_func_isinfl_use=no
49797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49798 ac_ext=c
49799 ac_cpp='$CPP $CPPFLAGS'
49800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
49809 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
49811 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
49812 for ac_func in isinfl
49813 do :
49814 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
49815 if test "x$ac_cv_func_isinfl" = x""yes; then :
49816 cat >>confdefs.h <<_ACEOF
49817 #define HAVE_ISINFL 1
49818 _ACEOF
49821 done
49823 else
49825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
49826 $as_echo_n "checking for _isinfl declaration... " >&6; }
49827 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
49828 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
49829 $as_echo_n "(cached) " >&6
49830 else
49833 ac_ext=cpp
49834 ac_cpp='$CXXCPP $CPPFLAGS'
49835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49840 /* end confdefs.h. */
49841 #include <math.h>
49842 #ifdef HAVE_IEEEFP_H
49843 #include <ieeefp.h>
49844 #endif
49847 main ()
49849 _isinfl(0);
49851 return 0;
49853 _ACEOF
49854 if ac_fn_cxx_try_compile "$LINENO"; then :
49855 glibcxx_cv_func__isinfl_use=yes
49856 else
49857 glibcxx_cv_func__isinfl_use=no
49859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49860 ac_ext=c
49861 ac_cpp='$CPP $CPPFLAGS'
49862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
49871 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
49873 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
49874 for ac_func in _isinfl
49875 do :
49876 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
49877 if test "x$ac_cv_func__isinfl" = x""yes; then :
49878 cat >>confdefs.h <<_ACEOF
49879 #define HAVE__ISINFL 1
49880 _ACEOF
49883 done
49892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
49893 $as_echo_n "checking for atan2l declaration... " >&6; }
49894 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
49895 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
49896 $as_echo_n "(cached) " >&6
49897 else
49900 ac_ext=cpp
49901 ac_cpp='$CXXCPP $CPPFLAGS'
49902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49907 /* end confdefs.h. */
49908 #include <math.h>
49910 main ()
49912 atan2l(0, 0);
49914 return 0;
49916 _ACEOF
49917 if ac_fn_cxx_try_compile "$LINENO"; then :
49918 glibcxx_cv_func_atan2l_use=yes
49919 else
49920 glibcxx_cv_func_atan2l_use=no
49922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49923 ac_ext=c
49924 ac_cpp='$CPP $CPPFLAGS'
49925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
49934 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
49936 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
49937 for ac_func in atan2l
49938 do :
49939 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
49940 if test "x$ac_cv_func_atan2l" = x""yes; then :
49941 cat >>confdefs.h <<_ACEOF
49942 #define HAVE_ATAN2L 1
49943 _ACEOF
49946 done
49948 else
49950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
49951 $as_echo_n "checking for _atan2l declaration... " >&6; }
49952 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
49953 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
49954 $as_echo_n "(cached) " >&6
49955 else
49958 ac_ext=cpp
49959 ac_cpp='$CXXCPP $CPPFLAGS'
49960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49965 /* end confdefs.h. */
49966 #include <math.h>
49968 main ()
49970 _atan2l(0, 0);
49972 return 0;
49974 _ACEOF
49975 if ac_fn_cxx_try_compile "$LINENO"; then :
49976 glibcxx_cv_func__atan2l_use=yes
49977 else
49978 glibcxx_cv_func__atan2l_use=no
49980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49981 ac_ext=c
49982 ac_cpp='$CPP $CPPFLAGS'
49983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
49992 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
49994 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
49995 for ac_func in _atan2l
49996 do :
49997 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
49998 if test "x$ac_cv_func__atan2l" = x""yes; then :
49999 cat >>confdefs.h <<_ACEOF
50000 #define HAVE__ATAN2L 1
50001 _ACEOF
50004 done
50013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
50014 $as_echo_n "checking for expl declaration... " >&6; }
50015 if test x${glibcxx_cv_func_expl_use+set} != xset; then
50016 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
50017 $as_echo_n "(cached) " >&6
50018 else
50021 ac_ext=cpp
50022 ac_cpp='$CXXCPP $CPPFLAGS'
50023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50028 /* end confdefs.h. */
50029 #include <math.h>
50030 #ifdef HAVE_IEEEFP_H
50031 #include <ieeefp.h>
50032 #endif
50035 main ()
50037 expl(0);
50039 return 0;
50041 _ACEOF
50042 if ac_fn_cxx_try_compile "$LINENO"; then :
50043 glibcxx_cv_func_expl_use=yes
50044 else
50045 glibcxx_cv_func_expl_use=no
50047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50048 ac_ext=c
50049 ac_cpp='$CPP $CPPFLAGS'
50050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
50059 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
50061 if test x$glibcxx_cv_func_expl_use = x"yes"; then
50062 for ac_func in expl
50063 do :
50064 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
50065 if test "x$ac_cv_func_expl" = x""yes; then :
50066 cat >>confdefs.h <<_ACEOF
50067 #define HAVE_EXPL 1
50068 _ACEOF
50071 done
50073 else
50075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
50076 $as_echo_n "checking for _expl declaration... " >&6; }
50077 if test x${glibcxx_cv_func__expl_use+set} != xset; then
50078 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
50079 $as_echo_n "(cached) " >&6
50080 else
50083 ac_ext=cpp
50084 ac_cpp='$CXXCPP $CPPFLAGS'
50085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50090 /* end confdefs.h. */
50091 #include <math.h>
50092 #ifdef HAVE_IEEEFP_H
50093 #include <ieeefp.h>
50094 #endif
50097 main ()
50099 _expl(0);
50101 return 0;
50103 _ACEOF
50104 if ac_fn_cxx_try_compile "$LINENO"; then :
50105 glibcxx_cv_func__expl_use=yes
50106 else
50107 glibcxx_cv_func__expl_use=no
50109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50110 ac_ext=c
50111 ac_cpp='$CPP $CPPFLAGS'
50112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
50121 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
50123 if test x$glibcxx_cv_func__expl_use = x"yes"; then
50124 for ac_func in _expl
50125 do :
50126 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
50127 if test "x$ac_cv_func__expl" = x""yes; then :
50128 cat >>confdefs.h <<_ACEOF
50129 #define HAVE__EXPL 1
50130 _ACEOF
50133 done
50142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
50143 $as_echo_n "checking for fabsl declaration... " >&6; }
50144 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
50145 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
50146 $as_echo_n "(cached) " >&6
50147 else
50150 ac_ext=cpp
50151 ac_cpp='$CXXCPP $CPPFLAGS'
50152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50157 /* end confdefs.h. */
50158 #include <math.h>
50159 #ifdef HAVE_IEEEFP_H
50160 #include <ieeefp.h>
50161 #endif
50164 main ()
50166 fabsl(0);
50168 return 0;
50170 _ACEOF
50171 if ac_fn_cxx_try_compile "$LINENO"; then :
50172 glibcxx_cv_func_fabsl_use=yes
50173 else
50174 glibcxx_cv_func_fabsl_use=no
50176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50177 ac_ext=c
50178 ac_cpp='$CPP $CPPFLAGS'
50179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
50188 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
50190 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
50191 for ac_func in fabsl
50192 do :
50193 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
50194 if test "x$ac_cv_func_fabsl" = x""yes; then :
50195 cat >>confdefs.h <<_ACEOF
50196 #define HAVE_FABSL 1
50197 _ACEOF
50200 done
50202 else
50204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
50205 $as_echo_n "checking for _fabsl declaration... " >&6; }
50206 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
50207 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
50208 $as_echo_n "(cached) " >&6
50209 else
50212 ac_ext=cpp
50213 ac_cpp='$CXXCPP $CPPFLAGS'
50214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50219 /* end confdefs.h. */
50220 #include <math.h>
50221 #ifdef HAVE_IEEEFP_H
50222 #include <ieeefp.h>
50223 #endif
50226 main ()
50228 _fabsl(0);
50230 return 0;
50232 _ACEOF
50233 if ac_fn_cxx_try_compile "$LINENO"; then :
50234 glibcxx_cv_func__fabsl_use=yes
50235 else
50236 glibcxx_cv_func__fabsl_use=no
50238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50239 ac_ext=c
50240 ac_cpp='$CPP $CPPFLAGS'
50241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
50250 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
50252 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
50253 for ac_func in _fabsl
50254 do :
50255 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
50256 if test "x$ac_cv_func__fabsl" = x""yes; then :
50257 cat >>confdefs.h <<_ACEOF
50258 #define HAVE__FABSL 1
50259 _ACEOF
50262 done
50271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
50272 $as_echo_n "checking for fmodl declaration... " >&6; }
50273 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
50274 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
50275 $as_echo_n "(cached) " >&6
50276 else
50279 ac_ext=cpp
50280 ac_cpp='$CXXCPP $CPPFLAGS'
50281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50286 /* end confdefs.h. */
50287 #include <math.h>
50289 main ()
50291 fmodl(0, 0);
50293 return 0;
50295 _ACEOF
50296 if ac_fn_cxx_try_compile "$LINENO"; then :
50297 glibcxx_cv_func_fmodl_use=yes
50298 else
50299 glibcxx_cv_func_fmodl_use=no
50301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50302 ac_ext=c
50303 ac_cpp='$CPP $CPPFLAGS'
50304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
50313 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
50315 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
50316 for ac_func in fmodl
50317 do :
50318 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
50319 if test "x$ac_cv_func_fmodl" = x""yes; then :
50320 cat >>confdefs.h <<_ACEOF
50321 #define HAVE_FMODL 1
50322 _ACEOF
50325 done
50327 else
50329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
50330 $as_echo_n "checking for _fmodl declaration... " >&6; }
50331 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
50332 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
50333 $as_echo_n "(cached) " >&6
50334 else
50337 ac_ext=cpp
50338 ac_cpp='$CXXCPP $CPPFLAGS'
50339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50344 /* end confdefs.h. */
50345 #include <math.h>
50347 main ()
50349 _fmodl(0, 0);
50351 return 0;
50353 _ACEOF
50354 if ac_fn_cxx_try_compile "$LINENO"; then :
50355 glibcxx_cv_func__fmodl_use=yes
50356 else
50357 glibcxx_cv_func__fmodl_use=no
50359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50360 ac_ext=c
50361 ac_cpp='$CPP $CPPFLAGS'
50362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
50371 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
50373 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
50374 for ac_func in _fmodl
50375 do :
50376 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
50377 if test "x$ac_cv_func__fmodl" = x""yes; then :
50378 cat >>confdefs.h <<_ACEOF
50379 #define HAVE__FMODL 1
50380 _ACEOF
50383 done
50392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
50393 $as_echo_n "checking for frexpl declaration... " >&6; }
50394 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
50395 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
50396 $as_echo_n "(cached) " >&6
50397 else
50400 ac_ext=cpp
50401 ac_cpp='$CXXCPP $CPPFLAGS'
50402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50407 /* end confdefs.h. */
50408 #include <math.h>
50410 main ()
50412 frexpl(0, 0);
50414 return 0;
50416 _ACEOF
50417 if ac_fn_cxx_try_compile "$LINENO"; then :
50418 glibcxx_cv_func_frexpl_use=yes
50419 else
50420 glibcxx_cv_func_frexpl_use=no
50422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50423 ac_ext=c
50424 ac_cpp='$CPP $CPPFLAGS'
50425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
50434 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
50436 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
50437 for ac_func in frexpl
50438 do :
50439 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
50440 if test "x$ac_cv_func_frexpl" = x""yes; then :
50441 cat >>confdefs.h <<_ACEOF
50442 #define HAVE_FREXPL 1
50443 _ACEOF
50446 done
50448 else
50450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
50451 $as_echo_n "checking for _frexpl declaration... " >&6; }
50452 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
50453 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
50454 $as_echo_n "(cached) " >&6
50455 else
50458 ac_ext=cpp
50459 ac_cpp='$CXXCPP $CPPFLAGS'
50460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50465 /* end confdefs.h. */
50466 #include <math.h>
50468 main ()
50470 _frexpl(0, 0);
50472 return 0;
50474 _ACEOF
50475 if ac_fn_cxx_try_compile "$LINENO"; then :
50476 glibcxx_cv_func__frexpl_use=yes
50477 else
50478 glibcxx_cv_func__frexpl_use=no
50480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50481 ac_ext=c
50482 ac_cpp='$CPP $CPPFLAGS'
50483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
50492 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
50494 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
50495 for ac_func in _frexpl
50496 do :
50497 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
50498 if test "x$ac_cv_func__frexpl" = x""yes; then :
50499 cat >>confdefs.h <<_ACEOF
50500 #define HAVE__FREXPL 1
50501 _ACEOF
50504 done
50513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
50514 $as_echo_n "checking for hypotl declaration... " >&6; }
50515 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
50516 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
50517 $as_echo_n "(cached) " >&6
50518 else
50521 ac_ext=cpp
50522 ac_cpp='$CXXCPP $CPPFLAGS'
50523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50528 /* end confdefs.h. */
50529 #include <math.h>
50531 main ()
50533 hypotl(0, 0);
50535 return 0;
50537 _ACEOF
50538 if ac_fn_cxx_try_compile "$LINENO"; then :
50539 glibcxx_cv_func_hypotl_use=yes
50540 else
50541 glibcxx_cv_func_hypotl_use=no
50543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50544 ac_ext=c
50545 ac_cpp='$CPP $CPPFLAGS'
50546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
50555 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
50557 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
50558 for ac_func in hypotl
50559 do :
50560 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
50561 if test "x$ac_cv_func_hypotl" = x""yes; then :
50562 cat >>confdefs.h <<_ACEOF
50563 #define HAVE_HYPOTL 1
50564 _ACEOF
50567 done
50569 else
50571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
50572 $as_echo_n "checking for _hypotl declaration... " >&6; }
50573 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
50574 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
50575 $as_echo_n "(cached) " >&6
50576 else
50579 ac_ext=cpp
50580 ac_cpp='$CXXCPP $CPPFLAGS'
50581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50586 /* end confdefs.h. */
50587 #include <math.h>
50589 main ()
50591 _hypotl(0, 0);
50593 return 0;
50595 _ACEOF
50596 if ac_fn_cxx_try_compile "$LINENO"; then :
50597 glibcxx_cv_func__hypotl_use=yes
50598 else
50599 glibcxx_cv_func__hypotl_use=no
50601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50602 ac_ext=c
50603 ac_cpp='$CPP $CPPFLAGS'
50604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
50613 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
50615 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
50616 for ac_func in _hypotl
50617 do :
50618 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
50619 if test "x$ac_cv_func__hypotl" = x""yes; then :
50620 cat >>confdefs.h <<_ACEOF
50621 #define HAVE__HYPOTL 1
50622 _ACEOF
50625 done
50634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
50635 $as_echo_n "checking for ldexpl declaration... " >&6; }
50636 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
50637 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
50638 $as_echo_n "(cached) " >&6
50639 else
50642 ac_ext=cpp
50643 ac_cpp='$CXXCPP $CPPFLAGS'
50644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50649 /* end confdefs.h. */
50650 #include <math.h>
50652 main ()
50654 ldexpl(0, 0);
50656 return 0;
50658 _ACEOF
50659 if ac_fn_cxx_try_compile "$LINENO"; then :
50660 glibcxx_cv_func_ldexpl_use=yes
50661 else
50662 glibcxx_cv_func_ldexpl_use=no
50664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50665 ac_ext=c
50666 ac_cpp='$CPP $CPPFLAGS'
50667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
50676 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
50678 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
50679 for ac_func in ldexpl
50680 do :
50681 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
50682 if test "x$ac_cv_func_ldexpl" = x""yes; then :
50683 cat >>confdefs.h <<_ACEOF
50684 #define HAVE_LDEXPL 1
50685 _ACEOF
50688 done
50690 else
50692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
50693 $as_echo_n "checking for _ldexpl declaration... " >&6; }
50694 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
50695 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
50696 $as_echo_n "(cached) " >&6
50697 else
50700 ac_ext=cpp
50701 ac_cpp='$CXXCPP $CPPFLAGS'
50702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50707 /* end confdefs.h. */
50708 #include <math.h>
50710 main ()
50712 _ldexpl(0, 0);
50714 return 0;
50716 _ACEOF
50717 if ac_fn_cxx_try_compile "$LINENO"; then :
50718 glibcxx_cv_func__ldexpl_use=yes
50719 else
50720 glibcxx_cv_func__ldexpl_use=no
50722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50723 ac_ext=c
50724 ac_cpp='$CPP $CPPFLAGS'
50725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
50734 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
50736 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
50737 for ac_func in _ldexpl
50738 do :
50739 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
50740 if test "x$ac_cv_func__ldexpl" = x""yes; then :
50741 cat >>confdefs.h <<_ACEOF
50742 #define HAVE__LDEXPL 1
50743 _ACEOF
50746 done
50755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
50756 $as_echo_n "checking for logl declaration... " >&6; }
50757 if test x${glibcxx_cv_func_logl_use+set} != xset; then
50758 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
50759 $as_echo_n "(cached) " >&6
50760 else
50763 ac_ext=cpp
50764 ac_cpp='$CXXCPP $CPPFLAGS'
50765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50770 /* end confdefs.h. */
50771 #include <math.h>
50772 #ifdef HAVE_IEEEFP_H
50773 #include <ieeefp.h>
50774 #endif
50777 main ()
50779 logl(0);
50781 return 0;
50783 _ACEOF
50784 if ac_fn_cxx_try_compile "$LINENO"; then :
50785 glibcxx_cv_func_logl_use=yes
50786 else
50787 glibcxx_cv_func_logl_use=no
50789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50790 ac_ext=c
50791 ac_cpp='$CPP $CPPFLAGS'
50792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
50801 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
50803 if test x$glibcxx_cv_func_logl_use = x"yes"; then
50804 for ac_func in logl
50805 do :
50806 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
50807 if test "x$ac_cv_func_logl" = x""yes; then :
50808 cat >>confdefs.h <<_ACEOF
50809 #define HAVE_LOGL 1
50810 _ACEOF
50813 done
50815 else
50817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
50818 $as_echo_n "checking for _logl declaration... " >&6; }
50819 if test x${glibcxx_cv_func__logl_use+set} != xset; then
50820 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
50821 $as_echo_n "(cached) " >&6
50822 else
50825 ac_ext=cpp
50826 ac_cpp='$CXXCPP $CPPFLAGS'
50827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50832 /* end confdefs.h. */
50833 #include <math.h>
50834 #ifdef HAVE_IEEEFP_H
50835 #include <ieeefp.h>
50836 #endif
50839 main ()
50841 _logl(0);
50843 return 0;
50845 _ACEOF
50846 if ac_fn_cxx_try_compile "$LINENO"; then :
50847 glibcxx_cv_func__logl_use=yes
50848 else
50849 glibcxx_cv_func__logl_use=no
50851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50852 ac_ext=c
50853 ac_cpp='$CPP $CPPFLAGS'
50854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
50863 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
50865 if test x$glibcxx_cv_func__logl_use = x"yes"; then
50866 for ac_func in _logl
50867 do :
50868 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
50869 if test "x$ac_cv_func__logl" = x""yes; then :
50870 cat >>confdefs.h <<_ACEOF
50871 #define HAVE__LOGL 1
50872 _ACEOF
50875 done
50884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
50885 $as_echo_n "checking for log10l declaration... " >&6; }
50886 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
50887 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
50888 $as_echo_n "(cached) " >&6
50889 else
50892 ac_ext=cpp
50893 ac_cpp='$CXXCPP $CPPFLAGS'
50894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50899 /* end confdefs.h. */
50900 #include <math.h>
50901 #ifdef HAVE_IEEEFP_H
50902 #include <ieeefp.h>
50903 #endif
50906 main ()
50908 log10l(0);
50910 return 0;
50912 _ACEOF
50913 if ac_fn_cxx_try_compile "$LINENO"; then :
50914 glibcxx_cv_func_log10l_use=yes
50915 else
50916 glibcxx_cv_func_log10l_use=no
50918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50919 ac_ext=c
50920 ac_cpp='$CPP $CPPFLAGS'
50921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
50930 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
50932 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
50933 for ac_func in log10l
50934 do :
50935 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
50936 if test "x$ac_cv_func_log10l" = x""yes; then :
50937 cat >>confdefs.h <<_ACEOF
50938 #define HAVE_LOG10L 1
50939 _ACEOF
50942 done
50944 else
50946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
50947 $as_echo_n "checking for _log10l declaration... " >&6; }
50948 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
50949 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
50950 $as_echo_n "(cached) " >&6
50951 else
50954 ac_ext=cpp
50955 ac_cpp='$CXXCPP $CPPFLAGS'
50956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50961 /* end confdefs.h. */
50962 #include <math.h>
50963 #ifdef HAVE_IEEEFP_H
50964 #include <ieeefp.h>
50965 #endif
50968 main ()
50970 _log10l(0);
50972 return 0;
50974 _ACEOF
50975 if ac_fn_cxx_try_compile "$LINENO"; then :
50976 glibcxx_cv_func__log10l_use=yes
50977 else
50978 glibcxx_cv_func__log10l_use=no
50980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50981 ac_ext=c
50982 ac_cpp='$CPP $CPPFLAGS'
50983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
50992 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
50994 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
50995 for ac_func in _log10l
50996 do :
50997 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
50998 if test "x$ac_cv_func__log10l" = x""yes; then :
50999 cat >>confdefs.h <<_ACEOF
51000 #define HAVE__LOG10L 1
51001 _ACEOF
51004 done
51013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
51014 $as_echo_n "checking for modfl declaration... " >&6; }
51015 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
51016 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
51017 $as_echo_n "(cached) " >&6
51018 else
51021 ac_ext=cpp
51022 ac_cpp='$CXXCPP $CPPFLAGS'
51023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51028 /* end confdefs.h. */
51029 #include <math.h>
51031 main ()
51033 modfl(0, 0);
51035 return 0;
51037 _ACEOF
51038 if ac_fn_cxx_try_compile "$LINENO"; then :
51039 glibcxx_cv_func_modfl_use=yes
51040 else
51041 glibcxx_cv_func_modfl_use=no
51043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51044 ac_ext=c
51045 ac_cpp='$CPP $CPPFLAGS'
51046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
51055 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
51057 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
51058 for ac_func in modfl
51059 do :
51060 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
51061 if test "x$ac_cv_func_modfl" = x""yes; then :
51062 cat >>confdefs.h <<_ACEOF
51063 #define HAVE_MODFL 1
51064 _ACEOF
51067 done
51069 else
51071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
51072 $as_echo_n "checking for _modfl declaration... " >&6; }
51073 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
51074 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
51075 $as_echo_n "(cached) " >&6
51076 else
51079 ac_ext=cpp
51080 ac_cpp='$CXXCPP $CPPFLAGS'
51081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51086 /* end confdefs.h. */
51087 #include <math.h>
51089 main ()
51091 _modfl(0, 0);
51093 return 0;
51095 _ACEOF
51096 if ac_fn_cxx_try_compile "$LINENO"; then :
51097 glibcxx_cv_func__modfl_use=yes
51098 else
51099 glibcxx_cv_func__modfl_use=no
51101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51102 ac_ext=c
51103 ac_cpp='$CPP $CPPFLAGS'
51104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
51113 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
51115 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
51116 for ac_func in _modfl
51117 do :
51118 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
51119 if test "x$ac_cv_func__modfl" = x""yes; then :
51120 cat >>confdefs.h <<_ACEOF
51121 #define HAVE__MODFL 1
51122 _ACEOF
51125 done
51134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
51135 $as_echo_n "checking for powl declaration... " >&6; }
51136 if test x${glibcxx_cv_func_powl_use+set} != xset; then
51137 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
51138 $as_echo_n "(cached) " >&6
51139 else
51142 ac_ext=cpp
51143 ac_cpp='$CXXCPP $CPPFLAGS'
51144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51149 /* end confdefs.h. */
51150 #include <math.h>
51152 main ()
51154 powl(0, 0);
51156 return 0;
51158 _ACEOF
51159 if ac_fn_cxx_try_compile "$LINENO"; then :
51160 glibcxx_cv_func_powl_use=yes
51161 else
51162 glibcxx_cv_func_powl_use=no
51164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51165 ac_ext=c
51166 ac_cpp='$CPP $CPPFLAGS'
51167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
51176 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
51178 if test x$glibcxx_cv_func_powl_use = x"yes"; then
51179 for ac_func in powl
51180 do :
51181 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
51182 if test "x$ac_cv_func_powl" = x""yes; then :
51183 cat >>confdefs.h <<_ACEOF
51184 #define HAVE_POWL 1
51185 _ACEOF
51188 done
51190 else
51192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
51193 $as_echo_n "checking for _powl declaration... " >&6; }
51194 if test x${glibcxx_cv_func__powl_use+set} != xset; then
51195 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
51196 $as_echo_n "(cached) " >&6
51197 else
51200 ac_ext=cpp
51201 ac_cpp='$CXXCPP $CPPFLAGS'
51202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51207 /* end confdefs.h. */
51208 #include <math.h>
51210 main ()
51212 _powl(0, 0);
51214 return 0;
51216 _ACEOF
51217 if ac_fn_cxx_try_compile "$LINENO"; then :
51218 glibcxx_cv_func__powl_use=yes
51219 else
51220 glibcxx_cv_func__powl_use=no
51222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51223 ac_ext=c
51224 ac_cpp='$CPP $CPPFLAGS'
51225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
51234 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
51236 if test x$glibcxx_cv_func__powl_use = x"yes"; then
51237 for ac_func in _powl
51238 do :
51239 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
51240 if test "x$ac_cv_func__powl" = x""yes; then :
51241 cat >>confdefs.h <<_ACEOF
51242 #define HAVE__POWL 1
51243 _ACEOF
51246 done
51255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
51256 $as_echo_n "checking for sqrtl declaration... " >&6; }
51257 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
51258 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
51259 $as_echo_n "(cached) " >&6
51260 else
51263 ac_ext=cpp
51264 ac_cpp='$CXXCPP $CPPFLAGS'
51265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51270 /* end confdefs.h. */
51271 #include <math.h>
51272 #ifdef HAVE_IEEEFP_H
51273 #include <ieeefp.h>
51274 #endif
51277 main ()
51279 sqrtl(0);
51281 return 0;
51283 _ACEOF
51284 if ac_fn_cxx_try_compile "$LINENO"; then :
51285 glibcxx_cv_func_sqrtl_use=yes
51286 else
51287 glibcxx_cv_func_sqrtl_use=no
51289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51290 ac_ext=c
51291 ac_cpp='$CPP $CPPFLAGS'
51292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
51301 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
51303 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
51304 for ac_func in sqrtl
51305 do :
51306 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
51307 if test "x$ac_cv_func_sqrtl" = x""yes; then :
51308 cat >>confdefs.h <<_ACEOF
51309 #define HAVE_SQRTL 1
51310 _ACEOF
51313 done
51315 else
51317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
51318 $as_echo_n "checking for _sqrtl declaration... " >&6; }
51319 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
51320 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
51321 $as_echo_n "(cached) " >&6
51322 else
51325 ac_ext=cpp
51326 ac_cpp='$CXXCPP $CPPFLAGS'
51327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51332 /* end confdefs.h. */
51333 #include <math.h>
51334 #ifdef HAVE_IEEEFP_H
51335 #include <ieeefp.h>
51336 #endif
51339 main ()
51341 _sqrtl(0);
51343 return 0;
51345 _ACEOF
51346 if ac_fn_cxx_try_compile "$LINENO"; then :
51347 glibcxx_cv_func__sqrtl_use=yes
51348 else
51349 glibcxx_cv_func__sqrtl_use=no
51351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51352 ac_ext=c
51353 ac_cpp='$CPP $CPPFLAGS'
51354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
51363 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
51365 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
51366 for ac_func in _sqrtl
51367 do :
51368 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
51369 if test "x$ac_cv_func__sqrtl" = x""yes; then :
51370 cat >>confdefs.h <<_ACEOF
51371 #define HAVE__SQRTL 1
51372 _ACEOF
51375 done
51384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
51385 $as_echo_n "checking for sincosl declaration... " >&6; }
51386 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
51387 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
51388 $as_echo_n "(cached) " >&6
51389 else
51392 ac_ext=cpp
51393 ac_cpp='$CXXCPP $CPPFLAGS'
51394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51399 /* end confdefs.h. */
51400 #include <math.h>
51402 main ()
51404 sincosl(0, 0, 0);
51406 return 0;
51408 _ACEOF
51409 if ac_fn_cxx_try_compile "$LINENO"; then :
51410 glibcxx_cv_func_sincosl_use=yes
51411 else
51412 glibcxx_cv_func_sincosl_use=no
51414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51415 ac_ext=c
51416 ac_cpp='$CPP $CPPFLAGS'
51417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
51426 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
51428 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
51429 for ac_func in sincosl
51430 do :
51431 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
51432 if test "x$ac_cv_func_sincosl" = x""yes; then :
51433 cat >>confdefs.h <<_ACEOF
51434 #define HAVE_SINCOSL 1
51435 _ACEOF
51438 done
51440 else
51442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
51443 $as_echo_n "checking for _sincosl declaration... " >&6; }
51444 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
51445 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
51446 $as_echo_n "(cached) " >&6
51447 else
51450 ac_ext=cpp
51451 ac_cpp='$CXXCPP $CPPFLAGS'
51452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51457 /* end confdefs.h. */
51458 #include <math.h>
51460 main ()
51462 _sincosl(0, 0, 0);
51464 return 0;
51466 _ACEOF
51467 if ac_fn_cxx_try_compile "$LINENO"; then :
51468 glibcxx_cv_func__sincosl_use=yes
51469 else
51470 glibcxx_cv_func__sincosl_use=no
51472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51473 ac_ext=c
51474 ac_cpp='$CPP $CPPFLAGS'
51475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
51484 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
51486 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
51487 for ac_func in _sincosl
51488 do :
51489 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
51490 if test "x$ac_cv_func__sincosl" = x""yes; then :
51491 cat >>confdefs.h <<_ACEOF
51492 #define HAVE__SINCOSL 1
51493 _ACEOF
51496 done
51505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
51506 $as_echo_n "checking for finitel declaration... " >&6; }
51507 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
51508 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
51509 $as_echo_n "(cached) " >&6
51510 else
51513 ac_ext=cpp
51514 ac_cpp='$CXXCPP $CPPFLAGS'
51515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51520 /* end confdefs.h. */
51521 #include <math.h>
51522 #ifdef HAVE_IEEEFP_H
51523 #include <ieeefp.h>
51524 #endif
51527 main ()
51529 finitel(0);
51531 return 0;
51533 _ACEOF
51534 if ac_fn_cxx_try_compile "$LINENO"; then :
51535 glibcxx_cv_func_finitel_use=yes
51536 else
51537 glibcxx_cv_func_finitel_use=no
51539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51540 ac_ext=c
51541 ac_cpp='$CPP $CPPFLAGS'
51542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
51551 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
51553 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
51554 for ac_func in finitel
51555 do :
51556 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
51557 if test "x$ac_cv_func_finitel" = x""yes; then :
51558 cat >>confdefs.h <<_ACEOF
51559 #define HAVE_FINITEL 1
51560 _ACEOF
51563 done
51565 else
51567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
51568 $as_echo_n "checking for _finitel declaration... " >&6; }
51569 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
51570 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
51571 $as_echo_n "(cached) " >&6
51572 else
51575 ac_ext=cpp
51576 ac_cpp='$CXXCPP $CPPFLAGS'
51577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51582 /* end confdefs.h. */
51583 #include <math.h>
51584 #ifdef HAVE_IEEEFP_H
51585 #include <ieeefp.h>
51586 #endif
51589 main ()
51591 _finitel(0);
51593 return 0;
51595 _ACEOF
51596 if ac_fn_cxx_try_compile "$LINENO"; then :
51597 glibcxx_cv_func__finitel_use=yes
51598 else
51599 glibcxx_cv_func__finitel_use=no
51601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51602 ac_ext=c
51603 ac_cpp='$CPP $CPPFLAGS'
51604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
51613 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
51615 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
51616 for ac_func in _finitel
51617 do :
51618 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
51619 if test "x$ac_cv_func__finitel" = x""yes; then :
51620 cat >>confdefs.h <<_ACEOF
51621 #define HAVE__FINITEL 1
51622 _ACEOF
51625 done
51633 LIBS="$ac_save_LIBS"
51634 CXXFLAGS="$ac_save_CXXFLAGS"
51637 ac_test_CXXFLAGS="${CXXFLAGS+set}"
51638 ac_save_CXXFLAGS="$CXXFLAGS"
51639 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
51642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
51643 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
51644 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
51645 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
51646 $as_echo_n "(cached) " >&6
51647 else
51650 ac_ext=cpp
51651 ac_cpp='$CXXCPP $CPPFLAGS'
51652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51657 /* end confdefs.h. */
51658 #include <stdlib.h>
51660 main ()
51662 at_quick_exit(0);
51664 return 0;
51666 _ACEOF
51667 if ac_fn_cxx_try_compile "$LINENO"; then :
51668 glibcxx_cv_func_at_quick_exit_use=yes
51669 else
51670 glibcxx_cv_func_at_quick_exit_use=no
51672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51673 ac_ext=c
51674 ac_cpp='$CPP $CPPFLAGS'
51675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
51684 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
51685 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
51686 for ac_func in at_quick_exit
51687 do :
51688 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
51689 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
51690 cat >>confdefs.h <<_ACEOF
51691 #define HAVE_AT_QUICK_EXIT 1
51692 _ACEOF
51695 done
51700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
51701 $as_echo_n "checking for quick_exit declaration... " >&6; }
51702 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
51703 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
51704 $as_echo_n "(cached) " >&6
51705 else
51708 ac_ext=cpp
51709 ac_cpp='$CXXCPP $CPPFLAGS'
51710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51715 /* end confdefs.h. */
51716 #include <stdlib.h>
51718 main ()
51720 quick_exit(0);
51722 return 0;
51724 _ACEOF
51725 if ac_fn_cxx_try_compile "$LINENO"; then :
51726 glibcxx_cv_func_quick_exit_use=yes
51727 else
51728 glibcxx_cv_func_quick_exit_use=no
51730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51731 ac_ext=c
51732 ac_cpp='$CPP $CPPFLAGS'
51733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
51742 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
51743 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
51744 for ac_func in quick_exit
51745 do :
51746 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
51747 if test "x$ac_cv_func_quick_exit" = x""yes; then :
51748 cat >>confdefs.h <<_ACEOF
51749 #define HAVE_QUICK_EXIT 1
51750 _ACEOF
51753 done
51758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
51759 $as_echo_n "checking for strtold declaration... " >&6; }
51760 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
51761 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
51762 $as_echo_n "(cached) " >&6
51763 else
51766 ac_ext=cpp
51767 ac_cpp='$CXXCPP $CPPFLAGS'
51768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51773 /* end confdefs.h. */
51774 #include <stdlib.h>
51776 main ()
51778 strtold(0, 0);
51780 return 0;
51782 _ACEOF
51783 if ac_fn_cxx_try_compile "$LINENO"; then :
51784 glibcxx_cv_func_strtold_use=yes
51785 else
51786 glibcxx_cv_func_strtold_use=no
51788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51789 ac_ext=c
51790 ac_cpp='$CPP $CPPFLAGS'
51791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
51800 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
51801 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
51802 for ac_func in strtold
51803 do :
51804 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
51805 if test "x$ac_cv_func_strtold" = x""yes; then :
51806 cat >>confdefs.h <<_ACEOF
51807 #define HAVE_STRTOLD 1
51808 _ACEOF
51811 done
51818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
51819 $as_echo_n "checking for strtof declaration... " >&6; }
51820 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
51821 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
51822 $as_echo_n "(cached) " >&6
51823 else
51826 ac_ext=cpp
51827 ac_cpp='$CXXCPP $CPPFLAGS'
51828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51833 /* end confdefs.h. */
51834 #include <stdlib.h>
51836 main ()
51838 strtof(0, 0);
51840 return 0;
51842 _ACEOF
51843 if ac_fn_cxx_try_compile "$LINENO"; then :
51844 glibcxx_cv_func_strtof_use=yes
51845 else
51846 glibcxx_cv_func_strtof_use=no
51848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51849 ac_ext=c
51850 ac_cpp='$CPP $CPPFLAGS'
51851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
51860 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
51861 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
51862 for ac_func in strtof
51863 do :
51864 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
51865 if test "x$ac_cv_func_strtof" = x""yes; then :
51866 cat >>confdefs.h <<_ACEOF
51867 #define HAVE_STRTOF 1
51868 _ACEOF
51871 done
51878 CXXFLAGS="$ac_save_CXXFLAGS"
51882 *djgpp)
51883 # GLIBCXX_CHECK_MATH_SUPPORT
51884 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
51886 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
51888 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
51890 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
51892 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
51896 *-freebsd*)
51897 SECTION_FLAGS='-ffunction-sections -fdata-sections'
51900 # If we're not using GNU ld, then there's no point in even trying these
51901 # tests. Check for that first. We should have already tested for gld
51902 # by now (in libtool), but require it now just to be safe...
51903 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
51904 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
51908 # The name set by libtool depends on the version of libtool. Shame on us
51909 # for depending on an impl detail, but c'est la vie. Older versions used
51910 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
51911 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
51912 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
51913 # set (hence we're using an older libtool), then set it.
51914 if test x${with_gnu_ld+set} != xset; then
51915 if test x${ac_cv_prog_gnu_ld+set} != xset; then
51916 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
51917 with_gnu_ld=no
51918 else
51919 with_gnu_ld=$ac_cv_prog_gnu_ld
51923 # Start by getting the version number. I think the libtool test already
51924 # does some of this, but throws away the result.
51925 glibcxx_ld_is_gold=no
51926 if test x"$with_gnu_ld" = x"yes"; then
51927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
51928 $as_echo_n "checking for ld version... " >&6; }
51930 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
51931 glibcxx_ld_is_gold=yes
51933 ldver=`$LD --version 2>/dev/null |
51934 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'`
51936 glibcxx_gnu_ld_version=`echo $ldver | \
51937 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
51938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
51939 $as_echo "$glibcxx_gnu_ld_version" >&6; }
51942 # Set --gc-sections.
51943 glibcxx_have_gc_sections=no
51944 if test "$glibcxx_ld_is_gold" = "yes"; then
51945 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
51946 glibcxx_have_gc_sections=yes
51948 else
51949 glibcxx_gcsections_min_ld=21602
51950 if test x"$with_gnu_ld" = x"yes" &&
51951 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
51952 glibcxx_have_gc_sections=yes
51955 if test "$glibcxx_have_gc_sections" = "yes"; then
51956 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
51957 # NB: This flag only works reliably after 2.16.1. Configure tests
51958 # for this are difficult, so hard wire a value that should work.
51960 ac_test_CFLAGS="${CFLAGS+set}"
51961 ac_save_CFLAGS="$CFLAGS"
51962 CFLAGS='-Wl,--gc-sections'
51964 # Check for -Wl,--gc-sections
51965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
51966 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
51967 if test x$gcc_no_link = xyes; then
51968 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51971 /* end confdefs.h. */
51972 int one(void) { return 1; }
51973 int two(void) { return 2; }
51976 main ()
51978 two();
51980 return 0;
51982 _ACEOF
51983 if ac_fn_c_try_link "$LINENO"; then :
51984 ac_gcsections=yes
51985 else
51986 ac_gcsections=no
51988 rm -f core conftest.err conftest.$ac_objext \
51989 conftest$ac_exeext conftest.$ac_ext
51990 if test "$ac_gcsections" = "yes"; then
51991 rm -f conftest.c
51992 touch conftest.c
51993 if $CC -c conftest.c; then
51994 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
51995 grep "Warning: gc-sections option ignored" > /dev/null; then
51996 ac_gcsections=no
51999 rm -f conftest.c conftest.o conftest
52001 if test "$ac_gcsections" = "yes"; then
52002 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
52004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
52005 $as_echo "$ac_gcsections" >&6; }
52007 if test "$ac_test_CFLAGS" = set; then
52008 CFLAGS="$ac_save_CFLAGS"
52009 else
52010 # this is the suspicious part
52011 CFLAGS=''
52015 # Set -z,relro.
52016 # Note this is only for shared objects.
52017 ac_ld_relro=no
52018 if test x"$with_gnu_ld" = x"yes"; then
52019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
52020 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
52021 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
52022 if test -n "$cxx_z_relo"; then
52023 OPT_LDFLAGS="-Wl,-z,relro"
52024 ac_ld_relro=yes
52026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
52027 $as_echo "$ac_ld_relro" >&6; }
52030 # Set linker optimization flags.
52031 if test x"$with_gnu_ld" = x"yes"; then
52032 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
52038 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
52040 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
52042 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
52044 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
52046 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
52048 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
52050 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
52052 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
52054 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
52057 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
52059 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
52061 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
52063 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
52065 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
52067 $as_echo "#define HAVE_COSF 1" >>confdefs.h
52069 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
52071 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
52073 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
52075 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
52077 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
52079 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
52081 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
52083 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
52085 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
52087 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
52089 $as_echo "#define HAVE_POWF 1" >>confdefs.h
52091 $as_echo "#define HAVE_SINF 1" >>confdefs.h
52093 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
52095 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
52097 $as_echo "#define HAVE_TANF 1" >>confdefs.h
52099 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
52101 if test x"long_double_math_on_this_cpu" = x"yes"; then
52102 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
52104 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
52106 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
52110 *-hpux*)
52111 SECTION_FLAGS='-ffunction-sections -fdata-sections'
52114 # If we're not using GNU ld, then there's no point in even trying these
52115 # tests. Check for that first. We should have already tested for gld
52116 # by now (in libtool), but require it now just to be safe...
52117 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
52118 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
52122 # The name set by libtool depends on the version of libtool. Shame on us
52123 # for depending on an impl detail, but c'est la vie. Older versions used
52124 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
52125 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
52126 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
52127 # set (hence we're using an older libtool), then set it.
52128 if test x${with_gnu_ld+set} != xset; then
52129 if test x${ac_cv_prog_gnu_ld+set} != xset; then
52130 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
52131 with_gnu_ld=no
52132 else
52133 with_gnu_ld=$ac_cv_prog_gnu_ld
52137 # Start by getting the version number. I think the libtool test already
52138 # does some of this, but throws away the result.
52139 glibcxx_ld_is_gold=no
52140 if test x"$with_gnu_ld" = x"yes"; then
52141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
52142 $as_echo_n "checking for ld version... " >&6; }
52144 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
52145 glibcxx_ld_is_gold=yes
52147 ldver=`$LD --version 2>/dev/null |
52148 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'`
52150 glibcxx_gnu_ld_version=`echo $ldver | \
52151 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
52152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
52153 $as_echo "$glibcxx_gnu_ld_version" >&6; }
52156 # Set --gc-sections.
52157 glibcxx_have_gc_sections=no
52158 if test "$glibcxx_ld_is_gold" = "yes"; then
52159 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
52160 glibcxx_have_gc_sections=yes
52162 else
52163 glibcxx_gcsections_min_ld=21602
52164 if test x"$with_gnu_ld" = x"yes" &&
52165 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
52166 glibcxx_have_gc_sections=yes
52169 if test "$glibcxx_have_gc_sections" = "yes"; then
52170 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
52171 # NB: This flag only works reliably after 2.16.1. Configure tests
52172 # for this are difficult, so hard wire a value that should work.
52174 ac_test_CFLAGS="${CFLAGS+set}"
52175 ac_save_CFLAGS="$CFLAGS"
52176 CFLAGS='-Wl,--gc-sections'
52178 # Check for -Wl,--gc-sections
52179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
52180 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
52181 if test x$gcc_no_link = xyes; then
52182 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52185 /* end confdefs.h. */
52186 int one(void) { return 1; }
52187 int two(void) { return 2; }
52190 main ()
52192 two();
52194 return 0;
52196 _ACEOF
52197 if ac_fn_c_try_link "$LINENO"; then :
52198 ac_gcsections=yes
52199 else
52200 ac_gcsections=no
52202 rm -f core conftest.err conftest.$ac_objext \
52203 conftest$ac_exeext conftest.$ac_ext
52204 if test "$ac_gcsections" = "yes"; then
52205 rm -f conftest.c
52206 touch conftest.c
52207 if $CC -c conftest.c; then
52208 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
52209 grep "Warning: gc-sections option ignored" > /dev/null; then
52210 ac_gcsections=no
52213 rm -f conftest.c conftest.o conftest
52215 if test "$ac_gcsections" = "yes"; then
52216 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
52218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
52219 $as_echo "$ac_gcsections" >&6; }
52221 if test "$ac_test_CFLAGS" = set; then
52222 CFLAGS="$ac_save_CFLAGS"
52223 else
52224 # this is the suspicious part
52225 CFLAGS=''
52229 # Set -z,relro.
52230 # Note this is only for shared objects.
52231 ac_ld_relro=no
52232 if test x"$with_gnu_ld" = x"yes"; then
52233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
52234 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
52235 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
52236 if test -n "$cxx_z_relo"; then
52237 OPT_LDFLAGS="-Wl,-z,relro"
52238 ac_ld_relro=yes
52240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
52241 $as_echo "$ac_ld_relro" >&6; }
52244 # Set linker optimization flags.
52245 if test x"$with_gnu_ld" = x"yes"; then
52246 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
52253 # GLIBCXX_CHECK_MATH_SUPPORT
52254 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
52256 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
52258 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
52260 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
52262 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
52264 $as_echo "#define HAVE_COSF 1" >>confdefs.h
52266 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
52268 $as_echo "#define HAVE_SINF 1" >>confdefs.h
52270 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
52272 $as_echo "#define HAVE_TANF 1" >>confdefs.h
52274 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
52276 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
52278 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
52280 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
52282 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
52284 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
52286 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
52288 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
52290 $as_echo "#define HAVE_MODF 1" >>confdefs.h
52292 $as_echo "#define HAVE_POWF 1" >>confdefs.h
52294 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
52297 # GLIBCXX_CHECK_STDLIB_SUPPORT
52298 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
52303 # Check whether --enable-tls was given.
52304 if test "${enable_tls+set}" = set; then :
52305 enableval=$enable_tls;
52306 case "$enableval" in
52307 yes|no) ;;
52308 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
52309 esac
52311 else
52312 enable_tls=yes
52316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
52317 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
52318 if test "${gcc_cv_have_tls+set}" = set; then :
52319 $as_echo_n "(cached) " >&6
52320 else
52322 if test "$cross_compiling" = yes; then :
52323 if test x$gcc_no_link = xyes; then
52324 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52327 /* end confdefs.h. */
52328 __thread int a; int b; int main() { return a = b; }
52329 _ACEOF
52330 if ac_fn_c_try_link "$LINENO"; then :
52331 chktls_save_LDFLAGS="$LDFLAGS"
52332 case $host in
52333 *-*-linux*)
52334 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
52336 esac
52337 chktls_save_CFLAGS="$CFLAGS"
52338 CFLAGS="-fPIC $CFLAGS"
52339 if test x$gcc_no_link = xyes; then
52340 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52343 /* end confdefs.h. */
52344 int f() { return 0; }
52345 _ACEOF
52346 if ac_fn_c_try_link "$LINENO"; then :
52347 if test x$gcc_no_link = xyes; then
52348 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52351 /* end confdefs.h. */
52352 __thread int a; int b; int f() { return a = b; }
52353 _ACEOF
52354 if ac_fn_c_try_link "$LINENO"; then :
52355 gcc_cv_have_tls=yes
52356 else
52357 gcc_cv_have_tls=no
52359 rm -f core conftest.err conftest.$ac_objext \
52360 conftest$ac_exeext conftest.$ac_ext
52361 else
52362 gcc_cv_have_tls=yes
52364 rm -f core conftest.err conftest.$ac_objext \
52365 conftest$ac_exeext conftest.$ac_ext
52366 CFLAGS="$chktls_save_CFLAGS"
52367 LDFLAGS="$chktls_save_LDFLAGS"
52368 else
52369 gcc_cv_have_tls=no
52371 rm -f core conftest.err conftest.$ac_objext \
52372 conftest$ac_exeext conftest.$ac_ext
52375 else
52376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52377 /* end confdefs.h. */
52378 __thread int a; int b; int main() { return a = b; }
52379 _ACEOF
52380 if ac_fn_c_try_run "$LINENO"; then :
52381 chktls_save_LDFLAGS="$LDFLAGS"
52382 LDFLAGS="-static $LDFLAGS"
52383 if test x$gcc_no_link = xyes; then
52384 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52387 /* end confdefs.h. */
52388 int main() { return 0; }
52389 _ACEOF
52390 if ac_fn_c_try_link "$LINENO"; then :
52391 if test "$cross_compiling" = yes; then :
52392 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
52393 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
52394 as_fn_error "cannot run test program while cross compiling
52395 See \`config.log' for more details." "$LINENO" 5; }
52396 else
52397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52398 /* end confdefs.h. */
52399 __thread int a; int b; int main() { return a = b; }
52400 _ACEOF
52401 if ac_fn_c_try_run "$LINENO"; then :
52402 gcc_cv_have_tls=yes
52403 else
52404 gcc_cv_have_tls=no
52406 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
52407 conftest.$ac_objext conftest.beam conftest.$ac_ext
52410 else
52411 gcc_cv_have_tls=yes
52413 rm -f core conftest.err conftest.$ac_objext \
52414 conftest$ac_exeext conftest.$ac_ext
52415 LDFLAGS="$chktls_save_LDFLAGS"
52416 if test $gcc_cv_have_tls = yes; then
52417 chktls_save_CFLAGS="$CFLAGS"
52418 thread_CFLAGS=failed
52419 for flag in '' '-pthread' '-lpthread'; do
52420 CFLAGS="$flag $chktls_save_CFLAGS"
52421 if test x$gcc_no_link = xyes; then
52422 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52425 /* end confdefs.h. */
52426 #include <pthread.h>
52427 void *g(void *d) { return NULL; }
52429 main ()
52431 pthread_t t; pthread_create(&t,NULL,g,NULL);
52433 return 0;
52435 _ACEOF
52436 if ac_fn_c_try_link "$LINENO"; then :
52437 thread_CFLAGS="$flag"
52439 rm -f core conftest.err conftest.$ac_objext \
52440 conftest$ac_exeext conftest.$ac_ext
52441 if test "X$thread_CFLAGS" != Xfailed; then
52442 break
52444 done
52445 CFLAGS="$chktls_save_CFLAGS"
52446 if test "X$thread_CFLAGS" != Xfailed; then
52447 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
52448 if test "$cross_compiling" = yes; then :
52449 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
52450 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
52451 as_fn_error "cannot run test program while cross compiling
52452 See \`config.log' for more details." "$LINENO" 5; }
52453 else
52454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52455 /* end confdefs.h. */
52456 #include <pthread.h>
52457 __thread int a;
52458 static int *volatile a_in_other_thread;
52459 static void *
52460 thread_func (void *arg)
52462 a_in_other_thread = &a;
52463 return (void *)0;
52466 main ()
52468 pthread_t thread;
52469 void *thread_retval;
52470 int *volatile a_in_main_thread;
52471 a_in_main_thread = &a;
52472 if (pthread_create (&thread, (pthread_attr_t *)0,
52473 thread_func, (void *)0))
52474 return 0;
52475 if (pthread_join (thread, &thread_retval))
52476 return 0;
52477 return (a_in_other_thread == a_in_main_thread);
52479 return 0;
52481 _ACEOF
52482 if ac_fn_c_try_run "$LINENO"; then :
52483 gcc_cv_have_tls=yes
52484 else
52485 gcc_cv_have_tls=no
52487 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
52488 conftest.$ac_objext conftest.beam conftest.$ac_ext
52491 CFLAGS="$chktls_save_CFLAGS"
52494 else
52495 gcc_cv_have_tls=no
52497 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
52498 conftest.$ac_objext conftest.beam conftest.$ac_ext
52502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
52503 $as_echo "$gcc_cv_have_tls" >&6; }
52504 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
52506 $as_echo "#define HAVE_TLS 1" >>confdefs.h
52509 case "$target" in
52510 *-hpux10*)
52511 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
52513 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
52515 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
52517 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
52519 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
52522 esac
52524 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu | *-cygwin*)
52526 # All these tests are for C++; save the language and the compiler flags.
52527 # The CXXFLAGS thing is suspicious, but based on similar bits previously
52528 # found in GLIBCXX_CONFIGURE.
52530 ac_ext=cpp
52531 ac_cpp='$CXXCPP $CPPFLAGS'
52532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52536 ac_test_CXXFLAGS="${CXXFLAGS+set}"
52537 ac_save_CXXFLAGS="$CXXFLAGS"
52539 # Check for maintainer-mode bits.
52540 if test x"$USE_MAINTAINER_MODE" = xno; then
52541 WERROR=''
52542 else
52543 WERROR='-Werror'
52546 # Check for -ffunction-sections -fdata-sections
52547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
52548 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
52549 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
52550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52551 /* end confdefs.h. */
52552 int foo; void bar() { };
52554 main ()
52558 return 0;
52560 _ACEOF
52561 if ac_fn_cxx_try_compile "$LINENO"; then :
52562 ac_fdsections=yes
52563 else
52564 ac_fdsections=no
52566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52567 if test "$ac_test_CXXFLAGS" = set; then
52568 CXXFLAGS="$ac_save_CXXFLAGS"
52569 else
52570 # this is the suspicious part
52571 CXXFLAGS=''
52573 if test x"$ac_fdsections" = x"yes"; then
52574 SECTION_FLAGS='-ffunction-sections -fdata-sections'
52576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
52577 $as_echo "$ac_fdsections" >&6; }
52579 ac_ext=c
52580 ac_cpp='$CPP $CPPFLAGS'
52581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52589 # If we're not using GNU ld, then there's no point in even trying these
52590 # tests. Check for that first. We should have already tested for gld
52591 # by now (in libtool), but require it now just to be safe...
52592 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
52593 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
52597 # The name set by libtool depends on the version of libtool. Shame on us
52598 # for depending on an impl detail, but c'est la vie. Older versions used
52599 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
52600 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
52601 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
52602 # set (hence we're using an older libtool), then set it.
52603 if test x${with_gnu_ld+set} != xset; then
52604 if test x${ac_cv_prog_gnu_ld+set} != xset; then
52605 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
52606 with_gnu_ld=no
52607 else
52608 with_gnu_ld=$ac_cv_prog_gnu_ld
52612 # Start by getting the version number. I think the libtool test already
52613 # does some of this, but throws away the result.
52614 glibcxx_ld_is_gold=no
52615 if test x"$with_gnu_ld" = x"yes"; then
52616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
52617 $as_echo_n "checking for ld version... " >&6; }
52619 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
52620 glibcxx_ld_is_gold=yes
52622 ldver=`$LD --version 2>/dev/null |
52623 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'`
52625 glibcxx_gnu_ld_version=`echo $ldver | \
52626 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
52627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
52628 $as_echo "$glibcxx_gnu_ld_version" >&6; }
52631 # Set --gc-sections.
52632 glibcxx_have_gc_sections=no
52633 if test "$glibcxx_ld_is_gold" = "yes"; then
52634 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
52635 glibcxx_have_gc_sections=yes
52637 else
52638 glibcxx_gcsections_min_ld=21602
52639 if test x"$with_gnu_ld" = x"yes" &&
52640 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
52641 glibcxx_have_gc_sections=yes
52644 if test "$glibcxx_have_gc_sections" = "yes"; then
52645 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
52646 # NB: This flag only works reliably after 2.16.1. Configure tests
52647 # for this are difficult, so hard wire a value that should work.
52649 ac_test_CFLAGS="${CFLAGS+set}"
52650 ac_save_CFLAGS="$CFLAGS"
52651 CFLAGS='-Wl,--gc-sections'
52653 # Check for -Wl,--gc-sections
52654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
52655 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
52656 if test x$gcc_no_link = xyes; then
52657 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52660 /* end confdefs.h. */
52661 int one(void) { return 1; }
52662 int two(void) { return 2; }
52665 main ()
52667 two();
52669 return 0;
52671 _ACEOF
52672 if ac_fn_c_try_link "$LINENO"; then :
52673 ac_gcsections=yes
52674 else
52675 ac_gcsections=no
52677 rm -f core conftest.err conftest.$ac_objext \
52678 conftest$ac_exeext conftest.$ac_ext
52679 if test "$ac_gcsections" = "yes"; then
52680 rm -f conftest.c
52681 touch conftest.c
52682 if $CC -c conftest.c; then
52683 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
52684 grep "Warning: gc-sections option ignored" > /dev/null; then
52685 ac_gcsections=no
52688 rm -f conftest.c conftest.o conftest
52690 if test "$ac_gcsections" = "yes"; then
52691 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
52693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
52694 $as_echo "$ac_gcsections" >&6; }
52696 if test "$ac_test_CFLAGS" = set; then
52697 CFLAGS="$ac_save_CFLAGS"
52698 else
52699 # this is the suspicious part
52700 CFLAGS=''
52704 # Set -z,relro.
52705 # Note this is only for shared objects.
52706 ac_ld_relro=no
52707 if test x"$with_gnu_ld" = x"yes"; then
52708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
52709 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
52710 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
52711 if test -n "$cxx_z_relo"; then
52712 OPT_LDFLAGS="-Wl,-z,relro"
52713 ac_ld_relro=yes
52715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
52716 $as_echo "$ac_ld_relro" >&6; }
52719 # Set linker optimization flags.
52720 if test x"$with_gnu_ld" = x"yes"; then
52721 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
52728 ac_test_CXXFLAGS="${CXXFLAGS+set}"
52729 ac_save_CXXFLAGS="$CXXFLAGS"
52730 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
52732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
52733 $as_echo_n "checking for sin in -lm... " >&6; }
52734 if test "${ac_cv_lib_m_sin+set}" = set; then :
52735 $as_echo_n "(cached) " >&6
52736 else
52737 ac_check_lib_save_LIBS=$LIBS
52738 LIBS="-lm $LIBS"
52739 if test x$gcc_no_link = xyes; then
52740 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52743 /* end confdefs.h. */
52745 /* Override any GCC internal prototype to avoid an error.
52746 Use char because int might match the return type of a GCC
52747 builtin and then its argument prototype would still apply. */
52748 #ifdef __cplusplus
52749 extern "C"
52750 #endif
52751 char sin ();
52753 main ()
52755 return sin ();
52757 return 0;
52759 _ACEOF
52760 if ac_fn_c_try_link "$LINENO"; then :
52761 ac_cv_lib_m_sin=yes
52762 else
52763 ac_cv_lib_m_sin=no
52765 rm -f core conftest.err conftest.$ac_objext \
52766 conftest$ac_exeext conftest.$ac_ext
52767 LIBS=$ac_check_lib_save_LIBS
52769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
52770 $as_echo "$ac_cv_lib_m_sin" >&6; }
52771 if test "x$ac_cv_lib_m_sin" = x""yes; then :
52772 libm="-lm"
52775 ac_save_LIBS="$LIBS"
52776 LIBS="$LIBS $libm"
52780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
52781 $as_echo_n "checking for isinf declaration... " >&6; }
52782 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
52783 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
52784 $as_echo_n "(cached) " >&6
52785 else
52788 ac_ext=cpp
52789 ac_cpp='$CXXCPP $CPPFLAGS'
52790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52795 /* end confdefs.h. */
52796 #include <math.h>
52797 #ifdef HAVE_IEEEFP_H
52798 #include <ieeefp.h>
52799 #endif
52802 main ()
52804 isinf(0);
52806 return 0;
52808 _ACEOF
52809 if ac_fn_cxx_try_compile "$LINENO"; then :
52810 glibcxx_cv_func_isinf_use=yes
52811 else
52812 glibcxx_cv_func_isinf_use=no
52814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52815 ac_ext=c
52816 ac_cpp='$CPP $CPPFLAGS'
52817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
52826 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
52828 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
52829 for ac_func in isinf
52830 do :
52831 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
52832 if test "x$ac_cv_func_isinf" = x""yes; then :
52833 cat >>confdefs.h <<_ACEOF
52834 #define HAVE_ISINF 1
52835 _ACEOF
52838 done
52840 else
52842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
52843 $as_echo_n "checking for _isinf declaration... " >&6; }
52844 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
52845 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
52846 $as_echo_n "(cached) " >&6
52847 else
52850 ac_ext=cpp
52851 ac_cpp='$CXXCPP $CPPFLAGS'
52852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52857 /* end confdefs.h. */
52858 #include <math.h>
52859 #ifdef HAVE_IEEEFP_H
52860 #include <ieeefp.h>
52861 #endif
52864 main ()
52866 _isinf(0);
52868 return 0;
52870 _ACEOF
52871 if ac_fn_cxx_try_compile "$LINENO"; then :
52872 glibcxx_cv_func__isinf_use=yes
52873 else
52874 glibcxx_cv_func__isinf_use=no
52876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52877 ac_ext=c
52878 ac_cpp='$CPP $CPPFLAGS'
52879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
52888 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
52890 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
52891 for ac_func in _isinf
52892 do :
52893 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
52894 if test "x$ac_cv_func__isinf" = x""yes; then :
52895 cat >>confdefs.h <<_ACEOF
52896 #define HAVE__ISINF 1
52897 _ACEOF
52900 done
52909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
52910 $as_echo_n "checking for isnan declaration... " >&6; }
52911 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
52912 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
52913 $as_echo_n "(cached) " >&6
52914 else
52917 ac_ext=cpp
52918 ac_cpp='$CXXCPP $CPPFLAGS'
52919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52924 /* end confdefs.h. */
52925 #include <math.h>
52926 #ifdef HAVE_IEEEFP_H
52927 #include <ieeefp.h>
52928 #endif
52931 main ()
52933 isnan(0);
52935 return 0;
52937 _ACEOF
52938 if ac_fn_cxx_try_compile "$LINENO"; then :
52939 glibcxx_cv_func_isnan_use=yes
52940 else
52941 glibcxx_cv_func_isnan_use=no
52943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52944 ac_ext=c
52945 ac_cpp='$CPP $CPPFLAGS'
52946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
52955 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
52957 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
52958 for ac_func in isnan
52959 do :
52960 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
52961 if test "x$ac_cv_func_isnan" = x""yes; then :
52962 cat >>confdefs.h <<_ACEOF
52963 #define HAVE_ISNAN 1
52964 _ACEOF
52967 done
52969 else
52971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
52972 $as_echo_n "checking for _isnan declaration... " >&6; }
52973 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
52974 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
52975 $as_echo_n "(cached) " >&6
52976 else
52979 ac_ext=cpp
52980 ac_cpp='$CXXCPP $CPPFLAGS'
52981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52986 /* end confdefs.h. */
52987 #include <math.h>
52988 #ifdef HAVE_IEEEFP_H
52989 #include <ieeefp.h>
52990 #endif
52993 main ()
52995 _isnan(0);
52997 return 0;
52999 _ACEOF
53000 if ac_fn_cxx_try_compile "$LINENO"; then :
53001 glibcxx_cv_func__isnan_use=yes
53002 else
53003 glibcxx_cv_func__isnan_use=no
53005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53006 ac_ext=c
53007 ac_cpp='$CPP $CPPFLAGS'
53008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
53017 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
53019 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
53020 for ac_func in _isnan
53021 do :
53022 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
53023 if test "x$ac_cv_func__isnan" = x""yes; then :
53024 cat >>confdefs.h <<_ACEOF
53025 #define HAVE__ISNAN 1
53026 _ACEOF
53029 done
53038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
53039 $as_echo_n "checking for finite declaration... " >&6; }
53040 if test x${glibcxx_cv_func_finite_use+set} != xset; then
53041 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
53042 $as_echo_n "(cached) " >&6
53043 else
53046 ac_ext=cpp
53047 ac_cpp='$CXXCPP $CPPFLAGS'
53048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53053 /* end confdefs.h. */
53054 #include <math.h>
53055 #ifdef HAVE_IEEEFP_H
53056 #include <ieeefp.h>
53057 #endif
53060 main ()
53062 finite(0);
53064 return 0;
53066 _ACEOF
53067 if ac_fn_cxx_try_compile "$LINENO"; then :
53068 glibcxx_cv_func_finite_use=yes
53069 else
53070 glibcxx_cv_func_finite_use=no
53072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53073 ac_ext=c
53074 ac_cpp='$CPP $CPPFLAGS'
53075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
53084 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
53086 if test x$glibcxx_cv_func_finite_use = x"yes"; then
53087 for ac_func in finite
53088 do :
53089 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
53090 if test "x$ac_cv_func_finite" = x""yes; then :
53091 cat >>confdefs.h <<_ACEOF
53092 #define HAVE_FINITE 1
53093 _ACEOF
53096 done
53098 else
53100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
53101 $as_echo_n "checking for _finite declaration... " >&6; }
53102 if test x${glibcxx_cv_func__finite_use+set} != xset; then
53103 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
53104 $as_echo_n "(cached) " >&6
53105 else
53108 ac_ext=cpp
53109 ac_cpp='$CXXCPP $CPPFLAGS'
53110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53115 /* end confdefs.h. */
53116 #include <math.h>
53117 #ifdef HAVE_IEEEFP_H
53118 #include <ieeefp.h>
53119 #endif
53122 main ()
53124 _finite(0);
53126 return 0;
53128 _ACEOF
53129 if ac_fn_cxx_try_compile "$LINENO"; then :
53130 glibcxx_cv_func__finite_use=yes
53131 else
53132 glibcxx_cv_func__finite_use=no
53134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53135 ac_ext=c
53136 ac_cpp='$CPP $CPPFLAGS'
53137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
53146 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
53148 if test x$glibcxx_cv_func__finite_use = x"yes"; then
53149 for ac_func in _finite
53150 do :
53151 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
53152 if test "x$ac_cv_func__finite" = x""yes; then :
53153 cat >>confdefs.h <<_ACEOF
53154 #define HAVE__FINITE 1
53155 _ACEOF
53158 done
53167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
53168 $as_echo_n "checking for sincos declaration... " >&6; }
53169 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
53170 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
53171 $as_echo_n "(cached) " >&6
53172 else
53175 ac_ext=cpp
53176 ac_cpp='$CXXCPP $CPPFLAGS'
53177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53182 /* end confdefs.h. */
53183 #include <math.h>
53185 main ()
53187 sincos(0, 0, 0);
53189 return 0;
53191 _ACEOF
53192 if ac_fn_cxx_try_compile "$LINENO"; then :
53193 glibcxx_cv_func_sincos_use=yes
53194 else
53195 glibcxx_cv_func_sincos_use=no
53197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53198 ac_ext=c
53199 ac_cpp='$CPP $CPPFLAGS'
53200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
53209 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
53211 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
53212 for ac_func in sincos
53213 do :
53214 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
53215 if test "x$ac_cv_func_sincos" = x""yes; then :
53216 cat >>confdefs.h <<_ACEOF
53217 #define HAVE_SINCOS 1
53218 _ACEOF
53221 done
53223 else
53225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
53226 $as_echo_n "checking for _sincos declaration... " >&6; }
53227 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
53228 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
53229 $as_echo_n "(cached) " >&6
53230 else
53233 ac_ext=cpp
53234 ac_cpp='$CXXCPP $CPPFLAGS'
53235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53240 /* end confdefs.h. */
53241 #include <math.h>
53243 main ()
53245 _sincos(0, 0, 0);
53247 return 0;
53249 _ACEOF
53250 if ac_fn_cxx_try_compile "$LINENO"; then :
53251 glibcxx_cv_func__sincos_use=yes
53252 else
53253 glibcxx_cv_func__sincos_use=no
53255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53256 ac_ext=c
53257 ac_cpp='$CPP $CPPFLAGS'
53258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
53267 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
53269 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
53270 for ac_func in _sincos
53271 do :
53272 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
53273 if test "x$ac_cv_func__sincos" = x""yes; then :
53274 cat >>confdefs.h <<_ACEOF
53275 #define HAVE__SINCOS 1
53276 _ACEOF
53279 done
53288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
53289 $as_echo_n "checking for fpclass declaration... " >&6; }
53290 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
53291 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
53292 $as_echo_n "(cached) " >&6
53293 else
53296 ac_ext=cpp
53297 ac_cpp='$CXXCPP $CPPFLAGS'
53298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53303 /* end confdefs.h. */
53304 #include <math.h>
53305 #ifdef HAVE_IEEEFP_H
53306 #include <ieeefp.h>
53307 #endif
53310 main ()
53312 fpclass(0);
53314 return 0;
53316 _ACEOF
53317 if ac_fn_cxx_try_compile "$LINENO"; then :
53318 glibcxx_cv_func_fpclass_use=yes
53319 else
53320 glibcxx_cv_func_fpclass_use=no
53322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53323 ac_ext=c
53324 ac_cpp='$CPP $CPPFLAGS'
53325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
53334 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
53336 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
53337 for ac_func in fpclass
53338 do :
53339 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
53340 if test "x$ac_cv_func_fpclass" = x""yes; then :
53341 cat >>confdefs.h <<_ACEOF
53342 #define HAVE_FPCLASS 1
53343 _ACEOF
53346 done
53348 else
53350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
53351 $as_echo_n "checking for _fpclass declaration... " >&6; }
53352 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
53353 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
53354 $as_echo_n "(cached) " >&6
53355 else
53358 ac_ext=cpp
53359 ac_cpp='$CXXCPP $CPPFLAGS'
53360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53365 /* end confdefs.h. */
53366 #include <math.h>
53367 #ifdef HAVE_IEEEFP_H
53368 #include <ieeefp.h>
53369 #endif
53372 main ()
53374 _fpclass(0);
53376 return 0;
53378 _ACEOF
53379 if ac_fn_cxx_try_compile "$LINENO"; then :
53380 glibcxx_cv_func__fpclass_use=yes
53381 else
53382 glibcxx_cv_func__fpclass_use=no
53384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53385 ac_ext=c
53386 ac_cpp='$CPP $CPPFLAGS'
53387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
53396 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
53398 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
53399 for ac_func in _fpclass
53400 do :
53401 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
53402 if test "x$ac_cv_func__fpclass" = x""yes; then :
53403 cat >>confdefs.h <<_ACEOF
53404 #define HAVE__FPCLASS 1
53405 _ACEOF
53408 done
53417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
53418 $as_echo_n "checking for qfpclass declaration... " >&6; }
53419 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
53420 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
53421 $as_echo_n "(cached) " >&6
53422 else
53425 ac_ext=cpp
53426 ac_cpp='$CXXCPP $CPPFLAGS'
53427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53432 /* end confdefs.h. */
53433 #include <math.h>
53434 #ifdef HAVE_IEEEFP_H
53435 #include <ieeefp.h>
53436 #endif
53439 main ()
53441 qfpclass(0);
53443 return 0;
53445 _ACEOF
53446 if ac_fn_cxx_try_compile "$LINENO"; then :
53447 glibcxx_cv_func_qfpclass_use=yes
53448 else
53449 glibcxx_cv_func_qfpclass_use=no
53451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53452 ac_ext=c
53453 ac_cpp='$CPP $CPPFLAGS'
53454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
53463 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
53465 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
53466 for ac_func in qfpclass
53467 do :
53468 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
53469 if test "x$ac_cv_func_qfpclass" = x""yes; then :
53470 cat >>confdefs.h <<_ACEOF
53471 #define HAVE_QFPCLASS 1
53472 _ACEOF
53475 done
53477 else
53479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
53480 $as_echo_n "checking for _qfpclass declaration... " >&6; }
53481 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
53482 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
53483 $as_echo_n "(cached) " >&6
53484 else
53487 ac_ext=cpp
53488 ac_cpp='$CXXCPP $CPPFLAGS'
53489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53494 /* end confdefs.h. */
53495 #include <math.h>
53496 #ifdef HAVE_IEEEFP_H
53497 #include <ieeefp.h>
53498 #endif
53501 main ()
53503 _qfpclass(0);
53505 return 0;
53507 _ACEOF
53508 if ac_fn_cxx_try_compile "$LINENO"; then :
53509 glibcxx_cv_func__qfpclass_use=yes
53510 else
53511 glibcxx_cv_func__qfpclass_use=no
53513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53514 ac_ext=c
53515 ac_cpp='$CPP $CPPFLAGS'
53516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
53525 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
53527 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
53528 for ac_func in _qfpclass
53529 do :
53530 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
53531 if test "x$ac_cv_func__qfpclass" = x""yes; then :
53532 cat >>confdefs.h <<_ACEOF
53533 #define HAVE__QFPCLASS 1
53534 _ACEOF
53537 done
53546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
53547 $as_echo_n "checking for hypot declaration... " >&6; }
53548 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
53549 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
53550 $as_echo_n "(cached) " >&6
53551 else
53554 ac_ext=cpp
53555 ac_cpp='$CXXCPP $CPPFLAGS'
53556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53561 /* end confdefs.h. */
53562 #include <math.h>
53564 main ()
53566 hypot(0, 0);
53568 return 0;
53570 _ACEOF
53571 if ac_fn_cxx_try_compile "$LINENO"; then :
53572 glibcxx_cv_func_hypot_use=yes
53573 else
53574 glibcxx_cv_func_hypot_use=no
53576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53577 ac_ext=c
53578 ac_cpp='$CPP $CPPFLAGS'
53579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
53588 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
53590 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
53591 for ac_func in hypot
53592 do :
53593 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
53594 if test "x$ac_cv_func_hypot" = x""yes; then :
53595 cat >>confdefs.h <<_ACEOF
53596 #define HAVE_HYPOT 1
53597 _ACEOF
53600 done
53602 else
53604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
53605 $as_echo_n "checking for _hypot declaration... " >&6; }
53606 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
53607 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
53608 $as_echo_n "(cached) " >&6
53609 else
53612 ac_ext=cpp
53613 ac_cpp='$CXXCPP $CPPFLAGS'
53614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53619 /* end confdefs.h. */
53620 #include <math.h>
53622 main ()
53624 _hypot(0, 0);
53626 return 0;
53628 _ACEOF
53629 if ac_fn_cxx_try_compile "$LINENO"; then :
53630 glibcxx_cv_func__hypot_use=yes
53631 else
53632 glibcxx_cv_func__hypot_use=no
53634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53635 ac_ext=c
53636 ac_cpp='$CPP $CPPFLAGS'
53637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
53646 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
53648 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
53649 for ac_func in _hypot
53650 do :
53651 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
53652 if test "x$ac_cv_func__hypot" = x""yes; then :
53653 cat >>confdefs.h <<_ACEOF
53654 #define HAVE__HYPOT 1
53655 _ACEOF
53658 done
53667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
53668 $as_echo_n "checking for float trig functions... " >&6; }
53669 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
53670 $as_echo_n "(cached) " >&6
53671 else
53674 ac_ext=cpp
53675 ac_cpp='$CXXCPP $CPPFLAGS'
53676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53681 /* end confdefs.h. */
53682 #include <math.h>
53684 main ()
53686 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
53688 return 0;
53690 _ACEOF
53691 if ac_fn_cxx_try_compile "$LINENO"; then :
53692 glibcxx_cv_func_float_trig_use=yes
53693 else
53694 glibcxx_cv_func_float_trig_use=no
53696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53697 ac_ext=c
53698 ac_cpp='$CPP $CPPFLAGS'
53699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
53706 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
53707 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
53708 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
53709 do :
53710 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53711 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53712 eval as_val=\$$as_ac_var
53713 if test "x$as_val" = x""yes; then :
53714 cat >>confdefs.h <<_ACEOF
53715 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53716 _ACEOF
53719 done
53721 else
53722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
53723 $as_echo_n "checking for _float trig functions... " >&6; }
53724 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
53725 $as_echo_n "(cached) " >&6
53726 else
53729 ac_ext=cpp
53730 ac_cpp='$CXXCPP $CPPFLAGS'
53731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53736 /* end confdefs.h. */
53737 #include <math.h>
53739 main ()
53741 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
53743 return 0;
53745 _ACEOF
53746 if ac_fn_cxx_try_compile "$LINENO"; then :
53747 glibcxx_cv_func__float_trig_use=yes
53748 else
53749 glibcxx_cv_func__float_trig_use=no
53751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53752 ac_ext=c
53753 ac_cpp='$CPP $CPPFLAGS'
53754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
53761 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
53762 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
53763 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
53764 do :
53765 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53766 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53767 eval as_val=\$$as_ac_var
53768 if test "x$as_val" = x""yes; then :
53769 cat >>confdefs.h <<_ACEOF
53770 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53771 _ACEOF
53774 done
53783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
53784 $as_echo_n "checking for float round functions... " >&6; }
53785 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
53786 $as_echo_n "(cached) " >&6
53787 else
53790 ac_ext=cpp
53791 ac_cpp='$CXXCPP $CPPFLAGS'
53792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53797 /* end confdefs.h. */
53798 #include <math.h>
53800 main ()
53802 ceilf (0); floorf (0);
53804 return 0;
53806 _ACEOF
53807 if ac_fn_cxx_try_compile "$LINENO"; then :
53808 glibcxx_cv_func_float_round_use=yes
53809 else
53810 glibcxx_cv_func_float_round_use=no
53812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53813 ac_ext=c
53814 ac_cpp='$CPP $CPPFLAGS'
53815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
53822 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
53823 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
53824 for ac_func in ceilf floorf
53825 do :
53826 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53827 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53828 eval as_val=\$$as_ac_var
53829 if test "x$as_val" = x""yes; then :
53830 cat >>confdefs.h <<_ACEOF
53831 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53832 _ACEOF
53835 done
53837 else
53838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
53839 $as_echo_n "checking for _float round functions... " >&6; }
53840 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
53841 $as_echo_n "(cached) " >&6
53842 else
53845 ac_ext=cpp
53846 ac_cpp='$CXXCPP $CPPFLAGS'
53847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53852 /* end confdefs.h. */
53853 #include <math.h>
53855 main ()
53857 _ceilf (0); _floorf (0);
53859 return 0;
53861 _ACEOF
53862 if ac_fn_cxx_try_compile "$LINENO"; then :
53863 glibcxx_cv_func__float_round_use=yes
53864 else
53865 glibcxx_cv_func__float_round_use=no
53867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53868 ac_ext=c
53869 ac_cpp='$CPP $CPPFLAGS'
53870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
53877 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
53878 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
53879 for ac_func in _ceilf _floorf
53880 do :
53881 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53882 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53883 eval as_val=\$$as_ac_var
53884 if test "x$as_val" = x""yes; then :
53885 cat >>confdefs.h <<_ACEOF
53886 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53887 _ACEOF
53890 done
53900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
53901 $as_echo_n "checking for expf declaration... " >&6; }
53902 if test x${glibcxx_cv_func_expf_use+set} != xset; then
53903 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
53904 $as_echo_n "(cached) " >&6
53905 else
53908 ac_ext=cpp
53909 ac_cpp='$CXXCPP $CPPFLAGS'
53910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53915 /* end confdefs.h. */
53916 #include <math.h>
53917 #ifdef HAVE_IEEEFP_H
53918 #include <ieeefp.h>
53919 #endif
53922 main ()
53924 expf(0);
53926 return 0;
53928 _ACEOF
53929 if ac_fn_cxx_try_compile "$LINENO"; then :
53930 glibcxx_cv_func_expf_use=yes
53931 else
53932 glibcxx_cv_func_expf_use=no
53934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53935 ac_ext=c
53936 ac_cpp='$CPP $CPPFLAGS'
53937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
53946 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
53948 if test x$glibcxx_cv_func_expf_use = x"yes"; then
53949 for ac_func in expf
53950 do :
53951 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
53952 if test "x$ac_cv_func_expf" = x""yes; then :
53953 cat >>confdefs.h <<_ACEOF
53954 #define HAVE_EXPF 1
53955 _ACEOF
53958 done
53960 else
53962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
53963 $as_echo_n "checking for _expf declaration... " >&6; }
53964 if test x${glibcxx_cv_func__expf_use+set} != xset; then
53965 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
53966 $as_echo_n "(cached) " >&6
53967 else
53970 ac_ext=cpp
53971 ac_cpp='$CXXCPP $CPPFLAGS'
53972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53977 /* end confdefs.h. */
53978 #include <math.h>
53979 #ifdef HAVE_IEEEFP_H
53980 #include <ieeefp.h>
53981 #endif
53984 main ()
53986 _expf(0);
53988 return 0;
53990 _ACEOF
53991 if ac_fn_cxx_try_compile "$LINENO"; then :
53992 glibcxx_cv_func__expf_use=yes
53993 else
53994 glibcxx_cv_func__expf_use=no
53996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53997 ac_ext=c
53998 ac_cpp='$CPP $CPPFLAGS'
53999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
54008 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
54010 if test x$glibcxx_cv_func__expf_use = x"yes"; then
54011 for ac_func in _expf
54012 do :
54013 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
54014 if test "x$ac_cv_func__expf" = x""yes; then :
54015 cat >>confdefs.h <<_ACEOF
54016 #define HAVE__EXPF 1
54017 _ACEOF
54020 done
54029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
54030 $as_echo_n "checking for isnanf declaration... " >&6; }
54031 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
54032 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
54033 $as_echo_n "(cached) " >&6
54034 else
54037 ac_ext=cpp
54038 ac_cpp='$CXXCPP $CPPFLAGS'
54039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54044 /* end confdefs.h. */
54045 #include <math.h>
54046 #ifdef HAVE_IEEEFP_H
54047 #include <ieeefp.h>
54048 #endif
54051 main ()
54053 isnanf(0);
54055 return 0;
54057 _ACEOF
54058 if ac_fn_cxx_try_compile "$LINENO"; then :
54059 glibcxx_cv_func_isnanf_use=yes
54060 else
54061 glibcxx_cv_func_isnanf_use=no
54063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54064 ac_ext=c
54065 ac_cpp='$CPP $CPPFLAGS'
54066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
54075 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
54077 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
54078 for ac_func in isnanf
54079 do :
54080 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
54081 if test "x$ac_cv_func_isnanf" = x""yes; then :
54082 cat >>confdefs.h <<_ACEOF
54083 #define HAVE_ISNANF 1
54084 _ACEOF
54087 done
54089 else
54091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
54092 $as_echo_n "checking for _isnanf declaration... " >&6; }
54093 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
54094 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
54095 $as_echo_n "(cached) " >&6
54096 else
54099 ac_ext=cpp
54100 ac_cpp='$CXXCPP $CPPFLAGS'
54101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54106 /* end confdefs.h. */
54107 #include <math.h>
54108 #ifdef HAVE_IEEEFP_H
54109 #include <ieeefp.h>
54110 #endif
54113 main ()
54115 _isnanf(0);
54117 return 0;
54119 _ACEOF
54120 if ac_fn_cxx_try_compile "$LINENO"; then :
54121 glibcxx_cv_func__isnanf_use=yes
54122 else
54123 glibcxx_cv_func__isnanf_use=no
54125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54126 ac_ext=c
54127 ac_cpp='$CPP $CPPFLAGS'
54128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
54137 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
54139 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
54140 for ac_func in _isnanf
54141 do :
54142 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
54143 if test "x$ac_cv_func__isnanf" = x""yes; then :
54144 cat >>confdefs.h <<_ACEOF
54145 #define HAVE__ISNANF 1
54146 _ACEOF
54149 done
54158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
54159 $as_echo_n "checking for isinff declaration... " >&6; }
54160 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
54161 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
54162 $as_echo_n "(cached) " >&6
54163 else
54166 ac_ext=cpp
54167 ac_cpp='$CXXCPP $CPPFLAGS'
54168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54173 /* end confdefs.h. */
54174 #include <math.h>
54175 #ifdef HAVE_IEEEFP_H
54176 #include <ieeefp.h>
54177 #endif
54180 main ()
54182 isinff(0);
54184 return 0;
54186 _ACEOF
54187 if ac_fn_cxx_try_compile "$LINENO"; then :
54188 glibcxx_cv_func_isinff_use=yes
54189 else
54190 glibcxx_cv_func_isinff_use=no
54192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54193 ac_ext=c
54194 ac_cpp='$CPP $CPPFLAGS'
54195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
54204 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
54206 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
54207 for ac_func in isinff
54208 do :
54209 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
54210 if test "x$ac_cv_func_isinff" = x""yes; then :
54211 cat >>confdefs.h <<_ACEOF
54212 #define HAVE_ISINFF 1
54213 _ACEOF
54216 done
54218 else
54220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
54221 $as_echo_n "checking for _isinff declaration... " >&6; }
54222 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
54223 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
54224 $as_echo_n "(cached) " >&6
54225 else
54228 ac_ext=cpp
54229 ac_cpp='$CXXCPP $CPPFLAGS'
54230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54235 /* end confdefs.h. */
54236 #include <math.h>
54237 #ifdef HAVE_IEEEFP_H
54238 #include <ieeefp.h>
54239 #endif
54242 main ()
54244 _isinff(0);
54246 return 0;
54248 _ACEOF
54249 if ac_fn_cxx_try_compile "$LINENO"; then :
54250 glibcxx_cv_func__isinff_use=yes
54251 else
54252 glibcxx_cv_func__isinff_use=no
54254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54255 ac_ext=c
54256 ac_cpp='$CPP $CPPFLAGS'
54257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
54266 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
54268 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
54269 for ac_func in _isinff
54270 do :
54271 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
54272 if test "x$ac_cv_func__isinff" = x""yes; then :
54273 cat >>confdefs.h <<_ACEOF
54274 #define HAVE__ISINFF 1
54275 _ACEOF
54278 done
54287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
54288 $as_echo_n "checking for atan2f declaration... " >&6; }
54289 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
54290 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
54291 $as_echo_n "(cached) " >&6
54292 else
54295 ac_ext=cpp
54296 ac_cpp='$CXXCPP $CPPFLAGS'
54297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54302 /* end confdefs.h. */
54303 #include <math.h>
54305 main ()
54307 atan2f(0, 0);
54309 return 0;
54311 _ACEOF
54312 if ac_fn_cxx_try_compile "$LINENO"; then :
54313 glibcxx_cv_func_atan2f_use=yes
54314 else
54315 glibcxx_cv_func_atan2f_use=no
54317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54318 ac_ext=c
54319 ac_cpp='$CPP $CPPFLAGS'
54320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
54329 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
54331 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
54332 for ac_func in atan2f
54333 do :
54334 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
54335 if test "x$ac_cv_func_atan2f" = x""yes; then :
54336 cat >>confdefs.h <<_ACEOF
54337 #define HAVE_ATAN2F 1
54338 _ACEOF
54341 done
54343 else
54345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
54346 $as_echo_n "checking for _atan2f declaration... " >&6; }
54347 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
54348 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
54349 $as_echo_n "(cached) " >&6
54350 else
54353 ac_ext=cpp
54354 ac_cpp='$CXXCPP $CPPFLAGS'
54355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54360 /* end confdefs.h. */
54361 #include <math.h>
54363 main ()
54365 _atan2f(0, 0);
54367 return 0;
54369 _ACEOF
54370 if ac_fn_cxx_try_compile "$LINENO"; then :
54371 glibcxx_cv_func__atan2f_use=yes
54372 else
54373 glibcxx_cv_func__atan2f_use=no
54375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54376 ac_ext=c
54377 ac_cpp='$CPP $CPPFLAGS'
54378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
54387 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
54389 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
54390 for ac_func in _atan2f
54391 do :
54392 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
54393 if test "x$ac_cv_func__atan2f" = x""yes; then :
54394 cat >>confdefs.h <<_ACEOF
54395 #define HAVE__ATAN2F 1
54396 _ACEOF
54399 done
54408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
54409 $as_echo_n "checking for fabsf declaration... " >&6; }
54410 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
54411 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
54412 $as_echo_n "(cached) " >&6
54413 else
54416 ac_ext=cpp
54417 ac_cpp='$CXXCPP $CPPFLAGS'
54418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54423 /* end confdefs.h. */
54424 #include <math.h>
54425 #ifdef HAVE_IEEEFP_H
54426 #include <ieeefp.h>
54427 #endif
54430 main ()
54432 fabsf(0);
54434 return 0;
54436 _ACEOF
54437 if ac_fn_cxx_try_compile "$LINENO"; then :
54438 glibcxx_cv_func_fabsf_use=yes
54439 else
54440 glibcxx_cv_func_fabsf_use=no
54442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54443 ac_ext=c
54444 ac_cpp='$CPP $CPPFLAGS'
54445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
54454 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
54456 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
54457 for ac_func in fabsf
54458 do :
54459 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
54460 if test "x$ac_cv_func_fabsf" = x""yes; then :
54461 cat >>confdefs.h <<_ACEOF
54462 #define HAVE_FABSF 1
54463 _ACEOF
54466 done
54468 else
54470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
54471 $as_echo_n "checking for _fabsf declaration... " >&6; }
54472 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
54473 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
54474 $as_echo_n "(cached) " >&6
54475 else
54478 ac_ext=cpp
54479 ac_cpp='$CXXCPP $CPPFLAGS'
54480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54485 /* end confdefs.h. */
54486 #include <math.h>
54487 #ifdef HAVE_IEEEFP_H
54488 #include <ieeefp.h>
54489 #endif
54492 main ()
54494 _fabsf(0);
54496 return 0;
54498 _ACEOF
54499 if ac_fn_cxx_try_compile "$LINENO"; then :
54500 glibcxx_cv_func__fabsf_use=yes
54501 else
54502 glibcxx_cv_func__fabsf_use=no
54504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54505 ac_ext=c
54506 ac_cpp='$CPP $CPPFLAGS'
54507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
54516 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
54518 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
54519 for ac_func in _fabsf
54520 do :
54521 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
54522 if test "x$ac_cv_func__fabsf" = x""yes; then :
54523 cat >>confdefs.h <<_ACEOF
54524 #define HAVE__FABSF 1
54525 _ACEOF
54528 done
54537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
54538 $as_echo_n "checking for fmodf declaration... " >&6; }
54539 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
54540 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
54541 $as_echo_n "(cached) " >&6
54542 else
54545 ac_ext=cpp
54546 ac_cpp='$CXXCPP $CPPFLAGS'
54547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54552 /* end confdefs.h. */
54553 #include <math.h>
54555 main ()
54557 fmodf(0, 0);
54559 return 0;
54561 _ACEOF
54562 if ac_fn_cxx_try_compile "$LINENO"; then :
54563 glibcxx_cv_func_fmodf_use=yes
54564 else
54565 glibcxx_cv_func_fmodf_use=no
54567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54568 ac_ext=c
54569 ac_cpp='$CPP $CPPFLAGS'
54570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
54579 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
54581 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
54582 for ac_func in fmodf
54583 do :
54584 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
54585 if test "x$ac_cv_func_fmodf" = x""yes; then :
54586 cat >>confdefs.h <<_ACEOF
54587 #define HAVE_FMODF 1
54588 _ACEOF
54591 done
54593 else
54595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
54596 $as_echo_n "checking for _fmodf declaration... " >&6; }
54597 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
54598 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
54599 $as_echo_n "(cached) " >&6
54600 else
54603 ac_ext=cpp
54604 ac_cpp='$CXXCPP $CPPFLAGS'
54605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54610 /* end confdefs.h. */
54611 #include <math.h>
54613 main ()
54615 _fmodf(0, 0);
54617 return 0;
54619 _ACEOF
54620 if ac_fn_cxx_try_compile "$LINENO"; then :
54621 glibcxx_cv_func__fmodf_use=yes
54622 else
54623 glibcxx_cv_func__fmodf_use=no
54625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54626 ac_ext=c
54627 ac_cpp='$CPP $CPPFLAGS'
54628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
54637 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
54639 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
54640 for ac_func in _fmodf
54641 do :
54642 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
54643 if test "x$ac_cv_func__fmodf" = x""yes; then :
54644 cat >>confdefs.h <<_ACEOF
54645 #define HAVE__FMODF 1
54646 _ACEOF
54649 done
54658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
54659 $as_echo_n "checking for frexpf declaration... " >&6; }
54660 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
54661 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
54662 $as_echo_n "(cached) " >&6
54663 else
54666 ac_ext=cpp
54667 ac_cpp='$CXXCPP $CPPFLAGS'
54668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54673 /* end confdefs.h. */
54674 #include <math.h>
54676 main ()
54678 frexpf(0, 0);
54680 return 0;
54682 _ACEOF
54683 if ac_fn_cxx_try_compile "$LINENO"; then :
54684 glibcxx_cv_func_frexpf_use=yes
54685 else
54686 glibcxx_cv_func_frexpf_use=no
54688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54689 ac_ext=c
54690 ac_cpp='$CPP $CPPFLAGS'
54691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
54700 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
54702 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
54703 for ac_func in frexpf
54704 do :
54705 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
54706 if test "x$ac_cv_func_frexpf" = x""yes; then :
54707 cat >>confdefs.h <<_ACEOF
54708 #define HAVE_FREXPF 1
54709 _ACEOF
54712 done
54714 else
54716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
54717 $as_echo_n "checking for _frexpf declaration... " >&6; }
54718 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
54719 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
54720 $as_echo_n "(cached) " >&6
54721 else
54724 ac_ext=cpp
54725 ac_cpp='$CXXCPP $CPPFLAGS'
54726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54731 /* end confdefs.h. */
54732 #include <math.h>
54734 main ()
54736 _frexpf(0, 0);
54738 return 0;
54740 _ACEOF
54741 if ac_fn_cxx_try_compile "$LINENO"; then :
54742 glibcxx_cv_func__frexpf_use=yes
54743 else
54744 glibcxx_cv_func__frexpf_use=no
54746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54747 ac_ext=c
54748 ac_cpp='$CPP $CPPFLAGS'
54749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
54758 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
54760 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
54761 for ac_func in _frexpf
54762 do :
54763 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
54764 if test "x$ac_cv_func__frexpf" = x""yes; then :
54765 cat >>confdefs.h <<_ACEOF
54766 #define HAVE__FREXPF 1
54767 _ACEOF
54770 done
54779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
54780 $as_echo_n "checking for hypotf declaration... " >&6; }
54781 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
54782 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
54783 $as_echo_n "(cached) " >&6
54784 else
54787 ac_ext=cpp
54788 ac_cpp='$CXXCPP $CPPFLAGS'
54789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54794 /* end confdefs.h. */
54795 #include <math.h>
54797 main ()
54799 hypotf(0, 0);
54801 return 0;
54803 _ACEOF
54804 if ac_fn_cxx_try_compile "$LINENO"; then :
54805 glibcxx_cv_func_hypotf_use=yes
54806 else
54807 glibcxx_cv_func_hypotf_use=no
54809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54810 ac_ext=c
54811 ac_cpp='$CPP $CPPFLAGS'
54812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
54821 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
54823 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
54824 for ac_func in hypotf
54825 do :
54826 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
54827 if test "x$ac_cv_func_hypotf" = x""yes; then :
54828 cat >>confdefs.h <<_ACEOF
54829 #define HAVE_HYPOTF 1
54830 _ACEOF
54833 done
54835 else
54837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
54838 $as_echo_n "checking for _hypotf declaration... " >&6; }
54839 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
54840 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
54841 $as_echo_n "(cached) " >&6
54842 else
54845 ac_ext=cpp
54846 ac_cpp='$CXXCPP $CPPFLAGS'
54847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54852 /* end confdefs.h. */
54853 #include <math.h>
54855 main ()
54857 _hypotf(0, 0);
54859 return 0;
54861 _ACEOF
54862 if ac_fn_cxx_try_compile "$LINENO"; then :
54863 glibcxx_cv_func__hypotf_use=yes
54864 else
54865 glibcxx_cv_func__hypotf_use=no
54867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54868 ac_ext=c
54869 ac_cpp='$CPP $CPPFLAGS'
54870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
54879 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
54881 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
54882 for ac_func in _hypotf
54883 do :
54884 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
54885 if test "x$ac_cv_func__hypotf" = x""yes; then :
54886 cat >>confdefs.h <<_ACEOF
54887 #define HAVE__HYPOTF 1
54888 _ACEOF
54891 done
54900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
54901 $as_echo_n "checking for ldexpf declaration... " >&6; }
54902 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
54903 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
54904 $as_echo_n "(cached) " >&6
54905 else
54908 ac_ext=cpp
54909 ac_cpp='$CXXCPP $CPPFLAGS'
54910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54915 /* end confdefs.h. */
54916 #include <math.h>
54918 main ()
54920 ldexpf(0, 0);
54922 return 0;
54924 _ACEOF
54925 if ac_fn_cxx_try_compile "$LINENO"; then :
54926 glibcxx_cv_func_ldexpf_use=yes
54927 else
54928 glibcxx_cv_func_ldexpf_use=no
54930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54931 ac_ext=c
54932 ac_cpp='$CPP $CPPFLAGS'
54933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
54942 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
54944 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
54945 for ac_func in ldexpf
54946 do :
54947 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
54948 if test "x$ac_cv_func_ldexpf" = x""yes; then :
54949 cat >>confdefs.h <<_ACEOF
54950 #define HAVE_LDEXPF 1
54951 _ACEOF
54954 done
54956 else
54958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
54959 $as_echo_n "checking for _ldexpf declaration... " >&6; }
54960 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
54961 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
54962 $as_echo_n "(cached) " >&6
54963 else
54966 ac_ext=cpp
54967 ac_cpp='$CXXCPP $CPPFLAGS'
54968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54973 /* end confdefs.h. */
54974 #include <math.h>
54976 main ()
54978 _ldexpf(0, 0);
54980 return 0;
54982 _ACEOF
54983 if ac_fn_cxx_try_compile "$LINENO"; then :
54984 glibcxx_cv_func__ldexpf_use=yes
54985 else
54986 glibcxx_cv_func__ldexpf_use=no
54988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54989 ac_ext=c
54990 ac_cpp='$CPP $CPPFLAGS'
54991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
55000 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
55002 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
55003 for ac_func in _ldexpf
55004 do :
55005 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
55006 if test "x$ac_cv_func__ldexpf" = x""yes; then :
55007 cat >>confdefs.h <<_ACEOF
55008 #define HAVE__LDEXPF 1
55009 _ACEOF
55012 done
55021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
55022 $as_echo_n "checking for logf declaration... " >&6; }
55023 if test x${glibcxx_cv_func_logf_use+set} != xset; then
55024 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
55025 $as_echo_n "(cached) " >&6
55026 else
55029 ac_ext=cpp
55030 ac_cpp='$CXXCPP $CPPFLAGS'
55031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55036 /* end confdefs.h. */
55037 #include <math.h>
55038 #ifdef HAVE_IEEEFP_H
55039 #include <ieeefp.h>
55040 #endif
55043 main ()
55045 logf(0);
55047 return 0;
55049 _ACEOF
55050 if ac_fn_cxx_try_compile "$LINENO"; then :
55051 glibcxx_cv_func_logf_use=yes
55052 else
55053 glibcxx_cv_func_logf_use=no
55055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55056 ac_ext=c
55057 ac_cpp='$CPP $CPPFLAGS'
55058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
55067 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
55069 if test x$glibcxx_cv_func_logf_use = x"yes"; then
55070 for ac_func in logf
55071 do :
55072 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
55073 if test "x$ac_cv_func_logf" = x""yes; then :
55074 cat >>confdefs.h <<_ACEOF
55075 #define HAVE_LOGF 1
55076 _ACEOF
55079 done
55081 else
55083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
55084 $as_echo_n "checking for _logf declaration... " >&6; }
55085 if test x${glibcxx_cv_func__logf_use+set} != xset; then
55086 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
55087 $as_echo_n "(cached) " >&6
55088 else
55091 ac_ext=cpp
55092 ac_cpp='$CXXCPP $CPPFLAGS'
55093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55098 /* end confdefs.h. */
55099 #include <math.h>
55100 #ifdef HAVE_IEEEFP_H
55101 #include <ieeefp.h>
55102 #endif
55105 main ()
55107 _logf(0);
55109 return 0;
55111 _ACEOF
55112 if ac_fn_cxx_try_compile "$LINENO"; then :
55113 glibcxx_cv_func__logf_use=yes
55114 else
55115 glibcxx_cv_func__logf_use=no
55117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55118 ac_ext=c
55119 ac_cpp='$CPP $CPPFLAGS'
55120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
55129 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
55131 if test x$glibcxx_cv_func__logf_use = x"yes"; then
55132 for ac_func in _logf
55133 do :
55134 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
55135 if test "x$ac_cv_func__logf" = x""yes; then :
55136 cat >>confdefs.h <<_ACEOF
55137 #define HAVE__LOGF 1
55138 _ACEOF
55141 done
55150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
55151 $as_echo_n "checking for log10f declaration... " >&6; }
55152 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
55153 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
55154 $as_echo_n "(cached) " >&6
55155 else
55158 ac_ext=cpp
55159 ac_cpp='$CXXCPP $CPPFLAGS'
55160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55165 /* end confdefs.h. */
55166 #include <math.h>
55167 #ifdef HAVE_IEEEFP_H
55168 #include <ieeefp.h>
55169 #endif
55172 main ()
55174 log10f(0);
55176 return 0;
55178 _ACEOF
55179 if ac_fn_cxx_try_compile "$LINENO"; then :
55180 glibcxx_cv_func_log10f_use=yes
55181 else
55182 glibcxx_cv_func_log10f_use=no
55184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55185 ac_ext=c
55186 ac_cpp='$CPP $CPPFLAGS'
55187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
55196 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
55198 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
55199 for ac_func in log10f
55200 do :
55201 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
55202 if test "x$ac_cv_func_log10f" = x""yes; then :
55203 cat >>confdefs.h <<_ACEOF
55204 #define HAVE_LOG10F 1
55205 _ACEOF
55208 done
55210 else
55212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
55213 $as_echo_n "checking for _log10f declaration... " >&6; }
55214 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
55215 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
55216 $as_echo_n "(cached) " >&6
55217 else
55220 ac_ext=cpp
55221 ac_cpp='$CXXCPP $CPPFLAGS'
55222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55227 /* end confdefs.h. */
55228 #include <math.h>
55229 #ifdef HAVE_IEEEFP_H
55230 #include <ieeefp.h>
55231 #endif
55234 main ()
55236 _log10f(0);
55238 return 0;
55240 _ACEOF
55241 if ac_fn_cxx_try_compile "$LINENO"; then :
55242 glibcxx_cv_func__log10f_use=yes
55243 else
55244 glibcxx_cv_func__log10f_use=no
55246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55247 ac_ext=c
55248 ac_cpp='$CPP $CPPFLAGS'
55249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
55258 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
55260 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
55261 for ac_func in _log10f
55262 do :
55263 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
55264 if test "x$ac_cv_func__log10f" = x""yes; then :
55265 cat >>confdefs.h <<_ACEOF
55266 #define HAVE__LOG10F 1
55267 _ACEOF
55270 done
55279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
55280 $as_echo_n "checking for modff declaration... " >&6; }
55281 if test x${glibcxx_cv_func_modff_use+set} != xset; then
55282 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
55283 $as_echo_n "(cached) " >&6
55284 else
55287 ac_ext=cpp
55288 ac_cpp='$CXXCPP $CPPFLAGS'
55289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55294 /* end confdefs.h. */
55295 #include <math.h>
55297 main ()
55299 modff(0, 0);
55301 return 0;
55303 _ACEOF
55304 if ac_fn_cxx_try_compile "$LINENO"; then :
55305 glibcxx_cv_func_modff_use=yes
55306 else
55307 glibcxx_cv_func_modff_use=no
55309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55310 ac_ext=c
55311 ac_cpp='$CPP $CPPFLAGS'
55312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
55321 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
55323 if test x$glibcxx_cv_func_modff_use = x"yes"; then
55324 for ac_func in modff
55325 do :
55326 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
55327 if test "x$ac_cv_func_modff" = x""yes; then :
55328 cat >>confdefs.h <<_ACEOF
55329 #define HAVE_MODFF 1
55330 _ACEOF
55333 done
55335 else
55337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
55338 $as_echo_n "checking for _modff declaration... " >&6; }
55339 if test x${glibcxx_cv_func__modff_use+set} != xset; then
55340 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
55341 $as_echo_n "(cached) " >&6
55342 else
55345 ac_ext=cpp
55346 ac_cpp='$CXXCPP $CPPFLAGS'
55347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55352 /* end confdefs.h. */
55353 #include <math.h>
55355 main ()
55357 _modff(0, 0);
55359 return 0;
55361 _ACEOF
55362 if ac_fn_cxx_try_compile "$LINENO"; then :
55363 glibcxx_cv_func__modff_use=yes
55364 else
55365 glibcxx_cv_func__modff_use=no
55367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55368 ac_ext=c
55369 ac_cpp='$CPP $CPPFLAGS'
55370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
55379 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
55381 if test x$glibcxx_cv_func__modff_use = x"yes"; then
55382 for ac_func in _modff
55383 do :
55384 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
55385 if test "x$ac_cv_func__modff" = x""yes; then :
55386 cat >>confdefs.h <<_ACEOF
55387 #define HAVE__MODFF 1
55388 _ACEOF
55391 done
55400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
55401 $as_echo_n "checking for modf declaration... " >&6; }
55402 if test x${glibcxx_cv_func_modf_use+set} != xset; then
55403 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
55404 $as_echo_n "(cached) " >&6
55405 else
55408 ac_ext=cpp
55409 ac_cpp='$CXXCPP $CPPFLAGS'
55410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55415 /* end confdefs.h. */
55416 #include <math.h>
55418 main ()
55420 modf(0, 0);
55422 return 0;
55424 _ACEOF
55425 if ac_fn_cxx_try_compile "$LINENO"; then :
55426 glibcxx_cv_func_modf_use=yes
55427 else
55428 glibcxx_cv_func_modf_use=no
55430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55431 ac_ext=c
55432 ac_cpp='$CPP $CPPFLAGS'
55433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
55442 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
55444 if test x$glibcxx_cv_func_modf_use = x"yes"; then
55445 for ac_func in modf
55446 do :
55447 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
55448 if test "x$ac_cv_func_modf" = x""yes; then :
55449 cat >>confdefs.h <<_ACEOF
55450 #define HAVE_MODF 1
55451 _ACEOF
55454 done
55456 else
55458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
55459 $as_echo_n "checking for _modf declaration... " >&6; }
55460 if test x${glibcxx_cv_func__modf_use+set} != xset; then
55461 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
55462 $as_echo_n "(cached) " >&6
55463 else
55466 ac_ext=cpp
55467 ac_cpp='$CXXCPP $CPPFLAGS'
55468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55473 /* end confdefs.h. */
55474 #include <math.h>
55476 main ()
55478 _modf(0, 0);
55480 return 0;
55482 _ACEOF
55483 if ac_fn_cxx_try_compile "$LINENO"; then :
55484 glibcxx_cv_func__modf_use=yes
55485 else
55486 glibcxx_cv_func__modf_use=no
55488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55489 ac_ext=c
55490 ac_cpp='$CPP $CPPFLAGS'
55491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
55500 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
55502 if test x$glibcxx_cv_func__modf_use = x"yes"; then
55503 for ac_func in _modf
55504 do :
55505 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
55506 if test "x$ac_cv_func__modf" = x""yes; then :
55507 cat >>confdefs.h <<_ACEOF
55508 #define HAVE__MODF 1
55509 _ACEOF
55512 done
55521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
55522 $as_echo_n "checking for powf declaration... " >&6; }
55523 if test x${glibcxx_cv_func_powf_use+set} != xset; then
55524 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
55525 $as_echo_n "(cached) " >&6
55526 else
55529 ac_ext=cpp
55530 ac_cpp='$CXXCPP $CPPFLAGS'
55531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55536 /* end confdefs.h. */
55537 #include <math.h>
55539 main ()
55541 powf(0, 0);
55543 return 0;
55545 _ACEOF
55546 if ac_fn_cxx_try_compile "$LINENO"; then :
55547 glibcxx_cv_func_powf_use=yes
55548 else
55549 glibcxx_cv_func_powf_use=no
55551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55552 ac_ext=c
55553 ac_cpp='$CPP $CPPFLAGS'
55554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
55563 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
55565 if test x$glibcxx_cv_func_powf_use = x"yes"; then
55566 for ac_func in powf
55567 do :
55568 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
55569 if test "x$ac_cv_func_powf" = x""yes; then :
55570 cat >>confdefs.h <<_ACEOF
55571 #define HAVE_POWF 1
55572 _ACEOF
55575 done
55577 else
55579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
55580 $as_echo_n "checking for _powf declaration... " >&6; }
55581 if test x${glibcxx_cv_func__powf_use+set} != xset; then
55582 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
55583 $as_echo_n "(cached) " >&6
55584 else
55587 ac_ext=cpp
55588 ac_cpp='$CXXCPP $CPPFLAGS'
55589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55594 /* end confdefs.h. */
55595 #include <math.h>
55597 main ()
55599 _powf(0, 0);
55601 return 0;
55603 _ACEOF
55604 if ac_fn_cxx_try_compile "$LINENO"; then :
55605 glibcxx_cv_func__powf_use=yes
55606 else
55607 glibcxx_cv_func__powf_use=no
55609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55610 ac_ext=c
55611 ac_cpp='$CPP $CPPFLAGS'
55612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
55621 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
55623 if test x$glibcxx_cv_func__powf_use = x"yes"; then
55624 for ac_func in _powf
55625 do :
55626 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
55627 if test "x$ac_cv_func__powf" = x""yes; then :
55628 cat >>confdefs.h <<_ACEOF
55629 #define HAVE__POWF 1
55630 _ACEOF
55633 done
55642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
55643 $as_echo_n "checking for sqrtf declaration... " >&6; }
55644 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
55645 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
55646 $as_echo_n "(cached) " >&6
55647 else
55650 ac_ext=cpp
55651 ac_cpp='$CXXCPP $CPPFLAGS'
55652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55657 /* end confdefs.h. */
55658 #include <math.h>
55659 #ifdef HAVE_IEEEFP_H
55660 #include <ieeefp.h>
55661 #endif
55664 main ()
55666 sqrtf(0);
55668 return 0;
55670 _ACEOF
55671 if ac_fn_cxx_try_compile "$LINENO"; then :
55672 glibcxx_cv_func_sqrtf_use=yes
55673 else
55674 glibcxx_cv_func_sqrtf_use=no
55676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55677 ac_ext=c
55678 ac_cpp='$CPP $CPPFLAGS'
55679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
55688 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
55690 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
55691 for ac_func in sqrtf
55692 do :
55693 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
55694 if test "x$ac_cv_func_sqrtf" = x""yes; then :
55695 cat >>confdefs.h <<_ACEOF
55696 #define HAVE_SQRTF 1
55697 _ACEOF
55700 done
55702 else
55704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
55705 $as_echo_n "checking for _sqrtf declaration... " >&6; }
55706 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
55707 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
55708 $as_echo_n "(cached) " >&6
55709 else
55712 ac_ext=cpp
55713 ac_cpp='$CXXCPP $CPPFLAGS'
55714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55719 /* end confdefs.h. */
55720 #include <math.h>
55721 #ifdef HAVE_IEEEFP_H
55722 #include <ieeefp.h>
55723 #endif
55726 main ()
55728 _sqrtf(0);
55730 return 0;
55732 _ACEOF
55733 if ac_fn_cxx_try_compile "$LINENO"; then :
55734 glibcxx_cv_func__sqrtf_use=yes
55735 else
55736 glibcxx_cv_func__sqrtf_use=no
55738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55739 ac_ext=c
55740 ac_cpp='$CPP $CPPFLAGS'
55741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
55750 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
55752 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
55753 for ac_func in _sqrtf
55754 do :
55755 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
55756 if test "x$ac_cv_func__sqrtf" = x""yes; then :
55757 cat >>confdefs.h <<_ACEOF
55758 #define HAVE__SQRTF 1
55759 _ACEOF
55762 done
55771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
55772 $as_echo_n "checking for sincosf declaration... " >&6; }
55773 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
55774 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
55775 $as_echo_n "(cached) " >&6
55776 else
55779 ac_ext=cpp
55780 ac_cpp='$CXXCPP $CPPFLAGS'
55781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55786 /* end confdefs.h. */
55787 #include <math.h>
55789 main ()
55791 sincosf(0, 0, 0);
55793 return 0;
55795 _ACEOF
55796 if ac_fn_cxx_try_compile "$LINENO"; then :
55797 glibcxx_cv_func_sincosf_use=yes
55798 else
55799 glibcxx_cv_func_sincosf_use=no
55801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55802 ac_ext=c
55803 ac_cpp='$CPP $CPPFLAGS'
55804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
55813 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
55815 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
55816 for ac_func in sincosf
55817 do :
55818 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
55819 if test "x$ac_cv_func_sincosf" = x""yes; then :
55820 cat >>confdefs.h <<_ACEOF
55821 #define HAVE_SINCOSF 1
55822 _ACEOF
55825 done
55827 else
55829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
55830 $as_echo_n "checking for _sincosf declaration... " >&6; }
55831 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
55832 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
55833 $as_echo_n "(cached) " >&6
55834 else
55837 ac_ext=cpp
55838 ac_cpp='$CXXCPP $CPPFLAGS'
55839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55844 /* end confdefs.h. */
55845 #include <math.h>
55847 main ()
55849 _sincosf(0, 0, 0);
55851 return 0;
55853 _ACEOF
55854 if ac_fn_cxx_try_compile "$LINENO"; then :
55855 glibcxx_cv_func__sincosf_use=yes
55856 else
55857 glibcxx_cv_func__sincosf_use=no
55859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55860 ac_ext=c
55861 ac_cpp='$CPP $CPPFLAGS'
55862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
55871 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
55873 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
55874 for ac_func in _sincosf
55875 do :
55876 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
55877 if test "x$ac_cv_func__sincosf" = x""yes; then :
55878 cat >>confdefs.h <<_ACEOF
55879 #define HAVE__SINCOSF 1
55880 _ACEOF
55883 done
55892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
55893 $as_echo_n "checking for finitef declaration... " >&6; }
55894 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
55895 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
55896 $as_echo_n "(cached) " >&6
55897 else
55900 ac_ext=cpp
55901 ac_cpp='$CXXCPP $CPPFLAGS'
55902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55907 /* end confdefs.h. */
55908 #include <math.h>
55909 #ifdef HAVE_IEEEFP_H
55910 #include <ieeefp.h>
55911 #endif
55914 main ()
55916 finitef(0);
55918 return 0;
55920 _ACEOF
55921 if ac_fn_cxx_try_compile "$LINENO"; then :
55922 glibcxx_cv_func_finitef_use=yes
55923 else
55924 glibcxx_cv_func_finitef_use=no
55926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55927 ac_ext=c
55928 ac_cpp='$CPP $CPPFLAGS'
55929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
55938 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
55940 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
55941 for ac_func in finitef
55942 do :
55943 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
55944 if test "x$ac_cv_func_finitef" = x""yes; then :
55945 cat >>confdefs.h <<_ACEOF
55946 #define HAVE_FINITEF 1
55947 _ACEOF
55950 done
55952 else
55954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
55955 $as_echo_n "checking for _finitef declaration... " >&6; }
55956 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
55957 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
55958 $as_echo_n "(cached) " >&6
55959 else
55962 ac_ext=cpp
55963 ac_cpp='$CXXCPP $CPPFLAGS'
55964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55969 /* end confdefs.h. */
55970 #include <math.h>
55971 #ifdef HAVE_IEEEFP_H
55972 #include <ieeefp.h>
55973 #endif
55976 main ()
55978 _finitef(0);
55980 return 0;
55982 _ACEOF
55983 if ac_fn_cxx_try_compile "$LINENO"; then :
55984 glibcxx_cv_func__finitef_use=yes
55985 else
55986 glibcxx_cv_func__finitef_use=no
55988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55989 ac_ext=c
55990 ac_cpp='$CPP $CPPFLAGS'
55991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
56000 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
56002 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
56003 for ac_func in _finitef
56004 do :
56005 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
56006 if test "x$ac_cv_func__finitef" = x""yes; then :
56007 cat >>confdefs.h <<_ACEOF
56008 #define HAVE__FINITEF 1
56009 _ACEOF
56012 done
56021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
56022 $as_echo_n "checking for long double trig functions... " >&6; }
56023 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
56024 $as_echo_n "(cached) " >&6
56025 else
56028 ac_ext=cpp
56029 ac_cpp='$CXXCPP $CPPFLAGS'
56030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56035 /* end confdefs.h. */
56036 #include <math.h>
56038 main ()
56040 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
56042 return 0;
56044 _ACEOF
56045 if ac_fn_cxx_try_compile "$LINENO"; then :
56046 glibcxx_cv_func_long_double_trig_use=yes
56047 else
56048 glibcxx_cv_func_long_double_trig_use=no
56050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56051 ac_ext=c
56052 ac_cpp='$CPP $CPPFLAGS'
56053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
56060 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
56061 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
56062 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
56063 do :
56064 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56065 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56066 eval as_val=\$$as_ac_var
56067 if test "x$as_val" = x""yes; then :
56068 cat >>confdefs.h <<_ACEOF
56069 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56070 _ACEOF
56073 done
56075 else
56076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
56077 $as_echo_n "checking for _long double trig functions... " >&6; }
56078 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
56079 $as_echo_n "(cached) " >&6
56080 else
56083 ac_ext=cpp
56084 ac_cpp='$CXXCPP $CPPFLAGS'
56085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56090 /* end confdefs.h. */
56091 #include <math.h>
56093 main ()
56095 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
56097 return 0;
56099 _ACEOF
56100 if ac_fn_cxx_try_compile "$LINENO"; then :
56101 glibcxx_cv_func__long_double_trig_use=yes
56102 else
56103 glibcxx_cv_func__long_double_trig_use=no
56105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56106 ac_ext=c
56107 ac_cpp='$CPP $CPPFLAGS'
56108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
56115 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
56116 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
56117 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
56118 do :
56119 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56120 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56121 eval as_val=\$$as_ac_var
56122 if test "x$as_val" = x""yes; then :
56123 cat >>confdefs.h <<_ACEOF
56124 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56125 _ACEOF
56128 done
56137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
56138 $as_echo_n "checking for long double round functions... " >&6; }
56139 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
56140 $as_echo_n "(cached) " >&6
56141 else
56144 ac_ext=cpp
56145 ac_cpp='$CXXCPP $CPPFLAGS'
56146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56151 /* end confdefs.h. */
56152 #include <math.h>
56154 main ()
56156 ceill (0); floorl (0);
56158 return 0;
56160 _ACEOF
56161 if ac_fn_cxx_try_compile "$LINENO"; then :
56162 glibcxx_cv_func_long_double_round_use=yes
56163 else
56164 glibcxx_cv_func_long_double_round_use=no
56166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56167 ac_ext=c
56168 ac_cpp='$CPP $CPPFLAGS'
56169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
56176 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
56177 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
56178 for ac_func in ceill floorl
56179 do :
56180 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56181 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56182 eval as_val=\$$as_ac_var
56183 if test "x$as_val" = x""yes; then :
56184 cat >>confdefs.h <<_ACEOF
56185 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56186 _ACEOF
56189 done
56191 else
56192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
56193 $as_echo_n "checking for _long double round functions... " >&6; }
56194 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
56195 $as_echo_n "(cached) " >&6
56196 else
56199 ac_ext=cpp
56200 ac_cpp='$CXXCPP $CPPFLAGS'
56201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56206 /* end confdefs.h. */
56207 #include <math.h>
56209 main ()
56211 _ceill (0); _floorl (0);
56213 return 0;
56215 _ACEOF
56216 if ac_fn_cxx_try_compile "$LINENO"; then :
56217 glibcxx_cv_func__long_double_round_use=yes
56218 else
56219 glibcxx_cv_func__long_double_round_use=no
56221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56222 ac_ext=c
56223 ac_cpp='$CPP $CPPFLAGS'
56224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
56231 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
56232 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
56233 for ac_func in _ceill _floorl
56234 do :
56235 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56236 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56237 eval as_val=\$$as_ac_var
56238 if test "x$as_val" = x""yes; then :
56239 cat >>confdefs.h <<_ACEOF
56240 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56241 _ACEOF
56244 done
56254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
56255 $as_echo_n "checking for isnanl declaration... " >&6; }
56256 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
56257 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
56258 $as_echo_n "(cached) " >&6
56259 else
56262 ac_ext=cpp
56263 ac_cpp='$CXXCPP $CPPFLAGS'
56264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56269 /* end confdefs.h. */
56270 #include <math.h>
56271 #ifdef HAVE_IEEEFP_H
56272 #include <ieeefp.h>
56273 #endif
56276 main ()
56278 isnanl(0);
56280 return 0;
56282 _ACEOF
56283 if ac_fn_cxx_try_compile "$LINENO"; then :
56284 glibcxx_cv_func_isnanl_use=yes
56285 else
56286 glibcxx_cv_func_isnanl_use=no
56288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56289 ac_ext=c
56290 ac_cpp='$CPP $CPPFLAGS'
56291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
56300 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
56302 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
56303 for ac_func in isnanl
56304 do :
56305 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
56306 if test "x$ac_cv_func_isnanl" = x""yes; then :
56307 cat >>confdefs.h <<_ACEOF
56308 #define HAVE_ISNANL 1
56309 _ACEOF
56312 done
56314 else
56316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
56317 $as_echo_n "checking for _isnanl declaration... " >&6; }
56318 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
56319 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
56320 $as_echo_n "(cached) " >&6
56321 else
56324 ac_ext=cpp
56325 ac_cpp='$CXXCPP $CPPFLAGS'
56326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56331 /* end confdefs.h. */
56332 #include <math.h>
56333 #ifdef HAVE_IEEEFP_H
56334 #include <ieeefp.h>
56335 #endif
56338 main ()
56340 _isnanl(0);
56342 return 0;
56344 _ACEOF
56345 if ac_fn_cxx_try_compile "$LINENO"; then :
56346 glibcxx_cv_func__isnanl_use=yes
56347 else
56348 glibcxx_cv_func__isnanl_use=no
56350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56351 ac_ext=c
56352 ac_cpp='$CPP $CPPFLAGS'
56353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
56362 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
56364 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
56365 for ac_func in _isnanl
56366 do :
56367 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
56368 if test "x$ac_cv_func__isnanl" = x""yes; then :
56369 cat >>confdefs.h <<_ACEOF
56370 #define HAVE__ISNANL 1
56371 _ACEOF
56374 done
56383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
56384 $as_echo_n "checking for isinfl declaration... " >&6; }
56385 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
56386 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
56387 $as_echo_n "(cached) " >&6
56388 else
56391 ac_ext=cpp
56392 ac_cpp='$CXXCPP $CPPFLAGS'
56393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56398 /* end confdefs.h. */
56399 #include <math.h>
56400 #ifdef HAVE_IEEEFP_H
56401 #include <ieeefp.h>
56402 #endif
56405 main ()
56407 isinfl(0);
56409 return 0;
56411 _ACEOF
56412 if ac_fn_cxx_try_compile "$LINENO"; then :
56413 glibcxx_cv_func_isinfl_use=yes
56414 else
56415 glibcxx_cv_func_isinfl_use=no
56417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56418 ac_ext=c
56419 ac_cpp='$CPP $CPPFLAGS'
56420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
56429 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
56431 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
56432 for ac_func in isinfl
56433 do :
56434 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
56435 if test "x$ac_cv_func_isinfl" = x""yes; then :
56436 cat >>confdefs.h <<_ACEOF
56437 #define HAVE_ISINFL 1
56438 _ACEOF
56441 done
56443 else
56445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
56446 $as_echo_n "checking for _isinfl declaration... " >&6; }
56447 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
56448 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
56449 $as_echo_n "(cached) " >&6
56450 else
56453 ac_ext=cpp
56454 ac_cpp='$CXXCPP $CPPFLAGS'
56455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56460 /* end confdefs.h. */
56461 #include <math.h>
56462 #ifdef HAVE_IEEEFP_H
56463 #include <ieeefp.h>
56464 #endif
56467 main ()
56469 _isinfl(0);
56471 return 0;
56473 _ACEOF
56474 if ac_fn_cxx_try_compile "$LINENO"; then :
56475 glibcxx_cv_func__isinfl_use=yes
56476 else
56477 glibcxx_cv_func__isinfl_use=no
56479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56480 ac_ext=c
56481 ac_cpp='$CPP $CPPFLAGS'
56482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
56491 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
56493 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
56494 for ac_func in _isinfl
56495 do :
56496 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
56497 if test "x$ac_cv_func__isinfl" = x""yes; then :
56498 cat >>confdefs.h <<_ACEOF
56499 #define HAVE__ISINFL 1
56500 _ACEOF
56503 done
56512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
56513 $as_echo_n "checking for atan2l declaration... " >&6; }
56514 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
56515 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
56516 $as_echo_n "(cached) " >&6
56517 else
56520 ac_ext=cpp
56521 ac_cpp='$CXXCPP $CPPFLAGS'
56522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56527 /* end confdefs.h. */
56528 #include <math.h>
56530 main ()
56532 atan2l(0, 0);
56534 return 0;
56536 _ACEOF
56537 if ac_fn_cxx_try_compile "$LINENO"; then :
56538 glibcxx_cv_func_atan2l_use=yes
56539 else
56540 glibcxx_cv_func_atan2l_use=no
56542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56543 ac_ext=c
56544 ac_cpp='$CPP $CPPFLAGS'
56545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
56554 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
56556 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
56557 for ac_func in atan2l
56558 do :
56559 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
56560 if test "x$ac_cv_func_atan2l" = x""yes; then :
56561 cat >>confdefs.h <<_ACEOF
56562 #define HAVE_ATAN2L 1
56563 _ACEOF
56566 done
56568 else
56570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
56571 $as_echo_n "checking for _atan2l declaration... " >&6; }
56572 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
56573 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
56574 $as_echo_n "(cached) " >&6
56575 else
56578 ac_ext=cpp
56579 ac_cpp='$CXXCPP $CPPFLAGS'
56580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56585 /* end confdefs.h. */
56586 #include <math.h>
56588 main ()
56590 _atan2l(0, 0);
56592 return 0;
56594 _ACEOF
56595 if ac_fn_cxx_try_compile "$LINENO"; then :
56596 glibcxx_cv_func__atan2l_use=yes
56597 else
56598 glibcxx_cv_func__atan2l_use=no
56600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56601 ac_ext=c
56602 ac_cpp='$CPP $CPPFLAGS'
56603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
56612 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
56614 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
56615 for ac_func in _atan2l
56616 do :
56617 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
56618 if test "x$ac_cv_func__atan2l" = x""yes; then :
56619 cat >>confdefs.h <<_ACEOF
56620 #define HAVE__ATAN2L 1
56621 _ACEOF
56624 done
56633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
56634 $as_echo_n "checking for expl declaration... " >&6; }
56635 if test x${glibcxx_cv_func_expl_use+set} != xset; then
56636 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
56637 $as_echo_n "(cached) " >&6
56638 else
56641 ac_ext=cpp
56642 ac_cpp='$CXXCPP $CPPFLAGS'
56643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56648 /* end confdefs.h. */
56649 #include <math.h>
56650 #ifdef HAVE_IEEEFP_H
56651 #include <ieeefp.h>
56652 #endif
56655 main ()
56657 expl(0);
56659 return 0;
56661 _ACEOF
56662 if ac_fn_cxx_try_compile "$LINENO"; then :
56663 glibcxx_cv_func_expl_use=yes
56664 else
56665 glibcxx_cv_func_expl_use=no
56667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56668 ac_ext=c
56669 ac_cpp='$CPP $CPPFLAGS'
56670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
56679 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
56681 if test x$glibcxx_cv_func_expl_use = x"yes"; then
56682 for ac_func in expl
56683 do :
56684 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
56685 if test "x$ac_cv_func_expl" = x""yes; then :
56686 cat >>confdefs.h <<_ACEOF
56687 #define HAVE_EXPL 1
56688 _ACEOF
56691 done
56693 else
56695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
56696 $as_echo_n "checking for _expl declaration... " >&6; }
56697 if test x${glibcxx_cv_func__expl_use+set} != xset; then
56698 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
56699 $as_echo_n "(cached) " >&6
56700 else
56703 ac_ext=cpp
56704 ac_cpp='$CXXCPP $CPPFLAGS'
56705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56710 /* end confdefs.h. */
56711 #include <math.h>
56712 #ifdef HAVE_IEEEFP_H
56713 #include <ieeefp.h>
56714 #endif
56717 main ()
56719 _expl(0);
56721 return 0;
56723 _ACEOF
56724 if ac_fn_cxx_try_compile "$LINENO"; then :
56725 glibcxx_cv_func__expl_use=yes
56726 else
56727 glibcxx_cv_func__expl_use=no
56729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56730 ac_ext=c
56731 ac_cpp='$CPP $CPPFLAGS'
56732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
56741 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
56743 if test x$glibcxx_cv_func__expl_use = x"yes"; then
56744 for ac_func in _expl
56745 do :
56746 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
56747 if test "x$ac_cv_func__expl" = x""yes; then :
56748 cat >>confdefs.h <<_ACEOF
56749 #define HAVE__EXPL 1
56750 _ACEOF
56753 done
56762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
56763 $as_echo_n "checking for fabsl declaration... " >&6; }
56764 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
56765 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
56766 $as_echo_n "(cached) " >&6
56767 else
56770 ac_ext=cpp
56771 ac_cpp='$CXXCPP $CPPFLAGS'
56772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56777 /* end confdefs.h. */
56778 #include <math.h>
56779 #ifdef HAVE_IEEEFP_H
56780 #include <ieeefp.h>
56781 #endif
56784 main ()
56786 fabsl(0);
56788 return 0;
56790 _ACEOF
56791 if ac_fn_cxx_try_compile "$LINENO"; then :
56792 glibcxx_cv_func_fabsl_use=yes
56793 else
56794 glibcxx_cv_func_fabsl_use=no
56796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56797 ac_ext=c
56798 ac_cpp='$CPP $CPPFLAGS'
56799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
56808 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
56810 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
56811 for ac_func in fabsl
56812 do :
56813 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
56814 if test "x$ac_cv_func_fabsl" = x""yes; then :
56815 cat >>confdefs.h <<_ACEOF
56816 #define HAVE_FABSL 1
56817 _ACEOF
56820 done
56822 else
56824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
56825 $as_echo_n "checking for _fabsl declaration... " >&6; }
56826 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
56827 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
56828 $as_echo_n "(cached) " >&6
56829 else
56832 ac_ext=cpp
56833 ac_cpp='$CXXCPP $CPPFLAGS'
56834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56839 /* end confdefs.h. */
56840 #include <math.h>
56841 #ifdef HAVE_IEEEFP_H
56842 #include <ieeefp.h>
56843 #endif
56846 main ()
56848 _fabsl(0);
56850 return 0;
56852 _ACEOF
56853 if ac_fn_cxx_try_compile "$LINENO"; then :
56854 glibcxx_cv_func__fabsl_use=yes
56855 else
56856 glibcxx_cv_func__fabsl_use=no
56858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56859 ac_ext=c
56860 ac_cpp='$CPP $CPPFLAGS'
56861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
56870 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
56872 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
56873 for ac_func in _fabsl
56874 do :
56875 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
56876 if test "x$ac_cv_func__fabsl" = x""yes; then :
56877 cat >>confdefs.h <<_ACEOF
56878 #define HAVE__FABSL 1
56879 _ACEOF
56882 done
56891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
56892 $as_echo_n "checking for fmodl declaration... " >&6; }
56893 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
56894 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
56895 $as_echo_n "(cached) " >&6
56896 else
56899 ac_ext=cpp
56900 ac_cpp='$CXXCPP $CPPFLAGS'
56901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56906 /* end confdefs.h. */
56907 #include <math.h>
56909 main ()
56911 fmodl(0, 0);
56913 return 0;
56915 _ACEOF
56916 if ac_fn_cxx_try_compile "$LINENO"; then :
56917 glibcxx_cv_func_fmodl_use=yes
56918 else
56919 glibcxx_cv_func_fmodl_use=no
56921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56922 ac_ext=c
56923 ac_cpp='$CPP $CPPFLAGS'
56924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
56933 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
56935 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
56936 for ac_func in fmodl
56937 do :
56938 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
56939 if test "x$ac_cv_func_fmodl" = x""yes; then :
56940 cat >>confdefs.h <<_ACEOF
56941 #define HAVE_FMODL 1
56942 _ACEOF
56945 done
56947 else
56949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
56950 $as_echo_n "checking for _fmodl declaration... " >&6; }
56951 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
56952 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
56953 $as_echo_n "(cached) " >&6
56954 else
56957 ac_ext=cpp
56958 ac_cpp='$CXXCPP $CPPFLAGS'
56959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56964 /* end confdefs.h. */
56965 #include <math.h>
56967 main ()
56969 _fmodl(0, 0);
56971 return 0;
56973 _ACEOF
56974 if ac_fn_cxx_try_compile "$LINENO"; then :
56975 glibcxx_cv_func__fmodl_use=yes
56976 else
56977 glibcxx_cv_func__fmodl_use=no
56979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56980 ac_ext=c
56981 ac_cpp='$CPP $CPPFLAGS'
56982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
56991 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
56993 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
56994 for ac_func in _fmodl
56995 do :
56996 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
56997 if test "x$ac_cv_func__fmodl" = x""yes; then :
56998 cat >>confdefs.h <<_ACEOF
56999 #define HAVE__FMODL 1
57000 _ACEOF
57003 done
57012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
57013 $as_echo_n "checking for frexpl declaration... " >&6; }
57014 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
57015 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
57016 $as_echo_n "(cached) " >&6
57017 else
57020 ac_ext=cpp
57021 ac_cpp='$CXXCPP $CPPFLAGS'
57022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57027 /* end confdefs.h. */
57028 #include <math.h>
57030 main ()
57032 frexpl(0, 0);
57034 return 0;
57036 _ACEOF
57037 if ac_fn_cxx_try_compile "$LINENO"; then :
57038 glibcxx_cv_func_frexpl_use=yes
57039 else
57040 glibcxx_cv_func_frexpl_use=no
57042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57043 ac_ext=c
57044 ac_cpp='$CPP $CPPFLAGS'
57045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
57054 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
57056 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
57057 for ac_func in frexpl
57058 do :
57059 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
57060 if test "x$ac_cv_func_frexpl" = x""yes; then :
57061 cat >>confdefs.h <<_ACEOF
57062 #define HAVE_FREXPL 1
57063 _ACEOF
57066 done
57068 else
57070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
57071 $as_echo_n "checking for _frexpl declaration... " >&6; }
57072 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
57073 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
57074 $as_echo_n "(cached) " >&6
57075 else
57078 ac_ext=cpp
57079 ac_cpp='$CXXCPP $CPPFLAGS'
57080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57085 /* end confdefs.h. */
57086 #include <math.h>
57088 main ()
57090 _frexpl(0, 0);
57092 return 0;
57094 _ACEOF
57095 if ac_fn_cxx_try_compile "$LINENO"; then :
57096 glibcxx_cv_func__frexpl_use=yes
57097 else
57098 glibcxx_cv_func__frexpl_use=no
57100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57101 ac_ext=c
57102 ac_cpp='$CPP $CPPFLAGS'
57103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
57112 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
57114 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
57115 for ac_func in _frexpl
57116 do :
57117 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
57118 if test "x$ac_cv_func__frexpl" = x""yes; then :
57119 cat >>confdefs.h <<_ACEOF
57120 #define HAVE__FREXPL 1
57121 _ACEOF
57124 done
57133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
57134 $as_echo_n "checking for hypotl declaration... " >&6; }
57135 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
57136 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
57137 $as_echo_n "(cached) " >&6
57138 else
57141 ac_ext=cpp
57142 ac_cpp='$CXXCPP $CPPFLAGS'
57143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57148 /* end confdefs.h. */
57149 #include <math.h>
57151 main ()
57153 hypotl(0, 0);
57155 return 0;
57157 _ACEOF
57158 if ac_fn_cxx_try_compile "$LINENO"; then :
57159 glibcxx_cv_func_hypotl_use=yes
57160 else
57161 glibcxx_cv_func_hypotl_use=no
57163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57164 ac_ext=c
57165 ac_cpp='$CPP $CPPFLAGS'
57166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
57175 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
57177 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
57178 for ac_func in hypotl
57179 do :
57180 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
57181 if test "x$ac_cv_func_hypotl" = x""yes; then :
57182 cat >>confdefs.h <<_ACEOF
57183 #define HAVE_HYPOTL 1
57184 _ACEOF
57187 done
57189 else
57191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
57192 $as_echo_n "checking for _hypotl declaration... " >&6; }
57193 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
57194 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
57195 $as_echo_n "(cached) " >&6
57196 else
57199 ac_ext=cpp
57200 ac_cpp='$CXXCPP $CPPFLAGS'
57201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57206 /* end confdefs.h. */
57207 #include <math.h>
57209 main ()
57211 _hypotl(0, 0);
57213 return 0;
57215 _ACEOF
57216 if ac_fn_cxx_try_compile "$LINENO"; then :
57217 glibcxx_cv_func__hypotl_use=yes
57218 else
57219 glibcxx_cv_func__hypotl_use=no
57221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57222 ac_ext=c
57223 ac_cpp='$CPP $CPPFLAGS'
57224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
57233 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
57235 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
57236 for ac_func in _hypotl
57237 do :
57238 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
57239 if test "x$ac_cv_func__hypotl" = x""yes; then :
57240 cat >>confdefs.h <<_ACEOF
57241 #define HAVE__HYPOTL 1
57242 _ACEOF
57245 done
57254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
57255 $as_echo_n "checking for ldexpl declaration... " >&6; }
57256 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
57257 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
57258 $as_echo_n "(cached) " >&6
57259 else
57262 ac_ext=cpp
57263 ac_cpp='$CXXCPP $CPPFLAGS'
57264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57269 /* end confdefs.h. */
57270 #include <math.h>
57272 main ()
57274 ldexpl(0, 0);
57276 return 0;
57278 _ACEOF
57279 if ac_fn_cxx_try_compile "$LINENO"; then :
57280 glibcxx_cv_func_ldexpl_use=yes
57281 else
57282 glibcxx_cv_func_ldexpl_use=no
57284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57285 ac_ext=c
57286 ac_cpp='$CPP $CPPFLAGS'
57287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
57296 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
57298 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
57299 for ac_func in ldexpl
57300 do :
57301 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
57302 if test "x$ac_cv_func_ldexpl" = x""yes; then :
57303 cat >>confdefs.h <<_ACEOF
57304 #define HAVE_LDEXPL 1
57305 _ACEOF
57308 done
57310 else
57312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
57313 $as_echo_n "checking for _ldexpl declaration... " >&6; }
57314 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
57315 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
57316 $as_echo_n "(cached) " >&6
57317 else
57320 ac_ext=cpp
57321 ac_cpp='$CXXCPP $CPPFLAGS'
57322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57327 /* end confdefs.h. */
57328 #include <math.h>
57330 main ()
57332 _ldexpl(0, 0);
57334 return 0;
57336 _ACEOF
57337 if ac_fn_cxx_try_compile "$LINENO"; then :
57338 glibcxx_cv_func__ldexpl_use=yes
57339 else
57340 glibcxx_cv_func__ldexpl_use=no
57342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57343 ac_ext=c
57344 ac_cpp='$CPP $CPPFLAGS'
57345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
57354 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
57356 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
57357 for ac_func in _ldexpl
57358 do :
57359 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
57360 if test "x$ac_cv_func__ldexpl" = x""yes; then :
57361 cat >>confdefs.h <<_ACEOF
57362 #define HAVE__LDEXPL 1
57363 _ACEOF
57366 done
57375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
57376 $as_echo_n "checking for logl declaration... " >&6; }
57377 if test x${glibcxx_cv_func_logl_use+set} != xset; then
57378 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
57379 $as_echo_n "(cached) " >&6
57380 else
57383 ac_ext=cpp
57384 ac_cpp='$CXXCPP $CPPFLAGS'
57385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57390 /* end confdefs.h. */
57391 #include <math.h>
57392 #ifdef HAVE_IEEEFP_H
57393 #include <ieeefp.h>
57394 #endif
57397 main ()
57399 logl(0);
57401 return 0;
57403 _ACEOF
57404 if ac_fn_cxx_try_compile "$LINENO"; then :
57405 glibcxx_cv_func_logl_use=yes
57406 else
57407 glibcxx_cv_func_logl_use=no
57409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57410 ac_ext=c
57411 ac_cpp='$CPP $CPPFLAGS'
57412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
57421 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
57423 if test x$glibcxx_cv_func_logl_use = x"yes"; then
57424 for ac_func in logl
57425 do :
57426 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
57427 if test "x$ac_cv_func_logl" = x""yes; then :
57428 cat >>confdefs.h <<_ACEOF
57429 #define HAVE_LOGL 1
57430 _ACEOF
57433 done
57435 else
57437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
57438 $as_echo_n "checking for _logl declaration... " >&6; }
57439 if test x${glibcxx_cv_func__logl_use+set} != xset; then
57440 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
57441 $as_echo_n "(cached) " >&6
57442 else
57445 ac_ext=cpp
57446 ac_cpp='$CXXCPP $CPPFLAGS'
57447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57452 /* end confdefs.h. */
57453 #include <math.h>
57454 #ifdef HAVE_IEEEFP_H
57455 #include <ieeefp.h>
57456 #endif
57459 main ()
57461 _logl(0);
57463 return 0;
57465 _ACEOF
57466 if ac_fn_cxx_try_compile "$LINENO"; then :
57467 glibcxx_cv_func__logl_use=yes
57468 else
57469 glibcxx_cv_func__logl_use=no
57471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57472 ac_ext=c
57473 ac_cpp='$CPP $CPPFLAGS'
57474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
57483 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
57485 if test x$glibcxx_cv_func__logl_use = x"yes"; then
57486 for ac_func in _logl
57487 do :
57488 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
57489 if test "x$ac_cv_func__logl" = x""yes; then :
57490 cat >>confdefs.h <<_ACEOF
57491 #define HAVE__LOGL 1
57492 _ACEOF
57495 done
57504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
57505 $as_echo_n "checking for log10l declaration... " >&6; }
57506 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
57507 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
57508 $as_echo_n "(cached) " >&6
57509 else
57512 ac_ext=cpp
57513 ac_cpp='$CXXCPP $CPPFLAGS'
57514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57519 /* end confdefs.h. */
57520 #include <math.h>
57521 #ifdef HAVE_IEEEFP_H
57522 #include <ieeefp.h>
57523 #endif
57526 main ()
57528 log10l(0);
57530 return 0;
57532 _ACEOF
57533 if ac_fn_cxx_try_compile "$LINENO"; then :
57534 glibcxx_cv_func_log10l_use=yes
57535 else
57536 glibcxx_cv_func_log10l_use=no
57538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57539 ac_ext=c
57540 ac_cpp='$CPP $CPPFLAGS'
57541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
57550 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
57552 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
57553 for ac_func in log10l
57554 do :
57555 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
57556 if test "x$ac_cv_func_log10l" = x""yes; then :
57557 cat >>confdefs.h <<_ACEOF
57558 #define HAVE_LOG10L 1
57559 _ACEOF
57562 done
57564 else
57566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
57567 $as_echo_n "checking for _log10l declaration... " >&6; }
57568 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
57569 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
57570 $as_echo_n "(cached) " >&6
57571 else
57574 ac_ext=cpp
57575 ac_cpp='$CXXCPP $CPPFLAGS'
57576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57581 /* end confdefs.h. */
57582 #include <math.h>
57583 #ifdef HAVE_IEEEFP_H
57584 #include <ieeefp.h>
57585 #endif
57588 main ()
57590 _log10l(0);
57592 return 0;
57594 _ACEOF
57595 if ac_fn_cxx_try_compile "$LINENO"; then :
57596 glibcxx_cv_func__log10l_use=yes
57597 else
57598 glibcxx_cv_func__log10l_use=no
57600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57601 ac_ext=c
57602 ac_cpp='$CPP $CPPFLAGS'
57603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
57612 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
57614 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
57615 for ac_func in _log10l
57616 do :
57617 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
57618 if test "x$ac_cv_func__log10l" = x""yes; then :
57619 cat >>confdefs.h <<_ACEOF
57620 #define HAVE__LOG10L 1
57621 _ACEOF
57624 done
57633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
57634 $as_echo_n "checking for modfl declaration... " >&6; }
57635 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
57636 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
57637 $as_echo_n "(cached) " >&6
57638 else
57641 ac_ext=cpp
57642 ac_cpp='$CXXCPP $CPPFLAGS'
57643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57648 /* end confdefs.h. */
57649 #include <math.h>
57651 main ()
57653 modfl(0, 0);
57655 return 0;
57657 _ACEOF
57658 if ac_fn_cxx_try_compile "$LINENO"; then :
57659 glibcxx_cv_func_modfl_use=yes
57660 else
57661 glibcxx_cv_func_modfl_use=no
57663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57664 ac_ext=c
57665 ac_cpp='$CPP $CPPFLAGS'
57666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
57675 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
57677 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
57678 for ac_func in modfl
57679 do :
57680 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
57681 if test "x$ac_cv_func_modfl" = x""yes; then :
57682 cat >>confdefs.h <<_ACEOF
57683 #define HAVE_MODFL 1
57684 _ACEOF
57687 done
57689 else
57691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
57692 $as_echo_n "checking for _modfl declaration... " >&6; }
57693 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
57694 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
57695 $as_echo_n "(cached) " >&6
57696 else
57699 ac_ext=cpp
57700 ac_cpp='$CXXCPP $CPPFLAGS'
57701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57706 /* end confdefs.h. */
57707 #include <math.h>
57709 main ()
57711 _modfl(0, 0);
57713 return 0;
57715 _ACEOF
57716 if ac_fn_cxx_try_compile "$LINENO"; then :
57717 glibcxx_cv_func__modfl_use=yes
57718 else
57719 glibcxx_cv_func__modfl_use=no
57721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57722 ac_ext=c
57723 ac_cpp='$CPP $CPPFLAGS'
57724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
57733 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
57735 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
57736 for ac_func in _modfl
57737 do :
57738 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
57739 if test "x$ac_cv_func__modfl" = x""yes; then :
57740 cat >>confdefs.h <<_ACEOF
57741 #define HAVE__MODFL 1
57742 _ACEOF
57745 done
57754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
57755 $as_echo_n "checking for powl declaration... " >&6; }
57756 if test x${glibcxx_cv_func_powl_use+set} != xset; then
57757 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
57758 $as_echo_n "(cached) " >&6
57759 else
57762 ac_ext=cpp
57763 ac_cpp='$CXXCPP $CPPFLAGS'
57764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57769 /* end confdefs.h. */
57770 #include <math.h>
57772 main ()
57774 powl(0, 0);
57776 return 0;
57778 _ACEOF
57779 if ac_fn_cxx_try_compile "$LINENO"; then :
57780 glibcxx_cv_func_powl_use=yes
57781 else
57782 glibcxx_cv_func_powl_use=no
57784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57785 ac_ext=c
57786 ac_cpp='$CPP $CPPFLAGS'
57787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
57796 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
57798 if test x$glibcxx_cv_func_powl_use = x"yes"; then
57799 for ac_func in powl
57800 do :
57801 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
57802 if test "x$ac_cv_func_powl" = x""yes; then :
57803 cat >>confdefs.h <<_ACEOF
57804 #define HAVE_POWL 1
57805 _ACEOF
57808 done
57810 else
57812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
57813 $as_echo_n "checking for _powl declaration... " >&6; }
57814 if test x${glibcxx_cv_func__powl_use+set} != xset; then
57815 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
57816 $as_echo_n "(cached) " >&6
57817 else
57820 ac_ext=cpp
57821 ac_cpp='$CXXCPP $CPPFLAGS'
57822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57827 /* end confdefs.h. */
57828 #include <math.h>
57830 main ()
57832 _powl(0, 0);
57834 return 0;
57836 _ACEOF
57837 if ac_fn_cxx_try_compile "$LINENO"; then :
57838 glibcxx_cv_func__powl_use=yes
57839 else
57840 glibcxx_cv_func__powl_use=no
57842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57843 ac_ext=c
57844 ac_cpp='$CPP $CPPFLAGS'
57845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
57854 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
57856 if test x$glibcxx_cv_func__powl_use = x"yes"; then
57857 for ac_func in _powl
57858 do :
57859 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
57860 if test "x$ac_cv_func__powl" = x""yes; then :
57861 cat >>confdefs.h <<_ACEOF
57862 #define HAVE__POWL 1
57863 _ACEOF
57866 done
57875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
57876 $as_echo_n "checking for sqrtl declaration... " >&6; }
57877 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
57878 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
57879 $as_echo_n "(cached) " >&6
57880 else
57883 ac_ext=cpp
57884 ac_cpp='$CXXCPP $CPPFLAGS'
57885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57890 /* end confdefs.h. */
57891 #include <math.h>
57892 #ifdef HAVE_IEEEFP_H
57893 #include <ieeefp.h>
57894 #endif
57897 main ()
57899 sqrtl(0);
57901 return 0;
57903 _ACEOF
57904 if ac_fn_cxx_try_compile "$LINENO"; then :
57905 glibcxx_cv_func_sqrtl_use=yes
57906 else
57907 glibcxx_cv_func_sqrtl_use=no
57909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57910 ac_ext=c
57911 ac_cpp='$CPP $CPPFLAGS'
57912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
57921 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
57923 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
57924 for ac_func in sqrtl
57925 do :
57926 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
57927 if test "x$ac_cv_func_sqrtl" = x""yes; then :
57928 cat >>confdefs.h <<_ACEOF
57929 #define HAVE_SQRTL 1
57930 _ACEOF
57933 done
57935 else
57937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
57938 $as_echo_n "checking for _sqrtl declaration... " >&6; }
57939 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
57940 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
57941 $as_echo_n "(cached) " >&6
57942 else
57945 ac_ext=cpp
57946 ac_cpp='$CXXCPP $CPPFLAGS'
57947 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57948 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57949 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57952 /* end confdefs.h. */
57953 #include <math.h>
57954 #ifdef HAVE_IEEEFP_H
57955 #include <ieeefp.h>
57956 #endif
57959 main ()
57961 _sqrtl(0);
57963 return 0;
57965 _ACEOF
57966 if ac_fn_cxx_try_compile "$LINENO"; then :
57967 glibcxx_cv_func__sqrtl_use=yes
57968 else
57969 glibcxx_cv_func__sqrtl_use=no
57971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57972 ac_ext=c
57973 ac_cpp='$CPP $CPPFLAGS'
57974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
57983 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
57985 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
57986 for ac_func in _sqrtl
57987 do :
57988 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
57989 if test "x$ac_cv_func__sqrtl" = x""yes; then :
57990 cat >>confdefs.h <<_ACEOF
57991 #define HAVE__SQRTL 1
57992 _ACEOF
57995 done
58004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
58005 $as_echo_n "checking for sincosl declaration... " >&6; }
58006 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
58007 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
58008 $as_echo_n "(cached) " >&6
58009 else
58012 ac_ext=cpp
58013 ac_cpp='$CXXCPP $CPPFLAGS'
58014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58019 /* end confdefs.h. */
58020 #include <math.h>
58022 main ()
58024 sincosl(0, 0, 0);
58026 return 0;
58028 _ACEOF
58029 if ac_fn_cxx_try_compile "$LINENO"; then :
58030 glibcxx_cv_func_sincosl_use=yes
58031 else
58032 glibcxx_cv_func_sincosl_use=no
58034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58035 ac_ext=c
58036 ac_cpp='$CPP $CPPFLAGS'
58037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
58046 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
58048 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
58049 for ac_func in sincosl
58050 do :
58051 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
58052 if test "x$ac_cv_func_sincosl" = x""yes; then :
58053 cat >>confdefs.h <<_ACEOF
58054 #define HAVE_SINCOSL 1
58055 _ACEOF
58058 done
58060 else
58062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
58063 $as_echo_n "checking for _sincosl declaration... " >&6; }
58064 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
58065 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
58066 $as_echo_n "(cached) " >&6
58067 else
58070 ac_ext=cpp
58071 ac_cpp='$CXXCPP $CPPFLAGS'
58072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58077 /* end confdefs.h. */
58078 #include <math.h>
58080 main ()
58082 _sincosl(0, 0, 0);
58084 return 0;
58086 _ACEOF
58087 if ac_fn_cxx_try_compile "$LINENO"; then :
58088 glibcxx_cv_func__sincosl_use=yes
58089 else
58090 glibcxx_cv_func__sincosl_use=no
58092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58093 ac_ext=c
58094 ac_cpp='$CPP $CPPFLAGS'
58095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
58104 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
58106 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
58107 for ac_func in _sincosl
58108 do :
58109 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
58110 if test "x$ac_cv_func__sincosl" = x""yes; then :
58111 cat >>confdefs.h <<_ACEOF
58112 #define HAVE__SINCOSL 1
58113 _ACEOF
58116 done
58125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
58126 $as_echo_n "checking for finitel declaration... " >&6; }
58127 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
58128 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
58129 $as_echo_n "(cached) " >&6
58130 else
58133 ac_ext=cpp
58134 ac_cpp='$CXXCPP $CPPFLAGS'
58135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58140 /* end confdefs.h. */
58141 #include <math.h>
58142 #ifdef HAVE_IEEEFP_H
58143 #include <ieeefp.h>
58144 #endif
58147 main ()
58149 finitel(0);
58151 return 0;
58153 _ACEOF
58154 if ac_fn_cxx_try_compile "$LINENO"; then :
58155 glibcxx_cv_func_finitel_use=yes
58156 else
58157 glibcxx_cv_func_finitel_use=no
58159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58160 ac_ext=c
58161 ac_cpp='$CPP $CPPFLAGS'
58162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
58171 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
58173 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
58174 for ac_func in finitel
58175 do :
58176 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
58177 if test "x$ac_cv_func_finitel" = x""yes; then :
58178 cat >>confdefs.h <<_ACEOF
58179 #define HAVE_FINITEL 1
58180 _ACEOF
58183 done
58185 else
58187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
58188 $as_echo_n "checking for _finitel declaration... " >&6; }
58189 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
58190 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
58191 $as_echo_n "(cached) " >&6
58192 else
58195 ac_ext=cpp
58196 ac_cpp='$CXXCPP $CPPFLAGS'
58197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58202 /* end confdefs.h. */
58203 #include <math.h>
58204 #ifdef HAVE_IEEEFP_H
58205 #include <ieeefp.h>
58206 #endif
58209 main ()
58211 _finitel(0);
58213 return 0;
58215 _ACEOF
58216 if ac_fn_cxx_try_compile "$LINENO"; then :
58217 glibcxx_cv_func__finitel_use=yes
58218 else
58219 glibcxx_cv_func__finitel_use=no
58221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58222 ac_ext=c
58223 ac_cpp='$CPP $CPPFLAGS'
58224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
58233 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
58235 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
58236 for ac_func in _finitel
58237 do :
58238 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
58239 if test "x$ac_cv_func__finitel" = x""yes; then :
58240 cat >>confdefs.h <<_ACEOF
58241 #define HAVE__FINITEL 1
58242 _ACEOF
58245 done
58253 LIBS="$ac_save_LIBS"
58254 CXXFLAGS="$ac_save_CXXFLAGS"
58257 ac_test_CXXFLAGS="${CXXFLAGS+set}"
58258 ac_save_CXXFLAGS="$CXXFLAGS"
58259 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
58262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
58263 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
58264 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
58265 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
58266 $as_echo_n "(cached) " >&6
58267 else
58270 ac_ext=cpp
58271 ac_cpp='$CXXCPP $CPPFLAGS'
58272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58277 /* end confdefs.h. */
58278 #include <stdlib.h>
58280 main ()
58282 at_quick_exit(0);
58284 return 0;
58286 _ACEOF
58287 if ac_fn_cxx_try_compile "$LINENO"; then :
58288 glibcxx_cv_func_at_quick_exit_use=yes
58289 else
58290 glibcxx_cv_func_at_quick_exit_use=no
58292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58293 ac_ext=c
58294 ac_cpp='$CPP $CPPFLAGS'
58295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
58304 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
58305 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
58306 for ac_func in at_quick_exit
58307 do :
58308 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
58309 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
58310 cat >>confdefs.h <<_ACEOF
58311 #define HAVE_AT_QUICK_EXIT 1
58312 _ACEOF
58315 done
58320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
58321 $as_echo_n "checking for quick_exit declaration... " >&6; }
58322 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
58323 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
58324 $as_echo_n "(cached) " >&6
58325 else
58328 ac_ext=cpp
58329 ac_cpp='$CXXCPP $CPPFLAGS'
58330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58335 /* end confdefs.h. */
58336 #include <stdlib.h>
58338 main ()
58340 quick_exit(0);
58342 return 0;
58344 _ACEOF
58345 if ac_fn_cxx_try_compile "$LINENO"; then :
58346 glibcxx_cv_func_quick_exit_use=yes
58347 else
58348 glibcxx_cv_func_quick_exit_use=no
58350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58351 ac_ext=c
58352 ac_cpp='$CPP $CPPFLAGS'
58353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
58362 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
58363 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
58364 for ac_func in quick_exit
58365 do :
58366 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
58367 if test "x$ac_cv_func_quick_exit" = x""yes; then :
58368 cat >>confdefs.h <<_ACEOF
58369 #define HAVE_QUICK_EXIT 1
58370 _ACEOF
58373 done
58378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
58379 $as_echo_n "checking for strtold declaration... " >&6; }
58380 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
58381 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
58382 $as_echo_n "(cached) " >&6
58383 else
58386 ac_ext=cpp
58387 ac_cpp='$CXXCPP $CPPFLAGS'
58388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58393 /* end confdefs.h. */
58394 #include <stdlib.h>
58396 main ()
58398 strtold(0, 0);
58400 return 0;
58402 _ACEOF
58403 if ac_fn_cxx_try_compile "$LINENO"; then :
58404 glibcxx_cv_func_strtold_use=yes
58405 else
58406 glibcxx_cv_func_strtold_use=no
58408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58409 ac_ext=c
58410 ac_cpp='$CPP $CPPFLAGS'
58411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
58420 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
58421 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
58422 for ac_func in strtold
58423 do :
58424 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
58425 if test "x$ac_cv_func_strtold" = x""yes; then :
58426 cat >>confdefs.h <<_ACEOF
58427 #define HAVE_STRTOLD 1
58428 _ACEOF
58431 done
58438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
58439 $as_echo_n "checking for strtof declaration... " >&6; }
58440 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
58441 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
58442 $as_echo_n "(cached) " >&6
58443 else
58446 ac_ext=cpp
58447 ac_cpp='$CXXCPP $CPPFLAGS'
58448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58453 /* end confdefs.h. */
58454 #include <stdlib.h>
58456 main ()
58458 strtof(0, 0);
58460 return 0;
58462 _ACEOF
58463 if ac_fn_cxx_try_compile "$LINENO"; then :
58464 glibcxx_cv_func_strtof_use=yes
58465 else
58466 glibcxx_cv_func_strtof_use=no
58468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58469 ac_ext=c
58470 ac_cpp='$CPP $CPPFLAGS'
58471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
58480 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
58481 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
58482 for ac_func in strtof
58483 do :
58484 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
58485 if test "x$ac_cv_func_strtof" = x""yes; then :
58486 cat >>confdefs.h <<_ACEOF
58487 #define HAVE_STRTOF 1
58488 _ACEOF
58491 done
58498 CXXFLAGS="$ac_save_CXXFLAGS"
58500 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
58504 # Check whether --enable-tls was given.
58505 if test "${enable_tls+set}" = set; then :
58506 enableval=$enable_tls;
58507 case "$enableval" in
58508 yes|no) ;;
58509 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
58510 esac
58512 else
58513 enable_tls=yes
58517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
58518 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
58519 if test "${gcc_cv_have_tls+set}" = set; then :
58520 $as_echo_n "(cached) " >&6
58521 else
58523 if test "$cross_compiling" = yes; then :
58524 if test x$gcc_no_link = xyes; then
58525 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58528 /* end confdefs.h. */
58529 __thread int a; int b; int main() { return a = b; }
58530 _ACEOF
58531 if ac_fn_c_try_link "$LINENO"; then :
58532 chktls_save_LDFLAGS="$LDFLAGS"
58533 case $host in
58534 *-*-linux*)
58535 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
58537 esac
58538 chktls_save_CFLAGS="$CFLAGS"
58539 CFLAGS="-fPIC $CFLAGS"
58540 if test x$gcc_no_link = xyes; then
58541 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58544 /* end confdefs.h. */
58545 int f() { return 0; }
58546 _ACEOF
58547 if ac_fn_c_try_link "$LINENO"; then :
58548 if test x$gcc_no_link = xyes; then
58549 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58552 /* end confdefs.h. */
58553 __thread int a; int b; int f() { return a = b; }
58554 _ACEOF
58555 if ac_fn_c_try_link "$LINENO"; then :
58556 gcc_cv_have_tls=yes
58557 else
58558 gcc_cv_have_tls=no
58560 rm -f core conftest.err conftest.$ac_objext \
58561 conftest$ac_exeext conftest.$ac_ext
58562 else
58563 gcc_cv_have_tls=yes
58565 rm -f core conftest.err conftest.$ac_objext \
58566 conftest$ac_exeext conftest.$ac_ext
58567 CFLAGS="$chktls_save_CFLAGS"
58568 LDFLAGS="$chktls_save_LDFLAGS"
58569 else
58570 gcc_cv_have_tls=no
58572 rm -f core conftest.err conftest.$ac_objext \
58573 conftest$ac_exeext conftest.$ac_ext
58576 else
58577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58578 /* end confdefs.h. */
58579 __thread int a; int b; int main() { return a = b; }
58580 _ACEOF
58581 if ac_fn_c_try_run "$LINENO"; then :
58582 chktls_save_LDFLAGS="$LDFLAGS"
58583 LDFLAGS="-static $LDFLAGS"
58584 if test x$gcc_no_link = xyes; then
58585 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58588 /* end confdefs.h. */
58589 int main() { return 0; }
58590 _ACEOF
58591 if ac_fn_c_try_link "$LINENO"; then :
58592 if test "$cross_compiling" = yes; then :
58593 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
58594 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
58595 as_fn_error "cannot run test program while cross compiling
58596 See \`config.log' for more details." "$LINENO" 5; }
58597 else
58598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58599 /* end confdefs.h. */
58600 __thread int a; int b; int main() { return a = b; }
58601 _ACEOF
58602 if ac_fn_c_try_run "$LINENO"; then :
58603 gcc_cv_have_tls=yes
58604 else
58605 gcc_cv_have_tls=no
58607 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
58608 conftest.$ac_objext conftest.beam conftest.$ac_ext
58611 else
58612 gcc_cv_have_tls=yes
58614 rm -f core conftest.err conftest.$ac_objext \
58615 conftest$ac_exeext conftest.$ac_ext
58616 LDFLAGS="$chktls_save_LDFLAGS"
58617 if test $gcc_cv_have_tls = yes; then
58618 chktls_save_CFLAGS="$CFLAGS"
58619 thread_CFLAGS=failed
58620 for flag in '' '-pthread' '-lpthread'; do
58621 CFLAGS="$flag $chktls_save_CFLAGS"
58622 if test x$gcc_no_link = xyes; then
58623 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58626 /* end confdefs.h. */
58627 #include <pthread.h>
58628 void *g(void *d) { return NULL; }
58630 main ()
58632 pthread_t t; pthread_create(&t,NULL,g,NULL);
58634 return 0;
58636 _ACEOF
58637 if ac_fn_c_try_link "$LINENO"; then :
58638 thread_CFLAGS="$flag"
58640 rm -f core conftest.err conftest.$ac_objext \
58641 conftest$ac_exeext conftest.$ac_ext
58642 if test "X$thread_CFLAGS" != Xfailed; then
58643 break
58645 done
58646 CFLAGS="$chktls_save_CFLAGS"
58647 if test "X$thread_CFLAGS" != Xfailed; then
58648 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
58649 if test "$cross_compiling" = yes; then :
58650 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
58651 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
58652 as_fn_error "cannot run test program while cross compiling
58653 See \`config.log' for more details." "$LINENO" 5; }
58654 else
58655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58656 /* end confdefs.h. */
58657 #include <pthread.h>
58658 __thread int a;
58659 static int *volatile a_in_other_thread;
58660 static void *
58661 thread_func (void *arg)
58663 a_in_other_thread = &a;
58664 return (void *)0;
58667 main ()
58669 pthread_t thread;
58670 void *thread_retval;
58671 int *volatile a_in_main_thread;
58672 a_in_main_thread = &a;
58673 if (pthread_create (&thread, (pthread_attr_t *)0,
58674 thread_func, (void *)0))
58675 return 0;
58676 if (pthread_join (thread, &thread_retval))
58677 return 0;
58678 return (a_in_other_thread == a_in_main_thread);
58680 return 0;
58682 _ACEOF
58683 if ac_fn_c_try_run "$LINENO"; then :
58684 gcc_cv_have_tls=yes
58685 else
58686 gcc_cv_have_tls=no
58688 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
58689 conftest.$ac_objext conftest.beam conftest.$ac_ext
58692 CFLAGS="$chktls_save_CFLAGS"
58695 else
58696 gcc_cv_have_tls=no
58698 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
58699 conftest.$ac_objext conftest.beam conftest.$ac_ext
58703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
58704 $as_echo "$gcc_cv_have_tls" >&6; }
58705 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
58707 $as_echo "#define HAVE_TLS 1" >>confdefs.h
58715 am_save_CPPFLAGS="$CPPFLAGS"
58717 for element in $INCICONV; do
58718 haveit=
58719 for x in $CPPFLAGS; do
58721 acl_save_prefix="$prefix"
58722 prefix="$acl_final_prefix"
58723 acl_save_exec_prefix="$exec_prefix"
58724 exec_prefix="$acl_final_exec_prefix"
58725 eval x=\"$x\"
58726 exec_prefix="$acl_save_exec_prefix"
58727 prefix="$acl_save_prefix"
58729 if test "X$x" = "X$element"; then
58730 haveit=yes
58731 break
58733 done
58734 if test -z "$haveit"; then
58735 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
58737 done
58740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
58741 $as_echo_n "checking for iconv... " >&6; }
58742 if test "${am_cv_func_iconv+set}" = set; then :
58743 $as_echo_n "(cached) " >&6
58744 else
58746 am_cv_func_iconv="no, consider installing GNU libiconv"
58747 am_cv_lib_iconv=no
58748 if test x$gcc_no_link = xyes; then
58749 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58752 /* end confdefs.h. */
58753 #include <stdlib.h>
58754 #include <iconv.h>
58756 main ()
58758 iconv_t cd = iconv_open("","");
58759 iconv(cd,NULL,NULL,NULL,NULL);
58760 iconv_close(cd);
58762 return 0;
58764 _ACEOF
58765 if ac_fn_c_try_link "$LINENO"; then :
58766 am_cv_func_iconv=yes
58768 rm -f core conftest.err conftest.$ac_objext \
58769 conftest$ac_exeext conftest.$ac_ext
58770 if test "$am_cv_func_iconv" != yes; then
58771 am_save_LIBS="$LIBS"
58772 LIBS="$LIBS $LIBICONV"
58773 if test x$gcc_no_link = xyes; then
58774 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58777 /* end confdefs.h. */
58778 #include <stdlib.h>
58779 #include <iconv.h>
58781 main ()
58783 iconv_t cd = iconv_open("","");
58784 iconv(cd,NULL,NULL,NULL,NULL);
58785 iconv_close(cd);
58787 return 0;
58789 _ACEOF
58790 if ac_fn_c_try_link "$LINENO"; then :
58791 am_cv_lib_iconv=yes
58792 am_cv_func_iconv=yes
58794 rm -f core conftest.err conftest.$ac_objext \
58795 conftest$ac_exeext conftest.$ac_ext
58796 LIBS="$am_save_LIBS"
58800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
58801 $as_echo "$am_cv_func_iconv" >&6; }
58802 if test "$am_cv_func_iconv" = yes; then
58804 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
58807 if test "$am_cv_lib_iconv" = yes; then
58808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
58809 $as_echo_n "checking how to link with libiconv... " >&6; }
58810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
58811 $as_echo "$LIBICONV" >&6; }
58812 else
58813 CPPFLAGS="$am_save_CPPFLAGS"
58814 LIBICONV=
58815 LTLIBICONV=
58820 if test "$am_cv_func_iconv" = yes; then
58821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
58822 $as_echo_n "checking for iconv declaration... " >&6; }
58823 if test "${am_cv_proto_iconv+set}" = set; then :
58824 $as_echo_n "(cached) " >&6
58825 else
58827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58828 /* end confdefs.h. */
58830 #include <stdlib.h>
58831 #include <iconv.h>
58832 extern
58833 #ifdef __cplusplus
58835 #endif
58836 #if defined(__STDC__) || defined(__cplusplus)
58837 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
58838 #else
58839 size_t iconv();
58840 #endif
58843 main ()
58847 return 0;
58849 _ACEOF
58850 if ac_fn_c_try_compile "$LINENO"; then :
58851 am_cv_proto_iconv_arg1=""
58852 else
58853 am_cv_proto_iconv_arg1="const"
58855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58856 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);"
58859 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
58860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
58861 }$am_cv_proto_iconv" >&5
58862 $as_echo "${ac_t:-
58863 }$am_cv_proto_iconv" >&6; }
58865 cat >>confdefs.h <<_ACEOF
58866 #define ICONV_CONST $am_cv_proto_iconv_arg1
58867 _ACEOF
58872 *-mingw32*)
58874 # If we're not using GNU ld, then there's no point in even trying these
58875 # tests. Check for that first. We should have already tested for gld
58876 # by now (in libtool), but require it now just to be safe...
58877 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
58878 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
58882 # The name set by libtool depends on the version of libtool. Shame on us
58883 # for depending on an impl detail, but c'est la vie. Older versions used
58884 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
58885 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
58886 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
58887 # set (hence we're using an older libtool), then set it.
58888 if test x${with_gnu_ld+set} != xset; then
58889 if test x${ac_cv_prog_gnu_ld+set} != xset; then
58890 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
58891 with_gnu_ld=no
58892 else
58893 with_gnu_ld=$ac_cv_prog_gnu_ld
58897 # Start by getting the version number. I think the libtool test already
58898 # does some of this, but throws away the result.
58899 glibcxx_ld_is_gold=no
58900 if test x"$with_gnu_ld" = x"yes"; then
58901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
58902 $as_echo_n "checking for ld version... " >&6; }
58904 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
58905 glibcxx_ld_is_gold=yes
58907 ldver=`$LD --version 2>/dev/null |
58908 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'`
58910 glibcxx_gnu_ld_version=`echo $ldver | \
58911 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
58912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
58913 $as_echo "$glibcxx_gnu_ld_version" >&6; }
58916 # Set --gc-sections.
58917 glibcxx_have_gc_sections=no
58918 if test "$glibcxx_ld_is_gold" = "yes"; then
58919 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
58920 glibcxx_have_gc_sections=yes
58922 else
58923 glibcxx_gcsections_min_ld=21602
58924 if test x"$with_gnu_ld" = x"yes" &&
58925 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
58926 glibcxx_have_gc_sections=yes
58929 if test "$glibcxx_have_gc_sections" = "yes"; then
58930 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
58931 # NB: This flag only works reliably after 2.16.1. Configure tests
58932 # for this are difficult, so hard wire a value that should work.
58934 ac_test_CFLAGS="${CFLAGS+set}"
58935 ac_save_CFLAGS="$CFLAGS"
58936 CFLAGS='-Wl,--gc-sections'
58938 # Check for -Wl,--gc-sections
58939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
58940 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
58941 if test x$gcc_no_link = xyes; then
58942 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58945 /* end confdefs.h. */
58946 int one(void) { return 1; }
58947 int two(void) { return 2; }
58950 main ()
58952 two();
58954 return 0;
58956 _ACEOF
58957 if ac_fn_c_try_link "$LINENO"; then :
58958 ac_gcsections=yes
58959 else
58960 ac_gcsections=no
58962 rm -f core conftest.err conftest.$ac_objext \
58963 conftest$ac_exeext conftest.$ac_ext
58964 if test "$ac_gcsections" = "yes"; then
58965 rm -f conftest.c
58966 touch conftest.c
58967 if $CC -c conftest.c; then
58968 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
58969 grep "Warning: gc-sections option ignored" > /dev/null; then
58970 ac_gcsections=no
58973 rm -f conftest.c conftest.o conftest
58975 if test "$ac_gcsections" = "yes"; then
58976 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
58978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
58979 $as_echo "$ac_gcsections" >&6; }
58981 if test "$ac_test_CFLAGS" = set; then
58982 CFLAGS="$ac_save_CFLAGS"
58983 else
58984 # this is the suspicious part
58985 CFLAGS=''
58989 # Set -z,relro.
58990 # Note this is only for shared objects.
58991 ac_ld_relro=no
58992 if test x"$with_gnu_ld" = x"yes"; then
58993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
58994 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
58995 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
58996 if test -n "$cxx_z_relo"; then
58997 OPT_LDFLAGS="-Wl,-z,relro"
58998 ac_ld_relro=yes
59000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
59001 $as_echo "$ac_ld_relro" >&6; }
59004 # Set linker optimization flags.
59005 if test x"$with_gnu_ld" = x"yes"; then
59006 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
59013 ac_test_CXXFLAGS="${CXXFLAGS+set}"
59014 ac_save_CXXFLAGS="$CXXFLAGS"
59015 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
59017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
59018 $as_echo_n "checking for sin in -lm... " >&6; }
59019 if test "${ac_cv_lib_m_sin+set}" = set; then :
59020 $as_echo_n "(cached) " >&6
59021 else
59022 ac_check_lib_save_LIBS=$LIBS
59023 LIBS="-lm $LIBS"
59024 if test x$gcc_no_link = xyes; then
59025 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59028 /* end confdefs.h. */
59030 /* Override any GCC internal prototype to avoid an error.
59031 Use char because int might match the return type of a GCC
59032 builtin and then its argument prototype would still apply. */
59033 #ifdef __cplusplus
59034 extern "C"
59035 #endif
59036 char sin ();
59038 main ()
59040 return sin ();
59042 return 0;
59044 _ACEOF
59045 if ac_fn_c_try_link "$LINENO"; then :
59046 ac_cv_lib_m_sin=yes
59047 else
59048 ac_cv_lib_m_sin=no
59050 rm -f core conftest.err conftest.$ac_objext \
59051 conftest$ac_exeext conftest.$ac_ext
59052 LIBS=$ac_check_lib_save_LIBS
59054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
59055 $as_echo "$ac_cv_lib_m_sin" >&6; }
59056 if test "x$ac_cv_lib_m_sin" = x""yes; then :
59057 libm="-lm"
59060 ac_save_LIBS="$LIBS"
59061 LIBS="$LIBS $libm"
59065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
59066 $as_echo_n "checking for isinf declaration... " >&6; }
59067 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
59068 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
59069 $as_echo_n "(cached) " >&6
59070 else
59073 ac_ext=cpp
59074 ac_cpp='$CXXCPP $CPPFLAGS'
59075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59080 /* end confdefs.h. */
59081 #include <math.h>
59082 #ifdef HAVE_IEEEFP_H
59083 #include <ieeefp.h>
59084 #endif
59087 main ()
59089 isinf(0);
59091 return 0;
59093 _ACEOF
59094 if ac_fn_cxx_try_compile "$LINENO"; then :
59095 glibcxx_cv_func_isinf_use=yes
59096 else
59097 glibcxx_cv_func_isinf_use=no
59099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59100 ac_ext=c
59101 ac_cpp='$CPP $CPPFLAGS'
59102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
59111 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
59113 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
59114 for ac_func in isinf
59115 do :
59116 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
59117 if test "x$ac_cv_func_isinf" = x""yes; then :
59118 cat >>confdefs.h <<_ACEOF
59119 #define HAVE_ISINF 1
59120 _ACEOF
59123 done
59125 else
59127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
59128 $as_echo_n "checking for _isinf declaration... " >&6; }
59129 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
59130 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
59131 $as_echo_n "(cached) " >&6
59132 else
59135 ac_ext=cpp
59136 ac_cpp='$CXXCPP $CPPFLAGS'
59137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59142 /* end confdefs.h. */
59143 #include <math.h>
59144 #ifdef HAVE_IEEEFP_H
59145 #include <ieeefp.h>
59146 #endif
59149 main ()
59151 _isinf(0);
59153 return 0;
59155 _ACEOF
59156 if ac_fn_cxx_try_compile "$LINENO"; then :
59157 glibcxx_cv_func__isinf_use=yes
59158 else
59159 glibcxx_cv_func__isinf_use=no
59161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59162 ac_ext=c
59163 ac_cpp='$CPP $CPPFLAGS'
59164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
59173 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
59175 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
59176 for ac_func in _isinf
59177 do :
59178 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
59179 if test "x$ac_cv_func__isinf" = x""yes; then :
59180 cat >>confdefs.h <<_ACEOF
59181 #define HAVE__ISINF 1
59182 _ACEOF
59185 done
59194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
59195 $as_echo_n "checking for isnan declaration... " >&6; }
59196 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
59197 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
59198 $as_echo_n "(cached) " >&6
59199 else
59202 ac_ext=cpp
59203 ac_cpp='$CXXCPP $CPPFLAGS'
59204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59209 /* end confdefs.h. */
59210 #include <math.h>
59211 #ifdef HAVE_IEEEFP_H
59212 #include <ieeefp.h>
59213 #endif
59216 main ()
59218 isnan(0);
59220 return 0;
59222 _ACEOF
59223 if ac_fn_cxx_try_compile "$LINENO"; then :
59224 glibcxx_cv_func_isnan_use=yes
59225 else
59226 glibcxx_cv_func_isnan_use=no
59228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59229 ac_ext=c
59230 ac_cpp='$CPP $CPPFLAGS'
59231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
59240 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
59242 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
59243 for ac_func in isnan
59244 do :
59245 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
59246 if test "x$ac_cv_func_isnan" = x""yes; then :
59247 cat >>confdefs.h <<_ACEOF
59248 #define HAVE_ISNAN 1
59249 _ACEOF
59252 done
59254 else
59256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
59257 $as_echo_n "checking for _isnan declaration... " >&6; }
59258 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
59259 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
59260 $as_echo_n "(cached) " >&6
59261 else
59264 ac_ext=cpp
59265 ac_cpp='$CXXCPP $CPPFLAGS'
59266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59271 /* end confdefs.h. */
59272 #include <math.h>
59273 #ifdef HAVE_IEEEFP_H
59274 #include <ieeefp.h>
59275 #endif
59278 main ()
59280 _isnan(0);
59282 return 0;
59284 _ACEOF
59285 if ac_fn_cxx_try_compile "$LINENO"; then :
59286 glibcxx_cv_func__isnan_use=yes
59287 else
59288 glibcxx_cv_func__isnan_use=no
59290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59291 ac_ext=c
59292 ac_cpp='$CPP $CPPFLAGS'
59293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
59302 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
59304 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
59305 for ac_func in _isnan
59306 do :
59307 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
59308 if test "x$ac_cv_func__isnan" = x""yes; then :
59309 cat >>confdefs.h <<_ACEOF
59310 #define HAVE__ISNAN 1
59311 _ACEOF
59314 done
59323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
59324 $as_echo_n "checking for finite declaration... " >&6; }
59325 if test x${glibcxx_cv_func_finite_use+set} != xset; then
59326 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
59327 $as_echo_n "(cached) " >&6
59328 else
59331 ac_ext=cpp
59332 ac_cpp='$CXXCPP $CPPFLAGS'
59333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59338 /* end confdefs.h. */
59339 #include <math.h>
59340 #ifdef HAVE_IEEEFP_H
59341 #include <ieeefp.h>
59342 #endif
59345 main ()
59347 finite(0);
59349 return 0;
59351 _ACEOF
59352 if ac_fn_cxx_try_compile "$LINENO"; then :
59353 glibcxx_cv_func_finite_use=yes
59354 else
59355 glibcxx_cv_func_finite_use=no
59357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59358 ac_ext=c
59359 ac_cpp='$CPP $CPPFLAGS'
59360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
59369 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
59371 if test x$glibcxx_cv_func_finite_use = x"yes"; then
59372 for ac_func in finite
59373 do :
59374 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
59375 if test "x$ac_cv_func_finite" = x""yes; then :
59376 cat >>confdefs.h <<_ACEOF
59377 #define HAVE_FINITE 1
59378 _ACEOF
59381 done
59383 else
59385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
59386 $as_echo_n "checking for _finite declaration... " >&6; }
59387 if test x${glibcxx_cv_func__finite_use+set} != xset; then
59388 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
59389 $as_echo_n "(cached) " >&6
59390 else
59393 ac_ext=cpp
59394 ac_cpp='$CXXCPP $CPPFLAGS'
59395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59400 /* end confdefs.h. */
59401 #include <math.h>
59402 #ifdef HAVE_IEEEFP_H
59403 #include <ieeefp.h>
59404 #endif
59407 main ()
59409 _finite(0);
59411 return 0;
59413 _ACEOF
59414 if ac_fn_cxx_try_compile "$LINENO"; then :
59415 glibcxx_cv_func__finite_use=yes
59416 else
59417 glibcxx_cv_func__finite_use=no
59419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59420 ac_ext=c
59421 ac_cpp='$CPP $CPPFLAGS'
59422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
59431 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
59433 if test x$glibcxx_cv_func__finite_use = x"yes"; then
59434 for ac_func in _finite
59435 do :
59436 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
59437 if test "x$ac_cv_func__finite" = x""yes; then :
59438 cat >>confdefs.h <<_ACEOF
59439 #define HAVE__FINITE 1
59440 _ACEOF
59443 done
59452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
59453 $as_echo_n "checking for sincos declaration... " >&6; }
59454 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
59455 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
59456 $as_echo_n "(cached) " >&6
59457 else
59460 ac_ext=cpp
59461 ac_cpp='$CXXCPP $CPPFLAGS'
59462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59467 /* end confdefs.h. */
59468 #include <math.h>
59470 main ()
59472 sincos(0, 0, 0);
59474 return 0;
59476 _ACEOF
59477 if ac_fn_cxx_try_compile "$LINENO"; then :
59478 glibcxx_cv_func_sincos_use=yes
59479 else
59480 glibcxx_cv_func_sincos_use=no
59482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59483 ac_ext=c
59484 ac_cpp='$CPP $CPPFLAGS'
59485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
59494 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
59496 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
59497 for ac_func in sincos
59498 do :
59499 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
59500 if test "x$ac_cv_func_sincos" = x""yes; then :
59501 cat >>confdefs.h <<_ACEOF
59502 #define HAVE_SINCOS 1
59503 _ACEOF
59506 done
59508 else
59510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
59511 $as_echo_n "checking for _sincos declaration... " >&6; }
59512 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
59513 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
59514 $as_echo_n "(cached) " >&6
59515 else
59518 ac_ext=cpp
59519 ac_cpp='$CXXCPP $CPPFLAGS'
59520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59525 /* end confdefs.h. */
59526 #include <math.h>
59528 main ()
59530 _sincos(0, 0, 0);
59532 return 0;
59534 _ACEOF
59535 if ac_fn_cxx_try_compile "$LINENO"; then :
59536 glibcxx_cv_func__sincos_use=yes
59537 else
59538 glibcxx_cv_func__sincos_use=no
59540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59541 ac_ext=c
59542 ac_cpp='$CPP $CPPFLAGS'
59543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
59552 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
59554 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
59555 for ac_func in _sincos
59556 do :
59557 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
59558 if test "x$ac_cv_func__sincos" = x""yes; then :
59559 cat >>confdefs.h <<_ACEOF
59560 #define HAVE__SINCOS 1
59561 _ACEOF
59564 done
59573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
59574 $as_echo_n "checking for fpclass declaration... " >&6; }
59575 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
59576 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
59577 $as_echo_n "(cached) " >&6
59578 else
59581 ac_ext=cpp
59582 ac_cpp='$CXXCPP $CPPFLAGS'
59583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59588 /* end confdefs.h. */
59589 #include <math.h>
59590 #ifdef HAVE_IEEEFP_H
59591 #include <ieeefp.h>
59592 #endif
59595 main ()
59597 fpclass(0);
59599 return 0;
59601 _ACEOF
59602 if ac_fn_cxx_try_compile "$LINENO"; then :
59603 glibcxx_cv_func_fpclass_use=yes
59604 else
59605 glibcxx_cv_func_fpclass_use=no
59607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59608 ac_ext=c
59609 ac_cpp='$CPP $CPPFLAGS'
59610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
59619 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
59621 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
59622 for ac_func in fpclass
59623 do :
59624 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
59625 if test "x$ac_cv_func_fpclass" = x""yes; then :
59626 cat >>confdefs.h <<_ACEOF
59627 #define HAVE_FPCLASS 1
59628 _ACEOF
59631 done
59633 else
59635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
59636 $as_echo_n "checking for _fpclass declaration... " >&6; }
59637 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
59638 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
59639 $as_echo_n "(cached) " >&6
59640 else
59643 ac_ext=cpp
59644 ac_cpp='$CXXCPP $CPPFLAGS'
59645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59650 /* end confdefs.h. */
59651 #include <math.h>
59652 #ifdef HAVE_IEEEFP_H
59653 #include <ieeefp.h>
59654 #endif
59657 main ()
59659 _fpclass(0);
59661 return 0;
59663 _ACEOF
59664 if ac_fn_cxx_try_compile "$LINENO"; then :
59665 glibcxx_cv_func__fpclass_use=yes
59666 else
59667 glibcxx_cv_func__fpclass_use=no
59669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59670 ac_ext=c
59671 ac_cpp='$CPP $CPPFLAGS'
59672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
59681 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
59683 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
59684 for ac_func in _fpclass
59685 do :
59686 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
59687 if test "x$ac_cv_func__fpclass" = x""yes; then :
59688 cat >>confdefs.h <<_ACEOF
59689 #define HAVE__FPCLASS 1
59690 _ACEOF
59693 done
59702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
59703 $as_echo_n "checking for qfpclass declaration... " >&6; }
59704 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
59705 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
59706 $as_echo_n "(cached) " >&6
59707 else
59710 ac_ext=cpp
59711 ac_cpp='$CXXCPP $CPPFLAGS'
59712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59717 /* end confdefs.h. */
59718 #include <math.h>
59719 #ifdef HAVE_IEEEFP_H
59720 #include <ieeefp.h>
59721 #endif
59724 main ()
59726 qfpclass(0);
59728 return 0;
59730 _ACEOF
59731 if ac_fn_cxx_try_compile "$LINENO"; then :
59732 glibcxx_cv_func_qfpclass_use=yes
59733 else
59734 glibcxx_cv_func_qfpclass_use=no
59736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59737 ac_ext=c
59738 ac_cpp='$CPP $CPPFLAGS'
59739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
59748 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
59750 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
59751 for ac_func in qfpclass
59752 do :
59753 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
59754 if test "x$ac_cv_func_qfpclass" = x""yes; then :
59755 cat >>confdefs.h <<_ACEOF
59756 #define HAVE_QFPCLASS 1
59757 _ACEOF
59760 done
59762 else
59764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
59765 $as_echo_n "checking for _qfpclass declaration... " >&6; }
59766 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
59767 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
59768 $as_echo_n "(cached) " >&6
59769 else
59772 ac_ext=cpp
59773 ac_cpp='$CXXCPP $CPPFLAGS'
59774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59779 /* end confdefs.h. */
59780 #include <math.h>
59781 #ifdef HAVE_IEEEFP_H
59782 #include <ieeefp.h>
59783 #endif
59786 main ()
59788 _qfpclass(0);
59790 return 0;
59792 _ACEOF
59793 if ac_fn_cxx_try_compile "$LINENO"; then :
59794 glibcxx_cv_func__qfpclass_use=yes
59795 else
59796 glibcxx_cv_func__qfpclass_use=no
59798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59799 ac_ext=c
59800 ac_cpp='$CPP $CPPFLAGS'
59801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
59810 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
59812 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
59813 for ac_func in _qfpclass
59814 do :
59815 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
59816 if test "x$ac_cv_func__qfpclass" = x""yes; then :
59817 cat >>confdefs.h <<_ACEOF
59818 #define HAVE__QFPCLASS 1
59819 _ACEOF
59822 done
59831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
59832 $as_echo_n "checking for hypot declaration... " >&6; }
59833 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
59834 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
59835 $as_echo_n "(cached) " >&6
59836 else
59839 ac_ext=cpp
59840 ac_cpp='$CXXCPP $CPPFLAGS'
59841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59846 /* end confdefs.h. */
59847 #include <math.h>
59849 main ()
59851 hypot(0, 0);
59853 return 0;
59855 _ACEOF
59856 if ac_fn_cxx_try_compile "$LINENO"; then :
59857 glibcxx_cv_func_hypot_use=yes
59858 else
59859 glibcxx_cv_func_hypot_use=no
59861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59862 ac_ext=c
59863 ac_cpp='$CPP $CPPFLAGS'
59864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
59873 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
59875 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
59876 for ac_func in hypot
59877 do :
59878 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
59879 if test "x$ac_cv_func_hypot" = x""yes; then :
59880 cat >>confdefs.h <<_ACEOF
59881 #define HAVE_HYPOT 1
59882 _ACEOF
59885 done
59887 else
59889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
59890 $as_echo_n "checking for _hypot declaration... " >&6; }
59891 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
59892 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
59893 $as_echo_n "(cached) " >&6
59894 else
59897 ac_ext=cpp
59898 ac_cpp='$CXXCPP $CPPFLAGS'
59899 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59900 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59901 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59904 /* end confdefs.h. */
59905 #include <math.h>
59907 main ()
59909 _hypot(0, 0);
59911 return 0;
59913 _ACEOF
59914 if ac_fn_cxx_try_compile "$LINENO"; then :
59915 glibcxx_cv_func__hypot_use=yes
59916 else
59917 glibcxx_cv_func__hypot_use=no
59919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59920 ac_ext=c
59921 ac_cpp='$CPP $CPPFLAGS'
59922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
59931 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
59933 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
59934 for ac_func in _hypot
59935 do :
59936 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
59937 if test "x$ac_cv_func__hypot" = x""yes; then :
59938 cat >>confdefs.h <<_ACEOF
59939 #define HAVE__HYPOT 1
59940 _ACEOF
59943 done
59952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
59953 $as_echo_n "checking for float trig functions... " >&6; }
59954 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
59955 $as_echo_n "(cached) " >&6
59956 else
59959 ac_ext=cpp
59960 ac_cpp='$CXXCPP $CPPFLAGS'
59961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59966 /* end confdefs.h. */
59967 #include <math.h>
59969 main ()
59971 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
59973 return 0;
59975 _ACEOF
59976 if ac_fn_cxx_try_compile "$LINENO"; then :
59977 glibcxx_cv_func_float_trig_use=yes
59978 else
59979 glibcxx_cv_func_float_trig_use=no
59981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59982 ac_ext=c
59983 ac_cpp='$CPP $CPPFLAGS'
59984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
59991 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
59992 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
59993 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
59994 do :
59995 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59996 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59997 eval as_val=\$$as_ac_var
59998 if test "x$as_val" = x""yes; then :
59999 cat >>confdefs.h <<_ACEOF
60000 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60001 _ACEOF
60004 done
60006 else
60007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
60008 $as_echo_n "checking for _float trig functions... " >&6; }
60009 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
60010 $as_echo_n "(cached) " >&6
60011 else
60014 ac_ext=cpp
60015 ac_cpp='$CXXCPP $CPPFLAGS'
60016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60021 /* end confdefs.h. */
60022 #include <math.h>
60024 main ()
60026 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
60028 return 0;
60030 _ACEOF
60031 if ac_fn_cxx_try_compile "$LINENO"; then :
60032 glibcxx_cv_func__float_trig_use=yes
60033 else
60034 glibcxx_cv_func__float_trig_use=no
60036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60037 ac_ext=c
60038 ac_cpp='$CPP $CPPFLAGS'
60039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
60046 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
60047 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
60048 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
60049 do :
60050 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60051 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60052 eval as_val=\$$as_ac_var
60053 if test "x$as_val" = x""yes; then :
60054 cat >>confdefs.h <<_ACEOF
60055 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60056 _ACEOF
60059 done
60068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
60069 $as_echo_n "checking for float round functions... " >&6; }
60070 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
60071 $as_echo_n "(cached) " >&6
60072 else
60075 ac_ext=cpp
60076 ac_cpp='$CXXCPP $CPPFLAGS'
60077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60082 /* end confdefs.h. */
60083 #include <math.h>
60085 main ()
60087 ceilf (0); floorf (0);
60089 return 0;
60091 _ACEOF
60092 if ac_fn_cxx_try_compile "$LINENO"; then :
60093 glibcxx_cv_func_float_round_use=yes
60094 else
60095 glibcxx_cv_func_float_round_use=no
60097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60098 ac_ext=c
60099 ac_cpp='$CPP $CPPFLAGS'
60100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
60107 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
60108 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
60109 for ac_func in ceilf floorf
60110 do :
60111 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60112 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60113 eval as_val=\$$as_ac_var
60114 if test "x$as_val" = x""yes; then :
60115 cat >>confdefs.h <<_ACEOF
60116 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60117 _ACEOF
60120 done
60122 else
60123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
60124 $as_echo_n "checking for _float round functions... " >&6; }
60125 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
60126 $as_echo_n "(cached) " >&6
60127 else
60130 ac_ext=cpp
60131 ac_cpp='$CXXCPP $CPPFLAGS'
60132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60137 /* end confdefs.h. */
60138 #include <math.h>
60140 main ()
60142 _ceilf (0); _floorf (0);
60144 return 0;
60146 _ACEOF
60147 if ac_fn_cxx_try_compile "$LINENO"; then :
60148 glibcxx_cv_func__float_round_use=yes
60149 else
60150 glibcxx_cv_func__float_round_use=no
60152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60153 ac_ext=c
60154 ac_cpp='$CPP $CPPFLAGS'
60155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
60162 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
60163 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
60164 for ac_func in _ceilf _floorf
60165 do :
60166 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60167 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60168 eval as_val=\$$as_ac_var
60169 if test "x$as_val" = x""yes; then :
60170 cat >>confdefs.h <<_ACEOF
60171 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60172 _ACEOF
60175 done
60185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
60186 $as_echo_n "checking for expf declaration... " >&6; }
60187 if test x${glibcxx_cv_func_expf_use+set} != xset; then
60188 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
60189 $as_echo_n "(cached) " >&6
60190 else
60193 ac_ext=cpp
60194 ac_cpp='$CXXCPP $CPPFLAGS'
60195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60200 /* end confdefs.h. */
60201 #include <math.h>
60202 #ifdef HAVE_IEEEFP_H
60203 #include <ieeefp.h>
60204 #endif
60207 main ()
60209 expf(0);
60211 return 0;
60213 _ACEOF
60214 if ac_fn_cxx_try_compile "$LINENO"; then :
60215 glibcxx_cv_func_expf_use=yes
60216 else
60217 glibcxx_cv_func_expf_use=no
60219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60220 ac_ext=c
60221 ac_cpp='$CPP $CPPFLAGS'
60222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
60231 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
60233 if test x$glibcxx_cv_func_expf_use = x"yes"; then
60234 for ac_func in expf
60235 do :
60236 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
60237 if test "x$ac_cv_func_expf" = x""yes; then :
60238 cat >>confdefs.h <<_ACEOF
60239 #define HAVE_EXPF 1
60240 _ACEOF
60243 done
60245 else
60247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
60248 $as_echo_n "checking for _expf declaration... " >&6; }
60249 if test x${glibcxx_cv_func__expf_use+set} != xset; then
60250 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
60251 $as_echo_n "(cached) " >&6
60252 else
60255 ac_ext=cpp
60256 ac_cpp='$CXXCPP $CPPFLAGS'
60257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60262 /* end confdefs.h. */
60263 #include <math.h>
60264 #ifdef HAVE_IEEEFP_H
60265 #include <ieeefp.h>
60266 #endif
60269 main ()
60271 _expf(0);
60273 return 0;
60275 _ACEOF
60276 if ac_fn_cxx_try_compile "$LINENO"; then :
60277 glibcxx_cv_func__expf_use=yes
60278 else
60279 glibcxx_cv_func__expf_use=no
60281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60282 ac_ext=c
60283 ac_cpp='$CPP $CPPFLAGS'
60284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
60293 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
60295 if test x$glibcxx_cv_func__expf_use = x"yes"; then
60296 for ac_func in _expf
60297 do :
60298 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
60299 if test "x$ac_cv_func__expf" = x""yes; then :
60300 cat >>confdefs.h <<_ACEOF
60301 #define HAVE__EXPF 1
60302 _ACEOF
60305 done
60314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
60315 $as_echo_n "checking for isnanf declaration... " >&6; }
60316 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
60317 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
60318 $as_echo_n "(cached) " >&6
60319 else
60322 ac_ext=cpp
60323 ac_cpp='$CXXCPP $CPPFLAGS'
60324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60329 /* end confdefs.h. */
60330 #include <math.h>
60331 #ifdef HAVE_IEEEFP_H
60332 #include <ieeefp.h>
60333 #endif
60336 main ()
60338 isnanf(0);
60340 return 0;
60342 _ACEOF
60343 if ac_fn_cxx_try_compile "$LINENO"; then :
60344 glibcxx_cv_func_isnanf_use=yes
60345 else
60346 glibcxx_cv_func_isnanf_use=no
60348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60349 ac_ext=c
60350 ac_cpp='$CPP $CPPFLAGS'
60351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
60360 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
60362 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
60363 for ac_func in isnanf
60364 do :
60365 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
60366 if test "x$ac_cv_func_isnanf" = x""yes; then :
60367 cat >>confdefs.h <<_ACEOF
60368 #define HAVE_ISNANF 1
60369 _ACEOF
60372 done
60374 else
60376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
60377 $as_echo_n "checking for _isnanf declaration... " >&6; }
60378 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
60379 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
60380 $as_echo_n "(cached) " >&6
60381 else
60384 ac_ext=cpp
60385 ac_cpp='$CXXCPP $CPPFLAGS'
60386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60391 /* end confdefs.h. */
60392 #include <math.h>
60393 #ifdef HAVE_IEEEFP_H
60394 #include <ieeefp.h>
60395 #endif
60398 main ()
60400 _isnanf(0);
60402 return 0;
60404 _ACEOF
60405 if ac_fn_cxx_try_compile "$LINENO"; then :
60406 glibcxx_cv_func__isnanf_use=yes
60407 else
60408 glibcxx_cv_func__isnanf_use=no
60410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60411 ac_ext=c
60412 ac_cpp='$CPP $CPPFLAGS'
60413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
60422 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
60424 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
60425 for ac_func in _isnanf
60426 do :
60427 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
60428 if test "x$ac_cv_func__isnanf" = x""yes; then :
60429 cat >>confdefs.h <<_ACEOF
60430 #define HAVE__ISNANF 1
60431 _ACEOF
60434 done
60443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
60444 $as_echo_n "checking for isinff declaration... " >&6; }
60445 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
60446 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
60447 $as_echo_n "(cached) " >&6
60448 else
60451 ac_ext=cpp
60452 ac_cpp='$CXXCPP $CPPFLAGS'
60453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60458 /* end confdefs.h. */
60459 #include <math.h>
60460 #ifdef HAVE_IEEEFP_H
60461 #include <ieeefp.h>
60462 #endif
60465 main ()
60467 isinff(0);
60469 return 0;
60471 _ACEOF
60472 if ac_fn_cxx_try_compile "$LINENO"; then :
60473 glibcxx_cv_func_isinff_use=yes
60474 else
60475 glibcxx_cv_func_isinff_use=no
60477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60478 ac_ext=c
60479 ac_cpp='$CPP $CPPFLAGS'
60480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
60489 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
60491 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
60492 for ac_func in isinff
60493 do :
60494 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
60495 if test "x$ac_cv_func_isinff" = x""yes; then :
60496 cat >>confdefs.h <<_ACEOF
60497 #define HAVE_ISINFF 1
60498 _ACEOF
60501 done
60503 else
60505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
60506 $as_echo_n "checking for _isinff declaration... " >&6; }
60507 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
60508 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
60509 $as_echo_n "(cached) " >&6
60510 else
60513 ac_ext=cpp
60514 ac_cpp='$CXXCPP $CPPFLAGS'
60515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60520 /* end confdefs.h. */
60521 #include <math.h>
60522 #ifdef HAVE_IEEEFP_H
60523 #include <ieeefp.h>
60524 #endif
60527 main ()
60529 _isinff(0);
60531 return 0;
60533 _ACEOF
60534 if ac_fn_cxx_try_compile "$LINENO"; then :
60535 glibcxx_cv_func__isinff_use=yes
60536 else
60537 glibcxx_cv_func__isinff_use=no
60539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60540 ac_ext=c
60541 ac_cpp='$CPP $CPPFLAGS'
60542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
60551 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
60553 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
60554 for ac_func in _isinff
60555 do :
60556 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
60557 if test "x$ac_cv_func__isinff" = x""yes; then :
60558 cat >>confdefs.h <<_ACEOF
60559 #define HAVE__ISINFF 1
60560 _ACEOF
60563 done
60572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
60573 $as_echo_n "checking for atan2f declaration... " >&6; }
60574 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
60575 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
60576 $as_echo_n "(cached) " >&6
60577 else
60580 ac_ext=cpp
60581 ac_cpp='$CXXCPP $CPPFLAGS'
60582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60587 /* end confdefs.h. */
60588 #include <math.h>
60590 main ()
60592 atan2f(0, 0);
60594 return 0;
60596 _ACEOF
60597 if ac_fn_cxx_try_compile "$LINENO"; then :
60598 glibcxx_cv_func_atan2f_use=yes
60599 else
60600 glibcxx_cv_func_atan2f_use=no
60602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60603 ac_ext=c
60604 ac_cpp='$CPP $CPPFLAGS'
60605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
60614 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
60616 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
60617 for ac_func in atan2f
60618 do :
60619 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
60620 if test "x$ac_cv_func_atan2f" = x""yes; then :
60621 cat >>confdefs.h <<_ACEOF
60622 #define HAVE_ATAN2F 1
60623 _ACEOF
60626 done
60628 else
60630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
60631 $as_echo_n "checking for _atan2f declaration... " >&6; }
60632 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
60633 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
60634 $as_echo_n "(cached) " >&6
60635 else
60638 ac_ext=cpp
60639 ac_cpp='$CXXCPP $CPPFLAGS'
60640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60645 /* end confdefs.h. */
60646 #include <math.h>
60648 main ()
60650 _atan2f(0, 0);
60652 return 0;
60654 _ACEOF
60655 if ac_fn_cxx_try_compile "$LINENO"; then :
60656 glibcxx_cv_func__atan2f_use=yes
60657 else
60658 glibcxx_cv_func__atan2f_use=no
60660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60661 ac_ext=c
60662 ac_cpp='$CPP $CPPFLAGS'
60663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
60672 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
60674 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
60675 for ac_func in _atan2f
60676 do :
60677 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
60678 if test "x$ac_cv_func__atan2f" = x""yes; then :
60679 cat >>confdefs.h <<_ACEOF
60680 #define HAVE__ATAN2F 1
60681 _ACEOF
60684 done
60693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
60694 $as_echo_n "checking for fabsf declaration... " >&6; }
60695 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
60696 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
60697 $as_echo_n "(cached) " >&6
60698 else
60701 ac_ext=cpp
60702 ac_cpp='$CXXCPP $CPPFLAGS'
60703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60708 /* end confdefs.h. */
60709 #include <math.h>
60710 #ifdef HAVE_IEEEFP_H
60711 #include <ieeefp.h>
60712 #endif
60715 main ()
60717 fabsf(0);
60719 return 0;
60721 _ACEOF
60722 if ac_fn_cxx_try_compile "$LINENO"; then :
60723 glibcxx_cv_func_fabsf_use=yes
60724 else
60725 glibcxx_cv_func_fabsf_use=no
60727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60728 ac_ext=c
60729 ac_cpp='$CPP $CPPFLAGS'
60730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
60739 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
60741 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
60742 for ac_func in fabsf
60743 do :
60744 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
60745 if test "x$ac_cv_func_fabsf" = x""yes; then :
60746 cat >>confdefs.h <<_ACEOF
60747 #define HAVE_FABSF 1
60748 _ACEOF
60751 done
60753 else
60755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
60756 $as_echo_n "checking for _fabsf declaration... " >&6; }
60757 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
60758 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
60759 $as_echo_n "(cached) " >&6
60760 else
60763 ac_ext=cpp
60764 ac_cpp='$CXXCPP $CPPFLAGS'
60765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60770 /* end confdefs.h. */
60771 #include <math.h>
60772 #ifdef HAVE_IEEEFP_H
60773 #include <ieeefp.h>
60774 #endif
60777 main ()
60779 _fabsf(0);
60781 return 0;
60783 _ACEOF
60784 if ac_fn_cxx_try_compile "$LINENO"; then :
60785 glibcxx_cv_func__fabsf_use=yes
60786 else
60787 glibcxx_cv_func__fabsf_use=no
60789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60790 ac_ext=c
60791 ac_cpp='$CPP $CPPFLAGS'
60792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
60801 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
60803 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
60804 for ac_func in _fabsf
60805 do :
60806 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
60807 if test "x$ac_cv_func__fabsf" = x""yes; then :
60808 cat >>confdefs.h <<_ACEOF
60809 #define HAVE__FABSF 1
60810 _ACEOF
60813 done
60822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
60823 $as_echo_n "checking for fmodf declaration... " >&6; }
60824 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
60825 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
60826 $as_echo_n "(cached) " >&6
60827 else
60830 ac_ext=cpp
60831 ac_cpp='$CXXCPP $CPPFLAGS'
60832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60837 /* end confdefs.h. */
60838 #include <math.h>
60840 main ()
60842 fmodf(0, 0);
60844 return 0;
60846 _ACEOF
60847 if ac_fn_cxx_try_compile "$LINENO"; then :
60848 glibcxx_cv_func_fmodf_use=yes
60849 else
60850 glibcxx_cv_func_fmodf_use=no
60852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60853 ac_ext=c
60854 ac_cpp='$CPP $CPPFLAGS'
60855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
60864 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
60866 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
60867 for ac_func in fmodf
60868 do :
60869 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
60870 if test "x$ac_cv_func_fmodf" = x""yes; then :
60871 cat >>confdefs.h <<_ACEOF
60872 #define HAVE_FMODF 1
60873 _ACEOF
60876 done
60878 else
60880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
60881 $as_echo_n "checking for _fmodf declaration... " >&6; }
60882 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
60883 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
60884 $as_echo_n "(cached) " >&6
60885 else
60888 ac_ext=cpp
60889 ac_cpp='$CXXCPP $CPPFLAGS'
60890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60895 /* end confdefs.h. */
60896 #include <math.h>
60898 main ()
60900 _fmodf(0, 0);
60902 return 0;
60904 _ACEOF
60905 if ac_fn_cxx_try_compile "$LINENO"; then :
60906 glibcxx_cv_func__fmodf_use=yes
60907 else
60908 glibcxx_cv_func__fmodf_use=no
60910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60911 ac_ext=c
60912 ac_cpp='$CPP $CPPFLAGS'
60913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
60922 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
60924 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
60925 for ac_func in _fmodf
60926 do :
60927 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
60928 if test "x$ac_cv_func__fmodf" = x""yes; then :
60929 cat >>confdefs.h <<_ACEOF
60930 #define HAVE__FMODF 1
60931 _ACEOF
60934 done
60943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
60944 $as_echo_n "checking for frexpf declaration... " >&6; }
60945 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
60946 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
60947 $as_echo_n "(cached) " >&6
60948 else
60951 ac_ext=cpp
60952 ac_cpp='$CXXCPP $CPPFLAGS'
60953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60958 /* end confdefs.h. */
60959 #include <math.h>
60961 main ()
60963 frexpf(0, 0);
60965 return 0;
60967 _ACEOF
60968 if ac_fn_cxx_try_compile "$LINENO"; then :
60969 glibcxx_cv_func_frexpf_use=yes
60970 else
60971 glibcxx_cv_func_frexpf_use=no
60973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60974 ac_ext=c
60975 ac_cpp='$CPP $CPPFLAGS'
60976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
60985 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
60987 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
60988 for ac_func in frexpf
60989 do :
60990 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
60991 if test "x$ac_cv_func_frexpf" = x""yes; then :
60992 cat >>confdefs.h <<_ACEOF
60993 #define HAVE_FREXPF 1
60994 _ACEOF
60997 done
60999 else
61001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
61002 $as_echo_n "checking for _frexpf declaration... " >&6; }
61003 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
61004 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
61005 $as_echo_n "(cached) " >&6
61006 else
61009 ac_ext=cpp
61010 ac_cpp='$CXXCPP $CPPFLAGS'
61011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61016 /* end confdefs.h. */
61017 #include <math.h>
61019 main ()
61021 _frexpf(0, 0);
61023 return 0;
61025 _ACEOF
61026 if ac_fn_cxx_try_compile "$LINENO"; then :
61027 glibcxx_cv_func__frexpf_use=yes
61028 else
61029 glibcxx_cv_func__frexpf_use=no
61031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61032 ac_ext=c
61033 ac_cpp='$CPP $CPPFLAGS'
61034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
61043 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
61045 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
61046 for ac_func in _frexpf
61047 do :
61048 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
61049 if test "x$ac_cv_func__frexpf" = x""yes; then :
61050 cat >>confdefs.h <<_ACEOF
61051 #define HAVE__FREXPF 1
61052 _ACEOF
61055 done
61064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
61065 $as_echo_n "checking for hypotf declaration... " >&6; }
61066 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
61067 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
61068 $as_echo_n "(cached) " >&6
61069 else
61072 ac_ext=cpp
61073 ac_cpp='$CXXCPP $CPPFLAGS'
61074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61079 /* end confdefs.h. */
61080 #include <math.h>
61082 main ()
61084 hypotf(0, 0);
61086 return 0;
61088 _ACEOF
61089 if ac_fn_cxx_try_compile "$LINENO"; then :
61090 glibcxx_cv_func_hypotf_use=yes
61091 else
61092 glibcxx_cv_func_hypotf_use=no
61094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61095 ac_ext=c
61096 ac_cpp='$CPP $CPPFLAGS'
61097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
61106 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
61108 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
61109 for ac_func in hypotf
61110 do :
61111 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
61112 if test "x$ac_cv_func_hypotf" = x""yes; then :
61113 cat >>confdefs.h <<_ACEOF
61114 #define HAVE_HYPOTF 1
61115 _ACEOF
61118 done
61120 else
61122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
61123 $as_echo_n "checking for _hypotf declaration... " >&6; }
61124 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
61125 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
61126 $as_echo_n "(cached) " >&6
61127 else
61130 ac_ext=cpp
61131 ac_cpp='$CXXCPP $CPPFLAGS'
61132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61137 /* end confdefs.h. */
61138 #include <math.h>
61140 main ()
61142 _hypotf(0, 0);
61144 return 0;
61146 _ACEOF
61147 if ac_fn_cxx_try_compile "$LINENO"; then :
61148 glibcxx_cv_func__hypotf_use=yes
61149 else
61150 glibcxx_cv_func__hypotf_use=no
61152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61153 ac_ext=c
61154 ac_cpp='$CPP $CPPFLAGS'
61155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
61164 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
61166 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
61167 for ac_func in _hypotf
61168 do :
61169 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
61170 if test "x$ac_cv_func__hypotf" = x""yes; then :
61171 cat >>confdefs.h <<_ACEOF
61172 #define HAVE__HYPOTF 1
61173 _ACEOF
61176 done
61185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
61186 $as_echo_n "checking for ldexpf declaration... " >&6; }
61187 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
61188 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
61189 $as_echo_n "(cached) " >&6
61190 else
61193 ac_ext=cpp
61194 ac_cpp='$CXXCPP $CPPFLAGS'
61195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61200 /* end confdefs.h. */
61201 #include <math.h>
61203 main ()
61205 ldexpf(0, 0);
61207 return 0;
61209 _ACEOF
61210 if ac_fn_cxx_try_compile "$LINENO"; then :
61211 glibcxx_cv_func_ldexpf_use=yes
61212 else
61213 glibcxx_cv_func_ldexpf_use=no
61215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61216 ac_ext=c
61217 ac_cpp='$CPP $CPPFLAGS'
61218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
61227 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
61229 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
61230 for ac_func in ldexpf
61231 do :
61232 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
61233 if test "x$ac_cv_func_ldexpf" = x""yes; then :
61234 cat >>confdefs.h <<_ACEOF
61235 #define HAVE_LDEXPF 1
61236 _ACEOF
61239 done
61241 else
61243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
61244 $as_echo_n "checking for _ldexpf declaration... " >&6; }
61245 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
61246 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
61247 $as_echo_n "(cached) " >&6
61248 else
61251 ac_ext=cpp
61252 ac_cpp='$CXXCPP $CPPFLAGS'
61253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61258 /* end confdefs.h. */
61259 #include <math.h>
61261 main ()
61263 _ldexpf(0, 0);
61265 return 0;
61267 _ACEOF
61268 if ac_fn_cxx_try_compile "$LINENO"; then :
61269 glibcxx_cv_func__ldexpf_use=yes
61270 else
61271 glibcxx_cv_func__ldexpf_use=no
61273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61274 ac_ext=c
61275 ac_cpp='$CPP $CPPFLAGS'
61276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
61285 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
61287 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
61288 for ac_func in _ldexpf
61289 do :
61290 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
61291 if test "x$ac_cv_func__ldexpf" = x""yes; then :
61292 cat >>confdefs.h <<_ACEOF
61293 #define HAVE__LDEXPF 1
61294 _ACEOF
61297 done
61306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
61307 $as_echo_n "checking for logf declaration... " >&6; }
61308 if test x${glibcxx_cv_func_logf_use+set} != xset; then
61309 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
61310 $as_echo_n "(cached) " >&6
61311 else
61314 ac_ext=cpp
61315 ac_cpp='$CXXCPP $CPPFLAGS'
61316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61321 /* end confdefs.h. */
61322 #include <math.h>
61323 #ifdef HAVE_IEEEFP_H
61324 #include <ieeefp.h>
61325 #endif
61328 main ()
61330 logf(0);
61332 return 0;
61334 _ACEOF
61335 if ac_fn_cxx_try_compile "$LINENO"; then :
61336 glibcxx_cv_func_logf_use=yes
61337 else
61338 glibcxx_cv_func_logf_use=no
61340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61341 ac_ext=c
61342 ac_cpp='$CPP $CPPFLAGS'
61343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
61352 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
61354 if test x$glibcxx_cv_func_logf_use = x"yes"; then
61355 for ac_func in logf
61356 do :
61357 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
61358 if test "x$ac_cv_func_logf" = x""yes; then :
61359 cat >>confdefs.h <<_ACEOF
61360 #define HAVE_LOGF 1
61361 _ACEOF
61364 done
61366 else
61368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
61369 $as_echo_n "checking for _logf declaration... " >&6; }
61370 if test x${glibcxx_cv_func__logf_use+set} != xset; then
61371 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
61372 $as_echo_n "(cached) " >&6
61373 else
61376 ac_ext=cpp
61377 ac_cpp='$CXXCPP $CPPFLAGS'
61378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61383 /* end confdefs.h. */
61384 #include <math.h>
61385 #ifdef HAVE_IEEEFP_H
61386 #include <ieeefp.h>
61387 #endif
61390 main ()
61392 _logf(0);
61394 return 0;
61396 _ACEOF
61397 if ac_fn_cxx_try_compile "$LINENO"; then :
61398 glibcxx_cv_func__logf_use=yes
61399 else
61400 glibcxx_cv_func__logf_use=no
61402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61403 ac_ext=c
61404 ac_cpp='$CPP $CPPFLAGS'
61405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
61414 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
61416 if test x$glibcxx_cv_func__logf_use = x"yes"; then
61417 for ac_func in _logf
61418 do :
61419 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
61420 if test "x$ac_cv_func__logf" = x""yes; then :
61421 cat >>confdefs.h <<_ACEOF
61422 #define HAVE__LOGF 1
61423 _ACEOF
61426 done
61435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
61436 $as_echo_n "checking for log10f declaration... " >&6; }
61437 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
61438 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
61439 $as_echo_n "(cached) " >&6
61440 else
61443 ac_ext=cpp
61444 ac_cpp='$CXXCPP $CPPFLAGS'
61445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61450 /* end confdefs.h. */
61451 #include <math.h>
61452 #ifdef HAVE_IEEEFP_H
61453 #include <ieeefp.h>
61454 #endif
61457 main ()
61459 log10f(0);
61461 return 0;
61463 _ACEOF
61464 if ac_fn_cxx_try_compile "$LINENO"; then :
61465 glibcxx_cv_func_log10f_use=yes
61466 else
61467 glibcxx_cv_func_log10f_use=no
61469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61470 ac_ext=c
61471 ac_cpp='$CPP $CPPFLAGS'
61472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
61481 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
61483 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
61484 for ac_func in log10f
61485 do :
61486 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
61487 if test "x$ac_cv_func_log10f" = x""yes; then :
61488 cat >>confdefs.h <<_ACEOF
61489 #define HAVE_LOG10F 1
61490 _ACEOF
61493 done
61495 else
61497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
61498 $as_echo_n "checking for _log10f declaration... " >&6; }
61499 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
61500 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
61501 $as_echo_n "(cached) " >&6
61502 else
61505 ac_ext=cpp
61506 ac_cpp='$CXXCPP $CPPFLAGS'
61507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61512 /* end confdefs.h. */
61513 #include <math.h>
61514 #ifdef HAVE_IEEEFP_H
61515 #include <ieeefp.h>
61516 #endif
61519 main ()
61521 _log10f(0);
61523 return 0;
61525 _ACEOF
61526 if ac_fn_cxx_try_compile "$LINENO"; then :
61527 glibcxx_cv_func__log10f_use=yes
61528 else
61529 glibcxx_cv_func__log10f_use=no
61531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61532 ac_ext=c
61533 ac_cpp='$CPP $CPPFLAGS'
61534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
61543 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
61545 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
61546 for ac_func in _log10f
61547 do :
61548 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
61549 if test "x$ac_cv_func__log10f" = x""yes; then :
61550 cat >>confdefs.h <<_ACEOF
61551 #define HAVE__LOG10F 1
61552 _ACEOF
61555 done
61564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
61565 $as_echo_n "checking for modff declaration... " >&6; }
61566 if test x${glibcxx_cv_func_modff_use+set} != xset; then
61567 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
61568 $as_echo_n "(cached) " >&6
61569 else
61572 ac_ext=cpp
61573 ac_cpp='$CXXCPP $CPPFLAGS'
61574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61579 /* end confdefs.h. */
61580 #include <math.h>
61582 main ()
61584 modff(0, 0);
61586 return 0;
61588 _ACEOF
61589 if ac_fn_cxx_try_compile "$LINENO"; then :
61590 glibcxx_cv_func_modff_use=yes
61591 else
61592 glibcxx_cv_func_modff_use=no
61594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61595 ac_ext=c
61596 ac_cpp='$CPP $CPPFLAGS'
61597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
61606 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
61608 if test x$glibcxx_cv_func_modff_use = x"yes"; then
61609 for ac_func in modff
61610 do :
61611 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
61612 if test "x$ac_cv_func_modff" = x""yes; then :
61613 cat >>confdefs.h <<_ACEOF
61614 #define HAVE_MODFF 1
61615 _ACEOF
61618 done
61620 else
61622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
61623 $as_echo_n "checking for _modff declaration... " >&6; }
61624 if test x${glibcxx_cv_func__modff_use+set} != xset; then
61625 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
61626 $as_echo_n "(cached) " >&6
61627 else
61630 ac_ext=cpp
61631 ac_cpp='$CXXCPP $CPPFLAGS'
61632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61637 /* end confdefs.h. */
61638 #include <math.h>
61640 main ()
61642 _modff(0, 0);
61644 return 0;
61646 _ACEOF
61647 if ac_fn_cxx_try_compile "$LINENO"; then :
61648 glibcxx_cv_func__modff_use=yes
61649 else
61650 glibcxx_cv_func__modff_use=no
61652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61653 ac_ext=c
61654 ac_cpp='$CPP $CPPFLAGS'
61655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
61664 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
61666 if test x$glibcxx_cv_func__modff_use = x"yes"; then
61667 for ac_func in _modff
61668 do :
61669 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
61670 if test "x$ac_cv_func__modff" = x""yes; then :
61671 cat >>confdefs.h <<_ACEOF
61672 #define HAVE__MODFF 1
61673 _ACEOF
61676 done
61685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
61686 $as_echo_n "checking for modf declaration... " >&6; }
61687 if test x${glibcxx_cv_func_modf_use+set} != xset; then
61688 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
61689 $as_echo_n "(cached) " >&6
61690 else
61693 ac_ext=cpp
61694 ac_cpp='$CXXCPP $CPPFLAGS'
61695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61700 /* end confdefs.h. */
61701 #include <math.h>
61703 main ()
61705 modf(0, 0);
61707 return 0;
61709 _ACEOF
61710 if ac_fn_cxx_try_compile "$LINENO"; then :
61711 glibcxx_cv_func_modf_use=yes
61712 else
61713 glibcxx_cv_func_modf_use=no
61715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61716 ac_ext=c
61717 ac_cpp='$CPP $CPPFLAGS'
61718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
61727 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
61729 if test x$glibcxx_cv_func_modf_use = x"yes"; then
61730 for ac_func in modf
61731 do :
61732 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
61733 if test "x$ac_cv_func_modf" = x""yes; then :
61734 cat >>confdefs.h <<_ACEOF
61735 #define HAVE_MODF 1
61736 _ACEOF
61739 done
61741 else
61743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
61744 $as_echo_n "checking for _modf declaration... " >&6; }
61745 if test x${glibcxx_cv_func__modf_use+set} != xset; then
61746 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
61747 $as_echo_n "(cached) " >&6
61748 else
61751 ac_ext=cpp
61752 ac_cpp='$CXXCPP $CPPFLAGS'
61753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61758 /* end confdefs.h. */
61759 #include <math.h>
61761 main ()
61763 _modf(0, 0);
61765 return 0;
61767 _ACEOF
61768 if ac_fn_cxx_try_compile "$LINENO"; then :
61769 glibcxx_cv_func__modf_use=yes
61770 else
61771 glibcxx_cv_func__modf_use=no
61773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61774 ac_ext=c
61775 ac_cpp='$CPP $CPPFLAGS'
61776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
61785 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
61787 if test x$glibcxx_cv_func__modf_use = x"yes"; then
61788 for ac_func in _modf
61789 do :
61790 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
61791 if test "x$ac_cv_func__modf" = x""yes; then :
61792 cat >>confdefs.h <<_ACEOF
61793 #define HAVE__MODF 1
61794 _ACEOF
61797 done
61806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
61807 $as_echo_n "checking for powf declaration... " >&6; }
61808 if test x${glibcxx_cv_func_powf_use+set} != xset; then
61809 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
61810 $as_echo_n "(cached) " >&6
61811 else
61814 ac_ext=cpp
61815 ac_cpp='$CXXCPP $CPPFLAGS'
61816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61821 /* end confdefs.h. */
61822 #include <math.h>
61824 main ()
61826 powf(0, 0);
61828 return 0;
61830 _ACEOF
61831 if ac_fn_cxx_try_compile "$LINENO"; then :
61832 glibcxx_cv_func_powf_use=yes
61833 else
61834 glibcxx_cv_func_powf_use=no
61836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61837 ac_ext=c
61838 ac_cpp='$CPP $CPPFLAGS'
61839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
61848 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
61850 if test x$glibcxx_cv_func_powf_use = x"yes"; then
61851 for ac_func in powf
61852 do :
61853 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
61854 if test "x$ac_cv_func_powf" = x""yes; then :
61855 cat >>confdefs.h <<_ACEOF
61856 #define HAVE_POWF 1
61857 _ACEOF
61860 done
61862 else
61864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
61865 $as_echo_n "checking for _powf declaration... " >&6; }
61866 if test x${glibcxx_cv_func__powf_use+set} != xset; then
61867 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
61868 $as_echo_n "(cached) " >&6
61869 else
61872 ac_ext=cpp
61873 ac_cpp='$CXXCPP $CPPFLAGS'
61874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61879 /* end confdefs.h. */
61880 #include <math.h>
61882 main ()
61884 _powf(0, 0);
61886 return 0;
61888 _ACEOF
61889 if ac_fn_cxx_try_compile "$LINENO"; then :
61890 glibcxx_cv_func__powf_use=yes
61891 else
61892 glibcxx_cv_func__powf_use=no
61894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61895 ac_ext=c
61896 ac_cpp='$CPP $CPPFLAGS'
61897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
61906 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
61908 if test x$glibcxx_cv_func__powf_use = x"yes"; then
61909 for ac_func in _powf
61910 do :
61911 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
61912 if test "x$ac_cv_func__powf" = x""yes; then :
61913 cat >>confdefs.h <<_ACEOF
61914 #define HAVE__POWF 1
61915 _ACEOF
61918 done
61927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
61928 $as_echo_n "checking for sqrtf declaration... " >&6; }
61929 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
61930 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
61931 $as_echo_n "(cached) " >&6
61932 else
61935 ac_ext=cpp
61936 ac_cpp='$CXXCPP $CPPFLAGS'
61937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61942 /* end confdefs.h. */
61943 #include <math.h>
61944 #ifdef HAVE_IEEEFP_H
61945 #include <ieeefp.h>
61946 #endif
61949 main ()
61951 sqrtf(0);
61953 return 0;
61955 _ACEOF
61956 if ac_fn_cxx_try_compile "$LINENO"; then :
61957 glibcxx_cv_func_sqrtf_use=yes
61958 else
61959 glibcxx_cv_func_sqrtf_use=no
61961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61962 ac_ext=c
61963 ac_cpp='$CPP $CPPFLAGS'
61964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
61973 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
61975 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
61976 for ac_func in sqrtf
61977 do :
61978 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
61979 if test "x$ac_cv_func_sqrtf" = x""yes; then :
61980 cat >>confdefs.h <<_ACEOF
61981 #define HAVE_SQRTF 1
61982 _ACEOF
61985 done
61987 else
61989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
61990 $as_echo_n "checking for _sqrtf declaration... " >&6; }
61991 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
61992 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
61993 $as_echo_n "(cached) " >&6
61994 else
61997 ac_ext=cpp
61998 ac_cpp='$CXXCPP $CPPFLAGS'
61999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62004 /* end confdefs.h. */
62005 #include <math.h>
62006 #ifdef HAVE_IEEEFP_H
62007 #include <ieeefp.h>
62008 #endif
62011 main ()
62013 _sqrtf(0);
62015 return 0;
62017 _ACEOF
62018 if ac_fn_cxx_try_compile "$LINENO"; then :
62019 glibcxx_cv_func__sqrtf_use=yes
62020 else
62021 glibcxx_cv_func__sqrtf_use=no
62023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62024 ac_ext=c
62025 ac_cpp='$CPP $CPPFLAGS'
62026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
62035 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
62037 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
62038 for ac_func in _sqrtf
62039 do :
62040 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
62041 if test "x$ac_cv_func__sqrtf" = x""yes; then :
62042 cat >>confdefs.h <<_ACEOF
62043 #define HAVE__SQRTF 1
62044 _ACEOF
62047 done
62056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
62057 $as_echo_n "checking for sincosf declaration... " >&6; }
62058 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
62059 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
62060 $as_echo_n "(cached) " >&6
62061 else
62064 ac_ext=cpp
62065 ac_cpp='$CXXCPP $CPPFLAGS'
62066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62071 /* end confdefs.h. */
62072 #include <math.h>
62074 main ()
62076 sincosf(0, 0, 0);
62078 return 0;
62080 _ACEOF
62081 if ac_fn_cxx_try_compile "$LINENO"; then :
62082 glibcxx_cv_func_sincosf_use=yes
62083 else
62084 glibcxx_cv_func_sincosf_use=no
62086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62087 ac_ext=c
62088 ac_cpp='$CPP $CPPFLAGS'
62089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
62098 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
62100 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
62101 for ac_func in sincosf
62102 do :
62103 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
62104 if test "x$ac_cv_func_sincosf" = x""yes; then :
62105 cat >>confdefs.h <<_ACEOF
62106 #define HAVE_SINCOSF 1
62107 _ACEOF
62110 done
62112 else
62114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
62115 $as_echo_n "checking for _sincosf declaration... " >&6; }
62116 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
62117 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
62118 $as_echo_n "(cached) " >&6
62119 else
62122 ac_ext=cpp
62123 ac_cpp='$CXXCPP $CPPFLAGS'
62124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62129 /* end confdefs.h. */
62130 #include <math.h>
62132 main ()
62134 _sincosf(0, 0, 0);
62136 return 0;
62138 _ACEOF
62139 if ac_fn_cxx_try_compile "$LINENO"; then :
62140 glibcxx_cv_func__sincosf_use=yes
62141 else
62142 glibcxx_cv_func__sincosf_use=no
62144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62145 ac_ext=c
62146 ac_cpp='$CPP $CPPFLAGS'
62147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
62156 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
62158 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
62159 for ac_func in _sincosf
62160 do :
62161 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
62162 if test "x$ac_cv_func__sincosf" = x""yes; then :
62163 cat >>confdefs.h <<_ACEOF
62164 #define HAVE__SINCOSF 1
62165 _ACEOF
62168 done
62177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
62178 $as_echo_n "checking for finitef declaration... " >&6; }
62179 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
62180 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
62181 $as_echo_n "(cached) " >&6
62182 else
62185 ac_ext=cpp
62186 ac_cpp='$CXXCPP $CPPFLAGS'
62187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62192 /* end confdefs.h. */
62193 #include <math.h>
62194 #ifdef HAVE_IEEEFP_H
62195 #include <ieeefp.h>
62196 #endif
62199 main ()
62201 finitef(0);
62203 return 0;
62205 _ACEOF
62206 if ac_fn_cxx_try_compile "$LINENO"; then :
62207 glibcxx_cv_func_finitef_use=yes
62208 else
62209 glibcxx_cv_func_finitef_use=no
62211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62212 ac_ext=c
62213 ac_cpp='$CPP $CPPFLAGS'
62214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
62223 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
62225 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
62226 for ac_func in finitef
62227 do :
62228 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
62229 if test "x$ac_cv_func_finitef" = x""yes; then :
62230 cat >>confdefs.h <<_ACEOF
62231 #define HAVE_FINITEF 1
62232 _ACEOF
62235 done
62237 else
62239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
62240 $as_echo_n "checking for _finitef declaration... " >&6; }
62241 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
62242 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
62243 $as_echo_n "(cached) " >&6
62244 else
62247 ac_ext=cpp
62248 ac_cpp='$CXXCPP $CPPFLAGS'
62249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62254 /* end confdefs.h. */
62255 #include <math.h>
62256 #ifdef HAVE_IEEEFP_H
62257 #include <ieeefp.h>
62258 #endif
62261 main ()
62263 _finitef(0);
62265 return 0;
62267 _ACEOF
62268 if ac_fn_cxx_try_compile "$LINENO"; then :
62269 glibcxx_cv_func__finitef_use=yes
62270 else
62271 glibcxx_cv_func__finitef_use=no
62273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62274 ac_ext=c
62275 ac_cpp='$CPP $CPPFLAGS'
62276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
62285 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
62287 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
62288 for ac_func in _finitef
62289 do :
62290 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
62291 if test "x$ac_cv_func__finitef" = x""yes; then :
62292 cat >>confdefs.h <<_ACEOF
62293 #define HAVE__FINITEF 1
62294 _ACEOF
62297 done
62306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
62307 $as_echo_n "checking for long double trig functions... " >&6; }
62308 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
62309 $as_echo_n "(cached) " >&6
62310 else
62313 ac_ext=cpp
62314 ac_cpp='$CXXCPP $CPPFLAGS'
62315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62320 /* end confdefs.h. */
62321 #include <math.h>
62323 main ()
62325 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
62327 return 0;
62329 _ACEOF
62330 if ac_fn_cxx_try_compile "$LINENO"; then :
62331 glibcxx_cv_func_long_double_trig_use=yes
62332 else
62333 glibcxx_cv_func_long_double_trig_use=no
62335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62336 ac_ext=c
62337 ac_cpp='$CPP $CPPFLAGS'
62338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
62345 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
62346 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
62347 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
62348 do :
62349 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62350 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62351 eval as_val=\$$as_ac_var
62352 if test "x$as_val" = x""yes; then :
62353 cat >>confdefs.h <<_ACEOF
62354 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62355 _ACEOF
62358 done
62360 else
62361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
62362 $as_echo_n "checking for _long double trig functions... " >&6; }
62363 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
62364 $as_echo_n "(cached) " >&6
62365 else
62368 ac_ext=cpp
62369 ac_cpp='$CXXCPP $CPPFLAGS'
62370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62375 /* end confdefs.h. */
62376 #include <math.h>
62378 main ()
62380 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
62382 return 0;
62384 _ACEOF
62385 if ac_fn_cxx_try_compile "$LINENO"; then :
62386 glibcxx_cv_func__long_double_trig_use=yes
62387 else
62388 glibcxx_cv_func__long_double_trig_use=no
62390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62391 ac_ext=c
62392 ac_cpp='$CPP $CPPFLAGS'
62393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
62400 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
62401 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
62402 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
62403 do :
62404 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62405 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62406 eval as_val=\$$as_ac_var
62407 if test "x$as_val" = x""yes; then :
62408 cat >>confdefs.h <<_ACEOF
62409 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62410 _ACEOF
62413 done
62422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
62423 $as_echo_n "checking for long double round functions... " >&6; }
62424 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
62425 $as_echo_n "(cached) " >&6
62426 else
62429 ac_ext=cpp
62430 ac_cpp='$CXXCPP $CPPFLAGS'
62431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62436 /* end confdefs.h. */
62437 #include <math.h>
62439 main ()
62441 ceill (0); floorl (0);
62443 return 0;
62445 _ACEOF
62446 if ac_fn_cxx_try_compile "$LINENO"; then :
62447 glibcxx_cv_func_long_double_round_use=yes
62448 else
62449 glibcxx_cv_func_long_double_round_use=no
62451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62452 ac_ext=c
62453 ac_cpp='$CPP $CPPFLAGS'
62454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
62461 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
62462 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
62463 for ac_func in ceill floorl
62464 do :
62465 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62466 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62467 eval as_val=\$$as_ac_var
62468 if test "x$as_val" = x""yes; then :
62469 cat >>confdefs.h <<_ACEOF
62470 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62471 _ACEOF
62474 done
62476 else
62477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
62478 $as_echo_n "checking for _long double round functions... " >&6; }
62479 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
62480 $as_echo_n "(cached) " >&6
62481 else
62484 ac_ext=cpp
62485 ac_cpp='$CXXCPP $CPPFLAGS'
62486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62491 /* end confdefs.h. */
62492 #include <math.h>
62494 main ()
62496 _ceill (0); _floorl (0);
62498 return 0;
62500 _ACEOF
62501 if ac_fn_cxx_try_compile "$LINENO"; then :
62502 glibcxx_cv_func__long_double_round_use=yes
62503 else
62504 glibcxx_cv_func__long_double_round_use=no
62506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62507 ac_ext=c
62508 ac_cpp='$CPP $CPPFLAGS'
62509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
62516 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
62517 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
62518 for ac_func in _ceill _floorl
62519 do :
62520 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62521 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62522 eval as_val=\$$as_ac_var
62523 if test "x$as_val" = x""yes; then :
62524 cat >>confdefs.h <<_ACEOF
62525 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62526 _ACEOF
62529 done
62539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
62540 $as_echo_n "checking for isnanl declaration... " >&6; }
62541 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
62542 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
62543 $as_echo_n "(cached) " >&6
62544 else
62547 ac_ext=cpp
62548 ac_cpp='$CXXCPP $CPPFLAGS'
62549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62554 /* end confdefs.h. */
62555 #include <math.h>
62556 #ifdef HAVE_IEEEFP_H
62557 #include <ieeefp.h>
62558 #endif
62561 main ()
62563 isnanl(0);
62565 return 0;
62567 _ACEOF
62568 if ac_fn_cxx_try_compile "$LINENO"; then :
62569 glibcxx_cv_func_isnanl_use=yes
62570 else
62571 glibcxx_cv_func_isnanl_use=no
62573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62574 ac_ext=c
62575 ac_cpp='$CPP $CPPFLAGS'
62576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
62585 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
62587 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
62588 for ac_func in isnanl
62589 do :
62590 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
62591 if test "x$ac_cv_func_isnanl" = x""yes; then :
62592 cat >>confdefs.h <<_ACEOF
62593 #define HAVE_ISNANL 1
62594 _ACEOF
62597 done
62599 else
62601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
62602 $as_echo_n "checking for _isnanl declaration... " >&6; }
62603 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
62604 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
62605 $as_echo_n "(cached) " >&6
62606 else
62609 ac_ext=cpp
62610 ac_cpp='$CXXCPP $CPPFLAGS'
62611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62616 /* end confdefs.h. */
62617 #include <math.h>
62618 #ifdef HAVE_IEEEFP_H
62619 #include <ieeefp.h>
62620 #endif
62623 main ()
62625 _isnanl(0);
62627 return 0;
62629 _ACEOF
62630 if ac_fn_cxx_try_compile "$LINENO"; then :
62631 glibcxx_cv_func__isnanl_use=yes
62632 else
62633 glibcxx_cv_func__isnanl_use=no
62635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62636 ac_ext=c
62637 ac_cpp='$CPP $CPPFLAGS'
62638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
62647 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
62649 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
62650 for ac_func in _isnanl
62651 do :
62652 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
62653 if test "x$ac_cv_func__isnanl" = x""yes; then :
62654 cat >>confdefs.h <<_ACEOF
62655 #define HAVE__ISNANL 1
62656 _ACEOF
62659 done
62668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
62669 $as_echo_n "checking for isinfl declaration... " >&6; }
62670 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
62671 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
62672 $as_echo_n "(cached) " >&6
62673 else
62676 ac_ext=cpp
62677 ac_cpp='$CXXCPP $CPPFLAGS'
62678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62683 /* end confdefs.h. */
62684 #include <math.h>
62685 #ifdef HAVE_IEEEFP_H
62686 #include <ieeefp.h>
62687 #endif
62690 main ()
62692 isinfl(0);
62694 return 0;
62696 _ACEOF
62697 if ac_fn_cxx_try_compile "$LINENO"; then :
62698 glibcxx_cv_func_isinfl_use=yes
62699 else
62700 glibcxx_cv_func_isinfl_use=no
62702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62703 ac_ext=c
62704 ac_cpp='$CPP $CPPFLAGS'
62705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
62714 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
62716 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
62717 for ac_func in isinfl
62718 do :
62719 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
62720 if test "x$ac_cv_func_isinfl" = x""yes; then :
62721 cat >>confdefs.h <<_ACEOF
62722 #define HAVE_ISINFL 1
62723 _ACEOF
62726 done
62728 else
62730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
62731 $as_echo_n "checking for _isinfl declaration... " >&6; }
62732 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
62733 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
62734 $as_echo_n "(cached) " >&6
62735 else
62738 ac_ext=cpp
62739 ac_cpp='$CXXCPP $CPPFLAGS'
62740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62745 /* end confdefs.h. */
62746 #include <math.h>
62747 #ifdef HAVE_IEEEFP_H
62748 #include <ieeefp.h>
62749 #endif
62752 main ()
62754 _isinfl(0);
62756 return 0;
62758 _ACEOF
62759 if ac_fn_cxx_try_compile "$LINENO"; then :
62760 glibcxx_cv_func__isinfl_use=yes
62761 else
62762 glibcxx_cv_func__isinfl_use=no
62764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62765 ac_ext=c
62766 ac_cpp='$CPP $CPPFLAGS'
62767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
62776 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
62778 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
62779 for ac_func in _isinfl
62780 do :
62781 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
62782 if test "x$ac_cv_func__isinfl" = x""yes; then :
62783 cat >>confdefs.h <<_ACEOF
62784 #define HAVE__ISINFL 1
62785 _ACEOF
62788 done
62797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
62798 $as_echo_n "checking for atan2l declaration... " >&6; }
62799 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
62800 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
62801 $as_echo_n "(cached) " >&6
62802 else
62805 ac_ext=cpp
62806 ac_cpp='$CXXCPP $CPPFLAGS'
62807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62812 /* end confdefs.h. */
62813 #include <math.h>
62815 main ()
62817 atan2l(0, 0);
62819 return 0;
62821 _ACEOF
62822 if ac_fn_cxx_try_compile "$LINENO"; then :
62823 glibcxx_cv_func_atan2l_use=yes
62824 else
62825 glibcxx_cv_func_atan2l_use=no
62827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62828 ac_ext=c
62829 ac_cpp='$CPP $CPPFLAGS'
62830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
62839 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
62841 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
62842 for ac_func in atan2l
62843 do :
62844 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
62845 if test "x$ac_cv_func_atan2l" = x""yes; then :
62846 cat >>confdefs.h <<_ACEOF
62847 #define HAVE_ATAN2L 1
62848 _ACEOF
62851 done
62853 else
62855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
62856 $as_echo_n "checking for _atan2l declaration... " >&6; }
62857 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
62858 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
62859 $as_echo_n "(cached) " >&6
62860 else
62863 ac_ext=cpp
62864 ac_cpp='$CXXCPP $CPPFLAGS'
62865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62870 /* end confdefs.h. */
62871 #include <math.h>
62873 main ()
62875 _atan2l(0, 0);
62877 return 0;
62879 _ACEOF
62880 if ac_fn_cxx_try_compile "$LINENO"; then :
62881 glibcxx_cv_func__atan2l_use=yes
62882 else
62883 glibcxx_cv_func__atan2l_use=no
62885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62886 ac_ext=c
62887 ac_cpp='$CPP $CPPFLAGS'
62888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
62897 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
62899 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
62900 for ac_func in _atan2l
62901 do :
62902 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
62903 if test "x$ac_cv_func__atan2l" = x""yes; then :
62904 cat >>confdefs.h <<_ACEOF
62905 #define HAVE__ATAN2L 1
62906 _ACEOF
62909 done
62918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
62919 $as_echo_n "checking for expl declaration... " >&6; }
62920 if test x${glibcxx_cv_func_expl_use+set} != xset; then
62921 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
62922 $as_echo_n "(cached) " >&6
62923 else
62926 ac_ext=cpp
62927 ac_cpp='$CXXCPP $CPPFLAGS'
62928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62933 /* end confdefs.h. */
62934 #include <math.h>
62935 #ifdef HAVE_IEEEFP_H
62936 #include <ieeefp.h>
62937 #endif
62940 main ()
62942 expl(0);
62944 return 0;
62946 _ACEOF
62947 if ac_fn_cxx_try_compile "$LINENO"; then :
62948 glibcxx_cv_func_expl_use=yes
62949 else
62950 glibcxx_cv_func_expl_use=no
62952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62953 ac_ext=c
62954 ac_cpp='$CPP $CPPFLAGS'
62955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
62964 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
62966 if test x$glibcxx_cv_func_expl_use = x"yes"; then
62967 for ac_func in expl
62968 do :
62969 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
62970 if test "x$ac_cv_func_expl" = x""yes; then :
62971 cat >>confdefs.h <<_ACEOF
62972 #define HAVE_EXPL 1
62973 _ACEOF
62976 done
62978 else
62980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
62981 $as_echo_n "checking for _expl declaration... " >&6; }
62982 if test x${glibcxx_cv_func__expl_use+set} != xset; then
62983 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
62984 $as_echo_n "(cached) " >&6
62985 else
62988 ac_ext=cpp
62989 ac_cpp='$CXXCPP $CPPFLAGS'
62990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62995 /* end confdefs.h. */
62996 #include <math.h>
62997 #ifdef HAVE_IEEEFP_H
62998 #include <ieeefp.h>
62999 #endif
63002 main ()
63004 _expl(0);
63006 return 0;
63008 _ACEOF
63009 if ac_fn_cxx_try_compile "$LINENO"; then :
63010 glibcxx_cv_func__expl_use=yes
63011 else
63012 glibcxx_cv_func__expl_use=no
63014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63015 ac_ext=c
63016 ac_cpp='$CPP $CPPFLAGS'
63017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
63026 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
63028 if test x$glibcxx_cv_func__expl_use = x"yes"; then
63029 for ac_func in _expl
63030 do :
63031 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
63032 if test "x$ac_cv_func__expl" = x""yes; then :
63033 cat >>confdefs.h <<_ACEOF
63034 #define HAVE__EXPL 1
63035 _ACEOF
63038 done
63047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
63048 $as_echo_n "checking for fabsl declaration... " >&6; }
63049 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
63050 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
63051 $as_echo_n "(cached) " >&6
63052 else
63055 ac_ext=cpp
63056 ac_cpp='$CXXCPP $CPPFLAGS'
63057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63062 /* end confdefs.h. */
63063 #include <math.h>
63064 #ifdef HAVE_IEEEFP_H
63065 #include <ieeefp.h>
63066 #endif
63069 main ()
63071 fabsl(0);
63073 return 0;
63075 _ACEOF
63076 if ac_fn_cxx_try_compile "$LINENO"; then :
63077 glibcxx_cv_func_fabsl_use=yes
63078 else
63079 glibcxx_cv_func_fabsl_use=no
63081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63082 ac_ext=c
63083 ac_cpp='$CPP $CPPFLAGS'
63084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
63093 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
63095 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
63096 for ac_func in fabsl
63097 do :
63098 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
63099 if test "x$ac_cv_func_fabsl" = x""yes; then :
63100 cat >>confdefs.h <<_ACEOF
63101 #define HAVE_FABSL 1
63102 _ACEOF
63105 done
63107 else
63109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
63110 $as_echo_n "checking for _fabsl declaration... " >&6; }
63111 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
63112 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
63113 $as_echo_n "(cached) " >&6
63114 else
63117 ac_ext=cpp
63118 ac_cpp='$CXXCPP $CPPFLAGS'
63119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63124 /* end confdefs.h. */
63125 #include <math.h>
63126 #ifdef HAVE_IEEEFP_H
63127 #include <ieeefp.h>
63128 #endif
63131 main ()
63133 _fabsl(0);
63135 return 0;
63137 _ACEOF
63138 if ac_fn_cxx_try_compile "$LINENO"; then :
63139 glibcxx_cv_func__fabsl_use=yes
63140 else
63141 glibcxx_cv_func__fabsl_use=no
63143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63144 ac_ext=c
63145 ac_cpp='$CPP $CPPFLAGS'
63146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
63155 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
63157 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
63158 for ac_func in _fabsl
63159 do :
63160 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
63161 if test "x$ac_cv_func__fabsl" = x""yes; then :
63162 cat >>confdefs.h <<_ACEOF
63163 #define HAVE__FABSL 1
63164 _ACEOF
63167 done
63176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
63177 $as_echo_n "checking for fmodl declaration... " >&6; }
63178 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
63179 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
63180 $as_echo_n "(cached) " >&6
63181 else
63184 ac_ext=cpp
63185 ac_cpp='$CXXCPP $CPPFLAGS'
63186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63191 /* end confdefs.h. */
63192 #include <math.h>
63194 main ()
63196 fmodl(0, 0);
63198 return 0;
63200 _ACEOF
63201 if ac_fn_cxx_try_compile "$LINENO"; then :
63202 glibcxx_cv_func_fmodl_use=yes
63203 else
63204 glibcxx_cv_func_fmodl_use=no
63206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63207 ac_ext=c
63208 ac_cpp='$CPP $CPPFLAGS'
63209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
63218 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
63220 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
63221 for ac_func in fmodl
63222 do :
63223 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
63224 if test "x$ac_cv_func_fmodl" = x""yes; then :
63225 cat >>confdefs.h <<_ACEOF
63226 #define HAVE_FMODL 1
63227 _ACEOF
63230 done
63232 else
63234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
63235 $as_echo_n "checking for _fmodl declaration... " >&6; }
63236 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
63237 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
63238 $as_echo_n "(cached) " >&6
63239 else
63242 ac_ext=cpp
63243 ac_cpp='$CXXCPP $CPPFLAGS'
63244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63249 /* end confdefs.h. */
63250 #include <math.h>
63252 main ()
63254 _fmodl(0, 0);
63256 return 0;
63258 _ACEOF
63259 if ac_fn_cxx_try_compile "$LINENO"; then :
63260 glibcxx_cv_func__fmodl_use=yes
63261 else
63262 glibcxx_cv_func__fmodl_use=no
63264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63265 ac_ext=c
63266 ac_cpp='$CPP $CPPFLAGS'
63267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
63276 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
63278 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
63279 for ac_func in _fmodl
63280 do :
63281 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
63282 if test "x$ac_cv_func__fmodl" = x""yes; then :
63283 cat >>confdefs.h <<_ACEOF
63284 #define HAVE__FMODL 1
63285 _ACEOF
63288 done
63297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
63298 $as_echo_n "checking for frexpl declaration... " >&6; }
63299 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
63300 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
63301 $as_echo_n "(cached) " >&6
63302 else
63305 ac_ext=cpp
63306 ac_cpp='$CXXCPP $CPPFLAGS'
63307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63312 /* end confdefs.h. */
63313 #include <math.h>
63315 main ()
63317 frexpl(0, 0);
63319 return 0;
63321 _ACEOF
63322 if ac_fn_cxx_try_compile "$LINENO"; then :
63323 glibcxx_cv_func_frexpl_use=yes
63324 else
63325 glibcxx_cv_func_frexpl_use=no
63327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63328 ac_ext=c
63329 ac_cpp='$CPP $CPPFLAGS'
63330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
63339 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
63341 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
63342 for ac_func in frexpl
63343 do :
63344 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
63345 if test "x$ac_cv_func_frexpl" = x""yes; then :
63346 cat >>confdefs.h <<_ACEOF
63347 #define HAVE_FREXPL 1
63348 _ACEOF
63351 done
63353 else
63355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
63356 $as_echo_n "checking for _frexpl declaration... " >&6; }
63357 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
63358 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
63359 $as_echo_n "(cached) " >&6
63360 else
63363 ac_ext=cpp
63364 ac_cpp='$CXXCPP $CPPFLAGS'
63365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63370 /* end confdefs.h. */
63371 #include <math.h>
63373 main ()
63375 _frexpl(0, 0);
63377 return 0;
63379 _ACEOF
63380 if ac_fn_cxx_try_compile "$LINENO"; then :
63381 glibcxx_cv_func__frexpl_use=yes
63382 else
63383 glibcxx_cv_func__frexpl_use=no
63385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63386 ac_ext=c
63387 ac_cpp='$CPP $CPPFLAGS'
63388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
63397 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
63399 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
63400 for ac_func in _frexpl
63401 do :
63402 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
63403 if test "x$ac_cv_func__frexpl" = x""yes; then :
63404 cat >>confdefs.h <<_ACEOF
63405 #define HAVE__FREXPL 1
63406 _ACEOF
63409 done
63418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
63419 $as_echo_n "checking for hypotl declaration... " >&6; }
63420 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
63421 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
63422 $as_echo_n "(cached) " >&6
63423 else
63426 ac_ext=cpp
63427 ac_cpp='$CXXCPP $CPPFLAGS'
63428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63433 /* end confdefs.h. */
63434 #include <math.h>
63436 main ()
63438 hypotl(0, 0);
63440 return 0;
63442 _ACEOF
63443 if ac_fn_cxx_try_compile "$LINENO"; then :
63444 glibcxx_cv_func_hypotl_use=yes
63445 else
63446 glibcxx_cv_func_hypotl_use=no
63448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63449 ac_ext=c
63450 ac_cpp='$CPP $CPPFLAGS'
63451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
63460 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
63462 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
63463 for ac_func in hypotl
63464 do :
63465 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
63466 if test "x$ac_cv_func_hypotl" = x""yes; then :
63467 cat >>confdefs.h <<_ACEOF
63468 #define HAVE_HYPOTL 1
63469 _ACEOF
63472 done
63474 else
63476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
63477 $as_echo_n "checking for _hypotl declaration... " >&6; }
63478 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
63479 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
63480 $as_echo_n "(cached) " >&6
63481 else
63484 ac_ext=cpp
63485 ac_cpp='$CXXCPP $CPPFLAGS'
63486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63491 /* end confdefs.h. */
63492 #include <math.h>
63494 main ()
63496 _hypotl(0, 0);
63498 return 0;
63500 _ACEOF
63501 if ac_fn_cxx_try_compile "$LINENO"; then :
63502 glibcxx_cv_func__hypotl_use=yes
63503 else
63504 glibcxx_cv_func__hypotl_use=no
63506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63507 ac_ext=c
63508 ac_cpp='$CPP $CPPFLAGS'
63509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
63518 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
63520 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
63521 for ac_func in _hypotl
63522 do :
63523 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
63524 if test "x$ac_cv_func__hypotl" = x""yes; then :
63525 cat >>confdefs.h <<_ACEOF
63526 #define HAVE__HYPOTL 1
63527 _ACEOF
63530 done
63539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
63540 $as_echo_n "checking for ldexpl declaration... " >&6; }
63541 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
63542 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
63543 $as_echo_n "(cached) " >&6
63544 else
63547 ac_ext=cpp
63548 ac_cpp='$CXXCPP $CPPFLAGS'
63549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63554 /* end confdefs.h. */
63555 #include <math.h>
63557 main ()
63559 ldexpl(0, 0);
63561 return 0;
63563 _ACEOF
63564 if ac_fn_cxx_try_compile "$LINENO"; then :
63565 glibcxx_cv_func_ldexpl_use=yes
63566 else
63567 glibcxx_cv_func_ldexpl_use=no
63569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63570 ac_ext=c
63571 ac_cpp='$CPP $CPPFLAGS'
63572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
63581 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
63583 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
63584 for ac_func in ldexpl
63585 do :
63586 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
63587 if test "x$ac_cv_func_ldexpl" = x""yes; then :
63588 cat >>confdefs.h <<_ACEOF
63589 #define HAVE_LDEXPL 1
63590 _ACEOF
63593 done
63595 else
63597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
63598 $as_echo_n "checking for _ldexpl declaration... " >&6; }
63599 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
63600 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
63601 $as_echo_n "(cached) " >&6
63602 else
63605 ac_ext=cpp
63606 ac_cpp='$CXXCPP $CPPFLAGS'
63607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63612 /* end confdefs.h. */
63613 #include <math.h>
63615 main ()
63617 _ldexpl(0, 0);
63619 return 0;
63621 _ACEOF
63622 if ac_fn_cxx_try_compile "$LINENO"; then :
63623 glibcxx_cv_func__ldexpl_use=yes
63624 else
63625 glibcxx_cv_func__ldexpl_use=no
63627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63628 ac_ext=c
63629 ac_cpp='$CPP $CPPFLAGS'
63630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
63639 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
63641 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
63642 for ac_func in _ldexpl
63643 do :
63644 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
63645 if test "x$ac_cv_func__ldexpl" = x""yes; then :
63646 cat >>confdefs.h <<_ACEOF
63647 #define HAVE__LDEXPL 1
63648 _ACEOF
63651 done
63660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
63661 $as_echo_n "checking for logl declaration... " >&6; }
63662 if test x${glibcxx_cv_func_logl_use+set} != xset; then
63663 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
63664 $as_echo_n "(cached) " >&6
63665 else
63668 ac_ext=cpp
63669 ac_cpp='$CXXCPP $CPPFLAGS'
63670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63675 /* end confdefs.h. */
63676 #include <math.h>
63677 #ifdef HAVE_IEEEFP_H
63678 #include <ieeefp.h>
63679 #endif
63682 main ()
63684 logl(0);
63686 return 0;
63688 _ACEOF
63689 if ac_fn_cxx_try_compile "$LINENO"; then :
63690 glibcxx_cv_func_logl_use=yes
63691 else
63692 glibcxx_cv_func_logl_use=no
63694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63695 ac_ext=c
63696 ac_cpp='$CPP $CPPFLAGS'
63697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
63706 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
63708 if test x$glibcxx_cv_func_logl_use = x"yes"; then
63709 for ac_func in logl
63710 do :
63711 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
63712 if test "x$ac_cv_func_logl" = x""yes; then :
63713 cat >>confdefs.h <<_ACEOF
63714 #define HAVE_LOGL 1
63715 _ACEOF
63718 done
63720 else
63722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
63723 $as_echo_n "checking for _logl declaration... " >&6; }
63724 if test x${glibcxx_cv_func__logl_use+set} != xset; then
63725 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
63726 $as_echo_n "(cached) " >&6
63727 else
63730 ac_ext=cpp
63731 ac_cpp='$CXXCPP $CPPFLAGS'
63732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63737 /* end confdefs.h. */
63738 #include <math.h>
63739 #ifdef HAVE_IEEEFP_H
63740 #include <ieeefp.h>
63741 #endif
63744 main ()
63746 _logl(0);
63748 return 0;
63750 _ACEOF
63751 if ac_fn_cxx_try_compile "$LINENO"; then :
63752 glibcxx_cv_func__logl_use=yes
63753 else
63754 glibcxx_cv_func__logl_use=no
63756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63757 ac_ext=c
63758 ac_cpp='$CPP $CPPFLAGS'
63759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
63768 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
63770 if test x$glibcxx_cv_func__logl_use = x"yes"; then
63771 for ac_func in _logl
63772 do :
63773 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
63774 if test "x$ac_cv_func__logl" = x""yes; then :
63775 cat >>confdefs.h <<_ACEOF
63776 #define HAVE__LOGL 1
63777 _ACEOF
63780 done
63789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
63790 $as_echo_n "checking for log10l declaration... " >&6; }
63791 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
63792 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
63793 $as_echo_n "(cached) " >&6
63794 else
63797 ac_ext=cpp
63798 ac_cpp='$CXXCPP $CPPFLAGS'
63799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63804 /* end confdefs.h. */
63805 #include <math.h>
63806 #ifdef HAVE_IEEEFP_H
63807 #include <ieeefp.h>
63808 #endif
63811 main ()
63813 log10l(0);
63815 return 0;
63817 _ACEOF
63818 if ac_fn_cxx_try_compile "$LINENO"; then :
63819 glibcxx_cv_func_log10l_use=yes
63820 else
63821 glibcxx_cv_func_log10l_use=no
63823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63824 ac_ext=c
63825 ac_cpp='$CPP $CPPFLAGS'
63826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
63835 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
63837 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
63838 for ac_func in log10l
63839 do :
63840 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
63841 if test "x$ac_cv_func_log10l" = x""yes; then :
63842 cat >>confdefs.h <<_ACEOF
63843 #define HAVE_LOG10L 1
63844 _ACEOF
63847 done
63849 else
63851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
63852 $as_echo_n "checking for _log10l declaration... " >&6; }
63853 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
63854 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
63855 $as_echo_n "(cached) " >&6
63856 else
63859 ac_ext=cpp
63860 ac_cpp='$CXXCPP $CPPFLAGS'
63861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63866 /* end confdefs.h. */
63867 #include <math.h>
63868 #ifdef HAVE_IEEEFP_H
63869 #include <ieeefp.h>
63870 #endif
63873 main ()
63875 _log10l(0);
63877 return 0;
63879 _ACEOF
63880 if ac_fn_cxx_try_compile "$LINENO"; then :
63881 glibcxx_cv_func__log10l_use=yes
63882 else
63883 glibcxx_cv_func__log10l_use=no
63885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63886 ac_ext=c
63887 ac_cpp='$CPP $CPPFLAGS'
63888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
63897 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
63899 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
63900 for ac_func in _log10l
63901 do :
63902 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
63903 if test "x$ac_cv_func__log10l" = x""yes; then :
63904 cat >>confdefs.h <<_ACEOF
63905 #define HAVE__LOG10L 1
63906 _ACEOF
63909 done
63918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
63919 $as_echo_n "checking for modfl declaration... " >&6; }
63920 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
63921 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
63922 $as_echo_n "(cached) " >&6
63923 else
63926 ac_ext=cpp
63927 ac_cpp='$CXXCPP $CPPFLAGS'
63928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63933 /* end confdefs.h. */
63934 #include <math.h>
63936 main ()
63938 modfl(0, 0);
63940 return 0;
63942 _ACEOF
63943 if ac_fn_cxx_try_compile "$LINENO"; then :
63944 glibcxx_cv_func_modfl_use=yes
63945 else
63946 glibcxx_cv_func_modfl_use=no
63948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63949 ac_ext=c
63950 ac_cpp='$CPP $CPPFLAGS'
63951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
63960 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
63962 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
63963 for ac_func in modfl
63964 do :
63965 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
63966 if test "x$ac_cv_func_modfl" = x""yes; then :
63967 cat >>confdefs.h <<_ACEOF
63968 #define HAVE_MODFL 1
63969 _ACEOF
63972 done
63974 else
63976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
63977 $as_echo_n "checking for _modfl declaration... " >&6; }
63978 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
63979 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
63980 $as_echo_n "(cached) " >&6
63981 else
63984 ac_ext=cpp
63985 ac_cpp='$CXXCPP $CPPFLAGS'
63986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63991 /* end confdefs.h. */
63992 #include <math.h>
63994 main ()
63996 _modfl(0, 0);
63998 return 0;
64000 _ACEOF
64001 if ac_fn_cxx_try_compile "$LINENO"; then :
64002 glibcxx_cv_func__modfl_use=yes
64003 else
64004 glibcxx_cv_func__modfl_use=no
64006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64007 ac_ext=c
64008 ac_cpp='$CPP $CPPFLAGS'
64009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
64018 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
64020 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
64021 for ac_func in _modfl
64022 do :
64023 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
64024 if test "x$ac_cv_func__modfl" = x""yes; then :
64025 cat >>confdefs.h <<_ACEOF
64026 #define HAVE__MODFL 1
64027 _ACEOF
64030 done
64039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
64040 $as_echo_n "checking for powl declaration... " >&6; }
64041 if test x${glibcxx_cv_func_powl_use+set} != xset; then
64042 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
64043 $as_echo_n "(cached) " >&6
64044 else
64047 ac_ext=cpp
64048 ac_cpp='$CXXCPP $CPPFLAGS'
64049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64054 /* end confdefs.h. */
64055 #include <math.h>
64057 main ()
64059 powl(0, 0);
64061 return 0;
64063 _ACEOF
64064 if ac_fn_cxx_try_compile "$LINENO"; then :
64065 glibcxx_cv_func_powl_use=yes
64066 else
64067 glibcxx_cv_func_powl_use=no
64069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64070 ac_ext=c
64071 ac_cpp='$CPP $CPPFLAGS'
64072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
64081 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
64083 if test x$glibcxx_cv_func_powl_use = x"yes"; then
64084 for ac_func in powl
64085 do :
64086 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
64087 if test "x$ac_cv_func_powl" = x""yes; then :
64088 cat >>confdefs.h <<_ACEOF
64089 #define HAVE_POWL 1
64090 _ACEOF
64093 done
64095 else
64097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
64098 $as_echo_n "checking for _powl declaration... " >&6; }
64099 if test x${glibcxx_cv_func__powl_use+set} != xset; then
64100 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
64101 $as_echo_n "(cached) " >&6
64102 else
64105 ac_ext=cpp
64106 ac_cpp='$CXXCPP $CPPFLAGS'
64107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64112 /* end confdefs.h. */
64113 #include <math.h>
64115 main ()
64117 _powl(0, 0);
64119 return 0;
64121 _ACEOF
64122 if ac_fn_cxx_try_compile "$LINENO"; then :
64123 glibcxx_cv_func__powl_use=yes
64124 else
64125 glibcxx_cv_func__powl_use=no
64127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64128 ac_ext=c
64129 ac_cpp='$CPP $CPPFLAGS'
64130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
64139 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
64141 if test x$glibcxx_cv_func__powl_use = x"yes"; then
64142 for ac_func in _powl
64143 do :
64144 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
64145 if test "x$ac_cv_func__powl" = x""yes; then :
64146 cat >>confdefs.h <<_ACEOF
64147 #define HAVE__POWL 1
64148 _ACEOF
64151 done
64160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
64161 $as_echo_n "checking for sqrtl declaration... " >&6; }
64162 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
64163 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
64164 $as_echo_n "(cached) " >&6
64165 else
64168 ac_ext=cpp
64169 ac_cpp='$CXXCPP $CPPFLAGS'
64170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64175 /* end confdefs.h. */
64176 #include <math.h>
64177 #ifdef HAVE_IEEEFP_H
64178 #include <ieeefp.h>
64179 #endif
64182 main ()
64184 sqrtl(0);
64186 return 0;
64188 _ACEOF
64189 if ac_fn_cxx_try_compile "$LINENO"; then :
64190 glibcxx_cv_func_sqrtl_use=yes
64191 else
64192 glibcxx_cv_func_sqrtl_use=no
64194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64195 ac_ext=c
64196 ac_cpp='$CPP $CPPFLAGS'
64197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
64206 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
64208 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
64209 for ac_func in sqrtl
64210 do :
64211 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
64212 if test "x$ac_cv_func_sqrtl" = x""yes; then :
64213 cat >>confdefs.h <<_ACEOF
64214 #define HAVE_SQRTL 1
64215 _ACEOF
64218 done
64220 else
64222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
64223 $as_echo_n "checking for _sqrtl declaration... " >&6; }
64224 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
64225 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
64226 $as_echo_n "(cached) " >&6
64227 else
64230 ac_ext=cpp
64231 ac_cpp='$CXXCPP $CPPFLAGS'
64232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64237 /* end confdefs.h. */
64238 #include <math.h>
64239 #ifdef HAVE_IEEEFP_H
64240 #include <ieeefp.h>
64241 #endif
64244 main ()
64246 _sqrtl(0);
64248 return 0;
64250 _ACEOF
64251 if ac_fn_cxx_try_compile "$LINENO"; then :
64252 glibcxx_cv_func__sqrtl_use=yes
64253 else
64254 glibcxx_cv_func__sqrtl_use=no
64256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64257 ac_ext=c
64258 ac_cpp='$CPP $CPPFLAGS'
64259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
64268 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
64270 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
64271 for ac_func in _sqrtl
64272 do :
64273 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
64274 if test "x$ac_cv_func__sqrtl" = x""yes; then :
64275 cat >>confdefs.h <<_ACEOF
64276 #define HAVE__SQRTL 1
64277 _ACEOF
64280 done
64289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
64290 $as_echo_n "checking for sincosl declaration... " >&6; }
64291 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
64292 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
64293 $as_echo_n "(cached) " >&6
64294 else
64297 ac_ext=cpp
64298 ac_cpp='$CXXCPP $CPPFLAGS'
64299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64304 /* end confdefs.h. */
64305 #include <math.h>
64307 main ()
64309 sincosl(0, 0, 0);
64311 return 0;
64313 _ACEOF
64314 if ac_fn_cxx_try_compile "$LINENO"; then :
64315 glibcxx_cv_func_sincosl_use=yes
64316 else
64317 glibcxx_cv_func_sincosl_use=no
64319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64320 ac_ext=c
64321 ac_cpp='$CPP $CPPFLAGS'
64322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
64331 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
64333 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
64334 for ac_func in sincosl
64335 do :
64336 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
64337 if test "x$ac_cv_func_sincosl" = x""yes; then :
64338 cat >>confdefs.h <<_ACEOF
64339 #define HAVE_SINCOSL 1
64340 _ACEOF
64343 done
64345 else
64347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
64348 $as_echo_n "checking for _sincosl declaration... " >&6; }
64349 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
64350 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
64351 $as_echo_n "(cached) " >&6
64352 else
64355 ac_ext=cpp
64356 ac_cpp='$CXXCPP $CPPFLAGS'
64357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64362 /* end confdefs.h. */
64363 #include <math.h>
64365 main ()
64367 _sincosl(0, 0, 0);
64369 return 0;
64371 _ACEOF
64372 if ac_fn_cxx_try_compile "$LINENO"; then :
64373 glibcxx_cv_func__sincosl_use=yes
64374 else
64375 glibcxx_cv_func__sincosl_use=no
64377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64378 ac_ext=c
64379 ac_cpp='$CPP $CPPFLAGS'
64380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
64389 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
64391 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
64392 for ac_func in _sincosl
64393 do :
64394 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
64395 if test "x$ac_cv_func__sincosl" = x""yes; then :
64396 cat >>confdefs.h <<_ACEOF
64397 #define HAVE__SINCOSL 1
64398 _ACEOF
64401 done
64410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
64411 $as_echo_n "checking for finitel declaration... " >&6; }
64412 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
64413 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
64414 $as_echo_n "(cached) " >&6
64415 else
64418 ac_ext=cpp
64419 ac_cpp='$CXXCPP $CPPFLAGS'
64420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64425 /* end confdefs.h. */
64426 #include <math.h>
64427 #ifdef HAVE_IEEEFP_H
64428 #include <ieeefp.h>
64429 #endif
64432 main ()
64434 finitel(0);
64436 return 0;
64438 _ACEOF
64439 if ac_fn_cxx_try_compile "$LINENO"; then :
64440 glibcxx_cv_func_finitel_use=yes
64441 else
64442 glibcxx_cv_func_finitel_use=no
64444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64445 ac_ext=c
64446 ac_cpp='$CPP $CPPFLAGS'
64447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
64456 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
64458 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
64459 for ac_func in finitel
64460 do :
64461 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
64462 if test "x$ac_cv_func_finitel" = x""yes; then :
64463 cat >>confdefs.h <<_ACEOF
64464 #define HAVE_FINITEL 1
64465 _ACEOF
64468 done
64470 else
64472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
64473 $as_echo_n "checking for _finitel declaration... " >&6; }
64474 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
64475 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
64476 $as_echo_n "(cached) " >&6
64477 else
64480 ac_ext=cpp
64481 ac_cpp='$CXXCPP $CPPFLAGS'
64482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64487 /* end confdefs.h. */
64488 #include <math.h>
64489 #ifdef HAVE_IEEEFP_H
64490 #include <ieeefp.h>
64491 #endif
64494 main ()
64496 _finitel(0);
64498 return 0;
64500 _ACEOF
64501 if ac_fn_cxx_try_compile "$LINENO"; then :
64502 glibcxx_cv_func__finitel_use=yes
64503 else
64504 glibcxx_cv_func__finitel_use=no
64506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64507 ac_ext=c
64508 ac_cpp='$CPP $CPPFLAGS'
64509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
64518 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
64520 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
64521 for ac_func in _finitel
64522 do :
64523 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
64524 if test "x$ac_cv_func__finitel" = x""yes; then :
64525 cat >>confdefs.h <<_ACEOF
64526 #define HAVE__FINITEL 1
64527 _ACEOF
64530 done
64538 LIBS="$ac_save_LIBS"
64539 CXXFLAGS="$ac_save_CXXFLAGS"
64542 ac_test_CXXFLAGS="${CXXFLAGS+set}"
64543 ac_save_CXXFLAGS="$CXXFLAGS"
64544 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
64547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
64548 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
64549 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
64550 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
64551 $as_echo_n "(cached) " >&6
64552 else
64555 ac_ext=cpp
64556 ac_cpp='$CXXCPP $CPPFLAGS'
64557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64562 /* end confdefs.h. */
64563 #include <stdlib.h>
64565 main ()
64567 at_quick_exit(0);
64569 return 0;
64571 _ACEOF
64572 if ac_fn_cxx_try_compile "$LINENO"; then :
64573 glibcxx_cv_func_at_quick_exit_use=yes
64574 else
64575 glibcxx_cv_func_at_quick_exit_use=no
64577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64578 ac_ext=c
64579 ac_cpp='$CPP $CPPFLAGS'
64580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
64589 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
64590 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
64591 for ac_func in at_quick_exit
64592 do :
64593 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
64594 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
64595 cat >>confdefs.h <<_ACEOF
64596 #define HAVE_AT_QUICK_EXIT 1
64597 _ACEOF
64600 done
64605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
64606 $as_echo_n "checking for quick_exit declaration... " >&6; }
64607 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
64608 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
64609 $as_echo_n "(cached) " >&6
64610 else
64613 ac_ext=cpp
64614 ac_cpp='$CXXCPP $CPPFLAGS'
64615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64620 /* end confdefs.h. */
64621 #include <stdlib.h>
64623 main ()
64625 quick_exit(0);
64627 return 0;
64629 _ACEOF
64630 if ac_fn_cxx_try_compile "$LINENO"; then :
64631 glibcxx_cv_func_quick_exit_use=yes
64632 else
64633 glibcxx_cv_func_quick_exit_use=no
64635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64636 ac_ext=c
64637 ac_cpp='$CPP $CPPFLAGS'
64638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
64647 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
64648 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
64649 for ac_func in quick_exit
64650 do :
64651 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
64652 if test "x$ac_cv_func_quick_exit" = x""yes; then :
64653 cat >>confdefs.h <<_ACEOF
64654 #define HAVE_QUICK_EXIT 1
64655 _ACEOF
64658 done
64663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
64664 $as_echo_n "checking for strtold declaration... " >&6; }
64665 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
64666 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
64667 $as_echo_n "(cached) " >&6
64668 else
64671 ac_ext=cpp
64672 ac_cpp='$CXXCPP $CPPFLAGS'
64673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64678 /* end confdefs.h. */
64679 #include <stdlib.h>
64681 main ()
64683 strtold(0, 0);
64685 return 0;
64687 _ACEOF
64688 if ac_fn_cxx_try_compile "$LINENO"; then :
64689 glibcxx_cv_func_strtold_use=yes
64690 else
64691 glibcxx_cv_func_strtold_use=no
64693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64694 ac_ext=c
64695 ac_cpp='$CPP $CPPFLAGS'
64696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
64705 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
64706 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
64707 for ac_func in strtold
64708 do :
64709 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
64710 if test "x$ac_cv_func_strtold" = x""yes; then :
64711 cat >>confdefs.h <<_ACEOF
64712 #define HAVE_STRTOLD 1
64713 _ACEOF
64716 done
64723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
64724 $as_echo_n "checking for strtof declaration... " >&6; }
64725 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
64726 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
64727 $as_echo_n "(cached) " >&6
64728 else
64731 ac_ext=cpp
64732 ac_cpp='$CXXCPP $CPPFLAGS'
64733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64738 /* end confdefs.h. */
64739 #include <stdlib.h>
64741 main ()
64743 strtof(0, 0);
64745 return 0;
64747 _ACEOF
64748 if ac_fn_cxx_try_compile "$LINENO"; then :
64749 glibcxx_cv_func_strtof_use=yes
64750 else
64751 glibcxx_cv_func_strtof_use=no
64753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64754 ac_ext=c
64755 ac_cpp='$CPP $CPPFLAGS'
64756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
64765 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
64766 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
64767 for ac_func in strtof
64768 do :
64769 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
64770 if test "x$ac_cv_func_strtof" = x""yes; then :
64771 cat >>confdefs.h <<_ACEOF
64772 #define HAVE_STRTOF 1
64773 _ACEOF
64776 done
64783 CXXFLAGS="$ac_save_CXXFLAGS"
64786 *-netbsd*)
64787 SECTION_FLAGS='-ffunction-sections -fdata-sections'
64790 # If we're not using GNU ld, then there's no point in even trying these
64791 # tests. Check for that first. We should have already tested for gld
64792 # by now (in libtool), but require it now just to be safe...
64793 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
64794 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
64798 # The name set by libtool depends on the version of libtool. Shame on us
64799 # for depending on an impl detail, but c'est la vie. Older versions used
64800 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
64801 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
64802 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
64803 # set (hence we're using an older libtool), then set it.
64804 if test x${with_gnu_ld+set} != xset; then
64805 if test x${ac_cv_prog_gnu_ld+set} != xset; then
64806 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
64807 with_gnu_ld=no
64808 else
64809 with_gnu_ld=$ac_cv_prog_gnu_ld
64813 # Start by getting the version number. I think the libtool test already
64814 # does some of this, but throws away the result.
64815 glibcxx_ld_is_gold=no
64816 if test x"$with_gnu_ld" = x"yes"; then
64817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
64818 $as_echo_n "checking for ld version... " >&6; }
64820 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
64821 glibcxx_ld_is_gold=yes
64823 ldver=`$LD --version 2>/dev/null |
64824 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'`
64826 glibcxx_gnu_ld_version=`echo $ldver | \
64827 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
64828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
64829 $as_echo "$glibcxx_gnu_ld_version" >&6; }
64832 # Set --gc-sections.
64833 glibcxx_have_gc_sections=no
64834 if test "$glibcxx_ld_is_gold" = "yes"; then
64835 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
64836 glibcxx_have_gc_sections=yes
64838 else
64839 glibcxx_gcsections_min_ld=21602
64840 if test x"$with_gnu_ld" = x"yes" &&
64841 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
64842 glibcxx_have_gc_sections=yes
64845 if test "$glibcxx_have_gc_sections" = "yes"; then
64846 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
64847 # NB: This flag only works reliably after 2.16.1. Configure tests
64848 # for this are difficult, so hard wire a value that should work.
64850 ac_test_CFLAGS="${CFLAGS+set}"
64851 ac_save_CFLAGS="$CFLAGS"
64852 CFLAGS='-Wl,--gc-sections'
64854 # Check for -Wl,--gc-sections
64855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
64856 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
64857 if test x$gcc_no_link = xyes; then
64858 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64861 /* end confdefs.h. */
64862 int one(void) { return 1; }
64863 int two(void) { return 2; }
64866 main ()
64868 two();
64870 return 0;
64872 _ACEOF
64873 if ac_fn_c_try_link "$LINENO"; then :
64874 ac_gcsections=yes
64875 else
64876 ac_gcsections=no
64878 rm -f core conftest.err conftest.$ac_objext \
64879 conftest$ac_exeext conftest.$ac_ext
64880 if test "$ac_gcsections" = "yes"; then
64881 rm -f conftest.c
64882 touch conftest.c
64883 if $CC -c conftest.c; then
64884 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
64885 grep "Warning: gc-sections option ignored" > /dev/null; then
64886 ac_gcsections=no
64889 rm -f conftest.c conftest.o conftest
64891 if test "$ac_gcsections" = "yes"; then
64892 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
64894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
64895 $as_echo "$ac_gcsections" >&6; }
64897 if test "$ac_test_CFLAGS" = set; then
64898 CFLAGS="$ac_save_CFLAGS"
64899 else
64900 # this is the suspicious part
64901 CFLAGS=''
64905 # Set -z,relro.
64906 # Note this is only for shared objects.
64907 ac_ld_relro=no
64908 if test x"$with_gnu_ld" = x"yes"; then
64909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
64910 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
64911 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
64912 if test -n "$cxx_z_relo"; then
64913 OPT_LDFLAGS="-Wl,-z,relro"
64914 ac_ld_relro=yes
64916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
64917 $as_echo "$ac_ld_relro" >&6; }
64920 # Set linker optimization flags.
64921 if test x"$with_gnu_ld" = x"yes"; then
64922 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
64928 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
64930 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
64932 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
64934 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
64936 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
64938 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
64940 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
64942 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
64944 if test x"long_double_math_on_this_cpu" = x"yes"; then
64945 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
64947 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
64949 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
64953 *-qnx6.1* | *-qnx6.2*)
64954 SECTION_FLAGS='-ffunction-sections -fdata-sections'
64957 # If we're not using GNU ld, then there's no point in even trying these
64958 # tests. Check for that first. We should have already tested for gld
64959 # by now (in libtool), but require it now just to be safe...
64960 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
64961 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
64965 # The name set by libtool depends on the version of libtool. Shame on us
64966 # for depending on an impl detail, but c'est la vie. Older versions used
64967 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
64968 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
64969 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
64970 # set (hence we're using an older libtool), then set it.
64971 if test x${with_gnu_ld+set} != xset; then
64972 if test x${ac_cv_prog_gnu_ld+set} != xset; then
64973 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
64974 with_gnu_ld=no
64975 else
64976 with_gnu_ld=$ac_cv_prog_gnu_ld
64980 # Start by getting the version number. I think the libtool test already
64981 # does some of this, but throws away the result.
64982 glibcxx_ld_is_gold=no
64983 if test x"$with_gnu_ld" = x"yes"; then
64984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
64985 $as_echo_n "checking for ld version... " >&6; }
64987 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
64988 glibcxx_ld_is_gold=yes
64990 ldver=`$LD --version 2>/dev/null |
64991 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'`
64993 glibcxx_gnu_ld_version=`echo $ldver | \
64994 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
64995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
64996 $as_echo "$glibcxx_gnu_ld_version" >&6; }
64999 # Set --gc-sections.
65000 glibcxx_have_gc_sections=no
65001 if test "$glibcxx_ld_is_gold" = "yes"; then
65002 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
65003 glibcxx_have_gc_sections=yes
65005 else
65006 glibcxx_gcsections_min_ld=21602
65007 if test x"$with_gnu_ld" = x"yes" &&
65008 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
65009 glibcxx_have_gc_sections=yes
65012 if test "$glibcxx_have_gc_sections" = "yes"; then
65013 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
65014 # NB: This flag only works reliably after 2.16.1. Configure tests
65015 # for this are difficult, so hard wire a value that should work.
65017 ac_test_CFLAGS="${CFLAGS+set}"
65018 ac_save_CFLAGS="$CFLAGS"
65019 CFLAGS='-Wl,--gc-sections'
65021 # Check for -Wl,--gc-sections
65022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
65023 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
65024 if test x$gcc_no_link = xyes; then
65025 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
65027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65028 /* end confdefs.h. */
65029 int one(void) { return 1; }
65030 int two(void) { return 2; }
65033 main ()
65035 two();
65037 return 0;
65039 _ACEOF
65040 if ac_fn_c_try_link "$LINENO"; then :
65041 ac_gcsections=yes
65042 else
65043 ac_gcsections=no
65045 rm -f core conftest.err conftest.$ac_objext \
65046 conftest$ac_exeext conftest.$ac_ext
65047 if test "$ac_gcsections" = "yes"; then
65048 rm -f conftest.c
65049 touch conftest.c
65050 if $CC -c conftest.c; then
65051 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
65052 grep "Warning: gc-sections option ignored" > /dev/null; then
65053 ac_gcsections=no
65056 rm -f conftest.c conftest.o conftest
65058 if test "$ac_gcsections" = "yes"; then
65059 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
65061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
65062 $as_echo "$ac_gcsections" >&6; }
65064 if test "$ac_test_CFLAGS" = set; then
65065 CFLAGS="$ac_save_CFLAGS"
65066 else
65067 # this is the suspicious part
65068 CFLAGS=''
65072 # Set -z,relro.
65073 # Note this is only for shared objects.
65074 ac_ld_relro=no
65075 if test x"$with_gnu_ld" = x"yes"; then
65076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
65077 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
65078 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
65079 if test -n "$cxx_z_relo"; then
65080 OPT_LDFLAGS="-Wl,-z,relro"
65081 ac_ld_relro=yes
65083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
65084 $as_echo "$ac_ld_relro" >&6; }
65087 # Set linker optimization flags.
65088 if test x"$with_gnu_ld" = x"yes"; then
65089 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
65095 $as_echo "#define HAVE_COSF 1" >>confdefs.h
65097 $as_echo "#define HAVE_COSL 1" >>confdefs.h
65099 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
65101 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
65103 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
65105 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
65107 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
65109 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
65111 $as_echo "#define HAVE_SINF 1" >>confdefs.h
65113 $as_echo "#define HAVE_SINL 1" >>confdefs.h
65115 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
65117 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
65120 *-rtems*)
65122 # All these tests are for C++; save the language and the compiler flags.
65123 # The CXXFLAGS thing is suspicious, but based on similar bits previously
65124 # found in GLIBCXX_CONFIGURE.
65126 ac_ext=cpp
65127 ac_cpp='$CXXCPP $CPPFLAGS'
65128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65132 ac_test_CXXFLAGS="${CXXFLAGS+set}"
65133 ac_save_CXXFLAGS="$CXXFLAGS"
65135 # Check for maintainer-mode bits.
65136 if test x"$USE_MAINTAINER_MODE" = xno; then
65137 WERROR=''
65138 else
65139 WERROR='-Werror'
65142 # Check for -ffunction-sections -fdata-sections
65143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
65144 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
65145 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
65146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65147 /* end confdefs.h. */
65148 int foo; void bar() { };
65150 main ()
65154 return 0;
65156 _ACEOF
65157 if ac_fn_cxx_try_compile "$LINENO"; then :
65158 ac_fdsections=yes
65159 else
65160 ac_fdsections=no
65162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65163 if test "$ac_test_CXXFLAGS" = set; then
65164 CXXFLAGS="$ac_save_CXXFLAGS"
65165 else
65166 # this is the suspicious part
65167 CXXFLAGS=''
65169 if test x"$ac_fdsections" = x"yes"; then
65170 SECTION_FLAGS='-ffunction-sections -fdata-sections'
65172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
65173 $as_echo "$ac_fdsections" >&6; }
65175 ac_ext=c
65176 ac_cpp='$CPP $CPPFLAGS'
65177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65185 # If we're not using GNU ld, then there's no point in even trying these
65186 # tests. Check for that first. We should have already tested for gld
65187 # by now (in libtool), but require it now just to be safe...
65188 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
65189 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
65193 # The name set by libtool depends on the version of libtool. Shame on us
65194 # for depending on an impl detail, but c'est la vie. Older versions used
65195 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
65196 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
65197 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
65198 # set (hence we're using an older libtool), then set it.
65199 if test x${with_gnu_ld+set} != xset; then
65200 if test x${ac_cv_prog_gnu_ld+set} != xset; then
65201 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
65202 with_gnu_ld=no
65203 else
65204 with_gnu_ld=$ac_cv_prog_gnu_ld
65208 # Start by getting the version number. I think the libtool test already
65209 # does some of this, but throws away the result.
65210 glibcxx_ld_is_gold=no
65211 if test x"$with_gnu_ld" = x"yes"; then
65212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
65213 $as_echo_n "checking for ld version... " >&6; }
65215 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
65216 glibcxx_ld_is_gold=yes
65218 ldver=`$LD --version 2>/dev/null |
65219 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'`
65221 glibcxx_gnu_ld_version=`echo $ldver | \
65222 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
65223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
65224 $as_echo "$glibcxx_gnu_ld_version" >&6; }
65227 # Set --gc-sections.
65228 glibcxx_have_gc_sections=no
65229 if test "$glibcxx_ld_is_gold" = "yes"; then
65230 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
65231 glibcxx_have_gc_sections=yes
65233 else
65234 glibcxx_gcsections_min_ld=21602
65235 if test x"$with_gnu_ld" = x"yes" &&
65236 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
65237 glibcxx_have_gc_sections=yes
65240 if test "$glibcxx_have_gc_sections" = "yes"; then
65241 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
65242 # NB: This flag only works reliably after 2.16.1. Configure tests
65243 # for this are difficult, so hard wire a value that should work.
65245 ac_test_CFLAGS="${CFLAGS+set}"
65246 ac_save_CFLAGS="$CFLAGS"
65247 CFLAGS='-Wl,--gc-sections'
65249 # Check for -Wl,--gc-sections
65250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
65251 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
65252 if test x$gcc_no_link = xyes; then
65253 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
65255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65256 /* end confdefs.h. */
65257 int one(void) { return 1; }
65258 int two(void) { return 2; }
65261 main ()
65263 two();
65265 return 0;
65267 _ACEOF
65268 if ac_fn_c_try_link "$LINENO"; then :
65269 ac_gcsections=yes
65270 else
65271 ac_gcsections=no
65273 rm -f core conftest.err conftest.$ac_objext \
65274 conftest$ac_exeext conftest.$ac_ext
65275 if test "$ac_gcsections" = "yes"; then
65276 rm -f conftest.c
65277 touch conftest.c
65278 if $CC -c conftest.c; then
65279 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
65280 grep "Warning: gc-sections option ignored" > /dev/null; then
65281 ac_gcsections=no
65284 rm -f conftest.c conftest.o conftest
65286 if test "$ac_gcsections" = "yes"; then
65287 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
65289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
65290 $as_echo "$ac_gcsections" >&6; }
65292 if test "$ac_test_CFLAGS" = set; then
65293 CFLAGS="$ac_save_CFLAGS"
65294 else
65295 # this is the suspicious part
65296 CFLAGS=''
65300 # Set -z,relro.
65301 # Note this is only for shared objects.
65302 ac_ld_relro=no
65303 if test x"$with_gnu_ld" = x"yes"; then
65304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
65305 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
65306 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
65307 if test -n "$cxx_z_relo"; then
65308 OPT_LDFLAGS="-Wl,-z,relro"
65309 ac_ld_relro=yes
65311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
65312 $as_echo "$ac_ld_relro" >&6; }
65315 # Set linker optimization flags.
65316 if test x"$with_gnu_ld" = x"yes"; then
65317 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
65324 ac_test_CXXFLAGS="${CXXFLAGS+set}"
65325 ac_save_CXXFLAGS="$CXXFLAGS"
65326 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
65328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
65329 $as_echo_n "checking for sin in -lm... " >&6; }
65330 if test "${ac_cv_lib_m_sin+set}" = set; then :
65331 $as_echo_n "(cached) " >&6
65332 else
65333 ac_check_lib_save_LIBS=$LIBS
65334 LIBS="-lm $LIBS"
65335 if test x$gcc_no_link = xyes; then
65336 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
65338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65339 /* end confdefs.h. */
65341 /* Override any GCC internal prototype to avoid an error.
65342 Use char because int might match the return type of a GCC
65343 builtin and then its argument prototype would still apply. */
65344 #ifdef __cplusplus
65345 extern "C"
65346 #endif
65347 char sin ();
65349 main ()
65351 return sin ();
65353 return 0;
65355 _ACEOF
65356 if ac_fn_c_try_link "$LINENO"; then :
65357 ac_cv_lib_m_sin=yes
65358 else
65359 ac_cv_lib_m_sin=no
65361 rm -f core conftest.err conftest.$ac_objext \
65362 conftest$ac_exeext conftest.$ac_ext
65363 LIBS=$ac_check_lib_save_LIBS
65365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
65366 $as_echo "$ac_cv_lib_m_sin" >&6; }
65367 if test "x$ac_cv_lib_m_sin" = x""yes; then :
65368 libm="-lm"
65371 ac_save_LIBS="$LIBS"
65372 LIBS="$LIBS $libm"
65376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
65377 $as_echo_n "checking for isinf declaration... " >&6; }
65378 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
65379 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
65380 $as_echo_n "(cached) " >&6
65381 else
65384 ac_ext=cpp
65385 ac_cpp='$CXXCPP $CPPFLAGS'
65386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65391 /* end confdefs.h. */
65392 #include <math.h>
65393 #ifdef HAVE_IEEEFP_H
65394 #include <ieeefp.h>
65395 #endif
65398 main ()
65400 isinf(0);
65402 return 0;
65404 _ACEOF
65405 if ac_fn_cxx_try_compile "$LINENO"; then :
65406 glibcxx_cv_func_isinf_use=yes
65407 else
65408 glibcxx_cv_func_isinf_use=no
65410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65411 ac_ext=c
65412 ac_cpp='$CPP $CPPFLAGS'
65413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
65422 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
65424 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
65425 for ac_func in isinf
65426 do :
65427 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
65428 if test "x$ac_cv_func_isinf" = x""yes; then :
65429 cat >>confdefs.h <<_ACEOF
65430 #define HAVE_ISINF 1
65431 _ACEOF
65434 done
65436 else
65438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
65439 $as_echo_n "checking for _isinf declaration... " >&6; }
65440 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
65441 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
65442 $as_echo_n "(cached) " >&6
65443 else
65446 ac_ext=cpp
65447 ac_cpp='$CXXCPP $CPPFLAGS'
65448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65453 /* end confdefs.h. */
65454 #include <math.h>
65455 #ifdef HAVE_IEEEFP_H
65456 #include <ieeefp.h>
65457 #endif
65460 main ()
65462 _isinf(0);
65464 return 0;
65466 _ACEOF
65467 if ac_fn_cxx_try_compile "$LINENO"; then :
65468 glibcxx_cv_func__isinf_use=yes
65469 else
65470 glibcxx_cv_func__isinf_use=no
65472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65473 ac_ext=c
65474 ac_cpp='$CPP $CPPFLAGS'
65475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
65484 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
65486 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
65487 for ac_func in _isinf
65488 do :
65489 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
65490 if test "x$ac_cv_func__isinf" = x""yes; then :
65491 cat >>confdefs.h <<_ACEOF
65492 #define HAVE__ISINF 1
65493 _ACEOF
65496 done
65505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
65506 $as_echo_n "checking for isnan declaration... " >&6; }
65507 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
65508 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
65509 $as_echo_n "(cached) " >&6
65510 else
65513 ac_ext=cpp
65514 ac_cpp='$CXXCPP $CPPFLAGS'
65515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65520 /* end confdefs.h. */
65521 #include <math.h>
65522 #ifdef HAVE_IEEEFP_H
65523 #include <ieeefp.h>
65524 #endif
65527 main ()
65529 isnan(0);
65531 return 0;
65533 _ACEOF
65534 if ac_fn_cxx_try_compile "$LINENO"; then :
65535 glibcxx_cv_func_isnan_use=yes
65536 else
65537 glibcxx_cv_func_isnan_use=no
65539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65540 ac_ext=c
65541 ac_cpp='$CPP $CPPFLAGS'
65542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
65551 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
65553 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
65554 for ac_func in isnan
65555 do :
65556 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
65557 if test "x$ac_cv_func_isnan" = x""yes; then :
65558 cat >>confdefs.h <<_ACEOF
65559 #define HAVE_ISNAN 1
65560 _ACEOF
65563 done
65565 else
65567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
65568 $as_echo_n "checking for _isnan declaration... " >&6; }
65569 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
65570 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
65571 $as_echo_n "(cached) " >&6
65572 else
65575 ac_ext=cpp
65576 ac_cpp='$CXXCPP $CPPFLAGS'
65577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65582 /* end confdefs.h. */
65583 #include <math.h>
65584 #ifdef HAVE_IEEEFP_H
65585 #include <ieeefp.h>
65586 #endif
65589 main ()
65591 _isnan(0);
65593 return 0;
65595 _ACEOF
65596 if ac_fn_cxx_try_compile "$LINENO"; then :
65597 glibcxx_cv_func__isnan_use=yes
65598 else
65599 glibcxx_cv_func__isnan_use=no
65601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65602 ac_ext=c
65603 ac_cpp='$CPP $CPPFLAGS'
65604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
65613 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
65615 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
65616 for ac_func in _isnan
65617 do :
65618 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
65619 if test "x$ac_cv_func__isnan" = x""yes; then :
65620 cat >>confdefs.h <<_ACEOF
65621 #define HAVE__ISNAN 1
65622 _ACEOF
65625 done
65634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
65635 $as_echo_n "checking for finite declaration... " >&6; }
65636 if test x${glibcxx_cv_func_finite_use+set} != xset; then
65637 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
65638 $as_echo_n "(cached) " >&6
65639 else
65642 ac_ext=cpp
65643 ac_cpp='$CXXCPP $CPPFLAGS'
65644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65649 /* end confdefs.h. */
65650 #include <math.h>
65651 #ifdef HAVE_IEEEFP_H
65652 #include <ieeefp.h>
65653 #endif
65656 main ()
65658 finite(0);
65660 return 0;
65662 _ACEOF
65663 if ac_fn_cxx_try_compile "$LINENO"; then :
65664 glibcxx_cv_func_finite_use=yes
65665 else
65666 glibcxx_cv_func_finite_use=no
65668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65669 ac_ext=c
65670 ac_cpp='$CPP $CPPFLAGS'
65671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
65680 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
65682 if test x$glibcxx_cv_func_finite_use = x"yes"; then
65683 for ac_func in finite
65684 do :
65685 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
65686 if test "x$ac_cv_func_finite" = x""yes; then :
65687 cat >>confdefs.h <<_ACEOF
65688 #define HAVE_FINITE 1
65689 _ACEOF
65692 done
65694 else
65696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
65697 $as_echo_n "checking for _finite declaration... " >&6; }
65698 if test x${glibcxx_cv_func__finite_use+set} != xset; then
65699 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
65700 $as_echo_n "(cached) " >&6
65701 else
65704 ac_ext=cpp
65705 ac_cpp='$CXXCPP $CPPFLAGS'
65706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65711 /* end confdefs.h. */
65712 #include <math.h>
65713 #ifdef HAVE_IEEEFP_H
65714 #include <ieeefp.h>
65715 #endif
65718 main ()
65720 _finite(0);
65722 return 0;
65724 _ACEOF
65725 if ac_fn_cxx_try_compile "$LINENO"; then :
65726 glibcxx_cv_func__finite_use=yes
65727 else
65728 glibcxx_cv_func__finite_use=no
65730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65731 ac_ext=c
65732 ac_cpp='$CPP $CPPFLAGS'
65733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
65742 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
65744 if test x$glibcxx_cv_func__finite_use = x"yes"; then
65745 for ac_func in _finite
65746 do :
65747 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
65748 if test "x$ac_cv_func__finite" = x""yes; then :
65749 cat >>confdefs.h <<_ACEOF
65750 #define HAVE__FINITE 1
65751 _ACEOF
65754 done
65763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
65764 $as_echo_n "checking for sincos declaration... " >&6; }
65765 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
65766 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
65767 $as_echo_n "(cached) " >&6
65768 else
65771 ac_ext=cpp
65772 ac_cpp='$CXXCPP $CPPFLAGS'
65773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65778 /* end confdefs.h. */
65779 #include <math.h>
65781 main ()
65783 sincos(0, 0, 0);
65785 return 0;
65787 _ACEOF
65788 if ac_fn_cxx_try_compile "$LINENO"; then :
65789 glibcxx_cv_func_sincos_use=yes
65790 else
65791 glibcxx_cv_func_sincos_use=no
65793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65794 ac_ext=c
65795 ac_cpp='$CPP $CPPFLAGS'
65796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
65805 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
65807 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
65808 for ac_func in sincos
65809 do :
65810 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
65811 if test "x$ac_cv_func_sincos" = x""yes; then :
65812 cat >>confdefs.h <<_ACEOF
65813 #define HAVE_SINCOS 1
65814 _ACEOF
65817 done
65819 else
65821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
65822 $as_echo_n "checking for _sincos declaration... " >&6; }
65823 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
65824 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
65825 $as_echo_n "(cached) " >&6
65826 else
65829 ac_ext=cpp
65830 ac_cpp='$CXXCPP $CPPFLAGS'
65831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65836 /* end confdefs.h. */
65837 #include <math.h>
65839 main ()
65841 _sincos(0, 0, 0);
65843 return 0;
65845 _ACEOF
65846 if ac_fn_cxx_try_compile "$LINENO"; then :
65847 glibcxx_cv_func__sincos_use=yes
65848 else
65849 glibcxx_cv_func__sincos_use=no
65851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65852 ac_ext=c
65853 ac_cpp='$CPP $CPPFLAGS'
65854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
65863 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
65865 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
65866 for ac_func in _sincos
65867 do :
65868 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
65869 if test "x$ac_cv_func__sincos" = x""yes; then :
65870 cat >>confdefs.h <<_ACEOF
65871 #define HAVE__SINCOS 1
65872 _ACEOF
65875 done
65884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
65885 $as_echo_n "checking for fpclass declaration... " >&6; }
65886 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
65887 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
65888 $as_echo_n "(cached) " >&6
65889 else
65892 ac_ext=cpp
65893 ac_cpp='$CXXCPP $CPPFLAGS'
65894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65899 /* end confdefs.h. */
65900 #include <math.h>
65901 #ifdef HAVE_IEEEFP_H
65902 #include <ieeefp.h>
65903 #endif
65906 main ()
65908 fpclass(0);
65910 return 0;
65912 _ACEOF
65913 if ac_fn_cxx_try_compile "$LINENO"; then :
65914 glibcxx_cv_func_fpclass_use=yes
65915 else
65916 glibcxx_cv_func_fpclass_use=no
65918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65919 ac_ext=c
65920 ac_cpp='$CPP $CPPFLAGS'
65921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
65930 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
65932 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
65933 for ac_func in fpclass
65934 do :
65935 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
65936 if test "x$ac_cv_func_fpclass" = x""yes; then :
65937 cat >>confdefs.h <<_ACEOF
65938 #define HAVE_FPCLASS 1
65939 _ACEOF
65942 done
65944 else
65946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
65947 $as_echo_n "checking for _fpclass declaration... " >&6; }
65948 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
65949 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
65950 $as_echo_n "(cached) " >&6
65951 else
65954 ac_ext=cpp
65955 ac_cpp='$CXXCPP $CPPFLAGS'
65956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65961 /* end confdefs.h. */
65962 #include <math.h>
65963 #ifdef HAVE_IEEEFP_H
65964 #include <ieeefp.h>
65965 #endif
65968 main ()
65970 _fpclass(0);
65972 return 0;
65974 _ACEOF
65975 if ac_fn_cxx_try_compile "$LINENO"; then :
65976 glibcxx_cv_func__fpclass_use=yes
65977 else
65978 glibcxx_cv_func__fpclass_use=no
65980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65981 ac_ext=c
65982 ac_cpp='$CPP $CPPFLAGS'
65983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
65992 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
65994 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
65995 for ac_func in _fpclass
65996 do :
65997 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
65998 if test "x$ac_cv_func__fpclass" = x""yes; then :
65999 cat >>confdefs.h <<_ACEOF
66000 #define HAVE__FPCLASS 1
66001 _ACEOF
66004 done
66013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
66014 $as_echo_n "checking for qfpclass declaration... " >&6; }
66015 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
66016 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
66017 $as_echo_n "(cached) " >&6
66018 else
66021 ac_ext=cpp
66022 ac_cpp='$CXXCPP $CPPFLAGS'
66023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66028 /* end confdefs.h. */
66029 #include <math.h>
66030 #ifdef HAVE_IEEEFP_H
66031 #include <ieeefp.h>
66032 #endif
66035 main ()
66037 qfpclass(0);
66039 return 0;
66041 _ACEOF
66042 if ac_fn_cxx_try_compile "$LINENO"; then :
66043 glibcxx_cv_func_qfpclass_use=yes
66044 else
66045 glibcxx_cv_func_qfpclass_use=no
66047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66048 ac_ext=c
66049 ac_cpp='$CPP $CPPFLAGS'
66050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
66059 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
66061 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
66062 for ac_func in qfpclass
66063 do :
66064 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
66065 if test "x$ac_cv_func_qfpclass" = x""yes; then :
66066 cat >>confdefs.h <<_ACEOF
66067 #define HAVE_QFPCLASS 1
66068 _ACEOF
66071 done
66073 else
66075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
66076 $as_echo_n "checking for _qfpclass declaration... " >&6; }
66077 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
66078 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
66079 $as_echo_n "(cached) " >&6
66080 else
66083 ac_ext=cpp
66084 ac_cpp='$CXXCPP $CPPFLAGS'
66085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66090 /* end confdefs.h. */
66091 #include <math.h>
66092 #ifdef HAVE_IEEEFP_H
66093 #include <ieeefp.h>
66094 #endif
66097 main ()
66099 _qfpclass(0);
66101 return 0;
66103 _ACEOF
66104 if ac_fn_cxx_try_compile "$LINENO"; then :
66105 glibcxx_cv_func__qfpclass_use=yes
66106 else
66107 glibcxx_cv_func__qfpclass_use=no
66109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66110 ac_ext=c
66111 ac_cpp='$CPP $CPPFLAGS'
66112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
66121 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
66123 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
66124 for ac_func in _qfpclass
66125 do :
66126 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
66127 if test "x$ac_cv_func__qfpclass" = x""yes; then :
66128 cat >>confdefs.h <<_ACEOF
66129 #define HAVE__QFPCLASS 1
66130 _ACEOF
66133 done
66142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
66143 $as_echo_n "checking for hypot declaration... " >&6; }
66144 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
66145 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
66146 $as_echo_n "(cached) " >&6
66147 else
66150 ac_ext=cpp
66151 ac_cpp='$CXXCPP $CPPFLAGS'
66152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66157 /* end confdefs.h. */
66158 #include <math.h>
66160 main ()
66162 hypot(0, 0);
66164 return 0;
66166 _ACEOF
66167 if ac_fn_cxx_try_compile "$LINENO"; then :
66168 glibcxx_cv_func_hypot_use=yes
66169 else
66170 glibcxx_cv_func_hypot_use=no
66172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66173 ac_ext=c
66174 ac_cpp='$CPP $CPPFLAGS'
66175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
66184 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
66186 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
66187 for ac_func in hypot
66188 do :
66189 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
66190 if test "x$ac_cv_func_hypot" = x""yes; then :
66191 cat >>confdefs.h <<_ACEOF
66192 #define HAVE_HYPOT 1
66193 _ACEOF
66196 done
66198 else
66200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
66201 $as_echo_n "checking for _hypot declaration... " >&6; }
66202 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
66203 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
66204 $as_echo_n "(cached) " >&6
66205 else
66208 ac_ext=cpp
66209 ac_cpp='$CXXCPP $CPPFLAGS'
66210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66215 /* end confdefs.h. */
66216 #include <math.h>
66218 main ()
66220 _hypot(0, 0);
66222 return 0;
66224 _ACEOF
66225 if ac_fn_cxx_try_compile "$LINENO"; then :
66226 glibcxx_cv_func__hypot_use=yes
66227 else
66228 glibcxx_cv_func__hypot_use=no
66230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66231 ac_ext=c
66232 ac_cpp='$CPP $CPPFLAGS'
66233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
66242 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
66244 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
66245 for ac_func in _hypot
66246 do :
66247 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
66248 if test "x$ac_cv_func__hypot" = x""yes; then :
66249 cat >>confdefs.h <<_ACEOF
66250 #define HAVE__HYPOT 1
66251 _ACEOF
66254 done
66263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
66264 $as_echo_n "checking for float trig functions... " >&6; }
66265 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
66266 $as_echo_n "(cached) " >&6
66267 else
66270 ac_ext=cpp
66271 ac_cpp='$CXXCPP $CPPFLAGS'
66272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66277 /* end confdefs.h. */
66278 #include <math.h>
66280 main ()
66282 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
66284 return 0;
66286 _ACEOF
66287 if ac_fn_cxx_try_compile "$LINENO"; then :
66288 glibcxx_cv_func_float_trig_use=yes
66289 else
66290 glibcxx_cv_func_float_trig_use=no
66292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66293 ac_ext=c
66294 ac_cpp='$CPP $CPPFLAGS'
66295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
66302 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
66303 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
66304 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
66305 do :
66306 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66307 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66308 eval as_val=\$$as_ac_var
66309 if test "x$as_val" = x""yes; then :
66310 cat >>confdefs.h <<_ACEOF
66311 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66312 _ACEOF
66315 done
66317 else
66318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
66319 $as_echo_n "checking for _float trig functions... " >&6; }
66320 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
66321 $as_echo_n "(cached) " >&6
66322 else
66325 ac_ext=cpp
66326 ac_cpp='$CXXCPP $CPPFLAGS'
66327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66332 /* end confdefs.h. */
66333 #include <math.h>
66335 main ()
66337 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
66339 return 0;
66341 _ACEOF
66342 if ac_fn_cxx_try_compile "$LINENO"; then :
66343 glibcxx_cv_func__float_trig_use=yes
66344 else
66345 glibcxx_cv_func__float_trig_use=no
66347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66348 ac_ext=c
66349 ac_cpp='$CPP $CPPFLAGS'
66350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
66357 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
66358 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
66359 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
66360 do :
66361 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66362 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66363 eval as_val=\$$as_ac_var
66364 if test "x$as_val" = x""yes; then :
66365 cat >>confdefs.h <<_ACEOF
66366 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66367 _ACEOF
66370 done
66379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
66380 $as_echo_n "checking for float round functions... " >&6; }
66381 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
66382 $as_echo_n "(cached) " >&6
66383 else
66386 ac_ext=cpp
66387 ac_cpp='$CXXCPP $CPPFLAGS'
66388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66393 /* end confdefs.h. */
66394 #include <math.h>
66396 main ()
66398 ceilf (0); floorf (0);
66400 return 0;
66402 _ACEOF
66403 if ac_fn_cxx_try_compile "$LINENO"; then :
66404 glibcxx_cv_func_float_round_use=yes
66405 else
66406 glibcxx_cv_func_float_round_use=no
66408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66409 ac_ext=c
66410 ac_cpp='$CPP $CPPFLAGS'
66411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
66418 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
66419 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
66420 for ac_func in ceilf floorf
66421 do :
66422 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66423 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66424 eval as_val=\$$as_ac_var
66425 if test "x$as_val" = x""yes; then :
66426 cat >>confdefs.h <<_ACEOF
66427 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66428 _ACEOF
66431 done
66433 else
66434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
66435 $as_echo_n "checking for _float round functions... " >&6; }
66436 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
66437 $as_echo_n "(cached) " >&6
66438 else
66441 ac_ext=cpp
66442 ac_cpp='$CXXCPP $CPPFLAGS'
66443 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66444 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66445 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66448 /* end confdefs.h. */
66449 #include <math.h>
66451 main ()
66453 _ceilf (0); _floorf (0);
66455 return 0;
66457 _ACEOF
66458 if ac_fn_cxx_try_compile "$LINENO"; then :
66459 glibcxx_cv_func__float_round_use=yes
66460 else
66461 glibcxx_cv_func__float_round_use=no
66463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66464 ac_ext=c
66465 ac_cpp='$CPP $CPPFLAGS'
66466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
66473 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
66474 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
66475 for ac_func in _ceilf _floorf
66476 do :
66477 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66478 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66479 eval as_val=\$$as_ac_var
66480 if test "x$as_val" = x""yes; then :
66481 cat >>confdefs.h <<_ACEOF
66482 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66483 _ACEOF
66486 done
66496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
66497 $as_echo_n "checking for expf declaration... " >&6; }
66498 if test x${glibcxx_cv_func_expf_use+set} != xset; then
66499 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
66500 $as_echo_n "(cached) " >&6
66501 else
66504 ac_ext=cpp
66505 ac_cpp='$CXXCPP $CPPFLAGS'
66506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66511 /* end confdefs.h. */
66512 #include <math.h>
66513 #ifdef HAVE_IEEEFP_H
66514 #include <ieeefp.h>
66515 #endif
66518 main ()
66520 expf(0);
66522 return 0;
66524 _ACEOF
66525 if ac_fn_cxx_try_compile "$LINENO"; then :
66526 glibcxx_cv_func_expf_use=yes
66527 else
66528 glibcxx_cv_func_expf_use=no
66530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66531 ac_ext=c
66532 ac_cpp='$CPP $CPPFLAGS'
66533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
66542 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
66544 if test x$glibcxx_cv_func_expf_use = x"yes"; then
66545 for ac_func in expf
66546 do :
66547 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
66548 if test "x$ac_cv_func_expf" = x""yes; then :
66549 cat >>confdefs.h <<_ACEOF
66550 #define HAVE_EXPF 1
66551 _ACEOF
66554 done
66556 else
66558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
66559 $as_echo_n "checking for _expf declaration... " >&6; }
66560 if test x${glibcxx_cv_func__expf_use+set} != xset; then
66561 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
66562 $as_echo_n "(cached) " >&6
66563 else
66566 ac_ext=cpp
66567 ac_cpp='$CXXCPP $CPPFLAGS'
66568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66573 /* end confdefs.h. */
66574 #include <math.h>
66575 #ifdef HAVE_IEEEFP_H
66576 #include <ieeefp.h>
66577 #endif
66580 main ()
66582 _expf(0);
66584 return 0;
66586 _ACEOF
66587 if ac_fn_cxx_try_compile "$LINENO"; then :
66588 glibcxx_cv_func__expf_use=yes
66589 else
66590 glibcxx_cv_func__expf_use=no
66592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66593 ac_ext=c
66594 ac_cpp='$CPP $CPPFLAGS'
66595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
66604 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
66606 if test x$glibcxx_cv_func__expf_use = x"yes"; then
66607 for ac_func in _expf
66608 do :
66609 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
66610 if test "x$ac_cv_func__expf" = x""yes; then :
66611 cat >>confdefs.h <<_ACEOF
66612 #define HAVE__EXPF 1
66613 _ACEOF
66616 done
66625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
66626 $as_echo_n "checking for isnanf declaration... " >&6; }
66627 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
66628 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
66629 $as_echo_n "(cached) " >&6
66630 else
66633 ac_ext=cpp
66634 ac_cpp='$CXXCPP $CPPFLAGS'
66635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66640 /* end confdefs.h. */
66641 #include <math.h>
66642 #ifdef HAVE_IEEEFP_H
66643 #include <ieeefp.h>
66644 #endif
66647 main ()
66649 isnanf(0);
66651 return 0;
66653 _ACEOF
66654 if ac_fn_cxx_try_compile "$LINENO"; then :
66655 glibcxx_cv_func_isnanf_use=yes
66656 else
66657 glibcxx_cv_func_isnanf_use=no
66659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66660 ac_ext=c
66661 ac_cpp='$CPP $CPPFLAGS'
66662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
66671 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
66673 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
66674 for ac_func in isnanf
66675 do :
66676 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
66677 if test "x$ac_cv_func_isnanf" = x""yes; then :
66678 cat >>confdefs.h <<_ACEOF
66679 #define HAVE_ISNANF 1
66680 _ACEOF
66683 done
66685 else
66687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
66688 $as_echo_n "checking for _isnanf declaration... " >&6; }
66689 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
66690 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
66691 $as_echo_n "(cached) " >&6
66692 else
66695 ac_ext=cpp
66696 ac_cpp='$CXXCPP $CPPFLAGS'
66697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66702 /* end confdefs.h. */
66703 #include <math.h>
66704 #ifdef HAVE_IEEEFP_H
66705 #include <ieeefp.h>
66706 #endif
66709 main ()
66711 _isnanf(0);
66713 return 0;
66715 _ACEOF
66716 if ac_fn_cxx_try_compile "$LINENO"; then :
66717 glibcxx_cv_func__isnanf_use=yes
66718 else
66719 glibcxx_cv_func__isnanf_use=no
66721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66722 ac_ext=c
66723 ac_cpp='$CPP $CPPFLAGS'
66724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
66733 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
66735 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
66736 for ac_func in _isnanf
66737 do :
66738 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
66739 if test "x$ac_cv_func__isnanf" = x""yes; then :
66740 cat >>confdefs.h <<_ACEOF
66741 #define HAVE__ISNANF 1
66742 _ACEOF
66745 done
66754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
66755 $as_echo_n "checking for isinff declaration... " >&6; }
66756 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
66757 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
66758 $as_echo_n "(cached) " >&6
66759 else
66762 ac_ext=cpp
66763 ac_cpp='$CXXCPP $CPPFLAGS'
66764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66769 /* end confdefs.h. */
66770 #include <math.h>
66771 #ifdef HAVE_IEEEFP_H
66772 #include <ieeefp.h>
66773 #endif
66776 main ()
66778 isinff(0);
66780 return 0;
66782 _ACEOF
66783 if ac_fn_cxx_try_compile "$LINENO"; then :
66784 glibcxx_cv_func_isinff_use=yes
66785 else
66786 glibcxx_cv_func_isinff_use=no
66788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66789 ac_ext=c
66790 ac_cpp='$CPP $CPPFLAGS'
66791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
66800 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
66802 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
66803 for ac_func in isinff
66804 do :
66805 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
66806 if test "x$ac_cv_func_isinff" = x""yes; then :
66807 cat >>confdefs.h <<_ACEOF
66808 #define HAVE_ISINFF 1
66809 _ACEOF
66812 done
66814 else
66816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
66817 $as_echo_n "checking for _isinff declaration... " >&6; }
66818 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
66819 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
66820 $as_echo_n "(cached) " >&6
66821 else
66824 ac_ext=cpp
66825 ac_cpp='$CXXCPP $CPPFLAGS'
66826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66831 /* end confdefs.h. */
66832 #include <math.h>
66833 #ifdef HAVE_IEEEFP_H
66834 #include <ieeefp.h>
66835 #endif
66838 main ()
66840 _isinff(0);
66842 return 0;
66844 _ACEOF
66845 if ac_fn_cxx_try_compile "$LINENO"; then :
66846 glibcxx_cv_func__isinff_use=yes
66847 else
66848 glibcxx_cv_func__isinff_use=no
66850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66851 ac_ext=c
66852 ac_cpp='$CPP $CPPFLAGS'
66853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
66862 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
66864 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
66865 for ac_func in _isinff
66866 do :
66867 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
66868 if test "x$ac_cv_func__isinff" = x""yes; then :
66869 cat >>confdefs.h <<_ACEOF
66870 #define HAVE__ISINFF 1
66871 _ACEOF
66874 done
66883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
66884 $as_echo_n "checking for atan2f declaration... " >&6; }
66885 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
66886 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
66887 $as_echo_n "(cached) " >&6
66888 else
66891 ac_ext=cpp
66892 ac_cpp='$CXXCPP $CPPFLAGS'
66893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66898 /* end confdefs.h. */
66899 #include <math.h>
66901 main ()
66903 atan2f(0, 0);
66905 return 0;
66907 _ACEOF
66908 if ac_fn_cxx_try_compile "$LINENO"; then :
66909 glibcxx_cv_func_atan2f_use=yes
66910 else
66911 glibcxx_cv_func_atan2f_use=no
66913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66914 ac_ext=c
66915 ac_cpp='$CPP $CPPFLAGS'
66916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
66925 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
66927 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
66928 for ac_func in atan2f
66929 do :
66930 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
66931 if test "x$ac_cv_func_atan2f" = x""yes; then :
66932 cat >>confdefs.h <<_ACEOF
66933 #define HAVE_ATAN2F 1
66934 _ACEOF
66937 done
66939 else
66941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
66942 $as_echo_n "checking for _atan2f declaration... " >&6; }
66943 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
66944 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
66945 $as_echo_n "(cached) " >&6
66946 else
66949 ac_ext=cpp
66950 ac_cpp='$CXXCPP $CPPFLAGS'
66951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66956 /* end confdefs.h. */
66957 #include <math.h>
66959 main ()
66961 _atan2f(0, 0);
66963 return 0;
66965 _ACEOF
66966 if ac_fn_cxx_try_compile "$LINENO"; then :
66967 glibcxx_cv_func__atan2f_use=yes
66968 else
66969 glibcxx_cv_func__atan2f_use=no
66971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66972 ac_ext=c
66973 ac_cpp='$CPP $CPPFLAGS'
66974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
66983 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
66985 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
66986 for ac_func in _atan2f
66987 do :
66988 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
66989 if test "x$ac_cv_func__atan2f" = x""yes; then :
66990 cat >>confdefs.h <<_ACEOF
66991 #define HAVE__ATAN2F 1
66992 _ACEOF
66995 done
67004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
67005 $as_echo_n "checking for fabsf declaration... " >&6; }
67006 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
67007 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
67008 $as_echo_n "(cached) " >&6
67009 else
67012 ac_ext=cpp
67013 ac_cpp='$CXXCPP $CPPFLAGS'
67014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67019 /* end confdefs.h. */
67020 #include <math.h>
67021 #ifdef HAVE_IEEEFP_H
67022 #include <ieeefp.h>
67023 #endif
67026 main ()
67028 fabsf(0);
67030 return 0;
67032 _ACEOF
67033 if ac_fn_cxx_try_compile "$LINENO"; then :
67034 glibcxx_cv_func_fabsf_use=yes
67035 else
67036 glibcxx_cv_func_fabsf_use=no
67038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67039 ac_ext=c
67040 ac_cpp='$CPP $CPPFLAGS'
67041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
67050 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
67052 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
67053 for ac_func in fabsf
67054 do :
67055 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
67056 if test "x$ac_cv_func_fabsf" = x""yes; then :
67057 cat >>confdefs.h <<_ACEOF
67058 #define HAVE_FABSF 1
67059 _ACEOF
67062 done
67064 else
67066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
67067 $as_echo_n "checking for _fabsf declaration... " >&6; }
67068 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
67069 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
67070 $as_echo_n "(cached) " >&6
67071 else
67074 ac_ext=cpp
67075 ac_cpp='$CXXCPP $CPPFLAGS'
67076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67081 /* end confdefs.h. */
67082 #include <math.h>
67083 #ifdef HAVE_IEEEFP_H
67084 #include <ieeefp.h>
67085 #endif
67088 main ()
67090 _fabsf(0);
67092 return 0;
67094 _ACEOF
67095 if ac_fn_cxx_try_compile "$LINENO"; then :
67096 glibcxx_cv_func__fabsf_use=yes
67097 else
67098 glibcxx_cv_func__fabsf_use=no
67100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67101 ac_ext=c
67102 ac_cpp='$CPP $CPPFLAGS'
67103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
67112 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
67114 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
67115 for ac_func in _fabsf
67116 do :
67117 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
67118 if test "x$ac_cv_func__fabsf" = x""yes; then :
67119 cat >>confdefs.h <<_ACEOF
67120 #define HAVE__FABSF 1
67121 _ACEOF
67124 done
67133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
67134 $as_echo_n "checking for fmodf declaration... " >&6; }
67135 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
67136 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
67137 $as_echo_n "(cached) " >&6
67138 else
67141 ac_ext=cpp
67142 ac_cpp='$CXXCPP $CPPFLAGS'
67143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67148 /* end confdefs.h. */
67149 #include <math.h>
67151 main ()
67153 fmodf(0, 0);
67155 return 0;
67157 _ACEOF
67158 if ac_fn_cxx_try_compile "$LINENO"; then :
67159 glibcxx_cv_func_fmodf_use=yes
67160 else
67161 glibcxx_cv_func_fmodf_use=no
67163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67164 ac_ext=c
67165 ac_cpp='$CPP $CPPFLAGS'
67166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
67175 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
67177 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
67178 for ac_func in fmodf
67179 do :
67180 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
67181 if test "x$ac_cv_func_fmodf" = x""yes; then :
67182 cat >>confdefs.h <<_ACEOF
67183 #define HAVE_FMODF 1
67184 _ACEOF
67187 done
67189 else
67191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
67192 $as_echo_n "checking for _fmodf declaration... " >&6; }
67193 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
67194 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
67195 $as_echo_n "(cached) " >&6
67196 else
67199 ac_ext=cpp
67200 ac_cpp='$CXXCPP $CPPFLAGS'
67201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67206 /* end confdefs.h. */
67207 #include <math.h>
67209 main ()
67211 _fmodf(0, 0);
67213 return 0;
67215 _ACEOF
67216 if ac_fn_cxx_try_compile "$LINENO"; then :
67217 glibcxx_cv_func__fmodf_use=yes
67218 else
67219 glibcxx_cv_func__fmodf_use=no
67221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67222 ac_ext=c
67223 ac_cpp='$CPP $CPPFLAGS'
67224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
67233 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
67235 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
67236 for ac_func in _fmodf
67237 do :
67238 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
67239 if test "x$ac_cv_func__fmodf" = x""yes; then :
67240 cat >>confdefs.h <<_ACEOF
67241 #define HAVE__FMODF 1
67242 _ACEOF
67245 done
67254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
67255 $as_echo_n "checking for frexpf declaration... " >&6; }
67256 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
67257 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
67258 $as_echo_n "(cached) " >&6
67259 else
67262 ac_ext=cpp
67263 ac_cpp='$CXXCPP $CPPFLAGS'
67264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67269 /* end confdefs.h. */
67270 #include <math.h>
67272 main ()
67274 frexpf(0, 0);
67276 return 0;
67278 _ACEOF
67279 if ac_fn_cxx_try_compile "$LINENO"; then :
67280 glibcxx_cv_func_frexpf_use=yes
67281 else
67282 glibcxx_cv_func_frexpf_use=no
67284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67285 ac_ext=c
67286 ac_cpp='$CPP $CPPFLAGS'
67287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
67296 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
67298 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
67299 for ac_func in frexpf
67300 do :
67301 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
67302 if test "x$ac_cv_func_frexpf" = x""yes; then :
67303 cat >>confdefs.h <<_ACEOF
67304 #define HAVE_FREXPF 1
67305 _ACEOF
67308 done
67310 else
67312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
67313 $as_echo_n "checking for _frexpf declaration... " >&6; }
67314 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
67315 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
67316 $as_echo_n "(cached) " >&6
67317 else
67320 ac_ext=cpp
67321 ac_cpp='$CXXCPP $CPPFLAGS'
67322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67327 /* end confdefs.h. */
67328 #include <math.h>
67330 main ()
67332 _frexpf(0, 0);
67334 return 0;
67336 _ACEOF
67337 if ac_fn_cxx_try_compile "$LINENO"; then :
67338 glibcxx_cv_func__frexpf_use=yes
67339 else
67340 glibcxx_cv_func__frexpf_use=no
67342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67343 ac_ext=c
67344 ac_cpp='$CPP $CPPFLAGS'
67345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
67354 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
67356 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
67357 for ac_func in _frexpf
67358 do :
67359 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
67360 if test "x$ac_cv_func__frexpf" = x""yes; then :
67361 cat >>confdefs.h <<_ACEOF
67362 #define HAVE__FREXPF 1
67363 _ACEOF
67366 done
67375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
67376 $as_echo_n "checking for hypotf declaration... " >&6; }
67377 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
67378 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
67379 $as_echo_n "(cached) " >&6
67380 else
67383 ac_ext=cpp
67384 ac_cpp='$CXXCPP $CPPFLAGS'
67385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67390 /* end confdefs.h. */
67391 #include <math.h>
67393 main ()
67395 hypotf(0, 0);
67397 return 0;
67399 _ACEOF
67400 if ac_fn_cxx_try_compile "$LINENO"; then :
67401 glibcxx_cv_func_hypotf_use=yes
67402 else
67403 glibcxx_cv_func_hypotf_use=no
67405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67406 ac_ext=c
67407 ac_cpp='$CPP $CPPFLAGS'
67408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
67417 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
67419 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
67420 for ac_func in hypotf
67421 do :
67422 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
67423 if test "x$ac_cv_func_hypotf" = x""yes; then :
67424 cat >>confdefs.h <<_ACEOF
67425 #define HAVE_HYPOTF 1
67426 _ACEOF
67429 done
67431 else
67433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
67434 $as_echo_n "checking for _hypotf declaration... " >&6; }
67435 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
67436 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
67437 $as_echo_n "(cached) " >&6
67438 else
67441 ac_ext=cpp
67442 ac_cpp='$CXXCPP $CPPFLAGS'
67443 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67444 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67445 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67448 /* end confdefs.h. */
67449 #include <math.h>
67451 main ()
67453 _hypotf(0, 0);
67455 return 0;
67457 _ACEOF
67458 if ac_fn_cxx_try_compile "$LINENO"; then :
67459 glibcxx_cv_func__hypotf_use=yes
67460 else
67461 glibcxx_cv_func__hypotf_use=no
67463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67464 ac_ext=c
67465 ac_cpp='$CPP $CPPFLAGS'
67466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
67475 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
67477 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
67478 for ac_func in _hypotf
67479 do :
67480 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
67481 if test "x$ac_cv_func__hypotf" = x""yes; then :
67482 cat >>confdefs.h <<_ACEOF
67483 #define HAVE__HYPOTF 1
67484 _ACEOF
67487 done
67496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
67497 $as_echo_n "checking for ldexpf declaration... " >&6; }
67498 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
67499 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
67500 $as_echo_n "(cached) " >&6
67501 else
67504 ac_ext=cpp
67505 ac_cpp='$CXXCPP $CPPFLAGS'
67506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67511 /* end confdefs.h. */
67512 #include <math.h>
67514 main ()
67516 ldexpf(0, 0);
67518 return 0;
67520 _ACEOF
67521 if ac_fn_cxx_try_compile "$LINENO"; then :
67522 glibcxx_cv_func_ldexpf_use=yes
67523 else
67524 glibcxx_cv_func_ldexpf_use=no
67526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67527 ac_ext=c
67528 ac_cpp='$CPP $CPPFLAGS'
67529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
67538 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
67540 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
67541 for ac_func in ldexpf
67542 do :
67543 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
67544 if test "x$ac_cv_func_ldexpf" = x""yes; then :
67545 cat >>confdefs.h <<_ACEOF
67546 #define HAVE_LDEXPF 1
67547 _ACEOF
67550 done
67552 else
67554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
67555 $as_echo_n "checking for _ldexpf declaration... " >&6; }
67556 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
67557 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
67558 $as_echo_n "(cached) " >&6
67559 else
67562 ac_ext=cpp
67563 ac_cpp='$CXXCPP $CPPFLAGS'
67564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67569 /* end confdefs.h. */
67570 #include <math.h>
67572 main ()
67574 _ldexpf(0, 0);
67576 return 0;
67578 _ACEOF
67579 if ac_fn_cxx_try_compile "$LINENO"; then :
67580 glibcxx_cv_func__ldexpf_use=yes
67581 else
67582 glibcxx_cv_func__ldexpf_use=no
67584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67585 ac_ext=c
67586 ac_cpp='$CPP $CPPFLAGS'
67587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
67596 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
67598 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
67599 for ac_func in _ldexpf
67600 do :
67601 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
67602 if test "x$ac_cv_func__ldexpf" = x""yes; then :
67603 cat >>confdefs.h <<_ACEOF
67604 #define HAVE__LDEXPF 1
67605 _ACEOF
67608 done
67617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
67618 $as_echo_n "checking for logf declaration... " >&6; }
67619 if test x${glibcxx_cv_func_logf_use+set} != xset; then
67620 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
67621 $as_echo_n "(cached) " >&6
67622 else
67625 ac_ext=cpp
67626 ac_cpp='$CXXCPP $CPPFLAGS'
67627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67632 /* end confdefs.h. */
67633 #include <math.h>
67634 #ifdef HAVE_IEEEFP_H
67635 #include <ieeefp.h>
67636 #endif
67639 main ()
67641 logf(0);
67643 return 0;
67645 _ACEOF
67646 if ac_fn_cxx_try_compile "$LINENO"; then :
67647 glibcxx_cv_func_logf_use=yes
67648 else
67649 glibcxx_cv_func_logf_use=no
67651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67652 ac_ext=c
67653 ac_cpp='$CPP $CPPFLAGS'
67654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
67663 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
67665 if test x$glibcxx_cv_func_logf_use = x"yes"; then
67666 for ac_func in logf
67667 do :
67668 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
67669 if test "x$ac_cv_func_logf" = x""yes; then :
67670 cat >>confdefs.h <<_ACEOF
67671 #define HAVE_LOGF 1
67672 _ACEOF
67675 done
67677 else
67679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
67680 $as_echo_n "checking for _logf declaration... " >&6; }
67681 if test x${glibcxx_cv_func__logf_use+set} != xset; then
67682 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
67683 $as_echo_n "(cached) " >&6
67684 else
67687 ac_ext=cpp
67688 ac_cpp='$CXXCPP $CPPFLAGS'
67689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67694 /* end confdefs.h. */
67695 #include <math.h>
67696 #ifdef HAVE_IEEEFP_H
67697 #include <ieeefp.h>
67698 #endif
67701 main ()
67703 _logf(0);
67705 return 0;
67707 _ACEOF
67708 if ac_fn_cxx_try_compile "$LINENO"; then :
67709 glibcxx_cv_func__logf_use=yes
67710 else
67711 glibcxx_cv_func__logf_use=no
67713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67714 ac_ext=c
67715 ac_cpp='$CPP $CPPFLAGS'
67716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
67725 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
67727 if test x$glibcxx_cv_func__logf_use = x"yes"; then
67728 for ac_func in _logf
67729 do :
67730 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
67731 if test "x$ac_cv_func__logf" = x""yes; then :
67732 cat >>confdefs.h <<_ACEOF
67733 #define HAVE__LOGF 1
67734 _ACEOF
67737 done
67746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
67747 $as_echo_n "checking for log10f declaration... " >&6; }
67748 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
67749 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
67750 $as_echo_n "(cached) " >&6
67751 else
67754 ac_ext=cpp
67755 ac_cpp='$CXXCPP $CPPFLAGS'
67756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67761 /* end confdefs.h. */
67762 #include <math.h>
67763 #ifdef HAVE_IEEEFP_H
67764 #include <ieeefp.h>
67765 #endif
67768 main ()
67770 log10f(0);
67772 return 0;
67774 _ACEOF
67775 if ac_fn_cxx_try_compile "$LINENO"; then :
67776 glibcxx_cv_func_log10f_use=yes
67777 else
67778 glibcxx_cv_func_log10f_use=no
67780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67781 ac_ext=c
67782 ac_cpp='$CPP $CPPFLAGS'
67783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
67792 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
67794 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
67795 for ac_func in log10f
67796 do :
67797 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
67798 if test "x$ac_cv_func_log10f" = x""yes; then :
67799 cat >>confdefs.h <<_ACEOF
67800 #define HAVE_LOG10F 1
67801 _ACEOF
67804 done
67806 else
67808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
67809 $as_echo_n "checking for _log10f declaration... " >&6; }
67810 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
67811 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
67812 $as_echo_n "(cached) " >&6
67813 else
67816 ac_ext=cpp
67817 ac_cpp='$CXXCPP $CPPFLAGS'
67818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67823 /* end confdefs.h. */
67824 #include <math.h>
67825 #ifdef HAVE_IEEEFP_H
67826 #include <ieeefp.h>
67827 #endif
67830 main ()
67832 _log10f(0);
67834 return 0;
67836 _ACEOF
67837 if ac_fn_cxx_try_compile "$LINENO"; then :
67838 glibcxx_cv_func__log10f_use=yes
67839 else
67840 glibcxx_cv_func__log10f_use=no
67842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67843 ac_ext=c
67844 ac_cpp='$CPP $CPPFLAGS'
67845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
67854 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
67856 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
67857 for ac_func in _log10f
67858 do :
67859 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
67860 if test "x$ac_cv_func__log10f" = x""yes; then :
67861 cat >>confdefs.h <<_ACEOF
67862 #define HAVE__LOG10F 1
67863 _ACEOF
67866 done
67875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
67876 $as_echo_n "checking for modff declaration... " >&6; }
67877 if test x${glibcxx_cv_func_modff_use+set} != xset; then
67878 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
67879 $as_echo_n "(cached) " >&6
67880 else
67883 ac_ext=cpp
67884 ac_cpp='$CXXCPP $CPPFLAGS'
67885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67890 /* end confdefs.h. */
67891 #include <math.h>
67893 main ()
67895 modff(0, 0);
67897 return 0;
67899 _ACEOF
67900 if ac_fn_cxx_try_compile "$LINENO"; then :
67901 glibcxx_cv_func_modff_use=yes
67902 else
67903 glibcxx_cv_func_modff_use=no
67905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67906 ac_ext=c
67907 ac_cpp='$CPP $CPPFLAGS'
67908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
67917 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
67919 if test x$glibcxx_cv_func_modff_use = x"yes"; then
67920 for ac_func in modff
67921 do :
67922 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
67923 if test "x$ac_cv_func_modff" = x""yes; then :
67924 cat >>confdefs.h <<_ACEOF
67925 #define HAVE_MODFF 1
67926 _ACEOF
67929 done
67931 else
67933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
67934 $as_echo_n "checking for _modff declaration... " >&6; }
67935 if test x${glibcxx_cv_func__modff_use+set} != xset; then
67936 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
67937 $as_echo_n "(cached) " >&6
67938 else
67941 ac_ext=cpp
67942 ac_cpp='$CXXCPP $CPPFLAGS'
67943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67948 /* end confdefs.h. */
67949 #include <math.h>
67951 main ()
67953 _modff(0, 0);
67955 return 0;
67957 _ACEOF
67958 if ac_fn_cxx_try_compile "$LINENO"; then :
67959 glibcxx_cv_func__modff_use=yes
67960 else
67961 glibcxx_cv_func__modff_use=no
67963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67964 ac_ext=c
67965 ac_cpp='$CPP $CPPFLAGS'
67966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
67975 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
67977 if test x$glibcxx_cv_func__modff_use = x"yes"; then
67978 for ac_func in _modff
67979 do :
67980 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
67981 if test "x$ac_cv_func__modff" = x""yes; then :
67982 cat >>confdefs.h <<_ACEOF
67983 #define HAVE__MODFF 1
67984 _ACEOF
67987 done
67996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
67997 $as_echo_n "checking for modf declaration... " >&6; }
67998 if test x${glibcxx_cv_func_modf_use+set} != xset; then
67999 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
68000 $as_echo_n "(cached) " >&6
68001 else
68004 ac_ext=cpp
68005 ac_cpp='$CXXCPP $CPPFLAGS'
68006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68011 /* end confdefs.h. */
68012 #include <math.h>
68014 main ()
68016 modf(0, 0);
68018 return 0;
68020 _ACEOF
68021 if ac_fn_cxx_try_compile "$LINENO"; then :
68022 glibcxx_cv_func_modf_use=yes
68023 else
68024 glibcxx_cv_func_modf_use=no
68026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68027 ac_ext=c
68028 ac_cpp='$CPP $CPPFLAGS'
68029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
68038 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
68040 if test x$glibcxx_cv_func_modf_use = x"yes"; then
68041 for ac_func in modf
68042 do :
68043 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
68044 if test "x$ac_cv_func_modf" = x""yes; then :
68045 cat >>confdefs.h <<_ACEOF
68046 #define HAVE_MODF 1
68047 _ACEOF
68050 done
68052 else
68054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
68055 $as_echo_n "checking for _modf declaration... " >&6; }
68056 if test x${glibcxx_cv_func__modf_use+set} != xset; then
68057 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
68058 $as_echo_n "(cached) " >&6
68059 else
68062 ac_ext=cpp
68063 ac_cpp='$CXXCPP $CPPFLAGS'
68064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68069 /* end confdefs.h. */
68070 #include <math.h>
68072 main ()
68074 _modf(0, 0);
68076 return 0;
68078 _ACEOF
68079 if ac_fn_cxx_try_compile "$LINENO"; then :
68080 glibcxx_cv_func__modf_use=yes
68081 else
68082 glibcxx_cv_func__modf_use=no
68084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68085 ac_ext=c
68086 ac_cpp='$CPP $CPPFLAGS'
68087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
68096 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
68098 if test x$glibcxx_cv_func__modf_use = x"yes"; then
68099 for ac_func in _modf
68100 do :
68101 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
68102 if test "x$ac_cv_func__modf" = x""yes; then :
68103 cat >>confdefs.h <<_ACEOF
68104 #define HAVE__MODF 1
68105 _ACEOF
68108 done
68117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
68118 $as_echo_n "checking for powf declaration... " >&6; }
68119 if test x${glibcxx_cv_func_powf_use+set} != xset; then
68120 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
68121 $as_echo_n "(cached) " >&6
68122 else
68125 ac_ext=cpp
68126 ac_cpp='$CXXCPP $CPPFLAGS'
68127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68132 /* end confdefs.h. */
68133 #include <math.h>
68135 main ()
68137 powf(0, 0);
68139 return 0;
68141 _ACEOF
68142 if ac_fn_cxx_try_compile "$LINENO"; then :
68143 glibcxx_cv_func_powf_use=yes
68144 else
68145 glibcxx_cv_func_powf_use=no
68147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68148 ac_ext=c
68149 ac_cpp='$CPP $CPPFLAGS'
68150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
68159 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
68161 if test x$glibcxx_cv_func_powf_use = x"yes"; then
68162 for ac_func in powf
68163 do :
68164 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
68165 if test "x$ac_cv_func_powf" = x""yes; then :
68166 cat >>confdefs.h <<_ACEOF
68167 #define HAVE_POWF 1
68168 _ACEOF
68171 done
68173 else
68175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
68176 $as_echo_n "checking for _powf declaration... " >&6; }
68177 if test x${glibcxx_cv_func__powf_use+set} != xset; then
68178 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
68179 $as_echo_n "(cached) " >&6
68180 else
68183 ac_ext=cpp
68184 ac_cpp='$CXXCPP $CPPFLAGS'
68185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68190 /* end confdefs.h. */
68191 #include <math.h>
68193 main ()
68195 _powf(0, 0);
68197 return 0;
68199 _ACEOF
68200 if ac_fn_cxx_try_compile "$LINENO"; then :
68201 glibcxx_cv_func__powf_use=yes
68202 else
68203 glibcxx_cv_func__powf_use=no
68205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68206 ac_ext=c
68207 ac_cpp='$CPP $CPPFLAGS'
68208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
68217 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
68219 if test x$glibcxx_cv_func__powf_use = x"yes"; then
68220 for ac_func in _powf
68221 do :
68222 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
68223 if test "x$ac_cv_func__powf" = x""yes; then :
68224 cat >>confdefs.h <<_ACEOF
68225 #define HAVE__POWF 1
68226 _ACEOF
68229 done
68238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
68239 $as_echo_n "checking for sqrtf declaration... " >&6; }
68240 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
68241 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
68242 $as_echo_n "(cached) " >&6
68243 else
68246 ac_ext=cpp
68247 ac_cpp='$CXXCPP $CPPFLAGS'
68248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68253 /* end confdefs.h. */
68254 #include <math.h>
68255 #ifdef HAVE_IEEEFP_H
68256 #include <ieeefp.h>
68257 #endif
68260 main ()
68262 sqrtf(0);
68264 return 0;
68266 _ACEOF
68267 if ac_fn_cxx_try_compile "$LINENO"; then :
68268 glibcxx_cv_func_sqrtf_use=yes
68269 else
68270 glibcxx_cv_func_sqrtf_use=no
68272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68273 ac_ext=c
68274 ac_cpp='$CPP $CPPFLAGS'
68275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
68284 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
68286 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
68287 for ac_func in sqrtf
68288 do :
68289 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
68290 if test "x$ac_cv_func_sqrtf" = x""yes; then :
68291 cat >>confdefs.h <<_ACEOF
68292 #define HAVE_SQRTF 1
68293 _ACEOF
68296 done
68298 else
68300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
68301 $as_echo_n "checking for _sqrtf declaration... " >&6; }
68302 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
68303 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
68304 $as_echo_n "(cached) " >&6
68305 else
68308 ac_ext=cpp
68309 ac_cpp='$CXXCPP $CPPFLAGS'
68310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68315 /* end confdefs.h. */
68316 #include <math.h>
68317 #ifdef HAVE_IEEEFP_H
68318 #include <ieeefp.h>
68319 #endif
68322 main ()
68324 _sqrtf(0);
68326 return 0;
68328 _ACEOF
68329 if ac_fn_cxx_try_compile "$LINENO"; then :
68330 glibcxx_cv_func__sqrtf_use=yes
68331 else
68332 glibcxx_cv_func__sqrtf_use=no
68334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68335 ac_ext=c
68336 ac_cpp='$CPP $CPPFLAGS'
68337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
68346 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
68348 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
68349 for ac_func in _sqrtf
68350 do :
68351 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
68352 if test "x$ac_cv_func__sqrtf" = x""yes; then :
68353 cat >>confdefs.h <<_ACEOF
68354 #define HAVE__SQRTF 1
68355 _ACEOF
68358 done
68367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
68368 $as_echo_n "checking for sincosf declaration... " >&6; }
68369 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
68370 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
68371 $as_echo_n "(cached) " >&6
68372 else
68375 ac_ext=cpp
68376 ac_cpp='$CXXCPP $CPPFLAGS'
68377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68382 /* end confdefs.h. */
68383 #include <math.h>
68385 main ()
68387 sincosf(0, 0, 0);
68389 return 0;
68391 _ACEOF
68392 if ac_fn_cxx_try_compile "$LINENO"; then :
68393 glibcxx_cv_func_sincosf_use=yes
68394 else
68395 glibcxx_cv_func_sincosf_use=no
68397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68398 ac_ext=c
68399 ac_cpp='$CPP $CPPFLAGS'
68400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
68409 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
68411 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
68412 for ac_func in sincosf
68413 do :
68414 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
68415 if test "x$ac_cv_func_sincosf" = x""yes; then :
68416 cat >>confdefs.h <<_ACEOF
68417 #define HAVE_SINCOSF 1
68418 _ACEOF
68421 done
68423 else
68425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
68426 $as_echo_n "checking for _sincosf declaration... " >&6; }
68427 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
68428 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
68429 $as_echo_n "(cached) " >&6
68430 else
68433 ac_ext=cpp
68434 ac_cpp='$CXXCPP $CPPFLAGS'
68435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68440 /* end confdefs.h. */
68441 #include <math.h>
68443 main ()
68445 _sincosf(0, 0, 0);
68447 return 0;
68449 _ACEOF
68450 if ac_fn_cxx_try_compile "$LINENO"; then :
68451 glibcxx_cv_func__sincosf_use=yes
68452 else
68453 glibcxx_cv_func__sincosf_use=no
68455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68456 ac_ext=c
68457 ac_cpp='$CPP $CPPFLAGS'
68458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
68467 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
68469 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
68470 for ac_func in _sincosf
68471 do :
68472 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
68473 if test "x$ac_cv_func__sincosf" = x""yes; then :
68474 cat >>confdefs.h <<_ACEOF
68475 #define HAVE__SINCOSF 1
68476 _ACEOF
68479 done
68488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
68489 $as_echo_n "checking for finitef declaration... " >&6; }
68490 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
68491 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
68492 $as_echo_n "(cached) " >&6
68493 else
68496 ac_ext=cpp
68497 ac_cpp='$CXXCPP $CPPFLAGS'
68498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68503 /* end confdefs.h. */
68504 #include <math.h>
68505 #ifdef HAVE_IEEEFP_H
68506 #include <ieeefp.h>
68507 #endif
68510 main ()
68512 finitef(0);
68514 return 0;
68516 _ACEOF
68517 if ac_fn_cxx_try_compile "$LINENO"; then :
68518 glibcxx_cv_func_finitef_use=yes
68519 else
68520 glibcxx_cv_func_finitef_use=no
68522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68523 ac_ext=c
68524 ac_cpp='$CPP $CPPFLAGS'
68525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
68534 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
68536 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
68537 for ac_func in finitef
68538 do :
68539 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
68540 if test "x$ac_cv_func_finitef" = x""yes; then :
68541 cat >>confdefs.h <<_ACEOF
68542 #define HAVE_FINITEF 1
68543 _ACEOF
68546 done
68548 else
68550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
68551 $as_echo_n "checking for _finitef declaration... " >&6; }
68552 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
68553 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
68554 $as_echo_n "(cached) " >&6
68555 else
68558 ac_ext=cpp
68559 ac_cpp='$CXXCPP $CPPFLAGS'
68560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68565 /* end confdefs.h. */
68566 #include <math.h>
68567 #ifdef HAVE_IEEEFP_H
68568 #include <ieeefp.h>
68569 #endif
68572 main ()
68574 _finitef(0);
68576 return 0;
68578 _ACEOF
68579 if ac_fn_cxx_try_compile "$LINENO"; then :
68580 glibcxx_cv_func__finitef_use=yes
68581 else
68582 glibcxx_cv_func__finitef_use=no
68584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68585 ac_ext=c
68586 ac_cpp='$CPP $CPPFLAGS'
68587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
68596 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
68598 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
68599 for ac_func in _finitef
68600 do :
68601 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
68602 if test "x$ac_cv_func__finitef" = x""yes; then :
68603 cat >>confdefs.h <<_ACEOF
68604 #define HAVE__FINITEF 1
68605 _ACEOF
68608 done
68617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
68618 $as_echo_n "checking for long double trig functions... " >&6; }
68619 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
68620 $as_echo_n "(cached) " >&6
68621 else
68624 ac_ext=cpp
68625 ac_cpp='$CXXCPP $CPPFLAGS'
68626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68631 /* end confdefs.h. */
68632 #include <math.h>
68634 main ()
68636 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
68638 return 0;
68640 _ACEOF
68641 if ac_fn_cxx_try_compile "$LINENO"; then :
68642 glibcxx_cv_func_long_double_trig_use=yes
68643 else
68644 glibcxx_cv_func_long_double_trig_use=no
68646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68647 ac_ext=c
68648 ac_cpp='$CPP $CPPFLAGS'
68649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
68656 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
68657 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
68658 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
68659 do :
68660 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68661 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68662 eval as_val=\$$as_ac_var
68663 if test "x$as_val" = x""yes; then :
68664 cat >>confdefs.h <<_ACEOF
68665 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68666 _ACEOF
68669 done
68671 else
68672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
68673 $as_echo_n "checking for _long double trig functions... " >&6; }
68674 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
68675 $as_echo_n "(cached) " >&6
68676 else
68679 ac_ext=cpp
68680 ac_cpp='$CXXCPP $CPPFLAGS'
68681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68686 /* end confdefs.h. */
68687 #include <math.h>
68689 main ()
68691 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
68693 return 0;
68695 _ACEOF
68696 if ac_fn_cxx_try_compile "$LINENO"; then :
68697 glibcxx_cv_func__long_double_trig_use=yes
68698 else
68699 glibcxx_cv_func__long_double_trig_use=no
68701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68702 ac_ext=c
68703 ac_cpp='$CPP $CPPFLAGS'
68704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
68711 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
68712 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
68713 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
68714 do :
68715 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68716 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68717 eval as_val=\$$as_ac_var
68718 if test "x$as_val" = x""yes; then :
68719 cat >>confdefs.h <<_ACEOF
68720 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68721 _ACEOF
68724 done
68733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
68734 $as_echo_n "checking for long double round functions... " >&6; }
68735 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
68736 $as_echo_n "(cached) " >&6
68737 else
68740 ac_ext=cpp
68741 ac_cpp='$CXXCPP $CPPFLAGS'
68742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68747 /* end confdefs.h. */
68748 #include <math.h>
68750 main ()
68752 ceill (0); floorl (0);
68754 return 0;
68756 _ACEOF
68757 if ac_fn_cxx_try_compile "$LINENO"; then :
68758 glibcxx_cv_func_long_double_round_use=yes
68759 else
68760 glibcxx_cv_func_long_double_round_use=no
68762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68763 ac_ext=c
68764 ac_cpp='$CPP $CPPFLAGS'
68765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
68772 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
68773 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
68774 for ac_func in ceill floorl
68775 do :
68776 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68777 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68778 eval as_val=\$$as_ac_var
68779 if test "x$as_val" = x""yes; then :
68780 cat >>confdefs.h <<_ACEOF
68781 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68782 _ACEOF
68785 done
68787 else
68788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
68789 $as_echo_n "checking for _long double round functions... " >&6; }
68790 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
68791 $as_echo_n "(cached) " >&6
68792 else
68795 ac_ext=cpp
68796 ac_cpp='$CXXCPP $CPPFLAGS'
68797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68802 /* end confdefs.h. */
68803 #include <math.h>
68805 main ()
68807 _ceill (0); _floorl (0);
68809 return 0;
68811 _ACEOF
68812 if ac_fn_cxx_try_compile "$LINENO"; then :
68813 glibcxx_cv_func__long_double_round_use=yes
68814 else
68815 glibcxx_cv_func__long_double_round_use=no
68817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68818 ac_ext=c
68819 ac_cpp='$CPP $CPPFLAGS'
68820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
68827 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
68828 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
68829 for ac_func in _ceill _floorl
68830 do :
68831 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68832 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68833 eval as_val=\$$as_ac_var
68834 if test "x$as_val" = x""yes; then :
68835 cat >>confdefs.h <<_ACEOF
68836 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68837 _ACEOF
68840 done
68850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
68851 $as_echo_n "checking for isnanl declaration... " >&6; }
68852 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
68853 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
68854 $as_echo_n "(cached) " >&6
68855 else
68858 ac_ext=cpp
68859 ac_cpp='$CXXCPP $CPPFLAGS'
68860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68865 /* end confdefs.h. */
68866 #include <math.h>
68867 #ifdef HAVE_IEEEFP_H
68868 #include <ieeefp.h>
68869 #endif
68872 main ()
68874 isnanl(0);
68876 return 0;
68878 _ACEOF
68879 if ac_fn_cxx_try_compile "$LINENO"; then :
68880 glibcxx_cv_func_isnanl_use=yes
68881 else
68882 glibcxx_cv_func_isnanl_use=no
68884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68885 ac_ext=c
68886 ac_cpp='$CPP $CPPFLAGS'
68887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
68896 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
68898 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
68899 for ac_func in isnanl
68900 do :
68901 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
68902 if test "x$ac_cv_func_isnanl" = x""yes; then :
68903 cat >>confdefs.h <<_ACEOF
68904 #define HAVE_ISNANL 1
68905 _ACEOF
68908 done
68910 else
68912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
68913 $as_echo_n "checking for _isnanl declaration... " >&6; }
68914 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
68915 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
68916 $as_echo_n "(cached) " >&6
68917 else
68920 ac_ext=cpp
68921 ac_cpp='$CXXCPP $CPPFLAGS'
68922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68927 /* end confdefs.h. */
68928 #include <math.h>
68929 #ifdef HAVE_IEEEFP_H
68930 #include <ieeefp.h>
68931 #endif
68934 main ()
68936 _isnanl(0);
68938 return 0;
68940 _ACEOF
68941 if ac_fn_cxx_try_compile "$LINENO"; then :
68942 glibcxx_cv_func__isnanl_use=yes
68943 else
68944 glibcxx_cv_func__isnanl_use=no
68946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68947 ac_ext=c
68948 ac_cpp='$CPP $CPPFLAGS'
68949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
68958 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
68960 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
68961 for ac_func in _isnanl
68962 do :
68963 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
68964 if test "x$ac_cv_func__isnanl" = x""yes; then :
68965 cat >>confdefs.h <<_ACEOF
68966 #define HAVE__ISNANL 1
68967 _ACEOF
68970 done
68979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
68980 $as_echo_n "checking for isinfl declaration... " >&6; }
68981 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
68982 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
68983 $as_echo_n "(cached) " >&6
68984 else
68987 ac_ext=cpp
68988 ac_cpp='$CXXCPP $CPPFLAGS'
68989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68994 /* end confdefs.h. */
68995 #include <math.h>
68996 #ifdef HAVE_IEEEFP_H
68997 #include <ieeefp.h>
68998 #endif
69001 main ()
69003 isinfl(0);
69005 return 0;
69007 _ACEOF
69008 if ac_fn_cxx_try_compile "$LINENO"; then :
69009 glibcxx_cv_func_isinfl_use=yes
69010 else
69011 glibcxx_cv_func_isinfl_use=no
69013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69014 ac_ext=c
69015 ac_cpp='$CPP $CPPFLAGS'
69016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
69025 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
69027 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
69028 for ac_func in isinfl
69029 do :
69030 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
69031 if test "x$ac_cv_func_isinfl" = x""yes; then :
69032 cat >>confdefs.h <<_ACEOF
69033 #define HAVE_ISINFL 1
69034 _ACEOF
69037 done
69039 else
69041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
69042 $as_echo_n "checking for _isinfl declaration... " >&6; }
69043 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
69044 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
69045 $as_echo_n "(cached) " >&6
69046 else
69049 ac_ext=cpp
69050 ac_cpp='$CXXCPP $CPPFLAGS'
69051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69056 /* end confdefs.h. */
69057 #include <math.h>
69058 #ifdef HAVE_IEEEFP_H
69059 #include <ieeefp.h>
69060 #endif
69063 main ()
69065 _isinfl(0);
69067 return 0;
69069 _ACEOF
69070 if ac_fn_cxx_try_compile "$LINENO"; then :
69071 glibcxx_cv_func__isinfl_use=yes
69072 else
69073 glibcxx_cv_func__isinfl_use=no
69075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69076 ac_ext=c
69077 ac_cpp='$CPP $CPPFLAGS'
69078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
69087 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
69089 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
69090 for ac_func in _isinfl
69091 do :
69092 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
69093 if test "x$ac_cv_func__isinfl" = x""yes; then :
69094 cat >>confdefs.h <<_ACEOF
69095 #define HAVE__ISINFL 1
69096 _ACEOF
69099 done
69108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
69109 $as_echo_n "checking for atan2l declaration... " >&6; }
69110 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
69111 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
69112 $as_echo_n "(cached) " >&6
69113 else
69116 ac_ext=cpp
69117 ac_cpp='$CXXCPP $CPPFLAGS'
69118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69123 /* end confdefs.h. */
69124 #include <math.h>
69126 main ()
69128 atan2l(0, 0);
69130 return 0;
69132 _ACEOF
69133 if ac_fn_cxx_try_compile "$LINENO"; then :
69134 glibcxx_cv_func_atan2l_use=yes
69135 else
69136 glibcxx_cv_func_atan2l_use=no
69138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69139 ac_ext=c
69140 ac_cpp='$CPP $CPPFLAGS'
69141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
69150 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
69152 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
69153 for ac_func in atan2l
69154 do :
69155 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
69156 if test "x$ac_cv_func_atan2l" = x""yes; then :
69157 cat >>confdefs.h <<_ACEOF
69158 #define HAVE_ATAN2L 1
69159 _ACEOF
69162 done
69164 else
69166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
69167 $as_echo_n "checking for _atan2l declaration... " >&6; }
69168 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
69169 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
69170 $as_echo_n "(cached) " >&6
69171 else
69174 ac_ext=cpp
69175 ac_cpp='$CXXCPP $CPPFLAGS'
69176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69181 /* end confdefs.h. */
69182 #include <math.h>
69184 main ()
69186 _atan2l(0, 0);
69188 return 0;
69190 _ACEOF
69191 if ac_fn_cxx_try_compile "$LINENO"; then :
69192 glibcxx_cv_func__atan2l_use=yes
69193 else
69194 glibcxx_cv_func__atan2l_use=no
69196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69197 ac_ext=c
69198 ac_cpp='$CPP $CPPFLAGS'
69199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
69208 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
69210 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
69211 for ac_func in _atan2l
69212 do :
69213 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
69214 if test "x$ac_cv_func__atan2l" = x""yes; then :
69215 cat >>confdefs.h <<_ACEOF
69216 #define HAVE__ATAN2L 1
69217 _ACEOF
69220 done
69229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
69230 $as_echo_n "checking for expl declaration... " >&6; }
69231 if test x${glibcxx_cv_func_expl_use+set} != xset; then
69232 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
69233 $as_echo_n "(cached) " >&6
69234 else
69237 ac_ext=cpp
69238 ac_cpp='$CXXCPP $CPPFLAGS'
69239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69244 /* end confdefs.h. */
69245 #include <math.h>
69246 #ifdef HAVE_IEEEFP_H
69247 #include <ieeefp.h>
69248 #endif
69251 main ()
69253 expl(0);
69255 return 0;
69257 _ACEOF
69258 if ac_fn_cxx_try_compile "$LINENO"; then :
69259 glibcxx_cv_func_expl_use=yes
69260 else
69261 glibcxx_cv_func_expl_use=no
69263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69264 ac_ext=c
69265 ac_cpp='$CPP $CPPFLAGS'
69266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
69275 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
69277 if test x$glibcxx_cv_func_expl_use = x"yes"; then
69278 for ac_func in expl
69279 do :
69280 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
69281 if test "x$ac_cv_func_expl" = x""yes; then :
69282 cat >>confdefs.h <<_ACEOF
69283 #define HAVE_EXPL 1
69284 _ACEOF
69287 done
69289 else
69291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
69292 $as_echo_n "checking for _expl declaration... " >&6; }
69293 if test x${glibcxx_cv_func__expl_use+set} != xset; then
69294 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
69295 $as_echo_n "(cached) " >&6
69296 else
69299 ac_ext=cpp
69300 ac_cpp='$CXXCPP $CPPFLAGS'
69301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69306 /* end confdefs.h. */
69307 #include <math.h>
69308 #ifdef HAVE_IEEEFP_H
69309 #include <ieeefp.h>
69310 #endif
69313 main ()
69315 _expl(0);
69317 return 0;
69319 _ACEOF
69320 if ac_fn_cxx_try_compile "$LINENO"; then :
69321 glibcxx_cv_func__expl_use=yes
69322 else
69323 glibcxx_cv_func__expl_use=no
69325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69326 ac_ext=c
69327 ac_cpp='$CPP $CPPFLAGS'
69328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
69337 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
69339 if test x$glibcxx_cv_func__expl_use = x"yes"; then
69340 for ac_func in _expl
69341 do :
69342 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
69343 if test "x$ac_cv_func__expl" = x""yes; then :
69344 cat >>confdefs.h <<_ACEOF
69345 #define HAVE__EXPL 1
69346 _ACEOF
69349 done
69358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
69359 $as_echo_n "checking for fabsl declaration... " >&6; }
69360 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
69361 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
69362 $as_echo_n "(cached) " >&6
69363 else
69366 ac_ext=cpp
69367 ac_cpp='$CXXCPP $CPPFLAGS'
69368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69373 /* end confdefs.h. */
69374 #include <math.h>
69375 #ifdef HAVE_IEEEFP_H
69376 #include <ieeefp.h>
69377 #endif
69380 main ()
69382 fabsl(0);
69384 return 0;
69386 _ACEOF
69387 if ac_fn_cxx_try_compile "$LINENO"; then :
69388 glibcxx_cv_func_fabsl_use=yes
69389 else
69390 glibcxx_cv_func_fabsl_use=no
69392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69393 ac_ext=c
69394 ac_cpp='$CPP $CPPFLAGS'
69395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
69404 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
69406 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
69407 for ac_func in fabsl
69408 do :
69409 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
69410 if test "x$ac_cv_func_fabsl" = x""yes; then :
69411 cat >>confdefs.h <<_ACEOF
69412 #define HAVE_FABSL 1
69413 _ACEOF
69416 done
69418 else
69420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
69421 $as_echo_n "checking for _fabsl declaration... " >&6; }
69422 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
69423 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
69424 $as_echo_n "(cached) " >&6
69425 else
69428 ac_ext=cpp
69429 ac_cpp='$CXXCPP $CPPFLAGS'
69430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69435 /* end confdefs.h. */
69436 #include <math.h>
69437 #ifdef HAVE_IEEEFP_H
69438 #include <ieeefp.h>
69439 #endif
69442 main ()
69444 _fabsl(0);
69446 return 0;
69448 _ACEOF
69449 if ac_fn_cxx_try_compile "$LINENO"; then :
69450 glibcxx_cv_func__fabsl_use=yes
69451 else
69452 glibcxx_cv_func__fabsl_use=no
69454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69455 ac_ext=c
69456 ac_cpp='$CPP $CPPFLAGS'
69457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
69466 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
69468 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
69469 for ac_func in _fabsl
69470 do :
69471 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
69472 if test "x$ac_cv_func__fabsl" = x""yes; then :
69473 cat >>confdefs.h <<_ACEOF
69474 #define HAVE__FABSL 1
69475 _ACEOF
69478 done
69487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
69488 $as_echo_n "checking for fmodl declaration... " >&6; }
69489 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
69490 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
69491 $as_echo_n "(cached) " >&6
69492 else
69495 ac_ext=cpp
69496 ac_cpp='$CXXCPP $CPPFLAGS'
69497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69502 /* end confdefs.h. */
69503 #include <math.h>
69505 main ()
69507 fmodl(0, 0);
69509 return 0;
69511 _ACEOF
69512 if ac_fn_cxx_try_compile "$LINENO"; then :
69513 glibcxx_cv_func_fmodl_use=yes
69514 else
69515 glibcxx_cv_func_fmodl_use=no
69517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69518 ac_ext=c
69519 ac_cpp='$CPP $CPPFLAGS'
69520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
69529 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
69531 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
69532 for ac_func in fmodl
69533 do :
69534 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
69535 if test "x$ac_cv_func_fmodl" = x""yes; then :
69536 cat >>confdefs.h <<_ACEOF
69537 #define HAVE_FMODL 1
69538 _ACEOF
69541 done
69543 else
69545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
69546 $as_echo_n "checking for _fmodl declaration... " >&6; }
69547 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
69548 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
69549 $as_echo_n "(cached) " >&6
69550 else
69553 ac_ext=cpp
69554 ac_cpp='$CXXCPP $CPPFLAGS'
69555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69560 /* end confdefs.h. */
69561 #include <math.h>
69563 main ()
69565 _fmodl(0, 0);
69567 return 0;
69569 _ACEOF
69570 if ac_fn_cxx_try_compile "$LINENO"; then :
69571 glibcxx_cv_func__fmodl_use=yes
69572 else
69573 glibcxx_cv_func__fmodl_use=no
69575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69576 ac_ext=c
69577 ac_cpp='$CPP $CPPFLAGS'
69578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
69587 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
69589 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
69590 for ac_func in _fmodl
69591 do :
69592 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
69593 if test "x$ac_cv_func__fmodl" = x""yes; then :
69594 cat >>confdefs.h <<_ACEOF
69595 #define HAVE__FMODL 1
69596 _ACEOF
69599 done
69608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
69609 $as_echo_n "checking for frexpl declaration... " >&6; }
69610 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
69611 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
69612 $as_echo_n "(cached) " >&6
69613 else
69616 ac_ext=cpp
69617 ac_cpp='$CXXCPP $CPPFLAGS'
69618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69623 /* end confdefs.h. */
69624 #include <math.h>
69626 main ()
69628 frexpl(0, 0);
69630 return 0;
69632 _ACEOF
69633 if ac_fn_cxx_try_compile "$LINENO"; then :
69634 glibcxx_cv_func_frexpl_use=yes
69635 else
69636 glibcxx_cv_func_frexpl_use=no
69638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69639 ac_ext=c
69640 ac_cpp='$CPP $CPPFLAGS'
69641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
69650 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
69652 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
69653 for ac_func in frexpl
69654 do :
69655 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
69656 if test "x$ac_cv_func_frexpl" = x""yes; then :
69657 cat >>confdefs.h <<_ACEOF
69658 #define HAVE_FREXPL 1
69659 _ACEOF
69662 done
69664 else
69666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
69667 $as_echo_n "checking for _frexpl declaration... " >&6; }
69668 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
69669 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
69670 $as_echo_n "(cached) " >&6
69671 else
69674 ac_ext=cpp
69675 ac_cpp='$CXXCPP $CPPFLAGS'
69676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69681 /* end confdefs.h. */
69682 #include <math.h>
69684 main ()
69686 _frexpl(0, 0);
69688 return 0;
69690 _ACEOF
69691 if ac_fn_cxx_try_compile "$LINENO"; then :
69692 glibcxx_cv_func__frexpl_use=yes
69693 else
69694 glibcxx_cv_func__frexpl_use=no
69696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69697 ac_ext=c
69698 ac_cpp='$CPP $CPPFLAGS'
69699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
69708 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
69710 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
69711 for ac_func in _frexpl
69712 do :
69713 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
69714 if test "x$ac_cv_func__frexpl" = x""yes; then :
69715 cat >>confdefs.h <<_ACEOF
69716 #define HAVE__FREXPL 1
69717 _ACEOF
69720 done
69729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
69730 $as_echo_n "checking for hypotl declaration... " >&6; }
69731 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
69732 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
69733 $as_echo_n "(cached) " >&6
69734 else
69737 ac_ext=cpp
69738 ac_cpp='$CXXCPP $CPPFLAGS'
69739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69744 /* end confdefs.h. */
69745 #include <math.h>
69747 main ()
69749 hypotl(0, 0);
69751 return 0;
69753 _ACEOF
69754 if ac_fn_cxx_try_compile "$LINENO"; then :
69755 glibcxx_cv_func_hypotl_use=yes
69756 else
69757 glibcxx_cv_func_hypotl_use=no
69759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69760 ac_ext=c
69761 ac_cpp='$CPP $CPPFLAGS'
69762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
69771 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
69773 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
69774 for ac_func in hypotl
69775 do :
69776 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
69777 if test "x$ac_cv_func_hypotl" = x""yes; then :
69778 cat >>confdefs.h <<_ACEOF
69779 #define HAVE_HYPOTL 1
69780 _ACEOF
69783 done
69785 else
69787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
69788 $as_echo_n "checking for _hypotl declaration... " >&6; }
69789 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
69790 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
69791 $as_echo_n "(cached) " >&6
69792 else
69795 ac_ext=cpp
69796 ac_cpp='$CXXCPP $CPPFLAGS'
69797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69802 /* end confdefs.h. */
69803 #include <math.h>
69805 main ()
69807 _hypotl(0, 0);
69809 return 0;
69811 _ACEOF
69812 if ac_fn_cxx_try_compile "$LINENO"; then :
69813 glibcxx_cv_func__hypotl_use=yes
69814 else
69815 glibcxx_cv_func__hypotl_use=no
69817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69818 ac_ext=c
69819 ac_cpp='$CPP $CPPFLAGS'
69820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
69829 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
69831 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
69832 for ac_func in _hypotl
69833 do :
69834 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
69835 if test "x$ac_cv_func__hypotl" = x""yes; then :
69836 cat >>confdefs.h <<_ACEOF
69837 #define HAVE__HYPOTL 1
69838 _ACEOF
69841 done
69850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
69851 $as_echo_n "checking for ldexpl declaration... " >&6; }
69852 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
69853 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
69854 $as_echo_n "(cached) " >&6
69855 else
69858 ac_ext=cpp
69859 ac_cpp='$CXXCPP $CPPFLAGS'
69860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69865 /* end confdefs.h. */
69866 #include <math.h>
69868 main ()
69870 ldexpl(0, 0);
69872 return 0;
69874 _ACEOF
69875 if ac_fn_cxx_try_compile "$LINENO"; then :
69876 glibcxx_cv_func_ldexpl_use=yes
69877 else
69878 glibcxx_cv_func_ldexpl_use=no
69880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69881 ac_ext=c
69882 ac_cpp='$CPP $CPPFLAGS'
69883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
69892 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
69894 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
69895 for ac_func in ldexpl
69896 do :
69897 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
69898 if test "x$ac_cv_func_ldexpl" = x""yes; then :
69899 cat >>confdefs.h <<_ACEOF
69900 #define HAVE_LDEXPL 1
69901 _ACEOF
69904 done
69906 else
69908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
69909 $as_echo_n "checking for _ldexpl declaration... " >&6; }
69910 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
69911 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
69912 $as_echo_n "(cached) " >&6
69913 else
69916 ac_ext=cpp
69917 ac_cpp='$CXXCPP $CPPFLAGS'
69918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69923 /* end confdefs.h. */
69924 #include <math.h>
69926 main ()
69928 _ldexpl(0, 0);
69930 return 0;
69932 _ACEOF
69933 if ac_fn_cxx_try_compile "$LINENO"; then :
69934 glibcxx_cv_func__ldexpl_use=yes
69935 else
69936 glibcxx_cv_func__ldexpl_use=no
69938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69939 ac_ext=c
69940 ac_cpp='$CPP $CPPFLAGS'
69941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
69950 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
69952 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
69953 for ac_func in _ldexpl
69954 do :
69955 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
69956 if test "x$ac_cv_func__ldexpl" = x""yes; then :
69957 cat >>confdefs.h <<_ACEOF
69958 #define HAVE__LDEXPL 1
69959 _ACEOF
69962 done
69971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
69972 $as_echo_n "checking for logl declaration... " >&6; }
69973 if test x${glibcxx_cv_func_logl_use+set} != xset; then
69974 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
69975 $as_echo_n "(cached) " >&6
69976 else
69979 ac_ext=cpp
69980 ac_cpp='$CXXCPP $CPPFLAGS'
69981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69986 /* end confdefs.h. */
69987 #include <math.h>
69988 #ifdef HAVE_IEEEFP_H
69989 #include <ieeefp.h>
69990 #endif
69993 main ()
69995 logl(0);
69997 return 0;
69999 _ACEOF
70000 if ac_fn_cxx_try_compile "$LINENO"; then :
70001 glibcxx_cv_func_logl_use=yes
70002 else
70003 glibcxx_cv_func_logl_use=no
70005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70006 ac_ext=c
70007 ac_cpp='$CPP $CPPFLAGS'
70008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
70017 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
70019 if test x$glibcxx_cv_func_logl_use = x"yes"; then
70020 for ac_func in logl
70021 do :
70022 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
70023 if test "x$ac_cv_func_logl" = x""yes; then :
70024 cat >>confdefs.h <<_ACEOF
70025 #define HAVE_LOGL 1
70026 _ACEOF
70029 done
70031 else
70033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
70034 $as_echo_n "checking for _logl declaration... " >&6; }
70035 if test x${glibcxx_cv_func__logl_use+set} != xset; then
70036 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
70037 $as_echo_n "(cached) " >&6
70038 else
70041 ac_ext=cpp
70042 ac_cpp='$CXXCPP $CPPFLAGS'
70043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70048 /* end confdefs.h. */
70049 #include <math.h>
70050 #ifdef HAVE_IEEEFP_H
70051 #include <ieeefp.h>
70052 #endif
70055 main ()
70057 _logl(0);
70059 return 0;
70061 _ACEOF
70062 if ac_fn_cxx_try_compile "$LINENO"; then :
70063 glibcxx_cv_func__logl_use=yes
70064 else
70065 glibcxx_cv_func__logl_use=no
70067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70068 ac_ext=c
70069 ac_cpp='$CPP $CPPFLAGS'
70070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
70079 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
70081 if test x$glibcxx_cv_func__logl_use = x"yes"; then
70082 for ac_func in _logl
70083 do :
70084 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
70085 if test "x$ac_cv_func__logl" = x""yes; then :
70086 cat >>confdefs.h <<_ACEOF
70087 #define HAVE__LOGL 1
70088 _ACEOF
70091 done
70100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
70101 $as_echo_n "checking for log10l declaration... " >&6; }
70102 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
70103 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
70104 $as_echo_n "(cached) " >&6
70105 else
70108 ac_ext=cpp
70109 ac_cpp='$CXXCPP $CPPFLAGS'
70110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70115 /* end confdefs.h. */
70116 #include <math.h>
70117 #ifdef HAVE_IEEEFP_H
70118 #include <ieeefp.h>
70119 #endif
70122 main ()
70124 log10l(0);
70126 return 0;
70128 _ACEOF
70129 if ac_fn_cxx_try_compile "$LINENO"; then :
70130 glibcxx_cv_func_log10l_use=yes
70131 else
70132 glibcxx_cv_func_log10l_use=no
70134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70135 ac_ext=c
70136 ac_cpp='$CPP $CPPFLAGS'
70137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
70146 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
70148 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
70149 for ac_func in log10l
70150 do :
70151 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
70152 if test "x$ac_cv_func_log10l" = x""yes; then :
70153 cat >>confdefs.h <<_ACEOF
70154 #define HAVE_LOG10L 1
70155 _ACEOF
70158 done
70160 else
70162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
70163 $as_echo_n "checking for _log10l declaration... " >&6; }
70164 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
70165 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
70166 $as_echo_n "(cached) " >&6
70167 else
70170 ac_ext=cpp
70171 ac_cpp='$CXXCPP $CPPFLAGS'
70172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70177 /* end confdefs.h. */
70178 #include <math.h>
70179 #ifdef HAVE_IEEEFP_H
70180 #include <ieeefp.h>
70181 #endif
70184 main ()
70186 _log10l(0);
70188 return 0;
70190 _ACEOF
70191 if ac_fn_cxx_try_compile "$LINENO"; then :
70192 glibcxx_cv_func__log10l_use=yes
70193 else
70194 glibcxx_cv_func__log10l_use=no
70196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70197 ac_ext=c
70198 ac_cpp='$CPP $CPPFLAGS'
70199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
70208 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
70210 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
70211 for ac_func in _log10l
70212 do :
70213 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
70214 if test "x$ac_cv_func__log10l" = x""yes; then :
70215 cat >>confdefs.h <<_ACEOF
70216 #define HAVE__LOG10L 1
70217 _ACEOF
70220 done
70229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
70230 $as_echo_n "checking for modfl declaration... " >&6; }
70231 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
70232 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
70233 $as_echo_n "(cached) " >&6
70234 else
70237 ac_ext=cpp
70238 ac_cpp='$CXXCPP $CPPFLAGS'
70239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70244 /* end confdefs.h. */
70245 #include <math.h>
70247 main ()
70249 modfl(0, 0);
70251 return 0;
70253 _ACEOF
70254 if ac_fn_cxx_try_compile "$LINENO"; then :
70255 glibcxx_cv_func_modfl_use=yes
70256 else
70257 glibcxx_cv_func_modfl_use=no
70259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70260 ac_ext=c
70261 ac_cpp='$CPP $CPPFLAGS'
70262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
70271 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
70273 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
70274 for ac_func in modfl
70275 do :
70276 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
70277 if test "x$ac_cv_func_modfl" = x""yes; then :
70278 cat >>confdefs.h <<_ACEOF
70279 #define HAVE_MODFL 1
70280 _ACEOF
70283 done
70285 else
70287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
70288 $as_echo_n "checking for _modfl declaration... " >&6; }
70289 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
70290 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
70291 $as_echo_n "(cached) " >&6
70292 else
70295 ac_ext=cpp
70296 ac_cpp='$CXXCPP $CPPFLAGS'
70297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70302 /* end confdefs.h. */
70303 #include <math.h>
70305 main ()
70307 _modfl(0, 0);
70309 return 0;
70311 _ACEOF
70312 if ac_fn_cxx_try_compile "$LINENO"; then :
70313 glibcxx_cv_func__modfl_use=yes
70314 else
70315 glibcxx_cv_func__modfl_use=no
70317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70318 ac_ext=c
70319 ac_cpp='$CPP $CPPFLAGS'
70320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
70329 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
70331 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
70332 for ac_func in _modfl
70333 do :
70334 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
70335 if test "x$ac_cv_func__modfl" = x""yes; then :
70336 cat >>confdefs.h <<_ACEOF
70337 #define HAVE__MODFL 1
70338 _ACEOF
70341 done
70350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
70351 $as_echo_n "checking for powl declaration... " >&6; }
70352 if test x${glibcxx_cv_func_powl_use+set} != xset; then
70353 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
70354 $as_echo_n "(cached) " >&6
70355 else
70358 ac_ext=cpp
70359 ac_cpp='$CXXCPP $CPPFLAGS'
70360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70365 /* end confdefs.h. */
70366 #include <math.h>
70368 main ()
70370 powl(0, 0);
70372 return 0;
70374 _ACEOF
70375 if ac_fn_cxx_try_compile "$LINENO"; then :
70376 glibcxx_cv_func_powl_use=yes
70377 else
70378 glibcxx_cv_func_powl_use=no
70380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70381 ac_ext=c
70382 ac_cpp='$CPP $CPPFLAGS'
70383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
70392 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
70394 if test x$glibcxx_cv_func_powl_use = x"yes"; then
70395 for ac_func in powl
70396 do :
70397 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
70398 if test "x$ac_cv_func_powl" = x""yes; then :
70399 cat >>confdefs.h <<_ACEOF
70400 #define HAVE_POWL 1
70401 _ACEOF
70404 done
70406 else
70408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
70409 $as_echo_n "checking for _powl declaration... " >&6; }
70410 if test x${glibcxx_cv_func__powl_use+set} != xset; then
70411 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
70412 $as_echo_n "(cached) " >&6
70413 else
70416 ac_ext=cpp
70417 ac_cpp='$CXXCPP $CPPFLAGS'
70418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70423 /* end confdefs.h. */
70424 #include <math.h>
70426 main ()
70428 _powl(0, 0);
70430 return 0;
70432 _ACEOF
70433 if ac_fn_cxx_try_compile "$LINENO"; then :
70434 glibcxx_cv_func__powl_use=yes
70435 else
70436 glibcxx_cv_func__powl_use=no
70438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70439 ac_ext=c
70440 ac_cpp='$CPP $CPPFLAGS'
70441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
70450 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
70452 if test x$glibcxx_cv_func__powl_use = x"yes"; then
70453 for ac_func in _powl
70454 do :
70455 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
70456 if test "x$ac_cv_func__powl" = x""yes; then :
70457 cat >>confdefs.h <<_ACEOF
70458 #define HAVE__POWL 1
70459 _ACEOF
70462 done
70471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
70472 $as_echo_n "checking for sqrtl declaration... " >&6; }
70473 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
70474 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
70475 $as_echo_n "(cached) " >&6
70476 else
70479 ac_ext=cpp
70480 ac_cpp='$CXXCPP $CPPFLAGS'
70481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70486 /* end confdefs.h. */
70487 #include <math.h>
70488 #ifdef HAVE_IEEEFP_H
70489 #include <ieeefp.h>
70490 #endif
70493 main ()
70495 sqrtl(0);
70497 return 0;
70499 _ACEOF
70500 if ac_fn_cxx_try_compile "$LINENO"; then :
70501 glibcxx_cv_func_sqrtl_use=yes
70502 else
70503 glibcxx_cv_func_sqrtl_use=no
70505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70506 ac_ext=c
70507 ac_cpp='$CPP $CPPFLAGS'
70508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
70517 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
70519 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
70520 for ac_func in sqrtl
70521 do :
70522 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
70523 if test "x$ac_cv_func_sqrtl" = x""yes; then :
70524 cat >>confdefs.h <<_ACEOF
70525 #define HAVE_SQRTL 1
70526 _ACEOF
70529 done
70531 else
70533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
70534 $as_echo_n "checking for _sqrtl declaration... " >&6; }
70535 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
70536 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
70537 $as_echo_n "(cached) " >&6
70538 else
70541 ac_ext=cpp
70542 ac_cpp='$CXXCPP $CPPFLAGS'
70543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70548 /* end confdefs.h. */
70549 #include <math.h>
70550 #ifdef HAVE_IEEEFP_H
70551 #include <ieeefp.h>
70552 #endif
70555 main ()
70557 _sqrtl(0);
70559 return 0;
70561 _ACEOF
70562 if ac_fn_cxx_try_compile "$LINENO"; then :
70563 glibcxx_cv_func__sqrtl_use=yes
70564 else
70565 glibcxx_cv_func__sqrtl_use=no
70567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70568 ac_ext=c
70569 ac_cpp='$CPP $CPPFLAGS'
70570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
70579 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
70581 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
70582 for ac_func in _sqrtl
70583 do :
70584 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
70585 if test "x$ac_cv_func__sqrtl" = x""yes; then :
70586 cat >>confdefs.h <<_ACEOF
70587 #define HAVE__SQRTL 1
70588 _ACEOF
70591 done
70600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
70601 $as_echo_n "checking for sincosl declaration... " >&6; }
70602 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
70603 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
70604 $as_echo_n "(cached) " >&6
70605 else
70608 ac_ext=cpp
70609 ac_cpp='$CXXCPP $CPPFLAGS'
70610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70615 /* end confdefs.h. */
70616 #include <math.h>
70618 main ()
70620 sincosl(0, 0, 0);
70622 return 0;
70624 _ACEOF
70625 if ac_fn_cxx_try_compile "$LINENO"; then :
70626 glibcxx_cv_func_sincosl_use=yes
70627 else
70628 glibcxx_cv_func_sincosl_use=no
70630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70631 ac_ext=c
70632 ac_cpp='$CPP $CPPFLAGS'
70633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
70642 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
70644 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
70645 for ac_func in sincosl
70646 do :
70647 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
70648 if test "x$ac_cv_func_sincosl" = x""yes; then :
70649 cat >>confdefs.h <<_ACEOF
70650 #define HAVE_SINCOSL 1
70651 _ACEOF
70654 done
70656 else
70658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
70659 $as_echo_n "checking for _sincosl declaration... " >&6; }
70660 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
70661 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
70662 $as_echo_n "(cached) " >&6
70663 else
70666 ac_ext=cpp
70667 ac_cpp='$CXXCPP $CPPFLAGS'
70668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70673 /* end confdefs.h. */
70674 #include <math.h>
70676 main ()
70678 _sincosl(0, 0, 0);
70680 return 0;
70682 _ACEOF
70683 if ac_fn_cxx_try_compile "$LINENO"; then :
70684 glibcxx_cv_func__sincosl_use=yes
70685 else
70686 glibcxx_cv_func__sincosl_use=no
70688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70689 ac_ext=c
70690 ac_cpp='$CPP $CPPFLAGS'
70691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
70700 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
70702 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
70703 for ac_func in _sincosl
70704 do :
70705 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
70706 if test "x$ac_cv_func__sincosl" = x""yes; then :
70707 cat >>confdefs.h <<_ACEOF
70708 #define HAVE__SINCOSL 1
70709 _ACEOF
70712 done
70721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
70722 $as_echo_n "checking for finitel declaration... " >&6; }
70723 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
70724 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
70725 $as_echo_n "(cached) " >&6
70726 else
70729 ac_ext=cpp
70730 ac_cpp='$CXXCPP $CPPFLAGS'
70731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70736 /* end confdefs.h. */
70737 #include <math.h>
70738 #ifdef HAVE_IEEEFP_H
70739 #include <ieeefp.h>
70740 #endif
70743 main ()
70745 finitel(0);
70747 return 0;
70749 _ACEOF
70750 if ac_fn_cxx_try_compile "$LINENO"; then :
70751 glibcxx_cv_func_finitel_use=yes
70752 else
70753 glibcxx_cv_func_finitel_use=no
70755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70756 ac_ext=c
70757 ac_cpp='$CPP $CPPFLAGS'
70758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
70767 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
70769 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
70770 for ac_func in finitel
70771 do :
70772 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
70773 if test "x$ac_cv_func_finitel" = x""yes; then :
70774 cat >>confdefs.h <<_ACEOF
70775 #define HAVE_FINITEL 1
70776 _ACEOF
70779 done
70781 else
70783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
70784 $as_echo_n "checking for _finitel declaration... " >&6; }
70785 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
70786 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
70787 $as_echo_n "(cached) " >&6
70788 else
70791 ac_ext=cpp
70792 ac_cpp='$CXXCPP $CPPFLAGS'
70793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70798 /* end confdefs.h. */
70799 #include <math.h>
70800 #ifdef HAVE_IEEEFP_H
70801 #include <ieeefp.h>
70802 #endif
70805 main ()
70807 _finitel(0);
70809 return 0;
70811 _ACEOF
70812 if ac_fn_cxx_try_compile "$LINENO"; then :
70813 glibcxx_cv_func__finitel_use=yes
70814 else
70815 glibcxx_cv_func__finitel_use=no
70817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70818 ac_ext=c
70819 ac_cpp='$CPP $CPPFLAGS'
70820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
70829 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
70831 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
70832 for ac_func in _finitel
70833 do :
70834 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
70835 if test "x$ac_cv_func__finitel" = x""yes; then :
70836 cat >>confdefs.h <<_ACEOF
70837 #define HAVE__FINITEL 1
70838 _ACEOF
70841 done
70849 LIBS="$ac_save_LIBS"
70850 CXXFLAGS="$ac_save_CXXFLAGS"
70853 ac_test_CXXFLAGS="${CXXFLAGS+set}"
70854 ac_save_CXXFLAGS="$CXXFLAGS"
70855 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
70858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
70859 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
70860 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
70861 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
70862 $as_echo_n "(cached) " >&6
70863 else
70866 ac_ext=cpp
70867 ac_cpp='$CXXCPP $CPPFLAGS'
70868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70873 /* end confdefs.h. */
70874 #include <stdlib.h>
70876 main ()
70878 at_quick_exit(0);
70880 return 0;
70882 _ACEOF
70883 if ac_fn_cxx_try_compile "$LINENO"; then :
70884 glibcxx_cv_func_at_quick_exit_use=yes
70885 else
70886 glibcxx_cv_func_at_quick_exit_use=no
70888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70889 ac_ext=c
70890 ac_cpp='$CPP $CPPFLAGS'
70891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
70900 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
70901 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
70902 for ac_func in at_quick_exit
70903 do :
70904 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
70905 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
70906 cat >>confdefs.h <<_ACEOF
70907 #define HAVE_AT_QUICK_EXIT 1
70908 _ACEOF
70911 done
70916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
70917 $as_echo_n "checking for quick_exit declaration... " >&6; }
70918 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
70919 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
70920 $as_echo_n "(cached) " >&6
70921 else
70924 ac_ext=cpp
70925 ac_cpp='$CXXCPP $CPPFLAGS'
70926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70931 /* end confdefs.h. */
70932 #include <stdlib.h>
70934 main ()
70936 quick_exit(0);
70938 return 0;
70940 _ACEOF
70941 if ac_fn_cxx_try_compile "$LINENO"; then :
70942 glibcxx_cv_func_quick_exit_use=yes
70943 else
70944 glibcxx_cv_func_quick_exit_use=no
70946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70947 ac_ext=c
70948 ac_cpp='$CPP $CPPFLAGS'
70949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
70958 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
70959 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
70960 for ac_func in quick_exit
70961 do :
70962 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
70963 if test "x$ac_cv_func_quick_exit" = x""yes; then :
70964 cat >>confdefs.h <<_ACEOF
70965 #define HAVE_QUICK_EXIT 1
70966 _ACEOF
70969 done
70974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
70975 $as_echo_n "checking for strtold declaration... " >&6; }
70976 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
70977 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
70978 $as_echo_n "(cached) " >&6
70979 else
70982 ac_ext=cpp
70983 ac_cpp='$CXXCPP $CPPFLAGS'
70984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70989 /* end confdefs.h. */
70990 #include <stdlib.h>
70992 main ()
70994 strtold(0, 0);
70996 return 0;
70998 _ACEOF
70999 if ac_fn_cxx_try_compile "$LINENO"; then :
71000 glibcxx_cv_func_strtold_use=yes
71001 else
71002 glibcxx_cv_func_strtold_use=no
71004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71005 ac_ext=c
71006 ac_cpp='$CPP $CPPFLAGS'
71007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
71016 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
71017 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
71018 for ac_func in strtold
71019 do :
71020 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
71021 if test "x$ac_cv_func_strtold" = x""yes; then :
71022 cat >>confdefs.h <<_ACEOF
71023 #define HAVE_STRTOLD 1
71024 _ACEOF
71027 done
71034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
71035 $as_echo_n "checking for strtof declaration... " >&6; }
71036 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
71037 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
71038 $as_echo_n "(cached) " >&6
71039 else
71042 ac_ext=cpp
71043 ac_cpp='$CXXCPP $CPPFLAGS'
71044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71049 /* end confdefs.h. */
71050 #include <stdlib.h>
71052 main ()
71054 strtof(0, 0);
71056 return 0;
71058 _ACEOF
71059 if ac_fn_cxx_try_compile "$LINENO"; then :
71060 glibcxx_cv_func_strtof_use=yes
71061 else
71062 glibcxx_cv_func_strtof_use=no
71064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71065 ac_ext=c
71066 ac_cpp='$CPP $CPPFLAGS'
71067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
71076 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
71077 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
71078 for ac_func in strtof
71079 do :
71080 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
71081 if test "x$ac_cv_func_strtof" = x""yes; then :
71082 cat >>confdefs.h <<_ACEOF
71083 #define HAVE_STRTOF 1
71084 _ACEOF
71087 done
71094 CXXFLAGS="$ac_save_CXXFLAGS"
71097 *-solaris*)
71099 # If we're not using GNU ld, then there's no point in even trying these
71100 # tests. Check for that first. We should have already tested for gld
71101 # by now (in libtool), but require it now just to be safe...
71102 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
71103 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
71107 # The name set by libtool depends on the version of libtool. Shame on us
71108 # for depending on an impl detail, but c'est la vie. Older versions used
71109 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
71110 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
71111 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
71112 # set (hence we're using an older libtool), then set it.
71113 if test x${with_gnu_ld+set} != xset; then
71114 if test x${ac_cv_prog_gnu_ld+set} != xset; then
71115 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
71116 with_gnu_ld=no
71117 else
71118 with_gnu_ld=$ac_cv_prog_gnu_ld
71122 # Start by getting the version number. I think the libtool test already
71123 # does some of this, but throws away the result.
71124 glibcxx_ld_is_gold=no
71125 if test x"$with_gnu_ld" = x"yes"; then
71126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
71127 $as_echo_n "checking for ld version... " >&6; }
71129 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
71130 glibcxx_ld_is_gold=yes
71132 ldver=`$LD --version 2>/dev/null |
71133 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'`
71135 glibcxx_gnu_ld_version=`echo $ldver | \
71136 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
71137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
71138 $as_echo "$glibcxx_gnu_ld_version" >&6; }
71141 # Set --gc-sections.
71142 glibcxx_have_gc_sections=no
71143 if test "$glibcxx_ld_is_gold" = "yes"; then
71144 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
71145 glibcxx_have_gc_sections=yes
71147 else
71148 glibcxx_gcsections_min_ld=21602
71149 if test x"$with_gnu_ld" = x"yes" &&
71150 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
71151 glibcxx_have_gc_sections=yes
71154 if test "$glibcxx_have_gc_sections" = "yes"; then
71155 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
71156 # NB: This flag only works reliably after 2.16.1. Configure tests
71157 # for this are difficult, so hard wire a value that should work.
71159 ac_test_CFLAGS="${CFLAGS+set}"
71160 ac_save_CFLAGS="$CFLAGS"
71161 CFLAGS='-Wl,--gc-sections'
71163 # Check for -Wl,--gc-sections
71164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
71165 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
71166 if test x$gcc_no_link = xyes; then
71167 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71170 /* end confdefs.h. */
71171 int one(void) { return 1; }
71172 int two(void) { return 2; }
71175 main ()
71177 two();
71179 return 0;
71181 _ACEOF
71182 if ac_fn_c_try_link "$LINENO"; then :
71183 ac_gcsections=yes
71184 else
71185 ac_gcsections=no
71187 rm -f core conftest.err conftest.$ac_objext \
71188 conftest$ac_exeext conftest.$ac_ext
71189 if test "$ac_gcsections" = "yes"; then
71190 rm -f conftest.c
71191 touch conftest.c
71192 if $CC -c conftest.c; then
71193 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
71194 grep "Warning: gc-sections option ignored" > /dev/null; then
71195 ac_gcsections=no
71198 rm -f conftest.c conftest.o conftest
71200 if test "$ac_gcsections" = "yes"; then
71201 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
71203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
71204 $as_echo "$ac_gcsections" >&6; }
71206 if test "$ac_test_CFLAGS" = set; then
71207 CFLAGS="$ac_save_CFLAGS"
71208 else
71209 # this is the suspicious part
71210 CFLAGS=''
71214 # Set -z,relro.
71215 # Note this is only for shared objects.
71216 ac_ld_relro=no
71217 if test x"$with_gnu_ld" = x"yes"; then
71218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
71219 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
71220 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
71221 if test -n "$cxx_z_relo"; then
71222 OPT_LDFLAGS="-Wl,-z,relro"
71223 ac_ld_relro=yes
71225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
71226 $as_echo "$ac_ld_relro" >&6; }
71229 # Set linker optimization flags.
71230 if test x"$with_gnu_ld" = x"yes"; then
71231 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
71237 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
71239 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
71241 $as_echo "#define HAVE_FPCLASS 1" >>confdefs.h
71243 # All of the dependencies for wide character support are here, so
71244 # turn it on.
71245 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
71247 # These two C99 functions are present only in Solaris >= 10
71248 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
71250 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
71252 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
71254 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
71256 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
71258 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
71261 *-tpf)
71262 SECTION_FLAGS='-ffunction-sections -fdata-sections'
71263 SECTION_LDFLAGS='-Wl,--gc-sections $SECTION_LDFLAGS'
71265 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
71267 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
71269 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
71271 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
71273 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
71275 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
71277 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
71279 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
71281 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
71283 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
71285 if test x"long_double_math_on_this_cpu" = x"yes"; then
71286 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
71288 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
71290 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
71292 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
71296 *-*vms*)
71297 # Check for available headers.
71298 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, VMS doesn't have a GNU ld
71300 ac_test_CXXFLAGS="${CXXFLAGS+set}"
71301 ac_save_CXXFLAGS="$CXXFLAGS"
71302 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
71304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
71305 $as_echo_n "checking for sin in -lm... " >&6; }
71306 if test "${ac_cv_lib_m_sin+set}" = set; then :
71307 $as_echo_n "(cached) " >&6
71308 else
71309 ac_check_lib_save_LIBS=$LIBS
71310 LIBS="-lm $LIBS"
71311 if test x$gcc_no_link = xyes; then
71312 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71315 /* end confdefs.h. */
71317 /* Override any GCC internal prototype to avoid an error.
71318 Use char because int might match the return type of a GCC
71319 builtin and then its argument prototype would still apply. */
71320 #ifdef __cplusplus
71321 extern "C"
71322 #endif
71323 char sin ();
71325 main ()
71327 return sin ();
71329 return 0;
71331 _ACEOF
71332 if ac_fn_c_try_link "$LINENO"; then :
71333 ac_cv_lib_m_sin=yes
71334 else
71335 ac_cv_lib_m_sin=no
71337 rm -f core conftest.err conftest.$ac_objext \
71338 conftest$ac_exeext conftest.$ac_ext
71339 LIBS=$ac_check_lib_save_LIBS
71341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
71342 $as_echo "$ac_cv_lib_m_sin" >&6; }
71343 if test "x$ac_cv_lib_m_sin" = x""yes; then :
71344 libm="-lm"
71347 ac_save_LIBS="$LIBS"
71348 LIBS="$LIBS $libm"
71352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
71353 $as_echo_n "checking for isinf declaration... " >&6; }
71354 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
71355 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
71356 $as_echo_n "(cached) " >&6
71357 else
71360 ac_ext=cpp
71361 ac_cpp='$CXXCPP $CPPFLAGS'
71362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71367 /* end confdefs.h. */
71368 #include <math.h>
71369 #ifdef HAVE_IEEEFP_H
71370 #include <ieeefp.h>
71371 #endif
71374 main ()
71376 isinf(0);
71378 return 0;
71380 _ACEOF
71381 if ac_fn_cxx_try_compile "$LINENO"; then :
71382 glibcxx_cv_func_isinf_use=yes
71383 else
71384 glibcxx_cv_func_isinf_use=no
71386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71387 ac_ext=c
71388 ac_cpp='$CPP $CPPFLAGS'
71389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
71398 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
71400 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
71401 for ac_func in isinf
71402 do :
71403 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
71404 if test "x$ac_cv_func_isinf" = x""yes; then :
71405 cat >>confdefs.h <<_ACEOF
71406 #define HAVE_ISINF 1
71407 _ACEOF
71410 done
71412 else
71414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
71415 $as_echo_n "checking for _isinf declaration... " >&6; }
71416 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
71417 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
71418 $as_echo_n "(cached) " >&6
71419 else
71422 ac_ext=cpp
71423 ac_cpp='$CXXCPP $CPPFLAGS'
71424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71429 /* end confdefs.h. */
71430 #include <math.h>
71431 #ifdef HAVE_IEEEFP_H
71432 #include <ieeefp.h>
71433 #endif
71436 main ()
71438 _isinf(0);
71440 return 0;
71442 _ACEOF
71443 if ac_fn_cxx_try_compile "$LINENO"; then :
71444 glibcxx_cv_func__isinf_use=yes
71445 else
71446 glibcxx_cv_func__isinf_use=no
71448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71449 ac_ext=c
71450 ac_cpp='$CPP $CPPFLAGS'
71451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
71460 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
71462 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
71463 for ac_func in _isinf
71464 do :
71465 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
71466 if test "x$ac_cv_func__isinf" = x""yes; then :
71467 cat >>confdefs.h <<_ACEOF
71468 #define HAVE__ISINF 1
71469 _ACEOF
71472 done
71481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
71482 $as_echo_n "checking for isnan declaration... " >&6; }
71483 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
71484 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
71485 $as_echo_n "(cached) " >&6
71486 else
71489 ac_ext=cpp
71490 ac_cpp='$CXXCPP $CPPFLAGS'
71491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71496 /* end confdefs.h. */
71497 #include <math.h>
71498 #ifdef HAVE_IEEEFP_H
71499 #include <ieeefp.h>
71500 #endif
71503 main ()
71505 isnan(0);
71507 return 0;
71509 _ACEOF
71510 if ac_fn_cxx_try_compile "$LINENO"; then :
71511 glibcxx_cv_func_isnan_use=yes
71512 else
71513 glibcxx_cv_func_isnan_use=no
71515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71516 ac_ext=c
71517 ac_cpp='$CPP $CPPFLAGS'
71518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
71527 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
71529 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
71530 for ac_func in isnan
71531 do :
71532 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
71533 if test "x$ac_cv_func_isnan" = x""yes; then :
71534 cat >>confdefs.h <<_ACEOF
71535 #define HAVE_ISNAN 1
71536 _ACEOF
71539 done
71541 else
71543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
71544 $as_echo_n "checking for _isnan declaration... " >&6; }
71545 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
71546 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
71547 $as_echo_n "(cached) " >&6
71548 else
71551 ac_ext=cpp
71552 ac_cpp='$CXXCPP $CPPFLAGS'
71553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71558 /* end confdefs.h. */
71559 #include <math.h>
71560 #ifdef HAVE_IEEEFP_H
71561 #include <ieeefp.h>
71562 #endif
71565 main ()
71567 _isnan(0);
71569 return 0;
71571 _ACEOF
71572 if ac_fn_cxx_try_compile "$LINENO"; then :
71573 glibcxx_cv_func__isnan_use=yes
71574 else
71575 glibcxx_cv_func__isnan_use=no
71577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71578 ac_ext=c
71579 ac_cpp='$CPP $CPPFLAGS'
71580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
71589 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
71591 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
71592 for ac_func in _isnan
71593 do :
71594 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
71595 if test "x$ac_cv_func__isnan" = x""yes; then :
71596 cat >>confdefs.h <<_ACEOF
71597 #define HAVE__ISNAN 1
71598 _ACEOF
71601 done
71610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
71611 $as_echo_n "checking for finite declaration... " >&6; }
71612 if test x${glibcxx_cv_func_finite_use+set} != xset; then
71613 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
71614 $as_echo_n "(cached) " >&6
71615 else
71618 ac_ext=cpp
71619 ac_cpp='$CXXCPP $CPPFLAGS'
71620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71625 /* end confdefs.h. */
71626 #include <math.h>
71627 #ifdef HAVE_IEEEFP_H
71628 #include <ieeefp.h>
71629 #endif
71632 main ()
71634 finite(0);
71636 return 0;
71638 _ACEOF
71639 if ac_fn_cxx_try_compile "$LINENO"; then :
71640 glibcxx_cv_func_finite_use=yes
71641 else
71642 glibcxx_cv_func_finite_use=no
71644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71645 ac_ext=c
71646 ac_cpp='$CPP $CPPFLAGS'
71647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
71656 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
71658 if test x$glibcxx_cv_func_finite_use = x"yes"; then
71659 for ac_func in finite
71660 do :
71661 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
71662 if test "x$ac_cv_func_finite" = x""yes; then :
71663 cat >>confdefs.h <<_ACEOF
71664 #define HAVE_FINITE 1
71665 _ACEOF
71668 done
71670 else
71672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
71673 $as_echo_n "checking for _finite declaration... " >&6; }
71674 if test x${glibcxx_cv_func__finite_use+set} != xset; then
71675 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
71676 $as_echo_n "(cached) " >&6
71677 else
71680 ac_ext=cpp
71681 ac_cpp='$CXXCPP $CPPFLAGS'
71682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71687 /* end confdefs.h. */
71688 #include <math.h>
71689 #ifdef HAVE_IEEEFP_H
71690 #include <ieeefp.h>
71691 #endif
71694 main ()
71696 _finite(0);
71698 return 0;
71700 _ACEOF
71701 if ac_fn_cxx_try_compile "$LINENO"; then :
71702 glibcxx_cv_func__finite_use=yes
71703 else
71704 glibcxx_cv_func__finite_use=no
71706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71707 ac_ext=c
71708 ac_cpp='$CPP $CPPFLAGS'
71709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
71718 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
71720 if test x$glibcxx_cv_func__finite_use = x"yes"; then
71721 for ac_func in _finite
71722 do :
71723 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
71724 if test "x$ac_cv_func__finite" = x""yes; then :
71725 cat >>confdefs.h <<_ACEOF
71726 #define HAVE__FINITE 1
71727 _ACEOF
71730 done
71739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
71740 $as_echo_n "checking for sincos declaration... " >&6; }
71741 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
71742 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
71743 $as_echo_n "(cached) " >&6
71744 else
71747 ac_ext=cpp
71748 ac_cpp='$CXXCPP $CPPFLAGS'
71749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71754 /* end confdefs.h. */
71755 #include <math.h>
71757 main ()
71759 sincos(0, 0, 0);
71761 return 0;
71763 _ACEOF
71764 if ac_fn_cxx_try_compile "$LINENO"; then :
71765 glibcxx_cv_func_sincos_use=yes
71766 else
71767 glibcxx_cv_func_sincos_use=no
71769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71770 ac_ext=c
71771 ac_cpp='$CPP $CPPFLAGS'
71772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
71781 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
71783 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
71784 for ac_func in sincos
71785 do :
71786 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
71787 if test "x$ac_cv_func_sincos" = x""yes; then :
71788 cat >>confdefs.h <<_ACEOF
71789 #define HAVE_SINCOS 1
71790 _ACEOF
71793 done
71795 else
71797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
71798 $as_echo_n "checking for _sincos declaration... " >&6; }
71799 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
71800 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
71801 $as_echo_n "(cached) " >&6
71802 else
71805 ac_ext=cpp
71806 ac_cpp='$CXXCPP $CPPFLAGS'
71807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71812 /* end confdefs.h. */
71813 #include <math.h>
71815 main ()
71817 _sincos(0, 0, 0);
71819 return 0;
71821 _ACEOF
71822 if ac_fn_cxx_try_compile "$LINENO"; then :
71823 glibcxx_cv_func__sincos_use=yes
71824 else
71825 glibcxx_cv_func__sincos_use=no
71827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71828 ac_ext=c
71829 ac_cpp='$CPP $CPPFLAGS'
71830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
71839 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
71841 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
71842 for ac_func in _sincos
71843 do :
71844 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
71845 if test "x$ac_cv_func__sincos" = x""yes; then :
71846 cat >>confdefs.h <<_ACEOF
71847 #define HAVE__SINCOS 1
71848 _ACEOF
71851 done
71860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
71861 $as_echo_n "checking for fpclass declaration... " >&6; }
71862 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
71863 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
71864 $as_echo_n "(cached) " >&6
71865 else
71868 ac_ext=cpp
71869 ac_cpp='$CXXCPP $CPPFLAGS'
71870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71875 /* end confdefs.h. */
71876 #include <math.h>
71877 #ifdef HAVE_IEEEFP_H
71878 #include <ieeefp.h>
71879 #endif
71882 main ()
71884 fpclass(0);
71886 return 0;
71888 _ACEOF
71889 if ac_fn_cxx_try_compile "$LINENO"; then :
71890 glibcxx_cv_func_fpclass_use=yes
71891 else
71892 glibcxx_cv_func_fpclass_use=no
71894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71895 ac_ext=c
71896 ac_cpp='$CPP $CPPFLAGS'
71897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
71906 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
71908 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
71909 for ac_func in fpclass
71910 do :
71911 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
71912 if test "x$ac_cv_func_fpclass" = x""yes; then :
71913 cat >>confdefs.h <<_ACEOF
71914 #define HAVE_FPCLASS 1
71915 _ACEOF
71918 done
71920 else
71922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
71923 $as_echo_n "checking for _fpclass declaration... " >&6; }
71924 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
71925 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
71926 $as_echo_n "(cached) " >&6
71927 else
71930 ac_ext=cpp
71931 ac_cpp='$CXXCPP $CPPFLAGS'
71932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71937 /* end confdefs.h. */
71938 #include <math.h>
71939 #ifdef HAVE_IEEEFP_H
71940 #include <ieeefp.h>
71941 #endif
71944 main ()
71946 _fpclass(0);
71948 return 0;
71950 _ACEOF
71951 if ac_fn_cxx_try_compile "$LINENO"; then :
71952 glibcxx_cv_func__fpclass_use=yes
71953 else
71954 glibcxx_cv_func__fpclass_use=no
71956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71957 ac_ext=c
71958 ac_cpp='$CPP $CPPFLAGS'
71959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
71968 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
71970 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
71971 for ac_func in _fpclass
71972 do :
71973 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
71974 if test "x$ac_cv_func__fpclass" = x""yes; then :
71975 cat >>confdefs.h <<_ACEOF
71976 #define HAVE__FPCLASS 1
71977 _ACEOF
71980 done
71989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
71990 $as_echo_n "checking for qfpclass declaration... " >&6; }
71991 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
71992 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
71993 $as_echo_n "(cached) " >&6
71994 else
71997 ac_ext=cpp
71998 ac_cpp='$CXXCPP $CPPFLAGS'
71999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72004 /* end confdefs.h. */
72005 #include <math.h>
72006 #ifdef HAVE_IEEEFP_H
72007 #include <ieeefp.h>
72008 #endif
72011 main ()
72013 qfpclass(0);
72015 return 0;
72017 _ACEOF
72018 if ac_fn_cxx_try_compile "$LINENO"; then :
72019 glibcxx_cv_func_qfpclass_use=yes
72020 else
72021 glibcxx_cv_func_qfpclass_use=no
72023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72024 ac_ext=c
72025 ac_cpp='$CPP $CPPFLAGS'
72026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
72035 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
72037 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
72038 for ac_func in qfpclass
72039 do :
72040 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
72041 if test "x$ac_cv_func_qfpclass" = x""yes; then :
72042 cat >>confdefs.h <<_ACEOF
72043 #define HAVE_QFPCLASS 1
72044 _ACEOF
72047 done
72049 else
72051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
72052 $as_echo_n "checking for _qfpclass declaration... " >&6; }
72053 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
72054 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
72055 $as_echo_n "(cached) " >&6
72056 else
72059 ac_ext=cpp
72060 ac_cpp='$CXXCPP $CPPFLAGS'
72061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72066 /* end confdefs.h. */
72067 #include <math.h>
72068 #ifdef HAVE_IEEEFP_H
72069 #include <ieeefp.h>
72070 #endif
72073 main ()
72075 _qfpclass(0);
72077 return 0;
72079 _ACEOF
72080 if ac_fn_cxx_try_compile "$LINENO"; then :
72081 glibcxx_cv_func__qfpclass_use=yes
72082 else
72083 glibcxx_cv_func__qfpclass_use=no
72085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72086 ac_ext=c
72087 ac_cpp='$CPP $CPPFLAGS'
72088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
72097 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
72099 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
72100 for ac_func in _qfpclass
72101 do :
72102 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
72103 if test "x$ac_cv_func__qfpclass" = x""yes; then :
72104 cat >>confdefs.h <<_ACEOF
72105 #define HAVE__QFPCLASS 1
72106 _ACEOF
72109 done
72118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
72119 $as_echo_n "checking for hypot declaration... " >&6; }
72120 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
72121 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
72122 $as_echo_n "(cached) " >&6
72123 else
72126 ac_ext=cpp
72127 ac_cpp='$CXXCPP $CPPFLAGS'
72128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72133 /* end confdefs.h. */
72134 #include <math.h>
72136 main ()
72138 hypot(0, 0);
72140 return 0;
72142 _ACEOF
72143 if ac_fn_cxx_try_compile "$LINENO"; then :
72144 glibcxx_cv_func_hypot_use=yes
72145 else
72146 glibcxx_cv_func_hypot_use=no
72148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72149 ac_ext=c
72150 ac_cpp='$CPP $CPPFLAGS'
72151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
72160 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
72162 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
72163 for ac_func in hypot
72164 do :
72165 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
72166 if test "x$ac_cv_func_hypot" = x""yes; then :
72167 cat >>confdefs.h <<_ACEOF
72168 #define HAVE_HYPOT 1
72169 _ACEOF
72172 done
72174 else
72176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
72177 $as_echo_n "checking for _hypot declaration... " >&6; }
72178 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
72179 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
72180 $as_echo_n "(cached) " >&6
72181 else
72184 ac_ext=cpp
72185 ac_cpp='$CXXCPP $CPPFLAGS'
72186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72191 /* end confdefs.h. */
72192 #include <math.h>
72194 main ()
72196 _hypot(0, 0);
72198 return 0;
72200 _ACEOF
72201 if ac_fn_cxx_try_compile "$LINENO"; then :
72202 glibcxx_cv_func__hypot_use=yes
72203 else
72204 glibcxx_cv_func__hypot_use=no
72206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72207 ac_ext=c
72208 ac_cpp='$CPP $CPPFLAGS'
72209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
72218 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
72220 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
72221 for ac_func in _hypot
72222 do :
72223 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
72224 if test "x$ac_cv_func__hypot" = x""yes; then :
72225 cat >>confdefs.h <<_ACEOF
72226 #define HAVE__HYPOT 1
72227 _ACEOF
72230 done
72239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
72240 $as_echo_n "checking for float trig functions... " >&6; }
72241 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
72242 $as_echo_n "(cached) " >&6
72243 else
72246 ac_ext=cpp
72247 ac_cpp='$CXXCPP $CPPFLAGS'
72248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72253 /* end confdefs.h. */
72254 #include <math.h>
72256 main ()
72258 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
72260 return 0;
72262 _ACEOF
72263 if ac_fn_cxx_try_compile "$LINENO"; then :
72264 glibcxx_cv_func_float_trig_use=yes
72265 else
72266 glibcxx_cv_func_float_trig_use=no
72268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72269 ac_ext=c
72270 ac_cpp='$CPP $CPPFLAGS'
72271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
72278 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
72279 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
72280 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
72281 do :
72282 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
72283 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
72284 eval as_val=\$$as_ac_var
72285 if test "x$as_val" = x""yes; then :
72286 cat >>confdefs.h <<_ACEOF
72287 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
72288 _ACEOF
72291 done
72293 else
72294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
72295 $as_echo_n "checking for _float trig functions... " >&6; }
72296 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
72297 $as_echo_n "(cached) " >&6
72298 else
72301 ac_ext=cpp
72302 ac_cpp='$CXXCPP $CPPFLAGS'
72303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72308 /* end confdefs.h. */
72309 #include <math.h>
72311 main ()
72313 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
72315 return 0;
72317 _ACEOF
72318 if ac_fn_cxx_try_compile "$LINENO"; then :
72319 glibcxx_cv_func__float_trig_use=yes
72320 else
72321 glibcxx_cv_func__float_trig_use=no
72323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72324 ac_ext=c
72325 ac_cpp='$CPP $CPPFLAGS'
72326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
72333 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
72334 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
72335 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
72336 do :
72337 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
72338 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
72339 eval as_val=\$$as_ac_var
72340 if test "x$as_val" = x""yes; then :
72341 cat >>confdefs.h <<_ACEOF
72342 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
72343 _ACEOF
72346 done
72355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
72356 $as_echo_n "checking for float round functions... " >&6; }
72357 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
72358 $as_echo_n "(cached) " >&6
72359 else
72362 ac_ext=cpp
72363 ac_cpp='$CXXCPP $CPPFLAGS'
72364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72369 /* end confdefs.h. */
72370 #include <math.h>
72372 main ()
72374 ceilf (0); floorf (0);
72376 return 0;
72378 _ACEOF
72379 if ac_fn_cxx_try_compile "$LINENO"; then :
72380 glibcxx_cv_func_float_round_use=yes
72381 else
72382 glibcxx_cv_func_float_round_use=no
72384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72385 ac_ext=c
72386 ac_cpp='$CPP $CPPFLAGS'
72387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
72394 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
72395 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
72396 for ac_func in ceilf floorf
72397 do :
72398 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
72399 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
72400 eval as_val=\$$as_ac_var
72401 if test "x$as_val" = x""yes; then :
72402 cat >>confdefs.h <<_ACEOF
72403 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
72404 _ACEOF
72407 done
72409 else
72410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
72411 $as_echo_n "checking for _float round functions... " >&6; }
72412 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
72413 $as_echo_n "(cached) " >&6
72414 else
72417 ac_ext=cpp
72418 ac_cpp='$CXXCPP $CPPFLAGS'
72419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72424 /* end confdefs.h. */
72425 #include <math.h>
72427 main ()
72429 _ceilf (0); _floorf (0);
72431 return 0;
72433 _ACEOF
72434 if ac_fn_cxx_try_compile "$LINENO"; then :
72435 glibcxx_cv_func__float_round_use=yes
72436 else
72437 glibcxx_cv_func__float_round_use=no
72439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72440 ac_ext=c
72441 ac_cpp='$CPP $CPPFLAGS'
72442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
72449 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
72450 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
72451 for ac_func in _ceilf _floorf
72452 do :
72453 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
72454 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
72455 eval as_val=\$$as_ac_var
72456 if test "x$as_val" = x""yes; then :
72457 cat >>confdefs.h <<_ACEOF
72458 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
72459 _ACEOF
72462 done
72472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
72473 $as_echo_n "checking for expf declaration... " >&6; }
72474 if test x${glibcxx_cv_func_expf_use+set} != xset; then
72475 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
72476 $as_echo_n "(cached) " >&6
72477 else
72480 ac_ext=cpp
72481 ac_cpp='$CXXCPP $CPPFLAGS'
72482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72487 /* end confdefs.h. */
72488 #include <math.h>
72489 #ifdef HAVE_IEEEFP_H
72490 #include <ieeefp.h>
72491 #endif
72494 main ()
72496 expf(0);
72498 return 0;
72500 _ACEOF
72501 if ac_fn_cxx_try_compile "$LINENO"; then :
72502 glibcxx_cv_func_expf_use=yes
72503 else
72504 glibcxx_cv_func_expf_use=no
72506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72507 ac_ext=c
72508 ac_cpp='$CPP $CPPFLAGS'
72509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
72518 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
72520 if test x$glibcxx_cv_func_expf_use = x"yes"; then
72521 for ac_func in expf
72522 do :
72523 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
72524 if test "x$ac_cv_func_expf" = x""yes; then :
72525 cat >>confdefs.h <<_ACEOF
72526 #define HAVE_EXPF 1
72527 _ACEOF
72530 done
72532 else
72534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
72535 $as_echo_n "checking for _expf declaration... " >&6; }
72536 if test x${glibcxx_cv_func__expf_use+set} != xset; then
72537 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
72538 $as_echo_n "(cached) " >&6
72539 else
72542 ac_ext=cpp
72543 ac_cpp='$CXXCPP $CPPFLAGS'
72544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72549 /* end confdefs.h. */
72550 #include <math.h>
72551 #ifdef HAVE_IEEEFP_H
72552 #include <ieeefp.h>
72553 #endif
72556 main ()
72558 _expf(0);
72560 return 0;
72562 _ACEOF
72563 if ac_fn_cxx_try_compile "$LINENO"; then :
72564 glibcxx_cv_func__expf_use=yes
72565 else
72566 glibcxx_cv_func__expf_use=no
72568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72569 ac_ext=c
72570 ac_cpp='$CPP $CPPFLAGS'
72571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
72580 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
72582 if test x$glibcxx_cv_func__expf_use = x"yes"; then
72583 for ac_func in _expf
72584 do :
72585 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
72586 if test "x$ac_cv_func__expf" = x""yes; then :
72587 cat >>confdefs.h <<_ACEOF
72588 #define HAVE__EXPF 1
72589 _ACEOF
72592 done
72601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
72602 $as_echo_n "checking for isnanf declaration... " >&6; }
72603 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
72604 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
72605 $as_echo_n "(cached) " >&6
72606 else
72609 ac_ext=cpp
72610 ac_cpp='$CXXCPP $CPPFLAGS'
72611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72616 /* end confdefs.h. */
72617 #include <math.h>
72618 #ifdef HAVE_IEEEFP_H
72619 #include <ieeefp.h>
72620 #endif
72623 main ()
72625 isnanf(0);
72627 return 0;
72629 _ACEOF
72630 if ac_fn_cxx_try_compile "$LINENO"; then :
72631 glibcxx_cv_func_isnanf_use=yes
72632 else
72633 glibcxx_cv_func_isnanf_use=no
72635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72636 ac_ext=c
72637 ac_cpp='$CPP $CPPFLAGS'
72638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
72647 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
72649 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
72650 for ac_func in isnanf
72651 do :
72652 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
72653 if test "x$ac_cv_func_isnanf" = x""yes; then :
72654 cat >>confdefs.h <<_ACEOF
72655 #define HAVE_ISNANF 1
72656 _ACEOF
72659 done
72661 else
72663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
72664 $as_echo_n "checking for _isnanf declaration... " >&6; }
72665 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
72666 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
72667 $as_echo_n "(cached) " >&6
72668 else
72671 ac_ext=cpp
72672 ac_cpp='$CXXCPP $CPPFLAGS'
72673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72678 /* end confdefs.h. */
72679 #include <math.h>
72680 #ifdef HAVE_IEEEFP_H
72681 #include <ieeefp.h>
72682 #endif
72685 main ()
72687 _isnanf(0);
72689 return 0;
72691 _ACEOF
72692 if ac_fn_cxx_try_compile "$LINENO"; then :
72693 glibcxx_cv_func__isnanf_use=yes
72694 else
72695 glibcxx_cv_func__isnanf_use=no
72697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72698 ac_ext=c
72699 ac_cpp='$CPP $CPPFLAGS'
72700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
72709 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
72711 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
72712 for ac_func in _isnanf
72713 do :
72714 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
72715 if test "x$ac_cv_func__isnanf" = x""yes; then :
72716 cat >>confdefs.h <<_ACEOF
72717 #define HAVE__ISNANF 1
72718 _ACEOF
72721 done
72730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
72731 $as_echo_n "checking for isinff declaration... " >&6; }
72732 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
72733 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
72734 $as_echo_n "(cached) " >&6
72735 else
72738 ac_ext=cpp
72739 ac_cpp='$CXXCPP $CPPFLAGS'
72740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72745 /* end confdefs.h. */
72746 #include <math.h>
72747 #ifdef HAVE_IEEEFP_H
72748 #include <ieeefp.h>
72749 #endif
72752 main ()
72754 isinff(0);
72756 return 0;
72758 _ACEOF
72759 if ac_fn_cxx_try_compile "$LINENO"; then :
72760 glibcxx_cv_func_isinff_use=yes
72761 else
72762 glibcxx_cv_func_isinff_use=no
72764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72765 ac_ext=c
72766 ac_cpp='$CPP $CPPFLAGS'
72767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
72776 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
72778 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
72779 for ac_func in isinff
72780 do :
72781 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
72782 if test "x$ac_cv_func_isinff" = x""yes; then :
72783 cat >>confdefs.h <<_ACEOF
72784 #define HAVE_ISINFF 1
72785 _ACEOF
72788 done
72790 else
72792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
72793 $as_echo_n "checking for _isinff declaration... " >&6; }
72794 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
72795 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
72796 $as_echo_n "(cached) " >&6
72797 else
72800 ac_ext=cpp
72801 ac_cpp='$CXXCPP $CPPFLAGS'
72802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72807 /* end confdefs.h. */
72808 #include <math.h>
72809 #ifdef HAVE_IEEEFP_H
72810 #include <ieeefp.h>
72811 #endif
72814 main ()
72816 _isinff(0);
72818 return 0;
72820 _ACEOF
72821 if ac_fn_cxx_try_compile "$LINENO"; then :
72822 glibcxx_cv_func__isinff_use=yes
72823 else
72824 glibcxx_cv_func__isinff_use=no
72826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72827 ac_ext=c
72828 ac_cpp='$CPP $CPPFLAGS'
72829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
72838 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
72840 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
72841 for ac_func in _isinff
72842 do :
72843 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
72844 if test "x$ac_cv_func__isinff" = x""yes; then :
72845 cat >>confdefs.h <<_ACEOF
72846 #define HAVE__ISINFF 1
72847 _ACEOF
72850 done
72859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
72860 $as_echo_n "checking for atan2f declaration... " >&6; }
72861 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
72862 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
72863 $as_echo_n "(cached) " >&6
72864 else
72867 ac_ext=cpp
72868 ac_cpp='$CXXCPP $CPPFLAGS'
72869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72874 /* end confdefs.h. */
72875 #include <math.h>
72877 main ()
72879 atan2f(0, 0);
72881 return 0;
72883 _ACEOF
72884 if ac_fn_cxx_try_compile "$LINENO"; then :
72885 glibcxx_cv_func_atan2f_use=yes
72886 else
72887 glibcxx_cv_func_atan2f_use=no
72889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72890 ac_ext=c
72891 ac_cpp='$CPP $CPPFLAGS'
72892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
72901 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
72903 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
72904 for ac_func in atan2f
72905 do :
72906 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
72907 if test "x$ac_cv_func_atan2f" = x""yes; then :
72908 cat >>confdefs.h <<_ACEOF
72909 #define HAVE_ATAN2F 1
72910 _ACEOF
72913 done
72915 else
72917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
72918 $as_echo_n "checking for _atan2f declaration... " >&6; }
72919 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
72920 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
72921 $as_echo_n "(cached) " >&6
72922 else
72925 ac_ext=cpp
72926 ac_cpp='$CXXCPP $CPPFLAGS'
72927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72932 /* end confdefs.h. */
72933 #include <math.h>
72935 main ()
72937 _atan2f(0, 0);
72939 return 0;
72941 _ACEOF
72942 if ac_fn_cxx_try_compile "$LINENO"; then :
72943 glibcxx_cv_func__atan2f_use=yes
72944 else
72945 glibcxx_cv_func__atan2f_use=no
72947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72948 ac_ext=c
72949 ac_cpp='$CPP $CPPFLAGS'
72950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
72959 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
72961 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
72962 for ac_func in _atan2f
72963 do :
72964 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
72965 if test "x$ac_cv_func__atan2f" = x""yes; then :
72966 cat >>confdefs.h <<_ACEOF
72967 #define HAVE__ATAN2F 1
72968 _ACEOF
72971 done
72980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
72981 $as_echo_n "checking for fabsf declaration... " >&6; }
72982 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
72983 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
72984 $as_echo_n "(cached) " >&6
72985 else
72988 ac_ext=cpp
72989 ac_cpp='$CXXCPP $CPPFLAGS'
72990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72995 /* end confdefs.h. */
72996 #include <math.h>
72997 #ifdef HAVE_IEEEFP_H
72998 #include <ieeefp.h>
72999 #endif
73002 main ()
73004 fabsf(0);
73006 return 0;
73008 _ACEOF
73009 if ac_fn_cxx_try_compile "$LINENO"; then :
73010 glibcxx_cv_func_fabsf_use=yes
73011 else
73012 glibcxx_cv_func_fabsf_use=no
73014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73015 ac_ext=c
73016 ac_cpp='$CPP $CPPFLAGS'
73017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
73026 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
73028 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
73029 for ac_func in fabsf
73030 do :
73031 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
73032 if test "x$ac_cv_func_fabsf" = x""yes; then :
73033 cat >>confdefs.h <<_ACEOF
73034 #define HAVE_FABSF 1
73035 _ACEOF
73038 done
73040 else
73042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
73043 $as_echo_n "checking for _fabsf declaration... " >&6; }
73044 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
73045 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
73046 $as_echo_n "(cached) " >&6
73047 else
73050 ac_ext=cpp
73051 ac_cpp='$CXXCPP $CPPFLAGS'
73052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73057 /* end confdefs.h. */
73058 #include <math.h>
73059 #ifdef HAVE_IEEEFP_H
73060 #include <ieeefp.h>
73061 #endif
73064 main ()
73066 _fabsf(0);
73068 return 0;
73070 _ACEOF
73071 if ac_fn_cxx_try_compile "$LINENO"; then :
73072 glibcxx_cv_func__fabsf_use=yes
73073 else
73074 glibcxx_cv_func__fabsf_use=no
73076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73077 ac_ext=c
73078 ac_cpp='$CPP $CPPFLAGS'
73079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
73088 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
73090 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
73091 for ac_func in _fabsf
73092 do :
73093 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
73094 if test "x$ac_cv_func__fabsf" = x""yes; then :
73095 cat >>confdefs.h <<_ACEOF
73096 #define HAVE__FABSF 1
73097 _ACEOF
73100 done
73109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
73110 $as_echo_n "checking for fmodf declaration... " >&6; }
73111 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
73112 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
73113 $as_echo_n "(cached) " >&6
73114 else
73117 ac_ext=cpp
73118 ac_cpp='$CXXCPP $CPPFLAGS'
73119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73124 /* end confdefs.h. */
73125 #include <math.h>
73127 main ()
73129 fmodf(0, 0);
73131 return 0;
73133 _ACEOF
73134 if ac_fn_cxx_try_compile "$LINENO"; then :
73135 glibcxx_cv_func_fmodf_use=yes
73136 else
73137 glibcxx_cv_func_fmodf_use=no
73139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73140 ac_ext=c
73141 ac_cpp='$CPP $CPPFLAGS'
73142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
73151 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
73153 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
73154 for ac_func in fmodf
73155 do :
73156 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
73157 if test "x$ac_cv_func_fmodf" = x""yes; then :
73158 cat >>confdefs.h <<_ACEOF
73159 #define HAVE_FMODF 1
73160 _ACEOF
73163 done
73165 else
73167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
73168 $as_echo_n "checking for _fmodf declaration... " >&6; }
73169 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
73170 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
73171 $as_echo_n "(cached) " >&6
73172 else
73175 ac_ext=cpp
73176 ac_cpp='$CXXCPP $CPPFLAGS'
73177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73182 /* end confdefs.h. */
73183 #include <math.h>
73185 main ()
73187 _fmodf(0, 0);
73189 return 0;
73191 _ACEOF
73192 if ac_fn_cxx_try_compile "$LINENO"; then :
73193 glibcxx_cv_func__fmodf_use=yes
73194 else
73195 glibcxx_cv_func__fmodf_use=no
73197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73198 ac_ext=c
73199 ac_cpp='$CPP $CPPFLAGS'
73200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
73209 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
73211 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
73212 for ac_func in _fmodf
73213 do :
73214 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
73215 if test "x$ac_cv_func__fmodf" = x""yes; then :
73216 cat >>confdefs.h <<_ACEOF
73217 #define HAVE__FMODF 1
73218 _ACEOF
73221 done
73230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
73231 $as_echo_n "checking for frexpf declaration... " >&6; }
73232 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
73233 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
73234 $as_echo_n "(cached) " >&6
73235 else
73238 ac_ext=cpp
73239 ac_cpp='$CXXCPP $CPPFLAGS'
73240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73245 /* end confdefs.h. */
73246 #include <math.h>
73248 main ()
73250 frexpf(0, 0);
73252 return 0;
73254 _ACEOF
73255 if ac_fn_cxx_try_compile "$LINENO"; then :
73256 glibcxx_cv_func_frexpf_use=yes
73257 else
73258 glibcxx_cv_func_frexpf_use=no
73260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73261 ac_ext=c
73262 ac_cpp='$CPP $CPPFLAGS'
73263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
73272 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
73274 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
73275 for ac_func in frexpf
73276 do :
73277 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
73278 if test "x$ac_cv_func_frexpf" = x""yes; then :
73279 cat >>confdefs.h <<_ACEOF
73280 #define HAVE_FREXPF 1
73281 _ACEOF
73284 done
73286 else
73288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
73289 $as_echo_n "checking for _frexpf declaration... " >&6; }
73290 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
73291 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
73292 $as_echo_n "(cached) " >&6
73293 else
73296 ac_ext=cpp
73297 ac_cpp='$CXXCPP $CPPFLAGS'
73298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73303 /* end confdefs.h. */
73304 #include <math.h>
73306 main ()
73308 _frexpf(0, 0);
73310 return 0;
73312 _ACEOF
73313 if ac_fn_cxx_try_compile "$LINENO"; then :
73314 glibcxx_cv_func__frexpf_use=yes
73315 else
73316 glibcxx_cv_func__frexpf_use=no
73318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73319 ac_ext=c
73320 ac_cpp='$CPP $CPPFLAGS'
73321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
73330 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
73332 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
73333 for ac_func in _frexpf
73334 do :
73335 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
73336 if test "x$ac_cv_func__frexpf" = x""yes; then :
73337 cat >>confdefs.h <<_ACEOF
73338 #define HAVE__FREXPF 1
73339 _ACEOF
73342 done
73351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
73352 $as_echo_n "checking for hypotf declaration... " >&6; }
73353 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
73354 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
73355 $as_echo_n "(cached) " >&6
73356 else
73359 ac_ext=cpp
73360 ac_cpp='$CXXCPP $CPPFLAGS'
73361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73366 /* end confdefs.h. */
73367 #include <math.h>
73369 main ()
73371 hypotf(0, 0);
73373 return 0;
73375 _ACEOF
73376 if ac_fn_cxx_try_compile "$LINENO"; then :
73377 glibcxx_cv_func_hypotf_use=yes
73378 else
73379 glibcxx_cv_func_hypotf_use=no
73381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73382 ac_ext=c
73383 ac_cpp='$CPP $CPPFLAGS'
73384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
73393 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
73395 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
73396 for ac_func in hypotf
73397 do :
73398 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
73399 if test "x$ac_cv_func_hypotf" = x""yes; then :
73400 cat >>confdefs.h <<_ACEOF
73401 #define HAVE_HYPOTF 1
73402 _ACEOF
73405 done
73407 else
73409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
73410 $as_echo_n "checking for _hypotf declaration... " >&6; }
73411 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
73412 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
73413 $as_echo_n "(cached) " >&6
73414 else
73417 ac_ext=cpp
73418 ac_cpp='$CXXCPP $CPPFLAGS'
73419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73424 /* end confdefs.h. */
73425 #include <math.h>
73427 main ()
73429 _hypotf(0, 0);
73431 return 0;
73433 _ACEOF
73434 if ac_fn_cxx_try_compile "$LINENO"; then :
73435 glibcxx_cv_func__hypotf_use=yes
73436 else
73437 glibcxx_cv_func__hypotf_use=no
73439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73440 ac_ext=c
73441 ac_cpp='$CPP $CPPFLAGS'
73442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
73451 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
73453 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
73454 for ac_func in _hypotf
73455 do :
73456 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
73457 if test "x$ac_cv_func__hypotf" = x""yes; then :
73458 cat >>confdefs.h <<_ACEOF
73459 #define HAVE__HYPOTF 1
73460 _ACEOF
73463 done
73472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
73473 $as_echo_n "checking for ldexpf declaration... " >&6; }
73474 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
73475 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
73476 $as_echo_n "(cached) " >&6
73477 else
73480 ac_ext=cpp
73481 ac_cpp='$CXXCPP $CPPFLAGS'
73482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73487 /* end confdefs.h. */
73488 #include <math.h>
73490 main ()
73492 ldexpf(0, 0);
73494 return 0;
73496 _ACEOF
73497 if ac_fn_cxx_try_compile "$LINENO"; then :
73498 glibcxx_cv_func_ldexpf_use=yes
73499 else
73500 glibcxx_cv_func_ldexpf_use=no
73502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73503 ac_ext=c
73504 ac_cpp='$CPP $CPPFLAGS'
73505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
73514 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
73516 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
73517 for ac_func in ldexpf
73518 do :
73519 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
73520 if test "x$ac_cv_func_ldexpf" = x""yes; then :
73521 cat >>confdefs.h <<_ACEOF
73522 #define HAVE_LDEXPF 1
73523 _ACEOF
73526 done
73528 else
73530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
73531 $as_echo_n "checking for _ldexpf declaration... " >&6; }
73532 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
73533 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
73534 $as_echo_n "(cached) " >&6
73535 else
73538 ac_ext=cpp
73539 ac_cpp='$CXXCPP $CPPFLAGS'
73540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73545 /* end confdefs.h. */
73546 #include <math.h>
73548 main ()
73550 _ldexpf(0, 0);
73552 return 0;
73554 _ACEOF
73555 if ac_fn_cxx_try_compile "$LINENO"; then :
73556 glibcxx_cv_func__ldexpf_use=yes
73557 else
73558 glibcxx_cv_func__ldexpf_use=no
73560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73561 ac_ext=c
73562 ac_cpp='$CPP $CPPFLAGS'
73563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
73572 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
73574 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
73575 for ac_func in _ldexpf
73576 do :
73577 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
73578 if test "x$ac_cv_func__ldexpf" = x""yes; then :
73579 cat >>confdefs.h <<_ACEOF
73580 #define HAVE__LDEXPF 1
73581 _ACEOF
73584 done
73593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
73594 $as_echo_n "checking for logf declaration... " >&6; }
73595 if test x${glibcxx_cv_func_logf_use+set} != xset; then
73596 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
73597 $as_echo_n "(cached) " >&6
73598 else
73601 ac_ext=cpp
73602 ac_cpp='$CXXCPP $CPPFLAGS'
73603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73608 /* end confdefs.h. */
73609 #include <math.h>
73610 #ifdef HAVE_IEEEFP_H
73611 #include <ieeefp.h>
73612 #endif
73615 main ()
73617 logf(0);
73619 return 0;
73621 _ACEOF
73622 if ac_fn_cxx_try_compile "$LINENO"; then :
73623 glibcxx_cv_func_logf_use=yes
73624 else
73625 glibcxx_cv_func_logf_use=no
73627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73628 ac_ext=c
73629 ac_cpp='$CPP $CPPFLAGS'
73630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
73639 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
73641 if test x$glibcxx_cv_func_logf_use = x"yes"; then
73642 for ac_func in logf
73643 do :
73644 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
73645 if test "x$ac_cv_func_logf" = x""yes; then :
73646 cat >>confdefs.h <<_ACEOF
73647 #define HAVE_LOGF 1
73648 _ACEOF
73651 done
73653 else
73655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
73656 $as_echo_n "checking for _logf declaration... " >&6; }
73657 if test x${glibcxx_cv_func__logf_use+set} != xset; then
73658 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
73659 $as_echo_n "(cached) " >&6
73660 else
73663 ac_ext=cpp
73664 ac_cpp='$CXXCPP $CPPFLAGS'
73665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73670 /* end confdefs.h. */
73671 #include <math.h>
73672 #ifdef HAVE_IEEEFP_H
73673 #include <ieeefp.h>
73674 #endif
73677 main ()
73679 _logf(0);
73681 return 0;
73683 _ACEOF
73684 if ac_fn_cxx_try_compile "$LINENO"; then :
73685 glibcxx_cv_func__logf_use=yes
73686 else
73687 glibcxx_cv_func__logf_use=no
73689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73690 ac_ext=c
73691 ac_cpp='$CPP $CPPFLAGS'
73692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
73701 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
73703 if test x$glibcxx_cv_func__logf_use = x"yes"; then
73704 for ac_func in _logf
73705 do :
73706 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
73707 if test "x$ac_cv_func__logf" = x""yes; then :
73708 cat >>confdefs.h <<_ACEOF
73709 #define HAVE__LOGF 1
73710 _ACEOF
73713 done
73722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
73723 $as_echo_n "checking for log10f declaration... " >&6; }
73724 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
73725 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
73726 $as_echo_n "(cached) " >&6
73727 else
73730 ac_ext=cpp
73731 ac_cpp='$CXXCPP $CPPFLAGS'
73732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73737 /* end confdefs.h. */
73738 #include <math.h>
73739 #ifdef HAVE_IEEEFP_H
73740 #include <ieeefp.h>
73741 #endif
73744 main ()
73746 log10f(0);
73748 return 0;
73750 _ACEOF
73751 if ac_fn_cxx_try_compile "$LINENO"; then :
73752 glibcxx_cv_func_log10f_use=yes
73753 else
73754 glibcxx_cv_func_log10f_use=no
73756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73757 ac_ext=c
73758 ac_cpp='$CPP $CPPFLAGS'
73759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
73768 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
73770 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
73771 for ac_func in log10f
73772 do :
73773 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
73774 if test "x$ac_cv_func_log10f" = x""yes; then :
73775 cat >>confdefs.h <<_ACEOF
73776 #define HAVE_LOG10F 1
73777 _ACEOF
73780 done
73782 else
73784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
73785 $as_echo_n "checking for _log10f declaration... " >&6; }
73786 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
73787 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
73788 $as_echo_n "(cached) " >&6
73789 else
73792 ac_ext=cpp
73793 ac_cpp='$CXXCPP $CPPFLAGS'
73794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73799 /* end confdefs.h. */
73800 #include <math.h>
73801 #ifdef HAVE_IEEEFP_H
73802 #include <ieeefp.h>
73803 #endif
73806 main ()
73808 _log10f(0);
73810 return 0;
73812 _ACEOF
73813 if ac_fn_cxx_try_compile "$LINENO"; then :
73814 glibcxx_cv_func__log10f_use=yes
73815 else
73816 glibcxx_cv_func__log10f_use=no
73818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73819 ac_ext=c
73820 ac_cpp='$CPP $CPPFLAGS'
73821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
73830 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
73832 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
73833 for ac_func in _log10f
73834 do :
73835 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
73836 if test "x$ac_cv_func__log10f" = x""yes; then :
73837 cat >>confdefs.h <<_ACEOF
73838 #define HAVE__LOG10F 1
73839 _ACEOF
73842 done
73851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
73852 $as_echo_n "checking for modff declaration... " >&6; }
73853 if test x${glibcxx_cv_func_modff_use+set} != xset; then
73854 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
73855 $as_echo_n "(cached) " >&6
73856 else
73859 ac_ext=cpp
73860 ac_cpp='$CXXCPP $CPPFLAGS'
73861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73866 /* end confdefs.h. */
73867 #include <math.h>
73869 main ()
73871 modff(0, 0);
73873 return 0;
73875 _ACEOF
73876 if ac_fn_cxx_try_compile "$LINENO"; then :
73877 glibcxx_cv_func_modff_use=yes
73878 else
73879 glibcxx_cv_func_modff_use=no
73881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73882 ac_ext=c
73883 ac_cpp='$CPP $CPPFLAGS'
73884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
73893 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
73895 if test x$glibcxx_cv_func_modff_use = x"yes"; then
73896 for ac_func in modff
73897 do :
73898 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
73899 if test "x$ac_cv_func_modff" = x""yes; then :
73900 cat >>confdefs.h <<_ACEOF
73901 #define HAVE_MODFF 1
73902 _ACEOF
73905 done
73907 else
73909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
73910 $as_echo_n "checking for _modff declaration... " >&6; }
73911 if test x${glibcxx_cv_func__modff_use+set} != xset; then
73912 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
73913 $as_echo_n "(cached) " >&6
73914 else
73917 ac_ext=cpp
73918 ac_cpp='$CXXCPP $CPPFLAGS'
73919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73924 /* end confdefs.h. */
73925 #include <math.h>
73927 main ()
73929 _modff(0, 0);
73931 return 0;
73933 _ACEOF
73934 if ac_fn_cxx_try_compile "$LINENO"; then :
73935 glibcxx_cv_func__modff_use=yes
73936 else
73937 glibcxx_cv_func__modff_use=no
73939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73940 ac_ext=c
73941 ac_cpp='$CPP $CPPFLAGS'
73942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
73951 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
73953 if test x$glibcxx_cv_func__modff_use = x"yes"; then
73954 for ac_func in _modff
73955 do :
73956 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
73957 if test "x$ac_cv_func__modff" = x""yes; then :
73958 cat >>confdefs.h <<_ACEOF
73959 #define HAVE__MODFF 1
73960 _ACEOF
73963 done
73972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
73973 $as_echo_n "checking for modf declaration... " >&6; }
73974 if test x${glibcxx_cv_func_modf_use+set} != xset; then
73975 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
73976 $as_echo_n "(cached) " >&6
73977 else
73980 ac_ext=cpp
73981 ac_cpp='$CXXCPP $CPPFLAGS'
73982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73987 /* end confdefs.h. */
73988 #include <math.h>
73990 main ()
73992 modf(0, 0);
73994 return 0;
73996 _ACEOF
73997 if ac_fn_cxx_try_compile "$LINENO"; then :
73998 glibcxx_cv_func_modf_use=yes
73999 else
74000 glibcxx_cv_func_modf_use=no
74002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74003 ac_ext=c
74004 ac_cpp='$CPP $CPPFLAGS'
74005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
74014 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
74016 if test x$glibcxx_cv_func_modf_use = x"yes"; then
74017 for ac_func in modf
74018 do :
74019 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
74020 if test "x$ac_cv_func_modf" = x""yes; then :
74021 cat >>confdefs.h <<_ACEOF
74022 #define HAVE_MODF 1
74023 _ACEOF
74026 done
74028 else
74030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
74031 $as_echo_n "checking for _modf declaration... " >&6; }
74032 if test x${glibcxx_cv_func__modf_use+set} != xset; then
74033 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
74034 $as_echo_n "(cached) " >&6
74035 else
74038 ac_ext=cpp
74039 ac_cpp='$CXXCPP $CPPFLAGS'
74040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74045 /* end confdefs.h. */
74046 #include <math.h>
74048 main ()
74050 _modf(0, 0);
74052 return 0;
74054 _ACEOF
74055 if ac_fn_cxx_try_compile "$LINENO"; then :
74056 glibcxx_cv_func__modf_use=yes
74057 else
74058 glibcxx_cv_func__modf_use=no
74060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74061 ac_ext=c
74062 ac_cpp='$CPP $CPPFLAGS'
74063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
74072 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
74074 if test x$glibcxx_cv_func__modf_use = x"yes"; then
74075 for ac_func in _modf
74076 do :
74077 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
74078 if test "x$ac_cv_func__modf" = x""yes; then :
74079 cat >>confdefs.h <<_ACEOF
74080 #define HAVE__MODF 1
74081 _ACEOF
74084 done
74093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
74094 $as_echo_n "checking for powf declaration... " >&6; }
74095 if test x${glibcxx_cv_func_powf_use+set} != xset; then
74096 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
74097 $as_echo_n "(cached) " >&6
74098 else
74101 ac_ext=cpp
74102 ac_cpp='$CXXCPP $CPPFLAGS'
74103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74108 /* end confdefs.h. */
74109 #include <math.h>
74111 main ()
74113 powf(0, 0);
74115 return 0;
74117 _ACEOF
74118 if ac_fn_cxx_try_compile "$LINENO"; then :
74119 glibcxx_cv_func_powf_use=yes
74120 else
74121 glibcxx_cv_func_powf_use=no
74123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74124 ac_ext=c
74125 ac_cpp='$CPP $CPPFLAGS'
74126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
74135 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
74137 if test x$glibcxx_cv_func_powf_use = x"yes"; then
74138 for ac_func in powf
74139 do :
74140 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
74141 if test "x$ac_cv_func_powf" = x""yes; then :
74142 cat >>confdefs.h <<_ACEOF
74143 #define HAVE_POWF 1
74144 _ACEOF
74147 done
74149 else
74151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
74152 $as_echo_n "checking for _powf declaration... " >&6; }
74153 if test x${glibcxx_cv_func__powf_use+set} != xset; then
74154 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
74155 $as_echo_n "(cached) " >&6
74156 else
74159 ac_ext=cpp
74160 ac_cpp='$CXXCPP $CPPFLAGS'
74161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74166 /* end confdefs.h. */
74167 #include <math.h>
74169 main ()
74171 _powf(0, 0);
74173 return 0;
74175 _ACEOF
74176 if ac_fn_cxx_try_compile "$LINENO"; then :
74177 glibcxx_cv_func__powf_use=yes
74178 else
74179 glibcxx_cv_func__powf_use=no
74181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74182 ac_ext=c
74183 ac_cpp='$CPP $CPPFLAGS'
74184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
74193 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
74195 if test x$glibcxx_cv_func__powf_use = x"yes"; then
74196 for ac_func in _powf
74197 do :
74198 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
74199 if test "x$ac_cv_func__powf" = x""yes; then :
74200 cat >>confdefs.h <<_ACEOF
74201 #define HAVE__POWF 1
74202 _ACEOF
74205 done
74214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
74215 $as_echo_n "checking for sqrtf declaration... " >&6; }
74216 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
74217 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
74218 $as_echo_n "(cached) " >&6
74219 else
74222 ac_ext=cpp
74223 ac_cpp='$CXXCPP $CPPFLAGS'
74224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74229 /* end confdefs.h. */
74230 #include <math.h>
74231 #ifdef HAVE_IEEEFP_H
74232 #include <ieeefp.h>
74233 #endif
74236 main ()
74238 sqrtf(0);
74240 return 0;
74242 _ACEOF
74243 if ac_fn_cxx_try_compile "$LINENO"; then :
74244 glibcxx_cv_func_sqrtf_use=yes
74245 else
74246 glibcxx_cv_func_sqrtf_use=no
74248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74249 ac_ext=c
74250 ac_cpp='$CPP $CPPFLAGS'
74251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
74260 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
74262 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
74263 for ac_func in sqrtf
74264 do :
74265 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
74266 if test "x$ac_cv_func_sqrtf" = x""yes; then :
74267 cat >>confdefs.h <<_ACEOF
74268 #define HAVE_SQRTF 1
74269 _ACEOF
74272 done
74274 else
74276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
74277 $as_echo_n "checking for _sqrtf declaration... " >&6; }
74278 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
74279 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
74280 $as_echo_n "(cached) " >&6
74281 else
74284 ac_ext=cpp
74285 ac_cpp='$CXXCPP $CPPFLAGS'
74286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74291 /* end confdefs.h. */
74292 #include <math.h>
74293 #ifdef HAVE_IEEEFP_H
74294 #include <ieeefp.h>
74295 #endif
74298 main ()
74300 _sqrtf(0);
74302 return 0;
74304 _ACEOF
74305 if ac_fn_cxx_try_compile "$LINENO"; then :
74306 glibcxx_cv_func__sqrtf_use=yes
74307 else
74308 glibcxx_cv_func__sqrtf_use=no
74310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74311 ac_ext=c
74312 ac_cpp='$CPP $CPPFLAGS'
74313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
74322 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
74324 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
74325 for ac_func in _sqrtf
74326 do :
74327 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
74328 if test "x$ac_cv_func__sqrtf" = x""yes; then :
74329 cat >>confdefs.h <<_ACEOF
74330 #define HAVE__SQRTF 1
74331 _ACEOF
74334 done
74343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
74344 $as_echo_n "checking for sincosf declaration... " >&6; }
74345 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
74346 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
74347 $as_echo_n "(cached) " >&6
74348 else
74351 ac_ext=cpp
74352 ac_cpp='$CXXCPP $CPPFLAGS'
74353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74358 /* end confdefs.h. */
74359 #include <math.h>
74361 main ()
74363 sincosf(0, 0, 0);
74365 return 0;
74367 _ACEOF
74368 if ac_fn_cxx_try_compile "$LINENO"; then :
74369 glibcxx_cv_func_sincosf_use=yes
74370 else
74371 glibcxx_cv_func_sincosf_use=no
74373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74374 ac_ext=c
74375 ac_cpp='$CPP $CPPFLAGS'
74376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
74385 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
74387 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
74388 for ac_func in sincosf
74389 do :
74390 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
74391 if test "x$ac_cv_func_sincosf" = x""yes; then :
74392 cat >>confdefs.h <<_ACEOF
74393 #define HAVE_SINCOSF 1
74394 _ACEOF
74397 done
74399 else
74401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
74402 $as_echo_n "checking for _sincosf declaration... " >&6; }
74403 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
74404 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
74405 $as_echo_n "(cached) " >&6
74406 else
74409 ac_ext=cpp
74410 ac_cpp='$CXXCPP $CPPFLAGS'
74411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74416 /* end confdefs.h. */
74417 #include <math.h>
74419 main ()
74421 _sincosf(0, 0, 0);
74423 return 0;
74425 _ACEOF
74426 if ac_fn_cxx_try_compile "$LINENO"; then :
74427 glibcxx_cv_func__sincosf_use=yes
74428 else
74429 glibcxx_cv_func__sincosf_use=no
74431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74432 ac_ext=c
74433 ac_cpp='$CPP $CPPFLAGS'
74434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
74443 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
74445 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
74446 for ac_func in _sincosf
74447 do :
74448 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
74449 if test "x$ac_cv_func__sincosf" = x""yes; then :
74450 cat >>confdefs.h <<_ACEOF
74451 #define HAVE__SINCOSF 1
74452 _ACEOF
74455 done
74464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
74465 $as_echo_n "checking for finitef declaration... " >&6; }
74466 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
74467 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
74468 $as_echo_n "(cached) " >&6
74469 else
74472 ac_ext=cpp
74473 ac_cpp='$CXXCPP $CPPFLAGS'
74474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74479 /* end confdefs.h. */
74480 #include <math.h>
74481 #ifdef HAVE_IEEEFP_H
74482 #include <ieeefp.h>
74483 #endif
74486 main ()
74488 finitef(0);
74490 return 0;
74492 _ACEOF
74493 if ac_fn_cxx_try_compile "$LINENO"; then :
74494 glibcxx_cv_func_finitef_use=yes
74495 else
74496 glibcxx_cv_func_finitef_use=no
74498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74499 ac_ext=c
74500 ac_cpp='$CPP $CPPFLAGS'
74501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
74510 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
74512 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
74513 for ac_func in finitef
74514 do :
74515 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
74516 if test "x$ac_cv_func_finitef" = x""yes; then :
74517 cat >>confdefs.h <<_ACEOF
74518 #define HAVE_FINITEF 1
74519 _ACEOF
74522 done
74524 else
74526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
74527 $as_echo_n "checking for _finitef declaration... " >&6; }
74528 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
74529 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
74530 $as_echo_n "(cached) " >&6
74531 else
74534 ac_ext=cpp
74535 ac_cpp='$CXXCPP $CPPFLAGS'
74536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74541 /* end confdefs.h. */
74542 #include <math.h>
74543 #ifdef HAVE_IEEEFP_H
74544 #include <ieeefp.h>
74545 #endif
74548 main ()
74550 _finitef(0);
74552 return 0;
74554 _ACEOF
74555 if ac_fn_cxx_try_compile "$LINENO"; then :
74556 glibcxx_cv_func__finitef_use=yes
74557 else
74558 glibcxx_cv_func__finitef_use=no
74560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74561 ac_ext=c
74562 ac_cpp='$CPP $CPPFLAGS'
74563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
74572 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
74574 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
74575 for ac_func in _finitef
74576 do :
74577 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
74578 if test "x$ac_cv_func__finitef" = x""yes; then :
74579 cat >>confdefs.h <<_ACEOF
74580 #define HAVE__FINITEF 1
74581 _ACEOF
74584 done
74593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
74594 $as_echo_n "checking for long double trig functions... " >&6; }
74595 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
74596 $as_echo_n "(cached) " >&6
74597 else
74600 ac_ext=cpp
74601 ac_cpp='$CXXCPP $CPPFLAGS'
74602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74607 /* end confdefs.h. */
74608 #include <math.h>
74610 main ()
74612 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
74614 return 0;
74616 _ACEOF
74617 if ac_fn_cxx_try_compile "$LINENO"; then :
74618 glibcxx_cv_func_long_double_trig_use=yes
74619 else
74620 glibcxx_cv_func_long_double_trig_use=no
74622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74623 ac_ext=c
74624 ac_cpp='$CPP $CPPFLAGS'
74625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
74632 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
74633 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
74634 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
74635 do :
74636 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
74637 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
74638 eval as_val=\$$as_ac_var
74639 if test "x$as_val" = x""yes; then :
74640 cat >>confdefs.h <<_ACEOF
74641 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
74642 _ACEOF
74645 done
74647 else
74648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
74649 $as_echo_n "checking for _long double trig functions... " >&6; }
74650 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
74651 $as_echo_n "(cached) " >&6
74652 else
74655 ac_ext=cpp
74656 ac_cpp='$CXXCPP $CPPFLAGS'
74657 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74658 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74659 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74662 /* end confdefs.h. */
74663 #include <math.h>
74665 main ()
74667 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
74669 return 0;
74671 _ACEOF
74672 if ac_fn_cxx_try_compile "$LINENO"; then :
74673 glibcxx_cv_func__long_double_trig_use=yes
74674 else
74675 glibcxx_cv_func__long_double_trig_use=no
74677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74678 ac_ext=c
74679 ac_cpp='$CPP $CPPFLAGS'
74680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
74687 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
74688 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
74689 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
74690 do :
74691 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
74692 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
74693 eval as_val=\$$as_ac_var
74694 if test "x$as_val" = x""yes; then :
74695 cat >>confdefs.h <<_ACEOF
74696 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
74697 _ACEOF
74700 done
74709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
74710 $as_echo_n "checking for long double round functions... " >&6; }
74711 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
74712 $as_echo_n "(cached) " >&6
74713 else
74716 ac_ext=cpp
74717 ac_cpp='$CXXCPP $CPPFLAGS'
74718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74723 /* end confdefs.h. */
74724 #include <math.h>
74726 main ()
74728 ceill (0); floorl (0);
74730 return 0;
74732 _ACEOF
74733 if ac_fn_cxx_try_compile "$LINENO"; then :
74734 glibcxx_cv_func_long_double_round_use=yes
74735 else
74736 glibcxx_cv_func_long_double_round_use=no
74738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74739 ac_ext=c
74740 ac_cpp='$CPP $CPPFLAGS'
74741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
74748 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
74749 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
74750 for ac_func in ceill floorl
74751 do :
74752 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
74753 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
74754 eval as_val=\$$as_ac_var
74755 if test "x$as_val" = x""yes; then :
74756 cat >>confdefs.h <<_ACEOF
74757 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
74758 _ACEOF
74761 done
74763 else
74764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
74765 $as_echo_n "checking for _long double round functions... " >&6; }
74766 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
74767 $as_echo_n "(cached) " >&6
74768 else
74771 ac_ext=cpp
74772 ac_cpp='$CXXCPP $CPPFLAGS'
74773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74778 /* end confdefs.h. */
74779 #include <math.h>
74781 main ()
74783 _ceill (0); _floorl (0);
74785 return 0;
74787 _ACEOF
74788 if ac_fn_cxx_try_compile "$LINENO"; then :
74789 glibcxx_cv_func__long_double_round_use=yes
74790 else
74791 glibcxx_cv_func__long_double_round_use=no
74793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74794 ac_ext=c
74795 ac_cpp='$CPP $CPPFLAGS'
74796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
74803 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
74804 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
74805 for ac_func in _ceill _floorl
74806 do :
74807 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
74808 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
74809 eval as_val=\$$as_ac_var
74810 if test "x$as_val" = x""yes; then :
74811 cat >>confdefs.h <<_ACEOF
74812 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
74813 _ACEOF
74816 done
74826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
74827 $as_echo_n "checking for isnanl declaration... " >&6; }
74828 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
74829 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
74830 $as_echo_n "(cached) " >&6
74831 else
74834 ac_ext=cpp
74835 ac_cpp='$CXXCPP $CPPFLAGS'
74836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74841 /* end confdefs.h. */
74842 #include <math.h>
74843 #ifdef HAVE_IEEEFP_H
74844 #include <ieeefp.h>
74845 #endif
74848 main ()
74850 isnanl(0);
74852 return 0;
74854 _ACEOF
74855 if ac_fn_cxx_try_compile "$LINENO"; then :
74856 glibcxx_cv_func_isnanl_use=yes
74857 else
74858 glibcxx_cv_func_isnanl_use=no
74860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74861 ac_ext=c
74862 ac_cpp='$CPP $CPPFLAGS'
74863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
74872 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
74874 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
74875 for ac_func in isnanl
74876 do :
74877 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
74878 if test "x$ac_cv_func_isnanl" = x""yes; then :
74879 cat >>confdefs.h <<_ACEOF
74880 #define HAVE_ISNANL 1
74881 _ACEOF
74884 done
74886 else
74888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
74889 $as_echo_n "checking for _isnanl declaration... " >&6; }
74890 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
74891 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
74892 $as_echo_n "(cached) " >&6
74893 else
74896 ac_ext=cpp
74897 ac_cpp='$CXXCPP $CPPFLAGS'
74898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74903 /* end confdefs.h. */
74904 #include <math.h>
74905 #ifdef HAVE_IEEEFP_H
74906 #include <ieeefp.h>
74907 #endif
74910 main ()
74912 _isnanl(0);
74914 return 0;
74916 _ACEOF
74917 if ac_fn_cxx_try_compile "$LINENO"; then :
74918 glibcxx_cv_func__isnanl_use=yes
74919 else
74920 glibcxx_cv_func__isnanl_use=no
74922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74923 ac_ext=c
74924 ac_cpp='$CPP $CPPFLAGS'
74925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
74934 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
74936 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
74937 for ac_func in _isnanl
74938 do :
74939 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
74940 if test "x$ac_cv_func__isnanl" = x""yes; then :
74941 cat >>confdefs.h <<_ACEOF
74942 #define HAVE__ISNANL 1
74943 _ACEOF
74946 done
74955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
74956 $as_echo_n "checking for isinfl declaration... " >&6; }
74957 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
74958 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
74959 $as_echo_n "(cached) " >&6
74960 else
74963 ac_ext=cpp
74964 ac_cpp='$CXXCPP $CPPFLAGS'
74965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74970 /* end confdefs.h. */
74971 #include <math.h>
74972 #ifdef HAVE_IEEEFP_H
74973 #include <ieeefp.h>
74974 #endif
74977 main ()
74979 isinfl(0);
74981 return 0;
74983 _ACEOF
74984 if ac_fn_cxx_try_compile "$LINENO"; then :
74985 glibcxx_cv_func_isinfl_use=yes
74986 else
74987 glibcxx_cv_func_isinfl_use=no
74989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74990 ac_ext=c
74991 ac_cpp='$CPP $CPPFLAGS'
74992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
75001 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
75003 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
75004 for ac_func in isinfl
75005 do :
75006 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
75007 if test "x$ac_cv_func_isinfl" = x""yes; then :
75008 cat >>confdefs.h <<_ACEOF
75009 #define HAVE_ISINFL 1
75010 _ACEOF
75013 done
75015 else
75017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
75018 $as_echo_n "checking for _isinfl declaration... " >&6; }
75019 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
75020 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
75021 $as_echo_n "(cached) " >&6
75022 else
75025 ac_ext=cpp
75026 ac_cpp='$CXXCPP $CPPFLAGS'
75027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75032 /* end confdefs.h. */
75033 #include <math.h>
75034 #ifdef HAVE_IEEEFP_H
75035 #include <ieeefp.h>
75036 #endif
75039 main ()
75041 _isinfl(0);
75043 return 0;
75045 _ACEOF
75046 if ac_fn_cxx_try_compile "$LINENO"; then :
75047 glibcxx_cv_func__isinfl_use=yes
75048 else
75049 glibcxx_cv_func__isinfl_use=no
75051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75052 ac_ext=c
75053 ac_cpp='$CPP $CPPFLAGS'
75054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
75063 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
75065 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
75066 for ac_func in _isinfl
75067 do :
75068 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
75069 if test "x$ac_cv_func__isinfl" = x""yes; then :
75070 cat >>confdefs.h <<_ACEOF
75071 #define HAVE__ISINFL 1
75072 _ACEOF
75075 done
75084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
75085 $as_echo_n "checking for atan2l declaration... " >&6; }
75086 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
75087 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
75088 $as_echo_n "(cached) " >&6
75089 else
75092 ac_ext=cpp
75093 ac_cpp='$CXXCPP $CPPFLAGS'
75094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75099 /* end confdefs.h. */
75100 #include <math.h>
75102 main ()
75104 atan2l(0, 0);
75106 return 0;
75108 _ACEOF
75109 if ac_fn_cxx_try_compile "$LINENO"; then :
75110 glibcxx_cv_func_atan2l_use=yes
75111 else
75112 glibcxx_cv_func_atan2l_use=no
75114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75115 ac_ext=c
75116 ac_cpp='$CPP $CPPFLAGS'
75117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
75126 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
75128 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
75129 for ac_func in atan2l
75130 do :
75131 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
75132 if test "x$ac_cv_func_atan2l" = x""yes; then :
75133 cat >>confdefs.h <<_ACEOF
75134 #define HAVE_ATAN2L 1
75135 _ACEOF
75138 done
75140 else
75142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
75143 $as_echo_n "checking for _atan2l declaration... " >&6; }
75144 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
75145 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
75146 $as_echo_n "(cached) " >&6
75147 else
75150 ac_ext=cpp
75151 ac_cpp='$CXXCPP $CPPFLAGS'
75152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75157 /* end confdefs.h. */
75158 #include <math.h>
75160 main ()
75162 _atan2l(0, 0);
75164 return 0;
75166 _ACEOF
75167 if ac_fn_cxx_try_compile "$LINENO"; then :
75168 glibcxx_cv_func__atan2l_use=yes
75169 else
75170 glibcxx_cv_func__atan2l_use=no
75172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75173 ac_ext=c
75174 ac_cpp='$CPP $CPPFLAGS'
75175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
75184 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
75186 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
75187 for ac_func in _atan2l
75188 do :
75189 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
75190 if test "x$ac_cv_func__atan2l" = x""yes; then :
75191 cat >>confdefs.h <<_ACEOF
75192 #define HAVE__ATAN2L 1
75193 _ACEOF
75196 done
75205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
75206 $as_echo_n "checking for expl declaration... " >&6; }
75207 if test x${glibcxx_cv_func_expl_use+set} != xset; then
75208 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
75209 $as_echo_n "(cached) " >&6
75210 else
75213 ac_ext=cpp
75214 ac_cpp='$CXXCPP $CPPFLAGS'
75215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75220 /* end confdefs.h. */
75221 #include <math.h>
75222 #ifdef HAVE_IEEEFP_H
75223 #include <ieeefp.h>
75224 #endif
75227 main ()
75229 expl(0);
75231 return 0;
75233 _ACEOF
75234 if ac_fn_cxx_try_compile "$LINENO"; then :
75235 glibcxx_cv_func_expl_use=yes
75236 else
75237 glibcxx_cv_func_expl_use=no
75239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75240 ac_ext=c
75241 ac_cpp='$CPP $CPPFLAGS'
75242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
75251 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
75253 if test x$glibcxx_cv_func_expl_use = x"yes"; then
75254 for ac_func in expl
75255 do :
75256 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
75257 if test "x$ac_cv_func_expl" = x""yes; then :
75258 cat >>confdefs.h <<_ACEOF
75259 #define HAVE_EXPL 1
75260 _ACEOF
75263 done
75265 else
75267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
75268 $as_echo_n "checking for _expl declaration... " >&6; }
75269 if test x${glibcxx_cv_func__expl_use+set} != xset; then
75270 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
75271 $as_echo_n "(cached) " >&6
75272 else
75275 ac_ext=cpp
75276 ac_cpp='$CXXCPP $CPPFLAGS'
75277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75282 /* end confdefs.h. */
75283 #include <math.h>
75284 #ifdef HAVE_IEEEFP_H
75285 #include <ieeefp.h>
75286 #endif
75289 main ()
75291 _expl(0);
75293 return 0;
75295 _ACEOF
75296 if ac_fn_cxx_try_compile "$LINENO"; then :
75297 glibcxx_cv_func__expl_use=yes
75298 else
75299 glibcxx_cv_func__expl_use=no
75301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75302 ac_ext=c
75303 ac_cpp='$CPP $CPPFLAGS'
75304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
75313 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
75315 if test x$glibcxx_cv_func__expl_use = x"yes"; then
75316 for ac_func in _expl
75317 do :
75318 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
75319 if test "x$ac_cv_func__expl" = x""yes; then :
75320 cat >>confdefs.h <<_ACEOF
75321 #define HAVE__EXPL 1
75322 _ACEOF
75325 done
75334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
75335 $as_echo_n "checking for fabsl declaration... " >&6; }
75336 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
75337 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
75338 $as_echo_n "(cached) " >&6
75339 else
75342 ac_ext=cpp
75343 ac_cpp='$CXXCPP $CPPFLAGS'
75344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75349 /* end confdefs.h. */
75350 #include <math.h>
75351 #ifdef HAVE_IEEEFP_H
75352 #include <ieeefp.h>
75353 #endif
75356 main ()
75358 fabsl(0);
75360 return 0;
75362 _ACEOF
75363 if ac_fn_cxx_try_compile "$LINENO"; then :
75364 glibcxx_cv_func_fabsl_use=yes
75365 else
75366 glibcxx_cv_func_fabsl_use=no
75368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75369 ac_ext=c
75370 ac_cpp='$CPP $CPPFLAGS'
75371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
75380 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
75382 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
75383 for ac_func in fabsl
75384 do :
75385 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
75386 if test "x$ac_cv_func_fabsl" = x""yes; then :
75387 cat >>confdefs.h <<_ACEOF
75388 #define HAVE_FABSL 1
75389 _ACEOF
75392 done
75394 else
75396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
75397 $as_echo_n "checking for _fabsl declaration... " >&6; }
75398 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
75399 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
75400 $as_echo_n "(cached) " >&6
75401 else
75404 ac_ext=cpp
75405 ac_cpp='$CXXCPP $CPPFLAGS'
75406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75411 /* end confdefs.h. */
75412 #include <math.h>
75413 #ifdef HAVE_IEEEFP_H
75414 #include <ieeefp.h>
75415 #endif
75418 main ()
75420 _fabsl(0);
75422 return 0;
75424 _ACEOF
75425 if ac_fn_cxx_try_compile "$LINENO"; then :
75426 glibcxx_cv_func__fabsl_use=yes
75427 else
75428 glibcxx_cv_func__fabsl_use=no
75430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75431 ac_ext=c
75432 ac_cpp='$CPP $CPPFLAGS'
75433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
75442 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
75444 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
75445 for ac_func in _fabsl
75446 do :
75447 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
75448 if test "x$ac_cv_func__fabsl" = x""yes; then :
75449 cat >>confdefs.h <<_ACEOF
75450 #define HAVE__FABSL 1
75451 _ACEOF
75454 done
75463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
75464 $as_echo_n "checking for fmodl declaration... " >&6; }
75465 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
75466 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
75467 $as_echo_n "(cached) " >&6
75468 else
75471 ac_ext=cpp
75472 ac_cpp='$CXXCPP $CPPFLAGS'
75473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75478 /* end confdefs.h. */
75479 #include <math.h>
75481 main ()
75483 fmodl(0, 0);
75485 return 0;
75487 _ACEOF
75488 if ac_fn_cxx_try_compile "$LINENO"; then :
75489 glibcxx_cv_func_fmodl_use=yes
75490 else
75491 glibcxx_cv_func_fmodl_use=no
75493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75494 ac_ext=c
75495 ac_cpp='$CPP $CPPFLAGS'
75496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
75505 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
75507 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
75508 for ac_func in fmodl
75509 do :
75510 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
75511 if test "x$ac_cv_func_fmodl" = x""yes; then :
75512 cat >>confdefs.h <<_ACEOF
75513 #define HAVE_FMODL 1
75514 _ACEOF
75517 done
75519 else
75521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
75522 $as_echo_n "checking for _fmodl declaration... " >&6; }
75523 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
75524 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
75525 $as_echo_n "(cached) " >&6
75526 else
75529 ac_ext=cpp
75530 ac_cpp='$CXXCPP $CPPFLAGS'
75531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75536 /* end confdefs.h. */
75537 #include <math.h>
75539 main ()
75541 _fmodl(0, 0);
75543 return 0;
75545 _ACEOF
75546 if ac_fn_cxx_try_compile "$LINENO"; then :
75547 glibcxx_cv_func__fmodl_use=yes
75548 else
75549 glibcxx_cv_func__fmodl_use=no
75551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75552 ac_ext=c
75553 ac_cpp='$CPP $CPPFLAGS'
75554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
75563 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
75565 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
75566 for ac_func in _fmodl
75567 do :
75568 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
75569 if test "x$ac_cv_func__fmodl" = x""yes; then :
75570 cat >>confdefs.h <<_ACEOF
75571 #define HAVE__FMODL 1
75572 _ACEOF
75575 done
75584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
75585 $as_echo_n "checking for frexpl declaration... " >&6; }
75586 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
75587 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
75588 $as_echo_n "(cached) " >&6
75589 else
75592 ac_ext=cpp
75593 ac_cpp='$CXXCPP $CPPFLAGS'
75594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75599 /* end confdefs.h. */
75600 #include <math.h>
75602 main ()
75604 frexpl(0, 0);
75606 return 0;
75608 _ACEOF
75609 if ac_fn_cxx_try_compile "$LINENO"; then :
75610 glibcxx_cv_func_frexpl_use=yes
75611 else
75612 glibcxx_cv_func_frexpl_use=no
75614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75615 ac_ext=c
75616 ac_cpp='$CPP $CPPFLAGS'
75617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
75626 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
75628 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
75629 for ac_func in frexpl
75630 do :
75631 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
75632 if test "x$ac_cv_func_frexpl" = x""yes; then :
75633 cat >>confdefs.h <<_ACEOF
75634 #define HAVE_FREXPL 1
75635 _ACEOF
75638 done
75640 else
75642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
75643 $as_echo_n "checking for _frexpl declaration... " >&6; }
75644 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
75645 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
75646 $as_echo_n "(cached) " >&6
75647 else
75650 ac_ext=cpp
75651 ac_cpp='$CXXCPP $CPPFLAGS'
75652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75657 /* end confdefs.h. */
75658 #include <math.h>
75660 main ()
75662 _frexpl(0, 0);
75664 return 0;
75666 _ACEOF
75667 if ac_fn_cxx_try_compile "$LINENO"; then :
75668 glibcxx_cv_func__frexpl_use=yes
75669 else
75670 glibcxx_cv_func__frexpl_use=no
75672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75673 ac_ext=c
75674 ac_cpp='$CPP $CPPFLAGS'
75675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
75684 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
75686 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
75687 for ac_func in _frexpl
75688 do :
75689 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
75690 if test "x$ac_cv_func__frexpl" = x""yes; then :
75691 cat >>confdefs.h <<_ACEOF
75692 #define HAVE__FREXPL 1
75693 _ACEOF
75696 done
75705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
75706 $as_echo_n "checking for hypotl declaration... " >&6; }
75707 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
75708 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
75709 $as_echo_n "(cached) " >&6
75710 else
75713 ac_ext=cpp
75714 ac_cpp='$CXXCPP $CPPFLAGS'
75715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75720 /* end confdefs.h. */
75721 #include <math.h>
75723 main ()
75725 hypotl(0, 0);
75727 return 0;
75729 _ACEOF
75730 if ac_fn_cxx_try_compile "$LINENO"; then :
75731 glibcxx_cv_func_hypotl_use=yes
75732 else
75733 glibcxx_cv_func_hypotl_use=no
75735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75736 ac_ext=c
75737 ac_cpp='$CPP $CPPFLAGS'
75738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
75747 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
75749 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
75750 for ac_func in hypotl
75751 do :
75752 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
75753 if test "x$ac_cv_func_hypotl" = x""yes; then :
75754 cat >>confdefs.h <<_ACEOF
75755 #define HAVE_HYPOTL 1
75756 _ACEOF
75759 done
75761 else
75763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
75764 $as_echo_n "checking for _hypotl declaration... " >&6; }
75765 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
75766 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
75767 $as_echo_n "(cached) " >&6
75768 else
75771 ac_ext=cpp
75772 ac_cpp='$CXXCPP $CPPFLAGS'
75773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75778 /* end confdefs.h. */
75779 #include <math.h>
75781 main ()
75783 _hypotl(0, 0);
75785 return 0;
75787 _ACEOF
75788 if ac_fn_cxx_try_compile "$LINENO"; then :
75789 glibcxx_cv_func__hypotl_use=yes
75790 else
75791 glibcxx_cv_func__hypotl_use=no
75793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75794 ac_ext=c
75795 ac_cpp='$CPP $CPPFLAGS'
75796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
75805 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
75807 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
75808 for ac_func in _hypotl
75809 do :
75810 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
75811 if test "x$ac_cv_func__hypotl" = x""yes; then :
75812 cat >>confdefs.h <<_ACEOF
75813 #define HAVE__HYPOTL 1
75814 _ACEOF
75817 done
75826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
75827 $as_echo_n "checking for ldexpl declaration... " >&6; }
75828 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
75829 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
75830 $as_echo_n "(cached) " >&6
75831 else
75834 ac_ext=cpp
75835 ac_cpp='$CXXCPP $CPPFLAGS'
75836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75841 /* end confdefs.h. */
75842 #include <math.h>
75844 main ()
75846 ldexpl(0, 0);
75848 return 0;
75850 _ACEOF
75851 if ac_fn_cxx_try_compile "$LINENO"; then :
75852 glibcxx_cv_func_ldexpl_use=yes
75853 else
75854 glibcxx_cv_func_ldexpl_use=no
75856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75857 ac_ext=c
75858 ac_cpp='$CPP $CPPFLAGS'
75859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
75868 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
75870 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
75871 for ac_func in ldexpl
75872 do :
75873 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
75874 if test "x$ac_cv_func_ldexpl" = x""yes; then :
75875 cat >>confdefs.h <<_ACEOF
75876 #define HAVE_LDEXPL 1
75877 _ACEOF
75880 done
75882 else
75884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
75885 $as_echo_n "checking for _ldexpl declaration... " >&6; }
75886 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
75887 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
75888 $as_echo_n "(cached) " >&6
75889 else
75892 ac_ext=cpp
75893 ac_cpp='$CXXCPP $CPPFLAGS'
75894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75899 /* end confdefs.h. */
75900 #include <math.h>
75902 main ()
75904 _ldexpl(0, 0);
75906 return 0;
75908 _ACEOF
75909 if ac_fn_cxx_try_compile "$LINENO"; then :
75910 glibcxx_cv_func__ldexpl_use=yes
75911 else
75912 glibcxx_cv_func__ldexpl_use=no
75914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75915 ac_ext=c
75916 ac_cpp='$CPP $CPPFLAGS'
75917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
75926 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
75928 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
75929 for ac_func in _ldexpl
75930 do :
75931 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
75932 if test "x$ac_cv_func__ldexpl" = x""yes; then :
75933 cat >>confdefs.h <<_ACEOF
75934 #define HAVE__LDEXPL 1
75935 _ACEOF
75938 done
75947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
75948 $as_echo_n "checking for logl declaration... " >&6; }
75949 if test x${glibcxx_cv_func_logl_use+set} != xset; then
75950 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
75951 $as_echo_n "(cached) " >&6
75952 else
75955 ac_ext=cpp
75956 ac_cpp='$CXXCPP $CPPFLAGS'
75957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75962 /* end confdefs.h. */
75963 #include <math.h>
75964 #ifdef HAVE_IEEEFP_H
75965 #include <ieeefp.h>
75966 #endif
75969 main ()
75971 logl(0);
75973 return 0;
75975 _ACEOF
75976 if ac_fn_cxx_try_compile "$LINENO"; then :
75977 glibcxx_cv_func_logl_use=yes
75978 else
75979 glibcxx_cv_func_logl_use=no
75981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75982 ac_ext=c
75983 ac_cpp='$CPP $CPPFLAGS'
75984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
75993 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
75995 if test x$glibcxx_cv_func_logl_use = x"yes"; then
75996 for ac_func in logl
75997 do :
75998 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
75999 if test "x$ac_cv_func_logl" = x""yes; then :
76000 cat >>confdefs.h <<_ACEOF
76001 #define HAVE_LOGL 1
76002 _ACEOF
76005 done
76007 else
76009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
76010 $as_echo_n "checking for _logl declaration... " >&6; }
76011 if test x${glibcxx_cv_func__logl_use+set} != xset; then
76012 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
76013 $as_echo_n "(cached) " >&6
76014 else
76017 ac_ext=cpp
76018 ac_cpp='$CXXCPP $CPPFLAGS'
76019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76024 /* end confdefs.h. */
76025 #include <math.h>
76026 #ifdef HAVE_IEEEFP_H
76027 #include <ieeefp.h>
76028 #endif
76031 main ()
76033 _logl(0);
76035 return 0;
76037 _ACEOF
76038 if ac_fn_cxx_try_compile "$LINENO"; then :
76039 glibcxx_cv_func__logl_use=yes
76040 else
76041 glibcxx_cv_func__logl_use=no
76043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76044 ac_ext=c
76045 ac_cpp='$CPP $CPPFLAGS'
76046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
76055 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
76057 if test x$glibcxx_cv_func__logl_use = x"yes"; then
76058 for ac_func in _logl
76059 do :
76060 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
76061 if test "x$ac_cv_func__logl" = x""yes; then :
76062 cat >>confdefs.h <<_ACEOF
76063 #define HAVE__LOGL 1
76064 _ACEOF
76067 done
76076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
76077 $as_echo_n "checking for log10l declaration... " >&6; }
76078 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
76079 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
76080 $as_echo_n "(cached) " >&6
76081 else
76084 ac_ext=cpp
76085 ac_cpp='$CXXCPP $CPPFLAGS'
76086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76091 /* end confdefs.h. */
76092 #include <math.h>
76093 #ifdef HAVE_IEEEFP_H
76094 #include <ieeefp.h>
76095 #endif
76098 main ()
76100 log10l(0);
76102 return 0;
76104 _ACEOF
76105 if ac_fn_cxx_try_compile "$LINENO"; then :
76106 glibcxx_cv_func_log10l_use=yes
76107 else
76108 glibcxx_cv_func_log10l_use=no
76110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76111 ac_ext=c
76112 ac_cpp='$CPP $CPPFLAGS'
76113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
76122 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
76124 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
76125 for ac_func in log10l
76126 do :
76127 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
76128 if test "x$ac_cv_func_log10l" = x""yes; then :
76129 cat >>confdefs.h <<_ACEOF
76130 #define HAVE_LOG10L 1
76131 _ACEOF
76134 done
76136 else
76138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
76139 $as_echo_n "checking for _log10l declaration... " >&6; }
76140 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
76141 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
76142 $as_echo_n "(cached) " >&6
76143 else
76146 ac_ext=cpp
76147 ac_cpp='$CXXCPP $CPPFLAGS'
76148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76153 /* end confdefs.h. */
76154 #include <math.h>
76155 #ifdef HAVE_IEEEFP_H
76156 #include <ieeefp.h>
76157 #endif
76160 main ()
76162 _log10l(0);
76164 return 0;
76166 _ACEOF
76167 if ac_fn_cxx_try_compile "$LINENO"; then :
76168 glibcxx_cv_func__log10l_use=yes
76169 else
76170 glibcxx_cv_func__log10l_use=no
76172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76173 ac_ext=c
76174 ac_cpp='$CPP $CPPFLAGS'
76175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
76184 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
76186 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
76187 for ac_func in _log10l
76188 do :
76189 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
76190 if test "x$ac_cv_func__log10l" = x""yes; then :
76191 cat >>confdefs.h <<_ACEOF
76192 #define HAVE__LOG10L 1
76193 _ACEOF
76196 done
76205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
76206 $as_echo_n "checking for modfl declaration... " >&6; }
76207 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
76208 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
76209 $as_echo_n "(cached) " >&6
76210 else
76213 ac_ext=cpp
76214 ac_cpp='$CXXCPP $CPPFLAGS'
76215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76220 /* end confdefs.h. */
76221 #include <math.h>
76223 main ()
76225 modfl(0, 0);
76227 return 0;
76229 _ACEOF
76230 if ac_fn_cxx_try_compile "$LINENO"; then :
76231 glibcxx_cv_func_modfl_use=yes
76232 else
76233 glibcxx_cv_func_modfl_use=no
76235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76236 ac_ext=c
76237 ac_cpp='$CPP $CPPFLAGS'
76238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
76247 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
76249 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
76250 for ac_func in modfl
76251 do :
76252 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
76253 if test "x$ac_cv_func_modfl" = x""yes; then :
76254 cat >>confdefs.h <<_ACEOF
76255 #define HAVE_MODFL 1
76256 _ACEOF
76259 done
76261 else
76263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
76264 $as_echo_n "checking for _modfl declaration... " >&6; }
76265 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
76266 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
76267 $as_echo_n "(cached) " >&6
76268 else
76271 ac_ext=cpp
76272 ac_cpp='$CXXCPP $CPPFLAGS'
76273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76278 /* end confdefs.h. */
76279 #include <math.h>
76281 main ()
76283 _modfl(0, 0);
76285 return 0;
76287 _ACEOF
76288 if ac_fn_cxx_try_compile "$LINENO"; then :
76289 glibcxx_cv_func__modfl_use=yes
76290 else
76291 glibcxx_cv_func__modfl_use=no
76293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76294 ac_ext=c
76295 ac_cpp='$CPP $CPPFLAGS'
76296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
76305 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
76307 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
76308 for ac_func in _modfl
76309 do :
76310 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
76311 if test "x$ac_cv_func__modfl" = x""yes; then :
76312 cat >>confdefs.h <<_ACEOF
76313 #define HAVE__MODFL 1
76314 _ACEOF
76317 done
76326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
76327 $as_echo_n "checking for powl declaration... " >&6; }
76328 if test x${glibcxx_cv_func_powl_use+set} != xset; then
76329 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
76330 $as_echo_n "(cached) " >&6
76331 else
76334 ac_ext=cpp
76335 ac_cpp='$CXXCPP $CPPFLAGS'
76336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76341 /* end confdefs.h. */
76342 #include <math.h>
76344 main ()
76346 powl(0, 0);
76348 return 0;
76350 _ACEOF
76351 if ac_fn_cxx_try_compile "$LINENO"; then :
76352 glibcxx_cv_func_powl_use=yes
76353 else
76354 glibcxx_cv_func_powl_use=no
76356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76357 ac_ext=c
76358 ac_cpp='$CPP $CPPFLAGS'
76359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
76368 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
76370 if test x$glibcxx_cv_func_powl_use = x"yes"; then
76371 for ac_func in powl
76372 do :
76373 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
76374 if test "x$ac_cv_func_powl" = x""yes; then :
76375 cat >>confdefs.h <<_ACEOF
76376 #define HAVE_POWL 1
76377 _ACEOF
76380 done
76382 else
76384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
76385 $as_echo_n "checking for _powl declaration... " >&6; }
76386 if test x${glibcxx_cv_func__powl_use+set} != xset; then
76387 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
76388 $as_echo_n "(cached) " >&6
76389 else
76392 ac_ext=cpp
76393 ac_cpp='$CXXCPP $CPPFLAGS'
76394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76399 /* end confdefs.h. */
76400 #include <math.h>
76402 main ()
76404 _powl(0, 0);
76406 return 0;
76408 _ACEOF
76409 if ac_fn_cxx_try_compile "$LINENO"; then :
76410 glibcxx_cv_func__powl_use=yes
76411 else
76412 glibcxx_cv_func__powl_use=no
76414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76415 ac_ext=c
76416 ac_cpp='$CPP $CPPFLAGS'
76417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
76426 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
76428 if test x$glibcxx_cv_func__powl_use = x"yes"; then
76429 for ac_func in _powl
76430 do :
76431 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
76432 if test "x$ac_cv_func__powl" = x""yes; then :
76433 cat >>confdefs.h <<_ACEOF
76434 #define HAVE__POWL 1
76435 _ACEOF
76438 done
76447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
76448 $as_echo_n "checking for sqrtl declaration... " >&6; }
76449 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
76450 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
76451 $as_echo_n "(cached) " >&6
76452 else
76455 ac_ext=cpp
76456 ac_cpp='$CXXCPP $CPPFLAGS'
76457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76462 /* end confdefs.h. */
76463 #include <math.h>
76464 #ifdef HAVE_IEEEFP_H
76465 #include <ieeefp.h>
76466 #endif
76469 main ()
76471 sqrtl(0);
76473 return 0;
76475 _ACEOF
76476 if ac_fn_cxx_try_compile "$LINENO"; then :
76477 glibcxx_cv_func_sqrtl_use=yes
76478 else
76479 glibcxx_cv_func_sqrtl_use=no
76481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76482 ac_ext=c
76483 ac_cpp='$CPP $CPPFLAGS'
76484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
76493 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
76495 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
76496 for ac_func in sqrtl
76497 do :
76498 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
76499 if test "x$ac_cv_func_sqrtl" = x""yes; then :
76500 cat >>confdefs.h <<_ACEOF
76501 #define HAVE_SQRTL 1
76502 _ACEOF
76505 done
76507 else
76509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
76510 $as_echo_n "checking for _sqrtl declaration... " >&6; }
76511 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
76512 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
76513 $as_echo_n "(cached) " >&6
76514 else
76517 ac_ext=cpp
76518 ac_cpp='$CXXCPP $CPPFLAGS'
76519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76524 /* end confdefs.h. */
76525 #include <math.h>
76526 #ifdef HAVE_IEEEFP_H
76527 #include <ieeefp.h>
76528 #endif
76531 main ()
76533 _sqrtl(0);
76535 return 0;
76537 _ACEOF
76538 if ac_fn_cxx_try_compile "$LINENO"; then :
76539 glibcxx_cv_func__sqrtl_use=yes
76540 else
76541 glibcxx_cv_func__sqrtl_use=no
76543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76544 ac_ext=c
76545 ac_cpp='$CPP $CPPFLAGS'
76546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
76555 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
76557 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
76558 for ac_func in _sqrtl
76559 do :
76560 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
76561 if test "x$ac_cv_func__sqrtl" = x""yes; then :
76562 cat >>confdefs.h <<_ACEOF
76563 #define HAVE__SQRTL 1
76564 _ACEOF
76567 done
76576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
76577 $as_echo_n "checking for sincosl declaration... " >&6; }
76578 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
76579 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
76580 $as_echo_n "(cached) " >&6
76581 else
76584 ac_ext=cpp
76585 ac_cpp='$CXXCPP $CPPFLAGS'
76586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76591 /* end confdefs.h. */
76592 #include <math.h>
76594 main ()
76596 sincosl(0, 0, 0);
76598 return 0;
76600 _ACEOF
76601 if ac_fn_cxx_try_compile "$LINENO"; then :
76602 glibcxx_cv_func_sincosl_use=yes
76603 else
76604 glibcxx_cv_func_sincosl_use=no
76606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76607 ac_ext=c
76608 ac_cpp='$CPP $CPPFLAGS'
76609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
76618 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
76620 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
76621 for ac_func in sincosl
76622 do :
76623 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
76624 if test "x$ac_cv_func_sincosl" = x""yes; then :
76625 cat >>confdefs.h <<_ACEOF
76626 #define HAVE_SINCOSL 1
76627 _ACEOF
76630 done
76632 else
76634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
76635 $as_echo_n "checking for _sincosl declaration... " >&6; }
76636 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
76637 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
76638 $as_echo_n "(cached) " >&6
76639 else
76642 ac_ext=cpp
76643 ac_cpp='$CXXCPP $CPPFLAGS'
76644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76649 /* end confdefs.h. */
76650 #include <math.h>
76652 main ()
76654 _sincosl(0, 0, 0);
76656 return 0;
76658 _ACEOF
76659 if ac_fn_cxx_try_compile "$LINENO"; then :
76660 glibcxx_cv_func__sincosl_use=yes
76661 else
76662 glibcxx_cv_func__sincosl_use=no
76664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76665 ac_ext=c
76666 ac_cpp='$CPP $CPPFLAGS'
76667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
76676 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
76678 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
76679 for ac_func in _sincosl
76680 do :
76681 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
76682 if test "x$ac_cv_func__sincosl" = x""yes; then :
76683 cat >>confdefs.h <<_ACEOF
76684 #define HAVE__SINCOSL 1
76685 _ACEOF
76688 done
76697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
76698 $as_echo_n "checking for finitel declaration... " >&6; }
76699 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
76700 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
76701 $as_echo_n "(cached) " >&6
76702 else
76705 ac_ext=cpp
76706 ac_cpp='$CXXCPP $CPPFLAGS'
76707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76712 /* end confdefs.h. */
76713 #include <math.h>
76714 #ifdef HAVE_IEEEFP_H
76715 #include <ieeefp.h>
76716 #endif
76719 main ()
76721 finitel(0);
76723 return 0;
76725 _ACEOF
76726 if ac_fn_cxx_try_compile "$LINENO"; then :
76727 glibcxx_cv_func_finitel_use=yes
76728 else
76729 glibcxx_cv_func_finitel_use=no
76731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76732 ac_ext=c
76733 ac_cpp='$CPP $CPPFLAGS'
76734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
76743 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
76745 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
76746 for ac_func in finitel
76747 do :
76748 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
76749 if test "x$ac_cv_func_finitel" = x""yes; then :
76750 cat >>confdefs.h <<_ACEOF
76751 #define HAVE_FINITEL 1
76752 _ACEOF
76755 done
76757 else
76759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
76760 $as_echo_n "checking for _finitel declaration... " >&6; }
76761 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
76762 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
76763 $as_echo_n "(cached) " >&6
76764 else
76767 ac_ext=cpp
76768 ac_cpp='$CXXCPP $CPPFLAGS'
76769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76774 /* end confdefs.h. */
76775 #include <math.h>
76776 #ifdef HAVE_IEEEFP_H
76777 #include <ieeefp.h>
76778 #endif
76781 main ()
76783 _finitel(0);
76785 return 0;
76787 _ACEOF
76788 if ac_fn_cxx_try_compile "$LINENO"; then :
76789 glibcxx_cv_func__finitel_use=yes
76790 else
76791 glibcxx_cv_func__finitel_use=no
76793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76794 ac_ext=c
76795 ac_cpp='$CPP $CPPFLAGS'
76796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
76805 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
76807 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
76808 for ac_func in _finitel
76809 do :
76810 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
76811 if test "x$ac_cv_func__finitel" = x""yes; then :
76812 cat >>confdefs.h <<_ACEOF
76813 #define HAVE__FINITEL 1
76814 _ACEOF
76817 done
76825 LIBS="$ac_save_LIBS"
76826 CXXFLAGS="$ac_save_CXXFLAGS"
76829 ac_test_CXXFLAGS="${CXXFLAGS+set}"
76830 ac_save_CXXFLAGS="$CXXFLAGS"
76831 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
76834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
76835 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
76836 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
76837 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
76838 $as_echo_n "(cached) " >&6
76839 else
76842 ac_ext=cpp
76843 ac_cpp='$CXXCPP $CPPFLAGS'
76844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76849 /* end confdefs.h. */
76850 #include <stdlib.h>
76852 main ()
76854 at_quick_exit(0);
76856 return 0;
76858 _ACEOF
76859 if ac_fn_cxx_try_compile "$LINENO"; then :
76860 glibcxx_cv_func_at_quick_exit_use=yes
76861 else
76862 glibcxx_cv_func_at_quick_exit_use=no
76864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76865 ac_ext=c
76866 ac_cpp='$CPP $CPPFLAGS'
76867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
76876 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
76877 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
76878 for ac_func in at_quick_exit
76879 do :
76880 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
76881 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
76882 cat >>confdefs.h <<_ACEOF
76883 #define HAVE_AT_QUICK_EXIT 1
76884 _ACEOF
76887 done
76892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
76893 $as_echo_n "checking for quick_exit declaration... " >&6; }
76894 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
76895 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
76896 $as_echo_n "(cached) " >&6
76897 else
76900 ac_ext=cpp
76901 ac_cpp='$CXXCPP $CPPFLAGS'
76902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76907 /* end confdefs.h. */
76908 #include <stdlib.h>
76910 main ()
76912 quick_exit(0);
76914 return 0;
76916 _ACEOF
76917 if ac_fn_cxx_try_compile "$LINENO"; then :
76918 glibcxx_cv_func_quick_exit_use=yes
76919 else
76920 glibcxx_cv_func_quick_exit_use=no
76922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76923 ac_ext=c
76924 ac_cpp='$CPP $CPPFLAGS'
76925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
76934 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
76935 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
76936 for ac_func in quick_exit
76937 do :
76938 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
76939 if test "x$ac_cv_func_quick_exit" = x""yes; then :
76940 cat >>confdefs.h <<_ACEOF
76941 #define HAVE_QUICK_EXIT 1
76942 _ACEOF
76945 done
76950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
76951 $as_echo_n "checking for strtold declaration... " >&6; }
76952 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
76953 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
76954 $as_echo_n "(cached) " >&6
76955 else
76958 ac_ext=cpp
76959 ac_cpp='$CXXCPP $CPPFLAGS'
76960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76965 /* end confdefs.h. */
76966 #include <stdlib.h>
76968 main ()
76970 strtold(0, 0);
76972 return 0;
76974 _ACEOF
76975 if ac_fn_cxx_try_compile "$LINENO"; then :
76976 glibcxx_cv_func_strtold_use=yes
76977 else
76978 glibcxx_cv_func_strtold_use=no
76980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76981 ac_ext=c
76982 ac_cpp='$CPP $CPPFLAGS'
76983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
76992 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
76993 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
76994 for ac_func in strtold
76995 do :
76996 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
76997 if test "x$ac_cv_func_strtold" = x""yes; then :
76998 cat >>confdefs.h <<_ACEOF
76999 #define HAVE_STRTOLD 1
77000 _ACEOF
77003 done
77010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
77011 $as_echo_n "checking for strtof declaration... " >&6; }
77012 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
77013 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
77014 $as_echo_n "(cached) " >&6
77015 else
77018 ac_ext=cpp
77019 ac_cpp='$CXXCPP $CPPFLAGS'
77020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77025 /* end confdefs.h. */
77026 #include <stdlib.h>
77028 main ()
77030 strtof(0, 0);
77032 return 0;
77034 _ACEOF
77035 if ac_fn_cxx_try_compile "$LINENO"; then :
77036 glibcxx_cv_func_strtof_use=yes
77037 else
77038 glibcxx_cv_func_strtof_use=no
77040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77041 ac_ext=c
77042 ac_cpp='$CPP $CPPFLAGS'
77043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
77052 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
77053 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
77054 for ac_func in strtof
77055 do :
77056 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
77057 if test "x$ac_cv_func_strtof" = x""yes; then :
77058 cat >>confdefs.h <<_ACEOF
77059 #define HAVE_STRTOF 1
77060 _ACEOF
77063 done
77070 CXXFLAGS="$ac_save_CXXFLAGS"
77073 *-vxworks)
77074 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
77076 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
77078 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
77080 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
77082 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
77084 $as_echo "#define HAVE_COSF 1" >>confdefs.h
77086 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
77088 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
77090 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
77092 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
77094 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
77096 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
77098 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
77100 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
77102 $as_echo "#define HAVE_POWF 1" >>confdefs.h
77104 $as_echo "#define HAVE_SINF 1" >>confdefs.h
77106 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
77108 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
77110 $as_echo "#define HAVE_TANF 1" >>confdefs.h
77112 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
77116 as_fn_error "No support for this host/target combination." "$LINENO" 5
77118 esac
77122 # At some point, we should differentiate between architectures
77123 # like x86, which have long double versions, and alpha/powerpc/etc.,
77124 # which don't. For the time being, punt.
77125 if test x"long_double_math_on_this_cpu" = x"yes"; then
77126 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
77128 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
77130 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
77132 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
77134 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
77136 $as_echo "#define HAVE_COSL 1" >>confdefs.h
77138 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
77140 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
77142 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
77144 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
77146 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
77148 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
77150 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
77152 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
77154 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
77156 $as_echo "#define HAVE_MODFL 1" >>confdefs.h
77158 $as_echo "#define HAVE_POWL 1" >>confdefs.h
77160 $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
77162 $as_echo "#define HAVE_SINL 1" >>confdefs.h
77164 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
77166 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
77168 $as_echo "#define HAVE_TANL 1" >>confdefs.h
77170 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
77175 # Check for _Unwind_GetIPInfo.
77178 # Check whether --with-system-libunwind was given.
77179 if test "${with_system_libunwind+set}" = set; then :
77180 withval=$with_system_libunwind;
77183 # If system-libunwind was not specifically set, pick a default setting.
77184 if test x$with_system_libunwind = x; then
77185 case ${target} in
77186 ia64-*-hpux*) with_system_libunwind=yes ;;
77187 *) with_system_libunwind=no ;;
77188 esac
77190 # Based on system-libunwind and target, do we have ipinfo?
77191 if test x$with_system_libunwind = xyes; then
77192 case ${target} in
77193 ia64-*-*) have_unwind_getipinfo=no ;;
77194 *) have_unwind_getipinfo=yes ;;
77195 esac
77196 else
77197 # Darwin before version 9 does not have _Unwind_GetIPInfo.
77199 case ${target} in
77200 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
77201 *) have_unwind_getipinfo=yes ;;
77202 esac
77206 if test x$have_unwind_getipinfo = xyes; then
77208 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
77213 # Check whether --enable-linux-futex was given.
77214 if test "${enable_linux_futex+set}" = set; then :
77215 enableval=$enable_linux_futex;
77216 case "$enableval" in
77217 yes|no|default) ;;
77218 *) as_fn_error "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
77219 esac
77221 else
77222 enable_linux_futex=default
77226 case "$target" in
77227 *-linux*)
77228 case "$enable_linux_futex" in
77229 default)
77230 # If headers don't have gettid/futex syscalls definition, then
77231 # default to no, otherwise there will be compile time failures.
77232 # Otherwise, default to yes. If we don't detect we are
77233 # compiled/linked against NPTL and not cross-compiling, check
77234 # if programs are run by default against NPTL and if not, issue
77235 # a warning.
77236 enable_linux_futex=no
77237 if test x$gcc_no_link = xyes; then
77238 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
77240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77241 /* end confdefs.h. */
77242 #include <sys/syscall.h>
77243 int lk;
77245 main ()
77247 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
77249 return 0;
77251 _ACEOF
77252 if ac_fn_c_try_link "$LINENO"; then :
77253 save_LIBS="$LIBS"
77254 LIBS="-lpthread $LIBS"
77255 if test x$gcc_no_link = xyes; then
77256 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
77258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77259 /* end confdefs.h. */
77260 #ifndef _GNU_SOURCE
77261 #define _GNU_SOURCE 1
77262 #endif
77263 #include <pthread.h>
77264 pthread_t th; void *status;
77266 main ()
77268 pthread_tryjoin_np (th, &status);
77270 return 0;
77272 _ACEOF
77273 if ac_fn_c_try_link "$LINENO"; then :
77274 enable_linux_futex=yes
77275 else
77276 if test x$cross_compiling = xno; then
77277 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
77278 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
77279 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
77280 If so, please configure with --disable-linux-futex" >&5
77281 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
77282 If so, please configure with --disable-linux-futex" >&2;}
77285 enable_linux_futex=yes
77287 rm -f core conftest.err conftest.$ac_objext \
77288 conftest$ac_exeext conftest.$ac_ext
77289 LIBS="$save_LIBS"
77291 rm -f core conftest.err conftest.$ac_objext \
77292 conftest$ac_exeext conftest.$ac_ext
77294 yes)
77295 if test x$gcc_no_link = xyes; then
77296 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
77298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77299 /* end confdefs.h. */
77300 #include <sys/syscall.h>
77301 int lk;
77303 main ()
77305 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
77307 return 0;
77309 _ACEOF
77310 if ac_fn_c_try_link "$LINENO"; then :
77312 else
77313 as_fn_error "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
77315 rm -f core conftest.err conftest.$ac_objext \
77316 conftest$ac_exeext conftest.$ac_ext
77318 esac
77321 enable_linux_futex=no
77323 esac
77324 if test x$enable_linux_futex = xyes; then
77326 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
77333 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
77335 acx_cv_header_stdint=stddef.h
77336 acx_cv_header_stdint_kind="(already complete)"
77337 for i in stdint.h $inttype_headers; do
77338 unset ac_cv_type_uintptr_t
77339 unset ac_cv_type_uintmax_t
77340 unset ac_cv_type_int_least32_t
77341 unset ac_cv_type_int_fast32_t
77342 unset ac_cv_type_uint64_t
77343 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
77344 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
77345 #include <$i>
77347 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
77348 acx_cv_header_stdint=$i
77349 else
77350 continue
77353 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
77354 #include <$i>
77356 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
77358 else
77359 acx_cv_header_stdint_kind="(mostly complete)"
77362 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
77363 #include <$i>
77365 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
77367 else
77368 acx_cv_header_stdint_kind="(mostly complete)"
77371 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
77372 #include <$i>
77374 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
77376 else
77377 acx_cv_header_stdint_kind="(mostly complete)"
77380 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
77381 #include <$i>
77383 if test "x$ac_cv_type_uint64_t" = x""yes; then :
77385 else
77386 acx_cv_header_stdint_kind="(lacks uint64_t)"
77389 break
77390 done
77391 if test "$acx_cv_header_stdint" = stddef.h; then
77392 acx_cv_header_stdint_kind="(lacks uintmax_t)"
77393 for i in stdint.h $inttype_headers; do
77394 unset ac_cv_type_uintptr_t
77395 unset ac_cv_type_uint32_t
77396 unset ac_cv_type_uint64_t
77397 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
77398 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
77399 #include <$i>
77401 if test "x$ac_cv_type_uint32_t" = x""yes; then :
77402 acx_cv_header_stdint=$i
77403 else
77404 continue
77407 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
77408 #include <$i>
77410 if test "x$ac_cv_type_uint64_t" = x""yes; then :
77414 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
77415 #include <$i>
77417 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
77421 break
77422 done
77424 if test "$acx_cv_header_stdint" = stddef.h; then
77425 acx_cv_header_stdint_kind="(u_intXX_t style)"
77426 for i in sys/types.h $inttype_headers; do
77427 unset ac_cv_type_u_int32_t
77428 unset ac_cv_type_u_int64_t
77429 $as_echo_n "looking for u_intXX_t types in $i, " >&6
77430 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
77431 #include <$i>
77433 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
77434 acx_cv_header_stdint=$i
77435 else
77436 continue
77439 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
77440 #include <$i>
77442 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
77446 break
77447 done
77449 if test "$acx_cv_header_stdint" = stddef.h; then
77450 acx_cv_header_stdint_kind="(using manual detection)"
77453 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
77454 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
77455 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
77456 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
77457 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
77459 # ----------------- Summarize what we found so far
77461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
77462 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
77464 case `$as_basename -- include/gstdint.h ||
77465 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
77466 Xinclude/gstdint.h : 'X\(//\)$' \| \
77467 Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
77468 $as_echo X/include/gstdint.h |
77469 sed '/^.*\/\([^/][^/]*\)\/*$/{
77470 s//\1/
77473 /^X\/\(\/\/\)$/{
77474 s//\1/
77477 /^X\/\(\/\).*/{
77478 s//\1/
77481 s/.*/./; q'` in
77482 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
77483 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
77484 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
77485 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
77486 *) ;;
77487 esac
77489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
77490 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
77492 # ----------------- done included file, check C basic types --------
77494 # Lacking an uintptr_t? Test size of void *
77495 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
77496 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
77497 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
77498 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
77499 # This bug is HP SR number 8606223364.
77500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
77501 $as_echo_n "checking size of void *... " >&6; }
77502 if test "${ac_cv_sizeof_void_p+set}" = set; then :
77503 $as_echo_n "(cached) " >&6
77504 else
77505 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
77507 else
77508 if test "$ac_cv_type_void_p" = yes; then
77509 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
77510 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
77511 { as_fn_set_status 77
77512 as_fn_error "cannot compute sizeof (void *)
77513 See \`config.log' for more details." "$LINENO" 5; }; }
77514 else
77515 ac_cv_sizeof_void_p=0
77520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
77521 $as_echo "$ac_cv_sizeof_void_p" >&6; }
77525 cat >>confdefs.h <<_ACEOF
77526 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
77527 _ACEOF
77530 esac
77532 # Lacking an uint64_t? Test size of long
77533 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
77534 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
77535 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
77536 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
77537 # This bug is HP SR number 8606223364.
77538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
77539 $as_echo_n "checking size of long... " >&6; }
77540 if test "${ac_cv_sizeof_long+set}" = set; then :
77541 $as_echo_n "(cached) " >&6
77542 else
77543 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
77545 else
77546 if test "$ac_cv_type_long" = yes; then
77547 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
77548 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
77549 { as_fn_set_status 77
77550 as_fn_error "cannot compute sizeof (long)
77551 See \`config.log' for more details." "$LINENO" 5; }; }
77552 else
77553 ac_cv_sizeof_long=0
77558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
77559 $as_echo "$ac_cv_sizeof_long" >&6; }
77563 cat >>confdefs.h <<_ACEOF
77564 #define SIZEOF_LONG $ac_cv_sizeof_long
77565 _ACEOF
77568 esac
77570 if test $acx_cv_header_stdint = stddef.h; then
77571 # Lacking a good header? Test size of everything and deduce all types.
77572 # The cast to long int works around a bug in the HP C Compiler
77573 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
77574 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
77575 # This bug is HP SR number 8606223364.
77576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
77577 $as_echo_n "checking size of int... " >&6; }
77578 if test "${ac_cv_sizeof_int+set}" = set; then :
77579 $as_echo_n "(cached) " >&6
77580 else
77581 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
77583 else
77584 if test "$ac_cv_type_int" = yes; then
77585 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
77586 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
77587 { as_fn_set_status 77
77588 as_fn_error "cannot compute sizeof (int)
77589 See \`config.log' for more details." "$LINENO" 5; }; }
77590 else
77591 ac_cv_sizeof_int=0
77596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
77597 $as_echo "$ac_cv_sizeof_int" >&6; }
77601 cat >>confdefs.h <<_ACEOF
77602 #define SIZEOF_INT $ac_cv_sizeof_int
77603 _ACEOF
77606 # The cast to long int works around a bug in the HP C Compiler
77607 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
77608 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
77609 # This bug is HP SR number 8606223364.
77610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
77611 $as_echo_n "checking size of short... " >&6; }
77612 if test "${ac_cv_sizeof_short+set}" = set; then :
77613 $as_echo_n "(cached) " >&6
77614 else
77615 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
77617 else
77618 if test "$ac_cv_type_short" = yes; then
77619 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
77620 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
77621 { as_fn_set_status 77
77622 as_fn_error "cannot compute sizeof (short)
77623 See \`config.log' for more details." "$LINENO" 5; }; }
77624 else
77625 ac_cv_sizeof_short=0
77630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
77631 $as_echo "$ac_cv_sizeof_short" >&6; }
77635 cat >>confdefs.h <<_ACEOF
77636 #define SIZEOF_SHORT $ac_cv_sizeof_short
77637 _ACEOF
77640 # The cast to long int works around a bug in the HP C Compiler
77641 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
77642 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
77643 # This bug is HP SR number 8606223364.
77644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
77645 $as_echo_n "checking size of char... " >&6; }
77646 if test "${ac_cv_sizeof_char+set}" = set; then :
77647 $as_echo_n "(cached) " >&6
77648 else
77649 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
77651 else
77652 if test "$ac_cv_type_char" = yes; then
77653 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
77654 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
77655 { as_fn_set_status 77
77656 as_fn_error "cannot compute sizeof (char)
77657 See \`config.log' for more details." "$LINENO" 5; }; }
77658 else
77659 ac_cv_sizeof_char=0
77664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
77665 $as_echo "$ac_cv_sizeof_char" >&6; }
77669 cat >>confdefs.h <<_ACEOF
77670 #define SIZEOF_CHAR $ac_cv_sizeof_char
77671 _ACEOF
77675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
77676 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
77677 case "$ac_cv_sizeof_char" in
77678 1) acx_cv_type_int8_t=char ;;
77679 *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
77680 esac
77681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
77682 $as_echo "$acx_cv_type_int8_t" >&6; }
77684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
77685 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
77686 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
77687 2:*) acx_cv_type_int16_t=int ;;
77688 *:2) acx_cv_type_int16_t=short ;;
77689 *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
77690 esac
77691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
77692 $as_echo "$acx_cv_type_int16_t" >&6; }
77694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
77695 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
77696 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
77697 4:*) acx_cv_type_int32_t=int ;;
77698 *:4) acx_cv_type_int32_t=long ;;
77699 *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
77700 esac
77701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
77702 $as_echo "$acx_cv_type_int32_t" >&6; }
77705 # These tests are here to make the output prettier
77707 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
77708 case "$ac_cv_sizeof_long" in
77709 8) acx_cv_type_int64_t=long ;;
77710 esac
77711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
77712 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
77713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
77714 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
77717 # Now we can use the above types
77719 if test "$ac_cv_type_uintptr_t" != yes; then
77720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
77721 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
77722 case $ac_cv_sizeof_void_p in
77723 2) acx_cv_type_intptr_t=int16_t ;;
77724 4) acx_cv_type_intptr_t=int32_t ;;
77725 8) acx_cv_type_intptr_t=int64_t ;;
77726 *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
77727 esac
77728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
77729 $as_echo "$acx_cv_type_intptr_t" >&6; }
77732 # ----------------- done all checks, emit header -------------
77733 ac_config_commands="$ac_config_commands include/gstdint.h"
77739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
77740 $as_echo_n "checking for GNU c++filt... " >&6; }
77741 if test "${ac_cv_path_CXXFILT+set}" = set; then :
77742 $as_echo_n "(cached) " >&6
77743 else
77744 if test -z "$CXXFILT"; then
77745 ac_path_CXXFILT_found=false
77746 # Loop through the user's path and test for each of PROGNAME-LIST
77747 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77748 for as_dir in $PATH
77750 IFS=$as_save_IFS
77751 test -z "$as_dir" && as_dir=.
77752 for ac_prog in c++filt gc++filt; do
77753 for ac_exec_ext in '' $ac_executable_extensions; do
77754 ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
77755 { test -f "$ac_path_CXXFILT" && $as_test_x "$ac_path_CXXFILT"; } || continue
77756 # Check for GNU $ac_path_CXXFILT
77757 case `"$ac_path_CXXFILT" --version 2>&1` in
77758 *GNU*)
77759 ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
77760 esac
77762 $ac_path_CXXFILT_found && break 3
77763 done
77764 done
77765 done
77766 IFS=$as_save_IFS
77767 if test -z "$ac_cv_path_CXXFILT"; then
77770 else
77771 ac_cv_path_CXXFILT=$CXXFILT
77775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
77776 $as_echo "$ac_cv_path_CXXFILT" >&6; }
77777 CXXFILT=$ac_cv_path_CXXFILT
77781 # Check whether --enable-symvers was given.
77782 if test "${enable_symvers+set}" = set; then :
77783 enableval=$enable_symvers;
77784 case "$enableval" in
77785 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
77786 *) as_fn_error "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
77787 esac
77789 else
77790 enable_symvers=yes
77795 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
77796 # don't know enough about $LD to do tricks...
77798 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
77799 # with extern "C++" in version scripts.
77802 # Turn a 'yes' into a suitable default.
77803 if test x$enable_symvers = xyes ; then
77804 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
77805 enable_symvers=no
77806 else
77807 if test $with_gnu_ld = yes ; then
77808 case ${target_os} in
77809 hpux*)
77810 enable_symvers=no ;;
77812 enable_symvers=gnu ;;
77813 esac
77814 else
77815 case ${target_os} in
77816 darwin*)
77817 enable_symvers=darwin ;;
77818 # Sun symbol versioning exists since Solaris 2.5.
77819 solaris2.[5-9]* | solaris2.1[0-9]*)
77820 # make_sunver.pl needs GNU c++filt to support extern "C++" in
77821 # version scripts, so disable symbol versioning if none can be
77822 # found.
77823 if test -z "$ac_cv_path_CXXFILT"; then
77824 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
77825 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
77826 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could be found." >&5
77827 $as_echo "$as_me: WARNING: === no GNU c++filt could be found." >&2;}
77828 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
77829 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
77830 enable_symvers=no
77831 else
77832 enable_symvers=sun
77836 enable_symvers=no ;;
77837 esac
77842 # Check to see if 'darwin' or 'darwin-export' can win.
77843 if test x$enable_symvers = xdarwin-export ; then
77844 enable_symvers=darwin
77847 # Check if 'sun' was requested on non-Solaris 2 platforms.
77848 if test x$enable_symvers = xsun ; then
77849 case ${target_os} in
77850 solaris2*)
77851 # All fine.
77854 # Unlikely to work.
77855 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
77856 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
77857 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
77858 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
77859 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
77860 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
77861 enable_symvers=no
77863 esac
77866 # Check to see if 'gnu' can win.
77867 if test $enable_symvers = gnu ||
77868 test $enable_symvers = gnu-versioned-namespace ||
77869 test $enable_symvers = sun; then
77870 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
77871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
77872 $as_echo_n "checking for shared libgcc... " >&6; }
77873 ac_save_CFLAGS="$CFLAGS"
77874 CFLAGS=' -lgcc_s'
77875 if test x$gcc_no_link = xyes; then
77876 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
77878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77879 /* end confdefs.h. */
77882 main ()
77884 return 0;
77886 return 0;
77888 _ACEOF
77889 if ac_fn_c_try_link "$LINENO"; then :
77890 glibcxx_shared_libgcc=yes
77891 else
77892 glibcxx_shared_libgcc=no
77894 rm -f core conftest.err conftest.$ac_objext \
77895 conftest$ac_exeext conftest.$ac_ext
77896 CFLAGS="$ac_save_CFLAGS"
77897 if test $glibcxx_shared_libgcc = no; then
77898 cat > conftest.c <<EOF
77899 int main (void) { return 0; }
77901 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
77902 -shared -shared-libgcc -o conftest.so \
77903 conftest.c -v 2>&1 >/dev/null \
77904 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
77905 rm -f conftest.c conftest.so
77906 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
77907 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
77908 if test x$gcc_no_link = xyes; then
77909 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
77911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77912 /* end confdefs.h. */
77915 main ()
77917 return 0;
77919 return 0;
77921 _ACEOF
77922 if ac_fn_c_try_link "$LINENO"; then :
77923 glibcxx_shared_libgcc=yes
77925 rm -f core conftest.err conftest.$ac_objext \
77926 conftest$ac_exeext conftest.$ac_ext
77927 CFLAGS="$ac_save_CFLAGS"
77930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
77931 $as_echo "$glibcxx_shared_libgcc" >&6; }
77933 # For GNU ld, we need at least this version. The format is described in
77934 # GLIBCXX_CHECK_LINKER_FEATURES above.
77935 glibcxx_min_gnu_ld_version=21400
77937 # If no shared libgcc, can't win.
77938 if test $glibcxx_shared_libgcc != yes; then
77939 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
77940 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
77941 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
77942 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
77943 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
77944 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
77945 enable_symvers=no
77946 elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
77947 : All interesting versions of Sun ld support sun style symbol versioning.
77948 elif test $with_gnu_ld != yes ; then
77949 # just fail for now
77950 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
77951 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
77952 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
77953 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
77954 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
77955 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
77956 enable_symvers=no
77957 elif test $glibcxx_ld_is_gold = yes ; then
77958 : All versions of gold support symbol versioning.
77959 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
77960 # The right tools, the right setup, but too old. Fallbacks?
77961 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
77962 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
77963 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
77964 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
77965 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
77966 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
77967 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
77968 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
77969 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
77970 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
77971 enable_symvers=no
77975 # For libtool versioning info, format is CURRENT:REVISION:AGE
77976 libtool_VERSION=6:21:0
77978 # Everything parsed; figure out what files and settings to use.
77979 case $enable_symvers in
77981 SYMVER_FILE=config/abi/pre/none.ver
77983 gnu)
77984 SYMVER_FILE=config/abi/pre/gnu.ver
77986 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
77989 gnu-versioned-namespace)
77990 libtool_VERSION=7:0:0
77991 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
77993 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
77996 darwin)
77997 SYMVER_FILE=config/abi/pre/gnu.ver
77999 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
78002 sun)
78003 SYMVER_FILE=config/abi/pre/gnu.ver
78005 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
78008 esac
78010 if test x$enable_symvers != xno ; then
78012 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
78016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
78017 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
78018 if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then :
78019 $as_echo_n "(cached) " >&6
78020 else
78022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78023 /* end confdefs.h. */
78024 void foo (void); __asm (".symver foo, bar@SYMVER");
78026 main ()
78030 return 0;
78032 _ACEOF
78033 if ac_fn_c_try_compile "$LINENO"; then :
78034 glibcxx_cv_have_as_symver_directive=yes
78035 else
78036 glibcxx_cv_have_as_symver_directive=no
78038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
78041 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
78042 if test $glibcxx_cv_have_as_symver_directive = yes; then
78044 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
78055 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
78056 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
78058 if test $enable_symvers != no ; then
78059 case ${target_os} in
78060 # The Solaris 2 runtime linker doesn't support the GNU extension of
78061 # binding the same symbol to different versions
78062 solaris2*)
78064 # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
78067 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
78070 esac
78073 # Now, set up compatibility support, if any.
78074 # In addition, need this to deal with std::size_t mangling in
78075 # src/compatibility.cc. In a perfect world, could use
78076 # typeid(std::size_t).name()[0] to do direct substitution.
78077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
78078 $as_echo_n "checking for size_t as unsigned int... " >&6; }
78079 ac_save_CFLAGS="$CFLAGS"
78080 CFLAGS="-Werror"
78081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78082 /* end confdefs.h. */
78085 main ()
78087 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
78089 return 0;
78091 _ACEOF
78092 if ac_fn_c_try_compile "$LINENO"; then :
78093 glibcxx_size_t_is_i=yes
78094 else
78095 glibcxx_size_t_is_i=no
78097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78098 CFLAGS=$ac_save_CFLAGS
78099 if test "$glibcxx_size_t_is_i" = yes; then
78101 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
78104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
78105 $as_echo "$glibcxx_size_t_is_i" >&6; }
78107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
78108 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
78109 ac_save_CFLAGS="$CFLAGS"
78110 CFLAGS="-Werror"
78111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78112 /* end confdefs.h. */
78115 main ()
78117 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
78119 return 0;
78121 _ACEOF
78122 if ac_fn_c_try_compile "$LINENO"; then :
78123 glibcxx_ptrdiff_t_is_i=yes
78124 else
78125 glibcxx_ptrdiff_t_is_i=no
78127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78128 CFLAGS=$ac_save_CFLAGS
78129 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
78131 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
78134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
78135 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
78140 # Check whether --enable-libstdcxx-visibility was given.
78141 if test "${enable_libstdcxx_visibility+set}" = set; then :
78142 enableval=$enable_libstdcxx_visibility;
78143 case "$enableval" in
78144 yes|no) ;;
78145 *) as_fn_error "Argument to enable/disable libstdcxx-visibility must be yes or no" "$LINENO" 5 ;;
78146 esac
78148 else
78149 enable_libstdcxx_visibility=yes
78154 if test x$enable_libstdcxx_visibility = xyes ; then
78155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
78156 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
78157 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then :
78158 $as_echo_n "(cached) " >&6
78159 else
78161 save_CFLAGS="$CFLAGS"
78162 CFLAGS="$CFLAGS -Werror"
78163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78164 /* end confdefs.h. */
78165 void __attribute__((visibility("hidden"))) foo(void) { }
78167 main ()
78171 return 0;
78173 _ACEOF
78174 if ac_fn_c_try_compile "$LINENO"; then :
78175 glibcxx_cv_have_attribute_visibility=yes
78176 else
78177 glibcxx_cv_have_attribute_visibility=no
78179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78180 CFLAGS="$save_CFLAGS"
78182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
78183 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
78184 if test $glibcxx_cv_have_attribute_visibility = no; then
78185 enable_libstdcxx_visibility=no
78190 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_libstdcxx_visibility" >&5
78191 $as_echo "$as_me: visibility supported: $enable_libstdcxx_visibility" >&6;}
78195 # Check whether --enable-libstdcxx-dual-abi was given.
78196 if test "${enable_libstdcxx_dual_abi+set}" = set; then :
78197 enableval=$enable_libstdcxx_dual_abi;
78198 case "$enableval" in
78199 yes|no) ;;
78200 *) as_fn_error "Argument to enable/disable libstdcxx-dual-abi must be yes or no" "$LINENO" 5 ;;
78201 esac
78203 else
78204 enable_libstdcxx_dual_abi=yes
78208 if test x"$enable_libstdcxx_dual_abi" != xyes; then
78209 { $as_echo "$as_me:${as_lineno-$LINENO}: dual ABI is disabled" >&5
78210 $as_echo "$as_me: dual ABI is disabled" >&6;}
78211 default_libstdcxx_abi="c++98"
78216 if test x$enable_libstdcxx_dual_abi = xyes; then
78217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default std::string ABI to use" >&5
78218 $as_echo_n "checking for default std::string ABI to use... " >&6; }
78220 # Check whether --with-default-libstdcxx-abi was given.
78221 if test "${with_default_libstdcxx_abi+set}" = set; then :
78222 withval=$with_default_libstdcxx_abi; case "$withval" in
78223 c++98|gnu++98|c++03|gnu++03) default_libstdcxx_abi="c++98" ;;
78224 c++1?|gnu++1?) default_libstdcxx_abi="c++11" ;;
78225 *) as_fn_error "Invalid argument for --with-default-libstdcxx-abi" "$LINENO" 5 ;;
78226 esac
78227 else
78228 default_libstdcxx_abi="c++11"
78231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${default_libstdcxx_abi}" >&5
78232 $as_echo "${default_libstdcxx_abi}" >&6; }
78234 if test $default_libstdcxx_abi = "c++11"; then
78235 glibcxx_cxx11_abi=1
78236 glibcxx_cxx98_abi=0
78237 else
78238 glibcxx_cxx11_abi=0
78239 glibcxx_cxx98_abi=1
78245 ac_ldbl_compat=no
78246 case "$target" in
78247 powerpc*-*-linux* | \
78248 sparc*-*-linux* | \
78249 s390*-*-linux* | \
78250 alpha*-*-linux*)
78251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78252 /* end confdefs.h. */
78255 main ()
78258 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
78259 #error no need for long double compatibility
78260 #endif
78263 return 0;
78265 _ACEOF
78266 if ac_fn_c_try_compile "$LINENO"; then :
78267 ac_ldbl_compat=yes
78268 else
78269 ac_ldbl_compat=no
78271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78272 if test "$ac_ldbl_compat" = yes; then
78274 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
78276 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
78278 esac
78281 # Check if assembler supports disabling hardware capability support.
78283 test -z "$HWCAP_FLAGS" && HWCAP_FLAGS=''
78285 # Restrict the test to Solaris, other assemblers (e.g. AIX as) have -nH
78286 # with a different meaning.
78287 case ${target_os} in
78288 solaris2*)
78289 ac_save_CFLAGS="$CFLAGS"
78290 CFLAGS="$CFLAGS -Wa,-nH"
78292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for as that supports -Wa,-nH" >&5
78293 $as_echo_n "checking for as that supports -Wa,-nH... " >&6; }
78294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78295 /* end confdefs.h. */
78298 main ()
78300 return 0;
78302 return 0;
78304 _ACEOF
78305 if ac_fn_c_try_compile "$LINENO"; then :
78306 ac_hwcap_flags=yes
78307 else
78308 ac_hwcap_flags=no
78310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78311 if test "$ac_hwcap_flags" = "yes"; then
78312 HWCAP_FLAGS="-Wa,-nH $HWCAP_FLAGS"
78314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_flags" >&5
78315 $as_echo "$ac_hwcap_flags" >&6; }
78317 CFLAGS="$ac_save_CFLAGS"
78319 esac
78324 # Check if assembler supports rdrand opcode.
78326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdrand support in assembler" >&5
78327 $as_echo_n "checking for rdrand support in assembler... " >&6; }
78328 if test "${ac_cv_x86_rdrand+set}" = set; then :
78329 $as_echo_n "(cached) " >&6
78330 else
78332 ac_cv_x86_rdrand=no
78333 case "$target" in
78334 i?86-*-* | \
78335 x86_64-*-*)
78336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78337 /* end confdefs.h. */
78340 main ()
78342 asm("rdrand %eax");
78344 return 0;
78346 _ACEOF
78347 if ac_fn_c_try_compile "$LINENO"; then :
78348 ac_cv_x86_rdrand=yes
78349 else
78350 ac_cv_x86_rdrand=no
78352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78353 esac
78357 if test $ac_cv_x86_rdrand = yes; then
78359 $as_echo "#define _GLIBCXX_X86_RDRAND 1" >>confdefs.h
78362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdrand" >&5
78363 $as_echo "$ac_cv_x86_rdrand" >&6; }
78366 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
78368 if $GLIBCXX_IS_NATIVE ; then
78369 # Do checks for resource limit functions.
78371 setrlimit_have_headers=yes
78372 for ac_header in unistd.h sys/time.h sys/resource.h
78373 do :
78374 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
78375 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
78376 eval as_val=\$$as_ac_Header
78377 if test "x$as_val" = x""yes; then :
78378 cat >>confdefs.h <<_ACEOF
78379 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
78380 _ACEOF
78382 else
78383 setrlimit_have_headers=no
78386 done
78388 # If don't have the headers, then we can't run the tests now, and we
78389 # won't be seeing any of these during testsuite compilation.
78390 if test $setrlimit_have_headers = yes; then
78391 # Can't do these in a loop, else the resulting syntax is wrong.
78393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
78394 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
78395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78396 /* end confdefs.h. */
78397 #include <unistd.h>
78398 #include <sys/time.h>
78399 #include <sys/resource.h>
78402 main ()
78404 int f = RLIMIT_DATA ;
78406 return 0;
78408 _ACEOF
78409 if ac_fn_c_try_compile "$LINENO"; then :
78410 glibcxx_mresult=1
78411 else
78412 glibcxx_mresult=0
78414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78416 cat >>confdefs.h <<_ACEOF
78417 #define HAVE_LIMIT_DATA $glibcxx_mresult
78418 _ACEOF
78420 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
78421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
78422 $as_echo "$res" >&6; }
78425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
78426 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
78427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78428 /* end confdefs.h. */
78429 #include <unistd.h>
78430 #include <sys/time.h>
78431 #include <sys/resource.h>
78434 main ()
78436 int f = RLIMIT_RSS ;
78438 return 0;
78440 _ACEOF
78441 if ac_fn_c_try_compile "$LINENO"; then :
78442 glibcxx_mresult=1
78443 else
78444 glibcxx_mresult=0
78446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78448 cat >>confdefs.h <<_ACEOF
78449 #define HAVE_LIMIT_RSS $glibcxx_mresult
78450 _ACEOF
78452 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
78453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
78454 $as_echo "$res" >&6; }
78457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
78458 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
78459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78460 /* end confdefs.h. */
78461 #include <unistd.h>
78462 #include <sys/time.h>
78463 #include <sys/resource.h>
78466 main ()
78468 int f = RLIMIT_VMEM ;
78470 return 0;
78472 _ACEOF
78473 if ac_fn_c_try_compile "$LINENO"; then :
78474 glibcxx_mresult=1
78475 else
78476 glibcxx_mresult=0
78478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78480 cat >>confdefs.h <<_ACEOF
78481 #define HAVE_LIMIT_VMEM $glibcxx_mresult
78482 _ACEOF
78484 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
78485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
78486 $as_echo "$res" >&6; }
78489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
78490 $as_echo_n "checking for RLIMIT_AS... " >&6; }
78491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78492 /* end confdefs.h. */
78493 #include <unistd.h>
78494 #include <sys/time.h>
78495 #include <sys/resource.h>
78498 main ()
78500 int f = RLIMIT_AS ;
78502 return 0;
78504 _ACEOF
78505 if ac_fn_c_try_compile "$LINENO"; then :
78506 glibcxx_mresult=1
78507 else
78508 glibcxx_mresult=0
78510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78512 cat >>confdefs.h <<_ACEOF
78513 #define HAVE_LIMIT_AS $glibcxx_mresult
78514 _ACEOF
78516 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
78517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
78518 $as_echo "$res" >&6; }
78521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
78522 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
78523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78524 /* end confdefs.h. */
78525 #include <unistd.h>
78526 #include <sys/time.h>
78527 #include <sys/resource.h>
78530 main ()
78532 int f = RLIMIT_FSIZE ;
78534 return 0;
78536 _ACEOF
78537 if ac_fn_c_try_compile "$LINENO"; then :
78538 glibcxx_mresult=1
78539 else
78540 glibcxx_mresult=0
78542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78544 cat >>confdefs.h <<_ACEOF
78545 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
78546 _ACEOF
78548 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
78549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
78550 $as_echo "$res" >&6; }
78553 # Check for rlimit, setrlimit.
78554 if test "${glibcxx_cv_setrlimit+set}" = set; then :
78555 $as_echo_n "(cached) " >&6
78556 else
78558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78559 /* end confdefs.h. */
78560 #include <unistd.h>
78561 #include <sys/time.h>
78562 #include <sys/resource.h>
78565 main ()
78567 struct rlimit r;
78568 setrlimit(0, &r);
78570 return 0;
78572 _ACEOF
78573 if ac_fn_c_try_compile "$LINENO"; then :
78574 glibcxx_cv_setrlimit=yes
78575 else
78576 glibcxx_cv_setrlimit=no
78578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
78585 $as_echo_n "checking for testsuite resource limits support... " >&6; }
78586 if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
78587 ac_res_limits=yes
78589 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
78591 else
78592 ac_res_limits=no
78594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
78595 $as_echo "$ac_res_limits" >&6; }
78598 # Look for setenv, so that extended locale tests can be performed.
78600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
78601 $as_echo_n "checking for setenv declaration... " >&6; }
78602 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
78603 if test "${glibcxx_cv_func_setenv_use+set}" = set; then :
78604 $as_echo_n "(cached) " >&6
78605 else
78608 ac_ext=cpp
78609 ac_cpp='$CXXCPP $CPPFLAGS'
78610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78615 /* end confdefs.h. */
78616 #include <stdlib.h>
78618 main ()
78620 setenv(0, 0, 0);
78622 return 0;
78624 _ACEOF
78625 if ac_fn_cxx_try_compile "$LINENO"; then :
78626 glibcxx_cv_func_setenv_use=yes
78627 else
78628 glibcxx_cv_func_setenv_use=no
78630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78631 ac_ext=c
78632 ac_cpp='$CPP $CPPFLAGS'
78633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
78642 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
78643 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
78644 for ac_func in setenv
78645 do :
78646 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
78647 if test "x$ac_cv_func_setenv" = x""yes; then :
78648 cat >>confdefs.h <<_ACEOF
78649 #define HAVE_SETENV 1
78650 _ACEOF
78653 done
78659 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
78660 test $enable_symvers != no; then
78661 case "$host" in
78662 *-*-cygwin*)
78663 enable_abi_check=no ;;
78665 enable_abi_check=yes ;;
78666 esac
78667 else
78668 # Only build this as native, since automake does not understand
78669 # CXX_FOR_BUILD.
78670 enable_abi_check=no
78673 # Export file names for ABI checking.
78674 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
78676 baseline_subdir_switch="$abi_baseline_subdir_switch"
78680 # For gthread support. Depends on GLIBCXX_ENABLE_SYMVERS.
78682 # Check whether --enable-libstdcxx-threads was given.
78683 if test "${enable_libstdcxx_threads+set}" = set; then :
78684 enableval=$enable_libstdcxx_threads;
78685 case "$enableval" in
78686 yes|no) ;;
78687 *) as_fn_error "Argument to enable/disable libstdcxx-threads must be yes or no" "$LINENO" 5 ;;
78688 esac
78690 else
78691 enable_libstdcxx_threads=auto
78696 if test x$enable_libstdcxx_threads = xauto ||
78697 test x$enable_libstdcxx_threads = xyes; then
78700 ac_ext=cpp
78701 ac_cpp='$CXXCPP $CPPFLAGS'
78702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78707 ac_save_CXXFLAGS="$CXXFLAGS"
78708 CXXFLAGS="$CXXFLAGS -fno-exceptions \
78709 -I${toplevel_srcdir}/libgcc -I${toplevel_builddir}/libgcc"
78711 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
78712 case $target_thread_file in
78713 posix)
78714 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
78715 esac
78717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it can be safely assumed that mutex_timedlock is available" >&5
78718 $as_echo_n "checking whether it can be safely assumed that mutex_timedlock is available... " >&6; }
78720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78721 /* end confdefs.h. */
78722 #include <unistd.h>
78724 main ()
78727 // In case of POSIX threads check _POSIX_TIMEOUTS.
78728 #if (defined(_PTHREADS) \
78729 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
78730 #error
78731 #endif
78734 return 0;
78736 _ACEOF
78737 if ac_fn_cxx_try_compile "$LINENO"; then :
78738 ac_gthread_use_mutex_timedlock=1
78739 else
78740 ac_gthread_use_mutex_timedlock=0
78742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78745 cat >>confdefs.h <<_ACEOF
78746 #define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
78747 _ACEOF
78750 if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
78751 else res_mutex_timedlock=no ; fi
78752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
78753 $as_echo "$res_mutex_timedlock" >&6; }
78755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
78756 $as_echo_n "checking for gthreads library... " >&6; }
78758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78759 /* end confdefs.h. */
78760 #include "gthr.h"
78762 main ()
78765 #ifndef __GTHREADS_CXX0X
78766 #error
78767 #endif
78770 return 0;
78772 _ACEOF
78773 if ac_fn_cxx_try_compile "$LINENO"; then :
78774 ac_has_gthreads=yes
78775 else
78776 ac_has_gthreads=no
78778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78779 else
78780 ac_has_gthreads=no
78783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
78784 $as_echo "$ac_has_gthreads" >&6; }
78786 if test x"$ac_has_gthreads" = x"yes"; then
78788 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
78792 CXXFLAGS="$ac_save_CXXFLAGS"
78793 ac_ext=c
78794 ac_cpp='$CPP $CPPFLAGS'
78795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78801 # Define documentation rules conditionally.
78803 # See if makeinfo has been installed and is modern enough
78804 # that we can use it.
78806 # Extract the first word of "makeinfo", so it can be a program name with args.
78807 set dummy makeinfo; ac_word=$2
78808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
78809 $as_echo_n "checking for $ac_word... " >&6; }
78810 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
78811 $as_echo_n "(cached) " >&6
78812 else
78813 if test -n "$MAKEINFO"; then
78814 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
78815 else
78816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78817 for as_dir in $PATH
78819 IFS=$as_save_IFS
78820 test -z "$as_dir" && as_dir=.
78821 for ac_exec_ext in '' $ac_executable_extensions; do
78822 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
78823 ac_cv_prog_MAKEINFO="makeinfo"
78824 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
78825 break 2
78827 done
78828 done
78829 IFS=$as_save_IFS
78833 MAKEINFO=$ac_cv_prog_MAKEINFO
78834 if test -n "$MAKEINFO"; then
78835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
78836 $as_echo "$MAKEINFO" >&6; }
78837 else
78838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
78839 $as_echo "no" >&6; }
78843 if test -n "$MAKEINFO"; then
78844 # Found it, now check the version.
78845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
78846 $as_echo_n "checking for modern makeinfo... " >&6; }
78847 if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then :
78848 $as_echo_n "(cached) " >&6
78849 else
78850 ac_prog_version=`eval $MAKEINFO --version 2>&1 |
78851 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
78853 case $ac_prog_version in
78854 '') gcc_cv_prog_makeinfo_modern=no;;
78855 4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*) gcc_cv_prog_makeinfo_modern=yes;;
78856 *) gcc_cv_prog_makeinfo_modern=no;;
78857 esac
78860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
78861 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
78862 else
78863 gcc_cv_prog_makeinfo_modern=no
78865 if test $gcc_cv_prog_makeinfo_modern = no; then
78866 MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
78869 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
78870 BUILD_INFO_TRUE=
78871 BUILD_INFO_FALSE='#'
78872 else
78873 BUILD_INFO_TRUE='#'
78874 BUILD_INFO_FALSE=
78878 # Check for doxygen
78879 # Extract the first word of "doxygen", so it can be a program name with args.
78880 set dummy doxygen; ac_word=$2
78881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
78882 $as_echo_n "checking for $ac_word... " >&6; }
78883 if test "${ac_cv_prog_DOXYGEN+set}" = set; then :
78884 $as_echo_n "(cached) " >&6
78885 else
78886 if test -n "$DOXYGEN"; then
78887 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
78888 else
78889 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78890 for as_dir in $PATH
78892 IFS=$as_save_IFS
78893 test -z "$as_dir" && as_dir=.
78894 for ac_exec_ext in '' $ac_executable_extensions; do
78895 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
78896 ac_cv_prog_DOXYGEN="yes"
78897 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
78898 break 2
78900 done
78901 done
78902 IFS=$as_save_IFS
78904 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
78907 DOXYGEN=$ac_cv_prog_DOXYGEN
78908 if test -n "$DOXYGEN"; then
78909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
78910 $as_echo "$DOXYGEN" >&6; }
78911 else
78912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
78913 $as_echo "no" >&6; }
78917 # Extract the first word of "dot", so it can be a program name with args.
78918 set dummy dot; ac_word=$2
78919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
78920 $as_echo_n "checking for $ac_word... " >&6; }
78921 if test "${ac_cv_prog_DOT+set}" = set; then :
78922 $as_echo_n "(cached) " >&6
78923 else
78924 if test -n "$DOT"; then
78925 ac_cv_prog_DOT="$DOT" # Let the user override the test.
78926 else
78927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78928 for as_dir in $PATH
78930 IFS=$as_save_IFS
78931 test -z "$as_dir" && as_dir=.
78932 for ac_exec_ext in '' $ac_executable_extensions; do
78933 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
78934 ac_cv_prog_DOT="yes"
78935 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
78936 break 2
78938 done
78939 done
78940 IFS=$as_save_IFS
78942 test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
78945 DOT=$ac_cv_prog_DOT
78946 if test -n "$DOT"; then
78947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
78948 $as_echo "$DOT" >&6; }
78949 else
78950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
78951 $as_echo "no" >&6; }
78956 # Check for docbook
78957 # Extract the first word of "xsltproc", so it can be a program name with args.
78958 set dummy xsltproc; ac_word=$2
78959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
78960 $as_echo_n "checking for $ac_word... " >&6; }
78961 if test "${ac_cv_prog_XSLTPROC+set}" = set; then :
78962 $as_echo_n "(cached) " >&6
78963 else
78964 if test -n "$XSLTPROC"; then
78965 ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
78966 else
78967 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78968 for as_dir in $PATH
78970 IFS=$as_save_IFS
78971 test -z "$as_dir" && as_dir=.
78972 for ac_exec_ext in '' $ac_executable_extensions; do
78973 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
78974 ac_cv_prog_XSLTPROC="yes"
78975 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
78976 break 2
78978 done
78979 done
78980 IFS=$as_save_IFS
78982 test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
78985 XSLTPROC=$ac_cv_prog_XSLTPROC
78986 if test -n "$XSLTPROC"; then
78987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
78988 $as_echo "$XSLTPROC" >&6; }
78989 else
78990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
78991 $as_echo "no" >&6; }
78995 # Extract the first word of "xmllint", so it can be a program name with args.
78996 set dummy xmllint; ac_word=$2
78997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
78998 $as_echo_n "checking for $ac_word... " >&6; }
78999 if test "${ac_cv_prog_XMLLINT+set}" = set; then :
79000 $as_echo_n "(cached) " >&6
79001 else
79002 if test -n "$XMLLINT"; then
79003 ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
79004 else
79005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79006 for as_dir in $PATH
79008 IFS=$as_save_IFS
79009 test -z "$as_dir" && as_dir=.
79010 for ac_exec_ext in '' $ac_executable_extensions; do
79011 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
79012 ac_cv_prog_XMLLINT="yes"
79013 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
79014 break 2
79016 done
79017 done
79018 IFS=$as_save_IFS
79020 test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
79023 XMLLINT=$ac_cv_prog_XMLLINT
79024 if test -n "$XMLLINT"; then
79025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
79026 $as_echo "$XMLLINT" >&6; }
79027 else
79028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
79029 $as_echo "no" >&6; }
79035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docbook stylesheets for documentation creation" >&5
79036 $as_echo_n "checking for docbook stylesheets for documentation creation... " >&6; }
79037 glibcxx_stylesheets=no
79038 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
79039 glibcxx_stylesheets=yes
79041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
79042 $as_echo "$glibcxx_stylesheets" >&6; }
79044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
79045 $as_echo_n "checking for local stylesheet directory... " >&6; }
79046 glibcxx_local_stylesheets=no
79047 if test x"$glibcxx_stylesheets" = x"yes"; then
79048 if test -d /usr/share/sgml/docbook/xsl-ns-stylesheets; then
79049 glibcxx_local_stylesheets=yes
79050 XSL_STYLE_DIR=/usr/share/sgml/docbook/xsl-ns-stylesheets
79052 if test -d /usr/share/xml/docbook/stylesheet/docbook-xsl-ns; then
79053 glibcxx_local_stylesheets=yes
79054 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/docbook-xsl-ns
79056 if test -d /usr/share/xml/docbook/stylesheet/nwalsh5/current; then
79057 glibcxx_local_stylesheets=yes
79058 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/nwalsh5/current
79061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
79062 $as_echo "$glibcxx_local_stylesheets" >&6; }
79064 if test x"$glibcxx_local_stylesheets" = x"yes"; then
79066 { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
79067 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
79068 else
79069 glibcxx_stylesheets=no
79072 # Check for epub3 dependencies.
79073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epub3 stylesheets for documentation creation" >&5
79074 $as_echo_n "checking for epub3 stylesheets for documentation creation... " >&6; }
79075 glibcxx_epub_stylesheets=no
79076 if test x"$glibcxx_local_stylesheets" = x"yes"; then
79077 if test -f "$XSL_STYLE_DIR/epub3/chunk.xsl"; then
79078 glibcxx_epub_stylesheets=yes
79081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_epub_stylesheets" >&5
79082 $as_echo "$glibcxx_epub_stylesheets" >&6; }
79083 if test x"$glibcxx_epub_stylesheets" = x"yes"; then
79084 BUILD_EPUB_TRUE=
79085 BUILD_EPUB_FALSE='#'
79086 else
79087 BUILD_EPUB_TRUE='#'
79088 BUILD_EPUB_FALSE=
79094 # Check for xml/html dependencies.
79095 if test $ac_cv_prog_DOXYGEN = "yes" &&
79096 test $ac_cv_prog_DOT = "yes" &&
79097 test $ac_cv_prog_XSLTPROC = "yes" &&
79098 test $ac_cv_prog_XMLLINT = "yes" &&
79099 test $glibcxx_stylesheets = "yes"; then
79100 BUILD_XML_TRUE=
79101 BUILD_XML_FALSE='#'
79102 else
79103 BUILD_XML_TRUE='#'
79104 BUILD_XML_FALSE=
79108 if test $ac_cv_prog_DOXYGEN = "yes" &&
79109 test $ac_cv_prog_DOT = "yes" &&
79110 test $ac_cv_prog_XSLTPROC = "yes" &&
79111 test $ac_cv_prog_XMLLINT = "yes" &&
79112 test $glibcxx_stylesheets = "yes"; then
79113 BUILD_HTML_TRUE=
79114 BUILD_HTML_FALSE='#'
79115 else
79116 BUILD_HTML_TRUE='#'
79117 BUILD_HTML_FALSE=
79121 # Check for man dependencies.
79122 if test $ac_cv_prog_DOXYGEN = "yes" &&
79123 test $ac_cv_prog_DOT = "yes"; then
79124 BUILD_MAN_TRUE=
79125 BUILD_MAN_FALSE='#'
79126 else
79127 BUILD_MAN_TRUE='#'
79128 BUILD_MAN_FALSE=
79132 # Check for pdf dependencies.
79133 # Extract the first word of "dblatex", so it can be a program name with args.
79134 set dummy dblatex; ac_word=$2
79135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
79136 $as_echo_n "checking for $ac_word... " >&6; }
79137 if test "${ac_cv_prog_DBLATEX+set}" = set; then :
79138 $as_echo_n "(cached) " >&6
79139 else
79140 if test -n "$DBLATEX"; then
79141 ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
79142 else
79143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79144 for as_dir in $PATH
79146 IFS=$as_save_IFS
79147 test -z "$as_dir" && as_dir=.
79148 for ac_exec_ext in '' $ac_executable_extensions; do
79149 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
79150 ac_cv_prog_DBLATEX="yes"
79151 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
79152 break 2
79154 done
79155 done
79156 IFS=$as_save_IFS
79158 test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
79161 DBLATEX=$ac_cv_prog_DBLATEX
79162 if test -n "$DBLATEX"; then
79163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
79164 $as_echo "$DBLATEX" >&6; }
79165 else
79166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
79167 $as_echo "no" >&6; }
79171 # Extract the first word of "pdflatex", so it can be a program name with args.
79172 set dummy pdflatex; ac_word=$2
79173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
79174 $as_echo_n "checking for $ac_word... " >&6; }
79175 if test "${ac_cv_prog_PDFLATEX+set}" = set; then :
79176 $as_echo_n "(cached) " >&6
79177 else
79178 if test -n "$PDFLATEX"; then
79179 ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
79180 else
79181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79182 for as_dir in $PATH
79184 IFS=$as_save_IFS
79185 test -z "$as_dir" && as_dir=.
79186 for ac_exec_ext in '' $ac_executable_extensions; do
79187 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
79188 ac_cv_prog_PDFLATEX="yes"
79189 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
79190 break 2
79192 done
79193 done
79194 IFS=$as_save_IFS
79196 test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
79199 PDFLATEX=$ac_cv_prog_PDFLATEX
79200 if test -n "$PDFLATEX"; then
79201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
79202 $as_echo "$PDFLATEX" >&6; }
79203 else
79204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
79205 $as_echo "no" >&6; }
79209 if test $ac_cv_prog_DBLATEX = "yes" &&
79210 test $ac_cv_prog_PDFLATEX = "yes"; then
79211 BUILD_PDF_TRUE=
79212 BUILD_PDF_FALSE='#'
79213 else
79214 BUILD_PDF_TRUE='#'
79215 BUILD_PDF_FALSE=
79220 # Propagate the target-specific source directories through the build chain.
79221 ATOMICITY_SRCDIR=config/${atomicity_dir}
79222 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
79223 ATOMIC_FLAGS=${atomic_flags}
79224 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
79225 OS_INC_SRCDIR=config/${os_include_dir}
79226 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
79227 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
79228 CPU_OPT_EXT_RANDOM=config/${cpu_opt_ext_random}
79229 CPU_OPT_BITS_RANDOM=config/${cpu_opt_bits_random}
79241 # Determine cross-compile flags and AM_CONDITIONALs.
79242 #AC_SUBST(GLIBCXX_IS_NATIVE)
79243 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
79244 if test $is_hosted = yes; then
79245 GLIBCXX_HOSTED_TRUE=
79246 GLIBCXX_HOSTED_FALSE='#'
79247 else
79248 GLIBCXX_HOSTED_TRUE='#'
79249 GLIBCXX_HOSTED_FALSE=
79253 if test $enable_libstdcxx_pch = yes; then
79254 GLIBCXX_BUILD_PCH_TRUE=
79255 GLIBCXX_BUILD_PCH_FALSE='#'
79256 else
79257 GLIBCXX_BUILD_PCH_TRUE='#'
79258 GLIBCXX_BUILD_PCH_FALSE=
79262 if test $enable_cheaders = c; then
79263 GLIBCXX_C_HEADERS_C_TRUE=
79264 GLIBCXX_C_HEADERS_C_FALSE='#'
79265 else
79266 GLIBCXX_C_HEADERS_C_TRUE='#'
79267 GLIBCXX_C_HEADERS_C_FALSE=
79271 if test $enable_cheaders = c_std; then
79272 GLIBCXX_C_HEADERS_C_STD_TRUE=
79273 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
79274 else
79275 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
79276 GLIBCXX_C_HEADERS_C_STD_FALSE=
79280 if test $enable_cheaders = c_global; then
79281 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
79282 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
79283 else
79284 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
79285 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
79289 if test $c_compatibility = yes; then
79290 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
79291 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
79292 else
79293 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
79294 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
79298 if test $enable_libstdcxx_debug = yes; then
79299 GLIBCXX_BUILD_DEBUG_TRUE=
79300 GLIBCXX_BUILD_DEBUG_FALSE='#'
79301 else
79302 GLIBCXX_BUILD_DEBUG_TRUE='#'
79303 GLIBCXX_BUILD_DEBUG_FALSE=
79307 if test $enable_extern_template = yes; then
79308 ENABLE_EXTERN_TEMPLATE_TRUE=
79309 ENABLE_EXTERN_TEMPLATE_FALSE='#'
79310 else
79311 ENABLE_EXTERN_TEMPLATE_TRUE='#'
79312 ENABLE_EXTERN_TEMPLATE_FALSE=
79316 if test $python_mod_dir != no; then
79317 ENABLE_PYTHONDIR_TRUE=
79318 ENABLE_PYTHONDIR_FALSE='#'
79319 else
79320 ENABLE_PYTHONDIR_TRUE='#'
79321 ENABLE_PYTHONDIR_FALSE=
79325 if test $enable_werror = yes; then
79326 ENABLE_WERROR_TRUE=
79327 ENABLE_WERROR_FALSE='#'
79328 else
79329 ENABLE_WERROR_TRUE='#'
79330 ENABLE_WERROR_FALSE=
79334 if test $enable_vtable_verify = yes; then
79335 ENABLE_VTABLE_VERIFY_TRUE=
79336 ENABLE_VTABLE_VERIFY_FALSE='#'
79337 else
79338 ENABLE_VTABLE_VERIFY_TRUE='#'
79339 ENABLE_VTABLE_VERIFY_FALSE=
79343 if test $enable_symvers != no; then
79344 ENABLE_SYMVERS_TRUE=
79345 ENABLE_SYMVERS_FALSE='#'
79346 else
79347 ENABLE_SYMVERS_TRUE='#'
79348 ENABLE_SYMVERS_FALSE=
79352 if test $enable_symvers = gnu; then
79353 ENABLE_SYMVERS_GNU_TRUE=
79354 ENABLE_SYMVERS_GNU_FALSE='#'
79355 else
79356 ENABLE_SYMVERS_GNU_TRUE='#'
79357 ENABLE_SYMVERS_GNU_FALSE=
79361 if test $enable_symvers = gnu-versioned-namespace; then
79362 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
79363 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
79364 else
79365 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
79366 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
79370 if test $enable_symvers = darwin; then
79371 ENABLE_SYMVERS_DARWIN_TRUE=
79372 ENABLE_SYMVERS_DARWIN_FALSE='#'
79373 else
79374 ENABLE_SYMVERS_DARWIN_TRUE='#'
79375 ENABLE_SYMVERS_DARWIN_FALSE=
79379 if test $enable_symvers = sun; then
79380 ENABLE_SYMVERS_SUN_TRUE=
79381 ENABLE_SYMVERS_SUN_FALSE='#'
79382 else
79383 ENABLE_SYMVERS_SUN_TRUE='#'
79384 ENABLE_SYMVERS_SUN_FALSE=
79388 if test $enable_libstdcxx_visibility = yes; then
79389 ENABLE_VISIBILITY_TRUE=
79390 ENABLE_VISIBILITY_FALSE='#'
79391 else
79392 ENABLE_VISIBILITY_TRUE='#'
79393 ENABLE_VISIBILITY_FALSE=
79397 if test $enable_libstdcxx_dual_abi = yes; then
79398 ENABLE_DUAL_ABI_TRUE=
79399 ENABLE_DUAL_ABI_FALSE='#'
79400 else
79401 ENABLE_DUAL_ABI_TRUE='#'
79402 ENABLE_DUAL_ABI_FALSE=
79406 if test $glibcxx_cxx11_abi = 1; then
79407 ENABLE_CXX11_ABI_TRUE=
79408 ENABLE_CXX11_ABI_FALSE='#'
79409 else
79410 ENABLE_CXX11_ABI_TRUE='#'
79411 ENABLE_CXX11_ABI_FALSE=
79415 if test $ac_ldbl_compat = yes; then
79416 GLIBCXX_LDBL_COMPAT_TRUE=
79417 GLIBCXX_LDBL_COMPAT_FALSE='#'
79418 else
79419 GLIBCXX_LDBL_COMPAT_TRUE='#'
79420 GLIBCXX_LDBL_COMPAT_FALSE=
79426 cat >confcache <<\_ACEOF
79427 # This file is a shell script that caches the results of configure
79428 # tests run on this system so they can be shared between configure
79429 # scripts and configure runs, see configure's option --config-cache.
79430 # It is not useful on other systems. If it contains results you don't
79431 # want to keep, you may remove or edit it.
79433 # config.status only pays attention to the cache file if you give it
79434 # the --recheck option to rerun configure.
79436 # `ac_cv_env_foo' variables (set or unset) will be overridden when
79437 # loading this file, other *unset* `ac_cv_foo' will be assigned the
79438 # following values.
79440 _ACEOF
79442 # The following way of writing the cache mishandles newlines in values,
79443 # but we know of no workaround that is simple, portable, and efficient.
79444 # So, we kill variables containing newlines.
79445 # Ultrix sh set writes to stderr and can't be redirected directly,
79446 # and sets the high bit in the cache file unless we assign to the vars.
79448 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
79449 eval ac_val=\$$ac_var
79450 case $ac_val in #(
79451 *${as_nl}*)
79452 case $ac_var in #(
79453 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
79454 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
79455 esac
79456 case $ac_var in #(
79457 _ | IFS | as_nl) ;; #(
79458 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
79459 *) { eval $ac_var=; unset $ac_var;} ;;
79460 esac ;;
79461 esac
79462 done
79464 (set) 2>&1 |
79465 case $as_nl`(ac_space=' '; set) 2>&1` in #(
79466 *${as_nl}ac_space=\ *)
79467 # `set' does not quote correctly, so add quotes: double-quote
79468 # substitution turns \\\\ into \\, and sed turns \\ into \.
79469 sed -n \
79470 "s/'/'\\\\''/g;
79471 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
79472 ;; #(
79474 # `set' quotes correctly as required by POSIX, so do not add quotes.
79475 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
79477 esac |
79478 sort
79480 sed '
79481 /^ac_cv_env_/b end
79482 t clear
79483 :clear
79484 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
79485 t end
79486 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
79487 :end' >>confcache
79488 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
79489 if test -w "$cache_file"; then
79490 test "x$cache_file" != "x/dev/null" &&
79491 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
79492 $as_echo "$as_me: updating cache $cache_file" >&6;}
79493 cat confcache >$cache_file
79494 else
79495 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
79496 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
79499 rm -f confcache
79501 if test ${multilib} = yes; then
79502 multilib_arg="--enable-multilib"
79503 else
79504 multilib_arg=
79507 # Export all the install information.
79509 glibcxx_toolexecdir=no
79510 glibcxx_toolexeclibdir=no
79511 glibcxx_prefixdir=$prefix
79513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
79514 $as_echo_n "checking for gxx-include-dir... " >&6; }
79516 # Check whether --with-gxx-include-dir was given.
79517 if test "${with_gxx_include_dir+set}" = set; then :
79518 withval=$with_gxx_include_dir; case "$withval" in
79519 yes) as_fn_error "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
79520 no) gxx_include_dir=no ;;
79521 *) gxx_include_dir=$withval ;;
79522 esac
79523 else
79524 gxx_include_dir=no
79527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
79528 $as_echo "$gxx_include_dir" >&6; }
79530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
79531 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
79532 # Check whether --enable-version-specific-runtime-libs was given.
79533 if test "${enable_version_specific_runtime_libs+set}" = set; then :
79534 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
79535 yes) version_specific_libs=yes ;;
79536 no) version_specific_libs=no ;;
79537 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
79538 esac
79539 else
79540 version_specific_libs=no
79543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
79544 $as_echo "$version_specific_libs" >&6; }
79546 # Default case for install directory for include files.
79547 if test $version_specific_libs = no && test $gxx_include_dir = no; then
79548 gxx_include_dir='include/c++/${gcc_version}'
79549 if test -n "$with_cross_host" &&
79550 test x"$with_cross_host" != x"no"; then
79551 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
79552 else
79553 gxx_include_dir='${prefix}/'"$gxx_include_dir"
79557 # Version-specific runtime libs processing.
79558 if test $version_specific_libs = yes; then
79559 # Need the gcc compiler version to know where to install libraries
79560 # and header files if --enable-version-specific-runtime-libs option
79561 # is selected. FIXME: these variables are misnamed, there are
79562 # no executables installed in _toolexecdir or _toolexeclibdir.
79563 if test x"$gxx_include_dir" = x"no"; then
79564 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
79566 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
79567 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
79570 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
79571 # Install a library built with a cross compiler in tooldir, not libdir.
79572 if test x"$glibcxx_toolexecdir" = x"no"; then
79573 if test -n "$with_cross_host" &&
79574 test x"$with_cross_host" != x"no"; then
79575 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
79576 glibcxx_toolexeclibdir='${toolexecdir}/lib'
79577 else
79578 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
79579 glibcxx_toolexeclibdir='${libdir}'
79581 multi_os_directory=`$CXX -print-multi-os-directory`
79582 case $multi_os_directory in
79583 .) ;; # Avoid trailing /.
79584 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
79585 esac
79588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
79589 $as_echo_n "checking for install location... " >&6; }
79590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
79591 $as_echo "$gxx_include_dir" >&6; }
79599 # Export all the include and flag information to Makefiles.
79601 # Used for every C++ compile we perform.
79602 GLIBCXX_INCLUDES="\
79603 -I$glibcxx_builddir/include/$host_alias \
79604 -I$glibcxx_builddir/include \
79605 -I$glibcxx_srcdir/libsupc++"
79607 # For Canadian crosses, pick this up too.
79608 if test $CANADIAN = yes; then
79609 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
79612 # Stuff in the actual top level. Currently only used by libsupc++ to
79613 # get unwind* headers from the libgcc dir.
79614 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
79615 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc'
79617 # Now, export this to all the little Makefiles....
79622 # Optimization flags that are probably a good idea for thrill-seekers. Just
79623 # uncomment the lines below and make, everything else is ready to go...
79624 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
79625 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
79628 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi'
79632 ac_config_files="$ac_config_files Makefile"
79634 ac_config_files="$ac_config_files scripts/testsuite_flags"
79636 ac_config_files="$ac_config_files scripts/extract_symvers"
79638 ac_config_files="$ac_config_files doc/xsl/customization.xsl"
79641 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
79642 # that multilib installs will end up installed in the correct place.
79643 # The testsuite needs it for multilib-aware ABI baseline files.
79644 # To work around this not being passed down from config-ml.in ->
79645 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
79646 # append it here. Only modify Makefiles that have just been created.
79648 # Also, get rid of this simulated-VPATH thing that automake does.
79649 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"
79652 ac_config_commands="$ac_config_commands generate-headers"
79655 cat >confcache <<\_ACEOF
79656 # This file is a shell script that caches the results of configure
79657 # tests run on this system so they can be shared between configure
79658 # scripts and configure runs, see configure's option --config-cache.
79659 # It is not useful on other systems. If it contains results you don't
79660 # want to keep, you may remove or edit it.
79662 # config.status only pays attention to the cache file if you give it
79663 # the --recheck option to rerun configure.
79665 # `ac_cv_env_foo' variables (set or unset) will be overridden when
79666 # loading this file, other *unset* `ac_cv_foo' will be assigned the
79667 # following values.
79669 _ACEOF
79671 # The following way of writing the cache mishandles newlines in values,
79672 # but we know of no workaround that is simple, portable, and efficient.
79673 # So, we kill variables containing newlines.
79674 # Ultrix sh set writes to stderr and can't be redirected directly,
79675 # and sets the high bit in the cache file unless we assign to the vars.
79677 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
79678 eval ac_val=\$$ac_var
79679 case $ac_val in #(
79680 *${as_nl}*)
79681 case $ac_var in #(
79682 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
79683 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
79684 esac
79685 case $ac_var in #(
79686 _ | IFS | as_nl) ;; #(
79687 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
79688 *) { eval $ac_var=; unset $ac_var;} ;;
79689 esac ;;
79690 esac
79691 done
79693 (set) 2>&1 |
79694 case $as_nl`(ac_space=' '; set) 2>&1` in #(
79695 *${as_nl}ac_space=\ *)
79696 # `set' does not quote correctly, so add quotes: double-quote
79697 # substitution turns \\\\ into \\, and sed turns \\ into \.
79698 sed -n \
79699 "s/'/'\\\\''/g;
79700 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
79701 ;; #(
79703 # `set' quotes correctly as required by POSIX, so do not add quotes.
79704 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
79706 esac |
79707 sort
79709 sed '
79710 /^ac_cv_env_/b end
79711 t clear
79712 :clear
79713 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
79714 t end
79715 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
79716 :end' >>confcache
79717 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
79718 if test -w "$cache_file"; then
79719 test "x$cache_file" != "x/dev/null" &&
79720 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
79721 $as_echo "$as_me: updating cache $cache_file" >&6;}
79722 cat confcache >$cache_file
79723 else
79724 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
79725 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
79728 rm -f confcache
79730 test "x$prefix" = xNONE && prefix=$ac_default_prefix
79731 # Let make expand exec_prefix.
79732 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
79734 DEFS=-DHAVE_CONFIG_H
79736 ac_libobjs=
79737 ac_ltlibobjs=
79738 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
79739 # 1. Remove the extension, and $U if already installed.
79740 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
79741 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
79742 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
79743 # will be set to the directory where LIBOBJS objects are built.
79744 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
79745 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
79746 done
79747 LIBOBJS=$ac_libobjs
79749 LTLIBOBJS=$ac_ltlibobjs
79752 if test -n "$EXEEXT"; then
79753 am__EXEEXT_TRUE=
79754 am__EXEEXT_FALSE='#'
79755 else
79756 am__EXEEXT_TRUE='#'
79757 am__EXEEXT_FALSE=
79760 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
79761 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
79762 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79764 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
79765 as_fn_error "conditional \"GLIBCXX_HOSTED\" was never defined.
79766 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79768 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
79769 as_fn_error "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
79770 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79772 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
79773 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
79774 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79776 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
79777 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
79778 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79780 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
79781 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
79782 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79784 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
79785 as_fn_error "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
79786 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79788 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
79789 as_fn_error "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
79790 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79792 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
79793 as_fn_error "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
79794 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79796 if test -z "${ENABLE_PYTHONDIR_TRUE}" && test -z "${ENABLE_PYTHONDIR_FALSE}"; then
79797 as_fn_error "conditional \"ENABLE_PYTHONDIR\" was never defined.
79798 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79800 if test -z "${ENABLE_WERROR_TRUE}" && test -z "${ENABLE_WERROR_FALSE}"; then
79801 as_fn_error "conditional \"ENABLE_WERROR\" was never defined.
79802 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79804 if test -z "${VTV_CYGMIN_TRUE}" && test -z "${VTV_CYGMIN_FALSE}"; then
79805 as_fn_error "conditional \"VTV_CYGMIN\" was never defined.
79806 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79808 if test -z "${ENABLE_VTABLE_VERIFY_TRUE}" && test -z "${ENABLE_VTABLE_VERIFY_FALSE}"; then
79809 as_fn_error "conditional \"ENABLE_VTABLE_VERIFY\" was never defined.
79810 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79812 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
79813 as_fn_error "conditional \"ENABLE_SYMVERS\" was never defined.
79814 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79816 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
79817 as_fn_error "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
79818 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79820 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
79821 as_fn_error "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
79822 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79824 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
79825 as_fn_error "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
79826 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79828 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
79829 as_fn_error "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
79830 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79832 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
79833 as_fn_error "conditional \"ENABLE_VISIBILITY\" was never defined.
79834 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79836 if test -z "${ENABLE_DUAL_ABI_TRUE}" && test -z "${ENABLE_DUAL_ABI_FALSE}"; then
79837 as_fn_error "conditional \"ENABLE_DUAL_ABI\" was never defined.
79838 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79840 if test -z "${ENABLE_CXX11_ABI_TRUE}" && test -z "${ENABLE_CXX11_ABI_FALSE}"; then
79841 as_fn_error "conditional \"ENABLE_CXX11_ABI\" was never defined.
79842 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79844 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
79845 as_fn_error "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
79846 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79848 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
79849 as_fn_error "conditional \"BUILD_INFO\" was never defined.
79850 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79852 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
79853 as_fn_error "conditional \"BUILD_EPUB\" was never defined.
79854 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79856 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
79857 as_fn_error "conditional \"BUILD_XML\" was never defined.
79858 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79860 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
79861 as_fn_error "conditional \"BUILD_HTML\" was never defined.
79862 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79864 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
79865 as_fn_error "conditional \"BUILD_MAN\" was never defined.
79866 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79868 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
79869 as_fn_error "conditional \"BUILD_PDF\" was never defined.
79870 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79873 : ${CONFIG_STATUS=./config.status}
79874 ac_write_fail=0
79875 ac_clean_files_save=$ac_clean_files
79876 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
79877 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
79878 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
79879 as_write_fail=0
79880 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
79881 #! $SHELL
79882 # Generated by $as_me.
79883 # Run this file to recreate the current configuration.
79884 # Compiler output produced by configure, useful for debugging
79885 # configure, is in config.log if it exists.
79887 debug=false
79888 ac_cs_recheck=false
79889 ac_cs_silent=false
79891 SHELL=\${CONFIG_SHELL-$SHELL}
79892 export SHELL
79893 _ASEOF
79894 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
79895 ## -------------------- ##
79896 ## M4sh Initialization. ##
79897 ## -------------------- ##
79899 # Be more Bourne compatible
79900 DUALCASE=1; export DUALCASE # for MKS sh
79901 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
79902 emulate sh
79903 NULLCMD=:
79904 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
79905 # is contrary to our usage. Disable this feature.
79906 alias -g '${1+"$@"}'='"$@"'
79907 setopt NO_GLOB_SUBST
79908 else
79909 case `(set -o) 2>/dev/null` in #(
79910 *posix*) :
79911 set -o posix ;; #(
79912 *) :
79914 esac
79918 as_nl='
79920 export as_nl
79921 # Printing a long string crashes Solaris 7 /usr/bin/printf.
79922 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
79923 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
79924 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
79925 # Prefer a ksh shell builtin over an external printf program on Solaris,
79926 # but without wasting forks for bash or zsh.
79927 if test -z "$BASH_VERSION$ZSH_VERSION" \
79928 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
79929 as_echo='print -r --'
79930 as_echo_n='print -rn --'
79931 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
79932 as_echo='printf %s\n'
79933 as_echo_n='printf %s'
79934 else
79935 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
79936 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
79937 as_echo_n='/usr/ucb/echo -n'
79938 else
79939 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
79940 as_echo_n_body='eval
79941 arg=$1;
79942 case $arg in #(
79943 *"$as_nl"*)
79944 expr "X$arg" : "X\\(.*\\)$as_nl";
79945 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
79946 esac;
79947 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
79949 export as_echo_n_body
79950 as_echo_n='sh -c $as_echo_n_body as_echo'
79952 export as_echo_body
79953 as_echo='sh -c $as_echo_body as_echo'
79956 # The user is always right.
79957 if test "${PATH_SEPARATOR+set}" != set; then
79958 PATH_SEPARATOR=:
79959 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
79960 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79961 PATH_SEPARATOR=';'
79966 # IFS
79967 # We need space, tab and new line, in precisely that order. Quoting is
79968 # there to prevent editors from complaining about space-tab.
79969 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
79970 # splitting by setting IFS to empty value.)
79971 IFS=" "" $as_nl"
79973 # Find who we are. Look in the path if we contain no directory separator.
79974 case $0 in #((
79975 *[\\/]* ) as_myself=$0 ;;
79976 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79977 for as_dir in $PATH
79979 IFS=$as_save_IFS
79980 test -z "$as_dir" && as_dir=.
79981 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
79982 done
79983 IFS=$as_save_IFS
79986 esac
79987 # We did not find ourselves, most probably we were run as `sh COMMAND'
79988 # in which case we are not to be found in the path.
79989 if test "x$as_myself" = x; then
79990 as_myself=$0
79992 if test ! -f "$as_myself"; then
79993 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
79994 exit 1
79997 # Unset variables that we do not need and which cause bugs (e.g. in
79998 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
79999 # suppresses any "Segmentation fault" message there. '((' could
80000 # trigger a bug in pdksh 5.2.14.
80001 for as_var in BASH_ENV ENV MAIL MAILPATH
80002 do eval test x\${$as_var+set} = xset \
80003 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
80004 done
80005 PS1='$ '
80006 PS2='> '
80007 PS4='+ '
80009 # NLS nuisances.
80010 LC_ALL=C
80011 export LC_ALL
80012 LANGUAGE=C
80013 export LANGUAGE
80015 # CDPATH.
80016 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
80019 # as_fn_error ERROR [LINENO LOG_FD]
80020 # ---------------------------------
80021 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
80022 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
80023 # script with status $?, using 1 if that was 0.
80024 as_fn_error ()
80026 as_status=$?; test $as_status -eq 0 && as_status=1
80027 if test "$3"; then
80028 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
80029 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
80031 $as_echo "$as_me: error: $1" >&2
80032 as_fn_exit $as_status
80033 } # as_fn_error
80036 # as_fn_set_status STATUS
80037 # -----------------------
80038 # Set $? to STATUS, without forking.
80039 as_fn_set_status ()
80041 return $1
80042 } # as_fn_set_status
80044 # as_fn_exit STATUS
80045 # -----------------
80046 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
80047 as_fn_exit ()
80049 set +e
80050 as_fn_set_status $1
80051 exit $1
80052 } # as_fn_exit
80054 # as_fn_unset VAR
80055 # ---------------
80056 # Portably unset VAR.
80057 as_fn_unset ()
80059 { eval $1=; unset $1;}
80061 as_unset=as_fn_unset
80062 # as_fn_append VAR VALUE
80063 # ----------------------
80064 # Append the text in VALUE to the end of the definition contained in VAR. Take
80065 # advantage of any shell optimizations that allow amortized linear growth over
80066 # repeated appends, instead of the typical quadratic growth present in naive
80067 # implementations.
80068 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
80069 eval 'as_fn_append ()
80071 eval $1+=\$2
80073 else
80074 as_fn_append ()
80076 eval $1=\$$1\$2
80078 fi # as_fn_append
80080 # as_fn_arith ARG...
80081 # ------------------
80082 # Perform arithmetic evaluation on the ARGs, and store the result in the
80083 # global $as_val. Take advantage of shells that can avoid forks. The arguments
80084 # must be portable across $(()) and expr.
80085 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
80086 eval 'as_fn_arith ()
80088 as_val=$(( $* ))
80090 else
80091 as_fn_arith ()
80093 as_val=`expr "$@" || test $? -eq 1`
80095 fi # as_fn_arith
80098 if expr a : '\(a\)' >/dev/null 2>&1 &&
80099 test "X`expr 00001 : '.*\(...\)'`" = X001; then
80100 as_expr=expr
80101 else
80102 as_expr=false
80105 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
80106 as_basename=basename
80107 else
80108 as_basename=false
80111 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
80112 as_dirname=dirname
80113 else
80114 as_dirname=false
80117 as_me=`$as_basename -- "$0" ||
80118 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
80119 X"$0" : 'X\(//\)$' \| \
80120 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
80121 $as_echo X/"$0" |
80122 sed '/^.*\/\([^/][^/]*\)\/*$/{
80123 s//\1/
80126 /^X\/\(\/\/\)$/{
80127 s//\1/
80130 /^X\/\(\/\).*/{
80131 s//\1/
80134 s/.*/./; q'`
80136 # Avoid depending upon Character Ranges.
80137 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
80138 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
80139 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
80140 as_cr_digits='0123456789'
80141 as_cr_alnum=$as_cr_Letters$as_cr_digits
80143 ECHO_C= ECHO_N= ECHO_T=
80144 case `echo -n x` in #(((((
80145 -n*)
80146 case `echo 'xy\c'` in
80147 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
80148 xy) ECHO_C='\c';;
80149 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
80150 ECHO_T=' ';;
80151 esac;;
80153 ECHO_N='-n';;
80154 esac
80156 rm -f conf$$ conf$$.exe conf$$.file
80157 if test -d conf$$.dir; then
80158 rm -f conf$$.dir/conf$$.file
80159 else
80160 rm -f conf$$.dir
80161 mkdir conf$$.dir 2>/dev/null
80163 if (echo >conf$$.file) 2>/dev/null; then
80164 if ln -s conf$$.file conf$$ 2>/dev/null; then
80165 as_ln_s='ln -s'
80166 # ... but there are two gotchas:
80167 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
80168 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
80169 # In both cases, we have to default to `cp -p'.
80170 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
80171 as_ln_s='cp -p'
80172 elif ln conf$$.file conf$$ 2>/dev/null; then
80173 as_ln_s=ln
80174 else
80175 as_ln_s='cp -p'
80177 else
80178 as_ln_s='cp -p'
80180 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
80181 rmdir conf$$.dir 2>/dev/null
80184 # as_fn_mkdir_p
80185 # -------------
80186 # Create "$as_dir" as a directory, including parents if necessary.
80187 as_fn_mkdir_p ()
80190 case $as_dir in #(
80191 -*) as_dir=./$as_dir;;
80192 esac
80193 test -d "$as_dir" || eval $as_mkdir_p || {
80194 as_dirs=
80195 while :; do
80196 case $as_dir in #(
80197 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
80198 *) as_qdir=$as_dir;;
80199 esac
80200 as_dirs="'$as_qdir' $as_dirs"
80201 as_dir=`$as_dirname -- "$as_dir" ||
80202 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
80203 X"$as_dir" : 'X\(//\)[^/]' \| \
80204 X"$as_dir" : 'X\(//\)$' \| \
80205 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
80206 $as_echo X"$as_dir" |
80207 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
80208 s//\1/
80211 /^X\(\/\/\)[^/].*/{
80212 s//\1/
80215 /^X\(\/\/\)$/{
80216 s//\1/
80219 /^X\(\/\).*/{
80220 s//\1/
80223 s/.*/./; q'`
80224 test -d "$as_dir" && break
80225 done
80226 test -z "$as_dirs" || eval "mkdir $as_dirs"
80227 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
80230 } # as_fn_mkdir_p
80231 if mkdir -p . 2>/dev/null; then
80232 as_mkdir_p='mkdir -p "$as_dir"'
80233 else
80234 test -d ./-p && rmdir ./-p
80235 as_mkdir_p=false
80238 if test -x / >/dev/null 2>&1; then
80239 as_test_x='test -x'
80240 else
80241 if ls -dL / >/dev/null 2>&1; then
80242 as_ls_L_option=L
80243 else
80244 as_ls_L_option=
80246 as_test_x='
80247 eval sh -c '\''
80248 if test -d "$1"; then
80249 test -d "$1/.";
80250 else
80251 case $1 in #(
80252 -*)set "./$1";;
80253 esac;
80254 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
80255 ???[sx]*):;;*)false;;esac;fi
80256 '\'' sh
80259 as_executable_p=$as_test_x
80261 # Sed expression to map a string onto a valid CPP name.
80262 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
80264 # Sed expression to map a string onto a valid variable name.
80265 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
80268 exec 6>&1
80269 ## ----------------------------------- ##
80270 ## Main body of $CONFIG_STATUS script. ##
80271 ## ----------------------------------- ##
80272 _ASEOF
80273 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
80275 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80276 # Save the log message, to keep $0 and so on meaningful, and to
80277 # report actual input values of CONFIG_FILES etc. instead of their
80278 # values after options handling.
80279 ac_log="
80280 This file was extended by package-unused $as_me version-unused, which was
80281 generated by GNU Autoconf 2.64. Invocation command line was
80283 CONFIG_FILES = $CONFIG_FILES
80284 CONFIG_HEADERS = $CONFIG_HEADERS
80285 CONFIG_LINKS = $CONFIG_LINKS
80286 CONFIG_COMMANDS = $CONFIG_COMMANDS
80287 $ $0 $@
80289 on `(hostname || uname -n) 2>/dev/null | sed 1q`
80292 _ACEOF
80294 case $ac_config_files in *"
80295 "*) set x $ac_config_files; shift; ac_config_files=$*;;
80296 esac
80298 case $ac_config_headers in *"
80299 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
80300 esac
80303 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
80304 # Files that config.status was made for.
80305 config_files="$ac_config_files"
80306 config_headers="$ac_config_headers"
80307 config_commands="$ac_config_commands"
80309 _ACEOF
80311 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80312 ac_cs_usage="\
80313 \`$as_me' instantiates files and other configuration actions
80314 from templates according to the current configuration. Unless the files
80315 and actions are specified as TAGs, all are instantiated by default.
80317 Usage: $0 [OPTION]... [TAG]...
80319 -h, --help print this help, then exit
80320 -V, --version print version number and configuration settings, then exit
80321 -q, --quiet, --silent
80322 do not print progress messages
80323 -d, --debug don't remove temporary files
80324 --recheck update $as_me by reconfiguring in the same conditions
80325 --file=FILE[:TEMPLATE]
80326 instantiate the configuration file FILE
80327 --header=FILE[:TEMPLATE]
80328 instantiate the configuration header FILE
80330 Configuration files:
80331 $config_files
80333 Configuration headers:
80334 $config_headers
80336 Configuration commands:
80337 $config_commands
80339 Report bugs to the package provider."
80341 _ACEOF
80342 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
80343 ac_cs_version="\\
80344 package-unused config.status version-unused
80345 configured by $0, generated by GNU Autoconf 2.64,
80346 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
80348 Copyright (C) 2009 Free Software Foundation, Inc.
80349 This config.status script is free software; the Free Software Foundation
80350 gives unlimited permission to copy, distribute and modify it."
80352 ac_pwd='$ac_pwd'
80353 srcdir='$srcdir'
80354 INSTALL='$INSTALL'
80355 MKDIR_P='$MKDIR_P'
80356 AWK='$AWK'
80357 test -n "\$AWK" || AWK=awk
80358 _ACEOF
80360 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80361 # The default lists apply if the user does not specify any file.
80362 ac_need_defaults=:
80363 while test $# != 0
80365 case $1 in
80366 --*=*)
80367 ac_option=`expr "X$1" : 'X\([^=]*\)='`
80368 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
80369 ac_shift=:
80372 ac_option=$1
80373 ac_optarg=$2
80374 ac_shift=shift
80376 esac
80378 case $ac_option in
80379 # Handling of the options.
80380 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
80381 ac_cs_recheck=: ;;
80382 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
80383 $as_echo "$ac_cs_version"; exit ;;
80384 --debug | --debu | --deb | --de | --d | -d )
80385 debug=: ;;
80386 --file | --fil | --fi | --f )
80387 $ac_shift
80388 case $ac_optarg in
80389 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
80390 esac
80391 as_fn_append CONFIG_FILES " '$ac_optarg'"
80392 ac_need_defaults=false;;
80393 --header | --heade | --head | --hea )
80394 $ac_shift
80395 case $ac_optarg in
80396 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
80397 esac
80398 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
80399 ac_need_defaults=false;;
80400 --he | --h)
80401 # Conflict between --help and --header
80402 as_fn_error "ambiguous option: \`$1'
80403 Try \`$0 --help' for more information.";;
80404 --help | --hel | -h )
80405 $as_echo "$ac_cs_usage"; exit ;;
80406 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
80407 | -silent | --silent | --silen | --sile | --sil | --si | --s)
80408 ac_cs_silent=: ;;
80410 # This is an error.
80411 -*) as_fn_error "unrecognized option: \`$1'
80412 Try \`$0 --help' for more information." ;;
80414 *) as_fn_append ac_config_targets " $1"
80415 ac_need_defaults=false ;;
80417 esac
80418 shift
80419 done
80421 ac_configure_extra_args=
80423 if $ac_cs_silent; then
80424 exec 6>/dev/null
80425 ac_configure_extra_args="$ac_configure_extra_args --silent"
80428 _ACEOF
80429 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
80430 if \$ac_cs_recheck; then
80431 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
80432 shift
80433 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
80434 CONFIG_SHELL='$SHELL'
80435 export CONFIG_SHELL
80436 exec "\$@"
80439 _ACEOF
80440 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80441 exec 5>>config.log
80443 echo
80444 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
80445 ## Running $as_me. ##
80446 _ASBOX
80447 $as_echo "$ac_log"
80448 } >&5
80450 _ACEOF
80451 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
80453 # INIT-COMMANDS
80456 srcdir="$srcdir"
80457 host="$host"
80458 target="$target"
80459 with_multisubdir="$with_multisubdir"
80460 with_multisrctop="$with_multisrctop"
80461 with_target_subdir="$with_target_subdir"
80462 ac_configure_args="${multilib_arg} ${ac_configure_args}"
80463 multi_basedir="$multi_basedir"
80464 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
80465 CC="$CC"
80466 CXX="$CXX"
80467 GFORTRAN="$GFORTRAN"
80468 GCJ="$GCJ"
80471 # The HP-UX ksh and POSIX shell print the target directory to stdout
80472 # if CDPATH is set.
80473 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
80475 sed_quote_subst='$sed_quote_subst'
80476 double_quote_subst='$double_quote_subst'
80477 delay_variable_subst='$delay_variable_subst'
80478 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
80479 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
80480 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
80481 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
80482 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
80483 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
80484 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
80485 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
80486 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
80487 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
80488 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
80489 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
80490 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
80491 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
80492 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
80493 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
80494 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
80495 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
80496 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
80497 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
80498 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
80499 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
80500 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
80501 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
80502 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
80503 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
80504 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
80505 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
80506 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
80507 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
80508 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
80509 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
80510 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
80511 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
80512 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
80513 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
80514 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
80515 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
80516 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
80517 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
80518 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
80519 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
80520 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
80521 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
80522 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
80523 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
80524 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
80525 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
80526 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"`'
80527 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
80528 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
80529 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
80530 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
80531 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
80532 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
80533 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
80534 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
80535 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
80536 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
80537 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
80538 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
80539 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
80540 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
80541 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
80542 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
80543 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
80544 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
80545 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
80546 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
80547 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
80548 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
80549 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
80550 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
80551 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
80552 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
80553 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
80554 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
80555 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
80556 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
80557 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
80558 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
80559 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
80560 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
80561 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
80562 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
80563 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
80564 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
80565 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
80566 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
80567 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
80568 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
80569 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
80570 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
80571 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
80572 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
80573 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
80574 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
80575 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
80576 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
80577 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
80578 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
80579 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
80580 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
80581 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
80582 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
80583 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
80584 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
80585 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
80586 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
80587 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
80588 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
80589 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
80590 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
80591 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
80592 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
80593 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
80594 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
80595 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
80596 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
80597 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
80598 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
80599 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
80600 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
80601 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
80602 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
80603 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
80604 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
80605 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
80606 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80607 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80608 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
80609 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
80610 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
80611 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
80612 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
80613 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
80614 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
80615 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
80616 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
80617 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
80618 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
80619 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
80620 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80621 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80622 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80623 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80624 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80625 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80626 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
80627 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
80628 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
80629 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
80630 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
80631 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
80632 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
80633 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
80634 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
80635 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
80636 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
80637 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
80638 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
80639 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
80640 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
80641 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80642 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
80643 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
80644 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80645 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
80646 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
80647 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
80648 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
80649 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
80650 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
80651 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
80652 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
80654 LTCC='$LTCC'
80655 LTCFLAGS='$LTCFLAGS'
80656 compiler='$compiler_DEFAULT'
80658 # A function that is used when there is no print builtin or printf.
80659 func_fallback_echo ()
80661 eval 'cat <<_LTECHO_EOF
80663 _LTECHO_EOF'
80666 # Quote evaled strings.
80667 for var in SHELL \
80668 ECHO \
80669 SED \
80670 GREP \
80671 EGREP \
80672 FGREP \
80673 LD \
80674 NM \
80675 LN_S \
80676 lt_SP2NL \
80677 lt_NL2SP \
80678 reload_flag \
80679 OBJDUMP \
80680 deplibs_check_method \
80681 file_magic_cmd \
80682 AR \
80683 AR_FLAGS \
80684 STRIP \
80685 RANLIB \
80686 CC \
80687 CFLAGS \
80688 compiler \
80689 lt_cv_sys_global_symbol_pipe \
80690 lt_cv_sys_global_symbol_to_cdecl \
80691 lt_cv_sys_global_symbol_to_c_name_address \
80692 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
80693 lt_prog_compiler_no_builtin_flag \
80694 lt_prog_compiler_wl \
80695 lt_prog_compiler_pic \
80696 lt_prog_compiler_static \
80697 lt_cv_prog_compiler_c_o \
80698 need_locks \
80699 DSYMUTIL \
80700 NMEDIT \
80701 LIPO \
80702 OTOOL \
80703 OTOOL64 \
80704 shrext_cmds \
80705 export_dynamic_flag_spec \
80706 whole_archive_flag_spec \
80707 compiler_needs_object \
80708 with_gnu_ld \
80709 allow_undefined_flag \
80710 no_undefined_flag \
80711 hardcode_libdir_flag_spec \
80712 hardcode_libdir_flag_spec_ld \
80713 hardcode_libdir_separator \
80714 fix_srcfile_path \
80715 exclude_expsyms \
80716 include_expsyms \
80717 file_list_spec \
80718 variables_saved_for_relink \
80719 libname_spec \
80720 library_names_spec \
80721 soname_spec \
80722 install_override_mode \
80723 finish_eval \
80724 old_striplib \
80725 striplib \
80726 compiler_lib_search_dirs \
80727 predep_objects \
80728 postdep_objects \
80729 predeps \
80730 postdeps \
80731 compiler_lib_search_path \
80732 LD_CXX \
80733 reload_flag_CXX \
80734 compiler_CXX \
80735 lt_prog_compiler_no_builtin_flag_CXX \
80736 lt_prog_compiler_wl_CXX \
80737 lt_prog_compiler_pic_CXX \
80738 lt_prog_compiler_static_CXX \
80739 lt_cv_prog_compiler_c_o_CXX \
80740 export_dynamic_flag_spec_CXX \
80741 whole_archive_flag_spec_CXX \
80742 compiler_needs_object_CXX \
80743 with_gnu_ld_CXX \
80744 allow_undefined_flag_CXX \
80745 no_undefined_flag_CXX \
80746 hardcode_libdir_flag_spec_CXX \
80747 hardcode_libdir_flag_spec_ld_CXX \
80748 hardcode_libdir_separator_CXX \
80749 fix_srcfile_path_CXX \
80750 exclude_expsyms_CXX \
80751 include_expsyms_CXX \
80752 file_list_spec_CXX \
80753 compiler_lib_search_dirs_CXX \
80754 predep_objects_CXX \
80755 postdep_objects_CXX \
80756 predeps_CXX \
80757 postdeps_CXX \
80758 compiler_lib_search_path_CXX; do
80759 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
80760 *[\\\\\\\`\\"\\\$]*)
80761 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
80764 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
80766 esac
80767 done
80769 # Double-quote double-evaled strings.
80770 for var in reload_cmds \
80771 old_postinstall_cmds \
80772 old_postuninstall_cmds \
80773 old_archive_cmds \
80774 extract_expsyms_cmds \
80775 old_archive_from_new_cmds \
80776 old_archive_from_expsyms_cmds \
80777 archive_cmds \
80778 archive_expsym_cmds \
80779 module_cmds \
80780 module_expsym_cmds \
80781 export_symbols_cmds \
80782 prelink_cmds \
80783 postinstall_cmds \
80784 postuninstall_cmds \
80785 finish_cmds \
80786 sys_lib_search_path_spec \
80787 sys_lib_dlsearch_path_spec \
80788 reload_cmds_CXX \
80789 old_archive_cmds_CXX \
80790 old_archive_from_new_cmds_CXX \
80791 old_archive_from_expsyms_cmds_CXX \
80792 archive_cmds_CXX \
80793 archive_expsym_cmds_CXX \
80794 module_cmds_CXX \
80795 module_expsym_cmds_CXX \
80796 export_symbols_cmds_CXX \
80797 prelink_cmds_CXX; do
80798 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
80799 *[\\\\\\\`\\"\\\$]*)
80800 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
80803 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
80805 esac
80806 done
80808 ac_aux_dir='$ac_aux_dir'
80809 xsi_shell='$xsi_shell'
80810 lt_shell_append='$lt_shell_append'
80812 # See if we are running on zsh, and set the options which allow our
80813 # commands through without removal of \ escapes INIT.
80814 if test -n "\${ZSH_VERSION+set}" ; then
80815 setopt NO_GLOB_SUBST
80819 PACKAGE='$PACKAGE'
80820 VERSION='$VERSION'
80821 TIMESTAMP='$TIMESTAMP'
80822 RM='$RM'
80823 ofile='$ofile'
80830 GCC="$GCC"
80831 CC="$CC"
80832 acx_cv_header_stdint="$acx_cv_header_stdint"
80833 acx_cv_type_int8_t="$acx_cv_type_int8_t"
80834 acx_cv_type_int16_t="$acx_cv_type_int16_t"
80835 acx_cv_type_int32_t="$acx_cv_type_int32_t"
80836 acx_cv_type_int64_t="$acx_cv_type_int64_t"
80837 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
80838 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
80839 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
80840 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
80841 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
80842 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
80843 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
80844 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
80845 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
80848 _ACEOF
80850 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80852 # Handling of arguments.
80853 for ac_config_target in $ac_config_targets
80855 case $ac_config_target in
80856 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
80857 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
80858 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
80859 "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
80860 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
80861 "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
80862 "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
80863 "doc/xsl/customization.xsl") CONFIG_FILES="$CONFIG_FILES doc/xsl/customization.xsl" ;;
80864 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
80865 "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
80866 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
80867 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
80868 "src/c++98/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++98/Makefile" ;;
80869 "src/c++11/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++11/Makefile" ;;
80870 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
80871 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
80872 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
80873 "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
80875 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
80876 esac
80877 done
80880 # If the user did not use the arguments to specify the items to instantiate,
80881 # then the envvar interface is used. Set only those that are not.
80882 # We use the long form for the default assignment because of an extremely
80883 # bizarre bug on SunOS 4.1.3.
80884 if $ac_need_defaults; then
80885 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
80886 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
80887 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
80890 # Have a temporary directory for convenience. Make it in the build tree
80891 # simply because there is no reason against having it here, and in addition,
80892 # creating and moving files from /tmp can sometimes cause problems.
80893 # Hook for its removal unless debugging.
80894 # Note that there is a small window in which the directory will not be cleaned:
80895 # after its creation but before its name has been assigned to `$tmp'.
80896 $debug ||
80898 tmp=
80899 trap 'exit_status=$?
80900 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
80902 trap 'as_fn_exit 1' 1 2 13 15
80904 # Create a (secure) tmp directory for tmp files.
80907 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
80908 test -n "$tmp" && test -d "$tmp"
80909 } ||
80911 tmp=./conf$$-$RANDOM
80912 (umask 077 && mkdir "$tmp")
80913 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
80915 # Set up the scripts for CONFIG_FILES section.
80916 # No need to generate them if there are no CONFIG_FILES.
80917 # This happens for instance with `./config.status config.h'.
80918 if test -n "$CONFIG_FILES"; then
80921 ac_cr=`echo X | tr X '\015'`
80922 # On cygwin, bash can eat \r inside `` if the user requested igncr.
80923 # But we know of no other shell where ac_cr would be empty at this
80924 # point, so we can use a bashism as a fallback.
80925 if test "x$ac_cr" = x; then
80926 eval ac_cr=\$\'\\r\'
80928 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
80929 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
80930 ac_cs_awk_cr='\r'
80931 else
80932 ac_cs_awk_cr=$ac_cr
80935 echo 'BEGIN {' >"$tmp/subs1.awk" &&
80936 _ACEOF
80940 echo "cat >conf$$subs.awk <<_ACEOF" &&
80941 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
80942 echo "_ACEOF"
80943 } >conf$$subs.sh ||
80944 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
80945 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
80946 ac_delim='%!_!# '
80947 for ac_last_try in false false false false false :; do
80948 . ./conf$$subs.sh ||
80949 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
80951 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
80952 if test $ac_delim_n = $ac_delim_num; then
80953 break
80954 elif $ac_last_try; then
80955 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
80956 else
80957 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
80959 done
80960 rm -f conf$$subs.sh
80962 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
80963 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
80964 _ACEOF
80965 sed -n '
80967 s/^/S["/; s/!.*/"]=/
80970 s/^[^!]*!//
80971 :repl
80972 t repl
80973 s/'"$ac_delim"'$//
80974 t delim
80977 s/\(.\{148\}\).*/\1/
80978 t more1
80979 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
80982 b repl
80983 :more1
80984 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
80987 s/.\{148\}//
80988 t nl
80989 :delim
80991 s/\(.\{148\}\).*/\1/
80992 t more2
80993 s/["\\]/\\&/g; s/^/"/; s/$/"/
80996 :more2
80997 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
81000 s/.\{148\}//
81001 t delim
81002 ' <conf$$subs.awk | sed '
81003 /^[^""]/{
81005 s/\n//
81007 ' >>$CONFIG_STATUS || ac_write_fail=1
81008 rm -f conf$$subs.awk
81009 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
81010 _ACAWK
81011 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
81012 for (key in S) S_is_set[key] = 1
81013 FS = "\a"
81017 line = $ 0
81018 nfields = split(line, field, "@")
81019 substed = 0
81020 len = length(field[1])
81021 for (i = 2; i < nfields; i++) {
81022 key = field[i]
81023 keylen = length(key)
81024 if (S_is_set[key]) {
81025 value = S[key]
81026 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
81027 len += length(value) + length(field[++i])
81028 substed = 1
81029 } else
81030 len += 1 + keylen
81033 print line
81036 _ACAWK
81037 _ACEOF
81038 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
81039 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
81040 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
81041 else
81043 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
81044 || as_fn_error "could not setup config files machinery" "$LINENO" 5
81045 _ACEOF
81047 # VPATH may cause trouble with some makes, so we remove $(srcdir),
81048 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
81049 # trailing colons and then remove the whole line if VPATH becomes empty
81050 # (actually we leave an empty line to preserve line numbers).
81051 if test "x$srcdir" = x.; then
81052 ac_vpsub='/^[ ]*VPATH[ ]*=/{
81053 s/:*\$(srcdir):*/:/
81054 s/:*\${srcdir}:*/:/
81055 s/:*@srcdir@:*/:/
81056 s/^\([^=]*=[ ]*\):*/\1/
81057 s/:*$//
81058 s/^[^=]*=[ ]*$//
81062 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
81063 fi # test -n "$CONFIG_FILES"
81065 # Set up the scripts for CONFIG_HEADERS section.
81066 # No need to generate them if there are no CONFIG_HEADERS.
81067 # This happens for instance with `./config.status Makefile'.
81068 if test -n "$CONFIG_HEADERS"; then
81069 cat >"$tmp/defines.awk" <<\_ACAWK ||
81070 BEGIN {
81071 _ACEOF
81073 # Transform confdefs.h into an awk script `defines.awk', embedded as
81074 # here-document in config.status, that substitutes the proper values into
81075 # config.h.in to produce config.h.
81077 # Create a delimiter string that does not exist in confdefs.h, to ease
81078 # handling of long lines.
81079 ac_delim='%!_!# '
81080 for ac_last_try in false false :; do
81081 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
81082 if test -z "$ac_t"; then
81083 break
81084 elif $ac_last_try; then
81085 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
81086 else
81087 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
81089 done
81091 # For the awk script, D is an array of macro values keyed by name,
81092 # likewise P contains macro parameters if any. Preserve backslash
81093 # newline sequences.
81095 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
81096 sed -n '
81097 s/.\{148\}/&'"$ac_delim"'/g
81098 t rset
81099 :rset
81100 s/^[ ]*#[ ]*define[ ][ ]*/ /
81101 t def
81103 :def
81104 s/\\$//
81105 t bsnl
81106 s/["\\]/\\&/g
81107 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
81108 D["\1"]=" \3"/p
81109 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
81111 :bsnl
81112 s/["\\]/\\&/g
81113 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
81114 D["\1"]=" \3\\\\\\n"\\/p
81115 t cont
81116 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
81117 t cont
81119 :cont
81121 s/.\{148\}/&'"$ac_delim"'/g
81122 t clear
81123 :clear
81124 s/\\$//
81125 t bsnlc
81126 s/["\\]/\\&/g; s/^/"/; s/$/"/p
81128 :bsnlc
81129 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
81130 b cont
81131 ' <confdefs.h | sed '
81132 s/'"$ac_delim"'/"\\\
81133 "/g' >>$CONFIG_STATUS || ac_write_fail=1
81135 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
81136 for (key in D) D_is_set[key] = 1
81137 FS = "\a"
81139 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
81140 line = \$ 0
81141 split(line, arg, " ")
81142 if (arg[1] == "#") {
81143 defundef = arg[2]
81144 mac1 = arg[3]
81145 } else {
81146 defundef = substr(arg[1], 2)
81147 mac1 = arg[2]
81149 split(mac1, mac2, "(") #)
81150 macro = mac2[1]
81151 prefix = substr(line, 1, index(line, defundef) - 1)
81152 if (D_is_set[macro]) {
81153 # Preserve the white space surrounding the "#".
81154 print prefix "define", macro P[macro] D[macro]
81155 next
81156 } else {
81157 # Replace #undef with comments. This is necessary, for example,
81158 # in the case of _POSIX_SOURCE, which is predefined and required
81159 # on some systems where configure will not decide to define it.
81160 if (defundef == "undef") {
81161 print "/*", prefix defundef, macro, "*/"
81162 next
81166 { print }
81167 _ACAWK
81168 _ACEOF
81169 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
81170 as_fn_error "could not setup config headers machinery" "$LINENO" 5
81171 fi # test -n "$CONFIG_HEADERS"
81174 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
81175 shift
81176 for ac_tag
81178 case $ac_tag in
81179 :[FHLC]) ac_mode=$ac_tag; continue;;
81180 esac
81181 case $ac_mode$ac_tag in
81182 :[FHL]*:*);;
81183 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
81184 :[FH]-) ac_tag=-:-;;
81185 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
81186 esac
81187 ac_save_IFS=$IFS
81188 IFS=:
81189 set x $ac_tag
81190 IFS=$ac_save_IFS
81191 shift
81192 ac_file=$1
81193 shift
81195 case $ac_mode in
81196 :L) ac_source=$1;;
81197 :[FH])
81198 ac_file_inputs=
81199 for ac_f
81201 case $ac_f in
81202 -) ac_f="$tmp/stdin";;
81203 *) # Look for the file first in the build tree, then in the source tree
81204 # (if the path is not absolute). The absolute path cannot be DOS-style,
81205 # because $ac_f cannot contain `:'.
81206 test -f "$ac_f" ||
81207 case $ac_f in
81208 [\\/$]*) false;;
81209 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
81210 esac ||
81211 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
81212 esac
81213 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
81214 as_fn_append ac_file_inputs " '$ac_f'"
81215 done
81217 # Let's still pretend it is `configure' which instantiates (i.e., don't
81218 # use $as_me), people would be surprised to read:
81219 # /* config.h. Generated by config.status. */
81220 configure_input='Generated from '`
81221 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
81222 `' by configure.'
81223 if test x"$ac_file" != x-; then
81224 configure_input="$ac_file. $configure_input"
81225 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
81226 $as_echo "$as_me: creating $ac_file" >&6;}
81228 # Neutralize special characters interpreted by sed in replacement strings.
81229 case $configure_input in #(
81230 *\&* | *\|* | *\\* )
81231 ac_sed_conf_input=`$as_echo "$configure_input" |
81232 sed 's/[\\\\&|]/\\\\&/g'`;; #(
81233 *) ac_sed_conf_input=$configure_input;;
81234 esac
81236 case $ac_tag in
81237 *:-:* | *:-) cat >"$tmp/stdin" \
81238 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
81239 esac
81241 esac
81243 ac_dir=`$as_dirname -- "$ac_file" ||
81244 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
81245 X"$ac_file" : 'X\(//\)[^/]' \| \
81246 X"$ac_file" : 'X\(//\)$' \| \
81247 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
81248 $as_echo X"$ac_file" |
81249 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
81250 s//\1/
81253 /^X\(\/\/\)[^/].*/{
81254 s//\1/
81257 /^X\(\/\/\)$/{
81258 s//\1/
81261 /^X\(\/\).*/{
81262 s//\1/
81265 s/.*/./; q'`
81266 as_dir="$ac_dir"; as_fn_mkdir_p
81267 ac_builddir=.
81269 case "$ac_dir" in
81270 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
81272 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
81273 # A ".." for each directory in $ac_dir_suffix.
81274 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
81275 case $ac_top_builddir_sub in
81276 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
81277 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
81278 esac ;;
81279 esac
81280 ac_abs_top_builddir=$ac_pwd
81281 ac_abs_builddir=$ac_pwd$ac_dir_suffix
81282 # for backward compatibility:
81283 ac_top_builddir=$ac_top_build_prefix
81285 case $srcdir in
81286 .) # We are building in place.
81287 ac_srcdir=.
81288 ac_top_srcdir=$ac_top_builddir_sub
81289 ac_abs_top_srcdir=$ac_pwd ;;
81290 [\\/]* | ?:[\\/]* ) # Absolute name.
81291 ac_srcdir=$srcdir$ac_dir_suffix;
81292 ac_top_srcdir=$srcdir
81293 ac_abs_top_srcdir=$srcdir ;;
81294 *) # Relative name.
81295 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
81296 ac_top_srcdir=$ac_top_build_prefix$srcdir
81297 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
81298 esac
81299 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
81302 case $ac_mode in
81305 # CONFIG_FILE
81308 case $INSTALL in
81309 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
81310 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
81311 esac
81312 ac_MKDIR_P=$MKDIR_P
81313 case $MKDIR_P in
81314 [\\/$]* | ?:[\\/]* ) ;;
81315 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
81316 esac
81317 _ACEOF
81319 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
81320 # If the template does not know about datarootdir, expand it.
81321 # FIXME: This hack should be removed a few years after 2.60.
81322 ac_datarootdir_hack=; ac_datarootdir_seen=
81323 ac_sed_dataroot='
81324 /datarootdir/ {
81328 /@datadir@/p
81329 /@docdir@/p
81330 /@infodir@/p
81331 /@localedir@/p
81332 /@mandir@/p'
81333 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
81334 *datarootdir*) ac_datarootdir_seen=yes;;
81335 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
81336 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
81337 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
81338 _ACEOF
81339 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
81340 ac_datarootdir_hack='
81341 s&@datadir@&$datadir&g
81342 s&@docdir@&$docdir&g
81343 s&@infodir@&$infodir&g
81344 s&@localedir@&$localedir&g
81345 s&@mandir@&$mandir&g
81346 s&\\\${datarootdir}&$datarootdir&g' ;;
81347 esac
81348 _ACEOF
81350 # Neutralize VPATH when `$srcdir' = `.'.
81351 # Shell code in configure.ac might set extrasub.
81352 # FIXME: do we really want to maintain this feature?
81353 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
81354 ac_sed_extra="$ac_vpsub
81355 $extrasub
81356 _ACEOF
81357 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
81359 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
81360 s|@configure_input@|$ac_sed_conf_input|;t t
81361 s&@top_builddir@&$ac_top_builddir_sub&;t t
81362 s&@top_build_prefix@&$ac_top_build_prefix&;t t
81363 s&@srcdir@&$ac_srcdir&;t t
81364 s&@abs_srcdir@&$ac_abs_srcdir&;t t
81365 s&@top_srcdir@&$ac_top_srcdir&;t t
81366 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
81367 s&@builddir@&$ac_builddir&;t t
81368 s&@abs_builddir@&$ac_abs_builddir&;t t
81369 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
81370 s&@INSTALL@&$ac_INSTALL&;t t
81371 s&@MKDIR_P@&$ac_MKDIR_P&;t t
81372 $ac_datarootdir_hack
81374 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
81375 || as_fn_error "could not create $ac_file" "$LINENO" 5
81377 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
81378 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
81379 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
81380 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
81381 which seems to be undefined. Please make sure it is defined." >&5
81382 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
81383 which seems to be undefined. Please make sure it is defined." >&2;}
81385 rm -f "$tmp/stdin"
81386 case $ac_file in
81387 -) cat "$tmp/out" && rm -f "$tmp/out";;
81388 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
81389 esac \
81390 || as_fn_error "could not create $ac_file" "$LINENO" 5
81394 # CONFIG_HEADER
81396 if test x"$ac_file" != x-; then
81398 $as_echo "/* $configure_input */" \
81399 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
81400 } >"$tmp/config.h" \
81401 || as_fn_error "could not create $ac_file" "$LINENO" 5
81402 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
81403 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
81404 $as_echo "$as_me: $ac_file is unchanged" >&6;}
81405 else
81406 rm -f "$ac_file"
81407 mv "$tmp/config.h" "$ac_file" \
81408 || as_fn_error "could not create $ac_file" "$LINENO" 5
81410 else
81411 $as_echo "/* $configure_input */" \
81412 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
81413 || as_fn_error "could not create -" "$LINENO" 5
81415 # Compute "$ac_file"'s index in $config_headers.
81416 _am_arg="$ac_file"
81417 _am_stamp_count=1
81418 for _am_header in $config_headers :; do
81419 case $_am_header in
81420 $_am_arg | $_am_arg:* )
81421 break ;;
81423 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
81424 esac
81425 done
81426 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
81427 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
81428 X"$_am_arg" : 'X\(//\)[^/]' \| \
81429 X"$_am_arg" : 'X\(//\)$' \| \
81430 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
81431 $as_echo X"$_am_arg" |
81432 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
81433 s//\1/
81436 /^X\(\/\/\)[^/].*/{
81437 s//\1/
81440 /^X\(\/\/\)$/{
81441 s//\1/
81444 /^X\(\/\).*/{
81445 s//\1/
81448 s/.*/./; q'`/stamp-h$_am_stamp_count
81451 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
81452 $as_echo "$as_me: executing $ac_file commands" >&6;}
81454 esac
81457 case $ac_file$ac_mode in
81458 "default-1":C)
81459 # Only add multilib support code if we just rebuilt the top-level
81460 # Makefile.
81461 case " $CONFIG_FILES " in
81462 *" Makefile "*)
81463 ac_file=Makefile . ${multi_basedir}/config-ml.in
81465 esac ;;
81466 "libtool":C)
81468 # See if we are running on zsh, and set the options which allow our
81469 # commands through without removal of \ escapes.
81470 if test -n "${ZSH_VERSION+set}" ; then
81471 setopt NO_GLOB_SUBST
81474 cfgfile="${ofile}T"
81475 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
81476 $RM "$cfgfile"
81478 cat <<_LT_EOF >> "$cfgfile"
81479 #! $SHELL
81481 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
81482 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
81483 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
81484 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
81486 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
81487 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
81488 # Written by Gordon Matzigkeit, 1996
81490 # This file is part of GNU Libtool.
81492 # GNU Libtool is free software; you can redistribute it and/or
81493 # modify it under the terms of the GNU General Public License as
81494 # published by the Free Software Foundation; either version 2 of
81495 # the License, or (at your option) any later version.
81497 # As a special exception to the GNU General Public License,
81498 # if you distribute this file as part of a program or library that
81499 # is built using GNU Libtool, you may include this file under the
81500 # same distribution terms that you use for the rest of that program.
81502 # GNU Libtool is distributed in the hope that it will be useful,
81503 # but WITHOUT ANY WARRANTY; without even the implied warranty of
81504 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
81505 # GNU General Public License for more details.
81507 # You should have received a copy of the GNU General Public License
81508 # along with GNU Libtool; see the file COPYING. If not, a copy
81509 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
81510 # obtained by writing to the Free Software Foundation, Inc.,
81511 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
81514 # The names of the tagged configurations supported by this script.
81515 available_tags="CXX "
81517 # ### BEGIN LIBTOOL CONFIG
81519 # Which release of libtool.m4 was used?
81520 macro_version=$macro_version
81521 macro_revision=$macro_revision
81523 # Whether or not to build shared libraries.
81524 build_libtool_libs=$enable_shared
81526 # Whether or not to build static libraries.
81527 build_old_libs=$enable_static
81529 # What type of objects to build.
81530 pic_mode=$pic_mode
81532 # Whether or not to optimize for fast installation.
81533 fast_install=$enable_fast_install
81535 # Shell to use when invoking shell scripts.
81536 SHELL=$lt_SHELL
81538 # An echo program that protects backslashes.
81539 ECHO=$lt_ECHO
81541 # The host system.
81542 host_alias=$host_alias
81543 host=$host
81544 host_os=$host_os
81546 # The build system.
81547 build_alias=$build_alias
81548 build=$build
81549 build_os=$build_os
81551 # A sed program that does not truncate output.
81552 SED=$lt_SED
81554 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
81555 Xsed="\$SED -e 1s/^X//"
81557 # A grep program that handles long lines.
81558 GREP=$lt_GREP
81560 # An ERE matcher.
81561 EGREP=$lt_EGREP
81563 # A literal string matcher.
81564 FGREP=$lt_FGREP
81566 # A BSD- or MS-compatible name lister.
81567 NM=$lt_NM
81569 # Whether we need soft or hard links.
81570 LN_S=$lt_LN_S
81572 # What is the maximum length of a command?
81573 max_cmd_len=$max_cmd_len
81575 # Object file suffix (normally "o").
81576 objext=$ac_objext
81578 # Executable file suffix (normally "").
81579 exeext=$exeext
81581 # whether the shell understands "unset".
81582 lt_unset=$lt_unset
81584 # turn spaces into newlines.
81585 SP2NL=$lt_lt_SP2NL
81587 # turn newlines into spaces.
81588 NL2SP=$lt_lt_NL2SP
81590 # An object symbol dumper.
81591 OBJDUMP=$lt_OBJDUMP
81593 # Method to check whether dependent libraries are shared objects.
81594 deplibs_check_method=$lt_deplibs_check_method
81596 # Command to use when deplibs_check_method == "file_magic".
81597 file_magic_cmd=$lt_file_magic_cmd
81599 # The archiver.
81600 AR=$lt_AR
81601 AR_FLAGS=$lt_AR_FLAGS
81603 # A symbol stripping program.
81604 STRIP=$lt_STRIP
81606 # Commands used to install an old-style archive.
81607 RANLIB=$lt_RANLIB
81608 old_postinstall_cmds=$lt_old_postinstall_cmds
81609 old_postuninstall_cmds=$lt_old_postuninstall_cmds
81611 # Whether to use a lock for old archive extraction.
81612 lock_old_archive_extraction=$lock_old_archive_extraction
81614 # A C compiler.
81615 LTCC=$lt_CC
81617 # LTCC compiler flags.
81618 LTCFLAGS=$lt_CFLAGS
81620 # Take the output of nm and produce a listing of raw symbols and C names.
81621 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
81623 # Transform the output of nm in a proper C declaration.
81624 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
81626 # Transform the output of nm in a C name address pair.
81627 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
81629 # Transform the output of nm in a C name address pair when lib prefix is needed.
81630 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
81632 # The name of the directory that contains temporary libtool files.
81633 objdir=$objdir
81635 # Used to examine libraries when file_magic_cmd begins with "file".
81636 MAGIC_CMD=$MAGIC_CMD
81638 # Must we lock files when doing compilation?
81639 need_locks=$lt_need_locks
81641 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
81642 DSYMUTIL=$lt_DSYMUTIL
81644 # Tool to change global to local symbols on Mac OS X.
81645 NMEDIT=$lt_NMEDIT
81647 # Tool to manipulate fat objects and archives on Mac OS X.
81648 LIPO=$lt_LIPO
81650 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
81651 OTOOL=$lt_OTOOL
81653 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
81654 OTOOL64=$lt_OTOOL64
81656 # Old archive suffix (normally "a").
81657 libext=$libext
81659 # Shared library suffix (normally ".so").
81660 shrext_cmds=$lt_shrext_cmds
81662 # The commands to extract the exported symbol list from a shared archive.
81663 extract_expsyms_cmds=$lt_extract_expsyms_cmds
81665 # Variables whose values should be saved in libtool wrapper scripts and
81666 # restored at link time.
81667 variables_saved_for_relink=$lt_variables_saved_for_relink
81669 # Do we need the "lib" prefix for modules?
81670 need_lib_prefix=$need_lib_prefix
81672 # Do we need a version for libraries?
81673 need_version=$need_version
81675 # Library versioning type.
81676 version_type=$version_type
81678 # Shared library runtime path variable.
81679 runpath_var=$runpath_var
81681 # Shared library path variable.
81682 shlibpath_var=$shlibpath_var
81684 # Is shlibpath searched before the hard-coded library search path?
81685 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
81687 # Format of library name prefix.
81688 libname_spec=$lt_libname_spec
81690 # List of archive names. First name is the real one, the rest are links.
81691 # The last name is the one that the linker finds with -lNAME
81692 library_names_spec=$lt_library_names_spec
81694 # The coded name of the library, if different from the real name.
81695 soname_spec=$lt_soname_spec
81697 # Permission mode override for installation of shared libraries.
81698 install_override_mode=$lt_install_override_mode
81700 # Command to use after installation of a shared archive.
81701 postinstall_cmds=$lt_postinstall_cmds
81703 # Command to use after uninstallation of a shared archive.
81704 postuninstall_cmds=$lt_postuninstall_cmds
81706 # Commands used to finish a libtool library installation in a directory.
81707 finish_cmds=$lt_finish_cmds
81709 # As "finish_cmds", except a single script fragment to be evaled but
81710 # not shown.
81711 finish_eval=$lt_finish_eval
81713 # Whether we should hardcode library paths into libraries.
81714 hardcode_into_libs=$hardcode_into_libs
81716 # Compile-time system search path for libraries.
81717 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
81719 # Run-time system search path for libraries.
81720 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
81722 # Whether dlopen is supported.
81723 dlopen_support=$enable_dlopen
81725 # Whether dlopen of programs is supported.
81726 dlopen_self=$enable_dlopen_self
81728 # Whether dlopen of statically linked programs is supported.
81729 dlopen_self_static=$enable_dlopen_self_static
81731 # Commands to strip libraries.
81732 old_striplib=$lt_old_striplib
81733 striplib=$lt_striplib
81736 # The linker used to build libraries.
81737 LD=$lt_LD
81739 # How to create reloadable object files.
81740 reload_flag=$lt_reload_flag
81741 reload_cmds=$lt_reload_cmds
81743 # Commands used to build an old-style archive.
81744 old_archive_cmds=$lt_old_archive_cmds
81746 # A language specific compiler.
81747 CC=$lt_compiler
81749 # Is the compiler the GNU compiler?
81750 with_gcc=$GCC
81752 # Compiler flag to turn off builtin functions.
81753 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
81755 # How to pass a linker flag through the compiler.
81756 wl=$lt_lt_prog_compiler_wl
81758 # Additional compiler flags for building library objects.
81759 pic_flag=$lt_lt_prog_compiler_pic
81761 # Compiler flag to prevent dynamic linking.
81762 link_static_flag=$lt_lt_prog_compiler_static
81764 # Does compiler simultaneously support -c and -o options?
81765 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
81767 # Whether or not to add -lc for building shared libraries.
81768 build_libtool_need_lc=$archive_cmds_need_lc
81770 # Whether or not to disallow shared libs when runtime libs are static.
81771 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
81773 # Compiler flag to allow reflexive dlopens.
81774 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
81776 # Compiler flag to generate shared objects directly from archives.
81777 whole_archive_flag_spec=$lt_whole_archive_flag_spec
81779 # Whether the compiler copes with passing no objects directly.
81780 compiler_needs_object=$lt_compiler_needs_object
81782 # Create an old-style archive from a shared archive.
81783 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
81785 # Create a temporary old-style archive to link instead of a shared archive.
81786 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
81788 # Commands used to build a shared archive.
81789 archive_cmds=$lt_archive_cmds
81790 archive_expsym_cmds=$lt_archive_expsym_cmds
81792 # Commands used to build a loadable module if different from building
81793 # a shared archive.
81794 module_cmds=$lt_module_cmds
81795 module_expsym_cmds=$lt_module_expsym_cmds
81797 # Whether we are building with GNU ld or not.
81798 with_gnu_ld=$lt_with_gnu_ld
81800 # Flag that allows shared libraries with undefined symbols to be built.
81801 allow_undefined_flag=$lt_allow_undefined_flag
81803 # Flag that enforces no undefined symbols.
81804 no_undefined_flag=$lt_no_undefined_flag
81806 # Flag to hardcode \$libdir into a binary during linking.
81807 # This must work even if \$libdir does not exist
81808 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
81810 # If ld is used when linking, flag to hardcode \$libdir into a binary
81811 # during linking. This must work even if \$libdir does not exist.
81812 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
81814 # Whether we need a single "-rpath" flag with a separated argument.
81815 hardcode_libdir_separator=$lt_hardcode_libdir_separator
81817 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
81818 # DIR into the resulting binary.
81819 hardcode_direct=$hardcode_direct
81821 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
81822 # DIR into the resulting binary and the resulting library dependency is
81823 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
81824 # library is relocated.
81825 hardcode_direct_absolute=$hardcode_direct_absolute
81827 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
81828 # into the resulting binary.
81829 hardcode_minus_L=$hardcode_minus_L
81831 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
81832 # into the resulting binary.
81833 hardcode_shlibpath_var=$hardcode_shlibpath_var
81835 # Set to "yes" if building a shared library automatically hardcodes DIR
81836 # into the library and all subsequent libraries and executables linked
81837 # against it.
81838 hardcode_automatic=$hardcode_automatic
81840 # Set to yes if linker adds runtime paths of dependent libraries
81841 # to runtime path list.
81842 inherit_rpath=$inherit_rpath
81844 # Whether libtool must link a program against all its dependency libraries.
81845 link_all_deplibs=$link_all_deplibs
81847 # Fix the shell variable \$srcfile for the compiler.
81848 fix_srcfile_path=$lt_fix_srcfile_path
81850 # Set to "yes" if exported symbols are required.
81851 always_export_symbols=$always_export_symbols
81853 # The commands to list exported symbols.
81854 export_symbols_cmds=$lt_export_symbols_cmds
81856 # Symbols that should not be listed in the preloaded symbols.
81857 exclude_expsyms=$lt_exclude_expsyms
81859 # Symbols that must always be exported.
81860 include_expsyms=$lt_include_expsyms
81862 # Commands necessary for linking programs (against libraries) with templates.
81863 prelink_cmds=$lt_prelink_cmds
81865 # Specify filename containing input files.
81866 file_list_spec=$lt_file_list_spec
81868 # How to hardcode a shared library path into an executable.
81869 hardcode_action=$hardcode_action
81871 # The directories searched by this compiler when creating a shared library.
81872 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
81874 # Dependencies to place before and after the objects being linked to
81875 # create a shared library.
81876 predep_objects=$lt_predep_objects
81877 postdep_objects=$lt_postdep_objects
81878 predeps=$lt_predeps
81879 postdeps=$lt_postdeps
81881 # The library search path used internally by the compiler when linking
81882 # a shared library.
81883 compiler_lib_search_path=$lt_compiler_lib_search_path
81885 # ### END LIBTOOL CONFIG
81887 _LT_EOF
81889 case $host_os in
81890 aix3*)
81891 cat <<\_LT_EOF >> "$cfgfile"
81892 # AIX sometimes has problems with the GCC collect2 program. For some
81893 # reason, if we set the COLLECT_NAMES environment variable, the problems
81894 # vanish in a puff of smoke.
81895 if test "X${COLLECT_NAMES+set}" != Xset; then
81896 COLLECT_NAMES=
81897 export COLLECT_NAMES
81899 _LT_EOF
81901 esac
81904 ltmain="$ac_aux_dir/ltmain.sh"
81907 # We use sed instead of cat because bash on DJGPP gets confused if
81908 # if finds mixed CR/LF and LF-only lines. Since sed operates in
81909 # text mode, it properly converts lines to CR/LF. This bash problem
81910 # is reportedly fixed, but why not run on old versions too?
81911 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
81912 || (rm -f "$cfgfile"; exit 1)
81914 case $xsi_shell in
81915 yes)
81916 cat << \_LT_EOF >> "$cfgfile"
81918 # func_dirname file append nondir_replacement
81919 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
81920 # otherwise set result to NONDIR_REPLACEMENT.
81921 func_dirname ()
81923 case ${1} in
81924 */*) func_dirname_result="${1%/*}${2}" ;;
81925 * ) func_dirname_result="${3}" ;;
81926 esac
81929 # func_basename file
81930 func_basename ()
81932 func_basename_result="${1##*/}"
81935 # func_dirname_and_basename file append nondir_replacement
81936 # perform func_basename and func_dirname in a single function
81937 # call:
81938 # dirname: Compute the dirname of FILE. If nonempty,
81939 # add APPEND to the result, otherwise set result
81940 # to NONDIR_REPLACEMENT.
81941 # value returned in "$func_dirname_result"
81942 # basename: Compute filename of FILE.
81943 # value retuned in "$func_basename_result"
81944 # Implementation must be kept synchronized with func_dirname
81945 # and func_basename. For efficiency, we do not delegate to
81946 # those functions but instead duplicate the functionality here.
81947 func_dirname_and_basename ()
81949 case ${1} in
81950 */*) func_dirname_result="${1%/*}${2}" ;;
81951 * ) func_dirname_result="${3}" ;;
81952 esac
81953 func_basename_result="${1##*/}"
81956 # func_stripname prefix suffix name
81957 # strip PREFIX and SUFFIX off of NAME.
81958 # PREFIX and SUFFIX must not contain globbing or regex special
81959 # characters, hashes, percent signs, but SUFFIX may contain a leading
81960 # dot (in which case that matches only a dot).
81961 func_stripname ()
81963 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
81964 # positional parameters, so assign one to ordinary parameter first.
81965 func_stripname_result=${3}
81966 func_stripname_result=${func_stripname_result#"${1}"}
81967 func_stripname_result=${func_stripname_result%"${2}"}
81970 # func_opt_split
81971 func_opt_split ()
81973 func_opt_split_opt=${1%%=*}
81974 func_opt_split_arg=${1#*=}
81977 # func_lo2o object
81978 func_lo2o ()
81980 case ${1} in
81981 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
81982 *) func_lo2o_result=${1} ;;
81983 esac
81986 # func_xform libobj-or-source
81987 func_xform ()
81989 func_xform_result=${1%.*}.lo
81992 # func_arith arithmetic-term...
81993 func_arith ()
81995 func_arith_result=$(( $* ))
81998 # func_len string
81999 # STRING may not start with a hyphen.
82000 func_len ()
82002 func_len_result=${#1}
82005 _LT_EOF
82007 *) # Bourne compatible functions.
82008 cat << \_LT_EOF >> "$cfgfile"
82010 # func_dirname file append nondir_replacement
82011 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
82012 # otherwise set result to NONDIR_REPLACEMENT.
82013 func_dirname ()
82015 # Extract subdirectory from the argument.
82016 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
82017 if test "X$func_dirname_result" = "X${1}"; then
82018 func_dirname_result="${3}"
82019 else
82020 func_dirname_result="$func_dirname_result${2}"
82024 # func_basename file
82025 func_basename ()
82027 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
82031 # func_stripname prefix suffix name
82032 # strip PREFIX and SUFFIX off of NAME.
82033 # PREFIX and SUFFIX must not contain globbing or regex special
82034 # characters, hashes, percent signs, but SUFFIX may contain a leading
82035 # dot (in which case that matches only a dot).
82036 # func_strip_suffix prefix name
82037 func_stripname ()
82039 case ${2} in
82040 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
82041 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
82042 esac
82045 # sed scripts:
82046 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
82047 my_sed_long_arg='1s/^-[^=]*=//'
82049 # func_opt_split
82050 func_opt_split ()
82052 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
82053 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
82056 # func_lo2o object
82057 func_lo2o ()
82059 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
82062 # func_xform libobj-or-source
82063 func_xform ()
82065 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
82068 # func_arith arithmetic-term...
82069 func_arith ()
82071 func_arith_result=`expr "$@"`
82074 # func_len string
82075 # STRING may not start with a hyphen.
82076 func_len ()
82078 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
82081 _LT_EOF
82082 esac
82084 case $lt_shell_append in
82085 yes)
82086 cat << \_LT_EOF >> "$cfgfile"
82088 # func_append var value
82089 # Append VALUE to the end of shell variable VAR.
82090 func_append ()
82092 eval "$1+=\$2"
82094 _LT_EOF
82097 cat << \_LT_EOF >> "$cfgfile"
82099 # func_append var value
82100 # Append VALUE to the end of shell variable VAR.
82101 func_append ()
82103 eval "$1=\$$1\$2"
82106 _LT_EOF
82108 esac
82111 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
82112 || (rm -f "$cfgfile"; exit 1)
82114 mv -f "$cfgfile" "$ofile" ||
82115 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
82116 chmod +x "$ofile"
82119 cat <<_LT_EOF >> "$ofile"
82121 # ### BEGIN LIBTOOL TAG CONFIG: CXX
82123 # The linker used to build libraries.
82124 LD=$lt_LD_CXX
82126 # How to create reloadable object files.
82127 reload_flag=$lt_reload_flag_CXX
82128 reload_cmds=$lt_reload_cmds_CXX
82130 # Commands used to build an old-style archive.
82131 old_archive_cmds=$lt_old_archive_cmds_CXX
82133 # A language specific compiler.
82134 CC=$lt_compiler_CXX
82136 # Is the compiler the GNU compiler?
82137 with_gcc=$GCC_CXX
82139 # Compiler flag to turn off builtin functions.
82140 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
82142 # How to pass a linker flag through the compiler.
82143 wl=$lt_lt_prog_compiler_wl_CXX
82145 # Additional compiler flags for building library objects.
82146 pic_flag=$lt_lt_prog_compiler_pic_CXX
82148 # Compiler flag to prevent dynamic linking.
82149 link_static_flag=$lt_lt_prog_compiler_static_CXX
82151 # Does compiler simultaneously support -c and -o options?
82152 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
82154 # Whether or not to add -lc for building shared libraries.
82155 build_libtool_need_lc=$archive_cmds_need_lc_CXX
82157 # Whether or not to disallow shared libs when runtime libs are static.
82158 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
82160 # Compiler flag to allow reflexive dlopens.
82161 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
82163 # Compiler flag to generate shared objects directly from archives.
82164 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
82166 # Whether the compiler copes with passing no objects directly.
82167 compiler_needs_object=$lt_compiler_needs_object_CXX
82169 # Create an old-style archive from a shared archive.
82170 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
82172 # Create a temporary old-style archive to link instead of a shared archive.
82173 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
82175 # Commands used to build a shared archive.
82176 archive_cmds=$lt_archive_cmds_CXX
82177 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
82179 # Commands used to build a loadable module if different from building
82180 # a shared archive.
82181 module_cmds=$lt_module_cmds_CXX
82182 module_expsym_cmds=$lt_module_expsym_cmds_CXX
82184 # Whether we are building with GNU ld or not.
82185 with_gnu_ld=$lt_with_gnu_ld_CXX
82187 # Flag that allows shared libraries with undefined symbols to be built.
82188 allow_undefined_flag=$lt_allow_undefined_flag_CXX
82190 # Flag that enforces no undefined symbols.
82191 no_undefined_flag=$lt_no_undefined_flag_CXX
82193 # Flag to hardcode \$libdir into a binary during linking.
82194 # This must work even if \$libdir does not exist
82195 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
82197 # If ld is used when linking, flag to hardcode \$libdir into a binary
82198 # during linking. This must work even if \$libdir does not exist.
82199 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
82201 # Whether we need a single "-rpath" flag with a separated argument.
82202 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
82204 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
82205 # DIR into the resulting binary.
82206 hardcode_direct=$hardcode_direct_CXX
82208 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
82209 # DIR into the resulting binary and the resulting library dependency is
82210 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
82211 # library is relocated.
82212 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
82214 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
82215 # into the resulting binary.
82216 hardcode_minus_L=$hardcode_minus_L_CXX
82218 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
82219 # into the resulting binary.
82220 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
82222 # Set to "yes" if building a shared library automatically hardcodes DIR
82223 # into the library and all subsequent libraries and executables linked
82224 # against it.
82225 hardcode_automatic=$hardcode_automatic_CXX
82227 # Set to yes if linker adds runtime paths of dependent libraries
82228 # to runtime path list.
82229 inherit_rpath=$inherit_rpath_CXX
82231 # Whether libtool must link a program against all its dependency libraries.
82232 link_all_deplibs=$link_all_deplibs_CXX
82234 # Fix the shell variable \$srcfile for the compiler.
82235 fix_srcfile_path=$lt_fix_srcfile_path_CXX
82237 # Set to "yes" if exported symbols are required.
82238 always_export_symbols=$always_export_symbols_CXX
82240 # The commands to list exported symbols.
82241 export_symbols_cmds=$lt_export_symbols_cmds_CXX
82243 # Symbols that should not be listed in the preloaded symbols.
82244 exclude_expsyms=$lt_exclude_expsyms_CXX
82246 # Symbols that must always be exported.
82247 include_expsyms=$lt_include_expsyms_CXX
82249 # Commands necessary for linking programs (against libraries) with templates.
82250 prelink_cmds=$lt_prelink_cmds_CXX
82252 # Specify filename containing input files.
82253 file_list_spec=$lt_file_list_spec_CXX
82255 # How to hardcode a shared library path into an executable.
82256 hardcode_action=$hardcode_action_CXX
82258 # The directories searched by this compiler when creating a shared library.
82259 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
82261 # Dependencies to place before and after the objects being linked to
82262 # create a shared library.
82263 predep_objects=$lt_predep_objects_CXX
82264 postdep_objects=$lt_postdep_objects_CXX
82265 predeps=$lt_predeps_CXX
82266 postdeps=$lt_postdeps_CXX
82268 # The library search path used internally by the compiler when linking
82269 # a shared library.
82270 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
82272 # ### END LIBTOOL TAG CONFIG: CXX
82273 _LT_EOF
82276 "include/gstdint.h":C)
82277 if test "$GCC" = yes; then
82278 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
82279 else
82280 echo "/* generated for $CC */" > tmp-stdint.h
82283 sed 's/^ *//' >> tmp-stdint.h <<EOF
82285 #ifndef GCC_GENERATED_STDINT_H
82286 #define GCC_GENERATED_STDINT_H 1
82288 #include <sys/types.h>
82291 if test "$acx_cv_header_stdint" != stdint.h; then
82292 echo "#include <stddef.h>" >> tmp-stdint.h
82294 if test "$acx_cv_header_stdint" != stddef.h; then
82295 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
82298 sed 's/^ *//' >> tmp-stdint.h <<EOF
82299 /* glibc uses these symbols as guards to prevent redefinitions. */
82300 #ifdef __int8_t_defined
82301 #define _INT8_T
82302 #define _INT16_T
82303 #define _INT32_T
82304 #endif
82305 #ifdef __uint32_t_defined
82306 #define _UINT32_T
82307 #endif
82311 # ----------------- done header, emit basic int types -------------
82312 if test "$acx_cv_header_stdint" = stddef.h; then
82313 sed 's/^ *//' >> tmp-stdint.h <<EOF
82315 #ifndef _UINT8_T
82316 #define _UINT8_T
82317 #ifndef __uint8_t_defined
82318 #define __uint8_t_defined
82319 #ifndef uint8_t
82320 typedef unsigned $acx_cv_type_int8_t uint8_t;
82321 #endif
82322 #endif
82323 #endif
82325 #ifndef _UINT16_T
82326 #define _UINT16_T
82327 #ifndef __uint16_t_defined
82328 #define __uint16_t_defined
82329 #ifndef uint16_t
82330 typedef unsigned $acx_cv_type_int16_t uint16_t;
82331 #endif
82332 #endif
82333 #endif
82335 #ifndef _UINT32_T
82336 #define _UINT32_T
82337 #ifndef __uint32_t_defined
82338 #define __uint32_t_defined
82339 #ifndef uint32_t
82340 typedef unsigned $acx_cv_type_int32_t uint32_t;
82341 #endif
82342 #endif
82343 #endif
82345 #ifndef _INT8_T
82346 #define _INT8_T
82347 #ifndef __int8_t_defined
82348 #define __int8_t_defined
82349 #ifndef int8_t
82350 typedef $acx_cv_type_int8_t int8_t;
82351 #endif
82352 #endif
82353 #endif
82355 #ifndef _INT16_T
82356 #define _INT16_T
82357 #ifndef __int16_t_defined
82358 #define __int16_t_defined
82359 #ifndef int16_t
82360 typedef $acx_cv_type_int16_t int16_t;
82361 #endif
82362 #endif
82363 #endif
82365 #ifndef _INT32_T
82366 #define _INT32_T
82367 #ifndef __int32_t_defined
82368 #define __int32_t_defined
82369 #ifndef int32_t
82370 typedef $acx_cv_type_int32_t int32_t;
82371 #endif
82372 #endif
82373 #endif
82375 elif test "$ac_cv_type_u_int32_t" = yes; then
82376 sed 's/^ *//' >> tmp-stdint.h <<EOF
82378 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
82379 #ifndef _INT8_T
82380 #define _INT8_T
82381 #endif
82382 #ifndef _INT16_T
82383 #define _INT16_T
82384 #endif
82385 #ifndef _INT32_T
82386 #define _INT32_T
82387 #endif
82389 #ifndef _UINT8_T
82390 #define _UINT8_T
82391 #ifndef __uint8_t_defined
82392 #define __uint8_t_defined
82393 #ifndef uint8_t
82394 typedef u_int8_t uint8_t;
82395 #endif
82396 #endif
82397 #endif
82399 #ifndef _UINT16_T
82400 #define _UINT16_T
82401 #ifndef __uint16_t_defined
82402 #define __uint16_t_defined
82403 #ifndef uint16_t
82404 typedef u_int16_t uint16_t;
82405 #endif
82406 #endif
82407 #endif
82409 #ifndef _UINT32_T
82410 #define _UINT32_T
82411 #ifndef __uint32_t_defined
82412 #define __uint32_t_defined
82413 #ifndef uint32_t
82414 typedef u_int32_t uint32_t;
82415 #endif
82416 #endif
82417 #endif
82419 else
82420 sed 's/^ *//' >> tmp-stdint.h <<EOF
82422 /* Some systems have guard macros to prevent redefinitions, define them. */
82423 #ifndef _INT8_T
82424 #define _INT8_T
82425 #endif
82426 #ifndef _INT16_T
82427 #define _INT16_T
82428 #endif
82429 #ifndef _INT32_T
82430 #define _INT32_T
82431 #endif
82432 #ifndef _UINT8_T
82433 #define _UINT8_T
82434 #endif
82435 #ifndef _UINT16_T
82436 #define _UINT16_T
82437 #endif
82438 #ifndef _UINT32_T
82439 #define _UINT32_T
82440 #endif
82444 # ------------- done basic int types, emit int64_t types ------------
82445 if test "$ac_cv_type_uint64_t" = yes; then
82446 sed 's/^ *//' >> tmp-stdint.h <<EOF
82448 /* system headers have good uint64_t and int64_t */
82449 #ifndef _INT64_T
82450 #define _INT64_T
82451 #endif
82452 #ifndef _UINT64_T
82453 #define _UINT64_T
82454 #endif
82456 elif test "$ac_cv_type_u_int64_t" = yes; then
82457 sed 's/^ *//' >> tmp-stdint.h <<EOF
82459 /* system headers have an u_int64_t (and int64_t) */
82460 #ifndef _INT64_T
82461 #define _INT64_T
82462 #endif
82463 #ifndef _UINT64_T
82464 #define _UINT64_T
82465 #ifndef __uint64_t_defined
82466 #define __uint64_t_defined
82467 #ifndef uint64_t
82468 typedef u_int64_t uint64_t;
82469 #endif
82470 #endif
82471 #endif
82473 elif test -n "$acx_cv_type_int64_t"; then
82474 sed 's/^ *//' >> tmp-stdint.h <<EOF
82476 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
82477 #ifndef _INT64_T
82478 #define _INT64_T
82479 #ifndef int64_t
82480 typedef $acx_cv_type_int64_t int64_t;
82481 #endif
82482 #endif
82483 #ifndef _UINT64_T
82484 #define _UINT64_T
82485 #ifndef __uint64_t_defined
82486 #define __uint64_t_defined
82487 #ifndef uint64_t
82488 typedef unsigned $acx_cv_type_int64_t uint64_t;
82489 #endif
82490 #endif
82491 #endif
82493 else
82494 sed 's/^ *//' >> tmp-stdint.h <<EOF
82496 /* some common heuristics for int64_t, using compiler-specific tests */
82497 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
82498 #ifndef _INT64_T
82499 #define _INT64_T
82500 #ifndef __int64_t_defined
82501 #ifndef int64_t
82502 typedef long long int64_t;
82503 #endif
82504 #endif
82505 #endif
82506 #ifndef _UINT64_T
82507 #define _UINT64_T
82508 #ifndef uint64_t
82509 typedef unsigned long long uint64_t;
82510 #endif
82511 #endif
82513 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
82514 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
82515 does not implement __extension__. But that compiler doesn't define
82516 __GNUC_MINOR__. */
82517 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
82518 # define __extension__
82519 # endif
82521 # ifndef _INT64_T
82522 # define _INT64_T
82523 # ifndef int64_t
82524 __extension__ typedef long long int64_t;
82525 # endif
82526 # endif
82527 # ifndef _UINT64_T
82528 # define _UINT64_T
82529 # ifndef uint64_t
82530 __extension__ typedef unsigned long long uint64_t;
82531 # endif
82532 # endif
82534 #elif !defined __STRICT_ANSI__
82535 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
82537 # ifndef _INT64_T
82538 # define _INT64_T
82539 # ifndef int64_t
82540 typedef __int64 int64_t;
82541 # endif
82542 # endif
82543 # ifndef _UINT64_T
82544 # define _UINT64_T
82545 # ifndef uint64_t
82546 typedef unsigned __int64 uint64_t;
82547 # endif
82548 # endif
82549 # endif /* compiler */
82551 #endif /* ANSI version */
82555 # ------------- done int64_t types, emit intptr types ------------
82556 if test "$ac_cv_type_uintptr_t" != yes; then
82557 sed 's/^ *//' >> tmp-stdint.h <<EOF
82559 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
82560 #ifndef __uintptr_t_defined
82561 #ifndef uintptr_t
82562 typedef u$acx_cv_type_intptr_t uintptr_t;
82563 #endif
82564 #endif
82565 #ifndef __intptr_t_defined
82566 #ifndef intptr_t
82567 typedef $acx_cv_type_intptr_t intptr_t;
82568 #endif
82569 #endif
82573 # ------------- done intptr types, emit int_least types ------------
82574 if test "$ac_cv_type_int_least32_t" != yes; then
82575 sed 's/^ *//' >> tmp-stdint.h <<EOF
82577 /* Define int_least types */
82578 typedef int8_t int_least8_t;
82579 typedef int16_t int_least16_t;
82580 typedef int32_t int_least32_t;
82581 #ifdef _INT64_T
82582 typedef int64_t int_least64_t;
82583 #endif
82585 typedef uint8_t uint_least8_t;
82586 typedef uint16_t uint_least16_t;
82587 typedef uint32_t uint_least32_t;
82588 #ifdef _UINT64_T
82589 typedef uint64_t uint_least64_t;
82590 #endif
82594 # ------------- done intptr types, emit int_fast types ------------
82595 if test "$ac_cv_type_int_fast32_t" != yes; then
82596 sed 's/^ *//' >> tmp-stdint.h <<EOF
82598 /* Define int_fast types. short is often slow */
82599 typedef int8_t int_fast8_t;
82600 typedef int int_fast16_t;
82601 typedef int32_t int_fast32_t;
82602 #ifdef _INT64_T
82603 typedef int64_t int_fast64_t;
82604 #endif
82606 typedef uint8_t uint_fast8_t;
82607 typedef unsigned int uint_fast16_t;
82608 typedef uint32_t uint_fast32_t;
82609 #ifdef _UINT64_T
82610 typedef uint64_t uint_fast64_t;
82611 #endif
82615 if test "$ac_cv_type_uintmax_t" != yes; then
82616 sed 's/^ *//' >> tmp-stdint.h <<EOF
82618 /* Define intmax based on what we found */
82619 #ifndef intmax_t
82620 #ifdef _INT64_T
82621 typedef int64_t intmax_t;
82622 #else
82623 typedef long intmax_t;
82624 #endif
82625 #endif
82626 #ifndef uintmax_t
82627 #ifdef _UINT64_T
82628 typedef uint64_t uintmax_t;
82629 #else
82630 typedef unsigned long uintmax_t;
82631 #endif
82632 #endif
82636 sed 's/^ *//' >> tmp-stdint.h <<EOF
82638 #endif /* GCC_GENERATED_STDINT_H */
82641 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
82642 rm -f tmp-stdint.h
82643 else
82644 mv -f tmp-stdint.h include/gstdint.h
82648 "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
82649 "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
82650 "include/Makefile":F) cat > vpsed$$ << \_EOF
82651 s!`test -f '$<' || echo '$(srcdir)/'`!!
82652 _EOF
82653 sed -f vpsed$$ $ac_file > tmp$$
82654 mv tmp$$ $ac_file
82655 rm vpsed$$
82656 echo 'MULTISUBDIR =' >> $ac_file
82657 ml_norecursion=yes
82658 . ${multi_basedir}/config-ml.in
82659 { ml_norecursion=; unset ml_norecursion;}
82661 "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
82662 s!`test -f '$<' || echo '$(srcdir)/'`!!
82663 _EOF
82664 sed -f vpsed$$ $ac_file > tmp$$
82665 mv tmp$$ $ac_file
82666 rm vpsed$$
82667 echo 'MULTISUBDIR =' >> $ac_file
82668 ml_norecursion=yes
82669 . ${multi_basedir}/config-ml.in
82670 { ml_norecursion=; unset ml_norecursion;}
82672 "python/Makefile":F) cat > vpsed$$ << \_EOF
82673 s!`test -f '$<' || echo '$(srcdir)/'`!!
82674 _EOF
82675 sed -f vpsed$$ $ac_file > tmp$$
82676 mv tmp$$ $ac_file
82677 rm vpsed$$
82678 echo 'MULTISUBDIR =' >> $ac_file
82679 ml_norecursion=yes
82680 . ${multi_basedir}/config-ml.in
82681 { ml_norecursion=; unset ml_norecursion;}
82683 "src/Makefile":F) cat > vpsed$$ << \_EOF
82684 s!`test -f '$<' || echo '$(srcdir)/'`!!
82685 _EOF
82686 sed -f vpsed$$ $ac_file > tmp$$
82687 mv tmp$$ $ac_file
82688 rm vpsed$$
82689 echo 'MULTISUBDIR =' >> $ac_file
82690 ml_norecursion=yes
82691 . ${multi_basedir}/config-ml.in
82692 { ml_norecursion=; unset ml_norecursion;}
82694 "src/c++98/Makefile":F) cat > vpsed$$ << \_EOF
82695 s!`test -f '$<' || echo '$(srcdir)/'`!!
82696 _EOF
82697 sed -f vpsed$$ $ac_file > tmp$$
82698 mv tmp$$ $ac_file
82699 rm vpsed$$
82700 echo 'MULTISUBDIR =' >> $ac_file
82701 ml_norecursion=yes
82702 . ${multi_basedir}/config-ml.in
82703 { ml_norecursion=; unset ml_norecursion;}
82705 "src/c++11/Makefile":F) cat > vpsed$$ << \_EOF
82706 s!`test -f '$<' || echo '$(srcdir)/'`!!
82707 _EOF
82708 sed -f vpsed$$ $ac_file > tmp$$
82709 mv tmp$$ $ac_file
82710 rm vpsed$$
82711 echo 'MULTISUBDIR =' >> $ac_file
82712 ml_norecursion=yes
82713 . ${multi_basedir}/config-ml.in
82714 { ml_norecursion=; unset ml_norecursion;}
82716 "doc/Makefile":F) cat > vpsed$$ << \_EOF
82717 s!`test -f '$<' || echo '$(srcdir)/'`!!
82718 _EOF
82719 sed -f vpsed$$ $ac_file > tmp$$
82720 mv tmp$$ $ac_file
82721 rm vpsed$$
82722 echo 'MULTISUBDIR =' >> $ac_file
82723 ml_norecursion=yes
82724 . ${multi_basedir}/config-ml.in
82725 { ml_norecursion=; unset ml_norecursion;}
82727 "po/Makefile":F) cat > vpsed$$ << \_EOF
82728 s!`test -f '$<' || echo '$(srcdir)/'`!!
82729 _EOF
82730 sed -f vpsed$$ $ac_file > tmp$$
82731 mv tmp$$ $ac_file
82732 rm vpsed$$
82733 echo 'MULTISUBDIR =' >> $ac_file
82734 ml_norecursion=yes
82735 . ${multi_basedir}/config-ml.in
82736 { ml_norecursion=; unset ml_norecursion;}
82738 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
82739 s!`test -f '$<' || echo '$(srcdir)/'`!!
82740 _EOF
82741 sed -f vpsed$$ $ac_file > tmp$$
82742 mv tmp$$ $ac_file
82743 rm vpsed$$
82744 echo 'MULTISUBDIR =' >> $ac_file
82745 ml_norecursion=yes
82746 . ${multi_basedir}/config-ml.in
82747 { ml_norecursion=; unset ml_norecursion;}
82749 "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
82751 esac
82752 done # for ac_tag
82755 as_fn_exit 0
82756 _ACEOF
82757 ac_clean_files=$ac_clean_files_save
82759 test $ac_write_fail = 0 ||
82760 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
82763 # configure is writing to config.log, and then calls config.status.
82764 # config.status does its own redirection, appending to config.log.
82765 # Unfortunately, on DOS this fails, as config.log is still kept open
82766 # by configure, so config.status won't be able to write to it; its
82767 # output is simply discarded. So we exec the FD to /dev/null,
82768 # effectively closing config.log, so it can be properly (re)opened and
82769 # appended to by config.status. When coming back to configure, we
82770 # need to make the FD available again.
82771 if test "$no_create" != yes; then
82772 ac_cs_success=:
82773 ac_config_status_args=
82774 test "$silent" = yes &&
82775 ac_config_status_args="$ac_config_status_args --quiet"
82776 exec 5>/dev/null
82777 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
82778 exec 5>>config.log
82779 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
82780 # would make configure fail if this is the last instruction.
82781 $ac_cs_success || as_fn_exit $?
82783 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
82784 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
82785 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}