* lto-cgraph.c (compute_ltrans_boundary, output_symtab): Fix handling
[official-gcc.git] / libstdc++-v3 / configure
blob41797a971b536fa06dc4b6d4733f75e6aef2d6a3
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for package-unused version-unused.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
7 # Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18 emulate sh
19 NULLCMD=:
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24 else
25 case `(set -o) 2>/dev/null` in #(
26 *posix*) :
27 set -o posix ;; #(
28 *) :
30 esac
34 as_nl='
36 export as_nl
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45 as_echo='print -r --'
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo='printf %s\n'
49 as_echo_n='printf %s'
50 else
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
54 else
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56 as_echo_n_body='eval
57 arg=$1;
58 case $arg in #(
59 *"$as_nl"*)
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62 esac;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
65 export as_echo_n_body
66 as_echo_n='sh -c $as_echo_n_body as_echo'
68 export as_echo_body
69 as_echo='sh -c $as_echo_body as_echo'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
74 PATH_SEPARATOR=:
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77 PATH_SEPARATOR=';'
82 # IFS
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
87 IFS=" "" $as_nl"
89 # Find who we are. Look in the path if we contain no directory separator.
90 case $0 in #((
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
93 for as_dir in $PATH
95 IFS=$as_save_IFS
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
98 done
99 IFS=$as_save_IFS
102 esac
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x; then
106 as_myself=$0
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
110 exit 1
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\${$as_var+set} = xset \
119 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
120 done
121 PS1='$ '
122 PS2='> '
123 PS4='+ '
125 # NLS nuisances.
126 LC_ALL=C
127 export LC_ALL
128 LANGUAGE=C
129 export LANGUAGE
131 # CDPATH.
132 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
134 if test "x$CONFIG_SHELL" = x; then
135 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
136 emulate sh
137 NULLCMD=:
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
141 setopt NO_GLOB_SUBST
142 else
143 case \`(set -o) 2>/dev/null\` in #(
144 *posix*) :
145 set -o posix ;; #(
146 *) :
148 esac
151 as_required="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
157 exitcode=0
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
164 else
165 exitcode=1; echo positional parameters were not saved.
167 test x\$exitcode = x0 || exit 1"
168 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172 test \$(( 1 + 1 )) = 2 || exit 1
174 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
175 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
176 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
177 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
178 PATH=/empty FPATH=/empty; export PATH FPATH
179 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
180 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
181 if (eval "$as_required") 2>/dev/null; then :
182 as_have_required=yes
183 else
184 as_have_required=no
186 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
188 else
189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
190 as_found=false
191 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
193 IFS=$as_save_IFS
194 test -z "$as_dir" && as_dir=.
195 as_found=:
196 case $as_dir in #(
198 for as_base in sh bash ksh sh5; do
199 # Try only shells that exist, to save several forks.
200 as_shell=$as_dir/$as_base
201 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
202 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
203 CONFIG_SHELL=$as_shell as_have_required=yes
204 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
205 break 2
208 done;;
209 esac
210 as_found=false
211 done
212 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
213 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
214 CONFIG_SHELL=$SHELL as_have_required=yes
215 fi; }
216 IFS=$as_save_IFS
219 if test "x$CONFIG_SHELL" != x; then :
220 # We cannot yet assume a decent shell, so we have to provide a
221 # neutralization value for shells without unset; and this also
222 # works around shells that cannot unset nonexistent variables.
223 BASH_ENV=/dev/null
224 ENV=/dev/null
225 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
226 export CONFIG_SHELL
227 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
230 if test x$as_have_required = xno; then :
231 $as_echo "$0: This script requires a shell more modern than all"
232 $as_echo "$0: the shells that I found on your system."
233 if test x${ZSH_VERSION+set} = xset ; then
234 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
235 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
236 else
237 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
238 $0: including any error possibly output before this
239 $0: message. Then install a modern shell, or manually run
240 $0: the script under such a shell if you do have one."
242 exit 1
246 SHELL=${CONFIG_SHELL-/bin/sh}
247 export SHELL
248 # Unset more variables known to interfere with behavior of common tools.
249 CLICOLOR_FORCE= GREP_OPTIONS=
250 unset CLICOLOR_FORCE GREP_OPTIONS
252 ## --------------------- ##
253 ## M4sh Shell Functions. ##
254 ## --------------------- ##
255 # as_fn_unset VAR
256 # ---------------
257 # Portably unset VAR.
258 as_fn_unset ()
260 { eval $1=; unset $1;}
262 as_unset=as_fn_unset
264 # as_fn_set_status STATUS
265 # -----------------------
266 # Set $? to STATUS, without forking.
267 as_fn_set_status ()
269 return $1
270 } # as_fn_set_status
272 # as_fn_exit STATUS
273 # -----------------
274 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
275 as_fn_exit ()
277 set +e
278 as_fn_set_status $1
279 exit $1
280 } # as_fn_exit
282 # as_fn_mkdir_p
283 # -------------
284 # Create "$as_dir" as a directory, including parents if necessary.
285 as_fn_mkdir_p ()
288 case $as_dir in #(
289 -*) as_dir=./$as_dir;;
290 esac
291 test -d "$as_dir" || eval $as_mkdir_p || {
292 as_dirs=
293 while :; do
294 case $as_dir in #(
295 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
296 *) as_qdir=$as_dir;;
297 esac
298 as_dirs="'$as_qdir' $as_dirs"
299 as_dir=`$as_dirname -- "$as_dir" ||
300 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
301 X"$as_dir" : 'X\(//\)[^/]' \| \
302 X"$as_dir" : 'X\(//\)$' \| \
303 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
304 $as_echo X"$as_dir" |
305 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
306 s//\1/
309 /^X\(\/\/\)[^/].*/{
310 s//\1/
313 /^X\(\/\/\)$/{
314 s//\1/
317 /^X\(\/\).*/{
318 s//\1/
321 s/.*/./; q'`
322 test -d "$as_dir" && break
323 done
324 test -z "$as_dirs" || eval "mkdir $as_dirs"
325 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
328 } # as_fn_mkdir_p
329 # as_fn_append VAR VALUE
330 # ----------------------
331 # Append the text in VALUE to the end of the definition contained in VAR. Take
332 # advantage of any shell optimizations that allow amortized linear growth over
333 # repeated appends, instead of the typical quadratic growth present in naive
334 # implementations.
335 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
336 eval 'as_fn_append ()
338 eval $1+=\$2
340 else
341 as_fn_append ()
343 eval $1=\$$1\$2
345 fi # as_fn_append
347 # as_fn_arith ARG...
348 # ------------------
349 # Perform arithmetic evaluation on the ARGs, and store the result in the
350 # global $as_val. Take advantage of shells that can avoid forks. The arguments
351 # must be portable across $(()) and expr.
352 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
353 eval 'as_fn_arith ()
355 as_val=$(( $* ))
357 else
358 as_fn_arith ()
360 as_val=`expr "$@" || test $? -eq 1`
362 fi # as_fn_arith
365 # as_fn_error ERROR [LINENO LOG_FD]
366 # ---------------------------------
367 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
368 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
369 # script with status $?, using 1 if that was 0.
370 as_fn_error ()
372 as_status=$?; test $as_status -eq 0 && as_status=1
373 if test "$3"; then
374 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
375 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
377 $as_echo "$as_me: error: $1" >&2
378 as_fn_exit $as_status
379 } # as_fn_error
381 if expr a : '\(a\)' >/dev/null 2>&1 &&
382 test "X`expr 00001 : '.*\(...\)'`" = X001; then
383 as_expr=expr
384 else
385 as_expr=false
388 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
389 as_basename=basename
390 else
391 as_basename=false
394 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
395 as_dirname=dirname
396 else
397 as_dirname=false
400 as_me=`$as_basename -- "$0" ||
401 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
402 X"$0" : 'X\(//\)$' \| \
403 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
404 $as_echo X/"$0" |
405 sed '/^.*\/\([^/][^/]*\)\/*$/{
406 s//\1/
409 /^X\/\(\/\/\)$/{
410 s//\1/
413 /^X\/\(\/\).*/{
414 s//\1/
417 s/.*/./; q'`
419 # Avoid depending upon Character Ranges.
420 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
421 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
422 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
423 as_cr_digits='0123456789'
424 as_cr_alnum=$as_cr_Letters$as_cr_digits
427 as_lineno_1=$LINENO as_lineno_1a=$LINENO
428 as_lineno_2=$LINENO as_lineno_2a=$LINENO
429 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
430 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
431 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
432 sed -n '
434 /[$]LINENO/=
435 ' <$as_myself |
436 sed '
437 s/[$]LINENO.*/&-/
438 t lineno
440 :lineno
442 :loop
443 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
444 t loop
445 s/-\n.*//
446 ' >$as_me.lineno &&
447 chmod +x "$as_me.lineno" ||
448 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
450 # Don't try to exec as it changes $[0], causing all sort of problems
451 # (the dirname of $[0] is not the place where we might find the
452 # original and so on. Autoconf is especially sensitive to this).
453 . "./$as_me.lineno"
454 # Exit status is that of the last command.
455 exit
458 ECHO_C= ECHO_N= ECHO_T=
459 case `echo -n x` in #(((((
460 -n*)
461 case `echo 'xy\c'` in
462 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
463 xy) ECHO_C='\c';;
464 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
465 ECHO_T=' ';;
466 esac;;
468 ECHO_N='-n';;
469 esac
471 rm -f conf$$ conf$$.exe conf$$.file
472 if test -d conf$$.dir; then
473 rm -f conf$$.dir/conf$$.file
474 else
475 rm -f conf$$.dir
476 mkdir conf$$.dir 2>/dev/null
478 if (echo >conf$$.file) 2>/dev/null; then
479 if ln -s conf$$.file conf$$ 2>/dev/null; then
480 as_ln_s='ln -s'
481 # ... but there are two gotchas:
482 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
483 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
484 # In both cases, we have to default to `cp -p'.
485 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
486 as_ln_s='cp -p'
487 elif ln conf$$.file conf$$ 2>/dev/null; then
488 as_ln_s=ln
489 else
490 as_ln_s='cp -p'
492 else
493 as_ln_s='cp -p'
495 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
496 rmdir conf$$.dir 2>/dev/null
498 if mkdir -p . 2>/dev/null; then
499 as_mkdir_p='mkdir -p "$as_dir"'
500 else
501 test -d ./-p && rmdir ./-p
502 as_mkdir_p=false
505 if test -x / >/dev/null 2>&1; then
506 as_test_x='test -x'
507 else
508 if ls -dL / >/dev/null 2>&1; then
509 as_ls_L_option=L
510 else
511 as_ls_L_option=
513 as_test_x='
514 eval sh -c '\''
515 if test -d "$1"; then
516 test -d "$1/.";
517 else
518 case $1 in #(
519 -*)set "./$1";;
520 esac;
521 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
522 ???[sx]*):;;*)false;;esac;fi
523 '\'' sh
526 as_executable_p=$as_test_x
528 # Sed expression to map a string onto a valid CPP name.
529 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
531 # Sed expression to map a string onto a valid variable name.
532 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
534 SHELL=${CONFIG_SHELL-/bin/sh}
537 exec 7<&0 </dev/null 6>&1
539 # Name of the host.
540 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
541 # so uname gets run too.
542 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
545 # Initializations.
547 ac_default_prefix=/usr/local
548 ac_clean_files=
549 ac_config_libobj_dir=.
550 LIBOBJS=
551 cross_compiling=no
552 subdirs=
553 MFLAGS=
554 MAKEFLAGS=
556 # Identity of this package.
557 PACKAGE_NAME='package-unused'
558 PACKAGE_TARNAME='libstdc++'
559 PACKAGE_VERSION='version-unused'
560 PACKAGE_STRING='package-unused version-unused'
561 PACKAGE_BUGREPORT=''
562 PACKAGE_URL=''
564 ac_unique_file="src/shared/hashtable-aux.cc"
565 # Factoring default headers for most tests.
566 ac_includes_default="\
567 #include <stdio.h>
568 #ifdef HAVE_SYS_TYPES_H
569 # include <sys/types.h>
570 #endif
571 #ifdef HAVE_SYS_STAT_H
572 # include <sys/stat.h>
573 #endif
574 #ifdef STDC_HEADERS
575 # include <stdlib.h>
576 # include <stddef.h>
577 #else
578 # ifdef HAVE_STDLIB_H
579 # include <stdlib.h>
580 # endif
581 #endif
582 #ifdef HAVE_STRING_H
583 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
584 # include <memory.h>
585 # endif
586 # include <string.h>
587 #endif
588 #ifdef HAVE_STRINGS_H
589 # include <strings.h>
590 #endif
591 #ifdef HAVE_INTTYPES_H
592 # include <inttypes.h>
593 #endif
594 #ifdef HAVE_STDINT_H
595 # include <stdint.h>
596 #endif
597 #ifdef HAVE_UNISTD_H
598 # include <unistd.h>
599 #endif"
601 ac_subst_vars='am__EXEEXT_FALSE
602 am__EXEEXT_TRUE
603 LTLIBOBJS
604 LIBOBJS
605 WARN_FLAGS
606 OPTIMIZE_CXXFLAGS
607 TOPLEVEL_INCLUDES
608 GLIBCXX_INCLUDES
609 glibcxx_toolexeclibdir
610 glibcxx_toolexecdir
611 gxx_include_dir
612 glibcxx_prefixdir
613 CPU_OPT_BITS_RANDOM
614 CPU_OPT_EXT_RANDOM
615 ERROR_CONSTANTS_SRCDIR
616 OS_INC_SRCDIR
617 ABI_TWEAKS_SRCDIR
618 CPU_DEFINES_SRCDIR
619 ATOMIC_FLAGS
620 ATOMIC_WORD_SRCDIR
621 ATOMICITY_SRCDIR
622 BUILD_PDF_FALSE
623 BUILD_PDF_TRUE
624 PDFLATEX
625 DBLATEX
626 BUILD_MAN_FALSE
627 BUILD_MAN_TRUE
628 BUILD_HTML_FALSE
629 BUILD_HTML_TRUE
630 BUILD_XML_FALSE
631 BUILD_XML_TRUE
632 BUILD_EPUB_FALSE
633 BUILD_EPUB_TRUE
634 XSL_STYLE_DIR
635 XMLLINT
636 XSLTPROC
638 DOXYGEN
639 BUILD_INFO_FALSE
640 BUILD_INFO_TRUE
641 ENABLE_FILESYSTEM_TS_FALSE
642 ENABLE_FILESYSTEM_TS_TRUE
643 baseline_subdir_switch
644 baseline_dir
645 HWCAP_FLAGS
646 GLIBCXX_LDBL_COMPAT_FALSE
647 GLIBCXX_LDBL_COMPAT_TRUE
648 ENABLE_CXX11_ABI_FALSE
649 ENABLE_CXX11_ABI_TRUE
650 glibcxx_cxx98_abi
651 ENABLE_DUAL_ABI_FALSE
652 ENABLE_DUAL_ABI_TRUE
653 ENABLE_VISIBILITY_FALSE
654 ENABLE_VISIBILITY_TRUE
655 libtool_VERSION
656 ENABLE_SYMVERS_SUN_FALSE
657 ENABLE_SYMVERS_SUN_TRUE
658 ENABLE_SYMVERS_DARWIN_FALSE
659 ENABLE_SYMVERS_DARWIN_TRUE
660 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE
661 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE
662 ENABLE_SYMVERS_GNU_FALSE
663 ENABLE_SYMVERS_GNU_TRUE
664 ENABLE_SYMVERS_FALSE
665 ENABLE_SYMVERS_TRUE
666 port_specific_symbol_files
667 SYMVER_FILE
668 CXXFILT
669 LTLIBICONV
670 LIBICONV
671 OPT_LDFLAGS
672 SECTION_LDFLAGS
673 GLIBCXX_LIBS
674 ENABLE_VTABLE_VERIFY_FALSE
675 ENABLE_VTABLE_VERIFY_TRUE
676 VTV_CYGMIN_FALSE
677 VTV_CYGMIN_TRUE
678 VTV_CXXLINKFLAGS
679 VTV_PCH_CXXFLAGS
680 VTV_CXXFLAGS
681 ENABLE_WERROR_FALSE
682 ENABLE_WERROR_TRUE
683 ENABLE_PYTHONDIR_FALSE
684 ENABLE_PYTHONDIR_TRUE
685 python_mod_dir
686 ENABLE_EXTERN_TEMPLATE_FALSE
687 ENABLE_EXTERN_TEMPLATE_TRUE
688 EXTRA_CXX_FLAGS
689 GLIBCXX_BUILD_DEBUG_FALSE
690 GLIBCXX_BUILD_DEBUG_TRUE
691 DEBUG_FLAGS
692 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE
693 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE
694 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE
695 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE
696 GLIBCXX_C_HEADERS_C_STD_FALSE
697 GLIBCXX_C_HEADERS_C_STD_TRUE
698 GLIBCXX_C_HEADERS_C_FALSE
699 GLIBCXX_C_HEADERS_C_TRUE
700 C_INCLUDE_DIR
701 ALLOCATOR_NAME
702 ALLOCATOR_H
703 ENABLE_ALLOCATOR_NEW_FALSE
704 ENABLE_ALLOCATOR_NEW_TRUE
705 CLOCALE_INTERNAL_H
706 CLOCALE_CC
707 CTIME_CC
708 CTIME_H
709 CNUMERIC_CC
710 CMONEY_CC
711 CMESSAGES_CC
712 CCTYPE_CC
713 CCOLLATE_CC
714 CCODECVT_CC
715 CMESSAGES_H
716 CLOCALE_H
717 USE_NLS
718 glibcxx_localedir
719 glibcxx_POFILES
720 glibcxx_MOFILES
721 check_msgfmt
722 BASIC_FILE_CC
723 BASIC_FILE_H
724 CSTDIO_H
725 SECTION_FLAGS
726 WERROR
727 thread_header
728 glibcxx_PCHFLAGS
729 GLIBCXX_BUILD_PCH_FALSE
730 GLIBCXX_BUILD_PCH_TRUE
731 GLIBCXX_HOSTED_FALSE
732 GLIBCXX_HOSTED_TRUE
733 glibcxx_compiler_shared_flag
734 glibcxx_compiler_pic_flag
735 glibcxx_lt_pic_flag
736 enable_static
737 enable_shared
738 lt_host_flags
739 CXXCPP
740 OTOOL64
741 OTOOL
742 LIPO
743 NMEDIT
744 DSYMUTIL
745 OBJDUMP
747 ac_ct_DUMPBIN
748 DUMPBIN
750 FGREP
752 LIBTOOL
753 EGREP
754 GREP
756 MAINT
757 MAINTAINER_MODE_FALSE
758 MAINTAINER_MODE_TRUE
759 RANLIB
762 LN_S
763 toplevel_srcdir
764 toplevel_builddir
765 glibcxx_srcdir
766 glibcxx_builddir
767 ac_ct_CXX
768 CXXFLAGS
770 OBJEXT
771 EXEEXT
772 ac_ct_CC
773 CPPFLAGS
774 LDFLAGS
775 CFLAGS
777 am__untar
778 am__tar
779 AMTAR
780 am__leading_dot
781 SET_MAKE
783 mkdir_p
784 MKDIR_P
785 INSTALL_STRIP_PROGRAM
786 STRIP
787 install_sh
788 MAKEINFO
789 AUTOHEADER
790 AUTOMAKE
791 AUTOCONF
792 ACLOCAL
793 VERSION
794 PACKAGE
795 CYGPATH_W
796 am__isrc
797 INSTALL_DATA
798 INSTALL_SCRIPT
799 INSTALL_PROGRAM
800 target_os
801 target_vendor
802 target_cpu
803 target
804 host_os
805 host_vendor
806 host_cpu
807 host
808 build_os
809 build_vendor
810 build_cpu
811 build
812 multi_basedir
813 target_alias
814 host_alias
815 build_alias
816 LIBS
817 ECHO_T
818 ECHO_N
819 ECHO_C
820 DEFS
821 mandir
822 localedir
823 libdir
824 psdir
825 pdfdir
826 dvidir
827 htmldir
828 infodir
829 docdir
830 oldincludedir
831 includedir
832 localstatedir
833 sharedstatedir
834 sysconfdir
835 datadir
836 datarootdir
837 libexecdir
838 sbindir
839 bindir
840 program_transform_name
841 prefix
842 exec_prefix
843 PACKAGE_URL
844 PACKAGE_BUGREPORT
845 PACKAGE_STRING
846 PACKAGE_VERSION
847 PACKAGE_TARNAME
848 PACKAGE_NAME
849 PATH_SEPARATOR
850 SHELL'
851 ac_subst_files=''
852 ac_user_opts='
853 enable_option_checking
854 enable_multilib
855 with_target_subdir
856 with_cross_host
857 with_newlib
858 enable_maintainer_mode
859 enable_shared
860 enable_static
861 with_pic
862 enable_fast_install
863 with_gnu_ld
864 enable_libtool_lock
865 enable_hosted_libstdcxx
866 enable_libstdcxx_verbose
867 enable_libstdcxx_pch
868 enable_cstdio
869 enable_clocale
870 enable_nls
871 enable_libstdcxx_allocator
872 enable_cheaders
873 enable_long_long
874 enable_wchar_t
875 enable_c99
876 enable_concept_checks
877 enable_libstdcxx_debug_flags
878 enable_libstdcxx_debug
879 enable_cxx_flags
880 enable_fully_dynamic_string
881 enable_extern_template
882 with_python_dir
883 enable_werror
884 enable_vtable_verify
885 enable_libstdcxx_time
886 enable_tls
887 enable_rpath
888 with_libiconv_prefix
889 with_system_libunwind
890 enable_linux_futex
891 enable_symvers
892 enable_libstdcxx_visibility
893 enable_libstdcxx_dual_abi
894 with_default_libstdcxx_abi
895 enable_libstdcxx_threads
896 enable_libstdcxx_filesystem_ts
897 with_gxx_include_dir
898 enable_version_specific_runtime_libs
900 ac_precious_vars='build_alias
901 host_alias
902 target_alias
904 CFLAGS
905 LDFLAGS
906 LIBS
907 CPPFLAGS
909 CXXFLAGS
912 CXXCPP
913 CXXFILT'
916 # Initialize some variables set by options.
917 ac_init_help=
918 ac_init_version=false
919 ac_unrecognized_opts=
920 ac_unrecognized_sep=
921 # The variables have the same names as the options, with
922 # dashes changed to underlines.
923 cache_file=/dev/null
924 exec_prefix=NONE
925 no_create=
926 no_recursion=
927 prefix=NONE
928 program_prefix=NONE
929 program_suffix=NONE
930 program_transform_name=s,x,x,
931 silent=
932 site=
933 srcdir=
934 verbose=
935 x_includes=NONE
936 x_libraries=NONE
938 # Installation directory options.
939 # These are left unexpanded so users can "make install exec_prefix=/foo"
940 # and all the variables that are supposed to be based on exec_prefix
941 # by default will actually change.
942 # Use braces instead of parens because sh, perl, etc. also accept them.
943 # (The list follows the same order as the GNU Coding Standards.)
944 bindir='${exec_prefix}/bin'
945 sbindir='${exec_prefix}/sbin'
946 libexecdir='${exec_prefix}/libexec'
947 datarootdir='${prefix}/share'
948 datadir='${datarootdir}'
949 sysconfdir='${prefix}/etc'
950 sharedstatedir='${prefix}/com'
951 localstatedir='${prefix}/var'
952 includedir='${prefix}/include'
953 oldincludedir='/usr/include'
954 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
955 infodir='${datarootdir}/info'
956 htmldir='${docdir}'
957 dvidir='${docdir}'
958 pdfdir='${docdir}'
959 psdir='${docdir}'
960 libdir='${exec_prefix}/lib'
961 localedir='${datarootdir}/locale'
962 mandir='${datarootdir}/man'
964 ac_prev=
965 ac_dashdash=
966 for ac_option
968 # If the previous option needs an argument, assign it.
969 if test -n "$ac_prev"; then
970 eval $ac_prev=\$ac_option
971 ac_prev=
972 continue
975 case $ac_option in
976 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
977 *) ac_optarg=yes ;;
978 esac
980 # Accept the important Cygnus configure options, so we can diagnose typos.
982 case $ac_dashdash$ac_option in
984 ac_dashdash=yes ;;
986 -bindir | --bindir | --bindi | --bind | --bin | --bi)
987 ac_prev=bindir ;;
988 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
989 bindir=$ac_optarg ;;
991 -build | --build | --buil | --bui | --bu)
992 ac_prev=build_alias ;;
993 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
994 build_alias=$ac_optarg ;;
996 -cache-file | --cache-file | --cache-fil | --cache-fi \
997 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
998 ac_prev=cache_file ;;
999 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1000 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1001 cache_file=$ac_optarg ;;
1003 --config-cache | -C)
1004 cache_file=config.cache ;;
1006 -datadir | --datadir | --datadi | --datad)
1007 ac_prev=datadir ;;
1008 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1009 datadir=$ac_optarg ;;
1011 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1012 | --dataroo | --dataro | --datar)
1013 ac_prev=datarootdir ;;
1014 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1015 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1016 datarootdir=$ac_optarg ;;
1018 -disable-* | --disable-*)
1019 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1020 # Reject names that are not valid shell variable names.
1021 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1022 as_fn_error "invalid feature name: $ac_useropt"
1023 ac_useropt_orig=$ac_useropt
1024 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1025 case $ac_user_opts in
1027 "enable_$ac_useropt"
1028 "*) ;;
1029 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1030 ac_unrecognized_sep=', ';;
1031 esac
1032 eval enable_$ac_useropt=no ;;
1034 -docdir | --docdir | --docdi | --doc | --do)
1035 ac_prev=docdir ;;
1036 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1037 docdir=$ac_optarg ;;
1039 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1040 ac_prev=dvidir ;;
1041 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1042 dvidir=$ac_optarg ;;
1044 -enable-* | --enable-*)
1045 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1046 # Reject names that are not valid shell variable names.
1047 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1048 as_fn_error "invalid feature name: $ac_useropt"
1049 ac_useropt_orig=$ac_useropt
1050 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1051 case $ac_user_opts in
1053 "enable_$ac_useropt"
1054 "*) ;;
1055 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1056 ac_unrecognized_sep=', ';;
1057 esac
1058 eval enable_$ac_useropt=\$ac_optarg ;;
1060 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1061 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1062 | --exec | --exe | --ex)
1063 ac_prev=exec_prefix ;;
1064 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1065 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1066 | --exec=* | --exe=* | --ex=*)
1067 exec_prefix=$ac_optarg ;;
1069 -gas | --gas | --ga | --g)
1070 # Obsolete; use --with-gas.
1071 with_gas=yes ;;
1073 -help | --help | --hel | --he | -h)
1074 ac_init_help=long ;;
1075 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1076 ac_init_help=recursive ;;
1077 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1078 ac_init_help=short ;;
1080 -host | --host | --hos | --ho)
1081 ac_prev=host_alias ;;
1082 -host=* | --host=* | --hos=* | --ho=*)
1083 host_alias=$ac_optarg ;;
1085 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1086 ac_prev=htmldir ;;
1087 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1088 | --ht=*)
1089 htmldir=$ac_optarg ;;
1091 -includedir | --includedir | --includedi | --included | --include \
1092 | --includ | --inclu | --incl | --inc)
1093 ac_prev=includedir ;;
1094 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1095 | --includ=* | --inclu=* | --incl=* | --inc=*)
1096 includedir=$ac_optarg ;;
1098 -infodir | --infodir | --infodi | --infod | --info | --inf)
1099 ac_prev=infodir ;;
1100 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1101 infodir=$ac_optarg ;;
1103 -libdir | --libdir | --libdi | --libd)
1104 ac_prev=libdir ;;
1105 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1106 libdir=$ac_optarg ;;
1108 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1109 | --libexe | --libex | --libe)
1110 ac_prev=libexecdir ;;
1111 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1112 | --libexe=* | --libex=* | --libe=*)
1113 libexecdir=$ac_optarg ;;
1115 -localedir | --localedir | --localedi | --localed | --locale)
1116 ac_prev=localedir ;;
1117 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1118 localedir=$ac_optarg ;;
1120 -localstatedir | --localstatedir | --localstatedi | --localstated \
1121 | --localstate | --localstat | --localsta | --localst | --locals)
1122 ac_prev=localstatedir ;;
1123 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1124 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1125 localstatedir=$ac_optarg ;;
1127 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1128 ac_prev=mandir ;;
1129 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1130 mandir=$ac_optarg ;;
1132 -nfp | --nfp | --nf)
1133 # Obsolete; use --without-fp.
1134 with_fp=no ;;
1136 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1137 | --no-cr | --no-c | -n)
1138 no_create=yes ;;
1140 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1141 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1142 no_recursion=yes ;;
1144 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1145 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1146 | --oldin | --oldi | --old | --ol | --o)
1147 ac_prev=oldincludedir ;;
1148 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1149 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1150 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1151 oldincludedir=$ac_optarg ;;
1153 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1154 ac_prev=prefix ;;
1155 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1156 prefix=$ac_optarg ;;
1158 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1159 | --program-pre | --program-pr | --program-p)
1160 ac_prev=program_prefix ;;
1161 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1162 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1163 program_prefix=$ac_optarg ;;
1165 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1166 | --program-suf | --program-su | --program-s)
1167 ac_prev=program_suffix ;;
1168 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1169 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1170 program_suffix=$ac_optarg ;;
1172 -program-transform-name | --program-transform-name \
1173 | --program-transform-nam | --program-transform-na \
1174 | --program-transform-n | --program-transform- \
1175 | --program-transform | --program-transfor \
1176 | --program-transfo | --program-transf \
1177 | --program-trans | --program-tran \
1178 | --progr-tra | --program-tr | --program-t)
1179 ac_prev=program_transform_name ;;
1180 -program-transform-name=* | --program-transform-name=* \
1181 | --program-transform-nam=* | --program-transform-na=* \
1182 | --program-transform-n=* | --program-transform-=* \
1183 | --program-transform=* | --program-transfor=* \
1184 | --program-transfo=* | --program-transf=* \
1185 | --program-trans=* | --program-tran=* \
1186 | --progr-tra=* | --program-tr=* | --program-t=*)
1187 program_transform_name=$ac_optarg ;;
1189 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1190 ac_prev=pdfdir ;;
1191 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1192 pdfdir=$ac_optarg ;;
1194 -psdir | --psdir | --psdi | --psd | --ps)
1195 ac_prev=psdir ;;
1196 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1197 psdir=$ac_optarg ;;
1199 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1200 | -silent | --silent | --silen | --sile | --sil)
1201 silent=yes ;;
1203 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1204 ac_prev=sbindir ;;
1205 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1206 | --sbi=* | --sb=*)
1207 sbindir=$ac_optarg ;;
1209 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1210 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1211 | --sharedst | --shareds | --shared | --share | --shar \
1212 | --sha | --sh)
1213 ac_prev=sharedstatedir ;;
1214 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1215 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1216 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1217 | --sha=* | --sh=*)
1218 sharedstatedir=$ac_optarg ;;
1220 -site | --site | --sit)
1221 ac_prev=site ;;
1222 -site=* | --site=* | --sit=*)
1223 site=$ac_optarg ;;
1225 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1226 ac_prev=srcdir ;;
1227 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1228 srcdir=$ac_optarg ;;
1230 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1231 | --syscon | --sysco | --sysc | --sys | --sy)
1232 ac_prev=sysconfdir ;;
1233 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1234 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1235 sysconfdir=$ac_optarg ;;
1237 -target | --target | --targe | --targ | --tar | --ta | --t)
1238 ac_prev=target_alias ;;
1239 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1240 target_alias=$ac_optarg ;;
1242 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1243 verbose=yes ;;
1245 -version | --version | --versio | --versi | --vers | -V)
1246 ac_init_version=: ;;
1248 -with-* | --with-*)
1249 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1250 # Reject names that are not valid shell variable names.
1251 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1252 as_fn_error "invalid package name: $ac_useropt"
1253 ac_useropt_orig=$ac_useropt
1254 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1255 case $ac_user_opts in
1257 "with_$ac_useropt"
1258 "*) ;;
1259 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1260 ac_unrecognized_sep=', ';;
1261 esac
1262 eval with_$ac_useropt=\$ac_optarg ;;
1264 -without-* | --without-*)
1265 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1266 # Reject names that are not valid shell variable names.
1267 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1268 as_fn_error "invalid package name: $ac_useropt"
1269 ac_useropt_orig=$ac_useropt
1270 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1271 case $ac_user_opts in
1273 "with_$ac_useropt"
1274 "*) ;;
1275 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1276 ac_unrecognized_sep=', ';;
1277 esac
1278 eval with_$ac_useropt=no ;;
1280 --x)
1281 # Obsolete; use --with-x.
1282 with_x=yes ;;
1284 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1285 | --x-incl | --x-inc | --x-in | --x-i)
1286 ac_prev=x_includes ;;
1287 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1288 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1289 x_includes=$ac_optarg ;;
1291 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1292 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1293 ac_prev=x_libraries ;;
1294 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1295 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1296 x_libraries=$ac_optarg ;;
1298 -*) as_fn_error "unrecognized option: \`$ac_option'
1299 Try \`$0 --help' for more information."
1302 *=*)
1303 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1304 # Reject names that are not valid shell variable names.
1305 case $ac_envvar in #(
1306 '' | [0-9]* | *[!_$as_cr_alnum]* )
1307 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1308 esac
1309 eval $ac_envvar=\$ac_optarg
1310 export $ac_envvar ;;
1313 # FIXME: should be removed in autoconf 3.0.
1314 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1315 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1316 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1317 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1320 esac
1321 done
1323 if test -n "$ac_prev"; then
1324 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1325 as_fn_error "missing argument to $ac_option"
1328 if test -n "$ac_unrecognized_opts"; then
1329 case $enable_option_checking in
1330 no) ;;
1331 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1332 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1333 esac
1336 # Check all directory arguments for consistency.
1337 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1338 datadir sysconfdir sharedstatedir localstatedir includedir \
1339 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1340 libdir localedir mandir
1342 eval ac_val=\$$ac_var
1343 # Remove trailing slashes.
1344 case $ac_val in
1345 */ )
1346 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1347 eval $ac_var=\$ac_val;;
1348 esac
1349 # Be sure to have absolute directory names.
1350 case $ac_val in
1351 [\\/$]* | ?:[\\/]* ) continue;;
1352 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1353 esac
1354 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1355 done
1357 # There might be people who depend on the old broken behavior: `$host'
1358 # used to hold the argument of --host etc.
1359 # FIXME: To remove some day.
1360 build=$build_alias
1361 host=$host_alias
1362 target=$target_alias
1364 # FIXME: To remove some day.
1365 if test "x$host_alias" != x; then
1366 if test "x$build_alias" = x; then
1367 cross_compiling=maybe
1368 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1369 If a cross compiler is detected then cross compile mode will be used." >&2
1370 elif test "x$build_alias" != "x$host_alias"; then
1371 cross_compiling=yes
1375 ac_tool_prefix=
1376 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1378 test "$silent" = yes && exec 6>/dev/null
1381 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1382 ac_ls_di=`ls -di .` &&
1383 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1384 as_fn_error "working directory cannot be determined"
1385 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1386 as_fn_error "pwd does not report name of working directory"
1389 # Find the source files, if location was not specified.
1390 if test -z "$srcdir"; then
1391 ac_srcdir_defaulted=yes
1392 # Try the directory containing this script, then the parent directory.
1393 ac_confdir=`$as_dirname -- "$as_myself" ||
1394 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1395 X"$as_myself" : 'X\(//\)[^/]' \| \
1396 X"$as_myself" : 'X\(//\)$' \| \
1397 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1398 $as_echo X"$as_myself" |
1399 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1400 s//\1/
1403 /^X\(\/\/\)[^/].*/{
1404 s//\1/
1407 /^X\(\/\/\)$/{
1408 s//\1/
1411 /^X\(\/\).*/{
1412 s//\1/
1415 s/.*/./; q'`
1416 srcdir=$ac_confdir
1417 if test ! -r "$srcdir/$ac_unique_file"; then
1418 srcdir=..
1420 else
1421 ac_srcdir_defaulted=no
1423 if test ! -r "$srcdir/$ac_unique_file"; then
1424 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1425 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1427 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1428 ac_abs_confdir=`(
1429 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1430 pwd)`
1431 # When building in place, set srcdir=.
1432 if test "$ac_abs_confdir" = "$ac_pwd"; then
1433 srcdir=.
1435 # Remove unnecessary trailing slashes from srcdir.
1436 # Double slashes in file names in object file debugging info
1437 # mess up M-x gdb in Emacs.
1438 case $srcdir in
1439 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1440 esac
1441 for ac_var in $ac_precious_vars; do
1442 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1443 eval ac_env_${ac_var}_value=\$${ac_var}
1444 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1445 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1446 done
1449 # Report the --help message.
1451 if test "$ac_init_help" = "long"; then
1452 # Omit some internal or obsolete options to make the list less imposing.
1453 # This message is too long to be a string in the A/UX 3.1 sh.
1454 cat <<_ACEOF
1455 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1457 Usage: $0 [OPTION]... [VAR=VALUE]...
1459 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1460 VAR=VALUE. See below for descriptions of some of the useful variables.
1462 Defaults for the options are specified in brackets.
1464 Configuration:
1465 -h, --help display this help and exit
1466 --help=short display options specific to this package
1467 --help=recursive display the short help of all the included packages
1468 -V, --version display version information and exit
1469 -q, --quiet, --silent do not print \`checking...' messages
1470 --cache-file=FILE cache test results in FILE [disabled]
1471 -C, --config-cache alias for \`--cache-file=config.cache'
1472 -n, --no-create do not create output files
1473 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1475 Installation directories:
1476 --prefix=PREFIX install architecture-independent files in PREFIX
1477 [$ac_default_prefix]
1478 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1479 [PREFIX]
1481 By default, \`make install' will install all the files in
1482 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1483 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1484 for instance \`--prefix=\$HOME'.
1486 For better control, use the options below.
1488 Fine tuning of the installation directories:
1489 --bindir=DIR user executables [EPREFIX/bin]
1490 --sbindir=DIR system admin executables [EPREFIX/sbin]
1491 --libexecdir=DIR program executables [EPREFIX/libexec]
1492 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1493 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1494 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1495 --libdir=DIR object code libraries [EPREFIX/lib]
1496 --includedir=DIR C header files [PREFIX/include]
1497 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1498 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1499 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1500 --infodir=DIR info documentation [DATAROOTDIR/info]
1501 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1502 --mandir=DIR man documentation [DATAROOTDIR/man]
1503 --docdir=DIR documentation root [DATAROOTDIR/doc/libstdc++]
1504 --htmldir=DIR html documentation [DOCDIR]
1505 --dvidir=DIR dvi documentation [DOCDIR]
1506 --pdfdir=DIR pdf documentation [DOCDIR]
1507 --psdir=DIR ps documentation [DOCDIR]
1508 _ACEOF
1510 cat <<\_ACEOF
1512 Program names:
1513 --program-prefix=PREFIX prepend PREFIX to installed program names
1514 --program-suffix=SUFFIX append SUFFIX to installed program names
1515 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1517 System types:
1518 --build=BUILD configure for building on BUILD [guessed]
1519 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1520 --target=TARGET configure for building compilers for TARGET [HOST]
1521 _ACEOF
1524 if test -n "$ac_init_help"; then
1525 case $ac_init_help in
1526 short | recursive ) echo "Configuration of package-unused version-unused:";;
1527 esac
1528 cat <<\_ACEOF
1530 Optional Features:
1531 --disable-option-checking ignore unrecognized --enable/--with options
1532 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1533 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1534 --enable-multilib build many library versions (default)
1535 --enable-maintainer-mode enable make rules and dependencies not useful
1536 (and sometimes confusing) to the casual installer
1537 --enable-shared[=PKGS] build shared libraries [default=yes]
1538 --enable-static[=PKGS] build static libraries [default=yes]
1539 --enable-fast-install[=PKGS]
1540 optimize for fast installation [default=yes]
1541 --disable-libtool-lock avoid locking (might break parallel builds)
1542 --disable-hosted-libstdcxx
1543 only build freestanding C++ runtime support
1544 --disable-libstdcxx-verbose
1545 disable termination messages to standard error
1546 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
1547 [default=$is_hosted]
1548 --enable-cstdio[=PACKAGE]
1549 use target-specific I/O package [default=stdio]
1550 --enable-clocale[=MODEL]
1551 use MODEL for target locale package [default=auto]
1552 --enable-nls use Native Language Support (default)
1553 --enable-libstdcxx-allocator[=KIND]
1554 use KIND for target std::allocator base
1555 [default=auto]
1556 --enable-cheaders[=KIND]
1557 construct "C" headers for g++ [default=$c_model]
1558 --enable-long-long enable template specializations for 'long long'
1559 [default=yes]
1560 --enable-wchar_t enable template specializations for 'wchar_t'
1561 [default=yes]
1562 --enable-c99 turns on ISO/IEC 9899:1999 support [default=yes]
1563 --enable-concept-checks use Boost-derived template checks [default=no]
1564 --enable-libstdcxx-debug-flags=FLAGS
1565 pass compiler FLAGS when building debug library
1566 [default="-gdwarf-4 -g3 -O0"]
1567 --enable-libstdcxx-debug
1568 build extra debug library [default=no]
1569 --enable-cxx-flags=FLAGS
1570 pass compiler FLAGS when building library [default=]
1571 --enable-fully-dynamic-string
1572 do not put empty strings in per-process static
1573 memory [default=no]
1574 --enable-extern-template
1575 enable extern template [default=yes]
1576 --enable-werror turns on -Werror [default=yes]
1577 --enable-vtable-verify enable vtable verify [default=no]
1578 --enable-libstdcxx-time[=KIND]
1579 use KIND for check type [default=auto]
1580 --enable-tls Use thread-local storage [default=yes]
1581 --disable-rpath do not hardcode runtime library paths
1582 --enable-linux-futex use the Linux futex system call [default=default]
1583 --enable-symvers[=STYLE]
1584 enables symbol versioning of the shared library
1585 [default=yes]
1586 --enable-libstdcxx-visibility
1587 enables visibility safe usage [default=yes]
1588 --enable-libstdcxx-dual-abi
1589 support two versions of std::string [default=yes]
1590 --enable-libstdcxx-threads
1591 enable C++11 threads support [default=auto]
1592 --enable-libstdcxx-filesystem-ts
1593 turns on ISO/IEC TS 18822 support [default=auto]
1594 --enable-version-specific-runtime-libs
1595 Specify that runtime libraries should be installed
1596 in a compiler-specific directory
1598 Optional Packages:
1599 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1600 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1601 --with-target-subdir=SUBDIR
1602 configuring in a subdirectory
1603 --with-cross-host=HOST configuring with a cross compiler
1604 --with-newlib assume newlib as a system C library
1605 --with-pic try to use only PIC/non-PIC objects [default=use
1606 both]
1607 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1608 --with-python-dir the location to install Python modules. This path is
1609 relative starting from the prefix.
1610 --with-gnu-ld assume the C compiler uses GNU ld default=no
1611 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1612 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1613 --with-system-libunwind use installed libunwind
1614 --with-default-libstdcxx-abi
1615 set the std::string ABI to use by default
1616 --with-gxx-include-dir=DIR
1617 installation directory for include files
1619 Some influential environment variables:
1620 CC C compiler command
1621 CFLAGS C compiler flags
1622 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1623 nonstandard directory <lib dir>
1624 LIBS libraries to pass to the linker, e.g. -l<library>
1625 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1626 you have headers in a nonstandard directory <include dir>
1627 CXX C++ compiler command
1628 CXXFLAGS C++ compiler flags
1629 CPP C preprocessor
1630 CXXCPP C++ preprocessor
1631 CXXFILT Location of GNU c++filt. Defaults to the first GNU version of
1632 `c++filt', `gc++filt' on PATH.
1634 Use these variables to override the choices made by `configure' or to help
1635 it to find libraries and programs with nonstandard names/locations.
1637 Report bugs to the package provider.
1638 _ACEOF
1639 ac_status=$?
1642 if test "$ac_init_help" = "recursive"; then
1643 # If there are subdirs, report their specific --help.
1644 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1645 test -d "$ac_dir" ||
1646 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1647 continue
1648 ac_builddir=.
1650 case "$ac_dir" in
1651 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1653 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1654 # A ".." for each directory in $ac_dir_suffix.
1655 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1656 case $ac_top_builddir_sub in
1657 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1658 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1659 esac ;;
1660 esac
1661 ac_abs_top_builddir=$ac_pwd
1662 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1663 # for backward compatibility:
1664 ac_top_builddir=$ac_top_build_prefix
1666 case $srcdir in
1667 .) # We are building in place.
1668 ac_srcdir=.
1669 ac_top_srcdir=$ac_top_builddir_sub
1670 ac_abs_top_srcdir=$ac_pwd ;;
1671 [\\/]* | ?:[\\/]* ) # Absolute name.
1672 ac_srcdir=$srcdir$ac_dir_suffix;
1673 ac_top_srcdir=$srcdir
1674 ac_abs_top_srcdir=$srcdir ;;
1675 *) # Relative name.
1676 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1677 ac_top_srcdir=$ac_top_build_prefix$srcdir
1678 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1679 esac
1680 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1682 cd "$ac_dir" || { ac_status=$?; continue; }
1683 # Check for guested configure.
1684 if test -f "$ac_srcdir/configure.gnu"; then
1685 echo &&
1686 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1687 elif test -f "$ac_srcdir/configure"; then
1688 echo &&
1689 $SHELL "$ac_srcdir/configure" --help=recursive
1690 else
1691 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1692 fi || ac_status=$?
1693 cd "$ac_pwd" || { ac_status=$?; break; }
1694 done
1697 test -n "$ac_init_help" && exit $ac_status
1698 if $ac_init_version; then
1699 cat <<\_ACEOF
1700 package-unused configure version-unused
1701 generated by GNU Autoconf 2.64
1703 Copyright (C) 2009 Free Software Foundation, Inc.
1704 This configure script is free software; the Free Software Foundation
1705 gives unlimited permission to copy, distribute and modify it.
1706 _ACEOF
1707 exit
1710 ## ------------------------ ##
1711 ## Autoconf initialization. ##
1712 ## ------------------------ ##
1714 # ac_fn_c_try_compile LINENO
1715 # --------------------------
1716 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1717 ac_fn_c_try_compile ()
1719 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1720 rm -f conftest.$ac_objext
1721 if { { ac_try="$ac_compile"
1722 case "(($ac_try" in
1723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1724 *) ac_try_echo=$ac_try;;
1725 esac
1726 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1727 $as_echo "$ac_try_echo"; } >&5
1728 (eval "$ac_compile") 2>conftest.err
1729 ac_status=$?
1730 if test -s conftest.err; then
1731 grep -v '^ *+' conftest.err >conftest.er1
1732 cat conftest.er1 >&5
1733 mv -f conftest.er1 conftest.err
1735 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1736 test $ac_status = 0; } && {
1737 test -z "$ac_c_werror_flag" ||
1738 test ! -s conftest.err
1739 } && test -s conftest.$ac_objext; then :
1740 ac_retval=0
1741 else
1742 $as_echo "$as_me: failed program was:" >&5
1743 sed 's/^/| /' conftest.$ac_ext >&5
1745 ac_retval=1
1747 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1748 return $ac_retval
1750 } # ac_fn_c_try_compile
1752 # ac_fn_cxx_try_compile LINENO
1753 # ----------------------------
1754 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1755 ac_fn_cxx_try_compile ()
1757 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1758 rm -f conftest.$ac_objext
1759 if { { ac_try="$ac_compile"
1760 case "(($ac_try" in
1761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1762 *) ac_try_echo=$ac_try;;
1763 esac
1764 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1765 $as_echo "$ac_try_echo"; } >&5
1766 (eval "$ac_compile") 2>conftest.err
1767 ac_status=$?
1768 if test -s conftest.err; then
1769 grep -v '^ *+' conftest.err >conftest.er1
1770 cat conftest.er1 >&5
1771 mv -f conftest.er1 conftest.err
1773 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1774 test $ac_status = 0; } && {
1775 test -z "$ac_cxx_werror_flag" ||
1776 test ! -s conftest.err
1777 } && test -s conftest.$ac_objext; then :
1778 ac_retval=0
1779 else
1780 $as_echo "$as_me: failed program was:" >&5
1781 sed 's/^/| /' conftest.$ac_ext >&5
1783 ac_retval=1
1785 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1786 return $ac_retval
1788 } # ac_fn_cxx_try_compile
1790 # ac_fn_c_try_cpp LINENO
1791 # ----------------------
1792 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1793 ac_fn_c_try_cpp ()
1795 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1796 if { { ac_try="$ac_cpp conftest.$ac_ext"
1797 case "(($ac_try" in
1798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1799 *) ac_try_echo=$ac_try;;
1800 esac
1801 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1802 $as_echo "$ac_try_echo"; } >&5
1803 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1804 ac_status=$?
1805 if test -s conftest.err; then
1806 grep -v '^ *+' conftest.err >conftest.er1
1807 cat conftest.er1 >&5
1808 mv -f conftest.er1 conftest.err
1810 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1811 test $ac_status = 0; } >/dev/null && {
1812 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1813 test ! -s conftest.err
1814 }; then :
1815 ac_retval=0
1816 else
1817 $as_echo "$as_me: failed program was:" >&5
1818 sed 's/^/| /' conftest.$ac_ext >&5
1820 ac_retval=1
1822 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1823 return $ac_retval
1825 } # ac_fn_c_try_cpp
1827 # ac_fn_c_try_link LINENO
1828 # -----------------------
1829 # Try to link conftest.$ac_ext, and return whether this succeeded.
1830 ac_fn_c_try_link ()
1832 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1833 rm -f conftest.$ac_objext conftest$ac_exeext
1834 if { { ac_try="$ac_link"
1835 case "(($ac_try" in
1836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1837 *) ac_try_echo=$ac_try;;
1838 esac
1839 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1840 $as_echo "$ac_try_echo"; } >&5
1841 (eval "$ac_link") 2>conftest.err
1842 ac_status=$?
1843 if test -s conftest.err; then
1844 grep -v '^ *+' conftest.err >conftest.er1
1845 cat conftest.er1 >&5
1846 mv -f conftest.er1 conftest.err
1848 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1849 test $ac_status = 0; } && {
1850 test -z "$ac_c_werror_flag" ||
1851 test ! -s conftest.err
1852 } && test -s conftest$ac_exeext && {
1853 test "$cross_compiling" = yes ||
1854 $as_test_x conftest$ac_exeext
1855 }; then :
1856 ac_retval=0
1857 else
1858 $as_echo "$as_me: failed program was:" >&5
1859 sed 's/^/| /' conftest.$ac_ext >&5
1861 ac_retval=1
1863 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1864 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1865 # interfere with the next link command; also delete a directory that is
1866 # left behind by Apple's compiler. We do this before executing the actions.
1867 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1868 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1869 return $ac_retval
1871 } # ac_fn_c_try_link
1873 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1874 # -------------------------------------------------------
1875 # Tests whether HEADER exists and can be compiled using the include files in
1876 # INCLUDES, setting the cache variable VAR accordingly.
1877 ac_fn_c_check_header_compile ()
1879 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1881 $as_echo_n "checking for $2... " >&6; }
1882 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1883 $as_echo_n "(cached) " >&6
1884 else
1885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1886 /* end confdefs.h. */
1888 #include <$2>
1889 _ACEOF
1890 if ac_fn_c_try_compile "$LINENO"; then :
1891 eval "$3=yes"
1892 else
1893 eval "$3=no"
1895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1897 eval ac_res=\$$3
1898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1899 $as_echo "$ac_res" >&6; }
1900 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1902 } # ac_fn_c_check_header_compile
1904 # ac_fn_c_try_run LINENO
1905 # ----------------------
1906 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1907 # that executables *can* be run.
1908 ac_fn_c_try_run ()
1910 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1911 if { { ac_try="$ac_link"
1912 case "(($ac_try" in
1913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1914 *) ac_try_echo=$ac_try;;
1915 esac
1916 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1917 $as_echo "$ac_try_echo"; } >&5
1918 (eval "$ac_link") 2>&5
1919 ac_status=$?
1920 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1921 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1922 { { case "(($ac_try" in
1923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1924 *) ac_try_echo=$ac_try;;
1925 esac
1926 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1927 $as_echo "$ac_try_echo"; } >&5
1928 (eval "$ac_try") 2>&5
1929 ac_status=$?
1930 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1931 test $ac_status = 0; }; }; then :
1932 ac_retval=0
1933 else
1934 $as_echo "$as_me: program exited with status $ac_status" >&5
1935 $as_echo "$as_me: failed program was:" >&5
1936 sed 's/^/| /' conftest.$ac_ext >&5
1938 ac_retval=$ac_status
1940 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1941 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1942 return $ac_retval
1944 } # ac_fn_c_try_run
1946 # ac_fn_c_check_func LINENO FUNC VAR
1947 # ----------------------------------
1948 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1949 ac_fn_c_check_func ()
1951 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1953 $as_echo_n "checking for $2... " >&6; }
1954 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1955 $as_echo_n "(cached) " >&6
1956 else
1957 if test x$gcc_no_link = xyes; then
1958 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1961 /* end confdefs.h. */
1962 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1963 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1964 #define $2 innocuous_$2
1966 /* System header to define __stub macros and hopefully few prototypes,
1967 which can conflict with char $2 (); below.
1968 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1969 <limits.h> exists even on freestanding compilers. */
1971 #ifdef __STDC__
1972 # include <limits.h>
1973 #else
1974 # include <assert.h>
1975 #endif
1977 #undef $2
1979 /* Override any GCC internal prototype to avoid an error.
1980 Use char because int might match the return type of a GCC
1981 builtin and then its argument prototype would still apply. */
1982 #ifdef __cplusplus
1983 extern "C"
1984 #endif
1985 char $2 ();
1986 /* The GNU C library defines this for functions which it implements
1987 to always fail with ENOSYS. Some functions are actually named
1988 something starting with __ and the normal name is an alias. */
1989 #if defined __stub_$2 || defined __stub___$2
1990 choke me
1991 #endif
1994 main ()
1996 return $2 ();
1998 return 0;
2000 _ACEOF
2001 if ac_fn_c_try_link "$LINENO"; then :
2002 eval "$3=yes"
2003 else
2004 eval "$3=no"
2006 rm -f core conftest.err conftest.$ac_objext \
2007 conftest$ac_exeext conftest.$ac_ext
2009 eval ac_res=\$$3
2010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2011 $as_echo "$ac_res" >&6; }
2012 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2014 } # ac_fn_c_check_func
2016 # ac_fn_cxx_try_cpp LINENO
2017 # ------------------------
2018 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2019 ac_fn_cxx_try_cpp ()
2021 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2022 if { { ac_try="$ac_cpp conftest.$ac_ext"
2023 case "(($ac_try" in
2024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2025 *) ac_try_echo=$ac_try;;
2026 esac
2027 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2028 $as_echo "$ac_try_echo"; } >&5
2029 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2030 ac_status=$?
2031 if test -s conftest.err; then
2032 grep -v '^ *+' conftest.err >conftest.er1
2033 cat conftest.er1 >&5
2034 mv -f conftest.er1 conftest.err
2036 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2037 test $ac_status = 0; } >/dev/null && {
2038 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2039 test ! -s conftest.err
2040 }; then :
2041 ac_retval=0
2042 else
2043 $as_echo "$as_me: failed program was:" >&5
2044 sed 's/^/| /' conftest.$ac_ext >&5
2046 ac_retval=1
2048 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2049 return $ac_retval
2051 } # ac_fn_cxx_try_cpp
2053 # ac_fn_cxx_try_link LINENO
2054 # -------------------------
2055 # Try to link conftest.$ac_ext, and return whether this succeeded.
2056 ac_fn_cxx_try_link ()
2058 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2059 rm -f conftest.$ac_objext conftest$ac_exeext
2060 if { { ac_try="$ac_link"
2061 case "(($ac_try" in
2062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2063 *) ac_try_echo=$ac_try;;
2064 esac
2065 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2066 $as_echo "$ac_try_echo"; } >&5
2067 (eval "$ac_link") 2>conftest.err
2068 ac_status=$?
2069 if test -s conftest.err; then
2070 grep -v '^ *+' conftest.err >conftest.er1
2071 cat conftest.er1 >&5
2072 mv -f conftest.er1 conftest.err
2074 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2075 test $ac_status = 0; } && {
2076 test -z "$ac_cxx_werror_flag" ||
2077 test ! -s conftest.err
2078 } && test -s conftest$ac_exeext && {
2079 test "$cross_compiling" = yes ||
2080 $as_test_x conftest$ac_exeext
2081 }; then :
2082 ac_retval=0
2083 else
2084 $as_echo "$as_me: failed program was:" >&5
2085 sed 's/^/| /' conftest.$ac_ext >&5
2087 ac_retval=1
2089 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2090 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2091 # interfere with the next link command; also delete a directory that is
2092 # left behind by Apple's compiler. We do this before executing the actions.
2093 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2094 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2095 return $ac_retval
2097 } # ac_fn_cxx_try_link
2099 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2100 # -------------------------------------------------------
2101 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2102 # the include files in INCLUDES and setting the cache variable VAR
2103 # accordingly.
2104 ac_fn_c_check_header_mongrel ()
2106 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2107 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2109 $as_echo_n "checking for $2... " >&6; }
2110 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2111 $as_echo_n "(cached) " >&6
2113 eval ac_res=\$$3
2114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2115 $as_echo "$ac_res" >&6; }
2116 else
2117 # Is the header compilable?
2118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2119 $as_echo_n "checking $2 usability... " >&6; }
2120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2121 /* end confdefs.h. */
2123 #include <$2>
2124 _ACEOF
2125 if ac_fn_c_try_compile "$LINENO"; then :
2126 ac_header_compiler=yes
2127 else
2128 ac_header_compiler=no
2130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2132 $as_echo "$ac_header_compiler" >&6; }
2134 # Is the header present?
2135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2136 $as_echo_n "checking $2 presence... " >&6; }
2137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2138 /* end confdefs.h. */
2139 #include <$2>
2140 _ACEOF
2141 if ac_fn_c_try_cpp "$LINENO"; then :
2142 ac_header_preproc=yes
2143 else
2144 ac_header_preproc=no
2146 rm -f conftest.err conftest.$ac_ext
2147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2148 $as_echo "$ac_header_preproc" >&6; }
2150 # So? What about this header?
2151 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2152 yes:no: )
2153 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2154 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2155 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2156 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2158 no:yes:* )
2159 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2160 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2161 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2162 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2163 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2164 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2165 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2166 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2167 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2168 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2170 esac
2171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2172 $as_echo_n "checking for $2... " >&6; }
2173 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2174 $as_echo_n "(cached) " >&6
2175 else
2176 eval "$3=\$ac_header_compiler"
2178 eval ac_res=\$$3
2179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2180 $as_echo "$ac_res" >&6; }
2182 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2184 } # ac_fn_c_check_header_mongrel
2186 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2187 # ---------------------------------------------------------
2188 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2189 # the include files in INCLUDES and setting the cache variable VAR
2190 # accordingly.
2191 ac_fn_cxx_check_header_mongrel ()
2193 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2194 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2196 $as_echo_n "checking for $2... " >&6; }
2197 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2198 $as_echo_n "(cached) " >&6
2200 eval ac_res=\$$3
2201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2202 $as_echo "$ac_res" >&6; }
2203 else
2204 # Is the header compilable?
2205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2206 $as_echo_n "checking $2 usability... " >&6; }
2207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2208 /* end confdefs.h. */
2210 #include <$2>
2211 _ACEOF
2212 if ac_fn_cxx_try_compile "$LINENO"; then :
2213 ac_header_compiler=yes
2214 else
2215 ac_header_compiler=no
2217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2219 $as_echo "$ac_header_compiler" >&6; }
2221 # Is the header present?
2222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2223 $as_echo_n "checking $2 presence... " >&6; }
2224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2225 /* end confdefs.h. */
2226 #include <$2>
2227 _ACEOF
2228 if ac_fn_cxx_try_cpp "$LINENO"; then :
2229 ac_header_preproc=yes
2230 else
2231 ac_header_preproc=no
2233 rm -f conftest.err conftest.$ac_ext
2234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2235 $as_echo "$ac_header_preproc" >&6; }
2237 # So? What about this header?
2238 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2239 yes:no: )
2240 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2241 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2242 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2243 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2245 no:yes:* )
2246 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2247 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2248 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2249 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2250 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2251 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2252 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2253 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2254 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2255 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2257 esac
2258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2259 $as_echo_n "checking for $2... " >&6; }
2260 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2261 $as_echo_n "(cached) " >&6
2262 else
2263 eval "$3=\$ac_header_compiler"
2265 eval ac_res=\$$3
2266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2267 $as_echo "$ac_res" >&6; }
2269 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2271 } # ac_fn_cxx_check_header_mongrel
2273 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2274 # --------------------------------------------
2275 # Tries to find the compile-time value of EXPR in a program that includes
2276 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2277 # computed
2278 ac_fn_c_compute_int ()
2280 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2281 if test "$cross_compiling" = yes; then
2282 # Depending upon the size, compute the lo and hi bounds.
2283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2284 /* end confdefs.h. */
2287 main ()
2289 static int test_array [1 - 2 * !(($2) >= 0)];
2290 test_array [0] = 0
2293 return 0;
2295 _ACEOF
2296 if ac_fn_c_try_compile "$LINENO"; then :
2297 ac_lo=0 ac_mid=0
2298 while :; do
2299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2300 /* end confdefs.h. */
2303 main ()
2305 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2306 test_array [0] = 0
2309 return 0;
2311 _ACEOF
2312 if ac_fn_c_try_compile "$LINENO"; then :
2313 ac_hi=$ac_mid; break
2314 else
2315 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2316 if test $ac_lo -le $ac_mid; then
2317 ac_lo= ac_hi=
2318 break
2320 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2323 done
2324 else
2325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2326 /* end confdefs.h. */
2329 main ()
2331 static int test_array [1 - 2 * !(($2) < 0)];
2332 test_array [0] = 0
2335 return 0;
2337 _ACEOF
2338 if ac_fn_c_try_compile "$LINENO"; then :
2339 ac_hi=-1 ac_mid=-1
2340 while :; do
2341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2342 /* end confdefs.h. */
2345 main ()
2347 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2348 test_array [0] = 0
2351 return 0;
2353 _ACEOF
2354 if ac_fn_c_try_compile "$LINENO"; then :
2355 ac_lo=$ac_mid; break
2356 else
2357 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2358 if test $ac_mid -le $ac_hi; then
2359 ac_lo= ac_hi=
2360 break
2362 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2365 done
2366 else
2367 ac_lo= ac_hi=
2369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2372 # Binary search between lo and hi bounds.
2373 while test "x$ac_lo" != "x$ac_hi"; do
2374 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2376 /* end confdefs.h. */
2379 main ()
2381 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2382 test_array [0] = 0
2385 return 0;
2387 _ACEOF
2388 if ac_fn_c_try_compile "$LINENO"; then :
2389 ac_hi=$ac_mid
2390 else
2391 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2394 done
2395 case $ac_lo in #((
2396 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2397 '') ac_retval=1 ;;
2398 esac
2399 else
2400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2401 /* end confdefs.h. */
2403 static long int longval () { return $2; }
2404 static unsigned long int ulongval () { return $2; }
2405 #include <stdio.h>
2406 #include <stdlib.h>
2408 main ()
2411 FILE *f = fopen ("conftest.val", "w");
2412 if (! f)
2413 return 1;
2414 if (($2) < 0)
2416 long int i = longval ();
2417 if (i != ($2))
2418 return 1;
2419 fprintf (f, "%ld", i);
2421 else
2423 unsigned long int i = ulongval ();
2424 if (i != ($2))
2425 return 1;
2426 fprintf (f, "%lu", i);
2428 /* Do not output a trailing newline, as this causes \r\n confusion
2429 on some platforms. */
2430 return ferror (f) || fclose (f) != 0;
2433 return 0;
2435 _ACEOF
2436 if ac_fn_c_try_run "$LINENO"; then :
2437 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2438 else
2439 ac_retval=1
2441 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2442 conftest.$ac_objext conftest.beam conftest.$ac_ext
2443 rm -f conftest.val
2446 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2447 return $ac_retval
2449 } # ac_fn_c_compute_int
2451 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2452 # -------------------------------------------
2453 # Tests whether TYPE exists after having included INCLUDES, setting cache
2454 # variable VAR accordingly.
2455 ac_fn_c_check_type ()
2457 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2459 $as_echo_n "checking for $2... " >&6; }
2460 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2461 $as_echo_n "(cached) " >&6
2462 else
2463 eval "$3=no"
2464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2465 /* end confdefs.h. */
2468 main ()
2470 if (sizeof ($2))
2471 return 0;
2473 return 0;
2475 _ACEOF
2476 if ac_fn_c_try_compile "$LINENO"; then :
2477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2478 /* end confdefs.h. */
2481 main ()
2483 if (sizeof (($2)))
2484 return 0;
2486 return 0;
2488 _ACEOF
2489 if ac_fn_c_try_compile "$LINENO"; then :
2491 else
2492 eval "$3=yes"
2494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2498 eval ac_res=\$$3
2499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2500 $as_echo "$ac_res" >&6; }
2501 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2503 } # ac_fn_c_check_type
2505 # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
2506 # ---------------------------------------------
2507 # Tests whether TYPE exists after having included INCLUDES, setting cache
2508 # variable VAR accordingly.
2509 ac_fn_cxx_check_type ()
2511 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2513 $as_echo_n "checking for $2... " >&6; }
2514 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2515 $as_echo_n "(cached) " >&6
2516 else
2517 eval "$3=no"
2518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2519 /* end confdefs.h. */
2522 main ()
2524 if (sizeof ($2))
2525 return 0;
2527 return 0;
2529 _ACEOF
2530 if ac_fn_cxx_try_compile "$LINENO"; then :
2531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2532 /* end confdefs.h. */
2535 main ()
2537 if (sizeof (($2)))
2538 return 0;
2540 return 0;
2542 _ACEOF
2543 if ac_fn_cxx_try_compile "$LINENO"; then :
2545 else
2546 eval "$3=yes"
2548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2552 eval ac_res=\$$3
2553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2554 $as_echo "$ac_res" >&6; }
2555 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2557 } # ac_fn_cxx_check_type
2558 cat >config.log <<_ACEOF
2559 This file contains any messages produced by compilers while
2560 running configure, to aid debugging if configure makes a mistake.
2562 It was created by package-unused $as_me version-unused, which was
2563 generated by GNU Autoconf 2.64. Invocation command line was
2565 $ $0 $@
2567 _ACEOF
2568 exec 5>>config.log
2570 cat <<_ASUNAME
2571 ## --------- ##
2572 ## Platform. ##
2573 ## --------- ##
2575 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2576 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2577 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2578 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2579 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2581 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2582 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2584 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2585 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2586 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2587 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2588 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2589 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2590 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2592 _ASUNAME
2594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2595 for as_dir in $PATH
2597 IFS=$as_save_IFS
2598 test -z "$as_dir" && as_dir=.
2599 $as_echo "PATH: $as_dir"
2600 done
2601 IFS=$as_save_IFS
2603 } >&5
2605 cat >&5 <<_ACEOF
2608 ## ----------- ##
2609 ## Core tests. ##
2610 ## ----------- ##
2612 _ACEOF
2615 # Keep a trace of the command line.
2616 # Strip out --no-create and --no-recursion so they do not pile up.
2617 # Strip out --silent because we don't want to record it for future runs.
2618 # Also quote any args containing shell meta-characters.
2619 # Make two passes to allow for proper duplicate-argument suppression.
2620 ac_configure_args=
2621 ac_configure_args0=
2622 ac_configure_args1=
2623 ac_must_keep_next=false
2624 for ac_pass in 1 2
2626 for ac_arg
2628 case $ac_arg in
2629 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2630 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2631 | -silent | --silent | --silen | --sile | --sil)
2632 continue ;;
2633 *\'*)
2634 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2635 esac
2636 case $ac_pass in
2637 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2639 as_fn_append ac_configure_args1 " '$ac_arg'"
2640 if test $ac_must_keep_next = true; then
2641 ac_must_keep_next=false # Got value, back to normal.
2642 else
2643 case $ac_arg in
2644 *=* | --config-cache | -C | -disable-* | --disable-* \
2645 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2646 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2647 | -with-* | --with-* | -without-* | --without-* | --x)
2648 case "$ac_configure_args0 " in
2649 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2650 esac
2652 -* ) ac_must_keep_next=true ;;
2653 esac
2655 as_fn_append ac_configure_args " '$ac_arg'"
2657 esac
2658 done
2659 done
2660 { ac_configure_args0=; unset ac_configure_args0;}
2661 { ac_configure_args1=; unset ac_configure_args1;}
2663 # When interrupted or exit'd, cleanup temporary files, and complete
2664 # config.log. We remove comments because anyway the quotes in there
2665 # would cause problems or look ugly.
2666 # WARNING: Use '\'' to represent an apostrophe within the trap.
2667 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2668 trap 'exit_status=$?
2669 # Save into config.log some information that might help in debugging.
2671 echo
2673 cat <<\_ASBOX
2674 ## ---------------- ##
2675 ## Cache variables. ##
2676 ## ---------------- ##
2677 _ASBOX
2678 echo
2679 # The following way of writing the cache mishandles newlines in values,
2681 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2682 eval ac_val=\$$ac_var
2683 case $ac_val in #(
2684 *${as_nl}*)
2685 case $ac_var in #(
2686 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2687 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2688 esac
2689 case $ac_var in #(
2690 _ | IFS | as_nl) ;; #(
2691 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2692 *) { eval $ac_var=; unset $ac_var;} ;;
2693 esac ;;
2694 esac
2695 done
2696 (set) 2>&1 |
2697 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2698 *${as_nl}ac_space=\ *)
2699 sed -n \
2700 "s/'\''/'\''\\\\'\'''\''/g;
2701 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2702 ;; #(
2704 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2706 esac |
2707 sort
2709 echo
2711 cat <<\_ASBOX
2712 ## ----------------- ##
2713 ## Output variables. ##
2714 ## ----------------- ##
2715 _ASBOX
2716 echo
2717 for ac_var in $ac_subst_vars
2719 eval ac_val=\$$ac_var
2720 case $ac_val in
2721 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2722 esac
2723 $as_echo "$ac_var='\''$ac_val'\''"
2724 done | sort
2725 echo
2727 if test -n "$ac_subst_files"; then
2728 cat <<\_ASBOX
2729 ## ------------------- ##
2730 ## File substitutions. ##
2731 ## ------------------- ##
2732 _ASBOX
2733 echo
2734 for ac_var in $ac_subst_files
2736 eval ac_val=\$$ac_var
2737 case $ac_val in
2738 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2739 esac
2740 $as_echo "$ac_var='\''$ac_val'\''"
2741 done | sort
2742 echo
2745 if test -s confdefs.h; then
2746 cat <<\_ASBOX
2747 ## ----------- ##
2748 ## confdefs.h. ##
2749 ## ----------- ##
2750 _ASBOX
2751 echo
2752 cat confdefs.h
2753 echo
2755 test "$ac_signal" != 0 &&
2756 $as_echo "$as_me: caught signal $ac_signal"
2757 $as_echo "$as_me: exit $exit_status"
2758 } >&5
2759 rm -f core *.core core.conftest.* &&
2760 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2761 exit $exit_status
2763 for ac_signal in 1 2 13 15; do
2764 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2765 done
2766 ac_signal=0
2768 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2769 rm -f -r conftest* confdefs.h
2771 $as_echo "/* confdefs.h */" > confdefs.h
2773 # Predefined preprocessor variables.
2775 cat >>confdefs.h <<_ACEOF
2776 #define PACKAGE_NAME "$PACKAGE_NAME"
2777 _ACEOF
2779 cat >>confdefs.h <<_ACEOF
2780 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2781 _ACEOF
2783 cat >>confdefs.h <<_ACEOF
2784 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2785 _ACEOF
2787 cat >>confdefs.h <<_ACEOF
2788 #define PACKAGE_STRING "$PACKAGE_STRING"
2789 _ACEOF
2791 cat >>confdefs.h <<_ACEOF
2792 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2793 _ACEOF
2795 cat >>confdefs.h <<_ACEOF
2796 #define PACKAGE_URL "$PACKAGE_URL"
2797 _ACEOF
2800 # Let the site file select an alternate cache file if it wants to.
2801 # Prefer an explicitly selected file to automatically selected ones.
2802 ac_site_file1=NONE
2803 ac_site_file2=NONE
2804 if test -n "$CONFIG_SITE"; then
2805 ac_site_file1=$CONFIG_SITE
2806 elif test "x$prefix" != xNONE; then
2807 ac_site_file1=$prefix/share/config.site
2808 ac_site_file2=$prefix/etc/config.site
2809 else
2810 ac_site_file1=$ac_default_prefix/share/config.site
2811 ac_site_file2=$ac_default_prefix/etc/config.site
2813 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2815 test "x$ac_site_file" = xNONE && continue
2816 if test -r "$ac_site_file"; then
2817 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2818 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2819 sed 's/^/| /' "$ac_site_file" >&5
2820 . "$ac_site_file"
2822 done
2824 if test -r "$cache_file"; then
2825 # Some versions of bash will fail to source /dev/null (special
2826 # files actually), so we avoid doing that.
2827 if test -f "$cache_file"; then
2828 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2829 $as_echo "$as_me: loading cache $cache_file" >&6;}
2830 case $cache_file in
2831 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2832 *) . "./$cache_file";;
2833 esac
2835 else
2836 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2837 $as_echo "$as_me: creating cache $cache_file" >&6;}
2838 >$cache_file
2841 # Check that the precious variables saved in the cache have kept the same
2842 # value.
2843 ac_cache_corrupted=false
2844 for ac_var in $ac_precious_vars; do
2845 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2846 eval ac_new_set=\$ac_env_${ac_var}_set
2847 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2848 eval ac_new_val=\$ac_env_${ac_var}_value
2849 case $ac_old_set,$ac_new_set in
2850 set,)
2851 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2852 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2853 ac_cache_corrupted=: ;;
2854 ,set)
2855 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2856 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2857 ac_cache_corrupted=: ;;
2858 ,);;
2860 if test "x$ac_old_val" != "x$ac_new_val"; then
2861 # differences in whitespace do not lead to failure.
2862 ac_old_val_w=`echo x $ac_old_val`
2863 ac_new_val_w=`echo x $ac_new_val`
2864 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2865 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2866 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2867 ac_cache_corrupted=:
2868 else
2869 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2870 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2871 eval $ac_var=\$ac_old_val
2873 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2874 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2875 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2876 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2877 fi;;
2878 esac
2879 # Pass precious variables to config.status.
2880 if test "$ac_new_set" = set; then
2881 case $ac_new_val in
2882 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2883 *) ac_arg=$ac_var=$ac_new_val ;;
2884 esac
2885 case " $ac_configure_args " in
2886 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2887 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2888 esac
2890 done
2891 if $ac_cache_corrupted; then
2892 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2893 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2894 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2895 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2896 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2898 ## -------------------- ##
2899 ## Main body of script. ##
2900 ## -------------------- ##
2902 ac_ext=c
2903 ac_cpp='$CPP $CPPFLAGS'
2904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2913 ac_config_headers="$ac_config_headers config.h"
2916 # This works around the fact that libtool configuration may change LD
2917 # for this particular configuration, but some shells, instead of
2918 # keeping the changes in LD private, export them just because LD is
2919 # exported. Only used at the end of this file.
2920 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
2922 # Find the rest of the source tree framework.
2923 # Default to --enable-multilib
2924 # Check whether --enable-multilib was given.
2925 if test "${enable_multilib+set}" = set; then :
2926 enableval=$enable_multilib; case "$enableval" in
2927 yes) multilib=yes ;;
2928 no) multilib=no ;;
2929 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2930 esac
2931 else
2932 multilib=yes
2936 # We may get other options which we leave undocumented:
2937 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2938 # See config-ml.in if you want the gory details.
2940 if test "$srcdir" = "."; then
2941 if test "$with_target_subdir" != "."; then
2942 multi_basedir="$srcdir/$with_multisrctop../.."
2943 else
2944 multi_basedir="$srcdir/$with_multisrctop.."
2946 else
2947 multi_basedir="$srcdir/.."
2951 # Even if the default multilib is not a cross compilation,
2952 # it may be that some of the other multilibs are.
2953 if test $cross_compiling = no && test $multilib = yes \
2954 && test "x${with_multisubdir}" != x ; then
2955 cross_compiling=maybe
2958 ac_config_commands="$ac_config_commands default-1"
2961 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2963 # You will slowly go insane if you do not grok the following fact: when
2964 # building v3 as part of the compiler, the top-level /target/ becomes the
2965 # library's /host/. configure then causes --target to default to --host,
2966 # exactly like any other package using autoconf. Therefore, 'target' and
2967 # 'host' will always be the same. This makes sense both for native and
2968 # cross compilers, just think about it for a little while. :-)
2970 # Also, if v3 is being configured as part of a cross compiler, the top-level
2971 # configure script will pass the "real" host as $with_cross_host.
2973 # Do not delete or change the following two lines. For why, see
2974 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2975 ac_aux_dir=
2976 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2977 for ac_t in install-sh install.sh shtool; do
2978 if test -f "$ac_dir/$ac_t"; then
2979 ac_aux_dir=$ac_dir
2980 ac_install_sh="$ac_aux_dir/$ac_t -c"
2981 break 2
2983 done
2984 done
2985 if test -z "$ac_aux_dir"; then
2986 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2989 # These three variables are undocumented and unsupported,
2990 # and are intended to be withdrawn in a future Autoconf release.
2991 # They can cause serious problems if a builder's source tree is in a directory
2992 # whose full name contains unusual characters.
2993 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2994 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2995 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2998 # Make sure we can run config.sub.
2999 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3000 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3003 $as_echo_n "checking build system type... " >&6; }
3004 if test "${ac_cv_build+set}" = set; then :
3005 $as_echo_n "(cached) " >&6
3006 else
3007 ac_build_alias=$build_alias
3008 test "x$ac_build_alias" = x &&
3009 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3010 test "x$ac_build_alias" = x &&
3011 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
3012 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3013 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3017 $as_echo "$ac_cv_build" >&6; }
3018 case $ac_cv_build in
3019 *-*-*) ;;
3020 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
3021 esac
3022 build=$ac_cv_build
3023 ac_save_IFS=$IFS; IFS='-'
3024 set x $ac_cv_build
3025 shift
3026 build_cpu=$1
3027 build_vendor=$2
3028 shift; shift
3029 # Remember, the first character of IFS is used to create $*,
3030 # except with old shells:
3031 build_os=$*
3032 IFS=$ac_save_IFS
3033 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3037 $as_echo_n "checking host system type... " >&6; }
3038 if test "${ac_cv_host+set}" = set; then :
3039 $as_echo_n "(cached) " >&6
3040 else
3041 if test "x$host_alias" = x; then
3042 ac_cv_host=$ac_cv_build
3043 else
3044 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3045 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3050 $as_echo "$ac_cv_host" >&6; }
3051 case $ac_cv_host in
3052 *-*-*) ;;
3053 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
3054 esac
3055 host=$ac_cv_host
3056 ac_save_IFS=$IFS; IFS='-'
3057 set x $ac_cv_host
3058 shift
3059 host_cpu=$1
3060 host_vendor=$2
3061 shift; shift
3062 # Remember, the first character of IFS is used to create $*,
3063 # except with old shells:
3064 host_os=$*
3065 IFS=$ac_save_IFS
3066 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3070 $as_echo_n "checking target system type... " >&6; }
3071 if test "${ac_cv_target+set}" = set; then :
3072 $as_echo_n "(cached) " >&6
3073 else
3074 if test "x$target_alias" = x; then
3075 ac_cv_target=$ac_cv_host
3076 else
3077 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3078 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3083 $as_echo "$ac_cv_target" >&6; }
3084 case $ac_cv_target in
3085 *-*-*) ;;
3086 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
3087 esac
3088 target=$ac_cv_target
3089 ac_save_IFS=$IFS; IFS='-'
3090 set x $ac_cv_target
3091 shift
3092 target_cpu=$1
3093 target_vendor=$2
3094 shift; shift
3095 # Remember, the first character of IFS is used to create $*,
3096 # except with old shells:
3097 target_os=$*
3098 IFS=$ac_save_IFS
3099 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3102 # The aliases save the names the user supplied, while $host etc.
3103 # will get canonicalized.
3104 test -n "$target_alias" &&
3105 test "$program_prefix$program_suffix$program_transform_name" = \
3106 NONENONEs,x,x, &&
3107 program_prefix=${target_alias}-
3109 target_alias=${target_alias-$host_alias}
3111 # Handy for debugging:
3112 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3114 if test "$build" != "$host"; then
3115 # We are being configured with some form of cross compiler.
3116 GLIBCXX_IS_NATIVE=false
3117 case "$host","$target" in
3118 # Darwin crosses can use the host system's libraries and headers,
3119 # because of the fat library support. Of course, it must be the
3120 # same version of Darwin on both sides. Allow the user to
3121 # just say --target=foo-darwin without a version number to mean
3122 # "the version on this system".
3123 *-*-darwin*,*-*-darwin*)
3124 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3125 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3126 if test $hostos = $targetos -o $targetos = darwin ; then
3127 GLIBCXX_IS_NATIVE=true
3134 esac
3135 else
3136 GLIBCXX_IS_NATIVE=true
3139 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
3140 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3141 # 1.x: minimum required version
3142 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
3143 # of other PACKAGE_* variables will, however, and there's nothing
3144 # we can do about that; they come from AC_INIT).
3145 # foreign: we don't follow the normal rules for GNU packages (no COPYING
3146 # file in the top srcdir, etc, etc), so stop complaining.
3147 # no-dependencies: turns off auto dependency generation (just for now)
3148 # no-dist: we don't want 'dist' and related rules.
3149 # -Wall: turns on all automake warnings...
3150 # -Wno-portability: ...except this one, since GNU make is now required.
3151 am__api_version='1.11'
3153 # Find a good install program. We prefer a C program (faster),
3154 # so one script is as good as another. But avoid the broken or
3155 # incompatible versions:
3156 # SysV /etc/install, /usr/sbin/install
3157 # SunOS /usr/etc/install
3158 # IRIX /sbin/install
3159 # AIX /bin/install
3160 # AmigaOS /C/install, which installs bootblocks on floppy discs
3161 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3162 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3163 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3164 # OS/2's system install, which has a completely different semantic
3165 # ./install, which can be erroneously created by make from ./install.sh.
3166 # Reject install programs that cannot install multiple files.
3167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3168 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3169 if test -z "$INSTALL"; then
3170 if test "${ac_cv_path_install+set}" = set; then :
3171 $as_echo_n "(cached) " >&6
3172 else
3173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3174 for as_dir in $PATH
3176 IFS=$as_save_IFS
3177 test -z "$as_dir" && as_dir=.
3178 # Account for people who put trailing slashes in PATH elements.
3179 case $as_dir/ in #((
3180 ./ | .// | /[cC]/* | \
3181 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3182 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3183 /usr/ucb/* ) ;;
3185 # OSF1 and SCO ODT 3.0 have their own names for install.
3186 # Don't use installbsd from OSF since it installs stuff as root
3187 # by default.
3188 for ac_prog in ginstall scoinst install; do
3189 for ac_exec_ext in '' $ac_executable_extensions; do
3190 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3191 if test $ac_prog = install &&
3192 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3193 # AIX install. It has an incompatible calling convention.
3195 elif test $ac_prog = install &&
3196 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3197 # program-specific install script used by HP pwplus--don't use.
3199 else
3200 rm -rf conftest.one conftest.two conftest.dir
3201 echo one > conftest.one
3202 echo two > conftest.two
3203 mkdir conftest.dir
3204 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3205 test -s conftest.one && test -s conftest.two &&
3206 test -s conftest.dir/conftest.one &&
3207 test -s conftest.dir/conftest.two
3208 then
3209 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3210 break 3
3214 done
3215 done
3217 esac
3219 done
3220 IFS=$as_save_IFS
3222 rm -rf conftest.one conftest.two conftest.dir
3225 if test "${ac_cv_path_install+set}" = set; then
3226 INSTALL=$ac_cv_path_install
3227 else
3228 # As a last resort, use the slow shell script. Don't cache a
3229 # value for INSTALL within a source directory, because that will
3230 # break other packages using the cache if that directory is
3231 # removed, or if the value is a relative name.
3232 INSTALL=$ac_install_sh
3235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3236 $as_echo "$INSTALL" >&6; }
3238 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3239 # It thinks the first close brace ends the variable substitution.
3240 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3242 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3244 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3247 $as_echo_n "checking whether build environment is sane... " >&6; }
3248 # Just in case
3249 sleep 1
3250 echo timestamp > conftest.file
3251 # Reject unsafe characters in $srcdir or the absolute working directory
3252 # name. Accept space and tab only in the latter.
3253 am_lf='
3255 case `pwd` in
3256 *[\\\"\#\$\&\'\`$am_lf]*)
3257 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3258 esac
3259 case $srcdir in
3260 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3261 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3262 esac
3264 # Do `set' in a subshell so we don't clobber the current shell's
3265 # arguments. Must try -L first in case configure is actually a
3266 # symlink; some systems play weird games with the mod time of symlinks
3267 # (eg FreeBSD returns the mod time of the symlink's containing
3268 # directory).
3269 if (
3270 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3271 if test "$*" = "X"; then
3272 # -L didn't work.
3273 set X `ls -t "$srcdir/configure" conftest.file`
3275 rm -f conftest.file
3276 if test "$*" != "X $srcdir/configure conftest.file" \
3277 && test "$*" != "X conftest.file $srcdir/configure"; then
3279 # If neither matched, then we have a broken ls. This can happen
3280 # if, for instance, CONFIG_SHELL is bash and it inherits a
3281 # broken ls alias from the environment. This has actually
3282 # happened. Such a system could not be considered "sane".
3283 as_fn_error "ls -t appears to fail. Make sure there is not a broken
3284 alias in your environment" "$LINENO" 5
3287 test "$2" = conftest.file
3289 then
3290 # Ok.
3292 else
3293 as_fn_error "newly created file is older than distributed files!
3294 Check your system clock" "$LINENO" 5
3296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3297 $as_echo "yes" >&6; }
3298 test "$program_prefix" != NONE &&
3299 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3300 # Use a double $ so make ignores it.
3301 test "$program_suffix" != NONE &&
3302 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3303 # Double any \ or $.
3304 # By default was `s,x,x', remove it if useless.
3305 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3306 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3308 # expand $ac_aux_dir to an absolute path
3309 am_aux_dir=`cd $ac_aux_dir && pwd`
3311 if test x"${MISSING+set}" != xset; then
3312 case $am_aux_dir in
3313 *\ * | *\ *)
3314 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3316 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3317 esac
3319 # Use eval to expand $SHELL
3320 if eval "$MISSING --run true"; then
3321 am_missing_run="$MISSING --run "
3322 else
3323 am_missing_run=
3324 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3325 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3328 if test x"${install_sh}" != xset; then
3329 case $am_aux_dir in
3330 *\ * | *\ *)
3331 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3333 install_sh="\${SHELL} $am_aux_dir/install-sh"
3334 esac
3337 # Installed binaries are usually stripped using `strip' when the user
3338 # run `make install-strip'. However `strip' might not be the right
3339 # tool to use in cross-compilation environments, therefore Automake
3340 # will honor the `STRIP' environment variable to overrule this program.
3341 if test "$cross_compiling" != no; then
3342 if test -n "$ac_tool_prefix"; then
3343 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3344 set dummy ${ac_tool_prefix}strip; ac_word=$2
3345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3346 $as_echo_n "checking for $ac_word... " >&6; }
3347 if test "${ac_cv_prog_STRIP+set}" = set; then :
3348 $as_echo_n "(cached) " >&6
3349 else
3350 if test -n "$STRIP"; then
3351 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3352 else
3353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3354 for as_dir in $PATH
3356 IFS=$as_save_IFS
3357 test -z "$as_dir" && as_dir=.
3358 for ac_exec_ext in '' $ac_executable_extensions; do
3359 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3360 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3361 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3362 break 2
3364 done
3365 done
3366 IFS=$as_save_IFS
3370 STRIP=$ac_cv_prog_STRIP
3371 if test -n "$STRIP"; then
3372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3373 $as_echo "$STRIP" >&6; }
3374 else
3375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3376 $as_echo "no" >&6; }
3381 if test -z "$ac_cv_prog_STRIP"; then
3382 ac_ct_STRIP=$STRIP
3383 # Extract the first word of "strip", so it can be a program name with args.
3384 set dummy strip; ac_word=$2
3385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3386 $as_echo_n "checking for $ac_word... " >&6; }
3387 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3388 $as_echo_n "(cached) " >&6
3389 else
3390 if test -n "$ac_ct_STRIP"; then
3391 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3392 else
3393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3394 for as_dir in $PATH
3396 IFS=$as_save_IFS
3397 test -z "$as_dir" && as_dir=.
3398 for ac_exec_ext in '' $ac_executable_extensions; do
3399 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3400 ac_cv_prog_ac_ct_STRIP="strip"
3401 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3402 break 2
3404 done
3405 done
3406 IFS=$as_save_IFS
3410 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3411 if test -n "$ac_ct_STRIP"; then
3412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3413 $as_echo "$ac_ct_STRIP" >&6; }
3414 else
3415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3416 $as_echo "no" >&6; }
3419 if test "x$ac_ct_STRIP" = x; then
3420 STRIP=":"
3421 else
3422 case $cross_compiling:$ac_tool_warned in
3423 yes:)
3424 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3425 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3426 ac_tool_warned=yes ;;
3427 esac
3428 STRIP=$ac_ct_STRIP
3430 else
3431 STRIP="$ac_cv_prog_STRIP"
3435 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3438 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3439 if test -z "$MKDIR_P"; then
3440 if test "${ac_cv_path_mkdir+set}" = set; then :
3441 $as_echo_n "(cached) " >&6
3442 else
3443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3444 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3446 IFS=$as_save_IFS
3447 test -z "$as_dir" && as_dir=.
3448 for ac_prog in mkdir gmkdir; do
3449 for ac_exec_ext in '' $ac_executable_extensions; do
3450 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3451 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3452 'mkdir (GNU coreutils) '* | \
3453 'mkdir (coreutils) '* | \
3454 'mkdir (fileutils) '4.1*)
3455 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3456 break 3;;
3457 esac
3458 done
3459 done
3460 done
3461 IFS=$as_save_IFS
3465 if test "${ac_cv_path_mkdir+set}" = set; then
3466 MKDIR_P="$ac_cv_path_mkdir -p"
3467 else
3468 # As a last resort, use the slow shell script. Don't cache a
3469 # value for MKDIR_P within a source directory, because that will
3470 # break other packages using the cache if that directory is
3471 # removed, or if the value is a relative name.
3472 test -d ./--version && rmdir ./--version
3473 MKDIR_P="$ac_install_sh -d"
3476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3477 $as_echo "$MKDIR_P" >&6; }
3479 mkdir_p="$MKDIR_P"
3480 case $mkdir_p in
3481 [\\/$]* | ?:[\\/]*) ;;
3482 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3483 esac
3485 for ac_prog in gawk mawk nawk awk
3487 # Extract the first word of "$ac_prog", so it can be a program name with args.
3488 set dummy $ac_prog; ac_word=$2
3489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3490 $as_echo_n "checking for $ac_word... " >&6; }
3491 if test "${ac_cv_prog_AWK+set}" = set; then :
3492 $as_echo_n "(cached) " >&6
3493 else
3494 if test -n "$AWK"; then
3495 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3496 else
3497 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3498 for as_dir in $PATH
3500 IFS=$as_save_IFS
3501 test -z "$as_dir" && as_dir=.
3502 for ac_exec_ext in '' $ac_executable_extensions; do
3503 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3504 ac_cv_prog_AWK="$ac_prog"
3505 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3506 break 2
3508 done
3509 done
3510 IFS=$as_save_IFS
3514 AWK=$ac_cv_prog_AWK
3515 if test -n "$AWK"; then
3516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3517 $as_echo "$AWK" >&6; }
3518 else
3519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3520 $as_echo "no" >&6; }
3524 test -n "$AWK" && break
3525 done
3527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3528 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3529 set x ${MAKE-make}
3530 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3531 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3532 $as_echo_n "(cached) " >&6
3533 else
3534 cat >conftest.make <<\_ACEOF
3535 SHELL = /bin/sh
3536 all:
3537 @echo '@@@%%%=$(MAKE)=@@@%%%'
3538 _ACEOF
3539 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3540 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3541 *@@@%%%=?*=@@@%%%*)
3542 eval ac_cv_prog_make_${ac_make}_set=yes;;
3544 eval ac_cv_prog_make_${ac_make}_set=no;;
3545 esac
3546 rm -f conftest.make
3548 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3550 $as_echo "yes" >&6; }
3551 SET_MAKE=
3552 else
3553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3554 $as_echo "no" >&6; }
3555 SET_MAKE="MAKE=${MAKE-make}"
3558 rm -rf .tst 2>/dev/null
3559 mkdir .tst 2>/dev/null
3560 if test -d .tst; then
3561 am__leading_dot=.
3562 else
3563 am__leading_dot=_
3565 rmdir .tst 2>/dev/null
3567 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3568 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3569 # is not polluted with repeated "-I."
3570 am__isrc=' -I$(srcdir)'
3571 # test to see if srcdir already configured
3572 if test -f $srcdir/config.status; then
3573 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3577 # test whether we have cygpath
3578 if test -z "$CYGPATH_W"; then
3579 if (cygpath --version) >/dev/null 2>/dev/null; then
3580 CYGPATH_W='cygpath -w'
3581 else
3582 CYGPATH_W=echo
3587 # Define the identity of the package.
3588 PACKAGE='libstdc++'
3589 VERSION='version-unused'
3592 # Some tools Automake needs.
3594 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3597 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3600 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3603 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3606 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3608 # We need awk for the "check" target. The system "awk" is bad on
3609 # some platforms.
3610 # Always define AMTAR for backward compatibility. Yes, it's still used
3611 # in the wild :-( We should find a proper way to deprecate it ...
3612 AMTAR='$${TAR-tar}'
3614 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3623 # -fno-builtin must be present here so that a non-conflicting form of
3624 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3626 save_CXXFLAGS="$CXXFLAGS"
3627 CXXFLAGS="$CXXFLAGS -fno-builtin"
3628 ac_ext=c
3629 ac_cpp='$CPP $CPPFLAGS'
3630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3633 if test -n "$ac_tool_prefix"; then
3634 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3635 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3637 $as_echo_n "checking for $ac_word... " >&6; }
3638 if test "${ac_cv_prog_CC+set}" = set; then :
3639 $as_echo_n "(cached) " >&6
3640 else
3641 if test -n "$CC"; then
3642 ac_cv_prog_CC="$CC" # Let the user override the test.
3643 else
3644 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3645 for as_dir in $PATH
3647 IFS=$as_save_IFS
3648 test -z "$as_dir" && as_dir=.
3649 for ac_exec_ext in '' $ac_executable_extensions; do
3650 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3651 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3652 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3653 break 2
3655 done
3656 done
3657 IFS=$as_save_IFS
3661 CC=$ac_cv_prog_CC
3662 if test -n "$CC"; then
3663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3664 $as_echo "$CC" >&6; }
3665 else
3666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3667 $as_echo "no" >&6; }
3672 if test -z "$ac_cv_prog_CC"; then
3673 ac_ct_CC=$CC
3674 # Extract the first word of "gcc", so it can be a program name with args.
3675 set dummy gcc; ac_word=$2
3676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3677 $as_echo_n "checking for $ac_word... " >&6; }
3678 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3679 $as_echo_n "(cached) " >&6
3680 else
3681 if test -n "$ac_ct_CC"; then
3682 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3683 else
3684 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3685 for as_dir in $PATH
3687 IFS=$as_save_IFS
3688 test -z "$as_dir" && as_dir=.
3689 for ac_exec_ext in '' $ac_executable_extensions; do
3690 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3691 ac_cv_prog_ac_ct_CC="gcc"
3692 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3693 break 2
3695 done
3696 done
3697 IFS=$as_save_IFS
3701 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3702 if test -n "$ac_ct_CC"; then
3703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3704 $as_echo "$ac_ct_CC" >&6; }
3705 else
3706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3707 $as_echo "no" >&6; }
3710 if test "x$ac_ct_CC" = x; then
3711 CC=""
3712 else
3713 case $cross_compiling:$ac_tool_warned in
3714 yes:)
3715 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3716 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3717 ac_tool_warned=yes ;;
3718 esac
3719 CC=$ac_ct_CC
3721 else
3722 CC="$ac_cv_prog_CC"
3725 if test -z "$CC"; then
3726 if test -n "$ac_tool_prefix"; then
3727 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3728 set dummy ${ac_tool_prefix}cc; ac_word=$2
3729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3730 $as_echo_n "checking for $ac_word... " >&6; }
3731 if test "${ac_cv_prog_CC+set}" = set; then :
3732 $as_echo_n "(cached) " >&6
3733 else
3734 if test -n "$CC"; then
3735 ac_cv_prog_CC="$CC" # Let the user override the test.
3736 else
3737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3738 for as_dir in $PATH
3740 IFS=$as_save_IFS
3741 test -z "$as_dir" && as_dir=.
3742 for ac_exec_ext in '' $ac_executable_extensions; do
3743 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3744 ac_cv_prog_CC="${ac_tool_prefix}cc"
3745 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3746 break 2
3748 done
3749 done
3750 IFS=$as_save_IFS
3754 CC=$ac_cv_prog_CC
3755 if test -n "$CC"; then
3756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3757 $as_echo "$CC" >&6; }
3758 else
3759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3760 $as_echo "no" >&6; }
3766 if test -z "$CC"; then
3767 # Extract the first word of "cc", so it can be a program name with args.
3768 set dummy cc; ac_word=$2
3769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3770 $as_echo_n "checking for $ac_word... " >&6; }
3771 if test "${ac_cv_prog_CC+set}" = set; then :
3772 $as_echo_n "(cached) " >&6
3773 else
3774 if test -n "$CC"; then
3775 ac_cv_prog_CC="$CC" # Let the user override the test.
3776 else
3777 ac_prog_rejected=no
3778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3779 for as_dir in $PATH
3781 IFS=$as_save_IFS
3782 test -z "$as_dir" && as_dir=.
3783 for ac_exec_ext in '' $ac_executable_extensions; do
3784 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3785 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3786 ac_prog_rejected=yes
3787 continue
3789 ac_cv_prog_CC="cc"
3790 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3791 break 2
3793 done
3794 done
3795 IFS=$as_save_IFS
3797 if test $ac_prog_rejected = yes; then
3798 # We found a bogon in the path, so make sure we never use it.
3799 set dummy $ac_cv_prog_CC
3800 shift
3801 if test $# != 0; then
3802 # We chose a different compiler from the bogus one.
3803 # However, it has the same basename, so the bogon will be chosen
3804 # first if we set CC to just the basename; use the full file name.
3805 shift
3806 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3811 CC=$ac_cv_prog_CC
3812 if test -n "$CC"; then
3813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3814 $as_echo "$CC" >&6; }
3815 else
3816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3817 $as_echo "no" >&6; }
3822 if test -z "$CC"; then
3823 if test -n "$ac_tool_prefix"; then
3824 for ac_prog in cl.exe
3826 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3827 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3829 $as_echo_n "checking for $ac_word... " >&6; }
3830 if test "${ac_cv_prog_CC+set}" = set; then :
3831 $as_echo_n "(cached) " >&6
3832 else
3833 if test -n "$CC"; then
3834 ac_cv_prog_CC="$CC" # Let the user override the test.
3835 else
3836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3837 for as_dir in $PATH
3839 IFS=$as_save_IFS
3840 test -z "$as_dir" && as_dir=.
3841 for ac_exec_ext in '' $ac_executable_extensions; do
3842 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3843 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3844 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3845 break 2
3847 done
3848 done
3849 IFS=$as_save_IFS
3853 CC=$ac_cv_prog_CC
3854 if test -n "$CC"; then
3855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3856 $as_echo "$CC" >&6; }
3857 else
3858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3859 $as_echo "no" >&6; }
3863 test -n "$CC" && break
3864 done
3866 if test -z "$CC"; then
3867 ac_ct_CC=$CC
3868 for ac_prog in cl.exe
3870 # Extract the first word of "$ac_prog", so it can be a program name with args.
3871 set dummy $ac_prog; ac_word=$2
3872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3873 $as_echo_n "checking for $ac_word... " >&6; }
3874 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3875 $as_echo_n "(cached) " >&6
3876 else
3877 if test -n "$ac_ct_CC"; then
3878 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3879 else
3880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3881 for as_dir in $PATH
3883 IFS=$as_save_IFS
3884 test -z "$as_dir" && as_dir=.
3885 for ac_exec_ext in '' $ac_executable_extensions; do
3886 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3887 ac_cv_prog_ac_ct_CC="$ac_prog"
3888 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3889 break 2
3891 done
3892 done
3893 IFS=$as_save_IFS
3897 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3898 if test -n "$ac_ct_CC"; then
3899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3900 $as_echo "$ac_ct_CC" >&6; }
3901 else
3902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3903 $as_echo "no" >&6; }
3907 test -n "$ac_ct_CC" && break
3908 done
3910 if test "x$ac_ct_CC" = x; then
3911 CC=""
3912 else
3913 case $cross_compiling:$ac_tool_warned in
3914 yes:)
3915 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3916 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3917 ac_tool_warned=yes ;;
3918 esac
3919 CC=$ac_ct_CC
3926 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3927 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3928 as_fn_error "no acceptable C compiler found in \$PATH
3929 See \`config.log' for more details." "$LINENO" 5; }
3931 # Provide some information about the compiler.
3932 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3933 set X $ac_compile
3934 ac_compiler=$2
3935 for ac_option in --version -v -V -qversion; do
3936 { { ac_try="$ac_compiler $ac_option >&5"
3937 case "(($ac_try" in
3938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3939 *) ac_try_echo=$ac_try;;
3940 esac
3941 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3942 $as_echo "$ac_try_echo"; } >&5
3943 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3944 ac_status=$?
3945 if test -s conftest.err; then
3946 sed '10a\
3947 ... rest of stderr output deleted ...
3948 10q' conftest.err >conftest.er1
3949 cat conftest.er1 >&5
3950 rm -f conftest.er1 conftest.err
3952 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3953 test $ac_status = 0; }
3954 done
3956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3957 /* end confdefs.h. */
3960 main ()
3964 return 0;
3966 _ACEOF
3967 # FIXME: Cleanup?
3968 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3969 (eval $ac_link) 2>&5
3970 ac_status=$?
3971 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3972 test $ac_status = 0; }; then :
3973 gcc_no_link=no
3974 else
3975 gcc_no_link=yes
3977 if test x$gcc_no_link = xyes; then
3978 # Setting cross_compile will disable run tests; it will
3979 # also disable AC_CHECK_FILE but that's generally
3980 # correct if we can't link.
3981 cross_compiling=yes
3982 EXEEXT=
3983 else
3984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3985 /* end confdefs.h. */
3988 main ()
3992 return 0;
3994 _ACEOF
3995 ac_clean_files_save=$ac_clean_files
3996 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3997 # Try to create an executable without -o first, disregard a.out.
3998 # It will help us diagnose broken compilers, and finding out an intuition
3999 # of exeext.
4000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4001 $as_echo_n "checking for C compiler default output file name... " >&6; }
4002 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4004 # The possible output files:
4005 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4007 ac_rmfiles=
4008 for ac_file in $ac_files
4010 case $ac_file in
4011 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4012 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4013 esac
4014 done
4015 rm -f $ac_rmfiles
4017 if { { ac_try="$ac_link_default"
4018 case "(($ac_try" in
4019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4020 *) ac_try_echo=$ac_try;;
4021 esac
4022 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4023 $as_echo "$ac_try_echo"; } >&5
4024 (eval "$ac_link_default") 2>&5
4025 ac_status=$?
4026 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4027 test $ac_status = 0; }; then :
4028 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4029 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4030 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4031 # so that the user can short-circuit this test for compilers unknown to
4032 # Autoconf.
4033 for ac_file in $ac_files ''
4035 test -f "$ac_file" || continue
4036 case $ac_file in
4037 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4039 [ab].out )
4040 # We found the default executable, but exeext='' is most
4041 # certainly right.
4042 break;;
4043 *.* )
4044 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4045 then :; else
4046 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4048 # We set ac_cv_exeext here because the later test for it is not
4049 # safe: cross compilers may not add the suffix if given an `-o'
4050 # argument, so we may need to know it at that point already.
4051 # Even if this section looks crufty: it has the advantage of
4052 # actually working.
4053 break;;
4055 break;;
4056 esac
4057 done
4058 test "$ac_cv_exeext" = no && ac_cv_exeext=
4060 else
4061 ac_file=''
4063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4064 $as_echo "$ac_file" >&6; }
4065 if test -z "$ac_file"; then :
4066 $as_echo "$as_me: failed program was:" >&5
4067 sed 's/^/| /' conftest.$ac_ext >&5
4069 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4070 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4071 { as_fn_set_status 77
4072 as_fn_error "C compiler cannot create executables
4073 See \`config.log' for more details." "$LINENO" 5; }; }
4075 ac_exeext=$ac_cv_exeext
4077 # Check that the compiler produces executables we can run. If not, either
4078 # the compiler is broken, or we cross compile.
4079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4080 $as_echo_n "checking whether the C compiler works... " >&6; }
4081 # If not cross compiling, check that we can run a simple program.
4082 if test "$cross_compiling" != yes; then
4083 if { ac_try='./$ac_file'
4084 { { case "(($ac_try" in
4085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4086 *) ac_try_echo=$ac_try;;
4087 esac
4088 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4089 $as_echo "$ac_try_echo"; } >&5
4090 (eval "$ac_try") 2>&5
4091 ac_status=$?
4092 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4093 test $ac_status = 0; }; }; then
4094 cross_compiling=no
4095 else
4096 if test "$cross_compiling" = maybe; then
4097 cross_compiling=yes
4098 else
4099 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4100 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4101 as_fn_error "cannot run C compiled programs.
4102 If you meant to cross compile, use \`--host'.
4103 See \`config.log' for more details." "$LINENO" 5; }
4107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4108 $as_echo "yes" >&6; }
4110 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4111 ac_clean_files=$ac_clean_files_save
4112 # Check that the compiler produces executables we can run. If not, either
4113 # the compiler is broken, or we cross compile.
4114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4115 $as_echo_n "checking whether we are cross compiling... " >&6; }
4116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4117 $as_echo "$cross_compiling" >&6; }
4119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4120 $as_echo_n "checking for suffix of executables... " >&6; }
4121 if { { ac_try="$ac_link"
4122 case "(($ac_try" in
4123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4124 *) ac_try_echo=$ac_try;;
4125 esac
4126 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4127 $as_echo "$ac_try_echo"; } >&5
4128 (eval "$ac_link") 2>&5
4129 ac_status=$?
4130 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4131 test $ac_status = 0; }; then :
4132 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4133 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4134 # work properly (i.e., refer to `conftest.exe'), while it won't with
4135 # `rm'.
4136 for ac_file in conftest.exe conftest conftest.*; do
4137 test -f "$ac_file" || continue
4138 case $ac_file in
4139 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4140 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4141 break;;
4142 * ) break;;
4143 esac
4144 done
4145 else
4146 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4147 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4148 as_fn_error "cannot compute suffix of executables: cannot compile and link
4149 See \`config.log' for more details." "$LINENO" 5; }
4151 rm -f conftest$ac_cv_exeext
4152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4153 $as_echo "$ac_cv_exeext" >&6; }
4155 rm -f conftest.$ac_ext
4156 EXEEXT=$ac_cv_exeext
4157 ac_exeext=$EXEEXT
4159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4160 $as_echo_n "checking for suffix of object files... " >&6; }
4161 if test "${ac_cv_objext+set}" = set; then :
4162 $as_echo_n "(cached) " >&6
4163 else
4164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4165 /* end confdefs.h. */
4168 main ()
4172 return 0;
4174 _ACEOF
4175 rm -f conftest.o conftest.obj
4176 if { { ac_try="$ac_compile"
4177 case "(($ac_try" in
4178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4179 *) ac_try_echo=$ac_try;;
4180 esac
4181 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4182 $as_echo "$ac_try_echo"; } >&5
4183 (eval "$ac_compile") 2>&5
4184 ac_status=$?
4185 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4186 test $ac_status = 0; }; then :
4187 for ac_file in conftest.o conftest.obj conftest.*; do
4188 test -f "$ac_file" || continue;
4189 case $ac_file in
4190 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4191 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4192 break;;
4193 esac
4194 done
4195 else
4196 $as_echo "$as_me: failed program was:" >&5
4197 sed 's/^/| /' conftest.$ac_ext >&5
4199 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4200 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4201 as_fn_error "cannot compute suffix of object files: cannot compile
4202 See \`config.log' for more details." "$LINENO" 5; }
4204 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4207 $as_echo "$ac_cv_objext" >&6; }
4208 OBJEXT=$ac_cv_objext
4209 ac_objext=$OBJEXT
4210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4211 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4212 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4213 $as_echo_n "(cached) " >&6
4214 else
4215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4216 /* end confdefs.h. */
4219 main ()
4221 #ifndef __GNUC__
4222 choke me
4223 #endif
4226 return 0;
4228 _ACEOF
4229 if ac_fn_c_try_compile "$LINENO"; then :
4230 ac_compiler_gnu=yes
4231 else
4232 ac_compiler_gnu=no
4234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4235 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4239 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4240 if test $ac_compiler_gnu = yes; then
4241 GCC=yes
4242 else
4243 GCC=
4245 ac_test_CFLAGS=${CFLAGS+set}
4246 ac_save_CFLAGS=$CFLAGS
4247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4248 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4249 if test "${ac_cv_prog_cc_g+set}" = set; then :
4250 $as_echo_n "(cached) " >&6
4251 else
4252 ac_save_c_werror_flag=$ac_c_werror_flag
4253 ac_c_werror_flag=yes
4254 ac_cv_prog_cc_g=no
4255 CFLAGS="-g"
4256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4257 /* end confdefs.h. */
4260 main ()
4264 return 0;
4266 _ACEOF
4267 if ac_fn_c_try_compile "$LINENO"; then :
4268 ac_cv_prog_cc_g=yes
4269 else
4270 CFLAGS=""
4271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4272 /* end confdefs.h. */
4275 main ()
4279 return 0;
4281 _ACEOF
4282 if ac_fn_c_try_compile "$LINENO"; then :
4284 else
4285 ac_c_werror_flag=$ac_save_c_werror_flag
4286 CFLAGS="-g"
4287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4288 /* end confdefs.h. */
4291 main ()
4295 return 0;
4297 _ACEOF
4298 if ac_fn_c_try_compile "$LINENO"; then :
4299 ac_cv_prog_cc_g=yes
4301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4306 ac_c_werror_flag=$ac_save_c_werror_flag
4308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4309 $as_echo "$ac_cv_prog_cc_g" >&6; }
4310 if test "$ac_test_CFLAGS" = set; then
4311 CFLAGS=$ac_save_CFLAGS
4312 elif test $ac_cv_prog_cc_g = yes; then
4313 if test "$GCC" = yes; then
4314 CFLAGS="-g -O2"
4315 else
4316 CFLAGS="-g"
4318 else
4319 if test "$GCC" = yes; then
4320 CFLAGS="-O2"
4321 else
4322 CFLAGS=
4325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4326 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4327 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4328 $as_echo_n "(cached) " >&6
4329 else
4330 ac_cv_prog_cc_c89=no
4331 ac_save_CC=$CC
4332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4333 /* end confdefs.h. */
4334 #include <stdarg.h>
4335 #include <stdio.h>
4336 #include <sys/types.h>
4337 #include <sys/stat.h>
4338 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4339 struct buf { int x; };
4340 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4341 static char *e (p, i)
4342 char **p;
4343 int i;
4345 return p[i];
4347 static char *f (char * (*g) (char **, int), char **p, ...)
4349 char *s;
4350 va_list v;
4351 va_start (v,p);
4352 s = g (p, va_arg (v,int));
4353 va_end (v);
4354 return s;
4357 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4358 function prototypes and stuff, but not '\xHH' hex character constants.
4359 These don't provoke an error unfortunately, instead are silently treated
4360 as 'x'. The following induces an error, until -std is added to get
4361 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4362 array size at least. It's necessary to write '\x00'==0 to get something
4363 that's true only with -std. */
4364 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4366 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4367 inside strings and character constants. */
4368 #define FOO(x) 'x'
4369 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4371 int test (int i, double x);
4372 struct s1 {int (*f) (int a);};
4373 struct s2 {int (*f) (double a);};
4374 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4375 int argc;
4376 char **argv;
4378 main ()
4380 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4382 return 0;
4384 _ACEOF
4385 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4386 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4388 CC="$ac_save_CC $ac_arg"
4389 if ac_fn_c_try_compile "$LINENO"; then :
4390 ac_cv_prog_cc_c89=$ac_arg
4392 rm -f core conftest.err conftest.$ac_objext
4393 test "x$ac_cv_prog_cc_c89" != "xno" && break
4394 done
4395 rm -f conftest.$ac_ext
4396 CC=$ac_save_CC
4399 # AC_CACHE_VAL
4400 case "x$ac_cv_prog_cc_c89" in
4402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4403 $as_echo "none needed" >&6; } ;;
4404 xno)
4405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4406 $as_echo "unsupported" >&6; } ;;
4408 CC="$CC $ac_cv_prog_cc_c89"
4409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4410 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4411 esac
4412 if test "x$ac_cv_prog_cc_c89" != xno; then :
4416 ac_ext=c
4417 ac_cpp='$CPP $CPPFLAGS'
4418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4422 ac_ext=cpp
4423 ac_cpp='$CXXCPP $CPPFLAGS'
4424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4427 if test -z "$CXX"; then
4428 if test -n "$CCC"; then
4429 CXX=$CCC
4430 else
4431 if test -n "$ac_tool_prefix"; then
4432 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4434 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4435 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4437 $as_echo_n "checking for $ac_word... " >&6; }
4438 if test "${ac_cv_prog_CXX+set}" = set; then :
4439 $as_echo_n "(cached) " >&6
4440 else
4441 if test -n "$CXX"; then
4442 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4443 else
4444 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4445 for as_dir in $PATH
4447 IFS=$as_save_IFS
4448 test -z "$as_dir" && as_dir=.
4449 for ac_exec_ext in '' $ac_executable_extensions; do
4450 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4451 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4452 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4453 break 2
4455 done
4456 done
4457 IFS=$as_save_IFS
4461 CXX=$ac_cv_prog_CXX
4462 if test -n "$CXX"; then
4463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4464 $as_echo "$CXX" >&6; }
4465 else
4466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4467 $as_echo "no" >&6; }
4471 test -n "$CXX" && break
4472 done
4474 if test -z "$CXX"; then
4475 ac_ct_CXX=$CXX
4476 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4478 # Extract the first word of "$ac_prog", so it can be a program name with args.
4479 set dummy $ac_prog; ac_word=$2
4480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4481 $as_echo_n "checking for $ac_word... " >&6; }
4482 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4483 $as_echo_n "(cached) " >&6
4484 else
4485 if test -n "$ac_ct_CXX"; then
4486 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4487 else
4488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4489 for as_dir in $PATH
4491 IFS=$as_save_IFS
4492 test -z "$as_dir" && as_dir=.
4493 for ac_exec_ext in '' $ac_executable_extensions; do
4494 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4495 ac_cv_prog_ac_ct_CXX="$ac_prog"
4496 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4497 break 2
4499 done
4500 done
4501 IFS=$as_save_IFS
4505 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4506 if test -n "$ac_ct_CXX"; then
4507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4508 $as_echo "$ac_ct_CXX" >&6; }
4509 else
4510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4511 $as_echo "no" >&6; }
4515 test -n "$ac_ct_CXX" && break
4516 done
4518 if test "x$ac_ct_CXX" = x; then
4519 CXX="g++"
4520 else
4521 case $cross_compiling:$ac_tool_warned in
4522 yes:)
4523 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4524 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4525 ac_tool_warned=yes ;;
4526 esac
4527 CXX=$ac_ct_CXX
4533 # Provide some information about the compiler.
4534 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4535 set X $ac_compile
4536 ac_compiler=$2
4537 for ac_option in --version -v -V -qversion; do
4538 { { ac_try="$ac_compiler $ac_option >&5"
4539 case "(($ac_try" in
4540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4541 *) ac_try_echo=$ac_try;;
4542 esac
4543 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4544 $as_echo "$ac_try_echo"; } >&5
4545 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4546 ac_status=$?
4547 if test -s conftest.err; then
4548 sed '10a\
4549 ... rest of stderr output deleted ...
4550 10q' conftest.err >conftest.er1
4551 cat conftest.er1 >&5
4552 rm -f conftest.er1 conftest.err
4554 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4555 test $ac_status = 0; }
4556 done
4558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4559 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4560 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4561 $as_echo_n "(cached) " >&6
4562 else
4563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4564 /* end confdefs.h. */
4567 main ()
4569 #ifndef __GNUC__
4570 choke me
4571 #endif
4574 return 0;
4576 _ACEOF
4577 if ac_fn_cxx_try_compile "$LINENO"; then :
4578 ac_compiler_gnu=yes
4579 else
4580 ac_compiler_gnu=no
4582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4583 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4587 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4588 if test $ac_compiler_gnu = yes; then
4589 GXX=yes
4590 else
4591 GXX=
4593 ac_test_CXXFLAGS=${CXXFLAGS+set}
4594 ac_save_CXXFLAGS=$CXXFLAGS
4595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4596 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4597 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4598 $as_echo_n "(cached) " >&6
4599 else
4600 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4601 ac_cxx_werror_flag=yes
4602 ac_cv_prog_cxx_g=no
4603 CXXFLAGS="-g"
4604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4605 /* end confdefs.h. */
4608 main ()
4612 return 0;
4614 _ACEOF
4615 if ac_fn_cxx_try_compile "$LINENO"; then :
4616 ac_cv_prog_cxx_g=yes
4617 else
4618 CXXFLAGS=""
4619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4620 /* end confdefs.h. */
4623 main ()
4627 return 0;
4629 _ACEOF
4630 if ac_fn_cxx_try_compile "$LINENO"; then :
4632 else
4633 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4634 CXXFLAGS="-g"
4635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4636 /* end confdefs.h. */
4639 main ()
4643 return 0;
4645 _ACEOF
4646 if ac_fn_cxx_try_compile "$LINENO"; then :
4647 ac_cv_prog_cxx_g=yes
4649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4654 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4657 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4658 if test "$ac_test_CXXFLAGS" = set; then
4659 CXXFLAGS=$ac_save_CXXFLAGS
4660 elif test $ac_cv_prog_cxx_g = yes; then
4661 if test "$GXX" = yes; then
4662 CXXFLAGS="-g -O2"
4663 else
4664 CXXFLAGS="-g"
4666 else
4667 if test "$GXX" = yes; then
4668 CXXFLAGS="-O2"
4669 else
4670 CXXFLAGS=
4673 ac_ext=c
4674 ac_cpp='$CPP $CPPFLAGS'
4675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4679 CXXFLAGS="$save_CXXFLAGS"
4681 # Runs configure.host, and assorted other critical bits. Sets
4682 # up critical shell variables.
4684 ac_ext=c
4685 ac_cpp='$CPP $CPPFLAGS'
4686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4690 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4691 # On Suns, sometimes $CPP names a directory.
4692 if test -n "$CPP" && test -d "$CPP"; then
4693 CPP=
4695 if test -z "$CPP"; then
4696 if test "${ac_cv_prog_CPP+set}" = set; then :
4697 $as_echo_n "(cached) " >&6
4698 else
4699 # Double quotes because CPP needs to be expanded
4700 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4702 ac_preproc_ok=false
4703 for ac_c_preproc_warn_flag in '' yes
4705 # Use a header file that comes with gcc, so configuring glibc
4706 # with a fresh cross-compiler works.
4707 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4708 # <limits.h> exists even on freestanding compilers.
4709 # On the NeXT, cc -E runs the code through the compiler's parser,
4710 # not just through cpp. "Syntax error" is here to catch this case.
4711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4712 /* end confdefs.h. */
4713 #ifdef __STDC__
4714 # include <limits.h>
4715 #else
4716 # include <assert.h>
4717 #endif
4718 Syntax error
4719 _ACEOF
4720 if ac_fn_c_try_cpp "$LINENO"; then :
4722 else
4723 # Broken: fails on valid input.
4724 continue
4726 rm -f conftest.err conftest.$ac_ext
4728 # OK, works on sane cases. Now check whether nonexistent headers
4729 # can be detected and how.
4730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4731 /* end confdefs.h. */
4732 #include <ac_nonexistent.h>
4733 _ACEOF
4734 if ac_fn_c_try_cpp "$LINENO"; then :
4735 # Broken: success on invalid input.
4736 continue
4737 else
4738 # Passes both tests.
4739 ac_preproc_ok=:
4740 break
4742 rm -f conftest.err conftest.$ac_ext
4744 done
4745 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4746 rm -f conftest.err conftest.$ac_ext
4747 if $ac_preproc_ok; then :
4748 break
4751 done
4752 ac_cv_prog_CPP=$CPP
4755 CPP=$ac_cv_prog_CPP
4756 else
4757 ac_cv_prog_CPP=$CPP
4759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4760 $as_echo "$CPP" >&6; }
4761 ac_preproc_ok=false
4762 for ac_c_preproc_warn_flag in '' yes
4764 # Use a header file that comes with gcc, so configuring glibc
4765 # with a fresh cross-compiler works.
4766 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4767 # <limits.h> exists even on freestanding compilers.
4768 # On the NeXT, cc -E runs the code through the compiler's parser,
4769 # not just through cpp. "Syntax error" is here to catch this case.
4770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4771 /* end confdefs.h. */
4772 #ifdef __STDC__
4773 # include <limits.h>
4774 #else
4775 # include <assert.h>
4776 #endif
4777 Syntax error
4778 _ACEOF
4779 if ac_fn_c_try_cpp "$LINENO"; then :
4781 else
4782 # Broken: fails on valid input.
4783 continue
4785 rm -f conftest.err conftest.$ac_ext
4787 # OK, works on sane cases. Now check whether nonexistent headers
4788 # can be detected and how.
4789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4790 /* end confdefs.h. */
4791 #include <ac_nonexistent.h>
4792 _ACEOF
4793 if ac_fn_c_try_cpp "$LINENO"; then :
4794 # Broken: success on invalid input.
4795 continue
4796 else
4797 # Passes both tests.
4798 ac_preproc_ok=:
4799 break
4801 rm -f conftest.err conftest.$ac_ext
4803 done
4804 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4805 rm -f conftest.err conftest.$ac_ext
4806 if $ac_preproc_ok; then :
4808 else
4809 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4810 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4811 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4812 See \`config.log' for more details." "$LINENO" 5; }
4815 ac_ext=c
4816 ac_cpp='$CPP $CPPFLAGS'
4817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4823 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4824 if test "${ac_cv_path_GREP+set}" = set; then :
4825 $as_echo_n "(cached) " >&6
4826 else
4827 if test -z "$GREP"; then
4828 ac_path_GREP_found=false
4829 # Loop through the user's path and test for each of PROGNAME-LIST
4830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4831 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4833 IFS=$as_save_IFS
4834 test -z "$as_dir" && as_dir=.
4835 for ac_prog in grep ggrep; do
4836 for ac_exec_ext in '' $ac_executable_extensions; do
4837 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4838 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4839 # Check for GNU ac_path_GREP and select it if it is found.
4840 # Check for GNU $ac_path_GREP
4841 case `"$ac_path_GREP" --version 2>&1` in
4842 *GNU*)
4843 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4845 ac_count=0
4846 $as_echo_n 0123456789 >"conftest.in"
4847 while :
4849 cat "conftest.in" "conftest.in" >"conftest.tmp"
4850 mv "conftest.tmp" "conftest.in"
4851 cp "conftest.in" "conftest.nl"
4852 $as_echo 'GREP' >> "conftest.nl"
4853 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4854 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4855 as_fn_arith $ac_count + 1 && ac_count=$as_val
4856 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4857 # Best one so far, save it but keep looking for a better one
4858 ac_cv_path_GREP="$ac_path_GREP"
4859 ac_path_GREP_max=$ac_count
4861 # 10*(2^10) chars as input seems more than enough
4862 test $ac_count -gt 10 && break
4863 done
4864 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4865 esac
4867 $ac_path_GREP_found && break 3
4868 done
4869 done
4870 done
4871 IFS=$as_save_IFS
4872 if test -z "$ac_cv_path_GREP"; then
4873 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4875 else
4876 ac_cv_path_GREP=$GREP
4880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4881 $as_echo "$ac_cv_path_GREP" >&6; }
4882 GREP="$ac_cv_path_GREP"
4885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4886 $as_echo_n "checking for egrep... " >&6; }
4887 if test "${ac_cv_path_EGREP+set}" = set; then :
4888 $as_echo_n "(cached) " >&6
4889 else
4890 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4891 then ac_cv_path_EGREP="$GREP -E"
4892 else
4893 if test -z "$EGREP"; then
4894 ac_path_EGREP_found=false
4895 # Loop through the user's path and test for each of PROGNAME-LIST
4896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4897 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4899 IFS=$as_save_IFS
4900 test -z "$as_dir" && as_dir=.
4901 for ac_prog in egrep; do
4902 for ac_exec_ext in '' $ac_executable_extensions; do
4903 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4904 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4905 # Check for GNU ac_path_EGREP and select it if it is found.
4906 # Check for GNU $ac_path_EGREP
4907 case `"$ac_path_EGREP" --version 2>&1` in
4908 *GNU*)
4909 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4911 ac_count=0
4912 $as_echo_n 0123456789 >"conftest.in"
4913 while :
4915 cat "conftest.in" "conftest.in" >"conftest.tmp"
4916 mv "conftest.tmp" "conftest.in"
4917 cp "conftest.in" "conftest.nl"
4918 $as_echo 'EGREP' >> "conftest.nl"
4919 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4920 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4921 as_fn_arith $ac_count + 1 && ac_count=$as_val
4922 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4923 # Best one so far, save it but keep looking for a better one
4924 ac_cv_path_EGREP="$ac_path_EGREP"
4925 ac_path_EGREP_max=$ac_count
4927 # 10*(2^10) chars as input seems more than enough
4928 test $ac_count -gt 10 && break
4929 done
4930 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4931 esac
4933 $ac_path_EGREP_found && break 3
4934 done
4935 done
4936 done
4937 IFS=$as_save_IFS
4938 if test -z "$ac_cv_path_EGREP"; then
4939 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4941 else
4942 ac_cv_path_EGREP=$EGREP
4947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4948 $as_echo "$ac_cv_path_EGREP" >&6; }
4949 EGREP="$ac_cv_path_EGREP"
4953 # Keep these sync'd with the list in Makefile.am. The first provides an
4954 # expandable list at autoconf time; the second provides an expandable list
4955 # (i.e., shell variable) at configure time.
4957 SUBDIRS='include libsupc++ src src/c++98 src/c++11 src/filesystem doc po testsuite python'
4959 # These need to be absolute paths, yet at the same time need to
4960 # canonicalize only relative paths, because then amd will not unmount
4961 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
4962 glibcxx_builddir=`${PWDCMD-pwd}`
4963 case $srcdir in
4964 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
4965 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
4966 esac
4967 toplevel_builddir=${glibcxx_builddir}/..
4968 toplevel_srcdir=${glibcxx_srcdir}/..
4974 # We use these options to decide which functions to include. They are
4975 # set from the top level.
4977 # Check whether --with-target-subdir was given.
4978 if test "${with_target_subdir+set}" = set; then :
4979 withval=$with_target_subdir;
4984 # Check whether --with-cross-host was given.
4985 if test "${with_cross_host+set}" = set; then :
4986 withval=$with_cross_host;
4991 # Check whether --with-newlib was given.
4992 if test "${with_newlib+set}" = set; then :
4993 withval=$with_newlib;
4997 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
4998 # available). Uncomment the next line to force a particular method.
4999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5000 $as_echo_n "checking whether ln -s works... " >&6; }
5001 LN_S=$as_ln_s
5002 if test "$LN_S" = "ln -s"; then
5003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5004 $as_echo "yes" >&6; }
5005 else
5006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5007 $as_echo "no, using $LN_S" >&6; }
5010 #LN_S='cp -p'
5012 if test -n "$ac_tool_prefix"; then
5013 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5014 set dummy ${ac_tool_prefix}as; ac_word=$2
5015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5016 $as_echo_n "checking for $ac_word... " >&6; }
5017 if test "${ac_cv_prog_AS+set}" = set; then :
5018 $as_echo_n "(cached) " >&6
5019 else
5020 if test -n "$AS"; then
5021 ac_cv_prog_AS="$AS" # Let the user override the test.
5022 else
5023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5024 for as_dir in $PATH
5026 IFS=$as_save_IFS
5027 test -z "$as_dir" && as_dir=.
5028 for ac_exec_ext in '' $ac_executable_extensions; do
5029 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5030 ac_cv_prog_AS="${ac_tool_prefix}as"
5031 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5032 break 2
5034 done
5035 done
5036 IFS=$as_save_IFS
5040 AS=$ac_cv_prog_AS
5041 if test -n "$AS"; then
5042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5043 $as_echo "$AS" >&6; }
5044 else
5045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5046 $as_echo "no" >&6; }
5051 if test -z "$ac_cv_prog_AS"; then
5052 ac_ct_AS=$AS
5053 # Extract the first word of "as", so it can be a program name with args.
5054 set dummy as; ac_word=$2
5055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5056 $as_echo_n "checking for $ac_word... " >&6; }
5057 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
5058 $as_echo_n "(cached) " >&6
5059 else
5060 if test -n "$ac_ct_AS"; then
5061 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5062 else
5063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5064 for as_dir in $PATH
5066 IFS=$as_save_IFS
5067 test -z "$as_dir" && as_dir=.
5068 for ac_exec_ext in '' $ac_executable_extensions; do
5069 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5070 ac_cv_prog_ac_ct_AS="as"
5071 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5072 break 2
5074 done
5075 done
5076 IFS=$as_save_IFS
5080 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5081 if test -n "$ac_ct_AS"; then
5082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5083 $as_echo "$ac_ct_AS" >&6; }
5084 else
5085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5086 $as_echo "no" >&6; }
5089 if test "x$ac_ct_AS" = x; then
5090 AS=""
5091 else
5092 case $cross_compiling:$ac_tool_warned in
5093 yes:)
5094 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5095 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5096 ac_tool_warned=yes ;;
5097 esac
5098 AS=$ac_ct_AS
5100 else
5101 AS="$ac_cv_prog_AS"
5104 if test -n "$ac_tool_prefix"; then
5105 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5106 set dummy ${ac_tool_prefix}ar; ac_word=$2
5107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5108 $as_echo_n "checking for $ac_word... " >&6; }
5109 if test "${ac_cv_prog_AR+set}" = set; then :
5110 $as_echo_n "(cached) " >&6
5111 else
5112 if test -n "$AR"; then
5113 ac_cv_prog_AR="$AR" # Let the user override the test.
5114 else
5115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5116 for as_dir in $PATH
5118 IFS=$as_save_IFS
5119 test -z "$as_dir" && as_dir=.
5120 for ac_exec_ext in '' $ac_executable_extensions; do
5121 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5122 ac_cv_prog_AR="${ac_tool_prefix}ar"
5123 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5124 break 2
5126 done
5127 done
5128 IFS=$as_save_IFS
5132 AR=$ac_cv_prog_AR
5133 if test -n "$AR"; then
5134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5135 $as_echo "$AR" >&6; }
5136 else
5137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5138 $as_echo "no" >&6; }
5143 if test -z "$ac_cv_prog_AR"; then
5144 ac_ct_AR=$AR
5145 # Extract the first word of "ar", so it can be a program name with args.
5146 set dummy ar; ac_word=$2
5147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5148 $as_echo_n "checking for $ac_word... " >&6; }
5149 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5150 $as_echo_n "(cached) " >&6
5151 else
5152 if test -n "$ac_ct_AR"; then
5153 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5154 else
5155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5156 for as_dir in $PATH
5158 IFS=$as_save_IFS
5159 test -z "$as_dir" && as_dir=.
5160 for ac_exec_ext in '' $ac_executable_extensions; do
5161 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5162 ac_cv_prog_ac_ct_AR="ar"
5163 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5164 break 2
5166 done
5167 done
5168 IFS=$as_save_IFS
5172 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5173 if test -n "$ac_ct_AR"; then
5174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5175 $as_echo "$ac_ct_AR" >&6; }
5176 else
5177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5178 $as_echo "no" >&6; }
5181 if test "x$ac_ct_AR" = x; then
5182 AR=""
5183 else
5184 case $cross_compiling:$ac_tool_warned in
5185 yes:)
5186 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5187 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5188 ac_tool_warned=yes ;;
5189 esac
5190 AR=$ac_ct_AR
5192 else
5193 AR="$ac_cv_prog_AR"
5196 if test -n "$ac_tool_prefix"; then
5197 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5198 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5200 $as_echo_n "checking for $ac_word... " >&6; }
5201 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5202 $as_echo_n "(cached) " >&6
5203 else
5204 if test -n "$RANLIB"; then
5205 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5206 else
5207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5208 for as_dir in $PATH
5210 IFS=$as_save_IFS
5211 test -z "$as_dir" && as_dir=.
5212 for ac_exec_ext in '' $ac_executable_extensions; do
5213 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5214 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5215 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5216 break 2
5218 done
5219 done
5220 IFS=$as_save_IFS
5224 RANLIB=$ac_cv_prog_RANLIB
5225 if test -n "$RANLIB"; then
5226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5227 $as_echo "$RANLIB" >&6; }
5228 else
5229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5230 $as_echo "no" >&6; }
5235 if test -z "$ac_cv_prog_RANLIB"; then
5236 ac_ct_RANLIB=$RANLIB
5237 # Extract the first word of "ranlib", so it can be a program name with args.
5238 set dummy ranlib; ac_word=$2
5239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5240 $as_echo_n "checking for $ac_word... " >&6; }
5241 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5242 $as_echo_n "(cached) " >&6
5243 else
5244 if test -n "$ac_ct_RANLIB"; then
5245 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5246 else
5247 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5248 for as_dir in $PATH
5250 IFS=$as_save_IFS
5251 test -z "$as_dir" && as_dir=.
5252 for ac_exec_ext in '' $ac_executable_extensions; do
5253 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5254 ac_cv_prog_ac_ct_RANLIB="ranlib"
5255 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5256 break 2
5258 done
5259 done
5260 IFS=$as_save_IFS
5264 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5265 if test -n "$ac_ct_RANLIB"; then
5266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5267 $as_echo "$ac_ct_RANLIB" >&6; }
5268 else
5269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5270 $as_echo "no" >&6; }
5273 if test "x$ac_ct_RANLIB" = x; then
5274 RANLIB="ranlib-not-found-in-path-error"
5275 else
5276 case $cross_compiling:$ac_tool_warned in
5277 yes:)
5278 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5279 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5280 ac_tool_warned=yes ;;
5281 esac
5282 RANLIB=$ac_ct_RANLIB
5284 else
5285 RANLIB="$ac_cv_prog_RANLIB"
5290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5291 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5292 # Check whether --enable-maintainer-mode was given.
5293 if test "${enable_maintainer_mode+set}" = set; then :
5294 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5295 else
5296 USE_MAINTAINER_MODE=no
5299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5300 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5301 if test $USE_MAINTAINER_MODE = yes; then
5302 MAINTAINER_MODE_TRUE=
5303 MAINTAINER_MODE_FALSE='#'
5304 else
5305 MAINTAINER_MODE_TRUE='#'
5306 MAINTAINER_MODE_FALSE=
5309 MAINT=$MAINTAINER_MODE_TRUE
5313 # Set up safe default values for all subsequent AM_CONDITIONAL tests
5314 # which are themselves conditionally expanded.
5315 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5316 ## other macros from doing the same. This should be automated.) -pme
5318 # Check for C library flavor since GNU/Linux platforms use different
5319 # configuration directories depending on the C library in use.
5320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5321 /* end confdefs.h. */
5323 #include <stdio.h>
5324 #if __UCLIBC__
5325 _using_uclibc
5326 #endif
5328 _ACEOF
5329 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5330 $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5331 uclibc=yes
5332 else
5333 uclibc=no
5335 rm -f conftest*
5338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5339 /* end confdefs.h. */
5341 #include <stdio.h>
5342 #if __BIONIC__
5343 _using_bionic
5344 #endif
5346 _ACEOF
5347 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5348 $EGREP "_using_bionic" >/dev/null 2>&1; then :
5349 bionic=yes
5350 else
5351 bionic=no
5353 rm -f conftest*
5356 # Find platform-specific directories containing configuration info.
5357 # Also possibly modify flags used elsewhere, as needed by the platform.
5359 . $glibcxx_srcdir/configure.host
5360 { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5361 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5362 { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5363 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5367 # Libtool setup.
5368 if test "x${with_newlib}" != "xyes"; then
5369 enable_dlopen=yes
5374 case `pwd` in
5375 *\ * | *\ *)
5376 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5377 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5378 esac
5382 macro_version='2.2.7a'
5383 macro_revision='1.3134'
5397 ltmain="$ac_aux_dir/ltmain.sh"
5399 # Backslashify metacharacters that are still active within
5400 # double-quoted strings.
5401 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5403 # Same as above, but do not quote variable references.
5404 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5406 # Sed substitution to delay expansion of an escaped shell variable in a
5407 # double_quote_subst'ed string.
5408 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5410 # Sed substitution to delay expansion of an escaped single quote.
5411 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5413 # Sed substitution to avoid accidental globbing in evaled expressions
5414 no_glob_subst='s/\*/\\\*/g'
5416 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5417 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5418 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5421 $as_echo_n "checking how to print strings... " >&6; }
5422 # Test print first, because it will be a builtin if present.
5423 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5424 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5425 ECHO='print -r --'
5426 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5427 ECHO='printf %s\n'
5428 else
5429 # Use this function as a fallback that always works.
5430 func_fallback_echo ()
5432 eval 'cat <<_LTECHO_EOF
5434 _LTECHO_EOF'
5436 ECHO='func_fallback_echo'
5439 # func_echo_all arg...
5440 # Invoke $ECHO with all args, space-separated.
5441 func_echo_all ()
5443 $ECHO ""
5446 case "$ECHO" in
5447 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5448 $as_echo "printf" >&6; } ;;
5449 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5450 $as_echo "print -r" >&6; } ;;
5451 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5452 $as_echo "cat" >&6; } ;;
5453 esac
5468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5469 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5470 if test "${ac_cv_path_SED+set}" = set; then :
5471 $as_echo_n "(cached) " >&6
5472 else
5473 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5474 for ac_i in 1 2 3 4 5 6 7; do
5475 ac_script="$ac_script$as_nl$ac_script"
5476 done
5477 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5478 { ac_script=; unset ac_script;}
5479 if test -z "$SED"; then
5480 ac_path_SED_found=false
5481 # Loop through the user's path and test for each of PROGNAME-LIST
5482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5483 for as_dir in $PATH
5485 IFS=$as_save_IFS
5486 test -z "$as_dir" && as_dir=.
5487 for ac_prog in sed gsed; do
5488 for ac_exec_ext in '' $ac_executable_extensions; do
5489 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5490 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5491 # Check for GNU ac_path_SED and select it if it is found.
5492 # Check for GNU $ac_path_SED
5493 case `"$ac_path_SED" --version 2>&1` in
5494 *GNU*)
5495 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5497 ac_count=0
5498 $as_echo_n 0123456789 >"conftest.in"
5499 while :
5501 cat "conftest.in" "conftest.in" >"conftest.tmp"
5502 mv "conftest.tmp" "conftest.in"
5503 cp "conftest.in" "conftest.nl"
5504 $as_echo '' >> "conftest.nl"
5505 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5506 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5507 as_fn_arith $ac_count + 1 && ac_count=$as_val
5508 if test $ac_count -gt ${ac_path_SED_max-0}; then
5509 # Best one so far, save it but keep looking for a better one
5510 ac_cv_path_SED="$ac_path_SED"
5511 ac_path_SED_max=$ac_count
5513 # 10*(2^10) chars as input seems more than enough
5514 test $ac_count -gt 10 && break
5515 done
5516 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5517 esac
5519 $ac_path_SED_found && break 3
5520 done
5521 done
5522 done
5523 IFS=$as_save_IFS
5524 if test -z "$ac_cv_path_SED"; then
5525 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5527 else
5528 ac_cv_path_SED=$SED
5532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5533 $as_echo "$ac_cv_path_SED" >&6; }
5534 SED="$ac_cv_path_SED"
5535 rm -f conftest.sed
5537 test -z "$SED" && SED=sed
5538 Xsed="$SED -e 1s/^X//"
5550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5551 $as_echo_n "checking for fgrep... " >&6; }
5552 if test "${ac_cv_path_FGREP+set}" = set; then :
5553 $as_echo_n "(cached) " >&6
5554 else
5555 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5556 then ac_cv_path_FGREP="$GREP -F"
5557 else
5558 if test -z "$FGREP"; then
5559 ac_path_FGREP_found=false
5560 # Loop through the user's path and test for each of PROGNAME-LIST
5561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5562 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5564 IFS=$as_save_IFS
5565 test -z "$as_dir" && as_dir=.
5566 for ac_prog in fgrep; do
5567 for ac_exec_ext in '' $ac_executable_extensions; do
5568 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5569 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5570 # Check for GNU ac_path_FGREP and select it if it is found.
5571 # Check for GNU $ac_path_FGREP
5572 case `"$ac_path_FGREP" --version 2>&1` in
5573 *GNU*)
5574 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5576 ac_count=0
5577 $as_echo_n 0123456789 >"conftest.in"
5578 while :
5580 cat "conftest.in" "conftest.in" >"conftest.tmp"
5581 mv "conftest.tmp" "conftest.in"
5582 cp "conftest.in" "conftest.nl"
5583 $as_echo 'FGREP' >> "conftest.nl"
5584 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5585 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5586 as_fn_arith $ac_count + 1 && ac_count=$as_val
5587 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5588 # Best one so far, save it but keep looking for a better one
5589 ac_cv_path_FGREP="$ac_path_FGREP"
5590 ac_path_FGREP_max=$ac_count
5592 # 10*(2^10) chars as input seems more than enough
5593 test $ac_count -gt 10 && break
5594 done
5595 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5596 esac
5598 $ac_path_FGREP_found && break 3
5599 done
5600 done
5601 done
5602 IFS=$as_save_IFS
5603 if test -z "$ac_cv_path_FGREP"; then
5604 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5606 else
5607 ac_cv_path_FGREP=$FGREP
5612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5613 $as_echo "$ac_cv_path_FGREP" >&6; }
5614 FGREP="$ac_cv_path_FGREP"
5617 test -z "$GREP" && GREP=grep
5637 # Check whether --with-gnu-ld was given.
5638 if test "${with_gnu_ld+set}" = set; then :
5639 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5640 else
5641 with_gnu_ld=no
5644 ac_prog=ld
5645 if test "$GCC" = yes; then
5646 # Check if gcc -print-prog-name=ld gives a path.
5647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5648 $as_echo_n "checking for ld used by $CC... " >&6; }
5649 case $host in
5650 *-*-mingw*)
5651 # gcc leaves a trailing carriage return which upsets mingw
5652 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5654 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5655 esac
5656 case $ac_prog in
5657 # Accept absolute paths.
5658 [\\/]* | ?:[\\/]*)
5659 re_direlt='/[^/][^/]*/\.\./'
5660 # Canonicalize the pathname of ld
5661 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5662 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5663 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5664 done
5665 test -z "$LD" && LD="$ac_prog"
5668 # If it fails, then pretend we aren't using GCC.
5669 ac_prog=ld
5672 # If it is relative, then search for the first ld in PATH.
5673 with_gnu_ld=unknown
5675 esac
5676 elif test "$with_gnu_ld" = yes; then
5677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5678 $as_echo_n "checking for GNU ld... " >&6; }
5679 else
5680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5681 $as_echo_n "checking for non-GNU ld... " >&6; }
5683 if test "${lt_cv_path_LD+set}" = set; then :
5684 $as_echo_n "(cached) " >&6
5685 else
5686 if test -z "$LD"; then
5687 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5688 for ac_dir in $PATH; do
5689 IFS="$lt_save_ifs"
5690 test -z "$ac_dir" && ac_dir=.
5691 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5692 lt_cv_path_LD="$ac_dir/$ac_prog"
5693 # Check to see if the program is GNU ld. I'd rather use --version,
5694 # but apparently some variants of GNU ld only accept -v.
5695 # Break only if it was the GNU/non-GNU ld that we prefer.
5696 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5697 *GNU* | *'with BFD'*)
5698 test "$with_gnu_ld" != no && break
5701 test "$with_gnu_ld" != yes && break
5703 esac
5705 done
5706 IFS="$lt_save_ifs"
5707 else
5708 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5712 LD="$lt_cv_path_LD"
5713 if test -n "$LD"; then
5714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5715 $as_echo "$LD" >&6; }
5716 else
5717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5718 $as_echo "no" >&6; }
5720 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5722 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5723 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5724 $as_echo_n "(cached) " >&6
5725 else
5726 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5727 case `$LD -v 2>&1 </dev/null` in
5728 *GNU* | *'with BFD'*)
5729 lt_cv_prog_gnu_ld=yes
5732 lt_cv_prog_gnu_ld=no
5734 esac
5736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5737 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5738 with_gnu_ld=$lt_cv_prog_gnu_ld
5748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5749 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5750 if test "${lt_cv_path_NM+set}" = set; then :
5751 $as_echo_n "(cached) " >&6
5752 else
5753 if test -n "$NM"; then
5754 # Let the user override the test.
5755 lt_cv_path_NM="$NM"
5756 else
5757 lt_nm_to_check="${ac_tool_prefix}nm"
5758 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5759 lt_nm_to_check="$lt_nm_to_check nm"
5761 for lt_tmp_nm in $lt_nm_to_check; do
5762 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5763 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5764 IFS="$lt_save_ifs"
5765 test -z "$ac_dir" && ac_dir=.
5766 tmp_nm="$ac_dir/$lt_tmp_nm"
5767 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5768 # Check to see if the nm accepts a BSD-compat flag.
5769 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5770 # nm: unknown option "B" ignored
5771 # Tru64's nm complains that /dev/null is an invalid object file
5772 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5773 */dev/null* | *'Invalid file or object type'*)
5774 lt_cv_path_NM="$tmp_nm -B"
5775 break
5778 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5779 */dev/null*)
5780 lt_cv_path_NM="$tmp_nm -p"
5781 break
5784 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5785 continue # so that we can try to find one that supports BSD flags
5787 esac
5789 esac
5791 done
5792 IFS="$lt_save_ifs"
5793 done
5794 : ${lt_cv_path_NM=no}
5797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5798 $as_echo "$lt_cv_path_NM" >&6; }
5799 if test "$lt_cv_path_NM" != "no"; then
5800 NM="$lt_cv_path_NM"
5801 else
5802 # Didn't find any BSD compatible name lister, look for dumpbin.
5803 if test -n "$DUMPBIN"; then :
5804 # Let the user override the test.
5805 else
5806 if test -n "$ac_tool_prefix"; then
5807 for ac_prog in dumpbin "link -dump"
5809 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5810 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5812 $as_echo_n "checking for $ac_word... " >&6; }
5813 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5814 $as_echo_n "(cached) " >&6
5815 else
5816 if test -n "$DUMPBIN"; then
5817 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5818 else
5819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5820 for as_dir in $PATH
5822 IFS=$as_save_IFS
5823 test -z "$as_dir" && as_dir=.
5824 for ac_exec_ext in '' $ac_executable_extensions; do
5825 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5826 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5827 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5828 break 2
5830 done
5831 done
5832 IFS=$as_save_IFS
5836 DUMPBIN=$ac_cv_prog_DUMPBIN
5837 if test -n "$DUMPBIN"; then
5838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5839 $as_echo "$DUMPBIN" >&6; }
5840 else
5841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5842 $as_echo "no" >&6; }
5846 test -n "$DUMPBIN" && break
5847 done
5849 if test -z "$DUMPBIN"; then
5850 ac_ct_DUMPBIN=$DUMPBIN
5851 for ac_prog in dumpbin "link -dump"
5853 # Extract the first word of "$ac_prog", so it can be a program name with args.
5854 set dummy $ac_prog; ac_word=$2
5855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5856 $as_echo_n "checking for $ac_word... " >&6; }
5857 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5858 $as_echo_n "(cached) " >&6
5859 else
5860 if test -n "$ac_ct_DUMPBIN"; then
5861 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5862 else
5863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5864 for as_dir in $PATH
5866 IFS=$as_save_IFS
5867 test -z "$as_dir" && as_dir=.
5868 for ac_exec_ext in '' $ac_executable_extensions; do
5869 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5870 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5871 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5872 break 2
5874 done
5875 done
5876 IFS=$as_save_IFS
5880 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5881 if test -n "$ac_ct_DUMPBIN"; then
5882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5883 $as_echo "$ac_ct_DUMPBIN" >&6; }
5884 else
5885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5886 $as_echo "no" >&6; }
5890 test -n "$ac_ct_DUMPBIN" && break
5891 done
5893 if test "x$ac_ct_DUMPBIN" = x; then
5894 DUMPBIN=":"
5895 else
5896 case $cross_compiling:$ac_tool_warned in
5897 yes:)
5898 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5899 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5900 ac_tool_warned=yes ;;
5901 esac
5902 DUMPBIN=$ac_ct_DUMPBIN
5906 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5907 *COFF*)
5908 DUMPBIN="$DUMPBIN -symbols"
5911 DUMPBIN=:
5913 esac
5916 if test "$DUMPBIN" != ":"; then
5917 NM="$DUMPBIN"
5920 test -z "$NM" && NM=nm
5927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5928 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5929 if test "${lt_cv_nm_interface+set}" = set; then :
5930 $as_echo_n "(cached) " >&6
5931 else
5932 lt_cv_nm_interface="BSD nm"
5933 echo "int some_variable = 0;" > conftest.$ac_ext
5934 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5935 (eval "$ac_compile" 2>conftest.err)
5936 cat conftest.err >&5
5937 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5938 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5939 cat conftest.err >&5
5940 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5941 cat conftest.out >&5
5942 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5943 lt_cv_nm_interface="MS dumpbin"
5945 rm -f conftest*
5947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5948 $as_echo "$lt_cv_nm_interface" >&6; }
5950 # find the maximum length of command line arguments
5951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5952 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5953 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5954 $as_echo_n "(cached) " >&6
5955 else
5957 teststring="ABCD"
5959 case $build_os in
5960 msdosdjgpp*)
5961 # On DJGPP, this test can blow up pretty badly due to problems in libc
5962 # (any single argument exceeding 2000 bytes causes a buffer overrun
5963 # during glob expansion). Even if it were fixed, the result of this
5964 # check would be larger than it should be.
5965 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5968 gnu*)
5969 # Under GNU Hurd, this test is not required because there is
5970 # no limit to the length of command line arguments.
5971 # Libtool will interpret -1 as no limit whatsoever
5972 lt_cv_sys_max_cmd_len=-1;
5975 cygwin* | mingw* | cegcc*)
5976 # On Win9x/ME, this test blows up -- it succeeds, but takes
5977 # about 5 minutes as the teststring grows exponentially.
5978 # Worse, since 9x/ME are not pre-emptively multitasking,
5979 # you end up with a "frozen" computer, even though with patience
5980 # the test eventually succeeds (with a max line length of 256k).
5981 # Instead, let's just punt: use the minimum linelength reported by
5982 # all of the supported platforms: 8192 (on NT/2K/XP).
5983 lt_cv_sys_max_cmd_len=8192;
5986 mint*)
5987 # On MiNT this can take a long time and run out of memory.
5988 lt_cv_sys_max_cmd_len=8192;
5991 amigaos*)
5992 # On AmigaOS with pdksh, this test takes hours, literally.
5993 # So we just punt and use a minimum line length of 8192.
5994 lt_cv_sys_max_cmd_len=8192;
5997 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5998 # This has been around since 386BSD, at least. Likely further.
5999 if test -x /sbin/sysctl; then
6000 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6001 elif test -x /usr/sbin/sysctl; then
6002 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6003 else
6004 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6006 # And add a safety zone
6007 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6008 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6011 interix*)
6012 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6013 lt_cv_sys_max_cmd_len=196608
6016 osf*)
6017 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6018 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6019 # nice to cause kernel panics so lets avoid the loop below.
6020 # First set a reasonable default.
6021 lt_cv_sys_max_cmd_len=16384
6023 if test -x /sbin/sysconfig; then
6024 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6025 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6026 esac
6029 sco3.2v5*)
6030 lt_cv_sys_max_cmd_len=102400
6032 sysv5* | sco5v6* | sysv4.2uw2*)
6033 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6034 if test -n "$kargmax"; then
6035 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6036 else
6037 lt_cv_sys_max_cmd_len=32768
6041 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6042 if test -n "$lt_cv_sys_max_cmd_len"; then
6043 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6044 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6045 else
6046 # Make teststring a little bigger before we do anything with it.
6047 # a 1K string should be a reasonable start.
6048 for i in 1 2 3 4 5 6 7 8 ; do
6049 teststring=$teststring$teststring
6050 done
6051 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6052 # If test is not a shell built-in, we'll probably end up computing a
6053 # maximum length that is only half of the actual maximum length, but
6054 # we can't tell.
6055 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6056 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6057 test $i != 17 # 1/2 MB should be enough
6059 i=`expr $i + 1`
6060 teststring=$teststring$teststring
6061 done
6062 # Only check the string length outside the loop.
6063 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6064 teststring=
6065 # Add a significant safety factor because C++ compilers can tack on
6066 # massive amounts of additional arguments before passing them to the
6067 # linker. It appears as though 1/2 is a usable value.
6068 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6071 esac
6075 if test -n $lt_cv_sys_max_cmd_len ; then
6076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6077 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6078 else
6079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6080 $as_echo "none" >&6; }
6082 max_cmd_len=$lt_cv_sys_max_cmd_len
6089 : ${CP="cp -f"}
6090 : ${MV="mv -f"}
6091 : ${RM="rm -f"}
6093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6094 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6095 # Try some XSI features
6096 xsi_shell=no
6097 ( _lt_dummy="a/b/c"
6098 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6099 = c,a/b,, \
6100 && eval 'test $(( 1 + 1 )) -eq 2 \
6101 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6102 && xsi_shell=yes
6103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6104 $as_echo "$xsi_shell" >&6; }
6107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6108 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6109 lt_shell_append=no
6110 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6111 >/dev/null 2>&1 \
6112 && lt_shell_append=yes
6113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6114 $as_echo "$lt_shell_append" >&6; }
6117 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6118 lt_unset=unset
6119 else
6120 lt_unset=false
6127 # test EBCDIC or ASCII
6128 case `echo X|tr X '\101'` in
6129 A) # ASCII based system
6130 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6131 lt_SP2NL='tr \040 \012'
6132 lt_NL2SP='tr \015\012 \040\040'
6134 *) # EBCDIC based system
6135 lt_SP2NL='tr \100 \n'
6136 lt_NL2SP='tr \r\n \100\100'
6138 esac
6148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6149 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6150 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6151 $as_echo_n "(cached) " >&6
6152 else
6153 lt_cv_ld_reload_flag='-r'
6155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6156 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6157 reload_flag=$lt_cv_ld_reload_flag
6158 case $reload_flag in
6159 "" | " "*) ;;
6160 *) reload_flag=" $reload_flag" ;;
6161 esac
6162 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6163 case $host_os in
6164 darwin*)
6165 if test "$GCC" = yes; then
6166 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6167 else
6168 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6171 esac
6181 if test -n "$ac_tool_prefix"; then
6182 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6183 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6185 $as_echo_n "checking for $ac_word... " >&6; }
6186 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6187 $as_echo_n "(cached) " >&6
6188 else
6189 if test -n "$OBJDUMP"; then
6190 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6191 else
6192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6193 for as_dir in $PATH
6195 IFS=$as_save_IFS
6196 test -z "$as_dir" && as_dir=.
6197 for ac_exec_ext in '' $ac_executable_extensions; do
6198 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6199 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6200 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6201 break 2
6203 done
6204 done
6205 IFS=$as_save_IFS
6209 OBJDUMP=$ac_cv_prog_OBJDUMP
6210 if test -n "$OBJDUMP"; then
6211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6212 $as_echo "$OBJDUMP" >&6; }
6213 else
6214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6215 $as_echo "no" >&6; }
6220 if test -z "$ac_cv_prog_OBJDUMP"; then
6221 ac_ct_OBJDUMP=$OBJDUMP
6222 # Extract the first word of "objdump", so it can be a program name with args.
6223 set dummy objdump; ac_word=$2
6224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6225 $as_echo_n "checking for $ac_word... " >&6; }
6226 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6227 $as_echo_n "(cached) " >&6
6228 else
6229 if test -n "$ac_ct_OBJDUMP"; then
6230 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6231 else
6232 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6233 for as_dir in $PATH
6235 IFS=$as_save_IFS
6236 test -z "$as_dir" && as_dir=.
6237 for ac_exec_ext in '' $ac_executable_extensions; do
6238 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6239 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6240 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6241 break 2
6243 done
6244 done
6245 IFS=$as_save_IFS
6249 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6250 if test -n "$ac_ct_OBJDUMP"; then
6251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6252 $as_echo "$ac_ct_OBJDUMP" >&6; }
6253 else
6254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6255 $as_echo "no" >&6; }
6258 if test "x$ac_ct_OBJDUMP" = x; then
6259 OBJDUMP="false"
6260 else
6261 case $cross_compiling:$ac_tool_warned in
6262 yes:)
6263 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6264 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6265 ac_tool_warned=yes ;;
6266 esac
6267 OBJDUMP=$ac_ct_OBJDUMP
6269 else
6270 OBJDUMP="$ac_cv_prog_OBJDUMP"
6273 test -z "$OBJDUMP" && OBJDUMP=objdump
6283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6284 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6285 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6286 $as_echo_n "(cached) " >&6
6287 else
6288 lt_cv_file_magic_cmd='$MAGIC_CMD'
6289 lt_cv_file_magic_test_file=
6290 lt_cv_deplibs_check_method='unknown'
6291 # Need to set the preceding variable on all platforms that support
6292 # interlibrary dependencies.
6293 # 'none' -- dependencies not supported.
6294 # `unknown' -- same as none, but documents that we really don't know.
6295 # 'pass_all' -- all dependencies passed with no checks.
6296 # 'test_compile' -- check by making test program.
6297 # 'file_magic [[regex]]' -- check by looking for files in library path
6298 # which responds to the $file_magic_cmd with a given extended regex.
6299 # If you have `file' or equivalent on your system and you're not sure
6300 # whether `pass_all' will *always* work, you probably want this one.
6302 case $host_os in
6303 aix[4-9]*)
6304 lt_cv_deplibs_check_method=pass_all
6307 beos*)
6308 lt_cv_deplibs_check_method=pass_all
6311 bsdi[45]*)
6312 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6313 lt_cv_file_magic_cmd='/usr/bin/file -L'
6314 lt_cv_file_magic_test_file=/shlib/libc.so
6317 cygwin*)
6318 # func_win32_libid is a shell function defined in ltmain.sh
6319 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6320 lt_cv_file_magic_cmd='func_win32_libid'
6323 mingw* | pw32*)
6324 # Base MSYS/MinGW do not provide the 'file' command needed by
6325 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6326 # unless we find 'file', for example because we are cross-compiling.
6327 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6328 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6329 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6330 lt_cv_file_magic_cmd='func_win32_libid'
6331 else
6332 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6333 lt_cv_file_magic_cmd='$OBJDUMP -f'
6337 cegcc*)
6338 # use the weaker test based on 'objdump'. See mingw*.
6339 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6340 lt_cv_file_magic_cmd='$OBJDUMP -f'
6343 darwin* | rhapsody*)
6344 lt_cv_deplibs_check_method=pass_all
6347 freebsd* | dragonfly*)
6348 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6349 case $host_cpu in
6350 i*86 )
6351 # Not sure whether the presence of OpenBSD here was a mistake.
6352 # Let's accept both of them until this is cleared up.
6353 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6354 lt_cv_file_magic_cmd=/usr/bin/file
6355 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6357 esac
6358 else
6359 lt_cv_deplibs_check_method=pass_all
6363 gnu*)
6364 lt_cv_deplibs_check_method=pass_all
6367 haiku*)
6368 lt_cv_deplibs_check_method=pass_all
6371 hpux10.20* | hpux11*)
6372 lt_cv_file_magic_cmd=/usr/bin/file
6373 case $host_cpu in
6374 ia64*)
6375 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6376 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6378 hppa*64*)
6379 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
6380 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6383 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6384 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6386 esac
6389 interix[3-9]*)
6390 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6391 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6394 irix5* | irix6* | nonstopux*)
6395 case $LD in
6396 *-32|*"-32 ") libmagic=32-bit;;
6397 *-n32|*"-n32 ") libmagic=N32;;
6398 *-64|*"-64 ") libmagic=64-bit;;
6399 *) libmagic=never-match;;
6400 esac
6401 lt_cv_deplibs_check_method=pass_all
6404 # This must be Linux ELF.
6405 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6406 lt_cv_deplibs_check_method=pass_all
6409 netbsd*)
6410 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6411 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6412 else
6413 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6417 newos6*)
6418 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6419 lt_cv_file_magic_cmd=/usr/bin/file
6420 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6423 *nto* | *qnx*)
6424 lt_cv_deplibs_check_method=pass_all
6427 openbsd*)
6428 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6429 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6430 else
6431 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6435 osf3* | osf4* | osf5*)
6436 lt_cv_deplibs_check_method=pass_all
6439 rdos*)
6440 lt_cv_deplibs_check_method=pass_all
6443 solaris*)
6444 lt_cv_deplibs_check_method=pass_all
6447 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6448 lt_cv_deplibs_check_method=pass_all
6451 sysv4 | sysv4.3*)
6452 case $host_vendor in
6453 motorola)
6454 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
6455 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6457 ncr)
6458 lt_cv_deplibs_check_method=pass_all
6460 sequent)
6461 lt_cv_file_magic_cmd='/bin/file'
6462 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6464 sni)
6465 lt_cv_file_magic_cmd='/bin/file'
6466 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6467 lt_cv_file_magic_test_file=/lib/libc.so
6469 siemens)
6470 lt_cv_deplibs_check_method=pass_all
6473 lt_cv_deplibs_check_method=pass_all
6475 esac
6478 tpf*)
6479 lt_cv_deplibs_check_method=pass_all
6481 esac
6484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6485 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6486 file_magic_cmd=$lt_cv_file_magic_cmd
6487 deplibs_check_method=$lt_cv_deplibs_check_method
6488 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6501 if test -n "$ac_tool_prefix"; then
6502 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6503 set dummy ${ac_tool_prefix}ar; ac_word=$2
6504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6505 $as_echo_n "checking for $ac_word... " >&6; }
6506 if test "${ac_cv_prog_AR+set}" = set; then :
6507 $as_echo_n "(cached) " >&6
6508 else
6509 if test -n "$AR"; then
6510 ac_cv_prog_AR="$AR" # Let the user override the test.
6511 else
6512 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6513 for as_dir in $PATH
6515 IFS=$as_save_IFS
6516 test -z "$as_dir" && as_dir=.
6517 for ac_exec_ext in '' $ac_executable_extensions; do
6518 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6519 ac_cv_prog_AR="${ac_tool_prefix}ar"
6520 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6521 break 2
6523 done
6524 done
6525 IFS=$as_save_IFS
6529 AR=$ac_cv_prog_AR
6530 if test -n "$AR"; then
6531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6532 $as_echo "$AR" >&6; }
6533 else
6534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6535 $as_echo "no" >&6; }
6540 if test -z "$ac_cv_prog_AR"; then
6541 ac_ct_AR=$AR
6542 # Extract the first word of "ar", so it can be a program name with args.
6543 set dummy ar; ac_word=$2
6544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6545 $as_echo_n "checking for $ac_word... " >&6; }
6546 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6547 $as_echo_n "(cached) " >&6
6548 else
6549 if test -n "$ac_ct_AR"; then
6550 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6551 else
6552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6553 for as_dir in $PATH
6555 IFS=$as_save_IFS
6556 test -z "$as_dir" && as_dir=.
6557 for ac_exec_ext in '' $ac_executable_extensions; do
6558 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6559 ac_cv_prog_ac_ct_AR="ar"
6560 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6561 break 2
6563 done
6564 done
6565 IFS=$as_save_IFS
6569 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6570 if test -n "$ac_ct_AR"; then
6571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6572 $as_echo "$ac_ct_AR" >&6; }
6573 else
6574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6575 $as_echo "no" >&6; }
6578 if test "x$ac_ct_AR" = x; then
6579 AR="false"
6580 else
6581 case $cross_compiling:$ac_tool_warned in
6582 yes:)
6583 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6584 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6585 ac_tool_warned=yes ;;
6586 esac
6587 AR=$ac_ct_AR
6589 else
6590 AR="$ac_cv_prog_AR"
6593 test -z "$AR" && AR=ar
6594 test -z "$AR_FLAGS" && AR_FLAGS=cru
6606 if test -n "$ac_tool_prefix"; then
6607 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6608 set dummy ${ac_tool_prefix}strip; ac_word=$2
6609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6610 $as_echo_n "checking for $ac_word... " >&6; }
6611 if test "${ac_cv_prog_STRIP+set}" = set; then :
6612 $as_echo_n "(cached) " >&6
6613 else
6614 if test -n "$STRIP"; then
6615 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6616 else
6617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6618 for as_dir in $PATH
6620 IFS=$as_save_IFS
6621 test -z "$as_dir" && as_dir=.
6622 for ac_exec_ext in '' $ac_executable_extensions; do
6623 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6624 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6625 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6626 break 2
6628 done
6629 done
6630 IFS=$as_save_IFS
6634 STRIP=$ac_cv_prog_STRIP
6635 if test -n "$STRIP"; then
6636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6637 $as_echo "$STRIP" >&6; }
6638 else
6639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6640 $as_echo "no" >&6; }
6645 if test -z "$ac_cv_prog_STRIP"; then
6646 ac_ct_STRIP=$STRIP
6647 # Extract the first word of "strip", so it can be a program name with args.
6648 set dummy strip; ac_word=$2
6649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6650 $as_echo_n "checking for $ac_word... " >&6; }
6651 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6652 $as_echo_n "(cached) " >&6
6653 else
6654 if test -n "$ac_ct_STRIP"; then
6655 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6656 else
6657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6658 for as_dir in $PATH
6660 IFS=$as_save_IFS
6661 test -z "$as_dir" && as_dir=.
6662 for ac_exec_ext in '' $ac_executable_extensions; do
6663 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6664 ac_cv_prog_ac_ct_STRIP="strip"
6665 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6666 break 2
6668 done
6669 done
6670 IFS=$as_save_IFS
6674 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6675 if test -n "$ac_ct_STRIP"; then
6676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6677 $as_echo "$ac_ct_STRIP" >&6; }
6678 else
6679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6680 $as_echo "no" >&6; }
6683 if test "x$ac_ct_STRIP" = x; then
6684 STRIP=":"
6685 else
6686 case $cross_compiling:$ac_tool_warned in
6687 yes:)
6688 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6689 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6690 ac_tool_warned=yes ;;
6691 esac
6692 STRIP=$ac_ct_STRIP
6694 else
6695 STRIP="$ac_cv_prog_STRIP"
6698 test -z "$STRIP" && STRIP=:
6705 if test -n "$ac_tool_prefix"; then
6706 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6707 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6709 $as_echo_n "checking for $ac_word... " >&6; }
6710 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6711 $as_echo_n "(cached) " >&6
6712 else
6713 if test -n "$RANLIB"; then
6714 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6715 else
6716 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6717 for as_dir in $PATH
6719 IFS=$as_save_IFS
6720 test -z "$as_dir" && as_dir=.
6721 for ac_exec_ext in '' $ac_executable_extensions; do
6722 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6723 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6724 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6725 break 2
6727 done
6728 done
6729 IFS=$as_save_IFS
6733 RANLIB=$ac_cv_prog_RANLIB
6734 if test -n "$RANLIB"; then
6735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6736 $as_echo "$RANLIB" >&6; }
6737 else
6738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6739 $as_echo "no" >&6; }
6744 if test -z "$ac_cv_prog_RANLIB"; then
6745 ac_ct_RANLIB=$RANLIB
6746 # Extract the first word of "ranlib", so it can be a program name with args.
6747 set dummy ranlib; ac_word=$2
6748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6749 $as_echo_n "checking for $ac_word... " >&6; }
6750 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6751 $as_echo_n "(cached) " >&6
6752 else
6753 if test -n "$ac_ct_RANLIB"; then
6754 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6755 else
6756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6757 for as_dir in $PATH
6759 IFS=$as_save_IFS
6760 test -z "$as_dir" && as_dir=.
6761 for ac_exec_ext in '' $ac_executable_extensions; do
6762 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6763 ac_cv_prog_ac_ct_RANLIB="ranlib"
6764 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6765 break 2
6767 done
6768 done
6769 IFS=$as_save_IFS
6773 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6774 if test -n "$ac_ct_RANLIB"; then
6775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6776 $as_echo "$ac_ct_RANLIB" >&6; }
6777 else
6778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6779 $as_echo "no" >&6; }
6782 if test "x$ac_ct_RANLIB" = x; then
6783 RANLIB=":"
6784 else
6785 case $cross_compiling:$ac_tool_warned in
6786 yes:)
6787 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6788 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6789 ac_tool_warned=yes ;;
6790 esac
6791 RANLIB=$ac_ct_RANLIB
6793 else
6794 RANLIB="$ac_cv_prog_RANLIB"
6797 test -z "$RANLIB" && RANLIB=:
6804 # Determine commands to create old-style static archives.
6805 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6806 old_postinstall_cmds='chmod 644 $oldlib'
6807 old_postuninstall_cmds=
6809 if test -n "$RANLIB"; then
6810 case $host_os in
6811 openbsd*)
6812 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6815 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6817 esac
6818 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6821 case $host_os in
6822 darwin*)
6823 lock_old_archive_extraction=yes ;;
6825 lock_old_archive_extraction=no ;;
6826 esac
6866 # If no C compiler was specified, use CC.
6867 LTCC=${LTCC-"$CC"}
6869 # If no C compiler flags were specified, use CFLAGS.
6870 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6872 # Allow CC to be a program name with arguments.
6873 compiler=$CC
6876 # Check for command to grab the raw symbol name followed by C symbol from nm.
6877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6878 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6879 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6880 $as_echo_n "(cached) " >&6
6881 else
6883 # These are sane defaults that work on at least a few old systems.
6884 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6886 # Character class describing NM global symbol codes.
6887 symcode='[BCDEGRST]'
6889 # Regexp to match symbols that can be accessed directly from C.
6890 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6892 # Define system-specific variables.
6893 case $host_os in
6894 aix*)
6895 symcode='[BCDT]'
6897 cygwin* | mingw* | pw32* | cegcc*)
6898 symcode='[ABCDGISTW]'
6900 hpux*)
6901 if test "$host_cpu" = ia64; then
6902 symcode='[ABCDEGRST]'
6905 irix* | nonstopux*)
6906 symcode='[BCDEGRST]'
6908 osf*)
6909 symcode='[BCDEGQRST]'
6911 solaris*)
6912 symcode='[BDRT]'
6914 sco3.2v5*)
6915 symcode='[DT]'
6917 sysv4.2uw2*)
6918 symcode='[DT]'
6920 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6921 symcode='[ABDT]'
6923 sysv4)
6924 symcode='[DFNSTU]'
6926 esac
6928 # If we're using GNU nm, then use its standard symbol codes.
6929 case `$NM -V 2>&1` in
6930 *GNU* | *'with BFD'*)
6931 symcode='[ABCDGIRSTW]' ;;
6932 esac
6934 # Transform an extracted symbol line into a proper C declaration.
6935 # Some systems (esp. on ia64) link data and code symbols differently,
6936 # so use this general approach.
6937 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6939 # Transform an extracted symbol line into symbol name and symbol address
6940 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6941 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
6943 # Handle CRLF in mingw tool chain
6944 opt_cr=
6945 case $build_os in
6946 mingw*)
6947 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6949 esac
6951 # Try without a prefix underscore, then with it.
6952 for ac_symprfx in "" "_"; do
6954 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6955 symxfrm="\\1 $ac_symprfx\\2 \\2"
6957 # Write the raw and C identifiers.
6958 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6959 # Fake it for dumpbin and say T for any non-static function
6960 # and D for any global variable.
6961 # Also find C++ and __fastcall symbols from MSVC++,
6962 # which start with @ or ?.
6963 lt_cv_sys_global_symbol_pipe="$AWK '"\
6964 " {last_section=section; section=\$ 3};"\
6965 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6966 " \$ 0!~/External *\|/{next};"\
6967 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6968 " {if(hide[section]) next};"\
6969 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6970 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6971 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6972 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6973 " ' prfx=^$ac_symprfx"
6974 else
6975 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6978 # Check to see that the pipe works correctly.
6979 pipe_works=no
6981 rm -f conftest*
6982 cat > conftest.$ac_ext <<_LT_EOF
6983 #ifdef __cplusplus
6984 extern "C" {
6985 #endif
6986 char nm_test_var;
6987 void nm_test_func(void);
6988 void nm_test_func(void){}
6989 #ifdef __cplusplus
6991 #endif
6992 int main(){nm_test_var='a';nm_test_func();return(0);}
6993 _LT_EOF
6995 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6996 (eval $ac_compile) 2>&5
6997 ac_status=$?
6998 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6999 test $ac_status = 0; }; then
7000 # Now try to grab the symbols.
7001 nlist=conftest.nm
7002 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7003 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7004 ac_status=$?
7005 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7006 test $ac_status = 0; } && test -s "$nlist"; then
7007 # Try sorting and uniquifying the output.
7008 if sort "$nlist" | uniq > "$nlist"T; then
7009 mv -f "$nlist"T "$nlist"
7010 else
7011 rm -f "$nlist"T
7014 # Make sure that we snagged all the symbols we need.
7015 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7016 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7017 cat <<_LT_EOF > conftest.$ac_ext
7018 #ifdef __cplusplus
7019 extern "C" {
7020 #endif
7022 _LT_EOF
7023 # Now generate the symbol file.
7024 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7026 cat <<_LT_EOF >> conftest.$ac_ext
7028 /* The mapping between symbol names and symbols. */
7029 const struct {
7030 const char *name;
7031 void *address;
7033 lt__PROGRAM__LTX_preloaded_symbols[] =
7035 { "@PROGRAM@", (void *) 0 },
7036 _LT_EOF
7037 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7038 cat <<\_LT_EOF >> conftest.$ac_ext
7039 {0, (void *) 0}
7042 /* This works around a problem in FreeBSD linker */
7043 #ifdef FREEBSD_WORKAROUND
7044 static const void *lt_preloaded_setup() {
7045 return lt__PROGRAM__LTX_preloaded_symbols;
7047 #endif
7049 #ifdef __cplusplus
7051 #endif
7052 _LT_EOF
7053 # Now try linking the two files.
7054 mv conftest.$ac_objext conftstm.$ac_objext
7055 lt_save_LIBS="$LIBS"
7056 lt_save_CFLAGS="$CFLAGS"
7057 LIBS="conftstm.$ac_objext"
7058 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7059 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7060 (eval $ac_link) 2>&5
7061 ac_status=$?
7062 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7063 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7064 pipe_works=yes
7066 LIBS="$lt_save_LIBS"
7067 CFLAGS="$lt_save_CFLAGS"
7068 else
7069 echo "cannot find nm_test_func in $nlist" >&5
7071 else
7072 echo "cannot find nm_test_var in $nlist" >&5
7074 else
7075 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7077 else
7078 echo "$progname: failed program was:" >&5
7079 cat conftest.$ac_ext >&5
7081 rm -rf conftest* conftst*
7083 # Do not use the global_symbol_pipe unless it works.
7084 if test "$pipe_works" = yes; then
7085 break
7086 else
7087 lt_cv_sys_global_symbol_pipe=
7089 done
7093 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7094 lt_cv_sys_global_symbol_to_cdecl=
7096 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7098 $as_echo "failed" >&6; }
7099 else
7100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7101 $as_echo "ok" >&6; }
7125 # Check whether --enable-libtool-lock was given.
7126 if test "${enable_libtool_lock+set}" = set; then :
7127 enableval=$enable_libtool_lock;
7130 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7132 # Some flags need to be propagated to the compiler or linker for good
7133 # libtool support.
7134 case $host in
7135 ia64-*-hpux*)
7136 # Find out which ABI we are using.
7137 echo 'int i;' > conftest.$ac_ext
7138 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7139 (eval $ac_compile) 2>&5
7140 ac_status=$?
7141 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7142 test $ac_status = 0; }; then
7143 case `/usr/bin/file conftest.$ac_objext` in
7144 *ELF-32*)
7145 HPUX_IA64_MODE="32"
7147 *ELF-64*)
7148 HPUX_IA64_MODE="64"
7150 esac
7152 rm -rf conftest*
7154 *-*-irix6*)
7155 # Find out which ABI we are using.
7156 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7157 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7158 (eval $ac_compile) 2>&5
7159 ac_status=$?
7160 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7161 test $ac_status = 0; }; then
7162 if test "$lt_cv_prog_gnu_ld" = yes; then
7163 case `/usr/bin/file conftest.$ac_objext` in
7164 *32-bit*)
7165 LD="${LD-ld} -melf32bsmip"
7167 *N32*)
7168 LD="${LD-ld} -melf32bmipn32"
7170 *64-bit*)
7171 LD="${LD-ld} -melf64bmip"
7173 esac
7174 else
7175 case `/usr/bin/file conftest.$ac_objext` in
7176 *32-bit*)
7177 LD="${LD-ld} -32"
7179 *N32*)
7180 LD="${LD-ld} -n32"
7182 *64-bit*)
7183 LD="${LD-ld} -64"
7185 esac
7188 rm -rf conftest*
7191 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7192 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7193 # Find out which ABI we are using.
7194 echo 'int i;' > conftest.$ac_ext
7195 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7196 (eval $ac_compile) 2>&5
7197 ac_status=$?
7198 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7199 test $ac_status = 0; }; then
7200 case `/usr/bin/file conftest.o` in
7201 *32-bit*)
7202 case $host in
7203 x86_64-*kfreebsd*-gnu)
7204 LD="${LD-ld} -m elf_i386_fbsd"
7206 x86_64-*linux*)
7207 case `/usr/bin/file conftest.o` in
7208 *x86-64*)
7209 LD="${LD-ld} -m elf32_x86_64"
7212 LD="${LD-ld} -m elf_i386"
7214 esac
7216 powerpc64le-*linux*)
7217 LD="${LD-ld} -m elf32lppclinux"
7219 powerpc64-*linux*)
7220 LD="${LD-ld} -m elf32ppclinux"
7222 s390x-*linux*)
7223 LD="${LD-ld} -m elf_s390"
7225 sparc64-*linux*)
7226 LD="${LD-ld} -m elf32_sparc"
7228 esac
7230 *64-bit*)
7231 case $host in
7232 x86_64-*kfreebsd*-gnu)
7233 LD="${LD-ld} -m elf_x86_64_fbsd"
7235 x86_64-*linux*)
7236 LD="${LD-ld} -m elf_x86_64"
7238 powerpcle-*linux*)
7239 LD="${LD-ld} -m elf64lppc"
7241 powerpc-*linux*)
7242 LD="${LD-ld} -m elf64ppc"
7244 s390*-*linux*|s390*-*tpf*)
7245 LD="${LD-ld} -m elf64_s390"
7247 sparc*-*linux*)
7248 LD="${LD-ld} -m elf64_sparc"
7250 esac
7252 esac
7254 rm -rf conftest*
7257 *-*-sco3.2v5*)
7258 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7259 SAVE_CFLAGS="$CFLAGS"
7260 CFLAGS="$CFLAGS -belf"
7261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7262 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7263 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7264 $as_echo_n "(cached) " >&6
7265 else
7266 ac_ext=c
7267 ac_cpp='$CPP $CPPFLAGS'
7268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7272 if test x$gcc_no_link = xyes; then
7273 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7276 /* end confdefs.h. */
7279 main ()
7283 return 0;
7285 _ACEOF
7286 if ac_fn_c_try_link "$LINENO"; then :
7287 lt_cv_cc_needs_belf=yes
7288 else
7289 lt_cv_cc_needs_belf=no
7291 rm -f core conftest.err conftest.$ac_objext \
7292 conftest$ac_exeext conftest.$ac_ext
7293 ac_ext=c
7294 ac_cpp='$CPP $CPPFLAGS'
7295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7301 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7302 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7303 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7304 CFLAGS="$SAVE_CFLAGS"
7307 sparc*-*solaris*)
7308 # Find out which ABI we are using.
7309 echo 'int i;' > conftest.$ac_ext
7310 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7311 (eval $ac_compile) 2>&5
7312 ac_status=$?
7313 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7314 test $ac_status = 0; }; then
7315 case `/usr/bin/file conftest.o` in
7316 *64-bit*)
7317 case $lt_cv_prog_gnu_ld in
7318 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7320 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7321 LD="${LD-ld} -64"
7324 esac
7326 esac
7328 rm -rf conftest*
7330 esac
7332 need_locks="$enable_libtool_lock"
7335 case $host_os in
7336 rhapsody* | darwin*)
7337 if test -n "$ac_tool_prefix"; then
7338 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7339 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7341 $as_echo_n "checking for $ac_word... " >&6; }
7342 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7343 $as_echo_n "(cached) " >&6
7344 else
7345 if test -n "$DSYMUTIL"; then
7346 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7347 else
7348 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7349 for as_dir in $PATH
7351 IFS=$as_save_IFS
7352 test -z "$as_dir" && as_dir=.
7353 for ac_exec_ext in '' $ac_executable_extensions; do
7354 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7355 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7356 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7357 break 2
7359 done
7360 done
7361 IFS=$as_save_IFS
7365 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7366 if test -n "$DSYMUTIL"; then
7367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7368 $as_echo "$DSYMUTIL" >&6; }
7369 else
7370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7371 $as_echo "no" >&6; }
7376 if test -z "$ac_cv_prog_DSYMUTIL"; then
7377 ac_ct_DSYMUTIL=$DSYMUTIL
7378 # Extract the first word of "dsymutil", so it can be a program name with args.
7379 set dummy dsymutil; ac_word=$2
7380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7381 $as_echo_n "checking for $ac_word... " >&6; }
7382 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7383 $as_echo_n "(cached) " >&6
7384 else
7385 if test -n "$ac_ct_DSYMUTIL"; then
7386 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7387 else
7388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7389 for as_dir in $PATH
7391 IFS=$as_save_IFS
7392 test -z "$as_dir" && as_dir=.
7393 for ac_exec_ext in '' $ac_executable_extensions; do
7394 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7395 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7396 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7397 break 2
7399 done
7400 done
7401 IFS=$as_save_IFS
7405 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7406 if test -n "$ac_ct_DSYMUTIL"; then
7407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7408 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7409 else
7410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7411 $as_echo "no" >&6; }
7414 if test "x$ac_ct_DSYMUTIL" = x; then
7415 DSYMUTIL=":"
7416 else
7417 case $cross_compiling:$ac_tool_warned in
7418 yes:)
7419 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7420 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7421 ac_tool_warned=yes ;;
7422 esac
7423 DSYMUTIL=$ac_ct_DSYMUTIL
7425 else
7426 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7429 if test -n "$ac_tool_prefix"; then
7430 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7431 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7433 $as_echo_n "checking for $ac_word... " >&6; }
7434 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7435 $as_echo_n "(cached) " >&6
7436 else
7437 if test -n "$NMEDIT"; then
7438 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7439 else
7440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7441 for as_dir in $PATH
7443 IFS=$as_save_IFS
7444 test -z "$as_dir" && as_dir=.
7445 for ac_exec_ext in '' $ac_executable_extensions; do
7446 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7447 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7448 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7449 break 2
7451 done
7452 done
7453 IFS=$as_save_IFS
7457 NMEDIT=$ac_cv_prog_NMEDIT
7458 if test -n "$NMEDIT"; then
7459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7460 $as_echo "$NMEDIT" >&6; }
7461 else
7462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7463 $as_echo "no" >&6; }
7468 if test -z "$ac_cv_prog_NMEDIT"; then
7469 ac_ct_NMEDIT=$NMEDIT
7470 # Extract the first word of "nmedit", so it can be a program name with args.
7471 set dummy nmedit; ac_word=$2
7472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7473 $as_echo_n "checking for $ac_word... " >&6; }
7474 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7475 $as_echo_n "(cached) " >&6
7476 else
7477 if test -n "$ac_ct_NMEDIT"; then
7478 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7479 else
7480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7481 for as_dir in $PATH
7483 IFS=$as_save_IFS
7484 test -z "$as_dir" && as_dir=.
7485 for ac_exec_ext in '' $ac_executable_extensions; do
7486 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7487 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7488 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7489 break 2
7491 done
7492 done
7493 IFS=$as_save_IFS
7497 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7498 if test -n "$ac_ct_NMEDIT"; then
7499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7500 $as_echo "$ac_ct_NMEDIT" >&6; }
7501 else
7502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7503 $as_echo "no" >&6; }
7506 if test "x$ac_ct_NMEDIT" = x; then
7507 NMEDIT=":"
7508 else
7509 case $cross_compiling:$ac_tool_warned in
7510 yes:)
7511 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7512 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7513 ac_tool_warned=yes ;;
7514 esac
7515 NMEDIT=$ac_ct_NMEDIT
7517 else
7518 NMEDIT="$ac_cv_prog_NMEDIT"
7521 if test -n "$ac_tool_prefix"; then
7522 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7523 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7525 $as_echo_n "checking for $ac_word... " >&6; }
7526 if test "${ac_cv_prog_LIPO+set}" = set; then :
7527 $as_echo_n "(cached) " >&6
7528 else
7529 if test -n "$LIPO"; then
7530 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7531 else
7532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7533 for as_dir in $PATH
7535 IFS=$as_save_IFS
7536 test -z "$as_dir" && as_dir=.
7537 for ac_exec_ext in '' $ac_executable_extensions; do
7538 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7539 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7540 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7541 break 2
7543 done
7544 done
7545 IFS=$as_save_IFS
7549 LIPO=$ac_cv_prog_LIPO
7550 if test -n "$LIPO"; then
7551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7552 $as_echo "$LIPO" >&6; }
7553 else
7554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7555 $as_echo "no" >&6; }
7560 if test -z "$ac_cv_prog_LIPO"; then
7561 ac_ct_LIPO=$LIPO
7562 # Extract the first word of "lipo", so it can be a program name with args.
7563 set dummy lipo; ac_word=$2
7564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7565 $as_echo_n "checking for $ac_word... " >&6; }
7566 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7567 $as_echo_n "(cached) " >&6
7568 else
7569 if test -n "$ac_ct_LIPO"; then
7570 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7571 else
7572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7573 for as_dir in $PATH
7575 IFS=$as_save_IFS
7576 test -z "$as_dir" && as_dir=.
7577 for ac_exec_ext in '' $ac_executable_extensions; do
7578 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7579 ac_cv_prog_ac_ct_LIPO="lipo"
7580 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7581 break 2
7583 done
7584 done
7585 IFS=$as_save_IFS
7589 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7590 if test -n "$ac_ct_LIPO"; then
7591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7592 $as_echo "$ac_ct_LIPO" >&6; }
7593 else
7594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7595 $as_echo "no" >&6; }
7598 if test "x$ac_ct_LIPO" = x; then
7599 LIPO=":"
7600 else
7601 case $cross_compiling:$ac_tool_warned in
7602 yes:)
7603 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7604 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7605 ac_tool_warned=yes ;;
7606 esac
7607 LIPO=$ac_ct_LIPO
7609 else
7610 LIPO="$ac_cv_prog_LIPO"
7613 if test -n "$ac_tool_prefix"; then
7614 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7615 set dummy ${ac_tool_prefix}otool; ac_word=$2
7616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7617 $as_echo_n "checking for $ac_word... " >&6; }
7618 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7619 $as_echo_n "(cached) " >&6
7620 else
7621 if test -n "$OTOOL"; then
7622 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7623 else
7624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7625 for as_dir in $PATH
7627 IFS=$as_save_IFS
7628 test -z "$as_dir" && as_dir=.
7629 for ac_exec_ext in '' $ac_executable_extensions; do
7630 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7631 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7632 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7633 break 2
7635 done
7636 done
7637 IFS=$as_save_IFS
7641 OTOOL=$ac_cv_prog_OTOOL
7642 if test -n "$OTOOL"; then
7643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7644 $as_echo "$OTOOL" >&6; }
7645 else
7646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7647 $as_echo "no" >&6; }
7652 if test -z "$ac_cv_prog_OTOOL"; then
7653 ac_ct_OTOOL=$OTOOL
7654 # Extract the first word of "otool", so it can be a program name with args.
7655 set dummy otool; ac_word=$2
7656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7657 $as_echo_n "checking for $ac_word... " >&6; }
7658 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7659 $as_echo_n "(cached) " >&6
7660 else
7661 if test -n "$ac_ct_OTOOL"; then
7662 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7663 else
7664 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7665 for as_dir in $PATH
7667 IFS=$as_save_IFS
7668 test -z "$as_dir" && as_dir=.
7669 for ac_exec_ext in '' $ac_executable_extensions; do
7670 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7671 ac_cv_prog_ac_ct_OTOOL="otool"
7672 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7673 break 2
7675 done
7676 done
7677 IFS=$as_save_IFS
7681 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7682 if test -n "$ac_ct_OTOOL"; then
7683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7684 $as_echo "$ac_ct_OTOOL" >&6; }
7685 else
7686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7687 $as_echo "no" >&6; }
7690 if test "x$ac_ct_OTOOL" = x; then
7691 OTOOL=":"
7692 else
7693 case $cross_compiling:$ac_tool_warned in
7694 yes:)
7695 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7696 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7697 ac_tool_warned=yes ;;
7698 esac
7699 OTOOL=$ac_ct_OTOOL
7701 else
7702 OTOOL="$ac_cv_prog_OTOOL"
7705 if test -n "$ac_tool_prefix"; then
7706 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7707 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7709 $as_echo_n "checking for $ac_word... " >&6; }
7710 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7711 $as_echo_n "(cached) " >&6
7712 else
7713 if test -n "$OTOOL64"; then
7714 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7715 else
7716 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7717 for as_dir in $PATH
7719 IFS=$as_save_IFS
7720 test -z "$as_dir" && as_dir=.
7721 for ac_exec_ext in '' $ac_executable_extensions; do
7722 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7723 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7724 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7725 break 2
7727 done
7728 done
7729 IFS=$as_save_IFS
7733 OTOOL64=$ac_cv_prog_OTOOL64
7734 if test -n "$OTOOL64"; then
7735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7736 $as_echo "$OTOOL64" >&6; }
7737 else
7738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7739 $as_echo "no" >&6; }
7744 if test -z "$ac_cv_prog_OTOOL64"; then
7745 ac_ct_OTOOL64=$OTOOL64
7746 # Extract the first word of "otool64", so it can be a program name with args.
7747 set dummy otool64; ac_word=$2
7748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7749 $as_echo_n "checking for $ac_word... " >&6; }
7750 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7751 $as_echo_n "(cached) " >&6
7752 else
7753 if test -n "$ac_ct_OTOOL64"; then
7754 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7755 else
7756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7757 for as_dir in $PATH
7759 IFS=$as_save_IFS
7760 test -z "$as_dir" && as_dir=.
7761 for ac_exec_ext in '' $ac_executable_extensions; do
7762 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7763 ac_cv_prog_ac_ct_OTOOL64="otool64"
7764 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7765 break 2
7767 done
7768 done
7769 IFS=$as_save_IFS
7773 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7774 if test -n "$ac_ct_OTOOL64"; then
7775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7776 $as_echo "$ac_ct_OTOOL64" >&6; }
7777 else
7778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7779 $as_echo "no" >&6; }
7782 if test "x$ac_ct_OTOOL64" = x; then
7783 OTOOL64=":"
7784 else
7785 case $cross_compiling:$ac_tool_warned in
7786 yes:)
7787 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7788 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7789 ac_tool_warned=yes ;;
7790 esac
7791 OTOOL64=$ac_ct_OTOOL64
7793 else
7794 OTOOL64="$ac_cv_prog_OTOOL64"
7823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7824 $as_echo_n "checking for -single_module linker flag... " >&6; }
7825 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7826 $as_echo_n "(cached) " >&6
7827 else
7828 lt_cv_apple_cc_single_mod=no
7829 if test -z "${LT_MULTI_MODULE}"; then
7830 # By default we will add the -single_module flag. You can override
7831 # by either setting the environment variable LT_MULTI_MODULE
7832 # non-empty at configure time, or by adding -multi_module to the
7833 # link flags.
7834 rm -rf libconftest.dylib*
7835 echo "int foo(void){return 1;}" > conftest.c
7836 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7837 -dynamiclib -Wl,-single_module conftest.c" >&5
7838 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7839 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7840 _lt_result=$?
7841 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7842 lt_cv_apple_cc_single_mod=yes
7843 else
7844 cat conftest.err >&5
7846 rm -rf libconftest.dylib*
7847 rm -f conftest.*
7850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7851 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7853 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7854 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7855 $as_echo_n "(cached) " >&6
7856 else
7857 lt_cv_ld_exported_symbols_list=no
7858 save_LDFLAGS=$LDFLAGS
7859 echo "_main" > conftest.sym
7860 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7861 if test x$gcc_no_link = xyes; then
7862 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7865 /* end confdefs.h. */
7868 main ()
7872 return 0;
7874 _ACEOF
7875 if ac_fn_c_try_link "$LINENO"; then :
7876 lt_cv_ld_exported_symbols_list=yes
7877 else
7878 lt_cv_ld_exported_symbols_list=no
7880 rm -f core conftest.err conftest.$ac_objext \
7881 conftest$ac_exeext conftest.$ac_ext
7882 LDFLAGS="$save_LDFLAGS"
7885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7886 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7888 $as_echo_n "checking for -force_load linker flag... " >&6; }
7889 if test "${lt_cv_ld_force_load+set}" = set; then :
7890 $as_echo_n "(cached) " >&6
7891 else
7892 lt_cv_ld_force_load=no
7893 cat > conftest.c << _LT_EOF
7894 int forced_loaded() { return 2;}
7895 _LT_EOF
7896 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7897 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7898 echo "$AR cru libconftest.a conftest.o" >&5
7899 $AR cru libconftest.a conftest.o 2>&5
7900 cat > conftest.c << _LT_EOF
7901 int main() { return 0;}
7902 _LT_EOF
7903 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7904 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7905 _lt_result=$?
7906 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7907 lt_cv_ld_force_load=yes
7908 else
7909 cat conftest.err >&5
7911 rm -f conftest.err libconftest.a conftest conftest.c
7912 rm -rf conftest.dSYM
7915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7916 $as_echo "$lt_cv_ld_force_load" >&6; }
7917 case $host_os in
7918 rhapsody* | darwin1.[012])
7919 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7920 darwin1.*)
7921 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7922 darwin*) # darwin 5.x on
7923 # if running on 10.5 or later, the deployment target defaults
7924 # to the OS version, if on x86, and 10.4, the deployment
7925 # target defaults to 10.4. Don't you love it?
7926 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7927 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7928 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7929 10.[012][,.]*)
7930 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7931 10.*)
7932 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7933 esac
7935 esac
7936 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7937 _lt_dar_single_mod='$single_module'
7939 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7940 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7941 else
7942 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7944 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7945 _lt_dsymutil='~$DSYMUTIL $lib || :'
7946 else
7947 _lt_dsymutil=
7950 esac
7952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7953 $as_echo_n "checking for ANSI C header files... " >&6; }
7954 if test "${ac_cv_header_stdc+set}" = set; then :
7955 $as_echo_n "(cached) " >&6
7956 else
7957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7958 /* end confdefs.h. */
7959 #include <stdlib.h>
7960 #include <stdarg.h>
7961 #include <string.h>
7962 #include <float.h>
7965 main ()
7969 return 0;
7971 _ACEOF
7972 if ac_fn_c_try_compile "$LINENO"; then :
7973 ac_cv_header_stdc=yes
7974 else
7975 ac_cv_header_stdc=no
7977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7979 if test $ac_cv_header_stdc = yes; then
7980 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7982 /* end confdefs.h. */
7983 #include <string.h>
7985 _ACEOF
7986 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7987 $EGREP "memchr" >/dev/null 2>&1; then :
7989 else
7990 ac_cv_header_stdc=no
7992 rm -f conftest*
7996 if test $ac_cv_header_stdc = yes; then
7997 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7999 /* end confdefs.h. */
8000 #include <stdlib.h>
8002 _ACEOF
8003 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8004 $EGREP "free" >/dev/null 2>&1; then :
8006 else
8007 ac_cv_header_stdc=no
8009 rm -f conftest*
8013 if test $ac_cv_header_stdc = yes; then
8014 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8015 if test "$cross_compiling" = yes; then :
8017 else
8018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8019 /* end confdefs.h. */
8020 #include <ctype.h>
8021 #include <stdlib.h>
8022 #if ((' ' & 0x0FF) == 0x020)
8023 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8024 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8025 #else
8026 # define ISLOWER(c) \
8027 (('a' <= (c) && (c) <= 'i') \
8028 || ('j' <= (c) && (c) <= 'r') \
8029 || ('s' <= (c) && (c) <= 'z'))
8030 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8031 #endif
8033 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8035 main ()
8037 int i;
8038 for (i = 0; i < 256; i++)
8039 if (XOR (islower (i), ISLOWER (i))
8040 || toupper (i) != TOUPPER (i))
8041 return 2;
8042 return 0;
8044 _ACEOF
8045 if ac_fn_c_try_run "$LINENO"; then :
8047 else
8048 ac_cv_header_stdc=no
8050 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8051 conftest.$ac_objext conftest.beam conftest.$ac_ext
8056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8057 $as_echo "$ac_cv_header_stdc" >&6; }
8058 if test $ac_cv_header_stdc = yes; then
8060 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8064 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8065 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8066 inttypes.h stdint.h unistd.h
8067 do :
8068 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8069 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8071 eval as_val=\$$as_ac_Header
8072 if test "x$as_val" = x""yes; then :
8073 cat >>confdefs.h <<_ACEOF
8074 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8075 _ACEOF
8079 done
8082 for ac_header in dlfcn.h
8083 do :
8084 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8086 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
8087 cat >>confdefs.h <<_ACEOF
8088 #define HAVE_DLFCN_H 1
8089 _ACEOF
8093 done
8100 # Set options
8105 enable_win32_dll=no
8108 # Check whether --enable-shared was given.
8109 if test "${enable_shared+set}" = set; then :
8110 enableval=$enable_shared; p=${PACKAGE-default}
8111 case $enableval in
8112 yes) enable_shared=yes ;;
8113 no) enable_shared=no ;;
8115 enable_shared=no
8116 # Look at the argument we got. We use all the common list separators.
8117 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8118 for pkg in $enableval; do
8119 IFS="$lt_save_ifs"
8120 if test "X$pkg" = "X$p"; then
8121 enable_shared=yes
8123 done
8124 IFS="$lt_save_ifs"
8126 esac
8127 else
8128 enable_shared=yes
8139 # Check whether --enable-static was given.
8140 if test "${enable_static+set}" = set; then :
8141 enableval=$enable_static; p=${PACKAGE-default}
8142 case $enableval in
8143 yes) enable_static=yes ;;
8144 no) enable_static=no ;;
8146 enable_static=no
8147 # Look at the argument we got. We use all the common list separators.
8148 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8149 for pkg in $enableval; do
8150 IFS="$lt_save_ifs"
8151 if test "X$pkg" = "X$p"; then
8152 enable_static=yes
8154 done
8155 IFS="$lt_save_ifs"
8157 esac
8158 else
8159 enable_static=yes
8171 # Check whether --with-pic was given.
8172 if test "${with_pic+set}" = set; then :
8173 withval=$with_pic; pic_mode="$withval"
8174 else
8175 pic_mode=default
8179 test -z "$pic_mode" && pic_mode=default
8187 # Check whether --enable-fast-install was given.
8188 if test "${enable_fast_install+set}" = set; then :
8189 enableval=$enable_fast_install; p=${PACKAGE-default}
8190 case $enableval in
8191 yes) enable_fast_install=yes ;;
8192 no) enable_fast_install=no ;;
8194 enable_fast_install=no
8195 # Look at the argument we got. We use all the common list separators.
8196 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8197 for pkg in $enableval; do
8198 IFS="$lt_save_ifs"
8199 if test "X$pkg" = "X$p"; then
8200 enable_fast_install=yes
8202 done
8203 IFS="$lt_save_ifs"
8205 esac
8206 else
8207 enable_fast_install=yes
8220 # This can be used to rebuild libtool when needed
8221 LIBTOOL_DEPS="$ltmain"
8223 # Always use our own libtool.
8224 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8251 test -z "$LN_S" && LN_S="ln -s"
8266 if test -n "${ZSH_VERSION+set}" ; then
8267 setopt NO_GLOB_SUBST
8270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8271 $as_echo_n "checking for objdir... " >&6; }
8272 if test "${lt_cv_objdir+set}" = set; then :
8273 $as_echo_n "(cached) " >&6
8274 else
8275 rm -f .libs 2>/dev/null
8276 mkdir .libs 2>/dev/null
8277 if test -d .libs; then
8278 lt_cv_objdir=.libs
8279 else
8280 # MS-DOS does not allow filenames that begin with a dot.
8281 lt_cv_objdir=_libs
8283 rmdir .libs 2>/dev/null
8285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8286 $as_echo "$lt_cv_objdir" >&6; }
8287 objdir=$lt_cv_objdir
8293 cat >>confdefs.h <<_ACEOF
8294 #define LT_OBJDIR "$lt_cv_objdir/"
8295 _ACEOF
8300 case $host_os in
8301 aix3*)
8302 # AIX sometimes has problems with the GCC collect2 program. For some
8303 # reason, if we set the COLLECT_NAMES environment variable, the problems
8304 # vanish in a puff of smoke.
8305 if test "X${COLLECT_NAMES+set}" != Xset; then
8306 COLLECT_NAMES=
8307 export COLLECT_NAMES
8310 esac
8312 # Global variables:
8313 ofile=libtool
8314 can_build_shared=yes
8316 # All known linkers require a `.a' archive for static linking (except MSVC,
8317 # which needs '.lib').
8318 libext=a
8320 with_gnu_ld="$lt_cv_prog_gnu_ld"
8322 old_CC="$CC"
8323 old_CFLAGS="$CFLAGS"
8325 # Set sane defaults for various variables
8326 test -z "$CC" && CC=cc
8327 test -z "$LTCC" && LTCC=$CC
8328 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8329 test -z "$LD" && LD=ld
8330 test -z "$ac_objext" && ac_objext=o
8332 for cc_temp in $compiler""; do
8333 case $cc_temp in
8334 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8335 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8336 \-*) ;;
8337 *) break;;
8338 esac
8339 done
8340 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8343 # Only perform the check for file, if the check method requires it
8344 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8345 case $deplibs_check_method in
8346 file_magic*)
8347 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8349 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8350 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8351 $as_echo_n "(cached) " >&6
8352 else
8353 case $MAGIC_CMD in
8354 [\\/*] | ?:[\\/]*)
8355 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8358 lt_save_MAGIC_CMD="$MAGIC_CMD"
8359 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8360 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8361 for ac_dir in $ac_dummy; do
8362 IFS="$lt_save_ifs"
8363 test -z "$ac_dir" && ac_dir=.
8364 if test -f $ac_dir/${ac_tool_prefix}file; then
8365 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8366 if test -n "$file_magic_test_file"; then
8367 case $deplibs_check_method in
8368 "file_magic "*)
8369 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8370 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8371 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8372 $EGREP "$file_magic_regex" > /dev/null; then
8374 else
8375 cat <<_LT_EOF 1>&2
8377 *** Warning: the command libtool uses to detect shared libraries,
8378 *** $file_magic_cmd, produces output that libtool cannot recognize.
8379 *** The result is that libtool may fail to recognize shared libraries
8380 *** as such. This will affect the creation of libtool libraries that
8381 *** depend on shared libraries, but programs linked with such libtool
8382 *** libraries will work regardless of this problem. Nevertheless, you
8383 *** may want to report the problem to your system manager and/or to
8384 *** bug-libtool@gnu.org
8386 _LT_EOF
8387 fi ;;
8388 esac
8390 break
8392 done
8393 IFS="$lt_save_ifs"
8394 MAGIC_CMD="$lt_save_MAGIC_CMD"
8396 esac
8399 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8400 if test -n "$MAGIC_CMD"; then
8401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8402 $as_echo "$MAGIC_CMD" >&6; }
8403 else
8404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8405 $as_echo "no" >&6; }
8412 if test -z "$lt_cv_path_MAGIC_CMD"; then
8413 if test -n "$ac_tool_prefix"; then
8414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8415 $as_echo_n "checking for file... " >&6; }
8416 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8417 $as_echo_n "(cached) " >&6
8418 else
8419 case $MAGIC_CMD in
8420 [\\/*] | ?:[\\/]*)
8421 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8424 lt_save_MAGIC_CMD="$MAGIC_CMD"
8425 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8426 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8427 for ac_dir in $ac_dummy; do
8428 IFS="$lt_save_ifs"
8429 test -z "$ac_dir" && ac_dir=.
8430 if test -f $ac_dir/file; then
8431 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8432 if test -n "$file_magic_test_file"; then
8433 case $deplibs_check_method in
8434 "file_magic "*)
8435 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8436 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8437 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8438 $EGREP "$file_magic_regex" > /dev/null; then
8440 else
8441 cat <<_LT_EOF 1>&2
8443 *** Warning: the command libtool uses to detect shared libraries,
8444 *** $file_magic_cmd, produces output that libtool cannot recognize.
8445 *** The result is that libtool may fail to recognize shared libraries
8446 *** as such. This will affect the creation of libtool libraries that
8447 *** depend on shared libraries, but programs linked with such libtool
8448 *** libraries will work regardless of this problem. Nevertheless, you
8449 *** may want to report the problem to your system manager and/or to
8450 *** bug-libtool@gnu.org
8452 _LT_EOF
8453 fi ;;
8454 esac
8456 break
8458 done
8459 IFS="$lt_save_ifs"
8460 MAGIC_CMD="$lt_save_MAGIC_CMD"
8462 esac
8465 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8466 if test -n "$MAGIC_CMD"; then
8467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8468 $as_echo "$MAGIC_CMD" >&6; }
8469 else
8470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8471 $as_echo "no" >&6; }
8475 else
8476 MAGIC_CMD=:
8482 esac
8484 # Use C for the default configuration in the libtool script
8486 lt_save_CC="$CC"
8487 ac_ext=c
8488 ac_cpp='$CPP $CPPFLAGS'
8489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8494 # Source file extension for C test sources.
8495 ac_ext=c
8497 # Object file extension for compiled C test sources.
8498 objext=o
8499 objext=$objext
8501 # Code to be used in simple compile tests
8502 lt_simple_compile_test_code="int some_variable = 0;"
8504 # Code to be used in simple link tests
8505 lt_simple_link_test_code='int main(){return(0);}'
8513 # If no C compiler was specified, use CC.
8514 LTCC=${LTCC-"$CC"}
8516 # If no C compiler flags were specified, use CFLAGS.
8517 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8519 # Allow CC to be a program name with arguments.
8520 compiler=$CC
8522 # Save the default compiler, since it gets overwritten when the other
8523 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8524 compiler_DEFAULT=$CC
8526 # save warnings/boilerplate of simple test code
8527 ac_outfile=conftest.$ac_objext
8528 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8529 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8530 _lt_compiler_boilerplate=`cat conftest.err`
8531 $RM conftest*
8533 ac_outfile=conftest.$ac_objext
8534 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8535 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8536 _lt_linker_boilerplate=`cat conftest.err`
8537 $RM -r conftest*
8540 ## CAVEAT EMPTOR:
8541 ## There is no encapsulation within the following macros, do not change
8542 ## the running order or otherwise move them around unless you know exactly
8543 ## what you are doing...
8544 if test -n "$compiler"; then
8546 lt_prog_compiler_no_builtin_flag=
8548 if test "$GCC" = yes; then
8549 case $cc_basename in
8550 nvcc*)
8551 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8553 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8554 esac
8556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8557 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8558 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8559 $as_echo_n "(cached) " >&6
8560 else
8561 lt_cv_prog_compiler_rtti_exceptions=no
8562 ac_outfile=conftest.$ac_objext
8563 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8564 lt_compiler_flag="-fno-rtti -fno-exceptions"
8565 # Insert the option either (1) after the last *FLAGS variable, or
8566 # (2) before a word containing "conftest.", or (3) at the end.
8567 # Note that $ac_compile itself does not contain backslashes and begins
8568 # with a dollar sign (not a hyphen), so the echo should work correctly.
8569 # The option is referenced via a variable to avoid confusing sed.
8570 lt_compile=`echo "$ac_compile" | $SED \
8571 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8572 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8573 -e 's:$: $lt_compiler_flag:'`
8574 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8575 (eval "$lt_compile" 2>conftest.err)
8576 ac_status=$?
8577 cat conftest.err >&5
8578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8579 if (exit $ac_status) && test -s "$ac_outfile"; then
8580 # The compiler can only warn and ignore the option if not recognized
8581 # So say no if there are warnings other than the usual output.
8582 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8583 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8584 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8585 lt_cv_prog_compiler_rtti_exceptions=yes
8588 $RM conftest*
8591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8592 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8594 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8595 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8596 else
8607 lt_prog_compiler_wl=
8608 lt_prog_compiler_pic=
8609 lt_prog_compiler_static=
8611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8612 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8614 if test "$GCC" = yes; then
8615 lt_prog_compiler_wl='-Wl,'
8616 lt_prog_compiler_static='-static'
8618 case $host_os in
8619 aix*)
8620 # All AIX code is PIC.
8621 if test "$host_cpu" = ia64; then
8622 # AIX 5 now supports IA64 processor
8623 lt_prog_compiler_static='-Bstatic'
8625 lt_prog_compiler_pic='-fPIC'
8628 amigaos*)
8629 case $host_cpu in
8630 powerpc)
8631 # see comment about AmigaOS4 .so support
8632 lt_prog_compiler_pic='-fPIC'
8634 m68k)
8635 # FIXME: we need at least 68020 code to build shared libraries, but
8636 # adding the `-m68020' flag to GCC prevents building anything better,
8637 # like `-m68040'.
8638 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8640 esac
8643 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8644 # PIC is the default for these OSes.
8647 mingw* | cygwin* | pw32* | os2* | cegcc*)
8648 # This hack is so that the source file can tell whether it is being
8649 # built for inclusion in a dll (and should export symbols for example).
8650 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8651 # (--disable-auto-import) libraries
8652 lt_prog_compiler_pic='-DDLL_EXPORT'
8655 darwin* | rhapsody*)
8656 # PIC is the default on this platform
8657 # Common symbols not allowed in MH_DYLIB files
8658 lt_prog_compiler_pic='-fno-common'
8661 haiku*)
8662 # PIC is the default for Haiku.
8663 # The "-static" flag exists, but is broken.
8664 lt_prog_compiler_static=
8667 hpux*)
8668 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8669 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8670 # sets the default TLS model and affects inlining.
8671 case $host_cpu in
8672 hppa*64*)
8673 # +Z the default
8676 lt_prog_compiler_pic='-fPIC'
8678 esac
8681 interix[3-9]*)
8682 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8683 # Instead, we relocate shared libraries at runtime.
8686 msdosdjgpp*)
8687 # Just because we use GCC doesn't mean we suddenly get shared libraries
8688 # on systems that don't support them.
8689 lt_prog_compiler_can_build_shared=no
8690 enable_shared=no
8693 *nto* | *qnx*)
8694 # QNX uses GNU C++, but need to define -shared option too, otherwise
8695 # it will coredump.
8696 lt_prog_compiler_pic='-fPIC -shared'
8699 sysv4*MP*)
8700 if test -d /usr/nec; then
8701 lt_prog_compiler_pic=-Kconform_pic
8706 lt_prog_compiler_pic='-fPIC'
8708 esac
8710 case $cc_basename in
8711 nvcc*) # Cuda Compiler Driver 2.2
8712 lt_prog_compiler_wl='-Xlinker '
8713 lt_prog_compiler_pic='-Xcompiler -fPIC'
8715 esac
8716 else
8717 # PORTME Check for flag to pass linker flags through the system compiler.
8718 case $host_os in
8719 aix*)
8720 lt_prog_compiler_wl='-Wl,'
8721 if test "$host_cpu" = ia64; then
8722 # AIX 5 now supports IA64 processor
8723 lt_prog_compiler_static='-Bstatic'
8724 else
8725 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8729 mingw* | cygwin* | pw32* | os2* | cegcc*)
8730 # This hack is so that the source file can tell whether it is being
8731 # built for inclusion in a dll (and should export symbols for example).
8732 lt_prog_compiler_pic='-DDLL_EXPORT'
8735 hpux9* | hpux10* | hpux11*)
8736 lt_prog_compiler_wl='-Wl,'
8737 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8738 # not for PA HP-UX.
8739 case $host_cpu in
8740 hppa*64*|ia64*)
8741 # +Z the default
8744 lt_prog_compiler_pic='+Z'
8746 esac
8747 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8748 lt_prog_compiler_static='${wl}-a ${wl}archive'
8751 irix5* | irix6* | nonstopux*)
8752 lt_prog_compiler_wl='-Wl,'
8753 # PIC (with -KPIC) is the default.
8754 lt_prog_compiler_static='-non_shared'
8757 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8758 case $cc_basename in
8759 # old Intel for x86_64 which still supported -KPIC.
8760 ecc*)
8761 lt_prog_compiler_wl='-Wl,'
8762 lt_prog_compiler_pic='-KPIC'
8763 lt_prog_compiler_static='-static'
8765 # icc used to be incompatible with GCC.
8766 # ICC 10 doesn't accept -KPIC any more.
8767 icc* | ifort*)
8768 lt_prog_compiler_wl='-Wl,'
8769 lt_prog_compiler_pic='-fPIC'
8770 lt_prog_compiler_static='-static'
8772 # Lahey Fortran 8.1.
8773 lf95*)
8774 lt_prog_compiler_wl='-Wl,'
8775 lt_prog_compiler_pic='--shared'
8776 lt_prog_compiler_static='--static'
8778 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8779 # Portland Group compilers (*not* the Pentium gcc compiler,
8780 # which looks to be a dead project)
8781 lt_prog_compiler_wl='-Wl,'
8782 lt_prog_compiler_pic='-fpic'
8783 lt_prog_compiler_static='-Bstatic'
8785 ccc*)
8786 lt_prog_compiler_wl='-Wl,'
8787 # All Alpha code is PIC.
8788 lt_prog_compiler_static='-non_shared'
8790 xl* | bgxl* | bgf* | mpixl*)
8791 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8792 lt_prog_compiler_wl='-Wl,'
8793 lt_prog_compiler_pic='-qpic'
8794 lt_prog_compiler_static='-qstaticlink'
8797 case `$CC -V 2>&1 | sed 5q` in
8798 *Sun\ F* | *Sun*Fortran*)
8799 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8800 lt_prog_compiler_pic='-KPIC'
8801 lt_prog_compiler_static='-Bstatic'
8802 lt_prog_compiler_wl=''
8804 *Sun\ C*)
8805 # Sun C 5.9
8806 lt_prog_compiler_pic='-KPIC'
8807 lt_prog_compiler_static='-Bstatic'
8808 lt_prog_compiler_wl='-Wl,'
8810 esac
8812 esac
8815 newsos6)
8816 lt_prog_compiler_pic='-KPIC'
8817 lt_prog_compiler_static='-Bstatic'
8820 *nto* | *qnx*)
8821 # QNX uses GNU C++, but need to define -shared option too, otherwise
8822 # it will coredump.
8823 lt_prog_compiler_pic='-fPIC -shared'
8826 osf3* | osf4* | osf5*)
8827 lt_prog_compiler_wl='-Wl,'
8828 # All OSF/1 code is PIC.
8829 lt_prog_compiler_static='-non_shared'
8832 rdos*)
8833 lt_prog_compiler_static='-non_shared'
8836 solaris*)
8837 lt_prog_compiler_pic='-KPIC'
8838 lt_prog_compiler_static='-Bstatic'
8839 case $cc_basename in
8840 f77* | f90* | f95*)
8841 lt_prog_compiler_wl='-Qoption ld ';;
8843 lt_prog_compiler_wl='-Wl,';;
8844 esac
8847 sunos4*)
8848 lt_prog_compiler_wl='-Qoption ld '
8849 lt_prog_compiler_pic='-PIC'
8850 lt_prog_compiler_static='-Bstatic'
8853 sysv4 | sysv4.2uw2* | sysv4.3*)
8854 lt_prog_compiler_wl='-Wl,'
8855 lt_prog_compiler_pic='-KPIC'
8856 lt_prog_compiler_static='-Bstatic'
8859 sysv4*MP*)
8860 if test -d /usr/nec ;then
8861 lt_prog_compiler_pic='-Kconform_pic'
8862 lt_prog_compiler_static='-Bstatic'
8866 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8867 lt_prog_compiler_wl='-Wl,'
8868 lt_prog_compiler_pic='-KPIC'
8869 lt_prog_compiler_static='-Bstatic'
8872 unicos*)
8873 lt_prog_compiler_wl='-Wl,'
8874 lt_prog_compiler_can_build_shared=no
8877 uts4*)
8878 lt_prog_compiler_pic='-pic'
8879 lt_prog_compiler_static='-Bstatic'
8883 lt_prog_compiler_can_build_shared=no
8885 esac
8888 case $host_os in
8889 # For platforms which do not support PIC, -DPIC is meaningless:
8890 *djgpp*)
8891 lt_prog_compiler_pic=
8894 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8896 esac
8897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8898 $as_echo "$lt_prog_compiler_pic" >&6; }
8906 # Check to make sure the PIC flag actually works.
8908 if test -n "$lt_prog_compiler_pic"; then
8909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8910 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8911 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8912 $as_echo_n "(cached) " >&6
8913 else
8914 lt_cv_prog_compiler_pic_works=no
8915 ac_outfile=conftest.$ac_objext
8916 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8917 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8918 # Insert the option either (1) after the last *FLAGS variable, or
8919 # (2) before a word containing "conftest.", or (3) at the end.
8920 # Note that $ac_compile itself does not contain backslashes and begins
8921 # with a dollar sign (not a hyphen), so the echo should work correctly.
8922 # The option is referenced via a variable to avoid confusing sed.
8923 lt_compile=`echo "$ac_compile" | $SED \
8924 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8925 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8926 -e 's:$: $lt_compiler_flag:'`
8927 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8928 (eval "$lt_compile" 2>conftest.err)
8929 ac_status=$?
8930 cat conftest.err >&5
8931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8932 if (exit $ac_status) && test -s "$ac_outfile"; then
8933 # The compiler can only warn and ignore the option if not recognized
8934 # So say no if there are warnings other than the usual output.
8935 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8936 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8937 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8938 lt_cv_prog_compiler_pic_works=yes
8941 $RM conftest*
8944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8945 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8947 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8948 case $lt_prog_compiler_pic in
8949 "" | " "*) ;;
8950 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8951 esac
8952 else
8953 lt_prog_compiler_pic=
8954 lt_prog_compiler_can_build_shared=no
8965 # Check to make sure the static flag actually works.
8967 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8969 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8970 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8971 $as_echo_n "(cached) " >&6
8972 else
8973 lt_cv_prog_compiler_static_works=no
8974 save_LDFLAGS="$LDFLAGS"
8975 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8976 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8977 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8978 # The linker can only warn and ignore the option if not recognized
8979 # So say no if there are warnings
8980 if test -s conftest.err; then
8981 # Append any errors to the config.log.
8982 cat conftest.err 1>&5
8983 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8984 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8985 if diff conftest.exp conftest.er2 >/dev/null; then
8986 lt_cv_prog_compiler_static_works=yes
8988 else
8989 lt_cv_prog_compiler_static_works=yes
8992 $RM -r conftest*
8993 LDFLAGS="$save_LDFLAGS"
8996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8997 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8999 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9001 else
9002 lt_prog_compiler_static=
9011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9012 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9013 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9014 $as_echo_n "(cached) " >&6
9015 else
9016 lt_cv_prog_compiler_c_o=no
9017 $RM -r conftest 2>/dev/null
9018 mkdir conftest
9019 cd conftest
9020 mkdir out
9021 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9023 lt_compiler_flag="-o out/conftest2.$ac_objext"
9024 # Insert the option either (1) after the last *FLAGS variable, or
9025 # (2) before a word containing "conftest.", or (3) at the end.
9026 # Note that $ac_compile itself does not contain backslashes and begins
9027 # with a dollar sign (not a hyphen), so the echo should work correctly.
9028 lt_compile=`echo "$ac_compile" | $SED \
9029 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9030 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9031 -e 's:$: $lt_compiler_flag:'`
9032 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9033 (eval "$lt_compile" 2>out/conftest.err)
9034 ac_status=$?
9035 cat out/conftest.err >&5
9036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9037 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9038 then
9039 # The compiler can only warn and ignore the option if not recognized
9040 # So say no if there are warnings
9041 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9042 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9043 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9044 lt_cv_prog_compiler_c_o=yes
9047 chmod u+w . 2>&5
9048 $RM conftest*
9049 # SGI C++ compiler will create directory out/ii_files/ for
9050 # template instantiation
9051 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9052 $RM out/* && rmdir out
9053 cd ..
9054 $RM -r conftest
9055 $RM conftest*
9058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9059 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9067 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9068 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9069 $as_echo_n "(cached) " >&6
9070 else
9071 lt_cv_prog_compiler_c_o=no
9072 $RM -r conftest 2>/dev/null
9073 mkdir conftest
9074 cd conftest
9075 mkdir out
9076 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9078 lt_compiler_flag="-o out/conftest2.$ac_objext"
9079 # Insert the option either (1) after the last *FLAGS variable, or
9080 # (2) before a word containing "conftest.", or (3) at the end.
9081 # Note that $ac_compile itself does not contain backslashes and begins
9082 # with a dollar sign (not a hyphen), so the echo should work correctly.
9083 lt_compile=`echo "$ac_compile" | $SED \
9084 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9085 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9086 -e 's:$: $lt_compiler_flag:'`
9087 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9088 (eval "$lt_compile" 2>out/conftest.err)
9089 ac_status=$?
9090 cat out/conftest.err >&5
9091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9092 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9093 then
9094 # The compiler can only warn and ignore the option if not recognized
9095 # So say no if there are warnings
9096 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9097 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9098 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9099 lt_cv_prog_compiler_c_o=yes
9102 chmod u+w . 2>&5
9103 $RM conftest*
9104 # SGI C++ compiler will create directory out/ii_files/ for
9105 # template instantiation
9106 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9107 $RM out/* && rmdir out
9108 cd ..
9109 $RM -r conftest
9110 $RM conftest*
9113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9114 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9119 hard_links="nottested"
9120 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9121 # do not overwrite the value of need_locks provided by the user
9122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9123 $as_echo_n "checking if we can lock with hard links... " >&6; }
9124 hard_links=yes
9125 $RM conftest*
9126 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9127 touch conftest.a
9128 ln conftest.a conftest.b 2>&5 || hard_links=no
9129 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9131 $as_echo "$hard_links" >&6; }
9132 if test "$hard_links" = no; then
9133 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9134 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9135 need_locks=warn
9137 else
9138 need_locks=no
9146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9147 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9149 runpath_var=
9150 allow_undefined_flag=
9151 always_export_symbols=no
9152 archive_cmds=
9153 archive_expsym_cmds=
9154 compiler_needs_object=no
9155 enable_shared_with_static_runtimes=no
9156 export_dynamic_flag_spec=
9157 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9158 hardcode_automatic=no
9159 hardcode_direct=no
9160 hardcode_direct_absolute=no
9161 hardcode_libdir_flag_spec=
9162 hardcode_libdir_flag_spec_ld=
9163 hardcode_libdir_separator=
9164 hardcode_minus_L=no
9165 hardcode_shlibpath_var=unsupported
9166 inherit_rpath=no
9167 link_all_deplibs=unknown
9168 module_cmds=
9169 module_expsym_cmds=
9170 old_archive_from_new_cmds=
9171 old_archive_from_expsyms_cmds=
9172 thread_safe_flag_spec=
9173 whole_archive_flag_spec=
9174 # include_expsyms should be a list of space-separated symbols to be *always*
9175 # included in the symbol list
9176 include_expsyms=
9177 # exclude_expsyms can be an extended regexp of symbols to exclude
9178 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9179 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9180 # as well as any symbol that contains `d'.
9181 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9182 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9183 # platforms (ab)use it in PIC code, but their linkers get confused if
9184 # the symbol is explicitly referenced. Since portable code cannot
9185 # rely on this symbol name, it's probably fine to never include it in
9186 # preloaded symbol tables.
9187 # Exclude shared library initialization/finalization symbols.
9188 extract_expsyms_cmds=
9190 case $host_os in
9191 cygwin* | mingw* | pw32* | cegcc*)
9192 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9193 # When not using gcc, we currently assume that we are using
9194 # Microsoft Visual C++.
9195 if test "$GCC" != yes; then
9196 with_gnu_ld=no
9199 interix*)
9200 # we just hope/assume this is gcc and not c89 (= MSVC++)
9201 with_gnu_ld=yes
9203 openbsd*)
9204 with_gnu_ld=no
9206 esac
9208 ld_shlibs=yes
9210 # On some targets, GNU ld is compatible enough with the native linker
9211 # that we're better off using the native interface for both.
9212 lt_use_gnu_ld_interface=no
9213 if test "$with_gnu_ld" = yes; then
9214 case $host_os in
9215 aix*)
9216 # The AIX port of GNU ld has always aspired to compatibility
9217 # with the native linker. However, as the warning in the GNU ld
9218 # block says, versions before 2.19.5* couldn't really create working
9219 # shared libraries, regardless of the interface used.
9220 case `$LD -v 2>&1` in
9221 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9222 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9223 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9225 lt_use_gnu_ld_interface=yes
9227 esac
9230 lt_use_gnu_ld_interface=yes
9232 esac
9235 if test "$lt_use_gnu_ld_interface" = yes; then
9236 # If archive_cmds runs LD, not CC, wlarc should be empty
9237 wlarc='${wl}'
9239 # Set some defaults for GNU ld with shared library support. These
9240 # are reset later if shared libraries are not supported. Putting them
9241 # here allows them to be overridden if necessary.
9242 runpath_var=LD_RUN_PATH
9243 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9244 export_dynamic_flag_spec='${wl}--export-dynamic'
9245 # ancient GNU ld didn't support --whole-archive et. al.
9246 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9247 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9248 else
9249 whole_archive_flag_spec=
9251 supports_anon_versioning=no
9252 case `$LD -v 2>&1` in
9253 *GNU\ gold*) supports_anon_versioning=yes ;;
9254 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9255 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9256 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9257 *\ 2.11.*) ;; # other 2.11 versions
9258 *) supports_anon_versioning=yes ;;
9259 esac
9261 # See if GNU ld supports shared libraries.
9262 case $host_os in
9263 aix[3-9]*)
9264 # On AIX/PPC, the GNU linker is very broken
9265 if test "$host_cpu" != ia64; then
9266 ld_shlibs=no
9267 cat <<_LT_EOF 1>&2
9269 *** Warning: the GNU linker, at least up to release 2.19, is reported
9270 *** to be unable to reliably create shared libraries on AIX.
9271 *** Therefore, libtool is disabling shared libraries support. If you
9272 *** really care for shared libraries, you may want to install binutils
9273 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9274 *** You will then need to restart the configuration process.
9276 _LT_EOF
9280 amigaos*)
9281 case $host_cpu in
9282 powerpc)
9283 # see comment about AmigaOS4 .so support
9284 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9285 archive_expsym_cmds=''
9287 m68k)
9288 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
9289 hardcode_libdir_flag_spec='-L$libdir'
9290 hardcode_minus_L=yes
9292 esac
9295 beos*)
9296 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9297 allow_undefined_flag=unsupported
9298 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9299 # support --undefined. This deserves some investigation. FIXME
9300 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9301 else
9302 ld_shlibs=no
9306 cygwin* | mingw* | pw32* | cegcc*)
9307 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9308 # as there is no search path for DLLs.
9309 hardcode_libdir_flag_spec='-L$libdir'
9310 export_dynamic_flag_spec='${wl}--export-all-symbols'
9311 allow_undefined_flag=unsupported
9312 always_export_symbols=no
9313 enable_shared_with_static_runtimes=yes
9314 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9316 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9317 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9318 # If the export-symbols file already is a .def file (1st line
9319 # is EXPORTS), use it as is; otherwise, prepend...
9320 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9321 cp $export_symbols $output_objdir/$soname.def;
9322 else
9323 echo EXPORTS > $output_objdir/$soname.def;
9324 cat $export_symbols >> $output_objdir/$soname.def;
9326 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9327 else
9328 ld_shlibs=no
9332 haiku*)
9333 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9334 link_all_deplibs=yes
9337 interix[3-9]*)
9338 hardcode_direct=no
9339 hardcode_shlibpath_var=no
9340 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9341 export_dynamic_flag_spec='${wl}-E'
9342 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9343 # Instead, shared libraries are loaded at an image base (0x10000000 by
9344 # default) and relocated if they conflict, which is a slow very memory
9345 # consuming and fragmenting process. To avoid this, we pick a random,
9346 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9347 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9348 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9349 archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9352 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9353 tmp_diet=no
9354 if test "$host_os" = linux-dietlibc; then
9355 case $cc_basename in
9356 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9357 esac
9359 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9360 && test "$tmp_diet" = no
9361 then
9362 tmp_addflag=' $pic_flag'
9363 tmp_sharedflag='-shared'
9364 case $cc_basename,$host_cpu in
9365 pgcc*) # Portland Group C compiler
9366 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9367 tmp_addflag=' $pic_flag'
9369 pgf77* | pgf90* | pgf95* | pgfortran*)
9370 # Portland Group f77 and f90 compilers
9371 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9372 tmp_addflag=' $pic_flag -Mnomain' ;;
9373 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9374 tmp_addflag=' -i_dynamic' ;;
9375 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9376 tmp_addflag=' -i_dynamic -nofor_main' ;;
9377 ifc* | ifort*) # Intel Fortran compiler
9378 tmp_addflag=' -nofor_main' ;;
9379 lf95*) # Lahey Fortran 8.1
9380 whole_archive_flag_spec=
9381 tmp_sharedflag='--shared' ;;
9382 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9383 tmp_sharedflag='-qmkshrobj'
9384 tmp_addflag= ;;
9385 nvcc*) # Cuda Compiler Driver 2.2
9386 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9387 compiler_needs_object=yes
9389 esac
9390 case `$CC -V 2>&1 | sed 5q` in
9391 *Sun\ C*) # Sun C 5.9
9392 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9393 compiler_needs_object=yes
9394 tmp_sharedflag='-G' ;;
9395 *Sun\ F*) # Sun Fortran 8.3
9396 tmp_sharedflag='-G' ;;
9397 esac
9398 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9400 if test "x$supports_anon_versioning" = xyes; then
9401 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9402 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9403 echo "local: *; };" >> $output_objdir/$libname.ver~
9404 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9407 case $cc_basename in
9408 xlf* | bgf* | bgxlf* | mpixlf*)
9409 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9410 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9411 hardcode_libdir_flag_spec=
9412 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9413 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9414 if test "x$supports_anon_versioning" = xyes; then
9415 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9416 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9417 echo "local: *; };" >> $output_objdir/$libname.ver~
9418 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9421 esac
9422 else
9423 ld_shlibs=no
9427 netbsd*)
9428 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9429 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9430 wlarc=
9431 else
9432 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9433 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9437 solaris*)
9438 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9439 ld_shlibs=no
9440 cat <<_LT_EOF 1>&2
9442 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9443 *** create shared libraries on Solaris systems. Therefore, libtool
9444 *** is disabling shared libraries support. We urge you to upgrade GNU
9445 *** binutils to release 2.9.1 or newer. Another option is to modify
9446 *** your PATH or compiler configuration so that the native linker is
9447 *** used, and then restart.
9449 _LT_EOF
9450 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9451 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9452 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9453 else
9454 ld_shlibs=no
9458 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9459 case `$LD -v 2>&1` in
9460 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9461 ld_shlibs=no
9462 cat <<_LT_EOF 1>&2
9464 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9465 *** reliably create shared libraries on SCO systems. Therefore, libtool
9466 *** is disabling shared libraries support. We urge you to upgrade GNU
9467 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9468 *** your PATH or compiler configuration so that the native linker is
9469 *** used, and then restart.
9471 _LT_EOF
9474 # For security reasons, it is highly recommended that you always
9475 # use absolute paths for naming shared libraries, and exclude the
9476 # DT_RUNPATH tag from executables and libraries. But doing so
9477 # requires that you compile everything twice, which is a pain.
9478 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9479 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9480 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9481 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9482 else
9483 ld_shlibs=no
9486 esac
9489 sunos4*)
9490 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9491 wlarc=
9492 hardcode_direct=yes
9493 hardcode_shlibpath_var=no
9497 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9498 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9499 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9500 else
9501 ld_shlibs=no
9504 esac
9506 if test "$ld_shlibs" = no; then
9507 runpath_var=
9508 hardcode_libdir_flag_spec=
9509 export_dynamic_flag_spec=
9510 whole_archive_flag_spec=
9512 else
9513 # PORTME fill in a description of your system's linker (not GNU ld)
9514 case $host_os in
9515 aix3*)
9516 allow_undefined_flag=unsupported
9517 always_export_symbols=yes
9518 archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
9519 # Note: this linker hardcodes the directories in LIBPATH if there
9520 # are no directories specified by -L.
9521 hardcode_minus_L=yes
9522 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9523 # Neither direct hardcoding nor static linking is supported with a
9524 # broken collect2.
9525 hardcode_direct=unsupported
9529 aix[4-9]*)
9530 if test "$host_cpu" = ia64; then
9531 # On IA64, the linker does run time linking by default, so we don't
9532 # have to do anything special.
9533 aix_use_runtimelinking=no
9534 exp_sym_flag='-Bexport'
9535 no_entry_flag=""
9536 else
9537 # If we're using GNU nm, then we don't want the "-C" option.
9538 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9539 # Also, AIX nm treats weak defined symbols like other global
9540 # defined symbols, whereas GNU nm marks them as "W".
9541 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9542 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9543 else
9544 export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9546 aix_use_runtimelinking=no
9548 # Test if we are trying to use run time linking or normal
9549 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9550 # need to do runtime linking.
9551 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9552 for ld_flag in $LDFLAGS; do
9553 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9554 aix_use_runtimelinking=yes
9555 break
9557 done
9559 esac
9561 exp_sym_flag='-bexport'
9562 no_entry_flag='-bnoentry'
9565 # When large executables or shared objects are built, AIX ld can
9566 # have problems creating the table of contents. If linking a library
9567 # or program results in "error TOC overflow" add -mminimal-toc to
9568 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9569 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9571 archive_cmds=''
9572 hardcode_direct=yes
9573 hardcode_direct_absolute=yes
9574 hardcode_libdir_separator=':'
9575 link_all_deplibs=yes
9576 file_list_spec='${wl}-f,'
9578 if test "$GCC" = yes; then
9579 case $host_os in aix4.[012]|aix4.[012].*)
9580 # We only want to do this on AIX 4.2 and lower, the check
9581 # below for broken collect2 doesn't work under 4.3+
9582 collect2name=`${CC} -print-prog-name=collect2`
9583 if test -f "$collect2name" &&
9584 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9585 then
9586 # We have reworked collect2
9588 else
9589 # We have old collect2
9590 hardcode_direct=unsupported
9591 # It fails to find uninstalled libraries when the uninstalled
9592 # path is not listed in the libpath. Setting hardcode_minus_L
9593 # to unsupported forces relinking
9594 hardcode_minus_L=yes
9595 hardcode_libdir_flag_spec='-L$libdir'
9596 hardcode_libdir_separator=
9599 esac
9600 shared_flag='-shared'
9601 if test "$aix_use_runtimelinking" = yes; then
9602 shared_flag="$shared_flag "'${wl}-G'
9604 else
9605 # not using gcc
9606 if test "$host_cpu" = ia64; then
9607 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9608 # chokes on -Wl,-G. The following line is correct:
9609 shared_flag='-G'
9610 else
9611 if test "$aix_use_runtimelinking" = yes; then
9612 shared_flag='${wl}-G'
9613 else
9614 shared_flag='${wl}-bM:SRE'
9619 export_dynamic_flag_spec='${wl}-bexpall'
9620 # It seems that -bexpall does not export symbols beginning with
9621 # underscore (_), so it is better to generate a list of symbols to export.
9622 always_export_symbols=yes
9623 if test "$aix_use_runtimelinking" = yes; then
9624 # Warning - without using the other runtime loading flags (-brtl),
9625 # -berok will link without error, but may produce a broken library.
9626 allow_undefined_flag='-berok'
9627 # Determine the default libpath from the value encoded in an
9628 # empty executable.
9629 if test x$gcc_no_link = xyes; then
9630 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9633 /* end confdefs.h. */
9636 main ()
9640 return 0;
9642 _ACEOF
9643 if ac_fn_c_try_link "$LINENO"; then :
9645 lt_aix_libpath_sed='
9646 /Import File Strings/,/^$/ {
9647 /^0/ {
9648 s/^0 *\(.*\)$/\1/
9652 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9653 # Check for a 64-bit object if we didn't find anything.
9654 if test -z "$aix_libpath"; then
9655 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9658 rm -f core conftest.err conftest.$ac_objext \
9659 conftest$ac_exeext conftest.$ac_ext
9660 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9662 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9663 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9664 else
9665 if test "$host_cpu" = ia64; then
9666 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9667 allow_undefined_flag="-z nodefs"
9668 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
9669 else
9670 # Determine the default libpath from the value encoded in an
9671 # empty executable.
9672 if test x$gcc_no_link = xyes; then
9673 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9676 /* end confdefs.h. */
9679 main ()
9683 return 0;
9685 _ACEOF
9686 if ac_fn_c_try_link "$LINENO"; then :
9688 lt_aix_libpath_sed='
9689 /Import File Strings/,/^$/ {
9690 /^0/ {
9691 s/^0 *\(.*\)$/\1/
9695 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9696 # Check for a 64-bit object if we didn't find anything.
9697 if test -z "$aix_libpath"; then
9698 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9701 rm -f core conftest.err conftest.$ac_objext \
9702 conftest$ac_exeext conftest.$ac_ext
9703 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9705 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9706 # Warning - without using the other run time loading flags,
9707 # -berok will link without error, but may produce a broken library.
9708 no_undefined_flag=' ${wl}-bernotok'
9709 allow_undefined_flag=' ${wl}-berok'
9710 if test "$with_gnu_ld" = yes; then
9711 # We only use this code for GNU lds that support --whole-archive.
9712 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9713 else
9714 # Exported symbols can be pulled into shared objects from archives
9715 whole_archive_flag_spec='$convenience'
9717 archive_cmds_need_lc=yes
9718 # This is similar to how AIX traditionally builds its shared libraries.
9719 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
9724 amigaos*)
9725 case $host_cpu in
9726 powerpc)
9727 # see comment about AmigaOS4 .so support
9728 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9729 archive_expsym_cmds=''
9731 m68k)
9732 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
9733 hardcode_libdir_flag_spec='-L$libdir'
9734 hardcode_minus_L=yes
9736 esac
9739 bsdi[45]*)
9740 export_dynamic_flag_spec=-rdynamic
9743 cygwin* | mingw* | pw32* | cegcc*)
9744 # When not using gcc, we currently assume that we are using
9745 # Microsoft Visual C++.
9746 # hardcode_libdir_flag_spec is actually meaningless, as there is
9747 # no search path for DLLs.
9748 hardcode_libdir_flag_spec=' '
9749 allow_undefined_flag=unsupported
9750 # Tell ltmain to make .lib files, not .a files.
9751 libext=lib
9752 # Tell ltmain to make .dll files, not .so files.
9753 shrext_cmds=".dll"
9754 # FIXME: Setting linknames here is a bad hack.
9755 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9756 # The linker will automatically build a .lib file if we build a DLL.
9757 old_archive_from_new_cmds='true'
9758 # FIXME: Should let the user specify the lib program.
9759 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9760 fix_srcfile_path='`cygpath -w "$srcfile"`'
9761 enable_shared_with_static_runtimes=yes
9764 darwin* | rhapsody*)
9767 archive_cmds_need_lc=no
9768 hardcode_direct=no
9769 hardcode_automatic=yes
9770 hardcode_shlibpath_var=unsupported
9771 if test "$lt_cv_ld_force_load" = "yes"; then
9772 whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
9773 else
9774 whole_archive_flag_spec=''
9776 link_all_deplibs=yes
9777 allow_undefined_flag="$_lt_dar_allow_undefined"
9778 case $cc_basename in
9779 ifort*) _lt_dar_can_shared=yes ;;
9780 *) _lt_dar_can_shared=$GCC ;;
9781 esac
9782 if test "$_lt_dar_can_shared" = "yes"; then
9783 output_verbose_link_cmd=func_echo_all
9784 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9785 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9786 archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
9787 module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
9789 else
9790 ld_shlibs=no
9795 dgux*)
9796 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9797 hardcode_libdir_flag_spec='-L$libdir'
9798 hardcode_shlibpath_var=no
9801 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9802 # support. Future versions do this automatically, but an explicit c++rt0.o
9803 # does not break anything, and helps significantly (at the cost of a little
9804 # extra space).
9805 freebsd2.2*)
9806 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9807 hardcode_libdir_flag_spec='-R$libdir'
9808 hardcode_direct=yes
9809 hardcode_shlibpath_var=no
9812 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9813 freebsd2.*)
9814 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9815 hardcode_direct=yes
9816 hardcode_minus_L=yes
9817 hardcode_shlibpath_var=no
9820 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9821 freebsd* | dragonfly*)
9822 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9823 hardcode_libdir_flag_spec='-R$libdir'
9824 hardcode_direct=yes
9825 hardcode_shlibpath_var=no
9828 hpux9*)
9829 if test "$GCC" = yes; then
9830 archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9831 else
9832 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9834 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9835 hardcode_libdir_separator=:
9836 hardcode_direct=yes
9838 # hardcode_minus_L: Not really in the search PATH,
9839 # but as the default location of the library.
9840 hardcode_minus_L=yes
9841 export_dynamic_flag_spec='${wl}-E'
9844 hpux10*)
9845 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9846 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9847 else
9848 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9850 if test "$with_gnu_ld" = no; then
9851 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9852 hardcode_libdir_flag_spec_ld='+b $libdir'
9853 hardcode_libdir_separator=:
9854 hardcode_direct=yes
9855 hardcode_direct_absolute=yes
9856 export_dynamic_flag_spec='${wl}-E'
9857 # hardcode_minus_L: Not really in the search PATH,
9858 # but as the default location of the library.
9859 hardcode_minus_L=yes
9863 hpux11*)
9864 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9865 case $host_cpu in
9866 hppa*64*)
9867 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9869 ia64*)
9870 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9873 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9875 esac
9876 else
9877 case $host_cpu in
9878 hppa*64*)
9879 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9881 ia64*)
9882 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9886 # Older versions of the 11.00 compiler do not understand -b yet
9887 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9889 $as_echo_n "checking if $CC understands -b... " >&6; }
9890 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9891 $as_echo_n "(cached) " >&6
9892 else
9893 lt_cv_prog_compiler__b=no
9894 save_LDFLAGS="$LDFLAGS"
9895 LDFLAGS="$LDFLAGS -b"
9896 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9897 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9898 # The linker can only warn and ignore the option if not recognized
9899 # So say no if there are warnings
9900 if test -s conftest.err; then
9901 # Append any errors to the config.log.
9902 cat conftest.err 1>&5
9903 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9904 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9905 if diff conftest.exp conftest.er2 >/dev/null; then
9906 lt_cv_prog_compiler__b=yes
9908 else
9909 lt_cv_prog_compiler__b=yes
9912 $RM -r conftest*
9913 LDFLAGS="$save_LDFLAGS"
9916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9917 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9919 if test x"$lt_cv_prog_compiler__b" = xyes; then
9920 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9921 else
9922 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9926 esac
9928 if test "$with_gnu_ld" = no; then
9929 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9930 hardcode_libdir_separator=:
9932 case $host_cpu in
9933 hppa*64*|ia64*)
9934 hardcode_direct=no
9935 hardcode_shlibpath_var=no
9938 hardcode_direct=yes
9939 hardcode_direct_absolute=yes
9940 export_dynamic_flag_spec='${wl}-E'
9942 # hardcode_minus_L: Not really in the search PATH,
9943 # but as the default location of the library.
9944 hardcode_minus_L=yes
9946 esac
9950 irix5* | irix6* | nonstopux*)
9951 if test "$GCC" = yes; then
9952 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9953 # Try to use the -exported_symbol ld option, if it does not
9954 # work, assume that -exports_file does not work either and
9955 # implicitly export all symbols.
9956 save_LDFLAGS="$LDFLAGS"
9957 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9958 if test x$gcc_no_link = xyes; then
9959 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9962 /* end confdefs.h. */
9963 int foo(void) {}
9964 _ACEOF
9965 if ac_fn_c_try_link "$LINENO"; then :
9966 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
9969 rm -f core conftest.err conftest.$ac_objext \
9970 conftest$ac_exeext conftest.$ac_ext
9971 LDFLAGS="$save_LDFLAGS"
9972 else
9973 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9974 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
9976 archive_cmds_need_lc='no'
9977 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9978 hardcode_libdir_separator=:
9979 inherit_rpath=yes
9980 link_all_deplibs=yes
9983 netbsd*)
9984 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9985 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9986 else
9987 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9989 hardcode_libdir_flag_spec='-R$libdir'
9990 hardcode_direct=yes
9991 hardcode_shlibpath_var=no
9994 newsos6)
9995 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9996 hardcode_direct=yes
9997 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9998 hardcode_libdir_separator=:
9999 hardcode_shlibpath_var=no
10002 *nto* | *qnx*)
10005 openbsd*)
10006 if test -f /usr/libexec/ld.so; then
10007 hardcode_direct=yes
10008 hardcode_shlibpath_var=no
10009 hardcode_direct_absolute=yes
10010 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10011 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10012 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10013 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10014 export_dynamic_flag_spec='${wl}-E'
10015 else
10016 case $host_os in
10017 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10018 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10019 hardcode_libdir_flag_spec='-R$libdir'
10022 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10023 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10025 esac
10027 else
10028 ld_shlibs=no
10032 os2*)
10033 hardcode_libdir_flag_spec='-L$libdir'
10034 hardcode_minus_L=yes
10035 allow_undefined_flag=unsupported
10036 archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
10037 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10040 osf3*)
10041 if test "$GCC" = yes; then
10042 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10043 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10044 else
10045 allow_undefined_flag=' -expect_unresolved \*'
10046 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10048 archive_cmds_need_lc='no'
10049 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10050 hardcode_libdir_separator=:
10053 osf4* | osf5*) # as osf3* with the addition of -msym flag
10054 if test "$GCC" = yes; then
10055 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10056 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10057 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10058 else
10059 allow_undefined_flag=' -expect_unresolved \*'
10060 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10061 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
10062 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
10064 # Both c and cxx compiler support -rpath directly
10065 hardcode_libdir_flag_spec='-rpath $libdir'
10067 archive_cmds_need_lc='no'
10068 hardcode_libdir_separator=:
10071 solaris*)
10072 no_undefined_flag=' -z defs'
10073 if test "$GCC" = yes; then
10074 wlarc='${wl}'
10075 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10076 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10077 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10078 else
10079 case `$CC -V 2>&1` in
10080 *"Compilers 5.0"*)
10081 wlarc=''
10082 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10083 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10084 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10087 wlarc='${wl}'
10088 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10089 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10090 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10092 esac
10094 hardcode_libdir_flag_spec='-R$libdir'
10095 hardcode_shlibpath_var=no
10096 case $host_os in
10097 solaris2.[0-5] | solaris2.[0-5].*) ;;
10099 # The compiler driver will combine and reorder linker options,
10100 # but understands `-z linker_flag'. GCC discards it without `$wl',
10101 # but is careful enough not to reorder.
10102 # Supported since Solaris 2.6 (maybe 2.5.1?)
10103 if test "$GCC" = yes; then
10104 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10105 else
10106 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10109 esac
10110 link_all_deplibs=yes
10113 sunos4*)
10114 if test "x$host_vendor" = xsequent; then
10115 # Use $CC to link under sequent, because it throws in some extra .o
10116 # files that make .init and .fini sections work.
10117 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10118 else
10119 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10121 hardcode_libdir_flag_spec='-L$libdir'
10122 hardcode_direct=yes
10123 hardcode_minus_L=yes
10124 hardcode_shlibpath_var=no
10127 sysv4)
10128 case $host_vendor in
10129 sni)
10130 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10131 hardcode_direct=yes # is this really true???
10133 siemens)
10134 ## LD is ld it makes a PLAMLIB
10135 ## CC just makes a GrossModule.
10136 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10137 reload_cmds='$CC -r -o $output$reload_objs'
10138 hardcode_direct=no
10140 motorola)
10141 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10142 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10144 esac
10145 runpath_var='LD_RUN_PATH'
10146 hardcode_shlibpath_var=no
10149 sysv4.3*)
10150 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10151 hardcode_shlibpath_var=no
10152 export_dynamic_flag_spec='-Bexport'
10155 sysv4*MP*)
10156 if test -d /usr/nec; then
10157 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10158 hardcode_shlibpath_var=no
10159 runpath_var=LD_RUN_PATH
10160 hardcode_runpath_var=yes
10161 ld_shlibs=yes
10165 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10166 no_undefined_flag='${wl}-z,text'
10167 archive_cmds_need_lc=no
10168 hardcode_shlibpath_var=no
10169 runpath_var='LD_RUN_PATH'
10171 if test "$GCC" = yes; then
10172 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10173 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10174 else
10175 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10176 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10180 sysv5* | sco3.2v5* | sco5v6*)
10181 # Note: We can NOT use -z defs as we might desire, because we do not
10182 # link with -lc, and that would cause any symbols used from libc to
10183 # always be unresolved, which means just about no library would
10184 # ever link correctly. If we're not using GNU ld we use -z text
10185 # though, which does catch some bad symbols but isn't as heavy-handed
10186 # as -z defs.
10187 no_undefined_flag='${wl}-z,text'
10188 allow_undefined_flag='${wl}-z,nodefs'
10189 archive_cmds_need_lc=no
10190 hardcode_shlibpath_var=no
10191 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10192 hardcode_libdir_separator=':'
10193 link_all_deplibs=yes
10194 export_dynamic_flag_spec='${wl}-Bexport'
10195 runpath_var='LD_RUN_PATH'
10197 if test "$GCC" = yes; then
10198 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10199 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10200 else
10201 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10202 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10206 uts4*)
10207 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10208 hardcode_libdir_flag_spec='-L$libdir'
10209 hardcode_shlibpath_var=no
10213 ld_shlibs=no
10215 esac
10217 if test x$host_vendor = xsni; then
10218 case $host in
10219 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10220 export_dynamic_flag_spec='${wl}-Blargedynsym'
10222 esac
10226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10227 $as_echo "$ld_shlibs" >&6; }
10228 test "$ld_shlibs" = no && can_build_shared=no
10230 with_gnu_ld=$with_gnu_ld
10247 # Do we need to explicitly link libc?
10249 case "x$archive_cmds_need_lc" in
10250 x|xyes)
10251 # Assume -lc should be added
10252 archive_cmds_need_lc=yes
10254 if test "$enable_shared" = yes && test "$GCC" = yes; then
10255 case $archive_cmds in
10256 *'~'*)
10257 # FIXME: we may have to deal with multi-command sequences.
10259 '$CC '*)
10260 # Test whether the compiler implicitly links with -lc since on some
10261 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10262 # to ld, don't add -lc before -lgcc.
10263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10264 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10265 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10266 $as_echo_n "(cached) " >&6
10267 else
10268 $RM conftest*
10269 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10271 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10272 (eval $ac_compile) 2>&5
10273 ac_status=$?
10274 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10275 test $ac_status = 0; } 2>conftest.err; then
10276 soname=conftest
10277 lib=conftest
10278 libobjs=conftest.$ac_objext
10279 deplibs=
10280 wl=$lt_prog_compiler_wl
10281 pic_flag=$lt_prog_compiler_pic
10282 compiler_flags=-v
10283 linker_flags=-v
10284 verstring=
10285 output_objdir=.
10286 libname=conftest
10287 lt_save_allow_undefined_flag=$allow_undefined_flag
10288 allow_undefined_flag=
10289 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10290 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10291 ac_status=$?
10292 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10293 test $ac_status = 0; }
10294 then
10295 lt_cv_archive_cmds_need_lc=no
10296 else
10297 lt_cv_archive_cmds_need_lc=yes
10299 allow_undefined_flag=$lt_save_allow_undefined_flag
10300 else
10301 cat conftest.err 1>&5
10303 $RM conftest*
10306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10307 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10308 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10310 esac
10313 esac
10471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10472 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10474 if test "$GCC" = yes; then
10475 case $host_os in
10476 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10477 *) lt_awk_arg="/^libraries:/" ;;
10478 esac
10479 case $host_os in
10480 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10481 *) lt_sed_strip_eq="s,=/,/,g" ;;
10482 esac
10483 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10484 case $lt_search_path_spec in
10485 *\;*)
10486 # if the path contains ";" then we assume it to be the separator
10487 # otherwise default to the standard path separator (i.e. ":") - it is
10488 # assumed that no part of a normal pathname contains ";" but that should
10489 # okay in the real world where ";" in dirpaths is itself problematic.
10490 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10493 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10495 esac
10496 # Ok, now we have the path, separated by spaces, we can step through it
10497 # and add multilib dir if necessary.
10498 lt_tmp_lt_search_path_spec=
10499 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10500 for lt_sys_path in $lt_search_path_spec; do
10501 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10502 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10503 else
10504 test -d "$lt_sys_path" && \
10505 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10507 done
10508 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10509 BEGIN {RS=" "; FS="/|\n";} {
10510 lt_foo="";
10511 lt_count=0;
10512 for (lt_i = NF; lt_i > 0; lt_i--) {
10513 if ($lt_i != "" && $lt_i != ".") {
10514 if ($lt_i == "..") {
10515 lt_count++;
10516 } else {
10517 if (lt_count == 0) {
10518 lt_foo="/" $lt_i lt_foo;
10519 } else {
10520 lt_count--;
10525 if (lt_foo != "") { lt_freq[lt_foo]++; }
10526 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10528 # AWK program above erroneously prepends '/' to C:/dos/paths
10529 # for these hosts.
10530 case $host_os in
10531 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10532 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10533 esac
10534 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10535 else
10536 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10538 library_names_spec=
10539 libname_spec='lib$name'
10540 soname_spec=
10541 shrext_cmds=".so"
10542 postinstall_cmds=
10543 postuninstall_cmds=
10544 finish_cmds=
10545 finish_eval=
10546 shlibpath_var=
10547 shlibpath_overrides_runpath=unknown
10548 version_type=none
10549 dynamic_linker="$host_os ld.so"
10550 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10551 need_lib_prefix=unknown
10552 hardcode_into_libs=no
10554 # when you set need_version to no, make sure it does not cause -set_version
10555 # flags to be left without arguments
10556 need_version=unknown
10558 case $host_os in
10559 aix3*)
10560 version_type=linux
10561 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10562 shlibpath_var=LIBPATH
10564 # AIX 3 has no versioning support, so we append a major version to the name.
10565 soname_spec='${libname}${release}${shared_ext}$major'
10568 aix[4-9]*)
10569 version_type=linux
10570 need_lib_prefix=no
10571 need_version=no
10572 hardcode_into_libs=yes
10573 if test "$host_cpu" = ia64; then
10574 # AIX 5 supports IA64
10575 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10576 shlibpath_var=LD_LIBRARY_PATH
10577 else
10578 # With GCC up to 2.95.x, collect2 would create an import file
10579 # for dependence libraries. The import file would start with
10580 # the line `#! .'. This would cause the generated library to
10581 # depend on `.', always an invalid library. This was fixed in
10582 # development snapshots of GCC prior to 3.0.
10583 case $host_os in
10584 aix4 | aix4.[01] | aix4.[01].*)
10585 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10586 echo ' yes '
10587 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10589 else
10590 can_build_shared=no
10593 esac
10594 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10595 # soname into executable. Probably we can add versioning support to
10596 # collect2, so additional links can be useful in future.
10597 if test "$aix_use_runtimelinking" = yes; then
10598 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10599 # instead of lib<name>.a to let people know that these are not
10600 # typical AIX shared libraries.
10601 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10602 else
10603 # We preserve .a as extension for shared libraries through AIX4.2
10604 # and later when we are not doing run time linking.
10605 library_names_spec='${libname}${release}.a $libname.a'
10606 soname_spec='${libname}${release}${shared_ext}$major'
10608 shlibpath_var=LIBPATH
10612 amigaos*)
10613 case $host_cpu in
10614 powerpc)
10615 # Since July 2007 AmigaOS4 officially supports .so libraries.
10616 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10617 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10619 m68k)
10620 library_names_spec='$libname.ixlibrary $libname.a'
10621 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10622 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
10624 esac
10627 beos*)
10628 library_names_spec='${libname}${shared_ext}'
10629 dynamic_linker="$host_os ld.so"
10630 shlibpath_var=LIBRARY_PATH
10633 bsdi[45]*)
10634 version_type=linux
10635 need_version=no
10636 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10637 soname_spec='${libname}${release}${shared_ext}$major'
10638 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10639 shlibpath_var=LD_LIBRARY_PATH
10640 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10641 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10642 # the default ld.so.conf also contains /usr/contrib/lib and
10643 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10644 # libtool to hard-code these into programs
10647 cygwin* | mingw* | pw32* | cegcc*)
10648 version_type=windows
10649 shrext_cmds=".dll"
10650 need_version=no
10651 need_lib_prefix=no
10653 case $GCC,$host_os in
10654 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10655 library_names_spec='$libname.dll.a'
10656 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10657 postinstall_cmds='base_file=`basename \${file}`~
10658 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10659 dldir=$destdir/`dirname \$dlpath`~
10660 test -d \$dldir || mkdir -p \$dldir~
10661 $install_prog $dir/$dlname \$dldir/$dlname~
10662 chmod a+x \$dldir/$dlname~
10663 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10664 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10666 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10667 dlpath=$dir/\$dldll~
10668 $RM \$dlpath'
10669 shlibpath_overrides_runpath=yes
10671 case $host_os in
10672 cygwin*)
10673 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10674 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10676 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10678 mingw* | cegcc*)
10679 # MinGW DLLs use traditional 'lib' prefix
10680 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10682 pw32*)
10683 # pw32 DLLs use 'pw' prefix rather than 'lib'
10684 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10686 esac
10690 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10692 esac
10693 dynamic_linker='Win32 ld.exe'
10694 # FIXME: first we should search . and the directory the executable is in
10695 shlibpath_var=PATH
10698 darwin* | rhapsody*)
10699 dynamic_linker="$host_os dyld"
10700 version_type=darwin
10701 need_lib_prefix=no
10702 need_version=no
10703 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10704 soname_spec='${libname}${release}${major}$shared_ext'
10705 shlibpath_overrides_runpath=yes
10706 shlibpath_var=DYLD_LIBRARY_PATH
10707 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10709 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10710 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10713 dgux*)
10714 version_type=linux
10715 need_lib_prefix=no
10716 need_version=no
10717 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10718 soname_spec='${libname}${release}${shared_ext}$major'
10719 shlibpath_var=LD_LIBRARY_PATH
10722 freebsd* | dragonfly*)
10723 # DragonFly does not have aout. When/if they implement a new
10724 # versioning mechanism, adjust this.
10725 if test -x /usr/bin/objformat; then
10726 objformat=`/usr/bin/objformat`
10727 else
10728 case $host_os in
10729 freebsd[23].*) objformat=aout ;;
10730 *) objformat=elf ;;
10731 esac
10733 version_type=freebsd-$objformat
10734 case $version_type in
10735 freebsd-elf*)
10736 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10737 need_version=no
10738 need_lib_prefix=no
10740 freebsd-*)
10741 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10742 need_version=yes
10744 esac
10745 shlibpath_var=LD_LIBRARY_PATH
10746 case $host_os in
10747 freebsd2.*)
10748 shlibpath_overrides_runpath=yes
10750 freebsd3.[01]* | freebsdelf3.[01]*)
10751 shlibpath_overrides_runpath=yes
10752 hardcode_into_libs=yes
10754 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10755 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10756 shlibpath_overrides_runpath=no
10757 hardcode_into_libs=yes
10759 *) # from 4.6 on, and DragonFly
10760 shlibpath_overrides_runpath=yes
10761 hardcode_into_libs=yes
10763 esac
10766 gnu*)
10767 version_type=linux
10768 need_lib_prefix=no
10769 need_version=no
10770 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10771 soname_spec='${libname}${release}${shared_ext}$major'
10772 shlibpath_var=LD_LIBRARY_PATH
10773 hardcode_into_libs=yes
10776 haiku*)
10777 version_type=linux
10778 need_lib_prefix=no
10779 need_version=no
10780 dynamic_linker="$host_os runtime_loader"
10781 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10782 soname_spec='${libname}${release}${shared_ext}$major'
10783 shlibpath_var=LIBRARY_PATH
10784 shlibpath_overrides_runpath=yes
10785 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10786 hardcode_into_libs=yes
10789 hpux9* | hpux10* | hpux11*)
10790 # Give a soname corresponding to the major version so that dld.sl refuses to
10791 # link against other versions.
10792 version_type=sunos
10793 need_lib_prefix=no
10794 need_version=no
10795 case $host_cpu in
10796 ia64*)
10797 shrext_cmds='.so'
10798 hardcode_into_libs=yes
10799 dynamic_linker="$host_os dld.so"
10800 shlibpath_var=LD_LIBRARY_PATH
10801 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10802 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10803 soname_spec='${libname}${release}${shared_ext}$major'
10804 if test "X$HPUX_IA64_MODE" = X32; then
10805 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10806 else
10807 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10809 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10811 hppa*64*)
10812 shrext_cmds='.sl'
10813 hardcode_into_libs=yes
10814 dynamic_linker="$host_os dld.sl"
10815 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10816 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10817 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10818 soname_spec='${libname}${release}${shared_ext}$major'
10819 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10820 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10823 shrext_cmds='.sl'
10824 dynamic_linker="$host_os dld.sl"
10825 shlibpath_var=SHLIB_PATH
10826 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10827 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10828 soname_spec='${libname}${release}${shared_ext}$major'
10830 esac
10831 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10832 postinstall_cmds='chmod 555 $lib'
10833 # or fails outright, so override atomically:
10834 install_override_mode=555
10837 interix[3-9]*)
10838 version_type=linux
10839 need_lib_prefix=no
10840 need_version=no
10841 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10842 soname_spec='${libname}${release}${shared_ext}$major'
10843 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10844 shlibpath_var=LD_LIBRARY_PATH
10845 shlibpath_overrides_runpath=no
10846 hardcode_into_libs=yes
10849 irix5* | irix6* | nonstopux*)
10850 case $host_os in
10851 nonstopux*) version_type=nonstopux ;;
10853 if test "$lt_cv_prog_gnu_ld" = yes; then
10854 version_type=linux
10855 else
10856 version_type=irix
10857 fi ;;
10858 esac
10859 need_lib_prefix=no
10860 need_version=no
10861 soname_spec='${libname}${release}${shared_ext}$major'
10862 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10863 case $host_os in
10864 irix5* | nonstopux*)
10865 libsuff= shlibsuff=
10868 case $LD in # libtool.m4 will add one of these switches to LD
10869 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10870 libsuff= shlibsuff= libmagic=32-bit;;
10871 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10872 libsuff=32 shlibsuff=N32 libmagic=N32;;
10873 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10874 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10875 *) libsuff= shlibsuff= libmagic=never-match;;
10876 esac
10878 esac
10879 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10880 shlibpath_overrides_runpath=no
10881 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10882 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10883 hardcode_into_libs=yes
10886 # No shared lib support for Linux oldld, aout, or coff.
10887 linux*oldld* | linux*aout* | linux*coff*)
10888 dynamic_linker=no
10891 # This must be Linux ELF.
10892 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10893 version_type=linux
10894 need_lib_prefix=no
10895 need_version=no
10896 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10897 soname_spec='${libname}${release}${shared_ext}$major'
10898 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10899 shlibpath_var=LD_LIBRARY_PATH
10900 shlibpath_overrides_runpath=no
10902 # Some binutils ld are patched to set DT_RUNPATH
10903 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10904 $as_echo_n "(cached) " >&6
10905 else
10906 lt_cv_shlibpath_overrides_runpath=no
10907 save_LDFLAGS=$LDFLAGS
10908 save_libdir=$libdir
10909 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10910 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10911 if test x$gcc_no_link = xyes; then
10912 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10915 /* end confdefs.h. */
10918 main ()
10922 return 0;
10924 _ACEOF
10925 if ac_fn_c_try_link "$LINENO"; then :
10926 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10927 lt_cv_shlibpath_overrides_runpath=yes
10930 rm -f core conftest.err conftest.$ac_objext \
10931 conftest$ac_exeext conftest.$ac_ext
10932 LDFLAGS=$save_LDFLAGS
10933 libdir=$save_libdir
10937 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10939 # This implies no fast_install, which is unacceptable.
10940 # Some rework will be needed to allow for fast_install
10941 # before this can be enabled.
10942 hardcode_into_libs=yes
10944 # Append ld.so.conf contents to the search path
10945 if test -f /etc/ld.so.conf; then
10946 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
10947 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10950 # We used to test for /lib/ld.so.1 and disable shared libraries on
10951 # powerpc, because MkLinux only supported shared libraries with the
10952 # GNU dynamic linker. Since this was broken with cross compilers,
10953 # most powerpc-linux boxes support dynamic linking these days and
10954 # people can always --disable-shared, the test was removed, and we
10955 # assume the GNU/Linux dynamic linker is in use.
10956 dynamic_linker='GNU/Linux ld.so'
10959 netbsd*)
10960 version_type=sunos
10961 need_lib_prefix=no
10962 need_version=no
10963 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10964 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10965 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10966 dynamic_linker='NetBSD (a.out) ld.so'
10967 else
10968 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10969 soname_spec='${libname}${release}${shared_ext}$major'
10970 dynamic_linker='NetBSD ld.elf_so'
10972 shlibpath_var=LD_LIBRARY_PATH
10973 shlibpath_overrides_runpath=yes
10974 hardcode_into_libs=yes
10977 newsos6)
10978 version_type=linux
10979 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10980 shlibpath_var=LD_LIBRARY_PATH
10981 shlibpath_overrides_runpath=yes
10984 *nto* | *qnx*)
10985 version_type=qnx
10986 need_lib_prefix=no
10987 need_version=no
10988 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10989 soname_spec='${libname}${release}${shared_ext}$major'
10990 shlibpath_var=LD_LIBRARY_PATH
10991 shlibpath_overrides_runpath=no
10992 hardcode_into_libs=yes
10993 dynamic_linker='ldqnx.so'
10996 openbsd*)
10997 version_type=sunos
10998 sys_lib_dlsearch_path_spec="/usr/lib"
10999 need_lib_prefix=no
11000 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11001 case $host_os in
11002 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11003 *) need_version=no ;;
11004 esac
11005 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11006 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11007 shlibpath_var=LD_LIBRARY_PATH
11008 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11009 case $host_os in
11010 openbsd2.[89] | openbsd2.[89].*)
11011 shlibpath_overrides_runpath=no
11014 shlibpath_overrides_runpath=yes
11016 esac
11017 else
11018 shlibpath_overrides_runpath=yes
11022 os2*)
11023 libname_spec='$name'
11024 shrext_cmds=".dll"
11025 need_lib_prefix=no
11026 library_names_spec='$libname${shared_ext} $libname.a'
11027 dynamic_linker='OS/2 ld.exe'
11028 shlibpath_var=LIBPATH
11031 osf3* | osf4* | osf5*)
11032 version_type=osf
11033 need_lib_prefix=no
11034 need_version=no
11035 soname_spec='${libname}${release}${shared_ext}$major'
11036 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11037 shlibpath_var=LD_LIBRARY_PATH
11038 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11039 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11042 rdos*)
11043 dynamic_linker=no
11046 solaris*)
11047 version_type=linux
11048 need_lib_prefix=no
11049 need_version=no
11050 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11051 soname_spec='${libname}${release}${shared_ext}$major'
11052 shlibpath_var=LD_LIBRARY_PATH
11053 shlibpath_overrides_runpath=yes
11054 hardcode_into_libs=yes
11055 # ldd complains unless libraries are executable
11056 postinstall_cmds='chmod +x $lib'
11059 sunos4*)
11060 version_type=sunos
11061 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11062 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11063 shlibpath_var=LD_LIBRARY_PATH
11064 shlibpath_overrides_runpath=yes
11065 if test "$with_gnu_ld" = yes; then
11066 need_lib_prefix=no
11068 need_version=yes
11071 sysv4 | sysv4.3*)
11072 version_type=linux
11073 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11074 soname_spec='${libname}${release}${shared_ext}$major'
11075 shlibpath_var=LD_LIBRARY_PATH
11076 case $host_vendor in
11077 sni)
11078 shlibpath_overrides_runpath=no
11079 need_lib_prefix=no
11080 runpath_var=LD_RUN_PATH
11082 siemens)
11083 need_lib_prefix=no
11085 motorola)
11086 need_lib_prefix=no
11087 need_version=no
11088 shlibpath_overrides_runpath=no
11089 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11091 esac
11094 sysv4*MP*)
11095 if test -d /usr/nec ;then
11096 version_type=linux
11097 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11098 soname_spec='$libname${shared_ext}.$major'
11099 shlibpath_var=LD_LIBRARY_PATH
11103 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11104 version_type=freebsd-elf
11105 need_lib_prefix=no
11106 need_version=no
11107 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11108 soname_spec='${libname}${release}${shared_ext}$major'
11109 shlibpath_var=LD_LIBRARY_PATH
11110 shlibpath_overrides_runpath=yes
11111 hardcode_into_libs=yes
11112 if test "$with_gnu_ld" = yes; then
11113 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11114 else
11115 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11116 case $host_os in
11117 sco3.2v5*)
11118 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11120 esac
11122 sys_lib_dlsearch_path_spec='/usr/lib'
11125 tpf*)
11126 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11127 version_type=linux
11128 need_lib_prefix=no
11129 need_version=no
11130 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11131 shlibpath_var=LD_LIBRARY_PATH
11132 shlibpath_overrides_runpath=no
11133 hardcode_into_libs=yes
11136 uts4*)
11137 version_type=linux
11138 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11139 soname_spec='${libname}${release}${shared_ext}$major'
11140 shlibpath_var=LD_LIBRARY_PATH
11144 dynamic_linker=no
11146 esac
11147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11148 $as_echo "$dynamic_linker" >&6; }
11149 test "$dynamic_linker" = no && can_build_shared=no
11151 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11152 if test "$GCC" = yes; then
11153 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11156 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11157 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11159 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11160 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11255 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11256 hardcode_action=
11257 if test -n "$hardcode_libdir_flag_spec" ||
11258 test -n "$runpath_var" ||
11259 test "X$hardcode_automatic" = "Xyes" ; then
11261 # We can hardcode non-existent directories.
11262 if test "$hardcode_direct" != no &&
11263 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11264 # have to relink, otherwise we might link with an installed library
11265 # when we should be linking with a yet-to-be-installed one
11266 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11267 test "$hardcode_minus_L" != no; then
11268 # Linking always hardcodes the temporary library directory.
11269 hardcode_action=relink
11270 else
11271 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11272 hardcode_action=immediate
11274 else
11275 # We cannot hardcode anything, or else we can only hardcode existing
11276 # directories.
11277 hardcode_action=unsupported
11279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11280 $as_echo "$hardcode_action" >&6; }
11282 if test "$hardcode_action" = relink ||
11283 test "$inherit_rpath" = yes; then
11284 # Fast installation is not supported
11285 enable_fast_install=no
11286 elif test "$shlibpath_overrides_runpath" = yes ||
11287 test "$enable_shared" = no; then
11288 # Fast installation is not necessary
11289 enable_fast_install=needless
11297 if test "x$enable_dlopen" != xyes; then
11298 enable_dlopen=unknown
11299 enable_dlopen_self=unknown
11300 enable_dlopen_self_static=unknown
11301 else
11302 lt_cv_dlopen=no
11303 lt_cv_dlopen_libs=
11305 case $host_os in
11306 beos*)
11307 lt_cv_dlopen="load_add_on"
11308 lt_cv_dlopen_libs=
11309 lt_cv_dlopen_self=yes
11312 mingw* | pw32* | cegcc*)
11313 lt_cv_dlopen="LoadLibrary"
11314 lt_cv_dlopen_libs=
11317 cygwin*)
11318 lt_cv_dlopen="dlopen"
11319 lt_cv_dlopen_libs=
11322 darwin*)
11323 # if libdl is installed we need to link against it
11324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11325 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11326 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11327 $as_echo_n "(cached) " >&6
11328 else
11329 ac_check_lib_save_LIBS=$LIBS
11330 LIBS="-ldl $LIBS"
11331 if test x$gcc_no_link = xyes; then
11332 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11335 /* end confdefs.h. */
11337 /* Override any GCC internal prototype to avoid an error.
11338 Use char because int might match the return type of a GCC
11339 builtin and then its argument prototype would still apply. */
11340 #ifdef __cplusplus
11341 extern "C"
11342 #endif
11343 char dlopen ();
11345 main ()
11347 return dlopen ();
11349 return 0;
11351 _ACEOF
11352 if ac_fn_c_try_link "$LINENO"; then :
11353 ac_cv_lib_dl_dlopen=yes
11354 else
11355 ac_cv_lib_dl_dlopen=no
11357 rm -f core conftest.err conftest.$ac_objext \
11358 conftest$ac_exeext conftest.$ac_ext
11359 LIBS=$ac_check_lib_save_LIBS
11361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11362 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11363 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11364 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11365 else
11367 lt_cv_dlopen="dyld"
11368 lt_cv_dlopen_libs=
11369 lt_cv_dlopen_self=yes
11376 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11377 if test "x$ac_cv_func_shl_load" = x""yes; then :
11378 lt_cv_dlopen="shl_load"
11379 else
11380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11381 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11382 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11383 $as_echo_n "(cached) " >&6
11384 else
11385 ac_check_lib_save_LIBS=$LIBS
11386 LIBS="-ldld $LIBS"
11387 if test x$gcc_no_link = xyes; then
11388 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11391 /* end confdefs.h. */
11393 /* Override any GCC internal prototype to avoid an error.
11394 Use char because int might match the return type of a GCC
11395 builtin and then its argument prototype would still apply. */
11396 #ifdef __cplusplus
11397 extern "C"
11398 #endif
11399 char shl_load ();
11401 main ()
11403 return shl_load ();
11405 return 0;
11407 _ACEOF
11408 if ac_fn_c_try_link "$LINENO"; then :
11409 ac_cv_lib_dld_shl_load=yes
11410 else
11411 ac_cv_lib_dld_shl_load=no
11413 rm -f core conftest.err conftest.$ac_objext \
11414 conftest$ac_exeext conftest.$ac_ext
11415 LIBS=$ac_check_lib_save_LIBS
11417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11418 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11419 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11420 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11421 else
11422 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11423 if test "x$ac_cv_func_dlopen" = x""yes; then :
11424 lt_cv_dlopen="dlopen"
11425 else
11426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11427 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11428 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11429 $as_echo_n "(cached) " >&6
11430 else
11431 ac_check_lib_save_LIBS=$LIBS
11432 LIBS="-ldl $LIBS"
11433 if test x$gcc_no_link = xyes; then
11434 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11437 /* end confdefs.h. */
11439 /* Override any GCC internal prototype to avoid an error.
11440 Use char because int might match the return type of a GCC
11441 builtin and then its argument prototype would still apply. */
11442 #ifdef __cplusplus
11443 extern "C"
11444 #endif
11445 char dlopen ();
11447 main ()
11449 return dlopen ();
11451 return 0;
11453 _ACEOF
11454 if ac_fn_c_try_link "$LINENO"; then :
11455 ac_cv_lib_dl_dlopen=yes
11456 else
11457 ac_cv_lib_dl_dlopen=no
11459 rm -f core conftest.err conftest.$ac_objext \
11460 conftest$ac_exeext conftest.$ac_ext
11461 LIBS=$ac_check_lib_save_LIBS
11463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11464 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11465 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11466 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11467 else
11468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11469 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11470 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11471 $as_echo_n "(cached) " >&6
11472 else
11473 ac_check_lib_save_LIBS=$LIBS
11474 LIBS="-lsvld $LIBS"
11475 if test x$gcc_no_link = xyes; then
11476 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11479 /* end confdefs.h. */
11481 /* Override any GCC internal prototype to avoid an error.
11482 Use char because int might match the return type of a GCC
11483 builtin and then its argument prototype would still apply. */
11484 #ifdef __cplusplus
11485 extern "C"
11486 #endif
11487 char dlopen ();
11489 main ()
11491 return dlopen ();
11493 return 0;
11495 _ACEOF
11496 if ac_fn_c_try_link "$LINENO"; then :
11497 ac_cv_lib_svld_dlopen=yes
11498 else
11499 ac_cv_lib_svld_dlopen=no
11501 rm -f core conftest.err conftest.$ac_objext \
11502 conftest$ac_exeext conftest.$ac_ext
11503 LIBS=$ac_check_lib_save_LIBS
11505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11506 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11507 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11508 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11509 else
11510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11511 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11512 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11513 $as_echo_n "(cached) " >&6
11514 else
11515 ac_check_lib_save_LIBS=$LIBS
11516 LIBS="-ldld $LIBS"
11517 if test x$gcc_no_link = xyes; then
11518 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11521 /* end confdefs.h. */
11523 /* Override any GCC internal prototype to avoid an error.
11524 Use char because int might match the return type of a GCC
11525 builtin and then its argument prototype would still apply. */
11526 #ifdef __cplusplus
11527 extern "C"
11528 #endif
11529 char dld_link ();
11531 main ()
11533 return dld_link ();
11535 return 0;
11537 _ACEOF
11538 if ac_fn_c_try_link "$LINENO"; then :
11539 ac_cv_lib_dld_dld_link=yes
11540 else
11541 ac_cv_lib_dld_dld_link=no
11543 rm -f core conftest.err conftest.$ac_objext \
11544 conftest$ac_exeext conftest.$ac_ext
11545 LIBS=$ac_check_lib_save_LIBS
11547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11548 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11549 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11550 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11569 esac
11571 if test "x$lt_cv_dlopen" != xno; then
11572 enable_dlopen=yes
11573 else
11574 enable_dlopen=no
11577 case $lt_cv_dlopen in
11578 dlopen)
11579 save_CPPFLAGS="$CPPFLAGS"
11580 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11582 save_LDFLAGS="$LDFLAGS"
11583 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11585 save_LIBS="$LIBS"
11586 LIBS="$lt_cv_dlopen_libs $LIBS"
11588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11589 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11590 if test "${lt_cv_dlopen_self+set}" = set; then :
11591 $as_echo_n "(cached) " >&6
11592 else
11593 if test "$cross_compiling" = yes; then :
11594 lt_cv_dlopen_self=cross
11595 else
11596 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11597 lt_status=$lt_dlunknown
11598 cat > conftest.$ac_ext <<_LT_EOF
11599 #line 11599 "configure"
11600 #include "confdefs.h"
11602 #if HAVE_DLFCN_H
11603 #include <dlfcn.h>
11604 #endif
11606 #include <stdio.h>
11608 #ifdef RTLD_GLOBAL
11609 # define LT_DLGLOBAL RTLD_GLOBAL
11610 #else
11611 # ifdef DL_GLOBAL
11612 # define LT_DLGLOBAL DL_GLOBAL
11613 # else
11614 # define LT_DLGLOBAL 0
11615 # endif
11616 #endif
11618 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11619 find out it does not work in some platform. */
11620 #ifndef LT_DLLAZY_OR_NOW
11621 # ifdef RTLD_LAZY
11622 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11623 # else
11624 # ifdef DL_LAZY
11625 # define LT_DLLAZY_OR_NOW DL_LAZY
11626 # else
11627 # ifdef RTLD_NOW
11628 # define LT_DLLAZY_OR_NOW RTLD_NOW
11629 # else
11630 # ifdef DL_NOW
11631 # define LT_DLLAZY_OR_NOW DL_NOW
11632 # else
11633 # define LT_DLLAZY_OR_NOW 0
11634 # endif
11635 # endif
11636 # endif
11637 # endif
11638 #endif
11640 /* When -fvisbility=hidden is used, assume the code has been annotated
11641 correspondingly for the symbols needed. */
11642 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11643 void fnord () __attribute__((visibility("default")));
11644 #endif
11646 void fnord () { int i=42; }
11647 int main ()
11649 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11650 int status = $lt_dlunknown;
11652 if (self)
11654 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11655 else
11657 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11658 else puts (dlerror ());
11660 /* dlclose (self); */
11662 else
11663 puts (dlerror ());
11665 return status;
11667 _LT_EOF
11668 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11669 (eval $ac_link) 2>&5
11670 ac_status=$?
11671 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11672 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11673 (./conftest; exit; ) >&5 2>/dev/null
11674 lt_status=$?
11675 case x$lt_status in
11676 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11677 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11678 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11679 esac
11680 else :
11681 # compilation failed
11682 lt_cv_dlopen_self=no
11685 rm -fr conftest*
11689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11690 $as_echo "$lt_cv_dlopen_self" >&6; }
11692 if test "x$lt_cv_dlopen_self" = xyes; then
11693 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11695 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11696 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11697 $as_echo_n "(cached) " >&6
11698 else
11699 if test "$cross_compiling" = yes; then :
11700 lt_cv_dlopen_self_static=cross
11701 else
11702 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11703 lt_status=$lt_dlunknown
11704 cat > conftest.$ac_ext <<_LT_EOF
11705 #line 11705 "configure"
11706 #include "confdefs.h"
11708 #if HAVE_DLFCN_H
11709 #include <dlfcn.h>
11710 #endif
11712 #include <stdio.h>
11714 #ifdef RTLD_GLOBAL
11715 # define LT_DLGLOBAL RTLD_GLOBAL
11716 #else
11717 # ifdef DL_GLOBAL
11718 # define LT_DLGLOBAL DL_GLOBAL
11719 # else
11720 # define LT_DLGLOBAL 0
11721 # endif
11722 #endif
11724 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11725 find out it does not work in some platform. */
11726 #ifndef LT_DLLAZY_OR_NOW
11727 # ifdef RTLD_LAZY
11728 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11729 # else
11730 # ifdef DL_LAZY
11731 # define LT_DLLAZY_OR_NOW DL_LAZY
11732 # else
11733 # ifdef RTLD_NOW
11734 # define LT_DLLAZY_OR_NOW RTLD_NOW
11735 # else
11736 # ifdef DL_NOW
11737 # define LT_DLLAZY_OR_NOW DL_NOW
11738 # else
11739 # define LT_DLLAZY_OR_NOW 0
11740 # endif
11741 # endif
11742 # endif
11743 # endif
11744 #endif
11746 /* When -fvisbility=hidden is used, assume the code has been annotated
11747 correspondingly for the symbols needed. */
11748 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11749 void fnord () __attribute__((visibility("default")));
11750 #endif
11752 void fnord () { int i=42; }
11753 int main ()
11755 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11756 int status = $lt_dlunknown;
11758 if (self)
11760 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11761 else
11763 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11764 else puts (dlerror ());
11766 /* dlclose (self); */
11768 else
11769 puts (dlerror ());
11771 return status;
11773 _LT_EOF
11774 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11775 (eval $ac_link) 2>&5
11776 ac_status=$?
11777 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11778 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11779 (./conftest; exit; ) >&5 2>/dev/null
11780 lt_status=$?
11781 case x$lt_status in
11782 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11783 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11784 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11785 esac
11786 else :
11787 # compilation failed
11788 lt_cv_dlopen_self_static=no
11791 rm -fr conftest*
11795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11796 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11799 CPPFLAGS="$save_CPPFLAGS"
11800 LDFLAGS="$save_LDFLAGS"
11801 LIBS="$save_LIBS"
11803 esac
11805 case $lt_cv_dlopen_self in
11806 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11807 *) enable_dlopen_self=unknown ;;
11808 esac
11810 case $lt_cv_dlopen_self_static in
11811 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11812 *) enable_dlopen_self_static=unknown ;;
11813 esac
11832 striplib=
11833 old_striplib=
11834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11835 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11836 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11837 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11838 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11840 $as_echo "yes" >&6; }
11841 else
11842 # FIXME - insert some real tests, host_os isn't really good enough
11843 case $host_os in
11844 darwin*)
11845 if test -n "$STRIP" ; then
11846 striplib="$STRIP -x"
11847 old_striplib="$STRIP -S"
11848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11849 $as_echo "yes" >&6; }
11850 else
11851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11852 $as_echo "no" >&6; }
11856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11857 $as_echo "no" >&6; }
11859 esac
11873 # Report which library types will actually be built
11874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11875 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11877 $as_echo "$can_build_shared" >&6; }
11879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11880 $as_echo_n "checking whether to build shared libraries... " >&6; }
11881 test "$can_build_shared" = "no" && enable_shared=no
11883 # On AIX, shared libraries and static libraries use the same namespace, and
11884 # are all built from PIC.
11885 case $host_os in
11886 aix3*)
11887 test "$enable_shared" = yes && enable_static=no
11888 if test -n "$RANLIB"; then
11889 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11890 postinstall_cmds='$RANLIB $lib'
11894 aix[4-9]*)
11895 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11896 test "$enable_shared" = yes && enable_static=no
11899 esac
11900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11901 $as_echo "$enable_shared" >&6; }
11903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11904 $as_echo_n "checking whether to build static libraries... " >&6; }
11905 # Make sure either enable_shared or enable_static is yes.
11906 test "$enable_shared" = yes || enable_static=yes
11907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11908 $as_echo "$enable_static" >&6; }
11914 ac_ext=c
11915 ac_cpp='$CPP $CPPFLAGS'
11916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11920 CC="$lt_save_CC"
11922 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11923 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11924 (test "X$CXX" != "Xg++"))) ; then
11925 ac_ext=cpp
11926 ac_cpp='$CXXCPP $CPPFLAGS'
11927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11931 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11932 if test -z "$CXXCPP"; then
11933 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11934 $as_echo_n "(cached) " >&6
11935 else
11936 # Double quotes because CXXCPP needs to be expanded
11937 for CXXCPP in "$CXX -E" "/lib/cpp"
11939 ac_preproc_ok=false
11940 for ac_cxx_preproc_warn_flag in '' yes
11942 # Use a header file that comes with gcc, so configuring glibc
11943 # with a fresh cross-compiler works.
11944 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11945 # <limits.h> exists even on freestanding compilers.
11946 # On the NeXT, cc -E runs the code through the compiler's parser,
11947 # not just through cpp. "Syntax error" is here to catch this case.
11948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11949 /* end confdefs.h. */
11950 #ifdef __STDC__
11951 # include <limits.h>
11952 #else
11953 # include <assert.h>
11954 #endif
11955 Syntax error
11956 _ACEOF
11957 if ac_fn_cxx_try_cpp "$LINENO"; then :
11959 else
11960 # Broken: fails on valid input.
11961 continue
11963 rm -f conftest.err conftest.$ac_ext
11965 # OK, works on sane cases. Now check whether nonexistent headers
11966 # can be detected and how.
11967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11968 /* end confdefs.h. */
11969 #include <ac_nonexistent.h>
11970 _ACEOF
11971 if ac_fn_cxx_try_cpp "$LINENO"; then :
11972 # Broken: success on invalid input.
11973 continue
11974 else
11975 # Passes both tests.
11976 ac_preproc_ok=:
11977 break
11979 rm -f conftest.err conftest.$ac_ext
11981 done
11982 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11983 rm -f conftest.err conftest.$ac_ext
11984 if $ac_preproc_ok; then :
11985 break
11988 done
11989 ac_cv_prog_CXXCPP=$CXXCPP
11992 CXXCPP=$ac_cv_prog_CXXCPP
11993 else
11994 ac_cv_prog_CXXCPP=$CXXCPP
11996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11997 $as_echo "$CXXCPP" >&6; }
11998 ac_preproc_ok=false
11999 for ac_cxx_preproc_warn_flag in '' yes
12001 # Use a header file that comes with gcc, so configuring glibc
12002 # with a fresh cross-compiler works.
12003 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12004 # <limits.h> exists even on freestanding compilers.
12005 # On the NeXT, cc -E runs the code through the compiler's parser,
12006 # not just through cpp. "Syntax error" is here to catch this case.
12007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12008 /* end confdefs.h. */
12009 #ifdef __STDC__
12010 # include <limits.h>
12011 #else
12012 # include <assert.h>
12013 #endif
12014 Syntax error
12015 _ACEOF
12016 if ac_fn_cxx_try_cpp "$LINENO"; then :
12018 else
12019 # Broken: fails on valid input.
12020 continue
12022 rm -f conftest.err conftest.$ac_ext
12024 # OK, works on sane cases. Now check whether nonexistent headers
12025 # can be detected and how.
12026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12027 /* end confdefs.h. */
12028 #include <ac_nonexistent.h>
12029 _ACEOF
12030 if ac_fn_cxx_try_cpp "$LINENO"; then :
12031 # Broken: success on invalid input.
12032 continue
12033 else
12034 # Passes both tests.
12035 ac_preproc_ok=:
12036 break
12038 rm -f conftest.err conftest.$ac_ext
12040 done
12041 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12042 rm -f conftest.err conftest.$ac_ext
12043 if $ac_preproc_ok; then :
12045 else
12046 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12047 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12048 as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
12049 See \`config.log' for more details." "$LINENO" 5; }
12052 ac_ext=c
12053 ac_cpp='$CPP $CPPFLAGS'
12054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12058 else
12059 _lt_caught_CXX_error=yes
12062 ac_ext=cpp
12063 ac_cpp='$CXXCPP $CPPFLAGS'
12064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12068 archive_cmds_need_lc_CXX=no
12069 allow_undefined_flag_CXX=
12070 always_export_symbols_CXX=no
12071 archive_expsym_cmds_CXX=
12072 compiler_needs_object_CXX=no
12073 export_dynamic_flag_spec_CXX=
12074 hardcode_direct_CXX=no
12075 hardcode_direct_absolute_CXX=no
12076 hardcode_libdir_flag_spec_CXX=
12077 hardcode_libdir_flag_spec_ld_CXX=
12078 hardcode_libdir_separator_CXX=
12079 hardcode_minus_L_CXX=no
12080 hardcode_shlibpath_var_CXX=unsupported
12081 hardcode_automatic_CXX=no
12082 inherit_rpath_CXX=no
12083 module_cmds_CXX=
12084 module_expsym_cmds_CXX=
12085 link_all_deplibs_CXX=unknown
12086 old_archive_cmds_CXX=$old_archive_cmds
12087 reload_flag_CXX=$reload_flag
12088 reload_cmds_CXX=$reload_cmds
12089 no_undefined_flag_CXX=
12090 whole_archive_flag_spec_CXX=
12091 enable_shared_with_static_runtimes_CXX=no
12093 # Source file extension for C++ test sources.
12094 ac_ext=cpp
12096 # Object file extension for compiled C++ test sources.
12097 objext=o
12098 objext_CXX=$objext
12100 # No sense in running all these tests if we already determined that
12101 # the CXX compiler isn't working. Some variables (like enable_shared)
12102 # are currently assumed to apply to all compilers on this platform,
12103 # and will be corrupted by setting them based on a non-working compiler.
12104 if test "$_lt_caught_CXX_error" != yes; then
12105 # Code to be used in simple compile tests
12106 lt_simple_compile_test_code="int some_variable = 0;"
12108 # Code to be used in simple link tests
12109 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12111 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12118 # If no C compiler was specified, use CC.
12119 LTCC=${LTCC-"$CC"}
12121 # If no C compiler flags were specified, use CFLAGS.
12122 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12124 # Allow CC to be a program name with arguments.
12125 compiler=$CC
12128 # save warnings/boilerplate of simple test code
12129 ac_outfile=conftest.$ac_objext
12130 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12131 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12132 _lt_compiler_boilerplate=`cat conftest.err`
12133 $RM conftest*
12135 ac_outfile=conftest.$ac_objext
12136 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12137 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12138 _lt_linker_boilerplate=`cat conftest.err`
12139 $RM -r conftest*
12142 # Allow CC to be a program name with arguments.
12143 lt_save_CC=$CC
12144 lt_save_LD=$LD
12145 lt_save_GCC=$GCC
12146 GCC=$GXX
12147 lt_save_with_gnu_ld=$with_gnu_ld
12148 lt_save_path_LD=$lt_cv_path_LD
12149 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12150 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12151 else
12152 $as_unset lt_cv_prog_gnu_ld
12154 if test -n "${lt_cv_path_LDCXX+set}"; then
12155 lt_cv_path_LD=$lt_cv_path_LDCXX
12156 else
12157 $as_unset lt_cv_path_LD
12159 test -z "${LDCXX+set}" || LD=$LDCXX
12160 CC=${CXX-"c++"}
12161 compiler=$CC
12162 compiler_CXX=$CC
12163 for cc_temp in $compiler""; do
12164 case $cc_temp in
12165 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12166 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12167 \-*) ;;
12168 *) break;;
12169 esac
12170 done
12171 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12174 if test -n "$compiler"; then
12175 # We don't want -fno-exception when compiling C++ code, so set the
12176 # no_builtin_flag separately
12177 if test "$GXX" = yes; then
12178 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12179 else
12180 lt_prog_compiler_no_builtin_flag_CXX=
12183 if test "$GXX" = yes; then
12184 # Set up default GNU C++ configuration
12188 # Check whether --with-gnu-ld was given.
12189 if test "${with_gnu_ld+set}" = set; then :
12190 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12191 else
12192 with_gnu_ld=no
12195 ac_prog=ld
12196 if test "$GCC" = yes; then
12197 # Check if gcc -print-prog-name=ld gives a path.
12198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12199 $as_echo_n "checking for ld used by $CC... " >&6; }
12200 case $host in
12201 *-*-mingw*)
12202 # gcc leaves a trailing carriage return which upsets mingw
12203 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12205 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12206 esac
12207 case $ac_prog in
12208 # Accept absolute paths.
12209 [\\/]* | ?:[\\/]*)
12210 re_direlt='/[^/][^/]*/\.\./'
12211 # Canonicalize the pathname of ld
12212 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12213 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12214 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12215 done
12216 test -z "$LD" && LD="$ac_prog"
12219 # If it fails, then pretend we aren't using GCC.
12220 ac_prog=ld
12223 # If it is relative, then search for the first ld in PATH.
12224 with_gnu_ld=unknown
12226 esac
12227 elif test "$with_gnu_ld" = yes; then
12228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12229 $as_echo_n "checking for GNU ld... " >&6; }
12230 else
12231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12232 $as_echo_n "checking for non-GNU ld... " >&6; }
12234 if test "${lt_cv_path_LD+set}" = set; then :
12235 $as_echo_n "(cached) " >&6
12236 else
12237 if test -z "$LD"; then
12238 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12239 for ac_dir in $PATH; do
12240 IFS="$lt_save_ifs"
12241 test -z "$ac_dir" && ac_dir=.
12242 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12243 lt_cv_path_LD="$ac_dir/$ac_prog"
12244 # Check to see if the program is GNU ld. I'd rather use --version,
12245 # but apparently some variants of GNU ld only accept -v.
12246 # Break only if it was the GNU/non-GNU ld that we prefer.
12247 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12248 *GNU* | *'with BFD'*)
12249 test "$with_gnu_ld" != no && break
12252 test "$with_gnu_ld" != yes && break
12254 esac
12256 done
12257 IFS="$lt_save_ifs"
12258 else
12259 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12263 LD="$lt_cv_path_LD"
12264 if test -n "$LD"; then
12265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12266 $as_echo "$LD" >&6; }
12267 else
12268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12269 $as_echo "no" >&6; }
12271 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
12272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12273 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12274 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12275 $as_echo_n "(cached) " >&6
12276 else
12277 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12278 case `$LD -v 2>&1 </dev/null` in
12279 *GNU* | *'with BFD'*)
12280 lt_cv_prog_gnu_ld=yes
12283 lt_cv_prog_gnu_ld=no
12285 esac
12287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12288 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12289 with_gnu_ld=$lt_cv_prog_gnu_ld
12297 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12298 # archiving commands below assume that GNU ld is being used.
12299 if test "$with_gnu_ld" = yes; then
12300 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12301 archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12303 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12304 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12306 # If archive_cmds runs LD, not CC, wlarc should be empty
12307 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12308 # investigate it a little bit more. (MM)
12309 wlarc='${wl}'
12311 # ancient GNU ld didn't support --whole-archive et. al.
12312 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12313 $GREP 'no-whole-archive' > /dev/null; then
12314 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12315 else
12316 whole_archive_flag_spec_CXX=
12318 else
12319 with_gnu_ld=no
12320 wlarc=
12322 # A generic and very simple default shared library creation
12323 # command for GNU C++ for the case where it uses the native
12324 # linker, instead of GNU ld. If possible, this setting should
12325 # overridden to take advantage of the native linker features on
12326 # the platform it is being used on.
12327 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12330 # Commands to make compiler produce verbose output that lists
12331 # what "hidden" libraries, object files and flags are used when
12332 # linking a shared library.
12333 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12335 else
12336 GXX=no
12337 with_gnu_ld=no
12338 wlarc=
12341 # PORTME: fill in a description of your system's C++ link characteristics
12342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12343 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12344 ld_shlibs_CXX=yes
12345 case $host_os in
12346 aix3*)
12347 # FIXME: insert proper C++ library support
12348 ld_shlibs_CXX=no
12350 aix[4-9]*)
12351 if test "$host_cpu" = ia64; then
12352 # On IA64, the linker does run time linking by default, so we don't
12353 # have to do anything special.
12354 aix_use_runtimelinking=no
12355 exp_sym_flag='-Bexport'
12356 no_entry_flag=""
12357 else
12358 aix_use_runtimelinking=no
12360 # Test if we are trying to use run time linking or normal
12361 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12362 # need to do runtime linking.
12363 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12364 for ld_flag in $LDFLAGS; do
12365 case $ld_flag in
12366 *-brtl*)
12367 aix_use_runtimelinking=yes
12368 break
12370 esac
12371 done
12373 esac
12375 exp_sym_flag='-bexport'
12376 no_entry_flag='-bnoentry'
12379 # When large executables or shared objects are built, AIX ld can
12380 # have problems creating the table of contents. If linking a library
12381 # or program results in "error TOC overflow" add -mminimal-toc to
12382 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12383 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12385 archive_cmds_CXX=''
12386 hardcode_direct_CXX=yes
12387 hardcode_direct_absolute_CXX=yes
12388 hardcode_libdir_separator_CXX=':'
12389 link_all_deplibs_CXX=yes
12390 file_list_spec_CXX='${wl}-f,'
12392 if test "$GXX" = yes; then
12393 case $host_os in aix4.[012]|aix4.[012].*)
12394 # We only want to do this on AIX 4.2 and lower, the check
12395 # below for broken collect2 doesn't work under 4.3+
12396 collect2name=`${CC} -print-prog-name=collect2`
12397 if test -f "$collect2name" &&
12398 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12399 then
12400 # We have reworked collect2
12402 else
12403 # We have old collect2
12404 hardcode_direct_CXX=unsupported
12405 # It fails to find uninstalled libraries when the uninstalled
12406 # path is not listed in the libpath. Setting hardcode_minus_L
12407 # to unsupported forces relinking
12408 hardcode_minus_L_CXX=yes
12409 hardcode_libdir_flag_spec_CXX='-L$libdir'
12410 hardcode_libdir_separator_CXX=
12412 esac
12413 shared_flag='-shared'
12414 if test "$aix_use_runtimelinking" = yes; then
12415 shared_flag="$shared_flag "'${wl}-G'
12417 else
12418 # not using gcc
12419 if test "$host_cpu" = ia64; then
12420 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12421 # chokes on -Wl,-G. The following line is correct:
12422 shared_flag='-G'
12423 else
12424 if test "$aix_use_runtimelinking" = yes; then
12425 shared_flag='${wl}-G'
12426 else
12427 shared_flag='${wl}-bM:SRE'
12432 export_dynamic_flag_spec_CXX='${wl}-bexpall'
12433 # It seems that -bexpall does not export symbols beginning with
12434 # underscore (_), so it is better to generate a list of symbols to
12435 # export.
12436 always_export_symbols_CXX=yes
12437 if test "$aix_use_runtimelinking" = yes; then
12438 # Warning - without using the other runtime loading flags (-brtl),
12439 # -berok will link without error, but may produce a broken library.
12440 allow_undefined_flag_CXX='-berok'
12441 # Determine the default libpath from the value encoded in an empty
12442 # executable.
12443 if test x$gcc_no_link = xyes; then
12444 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12447 /* end confdefs.h. */
12450 main ()
12454 return 0;
12456 _ACEOF
12457 if ac_fn_cxx_try_link "$LINENO"; then :
12459 lt_aix_libpath_sed='
12460 /Import File Strings/,/^$/ {
12461 /^0/ {
12462 s/^0 *\(.*\)$/\1/
12466 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12467 # Check for a 64-bit object if we didn't find anything.
12468 if test -z "$aix_libpath"; then
12469 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12472 rm -f core conftest.err conftest.$ac_objext \
12473 conftest$ac_exeext conftest.$ac_ext
12474 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12476 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12478 archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
12479 else
12480 if test "$host_cpu" = ia64; then
12481 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12482 allow_undefined_flag_CXX="-z nodefs"
12483 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
12484 else
12485 # Determine the default libpath from the value encoded in an
12486 # empty executable.
12487 if test x$gcc_no_link = xyes; then
12488 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12491 /* end confdefs.h. */
12494 main ()
12498 return 0;
12500 _ACEOF
12501 if ac_fn_cxx_try_link "$LINENO"; then :
12503 lt_aix_libpath_sed='
12504 /Import File Strings/,/^$/ {
12505 /^0/ {
12506 s/^0 *\(.*\)$/\1/
12510 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12511 # Check for a 64-bit object if we didn't find anything.
12512 if test -z "$aix_libpath"; then
12513 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12516 rm -f core conftest.err conftest.$ac_objext \
12517 conftest$ac_exeext conftest.$ac_ext
12518 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12520 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12521 # Warning - without using the other run time loading flags,
12522 # -berok will link without error, but may produce a broken library.
12523 no_undefined_flag_CXX=' ${wl}-bernotok'
12524 allow_undefined_flag_CXX=' ${wl}-berok'
12525 if test "$with_gnu_ld" = yes; then
12526 # We only use this code for GNU lds that support --whole-archive.
12527 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12528 else
12529 # Exported symbols can be pulled into shared objects from archives
12530 whole_archive_flag_spec_CXX='$convenience'
12532 archive_cmds_need_lc_CXX=yes
12533 # This is similar to how AIX traditionally builds its shared
12534 # libraries.
12535 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
12540 beos*)
12541 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12542 allow_undefined_flag_CXX=unsupported
12543 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12544 # support --undefined. This deserves some investigation. FIXME
12545 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12546 else
12547 ld_shlibs_CXX=no
12551 chorus*)
12552 case $cc_basename in
12554 # FIXME: insert proper C++ library support
12555 ld_shlibs_CXX=no
12557 esac
12560 cygwin* | mingw* | pw32* | cegcc*)
12561 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12562 # as there is no search path for DLLs.
12563 hardcode_libdir_flag_spec_CXX='-L$libdir'
12564 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12565 allow_undefined_flag_CXX=unsupported
12566 always_export_symbols_CXX=no
12567 enable_shared_with_static_runtimes_CXX=yes
12569 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12570 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12571 # If the export-symbols file already is a .def file (1st line
12572 # is EXPORTS), use it as is; otherwise, prepend...
12573 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12574 cp $export_symbols $output_objdir/$soname.def;
12575 else
12576 echo EXPORTS > $output_objdir/$soname.def;
12577 cat $export_symbols >> $output_objdir/$soname.def;
12579 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12580 else
12581 ld_shlibs_CXX=no
12584 darwin* | rhapsody*)
12587 archive_cmds_need_lc_CXX=no
12588 hardcode_direct_CXX=no
12589 hardcode_automatic_CXX=yes
12590 hardcode_shlibpath_var_CXX=unsupported
12591 if test "$lt_cv_ld_force_load" = "yes"; then
12592 whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
12593 else
12594 whole_archive_flag_spec_CXX=''
12596 link_all_deplibs_CXX=yes
12597 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12598 case $cc_basename in
12599 ifort*) _lt_dar_can_shared=yes ;;
12600 *) _lt_dar_can_shared=$GCC ;;
12601 esac
12602 if test "$_lt_dar_can_shared" = "yes"; then
12603 output_verbose_link_cmd=func_echo_all
12604 archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
12605 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12606 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
12607 module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
12608 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12609 archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
12610 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
12613 else
12614 ld_shlibs_CXX=no
12619 dgux*)
12620 case $cc_basename in
12621 ec++*)
12622 # FIXME: insert proper C++ library support
12623 ld_shlibs_CXX=no
12625 ghcx*)
12626 # Green Hills C++ Compiler
12627 # FIXME: insert proper C++ library support
12628 ld_shlibs_CXX=no
12631 # FIXME: insert proper C++ library support
12632 ld_shlibs_CXX=no
12634 esac
12637 freebsd2.*)
12638 # C++ shared libraries reported to be fairly broken before
12639 # switch to ELF
12640 ld_shlibs_CXX=no
12643 freebsd-elf*)
12644 archive_cmds_need_lc_CXX=no
12647 freebsd* | dragonfly*)
12648 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12649 # conventions
12650 ld_shlibs_CXX=yes
12653 gnu*)
12656 haiku*)
12657 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12658 link_all_deplibs_CXX=yes
12661 hpux9*)
12662 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12663 hardcode_libdir_separator_CXX=:
12664 export_dynamic_flag_spec_CXX='${wl}-E'
12665 hardcode_direct_CXX=yes
12666 hardcode_minus_L_CXX=yes # Not in the search PATH,
12667 # but as the default
12668 # location of the library.
12670 case $cc_basename in
12671 CC*)
12672 # FIXME: insert proper C++ library support
12673 ld_shlibs_CXX=no
12675 aCC*)
12676 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12677 # Commands to make compiler produce verbose output that lists
12678 # what "hidden" libraries, object files and flags are used when
12679 # linking a shared library.
12681 # There doesn't appear to be a way to prevent this compiler from
12682 # explicitly linking system object files so we need to strip them
12683 # from the output so that they don't get included in the library
12684 # dependencies.
12685 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
12688 if test "$GXX" = yes; then
12689 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12690 else
12691 # FIXME: insert proper C++ library support
12692 ld_shlibs_CXX=no
12695 esac
12698 hpux10*|hpux11*)
12699 if test $with_gnu_ld = no; then
12700 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12701 hardcode_libdir_separator_CXX=:
12703 case $host_cpu in
12704 hppa*64*|ia64*)
12707 export_dynamic_flag_spec_CXX='${wl}-E'
12709 esac
12711 case $host_cpu in
12712 hppa*64*|ia64*)
12713 hardcode_direct_CXX=no
12714 hardcode_shlibpath_var_CXX=no
12717 hardcode_direct_CXX=yes
12718 hardcode_direct_absolute_CXX=yes
12719 hardcode_minus_L_CXX=yes # Not in the search PATH,
12720 # but as the default
12721 # location of the library.
12723 esac
12725 case $cc_basename in
12726 CC*)
12727 # FIXME: insert proper C++ library support
12728 ld_shlibs_CXX=no
12730 aCC*)
12731 case $host_cpu in
12732 hppa*64*)
12733 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12735 ia64*)
12736 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12739 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12741 esac
12742 # Commands to make compiler produce verbose output that lists
12743 # what "hidden" libraries, object files and flags are used when
12744 # linking a shared library.
12746 # There doesn't appear to be a way to prevent this compiler from
12747 # explicitly linking system object files so we need to strip them
12748 # from the output so that they don't get included in the library
12749 # dependencies.
12750 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
12753 if test "$GXX" = yes; then
12754 if test $with_gnu_ld = no; then
12755 case $host_cpu in
12756 hppa*64*)
12757 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12759 ia64*)
12760 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12763 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12765 esac
12767 else
12768 # FIXME: insert proper C++ library support
12769 ld_shlibs_CXX=no
12772 esac
12775 interix[3-9]*)
12776 hardcode_direct_CXX=no
12777 hardcode_shlibpath_var_CXX=no
12778 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12779 export_dynamic_flag_spec_CXX='${wl}-E'
12780 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12781 # Instead, shared libraries are loaded at an image base (0x10000000 by
12782 # default) and relocated if they conflict, which is a slow very memory
12783 # consuming and fragmenting process. To avoid this, we pick a random,
12784 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12785 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12786 archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
12787 archive_expsym_cmds_CXX='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
12789 irix5* | irix6*)
12790 case $cc_basename in
12791 CC*)
12792 # SGI C++
12793 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
12795 # Archives containing C++ object files must be created using
12796 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12797 # necessary to make sure instantiated templates are included
12798 # in the archive.
12799 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12802 if test "$GXX" = yes; then
12803 if test "$with_gnu_ld" = no; then
12804 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12805 else
12806 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
12809 link_all_deplibs_CXX=yes
12811 esac
12812 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12813 hardcode_libdir_separator_CXX=:
12814 inherit_rpath_CXX=yes
12817 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12818 case $cc_basename in
12819 KCC*)
12820 # Kuck and Associates, Inc. (KAI) C++ Compiler
12822 # KCC will only create a shared library if the output file
12823 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12824 # to its proper name (with version) after linking.
12825 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
12826 archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
12827 # Commands to make compiler produce verbose output that lists
12828 # what "hidden" libraries, object files and flags are used when
12829 # linking a shared library.
12831 # There doesn't appear to be a way to prevent this compiler from
12832 # explicitly linking system object files so we need to strip them
12833 # from the output so that they don't get included in the library
12834 # dependencies.
12835 output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
12837 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12838 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12840 # Archives containing C++ object files must be created using
12841 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12842 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12844 icpc* | ecpc* )
12845 # Intel C++
12846 with_gnu_ld=yes
12847 # version 8.0 and above of icpc choke on multiply defined symbols
12848 # if we add $predep_objects and $postdep_objects, however 7.1 and
12849 # earlier do not add the objects themselves.
12850 case `$CC -V 2>&1` in
12851 *"Version 7."*)
12852 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12853 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12855 *) # Version 8.0 or newer
12856 tmp_idyn=
12857 case $host_cpu in
12858 ia64*) tmp_idyn=' -i_dynamic';;
12859 esac
12860 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12861 archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12863 esac
12864 archive_cmds_need_lc_CXX=no
12865 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12866 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12867 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12869 pgCC* | pgcpp*)
12870 # Portland Group C++ compiler
12871 case `$CC -V` in
12872 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12873 prelink_cmds_CXX='tpldir=Template.dir~
12874 rm -rf $tpldir~
12875 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12876 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12877 old_archive_cmds_CXX='tpldir=Template.dir~
12878 rm -rf $tpldir~
12879 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12880 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12881 $RANLIB $oldlib'
12882 archive_cmds_CXX='tpldir=Template.dir~
12883 rm -rf $tpldir~
12884 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12885 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12886 archive_expsym_cmds_CXX='tpldir=Template.dir~
12887 rm -rf $tpldir~
12888 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12889 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
12891 *) # Version 6 and above use weak symbols
12892 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12893 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
12895 esac
12897 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12898 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12899 whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
12901 cxx*)
12902 # Compaq C++
12903 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12904 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
12906 runpath_var=LD_RUN_PATH
12907 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12908 hardcode_libdir_separator_CXX=:
12910 # Commands to make compiler produce verbose output that lists
12911 # what "hidden" libraries, object files and flags are used when
12912 # linking a shared library.
12914 # There doesn't appear to be a way to prevent this compiler from
12915 # explicitly linking system object files so we need to strip them
12916 # from the output so that they don't get included in the library
12917 # dependencies.
12918 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
12920 xl* | mpixl* | bgxl*)
12921 # IBM XL 8.0 on PPC, with GNU ld
12922 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12923 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12924 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12925 if test "x$supports_anon_versioning" = xyes; then
12926 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12927 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12928 echo "local: *; };" >> $output_objdir/$libname.ver~
12929 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12933 case `$CC -V 2>&1 | sed 5q` in
12934 *Sun\ C*)
12935 # Sun C++ 5.9
12936 no_undefined_flag_CXX=' -zdefs'
12937 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12938 archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
12939 hardcode_libdir_flag_spec_CXX='-R$libdir'
12940 whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
12941 compiler_needs_object_CXX=yes
12943 # Not sure whether something based on
12944 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12945 # would be better.
12946 output_verbose_link_cmd='func_echo_all'
12948 # Archives containing C++ object files must be created using
12949 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12950 # necessary to make sure instantiated templates are included
12951 # in the archive.
12952 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12954 esac
12956 esac
12959 lynxos*)
12960 # FIXME: insert proper C++ library support
12961 ld_shlibs_CXX=no
12964 m88k*)
12965 # FIXME: insert proper C++ library support
12966 ld_shlibs_CXX=no
12969 mvs*)
12970 case $cc_basename in
12971 cxx*)
12972 # FIXME: insert proper C++ library support
12973 ld_shlibs_CXX=no
12976 # FIXME: insert proper C++ library support
12977 ld_shlibs_CXX=no
12979 esac
12982 netbsd*)
12983 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12984 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12985 wlarc=
12986 hardcode_libdir_flag_spec_CXX='-R$libdir'
12987 hardcode_direct_CXX=yes
12988 hardcode_shlibpath_var_CXX=no
12990 # Workaround some broken pre-1.5 toolchains
12991 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12994 *nto* | *qnx*)
12995 ld_shlibs_CXX=yes
12998 openbsd2*)
12999 # C++ shared libraries are fairly broken
13000 ld_shlibs_CXX=no
13003 openbsd*)
13004 if test -f /usr/libexec/ld.so; then
13005 hardcode_direct_CXX=yes
13006 hardcode_shlibpath_var_CXX=no
13007 hardcode_direct_absolute_CXX=yes
13008 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13009 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13010 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13011 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13012 export_dynamic_flag_spec_CXX='${wl}-E'
13013 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13015 output_verbose_link_cmd=func_echo_all
13016 else
13017 ld_shlibs_CXX=no
13021 osf3* | osf4* | osf5*)
13022 case $cc_basename in
13023 KCC*)
13024 # Kuck and Associates, Inc. (KAI) C++ Compiler
13026 # KCC will only create a shared library if the output file
13027 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13028 # to its proper name (with version) after linking.
13029 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
13031 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13032 hardcode_libdir_separator_CXX=:
13034 # Archives containing C++ object files must be created using
13035 # the KAI C++ compiler.
13036 case $host in
13037 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
13038 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
13039 esac
13041 RCC*)
13042 # Rational C++ 2.4.1
13043 # FIXME: insert proper C++ library support
13044 ld_shlibs_CXX=no
13046 cxx*)
13047 case $host in
13048 osf3*)
13049 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13050 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
13051 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13054 allow_undefined_flag_CXX=' -expect_unresolved \*'
13055 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
13056 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13057 echo "-hidden">> $lib.exp~
13058 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~
13059 $RM $lib.exp'
13060 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13062 esac
13064 hardcode_libdir_separator_CXX=:
13066 # Commands to make compiler produce verbose output that lists
13067 # what "hidden" libraries, object files and flags are used when
13068 # linking a shared library.
13070 # There doesn't appear to be a way to prevent this compiler from
13071 # explicitly linking system object files so we need to strip them
13072 # from the output so that they don't get included in the library
13073 # dependencies.
13074 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
13077 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13078 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13079 case $host in
13080 osf3*)
13081 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13084 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13086 esac
13088 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13089 hardcode_libdir_separator_CXX=:
13091 # Commands to make compiler produce verbose output that lists
13092 # what "hidden" libraries, object files and flags are used when
13093 # linking a shared library.
13094 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13096 else
13097 # FIXME: insert proper C++ library support
13098 ld_shlibs_CXX=no
13101 esac
13104 psos*)
13105 # FIXME: insert proper C++ library support
13106 ld_shlibs_CXX=no
13109 sunos4*)
13110 case $cc_basename in
13111 CC*)
13112 # Sun C++ 4.x
13113 # FIXME: insert proper C++ library support
13114 ld_shlibs_CXX=no
13116 lcc*)
13117 # Lucid
13118 # FIXME: insert proper C++ library support
13119 ld_shlibs_CXX=no
13122 # FIXME: insert proper C++ library support
13123 ld_shlibs_CXX=no
13125 esac
13128 solaris*)
13129 case $cc_basename in
13130 CC*)
13131 # Sun C++ 4.2, 5.x and Centerline C++
13132 archive_cmds_need_lc_CXX=yes
13133 no_undefined_flag_CXX=' -zdefs'
13134 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13135 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13136 $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13138 hardcode_libdir_flag_spec_CXX='-R$libdir'
13139 hardcode_shlibpath_var_CXX=no
13140 case $host_os in
13141 solaris2.[0-5] | solaris2.[0-5].*) ;;
13143 # The compiler driver will combine and reorder linker options,
13144 # but understands `-z linker_flag'.
13145 # Supported since Solaris 2.6 (maybe 2.5.1?)
13146 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13148 esac
13149 link_all_deplibs_CXX=yes
13151 output_verbose_link_cmd='func_echo_all'
13153 # Archives containing C++ object files must be created using
13154 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13155 # necessary to make sure instantiated templates are included
13156 # in the archive.
13157 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13159 gcx*)
13160 # Green Hills C++ Compiler
13161 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13163 # The C++ compiler must be used to create the archive.
13164 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13167 # GNU C++ compiler with Solaris linker
13168 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13169 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13170 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13171 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13172 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13173 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13175 # Commands to make compiler produce verbose output that lists
13176 # what "hidden" libraries, object files and flags are used when
13177 # linking a shared library.
13178 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13179 else
13180 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13181 # platform.
13182 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13183 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13184 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13186 # Commands to make compiler produce verbose output that lists
13187 # what "hidden" libraries, object files and flags are used when
13188 # linking a shared library.
13189 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13192 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13193 case $host_os in
13194 solaris2.[0-5] | solaris2.[0-5].*) ;;
13196 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13198 esac
13201 esac
13204 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13205 no_undefined_flag_CXX='${wl}-z,text'
13206 archive_cmds_need_lc_CXX=no
13207 hardcode_shlibpath_var_CXX=no
13208 runpath_var='LD_RUN_PATH'
13210 case $cc_basename in
13211 CC*)
13212 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13213 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13216 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13217 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13219 esac
13222 sysv5* | sco3.2v5* | sco5v6*)
13223 # Note: We can NOT use -z defs as we might desire, because we do not
13224 # link with -lc, and that would cause any symbols used from libc to
13225 # always be unresolved, which means just about no library would
13226 # ever link correctly. If we're not using GNU ld we use -z text
13227 # though, which does catch some bad symbols but isn't as heavy-handed
13228 # as -z defs.
13229 no_undefined_flag_CXX='${wl}-z,text'
13230 allow_undefined_flag_CXX='${wl}-z,nodefs'
13231 archive_cmds_need_lc_CXX=no
13232 hardcode_shlibpath_var_CXX=no
13233 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13234 hardcode_libdir_separator_CXX=':'
13235 link_all_deplibs_CXX=yes
13236 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13237 runpath_var='LD_RUN_PATH'
13239 case $cc_basename in
13240 CC*)
13241 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13242 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13243 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13244 '"$old_archive_cmds_CXX"
13245 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13246 '"$reload_cmds_CXX"
13249 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13250 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13252 esac
13255 tandem*)
13256 case $cc_basename in
13257 NCC*)
13258 # NonStop-UX NCC 3.20
13259 # FIXME: insert proper C++ library support
13260 ld_shlibs_CXX=no
13263 # FIXME: insert proper C++ library support
13264 ld_shlibs_CXX=no
13266 esac
13269 vxworks*)
13270 # FIXME: insert proper C++ library support
13271 ld_shlibs_CXX=no
13275 # FIXME: insert proper C++ library support
13276 ld_shlibs_CXX=no
13278 esac
13280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13281 $as_echo "$ld_shlibs_CXX" >&6; }
13282 test "$ld_shlibs_CXX" = no && can_build_shared=no
13284 GCC_CXX="$GXX"
13285 LD_CXX="$LD"
13287 ## CAVEAT EMPTOR:
13288 ## There is no encapsulation within the following macros, do not change
13289 ## the running order or otherwise move them around unless you know exactly
13290 ## what you are doing...
13291 # Dependencies to place before and after the object being linked:
13292 predep_objects_CXX=
13293 postdep_objects_CXX=
13294 predeps_CXX=
13295 postdeps_CXX=
13296 compiler_lib_search_path_CXX=
13298 cat > conftest.$ac_ext <<_LT_EOF
13299 class Foo
13301 public:
13302 Foo (void) { a = 0; }
13303 private:
13304 int a;
13306 _LT_EOF
13308 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13309 (eval $ac_compile) 2>&5
13310 ac_status=$?
13311 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13312 test $ac_status = 0; }; then
13313 # Parse the compiler output and extract the necessary
13314 # objects, libraries and library flags.
13316 # Sentinel used to keep track of whether or not we are before
13317 # the conftest object file.
13318 pre_test_object_deps_done=no
13320 for p in `eval "$output_verbose_link_cmd"`; do
13321 case $p in
13323 -L* | -R* | -l*)
13324 # Some compilers place space between "-{L,R}" and the path.
13325 # Remove the space.
13326 if test $p = "-L" ||
13327 test $p = "-R"; then
13328 prev=$p
13329 continue
13330 else
13331 prev=
13334 if test "$pre_test_object_deps_done" = no; then
13335 case $p in
13336 -L* | -R*)
13337 # Internal compiler library paths should come after those
13338 # provided the user. The postdeps already come after the
13339 # user supplied libs so there is no need to process them.
13340 if test -z "$compiler_lib_search_path_CXX"; then
13341 compiler_lib_search_path_CXX="${prev}${p}"
13342 else
13343 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13346 # The "-l" case would never come before the object being
13347 # linked, so don't bother handling this case.
13348 esac
13349 else
13350 if test -z "$postdeps_CXX"; then
13351 postdeps_CXX="${prev}${p}"
13352 else
13353 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13358 *.$objext)
13359 # This assumes that the test object file only shows up
13360 # once in the compiler output.
13361 if test "$p" = "conftest.$objext"; then
13362 pre_test_object_deps_done=yes
13363 continue
13366 if test "$pre_test_object_deps_done" = no; then
13367 if test -z "$predep_objects_CXX"; then
13368 predep_objects_CXX="$p"
13369 else
13370 predep_objects_CXX="$predep_objects_CXX $p"
13372 else
13373 if test -z "$postdep_objects_CXX"; then
13374 postdep_objects_CXX="$p"
13375 else
13376 postdep_objects_CXX="$postdep_objects_CXX $p"
13381 *) ;; # Ignore the rest.
13383 esac
13384 done
13386 # Clean up.
13387 rm -f a.out a.exe
13388 else
13389 echo "libtool.m4: error: problem compiling CXX test program"
13392 $RM -f confest.$objext
13394 # PORTME: override above test on systems where it is broken
13395 case $host_os in
13396 interix[3-9]*)
13397 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13398 # hack all around it, let's just trust "g++" to DTRT.
13399 predep_objects_CXX=
13400 postdep_objects_CXX=
13401 postdeps_CXX=
13404 linux*)
13405 case `$CC -V 2>&1 | sed 5q` in
13406 *Sun\ C*)
13407 # Sun C++ 5.9
13409 # The more standards-conforming stlport4 library is
13410 # incompatible with the Cstd library. Avoid specifying
13411 # it if it's in CXXFLAGS. Ignore libCrun as
13412 # -library=stlport4 depends on it.
13413 case " $CXX $CXXFLAGS " in
13414 *" -library=stlport4 "*)
13415 solaris_use_stlport4=yes
13417 esac
13419 if test "$solaris_use_stlport4" != yes; then
13420 postdeps_CXX='-library=Cstd -library=Crun'
13423 esac
13426 solaris*)
13427 case $cc_basename in
13428 CC*)
13429 # The more standards-conforming stlport4 library is
13430 # incompatible with the Cstd library. Avoid specifying
13431 # it if it's in CXXFLAGS. Ignore libCrun as
13432 # -library=stlport4 depends on it.
13433 case " $CXX $CXXFLAGS " in
13434 *" -library=stlport4 "*)
13435 solaris_use_stlport4=yes
13437 esac
13439 # Adding this requires a known-good setup of shared libraries for
13440 # Sun compiler versions before 5.6, else PIC objects from an old
13441 # archive will be linked into the output, leading to subtle bugs.
13442 if test "$solaris_use_stlport4" != yes; then
13443 postdeps_CXX='-library=Cstd -library=Crun'
13446 esac
13448 esac
13451 case " $postdeps_CXX " in
13452 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13453 esac
13454 compiler_lib_search_dirs_CXX=
13455 if test -n "${compiler_lib_search_path_CXX}"; then
13456 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13489 lt_prog_compiler_wl_CXX=
13490 lt_prog_compiler_pic_CXX=
13491 lt_prog_compiler_static_CXX=
13493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13494 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13496 # C++ specific cases for pic, static, wl, etc.
13497 if test "$GXX" = yes; then
13498 lt_prog_compiler_wl_CXX='-Wl,'
13499 lt_prog_compiler_static_CXX='-static'
13501 case $host_os in
13502 aix*)
13503 # All AIX code is PIC.
13504 if test "$host_cpu" = ia64; then
13505 # AIX 5 now supports IA64 processor
13506 lt_prog_compiler_static_CXX='-Bstatic'
13508 lt_prog_compiler_pic_CXX='-fPIC'
13511 amigaos*)
13512 case $host_cpu in
13513 powerpc)
13514 # see comment about AmigaOS4 .so support
13515 lt_prog_compiler_pic_CXX='-fPIC'
13517 m68k)
13518 # FIXME: we need at least 68020 code to build shared libraries, but
13519 # adding the `-m68020' flag to GCC prevents building anything better,
13520 # like `-m68040'.
13521 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13523 esac
13526 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13527 # PIC is the default for these OSes.
13529 mingw* | cygwin* | os2* | pw32* | cegcc*)
13530 # This hack is so that the source file can tell whether it is being
13531 # built for inclusion in a dll (and should export symbols for example).
13532 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13533 # (--disable-auto-import) libraries
13534 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13536 darwin* | rhapsody*)
13537 # PIC is the default on this platform
13538 # Common symbols not allowed in MH_DYLIB files
13539 lt_prog_compiler_pic_CXX='-fno-common'
13541 *djgpp*)
13542 # DJGPP does not support shared libraries at all
13543 lt_prog_compiler_pic_CXX=
13545 haiku*)
13546 # PIC is the default for Haiku.
13547 # The "-static" flag exists, but is broken.
13548 lt_prog_compiler_static_CXX=
13550 interix[3-9]*)
13551 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13552 # Instead, we relocate shared libraries at runtime.
13554 sysv4*MP*)
13555 if test -d /usr/nec; then
13556 lt_prog_compiler_pic_CXX=-Kconform_pic
13559 hpux*)
13560 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13561 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13562 # sets the default TLS model and affects inlining.
13563 case $host_cpu in
13564 hppa*64*)
13567 lt_prog_compiler_pic_CXX='-fPIC'
13569 esac
13571 *qnx* | *nto*)
13572 # QNX uses GNU C++, but need to define -shared option too, otherwise
13573 # it will coredump.
13574 lt_prog_compiler_pic_CXX='-fPIC -shared'
13577 lt_prog_compiler_pic_CXX='-fPIC'
13579 esac
13580 else
13581 case $host_os in
13582 aix[4-9]*)
13583 # All AIX code is PIC.
13584 if test "$host_cpu" = ia64; then
13585 # AIX 5 now supports IA64 processor
13586 lt_prog_compiler_static_CXX='-Bstatic'
13587 else
13588 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13591 chorus*)
13592 case $cc_basename in
13593 cxch68*)
13594 # Green Hills C++ Compiler
13595 # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
13597 esac
13599 dgux*)
13600 case $cc_basename in
13601 ec++*)
13602 lt_prog_compiler_pic_CXX='-KPIC'
13604 ghcx*)
13605 # Green Hills C++ Compiler
13606 lt_prog_compiler_pic_CXX='-pic'
13610 esac
13612 freebsd* | dragonfly*)
13613 # FreeBSD uses GNU C++
13615 hpux9* | hpux10* | hpux11*)
13616 case $cc_basename in
13617 CC*)
13618 lt_prog_compiler_wl_CXX='-Wl,'
13619 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13620 if test "$host_cpu" != ia64; then
13621 lt_prog_compiler_pic_CXX='+Z'
13624 aCC*)
13625 lt_prog_compiler_wl_CXX='-Wl,'
13626 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13627 case $host_cpu in
13628 hppa*64*|ia64*)
13629 # +Z the default
13632 lt_prog_compiler_pic_CXX='+Z'
13634 esac
13638 esac
13640 interix*)
13641 # This is c89, which is MS Visual C++ (no shared libs)
13642 # Anyone wants to do a port?
13644 irix5* | irix6* | nonstopux*)
13645 case $cc_basename in
13646 CC*)
13647 lt_prog_compiler_wl_CXX='-Wl,'
13648 lt_prog_compiler_static_CXX='-non_shared'
13649 # CC pic flag -KPIC is the default.
13653 esac
13655 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13656 case $cc_basename in
13657 KCC*)
13658 # KAI C++ Compiler
13659 lt_prog_compiler_wl_CXX='--backend -Wl,'
13660 lt_prog_compiler_pic_CXX='-fPIC'
13662 ecpc* )
13663 # old Intel C++ for x86_64 which still supported -KPIC.
13664 lt_prog_compiler_wl_CXX='-Wl,'
13665 lt_prog_compiler_pic_CXX='-KPIC'
13666 lt_prog_compiler_static_CXX='-static'
13668 icpc* )
13669 # Intel C++, used to be incompatible with GCC.
13670 # ICC 10 doesn't accept -KPIC any more.
13671 lt_prog_compiler_wl_CXX='-Wl,'
13672 lt_prog_compiler_pic_CXX='-fPIC'
13673 lt_prog_compiler_static_CXX='-static'
13675 pgCC* | pgcpp*)
13676 # Portland Group C++ compiler
13677 lt_prog_compiler_wl_CXX='-Wl,'
13678 lt_prog_compiler_pic_CXX='-fpic'
13679 lt_prog_compiler_static_CXX='-Bstatic'
13681 cxx*)
13682 # Compaq C++
13683 # Make sure the PIC flag is empty. It appears that all Alpha
13684 # Linux and Compaq Tru64 Unix objects are PIC.
13685 lt_prog_compiler_pic_CXX=
13686 lt_prog_compiler_static_CXX='-non_shared'
13688 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13689 # IBM XL 8.0, 9.0 on PPC and BlueGene
13690 lt_prog_compiler_wl_CXX='-Wl,'
13691 lt_prog_compiler_pic_CXX='-qpic'
13692 lt_prog_compiler_static_CXX='-qstaticlink'
13695 case `$CC -V 2>&1 | sed 5q` in
13696 *Sun\ C*)
13697 # Sun C++ 5.9
13698 lt_prog_compiler_pic_CXX='-KPIC'
13699 lt_prog_compiler_static_CXX='-Bstatic'
13700 lt_prog_compiler_wl_CXX='-Qoption ld '
13702 esac
13704 esac
13706 lynxos*)
13708 m88k*)
13710 mvs*)
13711 case $cc_basename in
13712 cxx*)
13713 lt_prog_compiler_pic_CXX='-W c,exportall'
13717 esac
13719 netbsd*)
13721 *qnx* | *nto*)
13722 # QNX uses GNU C++, but need to define -shared option too, otherwise
13723 # it will coredump.
13724 lt_prog_compiler_pic_CXX='-fPIC -shared'
13726 osf3* | osf4* | osf5*)
13727 case $cc_basename in
13728 KCC*)
13729 lt_prog_compiler_wl_CXX='--backend -Wl,'
13731 RCC*)
13732 # Rational C++ 2.4.1
13733 lt_prog_compiler_pic_CXX='-pic'
13735 cxx*)
13736 # Digital/Compaq C++
13737 lt_prog_compiler_wl_CXX='-Wl,'
13738 # Make sure the PIC flag is empty. It appears that all Alpha
13739 # Linux and Compaq Tru64 Unix objects are PIC.
13740 lt_prog_compiler_pic_CXX=
13741 lt_prog_compiler_static_CXX='-non_shared'
13745 esac
13747 psos*)
13749 solaris*)
13750 case $cc_basename in
13751 CC*)
13752 # Sun C++ 4.2, 5.x and Centerline C++
13753 lt_prog_compiler_pic_CXX='-KPIC'
13754 lt_prog_compiler_static_CXX='-Bstatic'
13755 lt_prog_compiler_wl_CXX='-Qoption ld '
13757 gcx*)
13758 # Green Hills C++ Compiler
13759 lt_prog_compiler_pic_CXX='-PIC'
13763 esac
13765 sunos4*)
13766 case $cc_basename in
13767 CC*)
13768 # Sun C++ 4.x
13769 lt_prog_compiler_pic_CXX='-pic'
13770 lt_prog_compiler_static_CXX='-Bstatic'
13772 lcc*)
13773 # Lucid
13774 lt_prog_compiler_pic_CXX='-pic'
13778 esac
13780 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13781 case $cc_basename in
13782 CC*)
13783 lt_prog_compiler_wl_CXX='-Wl,'
13784 lt_prog_compiler_pic_CXX='-KPIC'
13785 lt_prog_compiler_static_CXX='-Bstatic'
13787 esac
13789 tandem*)
13790 case $cc_basename in
13791 NCC*)
13792 # NonStop-UX NCC 3.20
13793 lt_prog_compiler_pic_CXX='-KPIC'
13797 esac
13799 vxworks*)
13802 lt_prog_compiler_can_build_shared_CXX=no
13804 esac
13807 case $host_os in
13808 # For platforms which do not support PIC, -DPIC is meaningless:
13809 *djgpp*)
13810 lt_prog_compiler_pic_CXX=
13813 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13815 esac
13816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13817 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13822 # Check to make sure the PIC flag actually works.
13824 if test -n "$lt_prog_compiler_pic_CXX"; then
13825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13826 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13827 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13828 $as_echo_n "(cached) " >&6
13829 else
13830 lt_cv_prog_compiler_pic_works_CXX=no
13831 ac_outfile=conftest.$ac_objext
13832 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13833 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13834 # Insert the option either (1) after the last *FLAGS variable, or
13835 # (2) before a word containing "conftest.", or (3) at the end.
13836 # Note that $ac_compile itself does not contain backslashes and begins
13837 # with a dollar sign (not a hyphen), so the echo should work correctly.
13838 # The option is referenced via a variable to avoid confusing sed.
13839 lt_compile=`echo "$ac_compile" | $SED \
13840 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13841 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13842 -e 's:$: $lt_compiler_flag:'`
13843 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13844 (eval "$lt_compile" 2>conftest.err)
13845 ac_status=$?
13846 cat conftest.err >&5
13847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13848 if (exit $ac_status) && test -s "$ac_outfile"; then
13849 # The compiler can only warn and ignore the option if not recognized
13850 # So say no if there are warnings other than the usual output.
13851 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13852 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13853 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13854 lt_cv_prog_compiler_pic_works_CXX=yes
13857 $RM conftest*
13860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13861 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13863 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13864 case $lt_prog_compiler_pic_CXX in
13865 "" | " "*) ;;
13866 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13867 esac
13868 else
13869 lt_prog_compiler_pic_CXX=
13870 lt_prog_compiler_can_build_shared_CXX=no
13878 # Check to make sure the static flag actually works.
13880 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13882 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13883 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13884 $as_echo_n "(cached) " >&6
13885 else
13886 lt_cv_prog_compiler_static_works_CXX=no
13887 save_LDFLAGS="$LDFLAGS"
13888 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13889 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13890 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13891 # The linker can only warn and ignore the option if not recognized
13892 # So say no if there are warnings
13893 if test -s conftest.err; then
13894 # Append any errors to the config.log.
13895 cat conftest.err 1>&5
13896 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13897 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13898 if diff conftest.exp conftest.er2 >/dev/null; then
13899 lt_cv_prog_compiler_static_works_CXX=yes
13901 else
13902 lt_cv_prog_compiler_static_works_CXX=yes
13905 $RM -r conftest*
13906 LDFLAGS="$save_LDFLAGS"
13909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13910 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13912 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13914 else
13915 lt_prog_compiler_static_CXX=
13921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13922 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13923 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13924 $as_echo_n "(cached) " >&6
13925 else
13926 lt_cv_prog_compiler_c_o_CXX=no
13927 $RM -r conftest 2>/dev/null
13928 mkdir conftest
13929 cd conftest
13930 mkdir out
13931 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13933 lt_compiler_flag="-o out/conftest2.$ac_objext"
13934 # Insert the option either (1) after the last *FLAGS variable, or
13935 # (2) before a word containing "conftest.", or (3) at the end.
13936 # Note that $ac_compile itself does not contain backslashes and begins
13937 # with a dollar sign (not a hyphen), so the echo should work correctly.
13938 lt_compile=`echo "$ac_compile" | $SED \
13939 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13940 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13941 -e 's:$: $lt_compiler_flag:'`
13942 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13943 (eval "$lt_compile" 2>out/conftest.err)
13944 ac_status=$?
13945 cat out/conftest.err >&5
13946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13947 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13948 then
13949 # The compiler can only warn and ignore the option if not recognized
13950 # So say no if there are warnings
13951 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13952 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13953 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13954 lt_cv_prog_compiler_c_o_CXX=yes
13957 chmod u+w . 2>&5
13958 $RM conftest*
13959 # SGI C++ compiler will create directory out/ii_files/ for
13960 # template instantiation
13961 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13962 $RM out/* && rmdir out
13963 cd ..
13964 $RM -r conftest
13965 $RM conftest*
13968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13969 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13974 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13975 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13976 $as_echo_n "(cached) " >&6
13977 else
13978 lt_cv_prog_compiler_c_o_CXX=no
13979 $RM -r conftest 2>/dev/null
13980 mkdir conftest
13981 cd conftest
13982 mkdir out
13983 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13985 lt_compiler_flag="-o out/conftest2.$ac_objext"
13986 # Insert the option either (1) after the last *FLAGS variable, or
13987 # (2) before a word containing "conftest.", or (3) at the end.
13988 # Note that $ac_compile itself does not contain backslashes and begins
13989 # with a dollar sign (not a hyphen), so the echo should work correctly.
13990 lt_compile=`echo "$ac_compile" | $SED \
13991 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13992 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13993 -e 's:$: $lt_compiler_flag:'`
13994 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13995 (eval "$lt_compile" 2>out/conftest.err)
13996 ac_status=$?
13997 cat out/conftest.err >&5
13998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13999 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14000 then
14001 # The compiler can only warn and ignore the option if not recognized
14002 # So say no if there are warnings
14003 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14004 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14005 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14006 lt_cv_prog_compiler_c_o_CXX=yes
14009 chmod u+w . 2>&5
14010 $RM conftest*
14011 # SGI C++ compiler will create directory out/ii_files/ for
14012 # template instantiation
14013 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14014 $RM out/* && rmdir out
14015 cd ..
14016 $RM -r conftest
14017 $RM conftest*
14020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14021 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14026 hard_links="nottested"
14027 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14028 # do not overwrite the value of need_locks provided by the user
14029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14030 $as_echo_n "checking if we can lock with hard links... " >&6; }
14031 hard_links=yes
14032 $RM conftest*
14033 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14034 touch conftest.a
14035 ln conftest.a conftest.b 2>&5 || hard_links=no
14036 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14038 $as_echo "$hard_links" >&6; }
14039 if test "$hard_links" = no; then
14040 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14041 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14042 need_locks=warn
14044 else
14045 need_locks=no
14050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14051 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14053 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14054 case $host_os in
14055 aix[4-9]*)
14056 # If we're using GNU nm, then we don't want the "-C" option.
14057 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14058 # Also, AIX nm treats weak defined symbols like other global defined
14059 # symbols, whereas GNU nm marks them as "W".
14060 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14061 export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14062 else
14063 export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14066 pw32*)
14067 export_symbols_cmds_CXX="$ltdll_cmds"
14069 cygwin* | mingw* | cegcc*)
14070 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
14073 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14075 esac
14076 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14079 $as_echo "$ld_shlibs_CXX" >&6; }
14080 test "$ld_shlibs_CXX" = no && can_build_shared=no
14082 with_gnu_ld_CXX=$with_gnu_ld
14090 # Do we need to explicitly link libc?
14092 case "x$archive_cmds_need_lc_CXX" in
14093 x|xyes)
14094 # Assume -lc should be added
14095 archive_cmds_need_lc_CXX=yes
14097 if test "$enable_shared" = yes && test "$GCC" = yes; then
14098 case $archive_cmds_CXX in
14099 *'~'*)
14100 # FIXME: we may have to deal with multi-command sequences.
14102 '$CC '*)
14103 # Test whether the compiler implicitly links with -lc since on some
14104 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14105 # to ld, don't add -lc before -lgcc.
14106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14107 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14108 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
14109 $as_echo_n "(cached) " >&6
14110 else
14111 $RM conftest*
14112 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14114 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14115 (eval $ac_compile) 2>&5
14116 ac_status=$?
14117 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14118 test $ac_status = 0; } 2>conftest.err; then
14119 soname=conftest
14120 lib=conftest
14121 libobjs=conftest.$ac_objext
14122 deplibs=
14123 wl=$lt_prog_compiler_wl_CXX
14124 pic_flag=$lt_prog_compiler_pic_CXX
14125 compiler_flags=-v
14126 linker_flags=-v
14127 verstring=
14128 output_objdir=.
14129 libname=conftest
14130 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14131 allow_undefined_flag_CXX=
14132 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14133 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14134 ac_status=$?
14135 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14136 test $ac_status = 0; }
14137 then
14138 lt_cv_archive_cmds_need_lc_CXX=no
14139 else
14140 lt_cv_archive_cmds_need_lc_CXX=yes
14142 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14143 else
14144 cat conftest.err 1>&5
14146 $RM conftest*
14149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14150 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14151 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14153 esac
14156 esac
14221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14222 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14224 library_names_spec=
14225 libname_spec='lib$name'
14226 soname_spec=
14227 shrext_cmds=".so"
14228 postinstall_cmds=
14229 postuninstall_cmds=
14230 finish_cmds=
14231 finish_eval=
14232 shlibpath_var=
14233 shlibpath_overrides_runpath=unknown
14234 version_type=none
14235 dynamic_linker="$host_os ld.so"
14236 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14237 need_lib_prefix=unknown
14238 hardcode_into_libs=no
14240 # when you set need_version to no, make sure it does not cause -set_version
14241 # flags to be left without arguments
14242 need_version=unknown
14244 case $host_os in
14245 aix3*)
14246 version_type=linux
14247 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14248 shlibpath_var=LIBPATH
14250 # AIX 3 has no versioning support, so we append a major version to the name.
14251 soname_spec='${libname}${release}${shared_ext}$major'
14254 aix[4-9]*)
14255 version_type=linux
14256 need_lib_prefix=no
14257 need_version=no
14258 hardcode_into_libs=yes
14259 if test "$host_cpu" = ia64; then
14260 # AIX 5 supports IA64
14261 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14262 shlibpath_var=LD_LIBRARY_PATH
14263 else
14264 # With GCC up to 2.95.x, collect2 would create an import file
14265 # for dependence libraries. The import file would start with
14266 # the line `#! .'. This would cause the generated library to
14267 # depend on `.', always an invalid library. This was fixed in
14268 # development snapshots of GCC prior to 3.0.
14269 case $host_os in
14270 aix4 | aix4.[01] | aix4.[01].*)
14271 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14272 echo ' yes '
14273 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14275 else
14276 can_build_shared=no
14279 esac
14280 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14281 # soname into executable. Probably we can add versioning support to
14282 # collect2, so additional links can be useful in future.
14283 if test "$aix_use_runtimelinking" = yes; then
14284 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14285 # instead of lib<name>.a to let people know that these are not
14286 # typical AIX shared libraries.
14287 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14288 else
14289 # We preserve .a as extension for shared libraries through AIX4.2
14290 # and later when we are not doing run time linking.
14291 library_names_spec='${libname}${release}.a $libname.a'
14292 soname_spec='${libname}${release}${shared_ext}$major'
14294 shlibpath_var=LIBPATH
14298 amigaos*)
14299 case $host_cpu in
14300 powerpc)
14301 # Since July 2007 AmigaOS4 officially supports .so libraries.
14302 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14303 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14305 m68k)
14306 library_names_spec='$libname.ixlibrary $libname.a'
14307 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14308 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
14310 esac
14313 beos*)
14314 library_names_spec='${libname}${shared_ext}'
14315 dynamic_linker="$host_os ld.so"
14316 shlibpath_var=LIBRARY_PATH
14319 bsdi[45]*)
14320 version_type=linux
14321 need_version=no
14322 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14323 soname_spec='${libname}${release}${shared_ext}$major'
14324 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14325 shlibpath_var=LD_LIBRARY_PATH
14326 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14327 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14328 # the default ld.so.conf also contains /usr/contrib/lib and
14329 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14330 # libtool to hard-code these into programs
14333 cygwin* | mingw* | pw32* | cegcc*)
14334 version_type=windows
14335 shrext_cmds=".dll"
14336 need_version=no
14337 need_lib_prefix=no
14339 case $GCC,$host_os in
14340 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14341 library_names_spec='$libname.dll.a'
14342 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14343 postinstall_cmds='base_file=`basename \${file}`~
14344 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14345 dldir=$destdir/`dirname \$dlpath`~
14346 test -d \$dldir || mkdir -p \$dldir~
14347 $install_prog $dir/$dlname \$dldir/$dlname~
14348 chmod a+x \$dldir/$dlname~
14349 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14350 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14352 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14353 dlpath=$dir/\$dldll~
14354 $RM \$dlpath'
14355 shlibpath_overrides_runpath=yes
14357 case $host_os in
14358 cygwin*)
14359 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14360 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14363 mingw* | cegcc*)
14364 # MinGW DLLs use traditional 'lib' prefix
14365 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14367 pw32*)
14368 # pw32 DLLs use 'pw' prefix rather than 'lib'
14369 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14371 esac
14375 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14377 esac
14378 dynamic_linker='Win32 ld.exe'
14379 # FIXME: first we should search . and the directory the executable is in
14380 shlibpath_var=PATH
14383 darwin* | rhapsody*)
14384 dynamic_linker="$host_os dyld"
14385 version_type=darwin
14386 need_lib_prefix=no
14387 need_version=no
14388 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14389 soname_spec='${libname}${release}${major}$shared_ext'
14390 shlibpath_overrides_runpath=yes
14391 shlibpath_var=DYLD_LIBRARY_PATH
14392 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14394 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14397 dgux*)
14398 version_type=linux
14399 need_lib_prefix=no
14400 need_version=no
14401 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14402 soname_spec='${libname}${release}${shared_ext}$major'
14403 shlibpath_var=LD_LIBRARY_PATH
14406 freebsd* | dragonfly*)
14407 # DragonFly does not have aout. When/if they implement a new
14408 # versioning mechanism, adjust this.
14409 if test -x /usr/bin/objformat; then
14410 objformat=`/usr/bin/objformat`
14411 else
14412 case $host_os in
14413 freebsd[23].*) objformat=aout ;;
14414 *) objformat=elf ;;
14415 esac
14417 version_type=freebsd-$objformat
14418 case $version_type in
14419 freebsd-elf*)
14420 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14421 need_version=no
14422 need_lib_prefix=no
14424 freebsd-*)
14425 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14426 need_version=yes
14428 esac
14429 shlibpath_var=LD_LIBRARY_PATH
14430 case $host_os in
14431 freebsd2.*)
14432 shlibpath_overrides_runpath=yes
14434 freebsd3.[01]* | freebsdelf3.[01]*)
14435 shlibpath_overrides_runpath=yes
14436 hardcode_into_libs=yes
14438 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14439 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14440 shlibpath_overrides_runpath=no
14441 hardcode_into_libs=yes
14443 *) # from 4.6 on, and DragonFly
14444 shlibpath_overrides_runpath=yes
14445 hardcode_into_libs=yes
14447 esac
14450 gnu*)
14451 version_type=linux
14452 need_lib_prefix=no
14453 need_version=no
14454 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14455 soname_spec='${libname}${release}${shared_ext}$major'
14456 shlibpath_var=LD_LIBRARY_PATH
14457 hardcode_into_libs=yes
14460 haiku*)
14461 version_type=linux
14462 need_lib_prefix=no
14463 need_version=no
14464 dynamic_linker="$host_os runtime_loader"
14465 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14466 soname_spec='${libname}${release}${shared_ext}$major'
14467 shlibpath_var=LIBRARY_PATH
14468 shlibpath_overrides_runpath=yes
14469 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14470 hardcode_into_libs=yes
14473 hpux9* | hpux10* | hpux11*)
14474 # Give a soname corresponding to the major version so that dld.sl refuses to
14475 # link against other versions.
14476 version_type=sunos
14477 need_lib_prefix=no
14478 need_version=no
14479 case $host_cpu in
14480 ia64*)
14481 shrext_cmds='.so'
14482 hardcode_into_libs=yes
14483 dynamic_linker="$host_os dld.so"
14484 shlibpath_var=LD_LIBRARY_PATH
14485 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14486 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14487 soname_spec='${libname}${release}${shared_ext}$major'
14488 if test "X$HPUX_IA64_MODE" = X32; then
14489 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14490 else
14491 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14493 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14495 hppa*64*)
14496 shrext_cmds='.sl'
14497 hardcode_into_libs=yes
14498 dynamic_linker="$host_os dld.sl"
14499 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14500 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14501 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14502 soname_spec='${libname}${release}${shared_ext}$major'
14503 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14504 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14507 shrext_cmds='.sl'
14508 dynamic_linker="$host_os dld.sl"
14509 shlibpath_var=SHLIB_PATH
14510 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14511 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14512 soname_spec='${libname}${release}${shared_ext}$major'
14514 esac
14515 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14516 postinstall_cmds='chmod 555 $lib'
14517 # or fails outright, so override atomically:
14518 install_override_mode=555
14521 interix[3-9]*)
14522 version_type=linux
14523 need_lib_prefix=no
14524 need_version=no
14525 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14526 soname_spec='${libname}${release}${shared_ext}$major'
14527 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14528 shlibpath_var=LD_LIBRARY_PATH
14529 shlibpath_overrides_runpath=no
14530 hardcode_into_libs=yes
14533 irix5* | irix6* | nonstopux*)
14534 case $host_os in
14535 nonstopux*) version_type=nonstopux ;;
14537 if test "$lt_cv_prog_gnu_ld" = yes; then
14538 version_type=linux
14539 else
14540 version_type=irix
14541 fi ;;
14542 esac
14543 need_lib_prefix=no
14544 need_version=no
14545 soname_spec='${libname}${release}${shared_ext}$major'
14546 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14547 case $host_os in
14548 irix5* | nonstopux*)
14549 libsuff= shlibsuff=
14552 case $LD in # libtool.m4 will add one of these switches to LD
14553 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14554 libsuff= shlibsuff= libmagic=32-bit;;
14555 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14556 libsuff=32 shlibsuff=N32 libmagic=N32;;
14557 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14558 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14559 *) libsuff= shlibsuff= libmagic=never-match;;
14560 esac
14562 esac
14563 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14564 shlibpath_overrides_runpath=no
14565 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14566 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14567 hardcode_into_libs=yes
14570 # No shared lib support for Linux oldld, aout, or coff.
14571 linux*oldld* | linux*aout* | linux*coff*)
14572 dynamic_linker=no
14575 # This must be Linux ELF.
14576 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14577 version_type=linux
14578 need_lib_prefix=no
14579 need_version=no
14580 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14581 soname_spec='${libname}${release}${shared_ext}$major'
14582 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14583 shlibpath_var=LD_LIBRARY_PATH
14584 shlibpath_overrides_runpath=no
14586 # Some binutils ld are patched to set DT_RUNPATH
14587 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14588 $as_echo_n "(cached) " >&6
14589 else
14590 lt_cv_shlibpath_overrides_runpath=no
14591 save_LDFLAGS=$LDFLAGS
14592 save_libdir=$libdir
14593 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14594 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14595 if test x$gcc_no_link = xyes; then
14596 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14599 /* end confdefs.h. */
14602 main ()
14606 return 0;
14608 _ACEOF
14609 if ac_fn_cxx_try_link "$LINENO"; then :
14610 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14611 lt_cv_shlibpath_overrides_runpath=yes
14614 rm -f core conftest.err conftest.$ac_objext \
14615 conftest$ac_exeext conftest.$ac_ext
14616 LDFLAGS=$save_LDFLAGS
14617 libdir=$save_libdir
14621 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14623 # This implies no fast_install, which is unacceptable.
14624 # Some rework will be needed to allow for fast_install
14625 # before this can be enabled.
14626 hardcode_into_libs=yes
14628 # Append ld.so.conf contents to the search path
14629 if test -f /etc/ld.so.conf; then
14630 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
14631 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14634 # We used to test for /lib/ld.so.1 and disable shared libraries on
14635 # powerpc, because MkLinux only supported shared libraries with the
14636 # GNU dynamic linker. Since this was broken with cross compilers,
14637 # most powerpc-linux boxes support dynamic linking these days and
14638 # people can always --disable-shared, the test was removed, and we
14639 # assume the GNU/Linux dynamic linker is in use.
14640 dynamic_linker='GNU/Linux ld.so'
14643 netbsd*)
14644 version_type=sunos
14645 need_lib_prefix=no
14646 need_version=no
14647 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14648 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14649 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14650 dynamic_linker='NetBSD (a.out) ld.so'
14651 else
14652 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14653 soname_spec='${libname}${release}${shared_ext}$major'
14654 dynamic_linker='NetBSD ld.elf_so'
14656 shlibpath_var=LD_LIBRARY_PATH
14657 shlibpath_overrides_runpath=yes
14658 hardcode_into_libs=yes
14661 newsos6)
14662 version_type=linux
14663 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14664 shlibpath_var=LD_LIBRARY_PATH
14665 shlibpath_overrides_runpath=yes
14668 *nto* | *qnx*)
14669 version_type=qnx
14670 need_lib_prefix=no
14671 need_version=no
14672 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14673 soname_spec='${libname}${release}${shared_ext}$major'
14674 shlibpath_var=LD_LIBRARY_PATH
14675 shlibpath_overrides_runpath=no
14676 hardcode_into_libs=yes
14677 dynamic_linker='ldqnx.so'
14680 openbsd*)
14681 version_type=sunos
14682 sys_lib_dlsearch_path_spec="/usr/lib"
14683 need_lib_prefix=no
14684 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14685 case $host_os in
14686 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14687 *) need_version=no ;;
14688 esac
14689 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14690 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14691 shlibpath_var=LD_LIBRARY_PATH
14692 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14693 case $host_os in
14694 openbsd2.[89] | openbsd2.[89].*)
14695 shlibpath_overrides_runpath=no
14698 shlibpath_overrides_runpath=yes
14700 esac
14701 else
14702 shlibpath_overrides_runpath=yes
14706 os2*)
14707 libname_spec='$name'
14708 shrext_cmds=".dll"
14709 need_lib_prefix=no
14710 library_names_spec='$libname${shared_ext} $libname.a'
14711 dynamic_linker='OS/2 ld.exe'
14712 shlibpath_var=LIBPATH
14715 osf3* | osf4* | osf5*)
14716 version_type=osf
14717 need_lib_prefix=no
14718 need_version=no
14719 soname_spec='${libname}${release}${shared_ext}$major'
14720 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14721 shlibpath_var=LD_LIBRARY_PATH
14722 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14723 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14726 rdos*)
14727 dynamic_linker=no
14730 solaris*)
14731 version_type=linux
14732 need_lib_prefix=no
14733 need_version=no
14734 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14735 soname_spec='${libname}${release}${shared_ext}$major'
14736 shlibpath_var=LD_LIBRARY_PATH
14737 shlibpath_overrides_runpath=yes
14738 hardcode_into_libs=yes
14739 # ldd complains unless libraries are executable
14740 postinstall_cmds='chmod +x $lib'
14743 sunos4*)
14744 version_type=sunos
14745 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14746 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14747 shlibpath_var=LD_LIBRARY_PATH
14748 shlibpath_overrides_runpath=yes
14749 if test "$with_gnu_ld" = yes; then
14750 need_lib_prefix=no
14752 need_version=yes
14755 sysv4 | sysv4.3*)
14756 version_type=linux
14757 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14758 soname_spec='${libname}${release}${shared_ext}$major'
14759 shlibpath_var=LD_LIBRARY_PATH
14760 case $host_vendor in
14761 sni)
14762 shlibpath_overrides_runpath=no
14763 need_lib_prefix=no
14764 runpath_var=LD_RUN_PATH
14766 siemens)
14767 need_lib_prefix=no
14769 motorola)
14770 need_lib_prefix=no
14771 need_version=no
14772 shlibpath_overrides_runpath=no
14773 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14775 esac
14778 sysv4*MP*)
14779 if test -d /usr/nec ;then
14780 version_type=linux
14781 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14782 soname_spec='$libname${shared_ext}.$major'
14783 shlibpath_var=LD_LIBRARY_PATH
14787 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14788 version_type=freebsd-elf
14789 need_lib_prefix=no
14790 need_version=no
14791 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14792 soname_spec='${libname}${release}${shared_ext}$major'
14793 shlibpath_var=LD_LIBRARY_PATH
14794 shlibpath_overrides_runpath=yes
14795 hardcode_into_libs=yes
14796 if test "$with_gnu_ld" = yes; then
14797 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14798 else
14799 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14800 case $host_os in
14801 sco3.2v5*)
14802 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14804 esac
14806 sys_lib_dlsearch_path_spec='/usr/lib'
14809 tpf*)
14810 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14811 version_type=linux
14812 need_lib_prefix=no
14813 need_version=no
14814 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14815 shlibpath_var=LD_LIBRARY_PATH
14816 shlibpath_overrides_runpath=no
14817 hardcode_into_libs=yes
14820 uts4*)
14821 version_type=linux
14822 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14823 soname_spec='${libname}${release}${shared_ext}$major'
14824 shlibpath_var=LD_LIBRARY_PATH
14828 dynamic_linker=no
14830 esac
14831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14832 $as_echo "$dynamic_linker" >&6; }
14833 test "$dynamic_linker" = no && can_build_shared=no
14835 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14836 if test "$GCC" = yes; then
14837 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14840 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14841 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14843 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14844 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14885 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14886 hardcode_action_CXX=
14887 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14888 test -n "$runpath_var_CXX" ||
14889 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14891 # We can hardcode non-existent directories.
14892 if test "$hardcode_direct_CXX" != no &&
14893 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14894 # have to relink, otherwise we might link with an installed library
14895 # when we should be linking with a yet-to-be-installed one
14896 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14897 test "$hardcode_minus_L_CXX" != no; then
14898 # Linking always hardcodes the temporary library directory.
14899 hardcode_action_CXX=relink
14900 else
14901 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14902 hardcode_action_CXX=immediate
14904 else
14905 # We cannot hardcode anything, or else we can only hardcode existing
14906 # directories.
14907 hardcode_action_CXX=unsupported
14909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14910 $as_echo "$hardcode_action_CXX" >&6; }
14912 if test "$hardcode_action_CXX" = relink ||
14913 test "$inherit_rpath_CXX" = yes; then
14914 # Fast installation is not supported
14915 enable_fast_install=no
14916 elif test "$shlibpath_overrides_runpath" = yes ||
14917 test "$enable_shared" = no; then
14918 # Fast installation is not necessary
14919 enable_fast_install=needless
14928 fi # test -n "$compiler"
14930 CC=$lt_save_CC
14931 LDCXX=$LD
14932 LD=$lt_save_LD
14933 GCC=$lt_save_GCC
14934 with_gnu_ld=$lt_save_with_gnu_ld
14935 lt_cv_path_LDCXX=$lt_cv_path_LD
14936 lt_cv_path_LD=$lt_save_path_LD
14937 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14938 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14939 fi # test "$_lt_caught_CXX_error" != yes
14941 ac_ext=c
14942 ac_cpp='$CPP $CPPFLAGS'
14943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14959 ac_config_commands="$ac_config_commands libtool"
14964 # Only expand once:
14970 case $host in
14971 *-cygwin* | *-mingw*)
14972 # 'host' will be top-level target in the case of a target lib,
14973 # we must compare to with_cross_host to decide if this is a native
14974 # or cross-compiler and select where to install dlls appropriately.
14975 if test -n "$with_cross_host" &&
14976 test x"$with_cross_host" != x"no"; then
14977 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
14978 else
14979 lt_host_flags='-no-undefined -bindir "$(bindir)"';
14983 lt_host_flags=
14985 esac
14992 if test "$enable_vtable_verify" = yes; then
14993 predep_objects_CXX="${predep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_start.o"
14994 postdep_objects_CXX="${postdep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_end.o"
14998 # libtool variables for C++ shared and position-independent compiles.
15000 # Use glibcxx_lt_pic_flag to designate the automake variable
15001 # used to encapsulate the default libtool approach to creating objects
15002 # with position-independent code. Default: -prefer-pic.
15004 # Use glibcxx_compiler_shared_flag to designate a compile-time flags for
15005 # creating shared objects. Default: -D_GLIBCXX_SHARED.
15007 # Use glibcxx_compiler_pic_flag to designate a compile-time flags for
15008 # creating position-independent objects. This varies with the target
15009 # hardware and operating system, but is often: -DPIC -fPIC.
15010 if test "$enable_shared" = yes; then
15011 glibcxx_lt_pic_flag="-prefer-pic"
15012 glibcxx_compiler_pic_flag="$lt_prog_compiler_pic_CXX"
15013 glibcxx_compiler_shared_flag="-D_GLIBCXX_SHARED"
15015 else
15016 glibcxx_lt_pic_flag=
15017 glibcxx_compiler_pic_flag=
15018 glibcxx_compiler_shared_flag=
15024 # Override the libtool's pic_flag and pic_mode.
15025 # Do this step after AM_PROG_LIBTOOL, but before AC_OUTPUT.
15026 # NB: this impacts --with-pic and --without-pic.
15027 lt_prog_compiler_pic_CXX="$glibcxx_compiler_pic_flag $glibcxx_compiler_shared_flag"
15028 pic_mode='default'
15030 # Eliminate -lstdc++ addition to postdeps for cross compiles.
15031 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
15033 # Possibly disable most of the library.
15034 ## TODO: Consider skipping unncessary tests altogether in this case, rather
15035 ## than just ignoring the results. Faster /and/ more correct, win win.
15037 # Check whether --enable-hosted-libstdcxx was given.
15038 if test "${enable_hosted_libstdcxx+set}" = set; then :
15039 enableval=$enable_hosted_libstdcxx;
15040 else
15041 case "$host" in
15042 arm*-*-symbianelf*)
15043 enable_hosted_libstdcxx=no
15046 enable_hosted_libstdcxx=yes
15048 esac
15051 if test "$enable_hosted_libstdcxx" = no; then
15052 { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
15053 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
15054 is_hosted=no
15055 hosted_define=0
15056 enable_abi_check=no
15057 enable_libstdcxx_pch=no
15058 else
15059 is_hosted=yes
15060 hosted_define=1
15064 cat >>confdefs.h <<_ACEOF
15065 #define _GLIBCXX_HOSTED $hosted_define
15066 _ACEOF
15070 # Enable descriptive messages to standard output on termination.
15072 # Check whether --enable-libstdcxx-verbose was given.
15073 if test "${enable_libstdcxx_verbose+set}" = set; then :
15074 enableval=$enable_libstdcxx_verbose;
15075 else
15076 enable_libstdcxx_verbose=yes
15079 if test x"$enable_libstdcxx_verbose" = xyes; then
15080 verbose_define=1
15081 else
15082 { $as_echo "$as_me:${as_lineno-$LINENO}: verbose termination messages are disabled" >&5
15083 $as_echo "$as_me: verbose termination messages are disabled" >&6;}
15084 verbose_define=0
15087 cat >>confdefs.h <<_ACEOF
15088 #define _GLIBCXX_VERBOSE $verbose_define
15089 _ACEOF
15093 # Enable compiler support that doesn't require linking.
15095 # Check whether --enable-libstdcxx-pch was given.
15096 if test "${enable_libstdcxx_pch+set}" = set; then :
15097 enableval=$enable_libstdcxx_pch;
15098 case "$enableval" in
15099 yes|no) ;;
15100 *) as_fn_error "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15101 esac
15103 else
15104 enable_libstdcxx_pch=$is_hosted
15108 if test $enable_libstdcxx_pch = yes; then
15109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15110 $as_echo_n "checking for compiler with PCH support... " >&6; }
15111 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then :
15112 $as_echo_n "(cached) " >&6
15113 else
15114 ac_save_CXXFLAGS="$CXXFLAGS"
15115 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15117 ac_ext=cpp
15118 ac_cpp='$CXXCPP $CPPFLAGS'
15119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15123 echo '#include <math.h>' > conftest.h
15124 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15125 -o conftest.h.gch 1>&5 2>&1 &&
15126 echo '#error "pch failed"' > conftest.h &&
15127 echo '#include "conftest.h"' > conftest.cc &&
15128 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15129 then
15130 glibcxx_cv_prog_CXX_pch=yes
15131 else
15132 glibcxx_cv_prog_CXX_pch=no
15134 rm -f conftest*
15135 CXXFLAGS=$ac_save_CXXFLAGS
15136 ac_ext=c
15137 ac_cpp='$CPP $CPPFLAGS'
15138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15145 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15146 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15150 $as_echo_n "checking for enabled PCH... " >&6; }
15151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15152 $as_echo "$enable_libstdcxx_pch" >&6; }
15155 if test $enable_libstdcxx_pch = yes; then
15156 glibcxx_PCHFLAGS="-include bits/stdc++.h"
15157 else
15158 glibcxx_PCHFLAGS=""
15163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15164 $as_echo_n "checking for thread model used by GCC... " >&6; }
15165 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15167 $as_echo "$target_thread_file" >&6; }
15169 case $target_thread_file in
15170 aix) thread_header=config/rs6000/gthr-aix.h ;;
15171 dce) thread_header=config/pa/gthr-dce.h ;;
15172 lynx) thread_header=config/gthr-lynx.h ;;
15173 mipssde) thread_header=config/mips/gthr-mipssde.h ;;
15174 posix) thread_header=gthr-posix.h ;;
15175 rtems) thread_header=config/gthr-rtems.h ;;
15176 single) thread_header=gthr-single.h ;;
15177 tpf) thread_header=config/s390/gthr-tpf.h ;;
15178 vxworks) thread_header=config/gthr-vxworks.h ;;
15179 win32) thread_header=config/i386/gthr-win32.h ;;
15180 esac
15186 ac_ext=cpp
15187 ac_cpp='$CXXCPP $CPPFLAGS'
15188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15192 old_CXXFLAGS="$CXXFLAGS"
15194 # Do link tests if possible, instead asm tests, limited to some platforms
15195 # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15196 # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15197 atomic_builtins_link_tests=no
15198 if test x$gcc_no_link != xyes; then
15199 # Can do link tests. Limit to some tested platforms
15200 case "$host" in
15201 *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15202 atomic_builtins_link_tests=yes
15204 esac
15207 if test x$atomic_builtins_link_tests = xyes; then
15209 # Do link tests.
15211 CXXFLAGS="$CXXFLAGS -fno-exceptions"
15213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15214 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15215 if test "${glibcxx_cv_atomic_bool+set}" = set; then :
15216 $as_echo_n "(cached) " >&6
15217 else
15219 if test x$gcc_no_link = xyes; then
15220 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15223 /* end confdefs.h. */
15226 main ()
15228 typedef bool atomic_type;
15229 atomic_type c1;
15230 atomic_type c2;
15231 atomic_type c3(0);
15232 // N.B. __atomic_fetch_add is not supported for bool.
15233 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15234 __ATOMIC_RELAXED);
15235 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15236 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15239 return 0;
15241 _ACEOF
15242 if ac_fn_cxx_try_link "$LINENO"; then :
15243 glibcxx_cv_atomic_bool=yes
15244 else
15245 glibcxx_cv_atomic_bool=no
15247 rm -f core conftest.err conftest.$ac_objext \
15248 conftest$ac_exeext conftest.$ac_ext
15252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15253 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15256 $as_echo_n "checking for atomic builtins for short... " >&6; }
15257 if test "${glibcxx_cv_atomic_short+set}" = set; then :
15258 $as_echo_n "(cached) " >&6
15259 else
15261 if test x$gcc_no_link = xyes; then
15262 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15265 /* end confdefs.h. */
15268 main ()
15270 typedef short atomic_type;
15271 atomic_type c1;
15272 atomic_type c2;
15273 atomic_type c3(0);
15274 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15275 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15276 __ATOMIC_RELAXED);
15277 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15278 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15281 return 0;
15283 _ACEOF
15284 if ac_fn_cxx_try_link "$LINENO"; then :
15285 glibcxx_cv_atomic_short=yes
15286 else
15287 glibcxx_cv_atomic_short=no
15289 rm -f core conftest.err conftest.$ac_objext \
15290 conftest$ac_exeext conftest.$ac_ext
15294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15295 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15298 $as_echo_n "checking for atomic builtins for int... " >&6; }
15299 if test "${glibcxx_cv_atomic_int+set}" = set; then :
15300 $as_echo_n "(cached) " >&6
15301 else
15303 if test x$gcc_no_link = xyes; then
15304 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15307 /* end confdefs.h. */
15310 main ()
15312 typedef int atomic_type;
15313 atomic_type c1;
15314 atomic_type c2;
15315 atomic_type c3(0);
15316 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15317 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15318 __ATOMIC_RELAXED);
15319 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15320 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15323 return 0;
15325 _ACEOF
15326 if ac_fn_cxx_try_link "$LINENO"; then :
15327 glibcxx_cv_atomic_int=yes
15328 else
15329 glibcxx_cv_atomic_int=no
15331 rm -f core conftest.err conftest.$ac_objext \
15332 conftest$ac_exeext conftest.$ac_ext
15336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15337 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15340 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15341 if test "${glibcxx_cv_atomic_long_long+set}" = set; then :
15342 $as_echo_n "(cached) " >&6
15343 else
15345 if test x$gcc_no_link = xyes; then
15346 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15349 /* end confdefs.h. */
15352 main ()
15354 typedef long long atomic_type;
15355 atomic_type c1;
15356 atomic_type c2;
15357 atomic_type c3(0);
15358 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15359 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15360 __ATOMIC_RELAXED);
15361 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15362 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15365 return 0;
15367 _ACEOF
15368 if ac_fn_cxx_try_link "$LINENO"; then :
15369 glibcxx_cv_atomic_long_long=yes
15370 else
15371 glibcxx_cv_atomic_long_long=no
15373 rm -f core conftest.err conftest.$ac_objext \
15374 conftest$ac_exeext conftest.$ac_ext
15378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15379 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15381 else
15383 # Do asm tests.
15385 # Compile unoptimized.
15386 CXXFLAGS='-O0 -S'
15388 # Fake what AC_TRY_COMPILE does.
15390 cat > conftest.$ac_ext << EOF
15391 #line 15391 "configure"
15392 int main()
15394 typedef bool atomic_type;
15395 atomic_type c1;
15396 atomic_type c2;
15397 atomic_type c3(0);
15398 // N.B. __atomic_fetch_add is not supported for bool.
15399 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15400 __ATOMIC_RELAXED);
15401 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15402 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15404 return 0;
15408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15409 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15410 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15411 (eval $ac_compile) 2>&5
15412 ac_status=$?
15413 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15414 test $ac_status = 0; }; then
15415 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15416 glibcxx_cv_atomic_bool=no
15417 else
15418 glibcxx_cv_atomic_bool=yes
15421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15422 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15423 rm -f conftest*
15425 cat > conftest.$ac_ext << EOF
15426 #line 15426 "configure"
15427 int main()
15429 typedef short atomic_type;
15430 atomic_type c1;
15431 atomic_type c2;
15432 atomic_type c3(0);
15433 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15434 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15435 __ATOMIC_RELAXED);
15436 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15437 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15439 return 0;
15443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15444 $as_echo_n "checking for atomic builtins for short... " >&6; }
15445 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15446 (eval $ac_compile) 2>&5
15447 ac_status=$?
15448 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15449 test $ac_status = 0; }; then
15450 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15451 glibcxx_cv_atomic_short=no
15452 else
15453 glibcxx_cv_atomic_short=yes
15456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15457 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15458 rm -f conftest*
15460 cat > conftest.$ac_ext << EOF
15461 #line 15461 "configure"
15462 int main()
15464 // NB: _Atomic_word not necessarily int.
15465 typedef int atomic_type;
15466 atomic_type c1;
15467 atomic_type c2;
15468 atomic_type c3(0);
15469 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15470 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15471 __ATOMIC_RELAXED);
15472 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15473 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15475 return 0;
15479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15480 $as_echo_n "checking for atomic builtins for int... " >&6; }
15481 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15482 (eval $ac_compile) 2>&5
15483 ac_status=$?
15484 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15485 test $ac_status = 0; }; then
15486 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15487 glibcxx_cv_atomic_int=no
15488 else
15489 glibcxx_cv_atomic_int=yes
15492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15493 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15494 rm -f conftest*
15496 cat > conftest.$ac_ext << EOF
15497 #line 15497 "configure"
15498 int main()
15500 typedef long long atomic_type;
15501 atomic_type c1;
15502 atomic_type c2;
15503 atomic_type c3(0);
15504 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15505 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15506 __ATOMIC_RELAXED);
15507 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15508 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15510 return 0;
15514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15515 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15516 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15517 (eval $ac_compile) 2>&5
15518 ac_status=$?
15519 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15520 test $ac_status = 0; }; then
15521 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15522 glibcxx_cv_atomic_long_long=no
15523 else
15524 glibcxx_cv_atomic_long_long=yes
15527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15528 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15529 rm -f conftest*
15533 CXXFLAGS="$old_CXXFLAGS"
15534 ac_ext=c
15535 ac_cpp='$CPP $CPPFLAGS'
15536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15541 # Set atomicity_dir to builtins if all but the long long test above passes.
15542 if test "$glibcxx_cv_atomic_bool" = yes \
15543 && test "$glibcxx_cv_atomic_short" = yes \
15544 && test "$glibcxx_cv_atomic_int" = yes; then
15546 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS 1" >>confdefs.h
15548 atomicity_dir=cpu/generic/atomicity_builtins
15551 # If still generic, set to mutex.
15552 if test $atomicity_dir = "cpu/generic" ; then
15553 atomicity_dir=cpu/generic/atomicity_mutex
15554 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
15555 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
15556 if test "x$target_thread_file" = xsingle; then
15557 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
15558 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
15559 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
15560 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
15561 else
15562 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
15563 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
15564 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
15565 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
15572 # Fake what AC_TRY_COMPILE does, without linking as this is
15573 # unnecessary for this test.
15575 cat > conftest.$ac_ext << EOF
15576 #line 15576 "configure"
15577 int main()
15579 _Decimal32 d1;
15580 _Decimal64 d2;
15581 _Decimal128 d3;
15582 return 0;
15586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
15587 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
15588 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15589 (eval $ac_compile) 2>&5
15590 ac_status=$?
15591 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15592 test $ac_status = 0; }; then
15594 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
15596 enable_dfp=yes
15597 else
15598 enable_dfp=no
15600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
15601 $as_echo "$enable_dfp" >&6; }
15602 rm -f conftest*
15607 ac_ext=cpp
15608 ac_cpp='$CXXCPP $CPPFLAGS'
15609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15614 # Fake what AC_TRY_COMPILE does, without linking as this is
15615 # unnecessary for this test.
15617 cat > conftest.$ac_ext << EOF
15618 #line 15618 "configure"
15619 template<typename T1, typename T2>
15620 struct same
15621 { typedef T2 type; };
15623 template<typename T>
15624 struct same<T, T>;
15626 int main()
15628 typename same<long, __int128>::type i1;
15629 typename same<long long, __int128>::type i2;
15633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __int128" >&5
15634 $as_echo_n "checking for __int128... " >&6; }
15635 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15636 (eval $ac_compile) 2>&5
15637 ac_status=$?
15638 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15639 test $ac_status = 0; }; then
15641 $as_echo "#define _GLIBCXX_USE_INT128 1" >>confdefs.h
15643 enable_int128=yes
15644 else
15645 enable_int128=no
15647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_int128" >&5
15648 $as_echo "$enable_int128" >&6; }
15649 rm -f conftest*
15651 cat > conftest.$ac_ext << EOF
15652 #line 15652 "configure"
15653 template<typename T1, typename T2>
15654 struct same
15655 { typedef T2 type; };
15657 template<typename T>
15658 struct same<T, T>;
15660 int main()
15662 typename same<double, __float128>::type f1;
15663 typename same<long double, __float128>::type f2;
15667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __float128" >&5
15668 $as_echo_n "checking for __float128... " >&6; }
15669 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15670 (eval $ac_compile) 2>&5
15671 ac_status=$?
15672 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15673 test $ac_status = 0; }; then
15675 $as_echo "#define _GLIBCXX_USE_FLOAT128 1" >>confdefs.h
15677 enable_float128=yes
15678 else
15679 enable_float128=no
15681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_float128" >&5
15682 $as_echo "$enable_float128" >&6; }
15683 rm -f conftest*
15685 ac_ext=c
15686 ac_cpp='$CPP $CPPFLAGS'
15687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15692 if test "$enable_float128" = yes; then
15693 port_specific_symbol_files="$port_specific_symbol_files \$(top_srcdir)/config/abi/pre/float128.ver"
15696 # Checks for compiler support that doesn't require linking.
15698 # All these tests are for C++; save the language and the compiler flags.
15699 # The CXXFLAGS thing is suspicious, but based on similar bits previously
15700 # found in GLIBCXX_CONFIGURE.
15702 ac_ext=cpp
15703 ac_cpp='$CXXCPP $CPPFLAGS'
15704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15708 ac_test_CXXFLAGS="${CXXFLAGS+set}"
15709 ac_save_CXXFLAGS="$CXXFLAGS"
15711 # Check for maintainer-mode bits.
15712 if test x"$USE_MAINTAINER_MODE" = xno; then
15713 WERROR=''
15714 else
15715 WERROR='-Werror'
15718 # Check for -ffunction-sections -fdata-sections
15719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
15720 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
15721 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
15722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15723 /* end confdefs.h. */
15724 int foo; void bar() { };
15726 main ()
15730 return 0;
15732 _ACEOF
15733 if ac_fn_cxx_try_compile "$LINENO"; then :
15734 ac_fdsections=yes
15735 else
15736 ac_fdsections=no
15738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15739 if test "$ac_test_CXXFLAGS" = set; then
15740 CXXFLAGS="$ac_save_CXXFLAGS"
15741 else
15742 # this is the suspicious part
15743 CXXFLAGS=''
15745 if test x"$ac_fdsections" = x"yes"; then
15746 SECTION_FLAGS='-ffunction-sections -fdata-sections'
15748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
15749 $as_echo "$ac_fdsections" >&6; }
15751 ac_ext=c
15752 ac_cpp='$CPP $CPPFLAGS'
15753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15761 # Enable all the variable C++ runtime options that don't require linking.
15763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
15764 $as_echo_n "checking for underlying I/O to use... " >&6; }
15765 # Check whether --enable-cstdio was given.
15766 if test "${enable_cstdio+set}" = set; then :
15767 enableval=$enable_cstdio;
15768 case "$enableval" in
15769 stdio) ;;
15770 *) as_fn_error "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
15771 esac
15773 else
15774 enable_cstdio=stdio
15779 # Now that libio has been removed, you can have any color you want as long
15780 # as it's black. This is one big no-op until other packages are added, but
15781 # showing the framework never hurts.
15782 case ${enable_cstdio} in
15783 stdio)
15784 CSTDIO_H=config/io/c_io_stdio.h
15785 BASIC_FILE_H=config/io/basic_file_stdio.h
15786 BASIC_FILE_CC=config/io/basic_file_stdio.cc
15787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
15788 $as_echo "stdio" >&6; }
15790 esac
15797 # Check whether --enable-clocale was given.
15798 if test "${enable_clocale+set}" = set; then :
15799 enableval=$enable_clocale;
15800 case "$enableval" in
15801 generic|gnu|ieee_1003.1-2001|newlib|yes|no|auto) ;;
15802 *) as_fn_error "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
15803 esac
15805 else
15806 enable_clocale=auto
15811 # Deal with gettext issues. Default to not using it (=no) until we detect
15812 # support for it later. Let the user turn it off via --e/d, but let that
15813 # default to on for easier handling.
15814 USE_NLS=no
15815 # Check whether --enable-nls was given.
15816 if test "${enable_nls+set}" = set; then :
15817 enableval=$enable_nls;
15818 else
15819 enable_nls=yes
15823 # Either a known package, or "auto"
15824 if test $enable_clocale = no || test $enable_clocale = yes; then
15825 enable_clocale=auto
15827 enable_clocale_flag=$enable_clocale
15829 # Probe for locale model to use if none specified.
15830 # Default to "generic".
15831 if test $enable_clocale_flag = auto; then
15832 case ${target_os} in
15833 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15834 enable_clocale_flag=gnu
15836 darwin*)
15837 enable_clocale_flag=darwin
15839 dragonfly* | freebsd*)
15840 enable_clocale_flag=dragonfly
15842 openbsd*)
15843 enable_clocale_flag=newlib
15846 if test x"$with_newlib" = x"yes"; then
15847 enable_clocale_flag=newlib
15848 else
15849 enable_clocale_flag=generic
15852 esac
15855 # Sanity check model, and test for special functionality.
15856 if test $enable_clocale_flag = gnu; then
15857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15858 /* end confdefs.h. */
15860 #include <features.h>
15861 #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
15862 _GLIBCXX_ok
15863 #endif
15865 _ACEOF
15866 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15867 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
15868 enable_clocale_flag=gnu
15869 else
15870 enable_clocale_flag=generic
15872 rm -f conftest*
15875 # Set it to scream when it hurts.
15876 ac_save_CFLAGS="$CFLAGS"
15877 CFLAGS="-Wimplicit-function-declaration -Werror"
15879 # Use strxfrm_l if available.
15880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15881 /* end confdefs.h. */
15882 #define _GNU_SOURCE 1
15883 #include <string.h>
15884 #include <locale.h>
15886 main ()
15888 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
15890 return 0;
15892 _ACEOF
15893 if ac_fn_c_try_compile "$LINENO"; then :
15895 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
15898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15900 # Use strerror_l if available.
15901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15902 /* end confdefs.h. */
15903 #define _GNU_SOURCE 1
15904 #include <string.h>
15905 #include <locale.h>
15907 main ()
15909 __locale_t loc; strerror_l(5, loc);
15911 return 0;
15913 _ACEOF
15914 if ac_fn_c_try_compile "$LINENO"; then :
15916 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
15919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15921 CFLAGS="$ac_save_CFLAGS"
15924 # Perhaps use strerror_r if available, and strerror_l isn't.
15925 ac_save_CFLAGS="$CFLAGS"
15926 CFLAGS="-Wimplicit-function-declaration -Werror"
15927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15928 /* end confdefs.h. */
15929 #define _GNU_SOURCE 1
15930 #include <string.h>
15931 #include <locale.h>
15933 main ()
15935 char s[128]; strerror_r(5, s, 128);
15937 return 0;
15939 _ACEOF
15940 if ac_fn_c_try_compile "$LINENO"; then :
15942 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
15945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15946 CFLAGS="$ac_save_CFLAGS"
15948 # Set configure bits for specified locale package
15949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
15950 $as_echo_n "checking for C locale to use... " >&6; }
15951 case ${enable_clocale_flag} in
15952 generic)
15953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
15954 $as_echo "generic" >&6; }
15956 CLOCALE_H=config/locale/generic/c_locale.h
15957 CLOCALE_CC=config/locale/generic/c_locale.cc
15958 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15959 CCOLLATE_CC=config/locale/generic/collate_members.cc
15960 CCTYPE_CC=config/locale/generic/ctype_members.cc
15961 CMESSAGES_H=config/locale/generic/messages_members.h
15962 CMESSAGES_CC=config/locale/generic/messages_members.cc
15963 CMONEY_CC=config/locale/generic/monetary_members.cc
15964 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15965 CTIME_H=config/locale/generic/time_members.h
15966 CTIME_CC=config/locale/generic/time_members.cc
15967 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15969 darwin)
15970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin" >&5
15971 $as_echo "darwin" >&6; }
15973 CLOCALE_H=config/locale/generic/c_locale.h
15974 CLOCALE_CC=config/locale/generic/c_locale.cc
15975 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15976 CCOLLATE_CC=config/locale/generic/collate_members.cc
15977 CCTYPE_CC=config/locale/darwin/ctype_members.cc
15978 CMESSAGES_H=config/locale/generic/messages_members.h
15979 CMESSAGES_CC=config/locale/generic/messages_members.cc
15980 CMONEY_CC=config/locale/generic/monetary_members.cc
15981 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15982 CTIME_H=config/locale/generic/time_members.h
15983 CTIME_CC=config/locale/generic/time_members.cc
15984 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15987 dragonfly)
15988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: dragonfly or freebsd" >&5
15989 $as_echo "dragonfly or freebsd" >&6; }
15991 CLOCALE_H=config/locale/dragonfly/c_locale.h
15992 CLOCALE_CC=config/locale/dragonfly/c_locale.cc
15993 CCODECVT_CC=config/locale/dragonfly/codecvt_members.cc
15994 CCOLLATE_CC=config/locale/dragonfly/collate_members.cc
15995 CCTYPE_CC=config/locale/dragonfly/ctype_members.cc
15996 CMESSAGES_H=config/locale/generic/messages_members.h
15997 CMESSAGES_CC=config/locale/generic/messages_members.cc
15998 CMONEY_CC=config/locale/dragonfly/monetary_members.cc
15999 CNUMERIC_CC=config/locale/dragonfly/numeric_members.cc
16000 CTIME_H=config/locale/dragonfly/time_members.h
16001 CTIME_CC=config/locale/dragonfly/time_members.cc
16002 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16005 gnu)
16006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
16007 $as_echo "gnu" >&6; }
16009 # Declare intention to use gettext, and add support for specific
16010 # languages.
16011 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
16012 ALL_LINGUAS="de fr"
16014 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
16015 # Extract the first word of "msgfmt", so it can be a program name with args.
16016 set dummy msgfmt; ac_word=$2
16017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16018 $as_echo_n "checking for $ac_word... " >&6; }
16019 if test "${ac_cv_prog_check_msgfmt+set}" = set; then :
16020 $as_echo_n "(cached) " >&6
16021 else
16022 if test -n "$check_msgfmt"; then
16023 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
16024 else
16025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16026 for as_dir in $PATH
16028 IFS=$as_save_IFS
16029 test -z "$as_dir" && as_dir=.
16030 for ac_exec_ext in '' $ac_executable_extensions; do
16031 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16032 ac_cv_prog_check_msgfmt="yes"
16033 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16034 break 2
16036 done
16037 done
16038 IFS=$as_save_IFS
16040 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
16043 check_msgfmt=$ac_cv_prog_check_msgfmt
16044 if test -n "$check_msgfmt"; then
16045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
16046 $as_echo "$check_msgfmt" >&6; }
16047 else
16048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16049 $as_echo "no" >&6; }
16053 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
16054 USE_NLS=yes
16056 # Export the build objects.
16057 for ling in $ALL_LINGUAS; do \
16058 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
16059 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
16060 done
16064 CLOCALE_H=config/locale/gnu/c_locale.h
16065 CLOCALE_CC=config/locale/gnu/c_locale.cc
16066 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
16067 CCOLLATE_CC=config/locale/gnu/collate_members.cc
16068 CCTYPE_CC=config/locale/gnu/ctype_members.cc
16069 CMESSAGES_H=config/locale/gnu/messages_members.h
16070 CMESSAGES_CC=config/locale/gnu/messages_members.cc
16071 CMONEY_CC=config/locale/gnu/monetary_members.cc
16072 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
16073 CTIME_H=config/locale/gnu/time_members.h
16074 CTIME_CC=config/locale/gnu/time_members.cc
16075 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
16077 ieee_1003.1-2001)
16078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
16079 $as_echo "IEEE 1003.1" >&6; }
16081 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
16082 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
16083 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16084 CCOLLATE_CC=config/locale/generic/collate_members.cc
16085 CCTYPE_CC=config/locale/generic/ctype_members.cc
16086 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
16087 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
16088 CMONEY_CC=config/locale/generic/monetary_members.cc
16089 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16090 CTIME_H=config/locale/generic/time_members.h
16091 CTIME_CC=config/locale/generic/time_members.cc
16092 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16094 newlib)
16095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: newlib" >&5
16096 $as_echo "newlib" >&6; }
16098 CLOCALE_H=config/locale/generic/c_locale.h
16099 CLOCALE_CC=config/locale/generic/c_locale.cc
16100 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16101 CCOLLATE_CC=config/locale/generic/collate_members.cc
16102 CCTYPE_CC=config/locale/newlib/ctype_members.cc
16103 CMESSAGES_H=config/locale/generic/messages_members.h
16104 CMESSAGES_CC=config/locale/generic/messages_members.cc
16105 CMONEY_CC=config/locale/generic/monetary_members.cc
16106 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16107 CTIME_H=config/locale/generic/time_members.h
16108 CTIME_CC=config/locale/generic/time_members.cc
16109 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16111 esac
16113 # This is where the testsuite looks for locale catalogs, using the
16114 # -DLOCALEDIR define during testsuite compilation.
16115 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
16118 # A standalone libintl (e.g., GNU libintl) may be in use.
16119 if test $USE_NLS = yes; then
16120 for ac_header in libintl.h
16121 do :
16122 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
16123 if test "x$ac_cv_header_libintl_h" = x""yes; then :
16124 cat >>confdefs.h <<_ACEOF
16125 #define HAVE_LIBINTL_H 1
16126 _ACEOF
16128 else
16129 USE_NLS=no
16132 done
16134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
16135 $as_echo_n "checking for library containing gettext... " >&6; }
16136 if test "${ac_cv_search_gettext+set}" = set; then :
16137 $as_echo_n "(cached) " >&6
16138 else
16139 ac_func_search_save_LIBS=$LIBS
16140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16141 /* end confdefs.h. */
16143 /* Override any GCC internal prototype to avoid an error.
16144 Use char because int might match the return type of a GCC
16145 builtin and then its argument prototype would still apply. */
16146 #ifdef __cplusplus
16147 extern "C"
16148 #endif
16149 char gettext ();
16151 main ()
16153 return gettext ();
16155 return 0;
16157 _ACEOF
16158 for ac_lib in '' intl; do
16159 if test -z "$ac_lib"; then
16160 ac_res="none required"
16161 else
16162 ac_res=-l$ac_lib
16163 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16165 if test x$gcc_no_link = xyes; then
16166 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16168 if ac_fn_c_try_link "$LINENO"; then :
16169 ac_cv_search_gettext=$ac_res
16171 rm -f core conftest.err conftest.$ac_objext \
16172 conftest$ac_exeext
16173 if test "${ac_cv_search_gettext+set}" = set; then :
16174 break
16176 done
16177 if test "${ac_cv_search_gettext+set}" = set; then :
16179 else
16180 ac_cv_search_gettext=no
16182 rm conftest.$ac_ext
16183 LIBS=$ac_func_search_save_LIBS
16185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
16186 $as_echo "$ac_cv_search_gettext" >&6; }
16187 ac_res=$ac_cv_search_gettext
16188 if test "$ac_res" != no; then :
16189 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16191 else
16192 USE_NLS=no
16196 if test $USE_NLS = yes; then
16198 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16218 $as_echo_n "checking for std::allocator base class... " >&6; }
16219 # Check whether --enable-libstdcxx-allocator was given.
16220 if test "${enable_libstdcxx_allocator+set}" = set; then :
16221 enableval=$enable_libstdcxx_allocator;
16222 case "$enableval" in
16223 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
16224 *) as_fn_error "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16225 esac
16227 else
16228 enable_libstdcxx_allocator=auto
16233 # If they didn't use this option switch, or if they specified --enable
16234 # with no specific model, we'll have to look for one. If they
16235 # specified --disable (???), do likewise.
16236 if test $enable_libstdcxx_allocator = no ||
16237 test $enable_libstdcxx_allocator = yes;
16238 then
16239 enable_libstdcxx_allocator=auto
16242 # Either a known package, or "auto". Auto implies the default choice
16243 # for a particular platform.
16244 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16246 # Probe for host-specific support if no specific model is specified.
16247 # Default to "new".
16248 if test $enable_libstdcxx_allocator_flag = auto; then
16249 case ${target_os} in
16250 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16251 enable_libstdcxx_allocator_flag=new
16254 enable_libstdcxx_allocator_flag=new
16256 esac
16258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16259 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16262 # Set configure bits for specified locale package
16263 case ${enable_libstdcxx_allocator_flag} in
16264 bitmap)
16265 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16266 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16268 malloc)
16269 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16270 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16273 ALLOCATOR_H=config/allocator/mt_allocator_base.h
16274 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16276 new)
16277 ALLOCATOR_H=config/allocator/new_allocator_base.h
16278 ALLOCATOR_NAME=__gnu_cxx::new_allocator
16280 pool)
16281 ALLOCATOR_H=config/allocator/pool_allocator_base.h
16282 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16284 esac
16291 # Check whether --enable-cheaders was given.
16292 if test "${enable_cheaders+set}" = set; then :
16293 enableval=$enable_cheaders;
16294 case "$enableval" in
16295 c|c_std|c_global) ;;
16296 *) as_fn_error "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16297 esac
16299 else
16300 enable_cheaders=$c_model
16304 { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16305 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16307 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16309 # Allow overrides to configure.host here.
16310 if test $enable_cheaders = c_global; then
16311 c_compatibility=yes
16320 # Check whether --enable-long-long was given.
16321 if test "${enable_long_long+set}" = set; then :
16322 enableval=$enable_long_long;
16323 case "$enableval" in
16324 yes|no) ;;
16325 *) as_fn_error "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16326 esac
16328 else
16329 enable_long_long=yes
16333 if test $enable_long_long = yes; then
16335 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16339 $as_echo_n "checking for enabled long long specializations... " >&6; }
16340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16341 $as_echo "$enable_long_long" >&6; }
16344 # Check whether --enable-wchar_t was given.
16345 if test "${enable_wchar_t+set}" = set; then :
16346 enableval=$enable_wchar_t;
16347 case "$enableval" in
16348 yes|no) ;;
16349 *) as_fn_error "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16350 esac
16352 else
16353 enable_wchar_t=yes
16358 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16359 for ac_header in wchar.h
16360 do :
16361 ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16362 if test "x$ac_cv_header_wchar_h" = x""yes; then :
16363 cat >>confdefs.h <<_ACEOF
16364 #define HAVE_WCHAR_H 1
16365 _ACEOF
16366 ac_has_wchar_h=yes
16367 else
16368 ac_has_wchar_h=no
16371 done
16373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16374 $as_echo_n "checking for mbstate_t... " >&6; }
16375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16376 /* end confdefs.h. */
16377 #include <wchar.h>
16379 main ()
16381 mbstate_t teststate;
16383 return 0;
16385 _ACEOF
16386 if ac_fn_c_try_compile "$LINENO"; then :
16387 have_mbstate_t=yes
16388 else
16389 have_mbstate_t=no
16391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16393 $as_echo "$have_mbstate_t" >&6; }
16394 if test x"$have_mbstate_t" = xyes; then
16396 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16400 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16401 # ac_has_wchar_h.
16402 for ac_header in wctype.h
16403 do :
16404 ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16405 if test "x$ac_cv_header_wctype_h" = x""yes; then :
16406 cat >>confdefs.h <<_ACEOF
16407 #define HAVE_WCTYPE_H 1
16408 _ACEOF
16409 ac_has_wctype_h=yes
16410 else
16411 ac_has_wctype_h=no
16414 done
16417 if test x"$enable_wchar_t" = x"yes"; then
16420 ac_ext=cpp
16421 ac_cpp='$CXXCPP $CPPFLAGS'
16422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16427 if test x"$ac_has_wchar_h" = xyes &&
16428 test x"$ac_has_wctype_h" = xyes; then
16429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16430 /* end confdefs.h. */
16431 #include <wchar.h>
16432 #include <stddef.h>
16433 wint_t i;
16434 long l = WEOF;
16435 long j = WCHAR_MIN;
16436 long k = WCHAR_MAX;
16437 namespace test
16439 using ::btowc;
16440 using ::fgetwc;
16441 using ::fgetws;
16442 using ::fputwc;
16443 using ::fputws;
16444 using ::fwide;
16445 using ::fwprintf;
16446 using ::fwscanf;
16447 using ::getwc;
16448 using ::getwchar;
16449 using ::mbrlen;
16450 using ::mbrtowc;
16451 using ::mbsinit;
16452 using ::mbsrtowcs;
16453 using ::putwc;
16454 using ::putwchar;
16455 using ::swprintf;
16456 using ::swscanf;
16457 using ::ungetwc;
16458 using ::vfwprintf;
16459 using ::vswprintf;
16460 using ::vwprintf;
16461 using ::wcrtomb;
16462 using ::wcscat;
16463 using ::wcschr;
16464 using ::wcscmp;
16465 using ::wcscoll;
16466 using ::wcscpy;
16467 using ::wcscspn;
16468 using ::wcsftime;
16469 using ::wcslen;
16470 using ::wcsncat;
16471 using ::wcsncmp;
16472 using ::wcsncpy;
16473 using ::wcspbrk;
16474 using ::wcsrchr;
16475 using ::wcsrtombs;
16476 using ::wcsspn;
16477 using ::wcsstr;
16478 using ::wcstod;
16479 using ::wcstok;
16480 using ::wcstol;
16481 using ::wcstoul;
16482 using ::wcsxfrm;
16483 using ::wctob;
16484 using ::wmemchr;
16485 using ::wmemcmp;
16486 using ::wmemcpy;
16487 using ::wmemmove;
16488 using ::wmemset;
16489 using ::wprintf;
16490 using ::wscanf;
16494 main ()
16498 return 0;
16500 _ACEOF
16501 if ac_fn_cxx_try_compile "$LINENO"; then :
16503 else
16504 enable_wchar_t=no
16506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16507 else
16508 enable_wchar_t=no
16511 ac_ext=c
16512 ac_cpp='$CPP $CPPFLAGS'
16513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16519 if test x"$enable_wchar_t" = x"yes"; then
16521 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
16525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
16526 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
16527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
16528 $as_echo "$enable_wchar_t" >&6; }
16532 # Check whether --enable-c99 was given.
16533 if test "${enable_c99+set}" = set; then :
16534 enableval=$enable_c99;
16535 case "$enableval" in
16536 yes|no) ;;
16537 *) as_fn_error "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
16538 esac
16540 else
16541 enable_c99=yes
16546 if test x"$enable_c99" = x"yes"; then
16548 ac_ext=cpp
16549 ac_cpp='$CXXCPP $CPPFLAGS'
16550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16555 # Use -std=c++98 (instead of -std=gnu++98) because leaving __STRICT_ANSI__
16556 # undefined may cause fake C99 facilities, like pre-standard snprintf,
16557 # to be spuriously enabled.
16558 ac_save_CXXFLAGS="$CXXFLAGS"
16559 CXXFLAGS="$CXXFLAGS -std=c++98"
16560 ac_save_LIBS="$LIBS"
16561 ac_save_gcc_no_link="$gcc_no_link"
16563 if test x$gcc_no_link != xyes; then
16564 # Use -fno-exceptions to that the C driver can link these tests without
16565 # hitting undefined references to personality routines.
16566 CXXFLAGS="$CXXFLAGS -fno-exceptions"
16567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16568 $as_echo_n "checking for sin in -lm... " >&6; }
16569 if test "${ac_cv_lib_m_sin+set}" = set; then :
16570 $as_echo_n "(cached) " >&6
16571 else
16572 ac_check_lib_save_LIBS=$LIBS
16573 LIBS="-lm $LIBS"
16574 if test x$gcc_no_link = xyes; then
16575 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16578 /* end confdefs.h. */
16580 /* Override any GCC internal prototype to avoid an error.
16581 Use char because int might match the return type of a GCC
16582 builtin and then its argument prototype would still apply. */
16583 #ifdef __cplusplus
16584 extern "C"
16585 #endif
16586 char sin ();
16588 main ()
16590 return sin ();
16592 return 0;
16594 _ACEOF
16595 if ac_fn_cxx_try_link "$LINENO"; then :
16596 ac_cv_lib_m_sin=yes
16597 else
16598 ac_cv_lib_m_sin=no
16600 rm -f core conftest.err conftest.$ac_objext \
16601 conftest$ac_exeext conftest.$ac_ext
16602 LIBS=$ac_check_lib_save_LIBS
16604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16605 $as_echo "$ac_cv_lib_m_sin" >&6; }
16606 if test "x$ac_cv_lib_m_sin" = x""yes; then :
16607 LIBS="$LIBS -lm"
16608 else
16610 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16611 gcc_no_link=yes
16617 # Check for the existence of <math.h> functions used if C99 is enabled.
16618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h> for C++98" >&5
16619 $as_echo_n "checking for ISO C99 support in <math.h> for C++98... " >&6; }
16620 if test "${glibcxx_cv_c99_math_cxx98+set}" = set; then :
16621 $as_echo_n "(cached) " >&6
16622 else
16624 if test x$gcc_no_link = xyes; then
16625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16626 /* end confdefs.h. */
16627 #include <math.h>
16628 volatile double d1, d2;
16629 volatile int i;
16631 main ()
16633 i = fpclassify(d1);
16634 i = isfinite(d1);
16635 i = isinf(d1);
16636 i = isnan(d1);
16637 i = isnormal(d1);
16638 i = signbit(d1);
16639 i = isgreater(d1, d2);
16640 i = isgreaterequal(d1, d2);
16641 i = isless(d1, d2);
16642 i = islessequal(d1, d2);
16643 i = islessgreater(d1, d2);
16644 i = islessgreater(d1, d2);
16645 i = isunordered(d1, d2);
16648 return 0;
16650 _ACEOF
16651 if ac_fn_cxx_try_compile "$LINENO"; then :
16652 glibcxx_cv_c99_math_cxx98=yes
16653 else
16654 glibcxx_cv_c99_math_cxx98=no
16656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16657 else
16658 if test x$gcc_no_link = xyes; then
16659 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16662 /* end confdefs.h. */
16663 #include <math.h>
16664 volatile double d1, d2;
16665 volatile int i;
16667 main ()
16669 i = fpclassify(d1);
16670 i = isfinite(d1);
16671 i = isinf(d1);
16672 i = isnan(d1);
16673 i = isnormal(d1);
16674 i = signbit(d1);
16675 i = isgreater(d1, d2);
16676 i = isgreaterequal(d1, d2);
16677 i = isless(d1, d2);
16678 i = islessequal(d1, d2);
16679 i = islessgreater(d1, d2);
16680 i = islessgreater(d1, d2);
16681 i = isunordered(d1, d2);
16684 return 0;
16686 _ACEOF
16687 if ac_fn_cxx_try_link "$LINENO"; then :
16688 glibcxx_cv_c99_math_cxx98=yes
16689 else
16690 glibcxx_cv_c99_math_cxx98=no
16692 rm -f core conftest.err conftest.$ac_objext \
16693 conftest$ac_exeext conftest.$ac_ext
16698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_cxx98" >&5
16699 $as_echo "$glibcxx_cv_c99_math_cxx98" >&6; }
16700 if test x"$glibcxx_cv_c99_math_cxx98" = x"yes"; then
16702 $as_echo "#define _GLIBCXX98_USE_C99_MATH 1" >>confdefs.h
16706 # Check for the existence of <complex.h> complex math functions.
16707 # This is necessary even though libstdc++ uses the builtin versions
16708 # of these functions, because if the builtin cannot be used, a reference
16709 # to the library function is emitted.
16710 for ac_header in tgmath.h
16711 do :
16712 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
16713 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
16714 cat >>confdefs.h <<_ACEOF
16715 #define HAVE_TGMATH_H 1
16716 _ACEOF
16717 ac_has_tgmath_h=yes
16718 else
16719 ac_has_tgmath_h=no
16722 done
16724 for ac_header in complex.h
16725 do :
16726 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
16727 if test "x$ac_cv_header_complex_h" = x""yes; then :
16728 cat >>confdefs.h <<_ACEOF
16729 #define HAVE_COMPLEX_H 1
16730 _ACEOF
16731 ac_has_complex_h=yes
16732 else
16733 ac_has_complex_h=no
16736 done
16738 if test x"$ac_has_complex_h" = x"yes"; then
16739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h> for C++98" >&5
16740 $as_echo_n "checking for ISO C99 support in <complex.h> for C++98... " >&6; }
16741 if test "${glibcxx_cv_c99_complex_cxx98+set}" = set; then :
16742 $as_echo_n "(cached) " >&6
16743 else
16745 if test x$gcc_no_link = xyes; then
16746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16747 /* end confdefs.h. */
16748 #include <complex.h>
16749 typedef __complex__ float float_type;
16750 typedef __complex__ double double_type;
16751 typedef __complex__ long double ld_type;
16752 volatile float_type tmpf;
16753 volatile double_type tmpd;
16754 volatile ld_type tmpld;
16755 volatile float f;
16756 volatile double d;
16757 volatile long double ld;
16759 main ()
16761 f = cabsf(tmpf);
16762 f = cargf(tmpf);
16763 tmpf = ccosf(tmpf);
16764 tmpf = ccoshf(tmpf);
16765 tmpf = cexpf(tmpf);
16766 tmpf = clogf(tmpf);
16767 tmpf = csinf(tmpf);
16768 tmpf = csinhf(tmpf);
16769 tmpf = csqrtf(tmpf);
16770 tmpf = ctanf(tmpf);
16771 tmpf = ctanhf(tmpf);
16772 tmpf = cpowf(tmpf, tmpf);
16773 tmpf = cprojf(tmpf);
16774 d = cabs(tmpd);
16775 d = carg(tmpd);
16776 tmpd = ccos(tmpd);
16777 tmpd = ccosh(tmpd);
16778 tmpd = cexp(tmpd);
16779 tmpd = clog(tmpd);
16780 tmpd = csin(tmpd);
16781 tmpd = csinh(tmpd);
16782 tmpd = csqrt(tmpd);
16783 tmpd = ctan(tmpd);
16784 tmpd = ctanh(tmpd);
16785 tmpd = cpow(tmpd, tmpd);
16786 tmpd = cproj(tmpd);
16787 ld = cabsl(tmpld);
16788 ld = cargl(tmpld);
16789 tmpld = ccosl(tmpld);
16790 tmpld = ccoshl(tmpld);
16791 tmpld = cexpl(tmpld);
16792 tmpld = clogl(tmpld);
16793 tmpld = csinl(tmpld);
16794 tmpld = csinhl(tmpld);
16795 tmpld = csqrtl(tmpld);
16796 tmpld = ctanl(tmpld);
16797 tmpld = ctanhl(tmpld);
16798 tmpld = cpowl(tmpld, tmpld);
16799 tmpld = cprojl(tmpld);
16802 return 0;
16804 _ACEOF
16805 if ac_fn_cxx_try_compile "$LINENO"; then :
16806 glibcxx_cv_c99_complex_cxx98=yes
16807 else
16808 glibcxx_cv_c99_complex_cxx98=no
16810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16811 else
16812 if test x$gcc_no_link = xyes; then
16813 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16816 /* end confdefs.h. */
16817 #include <complex.h>
16818 typedef __complex__ float float_type;
16819 typedef __complex__ double double_type;
16820 typedef __complex__ long double ld_type;
16821 volatile float_type tmpf;
16822 volatile double_type tmpd;
16823 volatile ld_type tmpld;
16824 volatile float f;
16825 volatile double d;
16826 volatile long double ld;
16828 main ()
16830 f = cabsf(tmpf);
16831 f = cargf(tmpf);
16832 tmpf = ccosf(tmpf);
16833 tmpf = ccoshf(tmpf);
16834 tmpf = cexpf(tmpf);
16835 tmpf = clogf(tmpf);
16836 tmpf = csinf(tmpf);
16837 tmpf = csinhf(tmpf);
16838 tmpf = csqrtf(tmpf);
16839 tmpf = ctanf(tmpf);
16840 tmpf = ctanhf(tmpf);
16841 tmpf = cpowf(tmpf, tmpf);
16842 tmpf = cprojf(tmpf);
16843 d = cabs(tmpd);
16844 d = carg(tmpd);
16845 tmpd = ccos(tmpd);
16846 tmpd = ccosh(tmpd);
16847 tmpd = cexp(tmpd);
16848 tmpd = clog(tmpd);
16849 tmpd = csin(tmpd);
16850 tmpd = csinh(tmpd);
16851 tmpd = csqrt(tmpd);
16852 tmpd = ctan(tmpd);
16853 tmpd = ctanh(tmpd);
16854 tmpd = cpow(tmpd, tmpd);
16855 tmpd = cproj(tmpd);
16856 ld = cabsl(tmpld);
16857 ld = cargl(tmpld);
16858 tmpld = ccosl(tmpld);
16859 tmpld = ccoshl(tmpld);
16860 tmpld = cexpl(tmpld);
16861 tmpld = clogl(tmpld);
16862 tmpld = csinl(tmpld);
16863 tmpld = csinhl(tmpld);
16864 tmpld = csqrtl(tmpld);
16865 tmpld = ctanl(tmpld);
16866 tmpld = ctanhl(tmpld);
16867 tmpld = cpowl(tmpld, tmpld);
16868 tmpld = cprojl(tmpld);
16871 return 0;
16873 _ACEOF
16874 if ac_fn_cxx_try_link "$LINENO"; then :
16875 glibcxx_cv_c99_complex_cxx98=yes
16876 else
16877 glibcxx_cv_c99_complex_cxx98=no
16879 rm -f core conftest.err conftest.$ac_objext \
16880 conftest$ac_exeext conftest.$ac_ext
16886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex_cxx98" >&5
16887 $as_echo "$glibcxx_cv_c99_complex_cxx98" >&6; }
16888 if test x"$glibcxx_cv_c99_complex_cxx98" = x"yes"; then
16890 $as_echo "#define _GLIBCXX98_USE_C99_COMPLEX 1" >>confdefs.h
16894 # Check for the existence in <stdio.h> of vscanf, et. al.
16895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h> for C++98" >&5
16896 $as_echo_n "checking for ISO C99 support in <stdio.h> for C++98... " >&6; }
16897 if test "${glibcxx_cv_c99_stdio_cxx98+set}" = set; then :
16898 $as_echo_n "(cached) " >&6
16899 else
16901 if test x$gcc_no_link = xyes; then
16902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16903 /* end confdefs.h. */
16904 #include <stdio.h>
16905 #include <stdarg.h>
16906 void foo(char* fmt, ...)
16908 va_list args; va_start(args, fmt);
16909 vfscanf(stderr, "%i", args);
16910 vscanf("%i", args);
16911 vsnprintf(fmt, 0, "%i", args);
16912 vsscanf(fmt, "%i", args);
16913 snprintf(fmt, 0, "%i");
16916 main ()
16920 return 0;
16922 _ACEOF
16923 if ac_fn_cxx_try_compile "$LINENO"; then :
16924 glibcxx_cv_c99_stdio_cxx98=yes
16925 else
16926 glibcxx_cv_c99_stdio_cxx98=no
16928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16929 else
16930 if test x$gcc_no_link = xyes; then
16931 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16934 /* end confdefs.h. */
16935 #include <stdio.h>
16936 #include <stdarg.h>
16937 void foo(char* fmt, ...)
16939 va_list args; va_start(args, fmt);
16940 vfscanf(stderr, "%i", args);
16941 vscanf("%i", args);
16942 vsnprintf(fmt, 0, "%i", args);
16943 vsscanf(fmt, "%i", args);
16944 snprintf(fmt, 0, "%i");
16947 main ()
16951 return 0;
16953 _ACEOF
16954 if ac_fn_cxx_try_link "$LINENO"; then :
16955 glibcxx_cv_c99_stdio_cxx98=yes
16956 else
16957 glibcxx_cv_c99_stdio_cxx98=no
16959 rm -f core conftest.err conftest.$ac_objext \
16960 conftest$ac_exeext conftest.$ac_ext
16965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio_cxx98" >&5
16966 $as_echo "$glibcxx_cv_c99_stdio_cxx98" >&6; }
16967 if test x"$glibcxx_cv_c99_stdio_cxx98" = x"yes"; then
16969 $as_echo "#define _GLIBCXX98_USE_C99_STDIO 1" >>confdefs.h
16973 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
16974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h> for C++98" >&5
16975 $as_echo_n "checking for ISO C99 support in <stdlib.h> for C++98... " >&6; }
16976 if test "${glibcxx_cv_c99_stdlib_cxx98+set}" = set; then :
16977 $as_echo_n "(cached) " >&6
16978 else
16980 if test x$gcc_no_link = xyes; then
16981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16982 /* end confdefs.h. */
16983 #include <stdlib.h>
16984 volatile float f;
16985 volatile long double ld;
16986 volatile unsigned long long ll;
16987 lldiv_t mydivt;
16989 main ()
16991 char* tmp;
16992 f = strtof("gnu", &tmp);
16993 ld = strtold("gnu", &tmp);
16994 ll = strtoll("gnu", &tmp, 10);
16995 ll = strtoull("gnu", &tmp, 10);
16996 ll = llabs(10);
16997 mydivt = lldiv(10,1);
16998 ll = mydivt.quot;
16999 ll = mydivt.rem;
17000 ll = atoll("10");
17001 _Exit(0);
17004 return 0;
17006 _ACEOF
17007 if ac_fn_cxx_try_compile "$LINENO"; then :
17008 glibcxx_cv_c99_stdlib_cxx98=yes
17009 else
17010 glibcxx_cv_c99_stdlib_cxx98=no
17012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17013 else
17014 if test x$gcc_no_link = xyes; then
17015 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17018 /* end confdefs.h. */
17019 #include <stdlib.h>
17020 volatile float f;
17021 volatile long double ld;
17022 volatile unsigned long long ll;
17023 lldiv_t mydivt;
17025 main ()
17027 char* tmp;
17028 f = strtof("gnu", &tmp);
17029 ld = strtold("gnu", &tmp);
17030 ll = strtoll("gnu", &tmp, 10);
17031 ll = strtoull("gnu", &tmp, 10);
17032 ll = llabs(10);
17033 mydivt = lldiv(10,1);
17034 ll = mydivt.quot;
17035 ll = mydivt.rem;
17036 ll = atoll("10");
17037 _Exit(0);
17040 return 0;
17042 _ACEOF
17043 if ac_fn_cxx_try_link "$LINENO"; then :
17044 glibcxx_cv_c99_stdlib_cxx98=yes
17045 else
17046 glibcxx_cv_c99_stdlib_cxx98=no
17048 rm -f core conftest.err conftest.$ac_objext \
17049 conftest$ac_exeext conftest.$ac_ext
17054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib_cxx98" >&5
17055 $as_echo "$glibcxx_cv_c99_stdlib_cxx98" >&6; }
17056 if test x"$glibcxx_cv_c99_stdlib_cxx98" = x"yes"; then
17058 $as_echo "#define _GLIBCXX98_USE_C99_STDLIB 1" >>confdefs.h
17062 # Check for the existence in <wchar.h> of wcstold, etc.
17063 if test x"$ac_has_wchar_h" = xyes &&
17064 test x"$ac_has_wctype_h" = xyes; then
17065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h> for C++98" >&5
17066 $as_echo_n "checking for ISO C99 support in <wchar.h> for C++98... " >&6; }
17067 if test "${glibcxx_cv_c99_wchar_cxx98+set}" = set; then :
17068 $as_echo_n "(cached) " >&6
17069 else
17071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17072 /* end confdefs.h. */
17073 #include <wchar.h>
17074 namespace test
17076 using ::wcstold;
17077 using ::wcstoll;
17078 using ::wcstoull;
17082 main ()
17086 return 0;
17088 _ACEOF
17089 if ac_fn_cxx_try_compile "$LINENO"; then :
17090 glibcxx_cv_c99_wchar_cxx98=yes
17091 else
17092 glibcxx_cv_c99_wchar_cxx98=no
17094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17099 # Checks for wide character functions that may not be present.
17100 # Injection of these is wrapped with guard macros.
17101 # NB: only put functions here, instead of immediately above, if
17102 # absolutely necessary.
17103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17104 /* end confdefs.h. */
17105 #include <wchar.h>
17106 namespace test { using ::vfwscanf; }
17108 main ()
17112 return 0;
17114 _ACEOF
17115 if ac_fn_cxx_try_compile "$LINENO"; then :
17117 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17123 /* end confdefs.h. */
17124 #include <wchar.h>
17125 namespace test { using ::vswscanf; }
17127 main ()
17131 return 0;
17133 _ACEOF
17134 if ac_fn_cxx_try_compile "$LINENO"; then :
17136 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17142 /* end confdefs.h. */
17143 #include <wchar.h>
17144 namespace test { using ::vwscanf; }
17146 main ()
17150 return 0;
17152 _ACEOF
17153 if ac_fn_cxx_try_compile "$LINENO"; then :
17155 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17161 /* end confdefs.h. */
17162 #include <wchar.h>
17163 namespace test { using ::wcstof; }
17165 main ()
17169 return 0;
17171 _ACEOF
17172 if ac_fn_cxx_try_compile "$LINENO"; then :
17174 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17180 /* end confdefs.h. */
17181 #include <wctype.h>
17183 main ()
17185 wint_t t; int i = iswblank(t);
17187 return 0;
17189 _ACEOF
17190 if ac_fn_cxx_try_compile "$LINENO"; then :
17192 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar_cxx98" >&5
17198 $as_echo "$glibcxx_cv_c99_wchar_cxx98" >&6; }
17199 if test x"$glibcxx_cv_c99_wchar_cxx98" = x"yes"; then
17201 $as_echo "#define _GLIBCXX98_USE_C99_WCHAR 1" >>confdefs.h
17206 # Option parsed, now set things appropriately.
17207 if test x"$glibcxx_cv_c99_math_cxx98" = x"no" ||
17208 test x"$glibcxx_cv_c99_complex_cxx98" = x"no" ||
17209 test x"$glibcxx_cv_c99_stdio_cxx98" = x"no" ||
17210 test x"$glibcxx_cv_c99_stdlib_cxx98" = x"no" ||
17211 test x"$glibcxx_cv_c99_wchar_cxx98" = x"no"; then
17212 enable_c99=no;
17213 else
17215 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
17219 gcc_no_link="$ac_save_gcc_no_link"
17220 LIBS="$ac_save_LIBS"
17221 CXXFLAGS="$ac_save_CXXFLAGS"
17222 ac_ext=c
17223 ac_cpp='$CPP $CPPFLAGS'
17224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17230 ac_ext=cpp
17231 ac_cpp='$CXXCPP $CPPFLAGS'
17232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17237 # Use -std=c++11 and test again for C99 library feature in C++11 mode.
17238 # For the reasons given above we use -std=c++11 not -std=gnu++11.
17239 ac_save_CXXFLAGS="$CXXFLAGS"
17240 CXXFLAGS="$CXXFLAGS -std=c++11"
17241 ac_save_LIBS="$LIBS"
17242 ac_save_gcc_no_link="$gcc_no_link"
17244 if test x$gcc_no_link != xyes; then
17245 # Use -fno-exceptions to that the C driver can link these tests without
17246 # hitting undefined references to personality routines.
17247 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
17249 $as_echo_n "checking for sin in -lm... " >&6; }
17250 if test "${ac_cv_lib_m_sin+set}" = set; then :
17251 $as_echo_n "(cached) " >&6
17252 else
17253 ac_check_lib_save_LIBS=$LIBS
17254 LIBS="-lm $LIBS"
17255 if test x$gcc_no_link = xyes; then
17256 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17259 /* end confdefs.h. */
17261 /* Override any GCC internal prototype to avoid an error.
17262 Use char because int might match the return type of a GCC
17263 builtin and then its argument prototype would still apply. */
17264 #ifdef __cplusplus
17265 extern "C"
17266 #endif
17267 char sin ();
17269 main ()
17271 return sin ();
17273 return 0;
17275 _ACEOF
17276 if ac_fn_cxx_try_link "$LINENO"; then :
17277 ac_cv_lib_m_sin=yes
17278 else
17279 ac_cv_lib_m_sin=no
17281 rm -f core conftest.err conftest.$ac_objext \
17282 conftest$ac_exeext conftest.$ac_ext
17283 LIBS=$ac_check_lib_save_LIBS
17285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
17286 $as_echo "$ac_cv_lib_m_sin" >&6; }
17287 if test "x$ac_cv_lib_m_sin" = x""yes; then :
17288 LIBS="$LIBS -lm"
17289 else
17291 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
17292 gcc_no_link=yes
17298 # Check for the existence of <math.h> functions used if C99 is enabled.
17299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h> for C++11" >&5
17300 $as_echo_n "checking for ISO C99 support in <math.h> for C++11... " >&6; }
17301 if test "${glibcxx_cv_c99_math_cxx11+set}" = set; then :
17302 $as_echo_n "(cached) " >&6
17303 else
17305 if test x$gcc_no_link = xyes; then
17306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17307 /* end confdefs.h. */
17308 #include <math.h>
17309 volatile double d1, d2;
17310 volatile int i;
17312 main ()
17314 i = fpclassify(d1);
17315 i = isfinite(d1);
17316 i = isinf(d1);
17317 i = isnan(d1);
17318 i = isnormal(d1);
17319 i = signbit(d1);
17320 i = isgreater(d1, d2);
17321 i = isgreaterequal(d1, d2);
17322 i = isless(d1, d2);
17323 i = islessequal(d1, d2);
17324 i = islessgreater(d1, d2);
17325 i = islessgreater(d1, d2);
17326 i = isunordered(d1, d2);
17329 return 0;
17331 _ACEOF
17332 if ac_fn_cxx_try_compile "$LINENO"; then :
17333 glibcxx_cv_c99_math_cxx11=yes
17334 else
17335 glibcxx_cv_c99_math_cxx11=no
17337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17338 else
17339 if test x$gcc_no_link = xyes; then
17340 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17343 /* end confdefs.h. */
17344 #include <math.h>
17345 volatile double d1, d2;
17346 volatile int i;
17348 main ()
17350 i = fpclassify(d1);
17351 i = isfinite(d1);
17352 i = isinf(d1);
17353 i = isnan(d1);
17354 i = isnormal(d1);
17355 i = signbit(d1);
17356 i = isgreater(d1, d2);
17357 i = isgreaterequal(d1, d2);
17358 i = isless(d1, d2);
17359 i = islessequal(d1, d2);
17360 i = islessgreater(d1, d2);
17361 i = islessgreater(d1, d2);
17362 i = isunordered(d1, d2);
17365 return 0;
17367 _ACEOF
17368 if ac_fn_cxx_try_link "$LINENO"; then :
17369 glibcxx_cv_c99_math_cxx11=yes
17370 else
17371 glibcxx_cv_c99_math_cxx11=no
17373 rm -f core conftest.err conftest.$ac_objext \
17374 conftest$ac_exeext conftest.$ac_ext
17379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_cxx11" >&5
17380 $as_echo "$glibcxx_cv_c99_math_cxx11" >&6; }
17381 if test x"$glibcxx_cv_c99_math_cxx11" = x"yes"; then
17383 $as_echo "#define _GLIBCXX11_USE_C99_MATH 1" >>confdefs.h
17387 # Check for the existence of <complex.h> complex math functions.
17388 # This is necessary even though libstdc++ uses the builtin versions
17389 # of these functions, because if the builtin cannot be used, a reference
17390 # to the library function is emitted.
17391 for ac_header in tgmath.h
17392 do :
17393 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
17394 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
17395 cat >>confdefs.h <<_ACEOF
17396 #define HAVE_TGMATH_H 1
17397 _ACEOF
17398 ac_has_tgmath_h=yes
17399 else
17400 ac_has_tgmath_h=no
17403 done
17405 for ac_header in complex.h
17406 do :
17407 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
17408 if test "x$ac_cv_header_complex_h" = x""yes; then :
17409 cat >>confdefs.h <<_ACEOF
17410 #define HAVE_COMPLEX_H 1
17411 _ACEOF
17412 ac_has_complex_h=yes
17413 else
17414 ac_has_complex_h=no
17417 done
17419 if test x"$ac_has_complex_h" = x"yes"; then
17420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h> for C++11" >&5
17421 $as_echo_n "checking for ISO C99 support in <complex.h> for C++11... " >&6; }
17422 if test "${glibcxx_cv_c99_complex_cxx11+set}" = set; then :
17423 $as_echo_n "(cached) " >&6
17424 else
17426 if test x$gcc_no_link = xyes; then
17427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17428 /* end confdefs.h. */
17429 #include <complex.h>
17430 typedef __complex__ float float_type;
17431 typedef __complex__ double double_type;
17432 typedef __complex__ long double ld_type;
17433 volatile float_type tmpf;
17434 volatile double_type tmpd;
17435 volatile ld_type tmpld;
17436 volatile float f;
17437 volatile double d;
17438 volatile long double ld;
17440 main ()
17442 f = cabsf(tmpf);
17443 f = cargf(tmpf);
17444 tmpf = ccosf(tmpf);
17445 tmpf = ccoshf(tmpf);
17446 tmpf = cexpf(tmpf);
17447 tmpf = clogf(tmpf);
17448 tmpf = csinf(tmpf);
17449 tmpf = csinhf(tmpf);
17450 tmpf = csqrtf(tmpf);
17451 tmpf = ctanf(tmpf);
17452 tmpf = ctanhf(tmpf);
17453 tmpf = cpowf(tmpf, tmpf);
17454 tmpf = cprojf(tmpf);
17455 d = cabs(tmpd);
17456 d = carg(tmpd);
17457 tmpd = ccos(tmpd);
17458 tmpd = ccosh(tmpd);
17459 tmpd = cexp(tmpd);
17460 tmpd = clog(tmpd);
17461 tmpd = csin(tmpd);
17462 tmpd = csinh(tmpd);
17463 tmpd = csqrt(tmpd);
17464 tmpd = ctan(tmpd);
17465 tmpd = ctanh(tmpd);
17466 tmpd = cpow(tmpd, tmpd);
17467 tmpd = cproj(tmpd);
17468 ld = cabsl(tmpld);
17469 ld = cargl(tmpld);
17470 tmpld = ccosl(tmpld);
17471 tmpld = ccoshl(tmpld);
17472 tmpld = cexpl(tmpld);
17473 tmpld = clogl(tmpld);
17474 tmpld = csinl(tmpld);
17475 tmpld = csinhl(tmpld);
17476 tmpld = csqrtl(tmpld);
17477 tmpld = ctanl(tmpld);
17478 tmpld = ctanhl(tmpld);
17479 tmpld = cpowl(tmpld, tmpld);
17480 tmpld = cprojl(tmpld);
17483 return 0;
17485 _ACEOF
17486 if ac_fn_cxx_try_compile "$LINENO"; then :
17487 glibcxx_cv_c99_complex_cxx11=yes
17488 else
17489 glibcxx_cv_c99_complex_cxx11=no
17491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17492 else
17493 if test x$gcc_no_link = xyes; then
17494 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17497 /* end confdefs.h. */
17498 #include <complex.h>
17499 typedef __complex__ float float_type;
17500 typedef __complex__ double double_type;
17501 typedef __complex__ long double ld_type;
17502 volatile float_type tmpf;
17503 volatile double_type tmpd;
17504 volatile ld_type tmpld;
17505 volatile float f;
17506 volatile double d;
17507 volatile long double ld;
17509 main ()
17511 f = cabsf(tmpf);
17512 f = cargf(tmpf);
17513 tmpf = ccosf(tmpf);
17514 tmpf = ccoshf(tmpf);
17515 tmpf = cexpf(tmpf);
17516 tmpf = clogf(tmpf);
17517 tmpf = csinf(tmpf);
17518 tmpf = csinhf(tmpf);
17519 tmpf = csqrtf(tmpf);
17520 tmpf = ctanf(tmpf);
17521 tmpf = ctanhf(tmpf);
17522 tmpf = cpowf(tmpf, tmpf);
17523 tmpf = cprojf(tmpf);
17524 d = cabs(tmpd);
17525 d = carg(tmpd);
17526 tmpd = ccos(tmpd);
17527 tmpd = ccosh(tmpd);
17528 tmpd = cexp(tmpd);
17529 tmpd = clog(tmpd);
17530 tmpd = csin(tmpd);
17531 tmpd = csinh(tmpd);
17532 tmpd = csqrt(tmpd);
17533 tmpd = ctan(tmpd);
17534 tmpd = ctanh(tmpd);
17535 tmpd = cpow(tmpd, tmpd);
17536 tmpd = cproj(tmpd);
17537 ld = cabsl(tmpld);
17538 ld = cargl(tmpld);
17539 tmpld = ccosl(tmpld);
17540 tmpld = ccoshl(tmpld);
17541 tmpld = cexpl(tmpld);
17542 tmpld = clogl(tmpld);
17543 tmpld = csinl(tmpld);
17544 tmpld = csinhl(tmpld);
17545 tmpld = csqrtl(tmpld);
17546 tmpld = ctanl(tmpld);
17547 tmpld = ctanhl(tmpld);
17548 tmpld = cpowl(tmpld, tmpld);
17549 tmpld = cprojl(tmpld);
17552 return 0;
17554 _ACEOF
17555 if ac_fn_cxx_try_link "$LINENO"; then :
17556 glibcxx_cv_c99_complex_cxx11=yes
17557 else
17558 glibcxx_cv_c99_complex_cxx11=no
17560 rm -f core conftest.err conftest.$ac_objext \
17561 conftest$ac_exeext conftest.$ac_ext
17567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex_cxx11" >&5
17568 $as_echo "$glibcxx_cv_c99_complex_cxx11" >&6; }
17569 if test x"$glibcxx_cv_c99_complex_cxx11" = x"yes"; then
17571 $as_echo "#define _GLIBCXX11_USE_C99_COMPLEX 1" >>confdefs.h
17575 # Check for the existence in <stdio.h> of vscanf, et. al.
17576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h> for C++11" >&5
17577 $as_echo_n "checking for ISO C99 support in <stdio.h> for C++11... " >&6; }
17578 if test "${glibcxx_cv_c99_stdio_cxx11+set}" = set; then :
17579 $as_echo_n "(cached) " >&6
17580 else
17582 if test x$gcc_no_link = xyes; then
17583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17584 /* end confdefs.h. */
17585 #include <stdio.h>
17586 #include <stdarg.h>
17587 void foo(char* fmt, ...)
17589 va_list args; va_start(args, fmt);
17590 vfscanf(stderr, "%i", args);
17591 vscanf("%i", args);
17592 vsnprintf(fmt, 0, "%i", args);
17593 vsscanf(fmt, "%i", args);
17594 snprintf(fmt, 0, "%i");
17597 main ()
17601 return 0;
17603 _ACEOF
17604 if ac_fn_cxx_try_compile "$LINENO"; then :
17605 glibcxx_cv_c99_stdio_cxx11=yes
17606 else
17607 glibcxx_cv_c99_stdio_cxx11=no
17609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17610 else
17611 if test x$gcc_no_link = xyes; then
17612 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17615 /* end confdefs.h. */
17616 #include <stdio.h>
17617 #include <stdarg.h>
17618 void foo(char* fmt, ...)
17620 va_list args; va_start(args, fmt);
17621 vfscanf(stderr, "%i", args);
17622 vscanf("%i", args);
17623 vsnprintf(fmt, 0, "%i", args);
17624 vsscanf(fmt, "%i", args);
17625 snprintf(fmt, 0, "%i");
17628 main ()
17632 return 0;
17634 _ACEOF
17635 if ac_fn_cxx_try_link "$LINENO"; then :
17636 glibcxx_cv_c99_stdio_cxx11=yes
17637 else
17638 glibcxx_cv_c99_stdio_cxx11=no
17640 rm -f core conftest.err conftest.$ac_objext \
17641 conftest$ac_exeext conftest.$ac_ext
17646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio_cxx11" >&5
17647 $as_echo "$glibcxx_cv_c99_stdio_cxx11" >&6; }
17648 if test x"$glibcxx_cv_c99_stdio_cxx11" = x"yes"; then
17650 $as_echo "#define _GLIBCXX11_USE_C99_STDIO 1" >>confdefs.h
17654 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
17655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h> for C++11" >&5
17656 $as_echo_n "checking for ISO C99 support in <stdlib.h> for C++11... " >&6; }
17657 if test "${glibcxx_cv_c99_stdlib_cxx11+set}" = set; then :
17658 $as_echo_n "(cached) " >&6
17659 else
17661 if test x$gcc_no_link = xyes; then
17662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17663 /* end confdefs.h. */
17664 #include <stdlib.h>
17665 volatile float f;
17666 volatile long double ld;
17667 volatile unsigned long long ll;
17668 lldiv_t mydivt;
17670 main ()
17672 char* tmp;
17673 f = strtof("gnu", &tmp);
17674 ld = strtold("gnu", &tmp);
17675 ll = strtoll("gnu", &tmp, 10);
17676 ll = strtoull("gnu", &tmp, 10);
17677 ll = llabs(10);
17678 mydivt = lldiv(10,1);
17679 ll = mydivt.quot;
17680 ll = mydivt.rem;
17681 ll = atoll("10");
17682 _Exit(0);
17685 return 0;
17687 _ACEOF
17688 if ac_fn_cxx_try_compile "$LINENO"; then :
17689 glibcxx_cv_c99_stdlib_cxx11=yes
17690 else
17691 glibcxx_cv_c99_stdlib_cxx11=no
17693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17694 else
17695 if test x$gcc_no_link = xyes; then
17696 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17699 /* end confdefs.h. */
17700 #include <stdlib.h>
17701 volatile float f;
17702 volatile long double ld;
17703 volatile unsigned long long ll;
17704 lldiv_t mydivt;
17706 main ()
17708 char* tmp;
17709 f = strtof("gnu", &tmp);
17710 ld = strtold("gnu", &tmp);
17711 ll = strtoll("gnu", &tmp, 10);
17712 ll = strtoull("gnu", &tmp, 10);
17713 ll = llabs(10);
17714 mydivt = lldiv(10,1);
17715 ll = mydivt.quot;
17716 ll = mydivt.rem;
17717 ll = atoll("10");
17718 _Exit(0);
17721 return 0;
17723 _ACEOF
17724 if ac_fn_cxx_try_link "$LINENO"; then :
17725 glibcxx_cv_c99_stdlib_cxx11=yes
17726 else
17727 glibcxx_cv_c99_stdlib_cxx11=no
17729 rm -f core conftest.err conftest.$ac_objext \
17730 conftest$ac_exeext conftest.$ac_ext
17735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib_cxx11" >&5
17736 $as_echo "$glibcxx_cv_c99_stdlib_cxx11" >&6; }
17737 if test x"$glibcxx_cv_c99_stdlib_cxx11" = x"yes"; then
17739 $as_echo "#define _GLIBCXX11_USE_C99_STDLIB 1" >>confdefs.h
17743 # Check for the existence in <wchar.h> of wcstold, etc.
17744 if test x"$ac_has_wchar_h" = xyes &&
17745 test x"$ac_has_wctype_h" = xyes; then
17746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h> for C++11" >&5
17747 $as_echo_n "checking for ISO C99 support in <wchar.h> for C++11... " >&6; }
17748 if test "${glibcxx_cv_c99_wchar_cxx11+set}" = set; then :
17749 $as_echo_n "(cached) " >&6
17750 else
17752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17753 /* end confdefs.h. */
17754 #include <wchar.h>
17755 namespace test
17757 using ::wcstold;
17758 using ::wcstoll;
17759 using ::wcstoull;
17763 main ()
17767 return 0;
17769 _ACEOF
17770 if ac_fn_cxx_try_compile "$LINENO"; then :
17771 glibcxx_cv_c99_wchar_cxx11=yes
17772 else
17773 glibcxx_cv_c99_wchar_cxx11=no
17775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17780 # Checks for wide character functions that may not be present.
17781 # Injection of these is wrapped with guard macros.
17782 # NB: only put functions here, instead of immediately above, if
17783 # absolutely necessary.
17784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17785 /* end confdefs.h. */
17786 #include <wchar.h>
17787 namespace test { using ::vfwscanf; }
17789 main ()
17793 return 0;
17795 _ACEOF
17796 if ac_fn_cxx_try_compile "$LINENO"; then :
17798 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17804 /* end confdefs.h. */
17805 #include <wchar.h>
17806 namespace test { using ::vswscanf; }
17808 main ()
17812 return 0;
17814 _ACEOF
17815 if ac_fn_cxx_try_compile "$LINENO"; then :
17817 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17823 /* end confdefs.h. */
17824 #include <wchar.h>
17825 namespace test { using ::vwscanf; }
17827 main ()
17831 return 0;
17833 _ACEOF
17834 if ac_fn_cxx_try_compile "$LINENO"; then :
17836 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17842 /* end confdefs.h. */
17843 #include <wchar.h>
17844 namespace test { using ::wcstof; }
17846 main ()
17850 return 0;
17852 _ACEOF
17853 if ac_fn_cxx_try_compile "$LINENO"; then :
17855 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17861 /* end confdefs.h. */
17862 #include <wctype.h>
17864 main ()
17866 wint_t t; int i = iswblank(t);
17868 return 0;
17870 _ACEOF
17871 if ac_fn_cxx_try_compile "$LINENO"; then :
17873 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar_cxx11" >&5
17879 $as_echo "$glibcxx_cv_c99_wchar_cxx11" >&6; }
17880 if test x"$glibcxx_cv_c99_wchar_cxx11" = x"yes"; then
17882 $as_echo "#define _GLIBCXX11_USE_C99_WCHAR 1" >>confdefs.h
17887 gcc_no_link="$ac_save_gcc_no_link"
17888 LIBS="$ac_save_LIBS"
17889 CXXFLAGS="$ac_save_CXXFLAGS"
17890 ac_ext=c
17891 ac_cpp='$CPP $CPPFLAGS'
17892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
17899 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
17900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
17901 $as_echo "$enable_c99" >&6; }
17904 # Check whether --enable-concept-checks was given.
17905 if test "${enable_concept_checks+set}" = set; then :
17906 enableval=$enable_concept_checks;
17907 case "$enableval" in
17908 yes|no) ;;
17909 *) as_fn_error "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
17910 esac
17912 else
17913 enable_concept_checks=no
17917 if test $enable_concept_checks = yes; then
17919 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
17924 # Check whether --enable-libstdcxx-debug-flags was given.
17925 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
17926 enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
17927 xno | x) enable_libstdcxx_debug_flags= ;;
17928 x-*) ;;
17929 *) as_fn_error "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17930 esac
17931 else
17932 enable_libstdcxx_debug_flags="-gdwarf-4 -g3 -O0"
17937 # Option parsed, now set things appropriately
17938 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
17941 { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
17942 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
17945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
17946 $as_echo_n "checking for additional debug build... " >&6; }
17947 # Check whether --enable-libstdcxx-debug was given.
17948 if test "${enable_libstdcxx_debug+set}" = set; then :
17949 enableval=$enable_libstdcxx_debug;
17950 case "$enableval" in
17951 yes|no) ;;
17952 *) as_fn_error "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
17953 esac
17955 else
17956 enable_libstdcxx_debug=no
17960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug" >&5
17961 $as_echo "$enable_libstdcxx_debug" >&6; }
17966 enable_parallel=no;
17968 # See if configured libgomp/omp.h exists. (libgomp may be in
17969 # noconfigdirs but not explicitly disabled.)
17970 if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
17971 enable_parallel=yes;
17972 else
17973 { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
17974 $as_echo "$as_me: target-libgomp not built" >&6;}
17977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
17978 $as_echo_n "checking for parallel mode support... " >&6; }
17979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
17980 $as_echo "$enable_parallel" >&6; }
17982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
17983 $as_echo_n "checking for extra compiler flags for building... " >&6; }
17984 # Check whether --enable-cxx-flags was given.
17985 if test "${enable_cxx_flags+set}" = set; then :
17986 enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
17987 xno | x) enable_cxx_flags= ;;
17988 x-*) ;;
17989 *) as_fn_error "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17990 esac
17991 else
17992 enable_cxx_flags=
17997 # Run through flags (either default or command-line) and set anything
17998 # extra (e.g., #defines) that must accompany particular g++ options.
17999 if test -n "$enable_cxx_flags"; then
18000 for f in $enable_cxx_flags; do
18001 case "$f" in
18002 -fhonor-std) ;;
18003 -*) ;;
18004 *) # and we're trying to pass /what/ exactly?
18005 as_fn_error "compiler flags start with a -" "$LINENO" 5 ;;
18006 esac
18007 done
18010 EXTRA_CXX_FLAGS="$enable_cxx_flags"
18011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
18012 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
18016 # Check whether --enable-fully-dynamic-string was given.
18017 if test "${enable_fully_dynamic_string+set}" = set; then :
18018 enableval=$enable_fully_dynamic_string;
18019 case "$enableval" in
18020 yes|no) ;;
18021 *) as_fn_error "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
18022 esac
18024 else
18025 enable_fully_dynamic_string=no
18029 if test $enable_fully_dynamic_string = yes; then
18030 enable_fully_dynamic_string_def=1
18031 else
18032 enable_fully_dynamic_string_def=0
18035 cat >>confdefs.h <<_ACEOF
18036 #define _GLIBCXX_FULLY_DYNAMIC_STRING ${enable_fully_dynamic_string_def}
18037 _ACEOF
18042 # Check whether --enable-extern-template was given.
18043 if test "${enable_extern_template+set}" = set; then :
18044 enableval=$enable_extern_template;
18045 case "$enableval" in
18046 yes|no) ;;
18047 *) as_fn_error "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
18048 esac
18050 else
18051 enable_extern_template=yes
18056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
18057 $as_echo_n "checking for extern template support... " >&6; }
18058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
18059 $as_echo "$enable_extern_template" >&6; }
18065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for custom python install directory" >&5
18066 $as_echo_n "checking for custom python install directory... " >&6; }
18068 # Check whether --with-python-dir was given.
18069 if test "${with_python_dir+set}" = set; then :
18070 withval=$with_python_dir; with_python_dir=$withval
18071 else
18072 with_python_dir="no"
18075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_python_dir}" >&5
18076 $as_echo "${with_python_dir}" >&6; }
18078 # Needed for installing Python modules during make install.
18079 python_mod_dir="${with_python_dir}"
18084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Werror" >&5
18085 $as_echo_n "checking for -Werror... " >&6; }
18086 # Check whether --enable-werror was given.
18087 if test "${enable_werror+set}" = set; then :
18088 enableval=$enable_werror;
18089 case "$enableval" in
18090 yes|no) ;;
18091 *) as_fn_error "Argument to enable/disable werror must be yes or no" "$LINENO" 5 ;;
18092 esac
18094 else
18095 enable_werror=yes
18099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_werror" >&5
18100 $as_echo "$enable_werror" >&6; }
18105 # Check whether --enable-vtable-verify was given.
18106 if test "${enable_vtable_verify+set}" = set; then :
18107 enableval=$enable_vtable_verify;
18108 case "$enableval" in
18109 yes|no) ;;
18110 *) as_fn_error "Argument to enable/disable vtable-verify must be yes or no" "$LINENO" 5 ;;
18111 esac
18113 else
18114 enable_vtable_verify=no
18119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vtable verify support" >&5
18120 $as_echo_n "checking for vtable verify support... " >&6; }
18121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
18122 $as_echo "$enable_vtable_verify" >&6; }
18124 vtv_cygmin=no
18125 if test $enable_vtable_verify = yes; then
18126 case ${target_os} in
18127 cygwin*|mingw32*)
18128 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-lvtv,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18129 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
18130 vtv_cygmin=yes
18132 darwin*)
18133 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u,_vtable_map_vars_start -Wl,-u,_vtable_map_vars_end"
18134 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,-rpath,${toplevel_builddir}/libvtv/.libs"
18136 solaris2*)
18137 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18138 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,-R -Wl,${toplevel_builddir}/libvtv/.libs"
18141 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18142 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
18144 esac
18145 VTV_PCH_CXXFLAGS="-fvtable-verify=std"
18146 else
18147 VTV_CXXFLAGS=
18148 VTV_PCH_CXXFLAGS=
18149 VTV_CXXLINKFLAGS=
18155 if test x$vtv_cygmin = xyes; then
18156 VTV_CYGMIN_TRUE=
18157 VTV_CYGMIN_FALSE='#'
18158 else
18159 VTV_CYGMIN_TRUE='#'
18160 VTV_CYGMIN_FALSE=
18166 # Checks for operating systems support that doesn't require linking.
18170 ac_ext=cpp
18171 ac_cpp='$CXXCPP $CPPFLAGS'
18172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gets declaration" >&5
18178 $as_echo_n "checking for gets declaration... " >&6; }
18179 if test "${glibcxx_cv_gets+set}" = set; then :
18180 $as_echo_n "(cached) " >&6
18181 else
18183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18184 /* end confdefs.h. */
18185 #include <stdio.h>
18186 namespace test
18188 using ::gets;
18191 _ACEOF
18192 if ac_fn_cxx_try_compile "$LINENO"; then :
18193 glibcxx_cv_gets=yes
18194 else
18195 glibcxx_cv_gets=no
18198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18202 if test $glibcxx_cv_gets = yes; then
18204 $as_echo "#define HAVE_GETS 1" >>confdefs.h
18207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_gets" >&5
18208 $as_echo "$glibcxx_cv_gets" >&6; }
18210 ac_ext=c
18211 ac_cpp='$CPP $CPPFLAGS'
18212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18220 ac_ext=cpp
18221 ac_cpp='$CXXCPP $CPPFLAGS'
18222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18226 ac_save_CXXFLAGS="$CXXFLAGS"
18227 CXXFLAGS="$CXXFLAGS -std=c++11"
18229 case "$host" in
18230 *-*-solaris2.*)
18231 # Solaris 12 introduced the C++11 <math.h> overloads. A backport to
18232 # a Solaris 11.3 SRU is likely, maybe even a Solaris 10 patch.
18233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++11 <math.h> overloads" >&5
18234 $as_echo_n "checking for C++11 <math.h> overloads... " >&6; }
18235 if test "${glibcxx_cv_math11_overload+set}" = set; then :
18236 $as_echo_n "(cached) " >&6
18237 else
18239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18240 /* end confdefs.h. */
18241 #include <math.h>
18242 #undef isfinite
18243 namespace std {
18244 inline bool isfinite(float __x)
18245 { return __builtin_isfinite(__x); }
18248 _ACEOF
18249 if ac_fn_cxx_try_compile "$LINENO"; then :
18250 glibcxx_cv_math11_overload=no
18251 else
18252 glibcxx_cv_math11_overload=yes
18255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18259 # autoheader cannot handle indented templates.
18262 if test $glibcxx_cv_math11_overload = yes; then
18263 $as_echo "#define __CORRECT_ISO_CPP11_MATH_H_PROTO 1" >>confdefs.h
18266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_math11_overload" >&5
18267 $as_echo "$glibcxx_cv_math11_overload" >&6; }
18270 # If <math.h> defines the obsolete isinf(double) and isnan(double)
18271 # functions (instead of or as well as the C99 generic macros) then we
18272 # can't define std::isinf(double) and std::isnan(double) in <cmath>
18273 # and must use the ones from <math.h> instead.
18274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obsolete isinf function in <math.h>" >&5
18275 $as_echo_n "checking for obsolete isinf function in <math.h>... " >&6; }
18276 if test "${glibcxx_cv_obsolete_isinf+set}" = set; then :
18277 $as_echo_n "(cached) " >&6
18278 else
18280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18281 /* end confdefs.h. */
18282 #define _GLIBCXX_INCLUDE_NEXT_C_HEADERS
18283 #include <math.h>
18284 #undef isinf
18285 namespace std {
18286 using ::isinf;
18287 bool isinf(float);
18288 bool isinf(long double);
18290 using std::isinf;
18291 bool b = isinf(0.0);
18293 _ACEOF
18294 if ac_fn_cxx_try_compile "$LINENO"; then :
18295 glibcxx_cv_obsolete_isinf=yes
18296 else
18297 glibcxx_cv_obsolete_isinf=no
18300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_obsolete_isinf" >&5
18304 $as_echo "$glibcxx_cv_obsolete_isinf" >&6; }
18305 if test $glibcxx_cv_obsolete_isinf = yes; then
18307 $as_echo "#define HAVE_OBSOLETE_ISINF 1" >>confdefs.h
18311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obsolete isnan function in <math.h>" >&5
18312 $as_echo_n "checking for obsolete isnan function in <math.h>... " >&6; }
18313 if test "${glibcxx_cv_obsolete_isnan+set}" = set; then :
18314 $as_echo_n "(cached) " >&6
18315 else
18317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18318 /* end confdefs.h. */
18319 #include <math.h>
18320 #undef isnan
18321 namespace std {
18322 using ::isnan;
18323 bool isnan(float);
18324 bool isnan(long double);
18326 using std::isnan;
18327 bool b = isnan(0.0);
18329 _ACEOF
18330 if ac_fn_cxx_try_compile "$LINENO"; then :
18331 glibcxx_cv_obsolete_isnan=yes
18332 else
18333 glibcxx_cv_obsolete_isnan=no
18336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_obsolete_isnan" >&5
18340 $as_echo "$glibcxx_cv_obsolete_isnan" >&6; }
18341 if test $glibcxx_cv_obsolete_isnan = yes; then
18343 $as_echo "#define HAVE_OBSOLETE_ISNAN 1" >>confdefs.h
18347 esac
18349 CXXFLAGS="$ac_save_CXXFLAGS"
18350 ac_ext=c
18351 ac_cpp='$CPP $CPPFLAGS'
18352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
18360 $as_echo_n "checking for EOWNERDEAD... " >&6; }
18361 if test "${glibcxx_cv_system_error1+set}" = set; then :
18362 $as_echo_n "(cached) " >&6
18363 else
18365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18366 /* end confdefs.h. */
18367 #include <errno.h>
18369 main ()
18371 int i = EOWNERDEAD;
18373 return 0;
18375 _ACEOF
18376 if ac_fn_c_try_compile "$LINENO"; then :
18377 glibcxx_cv_system_error1=yes
18378 else
18379 glibcxx_cv_system_error1=no
18381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
18386 $as_echo "$glibcxx_cv_system_error1" >&6; }
18387 if test x"$glibcxx_cv_system_error1" = x"yes"; then
18389 $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
18392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
18393 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
18394 if test "${glibcxx_cv_system_error2+set}" = set; then :
18395 $as_echo_n "(cached) " >&6
18396 else
18398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18399 /* end confdefs.h. */
18400 #include <errno.h>
18402 main ()
18404 int i = ENOTRECOVERABLE;
18406 return 0;
18408 _ACEOF
18409 if ac_fn_c_try_compile "$LINENO"; then :
18410 glibcxx_cv_system_error2=yes
18411 else
18412 glibcxx_cv_system_error2=no
18414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
18419 $as_echo "$glibcxx_cv_system_error2" >&6; }
18420 if test x"$glibcxx_cv_system_error2" = x"yes"; then
18422 $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
18425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
18426 $as_echo_n "checking for ENOLINK... " >&6; }
18427 if test "${glibcxx_cv_system_error3+set}" = set; then :
18428 $as_echo_n "(cached) " >&6
18429 else
18431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18432 /* end confdefs.h. */
18433 #include <errno.h>
18435 main ()
18437 int i = ENOLINK;
18439 return 0;
18441 _ACEOF
18442 if ac_fn_c_try_compile "$LINENO"; then :
18443 glibcxx_cv_system_error3=yes
18444 else
18445 glibcxx_cv_system_error3=no
18447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
18452 $as_echo "$glibcxx_cv_system_error3" >&6; }
18453 if test x"$glibcxx_cv_system_error3" = x"yes"; then
18455 $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
18458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
18459 $as_echo_n "checking for EPROTO... " >&6; }
18460 if test "${glibcxx_cv_system_error4+set}" = set; then :
18461 $as_echo_n "(cached) " >&6
18462 else
18464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18465 /* end confdefs.h. */
18466 #include <errno.h>
18468 main ()
18470 int i = EPROTO;
18472 return 0;
18474 _ACEOF
18475 if ac_fn_c_try_compile "$LINENO"; then :
18476 glibcxx_cv_system_error4=yes
18477 else
18478 glibcxx_cv_system_error4=no
18480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
18485 $as_echo "$glibcxx_cv_system_error4" >&6; }
18486 if test x"$glibcxx_cv_system_error4" = x"yes"; then
18488 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
18491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
18492 $as_echo_n "checking for ENODATA... " >&6; }
18493 if test "${glibcxx_cv_system_error5+set}" = set; then :
18494 $as_echo_n "(cached) " >&6
18495 else
18497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18498 /* end confdefs.h. */
18499 #include <errno.h>
18501 main ()
18503 int i = ENODATA;
18505 return 0;
18507 _ACEOF
18508 if ac_fn_c_try_compile "$LINENO"; then :
18509 glibcxx_cv_system_error5=yes
18510 else
18511 glibcxx_cv_system_error5=no
18513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
18518 $as_echo "$glibcxx_cv_system_error5" >&6; }
18519 if test x"$glibcxx_cv_system_error5" = x"yes"; then
18521 $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
18524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
18525 $as_echo_n "checking for ENOSR... " >&6; }
18526 if test "${glibcxx_cv_system_error6+set}" = set; then :
18527 $as_echo_n "(cached) " >&6
18528 else
18530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18531 /* end confdefs.h. */
18532 #include <errno.h>
18534 main ()
18536 int i = ENOSR;
18538 return 0;
18540 _ACEOF
18541 if ac_fn_c_try_compile "$LINENO"; then :
18542 glibcxx_cv_system_error6=yes
18543 else
18544 glibcxx_cv_system_error6=no
18546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
18551 $as_echo "$glibcxx_cv_system_error6" >&6; }
18552 if test x"$glibcxx_cv_system_error6" = x"yes"; then
18554 $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
18557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
18558 $as_echo_n "checking for ENOSTR... " >&6; }
18559 if test "${glibcxx_cv_system_error7+set}" = set; then :
18560 $as_echo_n "(cached) " >&6
18561 else
18563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18564 /* end confdefs.h. */
18565 #include <errno.h>
18567 main ()
18569 int i = ENOSTR;
18571 return 0;
18573 _ACEOF
18574 if ac_fn_c_try_compile "$LINENO"; then :
18575 glibcxx_cv_system_error7=yes
18576 else
18577 glibcxx_cv_system_error7=no
18579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
18584 $as_echo "$glibcxx_cv_system_error7" >&6; }
18585 if test x"$glibcxx_cv_system_error7" = x"yes"; then
18587 $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
18590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
18591 $as_echo_n "checking for ETIME... " >&6; }
18592 if test "${glibcxx_cv_system_error8+set}" = set; then :
18593 $as_echo_n "(cached) " >&6
18594 else
18596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18597 /* end confdefs.h. */
18598 #include <errno.h>
18600 main ()
18602 int i = ETIME;
18604 return 0;
18606 _ACEOF
18607 if ac_fn_c_try_compile "$LINENO"; then :
18608 glibcxx_cv_system_error8=yes
18609 else
18610 glibcxx_cv_system_error8=no
18612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
18617 $as_echo "$glibcxx_cv_system_error8" >&6; }
18618 if test x"$glibcxx_cv_system_error8" = x"yes"; then
18620 $as_echo "#define HAVE_ETIME 1" >>confdefs.h
18623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
18624 $as_echo_n "checking for EBADMSG... " >&6; }
18625 if test "${glibcxx_cv_system_error9+set}" = set; then :
18626 $as_echo_n "(cached) " >&6
18627 else
18629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18630 /* end confdefs.h. */
18631 #include <errno.h>
18633 main ()
18635 int i = EBADMSG;
18637 return 0;
18639 _ACEOF
18640 if ac_fn_c_try_compile "$LINENO"; then :
18641 glibcxx_cv_system_error9=yes
18642 else
18643 glibcxx_cv_system_error9=no
18645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
18650 $as_echo "$glibcxx_cv_system_error9" >&6; }
18651 if test x"$glibcxx_cv_system_error9" = x"yes"; then
18653 $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
18656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
18657 $as_echo_n "checking for ECANCELED... " >&6; }
18658 if test "${glibcxx_cv_system_error10+set}" = set; then :
18659 $as_echo_n "(cached) " >&6
18660 else
18662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18663 /* end confdefs.h. */
18664 #include <errno.h>
18666 main ()
18668 int i = ECANCELED;
18670 return 0;
18672 _ACEOF
18673 if ac_fn_c_try_compile "$LINENO"; then :
18674 glibcxx_cv_system_error10=yes
18675 else
18676 glibcxx_cv_system_error10=no
18678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
18683 $as_echo "$glibcxx_cv_system_error10" >&6; }
18684 if test x"$glibcxx_cv_system_error10" = x"yes"; then
18686 $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
18689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
18690 $as_echo_n "checking for EOVERFLOW... " >&6; }
18691 if test "${glibcxx_cv_system_error11+set}" = set; then :
18692 $as_echo_n "(cached) " >&6
18693 else
18695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18696 /* end confdefs.h. */
18697 #include <errno.h>
18699 main ()
18701 int i = EOVERFLOW;
18703 return 0;
18705 _ACEOF
18706 if ac_fn_c_try_compile "$LINENO"; then :
18707 glibcxx_cv_system_error11=yes
18708 else
18709 glibcxx_cv_system_error11=no
18711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
18716 $as_echo "$glibcxx_cv_system_error11" >&6; }
18717 if test x"$glibcxx_cv_system_error11" = x"yes"; then
18719 $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
18722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
18723 $as_echo_n "checking for ENOTSUP... " >&6; }
18724 if test "${glibcxx_cv_system_error12+set}" = set; then :
18725 $as_echo_n "(cached) " >&6
18726 else
18728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18729 /* end confdefs.h. */
18730 #include <errno.h>
18732 main ()
18734 int i = ENOTSUP;
18736 return 0;
18738 _ACEOF
18739 if ac_fn_c_try_compile "$LINENO"; then :
18740 glibcxx_cv_system_error12=yes
18741 else
18742 glibcxx_cv_system_error12=no
18744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
18749 $as_echo "$glibcxx_cv_system_error12" >&6; }
18750 if test x"$glibcxx_cv_system_error12" = x"yes"; then
18752 $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
18755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
18756 $as_echo_n "checking for EIDRM... " >&6; }
18757 if test "${glibcxx_cv_system_error13+set}" = set; then :
18758 $as_echo_n "(cached) " >&6
18759 else
18761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18762 /* end confdefs.h. */
18763 #include <errno.h>
18765 main ()
18767 int i = EIDRM;
18769 return 0;
18771 _ACEOF
18772 if ac_fn_c_try_compile "$LINENO"; then :
18773 glibcxx_cv_system_error13=yes
18774 else
18775 glibcxx_cv_system_error13=no
18777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
18782 $as_echo "$glibcxx_cv_system_error13" >&6; }
18783 if test x"$glibcxx_cv_system_error13" = x"yes"; then
18785 $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
18788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
18789 $as_echo_n "checking for ETXTBSY... " >&6; }
18790 if test "${glibcxx_cv_system_error14+set}" = set; then :
18791 $as_echo_n "(cached) " >&6
18792 else
18794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18795 /* end confdefs.h. */
18796 #include <errno.h>
18798 main ()
18800 int i = ETXTBSY;
18802 return 0;
18804 _ACEOF
18805 if ac_fn_c_try_compile "$LINENO"; then :
18806 glibcxx_cv_system_error14=yes
18807 else
18808 glibcxx_cv_system_error14=no
18810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
18815 $as_echo "$glibcxx_cv_system_error14" >&6; }
18816 if test x"$glibcxx_cv_system_error14" = x"yes"; then
18818 $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
18821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECHILD" >&5
18822 $as_echo_n "checking for ECHILD... " >&6; }
18823 if test "${glibcxx_cv_system_error15+set}" = set; then :
18824 $as_echo_n "(cached) " >&6
18825 else
18827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18828 /* end confdefs.h. */
18829 #include <errno.h>
18831 main ()
18833 int i = ECHILD;
18835 return 0;
18837 _ACEOF
18838 if ac_fn_c_try_compile "$LINENO"; then :
18839 glibcxx_cv_system_error15=yes
18840 else
18841 glibcxx_cv_system_error15=no
18843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error15" >&5
18848 $as_echo "$glibcxx_cv_system_error15" >&6; }
18849 if test x"$glibcxx_cv_system_error15" = x"yes"; then
18851 $as_echo "#define HAVE_ECHILD 1" >>confdefs.h
18854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSPC" >&5
18855 $as_echo_n "checking for ENOSPC... " >&6; }
18856 if test "${glibcxx_cv_system_error16+set}" = set; then :
18857 $as_echo_n "(cached) " >&6
18858 else
18860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18861 /* end confdefs.h. */
18862 #include <errno.h>
18864 main ()
18866 int i = ENOSPC;
18868 return 0;
18870 _ACEOF
18871 if ac_fn_c_try_compile "$LINENO"; then :
18872 glibcxx_cv_system_error16=yes
18873 else
18874 glibcxx_cv_system_error16=no
18876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error16" >&5
18881 $as_echo "$glibcxx_cv_system_error16" >&6; }
18882 if test x"$glibcxx_cv_system_error16" = x"yes"; then
18884 $as_echo "#define HAVE_ENOSPC 1" >>confdefs.h
18887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPERM" >&5
18888 $as_echo_n "checking for EPERM... " >&6; }
18889 if test "${glibcxx_cv_system_error17+set}" = set; then :
18890 $as_echo_n "(cached) " >&6
18891 else
18893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18894 /* end confdefs.h. */
18895 #include <errno.h>
18897 main ()
18899 int i = EPERM;
18901 return 0;
18903 _ACEOF
18904 if ac_fn_c_try_compile "$LINENO"; then :
18905 glibcxx_cv_system_error17=yes
18906 else
18907 glibcxx_cv_system_error17=no
18909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error17" >&5
18914 $as_echo "$glibcxx_cv_system_error17" >&6; }
18915 if test x"$glibcxx_cv_system_error17" = x"yes"; then
18917 $as_echo "#define HAVE_EPERM 1" >>confdefs.h
18920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIMEDOUT" >&5
18921 $as_echo_n "checking for ETIMEDOUT... " >&6; }
18922 if test "${glibcxx_cv_system_error18+set}" = set; then :
18923 $as_echo_n "(cached) " >&6
18924 else
18926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18927 /* end confdefs.h. */
18928 #include <errno.h>
18930 main ()
18932 int i = ETIMEDOUT;
18934 return 0;
18936 _ACEOF
18937 if ac_fn_c_try_compile "$LINENO"; then :
18938 glibcxx_cv_system_error18=yes
18939 else
18940 glibcxx_cv_system_error18=no
18942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error18" >&5
18947 $as_echo "$glibcxx_cv_system_error18" >&6; }
18948 if test x"$glibcxx_cv_system_error18" = x"yes"; then
18950 $as_echo "#define HAVE_ETIMEDOUT 1" >>confdefs.h
18953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EWOULDBLOCK" >&5
18954 $as_echo_n "checking for EWOULDBLOCK... " >&6; }
18955 if test "${glibcxx_cv_system_error19+set}" = set; then :
18956 $as_echo_n "(cached) " >&6
18957 else
18959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18960 /* end confdefs.h. */
18961 #include <errno.h>
18963 main ()
18965 int i = EWOULDBLOCK;
18967 return 0;
18969 _ACEOF
18970 if ac_fn_c_try_compile "$LINENO"; then :
18971 glibcxx_cv_system_error19=yes
18972 else
18973 glibcxx_cv_system_error19=no
18975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error19" >&5
18980 $as_echo "$glibcxx_cv_system_error19" >&6; }
18981 if test x"$glibcxx_cv_system_error19" = x"yes"; then
18983 $as_echo "#define HAVE_EWOULDBLOCK 1" >>confdefs.h
18990 # Test uchar.h.
18991 for ac_header in uchar.h
18992 do :
18993 ac_fn_c_check_header_mongrel "$LINENO" "uchar.h" "ac_cv_header_uchar_h" "$ac_includes_default"
18994 if test "x$ac_cv_header_uchar_h" = x""yes; then :
18995 cat >>confdefs.h <<_ACEOF
18996 #define HAVE_UCHAR_H 1
18997 _ACEOF
18998 ac_has_uchar_h=yes
18999 else
19000 ac_has_uchar_h=no
19003 done
19007 ac_ext=cpp
19008 ac_cpp='$CXXCPP $CPPFLAGS'
19009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19013 ac_save_CXXFLAGS="$CXXFLAGS"
19014 CXXFLAGS="$CXXFLAGS -std=c++11"
19016 if test x"$ac_has_uchar_h" = x"yes"; then
19017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C11 support for <uchar.h>" >&5
19018 $as_echo_n "checking for ISO C11 support for <uchar.h>... " >&6; }
19019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19020 /* end confdefs.h. */
19021 #include <uchar.h>
19022 #ifdef __STDC_UTF_16__
19023 long i = __STDC_UTF_16__;
19024 #endif
19025 #ifdef __STDC_UTF_32__
19026 long j = __STDC_UTF_32__;
19027 #endif
19028 namespace test
19030 using ::c16rtomb;
19031 using ::c32rtomb;
19032 using ::mbrtoc16;
19033 using ::mbrtoc32;
19037 main ()
19041 return 0;
19043 _ACEOF
19044 if ac_fn_cxx_try_compile "$LINENO"; then :
19045 ac_c11_uchar_cxx11=yes
19046 else
19047 ac_c11_uchar_cxx11=no
19049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19050 else
19051 ac_c11_uchar_cxx11=no
19053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c11_uchar_cxx11" >&5
19054 $as_echo "$ac_c11_uchar_cxx11" >&6; }
19055 if test x"$ac_c11_uchar_cxx11" = x"yes"; then
19057 $as_echo "#define _GLIBCXX_USE_C11_UCHAR_CXX11 1" >>confdefs.h
19061 CXXFLAGS="$ac_save_CXXFLAGS"
19062 ac_ext=c
19063 ac_cpp='$CPP $CPPFLAGS'
19064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19070 # For the streamoff typedef.
19074 ac_ext=cpp
19075 ac_cpp='$CXXCPP $CPPFLAGS'
19076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
19082 $as_echo_n "checking for int64_t... " >&6; }
19083 if test "${glibcxx_cv_INT64_T+set}" = set; then :
19084 $as_echo_n "(cached) " >&6
19085 else
19087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19088 /* end confdefs.h. */
19089 #include <stdint.h>
19091 main ()
19093 int64_t var;
19095 return 0;
19097 _ACEOF
19098 if ac_fn_cxx_try_compile "$LINENO"; then :
19099 glibcxx_cv_INT64_T=yes
19100 else
19101 glibcxx_cv_INT64_T=no
19103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19108 if test $glibcxx_cv_INT64_T = yes; then
19110 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
19112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
19113 $as_echo "$glibcxx_cv_INT64_T" >&6; }
19115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
19116 $as_echo_n "checking for int64_t as long... " >&6; }
19117 if test "${glibcxx_cv_int64_t_long+set}" = set; then :
19118 $as_echo_n "(cached) " >&6
19119 else
19121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19122 /* end confdefs.h. */
19123 #include <stdint.h>
19124 template<typename, typename> struct same { enum { value = -1 }; };
19125 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
19126 int array[same<int64_t, long>::value];
19128 main ()
19132 return 0;
19134 _ACEOF
19135 if ac_fn_cxx_try_compile "$LINENO"; then :
19136 glibcxx_cv_int64_t_long=yes
19137 else
19138 glibcxx_cv_int64_t_long=no
19140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19145 if test $glibcxx_cv_int64_t_long = yes; then
19147 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
19149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
19150 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
19153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
19154 $as_echo_n "checking for int64_t as long long... " >&6; }
19155 if test "${glibcxx_cv_int64_t_long_long+set}" = set; then :
19156 $as_echo_n "(cached) " >&6
19157 else
19159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19160 /* end confdefs.h. */
19161 #include <stdint.h>
19162 template<typename, typename> struct same { enum { value = -1 }; };
19163 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
19164 int array[same<int64_t, long long>::value];
19166 main ()
19170 return 0;
19172 _ACEOF
19173 if ac_fn_cxx_try_compile "$LINENO"; then :
19174 glibcxx_cv_int64_t_long_long=yes
19175 else
19176 glibcxx_cv_int64_t_long_long=no
19178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19183 if test $glibcxx_cv_int64_t_long_long = yes; then
19185 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
19187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
19188 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
19192 ac_ext=c
19193 ac_cpp='$CPP $CPPFLAGS'
19194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19200 # For LFS support.
19203 ac_ext=cpp
19204 ac_cpp='$CXXCPP $CPPFLAGS'
19205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19209 ac_save_CXXFLAGS="$CXXFLAGS"
19210 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
19212 $as_echo_n "checking for LFS support... " >&6; }
19213 if test "${glibcxx_cv_LFS+set}" = set; then :
19214 $as_echo_n "(cached) " >&6
19215 else
19217 if test x$gcc_no_link = xyes; then
19218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19219 /* end confdefs.h. */
19220 #include <unistd.h>
19221 #include <stdio.h>
19222 #include <sys/stat.h>
19225 main ()
19227 FILE* fp;
19228 fopen64("t", "w");
19229 fseeko64(fp, 0, SEEK_CUR);
19230 ftello64(fp);
19231 lseek64(1, 0, SEEK_CUR);
19232 struct stat64 buf;
19233 fstat64(1, &buf);
19235 return 0;
19237 _ACEOF
19238 if ac_fn_cxx_try_compile "$LINENO"; then :
19239 glibcxx_cv_LFS=yes
19240 else
19241 glibcxx_cv_LFS=no
19243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19244 else
19245 if test x$gcc_no_link = xyes; then
19246 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19249 /* end confdefs.h. */
19250 #include <unistd.h>
19251 #include <stdio.h>
19252 #include <sys/stat.h>
19255 main ()
19257 FILE* fp;
19258 fopen64("t", "w");
19259 fseeko64(fp, 0, SEEK_CUR);
19260 ftello64(fp);
19261 lseek64(1, 0, SEEK_CUR);
19262 struct stat64 buf;
19263 fstat64(1, &buf);
19265 return 0;
19267 _ACEOF
19268 if ac_fn_cxx_try_link "$LINENO"; then :
19269 glibcxx_cv_LFS=yes
19270 else
19271 glibcxx_cv_LFS=no
19273 rm -f core conftest.err conftest.$ac_objext \
19274 conftest$ac_exeext conftest.$ac_ext
19279 if test $glibcxx_cv_LFS = yes; then
19281 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
19284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
19285 $as_echo "$glibcxx_cv_LFS" >&6; }
19286 CXXFLAGS="$ac_save_CXXFLAGS"
19287 ac_ext=c
19288 ac_cpp='$CPP $CPPFLAGS'
19289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19295 # For showmanyc_helper().
19296 for ac_header in sys/ioctl.h sys/filio.h
19297 do :
19298 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19299 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19300 eval as_val=\$$as_ac_Header
19301 if test "x$as_val" = x""yes; then :
19302 cat >>confdefs.h <<_ACEOF
19303 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19304 _ACEOF
19308 done
19313 ac_ext=cpp
19314 ac_cpp='$CXXCPP $CPPFLAGS'
19315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19319 ac_save_CXXFLAGS="$CXXFLAGS"
19320 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
19323 $as_echo_n "checking for poll... " >&6; }
19324 if test "${glibcxx_cv_POLL+set}" = set; then :
19325 $as_echo_n "(cached) " >&6
19326 else
19328 if test x$gcc_no_link = xyes; then
19329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19330 /* end confdefs.h. */
19331 #include <poll.h>
19333 main ()
19335 struct pollfd pfd[1];
19336 pfd[0].events = POLLIN;
19337 poll(pfd, 1, 0);
19339 return 0;
19341 _ACEOF
19342 if ac_fn_cxx_try_compile "$LINENO"; then :
19343 glibcxx_cv_POLL=yes
19344 else
19345 glibcxx_cv_POLL=no
19347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19348 else
19349 if test x$gcc_no_link = xyes; then
19350 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19353 /* end confdefs.h. */
19354 #include <poll.h>
19356 main ()
19358 struct pollfd pfd[1];
19359 pfd[0].events = POLLIN;
19360 poll(pfd, 1, 0);
19362 return 0;
19364 _ACEOF
19365 if ac_fn_cxx_try_link "$LINENO"; then :
19366 glibcxx_cv_POLL=yes
19367 else
19368 glibcxx_cv_POLL=no
19370 rm -f core conftest.err conftest.$ac_objext \
19371 conftest$ac_exeext conftest.$ac_ext
19376 if test $glibcxx_cv_POLL = yes; then
19378 $as_echo "#define HAVE_POLL 1" >>confdefs.h
19381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
19382 $as_echo "$glibcxx_cv_POLL" >&6; }
19384 CXXFLAGS="$ac_save_CXXFLAGS"
19385 ac_ext=c
19386 ac_cpp='$CPP $CPPFLAGS'
19387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19395 ac_ext=cpp
19396 ac_cpp='$CXXCPP $CPPFLAGS'
19397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19401 ac_save_CXXFLAGS="$CXXFLAGS"
19402 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
19405 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
19406 if test "${glibcxx_cv_S_ISREG+set}" = set; then :
19407 $as_echo_n "(cached) " >&6
19408 else
19410 if test x$gcc_no_link = xyes; then
19411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19412 /* end confdefs.h. */
19413 #include <sys/stat.h>
19415 main ()
19417 struct stat buffer;
19418 fstat(0, &buffer);
19419 S_ISREG(buffer.st_mode);
19421 return 0;
19423 _ACEOF
19424 if ac_fn_cxx_try_compile "$LINENO"; then :
19425 glibcxx_cv_S_ISREG=yes
19426 else
19427 glibcxx_cv_S_ISREG=no
19429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19430 else
19431 if test x$gcc_no_link = xyes; then
19432 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19435 /* end confdefs.h. */
19436 #include <sys/stat.h>
19438 main ()
19440 struct stat buffer;
19441 fstat(0, &buffer);
19442 S_ISREG(buffer.st_mode);
19444 return 0;
19446 _ACEOF
19447 if ac_fn_cxx_try_link "$LINENO"; then :
19448 glibcxx_cv_S_ISREG=yes
19449 else
19450 glibcxx_cv_S_ISREG=no
19452 rm -f core conftest.err conftest.$ac_objext \
19453 conftest$ac_exeext conftest.$ac_ext
19458 if test "${glibcxx_cv_S_IFREG+set}" = set; then :
19459 $as_echo_n "(cached) " >&6
19460 else
19462 if test x$gcc_no_link = xyes; then
19463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19464 /* end confdefs.h. */
19465 #include <sys/stat.h>
19467 main ()
19469 struct stat buffer;
19470 fstat(0, &buffer);
19471 S_IFREG & buffer.st_mode;
19473 return 0;
19475 _ACEOF
19476 if ac_fn_cxx_try_compile "$LINENO"; then :
19477 glibcxx_cv_S_IFREG=yes
19478 else
19479 glibcxx_cv_S_IFREG=no
19481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19482 else
19483 if test x$gcc_no_link = xyes; then
19484 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19487 /* end confdefs.h. */
19488 #include <sys/stat.h>
19490 main ()
19492 struct stat buffer;
19493 fstat(0, &buffer);
19494 S_IFREG & buffer.st_mode;
19496 return 0;
19498 _ACEOF
19499 if ac_fn_cxx_try_link "$LINENO"; then :
19500 glibcxx_cv_S_IFREG=yes
19501 else
19502 glibcxx_cv_S_IFREG=no
19504 rm -f core conftest.err conftest.$ac_objext \
19505 conftest$ac_exeext conftest.$ac_ext
19510 res=no
19511 if test $glibcxx_cv_S_ISREG = yes; then
19513 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
19515 res=S_ISREG
19516 elif test $glibcxx_cv_S_IFREG = yes; then
19518 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
19520 res=S_IFREG
19522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
19523 $as_echo "$res" >&6; }
19525 CXXFLAGS="$ac_save_CXXFLAGS"
19526 ac_ext=c
19527 ac_cpp='$CPP $CPPFLAGS'
19528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19534 # For xsputn_2().
19535 for ac_header in sys/uio.h
19536 do :
19537 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
19538 if test "x$ac_cv_header_sys_uio_h" = x""yes; then :
19539 cat >>confdefs.h <<_ACEOF
19540 #define HAVE_SYS_UIO_H 1
19541 _ACEOF
19545 done
19550 ac_ext=cpp
19551 ac_cpp='$CXXCPP $CPPFLAGS'
19552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19556 ac_save_CXXFLAGS="$CXXFLAGS"
19557 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
19560 $as_echo_n "checking for writev... " >&6; }
19561 if test "${glibcxx_cv_WRITEV+set}" = set; then :
19562 $as_echo_n "(cached) " >&6
19563 else
19565 if test x$gcc_no_link = xyes; then
19566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19567 /* end confdefs.h. */
19568 #include <sys/uio.h>
19570 main ()
19572 struct iovec iov[2];
19573 writev(0, iov, 0);
19575 return 0;
19577 _ACEOF
19578 if ac_fn_cxx_try_compile "$LINENO"; then :
19579 glibcxx_cv_WRITEV=yes
19580 else
19581 glibcxx_cv_WRITEV=no
19583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19584 else
19585 if test x$gcc_no_link = xyes; then
19586 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19589 /* end confdefs.h. */
19590 #include <sys/uio.h>
19592 main ()
19594 struct iovec iov[2];
19595 writev(0, iov, 0);
19597 return 0;
19599 _ACEOF
19600 if ac_fn_cxx_try_link "$LINENO"; then :
19601 glibcxx_cv_WRITEV=yes
19602 else
19603 glibcxx_cv_WRITEV=no
19605 rm -f core conftest.err conftest.$ac_objext \
19606 conftest$ac_exeext conftest.$ac_ext
19611 if test $glibcxx_cv_WRITEV = yes; then
19613 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
19616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
19617 $as_echo "$glibcxx_cv_WRITEV" >&6; }
19619 CXXFLAGS="$ac_save_CXXFLAGS"
19620 ac_ext=c
19621 ac_cpp='$CPP $CPPFLAGS'
19622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19628 # Check for fenv.h and complex.h before GLIBCXX_CHECK_C99_TR1
19629 # so that the check is done with the C compiler (not C++).
19630 # Checking with C++ can break a canadian cross build if either
19631 # file does not exist in C but does in C++.
19632 for ac_header in fenv.h complex.h
19633 do :
19634 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19635 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19636 eval as_val=\$$as_ac_Header
19637 if test "x$as_val" = x""yes; then :
19638 cat >>confdefs.h <<_ACEOF
19639 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19640 _ACEOF
19644 done
19647 # For C99 support to TR1.
19651 ac_ext=cpp
19652 ac_cpp='$CXXCPP $CPPFLAGS'
19653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19658 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
19659 # undefined and fake C99 facilities may be spuriously enabled.
19660 ac_save_CXXFLAGS="$CXXFLAGS"
19661 CXXFLAGS="$CXXFLAGS -std=c++98"
19663 # Check for the existence of <complex.h> complex math functions used
19664 # by tr1/complex.
19665 for ac_header in complex.h
19666 do :
19667 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
19668 if test "x$ac_cv_header_complex_h" = x""yes; then :
19669 cat >>confdefs.h <<_ACEOF
19670 #define HAVE_COMPLEX_H 1
19671 _ACEOF
19672 ac_has_complex_h=yes
19673 else
19674 ac_has_complex_h=no
19677 done
19679 ac_c99_complex_tr1=no;
19680 if test x"$ac_has_complex_h" = x"yes"; then
19681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
19682 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
19683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19684 /* end confdefs.h. */
19685 #include <complex.h>
19687 main ()
19689 typedef __complex__ float float_type; float_type tmpf;
19690 cacosf(tmpf);
19691 casinf(tmpf);
19692 catanf(tmpf);
19693 cacoshf(tmpf);
19694 casinhf(tmpf);
19695 catanhf(tmpf);
19696 typedef __complex__ double double_type; double_type tmpd;
19697 cacos(tmpd);
19698 casin(tmpd);
19699 catan(tmpd);
19700 cacosh(tmpd);
19701 casinh(tmpd);
19702 catanh(tmpd);
19703 typedef __complex__ long double ld_type; ld_type tmpld;
19704 cacosl(tmpld);
19705 casinl(tmpld);
19706 catanl(tmpld);
19707 cacoshl(tmpld);
19708 casinhl(tmpld);
19709 catanhl(tmpld);
19712 return 0;
19714 _ACEOF
19715 if ac_fn_cxx_try_compile "$LINENO"; then :
19716 ac_c99_complex_tr1=yes
19717 else
19718 ac_c99_complex_tr1=no
19720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
19723 $as_echo "$ac_c99_complex_tr1" >&6; }
19724 if test x"$ac_c99_complex_tr1" = x"yes"; then
19726 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
19730 # Check for the existence of <ctype.h> functions.
19731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
19732 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
19733 if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then :
19734 $as_echo_n "(cached) " >&6
19735 else
19737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19738 /* end confdefs.h. */
19739 #include <ctype.h>
19741 main ()
19743 int ch;
19744 int ret;
19745 ret = isblank(ch);
19748 return 0;
19750 _ACEOF
19751 if ac_fn_cxx_try_compile "$LINENO"; then :
19752 glibcxx_cv_c99_ctype_tr1=yes
19753 else
19754 glibcxx_cv_c99_ctype_tr1=no
19756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
19761 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
19762 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
19764 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
19768 # Check for the existence of <fenv.h> functions.
19769 for ac_header in fenv.h
19770 do :
19771 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
19772 if test "x$ac_cv_header_fenv_h" = x""yes; then :
19773 cat >>confdefs.h <<_ACEOF
19774 #define HAVE_FENV_H 1
19775 _ACEOF
19776 ac_has_fenv_h=yes
19777 else
19778 ac_has_fenv_h=no
19781 done
19783 ac_c99_fenv_tr1=no;
19784 if test x"$ac_has_fenv_h" = x"yes"; then
19785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
19786 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
19787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19788 /* end confdefs.h. */
19789 #include <fenv.h>
19791 main ()
19793 int except, mode;
19794 fexcept_t* pflag;
19795 fenv_t* penv;
19796 int ret;
19797 ret = feclearexcept(except);
19798 ret = fegetexceptflag(pflag, except);
19799 ret = feraiseexcept(except);
19800 ret = fesetexceptflag(pflag, except);
19801 ret = fetestexcept(except);
19802 ret = fegetround();
19803 ret = fesetround(mode);
19804 ret = fegetenv(penv);
19805 ret = feholdexcept(penv);
19806 ret = fesetenv(penv);
19807 ret = feupdateenv(penv);
19810 return 0;
19812 _ACEOF
19813 if ac_fn_cxx_try_compile "$LINENO"; then :
19814 ac_c99_fenv_tr1=yes
19815 else
19816 ac_c99_fenv_tr1=no
19818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
19821 $as_echo "$ac_c99_fenv_tr1" >&6; }
19822 if test x"$ac_c99_fenv_tr1" = x"yes"; then
19824 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
19828 # Check for the existence of <stdint.h> types.
19829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
19830 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
19831 if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then :
19832 $as_echo_n "(cached) " >&6
19833 else
19835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19836 /* end confdefs.h. */
19837 #define __STDC_LIMIT_MACROS
19838 #define __STDC_CONSTANT_MACROS
19839 #include <stdint.h>
19841 main ()
19843 typedef int8_t my_int8_t;
19844 my_int8_t i8 = INT8_MIN;
19845 i8 = INT8_MAX;
19846 typedef int16_t my_int16_t;
19847 my_int16_t i16 = INT16_MIN;
19848 i16 = INT16_MAX;
19849 typedef int32_t my_int32_t;
19850 my_int32_t i32 = INT32_MIN;
19851 i32 = INT32_MAX;
19852 typedef int64_t my_int64_t;
19853 my_int64_t i64 = INT64_MIN;
19854 i64 = INT64_MAX;
19855 typedef int_fast8_t my_int_fast8_t;
19856 my_int_fast8_t if8 = INT_FAST8_MIN;
19857 if8 = INT_FAST8_MAX;
19858 typedef int_fast16_t my_int_fast16_t;
19859 my_int_fast16_t if16 = INT_FAST16_MIN;
19860 if16 = INT_FAST16_MAX;
19861 typedef int_fast32_t my_int_fast32_t;
19862 my_int_fast32_t if32 = INT_FAST32_MIN;
19863 if32 = INT_FAST32_MAX;
19864 typedef int_fast64_t my_int_fast64_t;
19865 my_int_fast64_t if64 = INT_FAST64_MIN;
19866 if64 = INT_FAST64_MAX;
19867 typedef int_least8_t my_int_least8_t;
19868 my_int_least8_t il8 = INT_LEAST8_MIN;
19869 il8 = INT_LEAST8_MAX;
19870 typedef int_least16_t my_int_least16_t;
19871 my_int_least16_t il16 = INT_LEAST16_MIN;
19872 il16 = INT_LEAST16_MAX;
19873 typedef int_least32_t my_int_least32_t;
19874 my_int_least32_t il32 = INT_LEAST32_MIN;
19875 il32 = INT_LEAST32_MAX;
19876 typedef int_least64_t my_int_least64_t;
19877 my_int_least64_t il64 = INT_LEAST64_MIN;
19878 il64 = INT_LEAST64_MAX;
19879 typedef intmax_t my_intmax_t;
19880 my_intmax_t im = INTMAX_MAX;
19881 im = INTMAX_MIN;
19882 typedef intptr_t my_intptr_t;
19883 my_intptr_t ip = INTPTR_MAX;
19884 ip = INTPTR_MIN;
19885 typedef uint8_t my_uint8_t;
19886 my_uint8_t ui8 = UINT8_MAX;
19887 ui8 = UINT8_MAX;
19888 typedef uint16_t my_uint16_t;
19889 my_uint16_t ui16 = UINT16_MAX;
19890 ui16 = UINT16_MAX;
19891 typedef uint32_t my_uint32_t;
19892 my_uint32_t ui32 = UINT32_MAX;
19893 ui32 = UINT32_MAX;
19894 typedef uint64_t my_uint64_t;
19895 my_uint64_t ui64 = UINT64_MAX;
19896 ui64 = UINT64_MAX;
19897 typedef uint_fast8_t my_uint_fast8_t;
19898 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
19899 uif8 = UINT_FAST8_MAX;
19900 typedef uint_fast16_t my_uint_fast16_t;
19901 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
19902 uif16 = UINT_FAST16_MAX;
19903 typedef uint_fast32_t my_uint_fast32_t;
19904 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
19905 uif32 = UINT_FAST32_MAX;
19906 typedef uint_fast64_t my_uint_fast64_t;
19907 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
19908 uif64 = UINT_FAST64_MAX;
19909 typedef uint_least8_t my_uint_least8_t;
19910 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
19911 uil8 = UINT_LEAST8_MAX;
19912 typedef uint_least16_t my_uint_least16_t;
19913 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
19914 uil16 = UINT_LEAST16_MAX;
19915 typedef uint_least32_t my_uint_least32_t;
19916 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
19917 uil32 = UINT_LEAST32_MAX;
19918 typedef uint_least64_t my_uint_least64_t;
19919 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
19920 uil64 = UINT_LEAST64_MAX;
19921 typedef uintmax_t my_uintmax_t;
19922 my_uintmax_t uim = UINTMAX_MAX;
19923 uim = UINTMAX_MAX;
19924 typedef uintptr_t my_uintptr_t;
19925 my_uintptr_t uip = UINTPTR_MAX;
19926 uip = UINTPTR_MAX;
19929 return 0;
19931 _ACEOF
19932 if ac_fn_cxx_try_compile "$LINENO"; then :
19933 glibcxx_cv_c99_stdint_tr1=yes
19934 else
19935 glibcxx_cv_c99_stdint_tr1=no
19937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
19942 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
19943 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19945 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
19949 # Check for the existence of <math.h> functions.
19950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
19951 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
19952 if test "${glibcxx_cv_c99_math_tr1+set}" = set; then :
19953 $as_echo_n "(cached) " >&6
19954 else
19956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19957 /* end confdefs.h. */
19958 #include <math.h>
19960 main ()
19962 typedef double_t my_double_t;
19963 typedef float_t my_float_t;
19964 acosh(0.0);
19965 acoshf(0.0f);
19966 acoshl(0.0l);
19967 asinh(0.0);
19968 asinhf(0.0f);
19969 asinhl(0.0l);
19970 atanh(0.0);
19971 atanhf(0.0f);
19972 atanhl(0.0l);
19973 cbrt(0.0);
19974 cbrtf(0.0f);
19975 cbrtl(0.0l);
19976 copysign(0.0, 0.0);
19977 copysignf(0.0f, 0.0f);
19978 copysignl(0.0l, 0.0l);
19979 erf(0.0);
19980 erff(0.0f);
19981 erfl(0.0l);
19982 erfc(0.0);
19983 erfcf(0.0f);
19984 erfcl(0.0l);
19985 exp2(0.0);
19986 exp2f(0.0f);
19987 exp2l(0.0l);
19988 expm1(0.0);
19989 expm1f(0.0f);
19990 expm1l(0.0l);
19991 fdim(0.0, 0.0);
19992 fdimf(0.0f, 0.0f);
19993 fdiml(0.0l, 0.0l);
19994 fma(0.0, 0.0, 0.0);
19995 fmaf(0.0f, 0.0f, 0.0f);
19996 fmal(0.0l, 0.0l, 0.0l);
19997 fmax(0.0, 0.0);
19998 fmaxf(0.0f, 0.0f);
19999 fmaxl(0.0l, 0.0l);
20000 fmin(0.0, 0.0);
20001 fminf(0.0f, 0.0f);
20002 fminl(0.0l, 0.0l);
20003 hypot(0.0, 0.0);
20004 hypotf(0.0f, 0.0f);
20005 hypotl(0.0l, 0.0l);
20006 ilogb(0.0);
20007 ilogbf(0.0f);
20008 ilogbl(0.0l);
20009 lgamma(0.0);
20010 lgammaf(0.0f);
20011 lgammal(0.0l);
20012 llrint(0.0);
20013 llrintf(0.0f);
20014 llrintl(0.0l);
20015 llround(0.0);
20016 llroundf(0.0f);
20017 llroundl(0.0l);
20018 log1p(0.0);
20019 log1pf(0.0f);
20020 log1pl(0.0l);
20021 log2(0.0);
20022 log2f(0.0f);
20023 log2l(0.0l);
20024 logb(0.0);
20025 logbf(0.0f);
20026 logbl(0.0l);
20027 lrint(0.0);
20028 lrintf(0.0f);
20029 lrintl(0.0l);
20030 lround(0.0);
20031 lroundf(0.0f);
20032 lroundl(0.0l);
20033 nan(0);
20034 nanf(0);
20035 nanl(0);
20036 nearbyint(0.0);
20037 nearbyintf(0.0f);
20038 nearbyintl(0.0l);
20039 nextafter(0.0, 0.0);
20040 nextafterf(0.0f, 0.0f);
20041 nextafterl(0.0l, 0.0l);
20042 nexttoward(0.0, 0.0);
20043 nexttowardf(0.0f, 0.0f);
20044 nexttowardl(0.0l, 0.0l);
20045 remainder(0.0, 0.0);
20046 remainderf(0.0f, 0.0f);
20047 remainderl(0.0l, 0.0l);
20048 remquo(0.0, 0.0, 0);
20049 remquof(0.0f, 0.0f, 0);
20050 remquol(0.0l, 0.0l, 0);
20051 rint(0.0);
20052 rintf(0.0f);
20053 rintl(0.0l);
20054 round(0.0);
20055 roundf(0.0f);
20056 roundl(0.0l);
20057 scalbln(0.0, 0l);
20058 scalblnf(0.0f, 0l);
20059 scalblnl(0.0l, 0l);
20060 scalbn(0.0, 0);
20061 scalbnf(0.0f, 0);
20062 scalbnl(0.0l, 0);
20063 tgamma(0.0);
20064 tgammaf(0.0f);
20065 tgammal(0.0l);
20066 trunc(0.0);
20067 truncf(0.0f);
20068 truncl(0.0l);
20071 return 0;
20073 _ACEOF
20074 if ac_fn_cxx_try_compile "$LINENO"; then :
20075 glibcxx_cv_c99_math_tr1=yes
20076 else
20077 glibcxx_cv_c99_math_tr1=no
20079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
20084 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
20085 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
20087 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
20091 # Check for the existence of <inttypes.h> functions (NB: doesn't make
20092 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
20093 ac_c99_inttypes_tr1=no;
20094 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
20096 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
20097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20098 /* end confdefs.h. */
20099 #include <inttypes.h>
20101 main ()
20103 intmax_t i, numer, denom, base;
20104 const char* s;
20105 char** endptr;
20106 intmax_t ret = imaxabs(i);
20107 imaxdiv_t dret = imaxdiv(numer, denom);
20108 ret = strtoimax(s, endptr, base);
20109 uintmax_t uret = strtoumax(s, endptr, base);
20112 return 0;
20114 _ACEOF
20115 if ac_fn_cxx_try_compile "$LINENO"; then :
20116 ac_c99_inttypes_tr1=yes
20117 else
20118 ac_c99_inttypes_tr1=no
20120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
20123 $as_echo "$ac_c99_inttypes_tr1" >&6; }
20124 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
20126 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
20130 # Check for the existence of wchar_t <inttypes.h> functions (NB: doesn't
20131 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
20132 ac_c99_inttypes_wchar_t_tr1=no;
20133 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
20135 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
20136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20137 /* end confdefs.h. */
20138 #include <inttypes.h>
20140 main ()
20142 intmax_t base;
20143 const wchar_t* s;
20144 wchar_t** endptr;
20145 intmax_t ret = wcstoimax(s, endptr, base);
20146 uintmax_t uret = wcstoumax(s, endptr, base);
20149 return 0;
20151 _ACEOF
20152 if ac_fn_cxx_try_compile "$LINENO"; then :
20153 ac_c99_inttypes_wchar_t_tr1=yes
20154 else
20155 ac_c99_inttypes_wchar_t_tr1=no
20157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
20160 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
20161 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
20163 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
20167 # Check for the existence of the <stdbool.h> header.
20168 for ac_header in stdbool.h
20169 do :
20170 ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
20171 if test "x$ac_cv_header_stdbool_h" = x""yes; then :
20172 cat >>confdefs.h <<_ACEOF
20173 #define HAVE_STDBOOL_H 1
20174 _ACEOF
20178 done
20181 # Check for the existence of the <stdalign.h> header.
20182 for ac_header in stdalign.h
20183 do :
20184 ac_fn_cxx_check_header_mongrel "$LINENO" "stdalign.h" "ac_cv_header_stdalign_h" "$ac_includes_default"
20185 if test "x$ac_cv_header_stdalign_h" = x""yes; then :
20186 cat >>confdefs.h <<_ACEOF
20187 #define HAVE_STDALIGN_H 1
20188 _ACEOF
20192 done
20195 CXXFLAGS="$ac_save_CXXFLAGS"
20196 ac_ext=c
20197 ac_cpp='$CPP $CPPFLAGS'
20198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20204 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
20207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
20208 $as_echo_n "checking for the value of EOF... " >&6; }
20209 if test "${glibcxx_cv_stdio_eof+set}" = set; then :
20210 $as_echo_n "(cached) " >&6
20211 else
20213 if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof" "#include <stdio.h>"; then :
20215 else
20216 as_fn_error "computing EOF failed" "$LINENO" 5
20221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
20222 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
20224 cat >>confdefs.h <<_ACEOF
20225 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
20226 _ACEOF
20229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
20230 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
20231 if test "${glibcxx_cv_stdio_seek_cur+set}" = set; then :
20232 $as_echo_n "(cached) " >&6
20233 else
20235 if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur" "#include <stdio.h>"; then :
20237 else
20238 as_fn_error "computing SEEK_CUR failed" "$LINENO" 5
20243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
20244 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
20246 cat >>confdefs.h <<_ACEOF
20247 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
20248 _ACEOF
20251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
20252 $as_echo_n "checking for the value of SEEK_END... " >&6; }
20253 if test "${glibcxx_cv_stdio_seek_end+set}" = set; then :
20254 $as_echo_n "(cached) " >&6
20255 else
20257 if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end" "#include <stdio.h>"; then :
20259 else
20260 as_fn_error "computing SEEK_END failed" "$LINENO" 5
20265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
20266 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
20268 cat >>confdefs.h <<_ACEOF
20269 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
20270 _ACEOF
20274 # For gettimeofday support.
20277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
20278 $as_echo_n "checking for gettimeofday... " >&6; }
20281 ac_ext=cpp
20282 ac_cpp='$CXXCPP $CPPFLAGS'
20283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20287 ac_save_CXXFLAGS="$CXXFLAGS"
20288 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20290 ac_has_gettimeofday=no;
20291 for ac_header in sys/time.h
20292 do :
20293 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
20294 if test "x$ac_cv_header_sys_time_h" = x""yes; then :
20295 cat >>confdefs.h <<_ACEOF
20296 #define HAVE_SYS_TIME_H 1
20297 _ACEOF
20298 ac_has_sys_time_h=yes
20299 else
20300 ac_has_sys_time_h=no
20303 done
20305 if test x"$ac_has_sys_time_h" = x"yes"; then
20306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
20307 $as_echo_n "checking for gettimeofday... " >&6; }
20308 if test x$gcc_no_link = xyes; then
20309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20310 /* end confdefs.h. */
20311 #include <sys/time.h>
20313 main ()
20315 timeval tv; gettimeofday(&tv, 0);
20317 return 0;
20319 _ACEOF
20320 if ac_fn_cxx_try_compile "$LINENO"; then :
20321 ac_has_gettimeofday=yes
20322 else
20323 ac_has_gettimeofday=no
20325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20326 else
20327 if test x$gcc_no_link = xyes; then
20328 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20331 /* end confdefs.h. */
20332 #include <sys/time.h>
20334 main ()
20336 timeval tv; gettimeofday(&tv, 0);
20338 return 0;
20340 _ACEOF
20341 if ac_fn_cxx_try_link "$LINENO"; then :
20342 ac_has_gettimeofday=yes
20343 else
20344 ac_has_gettimeofday=no
20346 rm -f core conftest.err conftest.$ac_objext \
20347 conftest$ac_exeext conftest.$ac_ext
20350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
20351 $as_echo "$ac_has_gettimeofday" >&6; }
20354 if test x"$ac_has_gettimeofday" = x"yes"; then
20356 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
20360 CXXFLAGS="$ac_save_CXXFLAGS"
20361 ac_ext=c
20362 ac_cpp='$CPP $CPPFLAGS'
20363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20369 # For clock_gettime, nanosleep and sched_yield support.
20372 # Check whether --enable-libstdcxx-time was given.
20373 if test "${enable_libstdcxx_time+set}" = set; then :
20374 enableval=$enable_libstdcxx_time;
20375 case "$enableval" in
20376 yes|no|rt) ;;
20377 *) as_fn_error "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
20378 esac
20380 else
20381 enable_libstdcxx_time=auto
20387 ac_ext=cpp
20388 ac_cpp='$CXXCPP $CPPFLAGS'
20389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20393 ac_save_CXXFLAGS="$CXXFLAGS"
20394 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20395 ac_save_LIBS="$LIBS"
20397 ac_has_clock_monotonic=no
20398 ac_has_clock_realtime=no
20399 ac_has_nanosleep=no
20400 ac_has_sched_yield=no
20402 if test x"$enable_libstdcxx_time" = x"auto"; then
20404 case "${target_os}" in
20405 cygwin*)
20406 ac_has_nanosleep=yes
20408 darwin*)
20409 ac_has_nanosleep=yes
20410 ac_has_sched_yield=yes
20412 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
20413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at least GNU libc 2.17" >&5
20414 $as_echo_n "checking for at least GNU libc 2.17... " >&6; }
20415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20416 /* end confdefs.h. */
20417 #include <features.h>
20419 main ()
20422 #if ! __GLIBC_PREREQ(2, 17)
20423 #error
20424 #endif
20427 return 0;
20429 _ACEOF
20430 if ac_fn_cxx_try_compile "$LINENO"; then :
20431 glibcxx_glibc217=yes
20432 else
20433 glibcxx_glibc217=no
20435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_glibc217" >&5
20437 $as_echo "$glibcxx_glibc217" >&6; }
20439 if test x"$glibcxx_glibc217" = x"yes"; then
20440 ac_has_clock_monotonic=yes
20441 ac_has_clock_realtime=yes
20443 ac_has_nanosleep=yes
20444 ac_has_sched_yield=yes
20446 freebsd*|netbsd*|dragonfly*)
20447 ac_has_clock_monotonic=yes
20448 ac_has_clock_realtime=yes
20449 ac_has_nanosleep=yes
20450 ac_has_sched_yield=yes
20452 openbsd*)
20453 ac_has_clock_monotonic=yes
20454 ac_has_clock_realtime=yes
20455 ac_has_nanosleep=yes
20457 solaris*)
20458 GLIBCXX_LIBS="$GLIBCXX_LIBS -lrt"
20459 ac_has_clock_monotonic=yes
20460 ac_has_clock_realtime=yes
20461 ac_has_nanosleep=yes
20462 ac_has_sched_yield=yes
20464 esac
20466 elif test x"$enable_libstdcxx_time" != x"no"; then
20468 if test x"$enable_libstdcxx_time" = x"rt"; then
20469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20470 $as_echo_n "checking for library containing clock_gettime... " >&6; }
20471 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20472 $as_echo_n "(cached) " >&6
20473 else
20474 ac_func_search_save_LIBS=$LIBS
20475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20476 /* end confdefs.h. */
20478 /* Override any GCC internal prototype to avoid an error.
20479 Use char because int might match the return type of a GCC
20480 builtin and then its argument prototype would still apply. */
20481 #ifdef __cplusplus
20482 extern "C"
20483 #endif
20484 char clock_gettime ();
20486 main ()
20488 return clock_gettime ();
20490 return 0;
20492 _ACEOF
20493 for ac_lib in '' rt posix4; do
20494 if test -z "$ac_lib"; then
20495 ac_res="none required"
20496 else
20497 ac_res=-l$ac_lib
20498 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20500 if test x$gcc_no_link = xyes; then
20501 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20503 if ac_fn_cxx_try_link "$LINENO"; then :
20504 ac_cv_search_clock_gettime=$ac_res
20506 rm -f core conftest.err conftest.$ac_objext \
20507 conftest$ac_exeext
20508 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20509 break
20511 done
20512 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20514 else
20515 ac_cv_search_clock_gettime=no
20517 rm conftest.$ac_ext
20518 LIBS=$ac_func_search_save_LIBS
20520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20521 $as_echo "$ac_cv_search_clock_gettime" >&6; }
20522 ac_res=$ac_cv_search_clock_gettime
20523 if test "$ac_res" != no; then :
20524 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
20529 $as_echo_n "checking for library containing nanosleep... " >&6; }
20530 if test "${ac_cv_search_nanosleep+set}" = set; then :
20531 $as_echo_n "(cached) " >&6
20532 else
20533 ac_func_search_save_LIBS=$LIBS
20534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20535 /* end confdefs.h. */
20537 /* Override any GCC internal prototype to avoid an error.
20538 Use char because int might match the return type of a GCC
20539 builtin and then its argument prototype would still apply. */
20540 #ifdef __cplusplus
20541 extern "C"
20542 #endif
20543 char nanosleep ();
20545 main ()
20547 return nanosleep ();
20549 return 0;
20551 _ACEOF
20552 for ac_lib in '' rt posix4; do
20553 if test -z "$ac_lib"; then
20554 ac_res="none required"
20555 else
20556 ac_res=-l$ac_lib
20557 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20559 if test x$gcc_no_link = xyes; then
20560 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20562 if ac_fn_cxx_try_link "$LINENO"; then :
20563 ac_cv_search_nanosleep=$ac_res
20565 rm -f core conftest.err conftest.$ac_objext \
20566 conftest$ac_exeext
20567 if test "${ac_cv_search_nanosleep+set}" = set; then :
20568 break
20570 done
20571 if test "${ac_cv_search_nanosleep+set}" = set; then :
20573 else
20574 ac_cv_search_nanosleep=no
20576 rm conftest.$ac_ext
20577 LIBS=$ac_func_search_save_LIBS
20579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
20580 $as_echo "$ac_cv_search_nanosleep" >&6; }
20581 ac_res=$ac_cv_search_nanosleep
20582 if test "$ac_res" != no; then :
20583 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20587 else
20588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20589 $as_echo_n "checking for library containing clock_gettime... " >&6; }
20590 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20591 $as_echo_n "(cached) " >&6
20592 else
20593 ac_func_search_save_LIBS=$LIBS
20594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20595 /* end confdefs.h. */
20597 /* Override any GCC internal prototype to avoid an error.
20598 Use char because int might match the return type of a GCC
20599 builtin and then its argument prototype would still apply. */
20600 #ifdef __cplusplus
20601 extern "C"
20602 #endif
20603 char clock_gettime ();
20605 main ()
20607 return clock_gettime ();
20609 return 0;
20611 _ACEOF
20612 for ac_lib in '' posix4; do
20613 if test -z "$ac_lib"; then
20614 ac_res="none required"
20615 else
20616 ac_res=-l$ac_lib
20617 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20619 if test x$gcc_no_link = xyes; then
20620 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20622 if ac_fn_cxx_try_link "$LINENO"; then :
20623 ac_cv_search_clock_gettime=$ac_res
20625 rm -f core conftest.err conftest.$ac_objext \
20626 conftest$ac_exeext
20627 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20628 break
20630 done
20631 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20633 else
20634 ac_cv_search_clock_gettime=no
20636 rm conftest.$ac_ext
20637 LIBS=$ac_func_search_save_LIBS
20639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20640 $as_echo "$ac_cv_search_clock_gettime" >&6; }
20641 ac_res=$ac_cv_search_clock_gettime
20642 if test "$ac_res" != no; then :
20643 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
20648 $as_echo_n "checking for library containing nanosleep... " >&6; }
20649 if test "${ac_cv_search_nanosleep+set}" = set; then :
20650 $as_echo_n "(cached) " >&6
20651 else
20652 ac_func_search_save_LIBS=$LIBS
20653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20654 /* end confdefs.h. */
20656 /* Override any GCC internal prototype to avoid an error.
20657 Use char because int might match the return type of a GCC
20658 builtin and then its argument prototype would still apply. */
20659 #ifdef __cplusplus
20660 extern "C"
20661 #endif
20662 char nanosleep ();
20664 main ()
20666 return nanosleep ();
20668 return 0;
20670 _ACEOF
20671 for ac_lib in '' posix4; do
20672 if test -z "$ac_lib"; then
20673 ac_res="none required"
20674 else
20675 ac_res=-l$ac_lib
20676 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20678 if test x$gcc_no_link = xyes; then
20679 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20681 if ac_fn_cxx_try_link "$LINENO"; then :
20682 ac_cv_search_nanosleep=$ac_res
20684 rm -f core conftest.err conftest.$ac_objext \
20685 conftest$ac_exeext
20686 if test "${ac_cv_search_nanosleep+set}" = set; then :
20687 break
20689 done
20690 if test "${ac_cv_search_nanosleep+set}" = set; then :
20692 else
20693 ac_cv_search_nanosleep=no
20695 rm conftest.$ac_ext
20696 LIBS=$ac_func_search_save_LIBS
20698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
20699 $as_echo "$ac_cv_search_nanosleep" >&6; }
20700 ac_res=$ac_cv_search_nanosleep
20701 if test "$ac_res" != no; then :
20702 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20708 case "$ac_cv_search_clock_gettime" in
20709 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
20711 esac
20712 case "$ac_cv_search_nanosleep" in
20713 -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
20715 esac
20717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
20718 $as_echo_n "checking for library containing sched_yield... " >&6; }
20719 if test "${ac_cv_search_sched_yield+set}" = set; then :
20720 $as_echo_n "(cached) " >&6
20721 else
20722 ac_func_search_save_LIBS=$LIBS
20723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20724 /* end confdefs.h. */
20726 /* Override any GCC internal prototype to avoid an error.
20727 Use char because int might match the return type of a GCC
20728 builtin and then its argument prototype would still apply. */
20729 #ifdef __cplusplus
20730 extern "C"
20731 #endif
20732 char sched_yield ();
20734 main ()
20736 return sched_yield ();
20738 return 0;
20740 _ACEOF
20741 for ac_lib in '' rt posix4; do
20742 if test -z "$ac_lib"; then
20743 ac_res="none required"
20744 else
20745 ac_res=-l$ac_lib
20746 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20748 if test x$gcc_no_link = xyes; then
20749 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20751 if ac_fn_cxx_try_link "$LINENO"; then :
20752 ac_cv_search_sched_yield=$ac_res
20754 rm -f core conftest.err conftest.$ac_objext \
20755 conftest$ac_exeext
20756 if test "${ac_cv_search_sched_yield+set}" = set; then :
20757 break
20759 done
20760 if test "${ac_cv_search_sched_yield+set}" = set; then :
20762 else
20763 ac_cv_search_sched_yield=no
20765 rm conftest.$ac_ext
20766 LIBS=$ac_func_search_save_LIBS
20768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
20769 $as_echo "$ac_cv_search_sched_yield" >&6; }
20770 ac_res=$ac_cv_search_sched_yield
20771 if test "$ac_res" != no; then :
20772 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20777 case "$ac_cv_search_sched_yield" in
20778 -lposix4*)
20779 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
20780 ac_has_sched_yield=yes
20782 -lrt*)
20783 if test x"$enable_libstdcxx_time" = x"rt"; then
20784 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
20785 ac_has_sched_yield=yes
20789 ac_has_sched_yield=yes
20791 esac
20793 for ac_header in unistd.h
20794 do :
20795 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
20796 if test "x$ac_cv_header_unistd_h" = x""yes; then :
20797 cat >>confdefs.h <<_ACEOF
20798 #define HAVE_UNISTD_H 1
20799 _ACEOF
20800 ac_has_unistd_h=yes
20801 else
20802 ac_has_unistd_h=no
20805 done
20808 if test x"$ac_has_unistd_h" = x"yes"; then
20809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
20810 $as_echo_n "checking for monotonic clock... " >&6; }
20811 if test x$gcc_no_link = xyes; then
20812 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20815 /* end confdefs.h. */
20816 #include <unistd.h>
20817 #include <time.h>
20820 main ()
20822 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
20823 timespec tp;
20824 #endif
20825 clock_gettime(CLOCK_MONOTONIC, &tp);
20828 return 0;
20830 _ACEOF
20831 if ac_fn_cxx_try_link "$LINENO"; then :
20832 ac_has_clock_monotonic=yes
20833 else
20834 ac_has_clock_monotonic=no
20836 rm -f core conftest.err conftest.$ac_objext \
20837 conftest$ac_exeext conftest.$ac_ext
20839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
20840 $as_echo "$ac_has_clock_monotonic" >&6; }
20842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
20843 $as_echo_n "checking for realtime clock... " >&6; }
20844 if test x$gcc_no_link = xyes; then
20845 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20848 /* end confdefs.h. */
20849 #include <unistd.h>
20850 #include <time.h>
20853 main ()
20855 #if _POSIX_TIMERS > 0
20856 timespec tp;
20857 #endif
20858 clock_gettime(CLOCK_REALTIME, &tp);
20861 return 0;
20863 _ACEOF
20864 if ac_fn_cxx_try_link "$LINENO"; then :
20865 ac_has_clock_realtime=yes
20866 else
20867 ac_has_clock_realtime=no
20869 rm -f core conftest.err conftest.$ac_objext \
20870 conftest$ac_exeext conftest.$ac_ext
20872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
20873 $as_echo "$ac_has_clock_realtime" >&6; }
20875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
20876 $as_echo_n "checking for nanosleep... " >&6; }
20877 if test x$gcc_no_link = xyes; then
20878 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20881 /* end confdefs.h. */
20882 #include <unistd.h>
20883 #include <time.h>
20886 main ()
20888 #if _POSIX_TIMERS > 0
20889 timespec tp;
20890 #endif
20891 nanosleep(&tp, 0);
20894 return 0;
20896 _ACEOF
20897 if ac_fn_cxx_try_link "$LINENO"; then :
20898 ac_has_nanosleep=yes
20899 else
20900 ac_has_nanosleep=no
20902 rm -f core conftest.err conftest.$ac_objext \
20903 conftest$ac_exeext conftest.$ac_ext
20905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
20906 $as_echo "$ac_has_nanosleep" >&6; }
20910 if test x"$ac_has_clock_monotonic" != x"yes"; then
20911 case ${target_os} in
20912 linux*)
20913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime syscall" >&5
20914 $as_echo_n "checking for clock_gettime syscall... " >&6; }
20915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20916 /* end confdefs.h. */
20917 #include <unistd.h>
20918 #include <time.h>
20919 #include <sys/syscall.h>
20922 main ()
20924 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
20925 timespec tp;
20926 #endif
20927 syscall(SYS_clock_gettime, CLOCK_MONOTONIC, &tp);
20928 syscall(SYS_clock_gettime, CLOCK_REALTIME, &tp);
20931 return 0;
20933 _ACEOF
20934 if ac_fn_cxx_try_compile "$LINENO"; then :
20935 ac_has_clock_monotonic_syscall=yes
20936 else
20937 ac_has_clock_monotonic_syscall=no
20939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic_syscall" >&5
20941 $as_echo "$ac_has_clock_monotonic_syscall" >&6; }
20942 if test x"$ac_has_clock_monotonic_syscall" = x"yes"; then
20944 $as_echo "#define _GLIBCXX_USE_CLOCK_GETTIME_SYSCALL 1" >>confdefs.h
20946 ac_has_clock_monotonic=yes
20947 ac_has_clock_realtime=yes
20948 fi;;
20949 esac
20952 if test x"$ac_has_clock_monotonic" = x"yes"; then
20954 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
20958 if test x"$ac_has_clock_realtime" = x"yes"; then
20960 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
20964 if test x"$ac_has_sched_yield" = x"yes"; then
20966 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
20970 if test x"$ac_has_nanosleep" = x"yes"; then
20972 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
20974 else
20975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sleep" >&5
20976 $as_echo_n "checking for sleep... " >&6; }
20977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20978 /* end confdefs.h. */
20979 #include <unistd.h>
20981 main ()
20983 sleep(1)
20985 return 0;
20987 _ACEOF
20988 if ac_fn_cxx_try_compile "$LINENO"; then :
20989 ac_has_sleep=yes
20990 else
20991 ac_has_sleep=no
20993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20994 if test x"$ac_has_sleep" = x"yes"; then
20996 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
20999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_sleep" >&5
21000 $as_echo "$ac_has_sleep" >&6; }
21001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usleep" >&5
21002 $as_echo_n "checking for usleep... " >&6; }
21003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21004 /* end confdefs.h. */
21005 #include <unistd.h>
21007 main ()
21009 sleep(1);
21010 usleep(100);
21012 return 0;
21014 _ACEOF
21015 if ac_fn_cxx_try_compile "$LINENO"; then :
21016 ac_has_usleep=yes
21017 else
21018 ac_has_usleep=no
21020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21021 if test x"$ac_has_usleep" = x"yes"; then
21023 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
21026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_usleep" >&5
21027 $as_echo "$ac_has_usleep" >&6; }
21030 if test x"$ac_has_nanosleep$ac_has_sleep" = x"nono"; then
21031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Sleep" >&5
21032 $as_echo_n "checking for Sleep... " >&6; }
21033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21034 /* end confdefs.h. */
21035 #include <windows.h>
21037 main ()
21039 Sleep(1)
21041 return 0;
21043 _ACEOF
21044 if ac_fn_cxx_try_compile "$LINENO"; then :
21045 ac_has_win32_sleep=yes
21046 else
21047 ac_has_win32_sleep=no
21049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21050 if test x"$ac_has_win32_sleep" = x"yes"; then
21052 $as_echo "#define HAVE_WIN32_SLEEP 1" >>confdefs.h
21055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_win32_sleep" >&5
21056 $as_echo "$ac_has_win32_sleep" >&6; }
21061 CXXFLAGS="$ac_save_CXXFLAGS"
21062 LIBS="$ac_save_LIBS"
21063 ac_ext=c
21064 ac_cpp='$CPP $CPPFLAGS'
21065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21071 # Check for tmpnam which is obsolescent in POSIX.1-2008
21073 ac_ext=cpp
21074 ac_cpp='$CXXCPP $CPPFLAGS'
21075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21079 ac_save_CXXFLAGS="$CXXFLAGS"
21080 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tmpnam" >&5
21082 $as_echo_n "checking for tmpnam... " >&6; }
21083 if test "${glibcxx_cv_TMPNAM+set}" = set; then :
21084 $as_echo_n "(cached) " >&6
21085 else
21086 if test x$gcc_no_link = xyes; then
21087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21088 /* end confdefs.h. */
21089 #include <stdio.h>
21091 main ()
21093 char *tmp = tmpnam(NULL);
21095 return 0;
21097 _ACEOF
21098 if ac_fn_cxx_try_compile "$LINENO"; then :
21099 glibcxx_cv_TMPNAM=yes
21100 else
21101 glibcxx_cv_TMPNAM=no
21103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21104 else
21105 if test x$gcc_no_link = xyes; then
21106 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21109 /* end confdefs.h. */
21110 #include <stdio.h>
21112 main ()
21114 char *tmp = tmpnam(NULL);
21116 return 0;
21118 _ACEOF
21119 if ac_fn_cxx_try_link "$LINENO"; then :
21120 glibcxx_cv_TMPNAM=yes
21121 else
21122 glibcxx_cv_TMPNAM=no
21124 rm -f core conftest.err conftest.$ac_objext \
21125 conftest$ac_exeext conftest.$ac_ext
21130 if test $glibcxx_cv_TMPNAM = yes; then
21132 $as_echo "#define _GLIBCXX_USE_TMPNAM 1" >>confdefs.h
21135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_TMPNAM" >&5
21136 $as_echo "$glibcxx_cv_TMPNAM" >&6; }
21137 CXXFLAGS="$ac_save_CXXFLAGS"
21138 ac_ext=c
21139 ac_cpp='$CPP $CPPFLAGS'
21140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21147 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
21148 if test "x$ac_cv_header_locale_h" = x""yes; then :
21150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
21151 $as_echo_n "checking for LC_MESSAGES... " >&6; }
21152 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then :
21153 $as_echo_n "(cached) " >&6
21154 else
21155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21156 /* end confdefs.h. */
21157 #include <locale.h>
21159 main ()
21161 return LC_MESSAGES
21163 return 0;
21165 _ACEOF
21166 if ac_fn_c_try_compile "$LINENO"; then :
21167 ac_cv_val_LC_MESSAGES=yes
21168 else
21169 ac_cv_val_LC_MESSAGES=no
21171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
21174 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
21175 if test $ac_cv_val_LC_MESSAGES = yes; then
21177 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
21186 # For hardware_concurrency
21187 for ac_header in sys/sysinfo.h
21188 do :
21189 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
21190 if test "x$ac_cv_header_sys_sysinfo_h" = x""yes; then :
21191 cat >>confdefs.h <<_ACEOF
21192 #define HAVE_SYS_SYSINFO_H 1
21193 _ACEOF
21197 done
21202 ac_ext=cpp
21203 ac_cpp='$CXXCPP $CPPFLAGS'
21204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21208 ac_save_CXXFLAGS="$CXXFLAGS"
21209 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
21212 $as_echo_n "checking for get_nprocs... " >&6; }
21213 if test "${glibcxx_cv_GET_NPROCS+set}" = set; then :
21214 $as_echo_n "(cached) " >&6
21215 else
21217 if test x$gcc_no_link = xyes; then
21218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21219 /* end confdefs.h. */
21220 #include <sys/sysinfo.h>
21222 main ()
21224 int n = get_nprocs();
21226 return 0;
21228 _ACEOF
21229 if ac_fn_cxx_try_compile "$LINENO"; then :
21230 glibcxx_cv_GET_NPROCS=yes
21231 else
21232 glibcxx_cv_GET_NPROCS=no
21234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21235 else
21236 if test x$gcc_no_link = xyes; then
21237 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21240 /* end confdefs.h. */
21241 #include <sys/sysinfo.h>
21243 main ()
21245 int n = get_nprocs();
21247 return 0;
21249 _ACEOF
21250 if ac_fn_cxx_try_link "$LINENO"; then :
21251 glibcxx_cv_GET_NPROCS=yes
21252 else
21253 glibcxx_cv_GET_NPROCS=no
21255 rm -f core conftest.err conftest.$ac_objext \
21256 conftest$ac_exeext conftest.$ac_ext
21261 if test $glibcxx_cv_GET_NPROCS = yes; then
21263 $as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
21266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
21267 $as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
21269 CXXFLAGS="$ac_save_CXXFLAGS"
21270 ac_ext=c
21271 ac_cpp='$CPP $CPPFLAGS'
21272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21277 for ac_header in unistd.h
21278 do :
21279 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
21280 if test "x$ac_cv_header_unistd_h" = x""yes; then :
21281 cat >>confdefs.h <<_ACEOF
21282 #define HAVE_UNISTD_H 1
21283 _ACEOF
21287 done
21292 ac_ext=cpp
21293 ac_cpp='$CXXCPP $CPPFLAGS'
21294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21298 ac_save_CXXFLAGS="$CXXFLAGS"
21299 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
21302 $as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
21303 if test "${glibcxx_cv_SC_NPROCESSORS_ONLN+set}" = set; then :
21304 $as_echo_n "(cached) " >&6
21305 else
21307 if test x$gcc_no_link = xyes; then
21308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21309 /* end confdefs.h. */
21310 #include <unistd.h>
21312 main ()
21314 int n = sysconf(_SC_NPROCESSORS_ONLN);
21316 return 0;
21318 _ACEOF
21319 if ac_fn_cxx_try_compile "$LINENO"; then :
21320 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
21321 else
21322 glibcxx_cv_SC_NPROCESSORS_ONLN=no
21324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21325 else
21326 if test x$gcc_no_link = xyes; then
21327 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21330 /* end confdefs.h. */
21331 #include <unistd.h>
21333 main ()
21335 int n = sysconf(_SC_NPROCESSORS_ONLN);
21337 return 0;
21339 _ACEOF
21340 if ac_fn_cxx_try_link "$LINENO"; then :
21341 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
21342 else
21343 glibcxx_cv_SC_NPROCESSORS_ONLN=no
21345 rm -f core conftest.err conftest.$ac_objext \
21346 conftest$ac_exeext conftest.$ac_ext
21351 if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
21353 $as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
21356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
21357 $as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
21359 CXXFLAGS="$ac_save_CXXFLAGS"
21360 ac_ext=c
21361 ac_cpp='$CPP $CPPFLAGS'
21362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21370 ac_ext=cpp
21371 ac_cpp='$CXXCPP $CPPFLAGS'
21372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21376 ac_save_CXXFLAGS="$CXXFLAGS"
21377 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROC_ONLN" >&5
21380 $as_echo_n "checking for _SC_NPROC_ONLN... " >&6; }
21381 if test "${glibcxx_cv_SC_NPROC_ONLN+set}" = set; then :
21382 $as_echo_n "(cached) " >&6
21383 else
21385 if test x$gcc_no_link = xyes; then
21386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21387 /* end confdefs.h. */
21388 #include <unistd.h>
21390 main ()
21392 int n = sysconf(_SC_NPROC_ONLN);
21394 return 0;
21396 _ACEOF
21397 if ac_fn_cxx_try_compile "$LINENO"; then :
21398 glibcxx_cv_SC_NPROC_ONLN=yes
21399 else
21400 glibcxx_cv_SC_NPROC_ONLN=no
21402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21403 else
21404 if test x$gcc_no_link = xyes; then
21405 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21408 /* end confdefs.h. */
21409 #include <unistd.h>
21411 main ()
21413 int n = sysconf(_SC_NPROC_ONLN);
21415 return 0;
21417 _ACEOF
21418 if ac_fn_cxx_try_link "$LINENO"; then :
21419 glibcxx_cv_SC_NPROC_ONLN=yes
21420 else
21421 glibcxx_cv_SC_NPROC_ONLN=no
21423 rm -f core conftest.err conftest.$ac_objext \
21424 conftest$ac_exeext conftest.$ac_ext
21429 if test $glibcxx_cv_SC_NPROC_ONLN = yes; then
21431 $as_echo "#define _GLIBCXX_USE_SC_NPROC_ONLN 1" >>confdefs.h
21434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROC_ONLN" >&5
21435 $as_echo "$glibcxx_cv_SC_NPROC_ONLN" >&6; }
21437 CXXFLAGS="$ac_save_CXXFLAGS"
21438 ac_ext=c
21439 ac_cpp='$CPP $CPPFLAGS'
21440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21448 ac_ext=cpp
21449 ac_cpp='$CXXCPP $CPPFLAGS'
21450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21454 ac_save_CXXFLAGS="$CXXFLAGS"
21455 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthreads_num_processors_np" >&5
21458 $as_echo_n "checking for pthreads_num_processors_np... " >&6; }
21459 if test "${glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP+set}" = set; then :
21460 $as_echo_n "(cached) " >&6
21461 else
21463 if test x$gcc_no_link = xyes; then
21464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21465 /* end confdefs.h. */
21466 #include <pthread.h>
21468 main ()
21470 int n = pthread_num_processors_np();
21472 return 0;
21474 _ACEOF
21475 if ac_fn_cxx_try_compile "$LINENO"; then :
21476 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
21477 else
21478 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
21480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21481 else
21482 if test x$gcc_no_link = xyes; then
21483 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21486 /* end confdefs.h. */
21487 #include <pthread.h>
21489 main ()
21491 int n = pthread_num_processors_np();
21493 return 0;
21495 _ACEOF
21496 if ac_fn_cxx_try_link "$LINENO"; then :
21497 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
21498 else
21499 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
21501 rm -f core conftest.err conftest.$ac_objext \
21502 conftest$ac_exeext conftest.$ac_ext
21507 if test $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP = yes; then
21509 $as_echo "#define _GLIBCXX_USE_PTHREADS_NUM_PROCESSORS_NP 1" >>confdefs.h
21512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&5
21513 $as_echo "$glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&6; }
21515 CXXFLAGS="$ac_save_CXXFLAGS"
21516 ac_ext=c
21517 ac_cpp='$CPP $CPPFLAGS'
21518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21526 ac_ext=cpp
21527 ac_cpp='$CXXCPP $CPPFLAGS'
21528 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21529 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21530 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21532 ac_save_CXXFLAGS="$CXXFLAGS"
21533 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hw.ncpu sysctl" >&5
21536 $as_echo_n "checking for hw.ncpu sysctl... " >&6; }
21537 if test "${glibcxx_cv_SYSCTL_HW_NCPU+set}" = set; then :
21538 $as_echo_n "(cached) " >&6
21539 else
21541 if test x$gcc_no_link = xyes; then
21542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21543 /* end confdefs.h. */
21545 #include <stddef.h>
21546 #include <sys/sysctl.h>
21549 main ()
21552 int count;
21553 size_t size = sizeof(count);
21554 int mib[] = { CTL_HW, HW_NCPU };
21555 sysctl(mib, 2, &count, &size, NULL, 0);
21558 return 0;
21560 _ACEOF
21561 if ac_fn_cxx_try_compile "$LINENO"; then :
21562 glibcxx_cv_SYSCTL_HW_NCPU=yes
21563 else
21564 glibcxx_cv_SYSCTL_HW_NCPU=no
21566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21567 else
21568 if test x$gcc_no_link = xyes; then
21569 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21572 /* end confdefs.h. */
21574 #include <stddef.h>
21575 #include <sys/sysctl.h>
21578 main ()
21581 int count;
21582 size_t size = sizeof(count);
21583 int mib[] = { CTL_HW, HW_NCPU };
21584 sysctl(mib, 2, &count, &size, NULL, 0);
21587 return 0;
21589 _ACEOF
21590 if ac_fn_cxx_try_link "$LINENO"; then :
21591 glibcxx_cv_SYSCTL_HW_NCPU=yes
21592 else
21593 glibcxx_cv_SYSCTL_HW_NCPU=no
21595 rm -f core conftest.err conftest.$ac_objext \
21596 conftest$ac_exeext conftest.$ac_ext
21601 if test $glibcxx_cv_SYSCTL_HW_NCPU = yes; then
21603 $as_echo "#define _GLIBCXX_USE_SYSCTL_HW_NCPU 1" >>confdefs.h
21606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SYSCTL_HW_NCPU" >&5
21607 $as_echo "$glibcxx_cv_SYSCTL_HW_NCPU" >&6; }
21609 CXXFLAGS="$ac_save_CXXFLAGS"
21610 ac_ext=c
21611 ac_cpp='$CPP $CPPFLAGS'
21612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suitable sys/sdt.h" >&5
21619 $as_echo_n "checking for suitable sys/sdt.h... " >&6; }
21620 # Note that this test has to be run with the C language.
21621 # Otherwise, sdt.h will try to include some headers from
21622 # libstdc++ itself.
21624 ac_ext=c
21625 ac_cpp='$CPP $CPPFLAGS'
21626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21630 if test "${glibcxx_cv_sys_sdt_h+set}" = set; then :
21631 $as_echo_n "(cached) " >&6
21632 else
21634 # Because we have to run the test in C, we use grep rather
21635 # than the compiler to check for the bug. The bug is that
21636 # were strings without trailing whitespace, causing g++
21637 # to look for operator"". The pattern searches for the fixed
21638 # output.
21639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21640 /* end confdefs.h. */
21642 #include <sys/sdt.h>
21643 int f() { STAP_PROBE(hi, bob); }
21645 _ACEOF
21646 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21647 $EGREP " \",\" " >/dev/null 2>&1; then :
21648 glibcxx_cv_sys_sdt_h=yes
21649 else
21650 glibcxx_cv_sys_sdt_h=no
21652 rm -f conftest*
21657 ac_ext=c
21658 ac_cpp='$CPP $CPPFLAGS'
21659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21663 if test $glibcxx_cv_sys_sdt_h = yes; then
21665 $as_echo "#define HAVE_SYS_SDT_H 1" >>confdefs.h
21668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sys_sdt_h" >&5
21669 $as_echo "$glibcxx_cv_sys_sdt_h" >&6; }
21672 # Check for available headers.
21673 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
21674 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
21675 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
21676 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
21677 wchar.h wctype.h
21678 do :
21679 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
21680 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
21681 eval as_val=\$$as_ac_Header
21682 if test "x$as_val" = x""yes; then :
21683 cat >>confdefs.h <<_ACEOF
21684 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21685 _ACEOF
21689 done
21692 # Only do link tests if native. Else, hardcode.
21693 if $GLIBCXX_IS_NATIVE; then
21695 # We can do more elaborate tests that assume a working linker.
21696 CANADIAN=no
21700 # Check whether --with-gnu-ld was given.
21701 if test "${with_gnu_ld+set}" = set; then :
21702 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
21703 else
21704 with_gnu_ld=no
21707 ac_prog=ld
21708 if test "$GCC" = yes; then
21709 # Check if gcc -print-prog-name=ld gives a path.
21710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
21711 $as_echo_n "checking for ld used by $CC... " >&6; }
21712 case $host in
21713 *-*-mingw*)
21714 # gcc leaves a trailing carriage return which upsets mingw
21715 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
21717 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
21718 esac
21719 case $ac_prog in
21720 # Accept absolute paths.
21721 [\\/]* | ?:[\\/]*)
21722 re_direlt='/[^/][^/]*/\.\./'
21723 # Canonicalize the pathname of ld
21724 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
21725 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
21726 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
21727 done
21728 test -z "$LD" && LD="$ac_prog"
21731 # If it fails, then pretend we aren't using GCC.
21732 ac_prog=ld
21735 # If it is relative, then search for the first ld in PATH.
21736 with_gnu_ld=unknown
21738 esac
21739 elif test "$with_gnu_ld" = yes; then
21740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
21741 $as_echo_n "checking for GNU ld... " >&6; }
21742 else
21743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
21744 $as_echo_n "checking for non-GNU ld... " >&6; }
21746 if test "${lt_cv_path_LD+set}" = set; then :
21747 $as_echo_n "(cached) " >&6
21748 else
21749 if test -z "$LD"; then
21750 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
21751 for ac_dir in $PATH; do
21752 IFS="$lt_save_ifs"
21753 test -z "$ac_dir" && ac_dir=.
21754 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
21755 lt_cv_path_LD="$ac_dir/$ac_prog"
21756 # Check to see if the program is GNU ld. I'd rather use --version,
21757 # but apparently some variants of GNU ld only accept -v.
21758 # Break only if it was the GNU/non-GNU ld that we prefer.
21759 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
21760 *GNU* | *'with BFD'*)
21761 test "$with_gnu_ld" != no && break
21764 test "$with_gnu_ld" != yes && break
21766 esac
21768 done
21769 IFS="$lt_save_ifs"
21770 else
21771 lt_cv_path_LD="$LD" # Let the user override the test with a path.
21775 LD="$lt_cv_path_LD"
21776 if test -n "$LD"; then
21777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
21778 $as_echo "$LD" >&6; }
21779 else
21780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21781 $as_echo "no" >&6; }
21783 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
21784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
21785 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
21786 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
21787 $as_echo_n "(cached) " >&6
21788 else
21789 # I'd rather use --version here, but apparently some GNU lds only accept -v.
21790 case `$LD -v 2>&1 </dev/null` in
21791 *GNU* | *'with BFD'*)
21792 lt_cv_prog_gnu_ld=yes
21795 lt_cv_prog_gnu_ld=no
21797 esac
21799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
21800 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
21801 with_gnu_ld=$lt_cv_prog_gnu_ld
21809 # If we're not using GNU ld, then there's no point in even trying these
21810 # tests. Check for that first. We should have already tested for gld
21811 # by now (in libtool), but require it now just to be safe...
21812 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
21813 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
21817 # The name set by libtool depends on the version of libtool. Shame on us
21818 # for depending on an impl detail, but c'est la vie. Older versions used
21819 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
21820 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
21821 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
21822 # set (hence we're using an older libtool), then set it.
21823 if test x${with_gnu_ld+set} != xset; then
21824 if test x${ac_cv_prog_gnu_ld+set} != xset; then
21825 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
21826 with_gnu_ld=no
21827 else
21828 with_gnu_ld=$ac_cv_prog_gnu_ld
21832 # Start by getting the version number. I think the libtool test already
21833 # does some of this, but throws away the result.
21834 glibcxx_ld_is_gold=no
21835 if test x"$with_gnu_ld" = x"yes"; then
21836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
21837 $as_echo_n "checking for ld version... " >&6; }
21839 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
21840 glibcxx_ld_is_gold=yes
21842 ldver=`$LD --version 2>/dev/null |
21843 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'`
21845 glibcxx_gnu_ld_version=`echo $ldver | \
21846 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
21847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
21848 $as_echo "$glibcxx_gnu_ld_version" >&6; }
21851 # Set --gc-sections.
21852 glibcxx_have_gc_sections=no
21853 if test "$glibcxx_ld_is_gold" = "yes"; then
21854 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
21855 glibcxx_have_gc_sections=yes
21857 else
21858 glibcxx_gcsections_min_ld=21602
21859 if test x"$with_gnu_ld" = x"yes" &&
21860 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
21861 glibcxx_have_gc_sections=yes
21864 if test "$glibcxx_have_gc_sections" = "yes"; then
21865 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
21866 # NB: This flag only works reliably after 2.16.1. Configure tests
21867 # for this are difficult, so hard wire a value that should work.
21869 ac_test_CFLAGS="${CFLAGS+set}"
21870 ac_save_CFLAGS="$CFLAGS"
21871 CFLAGS='-Wl,--gc-sections'
21873 # Check for -Wl,--gc-sections
21874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
21875 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
21876 if test x$gcc_no_link = xyes; then
21877 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21880 /* end confdefs.h. */
21881 int one(void) { return 1; }
21882 int two(void) { return 2; }
21885 main ()
21887 two();
21889 return 0;
21891 _ACEOF
21892 if ac_fn_c_try_link "$LINENO"; then :
21893 ac_gcsections=yes
21894 else
21895 ac_gcsections=no
21897 rm -f core conftest.err conftest.$ac_objext \
21898 conftest$ac_exeext conftest.$ac_ext
21899 if test "$ac_gcsections" = "yes"; then
21900 rm -f conftest.c
21901 touch conftest.c
21902 if $CC -c conftest.c; then
21903 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
21904 grep "Warning: gc-sections option ignored" > /dev/null; then
21905 ac_gcsections=no
21908 rm -f conftest.c conftest.o conftest
21910 if test "$ac_gcsections" = "yes"; then
21911 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
21913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
21914 $as_echo "$ac_gcsections" >&6; }
21916 if test "$ac_test_CFLAGS" = set; then
21917 CFLAGS="$ac_save_CFLAGS"
21918 else
21919 # this is the suspicious part
21920 CFLAGS=''
21924 # Set -z,relro.
21925 # Note this is only for shared objects.
21926 ac_ld_relro=no
21927 if test x"$with_gnu_ld" = x"yes"; then
21928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
21929 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
21930 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
21931 if test -n "$cxx_z_relo"; then
21932 OPT_LDFLAGS="-Wl,-z,relro"
21933 ac_ld_relro=yes
21935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
21936 $as_echo "$ac_ld_relro" >&6; }
21939 # Set linker optimization flags.
21940 if test x"$with_gnu_ld" = x"yes"; then
21941 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
21948 ac_test_CXXFLAGS="${CXXFLAGS+set}"
21949 ac_save_CXXFLAGS="$CXXFLAGS"
21950 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
21952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
21953 $as_echo_n "checking for sin in -lm... " >&6; }
21954 if test "${ac_cv_lib_m_sin+set}" = set; then :
21955 $as_echo_n "(cached) " >&6
21956 else
21957 ac_check_lib_save_LIBS=$LIBS
21958 LIBS="-lm $LIBS"
21959 if test x$gcc_no_link = xyes; then
21960 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21963 /* end confdefs.h. */
21965 /* Override any GCC internal prototype to avoid an error.
21966 Use char because int might match the return type of a GCC
21967 builtin and then its argument prototype would still apply. */
21968 #ifdef __cplusplus
21969 extern "C"
21970 #endif
21971 char sin ();
21973 main ()
21975 return sin ();
21977 return 0;
21979 _ACEOF
21980 if ac_fn_c_try_link "$LINENO"; then :
21981 ac_cv_lib_m_sin=yes
21982 else
21983 ac_cv_lib_m_sin=no
21985 rm -f core conftest.err conftest.$ac_objext \
21986 conftest$ac_exeext conftest.$ac_ext
21987 LIBS=$ac_check_lib_save_LIBS
21989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
21990 $as_echo "$ac_cv_lib_m_sin" >&6; }
21991 if test "x$ac_cv_lib_m_sin" = x""yes; then :
21992 libm="-lm"
21995 ac_save_LIBS="$LIBS"
21996 LIBS="$LIBS $libm"
22000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
22001 $as_echo_n "checking for isinf declaration... " >&6; }
22002 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
22003 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
22004 $as_echo_n "(cached) " >&6
22005 else
22008 ac_ext=cpp
22009 ac_cpp='$CXXCPP $CPPFLAGS'
22010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22015 /* end confdefs.h. */
22016 #include <math.h>
22017 #ifdef HAVE_IEEEFP_H
22018 #include <ieeefp.h>
22019 #endif
22022 main ()
22024 isinf(0);
22026 return 0;
22028 _ACEOF
22029 if ac_fn_cxx_try_compile "$LINENO"; then :
22030 glibcxx_cv_func_isinf_use=yes
22031 else
22032 glibcxx_cv_func_isinf_use=no
22034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22035 ac_ext=c
22036 ac_cpp='$CPP $CPPFLAGS'
22037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
22046 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
22048 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
22049 for ac_func in isinf
22050 do :
22051 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
22052 if test "x$ac_cv_func_isinf" = x""yes; then :
22053 cat >>confdefs.h <<_ACEOF
22054 #define HAVE_ISINF 1
22055 _ACEOF
22058 done
22060 else
22062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
22063 $as_echo_n "checking for _isinf declaration... " >&6; }
22064 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
22065 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
22066 $as_echo_n "(cached) " >&6
22067 else
22070 ac_ext=cpp
22071 ac_cpp='$CXXCPP $CPPFLAGS'
22072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22077 /* end confdefs.h. */
22078 #include <math.h>
22079 #ifdef HAVE_IEEEFP_H
22080 #include <ieeefp.h>
22081 #endif
22084 main ()
22086 _isinf(0);
22088 return 0;
22090 _ACEOF
22091 if ac_fn_cxx_try_compile "$LINENO"; then :
22092 glibcxx_cv_func__isinf_use=yes
22093 else
22094 glibcxx_cv_func__isinf_use=no
22096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22097 ac_ext=c
22098 ac_cpp='$CPP $CPPFLAGS'
22099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
22108 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
22110 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
22111 for ac_func in _isinf
22112 do :
22113 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
22114 if test "x$ac_cv_func__isinf" = x""yes; then :
22115 cat >>confdefs.h <<_ACEOF
22116 #define HAVE__ISINF 1
22117 _ACEOF
22120 done
22129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
22130 $as_echo_n "checking for isnan declaration... " >&6; }
22131 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
22132 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
22133 $as_echo_n "(cached) " >&6
22134 else
22137 ac_ext=cpp
22138 ac_cpp='$CXXCPP $CPPFLAGS'
22139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22144 /* end confdefs.h. */
22145 #include <math.h>
22146 #ifdef HAVE_IEEEFP_H
22147 #include <ieeefp.h>
22148 #endif
22151 main ()
22153 isnan(0);
22155 return 0;
22157 _ACEOF
22158 if ac_fn_cxx_try_compile "$LINENO"; then :
22159 glibcxx_cv_func_isnan_use=yes
22160 else
22161 glibcxx_cv_func_isnan_use=no
22163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22164 ac_ext=c
22165 ac_cpp='$CPP $CPPFLAGS'
22166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
22175 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
22177 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
22178 for ac_func in isnan
22179 do :
22180 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
22181 if test "x$ac_cv_func_isnan" = x""yes; then :
22182 cat >>confdefs.h <<_ACEOF
22183 #define HAVE_ISNAN 1
22184 _ACEOF
22187 done
22189 else
22191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
22192 $as_echo_n "checking for _isnan declaration... " >&6; }
22193 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
22194 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
22195 $as_echo_n "(cached) " >&6
22196 else
22199 ac_ext=cpp
22200 ac_cpp='$CXXCPP $CPPFLAGS'
22201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22206 /* end confdefs.h. */
22207 #include <math.h>
22208 #ifdef HAVE_IEEEFP_H
22209 #include <ieeefp.h>
22210 #endif
22213 main ()
22215 _isnan(0);
22217 return 0;
22219 _ACEOF
22220 if ac_fn_cxx_try_compile "$LINENO"; then :
22221 glibcxx_cv_func__isnan_use=yes
22222 else
22223 glibcxx_cv_func__isnan_use=no
22225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22226 ac_ext=c
22227 ac_cpp='$CPP $CPPFLAGS'
22228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
22237 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
22239 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
22240 for ac_func in _isnan
22241 do :
22242 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
22243 if test "x$ac_cv_func__isnan" = x""yes; then :
22244 cat >>confdefs.h <<_ACEOF
22245 #define HAVE__ISNAN 1
22246 _ACEOF
22249 done
22258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
22259 $as_echo_n "checking for finite declaration... " >&6; }
22260 if test x${glibcxx_cv_func_finite_use+set} != xset; then
22261 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
22262 $as_echo_n "(cached) " >&6
22263 else
22266 ac_ext=cpp
22267 ac_cpp='$CXXCPP $CPPFLAGS'
22268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22273 /* end confdefs.h. */
22274 #include <math.h>
22275 #ifdef HAVE_IEEEFP_H
22276 #include <ieeefp.h>
22277 #endif
22280 main ()
22282 finite(0);
22284 return 0;
22286 _ACEOF
22287 if ac_fn_cxx_try_compile "$LINENO"; then :
22288 glibcxx_cv_func_finite_use=yes
22289 else
22290 glibcxx_cv_func_finite_use=no
22292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22293 ac_ext=c
22294 ac_cpp='$CPP $CPPFLAGS'
22295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
22304 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
22306 if test x$glibcxx_cv_func_finite_use = x"yes"; then
22307 for ac_func in finite
22308 do :
22309 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
22310 if test "x$ac_cv_func_finite" = x""yes; then :
22311 cat >>confdefs.h <<_ACEOF
22312 #define HAVE_FINITE 1
22313 _ACEOF
22316 done
22318 else
22320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
22321 $as_echo_n "checking for _finite declaration... " >&6; }
22322 if test x${glibcxx_cv_func__finite_use+set} != xset; then
22323 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
22324 $as_echo_n "(cached) " >&6
22325 else
22328 ac_ext=cpp
22329 ac_cpp='$CXXCPP $CPPFLAGS'
22330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22335 /* end confdefs.h. */
22336 #include <math.h>
22337 #ifdef HAVE_IEEEFP_H
22338 #include <ieeefp.h>
22339 #endif
22342 main ()
22344 _finite(0);
22346 return 0;
22348 _ACEOF
22349 if ac_fn_cxx_try_compile "$LINENO"; then :
22350 glibcxx_cv_func__finite_use=yes
22351 else
22352 glibcxx_cv_func__finite_use=no
22354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22355 ac_ext=c
22356 ac_cpp='$CPP $CPPFLAGS'
22357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
22366 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
22368 if test x$glibcxx_cv_func__finite_use = x"yes"; then
22369 for ac_func in _finite
22370 do :
22371 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
22372 if test "x$ac_cv_func__finite" = x""yes; then :
22373 cat >>confdefs.h <<_ACEOF
22374 #define HAVE__FINITE 1
22375 _ACEOF
22378 done
22387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
22388 $as_echo_n "checking for sincos declaration... " >&6; }
22389 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
22390 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
22391 $as_echo_n "(cached) " >&6
22392 else
22395 ac_ext=cpp
22396 ac_cpp='$CXXCPP $CPPFLAGS'
22397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22402 /* end confdefs.h. */
22403 #include <math.h>
22405 main ()
22407 sincos(0, 0, 0);
22409 return 0;
22411 _ACEOF
22412 if ac_fn_cxx_try_compile "$LINENO"; then :
22413 glibcxx_cv_func_sincos_use=yes
22414 else
22415 glibcxx_cv_func_sincos_use=no
22417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22418 ac_ext=c
22419 ac_cpp='$CPP $CPPFLAGS'
22420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
22429 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
22431 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
22432 for ac_func in sincos
22433 do :
22434 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
22435 if test "x$ac_cv_func_sincos" = x""yes; then :
22436 cat >>confdefs.h <<_ACEOF
22437 #define HAVE_SINCOS 1
22438 _ACEOF
22441 done
22443 else
22445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
22446 $as_echo_n "checking for _sincos declaration... " >&6; }
22447 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
22448 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
22449 $as_echo_n "(cached) " >&6
22450 else
22453 ac_ext=cpp
22454 ac_cpp='$CXXCPP $CPPFLAGS'
22455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22460 /* end confdefs.h. */
22461 #include <math.h>
22463 main ()
22465 _sincos(0, 0, 0);
22467 return 0;
22469 _ACEOF
22470 if ac_fn_cxx_try_compile "$LINENO"; then :
22471 glibcxx_cv_func__sincos_use=yes
22472 else
22473 glibcxx_cv_func__sincos_use=no
22475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22476 ac_ext=c
22477 ac_cpp='$CPP $CPPFLAGS'
22478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
22487 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
22489 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
22490 for ac_func in _sincos
22491 do :
22492 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
22493 if test "x$ac_cv_func__sincos" = x""yes; then :
22494 cat >>confdefs.h <<_ACEOF
22495 #define HAVE__SINCOS 1
22496 _ACEOF
22499 done
22508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
22509 $as_echo_n "checking for fpclass declaration... " >&6; }
22510 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
22511 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
22512 $as_echo_n "(cached) " >&6
22513 else
22516 ac_ext=cpp
22517 ac_cpp='$CXXCPP $CPPFLAGS'
22518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22523 /* end confdefs.h. */
22524 #include <math.h>
22525 #ifdef HAVE_IEEEFP_H
22526 #include <ieeefp.h>
22527 #endif
22530 main ()
22532 fpclass(0);
22534 return 0;
22536 _ACEOF
22537 if ac_fn_cxx_try_compile "$LINENO"; then :
22538 glibcxx_cv_func_fpclass_use=yes
22539 else
22540 glibcxx_cv_func_fpclass_use=no
22542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22543 ac_ext=c
22544 ac_cpp='$CPP $CPPFLAGS'
22545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
22554 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
22556 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
22557 for ac_func in fpclass
22558 do :
22559 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
22560 if test "x$ac_cv_func_fpclass" = x""yes; then :
22561 cat >>confdefs.h <<_ACEOF
22562 #define HAVE_FPCLASS 1
22563 _ACEOF
22566 done
22568 else
22570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
22571 $as_echo_n "checking for _fpclass declaration... " >&6; }
22572 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
22573 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
22574 $as_echo_n "(cached) " >&6
22575 else
22578 ac_ext=cpp
22579 ac_cpp='$CXXCPP $CPPFLAGS'
22580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22585 /* end confdefs.h. */
22586 #include <math.h>
22587 #ifdef HAVE_IEEEFP_H
22588 #include <ieeefp.h>
22589 #endif
22592 main ()
22594 _fpclass(0);
22596 return 0;
22598 _ACEOF
22599 if ac_fn_cxx_try_compile "$LINENO"; then :
22600 glibcxx_cv_func__fpclass_use=yes
22601 else
22602 glibcxx_cv_func__fpclass_use=no
22604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22605 ac_ext=c
22606 ac_cpp='$CPP $CPPFLAGS'
22607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
22616 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
22618 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
22619 for ac_func in _fpclass
22620 do :
22621 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
22622 if test "x$ac_cv_func__fpclass" = x""yes; then :
22623 cat >>confdefs.h <<_ACEOF
22624 #define HAVE__FPCLASS 1
22625 _ACEOF
22628 done
22637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
22638 $as_echo_n "checking for qfpclass declaration... " >&6; }
22639 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
22640 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
22641 $as_echo_n "(cached) " >&6
22642 else
22645 ac_ext=cpp
22646 ac_cpp='$CXXCPP $CPPFLAGS'
22647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22652 /* end confdefs.h. */
22653 #include <math.h>
22654 #ifdef HAVE_IEEEFP_H
22655 #include <ieeefp.h>
22656 #endif
22659 main ()
22661 qfpclass(0);
22663 return 0;
22665 _ACEOF
22666 if ac_fn_cxx_try_compile "$LINENO"; then :
22667 glibcxx_cv_func_qfpclass_use=yes
22668 else
22669 glibcxx_cv_func_qfpclass_use=no
22671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22672 ac_ext=c
22673 ac_cpp='$CPP $CPPFLAGS'
22674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
22683 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
22685 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
22686 for ac_func in qfpclass
22687 do :
22688 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
22689 if test "x$ac_cv_func_qfpclass" = x""yes; then :
22690 cat >>confdefs.h <<_ACEOF
22691 #define HAVE_QFPCLASS 1
22692 _ACEOF
22695 done
22697 else
22699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
22700 $as_echo_n "checking for _qfpclass declaration... " >&6; }
22701 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
22702 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
22703 $as_echo_n "(cached) " >&6
22704 else
22707 ac_ext=cpp
22708 ac_cpp='$CXXCPP $CPPFLAGS'
22709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22714 /* end confdefs.h. */
22715 #include <math.h>
22716 #ifdef HAVE_IEEEFP_H
22717 #include <ieeefp.h>
22718 #endif
22721 main ()
22723 _qfpclass(0);
22725 return 0;
22727 _ACEOF
22728 if ac_fn_cxx_try_compile "$LINENO"; then :
22729 glibcxx_cv_func__qfpclass_use=yes
22730 else
22731 glibcxx_cv_func__qfpclass_use=no
22733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22734 ac_ext=c
22735 ac_cpp='$CPP $CPPFLAGS'
22736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
22745 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
22747 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
22748 for ac_func in _qfpclass
22749 do :
22750 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
22751 if test "x$ac_cv_func__qfpclass" = x""yes; then :
22752 cat >>confdefs.h <<_ACEOF
22753 #define HAVE__QFPCLASS 1
22754 _ACEOF
22757 done
22766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
22767 $as_echo_n "checking for hypot declaration... " >&6; }
22768 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
22769 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
22770 $as_echo_n "(cached) " >&6
22771 else
22774 ac_ext=cpp
22775 ac_cpp='$CXXCPP $CPPFLAGS'
22776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22781 /* end confdefs.h. */
22782 #include <math.h>
22784 main ()
22786 hypot(0, 0);
22788 return 0;
22790 _ACEOF
22791 if ac_fn_cxx_try_compile "$LINENO"; then :
22792 glibcxx_cv_func_hypot_use=yes
22793 else
22794 glibcxx_cv_func_hypot_use=no
22796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22797 ac_ext=c
22798 ac_cpp='$CPP $CPPFLAGS'
22799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
22808 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
22810 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
22811 for ac_func in hypot
22812 do :
22813 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
22814 if test "x$ac_cv_func_hypot" = x""yes; then :
22815 cat >>confdefs.h <<_ACEOF
22816 #define HAVE_HYPOT 1
22817 _ACEOF
22820 done
22822 else
22824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
22825 $as_echo_n "checking for _hypot declaration... " >&6; }
22826 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
22827 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
22828 $as_echo_n "(cached) " >&6
22829 else
22832 ac_ext=cpp
22833 ac_cpp='$CXXCPP $CPPFLAGS'
22834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22839 /* end confdefs.h. */
22840 #include <math.h>
22842 main ()
22844 _hypot(0, 0);
22846 return 0;
22848 _ACEOF
22849 if ac_fn_cxx_try_compile "$LINENO"; then :
22850 glibcxx_cv_func__hypot_use=yes
22851 else
22852 glibcxx_cv_func__hypot_use=no
22854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22855 ac_ext=c
22856 ac_cpp='$CPP $CPPFLAGS'
22857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
22866 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
22868 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
22869 for ac_func in _hypot
22870 do :
22871 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
22872 if test "x$ac_cv_func__hypot" = x""yes; then :
22873 cat >>confdefs.h <<_ACEOF
22874 #define HAVE__HYPOT 1
22875 _ACEOF
22878 done
22887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
22888 $as_echo_n "checking for float trig functions... " >&6; }
22889 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
22890 $as_echo_n "(cached) " >&6
22891 else
22894 ac_ext=cpp
22895 ac_cpp='$CXXCPP $CPPFLAGS'
22896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22901 /* end confdefs.h. */
22902 #include <math.h>
22904 main ()
22906 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
22908 return 0;
22910 _ACEOF
22911 if ac_fn_cxx_try_compile "$LINENO"; then :
22912 glibcxx_cv_func_float_trig_use=yes
22913 else
22914 glibcxx_cv_func_float_trig_use=no
22916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22917 ac_ext=c
22918 ac_cpp='$CPP $CPPFLAGS'
22919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
22926 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
22927 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
22928 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
22929 do :
22930 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22931 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22932 eval as_val=\$$as_ac_var
22933 if test "x$as_val" = x""yes; then :
22934 cat >>confdefs.h <<_ACEOF
22935 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22936 _ACEOF
22939 done
22941 else
22942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
22943 $as_echo_n "checking for _float trig functions... " >&6; }
22944 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
22945 $as_echo_n "(cached) " >&6
22946 else
22949 ac_ext=cpp
22950 ac_cpp='$CXXCPP $CPPFLAGS'
22951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22956 /* end confdefs.h. */
22957 #include <math.h>
22959 main ()
22961 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
22963 return 0;
22965 _ACEOF
22966 if ac_fn_cxx_try_compile "$LINENO"; then :
22967 glibcxx_cv_func__float_trig_use=yes
22968 else
22969 glibcxx_cv_func__float_trig_use=no
22971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22972 ac_ext=c
22973 ac_cpp='$CPP $CPPFLAGS'
22974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
22981 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
22982 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
22983 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
22984 do :
22985 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22986 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22987 eval as_val=\$$as_ac_var
22988 if test "x$as_val" = x""yes; then :
22989 cat >>confdefs.h <<_ACEOF
22990 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22991 _ACEOF
22994 done
23003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
23004 $as_echo_n "checking for float round functions... " >&6; }
23005 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
23006 $as_echo_n "(cached) " >&6
23007 else
23010 ac_ext=cpp
23011 ac_cpp='$CXXCPP $CPPFLAGS'
23012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23017 /* end confdefs.h. */
23018 #include <math.h>
23020 main ()
23022 ceilf (0); floorf (0);
23024 return 0;
23026 _ACEOF
23027 if ac_fn_cxx_try_compile "$LINENO"; then :
23028 glibcxx_cv_func_float_round_use=yes
23029 else
23030 glibcxx_cv_func_float_round_use=no
23032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23033 ac_ext=c
23034 ac_cpp='$CPP $CPPFLAGS'
23035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
23042 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
23043 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
23044 for ac_func in ceilf floorf
23045 do :
23046 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23047 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23048 eval as_val=\$$as_ac_var
23049 if test "x$as_val" = x""yes; then :
23050 cat >>confdefs.h <<_ACEOF
23051 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23052 _ACEOF
23055 done
23057 else
23058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
23059 $as_echo_n "checking for _float round functions... " >&6; }
23060 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
23061 $as_echo_n "(cached) " >&6
23062 else
23065 ac_ext=cpp
23066 ac_cpp='$CXXCPP $CPPFLAGS'
23067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23072 /* end confdefs.h. */
23073 #include <math.h>
23075 main ()
23077 _ceilf (0); _floorf (0);
23079 return 0;
23081 _ACEOF
23082 if ac_fn_cxx_try_compile "$LINENO"; then :
23083 glibcxx_cv_func__float_round_use=yes
23084 else
23085 glibcxx_cv_func__float_round_use=no
23087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23088 ac_ext=c
23089 ac_cpp='$CPP $CPPFLAGS'
23090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
23097 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
23098 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
23099 for ac_func in _ceilf _floorf
23100 do :
23101 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23102 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23103 eval as_val=\$$as_ac_var
23104 if test "x$as_val" = x""yes; then :
23105 cat >>confdefs.h <<_ACEOF
23106 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23107 _ACEOF
23110 done
23120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
23121 $as_echo_n "checking for expf declaration... " >&6; }
23122 if test x${glibcxx_cv_func_expf_use+set} != xset; then
23123 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
23124 $as_echo_n "(cached) " >&6
23125 else
23128 ac_ext=cpp
23129 ac_cpp='$CXXCPP $CPPFLAGS'
23130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23135 /* end confdefs.h. */
23136 #include <math.h>
23137 #ifdef HAVE_IEEEFP_H
23138 #include <ieeefp.h>
23139 #endif
23142 main ()
23144 expf(0);
23146 return 0;
23148 _ACEOF
23149 if ac_fn_cxx_try_compile "$LINENO"; then :
23150 glibcxx_cv_func_expf_use=yes
23151 else
23152 glibcxx_cv_func_expf_use=no
23154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23155 ac_ext=c
23156 ac_cpp='$CPP $CPPFLAGS'
23157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
23166 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
23168 if test x$glibcxx_cv_func_expf_use = x"yes"; then
23169 for ac_func in expf
23170 do :
23171 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
23172 if test "x$ac_cv_func_expf" = x""yes; then :
23173 cat >>confdefs.h <<_ACEOF
23174 #define HAVE_EXPF 1
23175 _ACEOF
23178 done
23180 else
23182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
23183 $as_echo_n "checking for _expf declaration... " >&6; }
23184 if test x${glibcxx_cv_func__expf_use+set} != xset; then
23185 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
23186 $as_echo_n "(cached) " >&6
23187 else
23190 ac_ext=cpp
23191 ac_cpp='$CXXCPP $CPPFLAGS'
23192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23197 /* end confdefs.h. */
23198 #include <math.h>
23199 #ifdef HAVE_IEEEFP_H
23200 #include <ieeefp.h>
23201 #endif
23204 main ()
23206 _expf(0);
23208 return 0;
23210 _ACEOF
23211 if ac_fn_cxx_try_compile "$LINENO"; then :
23212 glibcxx_cv_func__expf_use=yes
23213 else
23214 glibcxx_cv_func__expf_use=no
23216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23217 ac_ext=c
23218 ac_cpp='$CPP $CPPFLAGS'
23219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
23228 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
23230 if test x$glibcxx_cv_func__expf_use = x"yes"; then
23231 for ac_func in _expf
23232 do :
23233 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
23234 if test "x$ac_cv_func__expf" = x""yes; then :
23235 cat >>confdefs.h <<_ACEOF
23236 #define HAVE__EXPF 1
23237 _ACEOF
23240 done
23249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
23250 $as_echo_n "checking for isnanf declaration... " >&6; }
23251 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
23252 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
23253 $as_echo_n "(cached) " >&6
23254 else
23257 ac_ext=cpp
23258 ac_cpp='$CXXCPP $CPPFLAGS'
23259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23264 /* end confdefs.h. */
23265 #include <math.h>
23266 #ifdef HAVE_IEEEFP_H
23267 #include <ieeefp.h>
23268 #endif
23271 main ()
23273 isnanf(0);
23275 return 0;
23277 _ACEOF
23278 if ac_fn_cxx_try_compile "$LINENO"; then :
23279 glibcxx_cv_func_isnanf_use=yes
23280 else
23281 glibcxx_cv_func_isnanf_use=no
23283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23284 ac_ext=c
23285 ac_cpp='$CPP $CPPFLAGS'
23286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
23295 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
23297 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
23298 for ac_func in isnanf
23299 do :
23300 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
23301 if test "x$ac_cv_func_isnanf" = x""yes; then :
23302 cat >>confdefs.h <<_ACEOF
23303 #define HAVE_ISNANF 1
23304 _ACEOF
23307 done
23309 else
23311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
23312 $as_echo_n "checking for _isnanf declaration... " >&6; }
23313 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
23314 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
23315 $as_echo_n "(cached) " >&6
23316 else
23319 ac_ext=cpp
23320 ac_cpp='$CXXCPP $CPPFLAGS'
23321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23326 /* end confdefs.h. */
23327 #include <math.h>
23328 #ifdef HAVE_IEEEFP_H
23329 #include <ieeefp.h>
23330 #endif
23333 main ()
23335 _isnanf(0);
23337 return 0;
23339 _ACEOF
23340 if ac_fn_cxx_try_compile "$LINENO"; then :
23341 glibcxx_cv_func__isnanf_use=yes
23342 else
23343 glibcxx_cv_func__isnanf_use=no
23345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23346 ac_ext=c
23347 ac_cpp='$CPP $CPPFLAGS'
23348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
23357 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
23359 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
23360 for ac_func in _isnanf
23361 do :
23362 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
23363 if test "x$ac_cv_func__isnanf" = x""yes; then :
23364 cat >>confdefs.h <<_ACEOF
23365 #define HAVE__ISNANF 1
23366 _ACEOF
23369 done
23378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
23379 $as_echo_n "checking for isinff declaration... " >&6; }
23380 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
23381 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
23382 $as_echo_n "(cached) " >&6
23383 else
23386 ac_ext=cpp
23387 ac_cpp='$CXXCPP $CPPFLAGS'
23388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23393 /* end confdefs.h. */
23394 #include <math.h>
23395 #ifdef HAVE_IEEEFP_H
23396 #include <ieeefp.h>
23397 #endif
23400 main ()
23402 isinff(0);
23404 return 0;
23406 _ACEOF
23407 if ac_fn_cxx_try_compile "$LINENO"; then :
23408 glibcxx_cv_func_isinff_use=yes
23409 else
23410 glibcxx_cv_func_isinff_use=no
23412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23413 ac_ext=c
23414 ac_cpp='$CPP $CPPFLAGS'
23415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
23424 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
23426 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
23427 for ac_func in isinff
23428 do :
23429 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
23430 if test "x$ac_cv_func_isinff" = x""yes; then :
23431 cat >>confdefs.h <<_ACEOF
23432 #define HAVE_ISINFF 1
23433 _ACEOF
23436 done
23438 else
23440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
23441 $as_echo_n "checking for _isinff declaration... " >&6; }
23442 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
23443 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
23444 $as_echo_n "(cached) " >&6
23445 else
23448 ac_ext=cpp
23449 ac_cpp='$CXXCPP $CPPFLAGS'
23450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23455 /* end confdefs.h. */
23456 #include <math.h>
23457 #ifdef HAVE_IEEEFP_H
23458 #include <ieeefp.h>
23459 #endif
23462 main ()
23464 _isinff(0);
23466 return 0;
23468 _ACEOF
23469 if ac_fn_cxx_try_compile "$LINENO"; then :
23470 glibcxx_cv_func__isinff_use=yes
23471 else
23472 glibcxx_cv_func__isinff_use=no
23474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23475 ac_ext=c
23476 ac_cpp='$CPP $CPPFLAGS'
23477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
23486 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
23488 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
23489 for ac_func in _isinff
23490 do :
23491 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
23492 if test "x$ac_cv_func__isinff" = x""yes; then :
23493 cat >>confdefs.h <<_ACEOF
23494 #define HAVE__ISINFF 1
23495 _ACEOF
23498 done
23507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
23508 $as_echo_n "checking for atan2f declaration... " >&6; }
23509 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
23510 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
23511 $as_echo_n "(cached) " >&6
23512 else
23515 ac_ext=cpp
23516 ac_cpp='$CXXCPP $CPPFLAGS'
23517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23522 /* end confdefs.h. */
23523 #include <math.h>
23525 main ()
23527 atan2f(0, 0);
23529 return 0;
23531 _ACEOF
23532 if ac_fn_cxx_try_compile "$LINENO"; then :
23533 glibcxx_cv_func_atan2f_use=yes
23534 else
23535 glibcxx_cv_func_atan2f_use=no
23537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23538 ac_ext=c
23539 ac_cpp='$CPP $CPPFLAGS'
23540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
23549 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
23551 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
23552 for ac_func in atan2f
23553 do :
23554 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
23555 if test "x$ac_cv_func_atan2f" = x""yes; then :
23556 cat >>confdefs.h <<_ACEOF
23557 #define HAVE_ATAN2F 1
23558 _ACEOF
23561 done
23563 else
23565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
23566 $as_echo_n "checking for _atan2f declaration... " >&6; }
23567 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
23568 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
23569 $as_echo_n "(cached) " >&6
23570 else
23573 ac_ext=cpp
23574 ac_cpp='$CXXCPP $CPPFLAGS'
23575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23580 /* end confdefs.h. */
23581 #include <math.h>
23583 main ()
23585 _atan2f(0, 0);
23587 return 0;
23589 _ACEOF
23590 if ac_fn_cxx_try_compile "$LINENO"; then :
23591 glibcxx_cv_func__atan2f_use=yes
23592 else
23593 glibcxx_cv_func__atan2f_use=no
23595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23596 ac_ext=c
23597 ac_cpp='$CPP $CPPFLAGS'
23598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
23607 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
23609 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
23610 for ac_func in _atan2f
23611 do :
23612 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
23613 if test "x$ac_cv_func__atan2f" = x""yes; then :
23614 cat >>confdefs.h <<_ACEOF
23615 #define HAVE__ATAN2F 1
23616 _ACEOF
23619 done
23628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
23629 $as_echo_n "checking for fabsf declaration... " >&6; }
23630 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
23631 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
23632 $as_echo_n "(cached) " >&6
23633 else
23636 ac_ext=cpp
23637 ac_cpp='$CXXCPP $CPPFLAGS'
23638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23643 /* end confdefs.h. */
23644 #include <math.h>
23645 #ifdef HAVE_IEEEFP_H
23646 #include <ieeefp.h>
23647 #endif
23650 main ()
23652 fabsf(0);
23654 return 0;
23656 _ACEOF
23657 if ac_fn_cxx_try_compile "$LINENO"; then :
23658 glibcxx_cv_func_fabsf_use=yes
23659 else
23660 glibcxx_cv_func_fabsf_use=no
23662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23663 ac_ext=c
23664 ac_cpp='$CPP $CPPFLAGS'
23665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
23674 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
23676 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
23677 for ac_func in fabsf
23678 do :
23679 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
23680 if test "x$ac_cv_func_fabsf" = x""yes; then :
23681 cat >>confdefs.h <<_ACEOF
23682 #define HAVE_FABSF 1
23683 _ACEOF
23686 done
23688 else
23690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
23691 $as_echo_n "checking for _fabsf declaration... " >&6; }
23692 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
23693 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
23694 $as_echo_n "(cached) " >&6
23695 else
23698 ac_ext=cpp
23699 ac_cpp='$CXXCPP $CPPFLAGS'
23700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23705 /* end confdefs.h. */
23706 #include <math.h>
23707 #ifdef HAVE_IEEEFP_H
23708 #include <ieeefp.h>
23709 #endif
23712 main ()
23714 _fabsf(0);
23716 return 0;
23718 _ACEOF
23719 if ac_fn_cxx_try_compile "$LINENO"; then :
23720 glibcxx_cv_func__fabsf_use=yes
23721 else
23722 glibcxx_cv_func__fabsf_use=no
23724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23725 ac_ext=c
23726 ac_cpp='$CPP $CPPFLAGS'
23727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
23736 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
23738 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
23739 for ac_func in _fabsf
23740 do :
23741 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
23742 if test "x$ac_cv_func__fabsf" = x""yes; then :
23743 cat >>confdefs.h <<_ACEOF
23744 #define HAVE__FABSF 1
23745 _ACEOF
23748 done
23757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
23758 $as_echo_n "checking for fmodf declaration... " >&6; }
23759 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
23760 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
23761 $as_echo_n "(cached) " >&6
23762 else
23765 ac_ext=cpp
23766 ac_cpp='$CXXCPP $CPPFLAGS'
23767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23772 /* end confdefs.h. */
23773 #include <math.h>
23775 main ()
23777 fmodf(0, 0);
23779 return 0;
23781 _ACEOF
23782 if ac_fn_cxx_try_compile "$LINENO"; then :
23783 glibcxx_cv_func_fmodf_use=yes
23784 else
23785 glibcxx_cv_func_fmodf_use=no
23787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23788 ac_ext=c
23789 ac_cpp='$CPP $CPPFLAGS'
23790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
23799 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
23801 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
23802 for ac_func in fmodf
23803 do :
23804 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
23805 if test "x$ac_cv_func_fmodf" = x""yes; then :
23806 cat >>confdefs.h <<_ACEOF
23807 #define HAVE_FMODF 1
23808 _ACEOF
23811 done
23813 else
23815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
23816 $as_echo_n "checking for _fmodf declaration... " >&6; }
23817 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
23818 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
23819 $as_echo_n "(cached) " >&6
23820 else
23823 ac_ext=cpp
23824 ac_cpp='$CXXCPP $CPPFLAGS'
23825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23830 /* end confdefs.h. */
23831 #include <math.h>
23833 main ()
23835 _fmodf(0, 0);
23837 return 0;
23839 _ACEOF
23840 if ac_fn_cxx_try_compile "$LINENO"; then :
23841 glibcxx_cv_func__fmodf_use=yes
23842 else
23843 glibcxx_cv_func__fmodf_use=no
23845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23846 ac_ext=c
23847 ac_cpp='$CPP $CPPFLAGS'
23848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
23857 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
23859 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
23860 for ac_func in _fmodf
23861 do :
23862 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
23863 if test "x$ac_cv_func__fmodf" = x""yes; then :
23864 cat >>confdefs.h <<_ACEOF
23865 #define HAVE__FMODF 1
23866 _ACEOF
23869 done
23878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
23879 $as_echo_n "checking for frexpf declaration... " >&6; }
23880 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
23881 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
23882 $as_echo_n "(cached) " >&6
23883 else
23886 ac_ext=cpp
23887 ac_cpp='$CXXCPP $CPPFLAGS'
23888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23893 /* end confdefs.h. */
23894 #include <math.h>
23896 main ()
23898 frexpf(0, 0);
23900 return 0;
23902 _ACEOF
23903 if ac_fn_cxx_try_compile "$LINENO"; then :
23904 glibcxx_cv_func_frexpf_use=yes
23905 else
23906 glibcxx_cv_func_frexpf_use=no
23908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23909 ac_ext=c
23910 ac_cpp='$CPP $CPPFLAGS'
23911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
23920 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
23922 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
23923 for ac_func in frexpf
23924 do :
23925 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
23926 if test "x$ac_cv_func_frexpf" = x""yes; then :
23927 cat >>confdefs.h <<_ACEOF
23928 #define HAVE_FREXPF 1
23929 _ACEOF
23932 done
23934 else
23936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
23937 $as_echo_n "checking for _frexpf declaration... " >&6; }
23938 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
23939 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
23940 $as_echo_n "(cached) " >&6
23941 else
23944 ac_ext=cpp
23945 ac_cpp='$CXXCPP $CPPFLAGS'
23946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23951 /* end confdefs.h. */
23952 #include <math.h>
23954 main ()
23956 _frexpf(0, 0);
23958 return 0;
23960 _ACEOF
23961 if ac_fn_cxx_try_compile "$LINENO"; then :
23962 glibcxx_cv_func__frexpf_use=yes
23963 else
23964 glibcxx_cv_func__frexpf_use=no
23966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23967 ac_ext=c
23968 ac_cpp='$CPP $CPPFLAGS'
23969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
23978 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
23980 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
23981 for ac_func in _frexpf
23982 do :
23983 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
23984 if test "x$ac_cv_func__frexpf" = x""yes; then :
23985 cat >>confdefs.h <<_ACEOF
23986 #define HAVE__FREXPF 1
23987 _ACEOF
23990 done
23999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
24000 $as_echo_n "checking for hypotf declaration... " >&6; }
24001 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
24002 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
24003 $as_echo_n "(cached) " >&6
24004 else
24007 ac_ext=cpp
24008 ac_cpp='$CXXCPP $CPPFLAGS'
24009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24014 /* end confdefs.h. */
24015 #include <math.h>
24017 main ()
24019 hypotf(0, 0);
24021 return 0;
24023 _ACEOF
24024 if ac_fn_cxx_try_compile "$LINENO"; then :
24025 glibcxx_cv_func_hypotf_use=yes
24026 else
24027 glibcxx_cv_func_hypotf_use=no
24029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24030 ac_ext=c
24031 ac_cpp='$CPP $CPPFLAGS'
24032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
24041 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
24043 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
24044 for ac_func in hypotf
24045 do :
24046 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
24047 if test "x$ac_cv_func_hypotf" = x""yes; then :
24048 cat >>confdefs.h <<_ACEOF
24049 #define HAVE_HYPOTF 1
24050 _ACEOF
24053 done
24055 else
24057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
24058 $as_echo_n "checking for _hypotf declaration... " >&6; }
24059 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
24060 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
24061 $as_echo_n "(cached) " >&6
24062 else
24065 ac_ext=cpp
24066 ac_cpp='$CXXCPP $CPPFLAGS'
24067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24072 /* end confdefs.h. */
24073 #include <math.h>
24075 main ()
24077 _hypotf(0, 0);
24079 return 0;
24081 _ACEOF
24082 if ac_fn_cxx_try_compile "$LINENO"; then :
24083 glibcxx_cv_func__hypotf_use=yes
24084 else
24085 glibcxx_cv_func__hypotf_use=no
24087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24088 ac_ext=c
24089 ac_cpp='$CPP $CPPFLAGS'
24090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
24099 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
24101 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
24102 for ac_func in _hypotf
24103 do :
24104 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
24105 if test "x$ac_cv_func__hypotf" = x""yes; then :
24106 cat >>confdefs.h <<_ACEOF
24107 #define HAVE__HYPOTF 1
24108 _ACEOF
24111 done
24120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
24121 $as_echo_n "checking for ldexpf declaration... " >&6; }
24122 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
24123 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
24124 $as_echo_n "(cached) " >&6
24125 else
24128 ac_ext=cpp
24129 ac_cpp='$CXXCPP $CPPFLAGS'
24130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24135 /* end confdefs.h. */
24136 #include <math.h>
24138 main ()
24140 ldexpf(0, 0);
24142 return 0;
24144 _ACEOF
24145 if ac_fn_cxx_try_compile "$LINENO"; then :
24146 glibcxx_cv_func_ldexpf_use=yes
24147 else
24148 glibcxx_cv_func_ldexpf_use=no
24150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24151 ac_ext=c
24152 ac_cpp='$CPP $CPPFLAGS'
24153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
24162 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
24164 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
24165 for ac_func in ldexpf
24166 do :
24167 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
24168 if test "x$ac_cv_func_ldexpf" = x""yes; then :
24169 cat >>confdefs.h <<_ACEOF
24170 #define HAVE_LDEXPF 1
24171 _ACEOF
24174 done
24176 else
24178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
24179 $as_echo_n "checking for _ldexpf declaration... " >&6; }
24180 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
24181 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
24182 $as_echo_n "(cached) " >&6
24183 else
24186 ac_ext=cpp
24187 ac_cpp='$CXXCPP $CPPFLAGS'
24188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24193 /* end confdefs.h. */
24194 #include <math.h>
24196 main ()
24198 _ldexpf(0, 0);
24200 return 0;
24202 _ACEOF
24203 if ac_fn_cxx_try_compile "$LINENO"; then :
24204 glibcxx_cv_func__ldexpf_use=yes
24205 else
24206 glibcxx_cv_func__ldexpf_use=no
24208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24209 ac_ext=c
24210 ac_cpp='$CPP $CPPFLAGS'
24211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
24220 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
24222 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
24223 for ac_func in _ldexpf
24224 do :
24225 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
24226 if test "x$ac_cv_func__ldexpf" = x""yes; then :
24227 cat >>confdefs.h <<_ACEOF
24228 #define HAVE__LDEXPF 1
24229 _ACEOF
24232 done
24241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
24242 $as_echo_n "checking for logf declaration... " >&6; }
24243 if test x${glibcxx_cv_func_logf_use+set} != xset; then
24244 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
24245 $as_echo_n "(cached) " >&6
24246 else
24249 ac_ext=cpp
24250 ac_cpp='$CXXCPP $CPPFLAGS'
24251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24256 /* end confdefs.h. */
24257 #include <math.h>
24258 #ifdef HAVE_IEEEFP_H
24259 #include <ieeefp.h>
24260 #endif
24263 main ()
24265 logf(0);
24267 return 0;
24269 _ACEOF
24270 if ac_fn_cxx_try_compile "$LINENO"; then :
24271 glibcxx_cv_func_logf_use=yes
24272 else
24273 glibcxx_cv_func_logf_use=no
24275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24276 ac_ext=c
24277 ac_cpp='$CPP $CPPFLAGS'
24278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
24287 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
24289 if test x$glibcxx_cv_func_logf_use = x"yes"; then
24290 for ac_func in logf
24291 do :
24292 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
24293 if test "x$ac_cv_func_logf" = x""yes; then :
24294 cat >>confdefs.h <<_ACEOF
24295 #define HAVE_LOGF 1
24296 _ACEOF
24299 done
24301 else
24303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
24304 $as_echo_n "checking for _logf declaration... " >&6; }
24305 if test x${glibcxx_cv_func__logf_use+set} != xset; then
24306 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
24307 $as_echo_n "(cached) " >&6
24308 else
24311 ac_ext=cpp
24312 ac_cpp='$CXXCPP $CPPFLAGS'
24313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24318 /* end confdefs.h. */
24319 #include <math.h>
24320 #ifdef HAVE_IEEEFP_H
24321 #include <ieeefp.h>
24322 #endif
24325 main ()
24327 _logf(0);
24329 return 0;
24331 _ACEOF
24332 if ac_fn_cxx_try_compile "$LINENO"; then :
24333 glibcxx_cv_func__logf_use=yes
24334 else
24335 glibcxx_cv_func__logf_use=no
24337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24338 ac_ext=c
24339 ac_cpp='$CPP $CPPFLAGS'
24340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
24349 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
24351 if test x$glibcxx_cv_func__logf_use = x"yes"; then
24352 for ac_func in _logf
24353 do :
24354 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
24355 if test "x$ac_cv_func__logf" = x""yes; then :
24356 cat >>confdefs.h <<_ACEOF
24357 #define HAVE__LOGF 1
24358 _ACEOF
24361 done
24370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
24371 $as_echo_n "checking for log10f declaration... " >&6; }
24372 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
24373 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
24374 $as_echo_n "(cached) " >&6
24375 else
24378 ac_ext=cpp
24379 ac_cpp='$CXXCPP $CPPFLAGS'
24380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24385 /* end confdefs.h. */
24386 #include <math.h>
24387 #ifdef HAVE_IEEEFP_H
24388 #include <ieeefp.h>
24389 #endif
24392 main ()
24394 log10f(0);
24396 return 0;
24398 _ACEOF
24399 if ac_fn_cxx_try_compile "$LINENO"; then :
24400 glibcxx_cv_func_log10f_use=yes
24401 else
24402 glibcxx_cv_func_log10f_use=no
24404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24405 ac_ext=c
24406 ac_cpp='$CPP $CPPFLAGS'
24407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
24416 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
24418 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
24419 for ac_func in log10f
24420 do :
24421 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
24422 if test "x$ac_cv_func_log10f" = x""yes; then :
24423 cat >>confdefs.h <<_ACEOF
24424 #define HAVE_LOG10F 1
24425 _ACEOF
24428 done
24430 else
24432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
24433 $as_echo_n "checking for _log10f declaration... " >&6; }
24434 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
24435 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
24436 $as_echo_n "(cached) " >&6
24437 else
24440 ac_ext=cpp
24441 ac_cpp='$CXXCPP $CPPFLAGS'
24442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24447 /* end confdefs.h. */
24448 #include <math.h>
24449 #ifdef HAVE_IEEEFP_H
24450 #include <ieeefp.h>
24451 #endif
24454 main ()
24456 _log10f(0);
24458 return 0;
24460 _ACEOF
24461 if ac_fn_cxx_try_compile "$LINENO"; then :
24462 glibcxx_cv_func__log10f_use=yes
24463 else
24464 glibcxx_cv_func__log10f_use=no
24466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24467 ac_ext=c
24468 ac_cpp='$CPP $CPPFLAGS'
24469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
24478 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
24480 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
24481 for ac_func in _log10f
24482 do :
24483 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
24484 if test "x$ac_cv_func__log10f" = x""yes; then :
24485 cat >>confdefs.h <<_ACEOF
24486 #define HAVE__LOG10F 1
24487 _ACEOF
24490 done
24499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
24500 $as_echo_n "checking for modff declaration... " >&6; }
24501 if test x${glibcxx_cv_func_modff_use+set} != xset; then
24502 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
24503 $as_echo_n "(cached) " >&6
24504 else
24507 ac_ext=cpp
24508 ac_cpp='$CXXCPP $CPPFLAGS'
24509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24514 /* end confdefs.h. */
24515 #include <math.h>
24517 main ()
24519 modff(0, 0);
24521 return 0;
24523 _ACEOF
24524 if ac_fn_cxx_try_compile "$LINENO"; then :
24525 glibcxx_cv_func_modff_use=yes
24526 else
24527 glibcxx_cv_func_modff_use=no
24529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24530 ac_ext=c
24531 ac_cpp='$CPP $CPPFLAGS'
24532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
24541 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
24543 if test x$glibcxx_cv_func_modff_use = x"yes"; then
24544 for ac_func in modff
24545 do :
24546 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
24547 if test "x$ac_cv_func_modff" = x""yes; then :
24548 cat >>confdefs.h <<_ACEOF
24549 #define HAVE_MODFF 1
24550 _ACEOF
24553 done
24555 else
24557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
24558 $as_echo_n "checking for _modff declaration... " >&6; }
24559 if test x${glibcxx_cv_func__modff_use+set} != xset; then
24560 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
24561 $as_echo_n "(cached) " >&6
24562 else
24565 ac_ext=cpp
24566 ac_cpp='$CXXCPP $CPPFLAGS'
24567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24572 /* end confdefs.h. */
24573 #include <math.h>
24575 main ()
24577 _modff(0, 0);
24579 return 0;
24581 _ACEOF
24582 if ac_fn_cxx_try_compile "$LINENO"; then :
24583 glibcxx_cv_func__modff_use=yes
24584 else
24585 glibcxx_cv_func__modff_use=no
24587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24588 ac_ext=c
24589 ac_cpp='$CPP $CPPFLAGS'
24590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
24599 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
24601 if test x$glibcxx_cv_func__modff_use = x"yes"; then
24602 for ac_func in _modff
24603 do :
24604 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
24605 if test "x$ac_cv_func__modff" = x""yes; then :
24606 cat >>confdefs.h <<_ACEOF
24607 #define HAVE__MODFF 1
24608 _ACEOF
24611 done
24620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
24621 $as_echo_n "checking for modf declaration... " >&6; }
24622 if test x${glibcxx_cv_func_modf_use+set} != xset; then
24623 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
24624 $as_echo_n "(cached) " >&6
24625 else
24628 ac_ext=cpp
24629 ac_cpp='$CXXCPP $CPPFLAGS'
24630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24635 /* end confdefs.h. */
24636 #include <math.h>
24638 main ()
24640 modf(0, 0);
24642 return 0;
24644 _ACEOF
24645 if ac_fn_cxx_try_compile "$LINENO"; then :
24646 glibcxx_cv_func_modf_use=yes
24647 else
24648 glibcxx_cv_func_modf_use=no
24650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24651 ac_ext=c
24652 ac_cpp='$CPP $CPPFLAGS'
24653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
24662 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
24664 if test x$glibcxx_cv_func_modf_use = x"yes"; then
24665 for ac_func in modf
24666 do :
24667 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
24668 if test "x$ac_cv_func_modf" = x""yes; then :
24669 cat >>confdefs.h <<_ACEOF
24670 #define HAVE_MODF 1
24671 _ACEOF
24674 done
24676 else
24678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
24679 $as_echo_n "checking for _modf declaration... " >&6; }
24680 if test x${glibcxx_cv_func__modf_use+set} != xset; then
24681 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
24682 $as_echo_n "(cached) " >&6
24683 else
24686 ac_ext=cpp
24687 ac_cpp='$CXXCPP $CPPFLAGS'
24688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24693 /* end confdefs.h. */
24694 #include <math.h>
24696 main ()
24698 _modf(0, 0);
24700 return 0;
24702 _ACEOF
24703 if ac_fn_cxx_try_compile "$LINENO"; then :
24704 glibcxx_cv_func__modf_use=yes
24705 else
24706 glibcxx_cv_func__modf_use=no
24708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24709 ac_ext=c
24710 ac_cpp='$CPP $CPPFLAGS'
24711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
24720 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
24722 if test x$glibcxx_cv_func__modf_use = x"yes"; then
24723 for ac_func in _modf
24724 do :
24725 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
24726 if test "x$ac_cv_func__modf" = x""yes; then :
24727 cat >>confdefs.h <<_ACEOF
24728 #define HAVE__MODF 1
24729 _ACEOF
24732 done
24741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
24742 $as_echo_n "checking for powf declaration... " >&6; }
24743 if test x${glibcxx_cv_func_powf_use+set} != xset; then
24744 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
24745 $as_echo_n "(cached) " >&6
24746 else
24749 ac_ext=cpp
24750 ac_cpp='$CXXCPP $CPPFLAGS'
24751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24756 /* end confdefs.h. */
24757 #include <math.h>
24759 main ()
24761 powf(0, 0);
24763 return 0;
24765 _ACEOF
24766 if ac_fn_cxx_try_compile "$LINENO"; then :
24767 glibcxx_cv_func_powf_use=yes
24768 else
24769 glibcxx_cv_func_powf_use=no
24771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24772 ac_ext=c
24773 ac_cpp='$CPP $CPPFLAGS'
24774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
24783 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
24785 if test x$glibcxx_cv_func_powf_use = x"yes"; then
24786 for ac_func in powf
24787 do :
24788 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
24789 if test "x$ac_cv_func_powf" = x""yes; then :
24790 cat >>confdefs.h <<_ACEOF
24791 #define HAVE_POWF 1
24792 _ACEOF
24795 done
24797 else
24799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
24800 $as_echo_n "checking for _powf declaration... " >&6; }
24801 if test x${glibcxx_cv_func__powf_use+set} != xset; then
24802 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
24803 $as_echo_n "(cached) " >&6
24804 else
24807 ac_ext=cpp
24808 ac_cpp='$CXXCPP $CPPFLAGS'
24809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24814 /* end confdefs.h. */
24815 #include <math.h>
24817 main ()
24819 _powf(0, 0);
24821 return 0;
24823 _ACEOF
24824 if ac_fn_cxx_try_compile "$LINENO"; then :
24825 glibcxx_cv_func__powf_use=yes
24826 else
24827 glibcxx_cv_func__powf_use=no
24829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24830 ac_ext=c
24831 ac_cpp='$CPP $CPPFLAGS'
24832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
24841 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
24843 if test x$glibcxx_cv_func__powf_use = x"yes"; then
24844 for ac_func in _powf
24845 do :
24846 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
24847 if test "x$ac_cv_func__powf" = x""yes; then :
24848 cat >>confdefs.h <<_ACEOF
24849 #define HAVE__POWF 1
24850 _ACEOF
24853 done
24862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
24863 $as_echo_n "checking for sqrtf declaration... " >&6; }
24864 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
24865 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
24866 $as_echo_n "(cached) " >&6
24867 else
24870 ac_ext=cpp
24871 ac_cpp='$CXXCPP $CPPFLAGS'
24872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24877 /* end confdefs.h. */
24878 #include <math.h>
24879 #ifdef HAVE_IEEEFP_H
24880 #include <ieeefp.h>
24881 #endif
24884 main ()
24886 sqrtf(0);
24888 return 0;
24890 _ACEOF
24891 if ac_fn_cxx_try_compile "$LINENO"; then :
24892 glibcxx_cv_func_sqrtf_use=yes
24893 else
24894 glibcxx_cv_func_sqrtf_use=no
24896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24897 ac_ext=c
24898 ac_cpp='$CPP $CPPFLAGS'
24899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
24908 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
24910 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
24911 for ac_func in sqrtf
24912 do :
24913 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
24914 if test "x$ac_cv_func_sqrtf" = x""yes; then :
24915 cat >>confdefs.h <<_ACEOF
24916 #define HAVE_SQRTF 1
24917 _ACEOF
24920 done
24922 else
24924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
24925 $as_echo_n "checking for _sqrtf declaration... " >&6; }
24926 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
24927 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
24928 $as_echo_n "(cached) " >&6
24929 else
24932 ac_ext=cpp
24933 ac_cpp='$CXXCPP $CPPFLAGS'
24934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24939 /* end confdefs.h. */
24940 #include <math.h>
24941 #ifdef HAVE_IEEEFP_H
24942 #include <ieeefp.h>
24943 #endif
24946 main ()
24948 _sqrtf(0);
24950 return 0;
24952 _ACEOF
24953 if ac_fn_cxx_try_compile "$LINENO"; then :
24954 glibcxx_cv_func__sqrtf_use=yes
24955 else
24956 glibcxx_cv_func__sqrtf_use=no
24958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24959 ac_ext=c
24960 ac_cpp='$CPP $CPPFLAGS'
24961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
24970 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
24972 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
24973 for ac_func in _sqrtf
24974 do :
24975 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
24976 if test "x$ac_cv_func__sqrtf" = x""yes; then :
24977 cat >>confdefs.h <<_ACEOF
24978 #define HAVE__SQRTF 1
24979 _ACEOF
24982 done
24991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
24992 $as_echo_n "checking for sincosf declaration... " >&6; }
24993 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
24994 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
24995 $as_echo_n "(cached) " >&6
24996 else
24999 ac_ext=cpp
25000 ac_cpp='$CXXCPP $CPPFLAGS'
25001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25006 /* end confdefs.h. */
25007 #include <math.h>
25009 main ()
25011 sincosf(0, 0, 0);
25013 return 0;
25015 _ACEOF
25016 if ac_fn_cxx_try_compile "$LINENO"; then :
25017 glibcxx_cv_func_sincosf_use=yes
25018 else
25019 glibcxx_cv_func_sincosf_use=no
25021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25022 ac_ext=c
25023 ac_cpp='$CPP $CPPFLAGS'
25024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
25033 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
25035 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
25036 for ac_func in sincosf
25037 do :
25038 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
25039 if test "x$ac_cv_func_sincosf" = x""yes; then :
25040 cat >>confdefs.h <<_ACEOF
25041 #define HAVE_SINCOSF 1
25042 _ACEOF
25045 done
25047 else
25049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
25050 $as_echo_n "checking for _sincosf declaration... " >&6; }
25051 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
25052 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
25053 $as_echo_n "(cached) " >&6
25054 else
25057 ac_ext=cpp
25058 ac_cpp='$CXXCPP $CPPFLAGS'
25059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25064 /* end confdefs.h. */
25065 #include <math.h>
25067 main ()
25069 _sincosf(0, 0, 0);
25071 return 0;
25073 _ACEOF
25074 if ac_fn_cxx_try_compile "$LINENO"; then :
25075 glibcxx_cv_func__sincosf_use=yes
25076 else
25077 glibcxx_cv_func__sincosf_use=no
25079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25080 ac_ext=c
25081 ac_cpp='$CPP $CPPFLAGS'
25082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
25091 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
25093 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
25094 for ac_func in _sincosf
25095 do :
25096 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
25097 if test "x$ac_cv_func__sincosf" = x""yes; then :
25098 cat >>confdefs.h <<_ACEOF
25099 #define HAVE__SINCOSF 1
25100 _ACEOF
25103 done
25112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
25113 $as_echo_n "checking for finitef declaration... " >&6; }
25114 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
25115 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
25116 $as_echo_n "(cached) " >&6
25117 else
25120 ac_ext=cpp
25121 ac_cpp='$CXXCPP $CPPFLAGS'
25122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25127 /* end confdefs.h. */
25128 #include <math.h>
25129 #ifdef HAVE_IEEEFP_H
25130 #include <ieeefp.h>
25131 #endif
25134 main ()
25136 finitef(0);
25138 return 0;
25140 _ACEOF
25141 if ac_fn_cxx_try_compile "$LINENO"; then :
25142 glibcxx_cv_func_finitef_use=yes
25143 else
25144 glibcxx_cv_func_finitef_use=no
25146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25147 ac_ext=c
25148 ac_cpp='$CPP $CPPFLAGS'
25149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
25158 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
25160 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
25161 for ac_func in finitef
25162 do :
25163 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
25164 if test "x$ac_cv_func_finitef" = x""yes; then :
25165 cat >>confdefs.h <<_ACEOF
25166 #define HAVE_FINITEF 1
25167 _ACEOF
25170 done
25172 else
25174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
25175 $as_echo_n "checking for _finitef declaration... " >&6; }
25176 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
25177 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
25178 $as_echo_n "(cached) " >&6
25179 else
25182 ac_ext=cpp
25183 ac_cpp='$CXXCPP $CPPFLAGS'
25184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25189 /* end confdefs.h. */
25190 #include <math.h>
25191 #ifdef HAVE_IEEEFP_H
25192 #include <ieeefp.h>
25193 #endif
25196 main ()
25198 _finitef(0);
25200 return 0;
25202 _ACEOF
25203 if ac_fn_cxx_try_compile "$LINENO"; then :
25204 glibcxx_cv_func__finitef_use=yes
25205 else
25206 glibcxx_cv_func__finitef_use=no
25208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25209 ac_ext=c
25210 ac_cpp='$CPP $CPPFLAGS'
25211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
25220 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
25222 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
25223 for ac_func in _finitef
25224 do :
25225 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
25226 if test "x$ac_cv_func__finitef" = x""yes; then :
25227 cat >>confdefs.h <<_ACEOF
25228 #define HAVE__FINITEF 1
25229 _ACEOF
25232 done
25241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
25242 $as_echo_n "checking for long double trig functions... " >&6; }
25243 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
25244 $as_echo_n "(cached) " >&6
25245 else
25248 ac_ext=cpp
25249 ac_cpp='$CXXCPP $CPPFLAGS'
25250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25255 /* end confdefs.h. */
25256 #include <math.h>
25258 main ()
25260 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
25262 return 0;
25264 _ACEOF
25265 if ac_fn_cxx_try_compile "$LINENO"; then :
25266 glibcxx_cv_func_long_double_trig_use=yes
25267 else
25268 glibcxx_cv_func_long_double_trig_use=no
25270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25271 ac_ext=c
25272 ac_cpp='$CPP $CPPFLAGS'
25273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
25280 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
25281 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
25282 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
25283 do :
25284 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25285 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25286 eval as_val=\$$as_ac_var
25287 if test "x$as_val" = x""yes; then :
25288 cat >>confdefs.h <<_ACEOF
25289 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25290 _ACEOF
25293 done
25295 else
25296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
25297 $as_echo_n "checking for _long double trig functions... " >&6; }
25298 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
25299 $as_echo_n "(cached) " >&6
25300 else
25303 ac_ext=cpp
25304 ac_cpp='$CXXCPP $CPPFLAGS'
25305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25310 /* end confdefs.h. */
25311 #include <math.h>
25313 main ()
25315 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
25317 return 0;
25319 _ACEOF
25320 if ac_fn_cxx_try_compile "$LINENO"; then :
25321 glibcxx_cv_func__long_double_trig_use=yes
25322 else
25323 glibcxx_cv_func__long_double_trig_use=no
25325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25326 ac_ext=c
25327 ac_cpp='$CPP $CPPFLAGS'
25328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
25335 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
25336 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
25337 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
25338 do :
25339 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25340 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25341 eval as_val=\$$as_ac_var
25342 if test "x$as_val" = x""yes; then :
25343 cat >>confdefs.h <<_ACEOF
25344 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25345 _ACEOF
25348 done
25357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
25358 $as_echo_n "checking for long double round functions... " >&6; }
25359 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
25360 $as_echo_n "(cached) " >&6
25361 else
25364 ac_ext=cpp
25365 ac_cpp='$CXXCPP $CPPFLAGS'
25366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25371 /* end confdefs.h. */
25372 #include <math.h>
25374 main ()
25376 ceill (0); floorl (0);
25378 return 0;
25380 _ACEOF
25381 if ac_fn_cxx_try_compile "$LINENO"; then :
25382 glibcxx_cv_func_long_double_round_use=yes
25383 else
25384 glibcxx_cv_func_long_double_round_use=no
25386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25387 ac_ext=c
25388 ac_cpp='$CPP $CPPFLAGS'
25389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
25396 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
25397 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
25398 for ac_func in ceill floorl
25399 do :
25400 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25401 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25402 eval as_val=\$$as_ac_var
25403 if test "x$as_val" = x""yes; then :
25404 cat >>confdefs.h <<_ACEOF
25405 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25406 _ACEOF
25409 done
25411 else
25412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
25413 $as_echo_n "checking for _long double round functions... " >&6; }
25414 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
25415 $as_echo_n "(cached) " >&6
25416 else
25419 ac_ext=cpp
25420 ac_cpp='$CXXCPP $CPPFLAGS'
25421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25426 /* end confdefs.h. */
25427 #include <math.h>
25429 main ()
25431 _ceill (0); _floorl (0);
25433 return 0;
25435 _ACEOF
25436 if ac_fn_cxx_try_compile "$LINENO"; then :
25437 glibcxx_cv_func__long_double_round_use=yes
25438 else
25439 glibcxx_cv_func__long_double_round_use=no
25441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25442 ac_ext=c
25443 ac_cpp='$CPP $CPPFLAGS'
25444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
25451 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
25452 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
25453 for ac_func in _ceill _floorl
25454 do :
25455 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25456 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25457 eval as_val=\$$as_ac_var
25458 if test "x$as_val" = x""yes; then :
25459 cat >>confdefs.h <<_ACEOF
25460 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25461 _ACEOF
25464 done
25474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
25475 $as_echo_n "checking for isnanl declaration... " >&6; }
25476 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
25477 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
25478 $as_echo_n "(cached) " >&6
25479 else
25482 ac_ext=cpp
25483 ac_cpp='$CXXCPP $CPPFLAGS'
25484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25489 /* end confdefs.h. */
25490 #include <math.h>
25491 #ifdef HAVE_IEEEFP_H
25492 #include <ieeefp.h>
25493 #endif
25496 main ()
25498 isnanl(0);
25500 return 0;
25502 _ACEOF
25503 if ac_fn_cxx_try_compile "$LINENO"; then :
25504 glibcxx_cv_func_isnanl_use=yes
25505 else
25506 glibcxx_cv_func_isnanl_use=no
25508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25509 ac_ext=c
25510 ac_cpp='$CPP $CPPFLAGS'
25511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
25520 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
25522 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
25523 for ac_func in isnanl
25524 do :
25525 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
25526 if test "x$ac_cv_func_isnanl" = x""yes; then :
25527 cat >>confdefs.h <<_ACEOF
25528 #define HAVE_ISNANL 1
25529 _ACEOF
25532 done
25534 else
25536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
25537 $as_echo_n "checking for _isnanl declaration... " >&6; }
25538 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
25539 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
25540 $as_echo_n "(cached) " >&6
25541 else
25544 ac_ext=cpp
25545 ac_cpp='$CXXCPP $CPPFLAGS'
25546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25551 /* end confdefs.h. */
25552 #include <math.h>
25553 #ifdef HAVE_IEEEFP_H
25554 #include <ieeefp.h>
25555 #endif
25558 main ()
25560 _isnanl(0);
25562 return 0;
25564 _ACEOF
25565 if ac_fn_cxx_try_compile "$LINENO"; then :
25566 glibcxx_cv_func__isnanl_use=yes
25567 else
25568 glibcxx_cv_func__isnanl_use=no
25570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25571 ac_ext=c
25572 ac_cpp='$CPP $CPPFLAGS'
25573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
25582 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
25584 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
25585 for ac_func in _isnanl
25586 do :
25587 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
25588 if test "x$ac_cv_func__isnanl" = x""yes; then :
25589 cat >>confdefs.h <<_ACEOF
25590 #define HAVE__ISNANL 1
25591 _ACEOF
25594 done
25603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
25604 $as_echo_n "checking for isinfl declaration... " >&6; }
25605 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
25606 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
25607 $as_echo_n "(cached) " >&6
25608 else
25611 ac_ext=cpp
25612 ac_cpp='$CXXCPP $CPPFLAGS'
25613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25618 /* end confdefs.h. */
25619 #include <math.h>
25620 #ifdef HAVE_IEEEFP_H
25621 #include <ieeefp.h>
25622 #endif
25625 main ()
25627 isinfl(0);
25629 return 0;
25631 _ACEOF
25632 if ac_fn_cxx_try_compile "$LINENO"; then :
25633 glibcxx_cv_func_isinfl_use=yes
25634 else
25635 glibcxx_cv_func_isinfl_use=no
25637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25638 ac_ext=c
25639 ac_cpp='$CPP $CPPFLAGS'
25640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
25649 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
25651 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
25652 for ac_func in isinfl
25653 do :
25654 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
25655 if test "x$ac_cv_func_isinfl" = x""yes; then :
25656 cat >>confdefs.h <<_ACEOF
25657 #define HAVE_ISINFL 1
25658 _ACEOF
25661 done
25663 else
25665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
25666 $as_echo_n "checking for _isinfl declaration... " >&6; }
25667 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
25668 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
25669 $as_echo_n "(cached) " >&6
25670 else
25673 ac_ext=cpp
25674 ac_cpp='$CXXCPP $CPPFLAGS'
25675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25680 /* end confdefs.h. */
25681 #include <math.h>
25682 #ifdef HAVE_IEEEFP_H
25683 #include <ieeefp.h>
25684 #endif
25687 main ()
25689 _isinfl(0);
25691 return 0;
25693 _ACEOF
25694 if ac_fn_cxx_try_compile "$LINENO"; then :
25695 glibcxx_cv_func__isinfl_use=yes
25696 else
25697 glibcxx_cv_func__isinfl_use=no
25699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25700 ac_ext=c
25701 ac_cpp='$CPP $CPPFLAGS'
25702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
25711 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
25713 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
25714 for ac_func in _isinfl
25715 do :
25716 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
25717 if test "x$ac_cv_func__isinfl" = x""yes; then :
25718 cat >>confdefs.h <<_ACEOF
25719 #define HAVE__ISINFL 1
25720 _ACEOF
25723 done
25732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
25733 $as_echo_n "checking for atan2l declaration... " >&6; }
25734 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
25735 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
25736 $as_echo_n "(cached) " >&6
25737 else
25740 ac_ext=cpp
25741 ac_cpp='$CXXCPP $CPPFLAGS'
25742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25747 /* end confdefs.h. */
25748 #include <math.h>
25750 main ()
25752 atan2l(0, 0);
25754 return 0;
25756 _ACEOF
25757 if ac_fn_cxx_try_compile "$LINENO"; then :
25758 glibcxx_cv_func_atan2l_use=yes
25759 else
25760 glibcxx_cv_func_atan2l_use=no
25762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25763 ac_ext=c
25764 ac_cpp='$CPP $CPPFLAGS'
25765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
25774 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
25776 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
25777 for ac_func in atan2l
25778 do :
25779 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
25780 if test "x$ac_cv_func_atan2l" = x""yes; then :
25781 cat >>confdefs.h <<_ACEOF
25782 #define HAVE_ATAN2L 1
25783 _ACEOF
25786 done
25788 else
25790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
25791 $as_echo_n "checking for _atan2l declaration... " >&6; }
25792 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
25793 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
25794 $as_echo_n "(cached) " >&6
25795 else
25798 ac_ext=cpp
25799 ac_cpp='$CXXCPP $CPPFLAGS'
25800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25805 /* end confdefs.h. */
25806 #include <math.h>
25808 main ()
25810 _atan2l(0, 0);
25812 return 0;
25814 _ACEOF
25815 if ac_fn_cxx_try_compile "$LINENO"; then :
25816 glibcxx_cv_func__atan2l_use=yes
25817 else
25818 glibcxx_cv_func__atan2l_use=no
25820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25821 ac_ext=c
25822 ac_cpp='$CPP $CPPFLAGS'
25823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
25832 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
25834 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
25835 for ac_func in _atan2l
25836 do :
25837 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
25838 if test "x$ac_cv_func__atan2l" = x""yes; then :
25839 cat >>confdefs.h <<_ACEOF
25840 #define HAVE__ATAN2L 1
25841 _ACEOF
25844 done
25853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
25854 $as_echo_n "checking for expl declaration... " >&6; }
25855 if test x${glibcxx_cv_func_expl_use+set} != xset; then
25856 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
25857 $as_echo_n "(cached) " >&6
25858 else
25861 ac_ext=cpp
25862 ac_cpp='$CXXCPP $CPPFLAGS'
25863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25868 /* end confdefs.h. */
25869 #include <math.h>
25870 #ifdef HAVE_IEEEFP_H
25871 #include <ieeefp.h>
25872 #endif
25875 main ()
25877 expl(0);
25879 return 0;
25881 _ACEOF
25882 if ac_fn_cxx_try_compile "$LINENO"; then :
25883 glibcxx_cv_func_expl_use=yes
25884 else
25885 glibcxx_cv_func_expl_use=no
25887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25888 ac_ext=c
25889 ac_cpp='$CPP $CPPFLAGS'
25890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
25899 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
25901 if test x$glibcxx_cv_func_expl_use = x"yes"; then
25902 for ac_func in expl
25903 do :
25904 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
25905 if test "x$ac_cv_func_expl" = x""yes; then :
25906 cat >>confdefs.h <<_ACEOF
25907 #define HAVE_EXPL 1
25908 _ACEOF
25911 done
25913 else
25915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
25916 $as_echo_n "checking for _expl declaration... " >&6; }
25917 if test x${glibcxx_cv_func__expl_use+set} != xset; then
25918 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
25919 $as_echo_n "(cached) " >&6
25920 else
25923 ac_ext=cpp
25924 ac_cpp='$CXXCPP $CPPFLAGS'
25925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25930 /* end confdefs.h. */
25931 #include <math.h>
25932 #ifdef HAVE_IEEEFP_H
25933 #include <ieeefp.h>
25934 #endif
25937 main ()
25939 _expl(0);
25941 return 0;
25943 _ACEOF
25944 if ac_fn_cxx_try_compile "$LINENO"; then :
25945 glibcxx_cv_func__expl_use=yes
25946 else
25947 glibcxx_cv_func__expl_use=no
25949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25950 ac_ext=c
25951 ac_cpp='$CPP $CPPFLAGS'
25952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
25961 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
25963 if test x$glibcxx_cv_func__expl_use = x"yes"; then
25964 for ac_func in _expl
25965 do :
25966 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
25967 if test "x$ac_cv_func__expl" = x""yes; then :
25968 cat >>confdefs.h <<_ACEOF
25969 #define HAVE__EXPL 1
25970 _ACEOF
25973 done
25982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
25983 $as_echo_n "checking for fabsl declaration... " >&6; }
25984 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
25985 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
25986 $as_echo_n "(cached) " >&6
25987 else
25990 ac_ext=cpp
25991 ac_cpp='$CXXCPP $CPPFLAGS'
25992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25997 /* end confdefs.h. */
25998 #include <math.h>
25999 #ifdef HAVE_IEEEFP_H
26000 #include <ieeefp.h>
26001 #endif
26004 main ()
26006 fabsl(0);
26008 return 0;
26010 _ACEOF
26011 if ac_fn_cxx_try_compile "$LINENO"; then :
26012 glibcxx_cv_func_fabsl_use=yes
26013 else
26014 glibcxx_cv_func_fabsl_use=no
26016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26017 ac_ext=c
26018 ac_cpp='$CPP $CPPFLAGS'
26019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
26028 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
26030 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
26031 for ac_func in fabsl
26032 do :
26033 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
26034 if test "x$ac_cv_func_fabsl" = x""yes; then :
26035 cat >>confdefs.h <<_ACEOF
26036 #define HAVE_FABSL 1
26037 _ACEOF
26040 done
26042 else
26044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
26045 $as_echo_n "checking for _fabsl declaration... " >&6; }
26046 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
26047 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
26048 $as_echo_n "(cached) " >&6
26049 else
26052 ac_ext=cpp
26053 ac_cpp='$CXXCPP $CPPFLAGS'
26054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26059 /* end confdefs.h. */
26060 #include <math.h>
26061 #ifdef HAVE_IEEEFP_H
26062 #include <ieeefp.h>
26063 #endif
26066 main ()
26068 _fabsl(0);
26070 return 0;
26072 _ACEOF
26073 if ac_fn_cxx_try_compile "$LINENO"; then :
26074 glibcxx_cv_func__fabsl_use=yes
26075 else
26076 glibcxx_cv_func__fabsl_use=no
26078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26079 ac_ext=c
26080 ac_cpp='$CPP $CPPFLAGS'
26081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
26090 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
26092 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
26093 for ac_func in _fabsl
26094 do :
26095 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
26096 if test "x$ac_cv_func__fabsl" = x""yes; then :
26097 cat >>confdefs.h <<_ACEOF
26098 #define HAVE__FABSL 1
26099 _ACEOF
26102 done
26111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
26112 $as_echo_n "checking for fmodl declaration... " >&6; }
26113 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
26114 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
26115 $as_echo_n "(cached) " >&6
26116 else
26119 ac_ext=cpp
26120 ac_cpp='$CXXCPP $CPPFLAGS'
26121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26126 /* end confdefs.h. */
26127 #include <math.h>
26129 main ()
26131 fmodl(0, 0);
26133 return 0;
26135 _ACEOF
26136 if ac_fn_cxx_try_compile "$LINENO"; then :
26137 glibcxx_cv_func_fmodl_use=yes
26138 else
26139 glibcxx_cv_func_fmodl_use=no
26141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26142 ac_ext=c
26143 ac_cpp='$CPP $CPPFLAGS'
26144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
26153 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
26155 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
26156 for ac_func in fmodl
26157 do :
26158 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
26159 if test "x$ac_cv_func_fmodl" = x""yes; then :
26160 cat >>confdefs.h <<_ACEOF
26161 #define HAVE_FMODL 1
26162 _ACEOF
26165 done
26167 else
26169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
26170 $as_echo_n "checking for _fmodl declaration... " >&6; }
26171 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
26172 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
26173 $as_echo_n "(cached) " >&6
26174 else
26177 ac_ext=cpp
26178 ac_cpp='$CXXCPP $CPPFLAGS'
26179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26184 /* end confdefs.h. */
26185 #include <math.h>
26187 main ()
26189 _fmodl(0, 0);
26191 return 0;
26193 _ACEOF
26194 if ac_fn_cxx_try_compile "$LINENO"; then :
26195 glibcxx_cv_func__fmodl_use=yes
26196 else
26197 glibcxx_cv_func__fmodl_use=no
26199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26200 ac_ext=c
26201 ac_cpp='$CPP $CPPFLAGS'
26202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
26211 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
26213 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
26214 for ac_func in _fmodl
26215 do :
26216 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
26217 if test "x$ac_cv_func__fmodl" = x""yes; then :
26218 cat >>confdefs.h <<_ACEOF
26219 #define HAVE__FMODL 1
26220 _ACEOF
26223 done
26232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
26233 $as_echo_n "checking for frexpl declaration... " >&6; }
26234 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
26235 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
26236 $as_echo_n "(cached) " >&6
26237 else
26240 ac_ext=cpp
26241 ac_cpp='$CXXCPP $CPPFLAGS'
26242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26247 /* end confdefs.h. */
26248 #include <math.h>
26250 main ()
26252 frexpl(0, 0);
26254 return 0;
26256 _ACEOF
26257 if ac_fn_cxx_try_compile "$LINENO"; then :
26258 glibcxx_cv_func_frexpl_use=yes
26259 else
26260 glibcxx_cv_func_frexpl_use=no
26262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26263 ac_ext=c
26264 ac_cpp='$CPP $CPPFLAGS'
26265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
26274 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
26276 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
26277 for ac_func in frexpl
26278 do :
26279 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
26280 if test "x$ac_cv_func_frexpl" = x""yes; then :
26281 cat >>confdefs.h <<_ACEOF
26282 #define HAVE_FREXPL 1
26283 _ACEOF
26286 done
26288 else
26290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
26291 $as_echo_n "checking for _frexpl declaration... " >&6; }
26292 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
26293 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
26294 $as_echo_n "(cached) " >&6
26295 else
26298 ac_ext=cpp
26299 ac_cpp='$CXXCPP $CPPFLAGS'
26300 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26301 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26302 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26305 /* end confdefs.h. */
26306 #include <math.h>
26308 main ()
26310 _frexpl(0, 0);
26312 return 0;
26314 _ACEOF
26315 if ac_fn_cxx_try_compile "$LINENO"; then :
26316 glibcxx_cv_func__frexpl_use=yes
26317 else
26318 glibcxx_cv_func__frexpl_use=no
26320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26321 ac_ext=c
26322 ac_cpp='$CPP $CPPFLAGS'
26323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
26332 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
26334 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
26335 for ac_func in _frexpl
26336 do :
26337 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
26338 if test "x$ac_cv_func__frexpl" = x""yes; then :
26339 cat >>confdefs.h <<_ACEOF
26340 #define HAVE__FREXPL 1
26341 _ACEOF
26344 done
26353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
26354 $as_echo_n "checking for hypotl declaration... " >&6; }
26355 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
26356 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
26357 $as_echo_n "(cached) " >&6
26358 else
26361 ac_ext=cpp
26362 ac_cpp='$CXXCPP $CPPFLAGS'
26363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26368 /* end confdefs.h. */
26369 #include <math.h>
26371 main ()
26373 hypotl(0, 0);
26375 return 0;
26377 _ACEOF
26378 if ac_fn_cxx_try_compile "$LINENO"; then :
26379 glibcxx_cv_func_hypotl_use=yes
26380 else
26381 glibcxx_cv_func_hypotl_use=no
26383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26384 ac_ext=c
26385 ac_cpp='$CPP $CPPFLAGS'
26386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
26395 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
26397 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
26398 for ac_func in hypotl
26399 do :
26400 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
26401 if test "x$ac_cv_func_hypotl" = x""yes; then :
26402 cat >>confdefs.h <<_ACEOF
26403 #define HAVE_HYPOTL 1
26404 _ACEOF
26407 done
26409 else
26411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
26412 $as_echo_n "checking for _hypotl declaration... " >&6; }
26413 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
26414 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
26415 $as_echo_n "(cached) " >&6
26416 else
26419 ac_ext=cpp
26420 ac_cpp='$CXXCPP $CPPFLAGS'
26421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26426 /* end confdefs.h. */
26427 #include <math.h>
26429 main ()
26431 _hypotl(0, 0);
26433 return 0;
26435 _ACEOF
26436 if ac_fn_cxx_try_compile "$LINENO"; then :
26437 glibcxx_cv_func__hypotl_use=yes
26438 else
26439 glibcxx_cv_func__hypotl_use=no
26441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26442 ac_ext=c
26443 ac_cpp='$CPP $CPPFLAGS'
26444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
26453 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
26455 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
26456 for ac_func in _hypotl
26457 do :
26458 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
26459 if test "x$ac_cv_func__hypotl" = x""yes; then :
26460 cat >>confdefs.h <<_ACEOF
26461 #define HAVE__HYPOTL 1
26462 _ACEOF
26465 done
26474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
26475 $as_echo_n "checking for ldexpl declaration... " >&6; }
26476 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
26477 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
26478 $as_echo_n "(cached) " >&6
26479 else
26482 ac_ext=cpp
26483 ac_cpp='$CXXCPP $CPPFLAGS'
26484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26489 /* end confdefs.h. */
26490 #include <math.h>
26492 main ()
26494 ldexpl(0, 0);
26496 return 0;
26498 _ACEOF
26499 if ac_fn_cxx_try_compile "$LINENO"; then :
26500 glibcxx_cv_func_ldexpl_use=yes
26501 else
26502 glibcxx_cv_func_ldexpl_use=no
26504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26505 ac_ext=c
26506 ac_cpp='$CPP $CPPFLAGS'
26507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
26516 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
26518 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
26519 for ac_func in ldexpl
26520 do :
26521 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
26522 if test "x$ac_cv_func_ldexpl" = x""yes; then :
26523 cat >>confdefs.h <<_ACEOF
26524 #define HAVE_LDEXPL 1
26525 _ACEOF
26528 done
26530 else
26532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
26533 $as_echo_n "checking for _ldexpl declaration... " >&6; }
26534 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
26535 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
26536 $as_echo_n "(cached) " >&6
26537 else
26540 ac_ext=cpp
26541 ac_cpp='$CXXCPP $CPPFLAGS'
26542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26547 /* end confdefs.h. */
26548 #include <math.h>
26550 main ()
26552 _ldexpl(0, 0);
26554 return 0;
26556 _ACEOF
26557 if ac_fn_cxx_try_compile "$LINENO"; then :
26558 glibcxx_cv_func__ldexpl_use=yes
26559 else
26560 glibcxx_cv_func__ldexpl_use=no
26562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26563 ac_ext=c
26564 ac_cpp='$CPP $CPPFLAGS'
26565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
26574 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
26576 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
26577 for ac_func in _ldexpl
26578 do :
26579 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
26580 if test "x$ac_cv_func__ldexpl" = x""yes; then :
26581 cat >>confdefs.h <<_ACEOF
26582 #define HAVE__LDEXPL 1
26583 _ACEOF
26586 done
26595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
26596 $as_echo_n "checking for logl declaration... " >&6; }
26597 if test x${glibcxx_cv_func_logl_use+set} != xset; then
26598 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
26599 $as_echo_n "(cached) " >&6
26600 else
26603 ac_ext=cpp
26604 ac_cpp='$CXXCPP $CPPFLAGS'
26605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26610 /* end confdefs.h. */
26611 #include <math.h>
26612 #ifdef HAVE_IEEEFP_H
26613 #include <ieeefp.h>
26614 #endif
26617 main ()
26619 logl(0);
26621 return 0;
26623 _ACEOF
26624 if ac_fn_cxx_try_compile "$LINENO"; then :
26625 glibcxx_cv_func_logl_use=yes
26626 else
26627 glibcxx_cv_func_logl_use=no
26629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26630 ac_ext=c
26631 ac_cpp='$CPP $CPPFLAGS'
26632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
26641 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
26643 if test x$glibcxx_cv_func_logl_use = x"yes"; then
26644 for ac_func in logl
26645 do :
26646 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
26647 if test "x$ac_cv_func_logl" = x""yes; then :
26648 cat >>confdefs.h <<_ACEOF
26649 #define HAVE_LOGL 1
26650 _ACEOF
26653 done
26655 else
26657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
26658 $as_echo_n "checking for _logl declaration... " >&6; }
26659 if test x${glibcxx_cv_func__logl_use+set} != xset; then
26660 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
26661 $as_echo_n "(cached) " >&6
26662 else
26665 ac_ext=cpp
26666 ac_cpp='$CXXCPP $CPPFLAGS'
26667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26672 /* end confdefs.h. */
26673 #include <math.h>
26674 #ifdef HAVE_IEEEFP_H
26675 #include <ieeefp.h>
26676 #endif
26679 main ()
26681 _logl(0);
26683 return 0;
26685 _ACEOF
26686 if ac_fn_cxx_try_compile "$LINENO"; then :
26687 glibcxx_cv_func__logl_use=yes
26688 else
26689 glibcxx_cv_func__logl_use=no
26691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26692 ac_ext=c
26693 ac_cpp='$CPP $CPPFLAGS'
26694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
26703 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
26705 if test x$glibcxx_cv_func__logl_use = x"yes"; then
26706 for ac_func in _logl
26707 do :
26708 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
26709 if test "x$ac_cv_func__logl" = x""yes; then :
26710 cat >>confdefs.h <<_ACEOF
26711 #define HAVE__LOGL 1
26712 _ACEOF
26715 done
26724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
26725 $as_echo_n "checking for log10l declaration... " >&6; }
26726 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
26727 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
26728 $as_echo_n "(cached) " >&6
26729 else
26732 ac_ext=cpp
26733 ac_cpp='$CXXCPP $CPPFLAGS'
26734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26739 /* end confdefs.h. */
26740 #include <math.h>
26741 #ifdef HAVE_IEEEFP_H
26742 #include <ieeefp.h>
26743 #endif
26746 main ()
26748 log10l(0);
26750 return 0;
26752 _ACEOF
26753 if ac_fn_cxx_try_compile "$LINENO"; then :
26754 glibcxx_cv_func_log10l_use=yes
26755 else
26756 glibcxx_cv_func_log10l_use=no
26758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26759 ac_ext=c
26760 ac_cpp='$CPP $CPPFLAGS'
26761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
26770 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
26772 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
26773 for ac_func in log10l
26774 do :
26775 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
26776 if test "x$ac_cv_func_log10l" = x""yes; then :
26777 cat >>confdefs.h <<_ACEOF
26778 #define HAVE_LOG10L 1
26779 _ACEOF
26782 done
26784 else
26786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
26787 $as_echo_n "checking for _log10l declaration... " >&6; }
26788 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
26789 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
26790 $as_echo_n "(cached) " >&6
26791 else
26794 ac_ext=cpp
26795 ac_cpp='$CXXCPP $CPPFLAGS'
26796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26801 /* end confdefs.h. */
26802 #include <math.h>
26803 #ifdef HAVE_IEEEFP_H
26804 #include <ieeefp.h>
26805 #endif
26808 main ()
26810 _log10l(0);
26812 return 0;
26814 _ACEOF
26815 if ac_fn_cxx_try_compile "$LINENO"; then :
26816 glibcxx_cv_func__log10l_use=yes
26817 else
26818 glibcxx_cv_func__log10l_use=no
26820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26821 ac_ext=c
26822 ac_cpp='$CPP $CPPFLAGS'
26823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
26832 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
26834 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
26835 for ac_func in _log10l
26836 do :
26837 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
26838 if test "x$ac_cv_func__log10l" = x""yes; then :
26839 cat >>confdefs.h <<_ACEOF
26840 #define HAVE__LOG10L 1
26841 _ACEOF
26844 done
26853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
26854 $as_echo_n "checking for modfl declaration... " >&6; }
26855 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
26856 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
26857 $as_echo_n "(cached) " >&6
26858 else
26861 ac_ext=cpp
26862 ac_cpp='$CXXCPP $CPPFLAGS'
26863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26868 /* end confdefs.h. */
26869 #include <math.h>
26871 main ()
26873 modfl(0, 0);
26875 return 0;
26877 _ACEOF
26878 if ac_fn_cxx_try_compile "$LINENO"; then :
26879 glibcxx_cv_func_modfl_use=yes
26880 else
26881 glibcxx_cv_func_modfl_use=no
26883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26884 ac_ext=c
26885 ac_cpp='$CPP $CPPFLAGS'
26886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
26895 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
26897 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
26898 for ac_func in modfl
26899 do :
26900 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
26901 if test "x$ac_cv_func_modfl" = x""yes; then :
26902 cat >>confdefs.h <<_ACEOF
26903 #define HAVE_MODFL 1
26904 _ACEOF
26907 done
26909 else
26911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
26912 $as_echo_n "checking for _modfl declaration... " >&6; }
26913 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
26914 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
26915 $as_echo_n "(cached) " >&6
26916 else
26919 ac_ext=cpp
26920 ac_cpp='$CXXCPP $CPPFLAGS'
26921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26926 /* end confdefs.h. */
26927 #include <math.h>
26929 main ()
26931 _modfl(0, 0);
26933 return 0;
26935 _ACEOF
26936 if ac_fn_cxx_try_compile "$LINENO"; then :
26937 glibcxx_cv_func__modfl_use=yes
26938 else
26939 glibcxx_cv_func__modfl_use=no
26941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26942 ac_ext=c
26943 ac_cpp='$CPP $CPPFLAGS'
26944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
26953 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
26955 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
26956 for ac_func in _modfl
26957 do :
26958 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
26959 if test "x$ac_cv_func__modfl" = x""yes; then :
26960 cat >>confdefs.h <<_ACEOF
26961 #define HAVE__MODFL 1
26962 _ACEOF
26965 done
26974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
26975 $as_echo_n "checking for powl declaration... " >&6; }
26976 if test x${glibcxx_cv_func_powl_use+set} != xset; then
26977 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
26978 $as_echo_n "(cached) " >&6
26979 else
26982 ac_ext=cpp
26983 ac_cpp='$CXXCPP $CPPFLAGS'
26984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26989 /* end confdefs.h. */
26990 #include <math.h>
26992 main ()
26994 powl(0, 0);
26996 return 0;
26998 _ACEOF
26999 if ac_fn_cxx_try_compile "$LINENO"; then :
27000 glibcxx_cv_func_powl_use=yes
27001 else
27002 glibcxx_cv_func_powl_use=no
27004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27005 ac_ext=c
27006 ac_cpp='$CPP $CPPFLAGS'
27007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
27016 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
27018 if test x$glibcxx_cv_func_powl_use = x"yes"; then
27019 for ac_func in powl
27020 do :
27021 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
27022 if test "x$ac_cv_func_powl" = x""yes; then :
27023 cat >>confdefs.h <<_ACEOF
27024 #define HAVE_POWL 1
27025 _ACEOF
27028 done
27030 else
27032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
27033 $as_echo_n "checking for _powl declaration... " >&6; }
27034 if test x${glibcxx_cv_func__powl_use+set} != xset; then
27035 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
27036 $as_echo_n "(cached) " >&6
27037 else
27040 ac_ext=cpp
27041 ac_cpp='$CXXCPP $CPPFLAGS'
27042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27047 /* end confdefs.h. */
27048 #include <math.h>
27050 main ()
27052 _powl(0, 0);
27054 return 0;
27056 _ACEOF
27057 if ac_fn_cxx_try_compile "$LINENO"; then :
27058 glibcxx_cv_func__powl_use=yes
27059 else
27060 glibcxx_cv_func__powl_use=no
27062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27063 ac_ext=c
27064 ac_cpp='$CPP $CPPFLAGS'
27065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
27074 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
27076 if test x$glibcxx_cv_func__powl_use = x"yes"; then
27077 for ac_func in _powl
27078 do :
27079 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
27080 if test "x$ac_cv_func__powl" = x""yes; then :
27081 cat >>confdefs.h <<_ACEOF
27082 #define HAVE__POWL 1
27083 _ACEOF
27086 done
27095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
27096 $as_echo_n "checking for sqrtl declaration... " >&6; }
27097 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
27098 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
27099 $as_echo_n "(cached) " >&6
27100 else
27103 ac_ext=cpp
27104 ac_cpp='$CXXCPP $CPPFLAGS'
27105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27110 /* end confdefs.h. */
27111 #include <math.h>
27112 #ifdef HAVE_IEEEFP_H
27113 #include <ieeefp.h>
27114 #endif
27117 main ()
27119 sqrtl(0);
27121 return 0;
27123 _ACEOF
27124 if ac_fn_cxx_try_compile "$LINENO"; then :
27125 glibcxx_cv_func_sqrtl_use=yes
27126 else
27127 glibcxx_cv_func_sqrtl_use=no
27129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27130 ac_ext=c
27131 ac_cpp='$CPP $CPPFLAGS'
27132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
27141 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
27143 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
27144 for ac_func in sqrtl
27145 do :
27146 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
27147 if test "x$ac_cv_func_sqrtl" = x""yes; then :
27148 cat >>confdefs.h <<_ACEOF
27149 #define HAVE_SQRTL 1
27150 _ACEOF
27153 done
27155 else
27157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
27158 $as_echo_n "checking for _sqrtl declaration... " >&6; }
27159 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
27160 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
27161 $as_echo_n "(cached) " >&6
27162 else
27165 ac_ext=cpp
27166 ac_cpp='$CXXCPP $CPPFLAGS'
27167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27172 /* end confdefs.h. */
27173 #include <math.h>
27174 #ifdef HAVE_IEEEFP_H
27175 #include <ieeefp.h>
27176 #endif
27179 main ()
27181 _sqrtl(0);
27183 return 0;
27185 _ACEOF
27186 if ac_fn_cxx_try_compile "$LINENO"; then :
27187 glibcxx_cv_func__sqrtl_use=yes
27188 else
27189 glibcxx_cv_func__sqrtl_use=no
27191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27192 ac_ext=c
27193 ac_cpp='$CPP $CPPFLAGS'
27194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
27203 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
27205 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
27206 for ac_func in _sqrtl
27207 do :
27208 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
27209 if test "x$ac_cv_func__sqrtl" = x""yes; then :
27210 cat >>confdefs.h <<_ACEOF
27211 #define HAVE__SQRTL 1
27212 _ACEOF
27215 done
27224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
27225 $as_echo_n "checking for sincosl declaration... " >&6; }
27226 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
27227 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
27228 $as_echo_n "(cached) " >&6
27229 else
27232 ac_ext=cpp
27233 ac_cpp='$CXXCPP $CPPFLAGS'
27234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27239 /* end confdefs.h. */
27240 #include <math.h>
27242 main ()
27244 sincosl(0, 0, 0);
27246 return 0;
27248 _ACEOF
27249 if ac_fn_cxx_try_compile "$LINENO"; then :
27250 glibcxx_cv_func_sincosl_use=yes
27251 else
27252 glibcxx_cv_func_sincosl_use=no
27254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27255 ac_ext=c
27256 ac_cpp='$CPP $CPPFLAGS'
27257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
27266 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
27268 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
27269 for ac_func in sincosl
27270 do :
27271 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
27272 if test "x$ac_cv_func_sincosl" = x""yes; then :
27273 cat >>confdefs.h <<_ACEOF
27274 #define HAVE_SINCOSL 1
27275 _ACEOF
27278 done
27280 else
27282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
27283 $as_echo_n "checking for _sincosl declaration... " >&6; }
27284 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
27285 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
27286 $as_echo_n "(cached) " >&6
27287 else
27290 ac_ext=cpp
27291 ac_cpp='$CXXCPP $CPPFLAGS'
27292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27297 /* end confdefs.h. */
27298 #include <math.h>
27300 main ()
27302 _sincosl(0, 0, 0);
27304 return 0;
27306 _ACEOF
27307 if ac_fn_cxx_try_compile "$LINENO"; then :
27308 glibcxx_cv_func__sincosl_use=yes
27309 else
27310 glibcxx_cv_func__sincosl_use=no
27312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27313 ac_ext=c
27314 ac_cpp='$CPP $CPPFLAGS'
27315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
27324 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
27326 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
27327 for ac_func in _sincosl
27328 do :
27329 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
27330 if test "x$ac_cv_func__sincosl" = x""yes; then :
27331 cat >>confdefs.h <<_ACEOF
27332 #define HAVE__SINCOSL 1
27333 _ACEOF
27336 done
27345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
27346 $as_echo_n "checking for finitel declaration... " >&6; }
27347 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
27348 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
27349 $as_echo_n "(cached) " >&6
27350 else
27353 ac_ext=cpp
27354 ac_cpp='$CXXCPP $CPPFLAGS'
27355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27360 /* end confdefs.h. */
27361 #include <math.h>
27362 #ifdef HAVE_IEEEFP_H
27363 #include <ieeefp.h>
27364 #endif
27367 main ()
27369 finitel(0);
27371 return 0;
27373 _ACEOF
27374 if ac_fn_cxx_try_compile "$LINENO"; then :
27375 glibcxx_cv_func_finitel_use=yes
27376 else
27377 glibcxx_cv_func_finitel_use=no
27379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27380 ac_ext=c
27381 ac_cpp='$CPP $CPPFLAGS'
27382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
27391 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
27393 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
27394 for ac_func in finitel
27395 do :
27396 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
27397 if test "x$ac_cv_func_finitel" = x""yes; then :
27398 cat >>confdefs.h <<_ACEOF
27399 #define HAVE_FINITEL 1
27400 _ACEOF
27403 done
27405 else
27407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
27408 $as_echo_n "checking for _finitel declaration... " >&6; }
27409 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
27410 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
27411 $as_echo_n "(cached) " >&6
27412 else
27415 ac_ext=cpp
27416 ac_cpp='$CXXCPP $CPPFLAGS'
27417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27422 /* end confdefs.h. */
27423 #include <math.h>
27424 #ifdef HAVE_IEEEFP_H
27425 #include <ieeefp.h>
27426 #endif
27429 main ()
27431 _finitel(0);
27433 return 0;
27435 _ACEOF
27436 if ac_fn_cxx_try_compile "$LINENO"; then :
27437 glibcxx_cv_func__finitel_use=yes
27438 else
27439 glibcxx_cv_func__finitel_use=no
27441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27442 ac_ext=c
27443 ac_cpp='$CPP $CPPFLAGS'
27444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
27453 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
27455 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
27456 for ac_func in _finitel
27457 do :
27458 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
27459 if test "x$ac_cv_func__finitel" = x""yes; then :
27460 cat >>confdefs.h <<_ACEOF
27461 #define HAVE__FINITEL 1
27462 _ACEOF
27465 done
27473 LIBS="$ac_save_LIBS"
27474 CXXFLAGS="$ac_save_CXXFLAGS"
27477 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27478 ac_save_CXXFLAGS="$CXXFLAGS"
27479 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
27482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
27483 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
27484 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
27485 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
27486 $as_echo_n "(cached) " >&6
27487 else
27490 ac_ext=cpp
27491 ac_cpp='$CXXCPP $CPPFLAGS'
27492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27497 /* end confdefs.h. */
27498 #include <stdlib.h>
27500 main ()
27502 at_quick_exit(0);
27504 return 0;
27506 _ACEOF
27507 if ac_fn_cxx_try_compile "$LINENO"; then :
27508 glibcxx_cv_func_at_quick_exit_use=yes
27509 else
27510 glibcxx_cv_func_at_quick_exit_use=no
27512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27513 ac_ext=c
27514 ac_cpp='$CPP $CPPFLAGS'
27515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
27524 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
27525 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
27526 for ac_func in at_quick_exit
27527 do :
27528 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
27529 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
27530 cat >>confdefs.h <<_ACEOF
27531 #define HAVE_AT_QUICK_EXIT 1
27532 _ACEOF
27535 done
27540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
27541 $as_echo_n "checking for quick_exit declaration... " >&6; }
27542 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
27543 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
27544 $as_echo_n "(cached) " >&6
27545 else
27548 ac_ext=cpp
27549 ac_cpp='$CXXCPP $CPPFLAGS'
27550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27555 /* end confdefs.h. */
27556 #include <stdlib.h>
27558 main ()
27560 quick_exit(0);
27562 return 0;
27564 _ACEOF
27565 if ac_fn_cxx_try_compile "$LINENO"; then :
27566 glibcxx_cv_func_quick_exit_use=yes
27567 else
27568 glibcxx_cv_func_quick_exit_use=no
27570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27571 ac_ext=c
27572 ac_cpp='$CPP $CPPFLAGS'
27573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
27582 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
27583 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
27584 for ac_func in quick_exit
27585 do :
27586 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
27587 if test "x$ac_cv_func_quick_exit" = x""yes; then :
27588 cat >>confdefs.h <<_ACEOF
27589 #define HAVE_QUICK_EXIT 1
27590 _ACEOF
27593 done
27598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
27599 $as_echo_n "checking for strtold declaration... " >&6; }
27600 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
27601 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
27602 $as_echo_n "(cached) " >&6
27603 else
27606 ac_ext=cpp
27607 ac_cpp='$CXXCPP $CPPFLAGS'
27608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27613 /* end confdefs.h. */
27614 #include <stdlib.h>
27616 main ()
27618 strtold(0, 0);
27620 return 0;
27622 _ACEOF
27623 if ac_fn_cxx_try_compile "$LINENO"; then :
27624 glibcxx_cv_func_strtold_use=yes
27625 else
27626 glibcxx_cv_func_strtold_use=no
27628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27629 ac_ext=c
27630 ac_cpp='$CPP $CPPFLAGS'
27631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
27640 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
27641 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
27642 for ac_func in strtold
27643 do :
27644 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
27645 if test "x$ac_cv_func_strtold" = x""yes; then :
27646 cat >>confdefs.h <<_ACEOF
27647 #define HAVE_STRTOLD 1
27648 _ACEOF
27651 done
27658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
27659 $as_echo_n "checking for strtof declaration... " >&6; }
27660 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
27661 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
27662 $as_echo_n "(cached) " >&6
27663 else
27666 ac_ext=cpp
27667 ac_cpp='$CXXCPP $CPPFLAGS'
27668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27673 /* end confdefs.h. */
27674 #include <stdlib.h>
27676 main ()
27678 strtof(0, 0);
27680 return 0;
27682 _ACEOF
27683 if ac_fn_cxx_try_compile "$LINENO"; then :
27684 glibcxx_cv_func_strtof_use=yes
27685 else
27686 glibcxx_cv_func_strtof_use=no
27688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27689 ac_ext=c
27690 ac_cpp='$CPP $CPPFLAGS'
27691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
27700 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
27701 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
27702 for ac_func in strtof
27703 do :
27704 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
27705 if test "x$ac_cv_func_strtof" = x""yes; then :
27706 cat >>confdefs.h <<_ACEOF
27707 #define HAVE_STRTOF 1
27708 _ACEOF
27711 done
27718 CXXFLAGS="$ac_save_CXXFLAGS"
27721 # For /dev/random and /dev/urandom for TR1.
27724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
27725 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... " >&6; }
27726 if test "${glibcxx_cv_random_tr1+set}" = set; then :
27727 $as_echo_n "(cached) " >&6
27728 else
27730 if test -r /dev/random && test -r /dev/urandom; then
27731 ## For MSys environment the test above is detect as false-positive
27732 ## on mingw-targets. So disable it explicit for them.
27733 case ${target_os} in
27734 *mingw*) glibcxx_cv_random_tr1=no ;;
27735 *) glibcxx_cv_random_tr1=yes ;;
27736 esac
27737 else
27738 glibcxx_cv_random_tr1=no;
27743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_random_tr1" >&5
27744 $as_echo "$glibcxx_cv_random_tr1" >&6; }
27746 if test x"$glibcxx_cv_random_tr1" = x"yes"; then
27748 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
27754 # For TLS support.
27757 # Check whether --enable-tls was given.
27758 if test "${enable_tls+set}" = set; then :
27759 enableval=$enable_tls;
27760 case "$enableval" in
27761 yes|no) ;;
27762 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
27763 esac
27765 else
27766 enable_tls=yes
27770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
27771 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
27772 if test "${gcc_cv_have_tls+set}" = set; then :
27773 $as_echo_n "(cached) " >&6
27774 else
27776 if test "$cross_compiling" = yes; then :
27777 if test x$gcc_no_link = xyes; then
27778 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27781 /* end confdefs.h. */
27782 __thread int a; int b; int main() { return a = b; }
27783 _ACEOF
27784 if ac_fn_c_try_link "$LINENO"; then :
27785 chktls_save_LDFLAGS="$LDFLAGS"
27786 case $host in
27787 *-*-linux*)
27788 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
27790 esac
27791 chktls_save_CFLAGS="$CFLAGS"
27792 CFLAGS="-fPIC $CFLAGS"
27793 if test x$gcc_no_link = xyes; then
27794 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27797 /* end confdefs.h. */
27798 int f() { return 0; }
27799 _ACEOF
27800 if ac_fn_c_try_link "$LINENO"; then :
27801 if test x$gcc_no_link = xyes; then
27802 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27805 /* end confdefs.h. */
27806 __thread int a; int b; int f() { return a = b; }
27807 _ACEOF
27808 if ac_fn_c_try_link "$LINENO"; then :
27809 gcc_cv_have_tls=yes
27810 else
27811 gcc_cv_have_tls=no
27813 rm -f core conftest.err conftest.$ac_objext \
27814 conftest$ac_exeext conftest.$ac_ext
27815 else
27816 gcc_cv_have_tls=yes
27818 rm -f core conftest.err conftest.$ac_objext \
27819 conftest$ac_exeext conftest.$ac_ext
27820 CFLAGS="$chktls_save_CFLAGS"
27821 LDFLAGS="$chktls_save_LDFLAGS"
27822 else
27823 gcc_cv_have_tls=no
27825 rm -f core conftest.err conftest.$ac_objext \
27826 conftest$ac_exeext conftest.$ac_ext
27829 else
27830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27831 /* end confdefs.h. */
27832 __thread int a; int b; int main() { return a = b; }
27833 _ACEOF
27834 if ac_fn_c_try_run "$LINENO"; then :
27835 chktls_save_LDFLAGS="$LDFLAGS"
27836 LDFLAGS="-static $LDFLAGS"
27837 if test x$gcc_no_link = xyes; then
27838 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27841 /* end confdefs.h. */
27842 int main() { return 0; }
27843 _ACEOF
27844 if ac_fn_c_try_link "$LINENO"; then :
27845 if test "$cross_compiling" = yes; then :
27846 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
27847 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
27848 as_fn_error "cannot run test program while cross compiling
27849 See \`config.log' for more details." "$LINENO" 5; }
27850 else
27851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27852 /* end confdefs.h. */
27853 __thread int a; int b; int main() { return a = b; }
27854 _ACEOF
27855 if ac_fn_c_try_run "$LINENO"; then :
27856 gcc_cv_have_tls=yes
27857 else
27858 gcc_cv_have_tls=no
27860 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
27861 conftest.$ac_objext conftest.beam conftest.$ac_ext
27864 else
27865 gcc_cv_have_tls=yes
27867 rm -f core conftest.err conftest.$ac_objext \
27868 conftest$ac_exeext conftest.$ac_ext
27869 LDFLAGS="$chktls_save_LDFLAGS"
27870 if test $gcc_cv_have_tls = yes; then
27871 chktls_save_CFLAGS="$CFLAGS"
27872 thread_CFLAGS=failed
27873 for flag in '' '-pthread' '-lpthread'; do
27874 CFLAGS="$flag $chktls_save_CFLAGS"
27875 if test x$gcc_no_link = xyes; then
27876 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27879 /* end confdefs.h. */
27880 #include <pthread.h>
27881 void *g(void *d) { return NULL; }
27883 main ()
27885 pthread_t t; pthread_create(&t,NULL,g,NULL);
27887 return 0;
27889 _ACEOF
27890 if ac_fn_c_try_link "$LINENO"; then :
27891 thread_CFLAGS="$flag"
27893 rm -f core conftest.err conftest.$ac_objext \
27894 conftest$ac_exeext conftest.$ac_ext
27895 if test "X$thread_CFLAGS" != Xfailed; then
27896 break
27898 done
27899 CFLAGS="$chktls_save_CFLAGS"
27900 if test "X$thread_CFLAGS" != Xfailed; then
27901 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
27902 if test "$cross_compiling" = yes; then :
27903 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
27904 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
27905 as_fn_error "cannot run test program while cross compiling
27906 See \`config.log' for more details." "$LINENO" 5; }
27907 else
27908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27909 /* end confdefs.h. */
27910 #include <pthread.h>
27911 __thread int a;
27912 static int *volatile a_in_other_thread;
27913 static void *
27914 thread_func (void *arg)
27916 a_in_other_thread = &a;
27917 return (void *)0;
27920 main ()
27922 pthread_t thread;
27923 void *thread_retval;
27924 int *volatile a_in_main_thread;
27925 a_in_main_thread = &a;
27926 if (pthread_create (&thread, (pthread_attr_t *)0,
27927 thread_func, (void *)0))
27928 return 0;
27929 if (pthread_join (thread, &thread_retval))
27930 return 0;
27931 return (a_in_other_thread == a_in_main_thread);
27933 return 0;
27935 _ACEOF
27936 if ac_fn_c_try_run "$LINENO"; then :
27937 gcc_cv_have_tls=yes
27938 else
27939 gcc_cv_have_tls=no
27941 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
27942 conftest.$ac_objext conftest.beam conftest.$ac_ext
27945 CFLAGS="$chktls_save_CFLAGS"
27948 else
27949 gcc_cv_have_tls=no
27951 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
27952 conftest.$ac_objext conftest.beam conftest.$ac_ext
27956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
27957 $as_echo "$gcc_cv_have_tls" >&6; }
27958 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
27960 $as_echo "#define HAVE_TLS 1" >>confdefs.h
27964 for ac_func in __cxa_thread_atexit_impl
27965 do :
27966 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit_impl" "ac_cv_func___cxa_thread_atexit_impl"
27967 if test "x$ac_cv_func___cxa_thread_atexit_impl" = x""yes; then :
27968 cat >>confdefs.h <<_ACEOF
27969 #define HAVE___CXA_THREAD_ATEXIT_IMPL 1
27970 _ACEOF
27973 done
27976 # For iconv support.
27978 if test "X$prefix" = "XNONE"; then
27979 acl_final_prefix="$ac_default_prefix"
27980 else
27981 acl_final_prefix="$prefix"
27983 if test "X$exec_prefix" = "XNONE"; then
27984 acl_final_exec_prefix='${prefix}'
27985 else
27986 acl_final_exec_prefix="$exec_prefix"
27988 acl_save_prefix="$prefix"
27989 prefix="$acl_final_prefix"
27990 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
27991 prefix="$acl_save_prefix"
27994 # Check whether --with-gnu-ld was given.
27995 if test "${with_gnu_ld+set}" = set; then :
27996 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
27997 else
27998 with_gnu_ld=no
28001 # Prepare PATH_SEPARATOR.
28002 # The user is always right.
28003 if test "${PATH_SEPARATOR+set}" != set; then
28004 echo "#! /bin/sh" >conf$$.sh
28005 echo "exit 0" >>conf$$.sh
28006 chmod +x conf$$.sh
28007 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
28008 PATH_SEPARATOR=';'
28009 else
28010 PATH_SEPARATOR=:
28012 rm -f conf$$.sh
28014 ac_prog=ld
28015 if test "$GCC" = yes; then
28016 # Check if gcc -print-prog-name=ld gives a path.
28017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
28018 $as_echo_n "checking for ld used by GCC... " >&6; }
28019 case $host in
28020 *-*-mingw*)
28021 # gcc leaves a trailing carriage return which upsets mingw
28022 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
28024 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
28025 esac
28026 case $ac_prog in
28027 # Accept absolute paths.
28028 [\\/]* | [A-Za-z]:[\\/]*)
28029 re_direlt='/[^/][^/]*/\.\./'
28030 # Canonicalize the path of ld
28031 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
28032 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
28033 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
28034 done
28035 test -z "$LD" && LD="$ac_prog"
28038 # If it fails, then pretend we aren't using GCC.
28039 ac_prog=ld
28042 # If it is relative, then search for the first ld in PATH.
28043 with_gnu_ld=unknown
28045 esac
28046 elif test "$with_gnu_ld" = yes; then
28047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
28048 $as_echo_n "checking for GNU ld... " >&6; }
28049 else
28050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
28051 $as_echo_n "checking for non-GNU ld... " >&6; }
28053 if test "${acl_cv_path_LD+set}" = set; then :
28054 $as_echo_n "(cached) " >&6
28055 else
28056 if test -z "$LD"; then
28057 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
28058 for ac_dir in $PATH; do
28059 test -z "$ac_dir" && ac_dir=.
28060 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
28061 acl_cv_path_LD="$ac_dir/$ac_prog"
28062 # Check to see if the program is GNU ld. I'd rather use --version,
28063 # but apparently some GNU ld's only accept -v.
28064 # Break only if it was the GNU/non-GNU ld that we prefer.
28065 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
28066 test "$with_gnu_ld" != no && break
28067 else
28068 test "$with_gnu_ld" != yes && break
28071 done
28072 IFS="$ac_save_ifs"
28073 else
28074 acl_cv_path_LD="$LD" # Let the user override the test with a path.
28078 LD="$acl_cv_path_LD"
28079 if test -n "$LD"; then
28080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
28081 $as_echo "$LD" >&6; }
28082 else
28083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28084 $as_echo "no" >&6; }
28086 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
28087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
28088 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
28089 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
28090 $as_echo_n "(cached) " >&6
28091 else
28092 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
28093 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
28094 acl_cv_prog_gnu_ld=yes
28095 else
28096 acl_cv_prog_gnu_ld=no
28099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
28100 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
28101 with_gnu_ld=$acl_cv_prog_gnu_ld
28105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
28106 $as_echo_n "checking for shared library run path origin... " >&6; }
28107 if test "${acl_cv_rpath+set}" = set; then :
28108 $as_echo_n "(cached) " >&6
28109 else
28111 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
28112 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
28113 . ./conftest.sh
28114 rm -f ./conftest.sh
28115 acl_cv_rpath=done
28118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
28119 $as_echo "$acl_cv_rpath" >&6; }
28120 wl="$acl_cv_wl"
28121 libext="$acl_cv_libext"
28122 shlibext="$acl_cv_shlibext"
28123 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
28124 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
28125 hardcode_direct="$acl_cv_hardcode_direct"
28126 hardcode_minus_L="$acl_cv_hardcode_minus_L"
28127 # Check whether --enable-rpath was given.
28128 if test "${enable_rpath+set}" = set; then :
28129 enableval=$enable_rpath; :
28130 else
28131 enable_rpath=yes
28141 use_additional=yes
28143 acl_save_prefix="$prefix"
28144 prefix="$acl_final_prefix"
28145 acl_save_exec_prefix="$exec_prefix"
28146 exec_prefix="$acl_final_exec_prefix"
28148 eval additional_includedir=\"$includedir\"
28149 eval additional_libdir=\"$libdir\"
28151 exec_prefix="$acl_save_exec_prefix"
28152 prefix="$acl_save_prefix"
28155 # Check whether --with-libiconv-prefix was given.
28156 if test "${with_libiconv_prefix+set}" = set; then :
28157 withval=$with_libiconv_prefix;
28158 if test "X$withval" = "Xno"; then
28159 use_additional=no
28160 else
28161 if test "X$withval" = "X"; then
28163 acl_save_prefix="$prefix"
28164 prefix="$acl_final_prefix"
28165 acl_save_exec_prefix="$exec_prefix"
28166 exec_prefix="$acl_final_exec_prefix"
28168 eval additional_includedir=\"$includedir\"
28169 eval additional_libdir=\"$libdir\"
28171 exec_prefix="$acl_save_exec_prefix"
28172 prefix="$acl_save_prefix"
28174 else
28175 additional_includedir="$withval/include"
28176 additional_libdir="$withval/lib"
28182 LIBICONV=
28183 LTLIBICONV=
28184 INCICONV=
28185 rpathdirs=
28186 ltrpathdirs=
28187 names_already_handled=
28188 names_next_round='iconv '
28189 while test -n "$names_next_round"; do
28190 names_this_round="$names_next_round"
28191 names_next_round=
28192 for name in $names_this_round; do
28193 already_handled=
28194 for n in $names_already_handled; do
28195 if test "$n" = "$name"; then
28196 already_handled=yes
28197 break
28199 done
28200 if test -z "$already_handled"; then
28201 names_already_handled="$names_already_handled $name"
28202 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
28203 eval value=\"\$HAVE_LIB$uppername\"
28204 if test -n "$value"; then
28205 if test "$value" = yes; then
28206 eval value=\"\$LIB$uppername\"
28207 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
28208 eval value=\"\$LTLIB$uppername\"
28209 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
28210 else
28213 else
28214 found_dir=
28215 found_la=
28216 found_so=
28217 found_a=
28218 if test $use_additional = yes; then
28219 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
28220 found_dir="$additional_libdir"
28221 found_so="$additional_libdir/lib$name.$shlibext"
28222 if test -f "$additional_libdir/lib$name.la"; then
28223 found_la="$additional_libdir/lib$name.la"
28225 else
28226 if test -f "$additional_libdir/lib$name.$libext"; then
28227 found_dir="$additional_libdir"
28228 found_a="$additional_libdir/lib$name.$libext"
28229 if test -f "$additional_libdir/lib$name.la"; then
28230 found_la="$additional_libdir/lib$name.la"
28235 if test "X$found_dir" = "X"; then
28236 for x in $LDFLAGS $LTLIBICONV; do
28238 acl_save_prefix="$prefix"
28239 prefix="$acl_final_prefix"
28240 acl_save_exec_prefix="$exec_prefix"
28241 exec_prefix="$acl_final_exec_prefix"
28242 eval x=\"$x\"
28243 exec_prefix="$acl_save_exec_prefix"
28244 prefix="$acl_save_prefix"
28246 case "$x" in
28247 -L*)
28248 dir=`echo "X$x" | sed -e 's/^X-L//'`
28249 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
28250 found_dir="$dir"
28251 found_so="$dir/lib$name.$shlibext"
28252 if test -f "$dir/lib$name.la"; then
28253 found_la="$dir/lib$name.la"
28255 else
28256 if test -f "$dir/lib$name.$libext"; then
28257 found_dir="$dir"
28258 found_a="$dir/lib$name.$libext"
28259 if test -f "$dir/lib$name.la"; then
28260 found_la="$dir/lib$name.la"
28265 esac
28266 if test "X$found_dir" != "X"; then
28267 break
28269 done
28271 if test "X$found_dir" != "X"; then
28272 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
28273 if test "X$found_so" != "X"; then
28274 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
28275 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28276 else
28277 haveit=
28278 for x in $ltrpathdirs; do
28279 if test "X$x" = "X$found_dir"; then
28280 haveit=yes
28281 break
28283 done
28284 if test -z "$haveit"; then
28285 ltrpathdirs="$ltrpathdirs $found_dir"
28287 if test "$hardcode_direct" = yes; then
28288 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28289 else
28290 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
28291 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28292 haveit=
28293 for x in $rpathdirs; do
28294 if test "X$x" = "X$found_dir"; then
28295 haveit=yes
28296 break
28298 done
28299 if test -z "$haveit"; then
28300 rpathdirs="$rpathdirs $found_dir"
28302 else
28303 haveit=
28304 for x in $LDFLAGS $LIBICONV; do
28306 acl_save_prefix="$prefix"
28307 prefix="$acl_final_prefix"
28308 acl_save_exec_prefix="$exec_prefix"
28309 exec_prefix="$acl_final_exec_prefix"
28310 eval x=\"$x\"
28311 exec_prefix="$acl_save_exec_prefix"
28312 prefix="$acl_save_prefix"
28314 if test "X$x" = "X-L$found_dir"; then
28315 haveit=yes
28316 break
28318 done
28319 if test -z "$haveit"; then
28320 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
28322 if test "$hardcode_minus_L" != no; then
28323 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28324 else
28325 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
28330 else
28331 if test "X$found_a" != "X"; then
28332 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
28333 else
28334 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
28337 additional_includedir=
28338 case "$found_dir" in
28339 */lib | */lib/)
28340 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
28341 additional_includedir="$basedir/include"
28343 esac
28344 if test "X$additional_includedir" != "X"; then
28345 if test "X$additional_includedir" != "X/usr/include"; then
28346 haveit=
28347 if test "X$additional_includedir" = "X/usr/local/include"; then
28348 if test -n "$GCC"; then
28349 case $host_os in
28350 linux*) haveit=yes;;
28351 esac
28354 if test -z "$haveit"; then
28355 for x in $CPPFLAGS $INCICONV; do
28357 acl_save_prefix="$prefix"
28358 prefix="$acl_final_prefix"
28359 acl_save_exec_prefix="$exec_prefix"
28360 exec_prefix="$acl_final_exec_prefix"
28361 eval x=\"$x\"
28362 exec_prefix="$acl_save_exec_prefix"
28363 prefix="$acl_save_prefix"
28365 if test "X$x" = "X-I$additional_includedir"; then
28366 haveit=yes
28367 break
28369 done
28370 if test -z "$haveit"; then
28371 if test -d "$additional_includedir"; then
28372 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
28378 if test -n "$found_la"; then
28379 save_libdir="$libdir"
28380 case "$found_la" in
28381 */* | *\\*) . "$found_la" ;;
28382 *) . "./$found_la" ;;
28383 esac
28384 libdir="$save_libdir"
28385 for dep in $dependency_libs; do
28386 case "$dep" in
28387 -L*)
28388 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
28389 if test "X$additional_libdir" != "X/usr/lib"; then
28390 haveit=
28391 if test "X$additional_libdir" = "X/usr/local/lib"; then
28392 if test -n "$GCC"; then
28393 case $host_os in
28394 linux*) haveit=yes;;
28395 esac
28398 if test -z "$haveit"; then
28399 haveit=
28400 for x in $LDFLAGS $LIBICONV; do
28402 acl_save_prefix="$prefix"
28403 prefix="$acl_final_prefix"
28404 acl_save_exec_prefix="$exec_prefix"
28405 exec_prefix="$acl_final_exec_prefix"
28406 eval x=\"$x\"
28407 exec_prefix="$acl_save_exec_prefix"
28408 prefix="$acl_save_prefix"
28410 if test "X$x" = "X-L$additional_libdir"; then
28411 haveit=yes
28412 break
28414 done
28415 if test -z "$haveit"; then
28416 if test -d "$additional_libdir"; then
28417 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
28420 haveit=
28421 for x in $LDFLAGS $LTLIBICONV; do
28423 acl_save_prefix="$prefix"
28424 prefix="$acl_final_prefix"
28425 acl_save_exec_prefix="$exec_prefix"
28426 exec_prefix="$acl_final_exec_prefix"
28427 eval x=\"$x\"
28428 exec_prefix="$acl_save_exec_prefix"
28429 prefix="$acl_save_prefix"
28431 if test "X$x" = "X-L$additional_libdir"; then
28432 haveit=yes
28433 break
28435 done
28436 if test -z "$haveit"; then
28437 if test -d "$additional_libdir"; then
28438 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
28444 -R*)
28445 dir=`echo "X$dep" | sed -e 's/^X-R//'`
28446 if test "$enable_rpath" != no; then
28447 haveit=
28448 for x in $rpathdirs; do
28449 if test "X$x" = "X$dir"; then
28450 haveit=yes
28451 break
28453 done
28454 if test -z "$haveit"; then
28455 rpathdirs="$rpathdirs $dir"
28457 haveit=
28458 for x in $ltrpathdirs; do
28459 if test "X$x" = "X$dir"; then
28460 haveit=yes
28461 break
28463 done
28464 if test -z "$haveit"; then
28465 ltrpathdirs="$ltrpathdirs $dir"
28469 -l*)
28470 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
28472 *.la)
28473 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
28476 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
28477 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
28479 esac
28480 done
28482 else
28483 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
28484 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
28488 done
28489 done
28490 if test "X$rpathdirs" != "X"; then
28491 if test -n "$hardcode_libdir_separator"; then
28492 alldirs=
28493 for found_dir in $rpathdirs; do
28494 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
28495 done
28496 acl_save_libdir="$libdir"
28497 libdir="$alldirs"
28498 eval flag=\"$hardcode_libdir_flag_spec\"
28499 libdir="$acl_save_libdir"
28500 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
28501 else
28502 for found_dir in $rpathdirs; do
28503 acl_save_libdir="$libdir"
28504 libdir="$found_dir"
28505 eval flag=\"$hardcode_libdir_flag_spec\"
28506 libdir="$acl_save_libdir"
28507 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
28508 done
28511 if test "X$ltrpathdirs" != "X"; then
28512 for found_dir in $ltrpathdirs; do
28513 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
28514 done
28523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
28524 $as_echo_n "checking for iconv... " >&6; }
28525 if test "${am_cv_func_iconv+set}" = set; then :
28526 $as_echo_n "(cached) " >&6
28527 else
28529 am_cv_func_iconv="no, consider installing GNU libiconv"
28530 am_cv_lib_iconv=no
28531 am_save_CPPFLAGS="$CPPFLAGS"
28532 CPPFLAGS="$CPPFLAGS $INCICONV"
28533 if test x$gcc_no_link = xyes; then
28534 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28537 /* end confdefs.h. */
28538 #include <stdlib.h>
28539 #include <iconv.h>
28541 main ()
28543 iconv_t cd = iconv_open("","");
28544 iconv(cd,NULL,NULL,NULL,NULL);
28545 iconv_close(cd);
28547 return 0;
28549 _ACEOF
28550 if ac_fn_c_try_link "$LINENO"; then :
28551 am_cv_func_iconv=yes
28553 rm -f core conftest.err conftest.$ac_objext \
28554 conftest$ac_exeext conftest.$ac_ext
28555 CPPFLAGS="$am_save_CPPFLAGS"
28557 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
28558 for _libs in .libs _libs; do
28559 am_save_CPPFLAGS="$CPPFLAGS"
28560 am_save_LIBS="$LIBS"
28561 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
28562 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
28563 if test x$gcc_no_link = xyes; then
28564 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28567 /* end confdefs.h. */
28568 #include <stdlib.h>
28569 #include <iconv.h>
28571 main ()
28573 iconv_t cd = iconv_open("","");
28574 iconv(cd,NULL,NULL,NULL,NULL);
28575 iconv_close(cd);
28577 return 0;
28579 _ACEOF
28580 if ac_fn_c_try_link "$LINENO"; then :
28581 INCICONV="-I../libiconv/include"
28582 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
28583 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
28584 am_cv_lib_iconv=yes
28585 am_cv_func_iconv=yes
28587 rm -f core conftest.err conftest.$ac_objext \
28588 conftest$ac_exeext conftest.$ac_ext
28589 CPPFLAGS="$am_save_CPPFLAGS"
28590 LIBS="$am_save_LIBS"
28591 if test "$am_cv_func_iconv" = "yes"; then
28592 break
28594 done
28597 if test "$am_cv_func_iconv" != yes; then
28598 am_save_CPPFLAGS="$CPPFLAGS"
28599 am_save_LIBS="$LIBS"
28600 CPPFLAGS="$LIBS $INCICONV"
28601 LIBS="$LIBS $LIBICONV"
28602 if test x$gcc_no_link = xyes; then
28603 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28606 /* end confdefs.h. */
28607 #include <stdlib.h>
28608 #include <iconv.h>
28610 main ()
28612 iconv_t cd = iconv_open("","");
28613 iconv(cd,NULL,NULL,NULL,NULL);
28614 iconv_close(cd);
28616 return 0;
28618 _ACEOF
28619 if ac_fn_c_try_link "$LINENO"; then :
28620 am_cv_lib_iconv=yes
28621 am_cv_func_iconv=yes
28623 rm -f core conftest.err conftest.$ac_objext \
28624 conftest$ac_exeext conftest.$ac_ext
28625 CPPFLAGS="$am_save_CPPFLAGS"
28626 LIBS="$am_save_LIBS"
28630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
28631 $as_echo "$am_cv_func_iconv" >&6; }
28632 if test "$am_cv_func_iconv" = yes; then
28634 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
28637 if test "$am_cv_lib_iconv" = yes; then
28639 for element in $INCICONV; do
28640 haveit=
28641 for x in $CPPFLAGS; do
28643 acl_save_prefix="$prefix"
28644 prefix="$acl_final_prefix"
28645 acl_save_exec_prefix="$exec_prefix"
28646 exec_prefix="$acl_final_exec_prefix"
28647 eval x=\"$x\"
28648 exec_prefix="$acl_save_exec_prefix"
28649 prefix="$acl_save_prefix"
28651 if test "X$x" = "X$element"; then
28652 haveit=yes
28653 break
28655 done
28656 if test -z "$haveit"; then
28657 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
28659 done
28661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
28662 $as_echo_n "checking how to link with libiconv... " >&6; }
28663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
28664 $as_echo "$LIBICONV" >&6; }
28665 else
28666 LIBICONV=
28667 LTLIBICONV=
28672 if test "$am_cv_func_iconv" = yes; then
28673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
28674 $as_echo_n "checking for iconv declaration... " >&6; }
28675 if test "${am_cv_proto_iconv+set}" = set; then :
28676 $as_echo_n "(cached) " >&6
28677 else
28679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28680 /* end confdefs.h. */
28682 #include <stdlib.h>
28683 #include <iconv.h>
28684 extern
28685 #ifdef __cplusplus
28687 #endif
28688 #if defined(__STDC__) || defined(__cplusplus)
28689 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
28690 #else
28691 size_t iconv();
28692 #endif
28695 main ()
28699 return 0;
28701 _ACEOF
28702 if ac_fn_c_try_compile "$LINENO"; then :
28703 am_cv_proto_iconv_arg1=""
28704 else
28705 am_cv_proto_iconv_arg1="const"
28707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28708 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);"
28711 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
28712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
28713 }$am_cv_proto_iconv" >&5
28714 $as_echo "${ac_t:-
28715 }$am_cv_proto_iconv" >&6; }
28717 cat >>confdefs.h <<_ACEOF
28718 #define ICONV_CONST $am_cv_proto_iconv_arg1
28719 _ACEOF
28724 else
28726 # This lets us hard-code the functionality we know we'll have in the cross
28727 # target environment. "Let" is a sugar-coated word placed on an especially
28728 # dull and tedious hack, actually.
28730 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
28731 # that involve linking, can't be used:
28732 # "cannot open sim-crt0.o"
28733 # "cannot open crt0.o"
28734 # etc. All this is because there currently exists no unified, consistent
28735 # way for top level CC information to be passed down to target directories:
28736 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
28737 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
28738 # crosses can be removed.
28740 # If Canadian cross, then don't pick up tools from the build directory.
28741 # Used only in GLIBCXX_EXPORT_INCLUDES.
28742 if test -n "$with_cross_host" &&
28743 test x"$build_alias" != x"$with_cross_host" &&
28744 test x"$build" != x"$target";
28745 then
28746 CANADIAN=yes
28747 else
28748 CANADIAN=no
28751 # Construct crosses by hand, eliminating bits that need ld...
28752 # GLIBCXX_CHECK_MATH_SUPPORT
28754 # First, test for "known" system libraries. We may be using newlib even
28755 # on a hosted environment.
28756 if test "x${with_newlib}" = "xyes"; then
28757 os_include_dir="os/newlib"
28758 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
28761 # GLIBCXX_CHECK_STDLIB_SUPPORT
28762 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
28765 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
28767 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
28769 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
28771 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
28773 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
28775 $as_echo "#define HAVE_COSF 1" >>confdefs.h
28777 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
28779 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
28781 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
28783 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
28785 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
28787 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
28789 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
28791 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
28793 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
28795 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
28797 $as_echo "#define HAVE_POWF 1" >>confdefs.h
28799 $as_echo "#define HAVE_SINF 1" >>confdefs.h
28801 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
28803 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
28805 $as_echo "#define HAVE_TANF 1" >>confdefs.h
28807 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
28810 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
28812 else
28814 # Base decisions on target environment.
28815 case "${host}" in
28816 arm*-*-symbianelf*)
28817 # This is a freestanding configuration; there is nothing to do here.
28820 mips*-sde-elf*)
28821 # These definitions are for the SDE C library rather than newlib.
28822 SECTION_FLAGS='-ffunction-sections -fdata-sections'
28825 # All these tests are for C++; save the language and the compiler flags.
28826 # The CXXFLAGS thing is suspicious, but based on similar bits previously
28827 # found in GLIBCXX_CONFIGURE.
28829 ac_ext=cpp
28830 ac_cpp='$CXXCPP $CPPFLAGS'
28831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28835 ac_test_CXXFLAGS="${CXXFLAGS+set}"
28836 ac_save_CXXFLAGS="$CXXFLAGS"
28838 # Check for maintainer-mode bits.
28839 if test x"$USE_MAINTAINER_MODE" = xno; then
28840 WERROR=''
28841 else
28842 WERROR='-Werror'
28845 # Check for -ffunction-sections -fdata-sections
28846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
28847 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
28848 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
28849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28850 /* end confdefs.h. */
28851 int foo; void bar() { };
28853 main ()
28857 return 0;
28859 _ACEOF
28860 if ac_fn_cxx_try_compile "$LINENO"; then :
28861 ac_fdsections=yes
28862 else
28863 ac_fdsections=no
28865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28866 if test "$ac_test_CXXFLAGS" = set; then
28867 CXXFLAGS="$ac_save_CXXFLAGS"
28868 else
28869 # this is the suspicious part
28870 CXXFLAGS=''
28872 if test x"$ac_fdsections" = x"yes"; then
28873 SECTION_FLAGS='-ffunction-sections -fdata-sections'
28875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
28876 $as_echo "$ac_fdsections" >&6; }
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 # If we're not using GNU ld, then there's no point in even trying these
28889 # tests. Check for that first. We should have already tested for gld
28890 # by now (in libtool), but require it now just to be safe...
28891 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
28892 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
28896 # The name set by libtool depends on the version of libtool. Shame on us
28897 # for depending on an impl detail, but c'est la vie. Older versions used
28898 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
28899 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
28900 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
28901 # set (hence we're using an older libtool), then set it.
28902 if test x${with_gnu_ld+set} != xset; then
28903 if test x${ac_cv_prog_gnu_ld+set} != xset; then
28904 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
28905 with_gnu_ld=no
28906 else
28907 with_gnu_ld=$ac_cv_prog_gnu_ld
28911 # Start by getting the version number. I think the libtool test already
28912 # does some of this, but throws away the result.
28913 glibcxx_ld_is_gold=no
28914 if test x"$with_gnu_ld" = x"yes"; then
28915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
28916 $as_echo_n "checking for ld version... " >&6; }
28918 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
28919 glibcxx_ld_is_gold=yes
28921 ldver=`$LD --version 2>/dev/null |
28922 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'`
28924 glibcxx_gnu_ld_version=`echo $ldver | \
28925 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
28926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
28927 $as_echo "$glibcxx_gnu_ld_version" >&6; }
28930 # Set --gc-sections.
28931 glibcxx_have_gc_sections=no
28932 if test "$glibcxx_ld_is_gold" = "yes"; then
28933 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
28934 glibcxx_have_gc_sections=yes
28936 else
28937 glibcxx_gcsections_min_ld=21602
28938 if test x"$with_gnu_ld" = x"yes" &&
28939 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
28940 glibcxx_have_gc_sections=yes
28943 if test "$glibcxx_have_gc_sections" = "yes"; then
28944 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
28945 # NB: This flag only works reliably after 2.16.1. Configure tests
28946 # for this are difficult, so hard wire a value that should work.
28948 ac_test_CFLAGS="${CFLAGS+set}"
28949 ac_save_CFLAGS="$CFLAGS"
28950 CFLAGS='-Wl,--gc-sections'
28952 # Check for -Wl,--gc-sections
28953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
28954 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
28955 if test x$gcc_no_link = xyes; then
28956 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28959 /* end confdefs.h. */
28960 int one(void) { return 1; }
28961 int two(void) { return 2; }
28964 main ()
28966 two();
28968 return 0;
28970 _ACEOF
28971 if ac_fn_c_try_link "$LINENO"; then :
28972 ac_gcsections=yes
28973 else
28974 ac_gcsections=no
28976 rm -f core conftest.err conftest.$ac_objext \
28977 conftest$ac_exeext conftest.$ac_ext
28978 if test "$ac_gcsections" = "yes"; then
28979 rm -f conftest.c
28980 touch conftest.c
28981 if $CC -c conftest.c; then
28982 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
28983 grep "Warning: gc-sections option ignored" > /dev/null; then
28984 ac_gcsections=no
28987 rm -f conftest.c conftest.o conftest
28989 if test "$ac_gcsections" = "yes"; then
28990 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
28992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
28993 $as_echo "$ac_gcsections" >&6; }
28995 if test "$ac_test_CFLAGS" = set; then
28996 CFLAGS="$ac_save_CFLAGS"
28997 else
28998 # this is the suspicious part
28999 CFLAGS=''
29003 # Set -z,relro.
29004 # Note this is only for shared objects.
29005 ac_ld_relro=no
29006 if test x"$with_gnu_ld" = x"yes"; then
29007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
29008 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
29009 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
29010 if test -n "$cxx_z_relo"; then
29011 OPT_LDFLAGS="-Wl,-z,relro"
29012 ac_ld_relro=yes
29014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
29015 $as_echo "$ac_ld_relro" >&6; }
29018 # Set linker optimization flags.
29019 if test x"$with_gnu_ld" = x"yes"; then
29020 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
29027 ac_test_CXXFLAGS="${CXXFLAGS+set}"
29028 ac_save_CXXFLAGS="$CXXFLAGS"
29029 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
29031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
29032 $as_echo_n "checking for sin in -lm... " >&6; }
29033 if test "${ac_cv_lib_m_sin+set}" = set; then :
29034 $as_echo_n "(cached) " >&6
29035 else
29036 ac_check_lib_save_LIBS=$LIBS
29037 LIBS="-lm $LIBS"
29038 if test x$gcc_no_link = xyes; then
29039 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29042 /* end confdefs.h. */
29044 /* Override any GCC internal prototype to avoid an error.
29045 Use char because int might match the return type of a GCC
29046 builtin and then its argument prototype would still apply. */
29047 #ifdef __cplusplus
29048 extern "C"
29049 #endif
29050 char sin ();
29052 main ()
29054 return sin ();
29056 return 0;
29058 _ACEOF
29059 if ac_fn_c_try_link "$LINENO"; then :
29060 ac_cv_lib_m_sin=yes
29061 else
29062 ac_cv_lib_m_sin=no
29064 rm -f core conftest.err conftest.$ac_objext \
29065 conftest$ac_exeext conftest.$ac_ext
29066 LIBS=$ac_check_lib_save_LIBS
29068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
29069 $as_echo "$ac_cv_lib_m_sin" >&6; }
29070 if test "x$ac_cv_lib_m_sin" = x""yes; then :
29071 libm="-lm"
29074 ac_save_LIBS="$LIBS"
29075 LIBS="$LIBS $libm"
29079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
29080 $as_echo_n "checking for isinf declaration... " >&6; }
29081 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
29082 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
29083 $as_echo_n "(cached) " >&6
29084 else
29087 ac_ext=cpp
29088 ac_cpp='$CXXCPP $CPPFLAGS'
29089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29094 /* end confdefs.h. */
29095 #include <math.h>
29096 #ifdef HAVE_IEEEFP_H
29097 #include <ieeefp.h>
29098 #endif
29101 main ()
29103 isinf(0);
29105 return 0;
29107 _ACEOF
29108 if ac_fn_cxx_try_compile "$LINENO"; then :
29109 glibcxx_cv_func_isinf_use=yes
29110 else
29111 glibcxx_cv_func_isinf_use=no
29113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29114 ac_ext=c
29115 ac_cpp='$CPP $CPPFLAGS'
29116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
29125 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
29127 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
29128 for ac_func in isinf
29129 do :
29130 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
29131 if test "x$ac_cv_func_isinf" = x""yes; then :
29132 cat >>confdefs.h <<_ACEOF
29133 #define HAVE_ISINF 1
29134 _ACEOF
29137 done
29139 else
29141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
29142 $as_echo_n "checking for _isinf declaration... " >&6; }
29143 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
29144 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
29145 $as_echo_n "(cached) " >&6
29146 else
29149 ac_ext=cpp
29150 ac_cpp='$CXXCPP $CPPFLAGS'
29151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29156 /* end confdefs.h. */
29157 #include <math.h>
29158 #ifdef HAVE_IEEEFP_H
29159 #include <ieeefp.h>
29160 #endif
29163 main ()
29165 _isinf(0);
29167 return 0;
29169 _ACEOF
29170 if ac_fn_cxx_try_compile "$LINENO"; then :
29171 glibcxx_cv_func__isinf_use=yes
29172 else
29173 glibcxx_cv_func__isinf_use=no
29175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29176 ac_ext=c
29177 ac_cpp='$CPP $CPPFLAGS'
29178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
29187 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
29189 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
29190 for ac_func in _isinf
29191 do :
29192 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
29193 if test "x$ac_cv_func__isinf" = x""yes; then :
29194 cat >>confdefs.h <<_ACEOF
29195 #define HAVE__ISINF 1
29196 _ACEOF
29199 done
29208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
29209 $as_echo_n "checking for isnan declaration... " >&6; }
29210 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
29211 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
29212 $as_echo_n "(cached) " >&6
29213 else
29216 ac_ext=cpp
29217 ac_cpp='$CXXCPP $CPPFLAGS'
29218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29223 /* end confdefs.h. */
29224 #include <math.h>
29225 #ifdef HAVE_IEEEFP_H
29226 #include <ieeefp.h>
29227 #endif
29230 main ()
29232 isnan(0);
29234 return 0;
29236 _ACEOF
29237 if ac_fn_cxx_try_compile "$LINENO"; then :
29238 glibcxx_cv_func_isnan_use=yes
29239 else
29240 glibcxx_cv_func_isnan_use=no
29242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29243 ac_ext=c
29244 ac_cpp='$CPP $CPPFLAGS'
29245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
29254 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
29256 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
29257 for ac_func in isnan
29258 do :
29259 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
29260 if test "x$ac_cv_func_isnan" = x""yes; then :
29261 cat >>confdefs.h <<_ACEOF
29262 #define HAVE_ISNAN 1
29263 _ACEOF
29266 done
29268 else
29270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
29271 $as_echo_n "checking for _isnan declaration... " >&6; }
29272 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
29273 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
29274 $as_echo_n "(cached) " >&6
29275 else
29278 ac_ext=cpp
29279 ac_cpp='$CXXCPP $CPPFLAGS'
29280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29285 /* end confdefs.h. */
29286 #include <math.h>
29287 #ifdef HAVE_IEEEFP_H
29288 #include <ieeefp.h>
29289 #endif
29292 main ()
29294 _isnan(0);
29296 return 0;
29298 _ACEOF
29299 if ac_fn_cxx_try_compile "$LINENO"; then :
29300 glibcxx_cv_func__isnan_use=yes
29301 else
29302 glibcxx_cv_func__isnan_use=no
29304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29305 ac_ext=c
29306 ac_cpp='$CPP $CPPFLAGS'
29307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
29316 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
29318 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
29319 for ac_func in _isnan
29320 do :
29321 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
29322 if test "x$ac_cv_func__isnan" = x""yes; then :
29323 cat >>confdefs.h <<_ACEOF
29324 #define HAVE__ISNAN 1
29325 _ACEOF
29328 done
29337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
29338 $as_echo_n "checking for finite declaration... " >&6; }
29339 if test x${glibcxx_cv_func_finite_use+set} != xset; then
29340 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
29341 $as_echo_n "(cached) " >&6
29342 else
29345 ac_ext=cpp
29346 ac_cpp='$CXXCPP $CPPFLAGS'
29347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29352 /* end confdefs.h. */
29353 #include <math.h>
29354 #ifdef HAVE_IEEEFP_H
29355 #include <ieeefp.h>
29356 #endif
29359 main ()
29361 finite(0);
29363 return 0;
29365 _ACEOF
29366 if ac_fn_cxx_try_compile "$LINENO"; then :
29367 glibcxx_cv_func_finite_use=yes
29368 else
29369 glibcxx_cv_func_finite_use=no
29371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29372 ac_ext=c
29373 ac_cpp='$CPP $CPPFLAGS'
29374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
29383 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
29385 if test x$glibcxx_cv_func_finite_use = x"yes"; then
29386 for ac_func in finite
29387 do :
29388 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
29389 if test "x$ac_cv_func_finite" = x""yes; then :
29390 cat >>confdefs.h <<_ACEOF
29391 #define HAVE_FINITE 1
29392 _ACEOF
29395 done
29397 else
29399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
29400 $as_echo_n "checking for _finite declaration... " >&6; }
29401 if test x${glibcxx_cv_func__finite_use+set} != xset; then
29402 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
29403 $as_echo_n "(cached) " >&6
29404 else
29407 ac_ext=cpp
29408 ac_cpp='$CXXCPP $CPPFLAGS'
29409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29414 /* end confdefs.h. */
29415 #include <math.h>
29416 #ifdef HAVE_IEEEFP_H
29417 #include <ieeefp.h>
29418 #endif
29421 main ()
29423 _finite(0);
29425 return 0;
29427 _ACEOF
29428 if ac_fn_cxx_try_compile "$LINENO"; then :
29429 glibcxx_cv_func__finite_use=yes
29430 else
29431 glibcxx_cv_func__finite_use=no
29433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29434 ac_ext=c
29435 ac_cpp='$CPP $CPPFLAGS'
29436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
29445 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
29447 if test x$glibcxx_cv_func__finite_use = x"yes"; then
29448 for ac_func in _finite
29449 do :
29450 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
29451 if test "x$ac_cv_func__finite" = x""yes; then :
29452 cat >>confdefs.h <<_ACEOF
29453 #define HAVE__FINITE 1
29454 _ACEOF
29457 done
29466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
29467 $as_echo_n "checking for sincos declaration... " >&6; }
29468 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
29469 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
29470 $as_echo_n "(cached) " >&6
29471 else
29474 ac_ext=cpp
29475 ac_cpp='$CXXCPP $CPPFLAGS'
29476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29481 /* end confdefs.h. */
29482 #include <math.h>
29484 main ()
29486 sincos(0, 0, 0);
29488 return 0;
29490 _ACEOF
29491 if ac_fn_cxx_try_compile "$LINENO"; then :
29492 glibcxx_cv_func_sincos_use=yes
29493 else
29494 glibcxx_cv_func_sincos_use=no
29496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29497 ac_ext=c
29498 ac_cpp='$CPP $CPPFLAGS'
29499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
29508 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
29510 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
29511 for ac_func in sincos
29512 do :
29513 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
29514 if test "x$ac_cv_func_sincos" = x""yes; then :
29515 cat >>confdefs.h <<_ACEOF
29516 #define HAVE_SINCOS 1
29517 _ACEOF
29520 done
29522 else
29524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
29525 $as_echo_n "checking for _sincos declaration... " >&6; }
29526 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
29527 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
29528 $as_echo_n "(cached) " >&6
29529 else
29532 ac_ext=cpp
29533 ac_cpp='$CXXCPP $CPPFLAGS'
29534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29539 /* end confdefs.h. */
29540 #include <math.h>
29542 main ()
29544 _sincos(0, 0, 0);
29546 return 0;
29548 _ACEOF
29549 if ac_fn_cxx_try_compile "$LINENO"; then :
29550 glibcxx_cv_func__sincos_use=yes
29551 else
29552 glibcxx_cv_func__sincos_use=no
29554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29555 ac_ext=c
29556 ac_cpp='$CPP $CPPFLAGS'
29557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
29566 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
29568 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
29569 for ac_func in _sincos
29570 do :
29571 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
29572 if test "x$ac_cv_func__sincos" = x""yes; then :
29573 cat >>confdefs.h <<_ACEOF
29574 #define HAVE__SINCOS 1
29575 _ACEOF
29578 done
29587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
29588 $as_echo_n "checking for fpclass declaration... " >&6; }
29589 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
29590 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
29591 $as_echo_n "(cached) " >&6
29592 else
29595 ac_ext=cpp
29596 ac_cpp='$CXXCPP $CPPFLAGS'
29597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29602 /* end confdefs.h. */
29603 #include <math.h>
29604 #ifdef HAVE_IEEEFP_H
29605 #include <ieeefp.h>
29606 #endif
29609 main ()
29611 fpclass(0);
29613 return 0;
29615 _ACEOF
29616 if ac_fn_cxx_try_compile "$LINENO"; then :
29617 glibcxx_cv_func_fpclass_use=yes
29618 else
29619 glibcxx_cv_func_fpclass_use=no
29621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29622 ac_ext=c
29623 ac_cpp='$CPP $CPPFLAGS'
29624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
29633 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
29635 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
29636 for ac_func in fpclass
29637 do :
29638 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
29639 if test "x$ac_cv_func_fpclass" = x""yes; then :
29640 cat >>confdefs.h <<_ACEOF
29641 #define HAVE_FPCLASS 1
29642 _ACEOF
29645 done
29647 else
29649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
29650 $as_echo_n "checking for _fpclass declaration... " >&6; }
29651 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
29652 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
29653 $as_echo_n "(cached) " >&6
29654 else
29657 ac_ext=cpp
29658 ac_cpp='$CXXCPP $CPPFLAGS'
29659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29664 /* end confdefs.h. */
29665 #include <math.h>
29666 #ifdef HAVE_IEEEFP_H
29667 #include <ieeefp.h>
29668 #endif
29671 main ()
29673 _fpclass(0);
29675 return 0;
29677 _ACEOF
29678 if ac_fn_cxx_try_compile "$LINENO"; then :
29679 glibcxx_cv_func__fpclass_use=yes
29680 else
29681 glibcxx_cv_func__fpclass_use=no
29683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29684 ac_ext=c
29685 ac_cpp='$CPP $CPPFLAGS'
29686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
29695 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
29697 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
29698 for ac_func in _fpclass
29699 do :
29700 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
29701 if test "x$ac_cv_func__fpclass" = x""yes; then :
29702 cat >>confdefs.h <<_ACEOF
29703 #define HAVE__FPCLASS 1
29704 _ACEOF
29707 done
29716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
29717 $as_echo_n "checking for qfpclass declaration... " >&6; }
29718 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
29719 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
29720 $as_echo_n "(cached) " >&6
29721 else
29724 ac_ext=cpp
29725 ac_cpp='$CXXCPP $CPPFLAGS'
29726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29731 /* end confdefs.h. */
29732 #include <math.h>
29733 #ifdef HAVE_IEEEFP_H
29734 #include <ieeefp.h>
29735 #endif
29738 main ()
29740 qfpclass(0);
29742 return 0;
29744 _ACEOF
29745 if ac_fn_cxx_try_compile "$LINENO"; then :
29746 glibcxx_cv_func_qfpclass_use=yes
29747 else
29748 glibcxx_cv_func_qfpclass_use=no
29750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29751 ac_ext=c
29752 ac_cpp='$CPP $CPPFLAGS'
29753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
29762 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
29764 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
29765 for ac_func in qfpclass
29766 do :
29767 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
29768 if test "x$ac_cv_func_qfpclass" = x""yes; then :
29769 cat >>confdefs.h <<_ACEOF
29770 #define HAVE_QFPCLASS 1
29771 _ACEOF
29774 done
29776 else
29778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
29779 $as_echo_n "checking for _qfpclass declaration... " >&6; }
29780 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
29781 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
29782 $as_echo_n "(cached) " >&6
29783 else
29786 ac_ext=cpp
29787 ac_cpp='$CXXCPP $CPPFLAGS'
29788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29793 /* end confdefs.h. */
29794 #include <math.h>
29795 #ifdef HAVE_IEEEFP_H
29796 #include <ieeefp.h>
29797 #endif
29800 main ()
29802 _qfpclass(0);
29804 return 0;
29806 _ACEOF
29807 if ac_fn_cxx_try_compile "$LINENO"; then :
29808 glibcxx_cv_func__qfpclass_use=yes
29809 else
29810 glibcxx_cv_func__qfpclass_use=no
29812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29813 ac_ext=c
29814 ac_cpp='$CPP $CPPFLAGS'
29815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
29824 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
29826 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
29827 for ac_func in _qfpclass
29828 do :
29829 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
29830 if test "x$ac_cv_func__qfpclass" = x""yes; then :
29831 cat >>confdefs.h <<_ACEOF
29832 #define HAVE__QFPCLASS 1
29833 _ACEOF
29836 done
29845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
29846 $as_echo_n "checking for hypot declaration... " >&6; }
29847 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
29848 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
29849 $as_echo_n "(cached) " >&6
29850 else
29853 ac_ext=cpp
29854 ac_cpp='$CXXCPP $CPPFLAGS'
29855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29860 /* end confdefs.h. */
29861 #include <math.h>
29863 main ()
29865 hypot(0, 0);
29867 return 0;
29869 _ACEOF
29870 if ac_fn_cxx_try_compile "$LINENO"; then :
29871 glibcxx_cv_func_hypot_use=yes
29872 else
29873 glibcxx_cv_func_hypot_use=no
29875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29876 ac_ext=c
29877 ac_cpp='$CPP $CPPFLAGS'
29878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
29887 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
29889 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
29890 for ac_func in hypot
29891 do :
29892 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
29893 if test "x$ac_cv_func_hypot" = x""yes; then :
29894 cat >>confdefs.h <<_ACEOF
29895 #define HAVE_HYPOT 1
29896 _ACEOF
29899 done
29901 else
29903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
29904 $as_echo_n "checking for _hypot declaration... " >&6; }
29905 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
29906 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
29907 $as_echo_n "(cached) " >&6
29908 else
29911 ac_ext=cpp
29912 ac_cpp='$CXXCPP $CPPFLAGS'
29913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29918 /* end confdefs.h. */
29919 #include <math.h>
29921 main ()
29923 _hypot(0, 0);
29925 return 0;
29927 _ACEOF
29928 if ac_fn_cxx_try_compile "$LINENO"; then :
29929 glibcxx_cv_func__hypot_use=yes
29930 else
29931 glibcxx_cv_func__hypot_use=no
29933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29934 ac_ext=c
29935 ac_cpp='$CPP $CPPFLAGS'
29936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
29945 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
29947 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
29948 for ac_func in _hypot
29949 do :
29950 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
29951 if test "x$ac_cv_func__hypot" = x""yes; then :
29952 cat >>confdefs.h <<_ACEOF
29953 #define HAVE__HYPOT 1
29954 _ACEOF
29957 done
29966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
29967 $as_echo_n "checking for float trig functions... " >&6; }
29968 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
29969 $as_echo_n "(cached) " >&6
29970 else
29973 ac_ext=cpp
29974 ac_cpp='$CXXCPP $CPPFLAGS'
29975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29980 /* end confdefs.h. */
29981 #include <math.h>
29983 main ()
29985 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
29987 return 0;
29989 _ACEOF
29990 if ac_fn_cxx_try_compile "$LINENO"; then :
29991 glibcxx_cv_func_float_trig_use=yes
29992 else
29993 glibcxx_cv_func_float_trig_use=no
29995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29996 ac_ext=c
29997 ac_cpp='$CPP $CPPFLAGS'
29998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
30005 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
30006 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
30007 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
30008 do :
30009 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30010 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30011 eval as_val=\$$as_ac_var
30012 if test "x$as_val" = x""yes; then :
30013 cat >>confdefs.h <<_ACEOF
30014 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30015 _ACEOF
30018 done
30020 else
30021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
30022 $as_echo_n "checking for _float trig functions... " >&6; }
30023 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
30024 $as_echo_n "(cached) " >&6
30025 else
30028 ac_ext=cpp
30029 ac_cpp='$CXXCPP $CPPFLAGS'
30030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30035 /* end confdefs.h. */
30036 #include <math.h>
30038 main ()
30040 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
30042 return 0;
30044 _ACEOF
30045 if ac_fn_cxx_try_compile "$LINENO"; then :
30046 glibcxx_cv_func__float_trig_use=yes
30047 else
30048 glibcxx_cv_func__float_trig_use=no
30050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30051 ac_ext=c
30052 ac_cpp='$CPP $CPPFLAGS'
30053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
30060 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
30061 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
30062 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
30063 do :
30064 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30065 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30066 eval as_val=\$$as_ac_var
30067 if test "x$as_val" = x""yes; then :
30068 cat >>confdefs.h <<_ACEOF
30069 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30070 _ACEOF
30073 done
30082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
30083 $as_echo_n "checking for float round functions... " >&6; }
30084 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
30085 $as_echo_n "(cached) " >&6
30086 else
30089 ac_ext=cpp
30090 ac_cpp='$CXXCPP $CPPFLAGS'
30091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30096 /* end confdefs.h. */
30097 #include <math.h>
30099 main ()
30101 ceilf (0); floorf (0);
30103 return 0;
30105 _ACEOF
30106 if ac_fn_cxx_try_compile "$LINENO"; then :
30107 glibcxx_cv_func_float_round_use=yes
30108 else
30109 glibcxx_cv_func_float_round_use=no
30111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30112 ac_ext=c
30113 ac_cpp='$CPP $CPPFLAGS'
30114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
30121 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
30122 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
30123 for ac_func in ceilf floorf
30124 do :
30125 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30126 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30127 eval as_val=\$$as_ac_var
30128 if test "x$as_val" = x""yes; then :
30129 cat >>confdefs.h <<_ACEOF
30130 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30131 _ACEOF
30134 done
30136 else
30137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
30138 $as_echo_n "checking for _float round functions... " >&6; }
30139 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
30140 $as_echo_n "(cached) " >&6
30141 else
30144 ac_ext=cpp
30145 ac_cpp='$CXXCPP $CPPFLAGS'
30146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30151 /* end confdefs.h. */
30152 #include <math.h>
30154 main ()
30156 _ceilf (0); _floorf (0);
30158 return 0;
30160 _ACEOF
30161 if ac_fn_cxx_try_compile "$LINENO"; then :
30162 glibcxx_cv_func__float_round_use=yes
30163 else
30164 glibcxx_cv_func__float_round_use=no
30166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30167 ac_ext=c
30168 ac_cpp='$CPP $CPPFLAGS'
30169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
30176 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
30177 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
30178 for ac_func in _ceilf _floorf
30179 do :
30180 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30181 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30182 eval as_val=\$$as_ac_var
30183 if test "x$as_val" = x""yes; then :
30184 cat >>confdefs.h <<_ACEOF
30185 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30186 _ACEOF
30189 done
30199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
30200 $as_echo_n "checking for expf declaration... " >&6; }
30201 if test x${glibcxx_cv_func_expf_use+set} != xset; then
30202 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
30203 $as_echo_n "(cached) " >&6
30204 else
30207 ac_ext=cpp
30208 ac_cpp='$CXXCPP $CPPFLAGS'
30209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30214 /* end confdefs.h. */
30215 #include <math.h>
30216 #ifdef HAVE_IEEEFP_H
30217 #include <ieeefp.h>
30218 #endif
30221 main ()
30223 expf(0);
30225 return 0;
30227 _ACEOF
30228 if ac_fn_cxx_try_compile "$LINENO"; then :
30229 glibcxx_cv_func_expf_use=yes
30230 else
30231 glibcxx_cv_func_expf_use=no
30233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30234 ac_ext=c
30235 ac_cpp='$CPP $CPPFLAGS'
30236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
30245 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
30247 if test x$glibcxx_cv_func_expf_use = x"yes"; then
30248 for ac_func in expf
30249 do :
30250 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
30251 if test "x$ac_cv_func_expf" = x""yes; then :
30252 cat >>confdefs.h <<_ACEOF
30253 #define HAVE_EXPF 1
30254 _ACEOF
30257 done
30259 else
30261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
30262 $as_echo_n "checking for _expf declaration... " >&6; }
30263 if test x${glibcxx_cv_func__expf_use+set} != xset; then
30264 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
30265 $as_echo_n "(cached) " >&6
30266 else
30269 ac_ext=cpp
30270 ac_cpp='$CXXCPP $CPPFLAGS'
30271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30276 /* end confdefs.h. */
30277 #include <math.h>
30278 #ifdef HAVE_IEEEFP_H
30279 #include <ieeefp.h>
30280 #endif
30283 main ()
30285 _expf(0);
30287 return 0;
30289 _ACEOF
30290 if ac_fn_cxx_try_compile "$LINENO"; then :
30291 glibcxx_cv_func__expf_use=yes
30292 else
30293 glibcxx_cv_func__expf_use=no
30295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30296 ac_ext=c
30297 ac_cpp='$CPP $CPPFLAGS'
30298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
30307 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
30309 if test x$glibcxx_cv_func__expf_use = x"yes"; then
30310 for ac_func in _expf
30311 do :
30312 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
30313 if test "x$ac_cv_func__expf" = x""yes; then :
30314 cat >>confdefs.h <<_ACEOF
30315 #define HAVE__EXPF 1
30316 _ACEOF
30319 done
30328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
30329 $as_echo_n "checking for isnanf declaration... " >&6; }
30330 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
30331 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
30332 $as_echo_n "(cached) " >&6
30333 else
30336 ac_ext=cpp
30337 ac_cpp='$CXXCPP $CPPFLAGS'
30338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30343 /* end confdefs.h. */
30344 #include <math.h>
30345 #ifdef HAVE_IEEEFP_H
30346 #include <ieeefp.h>
30347 #endif
30350 main ()
30352 isnanf(0);
30354 return 0;
30356 _ACEOF
30357 if ac_fn_cxx_try_compile "$LINENO"; then :
30358 glibcxx_cv_func_isnanf_use=yes
30359 else
30360 glibcxx_cv_func_isnanf_use=no
30362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30363 ac_ext=c
30364 ac_cpp='$CPP $CPPFLAGS'
30365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
30374 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
30376 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
30377 for ac_func in isnanf
30378 do :
30379 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
30380 if test "x$ac_cv_func_isnanf" = x""yes; then :
30381 cat >>confdefs.h <<_ACEOF
30382 #define HAVE_ISNANF 1
30383 _ACEOF
30386 done
30388 else
30390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
30391 $as_echo_n "checking for _isnanf declaration... " >&6; }
30392 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
30393 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
30394 $as_echo_n "(cached) " >&6
30395 else
30398 ac_ext=cpp
30399 ac_cpp='$CXXCPP $CPPFLAGS'
30400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30405 /* end confdefs.h. */
30406 #include <math.h>
30407 #ifdef HAVE_IEEEFP_H
30408 #include <ieeefp.h>
30409 #endif
30412 main ()
30414 _isnanf(0);
30416 return 0;
30418 _ACEOF
30419 if ac_fn_cxx_try_compile "$LINENO"; then :
30420 glibcxx_cv_func__isnanf_use=yes
30421 else
30422 glibcxx_cv_func__isnanf_use=no
30424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30425 ac_ext=c
30426 ac_cpp='$CPP $CPPFLAGS'
30427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
30436 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
30438 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
30439 for ac_func in _isnanf
30440 do :
30441 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
30442 if test "x$ac_cv_func__isnanf" = x""yes; then :
30443 cat >>confdefs.h <<_ACEOF
30444 #define HAVE__ISNANF 1
30445 _ACEOF
30448 done
30457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
30458 $as_echo_n "checking for isinff declaration... " >&6; }
30459 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
30460 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
30461 $as_echo_n "(cached) " >&6
30462 else
30465 ac_ext=cpp
30466 ac_cpp='$CXXCPP $CPPFLAGS'
30467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30472 /* end confdefs.h. */
30473 #include <math.h>
30474 #ifdef HAVE_IEEEFP_H
30475 #include <ieeefp.h>
30476 #endif
30479 main ()
30481 isinff(0);
30483 return 0;
30485 _ACEOF
30486 if ac_fn_cxx_try_compile "$LINENO"; then :
30487 glibcxx_cv_func_isinff_use=yes
30488 else
30489 glibcxx_cv_func_isinff_use=no
30491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30492 ac_ext=c
30493 ac_cpp='$CPP $CPPFLAGS'
30494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
30503 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
30505 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
30506 for ac_func in isinff
30507 do :
30508 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
30509 if test "x$ac_cv_func_isinff" = x""yes; then :
30510 cat >>confdefs.h <<_ACEOF
30511 #define HAVE_ISINFF 1
30512 _ACEOF
30515 done
30517 else
30519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
30520 $as_echo_n "checking for _isinff declaration... " >&6; }
30521 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
30522 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
30523 $as_echo_n "(cached) " >&6
30524 else
30527 ac_ext=cpp
30528 ac_cpp='$CXXCPP $CPPFLAGS'
30529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30534 /* end confdefs.h. */
30535 #include <math.h>
30536 #ifdef HAVE_IEEEFP_H
30537 #include <ieeefp.h>
30538 #endif
30541 main ()
30543 _isinff(0);
30545 return 0;
30547 _ACEOF
30548 if ac_fn_cxx_try_compile "$LINENO"; then :
30549 glibcxx_cv_func__isinff_use=yes
30550 else
30551 glibcxx_cv_func__isinff_use=no
30553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30554 ac_ext=c
30555 ac_cpp='$CPP $CPPFLAGS'
30556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
30565 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
30567 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
30568 for ac_func in _isinff
30569 do :
30570 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
30571 if test "x$ac_cv_func__isinff" = x""yes; then :
30572 cat >>confdefs.h <<_ACEOF
30573 #define HAVE__ISINFF 1
30574 _ACEOF
30577 done
30586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
30587 $as_echo_n "checking for atan2f declaration... " >&6; }
30588 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
30589 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
30590 $as_echo_n "(cached) " >&6
30591 else
30594 ac_ext=cpp
30595 ac_cpp='$CXXCPP $CPPFLAGS'
30596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30601 /* end confdefs.h. */
30602 #include <math.h>
30604 main ()
30606 atan2f(0, 0);
30608 return 0;
30610 _ACEOF
30611 if ac_fn_cxx_try_compile "$LINENO"; then :
30612 glibcxx_cv_func_atan2f_use=yes
30613 else
30614 glibcxx_cv_func_atan2f_use=no
30616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30617 ac_ext=c
30618 ac_cpp='$CPP $CPPFLAGS'
30619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
30628 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
30630 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
30631 for ac_func in atan2f
30632 do :
30633 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
30634 if test "x$ac_cv_func_atan2f" = x""yes; then :
30635 cat >>confdefs.h <<_ACEOF
30636 #define HAVE_ATAN2F 1
30637 _ACEOF
30640 done
30642 else
30644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
30645 $as_echo_n "checking for _atan2f declaration... " >&6; }
30646 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
30647 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
30648 $as_echo_n "(cached) " >&6
30649 else
30652 ac_ext=cpp
30653 ac_cpp='$CXXCPP $CPPFLAGS'
30654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30659 /* end confdefs.h. */
30660 #include <math.h>
30662 main ()
30664 _atan2f(0, 0);
30666 return 0;
30668 _ACEOF
30669 if ac_fn_cxx_try_compile "$LINENO"; then :
30670 glibcxx_cv_func__atan2f_use=yes
30671 else
30672 glibcxx_cv_func__atan2f_use=no
30674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30675 ac_ext=c
30676 ac_cpp='$CPP $CPPFLAGS'
30677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
30686 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
30688 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
30689 for ac_func in _atan2f
30690 do :
30691 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
30692 if test "x$ac_cv_func__atan2f" = x""yes; then :
30693 cat >>confdefs.h <<_ACEOF
30694 #define HAVE__ATAN2F 1
30695 _ACEOF
30698 done
30707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
30708 $as_echo_n "checking for fabsf declaration... " >&6; }
30709 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
30710 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
30711 $as_echo_n "(cached) " >&6
30712 else
30715 ac_ext=cpp
30716 ac_cpp='$CXXCPP $CPPFLAGS'
30717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30722 /* end confdefs.h. */
30723 #include <math.h>
30724 #ifdef HAVE_IEEEFP_H
30725 #include <ieeefp.h>
30726 #endif
30729 main ()
30731 fabsf(0);
30733 return 0;
30735 _ACEOF
30736 if ac_fn_cxx_try_compile "$LINENO"; then :
30737 glibcxx_cv_func_fabsf_use=yes
30738 else
30739 glibcxx_cv_func_fabsf_use=no
30741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30742 ac_ext=c
30743 ac_cpp='$CPP $CPPFLAGS'
30744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
30753 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
30755 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
30756 for ac_func in fabsf
30757 do :
30758 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
30759 if test "x$ac_cv_func_fabsf" = x""yes; then :
30760 cat >>confdefs.h <<_ACEOF
30761 #define HAVE_FABSF 1
30762 _ACEOF
30765 done
30767 else
30769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
30770 $as_echo_n "checking for _fabsf declaration... " >&6; }
30771 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
30772 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
30773 $as_echo_n "(cached) " >&6
30774 else
30777 ac_ext=cpp
30778 ac_cpp='$CXXCPP $CPPFLAGS'
30779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30784 /* end confdefs.h. */
30785 #include <math.h>
30786 #ifdef HAVE_IEEEFP_H
30787 #include <ieeefp.h>
30788 #endif
30791 main ()
30793 _fabsf(0);
30795 return 0;
30797 _ACEOF
30798 if ac_fn_cxx_try_compile "$LINENO"; then :
30799 glibcxx_cv_func__fabsf_use=yes
30800 else
30801 glibcxx_cv_func__fabsf_use=no
30803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30804 ac_ext=c
30805 ac_cpp='$CPP $CPPFLAGS'
30806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
30815 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
30817 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
30818 for ac_func in _fabsf
30819 do :
30820 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
30821 if test "x$ac_cv_func__fabsf" = x""yes; then :
30822 cat >>confdefs.h <<_ACEOF
30823 #define HAVE__FABSF 1
30824 _ACEOF
30827 done
30836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
30837 $as_echo_n "checking for fmodf declaration... " >&6; }
30838 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
30839 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
30840 $as_echo_n "(cached) " >&6
30841 else
30844 ac_ext=cpp
30845 ac_cpp='$CXXCPP $CPPFLAGS'
30846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30851 /* end confdefs.h. */
30852 #include <math.h>
30854 main ()
30856 fmodf(0, 0);
30858 return 0;
30860 _ACEOF
30861 if ac_fn_cxx_try_compile "$LINENO"; then :
30862 glibcxx_cv_func_fmodf_use=yes
30863 else
30864 glibcxx_cv_func_fmodf_use=no
30866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30867 ac_ext=c
30868 ac_cpp='$CPP $CPPFLAGS'
30869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
30878 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
30880 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
30881 for ac_func in fmodf
30882 do :
30883 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
30884 if test "x$ac_cv_func_fmodf" = x""yes; then :
30885 cat >>confdefs.h <<_ACEOF
30886 #define HAVE_FMODF 1
30887 _ACEOF
30890 done
30892 else
30894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
30895 $as_echo_n "checking for _fmodf declaration... " >&6; }
30896 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
30897 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
30898 $as_echo_n "(cached) " >&6
30899 else
30902 ac_ext=cpp
30903 ac_cpp='$CXXCPP $CPPFLAGS'
30904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30909 /* end confdefs.h. */
30910 #include <math.h>
30912 main ()
30914 _fmodf(0, 0);
30916 return 0;
30918 _ACEOF
30919 if ac_fn_cxx_try_compile "$LINENO"; then :
30920 glibcxx_cv_func__fmodf_use=yes
30921 else
30922 glibcxx_cv_func__fmodf_use=no
30924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30925 ac_ext=c
30926 ac_cpp='$CPP $CPPFLAGS'
30927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
30936 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
30938 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
30939 for ac_func in _fmodf
30940 do :
30941 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
30942 if test "x$ac_cv_func__fmodf" = x""yes; then :
30943 cat >>confdefs.h <<_ACEOF
30944 #define HAVE__FMODF 1
30945 _ACEOF
30948 done
30957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
30958 $as_echo_n "checking for frexpf declaration... " >&6; }
30959 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
30960 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
30961 $as_echo_n "(cached) " >&6
30962 else
30965 ac_ext=cpp
30966 ac_cpp='$CXXCPP $CPPFLAGS'
30967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30972 /* end confdefs.h. */
30973 #include <math.h>
30975 main ()
30977 frexpf(0, 0);
30979 return 0;
30981 _ACEOF
30982 if ac_fn_cxx_try_compile "$LINENO"; then :
30983 glibcxx_cv_func_frexpf_use=yes
30984 else
30985 glibcxx_cv_func_frexpf_use=no
30987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30988 ac_ext=c
30989 ac_cpp='$CPP $CPPFLAGS'
30990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
30999 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
31001 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
31002 for ac_func in frexpf
31003 do :
31004 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
31005 if test "x$ac_cv_func_frexpf" = x""yes; then :
31006 cat >>confdefs.h <<_ACEOF
31007 #define HAVE_FREXPF 1
31008 _ACEOF
31011 done
31013 else
31015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
31016 $as_echo_n "checking for _frexpf declaration... " >&6; }
31017 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
31018 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
31019 $as_echo_n "(cached) " >&6
31020 else
31023 ac_ext=cpp
31024 ac_cpp='$CXXCPP $CPPFLAGS'
31025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31030 /* end confdefs.h. */
31031 #include <math.h>
31033 main ()
31035 _frexpf(0, 0);
31037 return 0;
31039 _ACEOF
31040 if ac_fn_cxx_try_compile "$LINENO"; then :
31041 glibcxx_cv_func__frexpf_use=yes
31042 else
31043 glibcxx_cv_func__frexpf_use=no
31045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31046 ac_ext=c
31047 ac_cpp='$CPP $CPPFLAGS'
31048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
31057 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
31059 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
31060 for ac_func in _frexpf
31061 do :
31062 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
31063 if test "x$ac_cv_func__frexpf" = x""yes; then :
31064 cat >>confdefs.h <<_ACEOF
31065 #define HAVE__FREXPF 1
31066 _ACEOF
31069 done
31078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
31079 $as_echo_n "checking for hypotf declaration... " >&6; }
31080 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
31081 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
31082 $as_echo_n "(cached) " >&6
31083 else
31086 ac_ext=cpp
31087 ac_cpp='$CXXCPP $CPPFLAGS'
31088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31093 /* end confdefs.h. */
31094 #include <math.h>
31096 main ()
31098 hypotf(0, 0);
31100 return 0;
31102 _ACEOF
31103 if ac_fn_cxx_try_compile "$LINENO"; then :
31104 glibcxx_cv_func_hypotf_use=yes
31105 else
31106 glibcxx_cv_func_hypotf_use=no
31108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31109 ac_ext=c
31110 ac_cpp='$CPP $CPPFLAGS'
31111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
31120 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
31122 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
31123 for ac_func in hypotf
31124 do :
31125 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
31126 if test "x$ac_cv_func_hypotf" = x""yes; then :
31127 cat >>confdefs.h <<_ACEOF
31128 #define HAVE_HYPOTF 1
31129 _ACEOF
31132 done
31134 else
31136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
31137 $as_echo_n "checking for _hypotf declaration... " >&6; }
31138 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
31139 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
31140 $as_echo_n "(cached) " >&6
31141 else
31144 ac_ext=cpp
31145 ac_cpp='$CXXCPP $CPPFLAGS'
31146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31151 /* end confdefs.h. */
31152 #include <math.h>
31154 main ()
31156 _hypotf(0, 0);
31158 return 0;
31160 _ACEOF
31161 if ac_fn_cxx_try_compile "$LINENO"; then :
31162 glibcxx_cv_func__hypotf_use=yes
31163 else
31164 glibcxx_cv_func__hypotf_use=no
31166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31167 ac_ext=c
31168 ac_cpp='$CPP $CPPFLAGS'
31169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
31178 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
31180 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
31181 for ac_func in _hypotf
31182 do :
31183 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
31184 if test "x$ac_cv_func__hypotf" = x""yes; then :
31185 cat >>confdefs.h <<_ACEOF
31186 #define HAVE__HYPOTF 1
31187 _ACEOF
31190 done
31199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
31200 $as_echo_n "checking for ldexpf declaration... " >&6; }
31201 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
31202 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
31203 $as_echo_n "(cached) " >&6
31204 else
31207 ac_ext=cpp
31208 ac_cpp='$CXXCPP $CPPFLAGS'
31209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31214 /* end confdefs.h. */
31215 #include <math.h>
31217 main ()
31219 ldexpf(0, 0);
31221 return 0;
31223 _ACEOF
31224 if ac_fn_cxx_try_compile "$LINENO"; then :
31225 glibcxx_cv_func_ldexpf_use=yes
31226 else
31227 glibcxx_cv_func_ldexpf_use=no
31229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31230 ac_ext=c
31231 ac_cpp='$CPP $CPPFLAGS'
31232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
31241 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
31243 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
31244 for ac_func in ldexpf
31245 do :
31246 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
31247 if test "x$ac_cv_func_ldexpf" = x""yes; then :
31248 cat >>confdefs.h <<_ACEOF
31249 #define HAVE_LDEXPF 1
31250 _ACEOF
31253 done
31255 else
31257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
31258 $as_echo_n "checking for _ldexpf declaration... " >&6; }
31259 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
31260 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
31261 $as_echo_n "(cached) " >&6
31262 else
31265 ac_ext=cpp
31266 ac_cpp='$CXXCPP $CPPFLAGS'
31267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31272 /* end confdefs.h. */
31273 #include <math.h>
31275 main ()
31277 _ldexpf(0, 0);
31279 return 0;
31281 _ACEOF
31282 if ac_fn_cxx_try_compile "$LINENO"; then :
31283 glibcxx_cv_func__ldexpf_use=yes
31284 else
31285 glibcxx_cv_func__ldexpf_use=no
31287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31288 ac_ext=c
31289 ac_cpp='$CPP $CPPFLAGS'
31290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
31299 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
31301 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
31302 for ac_func in _ldexpf
31303 do :
31304 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
31305 if test "x$ac_cv_func__ldexpf" = x""yes; then :
31306 cat >>confdefs.h <<_ACEOF
31307 #define HAVE__LDEXPF 1
31308 _ACEOF
31311 done
31320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
31321 $as_echo_n "checking for logf declaration... " >&6; }
31322 if test x${glibcxx_cv_func_logf_use+set} != xset; then
31323 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
31324 $as_echo_n "(cached) " >&6
31325 else
31328 ac_ext=cpp
31329 ac_cpp='$CXXCPP $CPPFLAGS'
31330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31335 /* end confdefs.h. */
31336 #include <math.h>
31337 #ifdef HAVE_IEEEFP_H
31338 #include <ieeefp.h>
31339 #endif
31342 main ()
31344 logf(0);
31346 return 0;
31348 _ACEOF
31349 if ac_fn_cxx_try_compile "$LINENO"; then :
31350 glibcxx_cv_func_logf_use=yes
31351 else
31352 glibcxx_cv_func_logf_use=no
31354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31355 ac_ext=c
31356 ac_cpp='$CPP $CPPFLAGS'
31357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
31366 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
31368 if test x$glibcxx_cv_func_logf_use = x"yes"; then
31369 for ac_func in logf
31370 do :
31371 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
31372 if test "x$ac_cv_func_logf" = x""yes; then :
31373 cat >>confdefs.h <<_ACEOF
31374 #define HAVE_LOGF 1
31375 _ACEOF
31378 done
31380 else
31382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
31383 $as_echo_n "checking for _logf declaration... " >&6; }
31384 if test x${glibcxx_cv_func__logf_use+set} != xset; then
31385 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
31386 $as_echo_n "(cached) " >&6
31387 else
31390 ac_ext=cpp
31391 ac_cpp='$CXXCPP $CPPFLAGS'
31392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31397 /* end confdefs.h. */
31398 #include <math.h>
31399 #ifdef HAVE_IEEEFP_H
31400 #include <ieeefp.h>
31401 #endif
31404 main ()
31406 _logf(0);
31408 return 0;
31410 _ACEOF
31411 if ac_fn_cxx_try_compile "$LINENO"; then :
31412 glibcxx_cv_func__logf_use=yes
31413 else
31414 glibcxx_cv_func__logf_use=no
31416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31417 ac_ext=c
31418 ac_cpp='$CPP $CPPFLAGS'
31419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
31428 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
31430 if test x$glibcxx_cv_func__logf_use = x"yes"; then
31431 for ac_func in _logf
31432 do :
31433 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
31434 if test "x$ac_cv_func__logf" = x""yes; then :
31435 cat >>confdefs.h <<_ACEOF
31436 #define HAVE__LOGF 1
31437 _ACEOF
31440 done
31449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
31450 $as_echo_n "checking for log10f declaration... " >&6; }
31451 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
31452 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
31453 $as_echo_n "(cached) " >&6
31454 else
31457 ac_ext=cpp
31458 ac_cpp='$CXXCPP $CPPFLAGS'
31459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31464 /* end confdefs.h. */
31465 #include <math.h>
31466 #ifdef HAVE_IEEEFP_H
31467 #include <ieeefp.h>
31468 #endif
31471 main ()
31473 log10f(0);
31475 return 0;
31477 _ACEOF
31478 if ac_fn_cxx_try_compile "$LINENO"; then :
31479 glibcxx_cv_func_log10f_use=yes
31480 else
31481 glibcxx_cv_func_log10f_use=no
31483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31484 ac_ext=c
31485 ac_cpp='$CPP $CPPFLAGS'
31486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
31495 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
31497 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
31498 for ac_func in log10f
31499 do :
31500 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
31501 if test "x$ac_cv_func_log10f" = x""yes; then :
31502 cat >>confdefs.h <<_ACEOF
31503 #define HAVE_LOG10F 1
31504 _ACEOF
31507 done
31509 else
31511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
31512 $as_echo_n "checking for _log10f declaration... " >&6; }
31513 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
31514 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
31515 $as_echo_n "(cached) " >&6
31516 else
31519 ac_ext=cpp
31520 ac_cpp='$CXXCPP $CPPFLAGS'
31521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31526 /* end confdefs.h. */
31527 #include <math.h>
31528 #ifdef HAVE_IEEEFP_H
31529 #include <ieeefp.h>
31530 #endif
31533 main ()
31535 _log10f(0);
31537 return 0;
31539 _ACEOF
31540 if ac_fn_cxx_try_compile "$LINENO"; then :
31541 glibcxx_cv_func__log10f_use=yes
31542 else
31543 glibcxx_cv_func__log10f_use=no
31545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31546 ac_ext=c
31547 ac_cpp='$CPP $CPPFLAGS'
31548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
31557 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
31559 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
31560 for ac_func in _log10f
31561 do :
31562 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
31563 if test "x$ac_cv_func__log10f" = x""yes; then :
31564 cat >>confdefs.h <<_ACEOF
31565 #define HAVE__LOG10F 1
31566 _ACEOF
31569 done
31578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
31579 $as_echo_n "checking for modff declaration... " >&6; }
31580 if test x${glibcxx_cv_func_modff_use+set} != xset; then
31581 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
31582 $as_echo_n "(cached) " >&6
31583 else
31586 ac_ext=cpp
31587 ac_cpp='$CXXCPP $CPPFLAGS'
31588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31593 /* end confdefs.h. */
31594 #include <math.h>
31596 main ()
31598 modff(0, 0);
31600 return 0;
31602 _ACEOF
31603 if ac_fn_cxx_try_compile "$LINENO"; then :
31604 glibcxx_cv_func_modff_use=yes
31605 else
31606 glibcxx_cv_func_modff_use=no
31608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31609 ac_ext=c
31610 ac_cpp='$CPP $CPPFLAGS'
31611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
31620 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
31622 if test x$glibcxx_cv_func_modff_use = x"yes"; then
31623 for ac_func in modff
31624 do :
31625 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
31626 if test "x$ac_cv_func_modff" = x""yes; then :
31627 cat >>confdefs.h <<_ACEOF
31628 #define HAVE_MODFF 1
31629 _ACEOF
31632 done
31634 else
31636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
31637 $as_echo_n "checking for _modff declaration... " >&6; }
31638 if test x${glibcxx_cv_func__modff_use+set} != xset; then
31639 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
31640 $as_echo_n "(cached) " >&6
31641 else
31644 ac_ext=cpp
31645 ac_cpp='$CXXCPP $CPPFLAGS'
31646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31651 /* end confdefs.h. */
31652 #include <math.h>
31654 main ()
31656 _modff(0, 0);
31658 return 0;
31660 _ACEOF
31661 if ac_fn_cxx_try_compile "$LINENO"; then :
31662 glibcxx_cv_func__modff_use=yes
31663 else
31664 glibcxx_cv_func__modff_use=no
31666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31667 ac_ext=c
31668 ac_cpp='$CPP $CPPFLAGS'
31669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
31678 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
31680 if test x$glibcxx_cv_func__modff_use = x"yes"; then
31681 for ac_func in _modff
31682 do :
31683 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
31684 if test "x$ac_cv_func__modff" = x""yes; then :
31685 cat >>confdefs.h <<_ACEOF
31686 #define HAVE__MODFF 1
31687 _ACEOF
31690 done
31699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
31700 $as_echo_n "checking for modf declaration... " >&6; }
31701 if test x${glibcxx_cv_func_modf_use+set} != xset; then
31702 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
31703 $as_echo_n "(cached) " >&6
31704 else
31707 ac_ext=cpp
31708 ac_cpp='$CXXCPP $CPPFLAGS'
31709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31714 /* end confdefs.h. */
31715 #include <math.h>
31717 main ()
31719 modf(0, 0);
31721 return 0;
31723 _ACEOF
31724 if ac_fn_cxx_try_compile "$LINENO"; then :
31725 glibcxx_cv_func_modf_use=yes
31726 else
31727 glibcxx_cv_func_modf_use=no
31729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31730 ac_ext=c
31731 ac_cpp='$CPP $CPPFLAGS'
31732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
31741 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
31743 if test x$glibcxx_cv_func_modf_use = x"yes"; then
31744 for ac_func in modf
31745 do :
31746 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
31747 if test "x$ac_cv_func_modf" = x""yes; then :
31748 cat >>confdefs.h <<_ACEOF
31749 #define HAVE_MODF 1
31750 _ACEOF
31753 done
31755 else
31757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
31758 $as_echo_n "checking for _modf declaration... " >&6; }
31759 if test x${glibcxx_cv_func__modf_use+set} != xset; then
31760 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
31761 $as_echo_n "(cached) " >&6
31762 else
31765 ac_ext=cpp
31766 ac_cpp='$CXXCPP $CPPFLAGS'
31767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31772 /* end confdefs.h. */
31773 #include <math.h>
31775 main ()
31777 _modf(0, 0);
31779 return 0;
31781 _ACEOF
31782 if ac_fn_cxx_try_compile "$LINENO"; then :
31783 glibcxx_cv_func__modf_use=yes
31784 else
31785 glibcxx_cv_func__modf_use=no
31787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31788 ac_ext=c
31789 ac_cpp='$CPP $CPPFLAGS'
31790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
31799 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
31801 if test x$glibcxx_cv_func__modf_use = x"yes"; then
31802 for ac_func in _modf
31803 do :
31804 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
31805 if test "x$ac_cv_func__modf" = x""yes; then :
31806 cat >>confdefs.h <<_ACEOF
31807 #define HAVE__MODF 1
31808 _ACEOF
31811 done
31820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
31821 $as_echo_n "checking for powf declaration... " >&6; }
31822 if test x${glibcxx_cv_func_powf_use+set} != xset; then
31823 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
31824 $as_echo_n "(cached) " >&6
31825 else
31828 ac_ext=cpp
31829 ac_cpp='$CXXCPP $CPPFLAGS'
31830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31835 /* end confdefs.h. */
31836 #include <math.h>
31838 main ()
31840 powf(0, 0);
31842 return 0;
31844 _ACEOF
31845 if ac_fn_cxx_try_compile "$LINENO"; then :
31846 glibcxx_cv_func_powf_use=yes
31847 else
31848 glibcxx_cv_func_powf_use=no
31850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31851 ac_ext=c
31852 ac_cpp='$CPP $CPPFLAGS'
31853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
31862 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
31864 if test x$glibcxx_cv_func_powf_use = x"yes"; then
31865 for ac_func in powf
31866 do :
31867 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
31868 if test "x$ac_cv_func_powf" = x""yes; then :
31869 cat >>confdefs.h <<_ACEOF
31870 #define HAVE_POWF 1
31871 _ACEOF
31874 done
31876 else
31878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
31879 $as_echo_n "checking for _powf declaration... " >&6; }
31880 if test x${glibcxx_cv_func__powf_use+set} != xset; then
31881 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
31882 $as_echo_n "(cached) " >&6
31883 else
31886 ac_ext=cpp
31887 ac_cpp='$CXXCPP $CPPFLAGS'
31888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31893 /* end confdefs.h. */
31894 #include <math.h>
31896 main ()
31898 _powf(0, 0);
31900 return 0;
31902 _ACEOF
31903 if ac_fn_cxx_try_compile "$LINENO"; then :
31904 glibcxx_cv_func__powf_use=yes
31905 else
31906 glibcxx_cv_func__powf_use=no
31908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31909 ac_ext=c
31910 ac_cpp='$CPP $CPPFLAGS'
31911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
31920 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
31922 if test x$glibcxx_cv_func__powf_use = x"yes"; then
31923 for ac_func in _powf
31924 do :
31925 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
31926 if test "x$ac_cv_func__powf" = x""yes; then :
31927 cat >>confdefs.h <<_ACEOF
31928 #define HAVE__POWF 1
31929 _ACEOF
31932 done
31941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
31942 $as_echo_n "checking for sqrtf declaration... " >&6; }
31943 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
31944 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
31945 $as_echo_n "(cached) " >&6
31946 else
31949 ac_ext=cpp
31950 ac_cpp='$CXXCPP $CPPFLAGS'
31951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31956 /* end confdefs.h. */
31957 #include <math.h>
31958 #ifdef HAVE_IEEEFP_H
31959 #include <ieeefp.h>
31960 #endif
31963 main ()
31965 sqrtf(0);
31967 return 0;
31969 _ACEOF
31970 if ac_fn_cxx_try_compile "$LINENO"; then :
31971 glibcxx_cv_func_sqrtf_use=yes
31972 else
31973 glibcxx_cv_func_sqrtf_use=no
31975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31976 ac_ext=c
31977 ac_cpp='$CPP $CPPFLAGS'
31978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
31987 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
31989 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
31990 for ac_func in sqrtf
31991 do :
31992 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
31993 if test "x$ac_cv_func_sqrtf" = x""yes; then :
31994 cat >>confdefs.h <<_ACEOF
31995 #define HAVE_SQRTF 1
31996 _ACEOF
31999 done
32001 else
32003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
32004 $as_echo_n "checking for _sqrtf declaration... " >&6; }
32005 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
32006 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
32007 $as_echo_n "(cached) " >&6
32008 else
32011 ac_ext=cpp
32012 ac_cpp='$CXXCPP $CPPFLAGS'
32013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32018 /* end confdefs.h. */
32019 #include <math.h>
32020 #ifdef HAVE_IEEEFP_H
32021 #include <ieeefp.h>
32022 #endif
32025 main ()
32027 _sqrtf(0);
32029 return 0;
32031 _ACEOF
32032 if ac_fn_cxx_try_compile "$LINENO"; then :
32033 glibcxx_cv_func__sqrtf_use=yes
32034 else
32035 glibcxx_cv_func__sqrtf_use=no
32037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32038 ac_ext=c
32039 ac_cpp='$CPP $CPPFLAGS'
32040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
32049 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
32051 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
32052 for ac_func in _sqrtf
32053 do :
32054 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
32055 if test "x$ac_cv_func__sqrtf" = x""yes; then :
32056 cat >>confdefs.h <<_ACEOF
32057 #define HAVE__SQRTF 1
32058 _ACEOF
32061 done
32070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
32071 $as_echo_n "checking for sincosf declaration... " >&6; }
32072 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
32073 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
32074 $as_echo_n "(cached) " >&6
32075 else
32078 ac_ext=cpp
32079 ac_cpp='$CXXCPP $CPPFLAGS'
32080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32085 /* end confdefs.h. */
32086 #include <math.h>
32088 main ()
32090 sincosf(0, 0, 0);
32092 return 0;
32094 _ACEOF
32095 if ac_fn_cxx_try_compile "$LINENO"; then :
32096 glibcxx_cv_func_sincosf_use=yes
32097 else
32098 glibcxx_cv_func_sincosf_use=no
32100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32101 ac_ext=c
32102 ac_cpp='$CPP $CPPFLAGS'
32103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
32112 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
32114 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
32115 for ac_func in sincosf
32116 do :
32117 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
32118 if test "x$ac_cv_func_sincosf" = x""yes; then :
32119 cat >>confdefs.h <<_ACEOF
32120 #define HAVE_SINCOSF 1
32121 _ACEOF
32124 done
32126 else
32128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
32129 $as_echo_n "checking for _sincosf declaration... " >&6; }
32130 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
32131 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
32132 $as_echo_n "(cached) " >&6
32133 else
32136 ac_ext=cpp
32137 ac_cpp='$CXXCPP $CPPFLAGS'
32138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32143 /* end confdefs.h. */
32144 #include <math.h>
32146 main ()
32148 _sincosf(0, 0, 0);
32150 return 0;
32152 _ACEOF
32153 if ac_fn_cxx_try_compile "$LINENO"; then :
32154 glibcxx_cv_func__sincosf_use=yes
32155 else
32156 glibcxx_cv_func__sincosf_use=no
32158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32159 ac_ext=c
32160 ac_cpp='$CPP $CPPFLAGS'
32161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
32170 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
32172 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
32173 for ac_func in _sincosf
32174 do :
32175 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
32176 if test "x$ac_cv_func__sincosf" = x""yes; then :
32177 cat >>confdefs.h <<_ACEOF
32178 #define HAVE__SINCOSF 1
32179 _ACEOF
32182 done
32191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
32192 $as_echo_n "checking for finitef declaration... " >&6; }
32193 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
32194 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
32195 $as_echo_n "(cached) " >&6
32196 else
32199 ac_ext=cpp
32200 ac_cpp='$CXXCPP $CPPFLAGS'
32201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32206 /* end confdefs.h. */
32207 #include <math.h>
32208 #ifdef HAVE_IEEEFP_H
32209 #include <ieeefp.h>
32210 #endif
32213 main ()
32215 finitef(0);
32217 return 0;
32219 _ACEOF
32220 if ac_fn_cxx_try_compile "$LINENO"; then :
32221 glibcxx_cv_func_finitef_use=yes
32222 else
32223 glibcxx_cv_func_finitef_use=no
32225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32226 ac_ext=c
32227 ac_cpp='$CPP $CPPFLAGS'
32228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
32237 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
32239 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
32240 for ac_func in finitef
32241 do :
32242 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
32243 if test "x$ac_cv_func_finitef" = x""yes; then :
32244 cat >>confdefs.h <<_ACEOF
32245 #define HAVE_FINITEF 1
32246 _ACEOF
32249 done
32251 else
32253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
32254 $as_echo_n "checking for _finitef declaration... " >&6; }
32255 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
32256 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
32257 $as_echo_n "(cached) " >&6
32258 else
32261 ac_ext=cpp
32262 ac_cpp='$CXXCPP $CPPFLAGS'
32263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32268 /* end confdefs.h. */
32269 #include <math.h>
32270 #ifdef HAVE_IEEEFP_H
32271 #include <ieeefp.h>
32272 #endif
32275 main ()
32277 _finitef(0);
32279 return 0;
32281 _ACEOF
32282 if ac_fn_cxx_try_compile "$LINENO"; then :
32283 glibcxx_cv_func__finitef_use=yes
32284 else
32285 glibcxx_cv_func__finitef_use=no
32287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32288 ac_ext=c
32289 ac_cpp='$CPP $CPPFLAGS'
32290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
32299 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
32301 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
32302 for ac_func in _finitef
32303 do :
32304 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
32305 if test "x$ac_cv_func__finitef" = x""yes; then :
32306 cat >>confdefs.h <<_ACEOF
32307 #define HAVE__FINITEF 1
32308 _ACEOF
32311 done
32320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
32321 $as_echo_n "checking for long double trig functions... " >&6; }
32322 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
32323 $as_echo_n "(cached) " >&6
32324 else
32327 ac_ext=cpp
32328 ac_cpp='$CXXCPP $CPPFLAGS'
32329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32334 /* end confdefs.h. */
32335 #include <math.h>
32337 main ()
32339 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
32341 return 0;
32343 _ACEOF
32344 if ac_fn_cxx_try_compile "$LINENO"; then :
32345 glibcxx_cv_func_long_double_trig_use=yes
32346 else
32347 glibcxx_cv_func_long_double_trig_use=no
32349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32350 ac_ext=c
32351 ac_cpp='$CPP $CPPFLAGS'
32352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
32359 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
32360 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
32361 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
32362 do :
32363 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32364 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32365 eval as_val=\$$as_ac_var
32366 if test "x$as_val" = x""yes; then :
32367 cat >>confdefs.h <<_ACEOF
32368 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32369 _ACEOF
32372 done
32374 else
32375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
32376 $as_echo_n "checking for _long double trig functions... " >&6; }
32377 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
32378 $as_echo_n "(cached) " >&6
32379 else
32382 ac_ext=cpp
32383 ac_cpp='$CXXCPP $CPPFLAGS'
32384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32389 /* end confdefs.h. */
32390 #include <math.h>
32392 main ()
32394 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
32396 return 0;
32398 _ACEOF
32399 if ac_fn_cxx_try_compile "$LINENO"; then :
32400 glibcxx_cv_func__long_double_trig_use=yes
32401 else
32402 glibcxx_cv_func__long_double_trig_use=no
32404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32405 ac_ext=c
32406 ac_cpp='$CPP $CPPFLAGS'
32407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
32414 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
32415 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
32416 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
32417 do :
32418 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32419 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32420 eval as_val=\$$as_ac_var
32421 if test "x$as_val" = x""yes; then :
32422 cat >>confdefs.h <<_ACEOF
32423 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32424 _ACEOF
32427 done
32436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
32437 $as_echo_n "checking for long double round functions... " >&6; }
32438 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
32439 $as_echo_n "(cached) " >&6
32440 else
32443 ac_ext=cpp
32444 ac_cpp='$CXXCPP $CPPFLAGS'
32445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32450 /* end confdefs.h. */
32451 #include <math.h>
32453 main ()
32455 ceill (0); floorl (0);
32457 return 0;
32459 _ACEOF
32460 if ac_fn_cxx_try_compile "$LINENO"; then :
32461 glibcxx_cv_func_long_double_round_use=yes
32462 else
32463 glibcxx_cv_func_long_double_round_use=no
32465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32466 ac_ext=c
32467 ac_cpp='$CPP $CPPFLAGS'
32468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
32475 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
32476 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
32477 for ac_func in ceill floorl
32478 do :
32479 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32480 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32481 eval as_val=\$$as_ac_var
32482 if test "x$as_val" = x""yes; then :
32483 cat >>confdefs.h <<_ACEOF
32484 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32485 _ACEOF
32488 done
32490 else
32491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
32492 $as_echo_n "checking for _long double round functions... " >&6; }
32493 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
32494 $as_echo_n "(cached) " >&6
32495 else
32498 ac_ext=cpp
32499 ac_cpp='$CXXCPP $CPPFLAGS'
32500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32505 /* end confdefs.h. */
32506 #include <math.h>
32508 main ()
32510 _ceill (0); _floorl (0);
32512 return 0;
32514 _ACEOF
32515 if ac_fn_cxx_try_compile "$LINENO"; then :
32516 glibcxx_cv_func__long_double_round_use=yes
32517 else
32518 glibcxx_cv_func__long_double_round_use=no
32520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32521 ac_ext=c
32522 ac_cpp='$CPP $CPPFLAGS'
32523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
32530 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
32531 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
32532 for ac_func in _ceill _floorl
32533 do :
32534 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32535 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32536 eval as_val=\$$as_ac_var
32537 if test "x$as_val" = x""yes; then :
32538 cat >>confdefs.h <<_ACEOF
32539 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32540 _ACEOF
32543 done
32553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
32554 $as_echo_n "checking for isnanl declaration... " >&6; }
32555 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
32556 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
32557 $as_echo_n "(cached) " >&6
32558 else
32561 ac_ext=cpp
32562 ac_cpp='$CXXCPP $CPPFLAGS'
32563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32568 /* end confdefs.h. */
32569 #include <math.h>
32570 #ifdef HAVE_IEEEFP_H
32571 #include <ieeefp.h>
32572 #endif
32575 main ()
32577 isnanl(0);
32579 return 0;
32581 _ACEOF
32582 if ac_fn_cxx_try_compile "$LINENO"; then :
32583 glibcxx_cv_func_isnanl_use=yes
32584 else
32585 glibcxx_cv_func_isnanl_use=no
32587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32588 ac_ext=c
32589 ac_cpp='$CPP $CPPFLAGS'
32590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
32599 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
32601 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
32602 for ac_func in isnanl
32603 do :
32604 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
32605 if test "x$ac_cv_func_isnanl" = x""yes; then :
32606 cat >>confdefs.h <<_ACEOF
32607 #define HAVE_ISNANL 1
32608 _ACEOF
32611 done
32613 else
32615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
32616 $as_echo_n "checking for _isnanl declaration... " >&6; }
32617 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
32618 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
32619 $as_echo_n "(cached) " >&6
32620 else
32623 ac_ext=cpp
32624 ac_cpp='$CXXCPP $CPPFLAGS'
32625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32630 /* end confdefs.h. */
32631 #include <math.h>
32632 #ifdef HAVE_IEEEFP_H
32633 #include <ieeefp.h>
32634 #endif
32637 main ()
32639 _isnanl(0);
32641 return 0;
32643 _ACEOF
32644 if ac_fn_cxx_try_compile "$LINENO"; then :
32645 glibcxx_cv_func__isnanl_use=yes
32646 else
32647 glibcxx_cv_func__isnanl_use=no
32649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32650 ac_ext=c
32651 ac_cpp='$CPP $CPPFLAGS'
32652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
32661 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
32663 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
32664 for ac_func in _isnanl
32665 do :
32666 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
32667 if test "x$ac_cv_func__isnanl" = x""yes; then :
32668 cat >>confdefs.h <<_ACEOF
32669 #define HAVE__ISNANL 1
32670 _ACEOF
32673 done
32682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
32683 $as_echo_n "checking for isinfl declaration... " >&6; }
32684 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
32685 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
32686 $as_echo_n "(cached) " >&6
32687 else
32690 ac_ext=cpp
32691 ac_cpp='$CXXCPP $CPPFLAGS'
32692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32697 /* end confdefs.h. */
32698 #include <math.h>
32699 #ifdef HAVE_IEEEFP_H
32700 #include <ieeefp.h>
32701 #endif
32704 main ()
32706 isinfl(0);
32708 return 0;
32710 _ACEOF
32711 if ac_fn_cxx_try_compile "$LINENO"; then :
32712 glibcxx_cv_func_isinfl_use=yes
32713 else
32714 glibcxx_cv_func_isinfl_use=no
32716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32717 ac_ext=c
32718 ac_cpp='$CPP $CPPFLAGS'
32719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
32728 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
32730 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
32731 for ac_func in isinfl
32732 do :
32733 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
32734 if test "x$ac_cv_func_isinfl" = x""yes; then :
32735 cat >>confdefs.h <<_ACEOF
32736 #define HAVE_ISINFL 1
32737 _ACEOF
32740 done
32742 else
32744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
32745 $as_echo_n "checking for _isinfl declaration... " >&6; }
32746 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
32747 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
32748 $as_echo_n "(cached) " >&6
32749 else
32752 ac_ext=cpp
32753 ac_cpp='$CXXCPP $CPPFLAGS'
32754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32759 /* end confdefs.h. */
32760 #include <math.h>
32761 #ifdef HAVE_IEEEFP_H
32762 #include <ieeefp.h>
32763 #endif
32766 main ()
32768 _isinfl(0);
32770 return 0;
32772 _ACEOF
32773 if ac_fn_cxx_try_compile "$LINENO"; then :
32774 glibcxx_cv_func__isinfl_use=yes
32775 else
32776 glibcxx_cv_func__isinfl_use=no
32778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32779 ac_ext=c
32780 ac_cpp='$CPP $CPPFLAGS'
32781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
32790 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
32792 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
32793 for ac_func in _isinfl
32794 do :
32795 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
32796 if test "x$ac_cv_func__isinfl" = x""yes; then :
32797 cat >>confdefs.h <<_ACEOF
32798 #define HAVE__ISINFL 1
32799 _ACEOF
32802 done
32811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
32812 $as_echo_n "checking for atan2l declaration... " >&6; }
32813 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
32814 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
32815 $as_echo_n "(cached) " >&6
32816 else
32819 ac_ext=cpp
32820 ac_cpp='$CXXCPP $CPPFLAGS'
32821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32826 /* end confdefs.h. */
32827 #include <math.h>
32829 main ()
32831 atan2l(0, 0);
32833 return 0;
32835 _ACEOF
32836 if ac_fn_cxx_try_compile "$LINENO"; then :
32837 glibcxx_cv_func_atan2l_use=yes
32838 else
32839 glibcxx_cv_func_atan2l_use=no
32841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32842 ac_ext=c
32843 ac_cpp='$CPP $CPPFLAGS'
32844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
32853 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
32855 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
32856 for ac_func in atan2l
32857 do :
32858 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
32859 if test "x$ac_cv_func_atan2l" = x""yes; then :
32860 cat >>confdefs.h <<_ACEOF
32861 #define HAVE_ATAN2L 1
32862 _ACEOF
32865 done
32867 else
32869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
32870 $as_echo_n "checking for _atan2l declaration... " >&6; }
32871 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
32872 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
32873 $as_echo_n "(cached) " >&6
32874 else
32877 ac_ext=cpp
32878 ac_cpp='$CXXCPP $CPPFLAGS'
32879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32884 /* end confdefs.h. */
32885 #include <math.h>
32887 main ()
32889 _atan2l(0, 0);
32891 return 0;
32893 _ACEOF
32894 if ac_fn_cxx_try_compile "$LINENO"; then :
32895 glibcxx_cv_func__atan2l_use=yes
32896 else
32897 glibcxx_cv_func__atan2l_use=no
32899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32900 ac_ext=c
32901 ac_cpp='$CPP $CPPFLAGS'
32902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
32911 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
32913 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
32914 for ac_func in _atan2l
32915 do :
32916 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
32917 if test "x$ac_cv_func__atan2l" = x""yes; then :
32918 cat >>confdefs.h <<_ACEOF
32919 #define HAVE__ATAN2L 1
32920 _ACEOF
32923 done
32932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
32933 $as_echo_n "checking for expl declaration... " >&6; }
32934 if test x${glibcxx_cv_func_expl_use+set} != xset; then
32935 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
32936 $as_echo_n "(cached) " >&6
32937 else
32940 ac_ext=cpp
32941 ac_cpp='$CXXCPP $CPPFLAGS'
32942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32947 /* end confdefs.h. */
32948 #include <math.h>
32949 #ifdef HAVE_IEEEFP_H
32950 #include <ieeefp.h>
32951 #endif
32954 main ()
32956 expl(0);
32958 return 0;
32960 _ACEOF
32961 if ac_fn_cxx_try_compile "$LINENO"; then :
32962 glibcxx_cv_func_expl_use=yes
32963 else
32964 glibcxx_cv_func_expl_use=no
32966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32967 ac_ext=c
32968 ac_cpp='$CPP $CPPFLAGS'
32969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
32978 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
32980 if test x$glibcxx_cv_func_expl_use = x"yes"; then
32981 for ac_func in expl
32982 do :
32983 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
32984 if test "x$ac_cv_func_expl" = x""yes; then :
32985 cat >>confdefs.h <<_ACEOF
32986 #define HAVE_EXPL 1
32987 _ACEOF
32990 done
32992 else
32994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
32995 $as_echo_n "checking for _expl declaration... " >&6; }
32996 if test x${glibcxx_cv_func__expl_use+set} != xset; then
32997 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
32998 $as_echo_n "(cached) " >&6
32999 else
33002 ac_ext=cpp
33003 ac_cpp='$CXXCPP $CPPFLAGS'
33004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33009 /* end confdefs.h. */
33010 #include <math.h>
33011 #ifdef HAVE_IEEEFP_H
33012 #include <ieeefp.h>
33013 #endif
33016 main ()
33018 _expl(0);
33020 return 0;
33022 _ACEOF
33023 if ac_fn_cxx_try_compile "$LINENO"; then :
33024 glibcxx_cv_func__expl_use=yes
33025 else
33026 glibcxx_cv_func__expl_use=no
33028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33029 ac_ext=c
33030 ac_cpp='$CPP $CPPFLAGS'
33031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
33040 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
33042 if test x$glibcxx_cv_func__expl_use = x"yes"; then
33043 for ac_func in _expl
33044 do :
33045 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
33046 if test "x$ac_cv_func__expl" = x""yes; then :
33047 cat >>confdefs.h <<_ACEOF
33048 #define HAVE__EXPL 1
33049 _ACEOF
33052 done
33061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
33062 $as_echo_n "checking for fabsl declaration... " >&6; }
33063 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
33064 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
33065 $as_echo_n "(cached) " >&6
33066 else
33069 ac_ext=cpp
33070 ac_cpp='$CXXCPP $CPPFLAGS'
33071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33076 /* end confdefs.h. */
33077 #include <math.h>
33078 #ifdef HAVE_IEEEFP_H
33079 #include <ieeefp.h>
33080 #endif
33083 main ()
33085 fabsl(0);
33087 return 0;
33089 _ACEOF
33090 if ac_fn_cxx_try_compile "$LINENO"; then :
33091 glibcxx_cv_func_fabsl_use=yes
33092 else
33093 glibcxx_cv_func_fabsl_use=no
33095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33096 ac_ext=c
33097 ac_cpp='$CPP $CPPFLAGS'
33098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
33107 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
33109 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
33110 for ac_func in fabsl
33111 do :
33112 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
33113 if test "x$ac_cv_func_fabsl" = x""yes; then :
33114 cat >>confdefs.h <<_ACEOF
33115 #define HAVE_FABSL 1
33116 _ACEOF
33119 done
33121 else
33123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
33124 $as_echo_n "checking for _fabsl declaration... " >&6; }
33125 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
33126 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
33127 $as_echo_n "(cached) " >&6
33128 else
33131 ac_ext=cpp
33132 ac_cpp='$CXXCPP $CPPFLAGS'
33133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33138 /* end confdefs.h. */
33139 #include <math.h>
33140 #ifdef HAVE_IEEEFP_H
33141 #include <ieeefp.h>
33142 #endif
33145 main ()
33147 _fabsl(0);
33149 return 0;
33151 _ACEOF
33152 if ac_fn_cxx_try_compile "$LINENO"; then :
33153 glibcxx_cv_func__fabsl_use=yes
33154 else
33155 glibcxx_cv_func__fabsl_use=no
33157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33158 ac_ext=c
33159 ac_cpp='$CPP $CPPFLAGS'
33160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
33169 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
33171 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
33172 for ac_func in _fabsl
33173 do :
33174 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
33175 if test "x$ac_cv_func__fabsl" = x""yes; then :
33176 cat >>confdefs.h <<_ACEOF
33177 #define HAVE__FABSL 1
33178 _ACEOF
33181 done
33190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
33191 $as_echo_n "checking for fmodl declaration... " >&6; }
33192 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
33193 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
33194 $as_echo_n "(cached) " >&6
33195 else
33198 ac_ext=cpp
33199 ac_cpp='$CXXCPP $CPPFLAGS'
33200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33205 /* end confdefs.h. */
33206 #include <math.h>
33208 main ()
33210 fmodl(0, 0);
33212 return 0;
33214 _ACEOF
33215 if ac_fn_cxx_try_compile "$LINENO"; then :
33216 glibcxx_cv_func_fmodl_use=yes
33217 else
33218 glibcxx_cv_func_fmodl_use=no
33220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33221 ac_ext=c
33222 ac_cpp='$CPP $CPPFLAGS'
33223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
33232 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
33234 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
33235 for ac_func in fmodl
33236 do :
33237 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
33238 if test "x$ac_cv_func_fmodl" = x""yes; then :
33239 cat >>confdefs.h <<_ACEOF
33240 #define HAVE_FMODL 1
33241 _ACEOF
33244 done
33246 else
33248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
33249 $as_echo_n "checking for _fmodl declaration... " >&6; }
33250 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
33251 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
33252 $as_echo_n "(cached) " >&6
33253 else
33256 ac_ext=cpp
33257 ac_cpp='$CXXCPP $CPPFLAGS'
33258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33263 /* end confdefs.h. */
33264 #include <math.h>
33266 main ()
33268 _fmodl(0, 0);
33270 return 0;
33272 _ACEOF
33273 if ac_fn_cxx_try_compile "$LINENO"; then :
33274 glibcxx_cv_func__fmodl_use=yes
33275 else
33276 glibcxx_cv_func__fmodl_use=no
33278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33279 ac_ext=c
33280 ac_cpp='$CPP $CPPFLAGS'
33281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
33290 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
33292 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
33293 for ac_func in _fmodl
33294 do :
33295 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
33296 if test "x$ac_cv_func__fmodl" = x""yes; then :
33297 cat >>confdefs.h <<_ACEOF
33298 #define HAVE__FMODL 1
33299 _ACEOF
33302 done
33311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
33312 $as_echo_n "checking for frexpl declaration... " >&6; }
33313 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
33314 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
33315 $as_echo_n "(cached) " >&6
33316 else
33319 ac_ext=cpp
33320 ac_cpp='$CXXCPP $CPPFLAGS'
33321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33326 /* end confdefs.h. */
33327 #include <math.h>
33329 main ()
33331 frexpl(0, 0);
33333 return 0;
33335 _ACEOF
33336 if ac_fn_cxx_try_compile "$LINENO"; then :
33337 glibcxx_cv_func_frexpl_use=yes
33338 else
33339 glibcxx_cv_func_frexpl_use=no
33341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33342 ac_ext=c
33343 ac_cpp='$CPP $CPPFLAGS'
33344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
33353 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
33355 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
33356 for ac_func in frexpl
33357 do :
33358 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
33359 if test "x$ac_cv_func_frexpl" = x""yes; then :
33360 cat >>confdefs.h <<_ACEOF
33361 #define HAVE_FREXPL 1
33362 _ACEOF
33365 done
33367 else
33369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
33370 $as_echo_n "checking for _frexpl declaration... " >&6; }
33371 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
33372 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
33373 $as_echo_n "(cached) " >&6
33374 else
33377 ac_ext=cpp
33378 ac_cpp='$CXXCPP $CPPFLAGS'
33379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33384 /* end confdefs.h. */
33385 #include <math.h>
33387 main ()
33389 _frexpl(0, 0);
33391 return 0;
33393 _ACEOF
33394 if ac_fn_cxx_try_compile "$LINENO"; then :
33395 glibcxx_cv_func__frexpl_use=yes
33396 else
33397 glibcxx_cv_func__frexpl_use=no
33399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33400 ac_ext=c
33401 ac_cpp='$CPP $CPPFLAGS'
33402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
33411 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
33413 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
33414 for ac_func in _frexpl
33415 do :
33416 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
33417 if test "x$ac_cv_func__frexpl" = x""yes; then :
33418 cat >>confdefs.h <<_ACEOF
33419 #define HAVE__FREXPL 1
33420 _ACEOF
33423 done
33432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
33433 $as_echo_n "checking for hypotl declaration... " >&6; }
33434 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
33435 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
33436 $as_echo_n "(cached) " >&6
33437 else
33440 ac_ext=cpp
33441 ac_cpp='$CXXCPP $CPPFLAGS'
33442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33447 /* end confdefs.h. */
33448 #include <math.h>
33450 main ()
33452 hypotl(0, 0);
33454 return 0;
33456 _ACEOF
33457 if ac_fn_cxx_try_compile "$LINENO"; then :
33458 glibcxx_cv_func_hypotl_use=yes
33459 else
33460 glibcxx_cv_func_hypotl_use=no
33462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33463 ac_ext=c
33464 ac_cpp='$CPP $CPPFLAGS'
33465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
33474 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
33476 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
33477 for ac_func in hypotl
33478 do :
33479 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
33480 if test "x$ac_cv_func_hypotl" = x""yes; then :
33481 cat >>confdefs.h <<_ACEOF
33482 #define HAVE_HYPOTL 1
33483 _ACEOF
33486 done
33488 else
33490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
33491 $as_echo_n "checking for _hypotl declaration... " >&6; }
33492 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
33493 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
33494 $as_echo_n "(cached) " >&6
33495 else
33498 ac_ext=cpp
33499 ac_cpp='$CXXCPP $CPPFLAGS'
33500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33505 /* end confdefs.h. */
33506 #include <math.h>
33508 main ()
33510 _hypotl(0, 0);
33512 return 0;
33514 _ACEOF
33515 if ac_fn_cxx_try_compile "$LINENO"; then :
33516 glibcxx_cv_func__hypotl_use=yes
33517 else
33518 glibcxx_cv_func__hypotl_use=no
33520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33521 ac_ext=c
33522 ac_cpp='$CPP $CPPFLAGS'
33523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
33532 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
33534 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
33535 for ac_func in _hypotl
33536 do :
33537 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
33538 if test "x$ac_cv_func__hypotl" = x""yes; then :
33539 cat >>confdefs.h <<_ACEOF
33540 #define HAVE__HYPOTL 1
33541 _ACEOF
33544 done
33553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
33554 $as_echo_n "checking for ldexpl declaration... " >&6; }
33555 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
33556 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
33557 $as_echo_n "(cached) " >&6
33558 else
33561 ac_ext=cpp
33562 ac_cpp='$CXXCPP $CPPFLAGS'
33563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33568 /* end confdefs.h. */
33569 #include <math.h>
33571 main ()
33573 ldexpl(0, 0);
33575 return 0;
33577 _ACEOF
33578 if ac_fn_cxx_try_compile "$LINENO"; then :
33579 glibcxx_cv_func_ldexpl_use=yes
33580 else
33581 glibcxx_cv_func_ldexpl_use=no
33583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33584 ac_ext=c
33585 ac_cpp='$CPP $CPPFLAGS'
33586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
33595 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
33597 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
33598 for ac_func in ldexpl
33599 do :
33600 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
33601 if test "x$ac_cv_func_ldexpl" = x""yes; then :
33602 cat >>confdefs.h <<_ACEOF
33603 #define HAVE_LDEXPL 1
33604 _ACEOF
33607 done
33609 else
33611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
33612 $as_echo_n "checking for _ldexpl declaration... " >&6; }
33613 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
33614 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
33615 $as_echo_n "(cached) " >&6
33616 else
33619 ac_ext=cpp
33620 ac_cpp='$CXXCPP $CPPFLAGS'
33621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33626 /* end confdefs.h. */
33627 #include <math.h>
33629 main ()
33631 _ldexpl(0, 0);
33633 return 0;
33635 _ACEOF
33636 if ac_fn_cxx_try_compile "$LINENO"; then :
33637 glibcxx_cv_func__ldexpl_use=yes
33638 else
33639 glibcxx_cv_func__ldexpl_use=no
33641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33642 ac_ext=c
33643 ac_cpp='$CPP $CPPFLAGS'
33644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
33653 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
33655 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
33656 for ac_func in _ldexpl
33657 do :
33658 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
33659 if test "x$ac_cv_func__ldexpl" = x""yes; then :
33660 cat >>confdefs.h <<_ACEOF
33661 #define HAVE__LDEXPL 1
33662 _ACEOF
33665 done
33674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
33675 $as_echo_n "checking for logl declaration... " >&6; }
33676 if test x${glibcxx_cv_func_logl_use+set} != xset; then
33677 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
33678 $as_echo_n "(cached) " >&6
33679 else
33682 ac_ext=cpp
33683 ac_cpp='$CXXCPP $CPPFLAGS'
33684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33689 /* end confdefs.h. */
33690 #include <math.h>
33691 #ifdef HAVE_IEEEFP_H
33692 #include <ieeefp.h>
33693 #endif
33696 main ()
33698 logl(0);
33700 return 0;
33702 _ACEOF
33703 if ac_fn_cxx_try_compile "$LINENO"; then :
33704 glibcxx_cv_func_logl_use=yes
33705 else
33706 glibcxx_cv_func_logl_use=no
33708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33709 ac_ext=c
33710 ac_cpp='$CPP $CPPFLAGS'
33711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
33720 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
33722 if test x$glibcxx_cv_func_logl_use = x"yes"; then
33723 for ac_func in logl
33724 do :
33725 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
33726 if test "x$ac_cv_func_logl" = x""yes; then :
33727 cat >>confdefs.h <<_ACEOF
33728 #define HAVE_LOGL 1
33729 _ACEOF
33732 done
33734 else
33736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
33737 $as_echo_n "checking for _logl declaration... " >&6; }
33738 if test x${glibcxx_cv_func__logl_use+set} != xset; then
33739 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
33740 $as_echo_n "(cached) " >&6
33741 else
33744 ac_ext=cpp
33745 ac_cpp='$CXXCPP $CPPFLAGS'
33746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33751 /* end confdefs.h. */
33752 #include <math.h>
33753 #ifdef HAVE_IEEEFP_H
33754 #include <ieeefp.h>
33755 #endif
33758 main ()
33760 _logl(0);
33762 return 0;
33764 _ACEOF
33765 if ac_fn_cxx_try_compile "$LINENO"; then :
33766 glibcxx_cv_func__logl_use=yes
33767 else
33768 glibcxx_cv_func__logl_use=no
33770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33771 ac_ext=c
33772 ac_cpp='$CPP $CPPFLAGS'
33773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
33782 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
33784 if test x$glibcxx_cv_func__logl_use = x"yes"; then
33785 for ac_func in _logl
33786 do :
33787 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
33788 if test "x$ac_cv_func__logl" = x""yes; then :
33789 cat >>confdefs.h <<_ACEOF
33790 #define HAVE__LOGL 1
33791 _ACEOF
33794 done
33803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
33804 $as_echo_n "checking for log10l declaration... " >&6; }
33805 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
33806 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
33807 $as_echo_n "(cached) " >&6
33808 else
33811 ac_ext=cpp
33812 ac_cpp='$CXXCPP $CPPFLAGS'
33813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33818 /* end confdefs.h. */
33819 #include <math.h>
33820 #ifdef HAVE_IEEEFP_H
33821 #include <ieeefp.h>
33822 #endif
33825 main ()
33827 log10l(0);
33829 return 0;
33831 _ACEOF
33832 if ac_fn_cxx_try_compile "$LINENO"; then :
33833 glibcxx_cv_func_log10l_use=yes
33834 else
33835 glibcxx_cv_func_log10l_use=no
33837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33838 ac_ext=c
33839 ac_cpp='$CPP $CPPFLAGS'
33840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
33849 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
33851 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
33852 for ac_func in log10l
33853 do :
33854 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
33855 if test "x$ac_cv_func_log10l" = x""yes; then :
33856 cat >>confdefs.h <<_ACEOF
33857 #define HAVE_LOG10L 1
33858 _ACEOF
33861 done
33863 else
33865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
33866 $as_echo_n "checking for _log10l declaration... " >&6; }
33867 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
33868 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
33869 $as_echo_n "(cached) " >&6
33870 else
33873 ac_ext=cpp
33874 ac_cpp='$CXXCPP $CPPFLAGS'
33875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33880 /* end confdefs.h. */
33881 #include <math.h>
33882 #ifdef HAVE_IEEEFP_H
33883 #include <ieeefp.h>
33884 #endif
33887 main ()
33889 _log10l(0);
33891 return 0;
33893 _ACEOF
33894 if ac_fn_cxx_try_compile "$LINENO"; then :
33895 glibcxx_cv_func__log10l_use=yes
33896 else
33897 glibcxx_cv_func__log10l_use=no
33899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33900 ac_ext=c
33901 ac_cpp='$CPP $CPPFLAGS'
33902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
33911 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
33913 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
33914 for ac_func in _log10l
33915 do :
33916 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
33917 if test "x$ac_cv_func__log10l" = x""yes; then :
33918 cat >>confdefs.h <<_ACEOF
33919 #define HAVE__LOG10L 1
33920 _ACEOF
33923 done
33932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
33933 $as_echo_n "checking for modfl declaration... " >&6; }
33934 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
33935 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
33936 $as_echo_n "(cached) " >&6
33937 else
33940 ac_ext=cpp
33941 ac_cpp='$CXXCPP $CPPFLAGS'
33942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33947 /* end confdefs.h. */
33948 #include <math.h>
33950 main ()
33952 modfl(0, 0);
33954 return 0;
33956 _ACEOF
33957 if ac_fn_cxx_try_compile "$LINENO"; then :
33958 glibcxx_cv_func_modfl_use=yes
33959 else
33960 glibcxx_cv_func_modfl_use=no
33962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33963 ac_ext=c
33964 ac_cpp='$CPP $CPPFLAGS'
33965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
33974 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
33976 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
33977 for ac_func in modfl
33978 do :
33979 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
33980 if test "x$ac_cv_func_modfl" = x""yes; then :
33981 cat >>confdefs.h <<_ACEOF
33982 #define HAVE_MODFL 1
33983 _ACEOF
33986 done
33988 else
33990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
33991 $as_echo_n "checking for _modfl declaration... " >&6; }
33992 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
33993 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
33994 $as_echo_n "(cached) " >&6
33995 else
33998 ac_ext=cpp
33999 ac_cpp='$CXXCPP $CPPFLAGS'
34000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34005 /* end confdefs.h. */
34006 #include <math.h>
34008 main ()
34010 _modfl(0, 0);
34012 return 0;
34014 _ACEOF
34015 if ac_fn_cxx_try_compile "$LINENO"; then :
34016 glibcxx_cv_func__modfl_use=yes
34017 else
34018 glibcxx_cv_func__modfl_use=no
34020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34021 ac_ext=c
34022 ac_cpp='$CPP $CPPFLAGS'
34023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
34032 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
34034 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
34035 for ac_func in _modfl
34036 do :
34037 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
34038 if test "x$ac_cv_func__modfl" = x""yes; then :
34039 cat >>confdefs.h <<_ACEOF
34040 #define HAVE__MODFL 1
34041 _ACEOF
34044 done
34053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
34054 $as_echo_n "checking for powl declaration... " >&6; }
34055 if test x${glibcxx_cv_func_powl_use+set} != xset; then
34056 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
34057 $as_echo_n "(cached) " >&6
34058 else
34061 ac_ext=cpp
34062 ac_cpp='$CXXCPP $CPPFLAGS'
34063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34068 /* end confdefs.h. */
34069 #include <math.h>
34071 main ()
34073 powl(0, 0);
34075 return 0;
34077 _ACEOF
34078 if ac_fn_cxx_try_compile "$LINENO"; then :
34079 glibcxx_cv_func_powl_use=yes
34080 else
34081 glibcxx_cv_func_powl_use=no
34083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34084 ac_ext=c
34085 ac_cpp='$CPP $CPPFLAGS'
34086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
34095 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
34097 if test x$glibcxx_cv_func_powl_use = x"yes"; then
34098 for ac_func in powl
34099 do :
34100 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
34101 if test "x$ac_cv_func_powl" = x""yes; then :
34102 cat >>confdefs.h <<_ACEOF
34103 #define HAVE_POWL 1
34104 _ACEOF
34107 done
34109 else
34111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
34112 $as_echo_n "checking for _powl declaration... " >&6; }
34113 if test x${glibcxx_cv_func__powl_use+set} != xset; then
34114 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
34115 $as_echo_n "(cached) " >&6
34116 else
34119 ac_ext=cpp
34120 ac_cpp='$CXXCPP $CPPFLAGS'
34121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34126 /* end confdefs.h. */
34127 #include <math.h>
34129 main ()
34131 _powl(0, 0);
34133 return 0;
34135 _ACEOF
34136 if ac_fn_cxx_try_compile "$LINENO"; then :
34137 glibcxx_cv_func__powl_use=yes
34138 else
34139 glibcxx_cv_func__powl_use=no
34141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34142 ac_ext=c
34143 ac_cpp='$CPP $CPPFLAGS'
34144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
34153 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
34155 if test x$glibcxx_cv_func__powl_use = x"yes"; then
34156 for ac_func in _powl
34157 do :
34158 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
34159 if test "x$ac_cv_func__powl" = x""yes; then :
34160 cat >>confdefs.h <<_ACEOF
34161 #define HAVE__POWL 1
34162 _ACEOF
34165 done
34174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
34175 $as_echo_n "checking for sqrtl declaration... " >&6; }
34176 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
34177 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
34178 $as_echo_n "(cached) " >&6
34179 else
34182 ac_ext=cpp
34183 ac_cpp='$CXXCPP $CPPFLAGS'
34184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34189 /* end confdefs.h. */
34190 #include <math.h>
34191 #ifdef HAVE_IEEEFP_H
34192 #include <ieeefp.h>
34193 #endif
34196 main ()
34198 sqrtl(0);
34200 return 0;
34202 _ACEOF
34203 if ac_fn_cxx_try_compile "$LINENO"; then :
34204 glibcxx_cv_func_sqrtl_use=yes
34205 else
34206 glibcxx_cv_func_sqrtl_use=no
34208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34209 ac_ext=c
34210 ac_cpp='$CPP $CPPFLAGS'
34211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
34220 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
34222 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
34223 for ac_func in sqrtl
34224 do :
34225 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
34226 if test "x$ac_cv_func_sqrtl" = x""yes; then :
34227 cat >>confdefs.h <<_ACEOF
34228 #define HAVE_SQRTL 1
34229 _ACEOF
34232 done
34234 else
34236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
34237 $as_echo_n "checking for _sqrtl declaration... " >&6; }
34238 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
34239 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
34240 $as_echo_n "(cached) " >&6
34241 else
34244 ac_ext=cpp
34245 ac_cpp='$CXXCPP $CPPFLAGS'
34246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34251 /* end confdefs.h. */
34252 #include <math.h>
34253 #ifdef HAVE_IEEEFP_H
34254 #include <ieeefp.h>
34255 #endif
34258 main ()
34260 _sqrtl(0);
34262 return 0;
34264 _ACEOF
34265 if ac_fn_cxx_try_compile "$LINENO"; then :
34266 glibcxx_cv_func__sqrtl_use=yes
34267 else
34268 glibcxx_cv_func__sqrtl_use=no
34270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34271 ac_ext=c
34272 ac_cpp='$CPP $CPPFLAGS'
34273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
34282 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
34284 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
34285 for ac_func in _sqrtl
34286 do :
34287 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
34288 if test "x$ac_cv_func__sqrtl" = x""yes; then :
34289 cat >>confdefs.h <<_ACEOF
34290 #define HAVE__SQRTL 1
34291 _ACEOF
34294 done
34303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
34304 $as_echo_n "checking for sincosl declaration... " >&6; }
34305 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
34306 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
34307 $as_echo_n "(cached) " >&6
34308 else
34311 ac_ext=cpp
34312 ac_cpp='$CXXCPP $CPPFLAGS'
34313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34318 /* end confdefs.h. */
34319 #include <math.h>
34321 main ()
34323 sincosl(0, 0, 0);
34325 return 0;
34327 _ACEOF
34328 if ac_fn_cxx_try_compile "$LINENO"; then :
34329 glibcxx_cv_func_sincosl_use=yes
34330 else
34331 glibcxx_cv_func_sincosl_use=no
34333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34334 ac_ext=c
34335 ac_cpp='$CPP $CPPFLAGS'
34336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
34345 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
34347 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
34348 for ac_func in sincosl
34349 do :
34350 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
34351 if test "x$ac_cv_func_sincosl" = x""yes; then :
34352 cat >>confdefs.h <<_ACEOF
34353 #define HAVE_SINCOSL 1
34354 _ACEOF
34357 done
34359 else
34361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
34362 $as_echo_n "checking for _sincosl declaration... " >&6; }
34363 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
34364 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
34365 $as_echo_n "(cached) " >&6
34366 else
34369 ac_ext=cpp
34370 ac_cpp='$CXXCPP $CPPFLAGS'
34371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34376 /* end confdefs.h. */
34377 #include <math.h>
34379 main ()
34381 _sincosl(0, 0, 0);
34383 return 0;
34385 _ACEOF
34386 if ac_fn_cxx_try_compile "$LINENO"; then :
34387 glibcxx_cv_func__sincosl_use=yes
34388 else
34389 glibcxx_cv_func__sincosl_use=no
34391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34392 ac_ext=c
34393 ac_cpp='$CPP $CPPFLAGS'
34394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
34403 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
34405 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
34406 for ac_func in _sincosl
34407 do :
34408 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
34409 if test "x$ac_cv_func__sincosl" = x""yes; then :
34410 cat >>confdefs.h <<_ACEOF
34411 #define HAVE__SINCOSL 1
34412 _ACEOF
34415 done
34424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
34425 $as_echo_n "checking for finitel declaration... " >&6; }
34426 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
34427 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
34428 $as_echo_n "(cached) " >&6
34429 else
34432 ac_ext=cpp
34433 ac_cpp='$CXXCPP $CPPFLAGS'
34434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34439 /* end confdefs.h. */
34440 #include <math.h>
34441 #ifdef HAVE_IEEEFP_H
34442 #include <ieeefp.h>
34443 #endif
34446 main ()
34448 finitel(0);
34450 return 0;
34452 _ACEOF
34453 if ac_fn_cxx_try_compile "$LINENO"; then :
34454 glibcxx_cv_func_finitel_use=yes
34455 else
34456 glibcxx_cv_func_finitel_use=no
34458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34459 ac_ext=c
34460 ac_cpp='$CPP $CPPFLAGS'
34461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
34470 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
34472 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
34473 for ac_func in finitel
34474 do :
34475 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
34476 if test "x$ac_cv_func_finitel" = x""yes; then :
34477 cat >>confdefs.h <<_ACEOF
34478 #define HAVE_FINITEL 1
34479 _ACEOF
34482 done
34484 else
34486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
34487 $as_echo_n "checking for _finitel declaration... " >&6; }
34488 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
34489 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
34490 $as_echo_n "(cached) " >&6
34491 else
34494 ac_ext=cpp
34495 ac_cpp='$CXXCPP $CPPFLAGS'
34496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34501 /* end confdefs.h. */
34502 #include <math.h>
34503 #ifdef HAVE_IEEEFP_H
34504 #include <ieeefp.h>
34505 #endif
34508 main ()
34510 _finitel(0);
34512 return 0;
34514 _ACEOF
34515 if ac_fn_cxx_try_compile "$LINENO"; then :
34516 glibcxx_cv_func__finitel_use=yes
34517 else
34518 glibcxx_cv_func__finitel_use=no
34520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34521 ac_ext=c
34522 ac_cpp='$CPP $CPPFLAGS'
34523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
34532 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
34534 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
34535 for ac_func in _finitel
34536 do :
34537 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
34538 if test "x$ac_cv_func__finitel" = x""yes; then :
34539 cat >>confdefs.h <<_ACEOF
34540 #define HAVE__FINITEL 1
34541 _ACEOF
34544 done
34552 LIBS="$ac_save_LIBS"
34553 CXXFLAGS="$ac_save_CXXFLAGS"
34556 ac_test_CXXFLAGS="${CXXFLAGS+set}"
34557 ac_save_CXXFLAGS="$CXXFLAGS"
34558 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
34561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
34562 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
34563 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
34564 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
34565 $as_echo_n "(cached) " >&6
34566 else
34569 ac_ext=cpp
34570 ac_cpp='$CXXCPP $CPPFLAGS'
34571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34576 /* end confdefs.h. */
34577 #include <stdlib.h>
34579 main ()
34581 at_quick_exit(0);
34583 return 0;
34585 _ACEOF
34586 if ac_fn_cxx_try_compile "$LINENO"; then :
34587 glibcxx_cv_func_at_quick_exit_use=yes
34588 else
34589 glibcxx_cv_func_at_quick_exit_use=no
34591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34592 ac_ext=c
34593 ac_cpp='$CPP $CPPFLAGS'
34594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
34603 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
34604 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
34605 for ac_func in at_quick_exit
34606 do :
34607 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
34608 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
34609 cat >>confdefs.h <<_ACEOF
34610 #define HAVE_AT_QUICK_EXIT 1
34611 _ACEOF
34614 done
34619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
34620 $as_echo_n "checking for quick_exit declaration... " >&6; }
34621 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
34622 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
34623 $as_echo_n "(cached) " >&6
34624 else
34627 ac_ext=cpp
34628 ac_cpp='$CXXCPP $CPPFLAGS'
34629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34634 /* end confdefs.h. */
34635 #include <stdlib.h>
34637 main ()
34639 quick_exit(0);
34641 return 0;
34643 _ACEOF
34644 if ac_fn_cxx_try_compile "$LINENO"; then :
34645 glibcxx_cv_func_quick_exit_use=yes
34646 else
34647 glibcxx_cv_func_quick_exit_use=no
34649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34650 ac_ext=c
34651 ac_cpp='$CPP $CPPFLAGS'
34652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
34661 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
34662 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
34663 for ac_func in quick_exit
34664 do :
34665 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
34666 if test "x$ac_cv_func_quick_exit" = x""yes; then :
34667 cat >>confdefs.h <<_ACEOF
34668 #define HAVE_QUICK_EXIT 1
34669 _ACEOF
34672 done
34677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
34678 $as_echo_n "checking for strtold declaration... " >&6; }
34679 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
34680 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
34681 $as_echo_n "(cached) " >&6
34682 else
34685 ac_ext=cpp
34686 ac_cpp='$CXXCPP $CPPFLAGS'
34687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34692 /* end confdefs.h. */
34693 #include <stdlib.h>
34695 main ()
34697 strtold(0, 0);
34699 return 0;
34701 _ACEOF
34702 if ac_fn_cxx_try_compile "$LINENO"; then :
34703 glibcxx_cv_func_strtold_use=yes
34704 else
34705 glibcxx_cv_func_strtold_use=no
34707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34708 ac_ext=c
34709 ac_cpp='$CPP $CPPFLAGS'
34710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
34719 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
34720 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
34721 for ac_func in strtold
34722 do :
34723 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
34724 if test "x$ac_cv_func_strtold" = x""yes; then :
34725 cat >>confdefs.h <<_ACEOF
34726 #define HAVE_STRTOLD 1
34727 _ACEOF
34730 done
34737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
34738 $as_echo_n "checking for strtof declaration... " >&6; }
34739 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
34740 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
34741 $as_echo_n "(cached) " >&6
34742 else
34745 ac_ext=cpp
34746 ac_cpp='$CXXCPP $CPPFLAGS'
34747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34752 /* end confdefs.h. */
34753 #include <stdlib.h>
34755 main ()
34757 strtof(0, 0);
34759 return 0;
34761 _ACEOF
34762 if ac_fn_cxx_try_compile "$LINENO"; then :
34763 glibcxx_cv_func_strtof_use=yes
34764 else
34765 glibcxx_cv_func_strtof_use=no
34767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34768 ac_ext=c
34769 ac_cpp='$CPP $CPPFLAGS'
34770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
34779 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
34780 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
34781 for ac_func in strtof
34782 do :
34783 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
34784 if test "x$ac_cv_func_strtof" = x""yes; then :
34785 cat >>confdefs.h <<_ACEOF
34786 #define HAVE_STRTOF 1
34787 _ACEOF
34790 done
34797 CXXFLAGS="$ac_save_CXXFLAGS"
34800 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
34802 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
34804 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
34806 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
34809 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
34811 $as_echo "#define HAVE_MODF 1" >>confdefs.h
34813 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
34817 spu-*-elf*)
34819 # All these tests are for C++; save the language and the compiler flags.
34820 # The CXXFLAGS thing is suspicious, but based on similar bits previously
34821 # found in GLIBCXX_CONFIGURE.
34823 ac_ext=cpp
34824 ac_cpp='$CXXCPP $CPPFLAGS'
34825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34829 ac_test_CXXFLAGS="${CXXFLAGS+set}"
34830 ac_save_CXXFLAGS="$CXXFLAGS"
34832 # Check for maintainer-mode bits.
34833 if test x"$USE_MAINTAINER_MODE" = xno; then
34834 WERROR=''
34835 else
34836 WERROR='-Werror'
34839 # Check for -ffunction-sections -fdata-sections
34840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
34841 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
34842 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
34843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34844 /* end confdefs.h. */
34845 int foo; void bar() { };
34847 main ()
34851 return 0;
34853 _ACEOF
34854 if ac_fn_cxx_try_compile "$LINENO"; then :
34855 ac_fdsections=yes
34856 else
34857 ac_fdsections=no
34859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34860 if test "$ac_test_CXXFLAGS" = set; then
34861 CXXFLAGS="$ac_save_CXXFLAGS"
34862 else
34863 # this is the suspicious part
34864 CXXFLAGS=''
34866 if test x"$ac_fdsections" = x"yes"; then
34867 SECTION_FLAGS='-ffunction-sections -fdata-sections'
34869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
34870 $as_echo "$ac_fdsections" >&6; }
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 # If we're not using GNU ld, then there's no point in even trying these
34883 # tests. Check for that first. We should have already tested for gld
34884 # by now (in libtool), but require it now just to be safe...
34885 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
34886 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
34890 # The name set by libtool depends on the version of libtool. Shame on us
34891 # for depending on an impl detail, but c'est la vie. Older versions used
34892 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
34893 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
34894 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
34895 # set (hence we're using an older libtool), then set it.
34896 if test x${with_gnu_ld+set} != xset; then
34897 if test x${ac_cv_prog_gnu_ld+set} != xset; then
34898 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
34899 with_gnu_ld=no
34900 else
34901 with_gnu_ld=$ac_cv_prog_gnu_ld
34905 # Start by getting the version number. I think the libtool test already
34906 # does some of this, but throws away the result.
34907 glibcxx_ld_is_gold=no
34908 if test x"$with_gnu_ld" = x"yes"; then
34909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
34910 $as_echo_n "checking for ld version... " >&6; }
34912 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
34913 glibcxx_ld_is_gold=yes
34915 ldver=`$LD --version 2>/dev/null |
34916 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'`
34918 glibcxx_gnu_ld_version=`echo $ldver | \
34919 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
34920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
34921 $as_echo "$glibcxx_gnu_ld_version" >&6; }
34924 # Set --gc-sections.
34925 glibcxx_have_gc_sections=no
34926 if test "$glibcxx_ld_is_gold" = "yes"; then
34927 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
34928 glibcxx_have_gc_sections=yes
34930 else
34931 glibcxx_gcsections_min_ld=21602
34932 if test x"$with_gnu_ld" = x"yes" &&
34933 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
34934 glibcxx_have_gc_sections=yes
34937 if test "$glibcxx_have_gc_sections" = "yes"; then
34938 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
34939 # NB: This flag only works reliably after 2.16.1. Configure tests
34940 # for this are difficult, so hard wire a value that should work.
34942 ac_test_CFLAGS="${CFLAGS+set}"
34943 ac_save_CFLAGS="$CFLAGS"
34944 CFLAGS='-Wl,--gc-sections'
34946 # Check for -Wl,--gc-sections
34947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
34948 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
34949 if test x$gcc_no_link = xyes; then
34950 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
34952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34953 /* end confdefs.h. */
34954 int one(void) { return 1; }
34955 int two(void) { return 2; }
34958 main ()
34960 two();
34962 return 0;
34964 _ACEOF
34965 if ac_fn_c_try_link "$LINENO"; then :
34966 ac_gcsections=yes
34967 else
34968 ac_gcsections=no
34970 rm -f core conftest.err conftest.$ac_objext \
34971 conftest$ac_exeext conftest.$ac_ext
34972 if test "$ac_gcsections" = "yes"; then
34973 rm -f conftest.c
34974 touch conftest.c
34975 if $CC -c conftest.c; then
34976 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
34977 grep "Warning: gc-sections option ignored" > /dev/null; then
34978 ac_gcsections=no
34981 rm -f conftest.c conftest.o conftest
34983 if test "$ac_gcsections" = "yes"; then
34984 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
34986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
34987 $as_echo "$ac_gcsections" >&6; }
34989 if test "$ac_test_CFLAGS" = set; then
34990 CFLAGS="$ac_save_CFLAGS"
34991 else
34992 # this is the suspicious part
34993 CFLAGS=''
34997 # Set -z,relro.
34998 # Note this is only for shared objects.
34999 ac_ld_relro=no
35000 if test x"$with_gnu_ld" = x"yes"; then
35001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
35002 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
35003 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
35004 if test -n "$cxx_z_relo"; then
35005 OPT_LDFLAGS="-Wl,-z,relro"
35006 ac_ld_relro=yes
35008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
35009 $as_echo "$ac_ld_relro" >&6; }
35012 # Set linker optimization flags.
35013 if test x"$with_gnu_ld" = x"yes"; then
35014 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
35021 ac_test_CXXFLAGS="${CXXFLAGS+set}"
35022 ac_save_CXXFLAGS="$CXXFLAGS"
35023 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
35025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
35026 $as_echo_n "checking for sin in -lm... " >&6; }
35027 if test "${ac_cv_lib_m_sin+set}" = set; then :
35028 $as_echo_n "(cached) " >&6
35029 else
35030 ac_check_lib_save_LIBS=$LIBS
35031 LIBS="-lm $LIBS"
35032 if test x$gcc_no_link = xyes; then
35033 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
35035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35036 /* end confdefs.h. */
35038 /* Override any GCC internal prototype to avoid an error.
35039 Use char because int might match the return type of a GCC
35040 builtin and then its argument prototype would still apply. */
35041 #ifdef __cplusplus
35042 extern "C"
35043 #endif
35044 char sin ();
35046 main ()
35048 return sin ();
35050 return 0;
35052 _ACEOF
35053 if ac_fn_c_try_link "$LINENO"; then :
35054 ac_cv_lib_m_sin=yes
35055 else
35056 ac_cv_lib_m_sin=no
35058 rm -f core conftest.err conftest.$ac_objext \
35059 conftest$ac_exeext conftest.$ac_ext
35060 LIBS=$ac_check_lib_save_LIBS
35062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
35063 $as_echo "$ac_cv_lib_m_sin" >&6; }
35064 if test "x$ac_cv_lib_m_sin" = x""yes; then :
35065 libm="-lm"
35068 ac_save_LIBS="$LIBS"
35069 LIBS="$LIBS $libm"
35073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
35074 $as_echo_n "checking for isinf declaration... " >&6; }
35075 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
35076 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
35077 $as_echo_n "(cached) " >&6
35078 else
35081 ac_ext=cpp
35082 ac_cpp='$CXXCPP $CPPFLAGS'
35083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35088 /* end confdefs.h. */
35089 #include <math.h>
35090 #ifdef HAVE_IEEEFP_H
35091 #include <ieeefp.h>
35092 #endif
35095 main ()
35097 isinf(0);
35099 return 0;
35101 _ACEOF
35102 if ac_fn_cxx_try_compile "$LINENO"; then :
35103 glibcxx_cv_func_isinf_use=yes
35104 else
35105 glibcxx_cv_func_isinf_use=no
35107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35108 ac_ext=c
35109 ac_cpp='$CPP $CPPFLAGS'
35110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
35119 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
35121 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
35122 for ac_func in isinf
35123 do :
35124 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
35125 if test "x$ac_cv_func_isinf" = x""yes; then :
35126 cat >>confdefs.h <<_ACEOF
35127 #define HAVE_ISINF 1
35128 _ACEOF
35131 done
35133 else
35135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
35136 $as_echo_n "checking for _isinf declaration... " >&6; }
35137 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
35138 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
35139 $as_echo_n "(cached) " >&6
35140 else
35143 ac_ext=cpp
35144 ac_cpp='$CXXCPP $CPPFLAGS'
35145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35150 /* end confdefs.h. */
35151 #include <math.h>
35152 #ifdef HAVE_IEEEFP_H
35153 #include <ieeefp.h>
35154 #endif
35157 main ()
35159 _isinf(0);
35161 return 0;
35163 _ACEOF
35164 if ac_fn_cxx_try_compile "$LINENO"; then :
35165 glibcxx_cv_func__isinf_use=yes
35166 else
35167 glibcxx_cv_func__isinf_use=no
35169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35170 ac_ext=c
35171 ac_cpp='$CPP $CPPFLAGS'
35172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
35181 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
35183 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
35184 for ac_func in _isinf
35185 do :
35186 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
35187 if test "x$ac_cv_func__isinf" = x""yes; then :
35188 cat >>confdefs.h <<_ACEOF
35189 #define HAVE__ISINF 1
35190 _ACEOF
35193 done
35202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
35203 $as_echo_n "checking for isnan declaration... " >&6; }
35204 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
35205 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
35206 $as_echo_n "(cached) " >&6
35207 else
35210 ac_ext=cpp
35211 ac_cpp='$CXXCPP $CPPFLAGS'
35212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35217 /* end confdefs.h. */
35218 #include <math.h>
35219 #ifdef HAVE_IEEEFP_H
35220 #include <ieeefp.h>
35221 #endif
35224 main ()
35226 isnan(0);
35228 return 0;
35230 _ACEOF
35231 if ac_fn_cxx_try_compile "$LINENO"; then :
35232 glibcxx_cv_func_isnan_use=yes
35233 else
35234 glibcxx_cv_func_isnan_use=no
35236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35237 ac_ext=c
35238 ac_cpp='$CPP $CPPFLAGS'
35239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
35248 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
35250 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
35251 for ac_func in isnan
35252 do :
35253 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
35254 if test "x$ac_cv_func_isnan" = x""yes; then :
35255 cat >>confdefs.h <<_ACEOF
35256 #define HAVE_ISNAN 1
35257 _ACEOF
35260 done
35262 else
35264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
35265 $as_echo_n "checking for _isnan declaration... " >&6; }
35266 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
35267 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
35268 $as_echo_n "(cached) " >&6
35269 else
35272 ac_ext=cpp
35273 ac_cpp='$CXXCPP $CPPFLAGS'
35274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35279 /* end confdefs.h. */
35280 #include <math.h>
35281 #ifdef HAVE_IEEEFP_H
35282 #include <ieeefp.h>
35283 #endif
35286 main ()
35288 _isnan(0);
35290 return 0;
35292 _ACEOF
35293 if ac_fn_cxx_try_compile "$LINENO"; then :
35294 glibcxx_cv_func__isnan_use=yes
35295 else
35296 glibcxx_cv_func__isnan_use=no
35298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35299 ac_ext=c
35300 ac_cpp='$CPP $CPPFLAGS'
35301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
35310 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
35312 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
35313 for ac_func in _isnan
35314 do :
35315 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
35316 if test "x$ac_cv_func__isnan" = x""yes; then :
35317 cat >>confdefs.h <<_ACEOF
35318 #define HAVE__ISNAN 1
35319 _ACEOF
35322 done
35331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
35332 $as_echo_n "checking for finite declaration... " >&6; }
35333 if test x${glibcxx_cv_func_finite_use+set} != xset; then
35334 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
35335 $as_echo_n "(cached) " >&6
35336 else
35339 ac_ext=cpp
35340 ac_cpp='$CXXCPP $CPPFLAGS'
35341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35346 /* end confdefs.h. */
35347 #include <math.h>
35348 #ifdef HAVE_IEEEFP_H
35349 #include <ieeefp.h>
35350 #endif
35353 main ()
35355 finite(0);
35357 return 0;
35359 _ACEOF
35360 if ac_fn_cxx_try_compile "$LINENO"; then :
35361 glibcxx_cv_func_finite_use=yes
35362 else
35363 glibcxx_cv_func_finite_use=no
35365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35366 ac_ext=c
35367 ac_cpp='$CPP $CPPFLAGS'
35368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
35377 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
35379 if test x$glibcxx_cv_func_finite_use = x"yes"; then
35380 for ac_func in finite
35381 do :
35382 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
35383 if test "x$ac_cv_func_finite" = x""yes; then :
35384 cat >>confdefs.h <<_ACEOF
35385 #define HAVE_FINITE 1
35386 _ACEOF
35389 done
35391 else
35393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
35394 $as_echo_n "checking for _finite declaration... " >&6; }
35395 if test x${glibcxx_cv_func__finite_use+set} != xset; then
35396 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
35397 $as_echo_n "(cached) " >&6
35398 else
35401 ac_ext=cpp
35402 ac_cpp='$CXXCPP $CPPFLAGS'
35403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35408 /* end confdefs.h. */
35409 #include <math.h>
35410 #ifdef HAVE_IEEEFP_H
35411 #include <ieeefp.h>
35412 #endif
35415 main ()
35417 _finite(0);
35419 return 0;
35421 _ACEOF
35422 if ac_fn_cxx_try_compile "$LINENO"; then :
35423 glibcxx_cv_func__finite_use=yes
35424 else
35425 glibcxx_cv_func__finite_use=no
35427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35428 ac_ext=c
35429 ac_cpp='$CPP $CPPFLAGS'
35430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
35439 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
35441 if test x$glibcxx_cv_func__finite_use = x"yes"; then
35442 for ac_func in _finite
35443 do :
35444 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
35445 if test "x$ac_cv_func__finite" = x""yes; then :
35446 cat >>confdefs.h <<_ACEOF
35447 #define HAVE__FINITE 1
35448 _ACEOF
35451 done
35460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
35461 $as_echo_n "checking for sincos declaration... " >&6; }
35462 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
35463 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
35464 $as_echo_n "(cached) " >&6
35465 else
35468 ac_ext=cpp
35469 ac_cpp='$CXXCPP $CPPFLAGS'
35470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35475 /* end confdefs.h. */
35476 #include <math.h>
35478 main ()
35480 sincos(0, 0, 0);
35482 return 0;
35484 _ACEOF
35485 if ac_fn_cxx_try_compile "$LINENO"; then :
35486 glibcxx_cv_func_sincos_use=yes
35487 else
35488 glibcxx_cv_func_sincos_use=no
35490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35491 ac_ext=c
35492 ac_cpp='$CPP $CPPFLAGS'
35493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
35502 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
35504 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
35505 for ac_func in sincos
35506 do :
35507 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
35508 if test "x$ac_cv_func_sincos" = x""yes; then :
35509 cat >>confdefs.h <<_ACEOF
35510 #define HAVE_SINCOS 1
35511 _ACEOF
35514 done
35516 else
35518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
35519 $as_echo_n "checking for _sincos declaration... " >&6; }
35520 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
35521 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
35522 $as_echo_n "(cached) " >&6
35523 else
35526 ac_ext=cpp
35527 ac_cpp='$CXXCPP $CPPFLAGS'
35528 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35529 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35530 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35533 /* end confdefs.h. */
35534 #include <math.h>
35536 main ()
35538 _sincos(0, 0, 0);
35540 return 0;
35542 _ACEOF
35543 if ac_fn_cxx_try_compile "$LINENO"; then :
35544 glibcxx_cv_func__sincos_use=yes
35545 else
35546 glibcxx_cv_func__sincos_use=no
35548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35549 ac_ext=c
35550 ac_cpp='$CPP $CPPFLAGS'
35551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
35560 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
35562 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
35563 for ac_func in _sincos
35564 do :
35565 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
35566 if test "x$ac_cv_func__sincos" = x""yes; then :
35567 cat >>confdefs.h <<_ACEOF
35568 #define HAVE__SINCOS 1
35569 _ACEOF
35572 done
35581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
35582 $as_echo_n "checking for fpclass declaration... " >&6; }
35583 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
35584 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
35585 $as_echo_n "(cached) " >&6
35586 else
35589 ac_ext=cpp
35590 ac_cpp='$CXXCPP $CPPFLAGS'
35591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35596 /* end confdefs.h. */
35597 #include <math.h>
35598 #ifdef HAVE_IEEEFP_H
35599 #include <ieeefp.h>
35600 #endif
35603 main ()
35605 fpclass(0);
35607 return 0;
35609 _ACEOF
35610 if ac_fn_cxx_try_compile "$LINENO"; then :
35611 glibcxx_cv_func_fpclass_use=yes
35612 else
35613 glibcxx_cv_func_fpclass_use=no
35615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35616 ac_ext=c
35617 ac_cpp='$CPP $CPPFLAGS'
35618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
35627 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
35629 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
35630 for ac_func in fpclass
35631 do :
35632 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
35633 if test "x$ac_cv_func_fpclass" = x""yes; then :
35634 cat >>confdefs.h <<_ACEOF
35635 #define HAVE_FPCLASS 1
35636 _ACEOF
35639 done
35641 else
35643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
35644 $as_echo_n "checking for _fpclass declaration... " >&6; }
35645 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
35646 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
35647 $as_echo_n "(cached) " >&6
35648 else
35651 ac_ext=cpp
35652 ac_cpp='$CXXCPP $CPPFLAGS'
35653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35658 /* end confdefs.h. */
35659 #include <math.h>
35660 #ifdef HAVE_IEEEFP_H
35661 #include <ieeefp.h>
35662 #endif
35665 main ()
35667 _fpclass(0);
35669 return 0;
35671 _ACEOF
35672 if ac_fn_cxx_try_compile "$LINENO"; then :
35673 glibcxx_cv_func__fpclass_use=yes
35674 else
35675 glibcxx_cv_func__fpclass_use=no
35677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35678 ac_ext=c
35679 ac_cpp='$CPP $CPPFLAGS'
35680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
35689 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
35691 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
35692 for ac_func in _fpclass
35693 do :
35694 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
35695 if test "x$ac_cv_func__fpclass" = x""yes; then :
35696 cat >>confdefs.h <<_ACEOF
35697 #define HAVE__FPCLASS 1
35698 _ACEOF
35701 done
35710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
35711 $as_echo_n "checking for qfpclass declaration... " >&6; }
35712 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
35713 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
35714 $as_echo_n "(cached) " >&6
35715 else
35718 ac_ext=cpp
35719 ac_cpp='$CXXCPP $CPPFLAGS'
35720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35725 /* end confdefs.h. */
35726 #include <math.h>
35727 #ifdef HAVE_IEEEFP_H
35728 #include <ieeefp.h>
35729 #endif
35732 main ()
35734 qfpclass(0);
35736 return 0;
35738 _ACEOF
35739 if ac_fn_cxx_try_compile "$LINENO"; then :
35740 glibcxx_cv_func_qfpclass_use=yes
35741 else
35742 glibcxx_cv_func_qfpclass_use=no
35744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35745 ac_ext=c
35746 ac_cpp='$CPP $CPPFLAGS'
35747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
35756 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
35758 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
35759 for ac_func in qfpclass
35760 do :
35761 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
35762 if test "x$ac_cv_func_qfpclass" = x""yes; then :
35763 cat >>confdefs.h <<_ACEOF
35764 #define HAVE_QFPCLASS 1
35765 _ACEOF
35768 done
35770 else
35772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
35773 $as_echo_n "checking for _qfpclass declaration... " >&6; }
35774 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
35775 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
35776 $as_echo_n "(cached) " >&6
35777 else
35780 ac_ext=cpp
35781 ac_cpp='$CXXCPP $CPPFLAGS'
35782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35787 /* end confdefs.h. */
35788 #include <math.h>
35789 #ifdef HAVE_IEEEFP_H
35790 #include <ieeefp.h>
35791 #endif
35794 main ()
35796 _qfpclass(0);
35798 return 0;
35800 _ACEOF
35801 if ac_fn_cxx_try_compile "$LINENO"; then :
35802 glibcxx_cv_func__qfpclass_use=yes
35803 else
35804 glibcxx_cv_func__qfpclass_use=no
35806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35807 ac_ext=c
35808 ac_cpp='$CPP $CPPFLAGS'
35809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
35818 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
35820 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
35821 for ac_func in _qfpclass
35822 do :
35823 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
35824 if test "x$ac_cv_func__qfpclass" = x""yes; then :
35825 cat >>confdefs.h <<_ACEOF
35826 #define HAVE__QFPCLASS 1
35827 _ACEOF
35830 done
35839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
35840 $as_echo_n "checking for hypot declaration... " >&6; }
35841 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
35842 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
35843 $as_echo_n "(cached) " >&6
35844 else
35847 ac_ext=cpp
35848 ac_cpp='$CXXCPP $CPPFLAGS'
35849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35854 /* end confdefs.h. */
35855 #include <math.h>
35857 main ()
35859 hypot(0, 0);
35861 return 0;
35863 _ACEOF
35864 if ac_fn_cxx_try_compile "$LINENO"; then :
35865 glibcxx_cv_func_hypot_use=yes
35866 else
35867 glibcxx_cv_func_hypot_use=no
35869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35870 ac_ext=c
35871 ac_cpp='$CPP $CPPFLAGS'
35872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
35881 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
35883 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
35884 for ac_func in hypot
35885 do :
35886 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
35887 if test "x$ac_cv_func_hypot" = x""yes; then :
35888 cat >>confdefs.h <<_ACEOF
35889 #define HAVE_HYPOT 1
35890 _ACEOF
35893 done
35895 else
35897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
35898 $as_echo_n "checking for _hypot declaration... " >&6; }
35899 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
35900 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
35901 $as_echo_n "(cached) " >&6
35902 else
35905 ac_ext=cpp
35906 ac_cpp='$CXXCPP $CPPFLAGS'
35907 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35908 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35909 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35912 /* end confdefs.h. */
35913 #include <math.h>
35915 main ()
35917 _hypot(0, 0);
35919 return 0;
35921 _ACEOF
35922 if ac_fn_cxx_try_compile "$LINENO"; then :
35923 glibcxx_cv_func__hypot_use=yes
35924 else
35925 glibcxx_cv_func__hypot_use=no
35927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35928 ac_ext=c
35929 ac_cpp='$CPP $CPPFLAGS'
35930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
35939 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
35941 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
35942 for ac_func in _hypot
35943 do :
35944 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
35945 if test "x$ac_cv_func__hypot" = x""yes; then :
35946 cat >>confdefs.h <<_ACEOF
35947 #define HAVE__HYPOT 1
35948 _ACEOF
35951 done
35960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
35961 $as_echo_n "checking for float trig functions... " >&6; }
35962 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
35963 $as_echo_n "(cached) " >&6
35964 else
35967 ac_ext=cpp
35968 ac_cpp='$CXXCPP $CPPFLAGS'
35969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35974 /* end confdefs.h. */
35975 #include <math.h>
35977 main ()
35979 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
35981 return 0;
35983 _ACEOF
35984 if ac_fn_cxx_try_compile "$LINENO"; then :
35985 glibcxx_cv_func_float_trig_use=yes
35986 else
35987 glibcxx_cv_func_float_trig_use=no
35989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35990 ac_ext=c
35991 ac_cpp='$CPP $CPPFLAGS'
35992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
35999 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
36000 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
36001 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
36002 do :
36003 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36004 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36005 eval as_val=\$$as_ac_var
36006 if test "x$as_val" = x""yes; then :
36007 cat >>confdefs.h <<_ACEOF
36008 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36009 _ACEOF
36012 done
36014 else
36015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
36016 $as_echo_n "checking for _float trig functions... " >&6; }
36017 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
36018 $as_echo_n "(cached) " >&6
36019 else
36022 ac_ext=cpp
36023 ac_cpp='$CXXCPP $CPPFLAGS'
36024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36029 /* end confdefs.h. */
36030 #include <math.h>
36032 main ()
36034 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
36036 return 0;
36038 _ACEOF
36039 if ac_fn_cxx_try_compile "$LINENO"; then :
36040 glibcxx_cv_func__float_trig_use=yes
36041 else
36042 glibcxx_cv_func__float_trig_use=no
36044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36045 ac_ext=c
36046 ac_cpp='$CPP $CPPFLAGS'
36047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
36054 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
36055 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
36056 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
36057 do :
36058 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36059 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36060 eval as_val=\$$as_ac_var
36061 if test "x$as_val" = x""yes; then :
36062 cat >>confdefs.h <<_ACEOF
36063 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36064 _ACEOF
36067 done
36076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
36077 $as_echo_n "checking for float round functions... " >&6; }
36078 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
36079 $as_echo_n "(cached) " >&6
36080 else
36083 ac_ext=cpp
36084 ac_cpp='$CXXCPP $CPPFLAGS'
36085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36090 /* end confdefs.h. */
36091 #include <math.h>
36093 main ()
36095 ceilf (0); floorf (0);
36097 return 0;
36099 _ACEOF
36100 if ac_fn_cxx_try_compile "$LINENO"; then :
36101 glibcxx_cv_func_float_round_use=yes
36102 else
36103 glibcxx_cv_func_float_round_use=no
36105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36106 ac_ext=c
36107 ac_cpp='$CPP $CPPFLAGS'
36108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
36115 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
36116 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
36117 for ac_func in ceilf floorf
36118 do :
36119 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36120 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36121 eval as_val=\$$as_ac_var
36122 if test "x$as_val" = x""yes; then :
36123 cat >>confdefs.h <<_ACEOF
36124 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36125 _ACEOF
36128 done
36130 else
36131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
36132 $as_echo_n "checking for _float round functions... " >&6; }
36133 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
36134 $as_echo_n "(cached) " >&6
36135 else
36138 ac_ext=cpp
36139 ac_cpp='$CXXCPP $CPPFLAGS'
36140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36145 /* end confdefs.h. */
36146 #include <math.h>
36148 main ()
36150 _ceilf (0); _floorf (0);
36152 return 0;
36154 _ACEOF
36155 if ac_fn_cxx_try_compile "$LINENO"; then :
36156 glibcxx_cv_func__float_round_use=yes
36157 else
36158 glibcxx_cv_func__float_round_use=no
36160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36161 ac_ext=c
36162 ac_cpp='$CPP $CPPFLAGS'
36163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
36170 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
36171 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
36172 for ac_func in _ceilf _floorf
36173 do :
36174 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36175 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36176 eval as_val=\$$as_ac_var
36177 if test "x$as_val" = x""yes; then :
36178 cat >>confdefs.h <<_ACEOF
36179 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36180 _ACEOF
36183 done
36193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
36194 $as_echo_n "checking for expf declaration... " >&6; }
36195 if test x${glibcxx_cv_func_expf_use+set} != xset; then
36196 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
36197 $as_echo_n "(cached) " >&6
36198 else
36201 ac_ext=cpp
36202 ac_cpp='$CXXCPP $CPPFLAGS'
36203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36208 /* end confdefs.h. */
36209 #include <math.h>
36210 #ifdef HAVE_IEEEFP_H
36211 #include <ieeefp.h>
36212 #endif
36215 main ()
36217 expf(0);
36219 return 0;
36221 _ACEOF
36222 if ac_fn_cxx_try_compile "$LINENO"; then :
36223 glibcxx_cv_func_expf_use=yes
36224 else
36225 glibcxx_cv_func_expf_use=no
36227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36228 ac_ext=c
36229 ac_cpp='$CPP $CPPFLAGS'
36230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
36239 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
36241 if test x$glibcxx_cv_func_expf_use = x"yes"; then
36242 for ac_func in expf
36243 do :
36244 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
36245 if test "x$ac_cv_func_expf" = x""yes; then :
36246 cat >>confdefs.h <<_ACEOF
36247 #define HAVE_EXPF 1
36248 _ACEOF
36251 done
36253 else
36255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
36256 $as_echo_n "checking for _expf declaration... " >&6; }
36257 if test x${glibcxx_cv_func__expf_use+set} != xset; then
36258 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
36259 $as_echo_n "(cached) " >&6
36260 else
36263 ac_ext=cpp
36264 ac_cpp='$CXXCPP $CPPFLAGS'
36265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36270 /* end confdefs.h. */
36271 #include <math.h>
36272 #ifdef HAVE_IEEEFP_H
36273 #include <ieeefp.h>
36274 #endif
36277 main ()
36279 _expf(0);
36281 return 0;
36283 _ACEOF
36284 if ac_fn_cxx_try_compile "$LINENO"; then :
36285 glibcxx_cv_func__expf_use=yes
36286 else
36287 glibcxx_cv_func__expf_use=no
36289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36290 ac_ext=c
36291 ac_cpp='$CPP $CPPFLAGS'
36292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
36301 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
36303 if test x$glibcxx_cv_func__expf_use = x"yes"; then
36304 for ac_func in _expf
36305 do :
36306 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
36307 if test "x$ac_cv_func__expf" = x""yes; then :
36308 cat >>confdefs.h <<_ACEOF
36309 #define HAVE__EXPF 1
36310 _ACEOF
36313 done
36322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
36323 $as_echo_n "checking for isnanf declaration... " >&6; }
36324 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
36325 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
36326 $as_echo_n "(cached) " >&6
36327 else
36330 ac_ext=cpp
36331 ac_cpp='$CXXCPP $CPPFLAGS'
36332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36337 /* end confdefs.h. */
36338 #include <math.h>
36339 #ifdef HAVE_IEEEFP_H
36340 #include <ieeefp.h>
36341 #endif
36344 main ()
36346 isnanf(0);
36348 return 0;
36350 _ACEOF
36351 if ac_fn_cxx_try_compile "$LINENO"; then :
36352 glibcxx_cv_func_isnanf_use=yes
36353 else
36354 glibcxx_cv_func_isnanf_use=no
36356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36357 ac_ext=c
36358 ac_cpp='$CPP $CPPFLAGS'
36359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
36368 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
36370 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
36371 for ac_func in isnanf
36372 do :
36373 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
36374 if test "x$ac_cv_func_isnanf" = x""yes; then :
36375 cat >>confdefs.h <<_ACEOF
36376 #define HAVE_ISNANF 1
36377 _ACEOF
36380 done
36382 else
36384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
36385 $as_echo_n "checking for _isnanf declaration... " >&6; }
36386 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
36387 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
36388 $as_echo_n "(cached) " >&6
36389 else
36392 ac_ext=cpp
36393 ac_cpp='$CXXCPP $CPPFLAGS'
36394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36399 /* end confdefs.h. */
36400 #include <math.h>
36401 #ifdef HAVE_IEEEFP_H
36402 #include <ieeefp.h>
36403 #endif
36406 main ()
36408 _isnanf(0);
36410 return 0;
36412 _ACEOF
36413 if ac_fn_cxx_try_compile "$LINENO"; then :
36414 glibcxx_cv_func__isnanf_use=yes
36415 else
36416 glibcxx_cv_func__isnanf_use=no
36418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36419 ac_ext=c
36420 ac_cpp='$CPP $CPPFLAGS'
36421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
36430 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
36432 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
36433 for ac_func in _isnanf
36434 do :
36435 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
36436 if test "x$ac_cv_func__isnanf" = x""yes; then :
36437 cat >>confdefs.h <<_ACEOF
36438 #define HAVE__ISNANF 1
36439 _ACEOF
36442 done
36451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
36452 $as_echo_n "checking for isinff declaration... " >&6; }
36453 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
36454 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
36455 $as_echo_n "(cached) " >&6
36456 else
36459 ac_ext=cpp
36460 ac_cpp='$CXXCPP $CPPFLAGS'
36461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36466 /* end confdefs.h. */
36467 #include <math.h>
36468 #ifdef HAVE_IEEEFP_H
36469 #include <ieeefp.h>
36470 #endif
36473 main ()
36475 isinff(0);
36477 return 0;
36479 _ACEOF
36480 if ac_fn_cxx_try_compile "$LINENO"; then :
36481 glibcxx_cv_func_isinff_use=yes
36482 else
36483 glibcxx_cv_func_isinff_use=no
36485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36486 ac_ext=c
36487 ac_cpp='$CPP $CPPFLAGS'
36488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
36497 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
36499 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
36500 for ac_func in isinff
36501 do :
36502 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
36503 if test "x$ac_cv_func_isinff" = x""yes; then :
36504 cat >>confdefs.h <<_ACEOF
36505 #define HAVE_ISINFF 1
36506 _ACEOF
36509 done
36511 else
36513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
36514 $as_echo_n "checking for _isinff declaration... " >&6; }
36515 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
36516 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
36517 $as_echo_n "(cached) " >&6
36518 else
36521 ac_ext=cpp
36522 ac_cpp='$CXXCPP $CPPFLAGS'
36523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36528 /* end confdefs.h. */
36529 #include <math.h>
36530 #ifdef HAVE_IEEEFP_H
36531 #include <ieeefp.h>
36532 #endif
36535 main ()
36537 _isinff(0);
36539 return 0;
36541 _ACEOF
36542 if ac_fn_cxx_try_compile "$LINENO"; then :
36543 glibcxx_cv_func__isinff_use=yes
36544 else
36545 glibcxx_cv_func__isinff_use=no
36547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36548 ac_ext=c
36549 ac_cpp='$CPP $CPPFLAGS'
36550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
36559 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
36561 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
36562 for ac_func in _isinff
36563 do :
36564 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
36565 if test "x$ac_cv_func__isinff" = x""yes; then :
36566 cat >>confdefs.h <<_ACEOF
36567 #define HAVE__ISINFF 1
36568 _ACEOF
36571 done
36580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
36581 $as_echo_n "checking for atan2f declaration... " >&6; }
36582 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
36583 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
36584 $as_echo_n "(cached) " >&6
36585 else
36588 ac_ext=cpp
36589 ac_cpp='$CXXCPP $CPPFLAGS'
36590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36595 /* end confdefs.h. */
36596 #include <math.h>
36598 main ()
36600 atan2f(0, 0);
36602 return 0;
36604 _ACEOF
36605 if ac_fn_cxx_try_compile "$LINENO"; then :
36606 glibcxx_cv_func_atan2f_use=yes
36607 else
36608 glibcxx_cv_func_atan2f_use=no
36610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36611 ac_ext=c
36612 ac_cpp='$CPP $CPPFLAGS'
36613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
36622 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
36624 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
36625 for ac_func in atan2f
36626 do :
36627 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
36628 if test "x$ac_cv_func_atan2f" = x""yes; then :
36629 cat >>confdefs.h <<_ACEOF
36630 #define HAVE_ATAN2F 1
36631 _ACEOF
36634 done
36636 else
36638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
36639 $as_echo_n "checking for _atan2f declaration... " >&6; }
36640 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
36641 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
36642 $as_echo_n "(cached) " >&6
36643 else
36646 ac_ext=cpp
36647 ac_cpp='$CXXCPP $CPPFLAGS'
36648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36653 /* end confdefs.h. */
36654 #include <math.h>
36656 main ()
36658 _atan2f(0, 0);
36660 return 0;
36662 _ACEOF
36663 if ac_fn_cxx_try_compile "$LINENO"; then :
36664 glibcxx_cv_func__atan2f_use=yes
36665 else
36666 glibcxx_cv_func__atan2f_use=no
36668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36669 ac_ext=c
36670 ac_cpp='$CPP $CPPFLAGS'
36671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
36680 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
36682 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
36683 for ac_func in _atan2f
36684 do :
36685 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
36686 if test "x$ac_cv_func__atan2f" = x""yes; then :
36687 cat >>confdefs.h <<_ACEOF
36688 #define HAVE__ATAN2F 1
36689 _ACEOF
36692 done
36701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
36702 $as_echo_n "checking for fabsf declaration... " >&6; }
36703 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
36704 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
36705 $as_echo_n "(cached) " >&6
36706 else
36709 ac_ext=cpp
36710 ac_cpp='$CXXCPP $CPPFLAGS'
36711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36716 /* end confdefs.h. */
36717 #include <math.h>
36718 #ifdef HAVE_IEEEFP_H
36719 #include <ieeefp.h>
36720 #endif
36723 main ()
36725 fabsf(0);
36727 return 0;
36729 _ACEOF
36730 if ac_fn_cxx_try_compile "$LINENO"; then :
36731 glibcxx_cv_func_fabsf_use=yes
36732 else
36733 glibcxx_cv_func_fabsf_use=no
36735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36736 ac_ext=c
36737 ac_cpp='$CPP $CPPFLAGS'
36738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
36747 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
36749 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
36750 for ac_func in fabsf
36751 do :
36752 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
36753 if test "x$ac_cv_func_fabsf" = x""yes; then :
36754 cat >>confdefs.h <<_ACEOF
36755 #define HAVE_FABSF 1
36756 _ACEOF
36759 done
36761 else
36763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
36764 $as_echo_n "checking for _fabsf declaration... " >&6; }
36765 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
36766 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
36767 $as_echo_n "(cached) " >&6
36768 else
36771 ac_ext=cpp
36772 ac_cpp='$CXXCPP $CPPFLAGS'
36773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36778 /* end confdefs.h. */
36779 #include <math.h>
36780 #ifdef HAVE_IEEEFP_H
36781 #include <ieeefp.h>
36782 #endif
36785 main ()
36787 _fabsf(0);
36789 return 0;
36791 _ACEOF
36792 if ac_fn_cxx_try_compile "$LINENO"; then :
36793 glibcxx_cv_func__fabsf_use=yes
36794 else
36795 glibcxx_cv_func__fabsf_use=no
36797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36798 ac_ext=c
36799 ac_cpp='$CPP $CPPFLAGS'
36800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
36809 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
36811 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
36812 for ac_func in _fabsf
36813 do :
36814 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
36815 if test "x$ac_cv_func__fabsf" = x""yes; then :
36816 cat >>confdefs.h <<_ACEOF
36817 #define HAVE__FABSF 1
36818 _ACEOF
36821 done
36830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
36831 $as_echo_n "checking for fmodf declaration... " >&6; }
36832 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
36833 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
36834 $as_echo_n "(cached) " >&6
36835 else
36838 ac_ext=cpp
36839 ac_cpp='$CXXCPP $CPPFLAGS'
36840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36845 /* end confdefs.h. */
36846 #include <math.h>
36848 main ()
36850 fmodf(0, 0);
36852 return 0;
36854 _ACEOF
36855 if ac_fn_cxx_try_compile "$LINENO"; then :
36856 glibcxx_cv_func_fmodf_use=yes
36857 else
36858 glibcxx_cv_func_fmodf_use=no
36860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36861 ac_ext=c
36862 ac_cpp='$CPP $CPPFLAGS'
36863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
36872 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
36874 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
36875 for ac_func in fmodf
36876 do :
36877 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
36878 if test "x$ac_cv_func_fmodf" = x""yes; then :
36879 cat >>confdefs.h <<_ACEOF
36880 #define HAVE_FMODF 1
36881 _ACEOF
36884 done
36886 else
36888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
36889 $as_echo_n "checking for _fmodf declaration... " >&6; }
36890 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
36891 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
36892 $as_echo_n "(cached) " >&6
36893 else
36896 ac_ext=cpp
36897 ac_cpp='$CXXCPP $CPPFLAGS'
36898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36903 /* end confdefs.h. */
36904 #include <math.h>
36906 main ()
36908 _fmodf(0, 0);
36910 return 0;
36912 _ACEOF
36913 if ac_fn_cxx_try_compile "$LINENO"; then :
36914 glibcxx_cv_func__fmodf_use=yes
36915 else
36916 glibcxx_cv_func__fmodf_use=no
36918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36919 ac_ext=c
36920 ac_cpp='$CPP $CPPFLAGS'
36921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
36930 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
36932 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
36933 for ac_func in _fmodf
36934 do :
36935 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
36936 if test "x$ac_cv_func__fmodf" = x""yes; then :
36937 cat >>confdefs.h <<_ACEOF
36938 #define HAVE__FMODF 1
36939 _ACEOF
36942 done
36951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
36952 $as_echo_n "checking for frexpf declaration... " >&6; }
36953 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
36954 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
36955 $as_echo_n "(cached) " >&6
36956 else
36959 ac_ext=cpp
36960 ac_cpp='$CXXCPP $CPPFLAGS'
36961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36966 /* end confdefs.h. */
36967 #include <math.h>
36969 main ()
36971 frexpf(0, 0);
36973 return 0;
36975 _ACEOF
36976 if ac_fn_cxx_try_compile "$LINENO"; then :
36977 glibcxx_cv_func_frexpf_use=yes
36978 else
36979 glibcxx_cv_func_frexpf_use=no
36981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36982 ac_ext=c
36983 ac_cpp='$CPP $CPPFLAGS'
36984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
36993 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
36995 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
36996 for ac_func in frexpf
36997 do :
36998 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
36999 if test "x$ac_cv_func_frexpf" = x""yes; then :
37000 cat >>confdefs.h <<_ACEOF
37001 #define HAVE_FREXPF 1
37002 _ACEOF
37005 done
37007 else
37009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
37010 $as_echo_n "checking for _frexpf declaration... " >&6; }
37011 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
37012 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
37013 $as_echo_n "(cached) " >&6
37014 else
37017 ac_ext=cpp
37018 ac_cpp='$CXXCPP $CPPFLAGS'
37019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37024 /* end confdefs.h. */
37025 #include <math.h>
37027 main ()
37029 _frexpf(0, 0);
37031 return 0;
37033 _ACEOF
37034 if ac_fn_cxx_try_compile "$LINENO"; then :
37035 glibcxx_cv_func__frexpf_use=yes
37036 else
37037 glibcxx_cv_func__frexpf_use=no
37039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37040 ac_ext=c
37041 ac_cpp='$CPP $CPPFLAGS'
37042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
37051 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
37053 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
37054 for ac_func in _frexpf
37055 do :
37056 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
37057 if test "x$ac_cv_func__frexpf" = x""yes; then :
37058 cat >>confdefs.h <<_ACEOF
37059 #define HAVE__FREXPF 1
37060 _ACEOF
37063 done
37072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
37073 $as_echo_n "checking for hypotf declaration... " >&6; }
37074 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
37075 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
37076 $as_echo_n "(cached) " >&6
37077 else
37080 ac_ext=cpp
37081 ac_cpp='$CXXCPP $CPPFLAGS'
37082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37087 /* end confdefs.h. */
37088 #include <math.h>
37090 main ()
37092 hypotf(0, 0);
37094 return 0;
37096 _ACEOF
37097 if ac_fn_cxx_try_compile "$LINENO"; then :
37098 glibcxx_cv_func_hypotf_use=yes
37099 else
37100 glibcxx_cv_func_hypotf_use=no
37102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37103 ac_ext=c
37104 ac_cpp='$CPP $CPPFLAGS'
37105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
37114 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
37116 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
37117 for ac_func in hypotf
37118 do :
37119 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
37120 if test "x$ac_cv_func_hypotf" = x""yes; then :
37121 cat >>confdefs.h <<_ACEOF
37122 #define HAVE_HYPOTF 1
37123 _ACEOF
37126 done
37128 else
37130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
37131 $as_echo_n "checking for _hypotf declaration... " >&6; }
37132 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
37133 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
37134 $as_echo_n "(cached) " >&6
37135 else
37138 ac_ext=cpp
37139 ac_cpp='$CXXCPP $CPPFLAGS'
37140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37145 /* end confdefs.h. */
37146 #include <math.h>
37148 main ()
37150 _hypotf(0, 0);
37152 return 0;
37154 _ACEOF
37155 if ac_fn_cxx_try_compile "$LINENO"; then :
37156 glibcxx_cv_func__hypotf_use=yes
37157 else
37158 glibcxx_cv_func__hypotf_use=no
37160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37161 ac_ext=c
37162 ac_cpp='$CPP $CPPFLAGS'
37163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
37172 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
37174 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
37175 for ac_func in _hypotf
37176 do :
37177 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
37178 if test "x$ac_cv_func__hypotf" = x""yes; then :
37179 cat >>confdefs.h <<_ACEOF
37180 #define HAVE__HYPOTF 1
37181 _ACEOF
37184 done
37193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
37194 $as_echo_n "checking for ldexpf declaration... " >&6; }
37195 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
37196 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
37197 $as_echo_n "(cached) " >&6
37198 else
37201 ac_ext=cpp
37202 ac_cpp='$CXXCPP $CPPFLAGS'
37203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37208 /* end confdefs.h. */
37209 #include <math.h>
37211 main ()
37213 ldexpf(0, 0);
37215 return 0;
37217 _ACEOF
37218 if ac_fn_cxx_try_compile "$LINENO"; then :
37219 glibcxx_cv_func_ldexpf_use=yes
37220 else
37221 glibcxx_cv_func_ldexpf_use=no
37223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37224 ac_ext=c
37225 ac_cpp='$CPP $CPPFLAGS'
37226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
37235 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
37237 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
37238 for ac_func in ldexpf
37239 do :
37240 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
37241 if test "x$ac_cv_func_ldexpf" = x""yes; then :
37242 cat >>confdefs.h <<_ACEOF
37243 #define HAVE_LDEXPF 1
37244 _ACEOF
37247 done
37249 else
37251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
37252 $as_echo_n "checking for _ldexpf declaration... " >&6; }
37253 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
37254 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
37255 $as_echo_n "(cached) " >&6
37256 else
37259 ac_ext=cpp
37260 ac_cpp='$CXXCPP $CPPFLAGS'
37261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37266 /* end confdefs.h. */
37267 #include <math.h>
37269 main ()
37271 _ldexpf(0, 0);
37273 return 0;
37275 _ACEOF
37276 if ac_fn_cxx_try_compile "$LINENO"; then :
37277 glibcxx_cv_func__ldexpf_use=yes
37278 else
37279 glibcxx_cv_func__ldexpf_use=no
37281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37282 ac_ext=c
37283 ac_cpp='$CPP $CPPFLAGS'
37284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
37293 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
37295 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
37296 for ac_func in _ldexpf
37297 do :
37298 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
37299 if test "x$ac_cv_func__ldexpf" = x""yes; then :
37300 cat >>confdefs.h <<_ACEOF
37301 #define HAVE__LDEXPF 1
37302 _ACEOF
37305 done
37314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
37315 $as_echo_n "checking for logf declaration... " >&6; }
37316 if test x${glibcxx_cv_func_logf_use+set} != xset; then
37317 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
37318 $as_echo_n "(cached) " >&6
37319 else
37322 ac_ext=cpp
37323 ac_cpp='$CXXCPP $CPPFLAGS'
37324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37329 /* end confdefs.h. */
37330 #include <math.h>
37331 #ifdef HAVE_IEEEFP_H
37332 #include <ieeefp.h>
37333 #endif
37336 main ()
37338 logf(0);
37340 return 0;
37342 _ACEOF
37343 if ac_fn_cxx_try_compile "$LINENO"; then :
37344 glibcxx_cv_func_logf_use=yes
37345 else
37346 glibcxx_cv_func_logf_use=no
37348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37349 ac_ext=c
37350 ac_cpp='$CPP $CPPFLAGS'
37351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
37360 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
37362 if test x$glibcxx_cv_func_logf_use = x"yes"; then
37363 for ac_func in logf
37364 do :
37365 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
37366 if test "x$ac_cv_func_logf" = x""yes; then :
37367 cat >>confdefs.h <<_ACEOF
37368 #define HAVE_LOGF 1
37369 _ACEOF
37372 done
37374 else
37376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
37377 $as_echo_n "checking for _logf declaration... " >&6; }
37378 if test x${glibcxx_cv_func__logf_use+set} != xset; then
37379 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
37380 $as_echo_n "(cached) " >&6
37381 else
37384 ac_ext=cpp
37385 ac_cpp='$CXXCPP $CPPFLAGS'
37386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37391 /* end confdefs.h. */
37392 #include <math.h>
37393 #ifdef HAVE_IEEEFP_H
37394 #include <ieeefp.h>
37395 #endif
37398 main ()
37400 _logf(0);
37402 return 0;
37404 _ACEOF
37405 if ac_fn_cxx_try_compile "$LINENO"; then :
37406 glibcxx_cv_func__logf_use=yes
37407 else
37408 glibcxx_cv_func__logf_use=no
37410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37411 ac_ext=c
37412 ac_cpp='$CPP $CPPFLAGS'
37413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
37422 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
37424 if test x$glibcxx_cv_func__logf_use = x"yes"; then
37425 for ac_func in _logf
37426 do :
37427 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
37428 if test "x$ac_cv_func__logf" = x""yes; then :
37429 cat >>confdefs.h <<_ACEOF
37430 #define HAVE__LOGF 1
37431 _ACEOF
37434 done
37443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
37444 $as_echo_n "checking for log10f declaration... " >&6; }
37445 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
37446 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
37447 $as_echo_n "(cached) " >&6
37448 else
37451 ac_ext=cpp
37452 ac_cpp='$CXXCPP $CPPFLAGS'
37453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37458 /* end confdefs.h. */
37459 #include <math.h>
37460 #ifdef HAVE_IEEEFP_H
37461 #include <ieeefp.h>
37462 #endif
37465 main ()
37467 log10f(0);
37469 return 0;
37471 _ACEOF
37472 if ac_fn_cxx_try_compile "$LINENO"; then :
37473 glibcxx_cv_func_log10f_use=yes
37474 else
37475 glibcxx_cv_func_log10f_use=no
37477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37478 ac_ext=c
37479 ac_cpp='$CPP $CPPFLAGS'
37480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
37489 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
37491 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
37492 for ac_func in log10f
37493 do :
37494 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
37495 if test "x$ac_cv_func_log10f" = x""yes; then :
37496 cat >>confdefs.h <<_ACEOF
37497 #define HAVE_LOG10F 1
37498 _ACEOF
37501 done
37503 else
37505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
37506 $as_echo_n "checking for _log10f declaration... " >&6; }
37507 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
37508 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
37509 $as_echo_n "(cached) " >&6
37510 else
37513 ac_ext=cpp
37514 ac_cpp='$CXXCPP $CPPFLAGS'
37515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37520 /* end confdefs.h. */
37521 #include <math.h>
37522 #ifdef HAVE_IEEEFP_H
37523 #include <ieeefp.h>
37524 #endif
37527 main ()
37529 _log10f(0);
37531 return 0;
37533 _ACEOF
37534 if ac_fn_cxx_try_compile "$LINENO"; then :
37535 glibcxx_cv_func__log10f_use=yes
37536 else
37537 glibcxx_cv_func__log10f_use=no
37539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37540 ac_ext=c
37541 ac_cpp='$CPP $CPPFLAGS'
37542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
37551 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
37553 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
37554 for ac_func in _log10f
37555 do :
37556 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
37557 if test "x$ac_cv_func__log10f" = x""yes; then :
37558 cat >>confdefs.h <<_ACEOF
37559 #define HAVE__LOG10F 1
37560 _ACEOF
37563 done
37572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
37573 $as_echo_n "checking for modff declaration... " >&6; }
37574 if test x${glibcxx_cv_func_modff_use+set} != xset; then
37575 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
37576 $as_echo_n "(cached) " >&6
37577 else
37580 ac_ext=cpp
37581 ac_cpp='$CXXCPP $CPPFLAGS'
37582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37587 /* end confdefs.h. */
37588 #include <math.h>
37590 main ()
37592 modff(0, 0);
37594 return 0;
37596 _ACEOF
37597 if ac_fn_cxx_try_compile "$LINENO"; then :
37598 glibcxx_cv_func_modff_use=yes
37599 else
37600 glibcxx_cv_func_modff_use=no
37602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37603 ac_ext=c
37604 ac_cpp='$CPP $CPPFLAGS'
37605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
37614 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
37616 if test x$glibcxx_cv_func_modff_use = x"yes"; then
37617 for ac_func in modff
37618 do :
37619 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
37620 if test "x$ac_cv_func_modff" = x""yes; then :
37621 cat >>confdefs.h <<_ACEOF
37622 #define HAVE_MODFF 1
37623 _ACEOF
37626 done
37628 else
37630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
37631 $as_echo_n "checking for _modff declaration... " >&6; }
37632 if test x${glibcxx_cv_func__modff_use+set} != xset; then
37633 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
37634 $as_echo_n "(cached) " >&6
37635 else
37638 ac_ext=cpp
37639 ac_cpp='$CXXCPP $CPPFLAGS'
37640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37645 /* end confdefs.h. */
37646 #include <math.h>
37648 main ()
37650 _modff(0, 0);
37652 return 0;
37654 _ACEOF
37655 if ac_fn_cxx_try_compile "$LINENO"; then :
37656 glibcxx_cv_func__modff_use=yes
37657 else
37658 glibcxx_cv_func__modff_use=no
37660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37661 ac_ext=c
37662 ac_cpp='$CPP $CPPFLAGS'
37663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
37672 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
37674 if test x$glibcxx_cv_func__modff_use = x"yes"; then
37675 for ac_func in _modff
37676 do :
37677 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
37678 if test "x$ac_cv_func__modff" = x""yes; then :
37679 cat >>confdefs.h <<_ACEOF
37680 #define HAVE__MODFF 1
37681 _ACEOF
37684 done
37693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
37694 $as_echo_n "checking for modf declaration... " >&6; }
37695 if test x${glibcxx_cv_func_modf_use+set} != xset; then
37696 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
37697 $as_echo_n "(cached) " >&6
37698 else
37701 ac_ext=cpp
37702 ac_cpp='$CXXCPP $CPPFLAGS'
37703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37708 /* end confdefs.h. */
37709 #include <math.h>
37711 main ()
37713 modf(0, 0);
37715 return 0;
37717 _ACEOF
37718 if ac_fn_cxx_try_compile "$LINENO"; then :
37719 glibcxx_cv_func_modf_use=yes
37720 else
37721 glibcxx_cv_func_modf_use=no
37723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37724 ac_ext=c
37725 ac_cpp='$CPP $CPPFLAGS'
37726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
37735 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
37737 if test x$glibcxx_cv_func_modf_use = x"yes"; then
37738 for ac_func in modf
37739 do :
37740 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
37741 if test "x$ac_cv_func_modf" = x""yes; then :
37742 cat >>confdefs.h <<_ACEOF
37743 #define HAVE_MODF 1
37744 _ACEOF
37747 done
37749 else
37751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
37752 $as_echo_n "checking for _modf declaration... " >&6; }
37753 if test x${glibcxx_cv_func__modf_use+set} != xset; then
37754 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
37755 $as_echo_n "(cached) " >&6
37756 else
37759 ac_ext=cpp
37760 ac_cpp='$CXXCPP $CPPFLAGS'
37761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37766 /* end confdefs.h. */
37767 #include <math.h>
37769 main ()
37771 _modf(0, 0);
37773 return 0;
37775 _ACEOF
37776 if ac_fn_cxx_try_compile "$LINENO"; then :
37777 glibcxx_cv_func__modf_use=yes
37778 else
37779 glibcxx_cv_func__modf_use=no
37781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37782 ac_ext=c
37783 ac_cpp='$CPP $CPPFLAGS'
37784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
37793 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
37795 if test x$glibcxx_cv_func__modf_use = x"yes"; then
37796 for ac_func in _modf
37797 do :
37798 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
37799 if test "x$ac_cv_func__modf" = x""yes; then :
37800 cat >>confdefs.h <<_ACEOF
37801 #define HAVE__MODF 1
37802 _ACEOF
37805 done
37814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
37815 $as_echo_n "checking for powf declaration... " >&6; }
37816 if test x${glibcxx_cv_func_powf_use+set} != xset; then
37817 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
37818 $as_echo_n "(cached) " >&6
37819 else
37822 ac_ext=cpp
37823 ac_cpp='$CXXCPP $CPPFLAGS'
37824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37829 /* end confdefs.h. */
37830 #include <math.h>
37832 main ()
37834 powf(0, 0);
37836 return 0;
37838 _ACEOF
37839 if ac_fn_cxx_try_compile "$LINENO"; then :
37840 glibcxx_cv_func_powf_use=yes
37841 else
37842 glibcxx_cv_func_powf_use=no
37844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37845 ac_ext=c
37846 ac_cpp='$CPP $CPPFLAGS'
37847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
37856 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
37858 if test x$glibcxx_cv_func_powf_use = x"yes"; then
37859 for ac_func in powf
37860 do :
37861 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
37862 if test "x$ac_cv_func_powf" = x""yes; then :
37863 cat >>confdefs.h <<_ACEOF
37864 #define HAVE_POWF 1
37865 _ACEOF
37868 done
37870 else
37872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
37873 $as_echo_n "checking for _powf declaration... " >&6; }
37874 if test x${glibcxx_cv_func__powf_use+set} != xset; then
37875 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
37876 $as_echo_n "(cached) " >&6
37877 else
37880 ac_ext=cpp
37881 ac_cpp='$CXXCPP $CPPFLAGS'
37882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37887 /* end confdefs.h. */
37888 #include <math.h>
37890 main ()
37892 _powf(0, 0);
37894 return 0;
37896 _ACEOF
37897 if ac_fn_cxx_try_compile "$LINENO"; then :
37898 glibcxx_cv_func__powf_use=yes
37899 else
37900 glibcxx_cv_func__powf_use=no
37902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37903 ac_ext=c
37904 ac_cpp='$CPP $CPPFLAGS'
37905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
37914 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
37916 if test x$glibcxx_cv_func__powf_use = x"yes"; then
37917 for ac_func in _powf
37918 do :
37919 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
37920 if test "x$ac_cv_func__powf" = x""yes; then :
37921 cat >>confdefs.h <<_ACEOF
37922 #define HAVE__POWF 1
37923 _ACEOF
37926 done
37935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
37936 $as_echo_n "checking for sqrtf declaration... " >&6; }
37937 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
37938 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
37939 $as_echo_n "(cached) " >&6
37940 else
37943 ac_ext=cpp
37944 ac_cpp='$CXXCPP $CPPFLAGS'
37945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37950 /* end confdefs.h. */
37951 #include <math.h>
37952 #ifdef HAVE_IEEEFP_H
37953 #include <ieeefp.h>
37954 #endif
37957 main ()
37959 sqrtf(0);
37961 return 0;
37963 _ACEOF
37964 if ac_fn_cxx_try_compile "$LINENO"; then :
37965 glibcxx_cv_func_sqrtf_use=yes
37966 else
37967 glibcxx_cv_func_sqrtf_use=no
37969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37970 ac_ext=c
37971 ac_cpp='$CPP $CPPFLAGS'
37972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
37981 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
37983 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
37984 for ac_func in sqrtf
37985 do :
37986 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
37987 if test "x$ac_cv_func_sqrtf" = x""yes; then :
37988 cat >>confdefs.h <<_ACEOF
37989 #define HAVE_SQRTF 1
37990 _ACEOF
37993 done
37995 else
37997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
37998 $as_echo_n "checking for _sqrtf declaration... " >&6; }
37999 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
38000 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
38001 $as_echo_n "(cached) " >&6
38002 else
38005 ac_ext=cpp
38006 ac_cpp='$CXXCPP $CPPFLAGS'
38007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38012 /* end confdefs.h. */
38013 #include <math.h>
38014 #ifdef HAVE_IEEEFP_H
38015 #include <ieeefp.h>
38016 #endif
38019 main ()
38021 _sqrtf(0);
38023 return 0;
38025 _ACEOF
38026 if ac_fn_cxx_try_compile "$LINENO"; then :
38027 glibcxx_cv_func__sqrtf_use=yes
38028 else
38029 glibcxx_cv_func__sqrtf_use=no
38031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38032 ac_ext=c
38033 ac_cpp='$CPP $CPPFLAGS'
38034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
38043 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
38045 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
38046 for ac_func in _sqrtf
38047 do :
38048 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
38049 if test "x$ac_cv_func__sqrtf" = x""yes; then :
38050 cat >>confdefs.h <<_ACEOF
38051 #define HAVE__SQRTF 1
38052 _ACEOF
38055 done
38064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
38065 $as_echo_n "checking for sincosf declaration... " >&6; }
38066 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
38067 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
38068 $as_echo_n "(cached) " >&6
38069 else
38072 ac_ext=cpp
38073 ac_cpp='$CXXCPP $CPPFLAGS'
38074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38079 /* end confdefs.h. */
38080 #include <math.h>
38082 main ()
38084 sincosf(0, 0, 0);
38086 return 0;
38088 _ACEOF
38089 if ac_fn_cxx_try_compile "$LINENO"; then :
38090 glibcxx_cv_func_sincosf_use=yes
38091 else
38092 glibcxx_cv_func_sincosf_use=no
38094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38095 ac_ext=c
38096 ac_cpp='$CPP $CPPFLAGS'
38097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
38106 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
38108 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
38109 for ac_func in sincosf
38110 do :
38111 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
38112 if test "x$ac_cv_func_sincosf" = x""yes; then :
38113 cat >>confdefs.h <<_ACEOF
38114 #define HAVE_SINCOSF 1
38115 _ACEOF
38118 done
38120 else
38122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
38123 $as_echo_n "checking for _sincosf declaration... " >&6; }
38124 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
38125 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
38126 $as_echo_n "(cached) " >&6
38127 else
38130 ac_ext=cpp
38131 ac_cpp='$CXXCPP $CPPFLAGS'
38132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38137 /* end confdefs.h. */
38138 #include <math.h>
38140 main ()
38142 _sincosf(0, 0, 0);
38144 return 0;
38146 _ACEOF
38147 if ac_fn_cxx_try_compile "$LINENO"; then :
38148 glibcxx_cv_func__sincosf_use=yes
38149 else
38150 glibcxx_cv_func__sincosf_use=no
38152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38153 ac_ext=c
38154 ac_cpp='$CPP $CPPFLAGS'
38155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
38164 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
38166 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
38167 for ac_func in _sincosf
38168 do :
38169 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
38170 if test "x$ac_cv_func__sincosf" = x""yes; then :
38171 cat >>confdefs.h <<_ACEOF
38172 #define HAVE__SINCOSF 1
38173 _ACEOF
38176 done
38185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
38186 $as_echo_n "checking for finitef declaration... " >&6; }
38187 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
38188 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
38189 $as_echo_n "(cached) " >&6
38190 else
38193 ac_ext=cpp
38194 ac_cpp='$CXXCPP $CPPFLAGS'
38195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38200 /* end confdefs.h. */
38201 #include <math.h>
38202 #ifdef HAVE_IEEEFP_H
38203 #include <ieeefp.h>
38204 #endif
38207 main ()
38209 finitef(0);
38211 return 0;
38213 _ACEOF
38214 if ac_fn_cxx_try_compile "$LINENO"; then :
38215 glibcxx_cv_func_finitef_use=yes
38216 else
38217 glibcxx_cv_func_finitef_use=no
38219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38220 ac_ext=c
38221 ac_cpp='$CPP $CPPFLAGS'
38222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
38231 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
38233 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
38234 for ac_func in finitef
38235 do :
38236 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
38237 if test "x$ac_cv_func_finitef" = x""yes; then :
38238 cat >>confdefs.h <<_ACEOF
38239 #define HAVE_FINITEF 1
38240 _ACEOF
38243 done
38245 else
38247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
38248 $as_echo_n "checking for _finitef declaration... " >&6; }
38249 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
38250 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
38251 $as_echo_n "(cached) " >&6
38252 else
38255 ac_ext=cpp
38256 ac_cpp='$CXXCPP $CPPFLAGS'
38257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38262 /* end confdefs.h. */
38263 #include <math.h>
38264 #ifdef HAVE_IEEEFP_H
38265 #include <ieeefp.h>
38266 #endif
38269 main ()
38271 _finitef(0);
38273 return 0;
38275 _ACEOF
38276 if ac_fn_cxx_try_compile "$LINENO"; then :
38277 glibcxx_cv_func__finitef_use=yes
38278 else
38279 glibcxx_cv_func__finitef_use=no
38281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38282 ac_ext=c
38283 ac_cpp='$CPP $CPPFLAGS'
38284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
38293 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
38295 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
38296 for ac_func in _finitef
38297 do :
38298 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
38299 if test "x$ac_cv_func__finitef" = x""yes; then :
38300 cat >>confdefs.h <<_ACEOF
38301 #define HAVE__FINITEF 1
38302 _ACEOF
38305 done
38314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
38315 $as_echo_n "checking for long double trig functions... " >&6; }
38316 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
38317 $as_echo_n "(cached) " >&6
38318 else
38321 ac_ext=cpp
38322 ac_cpp='$CXXCPP $CPPFLAGS'
38323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38328 /* end confdefs.h. */
38329 #include <math.h>
38331 main ()
38333 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
38335 return 0;
38337 _ACEOF
38338 if ac_fn_cxx_try_compile "$LINENO"; then :
38339 glibcxx_cv_func_long_double_trig_use=yes
38340 else
38341 glibcxx_cv_func_long_double_trig_use=no
38343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38344 ac_ext=c
38345 ac_cpp='$CPP $CPPFLAGS'
38346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
38353 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
38354 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
38355 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
38356 do :
38357 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38358 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38359 eval as_val=\$$as_ac_var
38360 if test "x$as_val" = x""yes; then :
38361 cat >>confdefs.h <<_ACEOF
38362 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38363 _ACEOF
38366 done
38368 else
38369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
38370 $as_echo_n "checking for _long double trig functions... " >&6; }
38371 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
38372 $as_echo_n "(cached) " >&6
38373 else
38376 ac_ext=cpp
38377 ac_cpp='$CXXCPP $CPPFLAGS'
38378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38383 /* end confdefs.h. */
38384 #include <math.h>
38386 main ()
38388 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
38390 return 0;
38392 _ACEOF
38393 if ac_fn_cxx_try_compile "$LINENO"; then :
38394 glibcxx_cv_func__long_double_trig_use=yes
38395 else
38396 glibcxx_cv_func__long_double_trig_use=no
38398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38399 ac_ext=c
38400 ac_cpp='$CPP $CPPFLAGS'
38401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
38408 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
38409 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
38410 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
38411 do :
38412 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38413 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38414 eval as_val=\$$as_ac_var
38415 if test "x$as_val" = x""yes; then :
38416 cat >>confdefs.h <<_ACEOF
38417 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38418 _ACEOF
38421 done
38430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
38431 $as_echo_n "checking for long double round functions... " >&6; }
38432 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
38433 $as_echo_n "(cached) " >&6
38434 else
38437 ac_ext=cpp
38438 ac_cpp='$CXXCPP $CPPFLAGS'
38439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38444 /* end confdefs.h. */
38445 #include <math.h>
38447 main ()
38449 ceill (0); floorl (0);
38451 return 0;
38453 _ACEOF
38454 if ac_fn_cxx_try_compile "$LINENO"; then :
38455 glibcxx_cv_func_long_double_round_use=yes
38456 else
38457 glibcxx_cv_func_long_double_round_use=no
38459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38460 ac_ext=c
38461 ac_cpp='$CPP $CPPFLAGS'
38462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
38469 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
38470 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
38471 for ac_func in ceill floorl
38472 do :
38473 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38474 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38475 eval as_val=\$$as_ac_var
38476 if test "x$as_val" = x""yes; then :
38477 cat >>confdefs.h <<_ACEOF
38478 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38479 _ACEOF
38482 done
38484 else
38485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
38486 $as_echo_n "checking for _long double round functions... " >&6; }
38487 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
38488 $as_echo_n "(cached) " >&6
38489 else
38492 ac_ext=cpp
38493 ac_cpp='$CXXCPP $CPPFLAGS'
38494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38499 /* end confdefs.h. */
38500 #include <math.h>
38502 main ()
38504 _ceill (0); _floorl (0);
38506 return 0;
38508 _ACEOF
38509 if ac_fn_cxx_try_compile "$LINENO"; then :
38510 glibcxx_cv_func__long_double_round_use=yes
38511 else
38512 glibcxx_cv_func__long_double_round_use=no
38514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38515 ac_ext=c
38516 ac_cpp='$CPP $CPPFLAGS'
38517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
38524 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
38525 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
38526 for ac_func in _ceill _floorl
38527 do :
38528 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38529 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38530 eval as_val=\$$as_ac_var
38531 if test "x$as_val" = x""yes; then :
38532 cat >>confdefs.h <<_ACEOF
38533 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38534 _ACEOF
38537 done
38547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
38548 $as_echo_n "checking for isnanl declaration... " >&6; }
38549 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
38550 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
38551 $as_echo_n "(cached) " >&6
38552 else
38555 ac_ext=cpp
38556 ac_cpp='$CXXCPP $CPPFLAGS'
38557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38562 /* end confdefs.h. */
38563 #include <math.h>
38564 #ifdef HAVE_IEEEFP_H
38565 #include <ieeefp.h>
38566 #endif
38569 main ()
38571 isnanl(0);
38573 return 0;
38575 _ACEOF
38576 if ac_fn_cxx_try_compile "$LINENO"; then :
38577 glibcxx_cv_func_isnanl_use=yes
38578 else
38579 glibcxx_cv_func_isnanl_use=no
38581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38582 ac_ext=c
38583 ac_cpp='$CPP $CPPFLAGS'
38584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
38593 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
38595 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
38596 for ac_func in isnanl
38597 do :
38598 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
38599 if test "x$ac_cv_func_isnanl" = x""yes; then :
38600 cat >>confdefs.h <<_ACEOF
38601 #define HAVE_ISNANL 1
38602 _ACEOF
38605 done
38607 else
38609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
38610 $as_echo_n "checking for _isnanl declaration... " >&6; }
38611 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
38612 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
38613 $as_echo_n "(cached) " >&6
38614 else
38617 ac_ext=cpp
38618 ac_cpp='$CXXCPP $CPPFLAGS'
38619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38624 /* end confdefs.h. */
38625 #include <math.h>
38626 #ifdef HAVE_IEEEFP_H
38627 #include <ieeefp.h>
38628 #endif
38631 main ()
38633 _isnanl(0);
38635 return 0;
38637 _ACEOF
38638 if ac_fn_cxx_try_compile "$LINENO"; then :
38639 glibcxx_cv_func__isnanl_use=yes
38640 else
38641 glibcxx_cv_func__isnanl_use=no
38643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38644 ac_ext=c
38645 ac_cpp='$CPP $CPPFLAGS'
38646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
38655 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
38657 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
38658 for ac_func in _isnanl
38659 do :
38660 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
38661 if test "x$ac_cv_func__isnanl" = x""yes; then :
38662 cat >>confdefs.h <<_ACEOF
38663 #define HAVE__ISNANL 1
38664 _ACEOF
38667 done
38676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
38677 $as_echo_n "checking for isinfl declaration... " >&6; }
38678 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
38679 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
38680 $as_echo_n "(cached) " >&6
38681 else
38684 ac_ext=cpp
38685 ac_cpp='$CXXCPP $CPPFLAGS'
38686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38691 /* end confdefs.h. */
38692 #include <math.h>
38693 #ifdef HAVE_IEEEFP_H
38694 #include <ieeefp.h>
38695 #endif
38698 main ()
38700 isinfl(0);
38702 return 0;
38704 _ACEOF
38705 if ac_fn_cxx_try_compile "$LINENO"; then :
38706 glibcxx_cv_func_isinfl_use=yes
38707 else
38708 glibcxx_cv_func_isinfl_use=no
38710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38711 ac_ext=c
38712 ac_cpp='$CPP $CPPFLAGS'
38713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
38722 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
38724 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
38725 for ac_func in isinfl
38726 do :
38727 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
38728 if test "x$ac_cv_func_isinfl" = x""yes; then :
38729 cat >>confdefs.h <<_ACEOF
38730 #define HAVE_ISINFL 1
38731 _ACEOF
38734 done
38736 else
38738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
38739 $as_echo_n "checking for _isinfl declaration... " >&6; }
38740 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
38741 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
38742 $as_echo_n "(cached) " >&6
38743 else
38746 ac_ext=cpp
38747 ac_cpp='$CXXCPP $CPPFLAGS'
38748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38753 /* end confdefs.h. */
38754 #include <math.h>
38755 #ifdef HAVE_IEEEFP_H
38756 #include <ieeefp.h>
38757 #endif
38760 main ()
38762 _isinfl(0);
38764 return 0;
38766 _ACEOF
38767 if ac_fn_cxx_try_compile "$LINENO"; then :
38768 glibcxx_cv_func__isinfl_use=yes
38769 else
38770 glibcxx_cv_func__isinfl_use=no
38772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38773 ac_ext=c
38774 ac_cpp='$CPP $CPPFLAGS'
38775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
38784 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
38786 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
38787 for ac_func in _isinfl
38788 do :
38789 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
38790 if test "x$ac_cv_func__isinfl" = x""yes; then :
38791 cat >>confdefs.h <<_ACEOF
38792 #define HAVE__ISINFL 1
38793 _ACEOF
38796 done
38805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
38806 $as_echo_n "checking for atan2l declaration... " >&6; }
38807 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
38808 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
38809 $as_echo_n "(cached) " >&6
38810 else
38813 ac_ext=cpp
38814 ac_cpp='$CXXCPP $CPPFLAGS'
38815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38820 /* end confdefs.h. */
38821 #include <math.h>
38823 main ()
38825 atan2l(0, 0);
38827 return 0;
38829 _ACEOF
38830 if ac_fn_cxx_try_compile "$LINENO"; then :
38831 glibcxx_cv_func_atan2l_use=yes
38832 else
38833 glibcxx_cv_func_atan2l_use=no
38835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38836 ac_ext=c
38837 ac_cpp='$CPP $CPPFLAGS'
38838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
38847 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
38849 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
38850 for ac_func in atan2l
38851 do :
38852 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
38853 if test "x$ac_cv_func_atan2l" = x""yes; then :
38854 cat >>confdefs.h <<_ACEOF
38855 #define HAVE_ATAN2L 1
38856 _ACEOF
38859 done
38861 else
38863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
38864 $as_echo_n "checking for _atan2l declaration... " >&6; }
38865 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
38866 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
38867 $as_echo_n "(cached) " >&6
38868 else
38871 ac_ext=cpp
38872 ac_cpp='$CXXCPP $CPPFLAGS'
38873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38878 /* end confdefs.h. */
38879 #include <math.h>
38881 main ()
38883 _atan2l(0, 0);
38885 return 0;
38887 _ACEOF
38888 if ac_fn_cxx_try_compile "$LINENO"; then :
38889 glibcxx_cv_func__atan2l_use=yes
38890 else
38891 glibcxx_cv_func__atan2l_use=no
38893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38894 ac_ext=c
38895 ac_cpp='$CPP $CPPFLAGS'
38896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
38905 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
38907 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
38908 for ac_func in _atan2l
38909 do :
38910 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
38911 if test "x$ac_cv_func__atan2l" = x""yes; then :
38912 cat >>confdefs.h <<_ACEOF
38913 #define HAVE__ATAN2L 1
38914 _ACEOF
38917 done
38926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
38927 $as_echo_n "checking for expl declaration... " >&6; }
38928 if test x${glibcxx_cv_func_expl_use+set} != xset; then
38929 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
38930 $as_echo_n "(cached) " >&6
38931 else
38934 ac_ext=cpp
38935 ac_cpp='$CXXCPP $CPPFLAGS'
38936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38941 /* end confdefs.h. */
38942 #include <math.h>
38943 #ifdef HAVE_IEEEFP_H
38944 #include <ieeefp.h>
38945 #endif
38948 main ()
38950 expl(0);
38952 return 0;
38954 _ACEOF
38955 if ac_fn_cxx_try_compile "$LINENO"; then :
38956 glibcxx_cv_func_expl_use=yes
38957 else
38958 glibcxx_cv_func_expl_use=no
38960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38961 ac_ext=c
38962 ac_cpp='$CPP $CPPFLAGS'
38963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
38972 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
38974 if test x$glibcxx_cv_func_expl_use = x"yes"; then
38975 for ac_func in expl
38976 do :
38977 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
38978 if test "x$ac_cv_func_expl" = x""yes; then :
38979 cat >>confdefs.h <<_ACEOF
38980 #define HAVE_EXPL 1
38981 _ACEOF
38984 done
38986 else
38988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
38989 $as_echo_n "checking for _expl declaration... " >&6; }
38990 if test x${glibcxx_cv_func__expl_use+set} != xset; then
38991 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
38992 $as_echo_n "(cached) " >&6
38993 else
38996 ac_ext=cpp
38997 ac_cpp='$CXXCPP $CPPFLAGS'
38998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39003 /* end confdefs.h. */
39004 #include <math.h>
39005 #ifdef HAVE_IEEEFP_H
39006 #include <ieeefp.h>
39007 #endif
39010 main ()
39012 _expl(0);
39014 return 0;
39016 _ACEOF
39017 if ac_fn_cxx_try_compile "$LINENO"; then :
39018 glibcxx_cv_func__expl_use=yes
39019 else
39020 glibcxx_cv_func__expl_use=no
39022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39023 ac_ext=c
39024 ac_cpp='$CPP $CPPFLAGS'
39025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
39034 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
39036 if test x$glibcxx_cv_func__expl_use = x"yes"; then
39037 for ac_func in _expl
39038 do :
39039 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
39040 if test "x$ac_cv_func__expl" = x""yes; then :
39041 cat >>confdefs.h <<_ACEOF
39042 #define HAVE__EXPL 1
39043 _ACEOF
39046 done
39055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
39056 $as_echo_n "checking for fabsl declaration... " >&6; }
39057 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
39058 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
39059 $as_echo_n "(cached) " >&6
39060 else
39063 ac_ext=cpp
39064 ac_cpp='$CXXCPP $CPPFLAGS'
39065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39070 /* end confdefs.h. */
39071 #include <math.h>
39072 #ifdef HAVE_IEEEFP_H
39073 #include <ieeefp.h>
39074 #endif
39077 main ()
39079 fabsl(0);
39081 return 0;
39083 _ACEOF
39084 if ac_fn_cxx_try_compile "$LINENO"; then :
39085 glibcxx_cv_func_fabsl_use=yes
39086 else
39087 glibcxx_cv_func_fabsl_use=no
39089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39090 ac_ext=c
39091 ac_cpp='$CPP $CPPFLAGS'
39092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
39101 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
39103 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
39104 for ac_func in fabsl
39105 do :
39106 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
39107 if test "x$ac_cv_func_fabsl" = x""yes; then :
39108 cat >>confdefs.h <<_ACEOF
39109 #define HAVE_FABSL 1
39110 _ACEOF
39113 done
39115 else
39117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
39118 $as_echo_n "checking for _fabsl declaration... " >&6; }
39119 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
39120 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
39121 $as_echo_n "(cached) " >&6
39122 else
39125 ac_ext=cpp
39126 ac_cpp='$CXXCPP $CPPFLAGS'
39127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39132 /* end confdefs.h. */
39133 #include <math.h>
39134 #ifdef HAVE_IEEEFP_H
39135 #include <ieeefp.h>
39136 #endif
39139 main ()
39141 _fabsl(0);
39143 return 0;
39145 _ACEOF
39146 if ac_fn_cxx_try_compile "$LINENO"; then :
39147 glibcxx_cv_func__fabsl_use=yes
39148 else
39149 glibcxx_cv_func__fabsl_use=no
39151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39152 ac_ext=c
39153 ac_cpp='$CPP $CPPFLAGS'
39154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
39163 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
39165 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
39166 for ac_func in _fabsl
39167 do :
39168 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
39169 if test "x$ac_cv_func__fabsl" = x""yes; then :
39170 cat >>confdefs.h <<_ACEOF
39171 #define HAVE__FABSL 1
39172 _ACEOF
39175 done
39184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
39185 $as_echo_n "checking for fmodl declaration... " >&6; }
39186 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
39187 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
39188 $as_echo_n "(cached) " >&6
39189 else
39192 ac_ext=cpp
39193 ac_cpp='$CXXCPP $CPPFLAGS'
39194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39199 /* end confdefs.h. */
39200 #include <math.h>
39202 main ()
39204 fmodl(0, 0);
39206 return 0;
39208 _ACEOF
39209 if ac_fn_cxx_try_compile "$LINENO"; then :
39210 glibcxx_cv_func_fmodl_use=yes
39211 else
39212 glibcxx_cv_func_fmodl_use=no
39214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39215 ac_ext=c
39216 ac_cpp='$CPP $CPPFLAGS'
39217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
39226 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
39228 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
39229 for ac_func in fmodl
39230 do :
39231 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
39232 if test "x$ac_cv_func_fmodl" = x""yes; then :
39233 cat >>confdefs.h <<_ACEOF
39234 #define HAVE_FMODL 1
39235 _ACEOF
39238 done
39240 else
39242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
39243 $as_echo_n "checking for _fmodl declaration... " >&6; }
39244 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
39245 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
39246 $as_echo_n "(cached) " >&6
39247 else
39250 ac_ext=cpp
39251 ac_cpp='$CXXCPP $CPPFLAGS'
39252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39257 /* end confdefs.h. */
39258 #include <math.h>
39260 main ()
39262 _fmodl(0, 0);
39264 return 0;
39266 _ACEOF
39267 if ac_fn_cxx_try_compile "$LINENO"; then :
39268 glibcxx_cv_func__fmodl_use=yes
39269 else
39270 glibcxx_cv_func__fmodl_use=no
39272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39273 ac_ext=c
39274 ac_cpp='$CPP $CPPFLAGS'
39275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
39284 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
39286 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
39287 for ac_func in _fmodl
39288 do :
39289 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
39290 if test "x$ac_cv_func__fmodl" = x""yes; then :
39291 cat >>confdefs.h <<_ACEOF
39292 #define HAVE__FMODL 1
39293 _ACEOF
39296 done
39305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
39306 $as_echo_n "checking for frexpl declaration... " >&6; }
39307 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
39308 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
39309 $as_echo_n "(cached) " >&6
39310 else
39313 ac_ext=cpp
39314 ac_cpp='$CXXCPP $CPPFLAGS'
39315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39320 /* end confdefs.h. */
39321 #include <math.h>
39323 main ()
39325 frexpl(0, 0);
39327 return 0;
39329 _ACEOF
39330 if ac_fn_cxx_try_compile "$LINENO"; then :
39331 glibcxx_cv_func_frexpl_use=yes
39332 else
39333 glibcxx_cv_func_frexpl_use=no
39335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39336 ac_ext=c
39337 ac_cpp='$CPP $CPPFLAGS'
39338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
39347 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
39349 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
39350 for ac_func in frexpl
39351 do :
39352 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
39353 if test "x$ac_cv_func_frexpl" = x""yes; then :
39354 cat >>confdefs.h <<_ACEOF
39355 #define HAVE_FREXPL 1
39356 _ACEOF
39359 done
39361 else
39363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
39364 $as_echo_n "checking for _frexpl declaration... " >&6; }
39365 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
39366 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
39367 $as_echo_n "(cached) " >&6
39368 else
39371 ac_ext=cpp
39372 ac_cpp='$CXXCPP $CPPFLAGS'
39373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39378 /* end confdefs.h. */
39379 #include <math.h>
39381 main ()
39383 _frexpl(0, 0);
39385 return 0;
39387 _ACEOF
39388 if ac_fn_cxx_try_compile "$LINENO"; then :
39389 glibcxx_cv_func__frexpl_use=yes
39390 else
39391 glibcxx_cv_func__frexpl_use=no
39393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39394 ac_ext=c
39395 ac_cpp='$CPP $CPPFLAGS'
39396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
39405 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
39407 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
39408 for ac_func in _frexpl
39409 do :
39410 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
39411 if test "x$ac_cv_func__frexpl" = x""yes; then :
39412 cat >>confdefs.h <<_ACEOF
39413 #define HAVE__FREXPL 1
39414 _ACEOF
39417 done
39426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
39427 $as_echo_n "checking for hypotl declaration... " >&6; }
39428 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
39429 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
39430 $as_echo_n "(cached) " >&6
39431 else
39434 ac_ext=cpp
39435 ac_cpp='$CXXCPP $CPPFLAGS'
39436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39441 /* end confdefs.h. */
39442 #include <math.h>
39444 main ()
39446 hypotl(0, 0);
39448 return 0;
39450 _ACEOF
39451 if ac_fn_cxx_try_compile "$LINENO"; then :
39452 glibcxx_cv_func_hypotl_use=yes
39453 else
39454 glibcxx_cv_func_hypotl_use=no
39456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39457 ac_ext=c
39458 ac_cpp='$CPP $CPPFLAGS'
39459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
39468 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
39470 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
39471 for ac_func in hypotl
39472 do :
39473 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
39474 if test "x$ac_cv_func_hypotl" = x""yes; then :
39475 cat >>confdefs.h <<_ACEOF
39476 #define HAVE_HYPOTL 1
39477 _ACEOF
39480 done
39482 else
39484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
39485 $as_echo_n "checking for _hypotl declaration... " >&6; }
39486 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
39487 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
39488 $as_echo_n "(cached) " >&6
39489 else
39492 ac_ext=cpp
39493 ac_cpp='$CXXCPP $CPPFLAGS'
39494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39499 /* end confdefs.h. */
39500 #include <math.h>
39502 main ()
39504 _hypotl(0, 0);
39506 return 0;
39508 _ACEOF
39509 if ac_fn_cxx_try_compile "$LINENO"; then :
39510 glibcxx_cv_func__hypotl_use=yes
39511 else
39512 glibcxx_cv_func__hypotl_use=no
39514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39515 ac_ext=c
39516 ac_cpp='$CPP $CPPFLAGS'
39517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
39526 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
39528 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
39529 for ac_func in _hypotl
39530 do :
39531 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
39532 if test "x$ac_cv_func__hypotl" = x""yes; then :
39533 cat >>confdefs.h <<_ACEOF
39534 #define HAVE__HYPOTL 1
39535 _ACEOF
39538 done
39547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
39548 $as_echo_n "checking for ldexpl declaration... " >&6; }
39549 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
39550 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
39551 $as_echo_n "(cached) " >&6
39552 else
39555 ac_ext=cpp
39556 ac_cpp='$CXXCPP $CPPFLAGS'
39557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39562 /* end confdefs.h. */
39563 #include <math.h>
39565 main ()
39567 ldexpl(0, 0);
39569 return 0;
39571 _ACEOF
39572 if ac_fn_cxx_try_compile "$LINENO"; then :
39573 glibcxx_cv_func_ldexpl_use=yes
39574 else
39575 glibcxx_cv_func_ldexpl_use=no
39577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39578 ac_ext=c
39579 ac_cpp='$CPP $CPPFLAGS'
39580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
39589 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
39591 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
39592 for ac_func in ldexpl
39593 do :
39594 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
39595 if test "x$ac_cv_func_ldexpl" = x""yes; then :
39596 cat >>confdefs.h <<_ACEOF
39597 #define HAVE_LDEXPL 1
39598 _ACEOF
39601 done
39603 else
39605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
39606 $as_echo_n "checking for _ldexpl declaration... " >&6; }
39607 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
39608 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
39609 $as_echo_n "(cached) " >&6
39610 else
39613 ac_ext=cpp
39614 ac_cpp='$CXXCPP $CPPFLAGS'
39615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39620 /* end confdefs.h. */
39621 #include <math.h>
39623 main ()
39625 _ldexpl(0, 0);
39627 return 0;
39629 _ACEOF
39630 if ac_fn_cxx_try_compile "$LINENO"; then :
39631 glibcxx_cv_func__ldexpl_use=yes
39632 else
39633 glibcxx_cv_func__ldexpl_use=no
39635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39636 ac_ext=c
39637 ac_cpp='$CPP $CPPFLAGS'
39638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
39647 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
39649 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
39650 for ac_func in _ldexpl
39651 do :
39652 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
39653 if test "x$ac_cv_func__ldexpl" = x""yes; then :
39654 cat >>confdefs.h <<_ACEOF
39655 #define HAVE__LDEXPL 1
39656 _ACEOF
39659 done
39668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
39669 $as_echo_n "checking for logl declaration... " >&6; }
39670 if test x${glibcxx_cv_func_logl_use+set} != xset; then
39671 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
39672 $as_echo_n "(cached) " >&6
39673 else
39676 ac_ext=cpp
39677 ac_cpp='$CXXCPP $CPPFLAGS'
39678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39683 /* end confdefs.h. */
39684 #include <math.h>
39685 #ifdef HAVE_IEEEFP_H
39686 #include <ieeefp.h>
39687 #endif
39690 main ()
39692 logl(0);
39694 return 0;
39696 _ACEOF
39697 if ac_fn_cxx_try_compile "$LINENO"; then :
39698 glibcxx_cv_func_logl_use=yes
39699 else
39700 glibcxx_cv_func_logl_use=no
39702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39703 ac_ext=c
39704 ac_cpp='$CPP $CPPFLAGS'
39705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
39714 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
39716 if test x$glibcxx_cv_func_logl_use = x"yes"; then
39717 for ac_func in logl
39718 do :
39719 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
39720 if test "x$ac_cv_func_logl" = x""yes; then :
39721 cat >>confdefs.h <<_ACEOF
39722 #define HAVE_LOGL 1
39723 _ACEOF
39726 done
39728 else
39730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
39731 $as_echo_n "checking for _logl declaration... " >&6; }
39732 if test x${glibcxx_cv_func__logl_use+set} != xset; then
39733 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
39734 $as_echo_n "(cached) " >&6
39735 else
39738 ac_ext=cpp
39739 ac_cpp='$CXXCPP $CPPFLAGS'
39740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39745 /* end confdefs.h. */
39746 #include <math.h>
39747 #ifdef HAVE_IEEEFP_H
39748 #include <ieeefp.h>
39749 #endif
39752 main ()
39754 _logl(0);
39756 return 0;
39758 _ACEOF
39759 if ac_fn_cxx_try_compile "$LINENO"; then :
39760 glibcxx_cv_func__logl_use=yes
39761 else
39762 glibcxx_cv_func__logl_use=no
39764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39765 ac_ext=c
39766 ac_cpp='$CPP $CPPFLAGS'
39767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
39776 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
39778 if test x$glibcxx_cv_func__logl_use = x"yes"; then
39779 for ac_func in _logl
39780 do :
39781 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
39782 if test "x$ac_cv_func__logl" = x""yes; then :
39783 cat >>confdefs.h <<_ACEOF
39784 #define HAVE__LOGL 1
39785 _ACEOF
39788 done
39797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
39798 $as_echo_n "checking for log10l declaration... " >&6; }
39799 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
39800 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
39801 $as_echo_n "(cached) " >&6
39802 else
39805 ac_ext=cpp
39806 ac_cpp='$CXXCPP $CPPFLAGS'
39807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39812 /* end confdefs.h. */
39813 #include <math.h>
39814 #ifdef HAVE_IEEEFP_H
39815 #include <ieeefp.h>
39816 #endif
39819 main ()
39821 log10l(0);
39823 return 0;
39825 _ACEOF
39826 if ac_fn_cxx_try_compile "$LINENO"; then :
39827 glibcxx_cv_func_log10l_use=yes
39828 else
39829 glibcxx_cv_func_log10l_use=no
39831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39832 ac_ext=c
39833 ac_cpp='$CPP $CPPFLAGS'
39834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
39843 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
39845 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
39846 for ac_func in log10l
39847 do :
39848 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
39849 if test "x$ac_cv_func_log10l" = x""yes; then :
39850 cat >>confdefs.h <<_ACEOF
39851 #define HAVE_LOG10L 1
39852 _ACEOF
39855 done
39857 else
39859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
39860 $as_echo_n "checking for _log10l declaration... " >&6; }
39861 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
39862 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
39863 $as_echo_n "(cached) " >&6
39864 else
39867 ac_ext=cpp
39868 ac_cpp='$CXXCPP $CPPFLAGS'
39869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39874 /* end confdefs.h. */
39875 #include <math.h>
39876 #ifdef HAVE_IEEEFP_H
39877 #include <ieeefp.h>
39878 #endif
39881 main ()
39883 _log10l(0);
39885 return 0;
39887 _ACEOF
39888 if ac_fn_cxx_try_compile "$LINENO"; then :
39889 glibcxx_cv_func__log10l_use=yes
39890 else
39891 glibcxx_cv_func__log10l_use=no
39893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39894 ac_ext=c
39895 ac_cpp='$CPP $CPPFLAGS'
39896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
39905 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
39907 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
39908 for ac_func in _log10l
39909 do :
39910 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
39911 if test "x$ac_cv_func__log10l" = x""yes; then :
39912 cat >>confdefs.h <<_ACEOF
39913 #define HAVE__LOG10L 1
39914 _ACEOF
39917 done
39926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
39927 $as_echo_n "checking for modfl declaration... " >&6; }
39928 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
39929 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
39930 $as_echo_n "(cached) " >&6
39931 else
39934 ac_ext=cpp
39935 ac_cpp='$CXXCPP $CPPFLAGS'
39936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39941 /* end confdefs.h. */
39942 #include <math.h>
39944 main ()
39946 modfl(0, 0);
39948 return 0;
39950 _ACEOF
39951 if ac_fn_cxx_try_compile "$LINENO"; then :
39952 glibcxx_cv_func_modfl_use=yes
39953 else
39954 glibcxx_cv_func_modfl_use=no
39956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39957 ac_ext=c
39958 ac_cpp='$CPP $CPPFLAGS'
39959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
39968 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
39970 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
39971 for ac_func in modfl
39972 do :
39973 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
39974 if test "x$ac_cv_func_modfl" = x""yes; then :
39975 cat >>confdefs.h <<_ACEOF
39976 #define HAVE_MODFL 1
39977 _ACEOF
39980 done
39982 else
39984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
39985 $as_echo_n "checking for _modfl declaration... " >&6; }
39986 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
39987 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
39988 $as_echo_n "(cached) " >&6
39989 else
39992 ac_ext=cpp
39993 ac_cpp='$CXXCPP $CPPFLAGS'
39994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39999 /* end confdefs.h. */
40000 #include <math.h>
40002 main ()
40004 _modfl(0, 0);
40006 return 0;
40008 _ACEOF
40009 if ac_fn_cxx_try_compile "$LINENO"; then :
40010 glibcxx_cv_func__modfl_use=yes
40011 else
40012 glibcxx_cv_func__modfl_use=no
40014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40015 ac_ext=c
40016 ac_cpp='$CPP $CPPFLAGS'
40017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
40026 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
40028 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
40029 for ac_func in _modfl
40030 do :
40031 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
40032 if test "x$ac_cv_func__modfl" = x""yes; then :
40033 cat >>confdefs.h <<_ACEOF
40034 #define HAVE__MODFL 1
40035 _ACEOF
40038 done
40047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
40048 $as_echo_n "checking for powl declaration... " >&6; }
40049 if test x${glibcxx_cv_func_powl_use+set} != xset; then
40050 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
40051 $as_echo_n "(cached) " >&6
40052 else
40055 ac_ext=cpp
40056 ac_cpp='$CXXCPP $CPPFLAGS'
40057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40062 /* end confdefs.h. */
40063 #include <math.h>
40065 main ()
40067 powl(0, 0);
40069 return 0;
40071 _ACEOF
40072 if ac_fn_cxx_try_compile "$LINENO"; then :
40073 glibcxx_cv_func_powl_use=yes
40074 else
40075 glibcxx_cv_func_powl_use=no
40077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40078 ac_ext=c
40079 ac_cpp='$CPP $CPPFLAGS'
40080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
40089 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
40091 if test x$glibcxx_cv_func_powl_use = x"yes"; then
40092 for ac_func in powl
40093 do :
40094 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
40095 if test "x$ac_cv_func_powl" = x""yes; then :
40096 cat >>confdefs.h <<_ACEOF
40097 #define HAVE_POWL 1
40098 _ACEOF
40101 done
40103 else
40105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
40106 $as_echo_n "checking for _powl declaration... " >&6; }
40107 if test x${glibcxx_cv_func__powl_use+set} != xset; then
40108 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
40109 $as_echo_n "(cached) " >&6
40110 else
40113 ac_ext=cpp
40114 ac_cpp='$CXXCPP $CPPFLAGS'
40115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40120 /* end confdefs.h. */
40121 #include <math.h>
40123 main ()
40125 _powl(0, 0);
40127 return 0;
40129 _ACEOF
40130 if ac_fn_cxx_try_compile "$LINENO"; then :
40131 glibcxx_cv_func__powl_use=yes
40132 else
40133 glibcxx_cv_func__powl_use=no
40135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40136 ac_ext=c
40137 ac_cpp='$CPP $CPPFLAGS'
40138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
40147 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
40149 if test x$glibcxx_cv_func__powl_use = x"yes"; then
40150 for ac_func in _powl
40151 do :
40152 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
40153 if test "x$ac_cv_func__powl" = x""yes; then :
40154 cat >>confdefs.h <<_ACEOF
40155 #define HAVE__POWL 1
40156 _ACEOF
40159 done
40168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
40169 $as_echo_n "checking for sqrtl declaration... " >&6; }
40170 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
40171 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
40172 $as_echo_n "(cached) " >&6
40173 else
40176 ac_ext=cpp
40177 ac_cpp='$CXXCPP $CPPFLAGS'
40178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40183 /* end confdefs.h. */
40184 #include <math.h>
40185 #ifdef HAVE_IEEEFP_H
40186 #include <ieeefp.h>
40187 #endif
40190 main ()
40192 sqrtl(0);
40194 return 0;
40196 _ACEOF
40197 if ac_fn_cxx_try_compile "$LINENO"; then :
40198 glibcxx_cv_func_sqrtl_use=yes
40199 else
40200 glibcxx_cv_func_sqrtl_use=no
40202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40203 ac_ext=c
40204 ac_cpp='$CPP $CPPFLAGS'
40205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
40214 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
40216 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
40217 for ac_func in sqrtl
40218 do :
40219 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
40220 if test "x$ac_cv_func_sqrtl" = x""yes; then :
40221 cat >>confdefs.h <<_ACEOF
40222 #define HAVE_SQRTL 1
40223 _ACEOF
40226 done
40228 else
40230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
40231 $as_echo_n "checking for _sqrtl declaration... " >&6; }
40232 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
40233 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
40234 $as_echo_n "(cached) " >&6
40235 else
40238 ac_ext=cpp
40239 ac_cpp='$CXXCPP $CPPFLAGS'
40240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40245 /* end confdefs.h. */
40246 #include <math.h>
40247 #ifdef HAVE_IEEEFP_H
40248 #include <ieeefp.h>
40249 #endif
40252 main ()
40254 _sqrtl(0);
40256 return 0;
40258 _ACEOF
40259 if ac_fn_cxx_try_compile "$LINENO"; then :
40260 glibcxx_cv_func__sqrtl_use=yes
40261 else
40262 glibcxx_cv_func__sqrtl_use=no
40264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40265 ac_ext=c
40266 ac_cpp='$CPP $CPPFLAGS'
40267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
40276 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
40278 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
40279 for ac_func in _sqrtl
40280 do :
40281 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
40282 if test "x$ac_cv_func__sqrtl" = x""yes; then :
40283 cat >>confdefs.h <<_ACEOF
40284 #define HAVE__SQRTL 1
40285 _ACEOF
40288 done
40297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
40298 $as_echo_n "checking for sincosl declaration... " >&6; }
40299 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
40300 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
40301 $as_echo_n "(cached) " >&6
40302 else
40305 ac_ext=cpp
40306 ac_cpp='$CXXCPP $CPPFLAGS'
40307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40312 /* end confdefs.h. */
40313 #include <math.h>
40315 main ()
40317 sincosl(0, 0, 0);
40319 return 0;
40321 _ACEOF
40322 if ac_fn_cxx_try_compile "$LINENO"; then :
40323 glibcxx_cv_func_sincosl_use=yes
40324 else
40325 glibcxx_cv_func_sincosl_use=no
40327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40328 ac_ext=c
40329 ac_cpp='$CPP $CPPFLAGS'
40330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
40339 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
40341 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
40342 for ac_func in sincosl
40343 do :
40344 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
40345 if test "x$ac_cv_func_sincosl" = x""yes; then :
40346 cat >>confdefs.h <<_ACEOF
40347 #define HAVE_SINCOSL 1
40348 _ACEOF
40351 done
40353 else
40355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
40356 $as_echo_n "checking for _sincosl declaration... " >&6; }
40357 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
40358 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
40359 $as_echo_n "(cached) " >&6
40360 else
40363 ac_ext=cpp
40364 ac_cpp='$CXXCPP $CPPFLAGS'
40365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40370 /* end confdefs.h. */
40371 #include <math.h>
40373 main ()
40375 _sincosl(0, 0, 0);
40377 return 0;
40379 _ACEOF
40380 if ac_fn_cxx_try_compile "$LINENO"; then :
40381 glibcxx_cv_func__sincosl_use=yes
40382 else
40383 glibcxx_cv_func__sincosl_use=no
40385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40386 ac_ext=c
40387 ac_cpp='$CPP $CPPFLAGS'
40388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
40397 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
40399 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
40400 for ac_func in _sincosl
40401 do :
40402 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
40403 if test "x$ac_cv_func__sincosl" = x""yes; then :
40404 cat >>confdefs.h <<_ACEOF
40405 #define HAVE__SINCOSL 1
40406 _ACEOF
40409 done
40418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
40419 $as_echo_n "checking for finitel declaration... " >&6; }
40420 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
40421 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
40422 $as_echo_n "(cached) " >&6
40423 else
40426 ac_ext=cpp
40427 ac_cpp='$CXXCPP $CPPFLAGS'
40428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40433 /* end confdefs.h. */
40434 #include <math.h>
40435 #ifdef HAVE_IEEEFP_H
40436 #include <ieeefp.h>
40437 #endif
40440 main ()
40442 finitel(0);
40444 return 0;
40446 _ACEOF
40447 if ac_fn_cxx_try_compile "$LINENO"; then :
40448 glibcxx_cv_func_finitel_use=yes
40449 else
40450 glibcxx_cv_func_finitel_use=no
40452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40453 ac_ext=c
40454 ac_cpp='$CPP $CPPFLAGS'
40455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
40464 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
40466 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
40467 for ac_func in finitel
40468 do :
40469 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
40470 if test "x$ac_cv_func_finitel" = x""yes; then :
40471 cat >>confdefs.h <<_ACEOF
40472 #define HAVE_FINITEL 1
40473 _ACEOF
40476 done
40478 else
40480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
40481 $as_echo_n "checking for _finitel declaration... " >&6; }
40482 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
40483 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
40484 $as_echo_n "(cached) " >&6
40485 else
40488 ac_ext=cpp
40489 ac_cpp='$CXXCPP $CPPFLAGS'
40490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40495 /* end confdefs.h. */
40496 #include <math.h>
40497 #ifdef HAVE_IEEEFP_H
40498 #include <ieeefp.h>
40499 #endif
40502 main ()
40504 _finitel(0);
40506 return 0;
40508 _ACEOF
40509 if ac_fn_cxx_try_compile "$LINENO"; then :
40510 glibcxx_cv_func__finitel_use=yes
40511 else
40512 glibcxx_cv_func__finitel_use=no
40514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40515 ac_ext=c
40516 ac_cpp='$CPP $CPPFLAGS'
40517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
40526 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
40528 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
40529 for ac_func in _finitel
40530 do :
40531 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
40532 if test "x$ac_cv_func__finitel" = x""yes; then :
40533 cat >>confdefs.h <<_ACEOF
40534 #define HAVE__FINITEL 1
40535 _ACEOF
40538 done
40546 LIBS="$ac_save_LIBS"
40547 CXXFLAGS="$ac_save_CXXFLAGS"
40550 ac_test_CXXFLAGS="${CXXFLAGS+set}"
40551 ac_save_CXXFLAGS="$CXXFLAGS"
40552 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
40555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
40556 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
40557 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
40558 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
40559 $as_echo_n "(cached) " >&6
40560 else
40563 ac_ext=cpp
40564 ac_cpp='$CXXCPP $CPPFLAGS'
40565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40570 /* end confdefs.h. */
40571 #include <stdlib.h>
40573 main ()
40575 at_quick_exit(0);
40577 return 0;
40579 _ACEOF
40580 if ac_fn_cxx_try_compile "$LINENO"; then :
40581 glibcxx_cv_func_at_quick_exit_use=yes
40582 else
40583 glibcxx_cv_func_at_quick_exit_use=no
40585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40586 ac_ext=c
40587 ac_cpp='$CPP $CPPFLAGS'
40588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
40597 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
40598 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
40599 for ac_func in at_quick_exit
40600 do :
40601 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
40602 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
40603 cat >>confdefs.h <<_ACEOF
40604 #define HAVE_AT_QUICK_EXIT 1
40605 _ACEOF
40608 done
40613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
40614 $as_echo_n "checking for quick_exit declaration... " >&6; }
40615 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
40616 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
40617 $as_echo_n "(cached) " >&6
40618 else
40621 ac_ext=cpp
40622 ac_cpp='$CXXCPP $CPPFLAGS'
40623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40628 /* end confdefs.h. */
40629 #include <stdlib.h>
40631 main ()
40633 quick_exit(0);
40635 return 0;
40637 _ACEOF
40638 if ac_fn_cxx_try_compile "$LINENO"; then :
40639 glibcxx_cv_func_quick_exit_use=yes
40640 else
40641 glibcxx_cv_func_quick_exit_use=no
40643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40644 ac_ext=c
40645 ac_cpp='$CPP $CPPFLAGS'
40646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
40655 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
40656 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
40657 for ac_func in quick_exit
40658 do :
40659 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
40660 if test "x$ac_cv_func_quick_exit" = x""yes; then :
40661 cat >>confdefs.h <<_ACEOF
40662 #define HAVE_QUICK_EXIT 1
40663 _ACEOF
40666 done
40671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
40672 $as_echo_n "checking for strtold declaration... " >&6; }
40673 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
40674 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
40675 $as_echo_n "(cached) " >&6
40676 else
40679 ac_ext=cpp
40680 ac_cpp='$CXXCPP $CPPFLAGS'
40681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40686 /* end confdefs.h. */
40687 #include <stdlib.h>
40689 main ()
40691 strtold(0, 0);
40693 return 0;
40695 _ACEOF
40696 if ac_fn_cxx_try_compile "$LINENO"; then :
40697 glibcxx_cv_func_strtold_use=yes
40698 else
40699 glibcxx_cv_func_strtold_use=no
40701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40702 ac_ext=c
40703 ac_cpp='$CPP $CPPFLAGS'
40704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
40713 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
40714 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
40715 for ac_func in strtold
40716 do :
40717 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
40718 if test "x$ac_cv_func_strtold" = x""yes; then :
40719 cat >>confdefs.h <<_ACEOF
40720 #define HAVE_STRTOLD 1
40721 _ACEOF
40724 done
40731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
40732 $as_echo_n "checking for strtof declaration... " >&6; }
40733 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
40734 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
40735 $as_echo_n "(cached) " >&6
40736 else
40739 ac_ext=cpp
40740 ac_cpp='$CXXCPP $CPPFLAGS'
40741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40746 /* end confdefs.h. */
40747 #include <stdlib.h>
40749 main ()
40751 strtof(0, 0);
40753 return 0;
40755 _ACEOF
40756 if ac_fn_cxx_try_compile "$LINENO"; then :
40757 glibcxx_cv_func_strtof_use=yes
40758 else
40759 glibcxx_cv_func_strtof_use=no
40761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40762 ac_ext=c
40763 ac_cpp='$CPP $CPPFLAGS'
40764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
40773 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
40774 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
40775 for ac_func in strtof
40776 do :
40777 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
40778 if test "x$ac_cv_func_strtof" = x""yes; then :
40779 cat >>confdefs.h <<_ACEOF
40780 #define HAVE_STRTOF 1
40781 _ACEOF
40784 done
40791 CXXFLAGS="$ac_save_CXXFLAGS"
40798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
40799 $as_echo_n "checking for iconv... " >&6; }
40800 if test "${am_cv_func_iconv+set}" = set; then :
40801 $as_echo_n "(cached) " >&6
40802 else
40804 am_cv_func_iconv="no, consider installing GNU libiconv"
40805 am_cv_lib_iconv=no
40806 am_save_CPPFLAGS="$CPPFLAGS"
40807 CPPFLAGS="$CPPFLAGS $INCICONV"
40808 if test x$gcc_no_link = xyes; then
40809 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
40811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40812 /* end confdefs.h. */
40813 #include <stdlib.h>
40814 #include <iconv.h>
40816 main ()
40818 iconv_t cd = iconv_open("","");
40819 iconv(cd,NULL,NULL,NULL,NULL);
40820 iconv_close(cd);
40822 return 0;
40824 _ACEOF
40825 if ac_fn_c_try_link "$LINENO"; then :
40826 am_cv_func_iconv=yes
40828 rm -f core conftest.err conftest.$ac_objext \
40829 conftest$ac_exeext conftest.$ac_ext
40830 CPPFLAGS="$am_save_CPPFLAGS"
40832 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
40833 for _libs in .libs _libs; do
40834 am_save_CPPFLAGS="$CPPFLAGS"
40835 am_save_LIBS="$LIBS"
40836 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
40837 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
40838 if test x$gcc_no_link = xyes; then
40839 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
40841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40842 /* end confdefs.h. */
40843 #include <stdlib.h>
40844 #include <iconv.h>
40846 main ()
40848 iconv_t cd = iconv_open("","");
40849 iconv(cd,NULL,NULL,NULL,NULL);
40850 iconv_close(cd);
40852 return 0;
40854 _ACEOF
40855 if ac_fn_c_try_link "$LINENO"; then :
40856 INCICONV="-I../libiconv/include"
40857 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
40858 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
40859 am_cv_lib_iconv=yes
40860 am_cv_func_iconv=yes
40862 rm -f core conftest.err conftest.$ac_objext \
40863 conftest$ac_exeext conftest.$ac_ext
40864 CPPFLAGS="$am_save_CPPFLAGS"
40865 LIBS="$am_save_LIBS"
40866 if test "$am_cv_func_iconv" = "yes"; then
40867 break
40869 done
40872 if test "$am_cv_func_iconv" != yes; then
40873 am_save_CPPFLAGS="$CPPFLAGS"
40874 am_save_LIBS="$LIBS"
40875 CPPFLAGS="$LIBS $INCICONV"
40876 LIBS="$LIBS $LIBICONV"
40877 if test x$gcc_no_link = xyes; then
40878 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
40880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40881 /* end confdefs.h. */
40882 #include <stdlib.h>
40883 #include <iconv.h>
40885 main ()
40887 iconv_t cd = iconv_open("","");
40888 iconv(cd,NULL,NULL,NULL,NULL);
40889 iconv_close(cd);
40891 return 0;
40893 _ACEOF
40894 if ac_fn_c_try_link "$LINENO"; then :
40895 am_cv_lib_iconv=yes
40896 am_cv_func_iconv=yes
40898 rm -f core conftest.err conftest.$ac_objext \
40899 conftest$ac_exeext conftest.$ac_ext
40900 CPPFLAGS="$am_save_CPPFLAGS"
40901 LIBS="$am_save_LIBS"
40905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
40906 $as_echo "$am_cv_func_iconv" >&6; }
40907 if test "$am_cv_func_iconv" = yes; then
40909 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
40912 if test "$am_cv_lib_iconv" = yes; then
40914 for element in $INCICONV; do
40915 haveit=
40916 for x in $CPPFLAGS; do
40918 acl_save_prefix="$prefix"
40919 prefix="$acl_final_prefix"
40920 acl_save_exec_prefix="$exec_prefix"
40921 exec_prefix="$acl_final_exec_prefix"
40922 eval x=\"$x\"
40923 exec_prefix="$acl_save_exec_prefix"
40924 prefix="$acl_save_prefix"
40926 if test "X$x" = "X$element"; then
40927 haveit=yes
40928 break
40930 done
40931 if test -z "$haveit"; then
40932 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
40934 done
40936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
40937 $as_echo_n "checking how to link with libiconv... " >&6; }
40938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
40939 $as_echo "$LIBICONV" >&6; }
40940 else
40941 LIBICONV=
40942 LTLIBICONV=
40947 if test "$am_cv_func_iconv" = yes; then
40948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
40949 $as_echo_n "checking for iconv declaration... " >&6; }
40950 if test "${am_cv_proto_iconv+set}" = set; then :
40951 $as_echo_n "(cached) " >&6
40952 else
40954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40955 /* end confdefs.h. */
40957 #include <stdlib.h>
40958 #include <iconv.h>
40959 extern
40960 #ifdef __cplusplus
40962 #endif
40963 #if defined(__STDC__) || defined(__cplusplus)
40964 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
40965 #else
40966 size_t iconv();
40967 #endif
40970 main ()
40974 return 0;
40976 _ACEOF
40977 if ac_fn_c_try_compile "$LINENO"; then :
40978 am_cv_proto_iconv_arg1=""
40979 else
40980 am_cv_proto_iconv_arg1="const"
40982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40983 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);"
40986 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
40987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
40988 }$am_cv_proto_iconv" >&5
40989 $as_echo "${ac_t:-
40990 }$am_cv_proto_iconv" >&6; }
40992 cat >>confdefs.h <<_ACEOF
40993 #define ICONV_CONST $am_cv_proto_iconv_arg1
40994 _ACEOF
41000 *-aix*)
41002 # If we're not using GNU ld, then there's no point in even trying these
41003 # tests. Check for that first. We should have already tested for gld
41004 # by now (in libtool), but require it now just to be safe...
41005 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
41006 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
41010 # The name set by libtool depends on the version of libtool. Shame on us
41011 # for depending on an impl detail, but c'est la vie. Older versions used
41012 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
41013 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
41014 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
41015 # set (hence we're using an older libtool), then set it.
41016 if test x${with_gnu_ld+set} != xset; then
41017 if test x${ac_cv_prog_gnu_ld+set} != xset; then
41018 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
41019 with_gnu_ld=no
41020 else
41021 with_gnu_ld=$ac_cv_prog_gnu_ld
41025 # Start by getting the version number. I think the libtool test already
41026 # does some of this, but throws away the result.
41027 glibcxx_ld_is_gold=no
41028 if test x"$with_gnu_ld" = x"yes"; then
41029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
41030 $as_echo_n "checking for ld version... " >&6; }
41032 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
41033 glibcxx_ld_is_gold=yes
41035 ldver=`$LD --version 2>/dev/null |
41036 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'`
41038 glibcxx_gnu_ld_version=`echo $ldver | \
41039 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
41040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
41041 $as_echo "$glibcxx_gnu_ld_version" >&6; }
41044 # Set --gc-sections.
41045 glibcxx_have_gc_sections=no
41046 if test "$glibcxx_ld_is_gold" = "yes"; then
41047 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
41048 glibcxx_have_gc_sections=yes
41050 else
41051 glibcxx_gcsections_min_ld=21602
41052 if test x"$with_gnu_ld" = x"yes" &&
41053 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
41054 glibcxx_have_gc_sections=yes
41057 if test "$glibcxx_have_gc_sections" = "yes"; then
41058 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
41059 # NB: This flag only works reliably after 2.16.1. Configure tests
41060 # for this are difficult, so hard wire a value that should work.
41062 ac_test_CFLAGS="${CFLAGS+set}"
41063 ac_save_CFLAGS="$CFLAGS"
41064 CFLAGS='-Wl,--gc-sections'
41066 # Check for -Wl,--gc-sections
41067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
41068 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
41069 if test x$gcc_no_link = xyes; then
41070 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41073 /* end confdefs.h. */
41074 int one(void) { return 1; }
41075 int two(void) { return 2; }
41078 main ()
41080 two();
41082 return 0;
41084 _ACEOF
41085 if ac_fn_c_try_link "$LINENO"; then :
41086 ac_gcsections=yes
41087 else
41088 ac_gcsections=no
41090 rm -f core conftest.err conftest.$ac_objext \
41091 conftest$ac_exeext conftest.$ac_ext
41092 if test "$ac_gcsections" = "yes"; then
41093 rm -f conftest.c
41094 touch conftest.c
41095 if $CC -c conftest.c; then
41096 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
41097 grep "Warning: gc-sections option ignored" > /dev/null; then
41098 ac_gcsections=no
41101 rm -f conftest.c conftest.o conftest
41103 if test "$ac_gcsections" = "yes"; then
41104 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
41106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
41107 $as_echo "$ac_gcsections" >&6; }
41109 if test "$ac_test_CFLAGS" = set; then
41110 CFLAGS="$ac_save_CFLAGS"
41111 else
41112 # this is the suspicious part
41113 CFLAGS=''
41117 # Set -z,relro.
41118 # Note this is only for shared objects.
41119 ac_ld_relro=no
41120 if test x"$with_gnu_ld" = x"yes"; then
41121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
41122 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
41123 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
41124 if test -n "$cxx_z_relo"; then
41125 OPT_LDFLAGS="-Wl,-z,relro"
41126 ac_ld_relro=yes
41128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
41129 $as_echo "$ac_ld_relro" >&6; }
41132 # Set linker optimization flags.
41133 if test x"$with_gnu_ld" = x"yes"; then
41134 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
41141 ac_test_CXXFLAGS="${CXXFLAGS+set}"
41142 ac_save_CXXFLAGS="$CXXFLAGS"
41143 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
41145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
41146 $as_echo_n "checking for sin in -lm... " >&6; }
41147 if test "${ac_cv_lib_m_sin+set}" = set; then :
41148 $as_echo_n "(cached) " >&6
41149 else
41150 ac_check_lib_save_LIBS=$LIBS
41151 LIBS="-lm $LIBS"
41152 if test x$gcc_no_link = xyes; then
41153 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41156 /* end confdefs.h. */
41158 /* Override any GCC internal prototype to avoid an error.
41159 Use char because int might match the return type of a GCC
41160 builtin and then its argument prototype would still apply. */
41161 #ifdef __cplusplus
41162 extern "C"
41163 #endif
41164 char sin ();
41166 main ()
41168 return sin ();
41170 return 0;
41172 _ACEOF
41173 if ac_fn_c_try_link "$LINENO"; then :
41174 ac_cv_lib_m_sin=yes
41175 else
41176 ac_cv_lib_m_sin=no
41178 rm -f core conftest.err conftest.$ac_objext \
41179 conftest$ac_exeext conftest.$ac_ext
41180 LIBS=$ac_check_lib_save_LIBS
41182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
41183 $as_echo "$ac_cv_lib_m_sin" >&6; }
41184 if test "x$ac_cv_lib_m_sin" = x""yes; then :
41185 libm="-lm"
41188 ac_save_LIBS="$LIBS"
41189 LIBS="$LIBS $libm"
41193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
41194 $as_echo_n "checking for isinf declaration... " >&6; }
41195 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
41196 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
41197 $as_echo_n "(cached) " >&6
41198 else
41201 ac_ext=cpp
41202 ac_cpp='$CXXCPP $CPPFLAGS'
41203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41208 /* end confdefs.h. */
41209 #include <math.h>
41210 #ifdef HAVE_IEEEFP_H
41211 #include <ieeefp.h>
41212 #endif
41215 main ()
41217 isinf(0);
41219 return 0;
41221 _ACEOF
41222 if ac_fn_cxx_try_compile "$LINENO"; then :
41223 glibcxx_cv_func_isinf_use=yes
41224 else
41225 glibcxx_cv_func_isinf_use=no
41227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41228 ac_ext=c
41229 ac_cpp='$CPP $CPPFLAGS'
41230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
41239 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
41241 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
41242 for ac_func in isinf
41243 do :
41244 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
41245 if test "x$ac_cv_func_isinf" = x""yes; then :
41246 cat >>confdefs.h <<_ACEOF
41247 #define HAVE_ISINF 1
41248 _ACEOF
41251 done
41253 else
41255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
41256 $as_echo_n "checking for _isinf declaration... " >&6; }
41257 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
41258 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
41259 $as_echo_n "(cached) " >&6
41260 else
41263 ac_ext=cpp
41264 ac_cpp='$CXXCPP $CPPFLAGS'
41265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41270 /* end confdefs.h. */
41271 #include <math.h>
41272 #ifdef HAVE_IEEEFP_H
41273 #include <ieeefp.h>
41274 #endif
41277 main ()
41279 _isinf(0);
41281 return 0;
41283 _ACEOF
41284 if ac_fn_cxx_try_compile "$LINENO"; then :
41285 glibcxx_cv_func__isinf_use=yes
41286 else
41287 glibcxx_cv_func__isinf_use=no
41289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41290 ac_ext=c
41291 ac_cpp='$CPP $CPPFLAGS'
41292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
41301 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
41303 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
41304 for ac_func in _isinf
41305 do :
41306 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
41307 if test "x$ac_cv_func__isinf" = x""yes; then :
41308 cat >>confdefs.h <<_ACEOF
41309 #define HAVE__ISINF 1
41310 _ACEOF
41313 done
41322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
41323 $as_echo_n "checking for isnan declaration... " >&6; }
41324 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
41325 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
41326 $as_echo_n "(cached) " >&6
41327 else
41330 ac_ext=cpp
41331 ac_cpp='$CXXCPP $CPPFLAGS'
41332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41337 /* end confdefs.h. */
41338 #include <math.h>
41339 #ifdef HAVE_IEEEFP_H
41340 #include <ieeefp.h>
41341 #endif
41344 main ()
41346 isnan(0);
41348 return 0;
41350 _ACEOF
41351 if ac_fn_cxx_try_compile "$LINENO"; then :
41352 glibcxx_cv_func_isnan_use=yes
41353 else
41354 glibcxx_cv_func_isnan_use=no
41356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41357 ac_ext=c
41358 ac_cpp='$CPP $CPPFLAGS'
41359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
41368 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
41370 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
41371 for ac_func in isnan
41372 do :
41373 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
41374 if test "x$ac_cv_func_isnan" = x""yes; then :
41375 cat >>confdefs.h <<_ACEOF
41376 #define HAVE_ISNAN 1
41377 _ACEOF
41380 done
41382 else
41384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
41385 $as_echo_n "checking for _isnan declaration... " >&6; }
41386 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
41387 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
41388 $as_echo_n "(cached) " >&6
41389 else
41392 ac_ext=cpp
41393 ac_cpp='$CXXCPP $CPPFLAGS'
41394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41399 /* end confdefs.h. */
41400 #include <math.h>
41401 #ifdef HAVE_IEEEFP_H
41402 #include <ieeefp.h>
41403 #endif
41406 main ()
41408 _isnan(0);
41410 return 0;
41412 _ACEOF
41413 if ac_fn_cxx_try_compile "$LINENO"; then :
41414 glibcxx_cv_func__isnan_use=yes
41415 else
41416 glibcxx_cv_func__isnan_use=no
41418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41419 ac_ext=c
41420 ac_cpp='$CPP $CPPFLAGS'
41421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
41430 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
41432 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
41433 for ac_func in _isnan
41434 do :
41435 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
41436 if test "x$ac_cv_func__isnan" = x""yes; then :
41437 cat >>confdefs.h <<_ACEOF
41438 #define HAVE__ISNAN 1
41439 _ACEOF
41442 done
41451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
41452 $as_echo_n "checking for finite declaration... " >&6; }
41453 if test x${glibcxx_cv_func_finite_use+set} != xset; then
41454 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
41455 $as_echo_n "(cached) " >&6
41456 else
41459 ac_ext=cpp
41460 ac_cpp='$CXXCPP $CPPFLAGS'
41461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41466 /* end confdefs.h. */
41467 #include <math.h>
41468 #ifdef HAVE_IEEEFP_H
41469 #include <ieeefp.h>
41470 #endif
41473 main ()
41475 finite(0);
41477 return 0;
41479 _ACEOF
41480 if ac_fn_cxx_try_compile "$LINENO"; then :
41481 glibcxx_cv_func_finite_use=yes
41482 else
41483 glibcxx_cv_func_finite_use=no
41485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41486 ac_ext=c
41487 ac_cpp='$CPP $CPPFLAGS'
41488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
41497 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
41499 if test x$glibcxx_cv_func_finite_use = x"yes"; then
41500 for ac_func in finite
41501 do :
41502 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
41503 if test "x$ac_cv_func_finite" = x""yes; then :
41504 cat >>confdefs.h <<_ACEOF
41505 #define HAVE_FINITE 1
41506 _ACEOF
41509 done
41511 else
41513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
41514 $as_echo_n "checking for _finite declaration... " >&6; }
41515 if test x${glibcxx_cv_func__finite_use+set} != xset; then
41516 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
41517 $as_echo_n "(cached) " >&6
41518 else
41521 ac_ext=cpp
41522 ac_cpp='$CXXCPP $CPPFLAGS'
41523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41528 /* end confdefs.h. */
41529 #include <math.h>
41530 #ifdef HAVE_IEEEFP_H
41531 #include <ieeefp.h>
41532 #endif
41535 main ()
41537 _finite(0);
41539 return 0;
41541 _ACEOF
41542 if ac_fn_cxx_try_compile "$LINENO"; then :
41543 glibcxx_cv_func__finite_use=yes
41544 else
41545 glibcxx_cv_func__finite_use=no
41547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41548 ac_ext=c
41549 ac_cpp='$CPP $CPPFLAGS'
41550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
41559 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
41561 if test x$glibcxx_cv_func__finite_use = x"yes"; then
41562 for ac_func in _finite
41563 do :
41564 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
41565 if test "x$ac_cv_func__finite" = x""yes; then :
41566 cat >>confdefs.h <<_ACEOF
41567 #define HAVE__FINITE 1
41568 _ACEOF
41571 done
41580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
41581 $as_echo_n "checking for sincos declaration... " >&6; }
41582 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
41583 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
41584 $as_echo_n "(cached) " >&6
41585 else
41588 ac_ext=cpp
41589 ac_cpp='$CXXCPP $CPPFLAGS'
41590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41595 /* end confdefs.h. */
41596 #include <math.h>
41598 main ()
41600 sincos(0, 0, 0);
41602 return 0;
41604 _ACEOF
41605 if ac_fn_cxx_try_compile "$LINENO"; then :
41606 glibcxx_cv_func_sincos_use=yes
41607 else
41608 glibcxx_cv_func_sincos_use=no
41610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41611 ac_ext=c
41612 ac_cpp='$CPP $CPPFLAGS'
41613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
41622 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
41624 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
41625 for ac_func in sincos
41626 do :
41627 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
41628 if test "x$ac_cv_func_sincos" = x""yes; then :
41629 cat >>confdefs.h <<_ACEOF
41630 #define HAVE_SINCOS 1
41631 _ACEOF
41634 done
41636 else
41638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
41639 $as_echo_n "checking for _sincos declaration... " >&6; }
41640 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
41641 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
41642 $as_echo_n "(cached) " >&6
41643 else
41646 ac_ext=cpp
41647 ac_cpp='$CXXCPP $CPPFLAGS'
41648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41653 /* end confdefs.h. */
41654 #include <math.h>
41656 main ()
41658 _sincos(0, 0, 0);
41660 return 0;
41662 _ACEOF
41663 if ac_fn_cxx_try_compile "$LINENO"; then :
41664 glibcxx_cv_func__sincos_use=yes
41665 else
41666 glibcxx_cv_func__sincos_use=no
41668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41669 ac_ext=c
41670 ac_cpp='$CPP $CPPFLAGS'
41671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
41680 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
41682 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
41683 for ac_func in _sincos
41684 do :
41685 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
41686 if test "x$ac_cv_func__sincos" = x""yes; then :
41687 cat >>confdefs.h <<_ACEOF
41688 #define HAVE__SINCOS 1
41689 _ACEOF
41692 done
41701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
41702 $as_echo_n "checking for fpclass declaration... " >&6; }
41703 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
41704 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
41705 $as_echo_n "(cached) " >&6
41706 else
41709 ac_ext=cpp
41710 ac_cpp='$CXXCPP $CPPFLAGS'
41711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41716 /* end confdefs.h. */
41717 #include <math.h>
41718 #ifdef HAVE_IEEEFP_H
41719 #include <ieeefp.h>
41720 #endif
41723 main ()
41725 fpclass(0);
41727 return 0;
41729 _ACEOF
41730 if ac_fn_cxx_try_compile "$LINENO"; then :
41731 glibcxx_cv_func_fpclass_use=yes
41732 else
41733 glibcxx_cv_func_fpclass_use=no
41735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41736 ac_ext=c
41737 ac_cpp='$CPP $CPPFLAGS'
41738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
41747 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
41749 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
41750 for ac_func in fpclass
41751 do :
41752 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
41753 if test "x$ac_cv_func_fpclass" = x""yes; then :
41754 cat >>confdefs.h <<_ACEOF
41755 #define HAVE_FPCLASS 1
41756 _ACEOF
41759 done
41761 else
41763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
41764 $as_echo_n "checking for _fpclass declaration... " >&6; }
41765 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
41766 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
41767 $as_echo_n "(cached) " >&6
41768 else
41771 ac_ext=cpp
41772 ac_cpp='$CXXCPP $CPPFLAGS'
41773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41778 /* end confdefs.h. */
41779 #include <math.h>
41780 #ifdef HAVE_IEEEFP_H
41781 #include <ieeefp.h>
41782 #endif
41785 main ()
41787 _fpclass(0);
41789 return 0;
41791 _ACEOF
41792 if ac_fn_cxx_try_compile "$LINENO"; then :
41793 glibcxx_cv_func__fpclass_use=yes
41794 else
41795 glibcxx_cv_func__fpclass_use=no
41797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41798 ac_ext=c
41799 ac_cpp='$CPP $CPPFLAGS'
41800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
41809 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
41811 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
41812 for ac_func in _fpclass
41813 do :
41814 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
41815 if test "x$ac_cv_func__fpclass" = x""yes; then :
41816 cat >>confdefs.h <<_ACEOF
41817 #define HAVE__FPCLASS 1
41818 _ACEOF
41821 done
41830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
41831 $as_echo_n "checking for qfpclass declaration... " >&6; }
41832 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
41833 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
41834 $as_echo_n "(cached) " >&6
41835 else
41838 ac_ext=cpp
41839 ac_cpp='$CXXCPP $CPPFLAGS'
41840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41845 /* end confdefs.h. */
41846 #include <math.h>
41847 #ifdef HAVE_IEEEFP_H
41848 #include <ieeefp.h>
41849 #endif
41852 main ()
41854 qfpclass(0);
41856 return 0;
41858 _ACEOF
41859 if ac_fn_cxx_try_compile "$LINENO"; then :
41860 glibcxx_cv_func_qfpclass_use=yes
41861 else
41862 glibcxx_cv_func_qfpclass_use=no
41864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41865 ac_ext=c
41866 ac_cpp='$CPP $CPPFLAGS'
41867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
41876 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
41878 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
41879 for ac_func in qfpclass
41880 do :
41881 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
41882 if test "x$ac_cv_func_qfpclass" = x""yes; then :
41883 cat >>confdefs.h <<_ACEOF
41884 #define HAVE_QFPCLASS 1
41885 _ACEOF
41888 done
41890 else
41892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
41893 $as_echo_n "checking for _qfpclass declaration... " >&6; }
41894 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
41895 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
41896 $as_echo_n "(cached) " >&6
41897 else
41900 ac_ext=cpp
41901 ac_cpp='$CXXCPP $CPPFLAGS'
41902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41907 /* end confdefs.h. */
41908 #include <math.h>
41909 #ifdef HAVE_IEEEFP_H
41910 #include <ieeefp.h>
41911 #endif
41914 main ()
41916 _qfpclass(0);
41918 return 0;
41920 _ACEOF
41921 if ac_fn_cxx_try_compile "$LINENO"; then :
41922 glibcxx_cv_func__qfpclass_use=yes
41923 else
41924 glibcxx_cv_func__qfpclass_use=no
41926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41927 ac_ext=c
41928 ac_cpp='$CPP $CPPFLAGS'
41929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
41938 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
41940 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
41941 for ac_func in _qfpclass
41942 do :
41943 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
41944 if test "x$ac_cv_func__qfpclass" = x""yes; then :
41945 cat >>confdefs.h <<_ACEOF
41946 #define HAVE__QFPCLASS 1
41947 _ACEOF
41950 done
41959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
41960 $as_echo_n "checking for hypot declaration... " >&6; }
41961 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
41962 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
41963 $as_echo_n "(cached) " >&6
41964 else
41967 ac_ext=cpp
41968 ac_cpp='$CXXCPP $CPPFLAGS'
41969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41974 /* end confdefs.h. */
41975 #include <math.h>
41977 main ()
41979 hypot(0, 0);
41981 return 0;
41983 _ACEOF
41984 if ac_fn_cxx_try_compile "$LINENO"; then :
41985 glibcxx_cv_func_hypot_use=yes
41986 else
41987 glibcxx_cv_func_hypot_use=no
41989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41990 ac_ext=c
41991 ac_cpp='$CPP $CPPFLAGS'
41992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
42001 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
42003 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
42004 for ac_func in hypot
42005 do :
42006 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
42007 if test "x$ac_cv_func_hypot" = x""yes; then :
42008 cat >>confdefs.h <<_ACEOF
42009 #define HAVE_HYPOT 1
42010 _ACEOF
42013 done
42015 else
42017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
42018 $as_echo_n "checking for _hypot declaration... " >&6; }
42019 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
42020 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
42021 $as_echo_n "(cached) " >&6
42022 else
42025 ac_ext=cpp
42026 ac_cpp='$CXXCPP $CPPFLAGS'
42027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42032 /* end confdefs.h. */
42033 #include <math.h>
42035 main ()
42037 _hypot(0, 0);
42039 return 0;
42041 _ACEOF
42042 if ac_fn_cxx_try_compile "$LINENO"; then :
42043 glibcxx_cv_func__hypot_use=yes
42044 else
42045 glibcxx_cv_func__hypot_use=no
42047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42048 ac_ext=c
42049 ac_cpp='$CPP $CPPFLAGS'
42050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
42059 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
42061 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
42062 for ac_func in _hypot
42063 do :
42064 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
42065 if test "x$ac_cv_func__hypot" = x""yes; then :
42066 cat >>confdefs.h <<_ACEOF
42067 #define HAVE__HYPOT 1
42068 _ACEOF
42071 done
42080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
42081 $as_echo_n "checking for float trig functions... " >&6; }
42082 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
42083 $as_echo_n "(cached) " >&6
42084 else
42087 ac_ext=cpp
42088 ac_cpp='$CXXCPP $CPPFLAGS'
42089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42094 /* end confdefs.h. */
42095 #include <math.h>
42097 main ()
42099 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
42101 return 0;
42103 _ACEOF
42104 if ac_fn_cxx_try_compile "$LINENO"; then :
42105 glibcxx_cv_func_float_trig_use=yes
42106 else
42107 glibcxx_cv_func_float_trig_use=no
42109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42110 ac_ext=c
42111 ac_cpp='$CPP $CPPFLAGS'
42112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
42119 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
42120 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
42121 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
42122 do :
42123 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42124 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42125 eval as_val=\$$as_ac_var
42126 if test "x$as_val" = x""yes; then :
42127 cat >>confdefs.h <<_ACEOF
42128 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42129 _ACEOF
42132 done
42134 else
42135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
42136 $as_echo_n "checking for _float trig functions... " >&6; }
42137 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
42138 $as_echo_n "(cached) " >&6
42139 else
42142 ac_ext=cpp
42143 ac_cpp='$CXXCPP $CPPFLAGS'
42144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42149 /* end confdefs.h. */
42150 #include <math.h>
42152 main ()
42154 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
42156 return 0;
42158 _ACEOF
42159 if ac_fn_cxx_try_compile "$LINENO"; then :
42160 glibcxx_cv_func__float_trig_use=yes
42161 else
42162 glibcxx_cv_func__float_trig_use=no
42164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42165 ac_ext=c
42166 ac_cpp='$CPP $CPPFLAGS'
42167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
42174 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
42175 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
42176 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
42177 do :
42178 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42179 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42180 eval as_val=\$$as_ac_var
42181 if test "x$as_val" = x""yes; then :
42182 cat >>confdefs.h <<_ACEOF
42183 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42184 _ACEOF
42187 done
42196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
42197 $as_echo_n "checking for float round functions... " >&6; }
42198 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
42199 $as_echo_n "(cached) " >&6
42200 else
42203 ac_ext=cpp
42204 ac_cpp='$CXXCPP $CPPFLAGS'
42205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42210 /* end confdefs.h. */
42211 #include <math.h>
42213 main ()
42215 ceilf (0); floorf (0);
42217 return 0;
42219 _ACEOF
42220 if ac_fn_cxx_try_compile "$LINENO"; then :
42221 glibcxx_cv_func_float_round_use=yes
42222 else
42223 glibcxx_cv_func_float_round_use=no
42225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42226 ac_ext=c
42227 ac_cpp='$CPP $CPPFLAGS'
42228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
42235 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
42236 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
42237 for ac_func in ceilf floorf
42238 do :
42239 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42240 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42241 eval as_val=\$$as_ac_var
42242 if test "x$as_val" = x""yes; then :
42243 cat >>confdefs.h <<_ACEOF
42244 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42245 _ACEOF
42248 done
42250 else
42251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
42252 $as_echo_n "checking for _float round functions... " >&6; }
42253 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
42254 $as_echo_n "(cached) " >&6
42255 else
42258 ac_ext=cpp
42259 ac_cpp='$CXXCPP $CPPFLAGS'
42260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42265 /* end confdefs.h. */
42266 #include <math.h>
42268 main ()
42270 _ceilf (0); _floorf (0);
42272 return 0;
42274 _ACEOF
42275 if ac_fn_cxx_try_compile "$LINENO"; then :
42276 glibcxx_cv_func__float_round_use=yes
42277 else
42278 glibcxx_cv_func__float_round_use=no
42280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42281 ac_ext=c
42282 ac_cpp='$CPP $CPPFLAGS'
42283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
42290 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
42291 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
42292 for ac_func in _ceilf _floorf
42293 do :
42294 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42295 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42296 eval as_val=\$$as_ac_var
42297 if test "x$as_val" = x""yes; then :
42298 cat >>confdefs.h <<_ACEOF
42299 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42300 _ACEOF
42303 done
42313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
42314 $as_echo_n "checking for expf declaration... " >&6; }
42315 if test x${glibcxx_cv_func_expf_use+set} != xset; then
42316 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
42317 $as_echo_n "(cached) " >&6
42318 else
42321 ac_ext=cpp
42322 ac_cpp='$CXXCPP $CPPFLAGS'
42323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42328 /* end confdefs.h. */
42329 #include <math.h>
42330 #ifdef HAVE_IEEEFP_H
42331 #include <ieeefp.h>
42332 #endif
42335 main ()
42337 expf(0);
42339 return 0;
42341 _ACEOF
42342 if ac_fn_cxx_try_compile "$LINENO"; then :
42343 glibcxx_cv_func_expf_use=yes
42344 else
42345 glibcxx_cv_func_expf_use=no
42347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42348 ac_ext=c
42349 ac_cpp='$CPP $CPPFLAGS'
42350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
42359 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
42361 if test x$glibcxx_cv_func_expf_use = x"yes"; then
42362 for ac_func in expf
42363 do :
42364 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
42365 if test "x$ac_cv_func_expf" = x""yes; then :
42366 cat >>confdefs.h <<_ACEOF
42367 #define HAVE_EXPF 1
42368 _ACEOF
42371 done
42373 else
42375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
42376 $as_echo_n "checking for _expf declaration... " >&6; }
42377 if test x${glibcxx_cv_func__expf_use+set} != xset; then
42378 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
42379 $as_echo_n "(cached) " >&6
42380 else
42383 ac_ext=cpp
42384 ac_cpp='$CXXCPP $CPPFLAGS'
42385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42390 /* end confdefs.h. */
42391 #include <math.h>
42392 #ifdef HAVE_IEEEFP_H
42393 #include <ieeefp.h>
42394 #endif
42397 main ()
42399 _expf(0);
42401 return 0;
42403 _ACEOF
42404 if ac_fn_cxx_try_compile "$LINENO"; then :
42405 glibcxx_cv_func__expf_use=yes
42406 else
42407 glibcxx_cv_func__expf_use=no
42409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42410 ac_ext=c
42411 ac_cpp='$CPP $CPPFLAGS'
42412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
42421 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
42423 if test x$glibcxx_cv_func__expf_use = x"yes"; then
42424 for ac_func in _expf
42425 do :
42426 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
42427 if test "x$ac_cv_func__expf" = x""yes; then :
42428 cat >>confdefs.h <<_ACEOF
42429 #define HAVE__EXPF 1
42430 _ACEOF
42433 done
42442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
42443 $as_echo_n "checking for isnanf declaration... " >&6; }
42444 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
42445 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
42446 $as_echo_n "(cached) " >&6
42447 else
42450 ac_ext=cpp
42451 ac_cpp='$CXXCPP $CPPFLAGS'
42452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42457 /* end confdefs.h. */
42458 #include <math.h>
42459 #ifdef HAVE_IEEEFP_H
42460 #include <ieeefp.h>
42461 #endif
42464 main ()
42466 isnanf(0);
42468 return 0;
42470 _ACEOF
42471 if ac_fn_cxx_try_compile "$LINENO"; then :
42472 glibcxx_cv_func_isnanf_use=yes
42473 else
42474 glibcxx_cv_func_isnanf_use=no
42476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42477 ac_ext=c
42478 ac_cpp='$CPP $CPPFLAGS'
42479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
42488 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
42490 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
42491 for ac_func in isnanf
42492 do :
42493 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
42494 if test "x$ac_cv_func_isnanf" = x""yes; then :
42495 cat >>confdefs.h <<_ACEOF
42496 #define HAVE_ISNANF 1
42497 _ACEOF
42500 done
42502 else
42504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
42505 $as_echo_n "checking for _isnanf declaration... " >&6; }
42506 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
42507 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
42508 $as_echo_n "(cached) " >&6
42509 else
42512 ac_ext=cpp
42513 ac_cpp='$CXXCPP $CPPFLAGS'
42514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42519 /* end confdefs.h. */
42520 #include <math.h>
42521 #ifdef HAVE_IEEEFP_H
42522 #include <ieeefp.h>
42523 #endif
42526 main ()
42528 _isnanf(0);
42530 return 0;
42532 _ACEOF
42533 if ac_fn_cxx_try_compile "$LINENO"; then :
42534 glibcxx_cv_func__isnanf_use=yes
42535 else
42536 glibcxx_cv_func__isnanf_use=no
42538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42539 ac_ext=c
42540 ac_cpp='$CPP $CPPFLAGS'
42541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
42550 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
42552 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
42553 for ac_func in _isnanf
42554 do :
42555 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
42556 if test "x$ac_cv_func__isnanf" = x""yes; then :
42557 cat >>confdefs.h <<_ACEOF
42558 #define HAVE__ISNANF 1
42559 _ACEOF
42562 done
42571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
42572 $as_echo_n "checking for isinff declaration... " >&6; }
42573 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
42574 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
42575 $as_echo_n "(cached) " >&6
42576 else
42579 ac_ext=cpp
42580 ac_cpp='$CXXCPP $CPPFLAGS'
42581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42586 /* end confdefs.h. */
42587 #include <math.h>
42588 #ifdef HAVE_IEEEFP_H
42589 #include <ieeefp.h>
42590 #endif
42593 main ()
42595 isinff(0);
42597 return 0;
42599 _ACEOF
42600 if ac_fn_cxx_try_compile "$LINENO"; then :
42601 glibcxx_cv_func_isinff_use=yes
42602 else
42603 glibcxx_cv_func_isinff_use=no
42605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42606 ac_ext=c
42607 ac_cpp='$CPP $CPPFLAGS'
42608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
42617 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
42619 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
42620 for ac_func in isinff
42621 do :
42622 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
42623 if test "x$ac_cv_func_isinff" = x""yes; then :
42624 cat >>confdefs.h <<_ACEOF
42625 #define HAVE_ISINFF 1
42626 _ACEOF
42629 done
42631 else
42633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
42634 $as_echo_n "checking for _isinff declaration... " >&6; }
42635 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
42636 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
42637 $as_echo_n "(cached) " >&6
42638 else
42641 ac_ext=cpp
42642 ac_cpp='$CXXCPP $CPPFLAGS'
42643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42648 /* end confdefs.h. */
42649 #include <math.h>
42650 #ifdef HAVE_IEEEFP_H
42651 #include <ieeefp.h>
42652 #endif
42655 main ()
42657 _isinff(0);
42659 return 0;
42661 _ACEOF
42662 if ac_fn_cxx_try_compile "$LINENO"; then :
42663 glibcxx_cv_func__isinff_use=yes
42664 else
42665 glibcxx_cv_func__isinff_use=no
42667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42668 ac_ext=c
42669 ac_cpp='$CPP $CPPFLAGS'
42670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
42679 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
42681 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
42682 for ac_func in _isinff
42683 do :
42684 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
42685 if test "x$ac_cv_func__isinff" = x""yes; then :
42686 cat >>confdefs.h <<_ACEOF
42687 #define HAVE__ISINFF 1
42688 _ACEOF
42691 done
42700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
42701 $as_echo_n "checking for atan2f declaration... " >&6; }
42702 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
42703 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
42704 $as_echo_n "(cached) " >&6
42705 else
42708 ac_ext=cpp
42709 ac_cpp='$CXXCPP $CPPFLAGS'
42710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42715 /* end confdefs.h. */
42716 #include <math.h>
42718 main ()
42720 atan2f(0, 0);
42722 return 0;
42724 _ACEOF
42725 if ac_fn_cxx_try_compile "$LINENO"; then :
42726 glibcxx_cv_func_atan2f_use=yes
42727 else
42728 glibcxx_cv_func_atan2f_use=no
42730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42731 ac_ext=c
42732 ac_cpp='$CPP $CPPFLAGS'
42733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
42742 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
42744 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
42745 for ac_func in atan2f
42746 do :
42747 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
42748 if test "x$ac_cv_func_atan2f" = x""yes; then :
42749 cat >>confdefs.h <<_ACEOF
42750 #define HAVE_ATAN2F 1
42751 _ACEOF
42754 done
42756 else
42758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
42759 $as_echo_n "checking for _atan2f declaration... " >&6; }
42760 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
42761 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
42762 $as_echo_n "(cached) " >&6
42763 else
42766 ac_ext=cpp
42767 ac_cpp='$CXXCPP $CPPFLAGS'
42768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42773 /* end confdefs.h. */
42774 #include <math.h>
42776 main ()
42778 _atan2f(0, 0);
42780 return 0;
42782 _ACEOF
42783 if ac_fn_cxx_try_compile "$LINENO"; then :
42784 glibcxx_cv_func__atan2f_use=yes
42785 else
42786 glibcxx_cv_func__atan2f_use=no
42788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42789 ac_ext=c
42790 ac_cpp='$CPP $CPPFLAGS'
42791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
42800 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
42802 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
42803 for ac_func in _atan2f
42804 do :
42805 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
42806 if test "x$ac_cv_func__atan2f" = x""yes; then :
42807 cat >>confdefs.h <<_ACEOF
42808 #define HAVE__ATAN2F 1
42809 _ACEOF
42812 done
42821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
42822 $as_echo_n "checking for fabsf declaration... " >&6; }
42823 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
42824 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
42825 $as_echo_n "(cached) " >&6
42826 else
42829 ac_ext=cpp
42830 ac_cpp='$CXXCPP $CPPFLAGS'
42831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42836 /* end confdefs.h. */
42837 #include <math.h>
42838 #ifdef HAVE_IEEEFP_H
42839 #include <ieeefp.h>
42840 #endif
42843 main ()
42845 fabsf(0);
42847 return 0;
42849 _ACEOF
42850 if ac_fn_cxx_try_compile "$LINENO"; then :
42851 glibcxx_cv_func_fabsf_use=yes
42852 else
42853 glibcxx_cv_func_fabsf_use=no
42855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42856 ac_ext=c
42857 ac_cpp='$CPP $CPPFLAGS'
42858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
42867 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
42869 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
42870 for ac_func in fabsf
42871 do :
42872 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
42873 if test "x$ac_cv_func_fabsf" = x""yes; then :
42874 cat >>confdefs.h <<_ACEOF
42875 #define HAVE_FABSF 1
42876 _ACEOF
42879 done
42881 else
42883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
42884 $as_echo_n "checking for _fabsf declaration... " >&6; }
42885 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
42886 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
42887 $as_echo_n "(cached) " >&6
42888 else
42891 ac_ext=cpp
42892 ac_cpp='$CXXCPP $CPPFLAGS'
42893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42898 /* end confdefs.h. */
42899 #include <math.h>
42900 #ifdef HAVE_IEEEFP_H
42901 #include <ieeefp.h>
42902 #endif
42905 main ()
42907 _fabsf(0);
42909 return 0;
42911 _ACEOF
42912 if ac_fn_cxx_try_compile "$LINENO"; then :
42913 glibcxx_cv_func__fabsf_use=yes
42914 else
42915 glibcxx_cv_func__fabsf_use=no
42917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42918 ac_ext=c
42919 ac_cpp='$CPP $CPPFLAGS'
42920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
42929 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
42931 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
42932 for ac_func in _fabsf
42933 do :
42934 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
42935 if test "x$ac_cv_func__fabsf" = x""yes; then :
42936 cat >>confdefs.h <<_ACEOF
42937 #define HAVE__FABSF 1
42938 _ACEOF
42941 done
42950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
42951 $as_echo_n "checking for fmodf declaration... " >&6; }
42952 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
42953 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
42954 $as_echo_n "(cached) " >&6
42955 else
42958 ac_ext=cpp
42959 ac_cpp='$CXXCPP $CPPFLAGS'
42960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42965 /* end confdefs.h. */
42966 #include <math.h>
42968 main ()
42970 fmodf(0, 0);
42972 return 0;
42974 _ACEOF
42975 if ac_fn_cxx_try_compile "$LINENO"; then :
42976 glibcxx_cv_func_fmodf_use=yes
42977 else
42978 glibcxx_cv_func_fmodf_use=no
42980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42981 ac_ext=c
42982 ac_cpp='$CPP $CPPFLAGS'
42983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
42992 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
42994 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
42995 for ac_func in fmodf
42996 do :
42997 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
42998 if test "x$ac_cv_func_fmodf" = x""yes; then :
42999 cat >>confdefs.h <<_ACEOF
43000 #define HAVE_FMODF 1
43001 _ACEOF
43004 done
43006 else
43008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
43009 $as_echo_n "checking for _fmodf declaration... " >&6; }
43010 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
43011 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
43012 $as_echo_n "(cached) " >&6
43013 else
43016 ac_ext=cpp
43017 ac_cpp='$CXXCPP $CPPFLAGS'
43018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43023 /* end confdefs.h. */
43024 #include <math.h>
43026 main ()
43028 _fmodf(0, 0);
43030 return 0;
43032 _ACEOF
43033 if ac_fn_cxx_try_compile "$LINENO"; then :
43034 glibcxx_cv_func__fmodf_use=yes
43035 else
43036 glibcxx_cv_func__fmodf_use=no
43038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43039 ac_ext=c
43040 ac_cpp='$CPP $CPPFLAGS'
43041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
43050 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
43052 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
43053 for ac_func in _fmodf
43054 do :
43055 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
43056 if test "x$ac_cv_func__fmodf" = x""yes; then :
43057 cat >>confdefs.h <<_ACEOF
43058 #define HAVE__FMODF 1
43059 _ACEOF
43062 done
43071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
43072 $as_echo_n "checking for frexpf declaration... " >&6; }
43073 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
43074 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
43075 $as_echo_n "(cached) " >&6
43076 else
43079 ac_ext=cpp
43080 ac_cpp='$CXXCPP $CPPFLAGS'
43081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43086 /* end confdefs.h. */
43087 #include <math.h>
43089 main ()
43091 frexpf(0, 0);
43093 return 0;
43095 _ACEOF
43096 if ac_fn_cxx_try_compile "$LINENO"; then :
43097 glibcxx_cv_func_frexpf_use=yes
43098 else
43099 glibcxx_cv_func_frexpf_use=no
43101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43102 ac_ext=c
43103 ac_cpp='$CPP $CPPFLAGS'
43104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
43113 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
43115 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
43116 for ac_func in frexpf
43117 do :
43118 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
43119 if test "x$ac_cv_func_frexpf" = x""yes; then :
43120 cat >>confdefs.h <<_ACEOF
43121 #define HAVE_FREXPF 1
43122 _ACEOF
43125 done
43127 else
43129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
43130 $as_echo_n "checking for _frexpf declaration... " >&6; }
43131 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
43132 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
43133 $as_echo_n "(cached) " >&6
43134 else
43137 ac_ext=cpp
43138 ac_cpp='$CXXCPP $CPPFLAGS'
43139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43144 /* end confdefs.h. */
43145 #include <math.h>
43147 main ()
43149 _frexpf(0, 0);
43151 return 0;
43153 _ACEOF
43154 if ac_fn_cxx_try_compile "$LINENO"; then :
43155 glibcxx_cv_func__frexpf_use=yes
43156 else
43157 glibcxx_cv_func__frexpf_use=no
43159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43160 ac_ext=c
43161 ac_cpp='$CPP $CPPFLAGS'
43162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
43171 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
43173 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
43174 for ac_func in _frexpf
43175 do :
43176 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
43177 if test "x$ac_cv_func__frexpf" = x""yes; then :
43178 cat >>confdefs.h <<_ACEOF
43179 #define HAVE__FREXPF 1
43180 _ACEOF
43183 done
43192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
43193 $as_echo_n "checking for hypotf declaration... " >&6; }
43194 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
43195 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
43196 $as_echo_n "(cached) " >&6
43197 else
43200 ac_ext=cpp
43201 ac_cpp='$CXXCPP $CPPFLAGS'
43202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43207 /* end confdefs.h. */
43208 #include <math.h>
43210 main ()
43212 hypotf(0, 0);
43214 return 0;
43216 _ACEOF
43217 if ac_fn_cxx_try_compile "$LINENO"; then :
43218 glibcxx_cv_func_hypotf_use=yes
43219 else
43220 glibcxx_cv_func_hypotf_use=no
43222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43223 ac_ext=c
43224 ac_cpp='$CPP $CPPFLAGS'
43225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
43234 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
43236 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
43237 for ac_func in hypotf
43238 do :
43239 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
43240 if test "x$ac_cv_func_hypotf" = x""yes; then :
43241 cat >>confdefs.h <<_ACEOF
43242 #define HAVE_HYPOTF 1
43243 _ACEOF
43246 done
43248 else
43250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
43251 $as_echo_n "checking for _hypotf declaration... " >&6; }
43252 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
43253 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
43254 $as_echo_n "(cached) " >&6
43255 else
43258 ac_ext=cpp
43259 ac_cpp='$CXXCPP $CPPFLAGS'
43260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43265 /* end confdefs.h. */
43266 #include <math.h>
43268 main ()
43270 _hypotf(0, 0);
43272 return 0;
43274 _ACEOF
43275 if ac_fn_cxx_try_compile "$LINENO"; then :
43276 glibcxx_cv_func__hypotf_use=yes
43277 else
43278 glibcxx_cv_func__hypotf_use=no
43280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43281 ac_ext=c
43282 ac_cpp='$CPP $CPPFLAGS'
43283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
43292 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
43294 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
43295 for ac_func in _hypotf
43296 do :
43297 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
43298 if test "x$ac_cv_func__hypotf" = x""yes; then :
43299 cat >>confdefs.h <<_ACEOF
43300 #define HAVE__HYPOTF 1
43301 _ACEOF
43304 done
43313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
43314 $as_echo_n "checking for ldexpf declaration... " >&6; }
43315 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
43316 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
43317 $as_echo_n "(cached) " >&6
43318 else
43321 ac_ext=cpp
43322 ac_cpp='$CXXCPP $CPPFLAGS'
43323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43328 /* end confdefs.h. */
43329 #include <math.h>
43331 main ()
43333 ldexpf(0, 0);
43335 return 0;
43337 _ACEOF
43338 if ac_fn_cxx_try_compile "$LINENO"; then :
43339 glibcxx_cv_func_ldexpf_use=yes
43340 else
43341 glibcxx_cv_func_ldexpf_use=no
43343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43344 ac_ext=c
43345 ac_cpp='$CPP $CPPFLAGS'
43346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
43355 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
43357 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
43358 for ac_func in ldexpf
43359 do :
43360 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
43361 if test "x$ac_cv_func_ldexpf" = x""yes; then :
43362 cat >>confdefs.h <<_ACEOF
43363 #define HAVE_LDEXPF 1
43364 _ACEOF
43367 done
43369 else
43371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
43372 $as_echo_n "checking for _ldexpf declaration... " >&6; }
43373 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
43374 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
43375 $as_echo_n "(cached) " >&6
43376 else
43379 ac_ext=cpp
43380 ac_cpp='$CXXCPP $CPPFLAGS'
43381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43386 /* end confdefs.h. */
43387 #include <math.h>
43389 main ()
43391 _ldexpf(0, 0);
43393 return 0;
43395 _ACEOF
43396 if ac_fn_cxx_try_compile "$LINENO"; then :
43397 glibcxx_cv_func__ldexpf_use=yes
43398 else
43399 glibcxx_cv_func__ldexpf_use=no
43401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43402 ac_ext=c
43403 ac_cpp='$CPP $CPPFLAGS'
43404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
43413 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
43415 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
43416 for ac_func in _ldexpf
43417 do :
43418 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
43419 if test "x$ac_cv_func__ldexpf" = x""yes; then :
43420 cat >>confdefs.h <<_ACEOF
43421 #define HAVE__LDEXPF 1
43422 _ACEOF
43425 done
43434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
43435 $as_echo_n "checking for logf declaration... " >&6; }
43436 if test x${glibcxx_cv_func_logf_use+set} != xset; then
43437 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
43438 $as_echo_n "(cached) " >&6
43439 else
43442 ac_ext=cpp
43443 ac_cpp='$CXXCPP $CPPFLAGS'
43444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43449 /* end confdefs.h. */
43450 #include <math.h>
43451 #ifdef HAVE_IEEEFP_H
43452 #include <ieeefp.h>
43453 #endif
43456 main ()
43458 logf(0);
43460 return 0;
43462 _ACEOF
43463 if ac_fn_cxx_try_compile "$LINENO"; then :
43464 glibcxx_cv_func_logf_use=yes
43465 else
43466 glibcxx_cv_func_logf_use=no
43468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43469 ac_ext=c
43470 ac_cpp='$CPP $CPPFLAGS'
43471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
43480 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
43482 if test x$glibcxx_cv_func_logf_use = x"yes"; then
43483 for ac_func in logf
43484 do :
43485 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
43486 if test "x$ac_cv_func_logf" = x""yes; then :
43487 cat >>confdefs.h <<_ACEOF
43488 #define HAVE_LOGF 1
43489 _ACEOF
43492 done
43494 else
43496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
43497 $as_echo_n "checking for _logf declaration... " >&6; }
43498 if test x${glibcxx_cv_func__logf_use+set} != xset; then
43499 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
43500 $as_echo_n "(cached) " >&6
43501 else
43504 ac_ext=cpp
43505 ac_cpp='$CXXCPP $CPPFLAGS'
43506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43511 /* end confdefs.h. */
43512 #include <math.h>
43513 #ifdef HAVE_IEEEFP_H
43514 #include <ieeefp.h>
43515 #endif
43518 main ()
43520 _logf(0);
43522 return 0;
43524 _ACEOF
43525 if ac_fn_cxx_try_compile "$LINENO"; then :
43526 glibcxx_cv_func__logf_use=yes
43527 else
43528 glibcxx_cv_func__logf_use=no
43530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43531 ac_ext=c
43532 ac_cpp='$CPP $CPPFLAGS'
43533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
43542 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
43544 if test x$glibcxx_cv_func__logf_use = x"yes"; then
43545 for ac_func in _logf
43546 do :
43547 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
43548 if test "x$ac_cv_func__logf" = x""yes; then :
43549 cat >>confdefs.h <<_ACEOF
43550 #define HAVE__LOGF 1
43551 _ACEOF
43554 done
43563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
43564 $as_echo_n "checking for log10f declaration... " >&6; }
43565 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
43566 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
43567 $as_echo_n "(cached) " >&6
43568 else
43571 ac_ext=cpp
43572 ac_cpp='$CXXCPP $CPPFLAGS'
43573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43578 /* end confdefs.h. */
43579 #include <math.h>
43580 #ifdef HAVE_IEEEFP_H
43581 #include <ieeefp.h>
43582 #endif
43585 main ()
43587 log10f(0);
43589 return 0;
43591 _ACEOF
43592 if ac_fn_cxx_try_compile "$LINENO"; then :
43593 glibcxx_cv_func_log10f_use=yes
43594 else
43595 glibcxx_cv_func_log10f_use=no
43597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43598 ac_ext=c
43599 ac_cpp='$CPP $CPPFLAGS'
43600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
43609 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
43611 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
43612 for ac_func in log10f
43613 do :
43614 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
43615 if test "x$ac_cv_func_log10f" = x""yes; then :
43616 cat >>confdefs.h <<_ACEOF
43617 #define HAVE_LOG10F 1
43618 _ACEOF
43621 done
43623 else
43625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
43626 $as_echo_n "checking for _log10f declaration... " >&6; }
43627 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
43628 if test "${glibcxx_cv_func__log10f_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>
43642 #ifdef HAVE_IEEEFP_H
43643 #include <ieeefp.h>
43644 #endif
43647 main ()
43649 _log10f(0);
43651 return 0;
43653 _ACEOF
43654 if ac_fn_cxx_try_compile "$LINENO"; then :
43655 glibcxx_cv_func__log10f_use=yes
43656 else
43657 glibcxx_cv_func__log10f_use=no
43659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43660 ac_ext=c
43661 ac_cpp='$CPP $CPPFLAGS'
43662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
43671 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
43673 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
43674 for ac_func in _log10f
43675 do :
43676 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
43677 if test "x$ac_cv_func__log10f" = x""yes; then :
43678 cat >>confdefs.h <<_ACEOF
43679 #define HAVE__LOG10F 1
43680 _ACEOF
43683 done
43692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
43693 $as_echo_n "checking for modff declaration... " >&6; }
43694 if test x${glibcxx_cv_func_modff_use+set} != xset; then
43695 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
43696 $as_echo_n "(cached) " >&6
43697 else
43700 ac_ext=cpp
43701 ac_cpp='$CXXCPP $CPPFLAGS'
43702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43707 /* end confdefs.h. */
43708 #include <math.h>
43710 main ()
43712 modff(0, 0);
43714 return 0;
43716 _ACEOF
43717 if ac_fn_cxx_try_compile "$LINENO"; then :
43718 glibcxx_cv_func_modff_use=yes
43719 else
43720 glibcxx_cv_func_modff_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_modff_use" >&5
43734 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
43736 if test x$glibcxx_cv_func_modff_use = x"yes"; then
43737 for ac_func in modff
43738 do :
43739 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
43740 if test "x$ac_cv_func_modff" = x""yes; then :
43741 cat >>confdefs.h <<_ACEOF
43742 #define HAVE_MODFF 1
43743 _ACEOF
43746 done
43748 else
43750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
43751 $as_echo_n "checking for _modff declaration... " >&6; }
43752 if test x${glibcxx_cv_func__modff_use+set} != xset; then
43753 if test "${glibcxx_cv_func__modff_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>
43768 main ()
43770 _modff(0, 0);
43772 return 0;
43774 _ACEOF
43775 if ac_fn_cxx_try_compile "$LINENO"; then :
43776 glibcxx_cv_func__modff_use=yes
43777 else
43778 glibcxx_cv_func__modff_use=no
43780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43781 ac_ext=c
43782 ac_cpp='$CPP $CPPFLAGS'
43783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
43792 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
43794 if test x$glibcxx_cv_func__modff_use = x"yes"; then
43795 for ac_func in _modff
43796 do :
43797 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
43798 if test "x$ac_cv_func__modff" = x""yes; then :
43799 cat >>confdefs.h <<_ACEOF
43800 #define HAVE__MODFF 1
43801 _ACEOF
43804 done
43813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
43814 $as_echo_n "checking for modf declaration... " >&6; }
43815 if test x${glibcxx_cv_func_modf_use+set} != xset; then
43816 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
43817 $as_echo_n "(cached) " >&6
43818 else
43821 ac_ext=cpp
43822 ac_cpp='$CXXCPP $CPPFLAGS'
43823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43828 /* end confdefs.h. */
43829 #include <math.h>
43831 main ()
43833 modf(0, 0);
43835 return 0;
43837 _ACEOF
43838 if ac_fn_cxx_try_compile "$LINENO"; then :
43839 glibcxx_cv_func_modf_use=yes
43840 else
43841 glibcxx_cv_func_modf_use=no
43843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43844 ac_ext=c
43845 ac_cpp='$CPP $CPPFLAGS'
43846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
43855 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
43857 if test x$glibcxx_cv_func_modf_use = x"yes"; then
43858 for ac_func in modf
43859 do :
43860 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
43861 if test "x$ac_cv_func_modf" = x""yes; then :
43862 cat >>confdefs.h <<_ACEOF
43863 #define HAVE_MODF 1
43864 _ACEOF
43867 done
43869 else
43871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
43872 $as_echo_n "checking for _modf declaration... " >&6; }
43873 if test x${glibcxx_cv_func__modf_use+set} != xset; then
43874 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
43875 $as_echo_n "(cached) " >&6
43876 else
43879 ac_ext=cpp
43880 ac_cpp='$CXXCPP $CPPFLAGS'
43881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43886 /* end confdefs.h. */
43887 #include <math.h>
43889 main ()
43891 _modf(0, 0);
43893 return 0;
43895 _ACEOF
43896 if ac_fn_cxx_try_compile "$LINENO"; then :
43897 glibcxx_cv_func__modf_use=yes
43898 else
43899 glibcxx_cv_func__modf_use=no
43901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43902 ac_ext=c
43903 ac_cpp='$CPP $CPPFLAGS'
43904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
43913 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
43915 if test x$glibcxx_cv_func__modf_use = x"yes"; then
43916 for ac_func in _modf
43917 do :
43918 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
43919 if test "x$ac_cv_func__modf" = x""yes; then :
43920 cat >>confdefs.h <<_ACEOF
43921 #define HAVE__MODF 1
43922 _ACEOF
43925 done
43934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
43935 $as_echo_n "checking for powf declaration... " >&6; }
43936 if test x${glibcxx_cv_func_powf_use+set} != xset; then
43937 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
43938 $as_echo_n "(cached) " >&6
43939 else
43942 ac_ext=cpp
43943 ac_cpp='$CXXCPP $CPPFLAGS'
43944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43949 /* end confdefs.h. */
43950 #include <math.h>
43952 main ()
43954 powf(0, 0);
43956 return 0;
43958 _ACEOF
43959 if ac_fn_cxx_try_compile "$LINENO"; then :
43960 glibcxx_cv_func_powf_use=yes
43961 else
43962 glibcxx_cv_func_powf_use=no
43964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43965 ac_ext=c
43966 ac_cpp='$CPP $CPPFLAGS'
43967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
43976 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
43978 if test x$glibcxx_cv_func_powf_use = x"yes"; then
43979 for ac_func in powf
43980 do :
43981 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
43982 if test "x$ac_cv_func_powf" = x""yes; then :
43983 cat >>confdefs.h <<_ACEOF
43984 #define HAVE_POWF 1
43985 _ACEOF
43988 done
43990 else
43992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
43993 $as_echo_n "checking for _powf declaration... " >&6; }
43994 if test x${glibcxx_cv_func__powf_use+set} != xset; then
43995 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
43996 $as_echo_n "(cached) " >&6
43997 else
44000 ac_ext=cpp
44001 ac_cpp='$CXXCPP $CPPFLAGS'
44002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44007 /* end confdefs.h. */
44008 #include <math.h>
44010 main ()
44012 _powf(0, 0);
44014 return 0;
44016 _ACEOF
44017 if ac_fn_cxx_try_compile "$LINENO"; then :
44018 glibcxx_cv_func__powf_use=yes
44019 else
44020 glibcxx_cv_func__powf_use=no
44022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44023 ac_ext=c
44024 ac_cpp='$CPP $CPPFLAGS'
44025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
44034 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
44036 if test x$glibcxx_cv_func__powf_use = x"yes"; then
44037 for ac_func in _powf
44038 do :
44039 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
44040 if test "x$ac_cv_func__powf" = x""yes; then :
44041 cat >>confdefs.h <<_ACEOF
44042 #define HAVE__POWF 1
44043 _ACEOF
44046 done
44055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
44056 $as_echo_n "checking for sqrtf declaration... " >&6; }
44057 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
44058 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
44059 $as_echo_n "(cached) " >&6
44060 else
44063 ac_ext=cpp
44064 ac_cpp='$CXXCPP $CPPFLAGS'
44065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44070 /* end confdefs.h. */
44071 #include <math.h>
44072 #ifdef HAVE_IEEEFP_H
44073 #include <ieeefp.h>
44074 #endif
44077 main ()
44079 sqrtf(0);
44081 return 0;
44083 _ACEOF
44084 if ac_fn_cxx_try_compile "$LINENO"; then :
44085 glibcxx_cv_func_sqrtf_use=yes
44086 else
44087 glibcxx_cv_func_sqrtf_use=no
44089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44090 ac_ext=c
44091 ac_cpp='$CPP $CPPFLAGS'
44092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
44101 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
44103 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
44104 for ac_func in sqrtf
44105 do :
44106 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
44107 if test "x$ac_cv_func_sqrtf" = x""yes; then :
44108 cat >>confdefs.h <<_ACEOF
44109 #define HAVE_SQRTF 1
44110 _ACEOF
44113 done
44115 else
44117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
44118 $as_echo_n "checking for _sqrtf declaration... " >&6; }
44119 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
44120 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
44121 $as_echo_n "(cached) " >&6
44122 else
44125 ac_ext=cpp
44126 ac_cpp='$CXXCPP $CPPFLAGS'
44127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44132 /* end confdefs.h. */
44133 #include <math.h>
44134 #ifdef HAVE_IEEEFP_H
44135 #include <ieeefp.h>
44136 #endif
44139 main ()
44141 _sqrtf(0);
44143 return 0;
44145 _ACEOF
44146 if ac_fn_cxx_try_compile "$LINENO"; then :
44147 glibcxx_cv_func__sqrtf_use=yes
44148 else
44149 glibcxx_cv_func__sqrtf_use=no
44151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44152 ac_ext=c
44153 ac_cpp='$CPP $CPPFLAGS'
44154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
44163 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
44165 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
44166 for ac_func in _sqrtf
44167 do :
44168 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
44169 if test "x$ac_cv_func__sqrtf" = x""yes; then :
44170 cat >>confdefs.h <<_ACEOF
44171 #define HAVE__SQRTF 1
44172 _ACEOF
44175 done
44184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
44185 $as_echo_n "checking for sincosf declaration... " >&6; }
44186 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
44187 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
44188 $as_echo_n "(cached) " >&6
44189 else
44192 ac_ext=cpp
44193 ac_cpp='$CXXCPP $CPPFLAGS'
44194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44199 /* end confdefs.h. */
44200 #include <math.h>
44202 main ()
44204 sincosf(0, 0, 0);
44206 return 0;
44208 _ACEOF
44209 if ac_fn_cxx_try_compile "$LINENO"; then :
44210 glibcxx_cv_func_sincosf_use=yes
44211 else
44212 glibcxx_cv_func_sincosf_use=no
44214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44215 ac_ext=c
44216 ac_cpp='$CPP $CPPFLAGS'
44217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
44226 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
44228 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
44229 for ac_func in sincosf
44230 do :
44231 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
44232 if test "x$ac_cv_func_sincosf" = x""yes; then :
44233 cat >>confdefs.h <<_ACEOF
44234 #define HAVE_SINCOSF 1
44235 _ACEOF
44238 done
44240 else
44242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
44243 $as_echo_n "checking for _sincosf declaration... " >&6; }
44244 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
44245 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
44246 $as_echo_n "(cached) " >&6
44247 else
44250 ac_ext=cpp
44251 ac_cpp='$CXXCPP $CPPFLAGS'
44252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44257 /* end confdefs.h. */
44258 #include <math.h>
44260 main ()
44262 _sincosf(0, 0, 0);
44264 return 0;
44266 _ACEOF
44267 if ac_fn_cxx_try_compile "$LINENO"; then :
44268 glibcxx_cv_func__sincosf_use=yes
44269 else
44270 glibcxx_cv_func__sincosf_use=no
44272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44273 ac_ext=c
44274 ac_cpp='$CPP $CPPFLAGS'
44275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
44284 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
44286 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
44287 for ac_func in _sincosf
44288 do :
44289 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
44290 if test "x$ac_cv_func__sincosf" = x""yes; then :
44291 cat >>confdefs.h <<_ACEOF
44292 #define HAVE__SINCOSF 1
44293 _ACEOF
44296 done
44305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
44306 $as_echo_n "checking for finitef declaration... " >&6; }
44307 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
44308 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
44309 $as_echo_n "(cached) " >&6
44310 else
44313 ac_ext=cpp
44314 ac_cpp='$CXXCPP $CPPFLAGS'
44315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44320 /* end confdefs.h. */
44321 #include <math.h>
44322 #ifdef HAVE_IEEEFP_H
44323 #include <ieeefp.h>
44324 #endif
44327 main ()
44329 finitef(0);
44331 return 0;
44333 _ACEOF
44334 if ac_fn_cxx_try_compile "$LINENO"; then :
44335 glibcxx_cv_func_finitef_use=yes
44336 else
44337 glibcxx_cv_func_finitef_use=no
44339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44340 ac_ext=c
44341 ac_cpp='$CPP $CPPFLAGS'
44342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
44351 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
44353 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
44354 for ac_func in finitef
44355 do :
44356 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
44357 if test "x$ac_cv_func_finitef" = x""yes; then :
44358 cat >>confdefs.h <<_ACEOF
44359 #define HAVE_FINITEF 1
44360 _ACEOF
44363 done
44365 else
44367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
44368 $as_echo_n "checking for _finitef declaration... " >&6; }
44369 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
44370 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
44371 $as_echo_n "(cached) " >&6
44372 else
44375 ac_ext=cpp
44376 ac_cpp='$CXXCPP $CPPFLAGS'
44377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44382 /* end confdefs.h. */
44383 #include <math.h>
44384 #ifdef HAVE_IEEEFP_H
44385 #include <ieeefp.h>
44386 #endif
44389 main ()
44391 _finitef(0);
44393 return 0;
44395 _ACEOF
44396 if ac_fn_cxx_try_compile "$LINENO"; then :
44397 glibcxx_cv_func__finitef_use=yes
44398 else
44399 glibcxx_cv_func__finitef_use=no
44401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44402 ac_ext=c
44403 ac_cpp='$CPP $CPPFLAGS'
44404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
44413 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
44415 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
44416 for ac_func in _finitef
44417 do :
44418 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
44419 if test "x$ac_cv_func__finitef" = x""yes; then :
44420 cat >>confdefs.h <<_ACEOF
44421 #define HAVE__FINITEF 1
44422 _ACEOF
44425 done
44434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
44435 $as_echo_n "checking for long double trig functions... " >&6; }
44436 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
44437 $as_echo_n "(cached) " >&6
44438 else
44441 ac_ext=cpp
44442 ac_cpp='$CXXCPP $CPPFLAGS'
44443 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44444 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44445 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44448 /* end confdefs.h. */
44449 #include <math.h>
44451 main ()
44453 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
44455 return 0;
44457 _ACEOF
44458 if ac_fn_cxx_try_compile "$LINENO"; then :
44459 glibcxx_cv_func_long_double_trig_use=yes
44460 else
44461 glibcxx_cv_func_long_double_trig_use=no
44463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44464 ac_ext=c
44465 ac_cpp='$CPP $CPPFLAGS'
44466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
44473 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
44474 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
44475 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
44476 do :
44477 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44478 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44479 eval as_val=\$$as_ac_var
44480 if test "x$as_val" = x""yes; then :
44481 cat >>confdefs.h <<_ACEOF
44482 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44483 _ACEOF
44486 done
44488 else
44489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
44490 $as_echo_n "checking for _long double trig functions... " >&6; }
44491 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
44492 $as_echo_n "(cached) " >&6
44493 else
44496 ac_ext=cpp
44497 ac_cpp='$CXXCPP $CPPFLAGS'
44498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44503 /* end confdefs.h. */
44504 #include <math.h>
44506 main ()
44508 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
44510 return 0;
44512 _ACEOF
44513 if ac_fn_cxx_try_compile "$LINENO"; then :
44514 glibcxx_cv_func__long_double_trig_use=yes
44515 else
44516 glibcxx_cv_func__long_double_trig_use=no
44518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44519 ac_ext=c
44520 ac_cpp='$CPP $CPPFLAGS'
44521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
44528 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
44529 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
44530 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
44531 do :
44532 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44533 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44534 eval as_val=\$$as_ac_var
44535 if test "x$as_val" = x""yes; then :
44536 cat >>confdefs.h <<_ACEOF
44537 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44538 _ACEOF
44541 done
44550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
44551 $as_echo_n "checking for long double round functions... " >&6; }
44552 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
44553 $as_echo_n "(cached) " >&6
44554 else
44557 ac_ext=cpp
44558 ac_cpp='$CXXCPP $CPPFLAGS'
44559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44564 /* end confdefs.h. */
44565 #include <math.h>
44567 main ()
44569 ceill (0); floorl (0);
44571 return 0;
44573 _ACEOF
44574 if ac_fn_cxx_try_compile "$LINENO"; then :
44575 glibcxx_cv_func_long_double_round_use=yes
44576 else
44577 glibcxx_cv_func_long_double_round_use=no
44579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44580 ac_ext=c
44581 ac_cpp='$CPP $CPPFLAGS'
44582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
44589 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
44590 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
44591 for ac_func in ceill floorl
44592 do :
44593 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44594 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44595 eval as_val=\$$as_ac_var
44596 if test "x$as_val" = x""yes; then :
44597 cat >>confdefs.h <<_ACEOF
44598 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44599 _ACEOF
44602 done
44604 else
44605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
44606 $as_echo_n "checking for _long double round functions... " >&6; }
44607 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
44608 $as_echo_n "(cached) " >&6
44609 else
44612 ac_ext=cpp
44613 ac_cpp='$CXXCPP $CPPFLAGS'
44614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44619 /* end confdefs.h. */
44620 #include <math.h>
44622 main ()
44624 _ceill (0); _floorl (0);
44626 return 0;
44628 _ACEOF
44629 if ac_fn_cxx_try_compile "$LINENO"; then :
44630 glibcxx_cv_func__long_double_round_use=yes
44631 else
44632 glibcxx_cv_func__long_double_round_use=no
44634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44635 ac_ext=c
44636 ac_cpp='$CPP $CPPFLAGS'
44637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
44644 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
44645 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
44646 for ac_func in _ceill _floorl
44647 do :
44648 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44649 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44650 eval as_val=\$$as_ac_var
44651 if test "x$as_val" = x""yes; then :
44652 cat >>confdefs.h <<_ACEOF
44653 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44654 _ACEOF
44657 done
44667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
44668 $as_echo_n "checking for isnanl declaration... " >&6; }
44669 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
44670 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
44671 $as_echo_n "(cached) " >&6
44672 else
44675 ac_ext=cpp
44676 ac_cpp='$CXXCPP $CPPFLAGS'
44677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44682 /* end confdefs.h. */
44683 #include <math.h>
44684 #ifdef HAVE_IEEEFP_H
44685 #include <ieeefp.h>
44686 #endif
44689 main ()
44691 isnanl(0);
44693 return 0;
44695 _ACEOF
44696 if ac_fn_cxx_try_compile "$LINENO"; then :
44697 glibcxx_cv_func_isnanl_use=yes
44698 else
44699 glibcxx_cv_func_isnanl_use=no
44701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44702 ac_ext=c
44703 ac_cpp='$CPP $CPPFLAGS'
44704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
44713 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
44715 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
44716 for ac_func in isnanl
44717 do :
44718 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
44719 if test "x$ac_cv_func_isnanl" = x""yes; then :
44720 cat >>confdefs.h <<_ACEOF
44721 #define HAVE_ISNANL 1
44722 _ACEOF
44725 done
44727 else
44729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
44730 $as_echo_n "checking for _isnanl declaration... " >&6; }
44731 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
44732 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
44733 $as_echo_n "(cached) " >&6
44734 else
44737 ac_ext=cpp
44738 ac_cpp='$CXXCPP $CPPFLAGS'
44739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44744 /* end confdefs.h. */
44745 #include <math.h>
44746 #ifdef HAVE_IEEEFP_H
44747 #include <ieeefp.h>
44748 #endif
44751 main ()
44753 _isnanl(0);
44755 return 0;
44757 _ACEOF
44758 if ac_fn_cxx_try_compile "$LINENO"; then :
44759 glibcxx_cv_func__isnanl_use=yes
44760 else
44761 glibcxx_cv_func__isnanl_use=no
44763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44764 ac_ext=c
44765 ac_cpp='$CPP $CPPFLAGS'
44766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
44775 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
44777 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
44778 for ac_func in _isnanl
44779 do :
44780 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
44781 if test "x$ac_cv_func__isnanl" = x""yes; then :
44782 cat >>confdefs.h <<_ACEOF
44783 #define HAVE__ISNANL 1
44784 _ACEOF
44787 done
44796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
44797 $as_echo_n "checking for isinfl declaration... " >&6; }
44798 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
44799 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
44800 $as_echo_n "(cached) " >&6
44801 else
44804 ac_ext=cpp
44805 ac_cpp='$CXXCPP $CPPFLAGS'
44806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44811 /* end confdefs.h. */
44812 #include <math.h>
44813 #ifdef HAVE_IEEEFP_H
44814 #include <ieeefp.h>
44815 #endif
44818 main ()
44820 isinfl(0);
44822 return 0;
44824 _ACEOF
44825 if ac_fn_cxx_try_compile "$LINENO"; then :
44826 glibcxx_cv_func_isinfl_use=yes
44827 else
44828 glibcxx_cv_func_isinfl_use=no
44830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44831 ac_ext=c
44832 ac_cpp='$CPP $CPPFLAGS'
44833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
44842 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
44844 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
44845 for ac_func in isinfl
44846 do :
44847 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
44848 if test "x$ac_cv_func_isinfl" = x""yes; then :
44849 cat >>confdefs.h <<_ACEOF
44850 #define HAVE_ISINFL 1
44851 _ACEOF
44854 done
44856 else
44858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
44859 $as_echo_n "checking for _isinfl declaration... " >&6; }
44860 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
44861 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
44862 $as_echo_n "(cached) " >&6
44863 else
44866 ac_ext=cpp
44867 ac_cpp='$CXXCPP $CPPFLAGS'
44868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44873 /* end confdefs.h. */
44874 #include <math.h>
44875 #ifdef HAVE_IEEEFP_H
44876 #include <ieeefp.h>
44877 #endif
44880 main ()
44882 _isinfl(0);
44884 return 0;
44886 _ACEOF
44887 if ac_fn_cxx_try_compile "$LINENO"; then :
44888 glibcxx_cv_func__isinfl_use=yes
44889 else
44890 glibcxx_cv_func__isinfl_use=no
44892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44893 ac_ext=c
44894 ac_cpp='$CPP $CPPFLAGS'
44895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
44904 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
44906 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
44907 for ac_func in _isinfl
44908 do :
44909 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
44910 if test "x$ac_cv_func__isinfl" = x""yes; then :
44911 cat >>confdefs.h <<_ACEOF
44912 #define HAVE__ISINFL 1
44913 _ACEOF
44916 done
44925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
44926 $as_echo_n "checking for atan2l declaration... " >&6; }
44927 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
44928 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
44929 $as_echo_n "(cached) " >&6
44930 else
44933 ac_ext=cpp
44934 ac_cpp='$CXXCPP $CPPFLAGS'
44935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44940 /* end confdefs.h. */
44941 #include <math.h>
44943 main ()
44945 atan2l(0, 0);
44947 return 0;
44949 _ACEOF
44950 if ac_fn_cxx_try_compile "$LINENO"; then :
44951 glibcxx_cv_func_atan2l_use=yes
44952 else
44953 glibcxx_cv_func_atan2l_use=no
44955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44956 ac_ext=c
44957 ac_cpp='$CPP $CPPFLAGS'
44958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
44967 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
44969 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
44970 for ac_func in atan2l
44971 do :
44972 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
44973 if test "x$ac_cv_func_atan2l" = x""yes; then :
44974 cat >>confdefs.h <<_ACEOF
44975 #define HAVE_ATAN2L 1
44976 _ACEOF
44979 done
44981 else
44983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
44984 $as_echo_n "checking for _atan2l declaration... " >&6; }
44985 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
44986 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
44987 $as_echo_n "(cached) " >&6
44988 else
44991 ac_ext=cpp
44992 ac_cpp='$CXXCPP $CPPFLAGS'
44993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44998 /* end confdefs.h. */
44999 #include <math.h>
45001 main ()
45003 _atan2l(0, 0);
45005 return 0;
45007 _ACEOF
45008 if ac_fn_cxx_try_compile "$LINENO"; then :
45009 glibcxx_cv_func__atan2l_use=yes
45010 else
45011 glibcxx_cv_func__atan2l_use=no
45013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45014 ac_ext=c
45015 ac_cpp='$CPP $CPPFLAGS'
45016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
45025 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
45027 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
45028 for ac_func in _atan2l
45029 do :
45030 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
45031 if test "x$ac_cv_func__atan2l" = x""yes; then :
45032 cat >>confdefs.h <<_ACEOF
45033 #define HAVE__ATAN2L 1
45034 _ACEOF
45037 done
45046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
45047 $as_echo_n "checking for expl declaration... " >&6; }
45048 if test x${glibcxx_cv_func_expl_use+set} != xset; then
45049 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
45050 $as_echo_n "(cached) " >&6
45051 else
45054 ac_ext=cpp
45055 ac_cpp='$CXXCPP $CPPFLAGS'
45056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45061 /* end confdefs.h. */
45062 #include <math.h>
45063 #ifdef HAVE_IEEEFP_H
45064 #include <ieeefp.h>
45065 #endif
45068 main ()
45070 expl(0);
45072 return 0;
45074 _ACEOF
45075 if ac_fn_cxx_try_compile "$LINENO"; then :
45076 glibcxx_cv_func_expl_use=yes
45077 else
45078 glibcxx_cv_func_expl_use=no
45080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45081 ac_ext=c
45082 ac_cpp='$CPP $CPPFLAGS'
45083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
45092 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
45094 if test x$glibcxx_cv_func_expl_use = x"yes"; then
45095 for ac_func in expl
45096 do :
45097 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
45098 if test "x$ac_cv_func_expl" = x""yes; then :
45099 cat >>confdefs.h <<_ACEOF
45100 #define HAVE_EXPL 1
45101 _ACEOF
45104 done
45106 else
45108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
45109 $as_echo_n "checking for _expl declaration... " >&6; }
45110 if test x${glibcxx_cv_func__expl_use+set} != xset; then
45111 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
45112 $as_echo_n "(cached) " >&6
45113 else
45116 ac_ext=cpp
45117 ac_cpp='$CXXCPP $CPPFLAGS'
45118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45123 /* end confdefs.h. */
45124 #include <math.h>
45125 #ifdef HAVE_IEEEFP_H
45126 #include <ieeefp.h>
45127 #endif
45130 main ()
45132 _expl(0);
45134 return 0;
45136 _ACEOF
45137 if ac_fn_cxx_try_compile "$LINENO"; then :
45138 glibcxx_cv_func__expl_use=yes
45139 else
45140 glibcxx_cv_func__expl_use=no
45142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45143 ac_ext=c
45144 ac_cpp='$CPP $CPPFLAGS'
45145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
45154 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
45156 if test x$glibcxx_cv_func__expl_use = x"yes"; then
45157 for ac_func in _expl
45158 do :
45159 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
45160 if test "x$ac_cv_func__expl" = x""yes; then :
45161 cat >>confdefs.h <<_ACEOF
45162 #define HAVE__EXPL 1
45163 _ACEOF
45166 done
45175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
45176 $as_echo_n "checking for fabsl declaration... " >&6; }
45177 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
45178 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
45179 $as_echo_n "(cached) " >&6
45180 else
45183 ac_ext=cpp
45184 ac_cpp='$CXXCPP $CPPFLAGS'
45185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45190 /* end confdefs.h. */
45191 #include <math.h>
45192 #ifdef HAVE_IEEEFP_H
45193 #include <ieeefp.h>
45194 #endif
45197 main ()
45199 fabsl(0);
45201 return 0;
45203 _ACEOF
45204 if ac_fn_cxx_try_compile "$LINENO"; then :
45205 glibcxx_cv_func_fabsl_use=yes
45206 else
45207 glibcxx_cv_func_fabsl_use=no
45209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45210 ac_ext=c
45211 ac_cpp='$CPP $CPPFLAGS'
45212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
45221 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
45223 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
45224 for ac_func in fabsl
45225 do :
45226 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
45227 if test "x$ac_cv_func_fabsl" = x""yes; then :
45228 cat >>confdefs.h <<_ACEOF
45229 #define HAVE_FABSL 1
45230 _ACEOF
45233 done
45235 else
45237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
45238 $as_echo_n "checking for _fabsl declaration... " >&6; }
45239 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
45240 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
45241 $as_echo_n "(cached) " >&6
45242 else
45245 ac_ext=cpp
45246 ac_cpp='$CXXCPP $CPPFLAGS'
45247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45252 /* end confdefs.h. */
45253 #include <math.h>
45254 #ifdef HAVE_IEEEFP_H
45255 #include <ieeefp.h>
45256 #endif
45259 main ()
45261 _fabsl(0);
45263 return 0;
45265 _ACEOF
45266 if ac_fn_cxx_try_compile "$LINENO"; then :
45267 glibcxx_cv_func__fabsl_use=yes
45268 else
45269 glibcxx_cv_func__fabsl_use=no
45271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45272 ac_ext=c
45273 ac_cpp='$CPP $CPPFLAGS'
45274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
45283 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
45285 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
45286 for ac_func in _fabsl
45287 do :
45288 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
45289 if test "x$ac_cv_func__fabsl" = x""yes; then :
45290 cat >>confdefs.h <<_ACEOF
45291 #define HAVE__FABSL 1
45292 _ACEOF
45295 done
45304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
45305 $as_echo_n "checking for fmodl declaration... " >&6; }
45306 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
45307 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
45308 $as_echo_n "(cached) " >&6
45309 else
45312 ac_ext=cpp
45313 ac_cpp='$CXXCPP $CPPFLAGS'
45314 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45315 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45316 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45319 /* end confdefs.h. */
45320 #include <math.h>
45322 main ()
45324 fmodl(0, 0);
45326 return 0;
45328 _ACEOF
45329 if ac_fn_cxx_try_compile "$LINENO"; then :
45330 glibcxx_cv_func_fmodl_use=yes
45331 else
45332 glibcxx_cv_func_fmodl_use=no
45334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45335 ac_ext=c
45336 ac_cpp='$CPP $CPPFLAGS'
45337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
45346 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
45348 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
45349 for ac_func in fmodl
45350 do :
45351 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
45352 if test "x$ac_cv_func_fmodl" = x""yes; then :
45353 cat >>confdefs.h <<_ACEOF
45354 #define HAVE_FMODL 1
45355 _ACEOF
45358 done
45360 else
45362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
45363 $as_echo_n "checking for _fmodl declaration... " >&6; }
45364 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
45365 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
45366 $as_echo_n "(cached) " >&6
45367 else
45370 ac_ext=cpp
45371 ac_cpp='$CXXCPP $CPPFLAGS'
45372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45377 /* end confdefs.h. */
45378 #include <math.h>
45380 main ()
45382 _fmodl(0, 0);
45384 return 0;
45386 _ACEOF
45387 if ac_fn_cxx_try_compile "$LINENO"; then :
45388 glibcxx_cv_func__fmodl_use=yes
45389 else
45390 glibcxx_cv_func__fmodl_use=no
45392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45393 ac_ext=c
45394 ac_cpp='$CPP $CPPFLAGS'
45395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
45404 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
45406 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
45407 for ac_func in _fmodl
45408 do :
45409 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
45410 if test "x$ac_cv_func__fmodl" = x""yes; then :
45411 cat >>confdefs.h <<_ACEOF
45412 #define HAVE__FMODL 1
45413 _ACEOF
45416 done
45425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
45426 $as_echo_n "checking for frexpl declaration... " >&6; }
45427 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
45428 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
45429 $as_echo_n "(cached) " >&6
45430 else
45433 ac_ext=cpp
45434 ac_cpp='$CXXCPP $CPPFLAGS'
45435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45440 /* end confdefs.h. */
45441 #include <math.h>
45443 main ()
45445 frexpl(0, 0);
45447 return 0;
45449 _ACEOF
45450 if ac_fn_cxx_try_compile "$LINENO"; then :
45451 glibcxx_cv_func_frexpl_use=yes
45452 else
45453 glibcxx_cv_func_frexpl_use=no
45455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45456 ac_ext=c
45457 ac_cpp='$CPP $CPPFLAGS'
45458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
45467 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
45469 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
45470 for ac_func in frexpl
45471 do :
45472 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
45473 if test "x$ac_cv_func_frexpl" = x""yes; then :
45474 cat >>confdefs.h <<_ACEOF
45475 #define HAVE_FREXPL 1
45476 _ACEOF
45479 done
45481 else
45483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
45484 $as_echo_n "checking for _frexpl declaration... " >&6; }
45485 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
45486 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
45487 $as_echo_n "(cached) " >&6
45488 else
45491 ac_ext=cpp
45492 ac_cpp='$CXXCPP $CPPFLAGS'
45493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45498 /* end confdefs.h. */
45499 #include <math.h>
45501 main ()
45503 _frexpl(0, 0);
45505 return 0;
45507 _ACEOF
45508 if ac_fn_cxx_try_compile "$LINENO"; then :
45509 glibcxx_cv_func__frexpl_use=yes
45510 else
45511 glibcxx_cv_func__frexpl_use=no
45513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45514 ac_ext=c
45515 ac_cpp='$CPP $CPPFLAGS'
45516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
45525 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
45527 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
45528 for ac_func in _frexpl
45529 do :
45530 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
45531 if test "x$ac_cv_func__frexpl" = x""yes; then :
45532 cat >>confdefs.h <<_ACEOF
45533 #define HAVE__FREXPL 1
45534 _ACEOF
45537 done
45546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
45547 $as_echo_n "checking for hypotl declaration... " >&6; }
45548 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
45549 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
45550 $as_echo_n "(cached) " >&6
45551 else
45554 ac_ext=cpp
45555 ac_cpp='$CXXCPP $CPPFLAGS'
45556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45561 /* end confdefs.h. */
45562 #include <math.h>
45564 main ()
45566 hypotl(0, 0);
45568 return 0;
45570 _ACEOF
45571 if ac_fn_cxx_try_compile "$LINENO"; then :
45572 glibcxx_cv_func_hypotl_use=yes
45573 else
45574 glibcxx_cv_func_hypotl_use=no
45576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45577 ac_ext=c
45578 ac_cpp='$CPP $CPPFLAGS'
45579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
45588 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
45590 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
45591 for ac_func in hypotl
45592 do :
45593 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
45594 if test "x$ac_cv_func_hypotl" = x""yes; then :
45595 cat >>confdefs.h <<_ACEOF
45596 #define HAVE_HYPOTL 1
45597 _ACEOF
45600 done
45602 else
45604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
45605 $as_echo_n "checking for _hypotl declaration... " >&6; }
45606 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
45607 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
45608 $as_echo_n "(cached) " >&6
45609 else
45612 ac_ext=cpp
45613 ac_cpp='$CXXCPP $CPPFLAGS'
45614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45619 /* end confdefs.h. */
45620 #include <math.h>
45622 main ()
45624 _hypotl(0, 0);
45626 return 0;
45628 _ACEOF
45629 if ac_fn_cxx_try_compile "$LINENO"; then :
45630 glibcxx_cv_func__hypotl_use=yes
45631 else
45632 glibcxx_cv_func__hypotl_use=no
45634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45635 ac_ext=c
45636 ac_cpp='$CPP $CPPFLAGS'
45637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
45646 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
45648 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
45649 for ac_func in _hypotl
45650 do :
45651 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
45652 if test "x$ac_cv_func__hypotl" = x""yes; then :
45653 cat >>confdefs.h <<_ACEOF
45654 #define HAVE__HYPOTL 1
45655 _ACEOF
45658 done
45667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
45668 $as_echo_n "checking for ldexpl declaration... " >&6; }
45669 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
45670 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
45671 $as_echo_n "(cached) " >&6
45672 else
45675 ac_ext=cpp
45676 ac_cpp='$CXXCPP $CPPFLAGS'
45677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45682 /* end confdefs.h. */
45683 #include <math.h>
45685 main ()
45687 ldexpl(0, 0);
45689 return 0;
45691 _ACEOF
45692 if ac_fn_cxx_try_compile "$LINENO"; then :
45693 glibcxx_cv_func_ldexpl_use=yes
45694 else
45695 glibcxx_cv_func_ldexpl_use=no
45697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45698 ac_ext=c
45699 ac_cpp='$CPP $CPPFLAGS'
45700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
45709 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
45711 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
45712 for ac_func in ldexpl
45713 do :
45714 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
45715 if test "x$ac_cv_func_ldexpl" = x""yes; then :
45716 cat >>confdefs.h <<_ACEOF
45717 #define HAVE_LDEXPL 1
45718 _ACEOF
45721 done
45723 else
45725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
45726 $as_echo_n "checking for _ldexpl declaration... " >&6; }
45727 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
45728 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
45729 $as_echo_n "(cached) " >&6
45730 else
45733 ac_ext=cpp
45734 ac_cpp='$CXXCPP $CPPFLAGS'
45735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45740 /* end confdefs.h. */
45741 #include <math.h>
45743 main ()
45745 _ldexpl(0, 0);
45747 return 0;
45749 _ACEOF
45750 if ac_fn_cxx_try_compile "$LINENO"; then :
45751 glibcxx_cv_func__ldexpl_use=yes
45752 else
45753 glibcxx_cv_func__ldexpl_use=no
45755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45756 ac_ext=c
45757 ac_cpp='$CPP $CPPFLAGS'
45758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
45767 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
45769 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
45770 for ac_func in _ldexpl
45771 do :
45772 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
45773 if test "x$ac_cv_func__ldexpl" = x""yes; then :
45774 cat >>confdefs.h <<_ACEOF
45775 #define HAVE__LDEXPL 1
45776 _ACEOF
45779 done
45788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
45789 $as_echo_n "checking for logl declaration... " >&6; }
45790 if test x${glibcxx_cv_func_logl_use+set} != xset; then
45791 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
45792 $as_echo_n "(cached) " >&6
45793 else
45796 ac_ext=cpp
45797 ac_cpp='$CXXCPP $CPPFLAGS'
45798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45803 /* end confdefs.h. */
45804 #include <math.h>
45805 #ifdef HAVE_IEEEFP_H
45806 #include <ieeefp.h>
45807 #endif
45810 main ()
45812 logl(0);
45814 return 0;
45816 _ACEOF
45817 if ac_fn_cxx_try_compile "$LINENO"; then :
45818 glibcxx_cv_func_logl_use=yes
45819 else
45820 glibcxx_cv_func_logl_use=no
45822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45823 ac_ext=c
45824 ac_cpp='$CPP $CPPFLAGS'
45825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
45834 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
45836 if test x$glibcxx_cv_func_logl_use = x"yes"; then
45837 for ac_func in logl
45838 do :
45839 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
45840 if test "x$ac_cv_func_logl" = x""yes; then :
45841 cat >>confdefs.h <<_ACEOF
45842 #define HAVE_LOGL 1
45843 _ACEOF
45846 done
45848 else
45850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
45851 $as_echo_n "checking for _logl declaration... " >&6; }
45852 if test x${glibcxx_cv_func__logl_use+set} != xset; then
45853 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
45854 $as_echo_n "(cached) " >&6
45855 else
45858 ac_ext=cpp
45859 ac_cpp='$CXXCPP $CPPFLAGS'
45860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45865 /* end confdefs.h. */
45866 #include <math.h>
45867 #ifdef HAVE_IEEEFP_H
45868 #include <ieeefp.h>
45869 #endif
45872 main ()
45874 _logl(0);
45876 return 0;
45878 _ACEOF
45879 if ac_fn_cxx_try_compile "$LINENO"; then :
45880 glibcxx_cv_func__logl_use=yes
45881 else
45882 glibcxx_cv_func__logl_use=no
45884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45885 ac_ext=c
45886 ac_cpp='$CPP $CPPFLAGS'
45887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
45896 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
45898 if test x$glibcxx_cv_func__logl_use = x"yes"; then
45899 for ac_func in _logl
45900 do :
45901 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
45902 if test "x$ac_cv_func__logl" = x""yes; then :
45903 cat >>confdefs.h <<_ACEOF
45904 #define HAVE__LOGL 1
45905 _ACEOF
45908 done
45917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
45918 $as_echo_n "checking for log10l declaration... " >&6; }
45919 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
45920 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
45921 $as_echo_n "(cached) " >&6
45922 else
45925 ac_ext=cpp
45926 ac_cpp='$CXXCPP $CPPFLAGS'
45927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45932 /* end confdefs.h. */
45933 #include <math.h>
45934 #ifdef HAVE_IEEEFP_H
45935 #include <ieeefp.h>
45936 #endif
45939 main ()
45941 log10l(0);
45943 return 0;
45945 _ACEOF
45946 if ac_fn_cxx_try_compile "$LINENO"; then :
45947 glibcxx_cv_func_log10l_use=yes
45948 else
45949 glibcxx_cv_func_log10l_use=no
45951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45952 ac_ext=c
45953 ac_cpp='$CPP $CPPFLAGS'
45954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
45963 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
45965 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
45966 for ac_func in log10l
45967 do :
45968 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
45969 if test "x$ac_cv_func_log10l" = x""yes; then :
45970 cat >>confdefs.h <<_ACEOF
45971 #define HAVE_LOG10L 1
45972 _ACEOF
45975 done
45977 else
45979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
45980 $as_echo_n "checking for _log10l declaration... " >&6; }
45981 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
45982 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
45983 $as_echo_n "(cached) " >&6
45984 else
45987 ac_ext=cpp
45988 ac_cpp='$CXXCPP $CPPFLAGS'
45989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45994 /* end confdefs.h. */
45995 #include <math.h>
45996 #ifdef HAVE_IEEEFP_H
45997 #include <ieeefp.h>
45998 #endif
46001 main ()
46003 _log10l(0);
46005 return 0;
46007 _ACEOF
46008 if ac_fn_cxx_try_compile "$LINENO"; then :
46009 glibcxx_cv_func__log10l_use=yes
46010 else
46011 glibcxx_cv_func__log10l_use=no
46013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46014 ac_ext=c
46015 ac_cpp='$CPP $CPPFLAGS'
46016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
46025 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
46027 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
46028 for ac_func in _log10l
46029 do :
46030 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
46031 if test "x$ac_cv_func__log10l" = x""yes; then :
46032 cat >>confdefs.h <<_ACEOF
46033 #define HAVE__LOG10L 1
46034 _ACEOF
46037 done
46046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
46047 $as_echo_n "checking for modfl declaration... " >&6; }
46048 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
46049 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
46050 $as_echo_n "(cached) " >&6
46051 else
46054 ac_ext=cpp
46055 ac_cpp='$CXXCPP $CPPFLAGS'
46056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46061 /* end confdefs.h. */
46062 #include <math.h>
46064 main ()
46066 modfl(0, 0);
46068 return 0;
46070 _ACEOF
46071 if ac_fn_cxx_try_compile "$LINENO"; then :
46072 glibcxx_cv_func_modfl_use=yes
46073 else
46074 glibcxx_cv_func_modfl_use=no
46076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46077 ac_ext=c
46078 ac_cpp='$CPP $CPPFLAGS'
46079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
46088 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
46090 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
46091 for ac_func in modfl
46092 do :
46093 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
46094 if test "x$ac_cv_func_modfl" = x""yes; then :
46095 cat >>confdefs.h <<_ACEOF
46096 #define HAVE_MODFL 1
46097 _ACEOF
46100 done
46102 else
46104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
46105 $as_echo_n "checking for _modfl declaration... " >&6; }
46106 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
46107 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
46108 $as_echo_n "(cached) " >&6
46109 else
46112 ac_ext=cpp
46113 ac_cpp='$CXXCPP $CPPFLAGS'
46114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46119 /* end confdefs.h. */
46120 #include <math.h>
46122 main ()
46124 _modfl(0, 0);
46126 return 0;
46128 _ACEOF
46129 if ac_fn_cxx_try_compile "$LINENO"; then :
46130 glibcxx_cv_func__modfl_use=yes
46131 else
46132 glibcxx_cv_func__modfl_use=no
46134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46135 ac_ext=c
46136 ac_cpp='$CPP $CPPFLAGS'
46137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
46146 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
46148 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
46149 for ac_func in _modfl
46150 do :
46151 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
46152 if test "x$ac_cv_func__modfl" = x""yes; then :
46153 cat >>confdefs.h <<_ACEOF
46154 #define HAVE__MODFL 1
46155 _ACEOF
46158 done
46167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
46168 $as_echo_n "checking for powl declaration... " >&6; }
46169 if test x${glibcxx_cv_func_powl_use+set} != xset; then
46170 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
46171 $as_echo_n "(cached) " >&6
46172 else
46175 ac_ext=cpp
46176 ac_cpp='$CXXCPP $CPPFLAGS'
46177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46182 /* end confdefs.h. */
46183 #include <math.h>
46185 main ()
46187 powl(0, 0);
46189 return 0;
46191 _ACEOF
46192 if ac_fn_cxx_try_compile "$LINENO"; then :
46193 glibcxx_cv_func_powl_use=yes
46194 else
46195 glibcxx_cv_func_powl_use=no
46197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46198 ac_ext=c
46199 ac_cpp='$CPP $CPPFLAGS'
46200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
46209 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
46211 if test x$glibcxx_cv_func_powl_use = x"yes"; then
46212 for ac_func in powl
46213 do :
46214 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
46215 if test "x$ac_cv_func_powl" = x""yes; then :
46216 cat >>confdefs.h <<_ACEOF
46217 #define HAVE_POWL 1
46218 _ACEOF
46221 done
46223 else
46225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
46226 $as_echo_n "checking for _powl declaration... " >&6; }
46227 if test x${glibcxx_cv_func__powl_use+set} != xset; then
46228 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
46229 $as_echo_n "(cached) " >&6
46230 else
46233 ac_ext=cpp
46234 ac_cpp='$CXXCPP $CPPFLAGS'
46235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46240 /* end confdefs.h. */
46241 #include <math.h>
46243 main ()
46245 _powl(0, 0);
46247 return 0;
46249 _ACEOF
46250 if ac_fn_cxx_try_compile "$LINENO"; then :
46251 glibcxx_cv_func__powl_use=yes
46252 else
46253 glibcxx_cv_func__powl_use=no
46255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46256 ac_ext=c
46257 ac_cpp='$CPP $CPPFLAGS'
46258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
46267 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
46269 if test x$glibcxx_cv_func__powl_use = x"yes"; then
46270 for ac_func in _powl
46271 do :
46272 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
46273 if test "x$ac_cv_func__powl" = x""yes; then :
46274 cat >>confdefs.h <<_ACEOF
46275 #define HAVE__POWL 1
46276 _ACEOF
46279 done
46288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
46289 $as_echo_n "checking for sqrtl declaration... " >&6; }
46290 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
46291 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
46292 $as_echo_n "(cached) " >&6
46293 else
46296 ac_ext=cpp
46297 ac_cpp='$CXXCPP $CPPFLAGS'
46298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46303 /* end confdefs.h. */
46304 #include <math.h>
46305 #ifdef HAVE_IEEEFP_H
46306 #include <ieeefp.h>
46307 #endif
46310 main ()
46312 sqrtl(0);
46314 return 0;
46316 _ACEOF
46317 if ac_fn_cxx_try_compile "$LINENO"; then :
46318 glibcxx_cv_func_sqrtl_use=yes
46319 else
46320 glibcxx_cv_func_sqrtl_use=no
46322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46323 ac_ext=c
46324 ac_cpp='$CPP $CPPFLAGS'
46325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
46334 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
46336 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
46337 for ac_func in sqrtl
46338 do :
46339 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
46340 if test "x$ac_cv_func_sqrtl" = x""yes; then :
46341 cat >>confdefs.h <<_ACEOF
46342 #define HAVE_SQRTL 1
46343 _ACEOF
46346 done
46348 else
46350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
46351 $as_echo_n "checking for _sqrtl declaration... " >&6; }
46352 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
46353 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
46354 $as_echo_n "(cached) " >&6
46355 else
46358 ac_ext=cpp
46359 ac_cpp='$CXXCPP $CPPFLAGS'
46360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46365 /* end confdefs.h. */
46366 #include <math.h>
46367 #ifdef HAVE_IEEEFP_H
46368 #include <ieeefp.h>
46369 #endif
46372 main ()
46374 _sqrtl(0);
46376 return 0;
46378 _ACEOF
46379 if ac_fn_cxx_try_compile "$LINENO"; then :
46380 glibcxx_cv_func__sqrtl_use=yes
46381 else
46382 glibcxx_cv_func__sqrtl_use=no
46384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46385 ac_ext=c
46386 ac_cpp='$CPP $CPPFLAGS'
46387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
46396 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
46398 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
46399 for ac_func in _sqrtl
46400 do :
46401 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
46402 if test "x$ac_cv_func__sqrtl" = x""yes; then :
46403 cat >>confdefs.h <<_ACEOF
46404 #define HAVE__SQRTL 1
46405 _ACEOF
46408 done
46417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
46418 $as_echo_n "checking for sincosl declaration... " >&6; }
46419 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
46420 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
46421 $as_echo_n "(cached) " >&6
46422 else
46425 ac_ext=cpp
46426 ac_cpp='$CXXCPP $CPPFLAGS'
46427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46432 /* end confdefs.h. */
46433 #include <math.h>
46435 main ()
46437 sincosl(0, 0, 0);
46439 return 0;
46441 _ACEOF
46442 if ac_fn_cxx_try_compile "$LINENO"; then :
46443 glibcxx_cv_func_sincosl_use=yes
46444 else
46445 glibcxx_cv_func_sincosl_use=no
46447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46448 ac_ext=c
46449 ac_cpp='$CPP $CPPFLAGS'
46450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
46459 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
46461 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
46462 for ac_func in sincosl
46463 do :
46464 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
46465 if test "x$ac_cv_func_sincosl" = x""yes; then :
46466 cat >>confdefs.h <<_ACEOF
46467 #define HAVE_SINCOSL 1
46468 _ACEOF
46471 done
46473 else
46475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
46476 $as_echo_n "checking for _sincosl declaration... " >&6; }
46477 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
46478 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
46479 $as_echo_n "(cached) " >&6
46480 else
46483 ac_ext=cpp
46484 ac_cpp='$CXXCPP $CPPFLAGS'
46485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46490 /* end confdefs.h. */
46491 #include <math.h>
46493 main ()
46495 _sincosl(0, 0, 0);
46497 return 0;
46499 _ACEOF
46500 if ac_fn_cxx_try_compile "$LINENO"; then :
46501 glibcxx_cv_func__sincosl_use=yes
46502 else
46503 glibcxx_cv_func__sincosl_use=no
46505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46506 ac_ext=c
46507 ac_cpp='$CPP $CPPFLAGS'
46508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
46517 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
46519 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
46520 for ac_func in _sincosl
46521 do :
46522 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
46523 if test "x$ac_cv_func__sincosl" = x""yes; then :
46524 cat >>confdefs.h <<_ACEOF
46525 #define HAVE__SINCOSL 1
46526 _ACEOF
46529 done
46538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
46539 $as_echo_n "checking for finitel declaration... " >&6; }
46540 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
46541 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
46542 $as_echo_n "(cached) " >&6
46543 else
46546 ac_ext=cpp
46547 ac_cpp='$CXXCPP $CPPFLAGS'
46548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46553 /* end confdefs.h. */
46554 #include <math.h>
46555 #ifdef HAVE_IEEEFP_H
46556 #include <ieeefp.h>
46557 #endif
46560 main ()
46562 finitel(0);
46564 return 0;
46566 _ACEOF
46567 if ac_fn_cxx_try_compile "$LINENO"; then :
46568 glibcxx_cv_func_finitel_use=yes
46569 else
46570 glibcxx_cv_func_finitel_use=no
46572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46573 ac_ext=c
46574 ac_cpp='$CPP $CPPFLAGS'
46575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
46584 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
46586 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
46587 for ac_func in finitel
46588 do :
46589 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
46590 if test "x$ac_cv_func_finitel" = x""yes; then :
46591 cat >>confdefs.h <<_ACEOF
46592 #define HAVE_FINITEL 1
46593 _ACEOF
46596 done
46598 else
46600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
46601 $as_echo_n "checking for _finitel declaration... " >&6; }
46602 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
46603 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
46604 $as_echo_n "(cached) " >&6
46605 else
46608 ac_ext=cpp
46609 ac_cpp='$CXXCPP $CPPFLAGS'
46610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46615 /* end confdefs.h. */
46616 #include <math.h>
46617 #ifdef HAVE_IEEEFP_H
46618 #include <ieeefp.h>
46619 #endif
46622 main ()
46624 _finitel(0);
46626 return 0;
46628 _ACEOF
46629 if ac_fn_cxx_try_compile "$LINENO"; then :
46630 glibcxx_cv_func__finitel_use=yes
46631 else
46632 glibcxx_cv_func__finitel_use=no
46634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46635 ac_ext=c
46636 ac_cpp='$CPP $CPPFLAGS'
46637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
46646 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
46648 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
46649 for ac_func in _finitel
46650 do :
46651 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
46652 if test "x$ac_cv_func__finitel" = x""yes; then :
46653 cat >>confdefs.h <<_ACEOF
46654 #define HAVE__FINITEL 1
46655 _ACEOF
46658 done
46666 LIBS="$ac_save_LIBS"
46667 CXXFLAGS="$ac_save_CXXFLAGS"
46670 ac_test_CXXFLAGS="${CXXFLAGS+set}"
46671 ac_save_CXXFLAGS="$CXXFLAGS"
46672 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
46675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
46676 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
46677 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
46678 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
46679 $as_echo_n "(cached) " >&6
46680 else
46683 ac_ext=cpp
46684 ac_cpp='$CXXCPP $CPPFLAGS'
46685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46690 /* end confdefs.h. */
46691 #include <stdlib.h>
46693 main ()
46695 at_quick_exit(0);
46697 return 0;
46699 _ACEOF
46700 if ac_fn_cxx_try_compile "$LINENO"; then :
46701 glibcxx_cv_func_at_quick_exit_use=yes
46702 else
46703 glibcxx_cv_func_at_quick_exit_use=no
46705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46706 ac_ext=c
46707 ac_cpp='$CPP $CPPFLAGS'
46708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
46717 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
46718 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
46719 for ac_func in at_quick_exit
46720 do :
46721 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
46722 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
46723 cat >>confdefs.h <<_ACEOF
46724 #define HAVE_AT_QUICK_EXIT 1
46725 _ACEOF
46728 done
46733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
46734 $as_echo_n "checking for quick_exit declaration... " >&6; }
46735 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
46736 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
46737 $as_echo_n "(cached) " >&6
46738 else
46741 ac_ext=cpp
46742 ac_cpp='$CXXCPP $CPPFLAGS'
46743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46748 /* end confdefs.h. */
46749 #include <stdlib.h>
46751 main ()
46753 quick_exit(0);
46755 return 0;
46757 _ACEOF
46758 if ac_fn_cxx_try_compile "$LINENO"; then :
46759 glibcxx_cv_func_quick_exit_use=yes
46760 else
46761 glibcxx_cv_func_quick_exit_use=no
46763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46764 ac_ext=c
46765 ac_cpp='$CPP $CPPFLAGS'
46766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
46775 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
46776 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
46777 for ac_func in quick_exit
46778 do :
46779 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
46780 if test "x$ac_cv_func_quick_exit" = x""yes; then :
46781 cat >>confdefs.h <<_ACEOF
46782 #define HAVE_QUICK_EXIT 1
46783 _ACEOF
46786 done
46791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
46792 $as_echo_n "checking for strtold declaration... " >&6; }
46793 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
46794 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
46795 $as_echo_n "(cached) " >&6
46796 else
46799 ac_ext=cpp
46800 ac_cpp='$CXXCPP $CPPFLAGS'
46801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46806 /* end confdefs.h. */
46807 #include <stdlib.h>
46809 main ()
46811 strtold(0, 0);
46813 return 0;
46815 _ACEOF
46816 if ac_fn_cxx_try_compile "$LINENO"; then :
46817 glibcxx_cv_func_strtold_use=yes
46818 else
46819 glibcxx_cv_func_strtold_use=no
46821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46822 ac_ext=c
46823 ac_cpp='$CPP $CPPFLAGS'
46824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
46833 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
46834 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
46835 for ac_func in strtold
46836 do :
46837 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
46838 if test "x$ac_cv_func_strtold" = x""yes; then :
46839 cat >>confdefs.h <<_ACEOF
46840 #define HAVE_STRTOLD 1
46841 _ACEOF
46844 done
46851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
46852 $as_echo_n "checking for strtof declaration... " >&6; }
46853 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
46854 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
46855 $as_echo_n "(cached) " >&6
46856 else
46859 ac_ext=cpp
46860 ac_cpp='$CXXCPP $CPPFLAGS'
46861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46866 /* end confdefs.h. */
46867 #include <stdlib.h>
46869 main ()
46871 strtof(0, 0);
46873 return 0;
46875 _ACEOF
46876 if ac_fn_cxx_try_compile "$LINENO"; then :
46877 glibcxx_cv_func_strtof_use=yes
46878 else
46879 glibcxx_cv_func_strtof_use=no
46881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46882 ac_ext=c
46883 ac_cpp='$CPP $CPPFLAGS'
46884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
46893 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
46894 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
46895 for ac_func in strtof
46896 do :
46897 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
46898 if test "x$ac_cv_func_strtof" = x""yes; then :
46899 cat >>confdefs.h <<_ACEOF
46900 #define HAVE_STRTOF 1
46901 _ACEOF
46904 done
46911 CXXFLAGS="$ac_save_CXXFLAGS"
46913 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
46915 # We don't yet support AIX's TLS ABI.
46916 #GCC_CHECK_TLS
46922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
46923 $as_echo_n "checking for iconv... " >&6; }
46924 if test "${am_cv_func_iconv+set}" = set; then :
46925 $as_echo_n "(cached) " >&6
46926 else
46928 am_cv_func_iconv="no, consider installing GNU libiconv"
46929 am_cv_lib_iconv=no
46930 am_save_CPPFLAGS="$CPPFLAGS"
46931 CPPFLAGS="$CPPFLAGS $INCICONV"
46932 if test x$gcc_no_link = xyes; then
46933 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46936 /* end confdefs.h. */
46937 #include <stdlib.h>
46938 #include <iconv.h>
46940 main ()
46942 iconv_t cd = iconv_open("","");
46943 iconv(cd,NULL,NULL,NULL,NULL);
46944 iconv_close(cd);
46946 return 0;
46948 _ACEOF
46949 if ac_fn_c_try_link "$LINENO"; then :
46950 am_cv_func_iconv=yes
46952 rm -f core conftest.err conftest.$ac_objext \
46953 conftest$ac_exeext conftest.$ac_ext
46954 CPPFLAGS="$am_save_CPPFLAGS"
46956 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
46957 for _libs in .libs _libs; do
46958 am_save_CPPFLAGS="$CPPFLAGS"
46959 am_save_LIBS="$LIBS"
46960 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
46961 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
46962 if test x$gcc_no_link = xyes; then
46963 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46966 /* end confdefs.h. */
46967 #include <stdlib.h>
46968 #include <iconv.h>
46970 main ()
46972 iconv_t cd = iconv_open("","");
46973 iconv(cd,NULL,NULL,NULL,NULL);
46974 iconv_close(cd);
46976 return 0;
46978 _ACEOF
46979 if ac_fn_c_try_link "$LINENO"; then :
46980 INCICONV="-I../libiconv/include"
46981 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
46982 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
46983 am_cv_lib_iconv=yes
46984 am_cv_func_iconv=yes
46986 rm -f core conftest.err conftest.$ac_objext \
46987 conftest$ac_exeext conftest.$ac_ext
46988 CPPFLAGS="$am_save_CPPFLAGS"
46989 LIBS="$am_save_LIBS"
46990 if test "$am_cv_func_iconv" = "yes"; then
46991 break
46993 done
46996 if test "$am_cv_func_iconv" != yes; then
46997 am_save_CPPFLAGS="$CPPFLAGS"
46998 am_save_LIBS="$LIBS"
46999 CPPFLAGS="$LIBS $INCICONV"
47000 LIBS="$LIBS $LIBICONV"
47001 if test x$gcc_no_link = xyes; then
47002 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47005 /* end confdefs.h. */
47006 #include <stdlib.h>
47007 #include <iconv.h>
47009 main ()
47011 iconv_t cd = iconv_open("","");
47012 iconv(cd,NULL,NULL,NULL,NULL);
47013 iconv_close(cd);
47015 return 0;
47017 _ACEOF
47018 if ac_fn_c_try_link "$LINENO"; then :
47019 am_cv_lib_iconv=yes
47020 am_cv_func_iconv=yes
47022 rm -f core conftest.err conftest.$ac_objext \
47023 conftest$ac_exeext conftest.$ac_ext
47024 CPPFLAGS="$am_save_CPPFLAGS"
47025 LIBS="$am_save_LIBS"
47029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
47030 $as_echo "$am_cv_func_iconv" >&6; }
47031 if test "$am_cv_func_iconv" = yes; then
47033 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
47036 if test "$am_cv_lib_iconv" = yes; then
47038 for element in $INCICONV; do
47039 haveit=
47040 for x in $CPPFLAGS; do
47042 acl_save_prefix="$prefix"
47043 prefix="$acl_final_prefix"
47044 acl_save_exec_prefix="$exec_prefix"
47045 exec_prefix="$acl_final_exec_prefix"
47046 eval x=\"$x\"
47047 exec_prefix="$acl_save_exec_prefix"
47048 prefix="$acl_save_prefix"
47050 if test "X$x" = "X$element"; then
47051 haveit=yes
47052 break
47054 done
47055 if test -z "$haveit"; then
47056 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
47058 done
47060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
47061 $as_echo_n "checking how to link with libiconv... " >&6; }
47062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
47063 $as_echo "$LIBICONV" >&6; }
47064 else
47065 LIBICONV=
47066 LTLIBICONV=
47071 if test "$am_cv_func_iconv" = yes; then
47072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
47073 $as_echo_n "checking for iconv declaration... " >&6; }
47074 if test "${am_cv_proto_iconv+set}" = set; then :
47075 $as_echo_n "(cached) " >&6
47076 else
47078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47079 /* end confdefs.h. */
47081 #include <stdlib.h>
47082 #include <iconv.h>
47083 extern
47084 #ifdef __cplusplus
47086 #endif
47087 #if defined(__STDC__) || defined(__cplusplus)
47088 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
47089 #else
47090 size_t iconv();
47091 #endif
47094 main ()
47098 return 0;
47100 _ACEOF
47101 if ac_fn_c_try_compile "$LINENO"; then :
47102 am_cv_proto_iconv_arg1=""
47103 else
47104 am_cv_proto_iconv_arg1="const"
47106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47107 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);"
47110 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
47111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
47112 }$am_cv_proto_iconv" >&5
47113 $as_echo "${ac_t:-
47114 }$am_cv_proto_iconv" >&6; }
47116 cat >>confdefs.h <<_ACEOF
47117 #define ICONV_CONST $am_cv_proto_iconv_arg1
47118 _ACEOF
47124 *-darwin*)
47125 # Darwin versions vary, but the linker should work in a cross environment,
47126 # so we just check for all the features here.
47127 # Check for available headers.
47129 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
47131 ac_test_CXXFLAGS="${CXXFLAGS+set}"
47132 ac_save_CXXFLAGS="$CXXFLAGS"
47133 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
47135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
47136 $as_echo_n "checking for sin in -lm... " >&6; }
47137 if test "${ac_cv_lib_m_sin+set}" = set; then :
47138 $as_echo_n "(cached) " >&6
47139 else
47140 ac_check_lib_save_LIBS=$LIBS
47141 LIBS="-lm $LIBS"
47142 if test x$gcc_no_link = xyes; then
47143 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47146 /* end confdefs.h. */
47148 /* Override any GCC internal prototype to avoid an error.
47149 Use char because int might match the return type of a GCC
47150 builtin and then its argument prototype would still apply. */
47151 #ifdef __cplusplus
47152 extern "C"
47153 #endif
47154 char sin ();
47156 main ()
47158 return sin ();
47160 return 0;
47162 _ACEOF
47163 if ac_fn_c_try_link "$LINENO"; then :
47164 ac_cv_lib_m_sin=yes
47165 else
47166 ac_cv_lib_m_sin=no
47168 rm -f core conftest.err conftest.$ac_objext \
47169 conftest$ac_exeext conftest.$ac_ext
47170 LIBS=$ac_check_lib_save_LIBS
47172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
47173 $as_echo "$ac_cv_lib_m_sin" >&6; }
47174 if test "x$ac_cv_lib_m_sin" = x""yes; then :
47175 libm="-lm"
47178 ac_save_LIBS="$LIBS"
47179 LIBS="$LIBS $libm"
47183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
47184 $as_echo_n "checking for isinf declaration... " >&6; }
47185 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
47186 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
47187 $as_echo_n "(cached) " >&6
47188 else
47191 ac_ext=cpp
47192 ac_cpp='$CXXCPP $CPPFLAGS'
47193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47198 /* end confdefs.h. */
47199 #include <math.h>
47200 #ifdef HAVE_IEEEFP_H
47201 #include <ieeefp.h>
47202 #endif
47205 main ()
47207 isinf(0);
47209 return 0;
47211 _ACEOF
47212 if ac_fn_cxx_try_compile "$LINENO"; then :
47213 glibcxx_cv_func_isinf_use=yes
47214 else
47215 glibcxx_cv_func_isinf_use=no
47217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47218 ac_ext=c
47219 ac_cpp='$CPP $CPPFLAGS'
47220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
47229 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
47231 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
47232 for ac_func in isinf
47233 do :
47234 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
47235 if test "x$ac_cv_func_isinf" = x""yes; then :
47236 cat >>confdefs.h <<_ACEOF
47237 #define HAVE_ISINF 1
47238 _ACEOF
47241 done
47243 else
47245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
47246 $as_echo_n "checking for _isinf declaration... " >&6; }
47247 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
47248 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
47249 $as_echo_n "(cached) " >&6
47250 else
47253 ac_ext=cpp
47254 ac_cpp='$CXXCPP $CPPFLAGS'
47255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47260 /* end confdefs.h. */
47261 #include <math.h>
47262 #ifdef HAVE_IEEEFP_H
47263 #include <ieeefp.h>
47264 #endif
47267 main ()
47269 _isinf(0);
47271 return 0;
47273 _ACEOF
47274 if ac_fn_cxx_try_compile "$LINENO"; then :
47275 glibcxx_cv_func__isinf_use=yes
47276 else
47277 glibcxx_cv_func__isinf_use=no
47279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47280 ac_ext=c
47281 ac_cpp='$CPP $CPPFLAGS'
47282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
47291 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
47293 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
47294 for ac_func in _isinf
47295 do :
47296 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
47297 if test "x$ac_cv_func__isinf" = x""yes; then :
47298 cat >>confdefs.h <<_ACEOF
47299 #define HAVE__ISINF 1
47300 _ACEOF
47303 done
47312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
47313 $as_echo_n "checking for isnan declaration... " >&6; }
47314 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
47315 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
47316 $as_echo_n "(cached) " >&6
47317 else
47320 ac_ext=cpp
47321 ac_cpp='$CXXCPP $CPPFLAGS'
47322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47327 /* end confdefs.h. */
47328 #include <math.h>
47329 #ifdef HAVE_IEEEFP_H
47330 #include <ieeefp.h>
47331 #endif
47334 main ()
47336 isnan(0);
47338 return 0;
47340 _ACEOF
47341 if ac_fn_cxx_try_compile "$LINENO"; then :
47342 glibcxx_cv_func_isnan_use=yes
47343 else
47344 glibcxx_cv_func_isnan_use=no
47346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47347 ac_ext=c
47348 ac_cpp='$CPP $CPPFLAGS'
47349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
47358 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
47360 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
47361 for ac_func in isnan
47362 do :
47363 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
47364 if test "x$ac_cv_func_isnan" = x""yes; then :
47365 cat >>confdefs.h <<_ACEOF
47366 #define HAVE_ISNAN 1
47367 _ACEOF
47370 done
47372 else
47374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
47375 $as_echo_n "checking for _isnan declaration... " >&6; }
47376 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
47377 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
47378 $as_echo_n "(cached) " >&6
47379 else
47382 ac_ext=cpp
47383 ac_cpp='$CXXCPP $CPPFLAGS'
47384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47389 /* end confdefs.h. */
47390 #include <math.h>
47391 #ifdef HAVE_IEEEFP_H
47392 #include <ieeefp.h>
47393 #endif
47396 main ()
47398 _isnan(0);
47400 return 0;
47402 _ACEOF
47403 if ac_fn_cxx_try_compile "$LINENO"; then :
47404 glibcxx_cv_func__isnan_use=yes
47405 else
47406 glibcxx_cv_func__isnan_use=no
47408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47409 ac_ext=c
47410 ac_cpp='$CPP $CPPFLAGS'
47411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
47420 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
47422 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
47423 for ac_func in _isnan
47424 do :
47425 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
47426 if test "x$ac_cv_func__isnan" = x""yes; then :
47427 cat >>confdefs.h <<_ACEOF
47428 #define HAVE__ISNAN 1
47429 _ACEOF
47432 done
47441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
47442 $as_echo_n "checking for finite declaration... " >&6; }
47443 if test x${glibcxx_cv_func_finite_use+set} != xset; then
47444 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
47445 $as_echo_n "(cached) " >&6
47446 else
47449 ac_ext=cpp
47450 ac_cpp='$CXXCPP $CPPFLAGS'
47451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47456 /* end confdefs.h. */
47457 #include <math.h>
47458 #ifdef HAVE_IEEEFP_H
47459 #include <ieeefp.h>
47460 #endif
47463 main ()
47465 finite(0);
47467 return 0;
47469 _ACEOF
47470 if ac_fn_cxx_try_compile "$LINENO"; then :
47471 glibcxx_cv_func_finite_use=yes
47472 else
47473 glibcxx_cv_func_finite_use=no
47475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47476 ac_ext=c
47477 ac_cpp='$CPP $CPPFLAGS'
47478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
47487 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
47489 if test x$glibcxx_cv_func_finite_use = x"yes"; then
47490 for ac_func in finite
47491 do :
47492 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
47493 if test "x$ac_cv_func_finite" = x""yes; then :
47494 cat >>confdefs.h <<_ACEOF
47495 #define HAVE_FINITE 1
47496 _ACEOF
47499 done
47501 else
47503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
47504 $as_echo_n "checking for _finite declaration... " >&6; }
47505 if test x${glibcxx_cv_func__finite_use+set} != xset; then
47506 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
47507 $as_echo_n "(cached) " >&6
47508 else
47511 ac_ext=cpp
47512 ac_cpp='$CXXCPP $CPPFLAGS'
47513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47518 /* end confdefs.h. */
47519 #include <math.h>
47520 #ifdef HAVE_IEEEFP_H
47521 #include <ieeefp.h>
47522 #endif
47525 main ()
47527 _finite(0);
47529 return 0;
47531 _ACEOF
47532 if ac_fn_cxx_try_compile "$LINENO"; then :
47533 glibcxx_cv_func__finite_use=yes
47534 else
47535 glibcxx_cv_func__finite_use=no
47537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47538 ac_ext=c
47539 ac_cpp='$CPP $CPPFLAGS'
47540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
47549 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
47551 if test x$glibcxx_cv_func__finite_use = x"yes"; then
47552 for ac_func in _finite
47553 do :
47554 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
47555 if test "x$ac_cv_func__finite" = x""yes; then :
47556 cat >>confdefs.h <<_ACEOF
47557 #define HAVE__FINITE 1
47558 _ACEOF
47561 done
47570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
47571 $as_echo_n "checking for sincos declaration... " >&6; }
47572 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
47573 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
47574 $as_echo_n "(cached) " >&6
47575 else
47578 ac_ext=cpp
47579 ac_cpp='$CXXCPP $CPPFLAGS'
47580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47585 /* end confdefs.h. */
47586 #include <math.h>
47588 main ()
47590 sincos(0, 0, 0);
47592 return 0;
47594 _ACEOF
47595 if ac_fn_cxx_try_compile "$LINENO"; then :
47596 glibcxx_cv_func_sincos_use=yes
47597 else
47598 glibcxx_cv_func_sincos_use=no
47600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47601 ac_ext=c
47602 ac_cpp='$CPP $CPPFLAGS'
47603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
47612 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
47614 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
47615 for ac_func in sincos
47616 do :
47617 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
47618 if test "x$ac_cv_func_sincos" = x""yes; then :
47619 cat >>confdefs.h <<_ACEOF
47620 #define HAVE_SINCOS 1
47621 _ACEOF
47624 done
47626 else
47628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
47629 $as_echo_n "checking for _sincos declaration... " >&6; }
47630 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
47631 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
47632 $as_echo_n "(cached) " >&6
47633 else
47636 ac_ext=cpp
47637 ac_cpp='$CXXCPP $CPPFLAGS'
47638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47643 /* end confdefs.h. */
47644 #include <math.h>
47646 main ()
47648 _sincos(0, 0, 0);
47650 return 0;
47652 _ACEOF
47653 if ac_fn_cxx_try_compile "$LINENO"; then :
47654 glibcxx_cv_func__sincos_use=yes
47655 else
47656 glibcxx_cv_func__sincos_use=no
47658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47659 ac_ext=c
47660 ac_cpp='$CPP $CPPFLAGS'
47661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
47670 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
47672 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
47673 for ac_func in _sincos
47674 do :
47675 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
47676 if test "x$ac_cv_func__sincos" = x""yes; then :
47677 cat >>confdefs.h <<_ACEOF
47678 #define HAVE__SINCOS 1
47679 _ACEOF
47682 done
47691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
47692 $as_echo_n "checking for fpclass declaration... " >&6; }
47693 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
47694 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
47695 $as_echo_n "(cached) " >&6
47696 else
47699 ac_ext=cpp
47700 ac_cpp='$CXXCPP $CPPFLAGS'
47701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47706 /* end confdefs.h. */
47707 #include <math.h>
47708 #ifdef HAVE_IEEEFP_H
47709 #include <ieeefp.h>
47710 #endif
47713 main ()
47715 fpclass(0);
47717 return 0;
47719 _ACEOF
47720 if ac_fn_cxx_try_compile "$LINENO"; then :
47721 glibcxx_cv_func_fpclass_use=yes
47722 else
47723 glibcxx_cv_func_fpclass_use=no
47725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47726 ac_ext=c
47727 ac_cpp='$CPP $CPPFLAGS'
47728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
47737 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
47739 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
47740 for ac_func in fpclass
47741 do :
47742 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
47743 if test "x$ac_cv_func_fpclass" = x""yes; then :
47744 cat >>confdefs.h <<_ACEOF
47745 #define HAVE_FPCLASS 1
47746 _ACEOF
47749 done
47751 else
47753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
47754 $as_echo_n "checking for _fpclass declaration... " >&6; }
47755 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
47756 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
47757 $as_echo_n "(cached) " >&6
47758 else
47761 ac_ext=cpp
47762 ac_cpp='$CXXCPP $CPPFLAGS'
47763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47768 /* end confdefs.h. */
47769 #include <math.h>
47770 #ifdef HAVE_IEEEFP_H
47771 #include <ieeefp.h>
47772 #endif
47775 main ()
47777 _fpclass(0);
47779 return 0;
47781 _ACEOF
47782 if ac_fn_cxx_try_compile "$LINENO"; then :
47783 glibcxx_cv_func__fpclass_use=yes
47784 else
47785 glibcxx_cv_func__fpclass_use=no
47787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47788 ac_ext=c
47789 ac_cpp='$CPP $CPPFLAGS'
47790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
47799 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
47801 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
47802 for ac_func in _fpclass
47803 do :
47804 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
47805 if test "x$ac_cv_func__fpclass" = x""yes; then :
47806 cat >>confdefs.h <<_ACEOF
47807 #define HAVE__FPCLASS 1
47808 _ACEOF
47811 done
47820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
47821 $as_echo_n "checking for qfpclass declaration... " >&6; }
47822 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
47823 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
47824 $as_echo_n "(cached) " >&6
47825 else
47828 ac_ext=cpp
47829 ac_cpp='$CXXCPP $CPPFLAGS'
47830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47835 /* end confdefs.h. */
47836 #include <math.h>
47837 #ifdef HAVE_IEEEFP_H
47838 #include <ieeefp.h>
47839 #endif
47842 main ()
47844 qfpclass(0);
47846 return 0;
47848 _ACEOF
47849 if ac_fn_cxx_try_compile "$LINENO"; then :
47850 glibcxx_cv_func_qfpclass_use=yes
47851 else
47852 glibcxx_cv_func_qfpclass_use=no
47854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47855 ac_ext=c
47856 ac_cpp='$CPP $CPPFLAGS'
47857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
47866 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
47868 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
47869 for ac_func in qfpclass
47870 do :
47871 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
47872 if test "x$ac_cv_func_qfpclass" = x""yes; then :
47873 cat >>confdefs.h <<_ACEOF
47874 #define HAVE_QFPCLASS 1
47875 _ACEOF
47878 done
47880 else
47882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
47883 $as_echo_n "checking for _qfpclass declaration... " >&6; }
47884 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
47885 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
47886 $as_echo_n "(cached) " >&6
47887 else
47890 ac_ext=cpp
47891 ac_cpp='$CXXCPP $CPPFLAGS'
47892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47897 /* end confdefs.h. */
47898 #include <math.h>
47899 #ifdef HAVE_IEEEFP_H
47900 #include <ieeefp.h>
47901 #endif
47904 main ()
47906 _qfpclass(0);
47908 return 0;
47910 _ACEOF
47911 if ac_fn_cxx_try_compile "$LINENO"; then :
47912 glibcxx_cv_func__qfpclass_use=yes
47913 else
47914 glibcxx_cv_func__qfpclass_use=no
47916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47917 ac_ext=c
47918 ac_cpp='$CPP $CPPFLAGS'
47919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
47928 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
47930 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
47931 for ac_func in _qfpclass
47932 do :
47933 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
47934 if test "x$ac_cv_func__qfpclass" = x""yes; then :
47935 cat >>confdefs.h <<_ACEOF
47936 #define HAVE__QFPCLASS 1
47937 _ACEOF
47940 done
47949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
47950 $as_echo_n "checking for hypot declaration... " >&6; }
47951 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
47952 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
47953 $as_echo_n "(cached) " >&6
47954 else
47957 ac_ext=cpp
47958 ac_cpp='$CXXCPP $CPPFLAGS'
47959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47964 /* end confdefs.h. */
47965 #include <math.h>
47967 main ()
47969 hypot(0, 0);
47971 return 0;
47973 _ACEOF
47974 if ac_fn_cxx_try_compile "$LINENO"; then :
47975 glibcxx_cv_func_hypot_use=yes
47976 else
47977 glibcxx_cv_func_hypot_use=no
47979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47980 ac_ext=c
47981 ac_cpp='$CPP $CPPFLAGS'
47982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
47991 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
47993 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
47994 for ac_func in hypot
47995 do :
47996 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
47997 if test "x$ac_cv_func_hypot" = x""yes; then :
47998 cat >>confdefs.h <<_ACEOF
47999 #define HAVE_HYPOT 1
48000 _ACEOF
48003 done
48005 else
48007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
48008 $as_echo_n "checking for _hypot declaration... " >&6; }
48009 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
48010 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
48011 $as_echo_n "(cached) " >&6
48012 else
48015 ac_ext=cpp
48016 ac_cpp='$CXXCPP $CPPFLAGS'
48017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48022 /* end confdefs.h. */
48023 #include <math.h>
48025 main ()
48027 _hypot(0, 0);
48029 return 0;
48031 _ACEOF
48032 if ac_fn_cxx_try_compile "$LINENO"; then :
48033 glibcxx_cv_func__hypot_use=yes
48034 else
48035 glibcxx_cv_func__hypot_use=no
48037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48038 ac_ext=c
48039 ac_cpp='$CPP $CPPFLAGS'
48040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
48049 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
48051 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
48052 for ac_func in _hypot
48053 do :
48054 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
48055 if test "x$ac_cv_func__hypot" = x""yes; then :
48056 cat >>confdefs.h <<_ACEOF
48057 #define HAVE__HYPOT 1
48058 _ACEOF
48061 done
48070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
48071 $as_echo_n "checking for float trig functions... " >&6; }
48072 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
48073 $as_echo_n "(cached) " >&6
48074 else
48077 ac_ext=cpp
48078 ac_cpp='$CXXCPP $CPPFLAGS'
48079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48084 /* end confdefs.h. */
48085 #include <math.h>
48087 main ()
48089 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
48091 return 0;
48093 _ACEOF
48094 if ac_fn_cxx_try_compile "$LINENO"; then :
48095 glibcxx_cv_func_float_trig_use=yes
48096 else
48097 glibcxx_cv_func_float_trig_use=no
48099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48100 ac_ext=c
48101 ac_cpp='$CPP $CPPFLAGS'
48102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
48109 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
48110 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
48111 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
48112 do :
48113 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48114 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48115 eval as_val=\$$as_ac_var
48116 if test "x$as_val" = x""yes; then :
48117 cat >>confdefs.h <<_ACEOF
48118 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48119 _ACEOF
48122 done
48124 else
48125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
48126 $as_echo_n "checking for _float trig functions... " >&6; }
48127 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
48128 $as_echo_n "(cached) " >&6
48129 else
48132 ac_ext=cpp
48133 ac_cpp='$CXXCPP $CPPFLAGS'
48134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48139 /* end confdefs.h. */
48140 #include <math.h>
48142 main ()
48144 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
48146 return 0;
48148 _ACEOF
48149 if ac_fn_cxx_try_compile "$LINENO"; then :
48150 glibcxx_cv_func__float_trig_use=yes
48151 else
48152 glibcxx_cv_func__float_trig_use=no
48154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48155 ac_ext=c
48156 ac_cpp='$CPP $CPPFLAGS'
48157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
48164 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
48165 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
48166 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
48167 do :
48168 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48169 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48170 eval as_val=\$$as_ac_var
48171 if test "x$as_val" = x""yes; then :
48172 cat >>confdefs.h <<_ACEOF
48173 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48174 _ACEOF
48177 done
48186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
48187 $as_echo_n "checking for float round functions... " >&6; }
48188 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
48189 $as_echo_n "(cached) " >&6
48190 else
48193 ac_ext=cpp
48194 ac_cpp='$CXXCPP $CPPFLAGS'
48195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48200 /* end confdefs.h. */
48201 #include <math.h>
48203 main ()
48205 ceilf (0); floorf (0);
48207 return 0;
48209 _ACEOF
48210 if ac_fn_cxx_try_compile "$LINENO"; then :
48211 glibcxx_cv_func_float_round_use=yes
48212 else
48213 glibcxx_cv_func_float_round_use=no
48215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48216 ac_ext=c
48217 ac_cpp='$CPP $CPPFLAGS'
48218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
48225 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
48226 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
48227 for ac_func in ceilf floorf
48228 do :
48229 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48230 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48231 eval as_val=\$$as_ac_var
48232 if test "x$as_val" = x""yes; then :
48233 cat >>confdefs.h <<_ACEOF
48234 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48235 _ACEOF
48238 done
48240 else
48241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
48242 $as_echo_n "checking for _float round functions... " >&6; }
48243 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
48244 $as_echo_n "(cached) " >&6
48245 else
48248 ac_ext=cpp
48249 ac_cpp='$CXXCPP $CPPFLAGS'
48250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48255 /* end confdefs.h. */
48256 #include <math.h>
48258 main ()
48260 _ceilf (0); _floorf (0);
48262 return 0;
48264 _ACEOF
48265 if ac_fn_cxx_try_compile "$LINENO"; then :
48266 glibcxx_cv_func__float_round_use=yes
48267 else
48268 glibcxx_cv_func__float_round_use=no
48270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48271 ac_ext=c
48272 ac_cpp='$CPP $CPPFLAGS'
48273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
48280 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
48281 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
48282 for ac_func in _ceilf _floorf
48283 do :
48284 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48285 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48286 eval as_val=\$$as_ac_var
48287 if test "x$as_val" = x""yes; then :
48288 cat >>confdefs.h <<_ACEOF
48289 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48290 _ACEOF
48293 done
48303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
48304 $as_echo_n "checking for expf declaration... " >&6; }
48305 if test x${glibcxx_cv_func_expf_use+set} != xset; then
48306 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
48307 $as_echo_n "(cached) " >&6
48308 else
48311 ac_ext=cpp
48312 ac_cpp='$CXXCPP $CPPFLAGS'
48313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48318 /* end confdefs.h. */
48319 #include <math.h>
48320 #ifdef HAVE_IEEEFP_H
48321 #include <ieeefp.h>
48322 #endif
48325 main ()
48327 expf(0);
48329 return 0;
48331 _ACEOF
48332 if ac_fn_cxx_try_compile "$LINENO"; then :
48333 glibcxx_cv_func_expf_use=yes
48334 else
48335 glibcxx_cv_func_expf_use=no
48337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48338 ac_ext=c
48339 ac_cpp='$CPP $CPPFLAGS'
48340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
48349 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
48351 if test x$glibcxx_cv_func_expf_use = x"yes"; then
48352 for ac_func in expf
48353 do :
48354 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
48355 if test "x$ac_cv_func_expf" = x""yes; then :
48356 cat >>confdefs.h <<_ACEOF
48357 #define HAVE_EXPF 1
48358 _ACEOF
48361 done
48363 else
48365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
48366 $as_echo_n "checking for _expf declaration... " >&6; }
48367 if test x${glibcxx_cv_func__expf_use+set} != xset; then
48368 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
48369 $as_echo_n "(cached) " >&6
48370 else
48373 ac_ext=cpp
48374 ac_cpp='$CXXCPP $CPPFLAGS'
48375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48380 /* end confdefs.h. */
48381 #include <math.h>
48382 #ifdef HAVE_IEEEFP_H
48383 #include <ieeefp.h>
48384 #endif
48387 main ()
48389 _expf(0);
48391 return 0;
48393 _ACEOF
48394 if ac_fn_cxx_try_compile "$LINENO"; then :
48395 glibcxx_cv_func__expf_use=yes
48396 else
48397 glibcxx_cv_func__expf_use=no
48399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48400 ac_ext=c
48401 ac_cpp='$CPP $CPPFLAGS'
48402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
48411 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
48413 if test x$glibcxx_cv_func__expf_use = x"yes"; then
48414 for ac_func in _expf
48415 do :
48416 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
48417 if test "x$ac_cv_func__expf" = x""yes; then :
48418 cat >>confdefs.h <<_ACEOF
48419 #define HAVE__EXPF 1
48420 _ACEOF
48423 done
48432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
48433 $as_echo_n "checking for isnanf declaration... " >&6; }
48434 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
48435 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
48436 $as_echo_n "(cached) " >&6
48437 else
48440 ac_ext=cpp
48441 ac_cpp='$CXXCPP $CPPFLAGS'
48442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48447 /* end confdefs.h. */
48448 #include <math.h>
48449 #ifdef HAVE_IEEEFP_H
48450 #include <ieeefp.h>
48451 #endif
48454 main ()
48456 isnanf(0);
48458 return 0;
48460 _ACEOF
48461 if ac_fn_cxx_try_compile "$LINENO"; then :
48462 glibcxx_cv_func_isnanf_use=yes
48463 else
48464 glibcxx_cv_func_isnanf_use=no
48466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48467 ac_ext=c
48468 ac_cpp='$CPP $CPPFLAGS'
48469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
48478 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
48480 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
48481 for ac_func in isnanf
48482 do :
48483 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
48484 if test "x$ac_cv_func_isnanf" = x""yes; then :
48485 cat >>confdefs.h <<_ACEOF
48486 #define HAVE_ISNANF 1
48487 _ACEOF
48490 done
48492 else
48494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
48495 $as_echo_n "checking for _isnanf declaration... " >&6; }
48496 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
48497 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
48498 $as_echo_n "(cached) " >&6
48499 else
48502 ac_ext=cpp
48503 ac_cpp='$CXXCPP $CPPFLAGS'
48504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48509 /* end confdefs.h. */
48510 #include <math.h>
48511 #ifdef HAVE_IEEEFP_H
48512 #include <ieeefp.h>
48513 #endif
48516 main ()
48518 _isnanf(0);
48520 return 0;
48522 _ACEOF
48523 if ac_fn_cxx_try_compile "$LINENO"; then :
48524 glibcxx_cv_func__isnanf_use=yes
48525 else
48526 glibcxx_cv_func__isnanf_use=no
48528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48529 ac_ext=c
48530 ac_cpp='$CPP $CPPFLAGS'
48531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
48540 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
48542 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
48543 for ac_func in _isnanf
48544 do :
48545 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
48546 if test "x$ac_cv_func__isnanf" = x""yes; then :
48547 cat >>confdefs.h <<_ACEOF
48548 #define HAVE__ISNANF 1
48549 _ACEOF
48552 done
48561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
48562 $as_echo_n "checking for isinff declaration... " >&6; }
48563 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
48564 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
48565 $as_echo_n "(cached) " >&6
48566 else
48569 ac_ext=cpp
48570 ac_cpp='$CXXCPP $CPPFLAGS'
48571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48576 /* end confdefs.h. */
48577 #include <math.h>
48578 #ifdef HAVE_IEEEFP_H
48579 #include <ieeefp.h>
48580 #endif
48583 main ()
48585 isinff(0);
48587 return 0;
48589 _ACEOF
48590 if ac_fn_cxx_try_compile "$LINENO"; then :
48591 glibcxx_cv_func_isinff_use=yes
48592 else
48593 glibcxx_cv_func_isinff_use=no
48595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48596 ac_ext=c
48597 ac_cpp='$CPP $CPPFLAGS'
48598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
48607 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
48609 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
48610 for ac_func in isinff
48611 do :
48612 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
48613 if test "x$ac_cv_func_isinff" = x""yes; then :
48614 cat >>confdefs.h <<_ACEOF
48615 #define HAVE_ISINFF 1
48616 _ACEOF
48619 done
48621 else
48623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
48624 $as_echo_n "checking for _isinff declaration... " >&6; }
48625 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
48626 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
48627 $as_echo_n "(cached) " >&6
48628 else
48631 ac_ext=cpp
48632 ac_cpp='$CXXCPP $CPPFLAGS'
48633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48638 /* end confdefs.h. */
48639 #include <math.h>
48640 #ifdef HAVE_IEEEFP_H
48641 #include <ieeefp.h>
48642 #endif
48645 main ()
48647 _isinff(0);
48649 return 0;
48651 _ACEOF
48652 if ac_fn_cxx_try_compile "$LINENO"; then :
48653 glibcxx_cv_func__isinff_use=yes
48654 else
48655 glibcxx_cv_func__isinff_use=no
48657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48658 ac_ext=c
48659 ac_cpp='$CPP $CPPFLAGS'
48660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
48669 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
48671 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
48672 for ac_func in _isinff
48673 do :
48674 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
48675 if test "x$ac_cv_func__isinff" = x""yes; then :
48676 cat >>confdefs.h <<_ACEOF
48677 #define HAVE__ISINFF 1
48678 _ACEOF
48681 done
48690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
48691 $as_echo_n "checking for atan2f declaration... " >&6; }
48692 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
48693 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
48694 $as_echo_n "(cached) " >&6
48695 else
48698 ac_ext=cpp
48699 ac_cpp='$CXXCPP $CPPFLAGS'
48700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48705 /* end confdefs.h. */
48706 #include <math.h>
48708 main ()
48710 atan2f(0, 0);
48712 return 0;
48714 _ACEOF
48715 if ac_fn_cxx_try_compile "$LINENO"; then :
48716 glibcxx_cv_func_atan2f_use=yes
48717 else
48718 glibcxx_cv_func_atan2f_use=no
48720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48721 ac_ext=c
48722 ac_cpp='$CPP $CPPFLAGS'
48723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
48732 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
48734 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
48735 for ac_func in atan2f
48736 do :
48737 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
48738 if test "x$ac_cv_func_atan2f" = x""yes; then :
48739 cat >>confdefs.h <<_ACEOF
48740 #define HAVE_ATAN2F 1
48741 _ACEOF
48744 done
48746 else
48748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
48749 $as_echo_n "checking for _atan2f declaration... " >&6; }
48750 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
48751 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
48752 $as_echo_n "(cached) " >&6
48753 else
48756 ac_ext=cpp
48757 ac_cpp='$CXXCPP $CPPFLAGS'
48758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48763 /* end confdefs.h. */
48764 #include <math.h>
48766 main ()
48768 _atan2f(0, 0);
48770 return 0;
48772 _ACEOF
48773 if ac_fn_cxx_try_compile "$LINENO"; then :
48774 glibcxx_cv_func__atan2f_use=yes
48775 else
48776 glibcxx_cv_func__atan2f_use=no
48778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48779 ac_ext=c
48780 ac_cpp='$CPP $CPPFLAGS'
48781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
48790 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
48792 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
48793 for ac_func in _atan2f
48794 do :
48795 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
48796 if test "x$ac_cv_func__atan2f" = x""yes; then :
48797 cat >>confdefs.h <<_ACEOF
48798 #define HAVE__ATAN2F 1
48799 _ACEOF
48802 done
48811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
48812 $as_echo_n "checking for fabsf declaration... " >&6; }
48813 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
48814 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
48815 $as_echo_n "(cached) " >&6
48816 else
48819 ac_ext=cpp
48820 ac_cpp='$CXXCPP $CPPFLAGS'
48821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48826 /* end confdefs.h. */
48827 #include <math.h>
48828 #ifdef HAVE_IEEEFP_H
48829 #include <ieeefp.h>
48830 #endif
48833 main ()
48835 fabsf(0);
48837 return 0;
48839 _ACEOF
48840 if ac_fn_cxx_try_compile "$LINENO"; then :
48841 glibcxx_cv_func_fabsf_use=yes
48842 else
48843 glibcxx_cv_func_fabsf_use=no
48845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48846 ac_ext=c
48847 ac_cpp='$CPP $CPPFLAGS'
48848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
48857 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
48859 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
48860 for ac_func in fabsf
48861 do :
48862 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
48863 if test "x$ac_cv_func_fabsf" = x""yes; then :
48864 cat >>confdefs.h <<_ACEOF
48865 #define HAVE_FABSF 1
48866 _ACEOF
48869 done
48871 else
48873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
48874 $as_echo_n "checking for _fabsf declaration... " >&6; }
48875 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
48876 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
48877 $as_echo_n "(cached) " >&6
48878 else
48881 ac_ext=cpp
48882 ac_cpp='$CXXCPP $CPPFLAGS'
48883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48888 /* end confdefs.h. */
48889 #include <math.h>
48890 #ifdef HAVE_IEEEFP_H
48891 #include <ieeefp.h>
48892 #endif
48895 main ()
48897 _fabsf(0);
48899 return 0;
48901 _ACEOF
48902 if ac_fn_cxx_try_compile "$LINENO"; then :
48903 glibcxx_cv_func__fabsf_use=yes
48904 else
48905 glibcxx_cv_func__fabsf_use=no
48907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48908 ac_ext=c
48909 ac_cpp='$CPP $CPPFLAGS'
48910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
48919 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
48921 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
48922 for ac_func in _fabsf
48923 do :
48924 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
48925 if test "x$ac_cv_func__fabsf" = x""yes; then :
48926 cat >>confdefs.h <<_ACEOF
48927 #define HAVE__FABSF 1
48928 _ACEOF
48931 done
48940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
48941 $as_echo_n "checking for fmodf declaration... " >&6; }
48942 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
48943 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
48944 $as_echo_n "(cached) " >&6
48945 else
48948 ac_ext=cpp
48949 ac_cpp='$CXXCPP $CPPFLAGS'
48950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48955 /* end confdefs.h. */
48956 #include <math.h>
48958 main ()
48960 fmodf(0, 0);
48962 return 0;
48964 _ACEOF
48965 if ac_fn_cxx_try_compile "$LINENO"; then :
48966 glibcxx_cv_func_fmodf_use=yes
48967 else
48968 glibcxx_cv_func_fmodf_use=no
48970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48971 ac_ext=c
48972 ac_cpp='$CPP $CPPFLAGS'
48973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
48982 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
48984 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
48985 for ac_func in fmodf
48986 do :
48987 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
48988 if test "x$ac_cv_func_fmodf" = x""yes; then :
48989 cat >>confdefs.h <<_ACEOF
48990 #define HAVE_FMODF 1
48991 _ACEOF
48994 done
48996 else
48998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
48999 $as_echo_n "checking for _fmodf declaration... " >&6; }
49000 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
49001 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
49002 $as_echo_n "(cached) " >&6
49003 else
49006 ac_ext=cpp
49007 ac_cpp='$CXXCPP $CPPFLAGS'
49008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49013 /* end confdefs.h. */
49014 #include <math.h>
49016 main ()
49018 _fmodf(0, 0);
49020 return 0;
49022 _ACEOF
49023 if ac_fn_cxx_try_compile "$LINENO"; then :
49024 glibcxx_cv_func__fmodf_use=yes
49025 else
49026 glibcxx_cv_func__fmodf_use=no
49028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49029 ac_ext=c
49030 ac_cpp='$CPP $CPPFLAGS'
49031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
49040 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
49042 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
49043 for ac_func in _fmodf
49044 do :
49045 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
49046 if test "x$ac_cv_func__fmodf" = x""yes; then :
49047 cat >>confdefs.h <<_ACEOF
49048 #define HAVE__FMODF 1
49049 _ACEOF
49052 done
49061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
49062 $as_echo_n "checking for frexpf declaration... " >&6; }
49063 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
49064 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
49065 $as_echo_n "(cached) " >&6
49066 else
49069 ac_ext=cpp
49070 ac_cpp='$CXXCPP $CPPFLAGS'
49071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49076 /* end confdefs.h. */
49077 #include <math.h>
49079 main ()
49081 frexpf(0, 0);
49083 return 0;
49085 _ACEOF
49086 if ac_fn_cxx_try_compile "$LINENO"; then :
49087 glibcxx_cv_func_frexpf_use=yes
49088 else
49089 glibcxx_cv_func_frexpf_use=no
49091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49092 ac_ext=c
49093 ac_cpp='$CPP $CPPFLAGS'
49094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
49103 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
49105 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
49106 for ac_func in frexpf
49107 do :
49108 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
49109 if test "x$ac_cv_func_frexpf" = x""yes; then :
49110 cat >>confdefs.h <<_ACEOF
49111 #define HAVE_FREXPF 1
49112 _ACEOF
49115 done
49117 else
49119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
49120 $as_echo_n "checking for _frexpf declaration... " >&6; }
49121 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
49122 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
49123 $as_echo_n "(cached) " >&6
49124 else
49127 ac_ext=cpp
49128 ac_cpp='$CXXCPP $CPPFLAGS'
49129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49134 /* end confdefs.h. */
49135 #include <math.h>
49137 main ()
49139 _frexpf(0, 0);
49141 return 0;
49143 _ACEOF
49144 if ac_fn_cxx_try_compile "$LINENO"; then :
49145 glibcxx_cv_func__frexpf_use=yes
49146 else
49147 glibcxx_cv_func__frexpf_use=no
49149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49150 ac_ext=c
49151 ac_cpp='$CPP $CPPFLAGS'
49152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
49161 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
49163 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
49164 for ac_func in _frexpf
49165 do :
49166 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
49167 if test "x$ac_cv_func__frexpf" = x""yes; then :
49168 cat >>confdefs.h <<_ACEOF
49169 #define HAVE__FREXPF 1
49170 _ACEOF
49173 done
49182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
49183 $as_echo_n "checking for hypotf declaration... " >&6; }
49184 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
49185 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
49186 $as_echo_n "(cached) " >&6
49187 else
49190 ac_ext=cpp
49191 ac_cpp='$CXXCPP $CPPFLAGS'
49192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49197 /* end confdefs.h. */
49198 #include <math.h>
49200 main ()
49202 hypotf(0, 0);
49204 return 0;
49206 _ACEOF
49207 if ac_fn_cxx_try_compile "$LINENO"; then :
49208 glibcxx_cv_func_hypotf_use=yes
49209 else
49210 glibcxx_cv_func_hypotf_use=no
49212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49213 ac_ext=c
49214 ac_cpp='$CPP $CPPFLAGS'
49215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
49224 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
49226 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
49227 for ac_func in hypotf
49228 do :
49229 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
49230 if test "x$ac_cv_func_hypotf" = x""yes; then :
49231 cat >>confdefs.h <<_ACEOF
49232 #define HAVE_HYPOTF 1
49233 _ACEOF
49236 done
49238 else
49240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
49241 $as_echo_n "checking for _hypotf declaration... " >&6; }
49242 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
49243 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
49244 $as_echo_n "(cached) " >&6
49245 else
49248 ac_ext=cpp
49249 ac_cpp='$CXXCPP $CPPFLAGS'
49250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49255 /* end confdefs.h. */
49256 #include <math.h>
49258 main ()
49260 _hypotf(0, 0);
49262 return 0;
49264 _ACEOF
49265 if ac_fn_cxx_try_compile "$LINENO"; then :
49266 glibcxx_cv_func__hypotf_use=yes
49267 else
49268 glibcxx_cv_func__hypotf_use=no
49270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49271 ac_ext=c
49272 ac_cpp='$CPP $CPPFLAGS'
49273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
49282 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
49284 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
49285 for ac_func in _hypotf
49286 do :
49287 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
49288 if test "x$ac_cv_func__hypotf" = x""yes; then :
49289 cat >>confdefs.h <<_ACEOF
49290 #define HAVE__HYPOTF 1
49291 _ACEOF
49294 done
49303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
49304 $as_echo_n "checking for ldexpf declaration... " >&6; }
49305 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
49306 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
49307 $as_echo_n "(cached) " >&6
49308 else
49311 ac_ext=cpp
49312 ac_cpp='$CXXCPP $CPPFLAGS'
49313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49318 /* end confdefs.h. */
49319 #include <math.h>
49321 main ()
49323 ldexpf(0, 0);
49325 return 0;
49327 _ACEOF
49328 if ac_fn_cxx_try_compile "$LINENO"; then :
49329 glibcxx_cv_func_ldexpf_use=yes
49330 else
49331 glibcxx_cv_func_ldexpf_use=no
49333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49334 ac_ext=c
49335 ac_cpp='$CPP $CPPFLAGS'
49336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
49345 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
49347 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
49348 for ac_func in ldexpf
49349 do :
49350 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
49351 if test "x$ac_cv_func_ldexpf" = x""yes; then :
49352 cat >>confdefs.h <<_ACEOF
49353 #define HAVE_LDEXPF 1
49354 _ACEOF
49357 done
49359 else
49361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
49362 $as_echo_n "checking for _ldexpf declaration... " >&6; }
49363 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
49364 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
49365 $as_echo_n "(cached) " >&6
49366 else
49369 ac_ext=cpp
49370 ac_cpp='$CXXCPP $CPPFLAGS'
49371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49376 /* end confdefs.h. */
49377 #include <math.h>
49379 main ()
49381 _ldexpf(0, 0);
49383 return 0;
49385 _ACEOF
49386 if ac_fn_cxx_try_compile "$LINENO"; then :
49387 glibcxx_cv_func__ldexpf_use=yes
49388 else
49389 glibcxx_cv_func__ldexpf_use=no
49391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49392 ac_ext=c
49393 ac_cpp='$CPP $CPPFLAGS'
49394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
49403 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
49405 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
49406 for ac_func in _ldexpf
49407 do :
49408 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
49409 if test "x$ac_cv_func__ldexpf" = x""yes; then :
49410 cat >>confdefs.h <<_ACEOF
49411 #define HAVE__LDEXPF 1
49412 _ACEOF
49415 done
49424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
49425 $as_echo_n "checking for logf declaration... " >&6; }
49426 if test x${glibcxx_cv_func_logf_use+set} != xset; then
49427 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
49428 $as_echo_n "(cached) " >&6
49429 else
49432 ac_ext=cpp
49433 ac_cpp='$CXXCPP $CPPFLAGS'
49434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49439 /* end confdefs.h. */
49440 #include <math.h>
49441 #ifdef HAVE_IEEEFP_H
49442 #include <ieeefp.h>
49443 #endif
49446 main ()
49448 logf(0);
49450 return 0;
49452 _ACEOF
49453 if ac_fn_cxx_try_compile "$LINENO"; then :
49454 glibcxx_cv_func_logf_use=yes
49455 else
49456 glibcxx_cv_func_logf_use=no
49458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49459 ac_ext=c
49460 ac_cpp='$CPP $CPPFLAGS'
49461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
49470 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
49472 if test x$glibcxx_cv_func_logf_use = x"yes"; then
49473 for ac_func in logf
49474 do :
49475 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
49476 if test "x$ac_cv_func_logf" = x""yes; then :
49477 cat >>confdefs.h <<_ACEOF
49478 #define HAVE_LOGF 1
49479 _ACEOF
49482 done
49484 else
49486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
49487 $as_echo_n "checking for _logf declaration... " >&6; }
49488 if test x${glibcxx_cv_func__logf_use+set} != xset; then
49489 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
49490 $as_echo_n "(cached) " >&6
49491 else
49494 ac_ext=cpp
49495 ac_cpp='$CXXCPP $CPPFLAGS'
49496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49501 /* end confdefs.h. */
49502 #include <math.h>
49503 #ifdef HAVE_IEEEFP_H
49504 #include <ieeefp.h>
49505 #endif
49508 main ()
49510 _logf(0);
49512 return 0;
49514 _ACEOF
49515 if ac_fn_cxx_try_compile "$LINENO"; then :
49516 glibcxx_cv_func__logf_use=yes
49517 else
49518 glibcxx_cv_func__logf_use=no
49520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49521 ac_ext=c
49522 ac_cpp='$CPP $CPPFLAGS'
49523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
49532 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
49534 if test x$glibcxx_cv_func__logf_use = x"yes"; then
49535 for ac_func in _logf
49536 do :
49537 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
49538 if test "x$ac_cv_func__logf" = x""yes; then :
49539 cat >>confdefs.h <<_ACEOF
49540 #define HAVE__LOGF 1
49541 _ACEOF
49544 done
49553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
49554 $as_echo_n "checking for log10f declaration... " >&6; }
49555 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
49556 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
49557 $as_echo_n "(cached) " >&6
49558 else
49561 ac_ext=cpp
49562 ac_cpp='$CXXCPP $CPPFLAGS'
49563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49568 /* end confdefs.h. */
49569 #include <math.h>
49570 #ifdef HAVE_IEEEFP_H
49571 #include <ieeefp.h>
49572 #endif
49575 main ()
49577 log10f(0);
49579 return 0;
49581 _ACEOF
49582 if ac_fn_cxx_try_compile "$LINENO"; then :
49583 glibcxx_cv_func_log10f_use=yes
49584 else
49585 glibcxx_cv_func_log10f_use=no
49587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49588 ac_ext=c
49589 ac_cpp='$CPP $CPPFLAGS'
49590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
49599 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
49601 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
49602 for ac_func in log10f
49603 do :
49604 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
49605 if test "x$ac_cv_func_log10f" = x""yes; then :
49606 cat >>confdefs.h <<_ACEOF
49607 #define HAVE_LOG10F 1
49608 _ACEOF
49611 done
49613 else
49615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
49616 $as_echo_n "checking for _log10f declaration... " >&6; }
49617 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
49618 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
49619 $as_echo_n "(cached) " >&6
49620 else
49623 ac_ext=cpp
49624 ac_cpp='$CXXCPP $CPPFLAGS'
49625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49630 /* end confdefs.h. */
49631 #include <math.h>
49632 #ifdef HAVE_IEEEFP_H
49633 #include <ieeefp.h>
49634 #endif
49637 main ()
49639 _log10f(0);
49641 return 0;
49643 _ACEOF
49644 if ac_fn_cxx_try_compile "$LINENO"; then :
49645 glibcxx_cv_func__log10f_use=yes
49646 else
49647 glibcxx_cv_func__log10f_use=no
49649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49650 ac_ext=c
49651 ac_cpp='$CPP $CPPFLAGS'
49652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
49661 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
49663 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
49664 for ac_func in _log10f
49665 do :
49666 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
49667 if test "x$ac_cv_func__log10f" = x""yes; then :
49668 cat >>confdefs.h <<_ACEOF
49669 #define HAVE__LOG10F 1
49670 _ACEOF
49673 done
49682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
49683 $as_echo_n "checking for modff declaration... " >&6; }
49684 if test x${glibcxx_cv_func_modff_use+set} != xset; then
49685 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
49686 $as_echo_n "(cached) " >&6
49687 else
49690 ac_ext=cpp
49691 ac_cpp='$CXXCPP $CPPFLAGS'
49692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49697 /* end confdefs.h. */
49698 #include <math.h>
49700 main ()
49702 modff(0, 0);
49704 return 0;
49706 _ACEOF
49707 if ac_fn_cxx_try_compile "$LINENO"; then :
49708 glibcxx_cv_func_modff_use=yes
49709 else
49710 glibcxx_cv_func_modff_use=no
49712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49713 ac_ext=c
49714 ac_cpp='$CPP $CPPFLAGS'
49715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
49724 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
49726 if test x$glibcxx_cv_func_modff_use = x"yes"; then
49727 for ac_func in modff
49728 do :
49729 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
49730 if test "x$ac_cv_func_modff" = x""yes; then :
49731 cat >>confdefs.h <<_ACEOF
49732 #define HAVE_MODFF 1
49733 _ACEOF
49736 done
49738 else
49740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
49741 $as_echo_n "checking for _modff declaration... " >&6; }
49742 if test x${glibcxx_cv_func__modff_use+set} != xset; then
49743 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
49744 $as_echo_n "(cached) " >&6
49745 else
49748 ac_ext=cpp
49749 ac_cpp='$CXXCPP $CPPFLAGS'
49750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49755 /* end confdefs.h. */
49756 #include <math.h>
49758 main ()
49760 _modff(0, 0);
49762 return 0;
49764 _ACEOF
49765 if ac_fn_cxx_try_compile "$LINENO"; then :
49766 glibcxx_cv_func__modff_use=yes
49767 else
49768 glibcxx_cv_func__modff_use=no
49770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49771 ac_ext=c
49772 ac_cpp='$CPP $CPPFLAGS'
49773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
49782 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
49784 if test x$glibcxx_cv_func__modff_use = x"yes"; then
49785 for ac_func in _modff
49786 do :
49787 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
49788 if test "x$ac_cv_func__modff" = x""yes; then :
49789 cat >>confdefs.h <<_ACEOF
49790 #define HAVE__MODFF 1
49791 _ACEOF
49794 done
49803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
49804 $as_echo_n "checking for modf declaration... " >&6; }
49805 if test x${glibcxx_cv_func_modf_use+set} != xset; then
49806 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
49807 $as_echo_n "(cached) " >&6
49808 else
49811 ac_ext=cpp
49812 ac_cpp='$CXXCPP $CPPFLAGS'
49813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49818 /* end confdefs.h. */
49819 #include <math.h>
49821 main ()
49823 modf(0, 0);
49825 return 0;
49827 _ACEOF
49828 if ac_fn_cxx_try_compile "$LINENO"; then :
49829 glibcxx_cv_func_modf_use=yes
49830 else
49831 glibcxx_cv_func_modf_use=no
49833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49834 ac_ext=c
49835 ac_cpp='$CPP $CPPFLAGS'
49836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
49845 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
49847 if test x$glibcxx_cv_func_modf_use = x"yes"; then
49848 for ac_func in modf
49849 do :
49850 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
49851 if test "x$ac_cv_func_modf" = x""yes; then :
49852 cat >>confdefs.h <<_ACEOF
49853 #define HAVE_MODF 1
49854 _ACEOF
49857 done
49859 else
49861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
49862 $as_echo_n "checking for _modf declaration... " >&6; }
49863 if test x${glibcxx_cv_func__modf_use+set} != xset; then
49864 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
49865 $as_echo_n "(cached) " >&6
49866 else
49869 ac_ext=cpp
49870 ac_cpp='$CXXCPP $CPPFLAGS'
49871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49876 /* end confdefs.h. */
49877 #include <math.h>
49879 main ()
49881 _modf(0, 0);
49883 return 0;
49885 _ACEOF
49886 if ac_fn_cxx_try_compile "$LINENO"; then :
49887 glibcxx_cv_func__modf_use=yes
49888 else
49889 glibcxx_cv_func__modf_use=no
49891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49892 ac_ext=c
49893 ac_cpp='$CPP $CPPFLAGS'
49894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
49903 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
49905 if test x$glibcxx_cv_func__modf_use = x"yes"; then
49906 for ac_func in _modf
49907 do :
49908 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
49909 if test "x$ac_cv_func__modf" = x""yes; then :
49910 cat >>confdefs.h <<_ACEOF
49911 #define HAVE__MODF 1
49912 _ACEOF
49915 done
49924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
49925 $as_echo_n "checking for powf declaration... " >&6; }
49926 if test x${glibcxx_cv_func_powf_use+set} != xset; then
49927 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
49928 $as_echo_n "(cached) " >&6
49929 else
49932 ac_ext=cpp
49933 ac_cpp='$CXXCPP $CPPFLAGS'
49934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49939 /* end confdefs.h. */
49940 #include <math.h>
49942 main ()
49944 powf(0, 0);
49946 return 0;
49948 _ACEOF
49949 if ac_fn_cxx_try_compile "$LINENO"; then :
49950 glibcxx_cv_func_powf_use=yes
49951 else
49952 glibcxx_cv_func_powf_use=no
49954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49955 ac_ext=c
49956 ac_cpp='$CPP $CPPFLAGS'
49957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
49966 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
49968 if test x$glibcxx_cv_func_powf_use = x"yes"; then
49969 for ac_func in powf
49970 do :
49971 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
49972 if test "x$ac_cv_func_powf" = x""yes; then :
49973 cat >>confdefs.h <<_ACEOF
49974 #define HAVE_POWF 1
49975 _ACEOF
49978 done
49980 else
49982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
49983 $as_echo_n "checking for _powf declaration... " >&6; }
49984 if test x${glibcxx_cv_func__powf_use+set} != xset; then
49985 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
49986 $as_echo_n "(cached) " >&6
49987 else
49990 ac_ext=cpp
49991 ac_cpp='$CXXCPP $CPPFLAGS'
49992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49997 /* end confdefs.h. */
49998 #include <math.h>
50000 main ()
50002 _powf(0, 0);
50004 return 0;
50006 _ACEOF
50007 if ac_fn_cxx_try_compile "$LINENO"; then :
50008 glibcxx_cv_func__powf_use=yes
50009 else
50010 glibcxx_cv_func__powf_use=no
50012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50013 ac_ext=c
50014 ac_cpp='$CPP $CPPFLAGS'
50015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
50024 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
50026 if test x$glibcxx_cv_func__powf_use = x"yes"; then
50027 for ac_func in _powf
50028 do :
50029 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
50030 if test "x$ac_cv_func__powf" = x""yes; then :
50031 cat >>confdefs.h <<_ACEOF
50032 #define HAVE__POWF 1
50033 _ACEOF
50036 done
50045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
50046 $as_echo_n "checking for sqrtf declaration... " >&6; }
50047 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
50048 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
50049 $as_echo_n "(cached) " >&6
50050 else
50053 ac_ext=cpp
50054 ac_cpp='$CXXCPP $CPPFLAGS'
50055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50060 /* end confdefs.h. */
50061 #include <math.h>
50062 #ifdef HAVE_IEEEFP_H
50063 #include <ieeefp.h>
50064 #endif
50067 main ()
50069 sqrtf(0);
50071 return 0;
50073 _ACEOF
50074 if ac_fn_cxx_try_compile "$LINENO"; then :
50075 glibcxx_cv_func_sqrtf_use=yes
50076 else
50077 glibcxx_cv_func_sqrtf_use=no
50079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50080 ac_ext=c
50081 ac_cpp='$CPP $CPPFLAGS'
50082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
50091 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
50093 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
50094 for ac_func in sqrtf
50095 do :
50096 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
50097 if test "x$ac_cv_func_sqrtf" = x""yes; then :
50098 cat >>confdefs.h <<_ACEOF
50099 #define HAVE_SQRTF 1
50100 _ACEOF
50103 done
50105 else
50107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
50108 $as_echo_n "checking for _sqrtf declaration... " >&6; }
50109 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
50110 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
50111 $as_echo_n "(cached) " >&6
50112 else
50115 ac_ext=cpp
50116 ac_cpp='$CXXCPP $CPPFLAGS'
50117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50122 /* end confdefs.h. */
50123 #include <math.h>
50124 #ifdef HAVE_IEEEFP_H
50125 #include <ieeefp.h>
50126 #endif
50129 main ()
50131 _sqrtf(0);
50133 return 0;
50135 _ACEOF
50136 if ac_fn_cxx_try_compile "$LINENO"; then :
50137 glibcxx_cv_func__sqrtf_use=yes
50138 else
50139 glibcxx_cv_func__sqrtf_use=no
50141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50142 ac_ext=c
50143 ac_cpp='$CPP $CPPFLAGS'
50144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
50153 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
50155 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
50156 for ac_func in _sqrtf
50157 do :
50158 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
50159 if test "x$ac_cv_func__sqrtf" = x""yes; then :
50160 cat >>confdefs.h <<_ACEOF
50161 #define HAVE__SQRTF 1
50162 _ACEOF
50165 done
50174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
50175 $as_echo_n "checking for sincosf declaration... " >&6; }
50176 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
50177 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
50178 $as_echo_n "(cached) " >&6
50179 else
50182 ac_ext=cpp
50183 ac_cpp='$CXXCPP $CPPFLAGS'
50184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50189 /* end confdefs.h. */
50190 #include <math.h>
50192 main ()
50194 sincosf(0, 0, 0);
50196 return 0;
50198 _ACEOF
50199 if ac_fn_cxx_try_compile "$LINENO"; then :
50200 glibcxx_cv_func_sincosf_use=yes
50201 else
50202 glibcxx_cv_func_sincosf_use=no
50204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50205 ac_ext=c
50206 ac_cpp='$CPP $CPPFLAGS'
50207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
50216 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
50218 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
50219 for ac_func in sincosf
50220 do :
50221 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
50222 if test "x$ac_cv_func_sincosf" = x""yes; then :
50223 cat >>confdefs.h <<_ACEOF
50224 #define HAVE_SINCOSF 1
50225 _ACEOF
50228 done
50230 else
50232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
50233 $as_echo_n "checking for _sincosf declaration... " >&6; }
50234 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
50235 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
50236 $as_echo_n "(cached) " >&6
50237 else
50240 ac_ext=cpp
50241 ac_cpp='$CXXCPP $CPPFLAGS'
50242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50247 /* end confdefs.h. */
50248 #include <math.h>
50250 main ()
50252 _sincosf(0, 0, 0);
50254 return 0;
50256 _ACEOF
50257 if ac_fn_cxx_try_compile "$LINENO"; then :
50258 glibcxx_cv_func__sincosf_use=yes
50259 else
50260 glibcxx_cv_func__sincosf_use=no
50262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50263 ac_ext=c
50264 ac_cpp='$CPP $CPPFLAGS'
50265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
50274 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
50276 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
50277 for ac_func in _sincosf
50278 do :
50279 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
50280 if test "x$ac_cv_func__sincosf" = x""yes; then :
50281 cat >>confdefs.h <<_ACEOF
50282 #define HAVE__SINCOSF 1
50283 _ACEOF
50286 done
50295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
50296 $as_echo_n "checking for finitef declaration... " >&6; }
50297 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
50298 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
50299 $as_echo_n "(cached) " >&6
50300 else
50303 ac_ext=cpp
50304 ac_cpp='$CXXCPP $CPPFLAGS'
50305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50310 /* end confdefs.h. */
50311 #include <math.h>
50312 #ifdef HAVE_IEEEFP_H
50313 #include <ieeefp.h>
50314 #endif
50317 main ()
50319 finitef(0);
50321 return 0;
50323 _ACEOF
50324 if ac_fn_cxx_try_compile "$LINENO"; then :
50325 glibcxx_cv_func_finitef_use=yes
50326 else
50327 glibcxx_cv_func_finitef_use=no
50329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50330 ac_ext=c
50331 ac_cpp='$CPP $CPPFLAGS'
50332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
50341 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
50343 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
50344 for ac_func in finitef
50345 do :
50346 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
50347 if test "x$ac_cv_func_finitef" = x""yes; then :
50348 cat >>confdefs.h <<_ACEOF
50349 #define HAVE_FINITEF 1
50350 _ACEOF
50353 done
50355 else
50357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
50358 $as_echo_n "checking for _finitef declaration... " >&6; }
50359 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
50360 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
50361 $as_echo_n "(cached) " >&6
50362 else
50365 ac_ext=cpp
50366 ac_cpp='$CXXCPP $CPPFLAGS'
50367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50372 /* end confdefs.h. */
50373 #include <math.h>
50374 #ifdef HAVE_IEEEFP_H
50375 #include <ieeefp.h>
50376 #endif
50379 main ()
50381 _finitef(0);
50383 return 0;
50385 _ACEOF
50386 if ac_fn_cxx_try_compile "$LINENO"; then :
50387 glibcxx_cv_func__finitef_use=yes
50388 else
50389 glibcxx_cv_func__finitef_use=no
50391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50392 ac_ext=c
50393 ac_cpp='$CPP $CPPFLAGS'
50394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
50403 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
50405 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
50406 for ac_func in _finitef
50407 do :
50408 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
50409 if test "x$ac_cv_func__finitef" = x""yes; then :
50410 cat >>confdefs.h <<_ACEOF
50411 #define HAVE__FINITEF 1
50412 _ACEOF
50415 done
50424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
50425 $as_echo_n "checking for long double trig functions... " >&6; }
50426 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
50427 $as_echo_n "(cached) " >&6
50428 else
50431 ac_ext=cpp
50432 ac_cpp='$CXXCPP $CPPFLAGS'
50433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50438 /* end confdefs.h. */
50439 #include <math.h>
50441 main ()
50443 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
50445 return 0;
50447 _ACEOF
50448 if ac_fn_cxx_try_compile "$LINENO"; then :
50449 glibcxx_cv_func_long_double_trig_use=yes
50450 else
50451 glibcxx_cv_func_long_double_trig_use=no
50453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50454 ac_ext=c
50455 ac_cpp='$CPP $CPPFLAGS'
50456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
50463 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
50464 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
50465 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
50466 do :
50467 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
50468 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
50469 eval as_val=\$$as_ac_var
50470 if test "x$as_val" = x""yes; then :
50471 cat >>confdefs.h <<_ACEOF
50472 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
50473 _ACEOF
50476 done
50478 else
50479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
50480 $as_echo_n "checking for _long double trig functions... " >&6; }
50481 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
50482 $as_echo_n "(cached) " >&6
50483 else
50486 ac_ext=cpp
50487 ac_cpp='$CXXCPP $CPPFLAGS'
50488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50493 /* end confdefs.h. */
50494 #include <math.h>
50496 main ()
50498 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
50500 return 0;
50502 _ACEOF
50503 if ac_fn_cxx_try_compile "$LINENO"; then :
50504 glibcxx_cv_func__long_double_trig_use=yes
50505 else
50506 glibcxx_cv_func__long_double_trig_use=no
50508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50509 ac_ext=c
50510 ac_cpp='$CPP $CPPFLAGS'
50511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
50518 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
50519 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
50520 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
50521 do :
50522 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
50523 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
50524 eval as_val=\$$as_ac_var
50525 if test "x$as_val" = x""yes; then :
50526 cat >>confdefs.h <<_ACEOF
50527 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
50528 _ACEOF
50531 done
50540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
50541 $as_echo_n "checking for long double round functions... " >&6; }
50542 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
50543 $as_echo_n "(cached) " >&6
50544 else
50547 ac_ext=cpp
50548 ac_cpp='$CXXCPP $CPPFLAGS'
50549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50554 /* end confdefs.h. */
50555 #include <math.h>
50557 main ()
50559 ceill (0); floorl (0);
50561 return 0;
50563 _ACEOF
50564 if ac_fn_cxx_try_compile "$LINENO"; then :
50565 glibcxx_cv_func_long_double_round_use=yes
50566 else
50567 glibcxx_cv_func_long_double_round_use=no
50569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50570 ac_ext=c
50571 ac_cpp='$CPP $CPPFLAGS'
50572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
50579 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
50580 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
50581 for ac_func in ceill floorl
50582 do :
50583 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
50584 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
50585 eval as_val=\$$as_ac_var
50586 if test "x$as_val" = x""yes; then :
50587 cat >>confdefs.h <<_ACEOF
50588 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
50589 _ACEOF
50592 done
50594 else
50595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
50596 $as_echo_n "checking for _long double round functions... " >&6; }
50597 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
50598 $as_echo_n "(cached) " >&6
50599 else
50602 ac_ext=cpp
50603 ac_cpp='$CXXCPP $CPPFLAGS'
50604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50609 /* end confdefs.h. */
50610 #include <math.h>
50612 main ()
50614 _ceill (0); _floorl (0);
50616 return 0;
50618 _ACEOF
50619 if ac_fn_cxx_try_compile "$LINENO"; then :
50620 glibcxx_cv_func__long_double_round_use=yes
50621 else
50622 glibcxx_cv_func__long_double_round_use=no
50624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50625 ac_ext=c
50626 ac_cpp='$CPP $CPPFLAGS'
50627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
50634 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
50635 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
50636 for ac_func in _ceill _floorl
50637 do :
50638 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
50639 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
50640 eval as_val=\$$as_ac_var
50641 if test "x$as_val" = x""yes; then :
50642 cat >>confdefs.h <<_ACEOF
50643 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
50644 _ACEOF
50647 done
50657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
50658 $as_echo_n "checking for isnanl declaration... " >&6; }
50659 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
50660 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
50661 $as_echo_n "(cached) " >&6
50662 else
50665 ac_ext=cpp
50666 ac_cpp='$CXXCPP $CPPFLAGS'
50667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50672 /* end confdefs.h. */
50673 #include <math.h>
50674 #ifdef HAVE_IEEEFP_H
50675 #include <ieeefp.h>
50676 #endif
50679 main ()
50681 isnanl(0);
50683 return 0;
50685 _ACEOF
50686 if ac_fn_cxx_try_compile "$LINENO"; then :
50687 glibcxx_cv_func_isnanl_use=yes
50688 else
50689 glibcxx_cv_func_isnanl_use=no
50691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50692 ac_ext=c
50693 ac_cpp='$CPP $CPPFLAGS'
50694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
50703 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
50705 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
50706 for ac_func in isnanl
50707 do :
50708 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
50709 if test "x$ac_cv_func_isnanl" = x""yes; then :
50710 cat >>confdefs.h <<_ACEOF
50711 #define HAVE_ISNANL 1
50712 _ACEOF
50715 done
50717 else
50719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
50720 $as_echo_n "checking for _isnanl declaration... " >&6; }
50721 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
50722 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
50723 $as_echo_n "(cached) " >&6
50724 else
50727 ac_ext=cpp
50728 ac_cpp='$CXXCPP $CPPFLAGS'
50729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50734 /* end confdefs.h. */
50735 #include <math.h>
50736 #ifdef HAVE_IEEEFP_H
50737 #include <ieeefp.h>
50738 #endif
50741 main ()
50743 _isnanl(0);
50745 return 0;
50747 _ACEOF
50748 if ac_fn_cxx_try_compile "$LINENO"; then :
50749 glibcxx_cv_func__isnanl_use=yes
50750 else
50751 glibcxx_cv_func__isnanl_use=no
50753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50754 ac_ext=c
50755 ac_cpp='$CPP $CPPFLAGS'
50756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
50765 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
50767 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
50768 for ac_func in _isnanl
50769 do :
50770 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
50771 if test "x$ac_cv_func__isnanl" = x""yes; then :
50772 cat >>confdefs.h <<_ACEOF
50773 #define HAVE__ISNANL 1
50774 _ACEOF
50777 done
50786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
50787 $as_echo_n "checking for isinfl declaration... " >&6; }
50788 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
50789 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
50790 $as_echo_n "(cached) " >&6
50791 else
50794 ac_ext=cpp
50795 ac_cpp='$CXXCPP $CPPFLAGS'
50796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50801 /* end confdefs.h. */
50802 #include <math.h>
50803 #ifdef HAVE_IEEEFP_H
50804 #include <ieeefp.h>
50805 #endif
50808 main ()
50810 isinfl(0);
50812 return 0;
50814 _ACEOF
50815 if ac_fn_cxx_try_compile "$LINENO"; then :
50816 glibcxx_cv_func_isinfl_use=yes
50817 else
50818 glibcxx_cv_func_isinfl_use=no
50820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50821 ac_ext=c
50822 ac_cpp='$CPP $CPPFLAGS'
50823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
50832 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
50834 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
50835 for ac_func in isinfl
50836 do :
50837 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
50838 if test "x$ac_cv_func_isinfl" = x""yes; then :
50839 cat >>confdefs.h <<_ACEOF
50840 #define HAVE_ISINFL 1
50841 _ACEOF
50844 done
50846 else
50848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
50849 $as_echo_n "checking for _isinfl declaration... " >&6; }
50850 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
50851 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
50852 $as_echo_n "(cached) " >&6
50853 else
50856 ac_ext=cpp
50857 ac_cpp='$CXXCPP $CPPFLAGS'
50858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50863 /* end confdefs.h. */
50864 #include <math.h>
50865 #ifdef HAVE_IEEEFP_H
50866 #include <ieeefp.h>
50867 #endif
50870 main ()
50872 _isinfl(0);
50874 return 0;
50876 _ACEOF
50877 if ac_fn_cxx_try_compile "$LINENO"; then :
50878 glibcxx_cv_func__isinfl_use=yes
50879 else
50880 glibcxx_cv_func__isinfl_use=no
50882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50883 ac_ext=c
50884 ac_cpp='$CPP $CPPFLAGS'
50885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
50894 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
50896 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
50897 for ac_func in _isinfl
50898 do :
50899 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
50900 if test "x$ac_cv_func__isinfl" = x""yes; then :
50901 cat >>confdefs.h <<_ACEOF
50902 #define HAVE__ISINFL 1
50903 _ACEOF
50906 done
50915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
50916 $as_echo_n "checking for atan2l declaration... " >&6; }
50917 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
50918 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
50919 $as_echo_n "(cached) " >&6
50920 else
50923 ac_ext=cpp
50924 ac_cpp='$CXXCPP $CPPFLAGS'
50925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50930 /* end confdefs.h. */
50931 #include <math.h>
50933 main ()
50935 atan2l(0, 0);
50937 return 0;
50939 _ACEOF
50940 if ac_fn_cxx_try_compile "$LINENO"; then :
50941 glibcxx_cv_func_atan2l_use=yes
50942 else
50943 glibcxx_cv_func_atan2l_use=no
50945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50946 ac_ext=c
50947 ac_cpp='$CPP $CPPFLAGS'
50948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
50957 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
50959 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
50960 for ac_func in atan2l
50961 do :
50962 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
50963 if test "x$ac_cv_func_atan2l" = x""yes; then :
50964 cat >>confdefs.h <<_ACEOF
50965 #define HAVE_ATAN2L 1
50966 _ACEOF
50969 done
50971 else
50973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
50974 $as_echo_n "checking for _atan2l declaration... " >&6; }
50975 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
50976 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
50977 $as_echo_n "(cached) " >&6
50978 else
50981 ac_ext=cpp
50982 ac_cpp='$CXXCPP $CPPFLAGS'
50983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50988 /* end confdefs.h. */
50989 #include <math.h>
50991 main ()
50993 _atan2l(0, 0);
50995 return 0;
50997 _ACEOF
50998 if ac_fn_cxx_try_compile "$LINENO"; then :
50999 glibcxx_cv_func__atan2l_use=yes
51000 else
51001 glibcxx_cv_func__atan2l_use=no
51003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51004 ac_ext=c
51005 ac_cpp='$CPP $CPPFLAGS'
51006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
51015 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
51017 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
51018 for ac_func in _atan2l
51019 do :
51020 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
51021 if test "x$ac_cv_func__atan2l" = x""yes; then :
51022 cat >>confdefs.h <<_ACEOF
51023 #define HAVE__ATAN2L 1
51024 _ACEOF
51027 done
51036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
51037 $as_echo_n "checking for expl declaration... " >&6; }
51038 if test x${glibcxx_cv_func_expl_use+set} != xset; then
51039 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
51040 $as_echo_n "(cached) " >&6
51041 else
51044 ac_ext=cpp
51045 ac_cpp='$CXXCPP $CPPFLAGS'
51046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51051 /* end confdefs.h. */
51052 #include <math.h>
51053 #ifdef HAVE_IEEEFP_H
51054 #include <ieeefp.h>
51055 #endif
51058 main ()
51060 expl(0);
51062 return 0;
51064 _ACEOF
51065 if ac_fn_cxx_try_compile "$LINENO"; then :
51066 glibcxx_cv_func_expl_use=yes
51067 else
51068 glibcxx_cv_func_expl_use=no
51070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51071 ac_ext=c
51072 ac_cpp='$CPP $CPPFLAGS'
51073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
51082 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
51084 if test x$glibcxx_cv_func_expl_use = x"yes"; then
51085 for ac_func in expl
51086 do :
51087 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
51088 if test "x$ac_cv_func_expl" = x""yes; then :
51089 cat >>confdefs.h <<_ACEOF
51090 #define HAVE_EXPL 1
51091 _ACEOF
51094 done
51096 else
51098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
51099 $as_echo_n "checking for _expl declaration... " >&6; }
51100 if test x${glibcxx_cv_func__expl_use+set} != xset; then
51101 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
51102 $as_echo_n "(cached) " >&6
51103 else
51106 ac_ext=cpp
51107 ac_cpp='$CXXCPP $CPPFLAGS'
51108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51113 /* end confdefs.h. */
51114 #include <math.h>
51115 #ifdef HAVE_IEEEFP_H
51116 #include <ieeefp.h>
51117 #endif
51120 main ()
51122 _expl(0);
51124 return 0;
51126 _ACEOF
51127 if ac_fn_cxx_try_compile "$LINENO"; then :
51128 glibcxx_cv_func__expl_use=yes
51129 else
51130 glibcxx_cv_func__expl_use=no
51132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51133 ac_ext=c
51134 ac_cpp='$CPP $CPPFLAGS'
51135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
51144 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
51146 if test x$glibcxx_cv_func__expl_use = x"yes"; then
51147 for ac_func in _expl
51148 do :
51149 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
51150 if test "x$ac_cv_func__expl" = x""yes; then :
51151 cat >>confdefs.h <<_ACEOF
51152 #define HAVE__EXPL 1
51153 _ACEOF
51156 done
51165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
51166 $as_echo_n "checking for fabsl declaration... " >&6; }
51167 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
51168 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
51169 $as_echo_n "(cached) " >&6
51170 else
51173 ac_ext=cpp
51174 ac_cpp='$CXXCPP $CPPFLAGS'
51175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51180 /* end confdefs.h. */
51181 #include <math.h>
51182 #ifdef HAVE_IEEEFP_H
51183 #include <ieeefp.h>
51184 #endif
51187 main ()
51189 fabsl(0);
51191 return 0;
51193 _ACEOF
51194 if ac_fn_cxx_try_compile "$LINENO"; then :
51195 glibcxx_cv_func_fabsl_use=yes
51196 else
51197 glibcxx_cv_func_fabsl_use=no
51199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51200 ac_ext=c
51201 ac_cpp='$CPP $CPPFLAGS'
51202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
51211 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
51213 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
51214 for ac_func in fabsl
51215 do :
51216 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
51217 if test "x$ac_cv_func_fabsl" = x""yes; then :
51218 cat >>confdefs.h <<_ACEOF
51219 #define HAVE_FABSL 1
51220 _ACEOF
51223 done
51225 else
51227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
51228 $as_echo_n "checking for _fabsl declaration... " >&6; }
51229 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
51230 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
51231 $as_echo_n "(cached) " >&6
51232 else
51235 ac_ext=cpp
51236 ac_cpp='$CXXCPP $CPPFLAGS'
51237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51242 /* end confdefs.h. */
51243 #include <math.h>
51244 #ifdef HAVE_IEEEFP_H
51245 #include <ieeefp.h>
51246 #endif
51249 main ()
51251 _fabsl(0);
51253 return 0;
51255 _ACEOF
51256 if ac_fn_cxx_try_compile "$LINENO"; then :
51257 glibcxx_cv_func__fabsl_use=yes
51258 else
51259 glibcxx_cv_func__fabsl_use=no
51261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51262 ac_ext=c
51263 ac_cpp='$CPP $CPPFLAGS'
51264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
51273 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
51275 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
51276 for ac_func in _fabsl
51277 do :
51278 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
51279 if test "x$ac_cv_func__fabsl" = x""yes; then :
51280 cat >>confdefs.h <<_ACEOF
51281 #define HAVE__FABSL 1
51282 _ACEOF
51285 done
51294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
51295 $as_echo_n "checking for fmodl declaration... " >&6; }
51296 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
51297 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
51298 $as_echo_n "(cached) " >&6
51299 else
51302 ac_ext=cpp
51303 ac_cpp='$CXXCPP $CPPFLAGS'
51304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51309 /* end confdefs.h. */
51310 #include <math.h>
51312 main ()
51314 fmodl(0, 0);
51316 return 0;
51318 _ACEOF
51319 if ac_fn_cxx_try_compile "$LINENO"; then :
51320 glibcxx_cv_func_fmodl_use=yes
51321 else
51322 glibcxx_cv_func_fmodl_use=no
51324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51325 ac_ext=c
51326 ac_cpp='$CPP $CPPFLAGS'
51327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
51336 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
51338 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
51339 for ac_func in fmodl
51340 do :
51341 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
51342 if test "x$ac_cv_func_fmodl" = x""yes; then :
51343 cat >>confdefs.h <<_ACEOF
51344 #define HAVE_FMODL 1
51345 _ACEOF
51348 done
51350 else
51352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
51353 $as_echo_n "checking for _fmodl declaration... " >&6; }
51354 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
51355 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
51356 $as_echo_n "(cached) " >&6
51357 else
51360 ac_ext=cpp
51361 ac_cpp='$CXXCPP $CPPFLAGS'
51362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51367 /* end confdefs.h. */
51368 #include <math.h>
51370 main ()
51372 _fmodl(0, 0);
51374 return 0;
51376 _ACEOF
51377 if ac_fn_cxx_try_compile "$LINENO"; then :
51378 glibcxx_cv_func__fmodl_use=yes
51379 else
51380 glibcxx_cv_func__fmodl_use=no
51382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51383 ac_ext=c
51384 ac_cpp='$CPP $CPPFLAGS'
51385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
51394 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
51396 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
51397 for ac_func in _fmodl
51398 do :
51399 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
51400 if test "x$ac_cv_func__fmodl" = x""yes; then :
51401 cat >>confdefs.h <<_ACEOF
51402 #define HAVE__FMODL 1
51403 _ACEOF
51406 done
51415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
51416 $as_echo_n "checking for frexpl declaration... " >&6; }
51417 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
51418 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
51419 $as_echo_n "(cached) " >&6
51420 else
51423 ac_ext=cpp
51424 ac_cpp='$CXXCPP $CPPFLAGS'
51425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51430 /* end confdefs.h. */
51431 #include <math.h>
51433 main ()
51435 frexpl(0, 0);
51437 return 0;
51439 _ACEOF
51440 if ac_fn_cxx_try_compile "$LINENO"; then :
51441 glibcxx_cv_func_frexpl_use=yes
51442 else
51443 glibcxx_cv_func_frexpl_use=no
51445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51446 ac_ext=c
51447 ac_cpp='$CPP $CPPFLAGS'
51448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
51457 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
51459 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
51460 for ac_func in frexpl
51461 do :
51462 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
51463 if test "x$ac_cv_func_frexpl" = x""yes; then :
51464 cat >>confdefs.h <<_ACEOF
51465 #define HAVE_FREXPL 1
51466 _ACEOF
51469 done
51471 else
51473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
51474 $as_echo_n "checking for _frexpl declaration... " >&6; }
51475 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
51476 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
51477 $as_echo_n "(cached) " >&6
51478 else
51481 ac_ext=cpp
51482 ac_cpp='$CXXCPP $CPPFLAGS'
51483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51488 /* end confdefs.h. */
51489 #include <math.h>
51491 main ()
51493 _frexpl(0, 0);
51495 return 0;
51497 _ACEOF
51498 if ac_fn_cxx_try_compile "$LINENO"; then :
51499 glibcxx_cv_func__frexpl_use=yes
51500 else
51501 glibcxx_cv_func__frexpl_use=no
51503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51504 ac_ext=c
51505 ac_cpp='$CPP $CPPFLAGS'
51506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
51515 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
51517 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
51518 for ac_func in _frexpl
51519 do :
51520 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
51521 if test "x$ac_cv_func__frexpl" = x""yes; then :
51522 cat >>confdefs.h <<_ACEOF
51523 #define HAVE__FREXPL 1
51524 _ACEOF
51527 done
51536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
51537 $as_echo_n "checking for hypotl declaration... " >&6; }
51538 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
51539 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
51540 $as_echo_n "(cached) " >&6
51541 else
51544 ac_ext=cpp
51545 ac_cpp='$CXXCPP $CPPFLAGS'
51546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51551 /* end confdefs.h. */
51552 #include <math.h>
51554 main ()
51556 hypotl(0, 0);
51558 return 0;
51560 _ACEOF
51561 if ac_fn_cxx_try_compile "$LINENO"; then :
51562 glibcxx_cv_func_hypotl_use=yes
51563 else
51564 glibcxx_cv_func_hypotl_use=no
51566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51567 ac_ext=c
51568 ac_cpp='$CPP $CPPFLAGS'
51569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
51578 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
51580 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
51581 for ac_func in hypotl
51582 do :
51583 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
51584 if test "x$ac_cv_func_hypotl" = x""yes; then :
51585 cat >>confdefs.h <<_ACEOF
51586 #define HAVE_HYPOTL 1
51587 _ACEOF
51590 done
51592 else
51594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
51595 $as_echo_n "checking for _hypotl declaration... " >&6; }
51596 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
51597 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
51598 $as_echo_n "(cached) " >&6
51599 else
51602 ac_ext=cpp
51603 ac_cpp='$CXXCPP $CPPFLAGS'
51604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51609 /* end confdefs.h. */
51610 #include <math.h>
51612 main ()
51614 _hypotl(0, 0);
51616 return 0;
51618 _ACEOF
51619 if ac_fn_cxx_try_compile "$LINENO"; then :
51620 glibcxx_cv_func__hypotl_use=yes
51621 else
51622 glibcxx_cv_func__hypotl_use=no
51624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51625 ac_ext=c
51626 ac_cpp='$CPP $CPPFLAGS'
51627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
51636 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
51638 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
51639 for ac_func in _hypotl
51640 do :
51641 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
51642 if test "x$ac_cv_func__hypotl" = x""yes; then :
51643 cat >>confdefs.h <<_ACEOF
51644 #define HAVE__HYPOTL 1
51645 _ACEOF
51648 done
51657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
51658 $as_echo_n "checking for ldexpl declaration... " >&6; }
51659 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
51660 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
51661 $as_echo_n "(cached) " >&6
51662 else
51665 ac_ext=cpp
51666 ac_cpp='$CXXCPP $CPPFLAGS'
51667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51672 /* end confdefs.h. */
51673 #include <math.h>
51675 main ()
51677 ldexpl(0, 0);
51679 return 0;
51681 _ACEOF
51682 if ac_fn_cxx_try_compile "$LINENO"; then :
51683 glibcxx_cv_func_ldexpl_use=yes
51684 else
51685 glibcxx_cv_func_ldexpl_use=no
51687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51688 ac_ext=c
51689 ac_cpp='$CPP $CPPFLAGS'
51690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
51699 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
51701 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
51702 for ac_func in ldexpl
51703 do :
51704 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
51705 if test "x$ac_cv_func_ldexpl" = x""yes; then :
51706 cat >>confdefs.h <<_ACEOF
51707 #define HAVE_LDEXPL 1
51708 _ACEOF
51711 done
51713 else
51715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
51716 $as_echo_n "checking for _ldexpl declaration... " >&6; }
51717 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
51718 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
51719 $as_echo_n "(cached) " >&6
51720 else
51723 ac_ext=cpp
51724 ac_cpp='$CXXCPP $CPPFLAGS'
51725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51730 /* end confdefs.h. */
51731 #include <math.h>
51733 main ()
51735 _ldexpl(0, 0);
51737 return 0;
51739 _ACEOF
51740 if ac_fn_cxx_try_compile "$LINENO"; then :
51741 glibcxx_cv_func__ldexpl_use=yes
51742 else
51743 glibcxx_cv_func__ldexpl_use=no
51745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51746 ac_ext=c
51747 ac_cpp='$CPP $CPPFLAGS'
51748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
51757 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
51759 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
51760 for ac_func in _ldexpl
51761 do :
51762 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
51763 if test "x$ac_cv_func__ldexpl" = x""yes; then :
51764 cat >>confdefs.h <<_ACEOF
51765 #define HAVE__LDEXPL 1
51766 _ACEOF
51769 done
51778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
51779 $as_echo_n "checking for logl declaration... " >&6; }
51780 if test x${glibcxx_cv_func_logl_use+set} != xset; then
51781 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
51782 $as_echo_n "(cached) " >&6
51783 else
51786 ac_ext=cpp
51787 ac_cpp='$CXXCPP $CPPFLAGS'
51788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51793 /* end confdefs.h. */
51794 #include <math.h>
51795 #ifdef HAVE_IEEEFP_H
51796 #include <ieeefp.h>
51797 #endif
51800 main ()
51802 logl(0);
51804 return 0;
51806 _ACEOF
51807 if ac_fn_cxx_try_compile "$LINENO"; then :
51808 glibcxx_cv_func_logl_use=yes
51809 else
51810 glibcxx_cv_func_logl_use=no
51812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51813 ac_ext=c
51814 ac_cpp='$CPP $CPPFLAGS'
51815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
51824 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
51826 if test x$glibcxx_cv_func_logl_use = x"yes"; then
51827 for ac_func in logl
51828 do :
51829 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
51830 if test "x$ac_cv_func_logl" = x""yes; then :
51831 cat >>confdefs.h <<_ACEOF
51832 #define HAVE_LOGL 1
51833 _ACEOF
51836 done
51838 else
51840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
51841 $as_echo_n "checking for _logl declaration... " >&6; }
51842 if test x${glibcxx_cv_func__logl_use+set} != xset; then
51843 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
51844 $as_echo_n "(cached) " >&6
51845 else
51848 ac_ext=cpp
51849 ac_cpp='$CXXCPP $CPPFLAGS'
51850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51855 /* end confdefs.h. */
51856 #include <math.h>
51857 #ifdef HAVE_IEEEFP_H
51858 #include <ieeefp.h>
51859 #endif
51862 main ()
51864 _logl(0);
51866 return 0;
51868 _ACEOF
51869 if ac_fn_cxx_try_compile "$LINENO"; then :
51870 glibcxx_cv_func__logl_use=yes
51871 else
51872 glibcxx_cv_func__logl_use=no
51874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51875 ac_ext=c
51876 ac_cpp='$CPP $CPPFLAGS'
51877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
51886 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
51888 if test x$glibcxx_cv_func__logl_use = x"yes"; then
51889 for ac_func in _logl
51890 do :
51891 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
51892 if test "x$ac_cv_func__logl" = x""yes; then :
51893 cat >>confdefs.h <<_ACEOF
51894 #define HAVE__LOGL 1
51895 _ACEOF
51898 done
51907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
51908 $as_echo_n "checking for log10l declaration... " >&6; }
51909 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
51910 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
51911 $as_echo_n "(cached) " >&6
51912 else
51915 ac_ext=cpp
51916 ac_cpp='$CXXCPP $CPPFLAGS'
51917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51922 /* end confdefs.h. */
51923 #include <math.h>
51924 #ifdef HAVE_IEEEFP_H
51925 #include <ieeefp.h>
51926 #endif
51929 main ()
51931 log10l(0);
51933 return 0;
51935 _ACEOF
51936 if ac_fn_cxx_try_compile "$LINENO"; then :
51937 glibcxx_cv_func_log10l_use=yes
51938 else
51939 glibcxx_cv_func_log10l_use=no
51941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51942 ac_ext=c
51943 ac_cpp='$CPP $CPPFLAGS'
51944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
51953 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
51955 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
51956 for ac_func in log10l
51957 do :
51958 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
51959 if test "x$ac_cv_func_log10l" = x""yes; then :
51960 cat >>confdefs.h <<_ACEOF
51961 #define HAVE_LOG10L 1
51962 _ACEOF
51965 done
51967 else
51969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
51970 $as_echo_n "checking for _log10l declaration... " >&6; }
51971 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
51972 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
51973 $as_echo_n "(cached) " >&6
51974 else
51977 ac_ext=cpp
51978 ac_cpp='$CXXCPP $CPPFLAGS'
51979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51984 /* end confdefs.h. */
51985 #include <math.h>
51986 #ifdef HAVE_IEEEFP_H
51987 #include <ieeefp.h>
51988 #endif
51991 main ()
51993 _log10l(0);
51995 return 0;
51997 _ACEOF
51998 if ac_fn_cxx_try_compile "$LINENO"; then :
51999 glibcxx_cv_func__log10l_use=yes
52000 else
52001 glibcxx_cv_func__log10l_use=no
52003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52004 ac_ext=c
52005 ac_cpp='$CPP $CPPFLAGS'
52006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
52015 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
52017 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
52018 for ac_func in _log10l
52019 do :
52020 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
52021 if test "x$ac_cv_func__log10l" = x""yes; then :
52022 cat >>confdefs.h <<_ACEOF
52023 #define HAVE__LOG10L 1
52024 _ACEOF
52027 done
52036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
52037 $as_echo_n "checking for modfl declaration... " >&6; }
52038 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
52039 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
52040 $as_echo_n "(cached) " >&6
52041 else
52044 ac_ext=cpp
52045 ac_cpp='$CXXCPP $CPPFLAGS'
52046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52051 /* end confdefs.h. */
52052 #include <math.h>
52054 main ()
52056 modfl(0, 0);
52058 return 0;
52060 _ACEOF
52061 if ac_fn_cxx_try_compile "$LINENO"; then :
52062 glibcxx_cv_func_modfl_use=yes
52063 else
52064 glibcxx_cv_func_modfl_use=no
52066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52067 ac_ext=c
52068 ac_cpp='$CPP $CPPFLAGS'
52069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
52078 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
52080 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
52081 for ac_func in modfl
52082 do :
52083 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
52084 if test "x$ac_cv_func_modfl" = x""yes; then :
52085 cat >>confdefs.h <<_ACEOF
52086 #define HAVE_MODFL 1
52087 _ACEOF
52090 done
52092 else
52094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
52095 $as_echo_n "checking for _modfl declaration... " >&6; }
52096 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
52097 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
52098 $as_echo_n "(cached) " >&6
52099 else
52102 ac_ext=cpp
52103 ac_cpp='$CXXCPP $CPPFLAGS'
52104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52109 /* end confdefs.h. */
52110 #include <math.h>
52112 main ()
52114 _modfl(0, 0);
52116 return 0;
52118 _ACEOF
52119 if ac_fn_cxx_try_compile "$LINENO"; then :
52120 glibcxx_cv_func__modfl_use=yes
52121 else
52122 glibcxx_cv_func__modfl_use=no
52124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52125 ac_ext=c
52126 ac_cpp='$CPP $CPPFLAGS'
52127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
52136 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
52138 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
52139 for ac_func in _modfl
52140 do :
52141 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
52142 if test "x$ac_cv_func__modfl" = x""yes; then :
52143 cat >>confdefs.h <<_ACEOF
52144 #define HAVE__MODFL 1
52145 _ACEOF
52148 done
52157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
52158 $as_echo_n "checking for powl declaration... " >&6; }
52159 if test x${glibcxx_cv_func_powl_use+set} != xset; then
52160 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
52161 $as_echo_n "(cached) " >&6
52162 else
52165 ac_ext=cpp
52166 ac_cpp='$CXXCPP $CPPFLAGS'
52167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52172 /* end confdefs.h. */
52173 #include <math.h>
52175 main ()
52177 powl(0, 0);
52179 return 0;
52181 _ACEOF
52182 if ac_fn_cxx_try_compile "$LINENO"; then :
52183 glibcxx_cv_func_powl_use=yes
52184 else
52185 glibcxx_cv_func_powl_use=no
52187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52188 ac_ext=c
52189 ac_cpp='$CPP $CPPFLAGS'
52190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
52199 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
52201 if test x$glibcxx_cv_func_powl_use = x"yes"; then
52202 for ac_func in powl
52203 do :
52204 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
52205 if test "x$ac_cv_func_powl" = x""yes; then :
52206 cat >>confdefs.h <<_ACEOF
52207 #define HAVE_POWL 1
52208 _ACEOF
52211 done
52213 else
52215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
52216 $as_echo_n "checking for _powl declaration... " >&6; }
52217 if test x${glibcxx_cv_func__powl_use+set} != xset; then
52218 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
52219 $as_echo_n "(cached) " >&6
52220 else
52223 ac_ext=cpp
52224 ac_cpp='$CXXCPP $CPPFLAGS'
52225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52230 /* end confdefs.h. */
52231 #include <math.h>
52233 main ()
52235 _powl(0, 0);
52237 return 0;
52239 _ACEOF
52240 if ac_fn_cxx_try_compile "$LINENO"; then :
52241 glibcxx_cv_func__powl_use=yes
52242 else
52243 glibcxx_cv_func__powl_use=no
52245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52246 ac_ext=c
52247 ac_cpp='$CPP $CPPFLAGS'
52248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
52257 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
52259 if test x$glibcxx_cv_func__powl_use = x"yes"; then
52260 for ac_func in _powl
52261 do :
52262 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
52263 if test "x$ac_cv_func__powl" = x""yes; then :
52264 cat >>confdefs.h <<_ACEOF
52265 #define HAVE__POWL 1
52266 _ACEOF
52269 done
52278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
52279 $as_echo_n "checking for sqrtl declaration... " >&6; }
52280 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
52281 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
52282 $as_echo_n "(cached) " >&6
52283 else
52286 ac_ext=cpp
52287 ac_cpp='$CXXCPP $CPPFLAGS'
52288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52293 /* end confdefs.h. */
52294 #include <math.h>
52295 #ifdef HAVE_IEEEFP_H
52296 #include <ieeefp.h>
52297 #endif
52300 main ()
52302 sqrtl(0);
52304 return 0;
52306 _ACEOF
52307 if ac_fn_cxx_try_compile "$LINENO"; then :
52308 glibcxx_cv_func_sqrtl_use=yes
52309 else
52310 glibcxx_cv_func_sqrtl_use=no
52312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52313 ac_ext=c
52314 ac_cpp='$CPP $CPPFLAGS'
52315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
52324 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
52326 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
52327 for ac_func in sqrtl
52328 do :
52329 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
52330 if test "x$ac_cv_func_sqrtl" = x""yes; then :
52331 cat >>confdefs.h <<_ACEOF
52332 #define HAVE_SQRTL 1
52333 _ACEOF
52336 done
52338 else
52340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
52341 $as_echo_n "checking for _sqrtl declaration... " >&6; }
52342 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
52343 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
52344 $as_echo_n "(cached) " >&6
52345 else
52348 ac_ext=cpp
52349 ac_cpp='$CXXCPP $CPPFLAGS'
52350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52355 /* end confdefs.h. */
52356 #include <math.h>
52357 #ifdef HAVE_IEEEFP_H
52358 #include <ieeefp.h>
52359 #endif
52362 main ()
52364 _sqrtl(0);
52366 return 0;
52368 _ACEOF
52369 if ac_fn_cxx_try_compile "$LINENO"; then :
52370 glibcxx_cv_func__sqrtl_use=yes
52371 else
52372 glibcxx_cv_func__sqrtl_use=no
52374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52375 ac_ext=c
52376 ac_cpp='$CPP $CPPFLAGS'
52377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
52386 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
52388 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
52389 for ac_func in _sqrtl
52390 do :
52391 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
52392 if test "x$ac_cv_func__sqrtl" = x""yes; then :
52393 cat >>confdefs.h <<_ACEOF
52394 #define HAVE__SQRTL 1
52395 _ACEOF
52398 done
52407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
52408 $as_echo_n "checking for sincosl declaration... " >&6; }
52409 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
52410 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
52411 $as_echo_n "(cached) " >&6
52412 else
52415 ac_ext=cpp
52416 ac_cpp='$CXXCPP $CPPFLAGS'
52417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52422 /* end confdefs.h. */
52423 #include <math.h>
52425 main ()
52427 sincosl(0, 0, 0);
52429 return 0;
52431 _ACEOF
52432 if ac_fn_cxx_try_compile "$LINENO"; then :
52433 glibcxx_cv_func_sincosl_use=yes
52434 else
52435 glibcxx_cv_func_sincosl_use=no
52437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52438 ac_ext=c
52439 ac_cpp='$CPP $CPPFLAGS'
52440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
52449 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
52451 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
52452 for ac_func in sincosl
52453 do :
52454 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
52455 if test "x$ac_cv_func_sincosl" = x""yes; then :
52456 cat >>confdefs.h <<_ACEOF
52457 #define HAVE_SINCOSL 1
52458 _ACEOF
52461 done
52463 else
52465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
52466 $as_echo_n "checking for _sincosl declaration... " >&6; }
52467 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
52468 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
52469 $as_echo_n "(cached) " >&6
52470 else
52473 ac_ext=cpp
52474 ac_cpp='$CXXCPP $CPPFLAGS'
52475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52480 /* end confdefs.h. */
52481 #include <math.h>
52483 main ()
52485 _sincosl(0, 0, 0);
52487 return 0;
52489 _ACEOF
52490 if ac_fn_cxx_try_compile "$LINENO"; then :
52491 glibcxx_cv_func__sincosl_use=yes
52492 else
52493 glibcxx_cv_func__sincosl_use=no
52495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52496 ac_ext=c
52497 ac_cpp='$CPP $CPPFLAGS'
52498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
52507 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
52509 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
52510 for ac_func in _sincosl
52511 do :
52512 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
52513 if test "x$ac_cv_func__sincosl" = x""yes; then :
52514 cat >>confdefs.h <<_ACEOF
52515 #define HAVE__SINCOSL 1
52516 _ACEOF
52519 done
52528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
52529 $as_echo_n "checking for finitel declaration... " >&6; }
52530 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
52531 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
52532 $as_echo_n "(cached) " >&6
52533 else
52536 ac_ext=cpp
52537 ac_cpp='$CXXCPP $CPPFLAGS'
52538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52543 /* end confdefs.h. */
52544 #include <math.h>
52545 #ifdef HAVE_IEEEFP_H
52546 #include <ieeefp.h>
52547 #endif
52550 main ()
52552 finitel(0);
52554 return 0;
52556 _ACEOF
52557 if ac_fn_cxx_try_compile "$LINENO"; then :
52558 glibcxx_cv_func_finitel_use=yes
52559 else
52560 glibcxx_cv_func_finitel_use=no
52562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52563 ac_ext=c
52564 ac_cpp='$CPP $CPPFLAGS'
52565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
52574 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
52576 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
52577 for ac_func in finitel
52578 do :
52579 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
52580 if test "x$ac_cv_func_finitel" = x""yes; then :
52581 cat >>confdefs.h <<_ACEOF
52582 #define HAVE_FINITEL 1
52583 _ACEOF
52586 done
52588 else
52590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
52591 $as_echo_n "checking for _finitel declaration... " >&6; }
52592 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
52593 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
52594 $as_echo_n "(cached) " >&6
52595 else
52598 ac_ext=cpp
52599 ac_cpp='$CXXCPP $CPPFLAGS'
52600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52605 /* end confdefs.h. */
52606 #include <math.h>
52607 #ifdef HAVE_IEEEFP_H
52608 #include <ieeefp.h>
52609 #endif
52612 main ()
52614 _finitel(0);
52616 return 0;
52618 _ACEOF
52619 if ac_fn_cxx_try_compile "$LINENO"; then :
52620 glibcxx_cv_func__finitel_use=yes
52621 else
52622 glibcxx_cv_func__finitel_use=no
52624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52625 ac_ext=c
52626 ac_cpp='$CPP $CPPFLAGS'
52627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
52636 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
52638 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
52639 for ac_func in _finitel
52640 do :
52641 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
52642 if test "x$ac_cv_func__finitel" = x""yes; then :
52643 cat >>confdefs.h <<_ACEOF
52644 #define HAVE__FINITEL 1
52645 _ACEOF
52648 done
52656 LIBS="$ac_save_LIBS"
52657 CXXFLAGS="$ac_save_CXXFLAGS"
52660 ac_test_CXXFLAGS="${CXXFLAGS+set}"
52661 ac_save_CXXFLAGS="$CXXFLAGS"
52662 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
52665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
52666 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
52667 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
52668 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
52669 $as_echo_n "(cached) " >&6
52670 else
52673 ac_ext=cpp
52674 ac_cpp='$CXXCPP $CPPFLAGS'
52675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52680 /* end confdefs.h. */
52681 #include <stdlib.h>
52683 main ()
52685 at_quick_exit(0);
52687 return 0;
52689 _ACEOF
52690 if ac_fn_cxx_try_compile "$LINENO"; then :
52691 glibcxx_cv_func_at_quick_exit_use=yes
52692 else
52693 glibcxx_cv_func_at_quick_exit_use=no
52695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52696 ac_ext=c
52697 ac_cpp='$CPP $CPPFLAGS'
52698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
52707 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
52708 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
52709 for ac_func in at_quick_exit
52710 do :
52711 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
52712 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
52713 cat >>confdefs.h <<_ACEOF
52714 #define HAVE_AT_QUICK_EXIT 1
52715 _ACEOF
52718 done
52723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
52724 $as_echo_n "checking for quick_exit declaration... " >&6; }
52725 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
52726 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
52727 $as_echo_n "(cached) " >&6
52728 else
52731 ac_ext=cpp
52732 ac_cpp='$CXXCPP $CPPFLAGS'
52733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52738 /* end confdefs.h. */
52739 #include <stdlib.h>
52741 main ()
52743 quick_exit(0);
52745 return 0;
52747 _ACEOF
52748 if ac_fn_cxx_try_compile "$LINENO"; then :
52749 glibcxx_cv_func_quick_exit_use=yes
52750 else
52751 glibcxx_cv_func_quick_exit_use=no
52753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52754 ac_ext=c
52755 ac_cpp='$CPP $CPPFLAGS'
52756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
52765 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
52766 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
52767 for ac_func in quick_exit
52768 do :
52769 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
52770 if test "x$ac_cv_func_quick_exit" = x""yes; then :
52771 cat >>confdefs.h <<_ACEOF
52772 #define HAVE_QUICK_EXIT 1
52773 _ACEOF
52776 done
52781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
52782 $as_echo_n "checking for strtold declaration... " >&6; }
52783 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
52784 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
52785 $as_echo_n "(cached) " >&6
52786 else
52789 ac_ext=cpp
52790 ac_cpp='$CXXCPP $CPPFLAGS'
52791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52796 /* end confdefs.h. */
52797 #include <stdlib.h>
52799 main ()
52801 strtold(0, 0);
52803 return 0;
52805 _ACEOF
52806 if ac_fn_cxx_try_compile "$LINENO"; then :
52807 glibcxx_cv_func_strtold_use=yes
52808 else
52809 glibcxx_cv_func_strtold_use=no
52811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52812 ac_ext=c
52813 ac_cpp='$CPP $CPPFLAGS'
52814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
52823 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
52824 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
52825 for ac_func in strtold
52826 do :
52827 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
52828 if test "x$ac_cv_func_strtold" = x""yes; then :
52829 cat >>confdefs.h <<_ACEOF
52830 #define HAVE_STRTOLD 1
52831 _ACEOF
52834 done
52841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
52842 $as_echo_n "checking for strtof declaration... " >&6; }
52843 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
52844 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
52845 $as_echo_n "(cached) " >&6
52846 else
52849 ac_ext=cpp
52850 ac_cpp='$CXXCPP $CPPFLAGS'
52851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52856 /* end confdefs.h. */
52857 #include <stdlib.h>
52859 main ()
52861 strtof(0, 0);
52863 return 0;
52865 _ACEOF
52866 if ac_fn_cxx_try_compile "$LINENO"; then :
52867 glibcxx_cv_func_strtof_use=yes
52868 else
52869 glibcxx_cv_func_strtof_use=no
52871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52872 ac_ext=c
52873 ac_cpp='$CPP $CPPFLAGS'
52874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
52883 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
52884 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
52885 for ac_func in strtof
52886 do :
52887 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
52888 if test "x$ac_cv_func_strtof" = x""yes; then :
52889 cat >>confdefs.h <<_ACEOF
52890 #define HAVE_STRTOF 1
52891 _ACEOF
52894 done
52901 CXXFLAGS="$ac_save_CXXFLAGS"
52905 *djgpp)
52906 # GLIBCXX_CHECK_MATH_SUPPORT
52907 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
52909 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
52911 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
52913 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
52915 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
52919 *-freebsd*)
52920 SECTION_FLAGS='-ffunction-sections -fdata-sections'
52923 # If we're not using GNU ld, then there's no point in even trying these
52924 # tests. Check for that first. We should have already tested for gld
52925 # by now (in libtool), but require it now just to be safe...
52926 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
52927 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
52931 # The name set by libtool depends on the version of libtool. Shame on us
52932 # for depending on an impl detail, but c'est la vie. Older versions used
52933 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
52934 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
52935 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
52936 # set (hence we're using an older libtool), then set it.
52937 if test x${with_gnu_ld+set} != xset; then
52938 if test x${ac_cv_prog_gnu_ld+set} != xset; then
52939 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
52940 with_gnu_ld=no
52941 else
52942 with_gnu_ld=$ac_cv_prog_gnu_ld
52946 # Start by getting the version number. I think the libtool test already
52947 # does some of this, but throws away the result.
52948 glibcxx_ld_is_gold=no
52949 if test x"$with_gnu_ld" = x"yes"; then
52950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
52951 $as_echo_n "checking for ld version... " >&6; }
52953 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
52954 glibcxx_ld_is_gold=yes
52956 ldver=`$LD --version 2>/dev/null |
52957 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'`
52959 glibcxx_gnu_ld_version=`echo $ldver | \
52960 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
52961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
52962 $as_echo "$glibcxx_gnu_ld_version" >&6; }
52965 # Set --gc-sections.
52966 glibcxx_have_gc_sections=no
52967 if test "$glibcxx_ld_is_gold" = "yes"; then
52968 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
52969 glibcxx_have_gc_sections=yes
52971 else
52972 glibcxx_gcsections_min_ld=21602
52973 if test x"$with_gnu_ld" = x"yes" &&
52974 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
52975 glibcxx_have_gc_sections=yes
52978 if test "$glibcxx_have_gc_sections" = "yes"; then
52979 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
52980 # NB: This flag only works reliably after 2.16.1. Configure tests
52981 # for this are difficult, so hard wire a value that should work.
52983 ac_test_CFLAGS="${CFLAGS+set}"
52984 ac_save_CFLAGS="$CFLAGS"
52985 CFLAGS='-Wl,--gc-sections'
52987 # Check for -Wl,--gc-sections
52988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
52989 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
52990 if test x$gcc_no_link = xyes; then
52991 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52994 /* end confdefs.h. */
52995 int one(void) { return 1; }
52996 int two(void) { return 2; }
52999 main ()
53001 two();
53003 return 0;
53005 _ACEOF
53006 if ac_fn_c_try_link "$LINENO"; then :
53007 ac_gcsections=yes
53008 else
53009 ac_gcsections=no
53011 rm -f core conftest.err conftest.$ac_objext \
53012 conftest$ac_exeext conftest.$ac_ext
53013 if test "$ac_gcsections" = "yes"; then
53014 rm -f conftest.c
53015 touch conftest.c
53016 if $CC -c conftest.c; then
53017 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
53018 grep "Warning: gc-sections option ignored" > /dev/null; then
53019 ac_gcsections=no
53022 rm -f conftest.c conftest.o conftest
53024 if test "$ac_gcsections" = "yes"; then
53025 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
53027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
53028 $as_echo "$ac_gcsections" >&6; }
53030 if test "$ac_test_CFLAGS" = set; then
53031 CFLAGS="$ac_save_CFLAGS"
53032 else
53033 # this is the suspicious part
53034 CFLAGS=''
53038 # Set -z,relro.
53039 # Note this is only for shared objects.
53040 ac_ld_relro=no
53041 if test x"$with_gnu_ld" = x"yes"; then
53042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
53043 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
53044 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
53045 if test -n "$cxx_z_relo"; then
53046 OPT_LDFLAGS="-Wl,-z,relro"
53047 ac_ld_relro=yes
53049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
53050 $as_echo "$ac_ld_relro" >&6; }
53053 # Set linker optimization flags.
53054 if test x"$with_gnu_ld" = x"yes"; then
53055 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
53061 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
53063 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
53065 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
53067 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
53069 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
53071 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
53073 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
53075 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
53077 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
53080 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
53082 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
53084 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
53086 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
53088 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
53090 $as_echo "#define HAVE_COSF 1" >>confdefs.h
53092 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
53094 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
53096 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
53098 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
53100 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
53102 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
53104 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
53106 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
53108 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
53110 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
53112 $as_echo "#define HAVE_POWF 1" >>confdefs.h
53114 $as_echo "#define HAVE_SINF 1" >>confdefs.h
53116 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
53118 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
53120 $as_echo "#define HAVE_TANF 1" >>confdefs.h
53122 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
53124 if test x"long_double_math_on_this_cpu" = x"yes"; then
53125 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
53127 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
53129 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
53133 *-hpux*)
53134 SECTION_FLAGS='-ffunction-sections -fdata-sections'
53137 # If we're not using GNU ld, then there's no point in even trying these
53138 # tests. Check for that first. We should have already tested for gld
53139 # by now (in libtool), but require it now just to be safe...
53140 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
53141 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
53145 # The name set by libtool depends on the version of libtool. Shame on us
53146 # for depending on an impl detail, but c'est la vie. Older versions used
53147 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
53148 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
53149 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
53150 # set (hence we're using an older libtool), then set it.
53151 if test x${with_gnu_ld+set} != xset; then
53152 if test x${ac_cv_prog_gnu_ld+set} != xset; then
53153 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
53154 with_gnu_ld=no
53155 else
53156 with_gnu_ld=$ac_cv_prog_gnu_ld
53160 # Start by getting the version number. I think the libtool test already
53161 # does some of this, but throws away the result.
53162 glibcxx_ld_is_gold=no
53163 if test x"$with_gnu_ld" = x"yes"; then
53164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
53165 $as_echo_n "checking for ld version... " >&6; }
53167 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
53168 glibcxx_ld_is_gold=yes
53170 ldver=`$LD --version 2>/dev/null |
53171 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'`
53173 glibcxx_gnu_ld_version=`echo $ldver | \
53174 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
53175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
53176 $as_echo "$glibcxx_gnu_ld_version" >&6; }
53179 # Set --gc-sections.
53180 glibcxx_have_gc_sections=no
53181 if test "$glibcxx_ld_is_gold" = "yes"; then
53182 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
53183 glibcxx_have_gc_sections=yes
53185 else
53186 glibcxx_gcsections_min_ld=21602
53187 if test x"$with_gnu_ld" = x"yes" &&
53188 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
53189 glibcxx_have_gc_sections=yes
53192 if test "$glibcxx_have_gc_sections" = "yes"; then
53193 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
53194 # NB: This flag only works reliably after 2.16.1. Configure tests
53195 # for this are difficult, so hard wire a value that should work.
53197 ac_test_CFLAGS="${CFLAGS+set}"
53198 ac_save_CFLAGS="$CFLAGS"
53199 CFLAGS='-Wl,--gc-sections'
53201 # Check for -Wl,--gc-sections
53202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
53203 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
53204 if test x$gcc_no_link = xyes; then
53205 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53208 /* end confdefs.h. */
53209 int one(void) { return 1; }
53210 int two(void) { return 2; }
53213 main ()
53215 two();
53217 return 0;
53219 _ACEOF
53220 if ac_fn_c_try_link "$LINENO"; then :
53221 ac_gcsections=yes
53222 else
53223 ac_gcsections=no
53225 rm -f core conftest.err conftest.$ac_objext \
53226 conftest$ac_exeext conftest.$ac_ext
53227 if test "$ac_gcsections" = "yes"; then
53228 rm -f conftest.c
53229 touch conftest.c
53230 if $CC -c conftest.c; then
53231 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
53232 grep "Warning: gc-sections option ignored" > /dev/null; then
53233 ac_gcsections=no
53236 rm -f conftest.c conftest.o conftest
53238 if test "$ac_gcsections" = "yes"; then
53239 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
53241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
53242 $as_echo "$ac_gcsections" >&6; }
53244 if test "$ac_test_CFLAGS" = set; then
53245 CFLAGS="$ac_save_CFLAGS"
53246 else
53247 # this is the suspicious part
53248 CFLAGS=''
53252 # Set -z,relro.
53253 # Note this is only for shared objects.
53254 ac_ld_relro=no
53255 if test x"$with_gnu_ld" = x"yes"; then
53256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
53257 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
53258 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
53259 if test -n "$cxx_z_relo"; then
53260 OPT_LDFLAGS="-Wl,-z,relro"
53261 ac_ld_relro=yes
53263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
53264 $as_echo "$ac_ld_relro" >&6; }
53267 # Set linker optimization flags.
53268 if test x"$with_gnu_ld" = x"yes"; then
53269 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
53276 # GLIBCXX_CHECK_MATH_SUPPORT
53277 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
53279 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
53281 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
53283 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
53285 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
53287 $as_echo "#define HAVE_COSF 1" >>confdefs.h
53289 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
53291 $as_echo "#define HAVE_SINF 1" >>confdefs.h
53293 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
53295 $as_echo "#define HAVE_TANF 1" >>confdefs.h
53297 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
53299 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
53301 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
53303 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
53305 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
53307 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
53309 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
53311 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
53313 $as_echo "#define HAVE_MODF 1" >>confdefs.h
53315 $as_echo "#define HAVE_POWF 1" >>confdefs.h
53317 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
53320 # GLIBCXX_CHECK_STDLIB_SUPPORT
53321 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
53326 # Check whether --enable-tls was given.
53327 if test "${enable_tls+set}" = set; then :
53328 enableval=$enable_tls;
53329 case "$enableval" in
53330 yes|no) ;;
53331 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
53332 esac
53334 else
53335 enable_tls=yes
53339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
53340 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
53341 if test "${gcc_cv_have_tls+set}" = set; then :
53342 $as_echo_n "(cached) " >&6
53343 else
53345 if test "$cross_compiling" = yes; then :
53346 if test x$gcc_no_link = xyes; then
53347 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53350 /* end confdefs.h. */
53351 __thread int a; int b; int main() { return a = b; }
53352 _ACEOF
53353 if ac_fn_c_try_link "$LINENO"; then :
53354 chktls_save_LDFLAGS="$LDFLAGS"
53355 case $host in
53356 *-*-linux*)
53357 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
53359 esac
53360 chktls_save_CFLAGS="$CFLAGS"
53361 CFLAGS="-fPIC $CFLAGS"
53362 if test x$gcc_no_link = xyes; then
53363 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53366 /* end confdefs.h. */
53367 int f() { return 0; }
53368 _ACEOF
53369 if ac_fn_c_try_link "$LINENO"; then :
53370 if test x$gcc_no_link = xyes; then
53371 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53374 /* end confdefs.h. */
53375 __thread int a; int b; int f() { return a = b; }
53376 _ACEOF
53377 if ac_fn_c_try_link "$LINENO"; then :
53378 gcc_cv_have_tls=yes
53379 else
53380 gcc_cv_have_tls=no
53382 rm -f core conftest.err conftest.$ac_objext \
53383 conftest$ac_exeext conftest.$ac_ext
53384 else
53385 gcc_cv_have_tls=yes
53387 rm -f core conftest.err conftest.$ac_objext \
53388 conftest$ac_exeext conftest.$ac_ext
53389 CFLAGS="$chktls_save_CFLAGS"
53390 LDFLAGS="$chktls_save_LDFLAGS"
53391 else
53392 gcc_cv_have_tls=no
53394 rm -f core conftest.err conftest.$ac_objext \
53395 conftest$ac_exeext conftest.$ac_ext
53398 else
53399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53400 /* end confdefs.h. */
53401 __thread int a; int b; int main() { return a = b; }
53402 _ACEOF
53403 if ac_fn_c_try_run "$LINENO"; then :
53404 chktls_save_LDFLAGS="$LDFLAGS"
53405 LDFLAGS="-static $LDFLAGS"
53406 if test x$gcc_no_link = xyes; then
53407 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53410 /* end confdefs.h. */
53411 int main() { return 0; }
53412 _ACEOF
53413 if ac_fn_c_try_link "$LINENO"; then :
53414 if test "$cross_compiling" = yes; then :
53415 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
53416 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
53417 as_fn_error "cannot run test program while cross compiling
53418 See \`config.log' for more details." "$LINENO" 5; }
53419 else
53420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53421 /* end confdefs.h. */
53422 __thread int a; int b; int main() { return a = b; }
53423 _ACEOF
53424 if ac_fn_c_try_run "$LINENO"; then :
53425 gcc_cv_have_tls=yes
53426 else
53427 gcc_cv_have_tls=no
53429 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
53430 conftest.$ac_objext conftest.beam conftest.$ac_ext
53433 else
53434 gcc_cv_have_tls=yes
53436 rm -f core conftest.err conftest.$ac_objext \
53437 conftest$ac_exeext conftest.$ac_ext
53438 LDFLAGS="$chktls_save_LDFLAGS"
53439 if test $gcc_cv_have_tls = yes; then
53440 chktls_save_CFLAGS="$CFLAGS"
53441 thread_CFLAGS=failed
53442 for flag in '' '-pthread' '-lpthread'; do
53443 CFLAGS="$flag $chktls_save_CFLAGS"
53444 if test x$gcc_no_link = xyes; then
53445 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53448 /* end confdefs.h. */
53449 #include <pthread.h>
53450 void *g(void *d) { return NULL; }
53452 main ()
53454 pthread_t t; pthread_create(&t,NULL,g,NULL);
53456 return 0;
53458 _ACEOF
53459 if ac_fn_c_try_link "$LINENO"; then :
53460 thread_CFLAGS="$flag"
53462 rm -f core conftest.err conftest.$ac_objext \
53463 conftest$ac_exeext conftest.$ac_ext
53464 if test "X$thread_CFLAGS" != Xfailed; then
53465 break
53467 done
53468 CFLAGS="$chktls_save_CFLAGS"
53469 if test "X$thread_CFLAGS" != Xfailed; then
53470 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
53471 if test "$cross_compiling" = yes; then :
53472 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
53473 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
53474 as_fn_error "cannot run test program while cross compiling
53475 See \`config.log' for more details." "$LINENO" 5; }
53476 else
53477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53478 /* end confdefs.h. */
53479 #include <pthread.h>
53480 __thread int a;
53481 static int *volatile a_in_other_thread;
53482 static void *
53483 thread_func (void *arg)
53485 a_in_other_thread = &a;
53486 return (void *)0;
53489 main ()
53491 pthread_t thread;
53492 void *thread_retval;
53493 int *volatile a_in_main_thread;
53494 a_in_main_thread = &a;
53495 if (pthread_create (&thread, (pthread_attr_t *)0,
53496 thread_func, (void *)0))
53497 return 0;
53498 if (pthread_join (thread, &thread_retval))
53499 return 0;
53500 return (a_in_other_thread == a_in_main_thread);
53502 return 0;
53504 _ACEOF
53505 if ac_fn_c_try_run "$LINENO"; then :
53506 gcc_cv_have_tls=yes
53507 else
53508 gcc_cv_have_tls=no
53510 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
53511 conftest.$ac_objext conftest.beam conftest.$ac_ext
53514 CFLAGS="$chktls_save_CFLAGS"
53517 else
53518 gcc_cv_have_tls=no
53520 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
53521 conftest.$ac_objext conftest.beam conftest.$ac_ext
53525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
53526 $as_echo "$gcc_cv_have_tls" >&6; }
53527 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
53529 $as_echo "#define HAVE_TLS 1" >>confdefs.h
53532 case "$target" in
53533 *-hpux10*)
53534 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
53536 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
53538 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
53540 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
53542 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
53545 esac
53547 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu | *-cygwin*)
53549 # All these tests are for C++; save the language and the compiler flags.
53550 # The CXXFLAGS thing is suspicious, but based on similar bits previously
53551 # found in GLIBCXX_CONFIGURE.
53553 ac_ext=cpp
53554 ac_cpp='$CXXCPP $CPPFLAGS'
53555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53559 ac_test_CXXFLAGS="${CXXFLAGS+set}"
53560 ac_save_CXXFLAGS="$CXXFLAGS"
53562 # Check for maintainer-mode bits.
53563 if test x"$USE_MAINTAINER_MODE" = xno; then
53564 WERROR=''
53565 else
53566 WERROR='-Werror'
53569 # Check for -ffunction-sections -fdata-sections
53570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
53571 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
53572 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
53573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53574 /* end confdefs.h. */
53575 int foo; void bar() { };
53577 main ()
53581 return 0;
53583 _ACEOF
53584 if ac_fn_cxx_try_compile "$LINENO"; then :
53585 ac_fdsections=yes
53586 else
53587 ac_fdsections=no
53589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53590 if test "$ac_test_CXXFLAGS" = set; then
53591 CXXFLAGS="$ac_save_CXXFLAGS"
53592 else
53593 # this is the suspicious part
53594 CXXFLAGS=''
53596 if test x"$ac_fdsections" = x"yes"; then
53597 SECTION_FLAGS='-ffunction-sections -fdata-sections'
53599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
53600 $as_echo "$ac_fdsections" >&6; }
53602 ac_ext=c
53603 ac_cpp='$CPP $CPPFLAGS'
53604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53612 # If we're not using GNU ld, then there's no point in even trying these
53613 # tests. Check for that first. We should have already tested for gld
53614 # by now (in libtool), but require it now just to be safe...
53615 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
53616 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
53620 # The name set by libtool depends on the version of libtool. Shame on us
53621 # for depending on an impl detail, but c'est la vie. Older versions used
53622 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
53623 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
53624 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
53625 # set (hence we're using an older libtool), then set it.
53626 if test x${with_gnu_ld+set} != xset; then
53627 if test x${ac_cv_prog_gnu_ld+set} != xset; then
53628 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
53629 with_gnu_ld=no
53630 else
53631 with_gnu_ld=$ac_cv_prog_gnu_ld
53635 # Start by getting the version number. I think the libtool test already
53636 # does some of this, but throws away the result.
53637 glibcxx_ld_is_gold=no
53638 if test x"$with_gnu_ld" = x"yes"; then
53639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
53640 $as_echo_n "checking for ld version... " >&6; }
53642 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
53643 glibcxx_ld_is_gold=yes
53645 ldver=`$LD --version 2>/dev/null |
53646 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'`
53648 glibcxx_gnu_ld_version=`echo $ldver | \
53649 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
53650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
53651 $as_echo "$glibcxx_gnu_ld_version" >&6; }
53654 # Set --gc-sections.
53655 glibcxx_have_gc_sections=no
53656 if test "$glibcxx_ld_is_gold" = "yes"; then
53657 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
53658 glibcxx_have_gc_sections=yes
53660 else
53661 glibcxx_gcsections_min_ld=21602
53662 if test x"$with_gnu_ld" = x"yes" &&
53663 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
53664 glibcxx_have_gc_sections=yes
53667 if test "$glibcxx_have_gc_sections" = "yes"; then
53668 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
53669 # NB: This flag only works reliably after 2.16.1. Configure tests
53670 # for this are difficult, so hard wire a value that should work.
53672 ac_test_CFLAGS="${CFLAGS+set}"
53673 ac_save_CFLAGS="$CFLAGS"
53674 CFLAGS='-Wl,--gc-sections'
53676 # Check for -Wl,--gc-sections
53677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
53678 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
53679 if test x$gcc_no_link = xyes; then
53680 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53683 /* end confdefs.h. */
53684 int one(void) { return 1; }
53685 int two(void) { return 2; }
53688 main ()
53690 two();
53692 return 0;
53694 _ACEOF
53695 if ac_fn_c_try_link "$LINENO"; then :
53696 ac_gcsections=yes
53697 else
53698 ac_gcsections=no
53700 rm -f core conftest.err conftest.$ac_objext \
53701 conftest$ac_exeext conftest.$ac_ext
53702 if test "$ac_gcsections" = "yes"; then
53703 rm -f conftest.c
53704 touch conftest.c
53705 if $CC -c conftest.c; then
53706 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
53707 grep "Warning: gc-sections option ignored" > /dev/null; then
53708 ac_gcsections=no
53711 rm -f conftest.c conftest.o conftest
53713 if test "$ac_gcsections" = "yes"; then
53714 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
53716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
53717 $as_echo "$ac_gcsections" >&6; }
53719 if test "$ac_test_CFLAGS" = set; then
53720 CFLAGS="$ac_save_CFLAGS"
53721 else
53722 # this is the suspicious part
53723 CFLAGS=''
53727 # Set -z,relro.
53728 # Note this is only for shared objects.
53729 ac_ld_relro=no
53730 if test x"$with_gnu_ld" = x"yes"; then
53731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
53732 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
53733 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
53734 if test -n "$cxx_z_relo"; then
53735 OPT_LDFLAGS="-Wl,-z,relro"
53736 ac_ld_relro=yes
53738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
53739 $as_echo "$ac_ld_relro" >&6; }
53742 # Set linker optimization flags.
53743 if test x"$with_gnu_ld" = x"yes"; then
53744 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
53751 ac_test_CXXFLAGS="${CXXFLAGS+set}"
53752 ac_save_CXXFLAGS="$CXXFLAGS"
53753 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
53755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
53756 $as_echo_n "checking for sin in -lm... " >&6; }
53757 if test "${ac_cv_lib_m_sin+set}" = set; then :
53758 $as_echo_n "(cached) " >&6
53759 else
53760 ac_check_lib_save_LIBS=$LIBS
53761 LIBS="-lm $LIBS"
53762 if test x$gcc_no_link = xyes; then
53763 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53766 /* end confdefs.h. */
53768 /* Override any GCC internal prototype to avoid an error.
53769 Use char because int might match the return type of a GCC
53770 builtin and then its argument prototype would still apply. */
53771 #ifdef __cplusplus
53772 extern "C"
53773 #endif
53774 char sin ();
53776 main ()
53778 return sin ();
53780 return 0;
53782 _ACEOF
53783 if ac_fn_c_try_link "$LINENO"; then :
53784 ac_cv_lib_m_sin=yes
53785 else
53786 ac_cv_lib_m_sin=no
53788 rm -f core conftest.err conftest.$ac_objext \
53789 conftest$ac_exeext conftest.$ac_ext
53790 LIBS=$ac_check_lib_save_LIBS
53792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
53793 $as_echo "$ac_cv_lib_m_sin" >&6; }
53794 if test "x$ac_cv_lib_m_sin" = x""yes; then :
53795 libm="-lm"
53798 ac_save_LIBS="$LIBS"
53799 LIBS="$LIBS $libm"
53803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
53804 $as_echo_n "checking for isinf declaration... " >&6; }
53805 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
53806 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
53807 $as_echo_n "(cached) " >&6
53808 else
53811 ac_ext=cpp
53812 ac_cpp='$CXXCPP $CPPFLAGS'
53813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53818 /* end confdefs.h. */
53819 #include <math.h>
53820 #ifdef HAVE_IEEEFP_H
53821 #include <ieeefp.h>
53822 #endif
53825 main ()
53827 isinf(0);
53829 return 0;
53831 _ACEOF
53832 if ac_fn_cxx_try_compile "$LINENO"; then :
53833 glibcxx_cv_func_isinf_use=yes
53834 else
53835 glibcxx_cv_func_isinf_use=no
53837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53838 ac_ext=c
53839 ac_cpp='$CPP $CPPFLAGS'
53840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
53849 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
53851 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
53852 for ac_func in isinf
53853 do :
53854 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
53855 if test "x$ac_cv_func_isinf" = x""yes; then :
53856 cat >>confdefs.h <<_ACEOF
53857 #define HAVE_ISINF 1
53858 _ACEOF
53861 done
53863 else
53865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
53866 $as_echo_n "checking for _isinf declaration... " >&6; }
53867 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
53868 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
53869 $as_echo_n "(cached) " >&6
53870 else
53873 ac_ext=cpp
53874 ac_cpp='$CXXCPP $CPPFLAGS'
53875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53880 /* end confdefs.h. */
53881 #include <math.h>
53882 #ifdef HAVE_IEEEFP_H
53883 #include <ieeefp.h>
53884 #endif
53887 main ()
53889 _isinf(0);
53891 return 0;
53893 _ACEOF
53894 if ac_fn_cxx_try_compile "$LINENO"; then :
53895 glibcxx_cv_func__isinf_use=yes
53896 else
53897 glibcxx_cv_func__isinf_use=no
53899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53900 ac_ext=c
53901 ac_cpp='$CPP $CPPFLAGS'
53902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
53911 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
53913 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
53914 for ac_func in _isinf
53915 do :
53916 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
53917 if test "x$ac_cv_func__isinf" = x""yes; then :
53918 cat >>confdefs.h <<_ACEOF
53919 #define HAVE__ISINF 1
53920 _ACEOF
53923 done
53932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
53933 $as_echo_n "checking for isnan declaration... " >&6; }
53934 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
53935 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
53936 $as_echo_n "(cached) " >&6
53937 else
53940 ac_ext=cpp
53941 ac_cpp='$CXXCPP $CPPFLAGS'
53942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53947 /* end confdefs.h. */
53948 #include <math.h>
53949 #ifdef HAVE_IEEEFP_H
53950 #include <ieeefp.h>
53951 #endif
53954 main ()
53956 isnan(0);
53958 return 0;
53960 _ACEOF
53961 if ac_fn_cxx_try_compile "$LINENO"; then :
53962 glibcxx_cv_func_isnan_use=yes
53963 else
53964 glibcxx_cv_func_isnan_use=no
53966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53967 ac_ext=c
53968 ac_cpp='$CPP $CPPFLAGS'
53969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
53978 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
53980 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
53981 for ac_func in isnan
53982 do :
53983 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
53984 if test "x$ac_cv_func_isnan" = x""yes; then :
53985 cat >>confdefs.h <<_ACEOF
53986 #define HAVE_ISNAN 1
53987 _ACEOF
53990 done
53992 else
53994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
53995 $as_echo_n "checking for _isnan declaration... " >&6; }
53996 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
53997 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
53998 $as_echo_n "(cached) " >&6
53999 else
54002 ac_ext=cpp
54003 ac_cpp='$CXXCPP $CPPFLAGS'
54004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54009 /* end confdefs.h. */
54010 #include <math.h>
54011 #ifdef HAVE_IEEEFP_H
54012 #include <ieeefp.h>
54013 #endif
54016 main ()
54018 _isnan(0);
54020 return 0;
54022 _ACEOF
54023 if ac_fn_cxx_try_compile "$LINENO"; then :
54024 glibcxx_cv_func__isnan_use=yes
54025 else
54026 glibcxx_cv_func__isnan_use=no
54028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54029 ac_ext=c
54030 ac_cpp='$CPP $CPPFLAGS'
54031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
54040 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
54042 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
54043 for ac_func in _isnan
54044 do :
54045 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
54046 if test "x$ac_cv_func__isnan" = x""yes; then :
54047 cat >>confdefs.h <<_ACEOF
54048 #define HAVE__ISNAN 1
54049 _ACEOF
54052 done
54061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
54062 $as_echo_n "checking for finite declaration... " >&6; }
54063 if test x${glibcxx_cv_func_finite_use+set} != xset; then
54064 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
54065 $as_echo_n "(cached) " >&6
54066 else
54069 ac_ext=cpp
54070 ac_cpp='$CXXCPP $CPPFLAGS'
54071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54076 /* end confdefs.h. */
54077 #include <math.h>
54078 #ifdef HAVE_IEEEFP_H
54079 #include <ieeefp.h>
54080 #endif
54083 main ()
54085 finite(0);
54087 return 0;
54089 _ACEOF
54090 if ac_fn_cxx_try_compile "$LINENO"; then :
54091 glibcxx_cv_func_finite_use=yes
54092 else
54093 glibcxx_cv_func_finite_use=no
54095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54096 ac_ext=c
54097 ac_cpp='$CPP $CPPFLAGS'
54098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
54107 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
54109 if test x$glibcxx_cv_func_finite_use = x"yes"; then
54110 for ac_func in finite
54111 do :
54112 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
54113 if test "x$ac_cv_func_finite" = x""yes; then :
54114 cat >>confdefs.h <<_ACEOF
54115 #define HAVE_FINITE 1
54116 _ACEOF
54119 done
54121 else
54123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
54124 $as_echo_n "checking for _finite declaration... " >&6; }
54125 if test x${glibcxx_cv_func__finite_use+set} != xset; then
54126 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
54127 $as_echo_n "(cached) " >&6
54128 else
54131 ac_ext=cpp
54132 ac_cpp='$CXXCPP $CPPFLAGS'
54133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54138 /* end confdefs.h. */
54139 #include <math.h>
54140 #ifdef HAVE_IEEEFP_H
54141 #include <ieeefp.h>
54142 #endif
54145 main ()
54147 _finite(0);
54149 return 0;
54151 _ACEOF
54152 if ac_fn_cxx_try_compile "$LINENO"; then :
54153 glibcxx_cv_func__finite_use=yes
54154 else
54155 glibcxx_cv_func__finite_use=no
54157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54158 ac_ext=c
54159 ac_cpp='$CPP $CPPFLAGS'
54160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
54169 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
54171 if test x$glibcxx_cv_func__finite_use = x"yes"; then
54172 for ac_func in _finite
54173 do :
54174 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
54175 if test "x$ac_cv_func__finite" = x""yes; then :
54176 cat >>confdefs.h <<_ACEOF
54177 #define HAVE__FINITE 1
54178 _ACEOF
54181 done
54190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
54191 $as_echo_n "checking for sincos declaration... " >&6; }
54192 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
54193 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
54194 $as_echo_n "(cached) " >&6
54195 else
54198 ac_ext=cpp
54199 ac_cpp='$CXXCPP $CPPFLAGS'
54200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54205 /* end confdefs.h. */
54206 #include <math.h>
54208 main ()
54210 sincos(0, 0, 0);
54212 return 0;
54214 _ACEOF
54215 if ac_fn_cxx_try_compile "$LINENO"; then :
54216 glibcxx_cv_func_sincos_use=yes
54217 else
54218 glibcxx_cv_func_sincos_use=no
54220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54221 ac_ext=c
54222 ac_cpp='$CPP $CPPFLAGS'
54223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
54232 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
54234 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
54235 for ac_func in sincos
54236 do :
54237 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
54238 if test "x$ac_cv_func_sincos" = x""yes; then :
54239 cat >>confdefs.h <<_ACEOF
54240 #define HAVE_SINCOS 1
54241 _ACEOF
54244 done
54246 else
54248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
54249 $as_echo_n "checking for _sincos declaration... " >&6; }
54250 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
54251 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
54252 $as_echo_n "(cached) " >&6
54253 else
54256 ac_ext=cpp
54257 ac_cpp='$CXXCPP $CPPFLAGS'
54258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54263 /* end confdefs.h. */
54264 #include <math.h>
54266 main ()
54268 _sincos(0, 0, 0);
54270 return 0;
54272 _ACEOF
54273 if ac_fn_cxx_try_compile "$LINENO"; then :
54274 glibcxx_cv_func__sincos_use=yes
54275 else
54276 glibcxx_cv_func__sincos_use=no
54278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54279 ac_ext=c
54280 ac_cpp='$CPP $CPPFLAGS'
54281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
54290 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
54292 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
54293 for ac_func in _sincos
54294 do :
54295 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
54296 if test "x$ac_cv_func__sincos" = x""yes; then :
54297 cat >>confdefs.h <<_ACEOF
54298 #define HAVE__SINCOS 1
54299 _ACEOF
54302 done
54311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
54312 $as_echo_n "checking for fpclass declaration... " >&6; }
54313 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
54314 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
54315 $as_echo_n "(cached) " >&6
54316 else
54319 ac_ext=cpp
54320 ac_cpp='$CXXCPP $CPPFLAGS'
54321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54326 /* end confdefs.h. */
54327 #include <math.h>
54328 #ifdef HAVE_IEEEFP_H
54329 #include <ieeefp.h>
54330 #endif
54333 main ()
54335 fpclass(0);
54337 return 0;
54339 _ACEOF
54340 if ac_fn_cxx_try_compile "$LINENO"; then :
54341 glibcxx_cv_func_fpclass_use=yes
54342 else
54343 glibcxx_cv_func_fpclass_use=no
54345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54346 ac_ext=c
54347 ac_cpp='$CPP $CPPFLAGS'
54348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
54357 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
54359 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
54360 for ac_func in fpclass
54361 do :
54362 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
54363 if test "x$ac_cv_func_fpclass" = x""yes; then :
54364 cat >>confdefs.h <<_ACEOF
54365 #define HAVE_FPCLASS 1
54366 _ACEOF
54369 done
54371 else
54373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
54374 $as_echo_n "checking for _fpclass declaration... " >&6; }
54375 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
54376 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
54377 $as_echo_n "(cached) " >&6
54378 else
54381 ac_ext=cpp
54382 ac_cpp='$CXXCPP $CPPFLAGS'
54383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54388 /* end confdefs.h. */
54389 #include <math.h>
54390 #ifdef HAVE_IEEEFP_H
54391 #include <ieeefp.h>
54392 #endif
54395 main ()
54397 _fpclass(0);
54399 return 0;
54401 _ACEOF
54402 if ac_fn_cxx_try_compile "$LINENO"; then :
54403 glibcxx_cv_func__fpclass_use=yes
54404 else
54405 glibcxx_cv_func__fpclass_use=no
54407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54408 ac_ext=c
54409 ac_cpp='$CPP $CPPFLAGS'
54410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
54419 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
54421 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
54422 for ac_func in _fpclass
54423 do :
54424 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
54425 if test "x$ac_cv_func__fpclass" = x""yes; then :
54426 cat >>confdefs.h <<_ACEOF
54427 #define HAVE__FPCLASS 1
54428 _ACEOF
54431 done
54440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
54441 $as_echo_n "checking for qfpclass declaration... " >&6; }
54442 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
54443 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
54444 $as_echo_n "(cached) " >&6
54445 else
54448 ac_ext=cpp
54449 ac_cpp='$CXXCPP $CPPFLAGS'
54450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54455 /* end confdefs.h. */
54456 #include <math.h>
54457 #ifdef HAVE_IEEEFP_H
54458 #include <ieeefp.h>
54459 #endif
54462 main ()
54464 qfpclass(0);
54466 return 0;
54468 _ACEOF
54469 if ac_fn_cxx_try_compile "$LINENO"; then :
54470 glibcxx_cv_func_qfpclass_use=yes
54471 else
54472 glibcxx_cv_func_qfpclass_use=no
54474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54475 ac_ext=c
54476 ac_cpp='$CPP $CPPFLAGS'
54477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
54486 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
54488 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
54489 for ac_func in qfpclass
54490 do :
54491 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
54492 if test "x$ac_cv_func_qfpclass" = x""yes; then :
54493 cat >>confdefs.h <<_ACEOF
54494 #define HAVE_QFPCLASS 1
54495 _ACEOF
54498 done
54500 else
54502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
54503 $as_echo_n "checking for _qfpclass declaration... " >&6; }
54504 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
54505 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
54506 $as_echo_n "(cached) " >&6
54507 else
54510 ac_ext=cpp
54511 ac_cpp='$CXXCPP $CPPFLAGS'
54512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54517 /* end confdefs.h. */
54518 #include <math.h>
54519 #ifdef HAVE_IEEEFP_H
54520 #include <ieeefp.h>
54521 #endif
54524 main ()
54526 _qfpclass(0);
54528 return 0;
54530 _ACEOF
54531 if ac_fn_cxx_try_compile "$LINENO"; then :
54532 glibcxx_cv_func__qfpclass_use=yes
54533 else
54534 glibcxx_cv_func__qfpclass_use=no
54536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54537 ac_ext=c
54538 ac_cpp='$CPP $CPPFLAGS'
54539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
54548 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
54550 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
54551 for ac_func in _qfpclass
54552 do :
54553 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
54554 if test "x$ac_cv_func__qfpclass" = x""yes; then :
54555 cat >>confdefs.h <<_ACEOF
54556 #define HAVE__QFPCLASS 1
54557 _ACEOF
54560 done
54569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
54570 $as_echo_n "checking for hypot declaration... " >&6; }
54571 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
54572 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
54573 $as_echo_n "(cached) " >&6
54574 else
54577 ac_ext=cpp
54578 ac_cpp='$CXXCPP $CPPFLAGS'
54579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54584 /* end confdefs.h. */
54585 #include <math.h>
54587 main ()
54589 hypot(0, 0);
54591 return 0;
54593 _ACEOF
54594 if ac_fn_cxx_try_compile "$LINENO"; then :
54595 glibcxx_cv_func_hypot_use=yes
54596 else
54597 glibcxx_cv_func_hypot_use=no
54599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54600 ac_ext=c
54601 ac_cpp='$CPP $CPPFLAGS'
54602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
54611 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
54613 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
54614 for ac_func in hypot
54615 do :
54616 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
54617 if test "x$ac_cv_func_hypot" = x""yes; then :
54618 cat >>confdefs.h <<_ACEOF
54619 #define HAVE_HYPOT 1
54620 _ACEOF
54623 done
54625 else
54627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
54628 $as_echo_n "checking for _hypot declaration... " >&6; }
54629 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
54630 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
54631 $as_echo_n "(cached) " >&6
54632 else
54635 ac_ext=cpp
54636 ac_cpp='$CXXCPP $CPPFLAGS'
54637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54642 /* end confdefs.h. */
54643 #include <math.h>
54645 main ()
54647 _hypot(0, 0);
54649 return 0;
54651 _ACEOF
54652 if ac_fn_cxx_try_compile "$LINENO"; then :
54653 glibcxx_cv_func__hypot_use=yes
54654 else
54655 glibcxx_cv_func__hypot_use=no
54657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54658 ac_ext=c
54659 ac_cpp='$CPP $CPPFLAGS'
54660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
54669 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
54671 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
54672 for ac_func in _hypot
54673 do :
54674 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
54675 if test "x$ac_cv_func__hypot" = x""yes; then :
54676 cat >>confdefs.h <<_ACEOF
54677 #define HAVE__HYPOT 1
54678 _ACEOF
54681 done
54690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
54691 $as_echo_n "checking for float trig functions... " >&6; }
54692 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
54693 $as_echo_n "(cached) " >&6
54694 else
54697 ac_ext=cpp
54698 ac_cpp='$CXXCPP $CPPFLAGS'
54699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54704 /* end confdefs.h. */
54705 #include <math.h>
54707 main ()
54709 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
54711 return 0;
54713 _ACEOF
54714 if ac_fn_cxx_try_compile "$LINENO"; then :
54715 glibcxx_cv_func_float_trig_use=yes
54716 else
54717 glibcxx_cv_func_float_trig_use=no
54719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54720 ac_ext=c
54721 ac_cpp='$CPP $CPPFLAGS'
54722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
54729 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
54730 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
54731 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
54732 do :
54733 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54734 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54735 eval as_val=\$$as_ac_var
54736 if test "x$as_val" = x""yes; then :
54737 cat >>confdefs.h <<_ACEOF
54738 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54739 _ACEOF
54742 done
54744 else
54745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
54746 $as_echo_n "checking for _float trig functions... " >&6; }
54747 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
54748 $as_echo_n "(cached) " >&6
54749 else
54752 ac_ext=cpp
54753 ac_cpp='$CXXCPP $CPPFLAGS'
54754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54759 /* end confdefs.h. */
54760 #include <math.h>
54762 main ()
54764 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
54766 return 0;
54768 _ACEOF
54769 if ac_fn_cxx_try_compile "$LINENO"; then :
54770 glibcxx_cv_func__float_trig_use=yes
54771 else
54772 glibcxx_cv_func__float_trig_use=no
54774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54775 ac_ext=c
54776 ac_cpp='$CPP $CPPFLAGS'
54777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
54784 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
54785 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
54786 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
54787 do :
54788 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54789 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54790 eval as_val=\$$as_ac_var
54791 if test "x$as_val" = x""yes; then :
54792 cat >>confdefs.h <<_ACEOF
54793 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54794 _ACEOF
54797 done
54806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
54807 $as_echo_n "checking for float round functions... " >&6; }
54808 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
54809 $as_echo_n "(cached) " >&6
54810 else
54813 ac_ext=cpp
54814 ac_cpp='$CXXCPP $CPPFLAGS'
54815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54820 /* end confdefs.h. */
54821 #include <math.h>
54823 main ()
54825 ceilf (0); floorf (0);
54827 return 0;
54829 _ACEOF
54830 if ac_fn_cxx_try_compile "$LINENO"; then :
54831 glibcxx_cv_func_float_round_use=yes
54832 else
54833 glibcxx_cv_func_float_round_use=no
54835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54836 ac_ext=c
54837 ac_cpp='$CPP $CPPFLAGS'
54838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
54845 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
54846 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
54847 for ac_func in ceilf floorf
54848 do :
54849 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54850 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54851 eval as_val=\$$as_ac_var
54852 if test "x$as_val" = x""yes; then :
54853 cat >>confdefs.h <<_ACEOF
54854 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54855 _ACEOF
54858 done
54860 else
54861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
54862 $as_echo_n "checking for _float round functions... " >&6; }
54863 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
54864 $as_echo_n "(cached) " >&6
54865 else
54868 ac_ext=cpp
54869 ac_cpp='$CXXCPP $CPPFLAGS'
54870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54875 /* end confdefs.h. */
54876 #include <math.h>
54878 main ()
54880 _ceilf (0); _floorf (0);
54882 return 0;
54884 _ACEOF
54885 if ac_fn_cxx_try_compile "$LINENO"; then :
54886 glibcxx_cv_func__float_round_use=yes
54887 else
54888 glibcxx_cv_func__float_round_use=no
54890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54891 ac_ext=c
54892 ac_cpp='$CPP $CPPFLAGS'
54893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
54900 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
54901 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
54902 for ac_func in _ceilf _floorf
54903 do :
54904 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54905 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54906 eval as_val=\$$as_ac_var
54907 if test "x$as_val" = x""yes; then :
54908 cat >>confdefs.h <<_ACEOF
54909 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54910 _ACEOF
54913 done
54923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
54924 $as_echo_n "checking for expf declaration... " >&6; }
54925 if test x${glibcxx_cv_func_expf_use+set} != xset; then
54926 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
54927 $as_echo_n "(cached) " >&6
54928 else
54931 ac_ext=cpp
54932 ac_cpp='$CXXCPP $CPPFLAGS'
54933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54938 /* end confdefs.h. */
54939 #include <math.h>
54940 #ifdef HAVE_IEEEFP_H
54941 #include <ieeefp.h>
54942 #endif
54945 main ()
54947 expf(0);
54949 return 0;
54951 _ACEOF
54952 if ac_fn_cxx_try_compile "$LINENO"; then :
54953 glibcxx_cv_func_expf_use=yes
54954 else
54955 glibcxx_cv_func_expf_use=no
54957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54958 ac_ext=c
54959 ac_cpp='$CPP $CPPFLAGS'
54960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
54969 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
54971 if test x$glibcxx_cv_func_expf_use = x"yes"; then
54972 for ac_func in expf
54973 do :
54974 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
54975 if test "x$ac_cv_func_expf" = x""yes; then :
54976 cat >>confdefs.h <<_ACEOF
54977 #define HAVE_EXPF 1
54978 _ACEOF
54981 done
54983 else
54985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
54986 $as_echo_n "checking for _expf declaration... " >&6; }
54987 if test x${glibcxx_cv_func__expf_use+set} != xset; then
54988 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
54989 $as_echo_n "(cached) " >&6
54990 else
54993 ac_ext=cpp
54994 ac_cpp='$CXXCPP $CPPFLAGS'
54995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55000 /* end confdefs.h. */
55001 #include <math.h>
55002 #ifdef HAVE_IEEEFP_H
55003 #include <ieeefp.h>
55004 #endif
55007 main ()
55009 _expf(0);
55011 return 0;
55013 _ACEOF
55014 if ac_fn_cxx_try_compile "$LINENO"; then :
55015 glibcxx_cv_func__expf_use=yes
55016 else
55017 glibcxx_cv_func__expf_use=no
55019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55020 ac_ext=c
55021 ac_cpp='$CPP $CPPFLAGS'
55022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
55031 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
55033 if test x$glibcxx_cv_func__expf_use = x"yes"; then
55034 for ac_func in _expf
55035 do :
55036 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
55037 if test "x$ac_cv_func__expf" = x""yes; then :
55038 cat >>confdefs.h <<_ACEOF
55039 #define HAVE__EXPF 1
55040 _ACEOF
55043 done
55052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
55053 $as_echo_n "checking for isnanf declaration... " >&6; }
55054 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
55055 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
55056 $as_echo_n "(cached) " >&6
55057 else
55060 ac_ext=cpp
55061 ac_cpp='$CXXCPP $CPPFLAGS'
55062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55067 /* end confdefs.h. */
55068 #include <math.h>
55069 #ifdef HAVE_IEEEFP_H
55070 #include <ieeefp.h>
55071 #endif
55074 main ()
55076 isnanf(0);
55078 return 0;
55080 _ACEOF
55081 if ac_fn_cxx_try_compile "$LINENO"; then :
55082 glibcxx_cv_func_isnanf_use=yes
55083 else
55084 glibcxx_cv_func_isnanf_use=no
55086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55087 ac_ext=c
55088 ac_cpp='$CPP $CPPFLAGS'
55089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
55098 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
55100 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
55101 for ac_func in isnanf
55102 do :
55103 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
55104 if test "x$ac_cv_func_isnanf" = x""yes; then :
55105 cat >>confdefs.h <<_ACEOF
55106 #define HAVE_ISNANF 1
55107 _ACEOF
55110 done
55112 else
55114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
55115 $as_echo_n "checking for _isnanf declaration... " >&6; }
55116 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
55117 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
55118 $as_echo_n "(cached) " >&6
55119 else
55122 ac_ext=cpp
55123 ac_cpp='$CXXCPP $CPPFLAGS'
55124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55129 /* end confdefs.h. */
55130 #include <math.h>
55131 #ifdef HAVE_IEEEFP_H
55132 #include <ieeefp.h>
55133 #endif
55136 main ()
55138 _isnanf(0);
55140 return 0;
55142 _ACEOF
55143 if ac_fn_cxx_try_compile "$LINENO"; then :
55144 glibcxx_cv_func__isnanf_use=yes
55145 else
55146 glibcxx_cv_func__isnanf_use=no
55148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55149 ac_ext=c
55150 ac_cpp='$CPP $CPPFLAGS'
55151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
55160 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
55162 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
55163 for ac_func in _isnanf
55164 do :
55165 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
55166 if test "x$ac_cv_func__isnanf" = x""yes; then :
55167 cat >>confdefs.h <<_ACEOF
55168 #define HAVE__ISNANF 1
55169 _ACEOF
55172 done
55181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
55182 $as_echo_n "checking for isinff declaration... " >&6; }
55183 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
55184 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
55185 $as_echo_n "(cached) " >&6
55186 else
55189 ac_ext=cpp
55190 ac_cpp='$CXXCPP $CPPFLAGS'
55191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55196 /* end confdefs.h. */
55197 #include <math.h>
55198 #ifdef HAVE_IEEEFP_H
55199 #include <ieeefp.h>
55200 #endif
55203 main ()
55205 isinff(0);
55207 return 0;
55209 _ACEOF
55210 if ac_fn_cxx_try_compile "$LINENO"; then :
55211 glibcxx_cv_func_isinff_use=yes
55212 else
55213 glibcxx_cv_func_isinff_use=no
55215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55216 ac_ext=c
55217 ac_cpp='$CPP $CPPFLAGS'
55218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
55227 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
55229 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
55230 for ac_func in isinff
55231 do :
55232 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
55233 if test "x$ac_cv_func_isinff" = x""yes; then :
55234 cat >>confdefs.h <<_ACEOF
55235 #define HAVE_ISINFF 1
55236 _ACEOF
55239 done
55241 else
55243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
55244 $as_echo_n "checking for _isinff declaration... " >&6; }
55245 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
55246 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
55247 $as_echo_n "(cached) " >&6
55248 else
55251 ac_ext=cpp
55252 ac_cpp='$CXXCPP $CPPFLAGS'
55253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55258 /* end confdefs.h. */
55259 #include <math.h>
55260 #ifdef HAVE_IEEEFP_H
55261 #include <ieeefp.h>
55262 #endif
55265 main ()
55267 _isinff(0);
55269 return 0;
55271 _ACEOF
55272 if ac_fn_cxx_try_compile "$LINENO"; then :
55273 glibcxx_cv_func__isinff_use=yes
55274 else
55275 glibcxx_cv_func__isinff_use=no
55277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55278 ac_ext=c
55279 ac_cpp='$CPP $CPPFLAGS'
55280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
55289 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
55291 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
55292 for ac_func in _isinff
55293 do :
55294 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
55295 if test "x$ac_cv_func__isinff" = x""yes; then :
55296 cat >>confdefs.h <<_ACEOF
55297 #define HAVE__ISINFF 1
55298 _ACEOF
55301 done
55310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
55311 $as_echo_n "checking for atan2f declaration... " >&6; }
55312 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
55313 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
55314 $as_echo_n "(cached) " >&6
55315 else
55318 ac_ext=cpp
55319 ac_cpp='$CXXCPP $CPPFLAGS'
55320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55325 /* end confdefs.h. */
55326 #include <math.h>
55328 main ()
55330 atan2f(0, 0);
55332 return 0;
55334 _ACEOF
55335 if ac_fn_cxx_try_compile "$LINENO"; then :
55336 glibcxx_cv_func_atan2f_use=yes
55337 else
55338 glibcxx_cv_func_atan2f_use=no
55340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55341 ac_ext=c
55342 ac_cpp='$CPP $CPPFLAGS'
55343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
55352 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
55354 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
55355 for ac_func in atan2f
55356 do :
55357 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
55358 if test "x$ac_cv_func_atan2f" = x""yes; then :
55359 cat >>confdefs.h <<_ACEOF
55360 #define HAVE_ATAN2F 1
55361 _ACEOF
55364 done
55366 else
55368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
55369 $as_echo_n "checking for _atan2f declaration... " >&6; }
55370 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
55371 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
55372 $as_echo_n "(cached) " >&6
55373 else
55376 ac_ext=cpp
55377 ac_cpp='$CXXCPP $CPPFLAGS'
55378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55383 /* end confdefs.h. */
55384 #include <math.h>
55386 main ()
55388 _atan2f(0, 0);
55390 return 0;
55392 _ACEOF
55393 if ac_fn_cxx_try_compile "$LINENO"; then :
55394 glibcxx_cv_func__atan2f_use=yes
55395 else
55396 glibcxx_cv_func__atan2f_use=no
55398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55399 ac_ext=c
55400 ac_cpp='$CPP $CPPFLAGS'
55401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
55410 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
55412 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
55413 for ac_func in _atan2f
55414 do :
55415 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
55416 if test "x$ac_cv_func__atan2f" = x""yes; then :
55417 cat >>confdefs.h <<_ACEOF
55418 #define HAVE__ATAN2F 1
55419 _ACEOF
55422 done
55431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
55432 $as_echo_n "checking for fabsf declaration... " >&6; }
55433 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
55434 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
55435 $as_echo_n "(cached) " >&6
55436 else
55439 ac_ext=cpp
55440 ac_cpp='$CXXCPP $CPPFLAGS'
55441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55446 /* end confdefs.h. */
55447 #include <math.h>
55448 #ifdef HAVE_IEEEFP_H
55449 #include <ieeefp.h>
55450 #endif
55453 main ()
55455 fabsf(0);
55457 return 0;
55459 _ACEOF
55460 if ac_fn_cxx_try_compile "$LINENO"; then :
55461 glibcxx_cv_func_fabsf_use=yes
55462 else
55463 glibcxx_cv_func_fabsf_use=no
55465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55466 ac_ext=c
55467 ac_cpp='$CPP $CPPFLAGS'
55468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
55477 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
55479 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
55480 for ac_func in fabsf
55481 do :
55482 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
55483 if test "x$ac_cv_func_fabsf" = x""yes; then :
55484 cat >>confdefs.h <<_ACEOF
55485 #define HAVE_FABSF 1
55486 _ACEOF
55489 done
55491 else
55493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
55494 $as_echo_n "checking for _fabsf declaration... " >&6; }
55495 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
55496 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
55497 $as_echo_n "(cached) " >&6
55498 else
55501 ac_ext=cpp
55502 ac_cpp='$CXXCPP $CPPFLAGS'
55503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55508 /* end confdefs.h. */
55509 #include <math.h>
55510 #ifdef HAVE_IEEEFP_H
55511 #include <ieeefp.h>
55512 #endif
55515 main ()
55517 _fabsf(0);
55519 return 0;
55521 _ACEOF
55522 if ac_fn_cxx_try_compile "$LINENO"; then :
55523 glibcxx_cv_func__fabsf_use=yes
55524 else
55525 glibcxx_cv_func__fabsf_use=no
55527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55528 ac_ext=c
55529 ac_cpp='$CPP $CPPFLAGS'
55530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
55539 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
55541 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
55542 for ac_func in _fabsf
55543 do :
55544 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
55545 if test "x$ac_cv_func__fabsf" = x""yes; then :
55546 cat >>confdefs.h <<_ACEOF
55547 #define HAVE__FABSF 1
55548 _ACEOF
55551 done
55560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
55561 $as_echo_n "checking for fmodf declaration... " >&6; }
55562 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
55563 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
55564 $as_echo_n "(cached) " >&6
55565 else
55568 ac_ext=cpp
55569 ac_cpp='$CXXCPP $CPPFLAGS'
55570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55575 /* end confdefs.h. */
55576 #include <math.h>
55578 main ()
55580 fmodf(0, 0);
55582 return 0;
55584 _ACEOF
55585 if ac_fn_cxx_try_compile "$LINENO"; then :
55586 glibcxx_cv_func_fmodf_use=yes
55587 else
55588 glibcxx_cv_func_fmodf_use=no
55590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55591 ac_ext=c
55592 ac_cpp='$CPP $CPPFLAGS'
55593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
55602 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
55604 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
55605 for ac_func in fmodf
55606 do :
55607 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
55608 if test "x$ac_cv_func_fmodf" = x""yes; then :
55609 cat >>confdefs.h <<_ACEOF
55610 #define HAVE_FMODF 1
55611 _ACEOF
55614 done
55616 else
55618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
55619 $as_echo_n "checking for _fmodf declaration... " >&6; }
55620 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
55621 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
55622 $as_echo_n "(cached) " >&6
55623 else
55626 ac_ext=cpp
55627 ac_cpp='$CXXCPP $CPPFLAGS'
55628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55633 /* end confdefs.h. */
55634 #include <math.h>
55636 main ()
55638 _fmodf(0, 0);
55640 return 0;
55642 _ACEOF
55643 if ac_fn_cxx_try_compile "$LINENO"; then :
55644 glibcxx_cv_func__fmodf_use=yes
55645 else
55646 glibcxx_cv_func__fmodf_use=no
55648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55649 ac_ext=c
55650 ac_cpp='$CPP $CPPFLAGS'
55651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
55660 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
55662 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
55663 for ac_func in _fmodf
55664 do :
55665 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
55666 if test "x$ac_cv_func__fmodf" = x""yes; then :
55667 cat >>confdefs.h <<_ACEOF
55668 #define HAVE__FMODF 1
55669 _ACEOF
55672 done
55681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
55682 $as_echo_n "checking for frexpf declaration... " >&6; }
55683 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
55684 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
55685 $as_echo_n "(cached) " >&6
55686 else
55689 ac_ext=cpp
55690 ac_cpp='$CXXCPP $CPPFLAGS'
55691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55696 /* end confdefs.h. */
55697 #include <math.h>
55699 main ()
55701 frexpf(0, 0);
55703 return 0;
55705 _ACEOF
55706 if ac_fn_cxx_try_compile "$LINENO"; then :
55707 glibcxx_cv_func_frexpf_use=yes
55708 else
55709 glibcxx_cv_func_frexpf_use=no
55711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55712 ac_ext=c
55713 ac_cpp='$CPP $CPPFLAGS'
55714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
55723 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
55725 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
55726 for ac_func in frexpf
55727 do :
55728 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
55729 if test "x$ac_cv_func_frexpf" = x""yes; then :
55730 cat >>confdefs.h <<_ACEOF
55731 #define HAVE_FREXPF 1
55732 _ACEOF
55735 done
55737 else
55739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
55740 $as_echo_n "checking for _frexpf declaration... " >&6; }
55741 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
55742 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
55743 $as_echo_n "(cached) " >&6
55744 else
55747 ac_ext=cpp
55748 ac_cpp='$CXXCPP $CPPFLAGS'
55749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55754 /* end confdefs.h. */
55755 #include <math.h>
55757 main ()
55759 _frexpf(0, 0);
55761 return 0;
55763 _ACEOF
55764 if ac_fn_cxx_try_compile "$LINENO"; then :
55765 glibcxx_cv_func__frexpf_use=yes
55766 else
55767 glibcxx_cv_func__frexpf_use=no
55769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55770 ac_ext=c
55771 ac_cpp='$CPP $CPPFLAGS'
55772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
55781 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
55783 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
55784 for ac_func in _frexpf
55785 do :
55786 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
55787 if test "x$ac_cv_func__frexpf" = x""yes; then :
55788 cat >>confdefs.h <<_ACEOF
55789 #define HAVE__FREXPF 1
55790 _ACEOF
55793 done
55802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
55803 $as_echo_n "checking for hypotf declaration... " >&6; }
55804 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
55805 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
55806 $as_echo_n "(cached) " >&6
55807 else
55810 ac_ext=cpp
55811 ac_cpp='$CXXCPP $CPPFLAGS'
55812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55817 /* end confdefs.h. */
55818 #include <math.h>
55820 main ()
55822 hypotf(0, 0);
55824 return 0;
55826 _ACEOF
55827 if ac_fn_cxx_try_compile "$LINENO"; then :
55828 glibcxx_cv_func_hypotf_use=yes
55829 else
55830 glibcxx_cv_func_hypotf_use=no
55832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55833 ac_ext=c
55834 ac_cpp='$CPP $CPPFLAGS'
55835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
55844 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
55846 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
55847 for ac_func in hypotf
55848 do :
55849 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
55850 if test "x$ac_cv_func_hypotf" = x""yes; then :
55851 cat >>confdefs.h <<_ACEOF
55852 #define HAVE_HYPOTF 1
55853 _ACEOF
55856 done
55858 else
55860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
55861 $as_echo_n "checking for _hypotf declaration... " >&6; }
55862 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
55863 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
55864 $as_echo_n "(cached) " >&6
55865 else
55868 ac_ext=cpp
55869 ac_cpp='$CXXCPP $CPPFLAGS'
55870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55875 /* end confdefs.h. */
55876 #include <math.h>
55878 main ()
55880 _hypotf(0, 0);
55882 return 0;
55884 _ACEOF
55885 if ac_fn_cxx_try_compile "$LINENO"; then :
55886 glibcxx_cv_func__hypotf_use=yes
55887 else
55888 glibcxx_cv_func__hypotf_use=no
55890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55891 ac_ext=c
55892 ac_cpp='$CPP $CPPFLAGS'
55893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
55902 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
55904 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
55905 for ac_func in _hypotf
55906 do :
55907 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
55908 if test "x$ac_cv_func__hypotf" = x""yes; then :
55909 cat >>confdefs.h <<_ACEOF
55910 #define HAVE__HYPOTF 1
55911 _ACEOF
55914 done
55923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
55924 $as_echo_n "checking for ldexpf declaration... " >&6; }
55925 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
55926 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
55927 $as_echo_n "(cached) " >&6
55928 else
55931 ac_ext=cpp
55932 ac_cpp='$CXXCPP $CPPFLAGS'
55933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55938 /* end confdefs.h. */
55939 #include <math.h>
55941 main ()
55943 ldexpf(0, 0);
55945 return 0;
55947 _ACEOF
55948 if ac_fn_cxx_try_compile "$LINENO"; then :
55949 glibcxx_cv_func_ldexpf_use=yes
55950 else
55951 glibcxx_cv_func_ldexpf_use=no
55953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55954 ac_ext=c
55955 ac_cpp='$CPP $CPPFLAGS'
55956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
55965 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
55967 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
55968 for ac_func in ldexpf
55969 do :
55970 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
55971 if test "x$ac_cv_func_ldexpf" = x""yes; then :
55972 cat >>confdefs.h <<_ACEOF
55973 #define HAVE_LDEXPF 1
55974 _ACEOF
55977 done
55979 else
55981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
55982 $as_echo_n "checking for _ldexpf declaration... " >&6; }
55983 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
55984 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
55985 $as_echo_n "(cached) " >&6
55986 else
55989 ac_ext=cpp
55990 ac_cpp='$CXXCPP $CPPFLAGS'
55991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55996 /* end confdefs.h. */
55997 #include <math.h>
55999 main ()
56001 _ldexpf(0, 0);
56003 return 0;
56005 _ACEOF
56006 if ac_fn_cxx_try_compile "$LINENO"; then :
56007 glibcxx_cv_func__ldexpf_use=yes
56008 else
56009 glibcxx_cv_func__ldexpf_use=no
56011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56012 ac_ext=c
56013 ac_cpp='$CPP $CPPFLAGS'
56014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
56023 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
56025 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
56026 for ac_func in _ldexpf
56027 do :
56028 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
56029 if test "x$ac_cv_func__ldexpf" = x""yes; then :
56030 cat >>confdefs.h <<_ACEOF
56031 #define HAVE__LDEXPF 1
56032 _ACEOF
56035 done
56044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
56045 $as_echo_n "checking for logf declaration... " >&6; }
56046 if test x${glibcxx_cv_func_logf_use+set} != xset; then
56047 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
56048 $as_echo_n "(cached) " >&6
56049 else
56052 ac_ext=cpp
56053 ac_cpp='$CXXCPP $CPPFLAGS'
56054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56059 /* end confdefs.h. */
56060 #include <math.h>
56061 #ifdef HAVE_IEEEFP_H
56062 #include <ieeefp.h>
56063 #endif
56066 main ()
56068 logf(0);
56070 return 0;
56072 _ACEOF
56073 if ac_fn_cxx_try_compile "$LINENO"; then :
56074 glibcxx_cv_func_logf_use=yes
56075 else
56076 glibcxx_cv_func_logf_use=no
56078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56079 ac_ext=c
56080 ac_cpp='$CPP $CPPFLAGS'
56081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
56090 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
56092 if test x$glibcxx_cv_func_logf_use = x"yes"; then
56093 for ac_func in logf
56094 do :
56095 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
56096 if test "x$ac_cv_func_logf" = x""yes; then :
56097 cat >>confdefs.h <<_ACEOF
56098 #define HAVE_LOGF 1
56099 _ACEOF
56102 done
56104 else
56106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
56107 $as_echo_n "checking for _logf declaration... " >&6; }
56108 if test x${glibcxx_cv_func__logf_use+set} != xset; then
56109 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
56110 $as_echo_n "(cached) " >&6
56111 else
56114 ac_ext=cpp
56115 ac_cpp='$CXXCPP $CPPFLAGS'
56116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56121 /* end confdefs.h. */
56122 #include <math.h>
56123 #ifdef HAVE_IEEEFP_H
56124 #include <ieeefp.h>
56125 #endif
56128 main ()
56130 _logf(0);
56132 return 0;
56134 _ACEOF
56135 if ac_fn_cxx_try_compile "$LINENO"; then :
56136 glibcxx_cv_func__logf_use=yes
56137 else
56138 glibcxx_cv_func__logf_use=no
56140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56141 ac_ext=c
56142 ac_cpp='$CPP $CPPFLAGS'
56143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
56152 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
56154 if test x$glibcxx_cv_func__logf_use = x"yes"; then
56155 for ac_func in _logf
56156 do :
56157 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
56158 if test "x$ac_cv_func__logf" = x""yes; then :
56159 cat >>confdefs.h <<_ACEOF
56160 #define HAVE__LOGF 1
56161 _ACEOF
56164 done
56173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
56174 $as_echo_n "checking for log10f declaration... " >&6; }
56175 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
56176 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
56177 $as_echo_n "(cached) " >&6
56178 else
56181 ac_ext=cpp
56182 ac_cpp='$CXXCPP $CPPFLAGS'
56183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56188 /* end confdefs.h. */
56189 #include <math.h>
56190 #ifdef HAVE_IEEEFP_H
56191 #include <ieeefp.h>
56192 #endif
56195 main ()
56197 log10f(0);
56199 return 0;
56201 _ACEOF
56202 if ac_fn_cxx_try_compile "$LINENO"; then :
56203 glibcxx_cv_func_log10f_use=yes
56204 else
56205 glibcxx_cv_func_log10f_use=no
56207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56208 ac_ext=c
56209 ac_cpp='$CPP $CPPFLAGS'
56210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
56219 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
56221 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
56222 for ac_func in log10f
56223 do :
56224 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
56225 if test "x$ac_cv_func_log10f" = x""yes; then :
56226 cat >>confdefs.h <<_ACEOF
56227 #define HAVE_LOG10F 1
56228 _ACEOF
56231 done
56233 else
56235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
56236 $as_echo_n "checking for _log10f declaration... " >&6; }
56237 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
56238 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
56239 $as_echo_n "(cached) " >&6
56240 else
56243 ac_ext=cpp
56244 ac_cpp='$CXXCPP $CPPFLAGS'
56245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56250 /* end confdefs.h. */
56251 #include <math.h>
56252 #ifdef HAVE_IEEEFP_H
56253 #include <ieeefp.h>
56254 #endif
56257 main ()
56259 _log10f(0);
56261 return 0;
56263 _ACEOF
56264 if ac_fn_cxx_try_compile "$LINENO"; then :
56265 glibcxx_cv_func__log10f_use=yes
56266 else
56267 glibcxx_cv_func__log10f_use=no
56269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56270 ac_ext=c
56271 ac_cpp='$CPP $CPPFLAGS'
56272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
56281 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
56283 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
56284 for ac_func in _log10f
56285 do :
56286 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
56287 if test "x$ac_cv_func__log10f" = x""yes; then :
56288 cat >>confdefs.h <<_ACEOF
56289 #define HAVE__LOG10F 1
56290 _ACEOF
56293 done
56302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
56303 $as_echo_n "checking for modff declaration... " >&6; }
56304 if test x${glibcxx_cv_func_modff_use+set} != xset; then
56305 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
56306 $as_echo_n "(cached) " >&6
56307 else
56310 ac_ext=cpp
56311 ac_cpp='$CXXCPP $CPPFLAGS'
56312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56317 /* end confdefs.h. */
56318 #include <math.h>
56320 main ()
56322 modff(0, 0);
56324 return 0;
56326 _ACEOF
56327 if ac_fn_cxx_try_compile "$LINENO"; then :
56328 glibcxx_cv_func_modff_use=yes
56329 else
56330 glibcxx_cv_func_modff_use=no
56332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56333 ac_ext=c
56334 ac_cpp='$CPP $CPPFLAGS'
56335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
56344 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
56346 if test x$glibcxx_cv_func_modff_use = x"yes"; then
56347 for ac_func in modff
56348 do :
56349 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
56350 if test "x$ac_cv_func_modff" = x""yes; then :
56351 cat >>confdefs.h <<_ACEOF
56352 #define HAVE_MODFF 1
56353 _ACEOF
56356 done
56358 else
56360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
56361 $as_echo_n "checking for _modff declaration... " >&6; }
56362 if test x${glibcxx_cv_func__modff_use+set} != xset; then
56363 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
56364 $as_echo_n "(cached) " >&6
56365 else
56368 ac_ext=cpp
56369 ac_cpp='$CXXCPP $CPPFLAGS'
56370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56375 /* end confdefs.h. */
56376 #include <math.h>
56378 main ()
56380 _modff(0, 0);
56382 return 0;
56384 _ACEOF
56385 if ac_fn_cxx_try_compile "$LINENO"; then :
56386 glibcxx_cv_func__modff_use=yes
56387 else
56388 glibcxx_cv_func__modff_use=no
56390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56391 ac_ext=c
56392 ac_cpp='$CPP $CPPFLAGS'
56393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
56402 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
56404 if test x$glibcxx_cv_func__modff_use = x"yes"; then
56405 for ac_func in _modff
56406 do :
56407 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
56408 if test "x$ac_cv_func__modff" = x""yes; then :
56409 cat >>confdefs.h <<_ACEOF
56410 #define HAVE__MODFF 1
56411 _ACEOF
56414 done
56423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
56424 $as_echo_n "checking for modf declaration... " >&6; }
56425 if test x${glibcxx_cv_func_modf_use+set} != xset; then
56426 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
56427 $as_echo_n "(cached) " >&6
56428 else
56431 ac_ext=cpp
56432 ac_cpp='$CXXCPP $CPPFLAGS'
56433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56438 /* end confdefs.h. */
56439 #include <math.h>
56441 main ()
56443 modf(0, 0);
56445 return 0;
56447 _ACEOF
56448 if ac_fn_cxx_try_compile "$LINENO"; then :
56449 glibcxx_cv_func_modf_use=yes
56450 else
56451 glibcxx_cv_func_modf_use=no
56453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56454 ac_ext=c
56455 ac_cpp='$CPP $CPPFLAGS'
56456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
56465 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
56467 if test x$glibcxx_cv_func_modf_use = x"yes"; then
56468 for ac_func in modf
56469 do :
56470 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
56471 if test "x$ac_cv_func_modf" = x""yes; then :
56472 cat >>confdefs.h <<_ACEOF
56473 #define HAVE_MODF 1
56474 _ACEOF
56477 done
56479 else
56481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
56482 $as_echo_n "checking for _modf declaration... " >&6; }
56483 if test x${glibcxx_cv_func__modf_use+set} != xset; then
56484 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
56485 $as_echo_n "(cached) " >&6
56486 else
56489 ac_ext=cpp
56490 ac_cpp='$CXXCPP $CPPFLAGS'
56491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56496 /* end confdefs.h. */
56497 #include <math.h>
56499 main ()
56501 _modf(0, 0);
56503 return 0;
56505 _ACEOF
56506 if ac_fn_cxx_try_compile "$LINENO"; then :
56507 glibcxx_cv_func__modf_use=yes
56508 else
56509 glibcxx_cv_func__modf_use=no
56511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56512 ac_ext=c
56513 ac_cpp='$CPP $CPPFLAGS'
56514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
56523 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
56525 if test x$glibcxx_cv_func__modf_use = x"yes"; then
56526 for ac_func in _modf
56527 do :
56528 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
56529 if test "x$ac_cv_func__modf" = x""yes; then :
56530 cat >>confdefs.h <<_ACEOF
56531 #define HAVE__MODF 1
56532 _ACEOF
56535 done
56544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
56545 $as_echo_n "checking for powf declaration... " >&6; }
56546 if test x${glibcxx_cv_func_powf_use+set} != xset; then
56547 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
56548 $as_echo_n "(cached) " >&6
56549 else
56552 ac_ext=cpp
56553 ac_cpp='$CXXCPP $CPPFLAGS'
56554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56559 /* end confdefs.h. */
56560 #include <math.h>
56562 main ()
56564 powf(0, 0);
56566 return 0;
56568 _ACEOF
56569 if ac_fn_cxx_try_compile "$LINENO"; then :
56570 glibcxx_cv_func_powf_use=yes
56571 else
56572 glibcxx_cv_func_powf_use=no
56574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56575 ac_ext=c
56576 ac_cpp='$CPP $CPPFLAGS'
56577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
56586 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
56588 if test x$glibcxx_cv_func_powf_use = x"yes"; then
56589 for ac_func in powf
56590 do :
56591 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
56592 if test "x$ac_cv_func_powf" = x""yes; then :
56593 cat >>confdefs.h <<_ACEOF
56594 #define HAVE_POWF 1
56595 _ACEOF
56598 done
56600 else
56602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
56603 $as_echo_n "checking for _powf declaration... " >&6; }
56604 if test x${glibcxx_cv_func__powf_use+set} != xset; then
56605 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
56606 $as_echo_n "(cached) " >&6
56607 else
56610 ac_ext=cpp
56611 ac_cpp='$CXXCPP $CPPFLAGS'
56612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56617 /* end confdefs.h. */
56618 #include <math.h>
56620 main ()
56622 _powf(0, 0);
56624 return 0;
56626 _ACEOF
56627 if ac_fn_cxx_try_compile "$LINENO"; then :
56628 glibcxx_cv_func__powf_use=yes
56629 else
56630 glibcxx_cv_func__powf_use=no
56632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56633 ac_ext=c
56634 ac_cpp='$CPP $CPPFLAGS'
56635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
56644 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
56646 if test x$glibcxx_cv_func__powf_use = x"yes"; then
56647 for ac_func in _powf
56648 do :
56649 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
56650 if test "x$ac_cv_func__powf" = x""yes; then :
56651 cat >>confdefs.h <<_ACEOF
56652 #define HAVE__POWF 1
56653 _ACEOF
56656 done
56665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
56666 $as_echo_n "checking for sqrtf declaration... " >&6; }
56667 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
56668 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
56669 $as_echo_n "(cached) " >&6
56670 else
56673 ac_ext=cpp
56674 ac_cpp='$CXXCPP $CPPFLAGS'
56675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56680 /* end confdefs.h. */
56681 #include <math.h>
56682 #ifdef HAVE_IEEEFP_H
56683 #include <ieeefp.h>
56684 #endif
56687 main ()
56689 sqrtf(0);
56691 return 0;
56693 _ACEOF
56694 if ac_fn_cxx_try_compile "$LINENO"; then :
56695 glibcxx_cv_func_sqrtf_use=yes
56696 else
56697 glibcxx_cv_func_sqrtf_use=no
56699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56700 ac_ext=c
56701 ac_cpp='$CPP $CPPFLAGS'
56702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
56711 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
56713 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
56714 for ac_func in sqrtf
56715 do :
56716 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
56717 if test "x$ac_cv_func_sqrtf" = x""yes; then :
56718 cat >>confdefs.h <<_ACEOF
56719 #define HAVE_SQRTF 1
56720 _ACEOF
56723 done
56725 else
56727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
56728 $as_echo_n "checking for _sqrtf declaration... " >&6; }
56729 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
56730 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
56731 $as_echo_n "(cached) " >&6
56732 else
56735 ac_ext=cpp
56736 ac_cpp='$CXXCPP $CPPFLAGS'
56737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56742 /* end confdefs.h. */
56743 #include <math.h>
56744 #ifdef HAVE_IEEEFP_H
56745 #include <ieeefp.h>
56746 #endif
56749 main ()
56751 _sqrtf(0);
56753 return 0;
56755 _ACEOF
56756 if ac_fn_cxx_try_compile "$LINENO"; then :
56757 glibcxx_cv_func__sqrtf_use=yes
56758 else
56759 glibcxx_cv_func__sqrtf_use=no
56761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56762 ac_ext=c
56763 ac_cpp='$CPP $CPPFLAGS'
56764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
56773 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
56775 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
56776 for ac_func in _sqrtf
56777 do :
56778 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
56779 if test "x$ac_cv_func__sqrtf" = x""yes; then :
56780 cat >>confdefs.h <<_ACEOF
56781 #define HAVE__SQRTF 1
56782 _ACEOF
56785 done
56794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
56795 $as_echo_n "checking for sincosf declaration... " >&6; }
56796 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
56797 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
56798 $as_echo_n "(cached) " >&6
56799 else
56802 ac_ext=cpp
56803 ac_cpp='$CXXCPP $CPPFLAGS'
56804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56809 /* end confdefs.h. */
56810 #include <math.h>
56812 main ()
56814 sincosf(0, 0, 0);
56816 return 0;
56818 _ACEOF
56819 if ac_fn_cxx_try_compile "$LINENO"; then :
56820 glibcxx_cv_func_sincosf_use=yes
56821 else
56822 glibcxx_cv_func_sincosf_use=no
56824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56825 ac_ext=c
56826 ac_cpp='$CPP $CPPFLAGS'
56827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
56836 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
56838 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
56839 for ac_func in sincosf
56840 do :
56841 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
56842 if test "x$ac_cv_func_sincosf" = x""yes; then :
56843 cat >>confdefs.h <<_ACEOF
56844 #define HAVE_SINCOSF 1
56845 _ACEOF
56848 done
56850 else
56852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
56853 $as_echo_n "checking for _sincosf declaration... " >&6; }
56854 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
56855 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
56856 $as_echo_n "(cached) " >&6
56857 else
56860 ac_ext=cpp
56861 ac_cpp='$CXXCPP $CPPFLAGS'
56862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56867 /* end confdefs.h. */
56868 #include <math.h>
56870 main ()
56872 _sincosf(0, 0, 0);
56874 return 0;
56876 _ACEOF
56877 if ac_fn_cxx_try_compile "$LINENO"; then :
56878 glibcxx_cv_func__sincosf_use=yes
56879 else
56880 glibcxx_cv_func__sincosf_use=no
56882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56883 ac_ext=c
56884 ac_cpp='$CPP $CPPFLAGS'
56885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
56894 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
56896 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
56897 for ac_func in _sincosf
56898 do :
56899 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
56900 if test "x$ac_cv_func__sincosf" = x""yes; then :
56901 cat >>confdefs.h <<_ACEOF
56902 #define HAVE__SINCOSF 1
56903 _ACEOF
56906 done
56915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
56916 $as_echo_n "checking for finitef declaration... " >&6; }
56917 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
56918 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
56919 $as_echo_n "(cached) " >&6
56920 else
56923 ac_ext=cpp
56924 ac_cpp='$CXXCPP $CPPFLAGS'
56925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56930 /* end confdefs.h. */
56931 #include <math.h>
56932 #ifdef HAVE_IEEEFP_H
56933 #include <ieeefp.h>
56934 #endif
56937 main ()
56939 finitef(0);
56941 return 0;
56943 _ACEOF
56944 if ac_fn_cxx_try_compile "$LINENO"; then :
56945 glibcxx_cv_func_finitef_use=yes
56946 else
56947 glibcxx_cv_func_finitef_use=no
56949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56950 ac_ext=c
56951 ac_cpp='$CPP $CPPFLAGS'
56952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
56961 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
56963 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
56964 for ac_func in finitef
56965 do :
56966 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
56967 if test "x$ac_cv_func_finitef" = x""yes; then :
56968 cat >>confdefs.h <<_ACEOF
56969 #define HAVE_FINITEF 1
56970 _ACEOF
56973 done
56975 else
56977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
56978 $as_echo_n "checking for _finitef declaration... " >&6; }
56979 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
56980 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
56981 $as_echo_n "(cached) " >&6
56982 else
56985 ac_ext=cpp
56986 ac_cpp='$CXXCPP $CPPFLAGS'
56987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56992 /* end confdefs.h. */
56993 #include <math.h>
56994 #ifdef HAVE_IEEEFP_H
56995 #include <ieeefp.h>
56996 #endif
56999 main ()
57001 _finitef(0);
57003 return 0;
57005 _ACEOF
57006 if ac_fn_cxx_try_compile "$LINENO"; then :
57007 glibcxx_cv_func__finitef_use=yes
57008 else
57009 glibcxx_cv_func__finitef_use=no
57011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57012 ac_ext=c
57013 ac_cpp='$CPP $CPPFLAGS'
57014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
57023 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
57025 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
57026 for ac_func in _finitef
57027 do :
57028 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
57029 if test "x$ac_cv_func__finitef" = x""yes; then :
57030 cat >>confdefs.h <<_ACEOF
57031 #define HAVE__FINITEF 1
57032 _ACEOF
57035 done
57044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
57045 $as_echo_n "checking for long double trig functions... " >&6; }
57046 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
57047 $as_echo_n "(cached) " >&6
57048 else
57051 ac_ext=cpp
57052 ac_cpp='$CXXCPP $CPPFLAGS'
57053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57058 /* end confdefs.h. */
57059 #include <math.h>
57061 main ()
57063 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
57065 return 0;
57067 _ACEOF
57068 if ac_fn_cxx_try_compile "$LINENO"; then :
57069 glibcxx_cv_func_long_double_trig_use=yes
57070 else
57071 glibcxx_cv_func_long_double_trig_use=no
57073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57074 ac_ext=c
57075 ac_cpp='$CPP $CPPFLAGS'
57076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
57083 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
57084 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
57085 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
57086 do :
57087 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57088 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57089 eval as_val=\$$as_ac_var
57090 if test "x$as_val" = x""yes; then :
57091 cat >>confdefs.h <<_ACEOF
57092 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57093 _ACEOF
57096 done
57098 else
57099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
57100 $as_echo_n "checking for _long double trig functions... " >&6; }
57101 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
57102 $as_echo_n "(cached) " >&6
57103 else
57106 ac_ext=cpp
57107 ac_cpp='$CXXCPP $CPPFLAGS'
57108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57113 /* end confdefs.h. */
57114 #include <math.h>
57116 main ()
57118 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
57120 return 0;
57122 _ACEOF
57123 if ac_fn_cxx_try_compile "$LINENO"; then :
57124 glibcxx_cv_func__long_double_trig_use=yes
57125 else
57126 glibcxx_cv_func__long_double_trig_use=no
57128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57129 ac_ext=c
57130 ac_cpp='$CPP $CPPFLAGS'
57131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
57138 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
57139 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
57140 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
57141 do :
57142 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57143 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57144 eval as_val=\$$as_ac_var
57145 if test "x$as_val" = x""yes; then :
57146 cat >>confdefs.h <<_ACEOF
57147 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57148 _ACEOF
57151 done
57160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
57161 $as_echo_n "checking for long double round functions... " >&6; }
57162 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
57163 $as_echo_n "(cached) " >&6
57164 else
57167 ac_ext=cpp
57168 ac_cpp='$CXXCPP $CPPFLAGS'
57169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57174 /* end confdefs.h. */
57175 #include <math.h>
57177 main ()
57179 ceill (0); floorl (0);
57181 return 0;
57183 _ACEOF
57184 if ac_fn_cxx_try_compile "$LINENO"; then :
57185 glibcxx_cv_func_long_double_round_use=yes
57186 else
57187 glibcxx_cv_func_long_double_round_use=no
57189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57190 ac_ext=c
57191 ac_cpp='$CPP $CPPFLAGS'
57192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
57199 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
57200 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
57201 for ac_func in ceill floorl
57202 do :
57203 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57204 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57205 eval as_val=\$$as_ac_var
57206 if test "x$as_val" = x""yes; then :
57207 cat >>confdefs.h <<_ACEOF
57208 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57209 _ACEOF
57212 done
57214 else
57215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
57216 $as_echo_n "checking for _long double round functions... " >&6; }
57217 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
57218 $as_echo_n "(cached) " >&6
57219 else
57222 ac_ext=cpp
57223 ac_cpp='$CXXCPP $CPPFLAGS'
57224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57229 /* end confdefs.h. */
57230 #include <math.h>
57232 main ()
57234 _ceill (0); _floorl (0);
57236 return 0;
57238 _ACEOF
57239 if ac_fn_cxx_try_compile "$LINENO"; then :
57240 glibcxx_cv_func__long_double_round_use=yes
57241 else
57242 glibcxx_cv_func__long_double_round_use=no
57244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57245 ac_ext=c
57246 ac_cpp='$CPP $CPPFLAGS'
57247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
57254 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
57255 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
57256 for ac_func in _ceill _floorl
57257 do :
57258 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57259 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57260 eval as_val=\$$as_ac_var
57261 if test "x$as_val" = x""yes; then :
57262 cat >>confdefs.h <<_ACEOF
57263 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57264 _ACEOF
57267 done
57277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
57278 $as_echo_n "checking for isnanl declaration... " >&6; }
57279 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
57280 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
57281 $as_echo_n "(cached) " >&6
57282 else
57285 ac_ext=cpp
57286 ac_cpp='$CXXCPP $CPPFLAGS'
57287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57292 /* end confdefs.h. */
57293 #include <math.h>
57294 #ifdef HAVE_IEEEFP_H
57295 #include <ieeefp.h>
57296 #endif
57299 main ()
57301 isnanl(0);
57303 return 0;
57305 _ACEOF
57306 if ac_fn_cxx_try_compile "$LINENO"; then :
57307 glibcxx_cv_func_isnanl_use=yes
57308 else
57309 glibcxx_cv_func_isnanl_use=no
57311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57312 ac_ext=c
57313 ac_cpp='$CPP $CPPFLAGS'
57314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
57323 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
57325 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
57326 for ac_func in isnanl
57327 do :
57328 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
57329 if test "x$ac_cv_func_isnanl" = x""yes; then :
57330 cat >>confdefs.h <<_ACEOF
57331 #define HAVE_ISNANL 1
57332 _ACEOF
57335 done
57337 else
57339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
57340 $as_echo_n "checking for _isnanl declaration... " >&6; }
57341 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
57342 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
57343 $as_echo_n "(cached) " >&6
57344 else
57347 ac_ext=cpp
57348 ac_cpp='$CXXCPP $CPPFLAGS'
57349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57354 /* end confdefs.h. */
57355 #include <math.h>
57356 #ifdef HAVE_IEEEFP_H
57357 #include <ieeefp.h>
57358 #endif
57361 main ()
57363 _isnanl(0);
57365 return 0;
57367 _ACEOF
57368 if ac_fn_cxx_try_compile "$LINENO"; then :
57369 glibcxx_cv_func__isnanl_use=yes
57370 else
57371 glibcxx_cv_func__isnanl_use=no
57373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57374 ac_ext=c
57375 ac_cpp='$CPP $CPPFLAGS'
57376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
57385 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
57387 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
57388 for ac_func in _isnanl
57389 do :
57390 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
57391 if test "x$ac_cv_func__isnanl" = x""yes; then :
57392 cat >>confdefs.h <<_ACEOF
57393 #define HAVE__ISNANL 1
57394 _ACEOF
57397 done
57406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
57407 $as_echo_n "checking for isinfl declaration... " >&6; }
57408 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
57409 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
57410 $as_echo_n "(cached) " >&6
57411 else
57414 ac_ext=cpp
57415 ac_cpp='$CXXCPP $CPPFLAGS'
57416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57421 /* end confdefs.h. */
57422 #include <math.h>
57423 #ifdef HAVE_IEEEFP_H
57424 #include <ieeefp.h>
57425 #endif
57428 main ()
57430 isinfl(0);
57432 return 0;
57434 _ACEOF
57435 if ac_fn_cxx_try_compile "$LINENO"; then :
57436 glibcxx_cv_func_isinfl_use=yes
57437 else
57438 glibcxx_cv_func_isinfl_use=no
57440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57441 ac_ext=c
57442 ac_cpp='$CPP $CPPFLAGS'
57443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
57452 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
57454 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
57455 for ac_func in isinfl
57456 do :
57457 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
57458 if test "x$ac_cv_func_isinfl" = x""yes; then :
57459 cat >>confdefs.h <<_ACEOF
57460 #define HAVE_ISINFL 1
57461 _ACEOF
57464 done
57466 else
57468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
57469 $as_echo_n "checking for _isinfl declaration... " >&6; }
57470 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
57471 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
57472 $as_echo_n "(cached) " >&6
57473 else
57476 ac_ext=cpp
57477 ac_cpp='$CXXCPP $CPPFLAGS'
57478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57483 /* end confdefs.h. */
57484 #include <math.h>
57485 #ifdef HAVE_IEEEFP_H
57486 #include <ieeefp.h>
57487 #endif
57490 main ()
57492 _isinfl(0);
57494 return 0;
57496 _ACEOF
57497 if ac_fn_cxx_try_compile "$LINENO"; then :
57498 glibcxx_cv_func__isinfl_use=yes
57499 else
57500 glibcxx_cv_func__isinfl_use=no
57502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57503 ac_ext=c
57504 ac_cpp='$CPP $CPPFLAGS'
57505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
57514 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
57516 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
57517 for ac_func in _isinfl
57518 do :
57519 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
57520 if test "x$ac_cv_func__isinfl" = x""yes; then :
57521 cat >>confdefs.h <<_ACEOF
57522 #define HAVE__ISINFL 1
57523 _ACEOF
57526 done
57535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
57536 $as_echo_n "checking for atan2l declaration... " >&6; }
57537 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
57538 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
57539 $as_echo_n "(cached) " >&6
57540 else
57543 ac_ext=cpp
57544 ac_cpp='$CXXCPP $CPPFLAGS'
57545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57550 /* end confdefs.h. */
57551 #include <math.h>
57553 main ()
57555 atan2l(0, 0);
57557 return 0;
57559 _ACEOF
57560 if ac_fn_cxx_try_compile "$LINENO"; then :
57561 glibcxx_cv_func_atan2l_use=yes
57562 else
57563 glibcxx_cv_func_atan2l_use=no
57565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57566 ac_ext=c
57567 ac_cpp='$CPP $CPPFLAGS'
57568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
57577 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
57579 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
57580 for ac_func in atan2l
57581 do :
57582 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
57583 if test "x$ac_cv_func_atan2l" = x""yes; then :
57584 cat >>confdefs.h <<_ACEOF
57585 #define HAVE_ATAN2L 1
57586 _ACEOF
57589 done
57591 else
57593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
57594 $as_echo_n "checking for _atan2l declaration... " >&6; }
57595 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
57596 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
57597 $as_echo_n "(cached) " >&6
57598 else
57601 ac_ext=cpp
57602 ac_cpp='$CXXCPP $CPPFLAGS'
57603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57608 /* end confdefs.h. */
57609 #include <math.h>
57611 main ()
57613 _atan2l(0, 0);
57615 return 0;
57617 _ACEOF
57618 if ac_fn_cxx_try_compile "$LINENO"; then :
57619 glibcxx_cv_func__atan2l_use=yes
57620 else
57621 glibcxx_cv_func__atan2l_use=no
57623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57624 ac_ext=c
57625 ac_cpp='$CPP $CPPFLAGS'
57626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
57635 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
57637 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
57638 for ac_func in _atan2l
57639 do :
57640 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
57641 if test "x$ac_cv_func__atan2l" = x""yes; then :
57642 cat >>confdefs.h <<_ACEOF
57643 #define HAVE__ATAN2L 1
57644 _ACEOF
57647 done
57656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
57657 $as_echo_n "checking for expl declaration... " >&6; }
57658 if test x${glibcxx_cv_func_expl_use+set} != xset; then
57659 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
57660 $as_echo_n "(cached) " >&6
57661 else
57664 ac_ext=cpp
57665 ac_cpp='$CXXCPP $CPPFLAGS'
57666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57671 /* end confdefs.h. */
57672 #include <math.h>
57673 #ifdef HAVE_IEEEFP_H
57674 #include <ieeefp.h>
57675 #endif
57678 main ()
57680 expl(0);
57682 return 0;
57684 _ACEOF
57685 if ac_fn_cxx_try_compile "$LINENO"; then :
57686 glibcxx_cv_func_expl_use=yes
57687 else
57688 glibcxx_cv_func_expl_use=no
57690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57691 ac_ext=c
57692 ac_cpp='$CPP $CPPFLAGS'
57693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
57702 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
57704 if test x$glibcxx_cv_func_expl_use = x"yes"; then
57705 for ac_func in expl
57706 do :
57707 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
57708 if test "x$ac_cv_func_expl" = x""yes; then :
57709 cat >>confdefs.h <<_ACEOF
57710 #define HAVE_EXPL 1
57711 _ACEOF
57714 done
57716 else
57718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
57719 $as_echo_n "checking for _expl declaration... " >&6; }
57720 if test x${glibcxx_cv_func__expl_use+set} != xset; then
57721 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
57722 $as_echo_n "(cached) " >&6
57723 else
57726 ac_ext=cpp
57727 ac_cpp='$CXXCPP $CPPFLAGS'
57728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57733 /* end confdefs.h. */
57734 #include <math.h>
57735 #ifdef HAVE_IEEEFP_H
57736 #include <ieeefp.h>
57737 #endif
57740 main ()
57742 _expl(0);
57744 return 0;
57746 _ACEOF
57747 if ac_fn_cxx_try_compile "$LINENO"; then :
57748 glibcxx_cv_func__expl_use=yes
57749 else
57750 glibcxx_cv_func__expl_use=no
57752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57753 ac_ext=c
57754 ac_cpp='$CPP $CPPFLAGS'
57755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
57764 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
57766 if test x$glibcxx_cv_func__expl_use = x"yes"; then
57767 for ac_func in _expl
57768 do :
57769 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
57770 if test "x$ac_cv_func__expl" = x""yes; then :
57771 cat >>confdefs.h <<_ACEOF
57772 #define HAVE__EXPL 1
57773 _ACEOF
57776 done
57785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
57786 $as_echo_n "checking for fabsl declaration... " >&6; }
57787 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
57788 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
57789 $as_echo_n "(cached) " >&6
57790 else
57793 ac_ext=cpp
57794 ac_cpp='$CXXCPP $CPPFLAGS'
57795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57800 /* end confdefs.h. */
57801 #include <math.h>
57802 #ifdef HAVE_IEEEFP_H
57803 #include <ieeefp.h>
57804 #endif
57807 main ()
57809 fabsl(0);
57811 return 0;
57813 _ACEOF
57814 if ac_fn_cxx_try_compile "$LINENO"; then :
57815 glibcxx_cv_func_fabsl_use=yes
57816 else
57817 glibcxx_cv_func_fabsl_use=no
57819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57820 ac_ext=c
57821 ac_cpp='$CPP $CPPFLAGS'
57822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
57831 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
57833 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
57834 for ac_func in fabsl
57835 do :
57836 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
57837 if test "x$ac_cv_func_fabsl" = x""yes; then :
57838 cat >>confdefs.h <<_ACEOF
57839 #define HAVE_FABSL 1
57840 _ACEOF
57843 done
57845 else
57847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
57848 $as_echo_n "checking for _fabsl declaration... " >&6; }
57849 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
57850 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
57851 $as_echo_n "(cached) " >&6
57852 else
57855 ac_ext=cpp
57856 ac_cpp='$CXXCPP $CPPFLAGS'
57857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57862 /* end confdefs.h. */
57863 #include <math.h>
57864 #ifdef HAVE_IEEEFP_H
57865 #include <ieeefp.h>
57866 #endif
57869 main ()
57871 _fabsl(0);
57873 return 0;
57875 _ACEOF
57876 if ac_fn_cxx_try_compile "$LINENO"; then :
57877 glibcxx_cv_func__fabsl_use=yes
57878 else
57879 glibcxx_cv_func__fabsl_use=no
57881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57882 ac_ext=c
57883 ac_cpp='$CPP $CPPFLAGS'
57884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
57893 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
57895 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
57896 for ac_func in _fabsl
57897 do :
57898 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
57899 if test "x$ac_cv_func__fabsl" = x""yes; then :
57900 cat >>confdefs.h <<_ACEOF
57901 #define HAVE__FABSL 1
57902 _ACEOF
57905 done
57914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
57915 $as_echo_n "checking for fmodl declaration... " >&6; }
57916 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
57917 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
57918 $as_echo_n "(cached) " >&6
57919 else
57922 ac_ext=cpp
57923 ac_cpp='$CXXCPP $CPPFLAGS'
57924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57929 /* end confdefs.h. */
57930 #include <math.h>
57932 main ()
57934 fmodl(0, 0);
57936 return 0;
57938 _ACEOF
57939 if ac_fn_cxx_try_compile "$LINENO"; then :
57940 glibcxx_cv_func_fmodl_use=yes
57941 else
57942 glibcxx_cv_func_fmodl_use=no
57944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57945 ac_ext=c
57946 ac_cpp='$CPP $CPPFLAGS'
57947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
57956 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
57958 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
57959 for ac_func in fmodl
57960 do :
57961 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
57962 if test "x$ac_cv_func_fmodl" = x""yes; then :
57963 cat >>confdefs.h <<_ACEOF
57964 #define HAVE_FMODL 1
57965 _ACEOF
57968 done
57970 else
57972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
57973 $as_echo_n "checking for _fmodl declaration... " >&6; }
57974 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
57975 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
57976 $as_echo_n "(cached) " >&6
57977 else
57980 ac_ext=cpp
57981 ac_cpp='$CXXCPP $CPPFLAGS'
57982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57987 /* end confdefs.h. */
57988 #include <math.h>
57990 main ()
57992 _fmodl(0, 0);
57994 return 0;
57996 _ACEOF
57997 if ac_fn_cxx_try_compile "$LINENO"; then :
57998 glibcxx_cv_func__fmodl_use=yes
57999 else
58000 glibcxx_cv_func__fmodl_use=no
58002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58003 ac_ext=c
58004 ac_cpp='$CPP $CPPFLAGS'
58005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
58014 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
58016 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
58017 for ac_func in _fmodl
58018 do :
58019 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
58020 if test "x$ac_cv_func__fmodl" = x""yes; then :
58021 cat >>confdefs.h <<_ACEOF
58022 #define HAVE__FMODL 1
58023 _ACEOF
58026 done
58035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
58036 $as_echo_n "checking for frexpl declaration... " >&6; }
58037 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
58038 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
58039 $as_echo_n "(cached) " >&6
58040 else
58043 ac_ext=cpp
58044 ac_cpp='$CXXCPP $CPPFLAGS'
58045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58050 /* end confdefs.h. */
58051 #include <math.h>
58053 main ()
58055 frexpl(0, 0);
58057 return 0;
58059 _ACEOF
58060 if ac_fn_cxx_try_compile "$LINENO"; then :
58061 glibcxx_cv_func_frexpl_use=yes
58062 else
58063 glibcxx_cv_func_frexpl_use=no
58065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58066 ac_ext=c
58067 ac_cpp='$CPP $CPPFLAGS'
58068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
58077 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
58079 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
58080 for ac_func in frexpl
58081 do :
58082 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
58083 if test "x$ac_cv_func_frexpl" = x""yes; then :
58084 cat >>confdefs.h <<_ACEOF
58085 #define HAVE_FREXPL 1
58086 _ACEOF
58089 done
58091 else
58093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
58094 $as_echo_n "checking for _frexpl declaration... " >&6; }
58095 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
58096 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
58097 $as_echo_n "(cached) " >&6
58098 else
58101 ac_ext=cpp
58102 ac_cpp='$CXXCPP $CPPFLAGS'
58103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58108 /* end confdefs.h. */
58109 #include <math.h>
58111 main ()
58113 _frexpl(0, 0);
58115 return 0;
58117 _ACEOF
58118 if ac_fn_cxx_try_compile "$LINENO"; then :
58119 glibcxx_cv_func__frexpl_use=yes
58120 else
58121 glibcxx_cv_func__frexpl_use=no
58123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58124 ac_ext=c
58125 ac_cpp='$CPP $CPPFLAGS'
58126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
58135 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
58137 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
58138 for ac_func in _frexpl
58139 do :
58140 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
58141 if test "x$ac_cv_func__frexpl" = x""yes; then :
58142 cat >>confdefs.h <<_ACEOF
58143 #define HAVE__FREXPL 1
58144 _ACEOF
58147 done
58156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
58157 $as_echo_n "checking for hypotl declaration... " >&6; }
58158 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
58159 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
58160 $as_echo_n "(cached) " >&6
58161 else
58164 ac_ext=cpp
58165 ac_cpp='$CXXCPP $CPPFLAGS'
58166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58171 /* end confdefs.h. */
58172 #include <math.h>
58174 main ()
58176 hypotl(0, 0);
58178 return 0;
58180 _ACEOF
58181 if ac_fn_cxx_try_compile "$LINENO"; then :
58182 glibcxx_cv_func_hypotl_use=yes
58183 else
58184 glibcxx_cv_func_hypotl_use=no
58186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58187 ac_ext=c
58188 ac_cpp='$CPP $CPPFLAGS'
58189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
58198 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
58200 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
58201 for ac_func in hypotl
58202 do :
58203 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
58204 if test "x$ac_cv_func_hypotl" = x""yes; then :
58205 cat >>confdefs.h <<_ACEOF
58206 #define HAVE_HYPOTL 1
58207 _ACEOF
58210 done
58212 else
58214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
58215 $as_echo_n "checking for _hypotl declaration... " >&6; }
58216 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
58217 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
58218 $as_echo_n "(cached) " >&6
58219 else
58222 ac_ext=cpp
58223 ac_cpp='$CXXCPP $CPPFLAGS'
58224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58229 /* end confdefs.h. */
58230 #include <math.h>
58232 main ()
58234 _hypotl(0, 0);
58236 return 0;
58238 _ACEOF
58239 if ac_fn_cxx_try_compile "$LINENO"; then :
58240 glibcxx_cv_func__hypotl_use=yes
58241 else
58242 glibcxx_cv_func__hypotl_use=no
58244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58245 ac_ext=c
58246 ac_cpp='$CPP $CPPFLAGS'
58247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
58256 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
58258 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
58259 for ac_func in _hypotl
58260 do :
58261 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
58262 if test "x$ac_cv_func__hypotl" = x""yes; then :
58263 cat >>confdefs.h <<_ACEOF
58264 #define HAVE__HYPOTL 1
58265 _ACEOF
58268 done
58277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
58278 $as_echo_n "checking for ldexpl declaration... " >&6; }
58279 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
58280 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
58281 $as_echo_n "(cached) " >&6
58282 else
58285 ac_ext=cpp
58286 ac_cpp='$CXXCPP $CPPFLAGS'
58287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58292 /* end confdefs.h. */
58293 #include <math.h>
58295 main ()
58297 ldexpl(0, 0);
58299 return 0;
58301 _ACEOF
58302 if ac_fn_cxx_try_compile "$LINENO"; then :
58303 glibcxx_cv_func_ldexpl_use=yes
58304 else
58305 glibcxx_cv_func_ldexpl_use=no
58307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58308 ac_ext=c
58309 ac_cpp='$CPP $CPPFLAGS'
58310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
58319 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
58321 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
58322 for ac_func in ldexpl
58323 do :
58324 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
58325 if test "x$ac_cv_func_ldexpl" = x""yes; then :
58326 cat >>confdefs.h <<_ACEOF
58327 #define HAVE_LDEXPL 1
58328 _ACEOF
58331 done
58333 else
58335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
58336 $as_echo_n "checking for _ldexpl declaration... " >&6; }
58337 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
58338 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
58339 $as_echo_n "(cached) " >&6
58340 else
58343 ac_ext=cpp
58344 ac_cpp='$CXXCPP $CPPFLAGS'
58345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58350 /* end confdefs.h. */
58351 #include <math.h>
58353 main ()
58355 _ldexpl(0, 0);
58357 return 0;
58359 _ACEOF
58360 if ac_fn_cxx_try_compile "$LINENO"; then :
58361 glibcxx_cv_func__ldexpl_use=yes
58362 else
58363 glibcxx_cv_func__ldexpl_use=no
58365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58366 ac_ext=c
58367 ac_cpp='$CPP $CPPFLAGS'
58368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
58377 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
58379 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
58380 for ac_func in _ldexpl
58381 do :
58382 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
58383 if test "x$ac_cv_func__ldexpl" = x""yes; then :
58384 cat >>confdefs.h <<_ACEOF
58385 #define HAVE__LDEXPL 1
58386 _ACEOF
58389 done
58398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
58399 $as_echo_n "checking for logl declaration... " >&6; }
58400 if test x${glibcxx_cv_func_logl_use+set} != xset; then
58401 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
58402 $as_echo_n "(cached) " >&6
58403 else
58406 ac_ext=cpp
58407 ac_cpp='$CXXCPP $CPPFLAGS'
58408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58413 /* end confdefs.h. */
58414 #include <math.h>
58415 #ifdef HAVE_IEEEFP_H
58416 #include <ieeefp.h>
58417 #endif
58420 main ()
58422 logl(0);
58424 return 0;
58426 _ACEOF
58427 if ac_fn_cxx_try_compile "$LINENO"; then :
58428 glibcxx_cv_func_logl_use=yes
58429 else
58430 glibcxx_cv_func_logl_use=no
58432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58433 ac_ext=c
58434 ac_cpp='$CPP $CPPFLAGS'
58435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
58444 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
58446 if test x$glibcxx_cv_func_logl_use = x"yes"; then
58447 for ac_func in logl
58448 do :
58449 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
58450 if test "x$ac_cv_func_logl" = x""yes; then :
58451 cat >>confdefs.h <<_ACEOF
58452 #define HAVE_LOGL 1
58453 _ACEOF
58456 done
58458 else
58460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
58461 $as_echo_n "checking for _logl declaration... " >&6; }
58462 if test x${glibcxx_cv_func__logl_use+set} != xset; then
58463 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
58464 $as_echo_n "(cached) " >&6
58465 else
58468 ac_ext=cpp
58469 ac_cpp='$CXXCPP $CPPFLAGS'
58470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58475 /* end confdefs.h. */
58476 #include <math.h>
58477 #ifdef HAVE_IEEEFP_H
58478 #include <ieeefp.h>
58479 #endif
58482 main ()
58484 _logl(0);
58486 return 0;
58488 _ACEOF
58489 if ac_fn_cxx_try_compile "$LINENO"; then :
58490 glibcxx_cv_func__logl_use=yes
58491 else
58492 glibcxx_cv_func__logl_use=no
58494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58495 ac_ext=c
58496 ac_cpp='$CPP $CPPFLAGS'
58497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
58506 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
58508 if test x$glibcxx_cv_func__logl_use = x"yes"; then
58509 for ac_func in _logl
58510 do :
58511 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
58512 if test "x$ac_cv_func__logl" = x""yes; then :
58513 cat >>confdefs.h <<_ACEOF
58514 #define HAVE__LOGL 1
58515 _ACEOF
58518 done
58527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
58528 $as_echo_n "checking for log10l declaration... " >&6; }
58529 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
58530 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
58531 $as_echo_n "(cached) " >&6
58532 else
58535 ac_ext=cpp
58536 ac_cpp='$CXXCPP $CPPFLAGS'
58537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58542 /* end confdefs.h. */
58543 #include <math.h>
58544 #ifdef HAVE_IEEEFP_H
58545 #include <ieeefp.h>
58546 #endif
58549 main ()
58551 log10l(0);
58553 return 0;
58555 _ACEOF
58556 if ac_fn_cxx_try_compile "$LINENO"; then :
58557 glibcxx_cv_func_log10l_use=yes
58558 else
58559 glibcxx_cv_func_log10l_use=no
58561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58562 ac_ext=c
58563 ac_cpp='$CPP $CPPFLAGS'
58564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
58573 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
58575 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
58576 for ac_func in log10l
58577 do :
58578 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
58579 if test "x$ac_cv_func_log10l" = x""yes; then :
58580 cat >>confdefs.h <<_ACEOF
58581 #define HAVE_LOG10L 1
58582 _ACEOF
58585 done
58587 else
58589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
58590 $as_echo_n "checking for _log10l declaration... " >&6; }
58591 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
58592 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
58593 $as_echo_n "(cached) " >&6
58594 else
58597 ac_ext=cpp
58598 ac_cpp='$CXXCPP $CPPFLAGS'
58599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58604 /* end confdefs.h. */
58605 #include <math.h>
58606 #ifdef HAVE_IEEEFP_H
58607 #include <ieeefp.h>
58608 #endif
58611 main ()
58613 _log10l(0);
58615 return 0;
58617 _ACEOF
58618 if ac_fn_cxx_try_compile "$LINENO"; then :
58619 glibcxx_cv_func__log10l_use=yes
58620 else
58621 glibcxx_cv_func__log10l_use=no
58623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58624 ac_ext=c
58625 ac_cpp='$CPP $CPPFLAGS'
58626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
58635 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
58637 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
58638 for ac_func in _log10l
58639 do :
58640 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
58641 if test "x$ac_cv_func__log10l" = x""yes; then :
58642 cat >>confdefs.h <<_ACEOF
58643 #define HAVE__LOG10L 1
58644 _ACEOF
58647 done
58656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
58657 $as_echo_n "checking for modfl declaration... " >&6; }
58658 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
58659 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
58660 $as_echo_n "(cached) " >&6
58661 else
58664 ac_ext=cpp
58665 ac_cpp='$CXXCPP $CPPFLAGS'
58666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58671 /* end confdefs.h. */
58672 #include <math.h>
58674 main ()
58676 modfl(0, 0);
58678 return 0;
58680 _ACEOF
58681 if ac_fn_cxx_try_compile "$LINENO"; then :
58682 glibcxx_cv_func_modfl_use=yes
58683 else
58684 glibcxx_cv_func_modfl_use=no
58686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58687 ac_ext=c
58688 ac_cpp='$CPP $CPPFLAGS'
58689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
58698 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
58700 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
58701 for ac_func in modfl
58702 do :
58703 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
58704 if test "x$ac_cv_func_modfl" = x""yes; then :
58705 cat >>confdefs.h <<_ACEOF
58706 #define HAVE_MODFL 1
58707 _ACEOF
58710 done
58712 else
58714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
58715 $as_echo_n "checking for _modfl declaration... " >&6; }
58716 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
58717 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
58718 $as_echo_n "(cached) " >&6
58719 else
58722 ac_ext=cpp
58723 ac_cpp='$CXXCPP $CPPFLAGS'
58724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58729 /* end confdefs.h. */
58730 #include <math.h>
58732 main ()
58734 _modfl(0, 0);
58736 return 0;
58738 _ACEOF
58739 if ac_fn_cxx_try_compile "$LINENO"; then :
58740 glibcxx_cv_func__modfl_use=yes
58741 else
58742 glibcxx_cv_func__modfl_use=no
58744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58745 ac_ext=c
58746 ac_cpp='$CPP $CPPFLAGS'
58747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
58756 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
58758 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
58759 for ac_func in _modfl
58760 do :
58761 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
58762 if test "x$ac_cv_func__modfl" = x""yes; then :
58763 cat >>confdefs.h <<_ACEOF
58764 #define HAVE__MODFL 1
58765 _ACEOF
58768 done
58777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
58778 $as_echo_n "checking for powl declaration... " >&6; }
58779 if test x${glibcxx_cv_func_powl_use+set} != xset; then
58780 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
58781 $as_echo_n "(cached) " >&6
58782 else
58785 ac_ext=cpp
58786 ac_cpp='$CXXCPP $CPPFLAGS'
58787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58792 /* end confdefs.h. */
58793 #include <math.h>
58795 main ()
58797 powl(0, 0);
58799 return 0;
58801 _ACEOF
58802 if ac_fn_cxx_try_compile "$LINENO"; then :
58803 glibcxx_cv_func_powl_use=yes
58804 else
58805 glibcxx_cv_func_powl_use=no
58807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58808 ac_ext=c
58809 ac_cpp='$CPP $CPPFLAGS'
58810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
58819 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
58821 if test x$glibcxx_cv_func_powl_use = x"yes"; then
58822 for ac_func in powl
58823 do :
58824 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
58825 if test "x$ac_cv_func_powl" = x""yes; then :
58826 cat >>confdefs.h <<_ACEOF
58827 #define HAVE_POWL 1
58828 _ACEOF
58831 done
58833 else
58835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
58836 $as_echo_n "checking for _powl declaration... " >&6; }
58837 if test x${glibcxx_cv_func__powl_use+set} != xset; then
58838 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
58839 $as_echo_n "(cached) " >&6
58840 else
58843 ac_ext=cpp
58844 ac_cpp='$CXXCPP $CPPFLAGS'
58845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58850 /* end confdefs.h. */
58851 #include <math.h>
58853 main ()
58855 _powl(0, 0);
58857 return 0;
58859 _ACEOF
58860 if ac_fn_cxx_try_compile "$LINENO"; then :
58861 glibcxx_cv_func__powl_use=yes
58862 else
58863 glibcxx_cv_func__powl_use=no
58865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58866 ac_ext=c
58867 ac_cpp='$CPP $CPPFLAGS'
58868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
58877 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
58879 if test x$glibcxx_cv_func__powl_use = x"yes"; then
58880 for ac_func in _powl
58881 do :
58882 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
58883 if test "x$ac_cv_func__powl" = x""yes; then :
58884 cat >>confdefs.h <<_ACEOF
58885 #define HAVE__POWL 1
58886 _ACEOF
58889 done
58898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
58899 $as_echo_n "checking for sqrtl declaration... " >&6; }
58900 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
58901 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
58902 $as_echo_n "(cached) " >&6
58903 else
58906 ac_ext=cpp
58907 ac_cpp='$CXXCPP $CPPFLAGS'
58908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58913 /* end confdefs.h. */
58914 #include <math.h>
58915 #ifdef HAVE_IEEEFP_H
58916 #include <ieeefp.h>
58917 #endif
58920 main ()
58922 sqrtl(0);
58924 return 0;
58926 _ACEOF
58927 if ac_fn_cxx_try_compile "$LINENO"; then :
58928 glibcxx_cv_func_sqrtl_use=yes
58929 else
58930 glibcxx_cv_func_sqrtl_use=no
58932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58933 ac_ext=c
58934 ac_cpp='$CPP $CPPFLAGS'
58935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
58944 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
58946 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
58947 for ac_func in sqrtl
58948 do :
58949 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
58950 if test "x$ac_cv_func_sqrtl" = x""yes; then :
58951 cat >>confdefs.h <<_ACEOF
58952 #define HAVE_SQRTL 1
58953 _ACEOF
58956 done
58958 else
58960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
58961 $as_echo_n "checking for _sqrtl declaration... " >&6; }
58962 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
58963 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
58964 $as_echo_n "(cached) " >&6
58965 else
58968 ac_ext=cpp
58969 ac_cpp='$CXXCPP $CPPFLAGS'
58970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58975 /* end confdefs.h. */
58976 #include <math.h>
58977 #ifdef HAVE_IEEEFP_H
58978 #include <ieeefp.h>
58979 #endif
58982 main ()
58984 _sqrtl(0);
58986 return 0;
58988 _ACEOF
58989 if ac_fn_cxx_try_compile "$LINENO"; then :
58990 glibcxx_cv_func__sqrtl_use=yes
58991 else
58992 glibcxx_cv_func__sqrtl_use=no
58994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58995 ac_ext=c
58996 ac_cpp='$CPP $CPPFLAGS'
58997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
59006 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
59008 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
59009 for ac_func in _sqrtl
59010 do :
59011 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
59012 if test "x$ac_cv_func__sqrtl" = x""yes; then :
59013 cat >>confdefs.h <<_ACEOF
59014 #define HAVE__SQRTL 1
59015 _ACEOF
59018 done
59027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
59028 $as_echo_n "checking for sincosl declaration... " >&6; }
59029 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
59030 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
59031 $as_echo_n "(cached) " >&6
59032 else
59035 ac_ext=cpp
59036 ac_cpp='$CXXCPP $CPPFLAGS'
59037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59042 /* end confdefs.h. */
59043 #include <math.h>
59045 main ()
59047 sincosl(0, 0, 0);
59049 return 0;
59051 _ACEOF
59052 if ac_fn_cxx_try_compile "$LINENO"; then :
59053 glibcxx_cv_func_sincosl_use=yes
59054 else
59055 glibcxx_cv_func_sincosl_use=no
59057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59058 ac_ext=c
59059 ac_cpp='$CPP $CPPFLAGS'
59060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
59069 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
59071 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
59072 for ac_func in sincosl
59073 do :
59074 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
59075 if test "x$ac_cv_func_sincosl" = x""yes; then :
59076 cat >>confdefs.h <<_ACEOF
59077 #define HAVE_SINCOSL 1
59078 _ACEOF
59081 done
59083 else
59085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
59086 $as_echo_n "checking for _sincosl declaration... " >&6; }
59087 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
59088 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
59089 $as_echo_n "(cached) " >&6
59090 else
59093 ac_ext=cpp
59094 ac_cpp='$CXXCPP $CPPFLAGS'
59095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59100 /* end confdefs.h. */
59101 #include <math.h>
59103 main ()
59105 _sincosl(0, 0, 0);
59107 return 0;
59109 _ACEOF
59110 if ac_fn_cxx_try_compile "$LINENO"; then :
59111 glibcxx_cv_func__sincosl_use=yes
59112 else
59113 glibcxx_cv_func__sincosl_use=no
59115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59116 ac_ext=c
59117 ac_cpp='$CPP $CPPFLAGS'
59118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
59127 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
59129 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
59130 for ac_func in _sincosl
59131 do :
59132 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
59133 if test "x$ac_cv_func__sincosl" = x""yes; then :
59134 cat >>confdefs.h <<_ACEOF
59135 #define HAVE__SINCOSL 1
59136 _ACEOF
59139 done
59148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
59149 $as_echo_n "checking for finitel declaration... " >&6; }
59150 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
59151 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
59152 $as_echo_n "(cached) " >&6
59153 else
59156 ac_ext=cpp
59157 ac_cpp='$CXXCPP $CPPFLAGS'
59158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59163 /* end confdefs.h. */
59164 #include <math.h>
59165 #ifdef HAVE_IEEEFP_H
59166 #include <ieeefp.h>
59167 #endif
59170 main ()
59172 finitel(0);
59174 return 0;
59176 _ACEOF
59177 if ac_fn_cxx_try_compile "$LINENO"; then :
59178 glibcxx_cv_func_finitel_use=yes
59179 else
59180 glibcxx_cv_func_finitel_use=no
59182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59183 ac_ext=c
59184 ac_cpp='$CPP $CPPFLAGS'
59185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
59194 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
59196 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
59197 for ac_func in finitel
59198 do :
59199 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
59200 if test "x$ac_cv_func_finitel" = x""yes; then :
59201 cat >>confdefs.h <<_ACEOF
59202 #define HAVE_FINITEL 1
59203 _ACEOF
59206 done
59208 else
59210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
59211 $as_echo_n "checking for _finitel declaration... " >&6; }
59212 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
59213 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
59214 $as_echo_n "(cached) " >&6
59215 else
59218 ac_ext=cpp
59219 ac_cpp='$CXXCPP $CPPFLAGS'
59220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59225 /* end confdefs.h. */
59226 #include <math.h>
59227 #ifdef HAVE_IEEEFP_H
59228 #include <ieeefp.h>
59229 #endif
59232 main ()
59234 _finitel(0);
59236 return 0;
59238 _ACEOF
59239 if ac_fn_cxx_try_compile "$LINENO"; then :
59240 glibcxx_cv_func__finitel_use=yes
59241 else
59242 glibcxx_cv_func__finitel_use=no
59244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59245 ac_ext=c
59246 ac_cpp='$CPP $CPPFLAGS'
59247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
59256 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
59258 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
59259 for ac_func in _finitel
59260 do :
59261 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
59262 if test "x$ac_cv_func__finitel" = x""yes; then :
59263 cat >>confdefs.h <<_ACEOF
59264 #define HAVE__FINITEL 1
59265 _ACEOF
59268 done
59276 LIBS="$ac_save_LIBS"
59277 CXXFLAGS="$ac_save_CXXFLAGS"
59280 ac_test_CXXFLAGS="${CXXFLAGS+set}"
59281 ac_save_CXXFLAGS="$CXXFLAGS"
59282 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
59285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
59286 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
59287 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
59288 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
59289 $as_echo_n "(cached) " >&6
59290 else
59293 ac_ext=cpp
59294 ac_cpp='$CXXCPP $CPPFLAGS'
59295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59300 /* end confdefs.h. */
59301 #include <stdlib.h>
59303 main ()
59305 at_quick_exit(0);
59307 return 0;
59309 _ACEOF
59310 if ac_fn_cxx_try_compile "$LINENO"; then :
59311 glibcxx_cv_func_at_quick_exit_use=yes
59312 else
59313 glibcxx_cv_func_at_quick_exit_use=no
59315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59316 ac_ext=c
59317 ac_cpp='$CPP $CPPFLAGS'
59318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
59327 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
59328 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
59329 for ac_func in at_quick_exit
59330 do :
59331 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
59332 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
59333 cat >>confdefs.h <<_ACEOF
59334 #define HAVE_AT_QUICK_EXIT 1
59335 _ACEOF
59338 done
59343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
59344 $as_echo_n "checking for quick_exit declaration... " >&6; }
59345 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
59346 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
59347 $as_echo_n "(cached) " >&6
59348 else
59351 ac_ext=cpp
59352 ac_cpp='$CXXCPP $CPPFLAGS'
59353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59358 /* end confdefs.h. */
59359 #include <stdlib.h>
59361 main ()
59363 quick_exit(0);
59365 return 0;
59367 _ACEOF
59368 if ac_fn_cxx_try_compile "$LINENO"; then :
59369 glibcxx_cv_func_quick_exit_use=yes
59370 else
59371 glibcxx_cv_func_quick_exit_use=no
59373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59374 ac_ext=c
59375 ac_cpp='$CPP $CPPFLAGS'
59376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
59385 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
59386 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
59387 for ac_func in quick_exit
59388 do :
59389 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
59390 if test "x$ac_cv_func_quick_exit" = x""yes; then :
59391 cat >>confdefs.h <<_ACEOF
59392 #define HAVE_QUICK_EXIT 1
59393 _ACEOF
59396 done
59401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
59402 $as_echo_n "checking for strtold declaration... " >&6; }
59403 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
59404 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
59405 $as_echo_n "(cached) " >&6
59406 else
59409 ac_ext=cpp
59410 ac_cpp='$CXXCPP $CPPFLAGS'
59411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59416 /* end confdefs.h. */
59417 #include <stdlib.h>
59419 main ()
59421 strtold(0, 0);
59423 return 0;
59425 _ACEOF
59426 if ac_fn_cxx_try_compile "$LINENO"; then :
59427 glibcxx_cv_func_strtold_use=yes
59428 else
59429 glibcxx_cv_func_strtold_use=no
59431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59432 ac_ext=c
59433 ac_cpp='$CPP $CPPFLAGS'
59434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
59443 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
59444 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
59445 for ac_func in strtold
59446 do :
59447 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
59448 if test "x$ac_cv_func_strtold" = x""yes; then :
59449 cat >>confdefs.h <<_ACEOF
59450 #define HAVE_STRTOLD 1
59451 _ACEOF
59454 done
59461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
59462 $as_echo_n "checking for strtof declaration... " >&6; }
59463 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
59464 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
59465 $as_echo_n "(cached) " >&6
59466 else
59469 ac_ext=cpp
59470 ac_cpp='$CXXCPP $CPPFLAGS'
59471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59476 /* end confdefs.h. */
59477 #include <stdlib.h>
59479 main ()
59481 strtof(0, 0);
59483 return 0;
59485 _ACEOF
59486 if ac_fn_cxx_try_compile "$LINENO"; then :
59487 glibcxx_cv_func_strtof_use=yes
59488 else
59489 glibcxx_cv_func_strtof_use=no
59491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59492 ac_ext=c
59493 ac_cpp='$CPP $CPPFLAGS'
59494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
59503 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
59504 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
59505 for ac_func in strtof
59506 do :
59507 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
59508 if test "x$ac_cv_func_strtof" = x""yes; then :
59509 cat >>confdefs.h <<_ACEOF
59510 #define HAVE_STRTOF 1
59511 _ACEOF
59514 done
59521 CXXFLAGS="$ac_save_CXXFLAGS"
59523 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
59527 # Check whether --enable-tls was given.
59528 if test "${enable_tls+set}" = set; then :
59529 enableval=$enable_tls;
59530 case "$enableval" in
59531 yes|no) ;;
59532 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
59533 esac
59535 else
59536 enable_tls=yes
59540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
59541 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
59542 if test "${gcc_cv_have_tls+set}" = set; then :
59543 $as_echo_n "(cached) " >&6
59544 else
59546 if test "$cross_compiling" = yes; then :
59547 if test x$gcc_no_link = xyes; then
59548 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59551 /* end confdefs.h. */
59552 __thread int a; int b; int main() { return a = b; }
59553 _ACEOF
59554 if ac_fn_c_try_link "$LINENO"; then :
59555 chktls_save_LDFLAGS="$LDFLAGS"
59556 case $host in
59557 *-*-linux*)
59558 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
59560 esac
59561 chktls_save_CFLAGS="$CFLAGS"
59562 CFLAGS="-fPIC $CFLAGS"
59563 if test x$gcc_no_link = xyes; then
59564 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59567 /* end confdefs.h. */
59568 int f() { return 0; }
59569 _ACEOF
59570 if ac_fn_c_try_link "$LINENO"; then :
59571 if test x$gcc_no_link = xyes; then
59572 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59575 /* end confdefs.h. */
59576 __thread int a; int b; int f() { return a = b; }
59577 _ACEOF
59578 if ac_fn_c_try_link "$LINENO"; then :
59579 gcc_cv_have_tls=yes
59580 else
59581 gcc_cv_have_tls=no
59583 rm -f core conftest.err conftest.$ac_objext \
59584 conftest$ac_exeext conftest.$ac_ext
59585 else
59586 gcc_cv_have_tls=yes
59588 rm -f core conftest.err conftest.$ac_objext \
59589 conftest$ac_exeext conftest.$ac_ext
59590 CFLAGS="$chktls_save_CFLAGS"
59591 LDFLAGS="$chktls_save_LDFLAGS"
59592 else
59593 gcc_cv_have_tls=no
59595 rm -f core conftest.err conftest.$ac_objext \
59596 conftest$ac_exeext conftest.$ac_ext
59599 else
59600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59601 /* end confdefs.h. */
59602 __thread int a; int b; int main() { return a = b; }
59603 _ACEOF
59604 if ac_fn_c_try_run "$LINENO"; then :
59605 chktls_save_LDFLAGS="$LDFLAGS"
59606 LDFLAGS="-static $LDFLAGS"
59607 if test x$gcc_no_link = xyes; then
59608 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59611 /* end confdefs.h. */
59612 int main() { return 0; }
59613 _ACEOF
59614 if ac_fn_c_try_link "$LINENO"; then :
59615 if test "$cross_compiling" = yes; then :
59616 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
59617 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
59618 as_fn_error "cannot run test program while cross compiling
59619 See \`config.log' for more details." "$LINENO" 5; }
59620 else
59621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59622 /* end confdefs.h. */
59623 __thread int a; int b; int main() { return a = b; }
59624 _ACEOF
59625 if ac_fn_c_try_run "$LINENO"; then :
59626 gcc_cv_have_tls=yes
59627 else
59628 gcc_cv_have_tls=no
59630 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
59631 conftest.$ac_objext conftest.beam conftest.$ac_ext
59634 else
59635 gcc_cv_have_tls=yes
59637 rm -f core conftest.err conftest.$ac_objext \
59638 conftest$ac_exeext conftest.$ac_ext
59639 LDFLAGS="$chktls_save_LDFLAGS"
59640 if test $gcc_cv_have_tls = yes; then
59641 chktls_save_CFLAGS="$CFLAGS"
59642 thread_CFLAGS=failed
59643 for flag in '' '-pthread' '-lpthread'; do
59644 CFLAGS="$flag $chktls_save_CFLAGS"
59645 if test x$gcc_no_link = xyes; then
59646 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59649 /* end confdefs.h. */
59650 #include <pthread.h>
59651 void *g(void *d) { return NULL; }
59653 main ()
59655 pthread_t t; pthread_create(&t,NULL,g,NULL);
59657 return 0;
59659 _ACEOF
59660 if ac_fn_c_try_link "$LINENO"; then :
59661 thread_CFLAGS="$flag"
59663 rm -f core conftest.err conftest.$ac_objext \
59664 conftest$ac_exeext conftest.$ac_ext
59665 if test "X$thread_CFLAGS" != Xfailed; then
59666 break
59668 done
59669 CFLAGS="$chktls_save_CFLAGS"
59670 if test "X$thread_CFLAGS" != Xfailed; then
59671 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
59672 if test "$cross_compiling" = yes; then :
59673 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
59674 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
59675 as_fn_error "cannot run test program while cross compiling
59676 See \`config.log' for more details." "$LINENO" 5; }
59677 else
59678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59679 /* end confdefs.h. */
59680 #include <pthread.h>
59681 __thread int a;
59682 static int *volatile a_in_other_thread;
59683 static void *
59684 thread_func (void *arg)
59686 a_in_other_thread = &a;
59687 return (void *)0;
59690 main ()
59692 pthread_t thread;
59693 void *thread_retval;
59694 int *volatile a_in_main_thread;
59695 a_in_main_thread = &a;
59696 if (pthread_create (&thread, (pthread_attr_t *)0,
59697 thread_func, (void *)0))
59698 return 0;
59699 if (pthread_join (thread, &thread_retval))
59700 return 0;
59701 return (a_in_other_thread == a_in_main_thread);
59703 return 0;
59705 _ACEOF
59706 if ac_fn_c_try_run "$LINENO"; then :
59707 gcc_cv_have_tls=yes
59708 else
59709 gcc_cv_have_tls=no
59711 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
59712 conftest.$ac_objext conftest.beam conftest.$ac_ext
59715 CFLAGS="$chktls_save_CFLAGS"
59718 else
59719 gcc_cv_have_tls=no
59721 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
59722 conftest.$ac_objext conftest.beam conftest.$ac_ext
59726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
59727 $as_echo "$gcc_cv_have_tls" >&6; }
59728 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
59730 $as_echo "#define HAVE_TLS 1" >>confdefs.h
59733 for ac_func in __cxa_thread_atexit_impl
59734 do :
59735 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit_impl" "ac_cv_func___cxa_thread_atexit_impl"
59736 if test "x$ac_cv_func___cxa_thread_atexit_impl" = x""yes; then :
59737 cat >>confdefs.h <<_ACEOF
59738 #define HAVE___CXA_THREAD_ATEXIT_IMPL 1
59739 _ACEOF
59742 done
59749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
59750 $as_echo_n "checking for iconv... " >&6; }
59751 if test "${am_cv_func_iconv+set}" = set; then :
59752 $as_echo_n "(cached) " >&6
59753 else
59755 am_cv_func_iconv="no, consider installing GNU libiconv"
59756 am_cv_lib_iconv=no
59757 am_save_CPPFLAGS="$CPPFLAGS"
59758 CPPFLAGS="$CPPFLAGS $INCICONV"
59759 if test x$gcc_no_link = xyes; then
59760 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59763 /* end confdefs.h. */
59764 #include <stdlib.h>
59765 #include <iconv.h>
59767 main ()
59769 iconv_t cd = iconv_open("","");
59770 iconv(cd,NULL,NULL,NULL,NULL);
59771 iconv_close(cd);
59773 return 0;
59775 _ACEOF
59776 if ac_fn_c_try_link "$LINENO"; then :
59777 am_cv_func_iconv=yes
59779 rm -f core conftest.err conftest.$ac_objext \
59780 conftest$ac_exeext conftest.$ac_ext
59781 CPPFLAGS="$am_save_CPPFLAGS"
59783 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
59784 for _libs in .libs _libs; do
59785 am_save_CPPFLAGS="$CPPFLAGS"
59786 am_save_LIBS="$LIBS"
59787 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
59788 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
59789 if test x$gcc_no_link = xyes; then
59790 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59793 /* end confdefs.h. */
59794 #include <stdlib.h>
59795 #include <iconv.h>
59797 main ()
59799 iconv_t cd = iconv_open("","");
59800 iconv(cd,NULL,NULL,NULL,NULL);
59801 iconv_close(cd);
59803 return 0;
59805 _ACEOF
59806 if ac_fn_c_try_link "$LINENO"; then :
59807 INCICONV="-I../libiconv/include"
59808 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
59809 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
59810 am_cv_lib_iconv=yes
59811 am_cv_func_iconv=yes
59813 rm -f core conftest.err conftest.$ac_objext \
59814 conftest$ac_exeext conftest.$ac_ext
59815 CPPFLAGS="$am_save_CPPFLAGS"
59816 LIBS="$am_save_LIBS"
59817 if test "$am_cv_func_iconv" = "yes"; then
59818 break
59820 done
59823 if test "$am_cv_func_iconv" != yes; then
59824 am_save_CPPFLAGS="$CPPFLAGS"
59825 am_save_LIBS="$LIBS"
59826 CPPFLAGS="$LIBS $INCICONV"
59827 LIBS="$LIBS $LIBICONV"
59828 if test x$gcc_no_link = xyes; then
59829 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59832 /* end confdefs.h. */
59833 #include <stdlib.h>
59834 #include <iconv.h>
59836 main ()
59838 iconv_t cd = iconv_open("","");
59839 iconv(cd,NULL,NULL,NULL,NULL);
59840 iconv_close(cd);
59842 return 0;
59844 _ACEOF
59845 if ac_fn_c_try_link "$LINENO"; then :
59846 am_cv_lib_iconv=yes
59847 am_cv_func_iconv=yes
59849 rm -f core conftest.err conftest.$ac_objext \
59850 conftest$ac_exeext conftest.$ac_ext
59851 CPPFLAGS="$am_save_CPPFLAGS"
59852 LIBS="$am_save_LIBS"
59856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
59857 $as_echo "$am_cv_func_iconv" >&6; }
59858 if test "$am_cv_func_iconv" = yes; then
59860 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
59863 if test "$am_cv_lib_iconv" = yes; then
59865 for element in $INCICONV; do
59866 haveit=
59867 for x in $CPPFLAGS; do
59869 acl_save_prefix="$prefix"
59870 prefix="$acl_final_prefix"
59871 acl_save_exec_prefix="$exec_prefix"
59872 exec_prefix="$acl_final_exec_prefix"
59873 eval x=\"$x\"
59874 exec_prefix="$acl_save_exec_prefix"
59875 prefix="$acl_save_prefix"
59877 if test "X$x" = "X$element"; then
59878 haveit=yes
59879 break
59881 done
59882 if test -z "$haveit"; then
59883 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
59885 done
59887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
59888 $as_echo_n "checking how to link with libiconv... " >&6; }
59889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
59890 $as_echo "$LIBICONV" >&6; }
59891 else
59892 LIBICONV=
59893 LTLIBICONV=
59898 if test "$am_cv_func_iconv" = yes; then
59899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
59900 $as_echo_n "checking for iconv declaration... " >&6; }
59901 if test "${am_cv_proto_iconv+set}" = set; then :
59902 $as_echo_n "(cached) " >&6
59903 else
59905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59906 /* end confdefs.h. */
59908 #include <stdlib.h>
59909 #include <iconv.h>
59910 extern
59911 #ifdef __cplusplus
59913 #endif
59914 #if defined(__STDC__) || defined(__cplusplus)
59915 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
59916 #else
59917 size_t iconv();
59918 #endif
59921 main ()
59925 return 0;
59927 _ACEOF
59928 if ac_fn_c_try_compile "$LINENO"; then :
59929 am_cv_proto_iconv_arg1=""
59930 else
59931 am_cv_proto_iconv_arg1="const"
59933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59934 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);"
59937 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
59938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
59939 }$am_cv_proto_iconv" >&5
59940 $as_echo "${ac_t:-
59941 }$am_cv_proto_iconv" >&6; }
59943 cat >>confdefs.h <<_ACEOF
59944 #define ICONV_CONST $am_cv_proto_iconv_arg1
59945 _ACEOF
59950 *-mingw32*)
59952 # If we're not using GNU ld, then there's no point in even trying these
59953 # tests. Check for that first. We should have already tested for gld
59954 # by now (in libtool), but require it now just to be safe...
59955 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
59956 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
59960 # The name set by libtool depends on the version of libtool. Shame on us
59961 # for depending on an impl detail, but c'est la vie. Older versions used
59962 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
59963 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
59964 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
59965 # set (hence we're using an older libtool), then set it.
59966 if test x${with_gnu_ld+set} != xset; then
59967 if test x${ac_cv_prog_gnu_ld+set} != xset; then
59968 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
59969 with_gnu_ld=no
59970 else
59971 with_gnu_ld=$ac_cv_prog_gnu_ld
59975 # Start by getting the version number. I think the libtool test already
59976 # does some of this, but throws away the result.
59977 glibcxx_ld_is_gold=no
59978 if test x"$with_gnu_ld" = x"yes"; then
59979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
59980 $as_echo_n "checking for ld version... " >&6; }
59982 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
59983 glibcxx_ld_is_gold=yes
59985 ldver=`$LD --version 2>/dev/null |
59986 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'`
59988 glibcxx_gnu_ld_version=`echo $ldver | \
59989 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
59990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
59991 $as_echo "$glibcxx_gnu_ld_version" >&6; }
59994 # Set --gc-sections.
59995 glibcxx_have_gc_sections=no
59996 if test "$glibcxx_ld_is_gold" = "yes"; then
59997 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
59998 glibcxx_have_gc_sections=yes
60000 else
60001 glibcxx_gcsections_min_ld=21602
60002 if test x"$with_gnu_ld" = x"yes" &&
60003 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
60004 glibcxx_have_gc_sections=yes
60007 if test "$glibcxx_have_gc_sections" = "yes"; then
60008 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
60009 # NB: This flag only works reliably after 2.16.1. Configure tests
60010 # for this are difficult, so hard wire a value that should work.
60012 ac_test_CFLAGS="${CFLAGS+set}"
60013 ac_save_CFLAGS="$CFLAGS"
60014 CFLAGS='-Wl,--gc-sections'
60016 # Check for -Wl,--gc-sections
60017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
60018 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
60019 if test x$gcc_no_link = xyes; then
60020 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60023 /* end confdefs.h. */
60024 int one(void) { return 1; }
60025 int two(void) { return 2; }
60028 main ()
60030 two();
60032 return 0;
60034 _ACEOF
60035 if ac_fn_c_try_link "$LINENO"; then :
60036 ac_gcsections=yes
60037 else
60038 ac_gcsections=no
60040 rm -f core conftest.err conftest.$ac_objext \
60041 conftest$ac_exeext conftest.$ac_ext
60042 if test "$ac_gcsections" = "yes"; then
60043 rm -f conftest.c
60044 touch conftest.c
60045 if $CC -c conftest.c; then
60046 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
60047 grep "Warning: gc-sections option ignored" > /dev/null; then
60048 ac_gcsections=no
60051 rm -f conftest.c conftest.o conftest
60053 if test "$ac_gcsections" = "yes"; then
60054 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
60056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
60057 $as_echo "$ac_gcsections" >&6; }
60059 if test "$ac_test_CFLAGS" = set; then
60060 CFLAGS="$ac_save_CFLAGS"
60061 else
60062 # this is the suspicious part
60063 CFLAGS=''
60067 # Set -z,relro.
60068 # Note this is only for shared objects.
60069 ac_ld_relro=no
60070 if test x"$with_gnu_ld" = x"yes"; then
60071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
60072 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
60073 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
60074 if test -n "$cxx_z_relo"; then
60075 OPT_LDFLAGS="-Wl,-z,relro"
60076 ac_ld_relro=yes
60078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
60079 $as_echo "$ac_ld_relro" >&6; }
60082 # Set linker optimization flags.
60083 if test x"$with_gnu_ld" = x"yes"; then
60084 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
60091 ac_test_CXXFLAGS="${CXXFLAGS+set}"
60092 ac_save_CXXFLAGS="$CXXFLAGS"
60093 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
60095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
60096 $as_echo_n "checking for sin in -lm... " >&6; }
60097 if test "${ac_cv_lib_m_sin+set}" = set; then :
60098 $as_echo_n "(cached) " >&6
60099 else
60100 ac_check_lib_save_LIBS=$LIBS
60101 LIBS="-lm $LIBS"
60102 if test x$gcc_no_link = xyes; then
60103 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60106 /* end confdefs.h. */
60108 /* Override any GCC internal prototype to avoid an error.
60109 Use char because int might match the return type of a GCC
60110 builtin and then its argument prototype would still apply. */
60111 #ifdef __cplusplus
60112 extern "C"
60113 #endif
60114 char sin ();
60116 main ()
60118 return sin ();
60120 return 0;
60122 _ACEOF
60123 if ac_fn_c_try_link "$LINENO"; then :
60124 ac_cv_lib_m_sin=yes
60125 else
60126 ac_cv_lib_m_sin=no
60128 rm -f core conftest.err conftest.$ac_objext \
60129 conftest$ac_exeext conftest.$ac_ext
60130 LIBS=$ac_check_lib_save_LIBS
60132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
60133 $as_echo "$ac_cv_lib_m_sin" >&6; }
60134 if test "x$ac_cv_lib_m_sin" = x""yes; then :
60135 libm="-lm"
60138 ac_save_LIBS="$LIBS"
60139 LIBS="$LIBS $libm"
60143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
60144 $as_echo_n "checking for isinf declaration... " >&6; }
60145 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
60146 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
60147 $as_echo_n "(cached) " >&6
60148 else
60151 ac_ext=cpp
60152 ac_cpp='$CXXCPP $CPPFLAGS'
60153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60158 /* end confdefs.h. */
60159 #include <math.h>
60160 #ifdef HAVE_IEEEFP_H
60161 #include <ieeefp.h>
60162 #endif
60165 main ()
60167 isinf(0);
60169 return 0;
60171 _ACEOF
60172 if ac_fn_cxx_try_compile "$LINENO"; then :
60173 glibcxx_cv_func_isinf_use=yes
60174 else
60175 glibcxx_cv_func_isinf_use=no
60177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60178 ac_ext=c
60179 ac_cpp='$CPP $CPPFLAGS'
60180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
60189 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
60191 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
60192 for ac_func in isinf
60193 do :
60194 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
60195 if test "x$ac_cv_func_isinf" = x""yes; then :
60196 cat >>confdefs.h <<_ACEOF
60197 #define HAVE_ISINF 1
60198 _ACEOF
60201 done
60203 else
60205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
60206 $as_echo_n "checking for _isinf declaration... " >&6; }
60207 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
60208 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
60209 $as_echo_n "(cached) " >&6
60210 else
60213 ac_ext=cpp
60214 ac_cpp='$CXXCPP $CPPFLAGS'
60215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60220 /* end confdefs.h. */
60221 #include <math.h>
60222 #ifdef HAVE_IEEEFP_H
60223 #include <ieeefp.h>
60224 #endif
60227 main ()
60229 _isinf(0);
60231 return 0;
60233 _ACEOF
60234 if ac_fn_cxx_try_compile "$LINENO"; then :
60235 glibcxx_cv_func__isinf_use=yes
60236 else
60237 glibcxx_cv_func__isinf_use=no
60239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60240 ac_ext=c
60241 ac_cpp='$CPP $CPPFLAGS'
60242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
60251 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
60253 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
60254 for ac_func in _isinf
60255 do :
60256 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
60257 if test "x$ac_cv_func__isinf" = x""yes; then :
60258 cat >>confdefs.h <<_ACEOF
60259 #define HAVE__ISINF 1
60260 _ACEOF
60263 done
60272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
60273 $as_echo_n "checking for isnan declaration... " >&6; }
60274 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
60275 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
60276 $as_echo_n "(cached) " >&6
60277 else
60280 ac_ext=cpp
60281 ac_cpp='$CXXCPP $CPPFLAGS'
60282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60287 /* end confdefs.h. */
60288 #include <math.h>
60289 #ifdef HAVE_IEEEFP_H
60290 #include <ieeefp.h>
60291 #endif
60294 main ()
60296 isnan(0);
60298 return 0;
60300 _ACEOF
60301 if ac_fn_cxx_try_compile "$LINENO"; then :
60302 glibcxx_cv_func_isnan_use=yes
60303 else
60304 glibcxx_cv_func_isnan_use=no
60306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60307 ac_ext=c
60308 ac_cpp='$CPP $CPPFLAGS'
60309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
60318 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
60320 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
60321 for ac_func in isnan
60322 do :
60323 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
60324 if test "x$ac_cv_func_isnan" = x""yes; then :
60325 cat >>confdefs.h <<_ACEOF
60326 #define HAVE_ISNAN 1
60327 _ACEOF
60330 done
60332 else
60334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
60335 $as_echo_n "checking for _isnan declaration... " >&6; }
60336 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
60337 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
60338 $as_echo_n "(cached) " >&6
60339 else
60342 ac_ext=cpp
60343 ac_cpp='$CXXCPP $CPPFLAGS'
60344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60349 /* end confdefs.h. */
60350 #include <math.h>
60351 #ifdef HAVE_IEEEFP_H
60352 #include <ieeefp.h>
60353 #endif
60356 main ()
60358 _isnan(0);
60360 return 0;
60362 _ACEOF
60363 if ac_fn_cxx_try_compile "$LINENO"; then :
60364 glibcxx_cv_func__isnan_use=yes
60365 else
60366 glibcxx_cv_func__isnan_use=no
60368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60369 ac_ext=c
60370 ac_cpp='$CPP $CPPFLAGS'
60371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
60380 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
60382 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
60383 for ac_func in _isnan
60384 do :
60385 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
60386 if test "x$ac_cv_func__isnan" = x""yes; then :
60387 cat >>confdefs.h <<_ACEOF
60388 #define HAVE__ISNAN 1
60389 _ACEOF
60392 done
60401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
60402 $as_echo_n "checking for finite declaration... " >&6; }
60403 if test x${glibcxx_cv_func_finite_use+set} != xset; then
60404 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
60405 $as_echo_n "(cached) " >&6
60406 else
60409 ac_ext=cpp
60410 ac_cpp='$CXXCPP $CPPFLAGS'
60411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60416 /* end confdefs.h. */
60417 #include <math.h>
60418 #ifdef HAVE_IEEEFP_H
60419 #include <ieeefp.h>
60420 #endif
60423 main ()
60425 finite(0);
60427 return 0;
60429 _ACEOF
60430 if ac_fn_cxx_try_compile "$LINENO"; then :
60431 glibcxx_cv_func_finite_use=yes
60432 else
60433 glibcxx_cv_func_finite_use=no
60435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60436 ac_ext=c
60437 ac_cpp='$CPP $CPPFLAGS'
60438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
60447 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
60449 if test x$glibcxx_cv_func_finite_use = x"yes"; then
60450 for ac_func in finite
60451 do :
60452 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
60453 if test "x$ac_cv_func_finite" = x""yes; then :
60454 cat >>confdefs.h <<_ACEOF
60455 #define HAVE_FINITE 1
60456 _ACEOF
60459 done
60461 else
60463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
60464 $as_echo_n "checking for _finite declaration... " >&6; }
60465 if test x${glibcxx_cv_func__finite_use+set} != xset; then
60466 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
60467 $as_echo_n "(cached) " >&6
60468 else
60471 ac_ext=cpp
60472 ac_cpp='$CXXCPP $CPPFLAGS'
60473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60478 /* end confdefs.h. */
60479 #include <math.h>
60480 #ifdef HAVE_IEEEFP_H
60481 #include <ieeefp.h>
60482 #endif
60485 main ()
60487 _finite(0);
60489 return 0;
60491 _ACEOF
60492 if ac_fn_cxx_try_compile "$LINENO"; then :
60493 glibcxx_cv_func__finite_use=yes
60494 else
60495 glibcxx_cv_func__finite_use=no
60497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60498 ac_ext=c
60499 ac_cpp='$CPP $CPPFLAGS'
60500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
60509 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
60511 if test x$glibcxx_cv_func__finite_use = x"yes"; then
60512 for ac_func in _finite
60513 do :
60514 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
60515 if test "x$ac_cv_func__finite" = x""yes; then :
60516 cat >>confdefs.h <<_ACEOF
60517 #define HAVE__FINITE 1
60518 _ACEOF
60521 done
60530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
60531 $as_echo_n "checking for sincos declaration... " >&6; }
60532 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
60533 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
60534 $as_echo_n "(cached) " >&6
60535 else
60538 ac_ext=cpp
60539 ac_cpp='$CXXCPP $CPPFLAGS'
60540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60545 /* end confdefs.h. */
60546 #include <math.h>
60548 main ()
60550 sincos(0, 0, 0);
60552 return 0;
60554 _ACEOF
60555 if ac_fn_cxx_try_compile "$LINENO"; then :
60556 glibcxx_cv_func_sincos_use=yes
60557 else
60558 glibcxx_cv_func_sincos_use=no
60560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60561 ac_ext=c
60562 ac_cpp='$CPP $CPPFLAGS'
60563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
60572 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
60574 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
60575 for ac_func in sincos
60576 do :
60577 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
60578 if test "x$ac_cv_func_sincos" = x""yes; then :
60579 cat >>confdefs.h <<_ACEOF
60580 #define HAVE_SINCOS 1
60581 _ACEOF
60584 done
60586 else
60588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
60589 $as_echo_n "checking for _sincos declaration... " >&6; }
60590 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
60591 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
60592 $as_echo_n "(cached) " >&6
60593 else
60596 ac_ext=cpp
60597 ac_cpp='$CXXCPP $CPPFLAGS'
60598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60603 /* end confdefs.h. */
60604 #include <math.h>
60606 main ()
60608 _sincos(0, 0, 0);
60610 return 0;
60612 _ACEOF
60613 if ac_fn_cxx_try_compile "$LINENO"; then :
60614 glibcxx_cv_func__sincos_use=yes
60615 else
60616 glibcxx_cv_func__sincos_use=no
60618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60619 ac_ext=c
60620 ac_cpp='$CPP $CPPFLAGS'
60621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
60630 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
60632 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
60633 for ac_func in _sincos
60634 do :
60635 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
60636 if test "x$ac_cv_func__sincos" = x""yes; then :
60637 cat >>confdefs.h <<_ACEOF
60638 #define HAVE__SINCOS 1
60639 _ACEOF
60642 done
60651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
60652 $as_echo_n "checking for fpclass declaration... " >&6; }
60653 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
60654 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
60655 $as_echo_n "(cached) " >&6
60656 else
60659 ac_ext=cpp
60660 ac_cpp='$CXXCPP $CPPFLAGS'
60661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60666 /* end confdefs.h. */
60667 #include <math.h>
60668 #ifdef HAVE_IEEEFP_H
60669 #include <ieeefp.h>
60670 #endif
60673 main ()
60675 fpclass(0);
60677 return 0;
60679 _ACEOF
60680 if ac_fn_cxx_try_compile "$LINENO"; then :
60681 glibcxx_cv_func_fpclass_use=yes
60682 else
60683 glibcxx_cv_func_fpclass_use=no
60685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60686 ac_ext=c
60687 ac_cpp='$CPP $CPPFLAGS'
60688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
60697 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
60699 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
60700 for ac_func in fpclass
60701 do :
60702 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
60703 if test "x$ac_cv_func_fpclass" = x""yes; then :
60704 cat >>confdefs.h <<_ACEOF
60705 #define HAVE_FPCLASS 1
60706 _ACEOF
60709 done
60711 else
60713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
60714 $as_echo_n "checking for _fpclass declaration... " >&6; }
60715 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
60716 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
60717 $as_echo_n "(cached) " >&6
60718 else
60721 ac_ext=cpp
60722 ac_cpp='$CXXCPP $CPPFLAGS'
60723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60728 /* end confdefs.h. */
60729 #include <math.h>
60730 #ifdef HAVE_IEEEFP_H
60731 #include <ieeefp.h>
60732 #endif
60735 main ()
60737 _fpclass(0);
60739 return 0;
60741 _ACEOF
60742 if ac_fn_cxx_try_compile "$LINENO"; then :
60743 glibcxx_cv_func__fpclass_use=yes
60744 else
60745 glibcxx_cv_func__fpclass_use=no
60747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60748 ac_ext=c
60749 ac_cpp='$CPP $CPPFLAGS'
60750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
60759 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
60761 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
60762 for ac_func in _fpclass
60763 do :
60764 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
60765 if test "x$ac_cv_func__fpclass" = x""yes; then :
60766 cat >>confdefs.h <<_ACEOF
60767 #define HAVE__FPCLASS 1
60768 _ACEOF
60771 done
60780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
60781 $as_echo_n "checking for qfpclass declaration... " >&6; }
60782 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
60783 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
60784 $as_echo_n "(cached) " >&6
60785 else
60788 ac_ext=cpp
60789 ac_cpp='$CXXCPP $CPPFLAGS'
60790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60795 /* end confdefs.h. */
60796 #include <math.h>
60797 #ifdef HAVE_IEEEFP_H
60798 #include <ieeefp.h>
60799 #endif
60802 main ()
60804 qfpclass(0);
60806 return 0;
60808 _ACEOF
60809 if ac_fn_cxx_try_compile "$LINENO"; then :
60810 glibcxx_cv_func_qfpclass_use=yes
60811 else
60812 glibcxx_cv_func_qfpclass_use=no
60814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60815 ac_ext=c
60816 ac_cpp='$CPP $CPPFLAGS'
60817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
60826 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
60828 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
60829 for ac_func in qfpclass
60830 do :
60831 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
60832 if test "x$ac_cv_func_qfpclass" = x""yes; then :
60833 cat >>confdefs.h <<_ACEOF
60834 #define HAVE_QFPCLASS 1
60835 _ACEOF
60838 done
60840 else
60842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
60843 $as_echo_n "checking for _qfpclass declaration... " >&6; }
60844 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
60845 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
60846 $as_echo_n "(cached) " >&6
60847 else
60850 ac_ext=cpp
60851 ac_cpp='$CXXCPP $CPPFLAGS'
60852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60857 /* end confdefs.h. */
60858 #include <math.h>
60859 #ifdef HAVE_IEEEFP_H
60860 #include <ieeefp.h>
60861 #endif
60864 main ()
60866 _qfpclass(0);
60868 return 0;
60870 _ACEOF
60871 if ac_fn_cxx_try_compile "$LINENO"; then :
60872 glibcxx_cv_func__qfpclass_use=yes
60873 else
60874 glibcxx_cv_func__qfpclass_use=no
60876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60877 ac_ext=c
60878 ac_cpp='$CPP $CPPFLAGS'
60879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
60888 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
60890 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
60891 for ac_func in _qfpclass
60892 do :
60893 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
60894 if test "x$ac_cv_func__qfpclass" = x""yes; then :
60895 cat >>confdefs.h <<_ACEOF
60896 #define HAVE__QFPCLASS 1
60897 _ACEOF
60900 done
60909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
60910 $as_echo_n "checking for hypot declaration... " >&6; }
60911 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
60912 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
60913 $as_echo_n "(cached) " >&6
60914 else
60917 ac_ext=cpp
60918 ac_cpp='$CXXCPP $CPPFLAGS'
60919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60924 /* end confdefs.h. */
60925 #include <math.h>
60927 main ()
60929 hypot(0, 0);
60931 return 0;
60933 _ACEOF
60934 if ac_fn_cxx_try_compile "$LINENO"; then :
60935 glibcxx_cv_func_hypot_use=yes
60936 else
60937 glibcxx_cv_func_hypot_use=no
60939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60940 ac_ext=c
60941 ac_cpp='$CPP $CPPFLAGS'
60942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
60951 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
60953 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
60954 for ac_func in hypot
60955 do :
60956 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
60957 if test "x$ac_cv_func_hypot" = x""yes; then :
60958 cat >>confdefs.h <<_ACEOF
60959 #define HAVE_HYPOT 1
60960 _ACEOF
60963 done
60965 else
60967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
60968 $as_echo_n "checking for _hypot declaration... " >&6; }
60969 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
60970 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
60971 $as_echo_n "(cached) " >&6
60972 else
60975 ac_ext=cpp
60976 ac_cpp='$CXXCPP $CPPFLAGS'
60977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60982 /* end confdefs.h. */
60983 #include <math.h>
60985 main ()
60987 _hypot(0, 0);
60989 return 0;
60991 _ACEOF
60992 if ac_fn_cxx_try_compile "$LINENO"; then :
60993 glibcxx_cv_func__hypot_use=yes
60994 else
60995 glibcxx_cv_func__hypot_use=no
60997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60998 ac_ext=c
60999 ac_cpp='$CPP $CPPFLAGS'
61000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
61009 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
61011 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
61012 for ac_func in _hypot
61013 do :
61014 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
61015 if test "x$ac_cv_func__hypot" = x""yes; then :
61016 cat >>confdefs.h <<_ACEOF
61017 #define HAVE__HYPOT 1
61018 _ACEOF
61021 done
61030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
61031 $as_echo_n "checking for float trig functions... " >&6; }
61032 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
61033 $as_echo_n "(cached) " >&6
61034 else
61037 ac_ext=cpp
61038 ac_cpp='$CXXCPP $CPPFLAGS'
61039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61044 /* end confdefs.h. */
61045 #include <math.h>
61047 main ()
61049 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
61051 return 0;
61053 _ACEOF
61054 if ac_fn_cxx_try_compile "$LINENO"; then :
61055 glibcxx_cv_func_float_trig_use=yes
61056 else
61057 glibcxx_cv_func_float_trig_use=no
61059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61060 ac_ext=c
61061 ac_cpp='$CPP $CPPFLAGS'
61062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
61069 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
61070 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
61071 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
61072 do :
61073 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61074 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61075 eval as_val=\$$as_ac_var
61076 if test "x$as_val" = x""yes; then :
61077 cat >>confdefs.h <<_ACEOF
61078 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61079 _ACEOF
61082 done
61084 else
61085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
61086 $as_echo_n "checking for _float trig functions... " >&6; }
61087 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
61088 $as_echo_n "(cached) " >&6
61089 else
61092 ac_ext=cpp
61093 ac_cpp='$CXXCPP $CPPFLAGS'
61094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61099 /* end confdefs.h. */
61100 #include <math.h>
61102 main ()
61104 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
61106 return 0;
61108 _ACEOF
61109 if ac_fn_cxx_try_compile "$LINENO"; then :
61110 glibcxx_cv_func__float_trig_use=yes
61111 else
61112 glibcxx_cv_func__float_trig_use=no
61114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61115 ac_ext=c
61116 ac_cpp='$CPP $CPPFLAGS'
61117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
61124 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
61125 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
61126 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
61127 do :
61128 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61129 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61130 eval as_val=\$$as_ac_var
61131 if test "x$as_val" = x""yes; then :
61132 cat >>confdefs.h <<_ACEOF
61133 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61134 _ACEOF
61137 done
61146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
61147 $as_echo_n "checking for float round functions... " >&6; }
61148 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
61149 $as_echo_n "(cached) " >&6
61150 else
61153 ac_ext=cpp
61154 ac_cpp='$CXXCPP $CPPFLAGS'
61155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61160 /* end confdefs.h. */
61161 #include <math.h>
61163 main ()
61165 ceilf (0); floorf (0);
61167 return 0;
61169 _ACEOF
61170 if ac_fn_cxx_try_compile "$LINENO"; then :
61171 glibcxx_cv_func_float_round_use=yes
61172 else
61173 glibcxx_cv_func_float_round_use=no
61175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61176 ac_ext=c
61177 ac_cpp='$CPP $CPPFLAGS'
61178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
61185 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
61186 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
61187 for ac_func in ceilf floorf
61188 do :
61189 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61190 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61191 eval as_val=\$$as_ac_var
61192 if test "x$as_val" = x""yes; then :
61193 cat >>confdefs.h <<_ACEOF
61194 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61195 _ACEOF
61198 done
61200 else
61201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
61202 $as_echo_n "checking for _float round functions... " >&6; }
61203 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
61204 $as_echo_n "(cached) " >&6
61205 else
61208 ac_ext=cpp
61209 ac_cpp='$CXXCPP $CPPFLAGS'
61210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61215 /* end confdefs.h. */
61216 #include <math.h>
61218 main ()
61220 _ceilf (0); _floorf (0);
61222 return 0;
61224 _ACEOF
61225 if ac_fn_cxx_try_compile "$LINENO"; then :
61226 glibcxx_cv_func__float_round_use=yes
61227 else
61228 glibcxx_cv_func__float_round_use=no
61230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61231 ac_ext=c
61232 ac_cpp='$CPP $CPPFLAGS'
61233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
61240 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
61241 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
61242 for ac_func in _ceilf _floorf
61243 do :
61244 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61245 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61246 eval as_val=\$$as_ac_var
61247 if test "x$as_val" = x""yes; then :
61248 cat >>confdefs.h <<_ACEOF
61249 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61250 _ACEOF
61253 done
61263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
61264 $as_echo_n "checking for expf declaration... " >&6; }
61265 if test x${glibcxx_cv_func_expf_use+set} != xset; then
61266 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
61267 $as_echo_n "(cached) " >&6
61268 else
61271 ac_ext=cpp
61272 ac_cpp='$CXXCPP $CPPFLAGS'
61273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61278 /* end confdefs.h. */
61279 #include <math.h>
61280 #ifdef HAVE_IEEEFP_H
61281 #include <ieeefp.h>
61282 #endif
61285 main ()
61287 expf(0);
61289 return 0;
61291 _ACEOF
61292 if ac_fn_cxx_try_compile "$LINENO"; then :
61293 glibcxx_cv_func_expf_use=yes
61294 else
61295 glibcxx_cv_func_expf_use=no
61297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61298 ac_ext=c
61299 ac_cpp='$CPP $CPPFLAGS'
61300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
61309 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
61311 if test x$glibcxx_cv_func_expf_use = x"yes"; then
61312 for ac_func in expf
61313 do :
61314 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
61315 if test "x$ac_cv_func_expf" = x""yes; then :
61316 cat >>confdefs.h <<_ACEOF
61317 #define HAVE_EXPF 1
61318 _ACEOF
61321 done
61323 else
61325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
61326 $as_echo_n "checking for _expf declaration... " >&6; }
61327 if test x${glibcxx_cv_func__expf_use+set} != xset; then
61328 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
61329 $as_echo_n "(cached) " >&6
61330 else
61333 ac_ext=cpp
61334 ac_cpp='$CXXCPP $CPPFLAGS'
61335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61340 /* end confdefs.h. */
61341 #include <math.h>
61342 #ifdef HAVE_IEEEFP_H
61343 #include <ieeefp.h>
61344 #endif
61347 main ()
61349 _expf(0);
61351 return 0;
61353 _ACEOF
61354 if ac_fn_cxx_try_compile "$LINENO"; then :
61355 glibcxx_cv_func__expf_use=yes
61356 else
61357 glibcxx_cv_func__expf_use=no
61359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61360 ac_ext=c
61361 ac_cpp='$CPP $CPPFLAGS'
61362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
61371 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
61373 if test x$glibcxx_cv_func__expf_use = x"yes"; then
61374 for ac_func in _expf
61375 do :
61376 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
61377 if test "x$ac_cv_func__expf" = x""yes; then :
61378 cat >>confdefs.h <<_ACEOF
61379 #define HAVE__EXPF 1
61380 _ACEOF
61383 done
61392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
61393 $as_echo_n "checking for isnanf declaration... " >&6; }
61394 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
61395 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
61396 $as_echo_n "(cached) " >&6
61397 else
61400 ac_ext=cpp
61401 ac_cpp='$CXXCPP $CPPFLAGS'
61402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61407 /* end confdefs.h. */
61408 #include <math.h>
61409 #ifdef HAVE_IEEEFP_H
61410 #include <ieeefp.h>
61411 #endif
61414 main ()
61416 isnanf(0);
61418 return 0;
61420 _ACEOF
61421 if ac_fn_cxx_try_compile "$LINENO"; then :
61422 glibcxx_cv_func_isnanf_use=yes
61423 else
61424 glibcxx_cv_func_isnanf_use=no
61426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61427 ac_ext=c
61428 ac_cpp='$CPP $CPPFLAGS'
61429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
61438 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
61440 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
61441 for ac_func in isnanf
61442 do :
61443 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
61444 if test "x$ac_cv_func_isnanf" = x""yes; then :
61445 cat >>confdefs.h <<_ACEOF
61446 #define HAVE_ISNANF 1
61447 _ACEOF
61450 done
61452 else
61454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
61455 $as_echo_n "checking for _isnanf declaration... " >&6; }
61456 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
61457 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
61458 $as_echo_n "(cached) " >&6
61459 else
61462 ac_ext=cpp
61463 ac_cpp='$CXXCPP $CPPFLAGS'
61464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61469 /* end confdefs.h. */
61470 #include <math.h>
61471 #ifdef HAVE_IEEEFP_H
61472 #include <ieeefp.h>
61473 #endif
61476 main ()
61478 _isnanf(0);
61480 return 0;
61482 _ACEOF
61483 if ac_fn_cxx_try_compile "$LINENO"; then :
61484 glibcxx_cv_func__isnanf_use=yes
61485 else
61486 glibcxx_cv_func__isnanf_use=no
61488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61489 ac_ext=c
61490 ac_cpp='$CPP $CPPFLAGS'
61491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
61500 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
61502 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
61503 for ac_func in _isnanf
61504 do :
61505 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
61506 if test "x$ac_cv_func__isnanf" = x""yes; then :
61507 cat >>confdefs.h <<_ACEOF
61508 #define HAVE__ISNANF 1
61509 _ACEOF
61512 done
61521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
61522 $as_echo_n "checking for isinff declaration... " >&6; }
61523 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
61524 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
61525 $as_echo_n "(cached) " >&6
61526 else
61529 ac_ext=cpp
61530 ac_cpp='$CXXCPP $CPPFLAGS'
61531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61536 /* end confdefs.h. */
61537 #include <math.h>
61538 #ifdef HAVE_IEEEFP_H
61539 #include <ieeefp.h>
61540 #endif
61543 main ()
61545 isinff(0);
61547 return 0;
61549 _ACEOF
61550 if ac_fn_cxx_try_compile "$LINENO"; then :
61551 glibcxx_cv_func_isinff_use=yes
61552 else
61553 glibcxx_cv_func_isinff_use=no
61555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61556 ac_ext=c
61557 ac_cpp='$CPP $CPPFLAGS'
61558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
61567 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
61569 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
61570 for ac_func in isinff
61571 do :
61572 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
61573 if test "x$ac_cv_func_isinff" = x""yes; then :
61574 cat >>confdefs.h <<_ACEOF
61575 #define HAVE_ISINFF 1
61576 _ACEOF
61579 done
61581 else
61583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
61584 $as_echo_n "checking for _isinff declaration... " >&6; }
61585 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
61586 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
61587 $as_echo_n "(cached) " >&6
61588 else
61591 ac_ext=cpp
61592 ac_cpp='$CXXCPP $CPPFLAGS'
61593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61598 /* end confdefs.h. */
61599 #include <math.h>
61600 #ifdef HAVE_IEEEFP_H
61601 #include <ieeefp.h>
61602 #endif
61605 main ()
61607 _isinff(0);
61609 return 0;
61611 _ACEOF
61612 if ac_fn_cxx_try_compile "$LINENO"; then :
61613 glibcxx_cv_func__isinff_use=yes
61614 else
61615 glibcxx_cv_func__isinff_use=no
61617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61618 ac_ext=c
61619 ac_cpp='$CPP $CPPFLAGS'
61620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
61629 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
61631 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
61632 for ac_func in _isinff
61633 do :
61634 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
61635 if test "x$ac_cv_func__isinff" = x""yes; then :
61636 cat >>confdefs.h <<_ACEOF
61637 #define HAVE__ISINFF 1
61638 _ACEOF
61641 done
61650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
61651 $as_echo_n "checking for atan2f declaration... " >&6; }
61652 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
61653 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
61654 $as_echo_n "(cached) " >&6
61655 else
61658 ac_ext=cpp
61659 ac_cpp='$CXXCPP $CPPFLAGS'
61660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61665 /* end confdefs.h. */
61666 #include <math.h>
61668 main ()
61670 atan2f(0, 0);
61672 return 0;
61674 _ACEOF
61675 if ac_fn_cxx_try_compile "$LINENO"; then :
61676 glibcxx_cv_func_atan2f_use=yes
61677 else
61678 glibcxx_cv_func_atan2f_use=no
61680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61681 ac_ext=c
61682 ac_cpp='$CPP $CPPFLAGS'
61683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
61692 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
61694 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
61695 for ac_func in atan2f
61696 do :
61697 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
61698 if test "x$ac_cv_func_atan2f" = x""yes; then :
61699 cat >>confdefs.h <<_ACEOF
61700 #define HAVE_ATAN2F 1
61701 _ACEOF
61704 done
61706 else
61708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
61709 $as_echo_n "checking for _atan2f declaration... " >&6; }
61710 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
61711 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
61712 $as_echo_n "(cached) " >&6
61713 else
61716 ac_ext=cpp
61717 ac_cpp='$CXXCPP $CPPFLAGS'
61718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61723 /* end confdefs.h. */
61724 #include <math.h>
61726 main ()
61728 _atan2f(0, 0);
61730 return 0;
61732 _ACEOF
61733 if ac_fn_cxx_try_compile "$LINENO"; then :
61734 glibcxx_cv_func__atan2f_use=yes
61735 else
61736 glibcxx_cv_func__atan2f_use=no
61738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61739 ac_ext=c
61740 ac_cpp='$CPP $CPPFLAGS'
61741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
61750 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
61752 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
61753 for ac_func in _atan2f
61754 do :
61755 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
61756 if test "x$ac_cv_func__atan2f" = x""yes; then :
61757 cat >>confdefs.h <<_ACEOF
61758 #define HAVE__ATAN2F 1
61759 _ACEOF
61762 done
61771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
61772 $as_echo_n "checking for fabsf declaration... " >&6; }
61773 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
61774 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
61775 $as_echo_n "(cached) " >&6
61776 else
61779 ac_ext=cpp
61780 ac_cpp='$CXXCPP $CPPFLAGS'
61781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61786 /* end confdefs.h. */
61787 #include <math.h>
61788 #ifdef HAVE_IEEEFP_H
61789 #include <ieeefp.h>
61790 #endif
61793 main ()
61795 fabsf(0);
61797 return 0;
61799 _ACEOF
61800 if ac_fn_cxx_try_compile "$LINENO"; then :
61801 glibcxx_cv_func_fabsf_use=yes
61802 else
61803 glibcxx_cv_func_fabsf_use=no
61805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61806 ac_ext=c
61807 ac_cpp='$CPP $CPPFLAGS'
61808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
61817 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
61819 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
61820 for ac_func in fabsf
61821 do :
61822 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
61823 if test "x$ac_cv_func_fabsf" = x""yes; then :
61824 cat >>confdefs.h <<_ACEOF
61825 #define HAVE_FABSF 1
61826 _ACEOF
61829 done
61831 else
61833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
61834 $as_echo_n "checking for _fabsf declaration... " >&6; }
61835 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
61836 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
61837 $as_echo_n "(cached) " >&6
61838 else
61841 ac_ext=cpp
61842 ac_cpp='$CXXCPP $CPPFLAGS'
61843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61848 /* end confdefs.h. */
61849 #include <math.h>
61850 #ifdef HAVE_IEEEFP_H
61851 #include <ieeefp.h>
61852 #endif
61855 main ()
61857 _fabsf(0);
61859 return 0;
61861 _ACEOF
61862 if ac_fn_cxx_try_compile "$LINENO"; then :
61863 glibcxx_cv_func__fabsf_use=yes
61864 else
61865 glibcxx_cv_func__fabsf_use=no
61867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61868 ac_ext=c
61869 ac_cpp='$CPP $CPPFLAGS'
61870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
61879 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
61881 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
61882 for ac_func in _fabsf
61883 do :
61884 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
61885 if test "x$ac_cv_func__fabsf" = x""yes; then :
61886 cat >>confdefs.h <<_ACEOF
61887 #define HAVE__FABSF 1
61888 _ACEOF
61891 done
61900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
61901 $as_echo_n "checking for fmodf declaration... " >&6; }
61902 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
61903 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
61904 $as_echo_n "(cached) " >&6
61905 else
61908 ac_ext=cpp
61909 ac_cpp='$CXXCPP $CPPFLAGS'
61910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61915 /* end confdefs.h. */
61916 #include <math.h>
61918 main ()
61920 fmodf(0, 0);
61922 return 0;
61924 _ACEOF
61925 if ac_fn_cxx_try_compile "$LINENO"; then :
61926 glibcxx_cv_func_fmodf_use=yes
61927 else
61928 glibcxx_cv_func_fmodf_use=no
61930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61931 ac_ext=c
61932 ac_cpp='$CPP $CPPFLAGS'
61933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
61942 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
61944 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
61945 for ac_func in fmodf
61946 do :
61947 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
61948 if test "x$ac_cv_func_fmodf" = x""yes; then :
61949 cat >>confdefs.h <<_ACEOF
61950 #define HAVE_FMODF 1
61951 _ACEOF
61954 done
61956 else
61958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
61959 $as_echo_n "checking for _fmodf declaration... " >&6; }
61960 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
61961 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
61962 $as_echo_n "(cached) " >&6
61963 else
61966 ac_ext=cpp
61967 ac_cpp='$CXXCPP $CPPFLAGS'
61968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61973 /* end confdefs.h. */
61974 #include <math.h>
61976 main ()
61978 _fmodf(0, 0);
61980 return 0;
61982 _ACEOF
61983 if ac_fn_cxx_try_compile "$LINENO"; then :
61984 glibcxx_cv_func__fmodf_use=yes
61985 else
61986 glibcxx_cv_func__fmodf_use=no
61988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61989 ac_ext=c
61990 ac_cpp='$CPP $CPPFLAGS'
61991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
62000 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
62002 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
62003 for ac_func in _fmodf
62004 do :
62005 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
62006 if test "x$ac_cv_func__fmodf" = x""yes; then :
62007 cat >>confdefs.h <<_ACEOF
62008 #define HAVE__FMODF 1
62009 _ACEOF
62012 done
62021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
62022 $as_echo_n "checking for frexpf declaration... " >&6; }
62023 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
62024 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
62025 $as_echo_n "(cached) " >&6
62026 else
62029 ac_ext=cpp
62030 ac_cpp='$CXXCPP $CPPFLAGS'
62031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62036 /* end confdefs.h. */
62037 #include <math.h>
62039 main ()
62041 frexpf(0, 0);
62043 return 0;
62045 _ACEOF
62046 if ac_fn_cxx_try_compile "$LINENO"; then :
62047 glibcxx_cv_func_frexpf_use=yes
62048 else
62049 glibcxx_cv_func_frexpf_use=no
62051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62052 ac_ext=c
62053 ac_cpp='$CPP $CPPFLAGS'
62054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
62063 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
62065 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
62066 for ac_func in frexpf
62067 do :
62068 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
62069 if test "x$ac_cv_func_frexpf" = x""yes; then :
62070 cat >>confdefs.h <<_ACEOF
62071 #define HAVE_FREXPF 1
62072 _ACEOF
62075 done
62077 else
62079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
62080 $as_echo_n "checking for _frexpf declaration... " >&6; }
62081 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
62082 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
62083 $as_echo_n "(cached) " >&6
62084 else
62087 ac_ext=cpp
62088 ac_cpp='$CXXCPP $CPPFLAGS'
62089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62094 /* end confdefs.h. */
62095 #include <math.h>
62097 main ()
62099 _frexpf(0, 0);
62101 return 0;
62103 _ACEOF
62104 if ac_fn_cxx_try_compile "$LINENO"; then :
62105 glibcxx_cv_func__frexpf_use=yes
62106 else
62107 glibcxx_cv_func__frexpf_use=no
62109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62110 ac_ext=c
62111 ac_cpp='$CPP $CPPFLAGS'
62112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
62121 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
62123 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
62124 for ac_func in _frexpf
62125 do :
62126 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
62127 if test "x$ac_cv_func__frexpf" = x""yes; then :
62128 cat >>confdefs.h <<_ACEOF
62129 #define HAVE__FREXPF 1
62130 _ACEOF
62133 done
62142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
62143 $as_echo_n "checking for hypotf declaration... " >&6; }
62144 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
62145 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
62146 $as_echo_n "(cached) " >&6
62147 else
62150 ac_ext=cpp
62151 ac_cpp='$CXXCPP $CPPFLAGS'
62152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62157 /* end confdefs.h. */
62158 #include <math.h>
62160 main ()
62162 hypotf(0, 0);
62164 return 0;
62166 _ACEOF
62167 if ac_fn_cxx_try_compile "$LINENO"; then :
62168 glibcxx_cv_func_hypotf_use=yes
62169 else
62170 glibcxx_cv_func_hypotf_use=no
62172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62173 ac_ext=c
62174 ac_cpp='$CPP $CPPFLAGS'
62175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
62184 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
62186 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
62187 for ac_func in hypotf
62188 do :
62189 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
62190 if test "x$ac_cv_func_hypotf" = x""yes; then :
62191 cat >>confdefs.h <<_ACEOF
62192 #define HAVE_HYPOTF 1
62193 _ACEOF
62196 done
62198 else
62200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
62201 $as_echo_n "checking for _hypotf declaration... " >&6; }
62202 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
62203 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
62204 $as_echo_n "(cached) " >&6
62205 else
62208 ac_ext=cpp
62209 ac_cpp='$CXXCPP $CPPFLAGS'
62210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62215 /* end confdefs.h. */
62216 #include <math.h>
62218 main ()
62220 _hypotf(0, 0);
62222 return 0;
62224 _ACEOF
62225 if ac_fn_cxx_try_compile "$LINENO"; then :
62226 glibcxx_cv_func__hypotf_use=yes
62227 else
62228 glibcxx_cv_func__hypotf_use=no
62230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62231 ac_ext=c
62232 ac_cpp='$CPP $CPPFLAGS'
62233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
62242 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
62244 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
62245 for ac_func in _hypotf
62246 do :
62247 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
62248 if test "x$ac_cv_func__hypotf" = x""yes; then :
62249 cat >>confdefs.h <<_ACEOF
62250 #define HAVE__HYPOTF 1
62251 _ACEOF
62254 done
62263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
62264 $as_echo_n "checking for ldexpf declaration... " >&6; }
62265 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
62266 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
62267 $as_echo_n "(cached) " >&6
62268 else
62271 ac_ext=cpp
62272 ac_cpp='$CXXCPP $CPPFLAGS'
62273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62278 /* end confdefs.h. */
62279 #include <math.h>
62281 main ()
62283 ldexpf(0, 0);
62285 return 0;
62287 _ACEOF
62288 if ac_fn_cxx_try_compile "$LINENO"; then :
62289 glibcxx_cv_func_ldexpf_use=yes
62290 else
62291 glibcxx_cv_func_ldexpf_use=no
62293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62294 ac_ext=c
62295 ac_cpp='$CPP $CPPFLAGS'
62296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
62305 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
62307 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
62308 for ac_func in ldexpf
62309 do :
62310 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
62311 if test "x$ac_cv_func_ldexpf" = x""yes; then :
62312 cat >>confdefs.h <<_ACEOF
62313 #define HAVE_LDEXPF 1
62314 _ACEOF
62317 done
62319 else
62321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
62322 $as_echo_n "checking for _ldexpf declaration... " >&6; }
62323 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
62324 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
62325 $as_echo_n "(cached) " >&6
62326 else
62329 ac_ext=cpp
62330 ac_cpp='$CXXCPP $CPPFLAGS'
62331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62336 /* end confdefs.h. */
62337 #include <math.h>
62339 main ()
62341 _ldexpf(0, 0);
62343 return 0;
62345 _ACEOF
62346 if ac_fn_cxx_try_compile "$LINENO"; then :
62347 glibcxx_cv_func__ldexpf_use=yes
62348 else
62349 glibcxx_cv_func__ldexpf_use=no
62351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62352 ac_ext=c
62353 ac_cpp='$CPP $CPPFLAGS'
62354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
62363 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
62365 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
62366 for ac_func in _ldexpf
62367 do :
62368 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
62369 if test "x$ac_cv_func__ldexpf" = x""yes; then :
62370 cat >>confdefs.h <<_ACEOF
62371 #define HAVE__LDEXPF 1
62372 _ACEOF
62375 done
62384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
62385 $as_echo_n "checking for logf declaration... " >&6; }
62386 if test x${glibcxx_cv_func_logf_use+set} != xset; then
62387 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
62388 $as_echo_n "(cached) " >&6
62389 else
62392 ac_ext=cpp
62393 ac_cpp='$CXXCPP $CPPFLAGS'
62394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62399 /* end confdefs.h. */
62400 #include <math.h>
62401 #ifdef HAVE_IEEEFP_H
62402 #include <ieeefp.h>
62403 #endif
62406 main ()
62408 logf(0);
62410 return 0;
62412 _ACEOF
62413 if ac_fn_cxx_try_compile "$LINENO"; then :
62414 glibcxx_cv_func_logf_use=yes
62415 else
62416 glibcxx_cv_func_logf_use=no
62418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62419 ac_ext=c
62420 ac_cpp='$CPP $CPPFLAGS'
62421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
62430 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
62432 if test x$glibcxx_cv_func_logf_use = x"yes"; then
62433 for ac_func in logf
62434 do :
62435 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
62436 if test "x$ac_cv_func_logf" = x""yes; then :
62437 cat >>confdefs.h <<_ACEOF
62438 #define HAVE_LOGF 1
62439 _ACEOF
62442 done
62444 else
62446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
62447 $as_echo_n "checking for _logf declaration... " >&6; }
62448 if test x${glibcxx_cv_func__logf_use+set} != xset; then
62449 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
62450 $as_echo_n "(cached) " >&6
62451 else
62454 ac_ext=cpp
62455 ac_cpp='$CXXCPP $CPPFLAGS'
62456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62461 /* end confdefs.h. */
62462 #include <math.h>
62463 #ifdef HAVE_IEEEFP_H
62464 #include <ieeefp.h>
62465 #endif
62468 main ()
62470 _logf(0);
62472 return 0;
62474 _ACEOF
62475 if ac_fn_cxx_try_compile "$LINENO"; then :
62476 glibcxx_cv_func__logf_use=yes
62477 else
62478 glibcxx_cv_func__logf_use=no
62480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62481 ac_ext=c
62482 ac_cpp='$CPP $CPPFLAGS'
62483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
62492 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
62494 if test x$glibcxx_cv_func__logf_use = x"yes"; then
62495 for ac_func in _logf
62496 do :
62497 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
62498 if test "x$ac_cv_func__logf" = x""yes; then :
62499 cat >>confdefs.h <<_ACEOF
62500 #define HAVE__LOGF 1
62501 _ACEOF
62504 done
62513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
62514 $as_echo_n "checking for log10f declaration... " >&6; }
62515 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
62516 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
62517 $as_echo_n "(cached) " >&6
62518 else
62521 ac_ext=cpp
62522 ac_cpp='$CXXCPP $CPPFLAGS'
62523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62528 /* end confdefs.h. */
62529 #include <math.h>
62530 #ifdef HAVE_IEEEFP_H
62531 #include <ieeefp.h>
62532 #endif
62535 main ()
62537 log10f(0);
62539 return 0;
62541 _ACEOF
62542 if ac_fn_cxx_try_compile "$LINENO"; then :
62543 glibcxx_cv_func_log10f_use=yes
62544 else
62545 glibcxx_cv_func_log10f_use=no
62547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62548 ac_ext=c
62549 ac_cpp='$CPP $CPPFLAGS'
62550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
62559 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
62561 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
62562 for ac_func in log10f
62563 do :
62564 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
62565 if test "x$ac_cv_func_log10f" = x""yes; then :
62566 cat >>confdefs.h <<_ACEOF
62567 #define HAVE_LOG10F 1
62568 _ACEOF
62571 done
62573 else
62575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
62576 $as_echo_n "checking for _log10f declaration... " >&6; }
62577 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
62578 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
62579 $as_echo_n "(cached) " >&6
62580 else
62583 ac_ext=cpp
62584 ac_cpp='$CXXCPP $CPPFLAGS'
62585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62590 /* end confdefs.h. */
62591 #include <math.h>
62592 #ifdef HAVE_IEEEFP_H
62593 #include <ieeefp.h>
62594 #endif
62597 main ()
62599 _log10f(0);
62601 return 0;
62603 _ACEOF
62604 if ac_fn_cxx_try_compile "$LINENO"; then :
62605 glibcxx_cv_func__log10f_use=yes
62606 else
62607 glibcxx_cv_func__log10f_use=no
62609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62610 ac_ext=c
62611 ac_cpp='$CPP $CPPFLAGS'
62612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
62621 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
62623 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
62624 for ac_func in _log10f
62625 do :
62626 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
62627 if test "x$ac_cv_func__log10f" = x""yes; then :
62628 cat >>confdefs.h <<_ACEOF
62629 #define HAVE__LOG10F 1
62630 _ACEOF
62633 done
62642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
62643 $as_echo_n "checking for modff declaration... " >&6; }
62644 if test x${glibcxx_cv_func_modff_use+set} != xset; then
62645 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
62646 $as_echo_n "(cached) " >&6
62647 else
62650 ac_ext=cpp
62651 ac_cpp='$CXXCPP $CPPFLAGS'
62652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62657 /* end confdefs.h. */
62658 #include <math.h>
62660 main ()
62662 modff(0, 0);
62664 return 0;
62666 _ACEOF
62667 if ac_fn_cxx_try_compile "$LINENO"; then :
62668 glibcxx_cv_func_modff_use=yes
62669 else
62670 glibcxx_cv_func_modff_use=no
62672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62673 ac_ext=c
62674 ac_cpp='$CPP $CPPFLAGS'
62675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
62684 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
62686 if test x$glibcxx_cv_func_modff_use = x"yes"; then
62687 for ac_func in modff
62688 do :
62689 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
62690 if test "x$ac_cv_func_modff" = x""yes; then :
62691 cat >>confdefs.h <<_ACEOF
62692 #define HAVE_MODFF 1
62693 _ACEOF
62696 done
62698 else
62700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
62701 $as_echo_n "checking for _modff declaration... " >&6; }
62702 if test x${glibcxx_cv_func__modff_use+set} != xset; then
62703 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
62704 $as_echo_n "(cached) " >&6
62705 else
62708 ac_ext=cpp
62709 ac_cpp='$CXXCPP $CPPFLAGS'
62710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62715 /* end confdefs.h. */
62716 #include <math.h>
62718 main ()
62720 _modff(0, 0);
62722 return 0;
62724 _ACEOF
62725 if ac_fn_cxx_try_compile "$LINENO"; then :
62726 glibcxx_cv_func__modff_use=yes
62727 else
62728 glibcxx_cv_func__modff_use=no
62730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62731 ac_ext=c
62732 ac_cpp='$CPP $CPPFLAGS'
62733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
62742 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
62744 if test x$glibcxx_cv_func__modff_use = x"yes"; then
62745 for ac_func in _modff
62746 do :
62747 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
62748 if test "x$ac_cv_func__modff" = x""yes; then :
62749 cat >>confdefs.h <<_ACEOF
62750 #define HAVE__MODFF 1
62751 _ACEOF
62754 done
62763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
62764 $as_echo_n "checking for modf declaration... " >&6; }
62765 if test x${glibcxx_cv_func_modf_use+set} != xset; then
62766 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
62767 $as_echo_n "(cached) " >&6
62768 else
62771 ac_ext=cpp
62772 ac_cpp='$CXXCPP $CPPFLAGS'
62773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62778 /* end confdefs.h. */
62779 #include <math.h>
62781 main ()
62783 modf(0, 0);
62785 return 0;
62787 _ACEOF
62788 if ac_fn_cxx_try_compile "$LINENO"; then :
62789 glibcxx_cv_func_modf_use=yes
62790 else
62791 glibcxx_cv_func_modf_use=no
62793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62794 ac_ext=c
62795 ac_cpp='$CPP $CPPFLAGS'
62796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
62805 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
62807 if test x$glibcxx_cv_func_modf_use = x"yes"; then
62808 for ac_func in modf
62809 do :
62810 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
62811 if test "x$ac_cv_func_modf" = x""yes; then :
62812 cat >>confdefs.h <<_ACEOF
62813 #define HAVE_MODF 1
62814 _ACEOF
62817 done
62819 else
62821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
62822 $as_echo_n "checking for _modf declaration... " >&6; }
62823 if test x${glibcxx_cv_func__modf_use+set} != xset; then
62824 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
62825 $as_echo_n "(cached) " >&6
62826 else
62829 ac_ext=cpp
62830 ac_cpp='$CXXCPP $CPPFLAGS'
62831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62836 /* end confdefs.h. */
62837 #include <math.h>
62839 main ()
62841 _modf(0, 0);
62843 return 0;
62845 _ACEOF
62846 if ac_fn_cxx_try_compile "$LINENO"; then :
62847 glibcxx_cv_func__modf_use=yes
62848 else
62849 glibcxx_cv_func__modf_use=no
62851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62852 ac_ext=c
62853 ac_cpp='$CPP $CPPFLAGS'
62854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
62863 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
62865 if test x$glibcxx_cv_func__modf_use = x"yes"; then
62866 for ac_func in _modf
62867 do :
62868 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
62869 if test "x$ac_cv_func__modf" = x""yes; then :
62870 cat >>confdefs.h <<_ACEOF
62871 #define HAVE__MODF 1
62872 _ACEOF
62875 done
62884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
62885 $as_echo_n "checking for powf declaration... " >&6; }
62886 if test x${glibcxx_cv_func_powf_use+set} != xset; then
62887 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
62888 $as_echo_n "(cached) " >&6
62889 else
62892 ac_ext=cpp
62893 ac_cpp='$CXXCPP $CPPFLAGS'
62894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62899 /* end confdefs.h. */
62900 #include <math.h>
62902 main ()
62904 powf(0, 0);
62906 return 0;
62908 _ACEOF
62909 if ac_fn_cxx_try_compile "$LINENO"; then :
62910 glibcxx_cv_func_powf_use=yes
62911 else
62912 glibcxx_cv_func_powf_use=no
62914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62915 ac_ext=c
62916 ac_cpp='$CPP $CPPFLAGS'
62917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
62926 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
62928 if test x$glibcxx_cv_func_powf_use = x"yes"; then
62929 for ac_func in powf
62930 do :
62931 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
62932 if test "x$ac_cv_func_powf" = x""yes; then :
62933 cat >>confdefs.h <<_ACEOF
62934 #define HAVE_POWF 1
62935 _ACEOF
62938 done
62940 else
62942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
62943 $as_echo_n "checking for _powf declaration... " >&6; }
62944 if test x${glibcxx_cv_func__powf_use+set} != xset; then
62945 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
62946 $as_echo_n "(cached) " >&6
62947 else
62950 ac_ext=cpp
62951 ac_cpp='$CXXCPP $CPPFLAGS'
62952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62957 /* end confdefs.h. */
62958 #include <math.h>
62960 main ()
62962 _powf(0, 0);
62964 return 0;
62966 _ACEOF
62967 if ac_fn_cxx_try_compile "$LINENO"; then :
62968 glibcxx_cv_func__powf_use=yes
62969 else
62970 glibcxx_cv_func__powf_use=no
62972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62973 ac_ext=c
62974 ac_cpp='$CPP $CPPFLAGS'
62975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
62984 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
62986 if test x$glibcxx_cv_func__powf_use = x"yes"; then
62987 for ac_func in _powf
62988 do :
62989 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
62990 if test "x$ac_cv_func__powf" = x""yes; then :
62991 cat >>confdefs.h <<_ACEOF
62992 #define HAVE__POWF 1
62993 _ACEOF
62996 done
63005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
63006 $as_echo_n "checking for sqrtf declaration... " >&6; }
63007 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
63008 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
63009 $as_echo_n "(cached) " >&6
63010 else
63013 ac_ext=cpp
63014 ac_cpp='$CXXCPP $CPPFLAGS'
63015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63020 /* end confdefs.h. */
63021 #include <math.h>
63022 #ifdef HAVE_IEEEFP_H
63023 #include <ieeefp.h>
63024 #endif
63027 main ()
63029 sqrtf(0);
63031 return 0;
63033 _ACEOF
63034 if ac_fn_cxx_try_compile "$LINENO"; then :
63035 glibcxx_cv_func_sqrtf_use=yes
63036 else
63037 glibcxx_cv_func_sqrtf_use=no
63039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63040 ac_ext=c
63041 ac_cpp='$CPP $CPPFLAGS'
63042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
63051 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
63053 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
63054 for ac_func in sqrtf
63055 do :
63056 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
63057 if test "x$ac_cv_func_sqrtf" = x""yes; then :
63058 cat >>confdefs.h <<_ACEOF
63059 #define HAVE_SQRTF 1
63060 _ACEOF
63063 done
63065 else
63067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
63068 $as_echo_n "checking for _sqrtf declaration... " >&6; }
63069 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
63070 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
63071 $as_echo_n "(cached) " >&6
63072 else
63075 ac_ext=cpp
63076 ac_cpp='$CXXCPP $CPPFLAGS'
63077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63082 /* end confdefs.h. */
63083 #include <math.h>
63084 #ifdef HAVE_IEEEFP_H
63085 #include <ieeefp.h>
63086 #endif
63089 main ()
63091 _sqrtf(0);
63093 return 0;
63095 _ACEOF
63096 if ac_fn_cxx_try_compile "$LINENO"; then :
63097 glibcxx_cv_func__sqrtf_use=yes
63098 else
63099 glibcxx_cv_func__sqrtf_use=no
63101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63102 ac_ext=c
63103 ac_cpp='$CPP $CPPFLAGS'
63104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
63113 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
63115 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
63116 for ac_func in _sqrtf
63117 do :
63118 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
63119 if test "x$ac_cv_func__sqrtf" = x""yes; then :
63120 cat >>confdefs.h <<_ACEOF
63121 #define HAVE__SQRTF 1
63122 _ACEOF
63125 done
63134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
63135 $as_echo_n "checking for sincosf declaration... " >&6; }
63136 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
63137 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
63138 $as_echo_n "(cached) " >&6
63139 else
63142 ac_ext=cpp
63143 ac_cpp='$CXXCPP $CPPFLAGS'
63144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63149 /* end confdefs.h. */
63150 #include <math.h>
63152 main ()
63154 sincosf(0, 0, 0);
63156 return 0;
63158 _ACEOF
63159 if ac_fn_cxx_try_compile "$LINENO"; then :
63160 glibcxx_cv_func_sincosf_use=yes
63161 else
63162 glibcxx_cv_func_sincosf_use=no
63164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63165 ac_ext=c
63166 ac_cpp='$CPP $CPPFLAGS'
63167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
63176 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
63178 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
63179 for ac_func in sincosf
63180 do :
63181 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
63182 if test "x$ac_cv_func_sincosf" = x""yes; then :
63183 cat >>confdefs.h <<_ACEOF
63184 #define HAVE_SINCOSF 1
63185 _ACEOF
63188 done
63190 else
63192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
63193 $as_echo_n "checking for _sincosf declaration... " >&6; }
63194 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
63195 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
63196 $as_echo_n "(cached) " >&6
63197 else
63200 ac_ext=cpp
63201 ac_cpp='$CXXCPP $CPPFLAGS'
63202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63207 /* end confdefs.h. */
63208 #include <math.h>
63210 main ()
63212 _sincosf(0, 0, 0);
63214 return 0;
63216 _ACEOF
63217 if ac_fn_cxx_try_compile "$LINENO"; then :
63218 glibcxx_cv_func__sincosf_use=yes
63219 else
63220 glibcxx_cv_func__sincosf_use=no
63222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63223 ac_ext=c
63224 ac_cpp='$CPP $CPPFLAGS'
63225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
63234 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
63236 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
63237 for ac_func in _sincosf
63238 do :
63239 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
63240 if test "x$ac_cv_func__sincosf" = x""yes; then :
63241 cat >>confdefs.h <<_ACEOF
63242 #define HAVE__SINCOSF 1
63243 _ACEOF
63246 done
63255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
63256 $as_echo_n "checking for finitef declaration... " >&6; }
63257 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
63258 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
63259 $as_echo_n "(cached) " >&6
63260 else
63263 ac_ext=cpp
63264 ac_cpp='$CXXCPP $CPPFLAGS'
63265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63270 /* end confdefs.h. */
63271 #include <math.h>
63272 #ifdef HAVE_IEEEFP_H
63273 #include <ieeefp.h>
63274 #endif
63277 main ()
63279 finitef(0);
63281 return 0;
63283 _ACEOF
63284 if ac_fn_cxx_try_compile "$LINENO"; then :
63285 glibcxx_cv_func_finitef_use=yes
63286 else
63287 glibcxx_cv_func_finitef_use=no
63289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63290 ac_ext=c
63291 ac_cpp='$CPP $CPPFLAGS'
63292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
63301 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
63303 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
63304 for ac_func in finitef
63305 do :
63306 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
63307 if test "x$ac_cv_func_finitef" = x""yes; then :
63308 cat >>confdefs.h <<_ACEOF
63309 #define HAVE_FINITEF 1
63310 _ACEOF
63313 done
63315 else
63317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
63318 $as_echo_n "checking for _finitef declaration... " >&6; }
63319 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
63320 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
63321 $as_echo_n "(cached) " >&6
63322 else
63325 ac_ext=cpp
63326 ac_cpp='$CXXCPP $CPPFLAGS'
63327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63332 /* end confdefs.h. */
63333 #include <math.h>
63334 #ifdef HAVE_IEEEFP_H
63335 #include <ieeefp.h>
63336 #endif
63339 main ()
63341 _finitef(0);
63343 return 0;
63345 _ACEOF
63346 if ac_fn_cxx_try_compile "$LINENO"; then :
63347 glibcxx_cv_func__finitef_use=yes
63348 else
63349 glibcxx_cv_func__finitef_use=no
63351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63352 ac_ext=c
63353 ac_cpp='$CPP $CPPFLAGS'
63354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
63363 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
63365 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
63366 for ac_func in _finitef
63367 do :
63368 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
63369 if test "x$ac_cv_func__finitef" = x""yes; then :
63370 cat >>confdefs.h <<_ACEOF
63371 #define HAVE__FINITEF 1
63372 _ACEOF
63375 done
63384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
63385 $as_echo_n "checking for long double trig functions... " >&6; }
63386 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
63387 $as_echo_n "(cached) " >&6
63388 else
63391 ac_ext=cpp
63392 ac_cpp='$CXXCPP $CPPFLAGS'
63393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63398 /* end confdefs.h. */
63399 #include <math.h>
63401 main ()
63403 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
63405 return 0;
63407 _ACEOF
63408 if ac_fn_cxx_try_compile "$LINENO"; then :
63409 glibcxx_cv_func_long_double_trig_use=yes
63410 else
63411 glibcxx_cv_func_long_double_trig_use=no
63413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63414 ac_ext=c
63415 ac_cpp='$CPP $CPPFLAGS'
63416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
63423 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
63424 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
63425 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
63426 do :
63427 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63428 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
63429 eval as_val=\$$as_ac_var
63430 if test "x$as_val" = x""yes; then :
63431 cat >>confdefs.h <<_ACEOF
63432 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63433 _ACEOF
63436 done
63438 else
63439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
63440 $as_echo_n "checking for _long double trig functions... " >&6; }
63441 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
63442 $as_echo_n "(cached) " >&6
63443 else
63446 ac_ext=cpp
63447 ac_cpp='$CXXCPP $CPPFLAGS'
63448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63453 /* end confdefs.h. */
63454 #include <math.h>
63456 main ()
63458 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
63460 return 0;
63462 _ACEOF
63463 if ac_fn_cxx_try_compile "$LINENO"; then :
63464 glibcxx_cv_func__long_double_trig_use=yes
63465 else
63466 glibcxx_cv_func__long_double_trig_use=no
63468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63469 ac_ext=c
63470 ac_cpp='$CPP $CPPFLAGS'
63471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
63478 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
63479 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
63480 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
63481 do :
63482 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63483 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
63484 eval as_val=\$$as_ac_var
63485 if test "x$as_val" = x""yes; then :
63486 cat >>confdefs.h <<_ACEOF
63487 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63488 _ACEOF
63491 done
63500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
63501 $as_echo_n "checking for long double round functions... " >&6; }
63502 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
63503 $as_echo_n "(cached) " >&6
63504 else
63507 ac_ext=cpp
63508 ac_cpp='$CXXCPP $CPPFLAGS'
63509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63514 /* end confdefs.h. */
63515 #include <math.h>
63517 main ()
63519 ceill (0); floorl (0);
63521 return 0;
63523 _ACEOF
63524 if ac_fn_cxx_try_compile "$LINENO"; then :
63525 glibcxx_cv_func_long_double_round_use=yes
63526 else
63527 glibcxx_cv_func_long_double_round_use=no
63529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63530 ac_ext=c
63531 ac_cpp='$CPP $CPPFLAGS'
63532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
63539 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
63540 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
63541 for ac_func in ceill floorl
63542 do :
63543 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63544 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
63545 eval as_val=\$$as_ac_var
63546 if test "x$as_val" = x""yes; then :
63547 cat >>confdefs.h <<_ACEOF
63548 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63549 _ACEOF
63552 done
63554 else
63555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
63556 $as_echo_n "checking for _long double round functions... " >&6; }
63557 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
63558 $as_echo_n "(cached) " >&6
63559 else
63562 ac_ext=cpp
63563 ac_cpp='$CXXCPP $CPPFLAGS'
63564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63569 /* end confdefs.h. */
63570 #include <math.h>
63572 main ()
63574 _ceill (0); _floorl (0);
63576 return 0;
63578 _ACEOF
63579 if ac_fn_cxx_try_compile "$LINENO"; then :
63580 glibcxx_cv_func__long_double_round_use=yes
63581 else
63582 glibcxx_cv_func__long_double_round_use=no
63584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63585 ac_ext=c
63586 ac_cpp='$CPP $CPPFLAGS'
63587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
63594 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
63595 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
63596 for ac_func in _ceill _floorl
63597 do :
63598 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63599 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
63600 eval as_val=\$$as_ac_var
63601 if test "x$as_val" = x""yes; then :
63602 cat >>confdefs.h <<_ACEOF
63603 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63604 _ACEOF
63607 done
63617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
63618 $as_echo_n "checking for isnanl declaration... " >&6; }
63619 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
63620 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
63621 $as_echo_n "(cached) " >&6
63622 else
63625 ac_ext=cpp
63626 ac_cpp='$CXXCPP $CPPFLAGS'
63627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63632 /* end confdefs.h. */
63633 #include <math.h>
63634 #ifdef HAVE_IEEEFP_H
63635 #include <ieeefp.h>
63636 #endif
63639 main ()
63641 isnanl(0);
63643 return 0;
63645 _ACEOF
63646 if ac_fn_cxx_try_compile "$LINENO"; then :
63647 glibcxx_cv_func_isnanl_use=yes
63648 else
63649 glibcxx_cv_func_isnanl_use=no
63651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63652 ac_ext=c
63653 ac_cpp='$CPP $CPPFLAGS'
63654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
63663 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
63665 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
63666 for ac_func in isnanl
63667 do :
63668 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
63669 if test "x$ac_cv_func_isnanl" = x""yes; then :
63670 cat >>confdefs.h <<_ACEOF
63671 #define HAVE_ISNANL 1
63672 _ACEOF
63675 done
63677 else
63679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
63680 $as_echo_n "checking for _isnanl declaration... " >&6; }
63681 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
63682 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
63683 $as_echo_n "(cached) " >&6
63684 else
63687 ac_ext=cpp
63688 ac_cpp='$CXXCPP $CPPFLAGS'
63689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63694 /* end confdefs.h. */
63695 #include <math.h>
63696 #ifdef HAVE_IEEEFP_H
63697 #include <ieeefp.h>
63698 #endif
63701 main ()
63703 _isnanl(0);
63705 return 0;
63707 _ACEOF
63708 if ac_fn_cxx_try_compile "$LINENO"; then :
63709 glibcxx_cv_func__isnanl_use=yes
63710 else
63711 glibcxx_cv_func__isnanl_use=no
63713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63714 ac_ext=c
63715 ac_cpp='$CPP $CPPFLAGS'
63716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
63725 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
63727 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
63728 for ac_func in _isnanl
63729 do :
63730 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
63731 if test "x$ac_cv_func__isnanl" = x""yes; then :
63732 cat >>confdefs.h <<_ACEOF
63733 #define HAVE__ISNANL 1
63734 _ACEOF
63737 done
63746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
63747 $as_echo_n "checking for isinfl declaration... " >&6; }
63748 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
63749 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
63750 $as_echo_n "(cached) " >&6
63751 else
63754 ac_ext=cpp
63755 ac_cpp='$CXXCPP $CPPFLAGS'
63756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63761 /* end confdefs.h. */
63762 #include <math.h>
63763 #ifdef HAVE_IEEEFP_H
63764 #include <ieeefp.h>
63765 #endif
63768 main ()
63770 isinfl(0);
63772 return 0;
63774 _ACEOF
63775 if ac_fn_cxx_try_compile "$LINENO"; then :
63776 glibcxx_cv_func_isinfl_use=yes
63777 else
63778 glibcxx_cv_func_isinfl_use=no
63780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63781 ac_ext=c
63782 ac_cpp='$CPP $CPPFLAGS'
63783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
63792 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
63794 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
63795 for ac_func in isinfl
63796 do :
63797 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
63798 if test "x$ac_cv_func_isinfl" = x""yes; then :
63799 cat >>confdefs.h <<_ACEOF
63800 #define HAVE_ISINFL 1
63801 _ACEOF
63804 done
63806 else
63808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
63809 $as_echo_n "checking for _isinfl declaration... " >&6; }
63810 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
63811 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
63812 $as_echo_n "(cached) " >&6
63813 else
63816 ac_ext=cpp
63817 ac_cpp='$CXXCPP $CPPFLAGS'
63818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63823 /* end confdefs.h. */
63824 #include <math.h>
63825 #ifdef HAVE_IEEEFP_H
63826 #include <ieeefp.h>
63827 #endif
63830 main ()
63832 _isinfl(0);
63834 return 0;
63836 _ACEOF
63837 if ac_fn_cxx_try_compile "$LINENO"; then :
63838 glibcxx_cv_func__isinfl_use=yes
63839 else
63840 glibcxx_cv_func__isinfl_use=no
63842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63843 ac_ext=c
63844 ac_cpp='$CPP $CPPFLAGS'
63845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
63854 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
63856 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
63857 for ac_func in _isinfl
63858 do :
63859 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
63860 if test "x$ac_cv_func__isinfl" = x""yes; then :
63861 cat >>confdefs.h <<_ACEOF
63862 #define HAVE__ISINFL 1
63863 _ACEOF
63866 done
63875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
63876 $as_echo_n "checking for atan2l declaration... " >&6; }
63877 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
63878 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
63879 $as_echo_n "(cached) " >&6
63880 else
63883 ac_ext=cpp
63884 ac_cpp='$CXXCPP $CPPFLAGS'
63885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63890 /* end confdefs.h. */
63891 #include <math.h>
63893 main ()
63895 atan2l(0, 0);
63897 return 0;
63899 _ACEOF
63900 if ac_fn_cxx_try_compile "$LINENO"; then :
63901 glibcxx_cv_func_atan2l_use=yes
63902 else
63903 glibcxx_cv_func_atan2l_use=no
63905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63906 ac_ext=c
63907 ac_cpp='$CPP $CPPFLAGS'
63908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
63917 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
63919 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
63920 for ac_func in atan2l
63921 do :
63922 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
63923 if test "x$ac_cv_func_atan2l" = x""yes; then :
63924 cat >>confdefs.h <<_ACEOF
63925 #define HAVE_ATAN2L 1
63926 _ACEOF
63929 done
63931 else
63933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
63934 $as_echo_n "checking for _atan2l declaration... " >&6; }
63935 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
63936 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
63937 $as_echo_n "(cached) " >&6
63938 else
63941 ac_ext=cpp
63942 ac_cpp='$CXXCPP $CPPFLAGS'
63943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63948 /* end confdefs.h. */
63949 #include <math.h>
63951 main ()
63953 _atan2l(0, 0);
63955 return 0;
63957 _ACEOF
63958 if ac_fn_cxx_try_compile "$LINENO"; then :
63959 glibcxx_cv_func__atan2l_use=yes
63960 else
63961 glibcxx_cv_func__atan2l_use=no
63963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63964 ac_ext=c
63965 ac_cpp='$CPP $CPPFLAGS'
63966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
63975 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
63977 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
63978 for ac_func in _atan2l
63979 do :
63980 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
63981 if test "x$ac_cv_func__atan2l" = x""yes; then :
63982 cat >>confdefs.h <<_ACEOF
63983 #define HAVE__ATAN2L 1
63984 _ACEOF
63987 done
63996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
63997 $as_echo_n "checking for expl declaration... " >&6; }
63998 if test x${glibcxx_cv_func_expl_use+set} != xset; then
63999 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
64000 $as_echo_n "(cached) " >&6
64001 else
64004 ac_ext=cpp
64005 ac_cpp='$CXXCPP $CPPFLAGS'
64006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64011 /* end confdefs.h. */
64012 #include <math.h>
64013 #ifdef HAVE_IEEEFP_H
64014 #include <ieeefp.h>
64015 #endif
64018 main ()
64020 expl(0);
64022 return 0;
64024 _ACEOF
64025 if ac_fn_cxx_try_compile "$LINENO"; then :
64026 glibcxx_cv_func_expl_use=yes
64027 else
64028 glibcxx_cv_func_expl_use=no
64030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64031 ac_ext=c
64032 ac_cpp='$CPP $CPPFLAGS'
64033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
64042 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
64044 if test x$glibcxx_cv_func_expl_use = x"yes"; then
64045 for ac_func in expl
64046 do :
64047 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
64048 if test "x$ac_cv_func_expl" = x""yes; then :
64049 cat >>confdefs.h <<_ACEOF
64050 #define HAVE_EXPL 1
64051 _ACEOF
64054 done
64056 else
64058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
64059 $as_echo_n "checking for _expl declaration... " >&6; }
64060 if test x${glibcxx_cv_func__expl_use+set} != xset; then
64061 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
64062 $as_echo_n "(cached) " >&6
64063 else
64066 ac_ext=cpp
64067 ac_cpp='$CXXCPP $CPPFLAGS'
64068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64073 /* end confdefs.h. */
64074 #include <math.h>
64075 #ifdef HAVE_IEEEFP_H
64076 #include <ieeefp.h>
64077 #endif
64080 main ()
64082 _expl(0);
64084 return 0;
64086 _ACEOF
64087 if ac_fn_cxx_try_compile "$LINENO"; then :
64088 glibcxx_cv_func__expl_use=yes
64089 else
64090 glibcxx_cv_func__expl_use=no
64092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64093 ac_ext=c
64094 ac_cpp='$CPP $CPPFLAGS'
64095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
64104 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
64106 if test x$glibcxx_cv_func__expl_use = x"yes"; then
64107 for ac_func in _expl
64108 do :
64109 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
64110 if test "x$ac_cv_func__expl" = x""yes; then :
64111 cat >>confdefs.h <<_ACEOF
64112 #define HAVE__EXPL 1
64113 _ACEOF
64116 done
64125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
64126 $as_echo_n "checking for fabsl declaration... " >&6; }
64127 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
64128 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
64129 $as_echo_n "(cached) " >&6
64130 else
64133 ac_ext=cpp
64134 ac_cpp='$CXXCPP $CPPFLAGS'
64135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64140 /* end confdefs.h. */
64141 #include <math.h>
64142 #ifdef HAVE_IEEEFP_H
64143 #include <ieeefp.h>
64144 #endif
64147 main ()
64149 fabsl(0);
64151 return 0;
64153 _ACEOF
64154 if ac_fn_cxx_try_compile "$LINENO"; then :
64155 glibcxx_cv_func_fabsl_use=yes
64156 else
64157 glibcxx_cv_func_fabsl_use=no
64159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64160 ac_ext=c
64161 ac_cpp='$CPP $CPPFLAGS'
64162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
64171 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
64173 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
64174 for ac_func in fabsl
64175 do :
64176 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
64177 if test "x$ac_cv_func_fabsl" = x""yes; then :
64178 cat >>confdefs.h <<_ACEOF
64179 #define HAVE_FABSL 1
64180 _ACEOF
64183 done
64185 else
64187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
64188 $as_echo_n "checking for _fabsl declaration... " >&6; }
64189 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
64190 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
64191 $as_echo_n "(cached) " >&6
64192 else
64195 ac_ext=cpp
64196 ac_cpp='$CXXCPP $CPPFLAGS'
64197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64202 /* end confdefs.h. */
64203 #include <math.h>
64204 #ifdef HAVE_IEEEFP_H
64205 #include <ieeefp.h>
64206 #endif
64209 main ()
64211 _fabsl(0);
64213 return 0;
64215 _ACEOF
64216 if ac_fn_cxx_try_compile "$LINENO"; then :
64217 glibcxx_cv_func__fabsl_use=yes
64218 else
64219 glibcxx_cv_func__fabsl_use=no
64221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64222 ac_ext=c
64223 ac_cpp='$CPP $CPPFLAGS'
64224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
64233 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
64235 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
64236 for ac_func in _fabsl
64237 do :
64238 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
64239 if test "x$ac_cv_func__fabsl" = x""yes; then :
64240 cat >>confdefs.h <<_ACEOF
64241 #define HAVE__FABSL 1
64242 _ACEOF
64245 done
64254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
64255 $as_echo_n "checking for fmodl declaration... " >&6; }
64256 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
64257 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
64258 $as_echo_n "(cached) " >&6
64259 else
64262 ac_ext=cpp
64263 ac_cpp='$CXXCPP $CPPFLAGS'
64264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64269 /* end confdefs.h. */
64270 #include <math.h>
64272 main ()
64274 fmodl(0, 0);
64276 return 0;
64278 _ACEOF
64279 if ac_fn_cxx_try_compile "$LINENO"; then :
64280 glibcxx_cv_func_fmodl_use=yes
64281 else
64282 glibcxx_cv_func_fmodl_use=no
64284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64285 ac_ext=c
64286 ac_cpp='$CPP $CPPFLAGS'
64287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
64296 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
64298 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
64299 for ac_func in fmodl
64300 do :
64301 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
64302 if test "x$ac_cv_func_fmodl" = x""yes; then :
64303 cat >>confdefs.h <<_ACEOF
64304 #define HAVE_FMODL 1
64305 _ACEOF
64308 done
64310 else
64312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
64313 $as_echo_n "checking for _fmodl declaration... " >&6; }
64314 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
64315 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
64316 $as_echo_n "(cached) " >&6
64317 else
64320 ac_ext=cpp
64321 ac_cpp='$CXXCPP $CPPFLAGS'
64322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64327 /* end confdefs.h. */
64328 #include <math.h>
64330 main ()
64332 _fmodl(0, 0);
64334 return 0;
64336 _ACEOF
64337 if ac_fn_cxx_try_compile "$LINENO"; then :
64338 glibcxx_cv_func__fmodl_use=yes
64339 else
64340 glibcxx_cv_func__fmodl_use=no
64342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64343 ac_ext=c
64344 ac_cpp='$CPP $CPPFLAGS'
64345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
64354 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
64356 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
64357 for ac_func in _fmodl
64358 do :
64359 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
64360 if test "x$ac_cv_func__fmodl" = x""yes; then :
64361 cat >>confdefs.h <<_ACEOF
64362 #define HAVE__FMODL 1
64363 _ACEOF
64366 done
64375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
64376 $as_echo_n "checking for frexpl declaration... " >&6; }
64377 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
64378 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
64379 $as_echo_n "(cached) " >&6
64380 else
64383 ac_ext=cpp
64384 ac_cpp='$CXXCPP $CPPFLAGS'
64385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64390 /* end confdefs.h. */
64391 #include <math.h>
64393 main ()
64395 frexpl(0, 0);
64397 return 0;
64399 _ACEOF
64400 if ac_fn_cxx_try_compile "$LINENO"; then :
64401 glibcxx_cv_func_frexpl_use=yes
64402 else
64403 glibcxx_cv_func_frexpl_use=no
64405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64406 ac_ext=c
64407 ac_cpp='$CPP $CPPFLAGS'
64408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
64417 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
64419 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
64420 for ac_func in frexpl
64421 do :
64422 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
64423 if test "x$ac_cv_func_frexpl" = x""yes; then :
64424 cat >>confdefs.h <<_ACEOF
64425 #define HAVE_FREXPL 1
64426 _ACEOF
64429 done
64431 else
64433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
64434 $as_echo_n "checking for _frexpl declaration... " >&6; }
64435 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
64436 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
64437 $as_echo_n "(cached) " >&6
64438 else
64441 ac_ext=cpp
64442 ac_cpp='$CXXCPP $CPPFLAGS'
64443 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64444 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64445 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64448 /* end confdefs.h. */
64449 #include <math.h>
64451 main ()
64453 _frexpl(0, 0);
64455 return 0;
64457 _ACEOF
64458 if ac_fn_cxx_try_compile "$LINENO"; then :
64459 glibcxx_cv_func__frexpl_use=yes
64460 else
64461 glibcxx_cv_func__frexpl_use=no
64463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64464 ac_ext=c
64465 ac_cpp='$CPP $CPPFLAGS'
64466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
64475 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
64477 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
64478 for ac_func in _frexpl
64479 do :
64480 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
64481 if test "x$ac_cv_func__frexpl" = x""yes; then :
64482 cat >>confdefs.h <<_ACEOF
64483 #define HAVE__FREXPL 1
64484 _ACEOF
64487 done
64496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
64497 $as_echo_n "checking for hypotl declaration... " >&6; }
64498 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
64499 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
64500 $as_echo_n "(cached) " >&6
64501 else
64504 ac_ext=cpp
64505 ac_cpp='$CXXCPP $CPPFLAGS'
64506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64511 /* end confdefs.h. */
64512 #include <math.h>
64514 main ()
64516 hypotl(0, 0);
64518 return 0;
64520 _ACEOF
64521 if ac_fn_cxx_try_compile "$LINENO"; then :
64522 glibcxx_cv_func_hypotl_use=yes
64523 else
64524 glibcxx_cv_func_hypotl_use=no
64526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64527 ac_ext=c
64528 ac_cpp='$CPP $CPPFLAGS'
64529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
64538 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
64540 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
64541 for ac_func in hypotl
64542 do :
64543 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
64544 if test "x$ac_cv_func_hypotl" = x""yes; then :
64545 cat >>confdefs.h <<_ACEOF
64546 #define HAVE_HYPOTL 1
64547 _ACEOF
64550 done
64552 else
64554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
64555 $as_echo_n "checking for _hypotl declaration... " >&6; }
64556 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
64557 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
64558 $as_echo_n "(cached) " >&6
64559 else
64562 ac_ext=cpp
64563 ac_cpp='$CXXCPP $CPPFLAGS'
64564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64569 /* end confdefs.h. */
64570 #include <math.h>
64572 main ()
64574 _hypotl(0, 0);
64576 return 0;
64578 _ACEOF
64579 if ac_fn_cxx_try_compile "$LINENO"; then :
64580 glibcxx_cv_func__hypotl_use=yes
64581 else
64582 glibcxx_cv_func__hypotl_use=no
64584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64585 ac_ext=c
64586 ac_cpp='$CPP $CPPFLAGS'
64587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
64596 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
64598 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
64599 for ac_func in _hypotl
64600 do :
64601 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
64602 if test "x$ac_cv_func__hypotl" = x""yes; then :
64603 cat >>confdefs.h <<_ACEOF
64604 #define HAVE__HYPOTL 1
64605 _ACEOF
64608 done
64617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
64618 $as_echo_n "checking for ldexpl declaration... " >&6; }
64619 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
64620 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
64621 $as_echo_n "(cached) " >&6
64622 else
64625 ac_ext=cpp
64626 ac_cpp='$CXXCPP $CPPFLAGS'
64627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64632 /* end confdefs.h. */
64633 #include <math.h>
64635 main ()
64637 ldexpl(0, 0);
64639 return 0;
64641 _ACEOF
64642 if ac_fn_cxx_try_compile "$LINENO"; then :
64643 glibcxx_cv_func_ldexpl_use=yes
64644 else
64645 glibcxx_cv_func_ldexpl_use=no
64647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64648 ac_ext=c
64649 ac_cpp='$CPP $CPPFLAGS'
64650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
64659 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
64661 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
64662 for ac_func in ldexpl
64663 do :
64664 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
64665 if test "x$ac_cv_func_ldexpl" = x""yes; then :
64666 cat >>confdefs.h <<_ACEOF
64667 #define HAVE_LDEXPL 1
64668 _ACEOF
64671 done
64673 else
64675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
64676 $as_echo_n "checking for _ldexpl declaration... " >&6; }
64677 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
64678 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
64679 $as_echo_n "(cached) " >&6
64680 else
64683 ac_ext=cpp
64684 ac_cpp='$CXXCPP $CPPFLAGS'
64685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64690 /* end confdefs.h. */
64691 #include <math.h>
64693 main ()
64695 _ldexpl(0, 0);
64697 return 0;
64699 _ACEOF
64700 if ac_fn_cxx_try_compile "$LINENO"; then :
64701 glibcxx_cv_func__ldexpl_use=yes
64702 else
64703 glibcxx_cv_func__ldexpl_use=no
64705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64706 ac_ext=c
64707 ac_cpp='$CPP $CPPFLAGS'
64708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
64717 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
64719 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
64720 for ac_func in _ldexpl
64721 do :
64722 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
64723 if test "x$ac_cv_func__ldexpl" = x""yes; then :
64724 cat >>confdefs.h <<_ACEOF
64725 #define HAVE__LDEXPL 1
64726 _ACEOF
64729 done
64738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
64739 $as_echo_n "checking for logl declaration... " >&6; }
64740 if test x${glibcxx_cv_func_logl_use+set} != xset; then
64741 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
64742 $as_echo_n "(cached) " >&6
64743 else
64746 ac_ext=cpp
64747 ac_cpp='$CXXCPP $CPPFLAGS'
64748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64753 /* end confdefs.h. */
64754 #include <math.h>
64755 #ifdef HAVE_IEEEFP_H
64756 #include <ieeefp.h>
64757 #endif
64760 main ()
64762 logl(0);
64764 return 0;
64766 _ACEOF
64767 if ac_fn_cxx_try_compile "$LINENO"; then :
64768 glibcxx_cv_func_logl_use=yes
64769 else
64770 glibcxx_cv_func_logl_use=no
64772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64773 ac_ext=c
64774 ac_cpp='$CPP $CPPFLAGS'
64775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
64784 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
64786 if test x$glibcxx_cv_func_logl_use = x"yes"; then
64787 for ac_func in logl
64788 do :
64789 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
64790 if test "x$ac_cv_func_logl" = x""yes; then :
64791 cat >>confdefs.h <<_ACEOF
64792 #define HAVE_LOGL 1
64793 _ACEOF
64796 done
64798 else
64800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
64801 $as_echo_n "checking for _logl declaration... " >&6; }
64802 if test x${glibcxx_cv_func__logl_use+set} != xset; then
64803 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
64804 $as_echo_n "(cached) " >&6
64805 else
64808 ac_ext=cpp
64809 ac_cpp='$CXXCPP $CPPFLAGS'
64810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64815 /* end confdefs.h. */
64816 #include <math.h>
64817 #ifdef HAVE_IEEEFP_H
64818 #include <ieeefp.h>
64819 #endif
64822 main ()
64824 _logl(0);
64826 return 0;
64828 _ACEOF
64829 if ac_fn_cxx_try_compile "$LINENO"; then :
64830 glibcxx_cv_func__logl_use=yes
64831 else
64832 glibcxx_cv_func__logl_use=no
64834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64835 ac_ext=c
64836 ac_cpp='$CPP $CPPFLAGS'
64837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
64846 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
64848 if test x$glibcxx_cv_func__logl_use = x"yes"; then
64849 for ac_func in _logl
64850 do :
64851 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
64852 if test "x$ac_cv_func__logl" = x""yes; then :
64853 cat >>confdefs.h <<_ACEOF
64854 #define HAVE__LOGL 1
64855 _ACEOF
64858 done
64867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
64868 $as_echo_n "checking for log10l declaration... " >&6; }
64869 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
64870 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
64871 $as_echo_n "(cached) " >&6
64872 else
64875 ac_ext=cpp
64876 ac_cpp='$CXXCPP $CPPFLAGS'
64877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64882 /* end confdefs.h. */
64883 #include <math.h>
64884 #ifdef HAVE_IEEEFP_H
64885 #include <ieeefp.h>
64886 #endif
64889 main ()
64891 log10l(0);
64893 return 0;
64895 _ACEOF
64896 if ac_fn_cxx_try_compile "$LINENO"; then :
64897 glibcxx_cv_func_log10l_use=yes
64898 else
64899 glibcxx_cv_func_log10l_use=no
64901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64902 ac_ext=c
64903 ac_cpp='$CPP $CPPFLAGS'
64904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
64913 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
64915 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
64916 for ac_func in log10l
64917 do :
64918 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
64919 if test "x$ac_cv_func_log10l" = x""yes; then :
64920 cat >>confdefs.h <<_ACEOF
64921 #define HAVE_LOG10L 1
64922 _ACEOF
64925 done
64927 else
64929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
64930 $as_echo_n "checking for _log10l declaration... " >&6; }
64931 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
64932 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
64933 $as_echo_n "(cached) " >&6
64934 else
64937 ac_ext=cpp
64938 ac_cpp='$CXXCPP $CPPFLAGS'
64939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64944 /* end confdefs.h. */
64945 #include <math.h>
64946 #ifdef HAVE_IEEEFP_H
64947 #include <ieeefp.h>
64948 #endif
64951 main ()
64953 _log10l(0);
64955 return 0;
64957 _ACEOF
64958 if ac_fn_cxx_try_compile "$LINENO"; then :
64959 glibcxx_cv_func__log10l_use=yes
64960 else
64961 glibcxx_cv_func__log10l_use=no
64963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64964 ac_ext=c
64965 ac_cpp='$CPP $CPPFLAGS'
64966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
64975 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
64977 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
64978 for ac_func in _log10l
64979 do :
64980 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
64981 if test "x$ac_cv_func__log10l" = x""yes; then :
64982 cat >>confdefs.h <<_ACEOF
64983 #define HAVE__LOG10L 1
64984 _ACEOF
64987 done
64996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
64997 $as_echo_n "checking for modfl declaration... " >&6; }
64998 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
64999 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
65000 $as_echo_n "(cached) " >&6
65001 else
65004 ac_ext=cpp
65005 ac_cpp='$CXXCPP $CPPFLAGS'
65006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65011 /* end confdefs.h. */
65012 #include <math.h>
65014 main ()
65016 modfl(0, 0);
65018 return 0;
65020 _ACEOF
65021 if ac_fn_cxx_try_compile "$LINENO"; then :
65022 glibcxx_cv_func_modfl_use=yes
65023 else
65024 glibcxx_cv_func_modfl_use=no
65026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65027 ac_ext=c
65028 ac_cpp='$CPP $CPPFLAGS'
65029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
65038 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
65040 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
65041 for ac_func in modfl
65042 do :
65043 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
65044 if test "x$ac_cv_func_modfl" = x""yes; then :
65045 cat >>confdefs.h <<_ACEOF
65046 #define HAVE_MODFL 1
65047 _ACEOF
65050 done
65052 else
65054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
65055 $as_echo_n "checking for _modfl declaration... " >&6; }
65056 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
65057 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
65058 $as_echo_n "(cached) " >&6
65059 else
65062 ac_ext=cpp
65063 ac_cpp='$CXXCPP $CPPFLAGS'
65064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65069 /* end confdefs.h. */
65070 #include <math.h>
65072 main ()
65074 _modfl(0, 0);
65076 return 0;
65078 _ACEOF
65079 if ac_fn_cxx_try_compile "$LINENO"; then :
65080 glibcxx_cv_func__modfl_use=yes
65081 else
65082 glibcxx_cv_func__modfl_use=no
65084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65085 ac_ext=c
65086 ac_cpp='$CPP $CPPFLAGS'
65087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
65096 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
65098 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
65099 for ac_func in _modfl
65100 do :
65101 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
65102 if test "x$ac_cv_func__modfl" = x""yes; then :
65103 cat >>confdefs.h <<_ACEOF
65104 #define HAVE__MODFL 1
65105 _ACEOF
65108 done
65117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
65118 $as_echo_n "checking for powl declaration... " >&6; }
65119 if test x${glibcxx_cv_func_powl_use+set} != xset; then
65120 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
65121 $as_echo_n "(cached) " >&6
65122 else
65125 ac_ext=cpp
65126 ac_cpp='$CXXCPP $CPPFLAGS'
65127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65132 /* end confdefs.h. */
65133 #include <math.h>
65135 main ()
65137 powl(0, 0);
65139 return 0;
65141 _ACEOF
65142 if ac_fn_cxx_try_compile "$LINENO"; then :
65143 glibcxx_cv_func_powl_use=yes
65144 else
65145 glibcxx_cv_func_powl_use=no
65147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65148 ac_ext=c
65149 ac_cpp='$CPP $CPPFLAGS'
65150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
65159 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
65161 if test x$glibcxx_cv_func_powl_use = x"yes"; then
65162 for ac_func in powl
65163 do :
65164 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
65165 if test "x$ac_cv_func_powl" = x""yes; then :
65166 cat >>confdefs.h <<_ACEOF
65167 #define HAVE_POWL 1
65168 _ACEOF
65171 done
65173 else
65175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
65176 $as_echo_n "checking for _powl declaration... " >&6; }
65177 if test x${glibcxx_cv_func__powl_use+set} != xset; then
65178 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
65179 $as_echo_n "(cached) " >&6
65180 else
65183 ac_ext=cpp
65184 ac_cpp='$CXXCPP $CPPFLAGS'
65185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65190 /* end confdefs.h. */
65191 #include <math.h>
65193 main ()
65195 _powl(0, 0);
65197 return 0;
65199 _ACEOF
65200 if ac_fn_cxx_try_compile "$LINENO"; then :
65201 glibcxx_cv_func__powl_use=yes
65202 else
65203 glibcxx_cv_func__powl_use=no
65205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65206 ac_ext=c
65207 ac_cpp='$CPP $CPPFLAGS'
65208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
65217 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
65219 if test x$glibcxx_cv_func__powl_use = x"yes"; then
65220 for ac_func in _powl
65221 do :
65222 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
65223 if test "x$ac_cv_func__powl" = x""yes; then :
65224 cat >>confdefs.h <<_ACEOF
65225 #define HAVE__POWL 1
65226 _ACEOF
65229 done
65238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
65239 $as_echo_n "checking for sqrtl declaration... " >&6; }
65240 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
65241 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
65242 $as_echo_n "(cached) " >&6
65243 else
65246 ac_ext=cpp
65247 ac_cpp='$CXXCPP $CPPFLAGS'
65248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65253 /* end confdefs.h. */
65254 #include <math.h>
65255 #ifdef HAVE_IEEEFP_H
65256 #include <ieeefp.h>
65257 #endif
65260 main ()
65262 sqrtl(0);
65264 return 0;
65266 _ACEOF
65267 if ac_fn_cxx_try_compile "$LINENO"; then :
65268 glibcxx_cv_func_sqrtl_use=yes
65269 else
65270 glibcxx_cv_func_sqrtl_use=no
65272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65273 ac_ext=c
65274 ac_cpp='$CPP $CPPFLAGS'
65275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
65284 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
65286 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
65287 for ac_func in sqrtl
65288 do :
65289 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
65290 if test "x$ac_cv_func_sqrtl" = x""yes; then :
65291 cat >>confdefs.h <<_ACEOF
65292 #define HAVE_SQRTL 1
65293 _ACEOF
65296 done
65298 else
65300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
65301 $as_echo_n "checking for _sqrtl declaration... " >&6; }
65302 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
65303 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
65304 $as_echo_n "(cached) " >&6
65305 else
65308 ac_ext=cpp
65309 ac_cpp='$CXXCPP $CPPFLAGS'
65310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65315 /* end confdefs.h. */
65316 #include <math.h>
65317 #ifdef HAVE_IEEEFP_H
65318 #include <ieeefp.h>
65319 #endif
65322 main ()
65324 _sqrtl(0);
65326 return 0;
65328 _ACEOF
65329 if ac_fn_cxx_try_compile "$LINENO"; then :
65330 glibcxx_cv_func__sqrtl_use=yes
65331 else
65332 glibcxx_cv_func__sqrtl_use=no
65334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65335 ac_ext=c
65336 ac_cpp='$CPP $CPPFLAGS'
65337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
65346 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
65348 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
65349 for ac_func in _sqrtl
65350 do :
65351 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
65352 if test "x$ac_cv_func__sqrtl" = x""yes; then :
65353 cat >>confdefs.h <<_ACEOF
65354 #define HAVE__SQRTL 1
65355 _ACEOF
65358 done
65367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
65368 $as_echo_n "checking for sincosl declaration... " >&6; }
65369 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
65370 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
65371 $as_echo_n "(cached) " >&6
65372 else
65375 ac_ext=cpp
65376 ac_cpp='$CXXCPP $CPPFLAGS'
65377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65382 /* end confdefs.h. */
65383 #include <math.h>
65385 main ()
65387 sincosl(0, 0, 0);
65389 return 0;
65391 _ACEOF
65392 if ac_fn_cxx_try_compile "$LINENO"; then :
65393 glibcxx_cv_func_sincosl_use=yes
65394 else
65395 glibcxx_cv_func_sincosl_use=no
65397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65398 ac_ext=c
65399 ac_cpp='$CPP $CPPFLAGS'
65400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
65409 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
65411 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
65412 for ac_func in sincosl
65413 do :
65414 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
65415 if test "x$ac_cv_func_sincosl" = x""yes; then :
65416 cat >>confdefs.h <<_ACEOF
65417 #define HAVE_SINCOSL 1
65418 _ACEOF
65421 done
65423 else
65425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
65426 $as_echo_n "checking for _sincosl declaration... " >&6; }
65427 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
65428 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
65429 $as_echo_n "(cached) " >&6
65430 else
65433 ac_ext=cpp
65434 ac_cpp='$CXXCPP $CPPFLAGS'
65435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65440 /* end confdefs.h. */
65441 #include <math.h>
65443 main ()
65445 _sincosl(0, 0, 0);
65447 return 0;
65449 _ACEOF
65450 if ac_fn_cxx_try_compile "$LINENO"; then :
65451 glibcxx_cv_func__sincosl_use=yes
65452 else
65453 glibcxx_cv_func__sincosl_use=no
65455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65456 ac_ext=c
65457 ac_cpp='$CPP $CPPFLAGS'
65458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
65467 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
65469 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
65470 for ac_func in _sincosl
65471 do :
65472 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
65473 if test "x$ac_cv_func__sincosl" = x""yes; then :
65474 cat >>confdefs.h <<_ACEOF
65475 #define HAVE__SINCOSL 1
65476 _ACEOF
65479 done
65488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
65489 $as_echo_n "checking for finitel declaration... " >&6; }
65490 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
65491 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
65492 $as_echo_n "(cached) " >&6
65493 else
65496 ac_ext=cpp
65497 ac_cpp='$CXXCPP $CPPFLAGS'
65498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65503 /* end confdefs.h. */
65504 #include <math.h>
65505 #ifdef HAVE_IEEEFP_H
65506 #include <ieeefp.h>
65507 #endif
65510 main ()
65512 finitel(0);
65514 return 0;
65516 _ACEOF
65517 if ac_fn_cxx_try_compile "$LINENO"; then :
65518 glibcxx_cv_func_finitel_use=yes
65519 else
65520 glibcxx_cv_func_finitel_use=no
65522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65523 ac_ext=c
65524 ac_cpp='$CPP $CPPFLAGS'
65525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
65534 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
65536 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
65537 for ac_func in finitel
65538 do :
65539 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
65540 if test "x$ac_cv_func_finitel" = x""yes; then :
65541 cat >>confdefs.h <<_ACEOF
65542 #define HAVE_FINITEL 1
65543 _ACEOF
65546 done
65548 else
65550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
65551 $as_echo_n "checking for _finitel declaration... " >&6; }
65552 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
65553 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
65554 $as_echo_n "(cached) " >&6
65555 else
65558 ac_ext=cpp
65559 ac_cpp='$CXXCPP $CPPFLAGS'
65560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65565 /* end confdefs.h. */
65566 #include <math.h>
65567 #ifdef HAVE_IEEEFP_H
65568 #include <ieeefp.h>
65569 #endif
65572 main ()
65574 _finitel(0);
65576 return 0;
65578 _ACEOF
65579 if ac_fn_cxx_try_compile "$LINENO"; then :
65580 glibcxx_cv_func__finitel_use=yes
65581 else
65582 glibcxx_cv_func__finitel_use=no
65584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65585 ac_ext=c
65586 ac_cpp='$CPP $CPPFLAGS'
65587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
65596 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
65598 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
65599 for ac_func in _finitel
65600 do :
65601 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
65602 if test "x$ac_cv_func__finitel" = x""yes; then :
65603 cat >>confdefs.h <<_ACEOF
65604 #define HAVE__FINITEL 1
65605 _ACEOF
65608 done
65616 LIBS="$ac_save_LIBS"
65617 CXXFLAGS="$ac_save_CXXFLAGS"
65620 ac_test_CXXFLAGS="${CXXFLAGS+set}"
65621 ac_save_CXXFLAGS="$CXXFLAGS"
65622 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
65625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
65626 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
65627 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
65628 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
65629 $as_echo_n "(cached) " >&6
65630 else
65633 ac_ext=cpp
65634 ac_cpp='$CXXCPP $CPPFLAGS'
65635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65640 /* end confdefs.h. */
65641 #include <stdlib.h>
65643 main ()
65645 at_quick_exit(0);
65647 return 0;
65649 _ACEOF
65650 if ac_fn_cxx_try_compile "$LINENO"; then :
65651 glibcxx_cv_func_at_quick_exit_use=yes
65652 else
65653 glibcxx_cv_func_at_quick_exit_use=no
65655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65656 ac_ext=c
65657 ac_cpp='$CPP $CPPFLAGS'
65658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
65667 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
65668 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
65669 for ac_func in at_quick_exit
65670 do :
65671 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
65672 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
65673 cat >>confdefs.h <<_ACEOF
65674 #define HAVE_AT_QUICK_EXIT 1
65675 _ACEOF
65678 done
65683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
65684 $as_echo_n "checking for quick_exit declaration... " >&6; }
65685 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
65686 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
65687 $as_echo_n "(cached) " >&6
65688 else
65691 ac_ext=cpp
65692 ac_cpp='$CXXCPP $CPPFLAGS'
65693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65698 /* end confdefs.h. */
65699 #include <stdlib.h>
65701 main ()
65703 quick_exit(0);
65705 return 0;
65707 _ACEOF
65708 if ac_fn_cxx_try_compile "$LINENO"; then :
65709 glibcxx_cv_func_quick_exit_use=yes
65710 else
65711 glibcxx_cv_func_quick_exit_use=no
65713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65714 ac_ext=c
65715 ac_cpp='$CPP $CPPFLAGS'
65716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
65725 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
65726 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
65727 for ac_func in quick_exit
65728 do :
65729 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
65730 if test "x$ac_cv_func_quick_exit" = x""yes; then :
65731 cat >>confdefs.h <<_ACEOF
65732 #define HAVE_QUICK_EXIT 1
65733 _ACEOF
65736 done
65741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
65742 $as_echo_n "checking for strtold declaration... " >&6; }
65743 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
65744 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
65745 $as_echo_n "(cached) " >&6
65746 else
65749 ac_ext=cpp
65750 ac_cpp='$CXXCPP $CPPFLAGS'
65751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65756 /* end confdefs.h. */
65757 #include <stdlib.h>
65759 main ()
65761 strtold(0, 0);
65763 return 0;
65765 _ACEOF
65766 if ac_fn_cxx_try_compile "$LINENO"; then :
65767 glibcxx_cv_func_strtold_use=yes
65768 else
65769 glibcxx_cv_func_strtold_use=no
65771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65772 ac_ext=c
65773 ac_cpp='$CPP $CPPFLAGS'
65774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
65783 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
65784 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
65785 for ac_func in strtold
65786 do :
65787 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
65788 if test "x$ac_cv_func_strtold" = x""yes; then :
65789 cat >>confdefs.h <<_ACEOF
65790 #define HAVE_STRTOLD 1
65791 _ACEOF
65794 done
65801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
65802 $as_echo_n "checking for strtof declaration... " >&6; }
65803 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
65804 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
65805 $as_echo_n "(cached) " >&6
65806 else
65809 ac_ext=cpp
65810 ac_cpp='$CXXCPP $CPPFLAGS'
65811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65816 /* end confdefs.h. */
65817 #include <stdlib.h>
65819 main ()
65821 strtof(0, 0);
65823 return 0;
65825 _ACEOF
65826 if ac_fn_cxx_try_compile "$LINENO"; then :
65827 glibcxx_cv_func_strtof_use=yes
65828 else
65829 glibcxx_cv_func_strtof_use=no
65831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65832 ac_ext=c
65833 ac_cpp='$CPP $CPPFLAGS'
65834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
65843 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
65844 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
65845 for ac_func in strtof
65846 do :
65847 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
65848 if test "x$ac_cv_func_strtof" = x""yes; then :
65849 cat >>confdefs.h <<_ACEOF
65850 #define HAVE_STRTOF 1
65851 _ACEOF
65854 done
65861 CXXFLAGS="$ac_save_CXXFLAGS"
65864 *-netbsd*)
65865 SECTION_FLAGS='-ffunction-sections -fdata-sections'
65868 # If we're not using GNU ld, then there's no point in even trying these
65869 # tests. Check for that first. We should have already tested for gld
65870 # by now (in libtool), but require it now just to be safe...
65871 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
65872 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
65876 # The name set by libtool depends on the version of libtool. Shame on us
65877 # for depending on an impl detail, but c'est la vie. Older versions used
65878 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
65879 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
65880 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
65881 # set (hence we're using an older libtool), then set it.
65882 if test x${with_gnu_ld+set} != xset; then
65883 if test x${ac_cv_prog_gnu_ld+set} != xset; then
65884 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
65885 with_gnu_ld=no
65886 else
65887 with_gnu_ld=$ac_cv_prog_gnu_ld
65891 # Start by getting the version number. I think the libtool test already
65892 # does some of this, but throws away the result.
65893 glibcxx_ld_is_gold=no
65894 if test x"$with_gnu_ld" = x"yes"; then
65895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
65896 $as_echo_n "checking for ld version... " >&6; }
65898 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
65899 glibcxx_ld_is_gold=yes
65901 ldver=`$LD --version 2>/dev/null |
65902 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'`
65904 glibcxx_gnu_ld_version=`echo $ldver | \
65905 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
65906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
65907 $as_echo "$glibcxx_gnu_ld_version" >&6; }
65910 # Set --gc-sections.
65911 glibcxx_have_gc_sections=no
65912 if test "$glibcxx_ld_is_gold" = "yes"; then
65913 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
65914 glibcxx_have_gc_sections=yes
65916 else
65917 glibcxx_gcsections_min_ld=21602
65918 if test x"$with_gnu_ld" = x"yes" &&
65919 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
65920 glibcxx_have_gc_sections=yes
65923 if test "$glibcxx_have_gc_sections" = "yes"; then
65924 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
65925 # NB: This flag only works reliably after 2.16.1. Configure tests
65926 # for this are difficult, so hard wire a value that should work.
65928 ac_test_CFLAGS="${CFLAGS+set}"
65929 ac_save_CFLAGS="$CFLAGS"
65930 CFLAGS='-Wl,--gc-sections'
65932 # Check for -Wl,--gc-sections
65933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
65934 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
65935 if test x$gcc_no_link = xyes; then
65936 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
65938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65939 /* end confdefs.h. */
65940 int one(void) { return 1; }
65941 int two(void) { return 2; }
65944 main ()
65946 two();
65948 return 0;
65950 _ACEOF
65951 if ac_fn_c_try_link "$LINENO"; then :
65952 ac_gcsections=yes
65953 else
65954 ac_gcsections=no
65956 rm -f core conftest.err conftest.$ac_objext \
65957 conftest$ac_exeext conftest.$ac_ext
65958 if test "$ac_gcsections" = "yes"; then
65959 rm -f conftest.c
65960 touch conftest.c
65961 if $CC -c conftest.c; then
65962 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
65963 grep "Warning: gc-sections option ignored" > /dev/null; then
65964 ac_gcsections=no
65967 rm -f conftest.c conftest.o conftest
65969 if test "$ac_gcsections" = "yes"; then
65970 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
65972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
65973 $as_echo "$ac_gcsections" >&6; }
65975 if test "$ac_test_CFLAGS" = set; then
65976 CFLAGS="$ac_save_CFLAGS"
65977 else
65978 # this is the suspicious part
65979 CFLAGS=''
65983 # Set -z,relro.
65984 # Note this is only for shared objects.
65985 ac_ld_relro=no
65986 if test x"$with_gnu_ld" = x"yes"; then
65987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
65988 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
65989 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
65990 if test -n "$cxx_z_relo"; then
65991 OPT_LDFLAGS="-Wl,-z,relro"
65992 ac_ld_relro=yes
65994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
65995 $as_echo "$ac_ld_relro" >&6; }
65998 # Set linker optimization flags.
65999 if test x"$with_gnu_ld" = x"yes"; then
66000 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
66006 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
66008 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
66010 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
66012 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
66014 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
66016 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
66018 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
66020 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
66022 if test x"long_double_math_on_this_cpu" = x"yes"; then
66023 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
66025 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
66027 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
66031 *-qnx6.1* | *-qnx6.2*)
66032 SECTION_FLAGS='-ffunction-sections -fdata-sections'
66035 # If we're not using GNU ld, then there's no point in even trying these
66036 # tests. Check for that first. We should have already tested for gld
66037 # by now (in libtool), but require it now just to be safe...
66038 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
66039 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
66043 # The name set by libtool depends on the version of libtool. Shame on us
66044 # for depending on an impl detail, but c'est la vie. Older versions used
66045 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
66046 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
66047 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
66048 # set (hence we're using an older libtool), then set it.
66049 if test x${with_gnu_ld+set} != xset; then
66050 if test x${ac_cv_prog_gnu_ld+set} != xset; then
66051 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
66052 with_gnu_ld=no
66053 else
66054 with_gnu_ld=$ac_cv_prog_gnu_ld
66058 # Start by getting the version number. I think the libtool test already
66059 # does some of this, but throws away the result.
66060 glibcxx_ld_is_gold=no
66061 if test x"$with_gnu_ld" = x"yes"; then
66062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
66063 $as_echo_n "checking for ld version... " >&6; }
66065 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
66066 glibcxx_ld_is_gold=yes
66068 ldver=`$LD --version 2>/dev/null |
66069 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'`
66071 glibcxx_gnu_ld_version=`echo $ldver | \
66072 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
66073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
66074 $as_echo "$glibcxx_gnu_ld_version" >&6; }
66077 # Set --gc-sections.
66078 glibcxx_have_gc_sections=no
66079 if test "$glibcxx_ld_is_gold" = "yes"; then
66080 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
66081 glibcxx_have_gc_sections=yes
66083 else
66084 glibcxx_gcsections_min_ld=21602
66085 if test x"$with_gnu_ld" = x"yes" &&
66086 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
66087 glibcxx_have_gc_sections=yes
66090 if test "$glibcxx_have_gc_sections" = "yes"; then
66091 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
66092 # NB: This flag only works reliably after 2.16.1. Configure tests
66093 # for this are difficult, so hard wire a value that should work.
66095 ac_test_CFLAGS="${CFLAGS+set}"
66096 ac_save_CFLAGS="$CFLAGS"
66097 CFLAGS='-Wl,--gc-sections'
66099 # Check for -Wl,--gc-sections
66100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
66101 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
66102 if test x$gcc_no_link = xyes; then
66103 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66106 /* end confdefs.h. */
66107 int one(void) { return 1; }
66108 int two(void) { return 2; }
66111 main ()
66113 two();
66115 return 0;
66117 _ACEOF
66118 if ac_fn_c_try_link "$LINENO"; then :
66119 ac_gcsections=yes
66120 else
66121 ac_gcsections=no
66123 rm -f core conftest.err conftest.$ac_objext \
66124 conftest$ac_exeext conftest.$ac_ext
66125 if test "$ac_gcsections" = "yes"; then
66126 rm -f conftest.c
66127 touch conftest.c
66128 if $CC -c conftest.c; then
66129 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
66130 grep "Warning: gc-sections option ignored" > /dev/null; then
66131 ac_gcsections=no
66134 rm -f conftest.c conftest.o conftest
66136 if test "$ac_gcsections" = "yes"; then
66137 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
66139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
66140 $as_echo "$ac_gcsections" >&6; }
66142 if test "$ac_test_CFLAGS" = set; then
66143 CFLAGS="$ac_save_CFLAGS"
66144 else
66145 # this is the suspicious part
66146 CFLAGS=''
66150 # Set -z,relro.
66151 # Note this is only for shared objects.
66152 ac_ld_relro=no
66153 if test x"$with_gnu_ld" = x"yes"; then
66154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
66155 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
66156 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
66157 if test -n "$cxx_z_relo"; then
66158 OPT_LDFLAGS="-Wl,-z,relro"
66159 ac_ld_relro=yes
66161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
66162 $as_echo "$ac_ld_relro" >&6; }
66165 # Set linker optimization flags.
66166 if test x"$with_gnu_ld" = x"yes"; then
66167 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
66173 $as_echo "#define HAVE_COSF 1" >>confdefs.h
66175 $as_echo "#define HAVE_COSL 1" >>confdefs.h
66177 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
66179 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
66181 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
66183 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
66185 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
66187 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
66189 $as_echo "#define HAVE_SINF 1" >>confdefs.h
66191 $as_echo "#define HAVE_SINL 1" >>confdefs.h
66193 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
66195 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
66198 *-rtems*)
66200 # All these tests are for C++; save the language and the compiler flags.
66201 # The CXXFLAGS thing is suspicious, but based on similar bits previously
66202 # found in GLIBCXX_CONFIGURE.
66204 ac_ext=cpp
66205 ac_cpp='$CXXCPP $CPPFLAGS'
66206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66210 ac_test_CXXFLAGS="${CXXFLAGS+set}"
66211 ac_save_CXXFLAGS="$CXXFLAGS"
66213 # Check for maintainer-mode bits.
66214 if test x"$USE_MAINTAINER_MODE" = xno; then
66215 WERROR=''
66216 else
66217 WERROR='-Werror'
66220 # Check for -ffunction-sections -fdata-sections
66221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
66222 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
66223 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
66224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66225 /* end confdefs.h. */
66226 int foo; void bar() { };
66228 main ()
66232 return 0;
66234 _ACEOF
66235 if ac_fn_cxx_try_compile "$LINENO"; then :
66236 ac_fdsections=yes
66237 else
66238 ac_fdsections=no
66240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66241 if test "$ac_test_CXXFLAGS" = set; then
66242 CXXFLAGS="$ac_save_CXXFLAGS"
66243 else
66244 # this is the suspicious part
66245 CXXFLAGS=''
66247 if test x"$ac_fdsections" = x"yes"; then
66248 SECTION_FLAGS='-ffunction-sections -fdata-sections'
66250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
66251 $as_echo "$ac_fdsections" >&6; }
66253 ac_ext=c
66254 ac_cpp='$CPP $CPPFLAGS'
66255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66263 # If we're not using GNU ld, then there's no point in even trying these
66264 # tests. Check for that first. We should have already tested for gld
66265 # by now (in libtool), but require it now just to be safe...
66266 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
66267 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
66271 # The name set by libtool depends on the version of libtool. Shame on us
66272 # for depending on an impl detail, but c'est la vie. Older versions used
66273 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
66274 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
66275 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
66276 # set (hence we're using an older libtool), then set it.
66277 if test x${with_gnu_ld+set} != xset; then
66278 if test x${ac_cv_prog_gnu_ld+set} != xset; then
66279 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
66280 with_gnu_ld=no
66281 else
66282 with_gnu_ld=$ac_cv_prog_gnu_ld
66286 # Start by getting the version number. I think the libtool test already
66287 # does some of this, but throws away the result.
66288 glibcxx_ld_is_gold=no
66289 if test x"$with_gnu_ld" = x"yes"; then
66290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
66291 $as_echo_n "checking for ld version... " >&6; }
66293 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
66294 glibcxx_ld_is_gold=yes
66296 ldver=`$LD --version 2>/dev/null |
66297 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'`
66299 glibcxx_gnu_ld_version=`echo $ldver | \
66300 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
66301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
66302 $as_echo "$glibcxx_gnu_ld_version" >&6; }
66305 # Set --gc-sections.
66306 glibcxx_have_gc_sections=no
66307 if test "$glibcxx_ld_is_gold" = "yes"; then
66308 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
66309 glibcxx_have_gc_sections=yes
66311 else
66312 glibcxx_gcsections_min_ld=21602
66313 if test x"$with_gnu_ld" = x"yes" &&
66314 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
66315 glibcxx_have_gc_sections=yes
66318 if test "$glibcxx_have_gc_sections" = "yes"; then
66319 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
66320 # NB: This flag only works reliably after 2.16.1. Configure tests
66321 # for this are difficult, so hard wire a value that should work.
66323 ac_test_CFLAGS="${CFLAGS+set}"
66324 ac_save_CFLAGS="$CFLAGS"
66325 CFLAGS='-Wl,--gc-sections'
66327 # Check for -Wl,--gc-sections
66328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
66329 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
66330 if test x$gcc_no_link = xyes; then
66331 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66334 /* end confdefs.h. */
66335 int one(void) { return 1; }
66336 int two(void) { return 2; }
66339 main ()
66341 two();
66343 return 0;
66345 _ACEOF
66346 if ac_fn_c_try_link "$LINENO"; then :
66347 ac_gcsections=yes
66348 else
66349 ac_gcsections=no
66351 rm -f core conftest.err conftest.$ac_objext \
66352 conftest$ac_exeext conftest.$ac_ext
66353 if test "$ac_gcsections" = "yes"; then
66354 rm -f conftest.c
66355 touch conftest.c
66356 if $CC -c conftest.c; then
66357 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
66358 grep "Warning: gc-sections option ignored" > /dev/null; then
66359 ac_gcsections=no
66362 rm -f conftest.c conftest.o conftest
66364 if test "$ac_gcsections" = "yes"; then
66365 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
66367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
66368 $as_echo "$ac_gcsections" >&6; }
66370 if test "$ac_test_CFLAGS" = set; then
66371 CFLAGS="$ac_save_CFLAGS"
66372 else
66373 # this is the suspicious part
66374 CFLAGS=''
66378 # Set -z,relro.
66379 # Note this is only for shared objects.
66380 ac_ld_relro=no
66381 if test x"$with_gnu_ld" = x"yes"; then
66382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
66383 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
66384 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
66385 if test -n "$cxx_z_relo"; then
66386 OPT_LDFLAGS="-Wl,-z,relro"
66387 ac_ld_relro=yes
66389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
66390 $as_echo "$ac_ld_relro" >&6; }
66393 # Set linker optimization flags.
66394 if test x"$with_gnu_ld" = x"yes"; then
66395 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
66402 ac_test_CXXFLAGS="${CXXFLAGS+set}"
66403 ac_save_CXXFLAGS="$CXXFLAGS"
66404 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
66406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
66407 $as_echo_n "checking for sin in -lm... " >&6; }
66408 if test "${ac_cv_lib_m_sin+set}" = set; then :
66409 $as_echo_n "(cached) " >&6
66410 else
66411 ac_check_lib_save_LIBS=$LIBS
66412 LIBS="-lm $LIBS"
66413 if test x$gcc_no_link = xyes; then
66414 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66417 /* end confdefs.h. */
66419 /* Override any GCC internal prototype to avoid an error.
66420 Use char because int might match the return type of a GCC
66421 builtin and then its argument prototype would still apply. */
66422 #ifdef __cplusplus
66423 extern "C"
66424 #endif
66425 char sin ();
66427 main ()
66429 return sin ();
66431 return 0;
66433 _ACEOF
66434 if ac_fn_c_try_link "$LINENO"; then :
66435 ac_cv_lib_m_sin=yes
66436 else
66437 ac_cv_lib_m_sin=no
66439 rm -f core conftest.err conftest.$ac_objext \
66440 conftest$ac_exeext conftest.$ac_ext
66441 LIBS=$ac_check_lib_save_LIBS
66443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
66444 $as_echo "$ac_cv_lib_m_sin" >&6; }
66445 if test "x$ac_cv_lib_m_sin" = x""yes; then :
66446 libm="-lm"
66449 ac_save_LIBS="$LIBS"
66450 LIBS="$LIBS $libm"
66454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
66455 $as_echo_n "checking for isinf declaration... " >&6; }
66456 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
66457 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
66458 $as_echo_n "(cached) " >&6
66459 else
66462 ac_ext=cpp
66463 ac_cpp='$CXXCPP $CPPFLAGS'
66464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66469 /* end confdefs.h. */
66470 #include <math.h>
66471 #ifdef HAVE_IEEEFP_H
66472 #include <ieeefp.h>
66473 #endif
66476 main ()
66478 isinf(0);
66480 return 0;
66482 _ACEOF
66483 if ac_fn_cxx_try_compile "$LINENO"; then :
66484 glibcxx_cv_func_isinf_use=yes
66485 else
66486 glibcxx_cv_func_isinf_use=no
66488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66489 ac_ext=c
66490 ac_cpp='$CPP $CPPFLAGS'
66491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
66500 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
66502 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
66503 for ac_func in isinf
66504 do :
66505 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
66506 if test "x$ac_cv_func_isinf" = x""yes; then :
66507 cat >>confdefs.h <<_ACEOF
66508 #define HAVE_ISINF 1
66509 _ACEOF
66512 done
66514 else
66516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
66517 $as_echo_n "checking for _isinf declaration... " >&6; }
66518 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
66519 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
66520 $as_echo_n "(cached) " >&6
66521 else
66524 ac_ext=cpp
66525 ac_cpp='$CXXCPP $CPPFLAGS'
66526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66531 /* end confdefs.h. */
66532 #include <math.h>
66533 #ifdef HAVE_IEEEFP_H
66534 #include <ieeefp.h>
66535 #endif
66538 main ()
66540 _isinf(0);
66542 return 0;
66544 _ACEOF
66545 if ac_fn_cxx_try_compile "$LINENO"; then :
66546 glibcxx_cv_func__isinf_use=yes
66547 else
66548 glibcxx_cv_func__isinf_use=no
66550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66551 ac_ext=c
66552 ac_cpp='$CPP $CPPFLAGS'
66553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
66562 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
66564 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
66565 for ac_func in _isinf
66566 do :
66567 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
66568 if test "x$ac_cv_func__isinf" = x""yes; then :
66569 cat >>confdefs.h <<_ACEOF
66570 #define HAVE__ISINF 1
66571 _ACEOF
66574 done
66583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
66584 $as_echo_n "checking for isnan declaration... " >&6; }
66585 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
66586 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
66587 $as_echo_n "(cached) " >&6
66588 else
66591 ac_ext=cpp
66592 ac_cpp='$CXXCPP $CPPFLAGS'
66593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66598 /* end confdefs.h. */
66599 #include <math.h>
66600 #ifdef HAVE_IEEEFP_H
66601 #include <ieeefp.h>
66602 #endif
66605 main ()
66607 isnan(0);
66609 return 0;
66611 _ACEOF
66612 if ac_fn_cxx_try_compile "$LINENO"; then :
66613 glibcxx_cv_func_isnan_use=yes
66614 else
66615 glibcxx_cv_func_isnan_use=no
66617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66618 ac_ext=c
66619 ac_cpp='$CPP $CPPFLAGS'
66620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
66629 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
66631 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
66632 for ac_func in isnan
66633 do :
66634 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
66635 if test "x$ac_cv_func_isnan" = x""yes; then :
66636 cat >>confdefs.h <<_ACEOF
66637 #define HAVE_ISNAN 1
66638 _ACEOF
66641 done
66643 else
66645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
66646 $as_echo_n "checking for _isnan declaration... " >&6; }
66647 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
66648 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
66649 $as_echo_n "(cached) " >&6
66650 else
66653 ac_ext=cpp
66654 ac_cpp='$CXXCPP $CPPFLAGS'
66655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66660 /* end confdefs.h. */
66661 #include <math.h>
66662 #ifdef HAVE_IEEEFP_H
66663 #include <ieeefp.h>
66664 #endif
66667 main ()
66669 _isnan(0);
66671 return 0;
66673 _ACEOF
66674 if ac_fn_cxx_try_compile "$LINENO"; then :
66675 glibcxx_cv_func__isnan_use=yes
66676 else
66677 glibcxx_cv_func__isnan_use=no
66679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66680 ac_ext=c
66681 ac_cpp='$CPP $CPPFLAGS'
66682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
66691 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
66693 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
66694 for ac_func in _isnan
66695 do :
66696 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
66697 if test "x$ac_cv_func__isnan" = x""yes; then :
66698 cat >>confdefs.h <<_ACEOF
66699 #define HAVE__ISNAN 1
66700 _ACEOF
66703 done
66712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
66713 $as_echo_n "checking for finite declaration... " >&6; }
66714 if test x${glibcxx_cv_func_finite_use+set} != xset; then
66715 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
66716 $as_echo_n "(cached) " >&6
66717 else
66720 ac_ext=cpp
66721 ac_cpp='$CXXCPP $CPPFLAGS'
66722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66727 /* end confdefs.h. */
66728 #include <math.h>
66729 #ifdef HAVE_IEEEFP_H
66730 #include <ieeefp.h>
66731 #endif
66734 main ()
66736 finite(0);
66738 return 0;
66740 _ACEOF
66741 if ac_fn_cxx_try_compile "$LINENO"; then :
66742 glibcxx_cv_func_finite_use=yes
66743 else
66744 glibcxx_cv_func_finite_use=no
66746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66747 ac_ext=c
66748 ac_cpp='$CPP $CPPFLAGS'
66749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
66758 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
66760 if test x$glibcxx_cv_func_finite_use = x"yes"; then
66761 for ac_func in finite
66762 do :
66763 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
66764 if test "x$ac_cv_func_finite" = x""yes; then :
66765 cat >>confdefs.h <<_ACEOF
66766 #define HAVE_FINITE 1
66767 _ACEOF
66770 done
66772 else
66774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
66775 $as_echo_n "checking for _finite declaration... " >&6; }
66776 if test x${glibcxx_cv_func__finite_use+set} != xset; then
66777 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
66778 $as_echo_n "(cached) " >&6
66779 else
66782 ac_ext=cpp
66783 ac_cpp='$CXXCPP $CPPFLAGS'
66784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66789 /* end confdefs.h. */
66790 #include <math.h>
66791 #ifdef HAVE_IEEEFP_H
66792 #include <ieeefp.h>
66793 #endif
66796 main ()
66798 _finite(0);
66800 return 0;
66802 _ACEOF
66803 if ac_fn_cxx_try_compile "$LINENO"; then :
66804 glibcxx_cv_func__finite_use=yes
66805 else
66806 glibcxx_cv_func__finite_use=no
66808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66809 ac_ext=c
66810 ac_cpp='$CPP $CPPFLAGS'
66811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
66820 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
66822 if test x$glibcxx_cv_func__finite_use = x"yes"; then
66823 for ac_func in _finite
66824 do :
66825 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
66826 if test "x$ac_cv_func__finite" = x""yes; then :
66827 cat >>confdefs.h <<_ACEOF
66828 #define HAVE__FINITE 1
66829 _ACEOF
66832 done
66841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
66842 $as_echo_n "checking for sincos declaration... " >&6; }
66843 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
66844 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
66845 $as_echo_n "(cached) " >&6
66846 else
66849 ac_ext=cpp
66850 ac_cpp='$CXXCPP $CPPFLAGS'
66851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66856 /* end confdefs.h. */
66857 #include <math.h>
66859 main ()
66861 sincos(0, 0, 0);
66863 return 0;
66865 _ACEOF
66866 if ac_fn_cxx_try_compile "$LINENO"; then :
66867 glibcxx_cv_func_sincos_use=yes
66868 else
66869 glibcxx_cv_func_sincos_use=no
66871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66872 ac_ext=c
66873 ac_cpp='$CPP $CPPFLAGS'
66874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
66883 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
66885 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
66886 for ac_func in sincos
66887 do :
66888 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
66889 if test "x$ac_cv_func_sincos" = x""yes; then :
66890 cat >>confdefs.h <<_ACEOF
66891 #define HAVE_SINCOS 1
66892 _ACEOF
66895 done
66897 else
66899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
66900 $as_echo_n "checking for _sincos declaration... " >&6; }
66901 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
66902 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
66903 $as_echo_n "(cached) " >&6
66904 else
66907 ac_ext=cpp
66908 ac_cpp='$CXXCPP $CPPFLAGS'
66909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66914 /* end confdefs.h. */
66915 #include <math.h>
66917 main ()
66919 _sincos(0, 0, 0);
66921 return 0;
66923 _ACEOF
66924 if ac_fn_cxx_try_compile "$LINENO"; then :
66925 glibcxx_cv_func__sincos_use=yes
66926 else
66927 glibcxx_cv_func__sincos_use=no
66929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66930 ac_ext=c
66931 ac_cpp='$CPP $CPPFLAGS'
66932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
66941 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
66943 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
66944 for ac_func in _sincos
66945 do :
66946 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
66947 if test "x$ac_cv_func__sincos" = x""yes; then :
66948 cat >>confdefs.h <<_ACEOF
66949 #define HAVE__SINCOS 1
66950 _ACEOF
66953 done
66962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
66963 $as_echo_n "checking for fpclass declaration... " >&6; }
66964 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
66965 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
66966 $as_echo_n "(cached) " >&6
66967 else
66970 ac_ext=cpp
66971 ac_cpp='$CXXCPP $CPPFLAGS'
66972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66977 /* end confdefs.h. */
66978 #include <math.h>
66979 #ifdef HAVE_IEEEFP_H
66980 #include <ieeefp.h>
66981 #endif
66984 main ()
66986 fpclass(0);
66988 return 0;
66990 _ACEOF
66991 if ac_fn_cxx_try_compile "$LINENO"; then :
66992 glibcxx_cv_func_fpclass_use=yes
66993 else
66994 glibcxx_cv_func_fpclass_use=no
66996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66997 ac_ext=c
66998 ac_cpp='$CPP $CPPFLAGS'
66999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
67008 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
67010 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
67011 for ac_func in fpclass
67012 do :
67013 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
67014 if test "x$ac_cv_func_fpclass" = x""yes; then :
67015 cat >>confdefs.h <<_ACEOF
67016 #define HAVE_FPCLASS 1
67017 _ACEOF
67020 done
67022 else
67024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
67025 $as_echo_n "checking for _fpclass declaration... " >&6; }
67026 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
67027 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
67028 $as_echo_n "(cached) " >&6
67029 else
67032 ac_ext=cpp
67033 ac_cpp='$CXXCPP $CPPFLAGS'
67034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67039 /* end confdefs.h. */
67040 #include <math.h>
67041 #ifdef HAVE_IEEEFP_H
67042 #include <ieeefp.h>
67043 #endif
67046 main ()
67048 _fpclass(0);
67050 return 0;
67052 _ACEOF
67053 if ac_fn_cxx_try_compile "$LINENO"; then :
67054 glibcxx_cv_func__fpclass_use=yes
67055 else
67056 glibcxx_cv_func__fpclass_use=no
67058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67059 ac_ext=c
67060 ac_cpp='$CPP $CPPFLAGS'
67061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
67070 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
67072 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
67073 for ac_func in _fpclass
67074 do :
67075 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
67076 if test "x$ac_cv_func__fpclass" = x""yes; then :
67077 cat >>confdefs.h <<_ACEOF
67078 #define HAVE__FPCLASS 1
67079 _ACEOF
67082 done
67091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
67092 $as_echo_n "checking for qfpclass declaration... " >&6; }
67093 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
67094 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
67095 $as_echo_n "(cached) " >&6
67096 else
67099 ac_ext=cpp
67100 ac_cpp='$CXXCPP $CPPFLAGS'
67101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67106 /* end confdefs.h. */
67107 #include <math.h>
67108 #ifdef HAVE_IEEEFP_H
67109 #include <ieeefp.h>
67110 #endif
67113 main ()
67115 qfpclass(0);
67117 return 0;
67119 _ACEOF
67120 if ac_fn_cxx_try_compile "$LINENO"; then :
67121 glibcxx_cv_func_qfpclass_use=yes
67122 else
67123 glibcxx_cv_func_qfpclass_use=no
67125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67126 ac_ext=c
67127 ac_cpp='$CPP $CPPFLAGS'
67128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
67137 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
67139 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
67140 for ac_func in qfpclass
67141 do :
67142 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
67143 if test "x$ac_cv_func_qfpclass" = x""yes; then :
67144 cat >>confdefs.h <<_ACEOF
67145 #define HAVE_QFPCLASS 1
67146 _ACEOF
67149 done
67151 else
67153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
67154 $as_echo_n "checking for _qfpclass declaration... " >&6; }
67155 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
67156 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
67157 $as_echo_n "(cached) " >&6
67158 else
67161 ac_ext=cpp
67162 ac_cpp='$CXXCPP $CPPFLAGS'
67163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67168 /* end confdefs.h. */
67169 #include <math.h>
67170 #ifdef HAVE_IEEEFP_H
67171 #include <ieeefp.h>
67172 #endif
67175 main ()
67177 _qfpclass(0);
67179 return 0;
67181 _ACEOF
67182 if ac_fn_cxx_try_compile "$LINENO"; then :
67183 glibcxx_cv_func__qfpclass_use=yes
67184 else
67185 glibcxx_cv_func__qfpclass_use=no
67187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67188 ac_ext=c
67189 ac_cpp='$CPP $CPPFLAGS'
67190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
67199 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
67201 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
67202 for ac_func in _qfpclass
67203 do :
67204 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
67205 if test "x$ac_cv_func__qfpclass" = x""yes; then :
67206 cat >>confdefs.h <<_ACEOF
67207 #define HAVE__QFPCLASS 1
67208 _ACEOF
67211 done
67220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
67221 $as_echo_n "checking for hypot declaration... " >&6; }
67222 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
67223 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
67224 $as_echo_n "(cached) " >&6
67225 else
67228 ac_ext=cpp
67229 ac_cpp='$CXXCPP $CPPFLAGS'
67230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67235 /* end confdefs.h. */
67236 #include <math.h>
67238 main ()
67240 hypot(0, 0);
67242 return 0;
67244 _ACEOF
67245 if ac_fn_cxx_try_compile "$LINENO"; then :
67246 glibcxx_cv_func_hypot_use=yes
67247 else
67248 glibcxx_cv_func_hypot_use=no
67250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67251 ac_ext=c
67252 ac_cpp='$CPP $CPPFLAGS'
67253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
67262 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
67264 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
67265 for ac_func in hypot
67266 do :
67267 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
67268 if test "x$ac_cv_func_hypot" = x""yes; then :
67269 cat >>confdefs.h <<_ACEOF
67270 #define HAVE_HYPOT 1
67271 _ACEOF
67274 done
67276 else
67278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
67279 $as_echo_n "checking for _hypot declaration... " >&6; }
67280 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
67281 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
67282 $as_echo_n "(cached) " >&6
67283 else
67286 ac_ext=cpp
67287 ac_cpp='$CXXCPP $CPPFLAGS'
67288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67293 /* end confdefs.h. */
67294 #include <math.h>
67296 main ()
67298 _hypot(0, 0);
67300 return 0;
67302 _ACEOF
67303 if ac_fn_cxx_try_compile "$LINENO"; then :
67304 glibcxx_cv_func__hypot_use=yes
67305 else
67306 glibcxx_cv_func__hypot_use=no
67308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67309 ac_ext=c
67310 ac_cpp='$CPP $CPPFLAGS'
67311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
67320 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
67322 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
67323 for ac_func in _hypot
67324 do :
67325 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
67326 if test "x$ac_cv_func__hypot" = x""yes; then :
67327 cat >>confdefs.h <<_ACEOF
67328 #define HAVE__HYPOT 1
67329 _ACEOF
67332 done
67341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
67342 $as_echo_n "checking for float trig functions... " >&6; }
67343 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
67344 $as_echo_n "(cached) " >&6
67345 else
67348 ac_ext=cpp
67349 ac_cpp='$CXXCPP $CPPFLAGS'
67350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67355 /* end confdefs.h. */
67356 #include <math.h>
67358 main ()
67360 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
67362 return 0;
67364 _ACEOF
67365 if ac_fn_cxx_try_compile "$LINENO"; then :
67366 glibcxx_cv_func_float_trig_use=yes
67367 else
67368 glibcxx_cv_func_float_trig_use=no
67370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67371 ac_ext=c
67372 ac_cpp='$CPP $CPPFLAGS'
67373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
67380 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
67381 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
67382 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
67383 do :
67384 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67385 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67386 eval as_val=\$$as_ac_var
67387 if test "x$as_val" = x""yes; then :
67388 cat >>confdefs.h <<_ACEOF
67389 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67390 _ACEOF
67393 done
67395 else
67396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
67397 $as_echo_n "checking for _float trig functions... " >&6; }
67398 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
67399 $as_echo_n "(cached) " >&6
67400 else
67403 ac_ext=cpp
67404 ac_cpp='$CXXCPP $CPPFLAGS'
67405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67410 /* end confdefs.h. */
67411 #include <math.h>
67413 main ()
67415 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
67417 return 0;
67419 _ACEOF
67420 if ac_fn_cxx_try_compile "$LINENO"; then :
67421 glibcxx_cv_func__float_trig_use=yes
67422 else
67423 glibcxx_cv_func__float_trig_use=no
67425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67426 ac_ext=c
67427 ac_cpp='$CPP $CPPFLAGS'
67428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
67435 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
67436 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
67437 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
67438 do :
67439 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67440 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67441 eval as_val=\$$as_ac_var
67442 if test "x$as_val" = x""yes; then :
67443 cat >>confdefs.h <<_ACEOF
67444 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67445 _ACEOF
67448 done
67457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
67458 $as_echo_n "checking for float round functions... " >&6; }
67459 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
67460 $as_echo_n "(cached) " >&6
67461 else
67464 ac_ext=cpp
67465 ac_cpp='$CXXCPP $CPPFLAGS'
67466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67471 /* end confdefs.h. */
67472 #include <math.h>
67474 main ()
67476 ceilf (0); floorf (0);
67478 return 0;
67480 _ACEOF
67481 if ac_fn_cxx_try_compile "$LINENO"; then :
67482 glibcxx_cv_func_float_round_use=yes
67483 else
67484 glibcxx_cv_func_float_round_use=no
67486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67487 ac_ext=c
67488 ac_cpp='$CPP $CPPFLAGS'
67489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
67496 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
67497 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
67498 for ac_func in ceilf floorf
67499 do :
67500 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67501 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67502 eval as_val=\$$as_ac_var
67503 if test "x$as_val" = x""yes; then :
67504 cat >>confdefs.h <<_ACEOF
67505 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67506 _ACEOF
67509 done
67511 else
67512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
67513 $as_echo_n "checking for _float round functions... " >&6; }
67514 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
67515 $as_echo_n "(cached) " >&6
67516 else
67519 ac_ext=cpp
67520 ac_cpp='$CXXCPP $CPPFLAGS'
67521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67526 /* end confdefs.h. */
67527 #include <math.h>
67529 main ()
67531 _ceilf (0); _floorf (0);
67533 return 0;
67535 _ACEOF
67536 if ac_fn_cxx_try_compile "$LINENO"; then :
67537 glibcxx_cv_func__float_round_use=yes
67538 else
67539 glibcxx_cv_func__float_round_use=no
67541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67542 ac_ext=c
67543 ac_cpp='$CPP $CPPFLAGS'
67544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
67551 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
67552 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
67553 for ac_func in _ceilf _floorf
67554 do :
67555 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67556 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67557 eval as_val=\$$as_ac_var
67558 if test "x$as_val" = x""yes; then :
67559 cat >>confdefs.h <<_ACEOF
67560 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67561 _ACEOF
67564 done
67574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
67575 $as_echo_n "checking for expf declaration... " >&6; }
67576 if test x${glibcxx_cv_func_expf_use+set} != xset; then
67577 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
67578 $as_echo_n "(cached) " >&6
67579 else
67582 ac_ext=cpp
67583 ac_cpp='$CXXCPP $CPPFLAGS'
67584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67589 /* end confdefs.h. */
67590 #include <math.h>
67591 #ifdef HAVE_IEEEFP_H
67592 #include <ieeefp.h>
67593 #endif
67596 main ()
67598 expf(0);
67600 return 0;
67602 _ACEOF
67603 if ac_fn_cxx_try_compile "$LINENO"; then :
67604 glibcxx_cv_func_expf_use=yes
67605 else
67606 glibcxx_cv_func_expf_use=no
67608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67609 ac_ext=c
67610 ac_cpp='$CPP $CPPFLAGS'
67611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
67620 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
67622 if test x$glibcxx_cv_func_expf_use = x"yes"; then
67623 for ac_func in expf
67624 do :
67625 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
67626 if test "x$ac_cv_func_expf" = x""yes; then :
67627 cat >>confdefs.h <<_ACEOF
67628 #define HAVE_EXPF 1
67629 _ACEOF
67632 done
67634 else
67636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
67637 $as_echo_n "checking for _expf declaration... " >&6; }
67638 if test x${glibcxx_cv_func__expf_use+set} != xset; then
67639 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
67640 $as_echo_n "(cached) " >&6
67641 else
67644 ac_ext=cpp
67645 ac_cpp='$CXXCPP $CPPFLAGS'
67646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67651 /* end confdefs.h. */
67652 #include <math.h>
67653 #ifdef HAVE_IEEEFP_H
67654 #include <ieeefp.h>
67655 #endif
67658 main ()
67660 _expf(0);
67662 return 0;
67664 _ACEOF
67665 if ac_fn_cxx_try_compile "$LINENO"; then :
67666 glibcxx_cv_func__expf_use=yes
67667 else
67668 glibcxx_cv_func__expf_use=no
67670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67671 ac_ext=c
67672 ac_cpp='$CPP $CPPFLAGS'
67673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
67682 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
67684 if test x$glibcxx_cv_func__expf_use = x"yes"; then
67685 for ac_func in _expf
67686 do :
67687 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
67688 if test "x$ac_cv_func__expf" = x""yes; then :
67689 cat >>confdefs.h <<_ACEOF
67690 #define HAVE__EXPF 1
67691 _ACEOF
67694 done
67703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
67704 $as_echo_n "checking for isnanf declaration... " >&6; }
67705 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
67706 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
67707 $as_echo_n "(cached) " >&6
67708 else
67711 ac_ext=cpp
67712 ac_cpp='$CXXCPP $CPPFLAGS'
67713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67718 /* end confdefs.h. */
67719 #include <math.h>
67720 #ifdef HAVE_IEEEFP_H
67721 #include <ieeefp.h>
67722 #endif
67725 main ()
67727 isnanf(0);
67729 return 0;
67731 _ACEOF
67732 if ac_fn_cxx_try_compile "$LINENO"; then :
67733 glibcxx_cv_func_isnanf_use=yes
67734 else
67735 glibcxx_cv_func_isnanf_use=no
67737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67738 ac_ext=c
67739 ac_cpp='$CPP $CPPFLAGS'
67740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
67749 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
67751 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
67752 for ac_func in isnanf
67753 do :
67754 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
67755 if test "x$ac_cv_func_isnanf" = x""yes; then :
67756 cat >>confdefs.h <<_ACEOF
67757 #define HAVE_ISNANF 1
67758 _ACEOF
67761 done
67763 else
67765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
67766 $as_echo_n "checking for _isnanf declaration... " >&6; }
67767 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
67768 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
67769 $as_echo_n "(cached) " >&6
67770 else
67773 ac_ext=cpp
67774 ac_cpp='$CXXCPP $CPPFLAGS'
67775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67780 /* end confdefs.h. */
67781 #include <math.h>
67782 #ifdef HAVE_IEEEFP_H
67783 #include <ieeefp.h>
67784 #endif
67787 main ()
67789 _isnanf(0);
67791 return 0;
67793 _ACEOF
67794 if ac_fn_cxx_try_compile "$LINENO"; then :
67795 glibcxx_cv_func__isnanf_use=yes
67796 else
67797 glibcxx_cv_func__isnanf_use=no
67799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67800 ac_ext=c
67801 ac_cpp='$CPP $CPPFLAGS'
67802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
67811 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
67813 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
67814 for ac_func in _isnanf
67815 do :
67816 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
67817 if test "x$ac_cv_func__isnanf" = x""yes; then :
67818 cat >>confdefs.h <<_ACEOF
67819 #define HAVE__ISNANF 1
67820 _ACEOF
67823 done
67832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
67833 $as_echo_n "checking for isinff declaration... " >&6; }
67834 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
67835 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
67836 $as_echo_n "(cached) " >&6
67837 else
67840 ac_ext=cpp
67841 ac_cpp='$CXXCPP $CPPFLAGS'
67842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67847 /* end confdefs.h. */
67848 #include <math.h>
67849 #ifdef HAVE_IEEEFP_H
67850 #include <ieeefp.h>
67851 #endif
67854 main ()
67856 isinff(0);
67858 return 0;
67860 _ACEOF
67861 if ac_fn_cxx_try_compile "$LINENO"; then :
67862 glibcxx_cv_func_isinff_use=yes
67863 else
67864 glibcxx_cv_func_isinff_use=no
67866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67867 ac_ext=c
67868 ac_cpp='$CPP $CPPFLAGS'
67869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
67878 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
67880 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
67881 for ac_func in isinff
67882 do :
67883 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
67884 if test "x$ac_cv_func_isinff" = x""yes; then :
67885 cat >>confdefs.h <<_ACEOF
67886 #define HAVE_ISINFF 1
67887 _ACEOF
67890 done
67892 else
67894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
67895 $as_echo_n "checking for _isinff declaration... " >&6; }
67896 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
67897 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
67898 $as_echo_n "(cached) " >&6
67899 else
67902 ac_ext=cpp
67903 ac_cpp='$CXXCPP $CPPFLAGS'
67904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67909 /* end confdefs.h. */
67910 #include <math.h>
67911 #ifdef HAVE_IEEEFP_H
67912 #include <ieeefp.h>
67913 #endif
67916 main ()
67918 _isinff(0);
67920 return 0;
67922 _ACEOF
67923 if ac_fn_cxx_try_compile "$LINENO"; then :
67924 glibcxx_cv_func__isinff_use=yes
67925 else
67926 glibcxx_cv_func__isinff_use=no
67928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67929 ac_ext=c
67930 ac_cpp='$CPP $CPPFLAGS'
67931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
67940 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
67942 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
67943 for ac_func in _isinff
67944 do :
67945 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
67946 if test "x$ac_cv_func__isinff" = x""yes; then :
67947 cat >>confdefs.h <<_ACEOF
67948 #define HAVE__ISINFF 1
67949 _ACEOF
67952 done
67961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
67962 $as_echo_n "checking for atan2f declaration... " >&6; }
67963 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
67964 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
67965 $as_echo_n "(cached) " >&6
67966 else
67969 ac_ext=cpp
67970 ac_cpp='$CXXCPP $CPPFLAGS'
67971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67976 /* end confdefs.h. */
67977 #include <math.h>
67979 main ()
67981 atan2f(0, 0);
67983 return 0;
67985 _ACEOF
67986 if ac_fn_cxx_try_compile "$LINENO"; then :
67987 glibcxx_cv_func_atan2f_use=yes
67988 else
67989 glibcxx_cv_func_atan2f_use=no
67991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67992 ac_ext=c
67993 ac_cpp='$CPP $CPPFLAGS'
67994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
68003 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
68005 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
68006 for ac_func in atan2f
68007 do :
68008 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
68009 if test "x$ac_cv_func_atan2f" = x""yes; then :
68010 cat >>confdefs.h <<_ACEOF
68011 #define HAVE_ATAN2F 1
68012 _ACEOF
68015 done
68017 else
68019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
68020 $as_echo_n "checking for _atan2f declaration... " >&6; }
68021 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
68022 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
68023 $as_echo_n "(cached) " >&6
68024 else
68027 ac_ext=cpp
68028 ac_cpp='$CXXCPP $CPPFLAGS'
68029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68034 /* end confdefs.h. */
68035 #include <math.h>
68037 main ()
68039 _atan2f(0, 0);
68041 return 0;
68043 _ACEOF
68044 if ac_fn_cxx_try_compile "$LINENO"; then :
68045 glibcxx_cv_func__atan2f_use=yes
68046 else
68047 glibcxx_cv_func__atan2f_use=no
68049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68050 ac_ext=c
68051 ac_cpp='$CPP $CPPFLAGS'
68052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
68061 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
68063 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
68064 for ac_func in _atan2f
68065 do :
68066 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
68067 if test "x$ac_cv_func__atan2f" = x""yes; then :
68068 cat >>confdefs.h <<_ACEOF
68069 #define HAVE__ATAN2F 1
68070 _ACEOF
68073 done
68082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
68083 $as_echo_n "checking for fabsf declaration... " >&6; }
68084 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
68085 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
68086 $as_echo_n "(cached) " >&6
68087 else
68090 ac_ext=cpp
68091 ac_cpp='$CXXCPP $CPPFLAGS'
68092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68097 /* end confdefs.h. */
68098 #include <math.h>
68099 #ifdef HAVE_IEEEFP_H
68100 #include <ieeefp.h>
68101 #endif
68104 main ()
68106 fabsf(0);
68108 return 0;
68110 _ACEOF
68111 if ac_fn_cxx_try_compile "$LINENO"; then :
68112 glibcxx_cv_func_fabsf_use=yes
68113 else
68114 glibcxx_cv_func_fabsf_use=no
68116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68117 ac_ext=c
68118 ac_cpp='$CPP $CPPFLAGS'
68119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
68128 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
68130 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
68131 for ac_func in fabsf
68132 do :
68133 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
68134 if test "x$ac_cv_func_fabsf" = x""yes; then :
68135 cat >>confdefs.h <<_ACEOF
68136 #define HAVE_FABSF 1
68137 _ACEOF
68140 done
68142 else
68144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
68145 $as_echo_n "checking for _fabsf declaration... " >&6; }
68146 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
68147 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
68148 $as_echo_n "(cached) " >&6
68149 else
68152 ac_ext=cpp
68153 ac_cpp='$CXXCPP $CPPFLAGS'
68154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68159 /* end confdefs.h. */
68160 #include <math.h>
68161 #ifdef HAVE_IEEEFP_H
68162 #include <ieeefp.h>
68163 #endif
68166 main ()
68168 _fabsf(0);
68170 return 0;
68172 _ACEOF
68173 if ac_fn_cxx_try_compile "$LINENO"; then :
68174 glibcxx_cv_func__fabsf_use=yes
68175 else
68176 glibcxx_cv_func__fabsf_use=no
68178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68179 ac_ext=c
68180 ac_cpp='$CPP $CPPFLAGS'
68181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
68190 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
68192 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
68193 for ac_func in _fabsf
68194 do :
68195 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
68196 if test "x$ac_cv_func__fabsf" = x""yes; then :
68197 cat >>confdefs.h <<_ACEOF
68198 #define HAVE__FABSF 1
68199 _ACEOF
68202 done
68211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
68212 $as_echo_n "checking for fmodf declaration... " >&6; }
68213 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
68214 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
68215 $as_echo_n "(cached) " >&6
68216 else
68219 ac_ext=cpp
68220 ac_cpp='$CXXCPP $CPPFLAGS'
68221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68226 /* end confdefs.h. */
68227 #include <math.h>
68229 main ()
68231 fmodf(0, 0);
68233 return 0;
68235 _ACEOF
68236 if ac_fn_cxx_try_compile "$LINENO"; then :
68237 glibcxx_cv_func_fmodf_use=yes
68238 else
68239 glibcxx_cv_func_fmodf_use=no
68241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68242 ac_ext=c
68243 ac_cpp='$CPP $CPPFLAGS'
68244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
68253 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
68255 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
68256 for ac_func in fmodf
68257 do :
68258 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
68259 if test "x$ac_cv_func_fmodf" = x""yes; then :
68260 cat >>confdefs.h <<_ACEOF
68261 #define HAVE_FMODF 1
68262 _ACEOF
68265 done
68267 else
68269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
68270 $as_echo_n "checking for _fmodf declaration... " >&6; }
68271 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
68272 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
68273 $as_echo_n "(cached) " >&6
68274 else
68277 ac_ext=cpp
68278 ac_cpp='$CXXCPP $CPPFLAGS'
68279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68284 /* end confdefs.h. */
68285 #include <math.h>
68287 main ()
68289 _fmodf(0, 0);
68291 return 0;
68293 _ACEOF
68294 if ac_fn_cxx_try_compile "$LINENO"; then :
68295 glibcxx_cv_func__fmodf_use=yes
68296 else
68297 glibcxx_cv_func__fmodf_use=no
68299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68300 ac_ext=c
68301 ac_cpp='$CPP $CPPFLAGS'
68302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
68311 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
68313 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
68314 for ac_func in _fmodf
68315 do :
68316 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
68317 if test "x$ac_cv_func__fmodf" = x""yes; then :
68318 cat >>confdefs.h <<_ACEOF
68319 #define HAVE__FMODF 1
68320 _ACEOF
68323 done
68332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
68333 $as_echo_n "checking for frexpf declaration... " >&6; }
68334 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
68335 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
68336 $as_echo_n "(cached) " >&6
68337 else
68340 ac_ext=cpp
68341 ac_cpp='$CXXCPP $CPPFLAGS'
68342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68347 /* end confdefs.h. */
68348 #include <math.h>
68350 main ()
68352 frexpf(0, 0);
68354 return 0;
68356 _ACEOF
68357 if ac_fn_cxx_try_compile "$LINENO"; then :
68358 glibcxx_cv_func_frexpf_use=yes
68359 else
68360 glibcxx_cv_func_frexpf_use=no
68362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68363 ac_ext=c
68364 ac_cpp='$CPP $CPPFLAGS'
68365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
68374 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
68376 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
68377 for ac_func in frexpf
68378 do :
68379 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
68380 if test "x$ac_cv_func_frexpf" = x""yes; then :
68381 cat >>confdefs.h <<_ACEOF
68382 #define HAVE_FREXPF 1
68383 _ACEOF
68386 done
68388 else
68390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
68391 $as_echo_n "checking for _frexpf declaration... " >&6; }
68392 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
68393 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
68394 $as_echo_n "(cached) " >&6
68395 else
68398 ac_ext=cpp
68399 ac_cpp='$CXXCPP $CPPFLAGS'
68400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68405 /* end confdefs.h. */
68406 #include <math.h>
68408 main ()
68410 _frexpf(0, 0);
68412 return 0;
68414 _ACEOF
68415 if ac_fn_cxx_try_compile "$LINENO"; then :
68416 glibcxx_cv_func__frexpf_use=yes
68417 else
68418 glibcxx_cv_func__frexpf_use=no
68420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68421 ac_ext=c
68422 ac_cpp='$CPP $CPPFLAGS'
68423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
68432 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
68434 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
68435 for ac_func in _frexpf
68436 do :
68437 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
68438 if test "x$ac_cv_func__frexpf" = x""yes; then :
68439 cat >>confdefs.h <<_ACEOF
68440 #define HAVE__FREXPF 1
68441 _ACEOF
68444 done
68453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
68454 $as_echo_n "checking for hypotf declaration... " >&6; }
68455 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
68456 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
68457 $as_echo_n "(cached) " >&6
68458 else
68461 ac_ext=cpp
68462 ac_cpp='$CXXCPP $CPPFLAGS'
68463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68468 /* end confdefs.h. */
68469 #include <math.h>
68471 main ()
68473 hypotf(0, 0);
68475 return 0;
68477 _ACEOF
68478 if ac_fn_cxx_try_compile "$LINENO"; then :
68479 glibcxx_cv_func_hypotf_use=yes
68480 else
68481 glibcxx_cv_func_hypotf_use=no
68483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68484 ac_ext=c
68485 ac_cpp='$CPP $CPPFLAGS'
68486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
68495 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
68497 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
68498 for ac_func in hypotf
68499 do :
68500 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
68501 if test "x$ac_cv_func_hypotf" = x""yes; then :
68502 cat >>confdefs.h <<_ACEOF
68503 #define HAVE_HYPOTF 1
68504 _ACEOF
68507 done
68509 else
68511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
68512 $as_echo_n "checking for _hypotf declaration... " >&6; }
68513 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
68514 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
68515 $as_echo_n "(cached) " >&6
68516 else
68519 ac_ext=cpp
68520 ac_cpp='$CXXCPP $CPPFLAGS'
68521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68526 /* end confdefs.h. */
68527 #include <math.h>
68529 main ()
68531 _hypotf(0, 0);
68533 return 0;
68535 _ACEOF
68536 if ac_fn_cxx_try_compile "$LINENO"; then :
68537 glibcxx_cv_func__hypotf_use=yes
68538 else
68539 glibcxx_cv_func__hypotf_use=no
68541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68542 ac_ext=c
68543 ac_cpp='$CPP $CPPFLAGS'
68544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
68553 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
68555 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
68556 for ac_func in _hypotf
68557 do :
68558 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
68559 if test "x$ac_cv_func__hypotf" = x""yes; then :
68560 cat >>confdefs.h <<_ACEOF
68561 #define HAVE__HYPOTF 1
68562 _ACEOF
68565 done
68574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
68575 $as_echo_n "checking for ldexpf declaration... " >&6; }
68576 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
68577 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
68578 $as_echo_n "(cached) " >&6
68579 else
68582 ac_ext=cpp
68583 ac_cpp='$CXXCPP $CPPFLAGS'
68584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68589 /* end confdefs.h. */
68590 #include <math.h>
68592 main ()
68594 ldexpf(0, 0);
68596 return 0;
68598 _ACEOF
68599 if ac_fn_cxx_try_compile "$LINENO"; then :
68600 glibcxx_cv_func_ldexpf_use=yes
68601 else
68602 glibcxx_cv_func_ldexpf_use=no
68604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68605 ac_ext=c
68606 ac_cpp='$CPP $CPPFLAGS'
68607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
68616 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
68618 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
68619 for ac_func in ldexpf
68620 do :
68621 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
68622 if test "x$ac_cv_func_ldexpf" = x""yes; then :
68623 cat >>confdefs.h <<_ACEOF
68624 #define HAVE_LDEXPF 1
68625 _ACEOF
68628 done
68630 else
68632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
68633 $as_echo_n "checking for _ldexpf declaration... " >&6; }
68634 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
68635 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
68636 $as_echo_n "(cached) " >&6
68637 else
68640 ac_ext=cpp
68641 ac_cpp='$CXXCPP $CPPFLAGS'
68642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68647 /* end confdefs.h. */
68648 #include <math.h>
68650 main ()
68652 _ldexpf(0, 0);
68654 return 0;
68656 _ACEOF
68657 if ac_fn_cxx_try_compile "$LINENO"; then :
68658 glibcxx_cv_func__ldexpf_use=yes
68659 else
68660 glibcxx_cv_func__ldexpf_use=no
68662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68663 ac_ext=c
68664 ac_cpp='$CPP $CPPFLAGS'
68665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
68674 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
68676 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
68677 for ac_func in _ldexpf
68678 do :
68679 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
68680 if test "x$ac_cv_func__ldexpf" = x""yes; then :
68681 cat >>confdefs.h <<_ACEOF
68682 #define HAVE__LDEXPF 1
68683 _ACEOF
68686 done
68695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
68696 $as_echo_n "checking for logf declaration... " >&6; }
68697 if test x${glibcxx_cv_func_logf_use+set} != xset; then
68698 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
68699 $as_echo_n "(cached) " >&6
68700 else
68703 ac_ext=cpp
68704 ac_cpp='$CXXCPP $CPPFLAGS'
68705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68710 /* end confdefs.h. */
68711 #include <math.h>
68712 #ifdef HAVE_IEEEFP_H
68713 #include <ieeefp.h>
68714 #endif
68717 main ()
68719 logf(0);
68721 return 0;
68723 _ACEOF
68724 if ac_fn_cxx_try_compile "$LINENO"; then :
68725 glibcxx_cv_func_logf_use=yes
68726 else
68727 glibcxx_cv_func_logf_use=no
68729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68730 ac_ext=c
68731 ac_cpp='$CPP $CPPFLAGS'
68732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
68741 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
68743 if test x$glibcxx_cv_func_logf_use = x"yes"; then
68744 for ac_func in logf
68745 do :
68746 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
68747 if test "x$ac_cv_func_logf" = x""yes; then :
68748 cat >>confdefs.h <<_ACEOF
68749 #define HAVE_LOGF 1
68750 _ACEOF
68753 done
68755 else
68757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
68758 $as_echo_n "checking for _logf declaration... " >&6; }
68759 if test x${glibcxx_cv_func__logf_use+set} != xset; then
68760 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
68761 $as_echo_n "(cached) " >&6
68762 else
68765 ac_ext=cpp
68766 ac_cpp='$CXXCPP $CPPFLAGS'
68767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68772 /* end confdefs.h. */
68773 #include <math.h>
68774 #ifdef HAVE_IEEEFP_H
68775 #include <ieeefp.h>
68776 #endif
68779 main ()
68781 _logf(0);
68783 return 0;
68785 _ACEOF
68786 if ac_fn_cxx_try_compile "$LINENO"; then :
68787 glibcxx_cv_func__logf_use=yes
68788 else
68789 glibcxx_cv_func__logf_use=no
68791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68792 ac_ext=c
68793 ac_cpp='$CPP $CPPFLAGS'
68794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
68803 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
68805 if test x$glibcxx_cv_func__logf_use = x"yes"; then
68806 for ac_func in _logf
68807 do :
68808 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
68809 if test "x$ac_cv_func__logf" = x""yes; then :
68810 cat >>confdefs.h <<_ACEOF
68811 #define HAVE__LOGF 1
68812 _ACEOF
68815 done
68824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
68825 $as_echo_n "checking for log10f declaration... " >&6; }
68826 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
68827 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
68828 $as_echo_n "(cached) " >&6
68829 else
68832 ac_ext=cpp
68833 ac_cpp='$CXXCPP $CPPFLAGS'
68834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68839 /* end confdefs.h. */
68840 #include <math.h>
68841 #ifdef HAVE_IEEEFP_H
68842 #include <ieeefp.h>
68843 #endif
68846 main ()
68848 log10f(0);
68850 return 0;
68852 _ACEOF
68853 if ac_fn_cxx_try_compile "$LINENO"; then :
68854 glibcxx_cv_func_log10f_use=yes
68855 else
68856 glibcxx_cv_func_log10f_use=no
68858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68859 ac_ext=c
68860 ac_cpp='$CPP $CPPFLAGS'
68861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
68870 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
68872 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
68873 for ac_func in log10f
68874 do :
68875 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
68876 if test "x$ac_cv_func_log10f" = x""yes; then :
68877 cat >>confdefs.h <<_ACEOF
68878 #define HAVE_LOG10F 1
68879 _ACEOF
68882 done
68884 else
68886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
68887 $as_echo_n "checking for _log10f declaration... " >&6; }
68888 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
68889 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
68890 $as_echo_n "(cached) " >&6
68891 else
68894 ac_ext=cpp
68895 ac_cpp='$CXXCPP $CPPFLAGS'
68896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68901 /* end confdefs.h. */
68902 #include <math.h>
68903 #ifdef HAVE_IEEEFP_H
68904 #include <ieeefp.h>
68905 #endif
68908 main ()
68910 _log10f(0);
68912 return 0;
68914 _ACEOF
68915 if ac_fn_cxx_try_compile "$LINENO"; then :
68916 glibcxx_cv_func__log10f_use=yes
68917 else
68918 glibcxx_cv_func__log10f_use=no
68920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68921 ac_ext=c
68922 ac_cpp='$CPP $CPPFLAGS'
68923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
68932 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
68934 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
68935 for ac_func in _log10f
68936 do :
68937 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
68938 if test "x$ac_cv_func__log10f" = x""yes; then :
68939 cat >>confdefs.h <<_ACEOF
68940 #define HAVE__LOG10F 1
68941 _ACEOF
68944 done
68953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
68954 $as_echo_n "checking for modff declaration... " >&6; }
68955 if test x${glibcxx_cv_func_modff_use+set} != xset; then
68956 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
68957 $as_echo_n "(cached) " >&6
68958 else
68961 ac_ext=cpp
68962 ac_cpp='$CXXCPP $CPPFLAGS'
68963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68968 /* end confdefs.h. */
68969 #include <math.h>
68971 main ()
68973 modff(0, 0);
68975 return 0;
68977 _ACEOF
68978 if ac_fn_cxx_try_compile "$LINENO"; then :
68979 glibcxx_cv_func_modff_use=yes
68980 else
68981 glibcxx_cv_func_modff_use=no
68983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68984 ac_ext=c
68985 ac_cpp='$CPP $CPPFLAGS'
68986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
68995 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
68997 if test x$glibcxx_cv_func_modff_use = x"yes"; then
68998 for ac_func in modff
68999 do :
69000 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
69001 if test "x$ac_cv_func_modff" = x""yes; then :
69002 cat >>confdefs.h <<_ACEOF
69003 #define HAVE_MODFF 1
69004 _ACEOF
69007 done
69009 else
69011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
69012 $as_echo_n "checking for _modff declaration... " >&6; }
69013 if test x${glibcxx_cv_func__modff_use+set} != xset; then
69014 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
69015 $as_echo_n "(cached) " >&6
69016 else
69019 ac_ext=cpp
69020 ac_cpp='$CXXCPP $CPPFLAGS'
69021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69026 /* end confdefs.h. */
69027 #include <math.h>
69029 main ()
69031 _modff(0, 0);
69033 return 0;
69035 _ACEOF
69036 if ac_fn_cxx_try_compile "$LINENO"; then :
69037 glibcxx_cv_func__modff_use=yes
69038 else
69039 glibcxx_cv_func__modff_use=no
69041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69042 ac_ext=c
69043 ac_cpp='$CPP $CPPFLAGS'
69044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
69053 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
69055 if test x$glibcxx_cv_func__modff_use = x"yes"; then
69056 for ac_func in _modff
69057 do :
69058 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
69059 if test "x$ac_cv_func__modff" = x""yes; then :
69060 cat >>confdefs.h <<_ACEOF
69061 #define HAVE__MODFF 1
69062 _ACEOF
69065 done
69074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
69075 $as_echo_n "checking for modf declaration... " >&6; }
69076 if test x${glibcxx_cv_func_modf_use+set} != xset; then
69077 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
69078 $as_echo_n "(cached) " >&6
69079 else
69082 ac_ext=cpp
69083 ac_cpp='$CXXCPP $CPPFLAGS'
69084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69089 /* end confdefs.h. */
69090 #include <math.h>
69092 main ()
69094 modf(0, 0);
69096 return 0;
69098 _ACEOF
69099 if ac_fn_cxx_try_compile "$LINENO"; then :
69100 glibcxx_cv_func_modf_use=yes
69101 else
69102 glibcxx_cv_func_modf_use=no
69104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69105 ac_ext=c
69106 ac_cpp='$CPP $CPPFLAGS'
69107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
69116 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
69118 if test x$glibcxx_cv_func_modf_use = x"yes"; then
69119 for ac_func in modf
69120 do :
69121 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
69122 if test "x$ac_cv_func_modf" = x""yes; then :
69123 cat >>confdefs.h <<_ACEOF
69124 #define HAVE_MODF 1
69125 _ACEOF
69128 done
69130 else
69132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
69133 $as_echo_n "checking for _modf declaration... " >&6; }
69134 if test x${glibcxx_cv_func__modf_use+set} != xset; then
69135 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
69136 $as_echo_n "(cached) " >&6
69137 else
69140 ac_ext=cpp
69141 ac_cpp='$CXXCPP $CPPFLAGS'
69142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69147 /* end confdefs.h. */
69148 #include <math.h>
69150 main ()
69152 _modf(0, 0);
69154 return 0;
69156 _ACEOF
69157 if ac_fn_cxx_try_compile "$LINENO"; then :
69158 glibcxx_cv_func__modf_use=yes
69159 else
69160 glibcxx_cv_func__modf_use=no
69162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69163 ac_ext=c
69164 ac_cpp='$CPP $CPPFLAGS'
69165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
69174 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
69176 if test x$glibcxx_cv_func__modf_use = x"yes"; then
69177 for ac_func in _modf
69178 do :
69179 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
69180 if test "x$ac_cv_func__modf" = x""yes; then :
69181 cat >>confdefs.h <<_ACEOF
69182 #define HAVE__MODF 1
69183 _ACEOF
69186 done
69195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
69196 $as_echo_n "checking for powf declaration... " >&6; }
69197 if test x${glibcxx_cv_func_powf_use+set} != xset; then
69198 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
69199 $as_echo_n "(cached) " >&6
69200 else
69203 ac_ext=cpp
69204 ac_cpp='$CXXCPP $CPPFLAGS'
69205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69210 /* end confdefs.h. */
69211 #include <math.h>
69213 main ()
69215 powf(0, 0);
69217 return 0;
69219 _ACEOF
69220 if ac_fn_cxx_try_compile "$LINENO"; then :
69221 glibcxx_cv_func_powf_use=yes
69222 else
69223 glibcxx_cv_func_powf_use=no
69225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69226 ac_ext=c
69227 ac_cpp='$CPP $CPPFLAGS'
69228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
69237 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
69239 if test x$glibcxx_cv_func_powf_use = x"yes"; then
69240 for ac_func in powf
69241 do :
69242 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
69243 if test "x$ac_cv_func_powf" = x""yes; then :
69244 cat >>confdefs.h <<_ACEOF
69245 #define HAVE_POWF 1
69246 _ACEOF
69249 done
69251 else
69253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
69254 $as_echo_n "checking for _powf declaration... " >&6; }
69255 if test x${glibcxx_cv_func__powf_use+set} != xset; then
69256 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
69257 $as_echo_n "(cached) " >&6
69258 else
69261 ac_ext=cpp
69262 ac_cpp='$CXXCPP $CPPFLAGS'
69263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69268 /* end confdefs.h. */
69269 #include <math.h>
69271 main ()
69273 _powf(0, 0);
69275 return 0;
69277 _ACEOF
69278 if ac_fn_cxx_try_compile "$LINENO"; then :
69279 glibcxx_cv_func__powf_use=yes
69280 else
69281 glibcxx_cv_func__powf_use=no
69283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69284 ac_ext=c
69285 ac_cpp='$CPP $CPPFLAGS'
69286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
69295 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
69297 if test x$glibcxx_cv_func__powf_use = x"yes"; then
69298 for ac_func in _powf
69299 do :
69300 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
69301 if test "x$ac_cv_func__powf" = x""yes; then :
69302 cat >>confdefs.h <<_ACEOF
69303 #define HAVE__POWF 1
69304 _ACEOF
69307 done
69316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
69317 $as_echo_n "checking for sqrtf declaration... " >&6; }
69318 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
69319 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
69320 $as_echo_n "(cached) " >&6
69321 else
69324 ac_ext=cpp
69325 ac_cpp='$CXXCPP $CPPFLAGS'
69326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69331 /* end confdefs.h. */
69332 #include <math.h>
69333 #ifdef HAVE_IEEEFP_H
69334 #include <ieeefp.h>
69335 #endif
69338 main ()
69340 sqrtf(0);
69342 return 0;
69344 _ACEOF
69345 if ac_fn_cxx_try_compile "$LINENO"; then :
69346 glibcxx_cv_func_sqrtf_use=yes
69347 else
69348 glibcxx_cv_func_sqrtf_use=no
69350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69351 ac_ext=c
69352 ac_cpp='$CPP $CPPFLAGS'
69353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
69362 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
69364 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
69365 for ac_func in sqrtf
69366 do :
69367 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
69368 if test "x$ac_cv_func_sqrtf" = x""yes; then :
69369 cat >>confdefs.h <<_ACEOF
69370 #define HAVE_SQRTF 1
69371 _ACEOF
69374 done
69376 else
69378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
69379 $as_echo_n "checking for _sqrtf declaration... " >&6; }
69380 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
69381 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
69382 $as_echo_n "(cached) " >&6
69383 else
69386 ac_ext=cpp
69387 ac_cpp='$CXXCPP $CPPFLAGS'
69388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69393 /* end confdefs.h. */
69394 #include <math.h>
69395 #ifdef HAVE_IEEEFP_H
69396 #include <ieeefp.h>
69397 #endif
69400 main ()
69402 _sqrtf(0);
69404 return 0;
69406 _ACEOF
69407 if ac_fn_cxx_try_compile "$LINENO"; then :
69408 glibcxx_cv_func__sqrtf_use=yes
69409 else
69410 glibcxx_cv_func__sqrtf_use=no
69412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69413 ac_ext=c
69414 ac_cpp='$CPP $CPPFLAGS'
69415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
69424 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
69426 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
69427 for ac_func in _sqrtf
69428 do :
69429 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
69430 if test "x$ac_cv_func__sqrtf" = x""yes; then :
69431 cat >>confdefs.h <<_ACEOF
69432 #define HAVE__SQRTF 1
69433 _ACEOF
69436 done
69445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
69446 $as_echo_n "checking for sincosf declaration... " >&6; }
69447 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
69448 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
69449 $as_echo_n "(cached) " >&6
69450 else
69453 ac_ext=cpp
69454 ac_cpp='$CXXCPP $CPPFLAGS'
69455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69460 /* end confdefs.h. */
69461 #include <math.h>
69463 main ()
69465 sincosf(0, 0, 0);
69467 return 0;
69469 _ACEOF
69470 if ac_fn_cxx_try_compile "$LINENO"; then :
69471 glibcxx_cv_func_sincosf_use=yes
69472 else
69473 glibcxx_cv_func_sincosf_use=no
69475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69476 ac_ext=c
69477 ac_cpp='$CPP $CPPFLAGS'
69478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
69487 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
69489 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
69490 for ac_func in sincosf
69491 do :
69492 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
69493 if test "x$ac_cv_func_sincosf" = x""yes; then :
69494 cat >>confdefs.h <<_ACEOF
69495 #define HAVE_SINCOSF 1
69496 _ACEOF
69499 done
69501 else
69503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
69504 $as_echo_n "checking for _sincosf declaration... " >&6; }
69505 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
69506 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
69507 $as_echo_n "(cached) " >&6
69508 else
69511 ac_ext=cpp
69512 ac_cpp='$CXXCPP $CPPFLAGS'
69513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69518 /* end confdefs.h. */
69519 #include <math.h>
69521 main ()
69523 _sincosf(0, 0, 0);
69525 return 0;
69527 _ACEOF
69528 if ac_fn_cxx_try_compile "$LINENO"; then :
69529 glibcxx_cv_func__sincosf_use=yes
69530 else
69531 glibcxx_cv_func__sincosf_use=no
69533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69534 ac_ext=c
69535 ac_cpp='$CPP $CPPFLAGS'
69536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
69545 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
69547 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
69548 for ac_func in _sincosf
69549 do :
69550 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
69551 if test "x$ac_cv_func__sincosf" = x""yes; then :
69552 cat >>confdefs.h <<_ACEOF
69553 #define HAVE__SINCOSF 1
69554 _ACEOF
69557 done
69566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
69567 $as_echo_n "checking for finitef declaration... " >&6; }
69568 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
69569 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
69570 $as_echo_n "(cached) " >&6
69571 else
69574 ac_ext=cpp
69575 ac_cpp='$CXXCPP $CPPFLAGS'
69576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69581 /* end confdefs.h. */
69582 #include <math.h>
69583 #ifdef HAVE_IEEEFP_H
69584 #include <ieeefp.h>
69585 #endif
69588 main ()
69590 finitef(0);
69592 return 0;
69594 _ACEOF
69595 if ac_fn_cxx_try_compile "$LINENO"; then :
69596 glibcxx_cv_func_finitef_use=yes
69597 else
69598 glibcxx_cv_func_finitef_use=no
69600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69601 ac_ext=c
69602 ac_cpp='$CPP $CPPFLAGS'
69603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
69612 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
69614 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
69615 for ac_func in finitef
69616 do :
69617 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
69618 if test "x$ac_cv_func_finitef" = x""yes; then :
69619 cat >>confdefs.h <<_ACEOF
69620 #define HAVE_FINITEF 1
69621 _ACEOF
69624 done
69626 else
69628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
69629 $as_echo_n "checking for _finitef declaration... " >&6; }
69630 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
69631 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
69632 $as_echo_n "(cached) " >&6
69633 else
69636 ac_ext=cpp
69637 ac_cpp='$CXXCPP $CPPFLAGS'
69638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69643 /* end confdefs.h. */
69644 #include <math.h>
69645 #ifdef HAVE_IEEEFP_H
69646 #include <ieeefp.h>
69647 #endif
69650 main ()
69652 _finitef(0);
69654 return 0;
69656 _ACEOF
69657 if ac_fn_cxx_try_compile "$LINENO"; then :
69658 glibcxx_cv_func__finitef_use=yes
69659 else
69660 glibcxx_cv_func__finitef_use=no
69662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69663 ac_ext=c
69664 ac_cpp='$CPP $CPPFLAGS'
69665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
69674 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
69676 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
69677 for ac_func in _finitef
69678 do :
69679 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
69680 if test "x$ac_cv_func__finitef" = x""yes; then :
69681 cat >>confdefs.h <<_ACEOF
69682 #define HAVE__FINITEF 1
69683 _ACEOF
69686 done
69695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
69696 $as_echo_n "checking for long double trig functions... " >&6; }
69697 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
69698 $as_echo_n "(cached) " >&6
69699 else
69702 ac_ext=cpp
69703 ac_cpp='$CXXCPP $CPPFLAGS'
69704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69709 /* end confdefs.h. */
69710 #include <math.h>
69712 main ()
69714 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
69716 return 0;
69718 _ACEOF
69719 if ac_fn_cxx_try_compile "$LINENO"; then :
69720 glibcxx_cv_func_long_double_trig_use=yes
69721 else
69722 glibcxx_cv_func_long_double_trig_use=no
69724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69725 ac_ext=c
69726 ac_cpp='$CPP $CPPFLAGS'
69727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
69734 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
69735 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
69736 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
69737 do :
69738 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
69739 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
69740 eval as_val=\$$as_ac_var
69741 if test "x$as_val" = x""yes; then :
69742 cat >>confdefs.h <<_ACEOF
69743 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
69744 _ACEOF
69747 done
69749 else
69750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
69751 $as_echo_n "checking for _long double trig functions... " >&6; }
69752 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
69753 $as_echo_n "(cached) " >&6
69754 else
69757 ac_ext=cpp
69758 ac_cpp='$CXXCPP $CPPFLAGS'
69759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69764 /* end confdefs.h. */
69765 #include <math.h>
69767 main ()
69769 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
69771 return 0;
69773 _ACEOF
69774 if ac_fn_cxx_try_compile "$LINENO"; then :
69775 glibcxx_cv_func__long_double_trig_use=yes
69776 else
69777 glibcxx_cv_func__long_double_trig_use=no
69779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69780 ac_ext=c
69781 ac_cpp='$CPP $CPPFLAGS'
69782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
69789 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
69790 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
69791 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
69792 do :
69793 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
69794 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
69795 eval as_val=\$$as_ac_var
69796 if test "x$as_val" = x""yes; then :
69797 cat >>confdefs.h <<_ACEOF
69798 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
69799 _ACEOF
69802 done
69811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
69812 $as_echo_n "checking for long double round functions... " >&6; }
69813 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
69814 $as_echo_n "(cached) " >&6
69815 else
69818 ac_ext=cpp
69819 ac_cpp='$CXXCPP $CPPFLAGS'
69820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69825 /* end confdefs.h. */
69826 #include <math.h>
69828 main ()
69830 ceill (0); floorl (0);
69832 return 0;
69834 _ACEOF
69835 if ac_fn_cxx_try_compile "$LINENO"; then :
69836 glibcxx_cv_func_long_double_round_use=yes
69837 else
69838 glibcxx_cv_func_long_double_round_use=no
69840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69841 ac_ext=c
69842 ac_cpp='$CPP $CPPFLAGS'
69843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
69850 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
69851 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
69852 for ac_func in ceill floorl
69853 do :
69854 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
69855 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
69856 eval as_val=\$$as_ac_var
69857 if test "x$as_val" = x""yes; then :
69858 cat >>confdefs.h <<_ACEOF
69859 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
69860 _ACEOF
69863 done
69865 else
69866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
69867 $as_echo_n "checking for _long double round functions... " >&6; }
69868 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
69869 $as_echo_n "(cached) " >&6
69870 else
69873 ac_ext=cpp
69874 ac_cpp='$CXXCPP $CPPFLAGS'
69875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69880 /* end confdefs.h. */
69881 #include <math.h>
69883 main ()
69885 _ceill (0); _floorl (0);
69887 return 0;
69889 _ACEOF
69890 if ac_fn_cxx_try_compile "$LINENO"; then :
69891 glibcxx_cv_func__long_double_round_use=yes
69892 else
69893 glibcxx_cv_func__long_double_round_use=no
69895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69896 ac_ext=c
69897 ac_cpp='$CPP $CPPFLAGS'
69898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
69905 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
69906 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
69907 for ac_func in _ceill _floorl
69908 do :
69909 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
69910 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
69911 eval as_val=\$$as_ac_var
69912 if test "x$as_val" = x""yes; then :
69913 cat >>confdefs.h <<_ACEOF
69914 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
69915 _ACEOF
69918 done
69928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
69929 $as_echo_n "checking for isnanl declaration... " >&6; }
69930 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
69931 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
69932 $as_echo_n "(cached) " >&6
69933 else
69936 ac_ext=cpp
69937 ac_cpp='$CXXCPP $CPPFLAGS'
69938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69943 /* end confdefs.h. */
69944 #include <math.h>
69945 #ifdef HAVE_IEEEFP_H
69946 #include <ieeefp.h>
69947 #endif
69950 main ()
69952 isnanl(0);
69954 return 0;
69956 _ACEOF
69957 if ac_fn_cxx_try_compile "$LINENO"; then :
69958 glibcxx_cv_func_isnanl_use=yes
69959 else
69960 glibcxx_cv_func_isnanl_use=no
69962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69963 ac_ext=c
69964 ac_cpp='$CPP $CPPFLAGS'
69965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
69974 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
69976 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
69977 for ac_func in isnanl
69978 do :
69979 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
69980 if test "x$ac_cv_func_isnanl" = x""yes; then :
69981 cat >>confdefs.h <<_ACEOF
69982 #define HAVE_ISNANL 1
69983 _ACEOF
69986 done
69988 else
69990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
69991 $as_echo_n "checking for _isnanl declaration... " >&6; }
69992 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
69993 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
69994 $as_echo_n "(cached) " >&6
69995 else
69998 ac_ext=cpp
69999 ac_cpp='$CXXCPP $CPPFLAGS'
70000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70005 /* end confdefs.h. */
70006 #include <math.h>
70007 #ifdef HAVE_IEEEFP_H
70008 #include <ieeefp.h>
70009 #endif
70012 main ()
70014 _isnanl(0);
70016 return 0;
70018 _ACEOF
70019 if ac_fn_cxx_try_compile "$LINENO"; then :
70020 glibcxx_cv_func__isnanl_use=yes
70021 else
70022 glibcxx_cv_func__isnanl_use=no
70024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70025 ac_ext=c
70026 ac_cpp='$CPP $CPPFLAGS'
70027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
70036 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
70038 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
70039 for ac_func in _isnanl
70040 do :
70041 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
70042 if test "x$ac_cv_func__isnanl" = x""yes; then :
70043 cat >>confdefs.h <<_ACEOF
70044 #define HAVE__ISNANL 1
70045 _ACEOF
70048 done
70057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
70058 $as_echo_n "checking for isinfl declaration... " >&6; }
70059 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
70060 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
70061 $as_echo_n "(cached) " >&6
70062 else
70065 ac_ext=cpp
70066 ac_cpp='$CXXCPP $CPPFLAGS'
70067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70072 /* end confdefs.h. */
70073 #include <math.h>
70074 #ifdef HAVE_IEEEFP_H
70075 #include <ieeefp.h>
70076 #endif
70079 main ()
70081 isinfl(0);
70083 return 0;
70085 _ACEOF
70086 if ac_fn_cxx_try_compile "$LINENO"; then :
70087 glibcxx_cv_func_isinfl_use=yes
70088 else
70089 glibcxx_cv_func_isinfl_use=no
70091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70092 ac_ext=c
70093 ac_cpp='$CPP $CPPFLAGS'
70094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
70103 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
70105 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
70106 for ac_func in isinfl
70107 do :
70108 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
70109 if test "x$ac_cv_func_isinfl" = x""yes; then :
70110 cat >>confdefs.h <<_ACEOF
70111 #define HAVE_ISINFL 1
70112 _ACEOF
70115 done
70117 else
70119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
70120 $as_echo_n "checking for _isinfl declaration... " >&6; }
70121 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
70122 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
70123 $as_echo_n "(cached) " >&6
70124 else
70127 ac_ext=cpp
70128 ac_cpp='$CXXCPP $CPPFLAGS'
70129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70134 /* end confdefs.h. */
70135 #include <math.h>
70136 #ifdef HAVE_IEEEFP_H
70137 #include <ieeefp.h>
70138 #endif
70141 main ()
70143 _isinfl(0);
70145 return 0;
70147 _ACEOF
70148 if ac_fn_cxx_try_compile "$LINENO"; then :
70149 glibcxx_cv_func__isinfl_use=yes
70150 else
70151 glibcxx_cv_func__isinfl_use=no
70153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70154 ac_ext=c
70155 ac_cpp='$CPP $CPPFLAGS'
70156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
70165 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
70167 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
70168 for ac_func in _isinfl
70169 do :
70170 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
70171 if test "x$ac_cv_func__isinfl" = x""yes; then :
70172 cat >>confdefs.h <<_ACEOF
70173 #define HAVE__ISINFL 1
70174 _ACEOF
70177 done
70186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
70187 $as_echo_n "checking for atan2l declaration... " >&6; }
70188 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
70189 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
70190 $as_echo_n "(cached) " >&6
70191 else
70194 ac_ext=cpp
70195 ac_cpp='$CXXCPP $CPPFLAGS'
70196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70201 /* end confdefs.h. */
70202 #include <math.h>
70204 main ()
70206 atan2l(0, 0);
70208 return 0;
70210 _ACEOF
70211 if ac_fn_cxx_try_compile "$LINENO"; then :
70212 glibcxx_cv_func_atan2l_use=yes
70213 else
70214 glibcxx_cv_func_atan2l_use=no
70216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70217 ac_ext=c
70218 ac_cpp='$CPP $CPPFLAGS'
70219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
70228 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
70230 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
70231 for ac_func in atan2l
70232 do :
70233 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
70234 if test "x$ac_cv_func_atan2l" = x""yes; then :
70235 cat >>confdefs.h <<_ACEOF
70236 #define HAVE_ATAN2L 1
70237 _ACEOF
70240 done
70242 else
70244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
70245 $as_echo_n "checking for _atan2l declaration... " >&6; }
70246 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
70247 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
70248 $as_echo_n "(cached) " >&6
70249 else
70252 ac_ext=cpp
70253 ac_cpp='$CXXCPP $CPPFLAGS'
70254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70259 /* end confdefs.h. */
70260 #include <math.h>
70262 main ()
70264 _atan2l(0, 0);
70266 return 0;
70268 _ACEOF
70269 if ac_fn_cxx_try_compile "$LINENO"; then :
70270 glibcxx_cv_func__atan2l_use=yes
70271 else
70272 glibcxx_cv_func__atan2l_use=no
70274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70275 ac_ext=c
70276 ac_cpp='$CPP $CPPFLAGS'
70277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
70286 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
70288 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
70289 for ac_func in _atan2l
70290 do :
70291 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
70292 if test "x$ac_cv_func__atan2l" = x""yes; then :
70293 cat >>confdefs.h <<_ACEOF
70294 #define HAVE__ATAN2L 1
70295 _ACEOF
70298 done
70307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
70308 $as_echo_n "checking for expl declaration... " >&6; }
70309 if test x${glibcxx_cv_func_expl_use+set} != xset; then
70310 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
70311 $as_echo_n "(cached) " >&6
70312 else
70315 ac_ext=cpp
70316 ac_cpp='$CXXCPP $CPPFLAGS'
70317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70322 /* end confdefs.h. */
70323 #include <math.h>
70324 #ifdef HAVE_IEEEFP_H
70325 #include <ieeefp.h>
70326 #endif
70329 main ()
70331 expl(0);
70333 return 0;
70335 _ACEOF
70336 if ac_fn_cxx_try_compile "$LINENO"; then :
70337 glibcxx_cv_func_expl_use=yes
70338 else
70339 glibcxx_cv_func_expl_use=no
70341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70342 ac_ext=c
70343 ac_cpp='$CPP $CPPFLAGS'
70344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
70353 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
70355 if test x$glibcxx_cv_func_expl_use = x"yes"; then
70356 for ac_func in expl
70357 do :
70358 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
70359 if test "x$ac_cv_func_expl" = x""yes; then :
70360 cat >>confdefs.h <<_ACEOF
70361 #define HAVE_EXPL 1
70362 _ACEOF
70365 done
70367 else
70369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
70370 $as_echo_n "checking for _expl declaration... " >&6; }
70371 if test x${glibcxx_cv_func__expl_use+set} != xset; then
70372 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
70373 $as_echo_n "(cached) " >&6
70374 else
70377 ac_ext=cpp
70378 ac_cpp='$CXXCPP $CPPFLAGS'
70379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70384 /* end confdefs.h. */
70385 #include <math.h>
70386 #ifdef HAVE_IEEEFP_H
70387 #include <ieeefp.h>
70388 #endif
70391 main ()
70393 _expl(0);
70395 return 0;
70397 _ACEOF
70398 if ac_fn_cxx_try_compile "$LINENO"; then :
70399 glibcxx_cv_func__expl_use=yes
70400 else
70401 glibcxx_cv_func__expl_use=no
70403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70404 ac_ext=c
70405 ac_cpp='$CPP $CPPFLAGS'
70406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
70415 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
70417 if test x$glibcxx_cv_func__expl_use = x"yes"; then
70418 for ac_func in _expl
70419 do :
70420 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
70421 if test "x$ac_cv_func__expl" = x""yes; then :
70422 cat >>confdefs.h <<_ACEOF
70423 #define HAVE__EXPL 1
70424 _ACEOF
70427 done
70436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
70437 $as_echo_n "checking for fabsl declaration... " >&6; }
70438 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
70439 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
70440 $as_echo_n "(cached) " >&6
70441 else
70444 ac_ext=cpp
70445 ac_cpp='$CXXCPP $CPPFLAGS'
70446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70451 /* end confdefs.h. */
70452 #include <math.h>
70453 #ifdef HAVE_IEEEFP_H
70454 #include <ieeefp.h>
70455 #endif
70458 main ()
70460 fabsl(0);
70462 return 0;
70464 _ACEOF
70465 if ac_fn_cxx_try_compile "$LINENO"; then :
70466 glibcxx_cv_func_fabsl_use=yes
70467 else
70468 glibcxx_cv_func_fabsl_use=no
70470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70471 ac_ext=c
70472 ac_cpp='$CPP $CPPFLAGS'
70473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
70482 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
70484 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
70485 for ac_func in fabsl
70486 do :
70487 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
70488 if test "x$ac_cv_func_fabsl" = x""yes; then :
70489 cat >>confdefs.h <<_ACEOF
70490 #define HAVE_FABSL 1
70491 _ACEOF
70494 done
70496 else
70498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
70499 $as_echo_n "checking for _fabsl declaration... " >&6; }
70500 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
70501 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
70502 $as_echo_n "(cached) " >&6
70503 else
70506 ac_ext=cpp
70507 ac_cpp='$CXXCPP $CPPFLAGS'
70508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70513 /* end confdefs.h. */
70514 #include <math.h>
70515 #ifdef HAVE_IEEEFP_H
70516 #include <ieeefp.h>
70517 #endif
70520 main ()
70522 _fabsl(0);
70524 return 0;
70526 _ACEOF
70527 if ac_fn_cxx_try_compile "$LINENO"; then :
70528 glibcxx_cv_func__fabsl_use=yes
70529 else
70530 glibcxx_cv_func__fabsl_use=no
70532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70533 ac_ext=c
70534 ac_cpp='$CPP $CPPFLAGS'
70535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
70544 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
70546 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
70547 for ac_func in _fabsl
70548 do :
70549 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
70550 if test "x$ac_cv_func__fabsl" = x""yes; then :
70551 cat >>confdefs.h <<_ACEOF
70552 #define HAVE__FABSL 1
70553 _ACEOF
70556 done
70565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
70566 $as_echo_n "checking for fmodl declaration... " >&6; }
70567 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
70568 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
70569 $as_echo_n "(cached) " >&6
70570 else
70573 ac_ext=cpp
70574 ac_cpp='$CXXCPP $CPPFLAGS'
70575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70580 /* end confdefs.h. */
70581 #include <math.h>
70583 main ()
70585 fmodl(0, 0);
70587 return 0;
70589 _ACEOF
70590 if ac_fn_cxx_try_compile "$LINENO"; then :
70591 glibcxx_cv_func_fmodl_use=yes
70592 else
70593 glibcxx_cv_func_fmodl_use=no
70595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70596 ac_ext=c
70597 ac_cpp='$CPP $CPPFLAGS'
70598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
70607 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
70609 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
70610 for ac_func in fmodl
70611 do :
70612 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
70613 if test "x$ac_cv_func_fmodl" = x""yes; then :
70614 cat >>confdefs.h <<_ACEOF
70615 #define HAVE_FMODL 1
70616 _ACEOF
70619 done
70621 else
70623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
70624 $as_echo_n "checking for _fmodl declaration... " >&6; }
70625 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
70626 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
70627 $as_echo_n "(cached) " >&6
70628 else
70631 ac_ext=cpp
70632 ac_cpp='$CXXCPP $CPPFLAGS'
70633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70638 /* end confdefs.h. */
70639 #include <math.h>
70641 main ()
70643 _fmodl(0, 0);
70645 return 0;
70647 _ACEOF
70648 if ac_fn_cxx_try_compile "$LINENO"; then :
70649 glibcxx_cv_func__fmodl_use=yes
70650 else
70651 glibcxx_cv_func__fmodl_use=no
70653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70654 ac_ext=c
70655 ac_cpp='$CPP $CPPFLAGS'
70656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
70665 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
70667 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
70668 for ac_func in _fmodl
70669 do :
70670 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
70671 if test "x$ac_cv_func__fmodl" = x""yes; then :
70672 cat >>confdefs.h <<_ACEOF
70673 #define HAVE__FMODL 1
70674 _ACEOF
70677 done
70686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
70687 $as_echo_n "checking for frexpl declaration... " >&6; }
70688 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
70689 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
70690 $as_echo_n "(cached) " >&6
70691 else
70694 ac_ext=cpp
70695 ac_cpp='$CXXCPP $CPPFLAGS'
70696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70701 /* end confdefs.h. */
70702 #include <math.h>
70704 main ()
70706 frexpl(0, 0);
70708 return 0;
70710 _ACEOF
70711 if ac_fn_cxx_try_compile "$LINENO"; then :
70712 glibcxx_cv_func_frexpl_use=yes
70713 else
70714 glibcxx_cv_func_frexpl_use=no
70716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70717 ac_ext=c
70718 ac_cpp='$CPP $CPPFLAGS'
70719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
70728 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
70730 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
70731 for ac_func in frexpl
70732 do :
70733 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
70734 if test "x$ac_cv_func_frexpl" = x""yes; then :
70735 cat >>confdefs.h <<_ACEOF
70736 #define HAVE_FREXPL 1
70737 _ACEOF
70740 done
70742 else
70744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
70745 $as_echo_n "checking for _frexpl declaration... " >&6; }
70746 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
70747 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
70748 $as_echo_n "(cached) " >&6
70749 else
70752 ac_ext=cpp
70753 ac_cpp='$CXXCPP $CPPFLAGS'
70754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70759 /* end confdefs.h. */
70760 #include <math.h>
70762 main ()
70764 _frexpl(0, 0);
70766 return 0;
70768 _ACEOF
70769 if ac_fn_cxx_try_compile "$LINENO"; then :
70770 glibcxx_cv_func__frexpl_use=yes
70771 else
70772 glibcxx_cv_func__frexpl_use=no
70774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70775 ac_ext=c
70776 ac_cpp='$CPP $CPPFLAGS'
70777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
70786 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
70788 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
70789 for ac_func in _frexpl
70790 do :
70791 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
70792 if test "x$ac_cv_func__frexpl" = x""yes; then :
70793 cat >>confdefs.h <<_ACEOF
70794 #define HAVE__FREXPL 1
70795 _ACEOF
70798 done
70807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
70808 $as_echo_n "checking for hypotl declaration... " >&6; }
70809 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
70810 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
70811 $as_echo_n "(cached) " >&6
70812 else
70815 ac_ext=cpp
70816 ac_cpp='$CXXCPP $CPPFLAGS'
70817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70822 /* end confdefs.h. */
70823 #include <math.h>
70825 main ()
70827 hypotl(0, 0);
70829 return 0;
70831 _ACEOF
70832 if ac_fn_cxx_try_compile "$LINENO"; then :
70833 glibcxx_cv_func_hypotl_use=yes
70834 else
70835 glibcxx_cv_func_hypotl_use=no
70837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70838 ac_ext=c
70839 ac_cpp='$CPP $CPPFLAGS'
70840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
70849 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
70851 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
70852 for ac_func in hypotl
70853 do :
70854 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
70855 if test "x$ac_cv_func_hypotl" = x""yes; then :
70856 cat >>confdefs.h <<_ACEOF
70857 #define HAVE_HYPOTL 1
70858 _ACEOF
70861 done
70863 else
70865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
70866 $as_echo_n "checking for _hypotl declaration... " >&6; }
70867 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
70868 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
70869 $as_echo_n "(cached) " >&6
70870 else
70873 ac_ext=cpp
70874 ac_cpp='$CXXCPP $CPPFLAGS'
70875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70880 /* end confdefs.h. */
70881 #include <math.h>
70883 main ()
70885 _hypotl(0, 0);
70887 return 0;
70889 _ACEOF
70890 if ac_fn_cxx_try_compile "$LINENO"; then :
70891 glibcxx_cv_func__hypotl_use=yes
70892 else
70893 glibcxx_cv_func__hypotl_use=no
70895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70896 ac_ext=c
70897 ac_cpp='$CPP $CPPFLAGS'
70898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
70907 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
70909 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
70910 for ac_func in _hypotl
70911 do :
70912 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
70913 if test "x$ac_cv_func__hypotl" = x""yes; then :
70914 cat >>confdefs.h <<_ACEOF
70915 #define HAVE__HYPOTL 1
70916 _ACEOF
70919 done
70928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
70929 $as_echo_n "checking for ldexpl declaration... " >&6; }
70930 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
70931 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
70932 $as_echo_n "(cached) " >&6
70933 else
70936 ac_ext=cpp
70937 ac_cpp='$CXXCPP $CPPFLAGS'
70938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70943 /* end confdefs.h. */
70944 #include <math.h>
70946 main ()
70948 ldexpl(0, 0);
70950 return 0;
70952 _ACEOF
70953 if ac_fn_cxx_try_compile "$LINENO"; then :
70954 glibcxx_cv_func_ldexpl_use=yes
70955 else
70956 glibcxx_cv_func_ldexpl_use=no
70958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70959 ac_ext=c
70960 ac_cpp='$CPP $CPPFLAGS'
70961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
70970 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
70972 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
70973 for ac_func in ldexpl
70974 do :
70975 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
70976 if test "x$ac_cv_func_ldexpl" = x""yes; then :
70977 cat >>confdefs.h <<_ACEOF
70978 #define HAVE_LDEXPL 1
70979 _ACEOF
70982 done
70984 else
70986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
70987 $as_echo_n "checking for _ldexpl declaration... " >&6; }
70988 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
70989 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
70990 $as_echo_n "(cached) " >&6
70991 else
70994 ac_ext=cpp
70995 ac_cpp='$CXXCPP $CPPFLAGS'
70996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71001 /* end confdefs.h. */
71002 #include <math.h>
71004 main ()
71006 _ldexpl(0, 0);
71008 return 0;
71010 _ACEOF
71011 if ac_fn_cxx_try_compile "$LINENO"; then :
71012 glibcxx_cv_func__ldexpl_use=yes
71013 else
71014 glibcxx_cv_func__ldexpl_use=no
71016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71017 ac_ext=c
71018 ac_cpp='$CPP $CPPFLAGS'
71019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
71028 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
71030 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
71031 for ac_func in _ldexpl
71032 do :
71033 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
71034 if test "x$ac_cv_func__ldexpl" = x""yes; then :
71035 cat >>confdefs.h <<_ACEOF
71036 #define HAVE__LDEXPL 1
71037 _ACEOF
71040 done
71049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
71050 $as_echo_n "checking for logl declaration... " >&6; }
71051 if test x${glibcxx_cv_func_logl_use+set} != xset; then
71052 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
71053 $as_echo_n "(cached) " >&6
71054 else
71057 ac_ext=cpp
71058 ac_cpp='$CXXCPP $CPPFLAGS'
71059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71064 /* end confdefs.h. */
71065 #include <math.h>
71066 #ifdef HAVE_IEEEFP_H
71067 #include <ieeefp.h>
71068 #endif
71071 main ()
71073 logl(0);
71075 return 0;
71077 _ACEOF
71078 if ac_fn_cxx_try_compile "$LINENO"; then :
71079 glibcxx_cv_func_logl_use=yes
71080 else
71081 glibcxx_cv_func_logl_use=no
71083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71084 ac_ext=c
71085 ac_cpp='$CPP $CPPFLAGS'
71086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
71095 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
71097 if test x$glibcxx_cv_func_logl_use = x"yes"; then
71098 for ac_func in logl
71099 do :
71100 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
71101 if test "x$ac_cv_func_logl" = x""yes; then :
71102 cat >>confdefs.h <<_ACEOF
71103 #define HAVE_LOGL 1
71104 _ACEOF
71107 done
71109 else
71111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
71112 $as_echo_n "checking for _logl declaration... " >&6; }
71113 if test x${glibcxx_cv_func__logl_use+set} != xset; then
71114 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
71115 $as_echo_n "(cached) " >&6
71116 else
71119 ac_ext=cpp
71120 ac_cpp='$CXXCPP $CPPFLAGS'
71121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71126 /* end confdefs.h. */
71127 #include <math.h>
71128 #ifdef HAVE_IEEEFP_H
71129 #include <ieeefp.h>
71130 #endif
71133 main ()
71135 _logl(0);
71137 return 0;
71139 _ACEOF
71140 if ac_fn_cxx_try_compile "$LINENO"; then :
71141 glibcxx_cv_func__logl_use=yes
71142 else
71143 glibcxx_cv_func__logl_use=no
71145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71146 ac_ext=c
71147 ac_cpp='$CPP $CPPFLAGS'
71148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
71157 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
71159 if test x$glibcxx_cv_func__logl_use = x"yes"; then
71160 for ac_func in _logl
71161 do :
71162 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
71163 if test "x$ac_cv_func__logl" = x""yes; then :
71164 cat >>confdefs.h <<_ACEOF
71165 #define HAVE__LOGL 1
71166 _ACEOF
71169 done
71178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
71179 $as_echo_n "checking for log10l declaration... " >&6; }
71180 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
71181 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
71182 $as_echo_n "(cached) " >&6
71183 else
71186 ac_ext=cpp
71187 ac_cpp='$CXXCPP $CPPFLAGS'
71188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71193 /* end confdefs.h. */
71194 #include <math.h>
71195 #ifdef HAVE_IEEEFP_H
71196 #include <ieeefp.h>
71197 #endif
71200 main ()
71202 log10l(0);
71204 return 0;
71206 _ACEOF
71207 if ac_fn_cxx_try_compile "$LINENO"; then :
71208 glibcxx_cv_func_log10l_use=yes
71209 else
71210 glibcxx_cv_func_log10l_use=no
71212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71213 ac_ext=c
71214 ac_cpp='$CPP $CPPFLAGS'
71215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
71224 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
71226 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
71227 for ac_func in log10l
71228 do :
71229 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
71230 if test "x$ac_cv_func_log10l" = x""yes; then :
71231 cat >>confdefs.h <<_ACEOF
71232 #define HAVE_LOG10L 1
71233 _ACEOF
71236 done
71238 else
71240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
71241 $as_echo_n "checking for _log10l declaration... " >&6; }
71242 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
71243 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
71244 $as_echo_n "(cached) " >&6
71245 else
71248 ac_ext=cpp
71249 ac_cpp='$CXXCPP $CPPFLAGS'
71250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71255 /* end confdefs.h. */
71256 #include <math.h>
71257 #ifdef HAVE_IEEEFP_H
71258 #include <ieeefp.h>
71259 #endif
71262 main ()
71264 _log10l(0);
71266 return 0;
71268 _ACEOF
71269 if ac_fn_cxx_try_compile "$LINENO"; then :
71270 glibcxx_cv_func__log10l_use=yes
71271 else
71272 glibcxx_cv_func__log10l_use=no
71274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71275 ac_ext=c
71276 ac_cpp='$CPP $CPPFLAGS'
71277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
71286 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
71288 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
71289 for ac_func in _log10l
71290 do :
71291 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
71292 if test "x$ac_cv_func__log10l" = x""yes; then :
71293 cat >>confdefs.h <<_ACEOF
71294 #define HAVE__LOG10L 1
71295 _ACEOF
71298 done
71307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
71308 $as_echo_n "checking for modfl declaration... " >&6; }
71309 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
71310 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
71311 $as_echo_n "(cached) " >&6
71312 else
71315 ac_ext=cpp
71316 ac_cpp='$CXXCPP $CPPFLAGS'
71317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71322 /* end confdefs.h. */
71323 #include <math.h>
71325 main ()
71327 modfl(0, 0);
71329 return 0;
71331 _ACEOF
71332 if ac_fn_cxx_try_compile "$LINENO"; then :
71333 glibcxx_cv_func_modfl_use=yes
71334 else
71335 glibcxx_cv_func_modfl_use=no
71337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71338 ac_ext=c
71339 ac_cpp='$CPP $CPPFLAGS'
71340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
71349 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
71351 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
71352 for ac_func in modfl
71353 do :
71354 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
71355 if test "x$ac_cv_func_modfl" = x""yes; then :
71356 cat >>confdefs.h <<_ACEOF
71357 #define HAVE_MODFL 1
71358 _ACEOF
71361 done
71363 else
71365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
71366 $as_echo_n "checking for _modfl declaration... " >&6; }
71367 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
71368 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
71369 $as_echo_n "(cached) " >&6
71370 else
71373 ac_ext=cpp
71374 ac_cpp='$CXXCPP $CPPFLAGS'
71375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71380 /* end confdefs.h. */
71381 #include <math.h>
71383 main ()
71385 _modfl(0, 0);
71387 return 0;
71389 _ACEOF
71390 if ac_fn_cxx_try_compile "$LINENO"; then :
71391 glibcxx_cv_func__modfl_use=yes
71392 else
71393 glibcxx_cv_func__modfl_use=no
71395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71396 ac_ext=c
71397 ac_cpp='$CPP $CPPFLAGS'
71398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
71407 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
71409 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
71410 for ac_func in _modfl
71411 do :
71412 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
71413 if test "x$ac_cv_func__modfl" = x""yes; then :
71414 cat >>confdefs.h <<_ACEOF
71415 #define HAVE__MODFL 1
71416 _ACEOF
71419 done
71428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
71429 $as_echo_n "checking for powl declaration... " >&6; }
71430 if test x${glibcxx_cv_func_powl_use+set} != xset; then
71431 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
71432 $as_echo_n "(cached) " >&6
71433 else
71436 ac_ext=cpp
71437 ac_cpp='$CXXCPP $CPPFLAGS'
71438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71443 /* end confdefs.h. */
71444 #include <math.h>
71446 main ()
71448 powl(0, 0);
71450 return 0;
71452 _ACEOF
71453 if ac_fn_cxx_try_compile "$LINENO"; then :
71454 glibcxx_cv_func_powl_use=yes
71455 else
71456 glibcxx_cv_func_powl_use=no
71458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71459 ac_ext=c
71460 ac_cpp='$CPP $CPPFLAGS'
71461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
71470 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
71472 if test x$glibcxx_cv_func_powl_use = x"yes"; then
71473 for ac_func in powl
71474 do :
71475 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
71476 if test "x$ac_cv_func_powl" = x""yes; then :
71477 cat >>confdefs.h <<_ACEOF
71478 #define HAVE_POWL 1
71479 _ACEOF
71482 done
71484 else
71486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
71487 $as_echo_n "checking for _powl declaration... " >&6; }
71488 if test x${glibcxx_cv_func__powl_use+set} != xset; then
71489 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
71490 $as_echo_n "(cached) " >&6
71491 else
71494 ac_ext=cpp
71495 ac_cpp='$CXXCPP $CPPFLAGS'
71496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71501 /* end confdefs.h. */
71502 #include <math.h>
71504 main ()
71506 _powl(0, 0);
71508 return 0;
71510 _ACEOF
71511 if ac_fn_cxx_try_compile "$LINENO"; then :
71512 glibcxx_cv_func__powl_use=yes
71513 else
71514 glibcxx_cv_func__powl_use=no
71516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71517 ac_ext=c
71518 ac_cpp='$CPP $CPPFLAGS'
71519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
71528 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
71530 if test x$glibcxx_cv_func__powl_use = x"yes"; then
71531 for ac_func in _powl
71532 do :
71533 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
71534 if test "x$ac_cv_func__powl" = x""yes; then :
71535 cat >>confdefs.h <<_ACEOF
71536 #define HAVE__POWL 1
71537 _ACEOF
71540 done
71549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
71550 $as_echo_n "checking for sqrtl declaration... " >&6; }
71551 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
71552 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
71553 $as_echo_n "(cached) " >&6
71554 else
71557 ac_ext=cpp
71558 ac_cpp='$CXXCPP $CPPFLAGS'
71559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71564 /* end confdefs.h. */
71565 #include <math.h>
71566 #ifdef HAVE_IEEEFP_H
71567 #include <ieeefp.h>
71568 #endif
71571 main ()
71573 sqrtl(0);
71575 return 0;
71577 _ACEOF
71578 if ac_fn_cxx_try_compile "$LINENO"; then :
71579 glibcxx_cv_func_sqrtl_use=yes
71580 else
71581 glibcxx_cv_func_sqrtl_use=no
71583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71584 ac_ext=c
71585 ac_cpp='$CPP $CPPFLAGS'
71586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
71595 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
71597 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
71598 for ac_func in sqrtl
71599 do :
71600 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
71601 if test "x$ac_cv_func_sqrtl" = x""yes; then :
71602 cat >>confdefs.h <<_ACEOF
71603 #define HAVE_SQRTL 1
71604 _ACEOF
71607 done
71609 else
71611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
71612 $as_echo_n "checking for _sqrtl declaration... " >&6; }
71613 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
71614 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
71615 $as_echo_n "(cached) " >&6
71616 else
71619 ac_ext=cpp
71620 ac_cpp='$CXXCPP $CPPFLAGS'
71621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71626 /* end confdefs.h. */
71627 #include <math.h>
71628 #ifdef HAVE_IEEEFP_H
71629 #include <ieeefp.h>
71630 #endif
71633 main ()
71635 _sqrtl(0);
71637 return 0;
71639 _ACEOF
71640 if ac_fn_cxx_try_compile "$LINENO"; then :
71641 glibcxx_cv_func__sqrtl_use=yes
71642 else
71643 glibcxx_cv_func__sqrtl_use=no
71645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71646 ac_ext=c
71647 ac_cpp='$CPP $CPPFLAGS'
71648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
71657 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
71659 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
71660 for ac_func in _sqrtl
71661 do :
71662 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
71663 if test "x$ac_cv_func__sqrtl" = x""yes; then :
71664 cat >>confdefs.h <<_ACEOF
71665 #define HAVE__SQRTL 1
71666 _ACEOF
71669 done
71678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
71679 $as_echo_n "checking for sincosl declaration... " >&6; }
71680 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
71681 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
71682 $as_echo_n "(cached) " >&6
71683 else
71686 ac_ext=cpp
71687 ac_cpp='$CXXCPP $CPPFLAGS'
71688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71693 /* end confdefs.h. */
71694 #include <math.h>
71696 main ()
71698 sincosl(0, 0, 0);
71700 return 0;
71702 _ACEOF
71703 if ac_fn_cxx_try_compile "$LINENO"; then :
71704 glibcxx_cv_func_sincosl_use=yes
71705 else
71706 glibcxx_cv_func_sincosl_use=no
71708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71709 ac_ext=c
71710 ac_cpp='$CPP $CPPFLAGS'
71711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
71720 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
71722 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
71723 for ac_func in sincosl
71724 do :
71725 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
71726 if test "x$ac_cv_func_sincosl" = x""yes; then :
71727 cat >>confdefs.h <<_ACEOF
71728 #define HAVE_SINCOSL 1
71729 _ACEOF
71732 done
71734 else
71736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
71737 $as_echo_n "checking for _sincosl declaration... " >&6; }
71738 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
71739 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
71740 $as_echo_n "(cached) " >&6
71741 else
71744 ac_ext=cpp
71745 ac_cpp='$CXXCPP $CPPFLAGS'
71746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71751 /* end confdefs.h. */
71752 #include <math.h>
71754 main ()
71756 _sincosl(0, 0, 0);
71758 return 0;
71760 _ACEOF
71761 if ac_fn_cxx_try_compile "$LINENO"; then :
71762 glibcxx_cv_func__sincosl_use=yes
71763 else
71764 glibcxx_cv_func__sincosl_use=no
71766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71767 ac_ext=c
71768 ac_cpp='$CPP $CPPFLAGS'
71769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
71778 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
71780 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
71781 for ac_func in _sincosl
71782 do :
71783 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
71784 if test "x$ac_cv_func__sincosl" = x""yes; then :
71785 cat >>confdefs.h <<_ACEOF
71786 #define HAVE__SINCOSL 1
71787 _ACEOF
71790 done
71799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
71800 $as_echo_n "checking for finitel declaration... " >&6; }
71801 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
71802 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
71803 $as_echo_n "(cached) " >&6
71804 else
71807 ac_ext=cpp
71808 ac_cpp='$CXXCPP $CPPFLAGS'
71809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71814 /* end confdefs.h. */
71815 #include <math.h>
71816 #ifdef HAVE_IEEEFP_H
71817 #include <ieeefp.h>
71818 #endif
71821 main ()
71823 finitel(0);
71825 return 0;
71827 _ACEOF
71828 if ac_fn_cxx_try_compile "$LINENO"; then :
71829 glibcxx_cv_func_finitel_use=yes
71830 else
71831 glibcxx_cv_func_finitel_use=no
71833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71834 ac_ext=c
71835 ac_cpp='$CPP $CPPFLAGS'
71836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
71845 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
71847 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
71848 for ac_func in finitel
71849 do :
71850 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
71851 if test "x$ac_cv_func_finitel" = x""yes; then :
71852 cat >>confdefs.h <<_ACEOF
71853 #define HAVE_FINITEL 1
71854 _ACEOF
71857 done
71859 else
71861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
71862 $as_echo_n "checking for _finitel declaration... " >&6; }
71863 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
71864 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
71865 $as_echo_n "(cached) " >&6
71866 else
71869 ac_ext=cpp
71870 ac_cpp='$CXXCPP $CPPFLAGS'
71871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71876 /* end confdefs.h. */
71877 #include <math.h>
71878 #ifdef HAVE_IEEEFP_H
71879 #include <ieeefp.h>
71880 #endif
71883 main ()
71885 _finitel(0);
71887 return 0;
71889 _ACEOF
71890 if ac_fn_cxx_try_compile "$LINENO"; then :
71891 glibcxx_cv_func__finitel_use=yes
71892 else
71893 glibcxx_cv_func__finitel_use=no
71895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71896 ac_ext=c
71897 ac_cpp='$CPP $CPPFLAGS'
71898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
71907 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
71909 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
71910 for ac_func in _finitel
71911 do :
71912 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
71913 if test "x$ac_cv_func__finitel" = x""yes; then :
71914 cat >>confdefs.h <<_ACEOF
71915 #define HAVE__FINITEL 1
71916 _ACEOF
71919 done
71927 LIBS="$ac_save_LIBS"
71928 CXXFLAGS="$ac_save_CXXFLAGS"
71931 ac_test_CXXFLAGS="${CXXFLAGS+set}"
71932 ac_save_CXXFLAGS="$CXXFLAGS"
71933 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
71936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
71937 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
71938 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
71939 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
71940 $as_echo_n "(cached) " >&6
71941 else
71944 ac_ext=cpp
71945 ac_cpp='$CXXCPP $CPPFLAGS'
71946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71951 /* end confdefs.h. */
71952 #include <stdlib.h>
71954 main ()
71956 at_quick_exit(0);
71958 return 0;
71960 _ACEOF
71961 if ac_fn_cxx_try_compile "$LINENO"; then :
71962 glibcxx_cv_func_at_quick_exit_use=yes
71963 else
71964 glibcxx_cv_func_at_quick_exit_use=no
71966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71967 ac_ext=c
71968 ac_cpp='$CPP $CPPFLAGS'
71969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
71978 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
71979 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
71980 for ac_func in at_quick_exit
71981 do :
71982 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
71983 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
71984 cat >>confdefs.h <<_ACEOF
71985 #define HAVE_AT_QUICK_EXIT 1
71986 _ACEOF
71989 done
71994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
71995 $as_echo_n "checking for quick_exit declaration... " >&6; }
71996 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
71997 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
71998 $as_echo_n "(cached) " >&6
71999 else
72002 ac_ext=cpp
72003 ac_cpp='$CXXCPP $CPPFLAGS'
72004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72009 /* end confdefs.h. */
72010 #include <stdlib.h>
72012 main ()
72014 quick_exit(0);
72016 return 0;
72018 _ACEOF
72019 if ac_fn_cxx_try_compile "$LINENO"; then :
72020 glibcxx_cv_func_quick_exit_use=yes
72021 else
72022 glibcxx_cv_func_quick_exit_use=no
72024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72025 ac_ext=c
72026 ac_cpp='$CPP $CPPFLAGS'
72027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
72036 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
72037 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
72038 for ac_func in quick_exit
72039 do :
72040 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
72041 if test "x$ac_cv_func_quick_exit" = x""yes; then :
72042 cat >>confdefs.h <<_ACEOF
72043 #define HAVE_QUICK_EXIT 1
72044 _ACEOF
72047 done
72052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
72053 $as_echo_n "checking for strtold declaration... " >&6; }
72054 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
72055 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
72056 $as_echo_n "(cached) " >&6
72057 else
72060 ac_ext=cpp
72061 ac_cpp='$CXXCPP $CPPFLAGS'
72062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72067 /* end confdefs.h. */
72068 #include <stdlib.h>
72070 main ()
72072 strtold(0, 0);
72074 return 0;
72076 _ACEOF
72077 if ac_fn_cxx_try_compile "$LINENO"; then :
72078 glibcxx_cv_func_strtold_use=yes
72079 else
72080 glibcxx_cv_func_strtold_use=no
72082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72083 ac_ext=c
72084 ac_cpp='$CPP $CPPFLAGS'
72085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
72094 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
72095 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
72096 for ac_func in strtold
72097 do :
72098 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
72099 if test "x$ac_cv_func_strtold" = x""yes; then :
72100 cat >>confdefs.h <<_ACEOF
72101 #define HAVE_STRTOLD 1
72102 _ACEOF
72105 done
72112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
72113 $as_echo_n "checking for strtof declaration... " >&6; }
72114 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
72115 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
72116 $as_echo_n "(cached) " >&6
72117 else
72120 ac_ext=cpp
72121 ac_cpp='$CXXCPP $CPPFLAGS'
72122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72127 /* end confdefs.h. */
72128 #include <stdlib.h>
72130 main ()
72132 strtof(0, 0);
72134 return 0;
72136 _ACEOF
72137 if ac_fn_cxx_try_compile "$LINENO"; then :
72138 glibcxx_cv_func_strtof_use=yes
72139 else
72140 glibcxx_cv_func_strtof_use=no
72142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72143 ac_ext=c
72144 ac_cpp='$CPP $CPPFLAGS'
72145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
72154 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
72155 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
72156 for ac_func in strtof
72157 do :
72158 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
72159 if test "x$ac_cv_func_strtof" = x""yes; then :
72160 cat >>confdefs.h <<_ACEOF
72161 #define HAVE_STRTOF 1
72162 _ACEOF
72165 done
72172 CXXFLAGS="$ac_save_CXXFLAGS"
72175 *-solaris*)
72177 # If we're not using GNU ld, then there's no point in even trying these
72178 # tests. Check for that first. We should have already tested for gld
72179 # by now (in libtool), but require it now just to be safe...
72180 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
72181 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
72185 # The name set by libtool depends on the version of libtool. Shame on us
72186 # for depending on an impl detail, but c'est la vie. Older versions used
72187 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
72188 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
72189 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
72190 # set (hence we're using an older libtool), then set it.
72191 if test x${with_gnu_ld+set} != xset; then
72192 if test x${ac_cv_prog_gnu_ld+set} != xset; then
72193 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
72194 with_gnu_ld=no
72195 else
72196 with_gnu_ld=$ac_cv_prog_gnu_ld
72200 # Start by getting the version number. I think the libtool test already
72201 # does some of this, but throws away the result.
72202 glibcxx_ld_is_gold=no
72203 if test x"$with_gnu_ld" = x"yes"; then
72204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
72205 $as_echo_n "checking for ld version... " >&6; }
72207 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
72208 glibcxx_ld_is_gold=yes
72210 ldver=`$LD --version 2>/dev/null |
72211 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'`
72213 glibcxx_gnu_ld_version=`echo $ldver | \
72214 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
72215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
72216 $as_echo "$glibcxx_gnu_ld_version" >&6; }
72219 # Set --gc-sections.
72220 glibcxx_have_gc_sections=no
72221 if test "$glibcxx_ld_is_gold" = "yes"; then
72222 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
72223 glibcxx_have_gc_sections=yes
72225 else
72226 glibcxx_gcsections_min_ld=21602
72227 if test x"$with_gnu_ld" = x"yes" &&
72228 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
72229 glibcxx_have_gc_sections=yes
72232 if test "$glibcxx_have_gc_sections" = "yes"; then
72233 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
72234 # NB: This flag only works reliably after 2.16.1. Configure tests
72235 # for this are difficult, so hard wire a value that should work.
72237 ac_test_CFLAGS="${CFLAGS+set}"
72238 ac_save_CFLAGS="$CFLAGS"
72239 CFLAGS='-Wl,--gc-sections'
72241 # Check for -Wl,--gc-sections
72242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
72243 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
72244 if test x$gcc_no_link = xyes; then
72245 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
72247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72248 /* end confdefs.h. */
72249 int one(void) { return 1; }
72250 int two(void) { return 2; }
72253 main ()
72255 two();
72257 return 0;
72259 _ACEOF
72260 if ac_fn_c_try_link "$LINENO"; then :
72261 ac_gcsections=yes
72262 else
72263 ac_gcsections=no
72265 rm -f core conftest.err conftest.$ac_objext \
72266 conftest$ac_exeext conftest.$ac_ext
72267 if test "$ac_gcsections" = "yes"; then
72268 rm -f conftest.c
72269 touch conftest.c
72270 if $CC -c conftest.c; then
72271 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
72272 grep "Warning: gc-sections option ignored" > /dev/null; then
72273 ac_gcsections=no
72276 rm -f conftest.c conftest.o conftest
72278 if test "$ac_gcsections" = "yes"; then
72279 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
72281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
72282 $as_echo "$ac_gcsections" >&6; }
72284 if test "$ac_test_CFLAGS" = set; then
72285 CFLAGS="$ac_save_CFLAGS"
72286 else
72287 # this is the suspicious part
72288 CFLAGS=''
72292 # Set -z,relro.
72293 # Note this is only for shared objects.
72294 ac_ld_relro=no
72295 if test x"$with_gnu_ld" = x"yes"; then
72296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
72297 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
72298 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
72299 if test -n "$cxx_z_relo"; then
72300 OPT_LDFLAGS="-Wl,-z,relro"
72301 ac_ld_relro=yes
72303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
72304 $as_echo "$ac_ld_relro" >&6; }
72307 # Set linker optimization flags.
72308 if test x"$with_gnu_ld" = x"yes"; then
72309 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
72315 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
72317 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
72319 $as_echo "#define HAVE_FPCLASS 1" >>confdefs.h
72321 # All of the dependencies for wide character support are here, so
72322 # turn it on.
72323 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
72325 # These two C99 functions are present only in Solaris >= 10
72326 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
72328 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
72330 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
72332 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
72334 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
72336 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
72339 *-tpf)
72340 SECTION_FLAGS='-ffunction-sections -fdata-sections'
72341 SECTION_LDFLAGS='-Wl,--gc-sections $SECTION_LDFLAGS'
72343 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
72345 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
72347 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
72349 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
72351 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
72353 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
72355 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
72357 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
72359 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
72361 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
72363 if test x"long_double_math_on_this_cpu" = x"yes"; then
72364 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
72366 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
72368 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
72370 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
72374 *-*vms*)
72375 # Check for available headers.
72376 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, VMS doesn't have a GNU ld
72378 ac_test_CXXFLAGS="${CXXFLAGS+set}"
72379 ac_save_CXXFLAGS="$CXXFLAGS"
72380 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
72382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
72383 $as_echo_n "checking for sin in -lm... " >&6; }
72384 if test "${ac_cv_lib_m_sin+set}" = set; then :
72385 $as_echo_n "(cached) " >&6
72386 else
72387 ac_check_lib_save_LIBS=$LIBS
72388 LIBS="-lm $LIBS"
72389 if test x$gcc_no_link = xyes; then
72390 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
72392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72393 /* end confdefs.h. */
72395 /* Override any GCC internal prototype to avoid an error.
72396 Use char because int might match the return type of a GCC
72397 builtin and then its argument prototype would still apply. */
72398 #ifdef __cplusplus
72399 extern "C"
72400 #endif
72401 char sin ();
72403 main ()
72405 return sin ();
72407 return 0;
72409 _ACEOF
72410 if ac_fn_c_try_link "$LINENO"; then :
72411 ac_cv_lib_m_sin=yes
72412 else
72413 ac_cv_lib_m_sin=no
72415 rm -f core conftest.err conftest.$ac_objext \
72416 conftest$ac_exeext conftest.$ac_ext
72417 LIBS=$ac_check_lib_save_LIBS
72419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
72420 $as_echo "$ac_cv_lib_m_sin" >&6; }
72421 if test "x$ac_cv_lib_m_sin" = x""yes; then :
72422 libm="-lm"
72425 ac_save_LIBS="$LIBS"
72426 LIBS="$LIBS $libm"
72430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
72431 $as_echo_n "checking for isinf declaration... " >&6; }
72432 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
72433 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
72434 $as_echo_n "(cached) " >&6
72435 else
72438 ac_ext=cpp
72439 ac_cpp='$CXXCPP $CPPFLAGS'
72440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72445 /* end confdefs.h. */
72446 #include <math.h>
72447 #ifdef HAVE_IEEEFP_H
72448 #include <ieeefp.h>
72449 #endif
72452 main ()
72454 isinf(0);
72456 return 0;
72458 _ACEOF
72459 if ac_fn_cxx_try_compile "$LINENO"; then :
72460 glibcxx_cv_func_isinf_use=yes
72461 else
72462 glibcxx_cv_func_isinf_use=no
72464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72465 ac_ext=c
72466 ac_cpp='$CPP $CPPFLAGS'
72467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
72476 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
72478 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
72479 for ac_func in isinf
72480 do :
72481 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
72482 if test "x$ac_cv_func_isinf" = x""yes; then :
72483 cat >>confdefs.h <<_ACEOF
72484 #define HAVE_ISINF 1
72485 _ACEOF
72488 done
72490 else
72492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
72493 $as_echo_n "checking for _isinf declaration... " >&6; }
72494 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
72495 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
72496 $as_echo_n "(cached) " >&6
72497 else
72500 ac_ext=cpp
72501 ac_cpp='$CXXCPP $CPPFLAGS'
72502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72507 /* end confdefs.h. */
72508 #include <math.h>
72509 #ifdef HAVE_IEEEFP_H
72510 #include <ieeefp.h>
72511 #endif
72514 main ()
72516 _isinf(0);
72518 return 0;
72520 _ACEOF
72521 if ac_fn_cxx_try_compile "$LINENO"; then :
72522 glibcxx_cv_func__isinf_use=yes
72523 else
72524 glibcxx_cv_func__isinf_use=no
72526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72527 ac_ext=c
72528 ac_cpp='$CPP $CPPFLAGS'
72529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
72538 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
72540 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
72541 for ac_func in _isinf
72542 do :
72543 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
72544 if test "x$ac_cv_func__isinf" = x""yes; then :
72545 cat >>confdefs.h <<_ACEOF
72546 #define HAVE__ISINF 1
72547 _ACEOF
72550 done
72559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
72560 $as_echo_n "checking for isnan declaration... " >&6; }
72561 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
72562 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
72563 $as_echo_n "(cached) " >&6
72564 else
72567 ac_ext=cpp
72568 ac_cpp='$CXXCPP $CPPFLAGS'
72569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72574 /* end confdefs.h. */
72575 #include <math.h>
72576 #ifdef HAVE_IEEEFP_H
72577 #include <ieeefp.h>
72578 #endif
72581 main ()
72583 isnan(0);
72585 return 0;
72587 _ACEOF
72588 if ac_fn_cxx_try_compile "$LINENO"; then :
72589 glibcxx_cv_func_isnan_use=yes
72590 else
72591 glibcxx_cv_func_isnan_use=no
72593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72594 ac_ext=c
72595 ac_cpp='$CPP $CPPFLAGS'
72596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
72605 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
72607 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
72608 for ac_func in isnan
72609 do :
72610 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
72611 if test "x$ac_cv_func_isnan" = x""yes; then :
72612 cat >>confdefs.h <<_ACEOF
72613 #define HAVE_ISNAN 1
72614 _ACEOF
72617 done
72619 else
72621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
72622 $as_echo_n "checking for _isnan declaration... " >&6; }
72623 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
72624 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
72625 $as_echo_n "(cached) " >&6
72626 else
72629 ac_ext=cpp
72630 ac_cpp='$CXXCPP $CPPFLAGS'
72631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72636 /* end confdefs.h. */
72637 #include <math.h>
72638 #ifdef HAVE_IEEEFP_H
72639 #include <ieeefp.h>
72640 #endif
72643 main ()
72645 _isnan(0);
72647 return 0;
72649 _ACEOF
72650 if ac_fn_cxx_try_compile "$LINENO"; then :
72651 glibcxx_cv_func__isnan_use=yes
72652 else
72653 glibcxx_cv_func__isnan_use=no
72655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72656 ac_ext=c
72657 ac_cpp='$CPP $CPPFLAGS'
72658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
72667 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
72669 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
72670 for ac_func in _isnan
72671 do :
72672 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
72673 if test "x$ac_cv_func__isnan" = x""yes; then :
72674 cat >>confdefs.h <<_ACEOF
72675 #define HAVE__ISNAN 1
72676 _ACEOF
72679 done
72688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
72689 $as_echo_n "checking for finite declaration... " >&6; }
72690 if test x${glibcxx_cv_func_finite_use+set} != xset; then
72691 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
72692 $as_echo_n "(cached) " >&6
72693 else
72696 ac_ext=cpp
72697 ac_cpp='$CXXCPP $CPPFLAGS'
72698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72703 /* end confdefs.h. */
72704 #include <math.h>
72705 #ifdef HAVE_IEEEFP_H
72706 #include <ieeefp.h>
72707 #endif
72710 main ()
72712 finite(0);
72714 return 0;
72716 _ACEOF
72717 if ac_fn_cxx_try_compile "$LINENO"; then :
72718 glibcxx_cv_func_finite_use=yes
72719 else
72720 glibcxx_cv_func_finite_use=no
72722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72723 ac_ext=c
72724 ac_cpp='$CPP $CPPFLAGS'
72725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
72734 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
72736 if test x$glibcxx_cv_func_finite_use = x"yes"; then
72737 for ac_func in finite
72738 do :
72739 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
72740 if test "x$ac_cv_func_finite" = x""yes; then :
72741 cat >>confdefs.h <<_ACEOF
72742 #define HAVE_FINITE 1
72743 _ACEOF
72746 done
72748 else
72750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
72751 $as_echo_n "checking for _finite declaration... " >&6; }
72752 if test x${glibcxx_cv_func__finite_use+set} != xset; then
72753 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
72754 $as_echo_n "(cached) " >&6
72755 else
72758 ac_ext=cpp
72759 ac_cpp='$CXXCPP $CPPFLAGS'
72760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72765 /* end confdefs.h. */
72766 #include <math.h>
72767 #ifdef HAVE_IEEEFP_H
72768 #include <ieeefp.h>
72769 #endif
72772 main ()
72774 _finite(0);
72776 return 0;
72778 _ACEOF
72779 if ac_fn_cxx_try_compile "$LINENO"; then :
72780 glibcxx_cv_func__finite_use=yes
72781 else
72782 glibcxx_cv_func__finite_use=no
72784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72785 ac_ext=c
72786 ac_cpp='$CPP $CPPFLAGS'
72787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
72796 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
72798 if test x$glibcxx_cv_func__finite_use = x"yes"; then
72799 for ac_func in _finite
72800 do :
72801 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
72802 if test "x$ac_cv_func__finite" = x""yes; then :
72803 cat >>confdefs.h <<_ACEOF
72804 #define HAVE__FINITE 1
72805 _ACEOF
72808 done
72817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
72818 $as_echo_n "checking for sincos declaration... " >&6; }
72819 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
72820 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
72821 $as_echo_n "(cached) " >&6
72822 else
72825 ac_ext=cpp
72826 ac_cpp='$CXXCPP $CPPFLAGS'
72827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72832 /* end confdefs.h. */
72833 #include <math.h>
72835 main ()
72837 sincos(0, 0, 0);
72839 return 0;
72841 _ACEOF
72842 if ac_fn_cxx_try_compile "$LINENO"; then :
72843 glibcxx_cv_func_sincos_use=yes
72844 else
72845 glibcxx_cv_func_sincos_use=no
72847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72848 ac_ext=c
72849 ac_cpp='$CPP $CPPFLAGS'
72850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
72859 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
72861 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
72862 for ac_func in sincos
72863 do :
72864 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
72865 if test "x$ac_cv_func_sincos" = x""yes; then :
72866 cat >>confdefs.h <<_ACEOF
72867 #define HAVE_SINCOS 1
72868 _ACEOF
72871 done
72873 else
72875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
72876 $as_echo_n "checking for _sincos declaration... " >&6; }
72877 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
72878 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
72879 $as_echo_n "(cached) " >&6
72880 else
72883 ac_ext=cpp
72884 ac_cpp='$CXXCPP $CPPFLAGS'
72885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72890 /* end confdefs.h. */
72891 #include <math.h>
72893 main ()
72895 _sincos(0, 0, 0);
72897 return 0;
72899 _ACEOF
72900 if ac_fn_cxx_try_compile "$LINENO"; then :
72901 glibcxx_cv_func__sincos_use=yes
72902 else
72903 glibcxx_cv_func__sincos_use=no
72905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72906 ac_ext=c
72907 ac_cpp='$CPP $CPPFLAGS'
72908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
72917 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
72919 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
72920 for ac_func in _sincos
72921 do :
72922 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
72923 if test "x$ac_cv_func__sincos" = x""yes; then :
72924 cat >>confdefs.h <<_ACEOF
72925 #define HAVE__SINCOS 1
72926 _ACEOF
72929 done
72938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
72939 $as_echo_n "checking for fpclass declaration... " >&6; }
72940 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
72941 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
72942 $as_echo_n "(cached) " >&6
72943 else
72946 ac_ext=cpp
72947 ac_cpp='$CXXCPP $CPPFLAGS'
72948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72953 /* end confdefs.h. */
72954 #include <math.h>
72955 #ifdef HAVE_IEEEFP_H
72956 #include <ieeefp.h>
72957 #endif
72960 main ()
72962 fpclass(0);
72964 return 0;
72966 _ACEOF
72967 if ac_fn_cxx_try_compile "$LINENO"; then :
72968 glibcxx_cv_func_fpclass_use=yes
72969 else
72970 glibcxx_cv_func_fpclass_use=no
72972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72973 ac_ext=c
72974 ac_cpp='$CPP $CPPFLAGS'
72975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
72984 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
72986 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
72987 for ac_func in fpclass
72988 do :
72989 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
72990 if test "x$ac_cv_func_fpclass" = x""yes; then :
72991 cat >>confdefs.h <<_ACEOF
72992 #define HAVE_FPCLASS 1
72993 _ACEOF
72996 done
72998 else
73000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
73001 $as_echo_n "checking for _fpclass declaration... " >&6; }
73002 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
73003 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
73004 $as_echo_n "(cached) " >&6
73005 else
73008 ac_ext=cpp
73009 ac_cpp='$CXXCPP $CPPFLAGS'
73010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73015 /* end confdefs.h. */
73016 #include <math.h>
73017 #ifdef HAVE_IEEEFP_H
73018 #include <ieeefp.h>
73019 #endif
73022 main ()
73024 _fpclass(0);
73026 return 0;
73028 _ACEOF
73029 if ac_fn_cxx_try_compile "$LINENO"; then :
73030 glibcxx_cv_func__fpclass_use=yes
73031 else
73032 glibcxx_cv_func__fpclass_use=no
73034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73035 ac_ext=c
73036 ac_cpp='$CPP $CPPFLAGS'
73037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
73046 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
73048 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
73049 for ac_func in _fpclass
73050 do :
73051 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
73052 if test "x$ac_cv_func__fpclass" = x""yes; then :
73053 cat >>confdefs.h <<_ACEOF
73054 #define HAVE__FPCLASS 1
73055 _ACEOF
73058 done
73067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
73068 $as_echo_n "checking for qfpclass declaration... " >&6; }
73069 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
73070 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
73071 $as_echo_n "(cached) " >&6
73072 else
73075 ac_ext=cpp
73076 ac_cpp='$CXXCPP $CPPFLAGS'
73077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73082 /* end confdefs.h. */
73083 #include <math.h>
73084 #ifdef HAVE_IEEEFP_H
73085 #include <ieeefp.h>
73086 #endif
73089 main ()
73091 qfpclass(0);
73093 return 0;
73095 _ACEOF
73096 if ac_fn_cxx_try_compile "$LINENO"; then :
73097 glibcxx_cv_func_qfpclass_use=yes
73098 else
73099 glibcxx_cv_func_qfpclass_use=no
73101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73102 ac_ext=c
73103 ac_cpp='$CPP $CPPFLAGS'
73104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
73113 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
73115 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
73116 for ac_func in qfpclass
73117 do :
73118 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
73119 if test "x$ac_cv_func_qfpclass" = x""yes; then :
73120 cat >>confdefs.h <<_ACEOF
73121 #define HAVE_QFPCLASS 1
73122 _ACEOF
73125 done
73127 else
73129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
73130 $as_echo_n "checking for _qfpclass declaration... " >&6; }
73131 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
73132 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
73133 $as_echo_n "(cached) " >&6
73134 else
73137 ac_ext=cpp
73138 ac_cpp='$CXXCPP $CPPFLAGS'
73139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73144 /* end confdefs.h. */
73145 #include <math.h>
73146 #ifdef HAVE_IEEEFP_H
73147 #include <ieeefp.h>
73148 #endif
73151 main ()
73153 _qfpclass(0);
73155 return 0;
73157 _ACEOF
73158 if ac_fn_cxx_try_compile "$LINENO"; then :
73159 glibcxx_cv_func__qfpclass_use=yes
73160 else
73161 glibcxx_cv_func__qfpclass_use=no
73163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73164 ac_ext=c
73165 ac_cpp='$CPP $CPPFLAGS'
73166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
73175 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
73177 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
73178 for ac_func in _qfpclass
73179 do :
73180 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
73181 if test "x$ac_cv_func__qfpclass" = x""yes; then :
73182 cat >>confdefs.h <<_ACEOF
73183 #define HAVE__QFPCLASS 1
73184 _ACEOF
73187 done
73196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
73197 $as_echo_n "checking for hypot declaration... " >&6; }
73198 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
73199 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
73200 $as_echo_n "(cached) " >&6
73201 else
73204 ac_ext=cpp
73205 ac_cpp='$CXXCPP $CPPFLAGS'
73206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73211 /* end confdefs.h. */
73212 #include <math.h>
73214 main ()
73216 hypot(0, 0);
73218 return 0;
73220 _ACEOF
73221 if ac_fn_cxx_try_compile "$LINENO"; then :
73222 glibcxx_cv_func_hypot_use=yes
73223 else
73224 glibcxx_cv_func_hypot_use=no
73226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73227 ac_ext=c
73228 ac_cpp='$CPP $CPPFLAGS'
73229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
73238 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
73240 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
73241 for ac_func in hypot
73242 do :
73243 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
73244 if test "x$ac_cv_func_hypot" = x""yes; then :
73245 cat >>confdefs.h <<_ACEOF
73246 #define HAVE_HYPOT 1
73247 _ACEOF
73250 done
73252 else
73254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
73255 $as_echo_n "checking for _hypot declaration... " >&6; }
73256 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
73257 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
73258 $as_echo_n "(cached) " >&6
73259 else
73262 ac_ext=cpp
73263 ac_cpp='$CXXCPP $CPPFLAGS'
73264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73269 /* end confdefs.h. */
73270 #include <math.h>
73272 main ()
73274 _hypot(0, 0);
73276 return 0;
73278 _ACEOF
73279 if ac_fn_cxx_try_compile "$LINENO"; then :
73280 glibcxx_cv_func__hypot_use=yes
73281 else
73282 glibcxx_cv_func__hypot_use=no
73284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73285 ac_ext=c
73286 ac_cpp='$CPP $CPPFLAGS'
73287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
73296 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
73298 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
73299 for ac_func in _hypot
73300 do :
73301 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
73302 if test "x$ac_cv_func__hypot" = x""yes; then :
73303 cat >>confdefs.h <<_ACEOF
73304 #define HAVE__HYPOT 1
73305 _ACEOF
73308 done
73317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
73318 $as_echo_n "checking for float trig functions... " >&6; }
73319 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
73320 $as_echo_n "(cached) " >&6
73321 else
73324 ac_ext=cpp
73325 ac_cpp='$CXXCPP $CPPFLAGS'
73326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73331 /* end confdefs.h. */
73332 #include <math.h>
73334 main ()
73336 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
73338 return 0;
73340 _ACEOF
73341 if ac_fn_cxx_try_compile "$LINENO"; then :
73342 glibcxx_cv_func_float_trig_use=yes
73343 else
73344 glibcxx_cv_func_float_trig_use=no
73346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73347 ac_ext=c
73348 ac_cpp='$CPP $CPPFLAGS'
73349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
73356 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
73357 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
73358 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
73359 do :
73360 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73361 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73362 eval as_val=\$$as_ac_var
73363 if test "x$as_val" = x""yes; then :
73364 cat >>confdefs.h <<_ACEOF
73365 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73366 _ACEOF
73369 done
73371 else
73372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
73373 $as_echo_n "checking for _float trig functions... " >&6; }
73374 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
73375 $as_echo_n "(cached) " >&6
73376 else
73379 ac_ext=cpp
73380 ac_cpp='$CXXCPP $CPPFLAGS'
73381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73386 /* end confdefs.h. */
73387 #include <math.h>
73389 main ()
73391 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
73393 return 0;
73395 _ACEOF
73396 if ac_fn_cxx_try_compile "$LINENO"; then :
73397 glibcxx_cv_func__float_trig_use=yes
73398 else
73399 glibcxx_cv_func__float_trig_use=no
73401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73402 ac_ext=c
73403 ac_cpp='$CPP $CPPFLAGS'
73404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
73411 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
73412 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
73413 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
73414 do :
73415 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73416 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73417 eval as_val=\$$as_ac_var
73418 if test "x$as_val" = x""yes; then :
73419 cat >>confdefs.h <<_ACEOF
73420 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73421 _ACEOF
73424 done
73433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
73434 $as_echo_n "checking for float round functions... " >&6; }
73435 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
73436 $as_echo_n "(cached) " >&6
73437 else
73440 ac_ext=cpp
73441 ac_cpp='$CXXCPP $CPPFLAGS'
73442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73447 /* end confdefs.h. */
73448 #include <math.h>
73450 main ()
73452 ceilf (0); floorf (0);
73454 return 0;
73456 _ACEOF
73457 if ac_fn_cxx_try_compile "$LINENO"; then :
73458 glibcxx_cv_func_float_round_use=yes
73459 else
73460 glibcxx_cv_func_float_round_use=no
73462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73463 ac_ext=c
73464 ac_cpp='$CPP $CPPFLAGS'
73465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
73472 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
73473 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
73474 for ac_func in ceilf floorf
73475 do :
73476 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73477 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73478 eval as_val=\$$as_ac_var
73479 if test "x$as_val" = x""yes; then :
73480 cat >>confdefs.h <<_ACEOF
73481 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73482 _ACEOF
73485 done
73487 else
73488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
73489 $as_echo_n "checking for _float round functions... " >&6; }
73490 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
73491 $as_echo_n "(cached) " >&6
73492 else
73495 ac_ext=cpp
73496 ac_cpp='$CXXCPP $CPPFLAGS'
73497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73502 /* end confdefs.h. */
73503 #include <math.h>
73505 main ()
73507 _ceilf (0); _floorf (0);
73509 return 0;
73511 _ACEOF
73512 if ac_fn_cxx_try_compile "$LINENO"; then :
73513 glibcxx_cv_func__float_round_use=yes
73514 else
73515 glibcxx_cv_func__float_round_use=no
73517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73518 ac_ext=c
73519 ac_cpp='$CPP $CPPFLAGS'
73520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
73527 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
73528 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
73529 for ac_func in _ceilf _floorf
73530 do :
73531 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73532 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73533 eval as_val=\$$as_ac_var
73534 if test "x$as_val" = x""yes; then :
73535 cat >>confdefs.h <<_ACEOF
73536 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73537 _ACEOF
73540 done
73550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
73551 $as_echo_n "checking for expf declaration... " >&6; }
73552 if test x${glibcxx_cv_func_expf_use+set} != xset; then
73553 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
73554 $as_echo_n "(cached) " >&6
73555 else
73558 ac_ext=cpp
73559 ac_cpp='$CXXCPP $CPPFLAGS'
73560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73565 /* end confdefs.h. */
73566 #include <math.h>
73567 #ifdef HAVE_IEEEFP_H
73568 #include <ieeefp.h>
73569 #endif
73572 main ()
73574 expf(0);
73576 return 0;
73578 _ACEOF
73579 if ac_fn_cxx_try_compile "$LINENO"; then :
73580 glibcxx_cv_func_expf_use=yes
73581 else
73582 glibcxx_cv_func_expf_use=no
73584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73585 ac_ext=c
73586 ac_cpp='$CPP $CPPFLAGS'
73587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
73596 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
73598 if test x$glibcxx_cv_func_expf_use = x"yes"; then
73599 for ac_func in expf
73600 do :
73601 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
73602 if test "x$ac_cv_func_expf" = x""yes; then :
73603 cat >>confdefs.h <<_ACEOF
73604 #define HAVE_EXPF 1
73605 _ACEOF
73608 done
73610 else
73612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
73613 $as_echo_n "checking for _expf declaration... " >&6; }
73614 if test x${glibcxx_cv_func__expf_use+set} != xset; then
73615 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
73616 $as_echo_n "(cached) " >&6
73617 else
73620 ac_ext=cpp
73621 ac_cpp='$CXXCPP $CPPFLAGS'
73622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73627 /* end confdefs.h. */
73628 #include <math.h>
73629 #ifdef HAVE_IEEEFP_H
73630 #include <ieeefp.h>
73631 #endif
73634 main ()
73636 _expf(0);
73638 return 0;
73640 _ACEOF
73641 if ac_fn_cxx_try_compile "$LINENO"; then :
73642 glibcxx_cv_func__expf_use=yes
73643 else
73644 glibcxx_cv_func__expf_use=no
73646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73647 ac_ext=c
73648 ac_cpp='$CPP $CPPFLAGS'
73649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
73658 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
73660 if test x$glibcxx_cv_func__expf_use = x"yes"; then
73661 for ac_func in _expf
73662 do :
73663 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
73664 if test "x$ac_cv_func__expf" = x""yes; then :
73665 cat >>confdefs.h <<_ACEOF
73666 #define HAVE__EXPF 1
73667 _ACEOF
73670 done
73679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
73680 $as_echo_n "checking for isnanf declaration... " >&6; }
73681 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
73682 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
73683 $as_echo_n "(cached) " >&6
73684 else
73687 ac_ext=cpp
73688 ac_cpp='$CXXCPP $CPPFLAGS'
73689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73694 /* end confdefs.h. */
73695 #include <math.h>
73696 #ifdef HAVE_IEEEFP_H
73697 #include <ieeefp.h>
73698 #endif
73701 main ()
73703 isnanf(0);
73705 return 0;
73707 _ACEOF
73708 if ac_fn_cxx_try_compile "$LINENO"; then :
73709 glibcxx_cv_func_isnanf_use=yes
73710 else
73711 glibcxx_cv_func_isnanf_use=no
73713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73714 ac_ext=c
73715 ac_cpp='$CPP $CPPFLAGS'
73716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
73725 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
73727 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
73728 for ac_func in isnanf
73729 do :
73730 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
73731 if test "x$ac_cv_func_isnanf" = x""yes; then :
73732 cat >>confdefs.h <<_ACEOF
73733 #define HAVE_ISNANF 1
73734 _ACEOF
73737 done
73739 else
73741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
73742 $as_echo_n "checking for _isnanf declaration... " >&6; }
73743 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
73744 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
73745 $as_echo_n "(cached) " >&6
73746 else
73749 ac_ext=cpp
73750 ac_cpp='$CXXCPP $CPPFLAGS'
73751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73756 /* end confdefs.h. */
73757 #include <math.h>
73758 #ifdef HAVE_IEEEFP_H
73759 #include <ieeefp.h>
73760 #endif
73763 main ()
73765 _isnanf(0);
73767 return 0;
73769 _ACEOF
73770 if ac_fn_cxx_try_compile "$LINENO"; then :
73771 glibcxx_cv_func__isnanf_use=yes
73772 else
73773 glibcxx_cv_func__isnanf_use=no
73775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73776 ac_ext=c
73777 ac_cpp='$CPP $CPPFLAGS'
73778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
73787 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
73789 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
73790 for ac_func in _isnanf
73791 do :
73792 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
73793 if test "x$ac_cv_func__isnanf" = x""yes; then :
73794 cat >>confdefs.h <<_ACEOF
73795 #define HAVE__ISNANF 1
73796 _ACEOF
73799 done
73808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
73809 $as_echo_n "checking for isinff declaration... " >&6; }
73810 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
73811 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
73812 $as_echo_n "(cached) " >&6
73813 else
73816 ac_ext=cpp
73817 ac_cpp='$CXXCPP $CPPFLAGS'
73818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73823 /* end confdefs.h. */
73824 #include <math.h>
73825 #ifdef HAVE_IEEEFP_H
73826 #include <ieeefp.h>
73827 #endif
73830 main ()
73832 isinff(0);
73834 return 0;
73836 _ACEOF
73837 if ac_fn_cxx_try_compile "$LINENO"; then :
73838 glibcxx_cv_func_isinff_use=yes
73839 else
73840 glibcxx_cv_func_isinff_use=no
73842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73843 ac_ext=c
73844 ac_cpp='$CPP $CPPFLAGS'
73845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
73854 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
73856 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
73857 for ac_func in isinff
73858 do :
73859 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
73860 if test "x$ac_cv_func_isinff" = x""yes; then :
73861 cat >>confdefs.h <<_ACEOF
73862 #define HAVE_ISINFF 1
73863 _ACEOF
73866 done
73868 else
73870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
73871 $as_echo_n "checking for _isinff declaration... " >&6; }
73872 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
73873 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
73874 $as_echo_n "(cached) " >&6
73875 else
73878 ac_ext=cpp
73879 ac_cpp='$CXXCPP $CPPFLAGS'
73880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73885 /* end confdefs.h. */
73886 #include <math.h>
73887 #ifdef HAVE_IEEEFP_H
73888 #include <ieeefp.h>
73889 #endif
73892 main ()
73894 _isinff(0);
73896 return 0;
73898 _ACEOF
73899 if ac_fn_cxx_try_compile "$LINENO"; then :
73900 glibcxx_cv_func__isinff_use=yes
73901 else
73902 glibcxx_cv_func__isinff_use=no
73904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73905 ac_ext=c
73906 ac_cpp='$CPP $CPPFLAGS'
73907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
73916 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
73918 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
73919 for ac_func in _isinff
73920 do :
73921 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
73922 if test "x$ac_cv_func__isinff" = x""yes; then :
73923 cat >>confdefs.h <<_ACEOF
73924 #define HAVE__ISINFF 1
73925 _ACEOF
73928 done
73937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
73938 $as_echo_n "checking for atan2f declaration... " >&6; }
73939 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
73940 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
73941 $as_echo_n "(cached) " >&6
73942 else
73945 ac_ext=cpp
73946 ac_cpp='$CXXCPP $CPPFLAGS'
73947 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73948 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73949 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73952 /* end confdefs.h. */
73953 #include <math.h>
73955 main ()
73957 atan2f(0, 0);
73959 return 0;
73961 _ACEOF
73962 if ac_fn_cxx_try_compile "$LINENO"; then :
73963 glibcxx_cv_func_atan2f_use=yes
73964 else
73965 glibcxx_cv_func_atan2f_use=no
73967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73968 ac_ext=c
73969 ac_cpp='$CPP $CPPFLAGS'
73970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
73979 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
73981 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
73982 for ac_func in atan2f
73983 do :
73984 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
73985 if test "x$ac_cv_func_atan2f" = x""yes; then :
73986 cat >>confdefs.h <<_ACEOF
73987 #define HAVE_ATAN2F 1
73988 _ACEOF
73991 done
73993 else
73995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
73996 $as_echo_n "checking for _atan2f declaration... " >&6; }
73997 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
73998 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
73999 $as_echo_n "(cached) " >&6
74000 else
74003 ac_ext=cpp
74004 ac_cpp='$CXXCPP $CPPFLAGS'
74005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74010 /* end confdefs.h. */
74011 #include <math.h>
74013 main ()
74015 _atan2f(0, 0);
74017 return 0;
74019 _ACEOF
74020 if ac_fn_cxx_try_compile "$LINENO"; then :
74021 glibcxx_cv_func__atan2f_use=yes
74022 else
74023 glibcxx_cv_func__atan2f_use=no
74025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74026 ac_ext=c
74027 ac_cpp='$CPP $CPPFLAGS'
74028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
74037 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
74039 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
74040 for ac_func in _atan2f
74041 do :
74042 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
74043 if test "x$ac_cv_func__atan2f" = x""yes; then :
74044 cat >>confdefs.h <<_ACEOF
74045 #define HAVE__ATAN2F 1
74046 _ACEOF
74049 done
74058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
74059 $as_echo_n "checking for fabsf declaration... " >&6; }
74060 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
74061 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
74062 $as_echo_n "(cached) " >&6
74063 else
74066 ac_ext=cpp
74067 ac_cpp='$CXXCPP $CPPFLAGS'
74068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74073 /* end confdefs.h. */
74074 #include <math.h>
74075 #ifdef HAVE_IEEEFP_H
74076 #include <ieeefp.h>
74077 #endif
74080 main ()
74082 fabsf(0);
74084 return 0;
74086 _ACEOF
74087 if ac_fn_cxx_try_compile "$LINENO"; then :
74088 glibcxx_cv_func_fabsf_use=yes
74089 else
74090 glibcxx_cv_func_fabsf_use=no
74092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74093 ac_ext=c
74094 ac_cpp='$CPP $CPPFLAGS'
74095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
74104 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
74106 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
74107 for ac_func in fabsf
74108 do :
74109 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
74110 if test "x$ac_cv_func_fabsf" = x""yes; then :
74111 cat >>confdefs.h <<_ACEOF
74112 #define HAVE_FABSF 1
74113 _ACEOF
74116 done
74118 else
74120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
74121 $as_echo_n "checking for _fabsf declaration... " >&6; }
74122 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
74123 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
74124 $as_echo_n "(cached) " >&6
74125 else
74128 ac_ext=cpp
74129 ac_cpp='$CXXCPP $CPPFLAGS'
74130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74135 /* end confdefs.h. */
74136 #include <math.h>
74137 #ifdef HAVE_IEEEFP_H
74138 #include <ieeefp.h>
74139 #endif
74142 main ()
74144 _fabsf(0);
74146 return 0;
74148 _ACEOF
74149 if ac_fn_cxx_try_compile "$LINENO"; then :
74150 glibcxx_cv_func__fabsf_use=yes
74151 else
74152 glibcxx_cv_func__fabsf_use=no
74154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74155 ac_ext=c
74156 ac_cpp='$CPP $CPPFLAGS'
74157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
74166 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
74168 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
74169 for ac_func in _fabsf
74170 do :
74171 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
74172 if test "x$ac_cv_func__fabsf" = x""yes; then :
74173 cat >>confdefs.h <<_ACEOF
74174 #define HAVE__FABSF 1
74175 _ACEOF
74178 done
74187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
74188 $as_echo_n "checking for fmodf declaration... " >&6; }
74189 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
74190 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
74191 $as_echo_n "(cached) " >&6
74192 else
74195 ac_ext=cpp
74196 ac_cpp='$CXXCPP $CPPFLAGS'
74197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74202 /* end confdefs.h. */
74203 #include <math.h>
74205 main ()
74207 fmodf(0, 0);
74209 return 0;
74211 _ACEOF
74212 if ac_fn_cxx_try_compile "$LINENO"; then :
74213 glibcxx_cv_func_fmodf_use=yes
74214 else
74215 glibcxx_cv_func_fmodf_use=no
74217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74218 ac_ext=c
74219 ac_cpp='$CPP $CPPFLAGS'
74220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
74229 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
74231 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
74232 for ac_func in fmodf
74233 do :
74234 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
74235 if test "x$ac_cv_func_fmodf" = x""yes; then :
74236 cat >>confdefs.h <<_ACEOF
74237 #define HAVE_FMODF 1
74238 _ACEOF
74241 done
74243 else
74245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
74246 $as_echo_n "checking for _fmodf declaration... " >&6; }
74247 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
74248 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
74249 $as_echo_n "(cached) " >&6
74250 else
74253 ac_ext=cpp
74254 ac_cpp='$CXXCPP $CPPFLAGS'
74255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74260 /* end confdefs.h. */
74261 #include <math.h>
74263 main ()
74265 _fmodf(0, 0);
74267 return 0;
74269 _ACEOF
74270 if ac_fn_cxx_try_compile "$LINENO"; then :
74271 glibcxx_cv_func__fmodf_use=yes
74272 else
74273 glibcxx_cv_func__fmodf_use=no
74275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74276 ac_ext=c
74277 ac_cpp='$CPP $CPPFLAGS'
74278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
74287 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
74289 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
74290 for ac_func in _fmodf
74291 do :
74292 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
74293 if test "x$ac_cv_func__fmodf" = x""yes; then :
74294 cat >>confdefs.h <<_ACEOF
74295 #define HAVE__FMODF 1
74296 _ACEOF
74299 done
74308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
74309 $as_echo_n "checking for frexpf declaration... " >&6; }
74310 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
74311 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
74312 $as_echo_n "(cached) " >&6
74313 else
74316 ac_ext=cpp
74317 ac_cpp='$CXXCPP $CPPFLAGS'
74318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74323 /* end confdefs.h. */
74324 #include <math.h>
74326 main ()
74328 frexpf(0, 0);
74330 return 0;
74332 _ACEOF
74333 if ac_fn_cxx_try_compile "$LINENO"; then :
74334 glibcxx_cv_func_frexpf_use=yes
74335 else
74336 glibcxx_cv_func_frexpf_use=no
74338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74339 ac_ext=c
74340 ac_cpp='$CPP $CPPFLAGS'
74341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
74350 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
74352 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
74353 for ac_func in frexpf
74354 do :
74355 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
74356 if test "x$ac_cv_func_frexpf" = x""yes; then :
74357 cat >>confdefs.h <<_ACEOF
74358 #define HAVE_FREXPF 1
74359 _ACEOF
74362 done
74364 else
74366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
74367 $as_echo_n "checking for _frexpf declaration... " >&6; }
74368 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
74369 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
74370 $as_echo_n "(cached) " >&6
74371 else
74374 ac_ext=cpp
74375 ac_cpp='$CXXCPP $CPPFLAGS'
74376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74381 /* end confdefs.h. */
74382 #include <math.h>
74384 main ()
74386 _frexpf(0, 0);
74388 return 0;
74390 _ACEOF
74391 if ac_fn_cxx_try_compile "$LINENO"; then :
74392 glibcxx_cv_func__frexpf_use=yes
74393 else
74394 glibcxx_cv_func__frexpf_use=no
74396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74397 ac_ext=c
74398 ac_cpp='$CPP $CPPFLAGS'
74399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
74408 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
74410 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
74411 for ac_func in _frexpf
74412 do :
74413 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
74414 if test "x$ac_cv_func__frexpf" = x""yes; then :
74415 cat >>confdefs.h <<_ACEOF
74416 #define HAVE__FREXPF 1
74417 _ACEOF
74420 done
74429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
74430 $as_echo_n "checking for hypotf declaration... " >&6; }
74431 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
74432 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
74433 $as_echo_n "(cached) " >&6
74434 else
74437 ac_ext=cpp
74438 ac_cpp='$CXXCPP $CPPFLAGS'
74439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74444 /* end confdefs.h. */
74445 #include <math.h>
74447 main ()
74449 hypotf(0, 0);
74451 return 0;
74453 _ACEOF
74454 if ac_fn_cxx_try_compile "$LINENO"; then :
74455 glibcxx_cv_func_hypotf_use=yes
74456 else
74457 glibcxx_cv_func_hypotf_use=no
74459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74460 ac_ext=c
74461 ac_cpp='$CPP $CPPFLAGS'
74462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
74471 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
74473 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
74474 for ac_func in hypotf
74475 do :
74476 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
74477 if test "x$ac_cv_func_hypotf" = x""yes; then :
74478 cat >>confdefs.h <<_ACEOF
74479 #define HAVE_HYPOTF 1
74480 _ACEOF
74483 done
74485 else
74487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
74488 $as_echo_n "checking for _hypotf declaration... " >&6; }
74489 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
74490 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
74491 $as_echo_n "(cached) " >&6
74492 else
74495 ac_ext=cpp
74496 ac_cpp='$CXXCPP $CPPFLAGS'
74497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74502 /* end confdefs.h. */
74503 #include <math.h>
74505 main ()
74507 _hypotf(0, 0);
74509 return 0;
74511 _ACEOF
74512 if ac_fn_cxx_try_compile "$LINENO"; then :
74513 glibcxx_cv_func__hypotf_use=yes
74514 else
74515 glibcxx_cv_func__hypotf_use=no
74517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74518 ac_ext=c
74519 ac_cpp='$CPP $CPPFLAGS'
74520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
74529 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
74531 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
74532 for ac_func in _hypotf
74533 do :
74534 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
74535 if test "x$ac_cv_func__hypotf" = x""yes; then :
74536 cat >>confdefs.h <<_ACEOF
74537 #define HAVE__HYPOTF 1
74538 _ACEOF
74541 done
74550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
74551 $as_echo_n "checking for ldexpf declaration... " >&6; }
74552 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
74553 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
74554 $as_echo_n "(cached) " >&6
74555 else
74558 ac_ext=cpp
74559 ac_cpp='$CXXCPP $CPPFLAGS'
74560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74565 /* end confdefs.h. */
74566 #include <math.h>
74568 main ()
74570 ldexpf(0, 0);
74572 return 0;
74574 _ACEOF
74575 if ac_fn_cxx_try_compile "$LINENO"; then :
74576 glibcxx_cv_func_ldexpf_use=yes
74577 else
74578 glibcxx_cv_func_ldexpf_use=no
74580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74581 ac_ext=c
74582 ac_cpp='$CPP $CPPFLAGS'
74583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
74592 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
74594 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
74595 for ac_func in ldexpf
74596 do :
74597 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
74598 if test "x$ac_cv_func_ldexpf" = x""yes; then :
74599 cat >>confdefs.h <<_ACEOF
74600 #define HAVE_LDEXPF 1
74601 _ACEOF
74604 done
74606 else
74608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
74609 $as_echo_n "checking for _ldexpf declaration... " >&6; }
74610 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
74611 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
74612 $as_echo_n "(cached) " >&6
74613 else
74616 ac_ext=cpp
74617 ac_cpp='$CXXCPP $CPPFLAGS'
74618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74623 /* end confdefs.h. */
74624 #include <math.h>
74626 main ()
74628 _ldexpf(0, 0);
74630 return 0;
74632 _ACEOF
74633 if ac_fn_cxx_try_compile "$LINENO"; then :
74634 glibcxx_cv_func__ldexpf_use=yes
74635 else
74636 glibcxx_cv_func__ldexpf_use=no
74638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74639 ac_ext=c
74640 ac_cpp='$CPP $CPPFLAGS'
74641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
74650 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
74652 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
74653 for ac_func in _ldexpf
74654 do :
74655 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
74656 if test "x$ac_cv_func__ldexpf" = x""yes; then :
74657 cat >>confdefs.h <<_ACEOF
74658 #define HAVE__LDEXPF 1
74659 _ACEOF
74662 done
74671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
74672 $as_echo_n "checking for logf declaration... " >&6; }
74673 if test x${glibcxx_cv_func_logf_use+set} != xset; then
74674 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
74675 $as_echo_n "(cached) " >&6
74676 else
74679 ac_ext=cpp
74680 ac_cpp='$CXXCPP $CPPFLAGS'
74681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74686 /* end confdefs.h. */
74687 #include <math.h>
74688 #ifdef HAVE_IEEEFP_H
74689 #include <ieeefp.h>
74690 #endif
74693 main ()
74695 logf(0);
74697 return 0;
74699 _ACEOF
74700 if ac_fn_cxx_try_compile "$LINENO"; then :
74701 glibcxx_cv_func_logf_use=yes
74702 else
74703 glibcxx_cv_func_logf_use=no
74705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74706 ac_ext=c
74707 ac_cpp='$CPP $CPPFLAGS'
74708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
74717 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
74719 if test x$glibcxx_cv_func_logf_use = x"yes"; then
74720 for ac_func in logf
74721 do :
74722 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
74723 if test "x$ac_cv_func_logf" = x""yes; then :
74724 cat >>confdefs.h <<_ACEOF
74725 #define HAVE_LOGF 1
74726 _ACEOF
74729 done
74731 else
74733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
74734 $as_echo_n "checking for _logf declaration... " >&6; }
74735 if test x${glibcxx_cv_func__logf_use+set} != xset; then
74736 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
74737 $as_echo_n "(cached) " >&6
74738 else
74741 ac_ext=cpp
74742 ac_cpp='$CXXCPP $CPPFLAGS'
74743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74748 /* end confdefs.h. */
74749 #include <math.h>
74750 #ifdef HAVE_IEEEFP_H
74751 #include <ieeefp.h>
74752 #endif
74755 main ()
74757 _logf(0);
74759 return 0;
74761 _ACEOF
74762 if ac_fn_cxx_try_compile "$LINENO"; then :
74763 glibcxx_cv_func__logf_use=yes
74764 else
74765 glibcxx_cv_func__logf_use=no
74767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74768 ac_ext=c
74769 ac_cpp='$CPP $CPPFLAGS'
74770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
74779 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
74781 if test x$glibcxx_cv_func__logf_use = x"yes"; then
74782 for ac_func in _logf
74783 do :
74784 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
74785 if test "x$ac_cv_func__logf" = x""yes; then :
74786 cat >>confdefs.h <<_ACEOF
74787 #define HAVE__LOGF 1
74788 _ACEOF
74791 done
74800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
74801 $as_echo_n "checking for log10f declaration... " >&6; }
74802 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
74803 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
74804 $as_echo_n "(cached) " >&6
74805 else
74808 ac_ext=cpp
74809 ac_cpp='$CXXCPP $CPPFLAGS'
74810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74815 /* end confdefs.h. */
74816 #include <math.h>
74817 #ifdef HAVE_IEEEFP_H
74818 #include <ieeefp.h>
74819 #endif
74822 main ()
74824 log10f(0);
74826 return 0;
74828 _ACEOF
74829 if ac_fn_cxx_try_compile "$LINENO"; then :
74830 glibcxx_cv_func_log10f_use=yes
74831 else
74832 glibcxx_cv_func_log10f_use=no
74834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74835 ac_ext=c
74836 ac_cpp='$CPP $CPPFLAGS'
74837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
74846 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
74848 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
74849 for ac_func in log10f
74850 do :
74851 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
74852 if test "x$ac_cv_func_log10f" = x""yes; then :
74853 cat >>confdefs.h <<_ACEOF
74854 #define HAVE_LOG10F 1
74855 _ACEOF
74858 done
74860 else
74862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
74863 $as_echo_n "checking for _log10f declaration... " >&6; }
74864 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
74865 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
74866 $as_echo_n "(cached) " >&6
74867 else
74870 ac_ext=cpp
74871 ac_cpp='$CXXCPP $CPPFLAGS'
74872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74877 /* end confdefs.h. */
74878 #include <math.h>
74879 #ifdef HAVE_IEEEFP_H
74880 #include <ieeefp.h>
74881 #endif
74884 main ()
74886 _log10f(0);
74888 return 0;
74890 _ACEOF
74891 if ac_fn_cxx_try_compile "$LINENO"; then :
74892 glibcxx_cv_func__log10f_use=yes
74893 else
74894 glibcxx_cv_func__log10f_use=no
74896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74897 ac_ext=c
74898 ac_cpp='$CPP $CPPFLAGS'
74899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
74908 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
74910 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
74911 for ac_func in _log10f
74912 do :
74913 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
74914 if test "x$ac_cv_func__log10f" = x""yes; then :
74915 cat >>confdefs.h <<_ACEOF
74916 #define HAVE__LOG10F 1
74917 _ACEOF
74920 done
74929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
74930 $as_echo_n "checking for modff declaration... " >&6; }
74931 if test x${glibcxx_cv_func_modff_use+set} != xset; then
74932 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
74933 $as_echo_n "(cached) " >&6
74934 else
74937 ac_ext=cpp
74938 ac_cpp='$CXXCPP $CPPFLAGS'
74939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74944 /* end confdefs.h. */
74945 #include <math.h>
74947 main ()
74949 modff(0, 0);
74951 return 0;
74953 _ACEOF
74954 if ac_fn_cxx_try_compile "$LINENO"; then :
74955 glibcxx_cv_func_modff_use=yes
74956 else
74957 glibcxx_cv_func_modff_use=no
74959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74960 ac_ext=c
74961 ac_cpp='$CPP $CPPFLAGS'
74962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
74971 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
74973 if test x$glibcxx_cv_func_modff_use = x"yes"; then
74974 for ac_func in modff
74975 do :
74976 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
74977 if test "x$ac_cv_func_modff" = x""yes; then :
74978 cat >>confdefs.h <<_ACEOF
74979 #define HAVE_MODFF 1
74980 _ACEOF
74983 done
74985 else
74987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
74988 $as_echo_n "checking for _modff declaration... " >&6; }
74989 if test x${glibcxx_cv_func__modff_use+set} != xset; then
74990 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
74991 $as_echo_n "(cached) " >&6
74992 else
74995 ac_ext=cpp
74996 ac_cpp='$CXXCPP $CPPFLAGS'
74997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75002 /* end confdefs.h. */
75003 #include <math.h>
75005 main ()
75007 _modff(0, 0);
75009 return 0;
75011 _ACEOF
75012 if ac_fn_cxx_try_compile "$LINENO"; then :
75013 glibcxx_cv_func__modff_use=yes
75014 else
75015 glibcxx_cv_func__modff_use=no
75017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75018 ac_ext=c
75019 ac_cpp='$CPP $CPPFLAGS'
75020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
75029 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
75031 if test x$glibcxx_cv_func__modff_use = x"yes"; then
75032 for ac_func in _modff
75033 do :
75034 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
75035 if test "x$ac_cv_func__modff" = x""yes; then :
75036 cat >>confdefs.h <<_ACEOF
75037 #define HAVE__MODFF 1
75038 _ACEOF
75041 done
75050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
75051 $as_echo_n "checking for modf declaration... " >&6; }
75052 if test x${glibcxx_cv_func_modf_use+set} != xset; then
75053 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
75054 $as_echo_n "(cached) " >&6
75055 else
75058 ac_ext=cpp
75059 ac_cpp='$CXXCPP $CPPFLAGS'
75060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75065 /* end confdefs.h. */
75066 #include <math.h>
75068 main ()
75070 modf(0, 0);
75072 return 0;
75074 _ACEOF
75075 if ac_fn_cxx_try_compile "$LINENO"; then :
75076 glibcxx_cv_func_modf_use=yes
75077 else
75078 glibcxx_cv_func_modf_use=no
75080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75081 ac_ext=c
75082 ac_cpp='$CPP $CPPFLAGS'
75083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
75092 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
75094 if test x$glibcxx_cv_func_modf_use = x"yes"; then
75095 for ac_func in modf
75096 do :
75097 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
75098 if test "x$ac_cv_func_modf" = x""yes; then :
75099 cat >>confdefs.h <<_ACEOF
75100 #define HAVE_MODF 1
75101 _ACEOF
75104 done
75106 else
75108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
75109 $as_echo_n "checking for _modf declaration... " >&6; }
75110 if test x${glibcxx_cv_func__modf_use+set} != xset; then
75111 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
75112 $as_echo_n "(cached) " >&6
75113 else
75116 ac_ext=cpp
75117 ac_cpp='$CXXCPP $CPPFLAGS'
75118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75123 /* end confdefs.h. */
75124 #include <math.h>
75126 main ()
75128 _modf(0, 0);
75130 return 0;
75132 _ACEOF
75133 if ac_fn_cxx_try_compile "$LINENO"; then :
75134 glibcxx_cv_func__modf_use=yes
75135 else
75136 glibcxx_cv_func__modf_use=no
75138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75139 ac_ext=c
75140 ac_cpp='$CPP $CPPFLAGS'
75141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
75150 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
75152 if test x$glibcxx_cv_func__modf_use = x"yes"; then
75153 for ac_func in _modf
75154 do :
75155 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
75156 if test "x$ac_cv_func__modf" = x""yes; then :
75157 cat >>confdefs.h <<_ACEOF
75158 #define HAVE__MODF 1
75159 _ACEOF
75162 done
75171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
75172 $as_echo_n "checking for powf declaration... " >&6; }
75173 if test x${glibcxx_cv_func_powf_use+set} != xset; then
75174 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
75175 $as_echo_n "(cached) " >&6
75176 else
75179 ac_ext=cpp
75180 ac_cpp='$CXXCPP $CPPFLAGS'
75181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75186 /* end confdefs.h. */
75187 #include <math.h>
75189 main ()
75191 powf(0, 0);
75193 return 0;
75195 _ACEOF
75196 if ac_fn_cxx_try_compile "$LINENO"; then :
75197 glibcxx_cv_func_powf_use=yes
75198 else
75199 glibcxx_cv_func_powf_use=no
75201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75202 ac_ext=c
75203 ac_cpp='$CPP $CPPFLAGS'
75204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
75213 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
75215 if test x$glibcxx_cv_func_powf_use = x"yes"; then
75216 for ac_func in powf
75217 do :
75218 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
75219 if test "x$ac_cv_func_powf" = x""yes; then :
75220 cat >>confdefs.h <<_ACEOF
75221 #define HAVE_POWF 1
75222 _ACEOF
75225 done
75227 else
75229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
75230 $as_echo_n "checking for _powf declaration... " >&6; }
75231 if test x${glibcxx_cv_func__powf_use+set} != xset; then
75232 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
75233 $as_echo_n "(cached) " >&6
75234 else
75237 ac_ext=cpp
75238 ac_cpp='$CXXCPP $CPPFLAGS'
75239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75244 /* end confdefs.h. */
75245 #include <math.h>
75247 main ()
75249 _powf(0, 0);
75251 return 0;
75253 _ACEOF
75254 if ac_fn_cxx_try_compile "$LINENO"; then :
75255 glibcxx_cv_func__powf_use=yes
75256 else
75257 glibcxx_cv_func__powf_use=no
75259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75260 ac_ext=c
75261 ac_cpp='$CPP $CPPFLAGS'
75262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
75271 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
75273 if test x$glibcxx_cv_func__powf_use = x"yes"; then
75274 for ac_func in _powf
75275 do :
75276 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
75277 if test "x$ac_cv_func__powf" = x""yes; then :
75278 cat >>confdefs.h <<_ACEOF
75279 #define HAVE__POWF 1
75280 _ACEOF
75283 done
75292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
75293 $as_echo_n "checking for sqrtf declaration... " >&6; }
75294 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
75295 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
75296 $as_echo_n "(cached) " >&6
75297 else
75300 ac_ext=cpp
75301 ac_cpp='$CXXCPP $CPPFLAGS'
75302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75307 /* end confdefs.h. */
75308 #include <math.h>
75309 #ifdef HAVE_IEEEFP_H
75310 #include <ieeefp.h>
75311 #endif
75314 main ()
75316 sqrtf(0);
75318 return 0;
75320 _ACEOF
75321 if ac_fn_cxx_try_compile "$LINENO"; then :
75322 glibcxx_cv_func_sqrtf_use=yes
75323 else
75324 glibcxx_cv_func_sqrtf_use=no
75326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75327 ac_ext=c
75328 ac_cpp='$CPP $CPPFLAGS'
75329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
75338 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
75340 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
75341 for ac_func in sqrtf
75342 do :
75343 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
75344 if test "x$ac_cv_func_sqrtf" = x""yes; then :
75345 cat >>confdefs.h <<_ACEOF
75346 #define HAVE_SQRTF 1
75347 _ACEOF
75350 done
75352 else
75354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
75355 $as_echo_n "checking for _sqrtf declaration... " >&6; }
75356 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
75357 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
75358 $as_echo_n "(cached) " >&6
75359 else
75362 ac_ext=cpp
75363 ac_cpp='$CXXCPP $CPPFLAGS'
75364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75369 /* end confdefs.h. */
75370 #include <math.h>
75371 #ifdef HAVE_IEEEFP_H
75372 #include <ieeefp.h>
75373 #endif
75376 main ()
75378 _sqrtf(0);
75380 return 0;
75382 _ACEOF
75383 if ac_fn_cxx_try_compile "$LINENO"; then :
75384 glibcxx_cv_func__sqrtf_use=yes
75385 else
75386 glibcxx_cv_func__sqrtf_use=no
75388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75389 ac_ext=c
75390 ac_cpp='$CPP $CPPFLAGS'
75391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
75400 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
75402 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
75403 for ac_func in _sqrtf
75404 do :
75405 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
75406 if test "x$ac_cv_func__sqrtf" = x""yes; then :
75407 cat >>confdefs.h <<_ACEOF
75408 #define HAVE__SQRTF 1
75409 _ACEOF
75412 done
75421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
75422 $as_echo_n "checking for sincosf declaration... " >&6; }
75423 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
75424 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
75425 $as_echo_n "(cached) " >&6
75426 else
75429 ac_ext=cpp
75430 ac_cpp='$CXXCPP $CPPFLAGS'
75431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75436 /* end confdefs.h. */
75437 #include <math.h>
75439 main ()
75441 sincosf(0, 0, 0);
75443 return 0;
75445 _ACEOF
75446 if ac_fn_cxx_try_compile "$LINENO"; then :
75447 glibcxx_cv_func_sincosf_use=yes
75448 else
75449 glibcxx_cv_func_sincosf_use=no
75451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75452 ac_ext=c
75453 ac_cpp='$CPP $CPPFLAGS'
75454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
75463 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
75465 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
75466 for ac_func in sincosf
75467 do :
75468 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
75469 if test "x$ac_cv_func_sincosf" = x""yes; then :
75470 cat >>confdefs.h <<_ACEOF
75471 #define HAVE_SINCOSF 1
75472 _ACEOF
75475 done
75477 else
75479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
75480 $as_echo_n "checking for _sincosf declaration... " >&6; }
75481 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
75482 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
75483 $as_echo_n "(cached) " >&6
75484 else
75487 ac_ext=cpp
75488 ac_cpp='$CXXCPP $CPPFLAGS'
75489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75494 /* end confdefs.h. */
75495 #include <math.h>
75497 main ()
75499 _sincosf(0, 0, 0);
75501 return 0;
75503 _ACEOF
75504 if ac_fn_cxx_try_compile "$LINENO"; then :
75505 glibcxx_cv_func__sincosf_use=yes
75506 else
75507 glibcxx_cv_func__sincosf_use=no
75509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75510 ac_ext=c
75511 ac_cpp='$CPP $CPPFLAGS'
75512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
75521 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
75523 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
75524 for ac_func in _sincosf
75525 do :
75526 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
75527 if test "x$ac_cv_func__sincosf" = x""yes; then :
75528 cat >>confdefs.h <<_ACEOF
75529 #define HAVE__SINCOSF 1
75530 _ACEOF
75533 done
75542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
75543 $as_echo_n "checking for finitef declaration... " >&6; }
75544 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
75545 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
75546 $as_echo_n "(cached) " >&6
75547 else
75550 ac_ext=cpp
75551 ac_cpp='$CXXCPP $CPPFLAGS'
75552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75557 /* end confdefs.h. */
75558 #include <math.h>
75559 #ifdef HAVE_IEEEFP_H
75560 #include <ieeefp.h>
75561 #endif
75564 main ()
75566 finitef(0);
75568 return 0;
75570 _ACEOF
75571 if ac_fn_cxx_try_compile "$LINENO"; then :
75572 glibcxx_cv_func_finitef_use=yes
75573 else
75574 glibcxx_cv_func_finitef_use=no
75576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75577 ac_ext=c
75578 ac_cpp='$CPP $CPPFLAGS'
75579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
75588 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
75590 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
75591 for ac_func in finitef
75592 do :
75593 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
75594 if test "x$ac_cv_func_finitef" = x""yes; then :
75595 cat >>confdefs.h <<_ACEOF
75596 #define HAVE_FINITEF 1
75597 _ACEOF
75600 done
75602 else
75604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
75605 $as_echo_n "checking for _finitef declaration... " >&6; }
75606 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
75607 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
75608 $as_echo_n "(cached) " >&6
75609 else
75612 ac_ext=cpp
75613 ac_cpp='$CXXCPP $CPPFLAGS'
75614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75619 /* end confdefs.h. */
75620 #include <math.h>
75621 #ifdef HAVE_IEEEFP_H
75622 #include <ieeefp.h>
75623 #endif
75626 main ()
75628 _finitef(0);
75630 return 0;
75632 _ACEOF
75633 if ac_fn_cxx_try_compile "$LINENO"; then :
75634 glibcxx_cv_func__finitef_use=yes
75635 else
75636 glibcxx_cv_func__finitef_use=no
75638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75639 ac_ext=c
75640 ac_cpp='$CPP $CPPFLAGS'
75641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
75650 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
75652 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
75653 for ac_func in _finitef
75654 do :
75655 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
75656 if test "x$ac_cv_func__finitef" = x""yes; then :
75657 cat >>confdefs.h <<_ACEOF
75658 #define HAVE__FINITEF 1
75659 _ACEOF
75662 done
75671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
75672 $as_echo_n "checking for long double trig functions... " >&6; }
75673 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
75674 $as_echo_n "(cached) " >&6
75675 else
75678 ac_ext=cpp
75679 ac_cpp='$CXXCPP $CPPFLAGS'
75680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75685 /* end confdefs.h. */
75686 #include <math.h>
75688 main ()
75690 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
75692 return 0;
75694 _ACEOF
75695 if ac_fn_cxx_try_compile "$LINENO"; then :
75696 glibcxx_cv_func_long_double_trig_use=yes
75697 else
75698 glibcxx_cv_func_long_double_trig_use=no
75700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75701 ac_ext=c
75702 ac_cpp='$CPP $CPPFLAGS'
75703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
75710 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
75711 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
75712 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
75713 do :
75714 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
75715 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
75716 eval as_val=\$$as_ac_var
75717 if test "x$as_val" = x""yes; then :
75718 cat >>confdefs.h <<_ACEOF
75719 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
75720 _ACEOF
75723 done
75725 else
75726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
75727 $as_echo_n "checking for _long double trig functions... " >&6; }
75728 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
75729 $as_echo_n "(cached) " >&6
75730 else
75733 ac_ext=cpp
75734 ac_cpp='$CXXCPP $CPPFLAGS'
75735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75740 /* end confdefs.h. */
75741 #include <math.h>
75743 main ()
75745 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
75747 return 0;
75749 _ACEOF
75750 if ac_fn_cxx_try_compile "$LINENO"; then :
75751 glibcxx_cv_func__long_double_trig_use=yes
75752 else
75753 glibcxx_cv_func__long_double_trig_use=no
75755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75756 ac_ext=c
75757 ac_cpp='$CPP $CPPFLAGS'
75758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
75765 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
75766 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
75767 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
75768 do :
75769 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
75770 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
75771 eval as_val=\$$as_ac_var
75772 if test "x$as_val" = x""yes; then :
75773 cat >>confdefs.h <<_ACEOF
75774 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
75775 _ACEOF
75778 done
75787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
75788 $as_echo_n "checking for long double round functions... " >&6; }
75789 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
75790 $as_echo_n "(cached) " >&6
75791 else
75794 ac_ext=cpp
75795 ac_cpp='$CXXCPP $CPPFLAGS'
75796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75801 /* end confdefs.h. */
75802 #include <math.h>
75804 main ()
75806 ceill (0); floorl (0);
75808 return 0;
75810 _ACEOF
75811 if ac_fn_cxx_try_compile "$LINENO"; then :
75812 glibcxx_cv_func_long_double_round_use=yes
75813 else
75814 glibcxx_cv_func_long_double_round_use=no
75816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75817 ac_ext=c
75818 ac_cpp='$CPP $CPPFLAGS'
75819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
75826 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
75827 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
75828 for ac_func in ceill floorl
75829 do :
75830 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
75831 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
75832 eval as_val=\$$as_ac_var
75833 if test "x$as_val" = x""yes; then :
75834 cat >>confdefs.h <<_ACEOF
75835 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
75836 _ACEOF
75839 done
75841 else
75842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
75843 $as_echo_n "checking for _long double round functions... " >&6; }
75844 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
75845 $as_echo_n "(cached) " >&6
75846 else
75849 ac_ext=cpp
75850 ac_cpp='$CXXCPP $CPPFLAGS'
75851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75856 /* end confdefs.h. */
75857 #include <math.h>
75859 main ()
75861 _ceill (0); _floorl (0);
75863 return 0;
75865 _ACEOF
75866 if ac_fn_cxx_try_compile "$LINENO"; then :
75867 glibcxx_cv_func__long_double_round_use=yes
75868 else
75869 glibcxx_cv_func__long_double_round_use=no
75871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75872 ac_ext=c
75873 ac_cpp='$CPP $CPPFLAGS'
75874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
75881 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
75882 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
75883 for ac_func in _ceill _floorl
75884 do :
75885 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
75886 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
75887 eval as_val=\$$as_ac_var
75888 if test "x$as_val" = x""yes; then :
75889 cat >>confdefs.h <<_ACEOF
75890 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
75891 _ACEOF
75894 done
75904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
75905 $as_echo_n "checking for isnanl declaration... " >&6; }
75906 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
75907 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
75908 $as_echo_n "(cached) " >&6
75909 else
75912 ac_ext=cpp
75913 ac_cpp='$CXXCPP $CPPFLAGS'
75914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75919 /* end confdefs.h. */
75920 #include <math.h>
75921 #ifdef HAVE_IEEEFP_H
75922 #include <ieeefp.h>
75923 #endif
75926 main ()
75928 isnanl(0);
75930 return 0;
75932 _ACEOF
75933 if ac_fn_cxx_try_compile "$LINENO"; then :
75934 glibcxx_cv_func_isnanl_use=yes
75935 else
75936 glibcxx_cv_func_isnanl_use=no
75938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75939 ac_ext=c
75940 ac_cpp='$CPP $CPPFLAGS'
75941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
75950 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
75952 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
75953 for ac_func in isnanl
75954 do :
75955 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
75956 if test "x$ac_cv_func_isnanl" = x""yes; then :
75957 cat >>confdefs.h <<_ACEOF
75958 #define HAVE_ISNANL 1
75959 _ACEOF
75962 done
75964 else
75966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
75967 $as_echo_n "checking for _isnanl declaration... " >&6; }
75968 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
75969 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
75970 $as_echo_n "(cached) " >&6
75971 else
75974 ac_ext=cpp
75975 ac_cpp='$CXXCPP $CPPFLAGS'
75976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75981 /* end confdefs.h. */
75982 #include <math.h>
75983 #ifdef HAVE_IEEEFP_H
75984 #include <ieeefp.h>
75985 #endif
75988 main ()
75990 _isnanl(0);
75992 return 0;
75994 _ACEOF
75995 if ac_fn_cxx_try_compile "$LINENO"; then :
75996 glibcxx_cv_func__isnanl_use=yes
75997 else
75998 glibcxx_cv_func__isnanl_use=no
76000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76001 ac_ext=c
76002 ac_cpp='$CPP $CPPFLAGS'
76003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
76012 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
76014 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
76015 for ac_func in _isnanl
76016 do :
76017 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
76018 if test "x$ac_cv_func__isnanl" = x""yes; then :
76019 cat >>confdefs.h <<_ACEOF
76020 #define HAVE__ISNANL 1
76021 _ACEOF
76024 done
76033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
76034 $as_echo_n "checking for isinfl declaration... " >&6; }
76035 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
76036 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
76037 $as_echo_n "(cached) " >&6
76038 else
76041 ac_ext=cpp
76042 ac_cpp='$CXXCPP $CPPFLAGS'
76043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76048 /* end confdefs.h. */
76049 #include <math.h>
76050 #ifdef HAVE_IEEEFP_H
76051 #include <ieeefp.h>
76052 #endif
76055 main ()
76057 isinfl(0);
76059 return 0;
76061 _ACEOF
76062 if ac_fn_cxx_try_compile "$LINENO"; then :
76063 glibcxx_cv_func_isinfl_use=yes
76064 else
76065 glibcxx_cv_func_isinfl_use=no
76067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76068 ac_ext=c
76069 ac_cpp='$CPP $CPPFLAGS'
76070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
76079 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
76081 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
76082 for ac_func in isinfl
76083 do :
76084 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
76085 if test "x$ac_cv_func_isinfl" = x""yes; then :
76086 cat >>confdefs.h <<_ACEOF
76087 #define HAVE_ISINFL 1
76088 _ACEOF
76091 done
76093 else
76095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
76096 $as_echo_n "checking for _isinfl declaration... " >&6; }
76097 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
76098 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
76099 $as_echo_n "(cached) " >&6
76100 else
76103 ac_ext=cpp
76104 ac_cpp='$CXXCPP $CPPFLAGS'
76105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76110 /* end confdefs.h. */
76111 #include <math.h>
76112 #ifdef HAVE_IEEEFP_H
76113 #include <ieeefp.h>
76114 #endif
76117 main ()
76119 _isinfl(0);
76121 return 0;
76123 _ACEOF
76124 if ac_fn_cxx_try_compile "$LINENO"; then :
76125 glibcxx_cv_func__isinfl_use=yes
76126 else
76127 glibcxx_cv_func__isinfl_use=no
76129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76130 ac_ext=c
76131 ac_cpp='$CPP $CPPFLAGS'
76132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
76141 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
76143 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
76144 for ac_func in _isinfl
76145 do :
76146 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
76147 if test "x$ac_cv_func__isinfl" = x""yes; then :
76148 cat >>confdefs.h <<_ACEOF
76149 #define HAVE__ISINFL 1
76150 _ACEOF
76153 done
76162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
76163 $as_echo_n "checking for atan2l declaration... " >&6; }
76164 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
76165 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
76166 $as_echo_n "(cached) " >&6
76167 else
76170 ac_ext=cpp
76171 ac_cpp='$CXXCPP $CPPFLAGS'
76172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76177 /* end confdefs.h. */
76178 #include <math.h>
76180 main ()
76182 atan2l(0, 0);
76184 return 0;
76186 _ACEOF
76187 if ac_fn_cxx_try_compile "$LINENO"; then :
76188 glibcxx_cv_func_atan2l_use=yes
76189 else
76190 glibcxx_cv_func_atan2l_use=no
76192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76193 ac_ext=c
76194 ac_cpp='$CPP $CPPFLAGS'
76195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
76204 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
76206 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
76207 for ac_func in atan2l
76208 do :
76209 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
76210 if test "x$ac_cv_func_atan2l" = x""yes; then :
76211 cat >>confdefs.h <<_ACEOF
76212 #define HAVE_ATAN2L 1
76213 _ACEOF
76216 done
76218 else
76220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
76221 $as_echo_n "checking for _atan2l declaration... " >&6; }
76222 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
76223 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
76224 $as_echo_n "(cached) " >&6
76225 else
76228 ac_ext=cpp
76229 ac_cpp='$CXXCPP $CPPFLAGS'
76230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76235 /* end confdefs.h. */
76236 #include <math.h>
76238 main ()
76240 _atan2l(0, 0);
76242 return 0;
76244 _ACEOF
76245 if ac_fn_cxx_try_compile "$LINENO"; then :
76246 glibcxx_cv_func__atan2l_use=yes
76247 else
76248 glibcxx_cv_func__atan2l_use=no
76250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76251 ac_ext=c
76252 ac_cpp='$CPP $CPPFLAGS'
76253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
76262 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
76264 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
76265 for ac_func in _atan2l
76266 do :
76267 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
76268 if test "x$ac_cv_func__atan2l" = x""yes; then :
76269 cat >>confdefs.h <<_ACEOF
76270 #define HAVE__ATAN2L 1
76271 _ACEOF
76274 done
76283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
76284 $as_echo_n "checking for expl declaration... " >&6; }
76285 if test x${glibcxx_cv_func_expl_use+set} != xset; then
76286 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
76287 $as_echo_n "(cached) " >&6
76288 else
76291 ac_ext=cpp
76292 ac_cpp='$CXXCPP $CPPFLAGS'
76293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76298 /* end confdefs.h. */
76299 #include <math.h>
76300 #ifdef HAVE_IEEEFP_H
76301 #include <ieeefp.h>
76302 #endif
76305 main ()
76307 expl(0);
76309 return 0;
76311 _ACEOF
76312 if ac_fn_cxx_try_compile "$LINENO"; then :
76313 glibcxx_cv_func_expl_use=yes
76314 else
76315 glibcxx_cv_func_expl_use=no
76317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76318 ac_ext=c
76319 ac_cpp='$CPP $CPPFLAGS'
76320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
76329 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
76331 if test x$glibcxx_cv_func_expl_use = x"yes"; then
76332 for ac_func in expl
76333 do :
76334 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
76335 if test "x$ac_cv_func_expl" = x""yes; then :
76336 cat >>confdefs.h <<_ACEOF
76337 #define HAVE_EXPL 1
76338 _ACEOF
76341 done
76343 else
76345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
76346 $as_echo_n "checking for _expl declaration... " >&6; }
76347 if test x${glibcxx_cv_func__expl_use+set} != xset; then
76348 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
76349 $as_echo_n "(cached) " >&6
76350 else
76353 ac_ext=cpp
76354 ac_cpp='$CXXCPP $CPPFLAGS'
76355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76360 /* end confdefs.h. */
76361 #include <math.h>
76362 #ifdef HAVE_IEEEFP_H
76363 #include <ieeefp.h>
76364 #endif
76367 main ()
76369 _expl(0);
76371 return 0;
76373 _ACEOF
76374 if ac_fn_cxx_try_compile "$LINENO"; then :
76375 glibcxx_cv_func__expl_use=yes
76376 else
76377 glibcxx_cv_func__expl_use=no
76379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76380 ac_ext=c
76381 ac_cpp='$CPP $CPPFLAGS'
76382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
76391 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
76393 if test x$glibcxx_cv_func__expl_use = x"yes"; then
76394 for ac_func in _expl
76395 do :
76396 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
76397 if test "x$ac_cv_func__expl" = x""yes; then :
76398 cat >>confdefs.h <<_ACEOF
76399 #define HAVE__EXPL 1
76400 _ACEOF
76403 done
76412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
76413 $as_echo_n "checking for fabsl declaration... " >&6; }
76414 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
76415 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
76416 $as_echo_n "(cached) " >&6
76417 else
76420 ac_ext=cpp
76421 ac_cpp='$CXXCPP $CPPFLAGS'
76422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76427 /* end confdefs.h. */
76428 #include <math.h>
76429 #ifdef HAVE_IEEEFP_H
76430 #include <ieeefp.h>
76431 #endif
76434 main ()
76436 fabsl(0);
76438 return 0;
76440 _ACEOF
76441 if ac_fn_cxx_try_compile "$LINENO"; then :
76442 glibcxx_cv_func_fabsl_use=yes
76443 else
76444 glibcxx_cv_func_fabsl_use=no
76446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76447 ac_ext=c
76448 ac_cpp='$CPP $CPPFLAGS'
76449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
76458 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
76460 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
76461 for ac_func in fabsl
76462 do :
76463 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
76464 if test "x$ac_cv_func_fabsl" = x""yes; then :
76465 cat >>confdefs.h <<_ACEOF
76466 #define HAVE_FABSL 1
76467 _ACEOF
76470 done
76472 else
76474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
76475 $as_echo_n "checking for _fabsl declaration... " >&6; }
76476 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
76477 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
76478 $as_echo_n "(cached) " >&6
76479 else
76482 ac_ext=cpp
76483 ac_cpp='$CXXCPP $CPPFLAGS'
76484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76489 /* end confdefs.h. */
76490 #include <math.h>
76491 #ifdef HAVE_IEEEFP_H
76492 #include <ieeefp.h>
76493 #endif
76496 main ()
76498 _fabsl(0);
76500 return 0;
76502 _ACEOF
76503 if ac_fn_cxx_try_compile "$LINENO"; then :
76504 glibcxx_cv_func__fabsl_use=yes
76505 else
76506 glibcxx_cv_func__fabsl_use=no
76508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76509 ac_ext=c
76510 ac_cpp='$CPP $CPPFLAGS'
76511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
76520 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
76522 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
76523 for ac_func in _fabsl
76524 do :
76525 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
76526 if test "x$ac_cv_func__fabsl" = x""yes; then :
76527 cat >>confdefs.h <<_ACEOF
76528 #define HAVE__FABSL 1
76529 _ACEOF
76532 done
76541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
76542 $as_echo_n "checking for fmodl declaration... " >&6; }
76543 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
76544 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
76545 $as_echo_n "(cached) " >&6
76546 else
76549 ac_ext=cpp
76550 ac_cpp='$CXXCPP $CPPFLAGS'
76551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76556 /* end confdefs.h. */
76557 #include <math.h>
76559 main ()
76561 fmodl(0, 0);
76563 return 0;
76565 _ACEOF
76566 if ac_fn_cxx_try_compile "$LINENO"; then :
76567 glibcxx_cv_func_fmodl_use=yes
76568 else
76569 glibcxx_cv_func_fmodl_use=no
76571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76572 ac_ext=c
76573 ac_cpp='$CPP $CPPFLAGS'
76574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
76583 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
76585 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
76586 for ac_func in fmodl
76587 do :
76588 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
76589 if test "x$ac_cv_func_fmodl" = x""yes; then :
76590 cat >>confdefs.h <<_ACEOF
76591 #define HAVE_FMODL 1
76592 _ACEOF
76595 done
76597 else
76599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
76600 $as_echo_n "checking for _fmodl declaration... " >&6; }
76601 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
76602 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
76603 $as_echo_n "(cached) " >&6
76604 else
76607 ac_ext=cpp
76608 ac_cpp='$CXXCPP $CPPFLAGS'
76609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76614 /* end confdefs.h. */
76615 #include <math.h>
76617 main ()
76619 _fmodl(0, 0);
76621 return 0;
76623 _ACEOF
76624 if ac_fn_cxx_try_compile "$LINENO"; then :
76625 glibcxx_cv_func__fmodl_use=yes
76626 else
76627 glibcxx_cv_func__fmodl_use=no
76629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76630 ac_ext=c
76631 ac_cpp='$CPP $CPPFLAGS'
76632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
76641 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
76643 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
76644 for ac_func in _fmodl
76645 do :
76646 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
76647 if test "x$ac_cv_func__fmodl" = x""yes; then :
76648 cat >>confdefs.h <<_ACEOF
76649 #define HAVE__FMODL 1
76650 _ACEOF
76653 done
76662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
76663 $as_echo_n "checking for frexpl declaration... " >&6; }
76664 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
76665 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
76666 $as_echo_n "(cached) " >&6
76667 else
76670 ac_ext=cpp
76671 ac_cpp='$CXXCPP $CPPFLAGS'
76672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76677 /* end confdefs.h. */
76678 #include <math.h>
76680 main ()
76682 frexpl(0, 0);
76684 return 0;
76686 _ACEOF
76687 if ac_fn_cxx_try_compile "$LINENO"; then :
76688 glibcxx_cv_func_frexpl_use=yes
76689 else
76690 glibcxx_cv_func_frexpl_use=no
76692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76693 ac_ext=c
76694 ac_cpp='$CPP $CPPFLAGS'
76695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
76704 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
76706 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
76707 for ac_func in frexpl
76708 do :
76709 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
76710 if test "x$ac_cv_func_frexpl" = x""yes; then :
76711 cat >>confdefs.h <<_ACEOF
76712 #define HAVE_FREXPL 1
76713 _ACEOF
76716 done
76718 else
76720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
76721 $as_echo_n "checking for _frexpl declaration... " >&6; }
76722 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
76723 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
76724 $as_echo_n "(cached) " >&6
76725 else
76728 ac_ext=cpp
76729 ac_cpp='$CXXCPP $CPPFLAGS'
76730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76735 /* end confdefs.h. */
76736 #include <math.h>
76738 main ()
76740 _frexpl(0, 0);
76742 return 0;
76744 _ACEOF
76745 if ac_fn_cxx_try_compile "$LINENO"; then :
76746 glibcxx_cv_func__frexpl_use=yes
76747 else
76748 glibcxx_cv_func__frexpl_use=no
76750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76751 ac_ext=c
76752 ac_cpp='$CPP $CPPFLAGS'
76753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
76762 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
76764 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
76765 for ac_func in _frexpl
76766 do :
76767 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
76768 if test "x$ac_cv_func__frexpl" = x""yes; then :
76769 cat >>confdefs.h <<_ACEOF
76770 #define HAVE__FREXPL 1
76771 _ACEOF
76774 done
76783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
76784 $as_echo_n "checking for hypotl declaration... " >&6; }
76785 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
76786 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
76787 $as_echo_n "(cached) " >&6
76788 else
76791 ac_ext=cpp
76792 ac_cpp='$CXXCPP $CPPFLAGS'
76793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76798 /* end confdefs.h. */
76799 #include <math.h>
76801 main ()
76803 hypotl(0, 0);
76805 return 0;
76807 _ACEOF
76808 if ac_fn_cxx_try_compile "$LINENO"; then :
76809 glibcxx_cv_func_hypotl_use=yes
76810 else
76811 glibcxx_cv_func_hypotl_use=no
76813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76814 ac_ext=c
76815 ac_cpp='$CPP $CPPFLAGS'
76816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
76825 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
76827 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
76828 for ac_func in hypotl
76829 do :
76830 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
76831 if test "x$ac_cv_func_hypotl" = x""yes; then :
76832 cat >>confdefs.h <<_ACEOF
76833 #define HAVE_HYPOTL 1
76834 _ACEOF
76837 done
76839 else
76841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
76842 $as_echo_n "checking for _hypotl declaration... " >&6; }
76843 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
76844 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
76845 $as_echo_n "(cached) " >&6
76846 else
76849 ac_ext=cpp
76850 ac_cpp='$CXXCPP $CPPFLAGS'
76851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76856 /* end confdefs.h. */
76857 #include <math.h>
76859 main ()
76861 _hypotl(0, 0);
76863 return 0;
76865 _ACEOF
76866 if ac_fn_cxx_try_compile "$LINENO"; then :
76867 glibcxx_cv_func__hypotl_use=yes
76868 else
76869 glibcxx_cv_func__hypotl_use=no
76871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76872 ac_ext=c
76873 ac_cpp='$CPP $CPPFLAGS'
76874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
76883 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
76885 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
76886 for ac_func in _hypotl
76887 do :
76888 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
76889 if test "x$ac_cv_func__hypotl" = x""yes; then :
76890 cat >>confdefs.h <<_ACEOF
76891 #define HAVE__HYPOTL 1
76892 _ACEOF
76895 done
76904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
76905 $as_echo_n "checking for ldexpl declaration... " >&6; }
76906 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
76907 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
76908 $as_echo_n "(cached) " >&6
76909 else
76912 ac_ext=cpp
76913 ac_cpp='$CXXCPP $CPPFLAGS'
76914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76919 /* end confdefs.h. */
76920 #include <math.h>
76922 main ()
76924 ldexpl(0, 0);
76926 return 0;
76928 _ACEOF
76929 if ac_fn_cxx_try_compile "$LINENO"; then :
76930 glibcxx_cv_func_ldexpl_use=yes
76931 else
76932 glibcxx_cv_func_ldexpl_use=no
76934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76935 ac_ext=c
76936 ac_cpp='$CPP $CPPFLAGS'
76937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
76946 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
76948 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
76949 for ac_func in ldexpl
76950 do :
76951 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
76952 if test "x$ac_cv_func_ldexpl" = x""yes; then :
76953 cat >>confdefs.h <<_ACEOF
76954 #define HAVE_LDEXPL 1
76955 _ACEOF
76958 done
76960 else
76962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
76963 $as_echo_n "checking for _ldexpl declaration... " >&6; }
76964 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
76965 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
76966 $as_echo_n "(cached) " >&6
76967 else
76970 ac_ext=cpp
76971 ac_cpp='$CXXCPP $CPPFLAGS'
76972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76977 /* end confdefs.h. */
76978 #include <math.h>
76980 main ()
76982 _ldexpl(0, 0);
76984 return 0;
76986 _ACEOF
76987 if ac_fn_cxx_try_compile "$LINENO"; then :
76988 glibcxx_cv_func__ldexpl_use=yes
76989 else
76990 glibcxx_cv_func__ldexpl_use=no
76992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76993 ac_ext=c
76994 ac_cpp='$CPP $CPPFLAGS'
76995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
77004 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
77006 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
77007 for ac_func in _ldexpl
77008 do :
77009 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
77010 if test "x$ac_cv_func__ldexpl" = x""yes; then :
77011 cat >>confdefs.h <<_ACEOF
77012 #define HAVE__LDEXPL 1
77013 _ACEOF
77016 done
77025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
77026 $as_echo_n "checking for logl declaration... " >&6; }
77027 if test x${glibcxx_cv_func_logl_use+set} != xset; then
77028 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
77029 $as_echo_n "(cached) " >&6
77030 else
77033 ac_ext=cpp
77034 ac_cpp='$CXXCPP $CPPFLAGS'
77035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77040 /* end confdefs.h. */
77041 #include <math.h>
77042 #ifdef HAVE_IEEEFP_H
77043 #include <ieeefp.h>
77044 #endif
77047 main ()
77049 logl(0);
77051 return 0;
77053 _ACEOF
77054 if ac_fn_cxx_try_compile "$LINENO"; then :
77055 glibcxx_cv_func_logl_use=yes
77056 else
77057 glibcxx_cv_func_logl_use=no
77059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77060 ac_ext=c
77061 ac_cpp='$CPP $CPPFLAGS'
77062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
77071 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
77073 if test x$glibcxx_cv_func_logl_use = x"yes"; then
77074 for ac_func in logl
77075 do :
77076 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
77077 if test "x$ac_cv_func_logl" = x""yes; then :
77078 cat >>confdefs.h <<_ACEOF
77079 #define HAVE_LOGL 1
77080 _ACEOF
77083 done
77085 else
77087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
77088 $as_echo_n "checking for _logl declaration... " >&6; }
77089 if test x${glibcxx_cv_func__logl_use+set} != xset; then
77090 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
77091 $as_echo_n "(cached) " >&6
77092 else
77095 ac_ext=cpp
77096 ac_cpp='$CXXCPP $CPPFLAGS'
77097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77102 /* end confdefs.h. */
77103 #include <math.h>
77104 #ifdef HAVE_IEEEFP_H
77105 #include <ieeefp.h>
77106 #endif
77109 main ()
77111 _logl(0);
77113 return 0;
77115 _ACEOF
77116 if ac_fn_cxx_try_compile "$LINENO"; then :
77117 glibcxx_cv_func__logl_use=yes
77118 else
77119 glibcxx_cv_func__logl_use=no
77121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77122 ac_ext=c
77123 ac_cpp='$CPP $CPPFLAGS'
77124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
77133 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
77135 if test x$glibcxx_cv_func__logl_use = x"yes"; then
77136 for ac_func in _logl
77137 do :
77138 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
77139 if test "x$ac_cv_func__logl" = x""yes; then :
77140 cat >>confdefs.h <<_ACEOF
77141 #define HAVE__LOGL 1
77142 _ACEOF
77145 done
77154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
77155 $as_echo_n "checking for log10l declaration... " >&6; }
77156 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
77157 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
77158 $as_echo_n "(cached) " >&6
77159 else
77162 ac_ext=cpp
77163 ac_cpp='$CXXCPP $CPPFLAGS'
77164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77169 /* end confdefs.h. */
77170 #include <math.h>
77171 #ifdef HAVE_IEEEFP_H
77172 #include <ieeefp.h>
77173 #endif
77176 main ()
77178 log10l(0);
77180 return 0;
77182 _ACEOF
77183 if ac_fn_cxx_try_compile "$LINENO"; then :
77184 glibcxx_cv_func_log10l_use=yes
77185 else
77186 glibcxx_cv_func_log10l_use=no
77188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77189 ac_ext=c
77190 ac_cpp='$CPP $CPPFLAGS'
77191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
77200 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
77202 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
77203 for ac_func in log10l
77204 do :
77205 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
77206 if test "x$ac_cv_func_log10l" = x""yes; then :
77207 cat >>confdefs.h <<_ACEOF
77208 #define HAVE_LOG10L 1
77209 _ACEOF
77212 done
77214 else
77216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
77217 $as_echo_n "checking for _log10l declaration... " >&6; }
77218 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
77219 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
77220 $as_echo_n "(cached) " >&6
77221 else
77224 ac_ext=cpp
77225 ac_cpp='$CXXCPP $CPPFLAGS'
77226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77231 /* end confdefs.h. */
77232 #include <math.h>
77233 #ifdef HAVE_IEEEFP_H
77234 #include <ieeefp.h>
77235 #endif
77238 main ()
77240 _log10l(0);
77242 return 0;
77244 _ACEOF
77245 if ac_fn_cxx_try_compile "$LINENO"; then :
77246 glibcxx_cv_func__log10l_use=yes
77247 else
77248 glibcxx_cv_func__log10l_use=no
77250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77251 ac_ext=c
77252 ac_cpp='$CPP $CPPFLAGS'
77253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
77262 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
77264 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
77265 for ac_func in _log10l
77266 do :
77267 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
77268 if test "x$ac_cv_func__log10l" = x""yes; then :
77269 cat >>confdefs.h <<_ACEOF
77270 #define HAVE__LOG10L 1
77271 _ACEOF
77274 done
77283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
77284 $as_echo_n "checking for modfl declaration... " >&6; }
77285 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
77286 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
77287 $as_echo_n "(cached) " >&6
77288 else
77291 ac_ext=cpp
77292 ac_cpp='$CXXCPP $CPPFLAGS'
77293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77298 /* end confdefs.h. */
77299 #include <math.h>
77301 main ()
77303 modfl(0, 0);
77305 return 0;
77307 _ACEOF
77308 if ac_fn_cxx_try_compile "$LINENO"; then :
77309 glibcxx_cv_func_modfl_use=yes
77310 else
77311 glibcxx_cv_func_modfl_use=no
77313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77314 ac_ext=c
77315 ac_cpp='$CPP $CPPFLAGS'
77316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
77325 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
77327 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
77328 for ac_func in modfl
77329 do :
77330 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
77331 if test "x$ac_cv_func_modfl" = x""yes; then :
77332 cat >>confdefs.h <<_ACEOF
77333 #define HAVE_MODFL 1
77334 _ACEOF
77337 done
77339 else
77341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
77342 $as_echo_n "checking for _modfl declaration... " >&6; }
77343 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
77344 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
77345 $as_echo_n "(cached) " >&6
77346 else
77349 ac_ext=cpp
77350 ac_cpp='$CXXCPP $CPPFLAGS'
77351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77356 /* end confdefs.h. */
77357 #include <math.h>
77359 main ()
77361 _modfl(0, 0);
77363 return 0;
77365 _ACEOF
77366 if ac_fn_cxx_try_compile "$LINENO"; then :
77367 glibcxx_cv_func__modfl_use=yes
77368 else
77369 glibcxx_cv_func__modfl_use=no
77371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77372 ac_ext=c
77373 ac_cpp='$CPP $CPPFLAGS'
77374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
77383 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
77385 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
77386 for ac_func in _modfl
77387 do :
77388 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
77389 if test "x$ac_cv_func__modfl" = x""yes; then :
77390 cat >>confdefs.h <<_ACEOF
77391 #define HAVE__MODFL 1
77392 _ACEOF
77395 done
77404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
77405 $as_echo_n "checking for powl declaration... " >&6; }
77406 if test x${glibcxx_cv_func_powl_use+set} != xset; then
77407 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
77408 $as_echo_n "(cached) " >&6
77409 else
77412 ac_ext=cpp
77413 ac_cpp='$CXXCPP $CPPFLAGS'
77414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77419 /* end confdefs.h. */
77420 #include <math.h>
77422 main ()
77424 powl(0, 0);
77426 return 0;
77428 _ACEOF
77429 if ac_fn_cxx_try_compile "$LINENO"; then :
77430 glibcxx_cv_func_powl_use=yes
77431 else
77432 glibcxx_cv_func_powl_use=no
77434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77435 ac_ext=c
77436 ac_cpp='$CPP $CPPFLAGS'
77437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
77446 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
77448 if test x$glibcxx_cv_func_powl_use = x"yes"; then
77449 for ac_func in powl
77450 do :
77451 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
77452 if test "x$ac_cv_func_powl" = x""yes; then :
77453 cat >>confdefs.h <<_ACEOF
77454 #define HAVE_POWL 1
77455 _ACEOF
77458 done
77460 else
77462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
77463 $as_echo_n "checking for _powl declaration... " >&6; }
77464 if test x${glibcxx_cv_func__powl_use+set} != xset; then
77465 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
77466 $as_echo_n "(cached) " >&6
77467 else
77470 ac_ext=cpp
77471 ac_cpp='$CXXCPP $CPPFLAGS'
77472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77477 /* end confdefs.h. */
77478 #include <math.h>
77480 main ()
77482 _powl(0, 0);
77484 return 0;
77486 _ACEOF
77487 if ac_fn_cxx_try_compile "$LINENO"; then :
77488 glibcxx_cv_func__powl_use=yes
77489 else
77490 glibcxx_cv_func__powl_use=no
77492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77493 ac_ext=c
77494 ac_cpp='$CPP $CPPFLAGS'
77495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
77504 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
77506 if test x$glibcxx_cv_func__powl_use = x"yes"; then
77507 for ac_func in _powl
77508 do :
77509 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
77510 if test "x$ac_cv_func__powl" = x""yes; then :
77511 cat >>confdefs.h <<_ACEOF
77512 #define HAVE__POWL 1
77513 _ACEOF
77516 done
77525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
77526 $as_echo_n "checking for sqrtl declaration... " >&6; }
77527 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
77528 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
77529 $as_echo_n "(cached) " >&6
77530 else
77533 ac_ext=cpp
77534 ac_cpp='$CXXCPP $CPPFLAGS'
77535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77540 /* end confdefs.h. */
77541 #include <math.h>
77542 #ifdef HAVE_IEEEFP_H
77543 #include <ieeefp.h>
77544 #endif
77547 main ()
77549 sqrtl(0);
77551 return 0;
77553 _ACEOF
77554 if ac_fn_cxx_try_compile "$LINENO"; then :
77555 glibcxx_cv_func_sqrtl_use=yes
77556 else
77557 glibcxx_cv_func_sqrtl_use=no
77559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77560 ac_ext=c
77561 ac_cpp='$CPP $CPPFLAGS'
77562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
77571 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
77573 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
77574 for ac_func in sqrtl
77575 do :
77576 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
77577 if test "x$ac_cv_func_sqrtl" = x""yes; then :
77578 cat >>confdefs.h <<_ACEOF
77579 #define HAVE_SQRTL 1
77580 _ACEOF
77583 done
77585 else
77587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
77588 $as_echo_n "checking for _sqrtl declaration... " >&6; }
77589 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
77590 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
77591 $as_echo_n "(cached) " >&6
77592 else
77595 ac_ext=cpp
77596 ac_cpp='$CXXCPP $CPPFLAGS'
77597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77602 /* end confdefs.h. */
77603 #include <math.h>
77604 #ifdef HAVE_IEEEFP_H
77605 #include <ieeefp.h>
77606 #endif
77609 main ()
77611 _sqrtl(0);
77613 return 0;
77615 _ACEOF
77616 if ac_fn_cxx_try_compile "$LINENO"; then :
77617 glibcxx_cv_func__sqrtl_use=yes
77618 else
77619 glibcxx_cv_func__sqrtl_use=no
77621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77622 ac_ext=c
77623 ac_cpp='$CPP $CPPFLAGS'
77624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
77633 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
77635 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
77636 for ac_func in _sqrtl
77637 do :
77638 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
77639 if test "x$ac_cv_func__sqrtl" = x""yes; then :
77640 cat >>confdefs.h <<_ACEOF
77641 #define HAVE__SQRTL 1
77642 _ACEOF
77645 done
77654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
77655 $as_echo_n "checking for sincosl declaration... " >&6; }
77656 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
77657 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
77658 $as_echo_n "(cached) " >&6
77659 else
77662 ac_ext=cpp
77663 ac_cpp='$CXXCPP $CPPFLAGS'
77664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77669 /* end confdefs.h. */
77670 #include <math.h>
77672 main ()
77674 sincosl(0, 0, 0);
77676 return 0;
77678 _ACEOF
77679 if ac_fn_cxx_try_compile "$LINENO"; then :
77680 glibcxx_cv_func_sincosl_use=yes
77681 else
77682 glibcxx_cv_func_sincosl_use=no
77684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77685 ac_ext=c
77686 ac_cpp='$CPP $CPPFLAGS'
77687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
77696 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
77698 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
77699 for ac_func in sincosl
77700 do :
77701 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
77702 if test "x$ac_cv_func_sincosl" = x""yes; then :
77703 cat >>confdefs.h <<_ACEOF
77704 #define HAVE_SINCOSL 1
77705 _ACEOF
77708 done
77710 else
77712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
77713 $as_echo_n "checking for _sincosl declaration... " >&6; }
77714 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
77715 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
77716 $as_echo_n "(cached) " >&6
77717 else
77720 ac_ext=cpp
77721 ac_cpp='$CXXCPP $CPPFLAGS'
77722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77727 /* end confdefs.h. */
77728 #include <math.h>
77730 main ()
77732 _sincosl(0, 0, 0);
77734 return 0;
77736 _ACEOF
77737 if ac_fn_cxx_try_compile "$LINENO"; then :
77738 glibcxx_cv_func__sincosl_use=yes
77739 else
77740 glibcxx_cv_func__sincosl_use=no
77742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77743 ac_ext=c
77744 ac_cpp='$CPP $CPPFLAGS'
77745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
77754 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
77756 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
77757 for ac_func in _sincosl
77758 do :
77759 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
77760 if test "x$ac_cv_func__sincosl" = x""yes; then :
77761 cat >>confdefs.h <<_ACEOF
77762 #define HAVE__SINCOSL 1
77763 _ACEOF
77766 done
77775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
77776 $as_echo_n "checking for finitel declaration... " >&6; }
77777 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
77778 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
77779 $as_echo_n "(cached) " >&6
77780 else
77783 ac_ext=cpp
77784 ac_cpp='$CXXCPP $CPPFLAGS'
77785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77790 /* end confdefs.h. */
77791 #include <math.h>
77792 #ifdef HAVE_IEEEFP_H
77793 #include <ieeefp.h>
77794 #endif
77797 main ()
77799 finitel(0);
77801 return 0;
77803 _ACEOF
77804 if ac_fn_cxx_try_compile "$LINENO"; then :
77805 glibcxx_cv_func_finitel_use=yes
77806 else
77807 glibcxx_cv_func_finitel_use=no
77809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77810 ac_ext=c
77811 ac_cpp='$CPP $CPPFLAGS'
77812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
77821 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
77823 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
77824 for ac_func in finitel
77825 do :
77826 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
77827 if test "x$ac_cv_func_finitel" = x""yes; then :
77828 cat >>confdefs.h <<_ACEOF
77829 #define HAVE_FINITEL 1
77830 _ACEOF
77833 done
77835 else
77837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
77838 $as_echo_n "checking for _finitel declaration... " >&6; }
77839 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
77840 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
77841 $as_echo_n "(cached) " >&6
77842 else
77845 ac_ext=cpp
77846 ac_cpp='$CXXCPP $CPPFLAGS'
77847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77852 /* end confdefs.h. */
77853 #include <math.h>
77854 #ifdef HAVE_IEEEFP_H
77855 #include <ieeefp.h>
77856 #endif
77859 main ()
77861 _finitel(0);
77863 return 0;
77865 _ACEOF
77866 if ac_fn_cxx_try_compile "$LINENO"; then :
77867 glibcxx_cv_func__finitel_use=yes
77868 else
77869 glibcxx_cv_func__finitel_use=no
77871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77872 ac_ext=c
77873 ac_cpp='$CPP $CPPFLAGS'
77874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
77883 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
77885 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
77886 for ac_func in _finitel
77887 do :
77888 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
77889 if test "x$ac_cv_func__finitel" = x""yes; then :
77890 cat >>confdefs.h <<_ACEOF
77891 #define HAVE__FINITEL 1
77892 _ACEOF
77895 done
77903 LIBS="$ac_save_LIBS"
77904 CXXFLAGS="$ac_save_CXXFLAGS"
77907 ac_test_CXXFLAGS="${CXXFLAGS+set}"
77908 ac_save_CXXFLAGS="$CXXFLAGS"
77909 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
77912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
77913 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
77914 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
77915 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
77916 $as_echo_n "(cached) " >&6
77917 else
77920 ac_ext=cpp
77921 ac_cpp='$CXXCPP $CPPFLAGS'
77922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77927 /* end confdefs.h. */
77928 #include <stdlib.h>
77930 main ()
77932 at_quick_exit(0);
77934 return 0;
77936 _ACEOF
77937 if ac_fn_cxx_try_compile "$LINENO"; then :
77938 glibcxx_cv_func_at_quick_exit_use=yes
77939 else
77940 glibcxx_cv_func_at_quick_exit_use=no
77942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77943 ac_ext=c
77944 ac_cpp='$CPP $CPPFLAGS'
77945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
77954 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
77955 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
77956 for ac_func in at_quick_exit
77957 do :
77958 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
77959 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
77960 cat >>confdefs.h <<_ACEOF
77961 #define HAVE_AT_QUICK_EXIT 1
77962 _ACEOF
77965 done
77970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
77971 $as_echo_n "checking for quick_exit declaration... " >&6; }
77972 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
77973 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
77974 $as_echo_n "(cached) " >&6
77975 else
77978 ac_ext=cpp
77979 ac_cpp='$CXXCPP $CPPFLAGS'
77980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77985 /* end confdefs.h. */
77986 #include <stdlib.h>
77988 main ()
77990 quick_exit(0);
77992 return 0;
77994 _ACEOF
77995 if ac_fn_cxx_try_compile "$LINENO"; then :
77996 glibcxx_cv_func_quick_exit_use=yes
77997 else
77998 glibcxx_cv_func_quick_exit_use=no
78000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78001 ac_ext=c
78002 ac_cpp='$CPP $CPPFLAGS'
78003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
78012 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
78013 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
78014 for ac_func in quick_exit
78015 do :
78016 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
78017 if test "x$ac_cv_func_quick_exit" = x""yes; then :
78018 cat >>confdefs.h <<_ACEOF
78019 #define HAVE_QUICK_EXIT 1
78020 _ACEOF
78023 done
78028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
78029 $as_echo_n "checking for strtold declaration... " >&6; }
78030 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
78031 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
78032 $as_echo_n "(cached) " >&6
78033 else
78036 ac_ext=cpp
78037 ac_cpp='$CXXCPP $CPPFLAGS'
78038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78043 /* end confdefs.h. */
78044 #include <stdlib.h>
78046 main ()
78048 strtold(0, 0);
78050 return 0;
78052 _ACEOF
78053 if ac_fn_cxx_try_compile "$LINENO"; then :
78054 glibcxx_cv_func_strtold_use=yes
78055 else
78056 glibcxx_cv_func_strtold_use=no
78058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78059 ac_ext=c
78060 ac_cpp='$CPP $CPPFLAGS'
78061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
78070 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
78071 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
78072 for ac_func in strtold
78073 do :
78074 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
78075 if test "x$ac_cv_func_strtold" = x""yes; then :
78076 cat >>confdefs.h <<_ACEOF
78077 #define HAVE_STRTOLD 1
78078 _ACEOF
78081 done
78088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
78089 $as_echo_n "checking for strtof declaration... " >&6; }
78090 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
78091 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
78092 $as_echo_n "(cached) " >&6
78093 else
78096 ac_ext=cpp
78097 ac_cpp='$CXXCPP $CPPFLAGS'
78098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78103 /* end confdefs.h. */
78104 #include <stdlib.h>
78106 main ()
78108 strtof(0, 0);
78110 return 0;
78112 _ACEOF
78113 if ac_fn_cxx_try_compile "$LINENO"; then :
78114 glibcxx_cv_func_strtof_use=yes
78115 else
78116 glibcxx_cv_func_strtof_use=no
78118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78119 ac_ext=c
78120 ac_cpp='$CPP $CPPFLAGS'
78121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
78130 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
78131 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
78132 for ac_func in strtof
78133 do :
78134 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
78135 if test "x$ac_cv_func_strtof" = x""yes; then :
78136 cat >>confdefs.h <<_ACEOF
78137 #define HAVE_STRTOF 1
78138 _ACEOF
78141 done
78148 CXXFLAGS="$ac_save_CXXFLAGS"
78151 *-vxworks)
78152 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
78154 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
78156 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
78158 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
78160 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
78162 $as_echo "#define HAVE_COSF 1" >>confdefs.h
78164 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
78166 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
78168 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
78170 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
78172 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
78174 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
78176 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
78178 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
78180 $as_echo "#define HAVE_POWF 1" >>confdefs.h
78182 $as_echo "#define HAVE_SINF 1" >>confdefs.h
78184 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
78186 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
78188 $as_echo "#define HAVE_TANF 1" >>confdefs.h
78190 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
78194 as_fn_error "No support for this host/target combination." "$LINENO" 5
78196 esac
78200 # At some point, we should differentiate between architectures
78201 # like x86, which have long double versions, and alpha/powerpc/etc.,
78202 # which don't. For the time being, punt.
78203 if test x"long_double_math_on_this_cpu" = x"yes"; then
78204 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
78206 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
78208 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
78210 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
78212 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
78214 $as_echo "#define HAVE_COSL 1" >>confdefs.h
78216 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
78218 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
78220 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
78222 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
78224 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
78226 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
78228 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
78230 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
78232 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
78234 $as_echo "#define HAVE_MODFL 1" >>confdefs.h
78236 $as_echo "#define HAVE_POWL 1" >>confdefs.h
78238 $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
78240 $as_echo "#define HAVE_SINL 1" >>confdefs.h
78242 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
78244 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
78246 $as_echo "#define HAVE_TANL 1" >>confdefs.h
78248 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
78253 # Check for _Unwind_GetIPInfo.
78256 # Check whether --with-system-libunwind was given.
78257 if test "${with_system_libunwind+set}" = set; then :
78258 withval=$with_system_libunwind;
78261 # If system-libunwind was not specifically set, pick a default setting.
78262 if test x$with_system_libunwind = x; then
78263 case ${target} in
78264 ia64-*-hpux*) with_system_libunwind=yes ;;
78265 *) with_system_libunwind=no ;;
78266 esac
78268 # Based on system-libunwind and target, do we have ipinfo?
78269 if test x$with_system_libunwind = xyes; then
78270 case ${target} in
78271 ia64-*-*) have_unwind_getipinfo=no ;;
78272 *) have_unwind_getipinfo=yes ;;
78273 esac
78274 else
78275 # Darwin before version 9 does not have _Unwind_GetIPInfo.
78277 case ${target} in
78278 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
78279 *) have_unwind_getipinfo=yes ;;
78280 esac
78284 if test x$have_unwind_getipinfo = xyes; then
78286 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
78291 # Check whether --enable-linux-futex was given.
78292 if test "${enable_linux_futex+set}" = set; then :
78293 enableval=$enable_linux_futex;
78294 case "$enableval" in
78295 yes|no|default) ;;
78296 *) as_fn_error "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
78297 esac
78299 else
78300 enable_linux_futex=default
78304 case "$target" in
78305 *-linux*)
78306 case "$enable_linux_futex" in
78307 default)
78308 # If headers don't have gettid/futex syscalls definition, then
78309 # default to no, otherwise there will be compile time failures.
78310 # Otherwise, default to yes. If we don't detect we are
78311 # compiled/linked against NPTL and not cross-compiling, check
78312 # if programs are run by default against NPTL and if not, issue
78313 # a warning.
78314 enable_linux_futex=no
78315 if test x$gcc_no_link = xyes; then
78316 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78319 /* end confdefs.h. */
78320 #include <sys/syscall.h>
78321 int lk;
78323 main ()
78325 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
78327 return 0;
78329 _ACEOF
78330 if ac_fn_c_try_link "$LINENO"; then :
78331 save_LIBS="$LIBS"
78332 LIBS="-lpthread $LIBS"
78333 if test x$gcc_no_link = xyes; then
78334 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78337 /* end confdefs.h. */
78338 #ifndef _GNU_SOURCE
78339 #define _GNU_SOURCE 1
78340 #endif
78341 #include <pthread.h>
78342 pthread_t th; void *status;
78344 main ()
78346 pthread_tryjoin_np (th, &status);
78348 return 0;
78350 _ACEOF
78351 if ac_fn_c_try_link "$LINENO"; then :
78352 enable_linux_futex=yes
78353 else
78354 if test x$cross_compiling = xno; then
78355 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
78356 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
78357 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
78358 If so, please configure with --disable-linux-futex" >&5
78359 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
78360 If so, please configure with --disable-linux-futex" >&2;}
78363 enable_linux_futex=yes
78365 rm -f core conftest.err conftest.$ac_objext \
78366 conftest$ac_exeext conftest.$ac_ext
78367 LIBS="$save_LIBS"
78369 rm -f core conftest.err conftest.$ac_objext \
78370 conftest$ac_exeext conftest.$ac_ext
78372 yes)
78373 if test x$gcc_no_link = xyes; then
78374 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78377 /* end confdefs.h. */
78378 #include <sys/syscall.h>
78379 int lk;
78381 main ()
78383 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
78385 return 0;
78387 _ACEOF
78388 if ac_fn_c_try_link "$LINENO"; then :
78390 else
78391 as_fn_error "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
78393 rm -f core conftest.err conftest.$ac_objext \
78394 conftest$ac_exeext conftest.$ac_ext
78396 esac
78399 enable_linux_futex=no
78401 esac
78402 if test x$enable_linux_futex = xyes; then
78404 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
78411 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
78413 acx_cv_header_stdint=stddef.h
78414 acx_cv_header_stdint_kind="(already complete)"
78415 for i in stdint.h $inttype_headers; do
78416 unset ac_cv_type_uintptr_t
78417 unset ac_cv_type_uintmax_t
78418 unset ac_cv_type_int_least32_t
78419 unset ac_cv_type_int_fast32_t
78420 unset ac_cv_type_uint64_t
78421 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
78422 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
78423 #include <$i>
78425 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
78426 acx_cv_header_stdint=$i
78427 else
78428 continue
78431 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
78432 #include <$i>
78434 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
78436 else
78437 acx_cv_header_stdint_kind="(mostly complete)"
78440 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
78441 #include <$i>
78443 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
78445 else
78446 acx_cv_header_stdint_kind="(mostly complete)"
78449 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
78450 #include <$i>
78452 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
78454 else
78455 acx_cv_header_stdint_kind="(mostly complete)"
78458 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
78459 #include <$i>
78461 if test "x$ac_cv_type_uint64_t" = x""yes; then :
78463 else
78464 acx_cv_header_stdint_kind="(lacks uint64_t)"
78467 break
78468 done
78469 if test "$acx_cv_header_stdint" = stddef.h; then
78470 acx_cv_header_stdint_kind="(lacks uintmax_t)"
78471 for i in stdint.h $inttype_headers; do
78472 unset ac_cv_type_uintptr_t
78473 unset ac_cv_type_uint32_t
78474 unset ac_cv_type_uint64_t
78475 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
78476 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
78477 #include <$i>
78479 if test "x$ac_cv_type_uint32_t" = x""yes; then :
78480 acx_cv_header_stdint=$i
78481 else
78482 continue
78485 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
78486 #include <$i>
78488 if test "x$ac_cv_type_uint64_t" = x""yes; then :
78492 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
78493 #include <$i>
78495 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
78499 break
78500 done
78502 if test "$acx_cv_header_stdint" = stddef.h; then
78503 acx_cv_header_stdint_kind="(u_intXX_t style)"
78504 for i in sys/types.h $inttype_headers; do
78505 unset ac_cv_type_u_int32_t
78506 unset ac_cv_type_u_int64_t
78507 $as_echo_n "looking for u_intXX_t types in $i, " >&6
78508 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
78509 #include <$i>
78511 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
78512 acx_cv_header_stdint=$i
78513 else
78514 continue
78517 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
78518 #include <$i>
78520 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
78524 break
78525 done
78527 if test "$acx_cv_header_stdint" = stddef.h; then
78528 acx_cv_header_stdint_kind="(using manual detection)"
78531 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
78532 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
78533 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
78534 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
78535 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
78537 # ----------------- Summarize what we found so far
78539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
78540 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
78542 case `$as_basename -- include/gstdint.h ||
78543 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
78544 Xinclude/gstdint.h : 'X\(//\)$' \| \
78545 Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
78546 $as_echo X/include/gstdint.h |
78547 sed '/^.*\/\([^/][^/]*\)\/*$/{
78548 s//\1/
78551 /^X\/\(\/\/\)$/{
78552 s//\1/
78555 /^X\/\(\/\).*/{
78556 s//\1/
78559 s/.*/./; q'` in
78560 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
78561 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
78562 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
78563 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
78564 *) ;;
78565 esac
78567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
78568 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
78570 # ----------------- done included file, check C basic types --------
78572 # Lacking an uintptr_t? Test size of void *
78573 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
78574 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
78575 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78576 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78577 # This bug is HP SR number 8606223364.
78578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
78579 $as_echo_n "checking size of void *... " >&6; }
78580 if test "${ac_cv_sizeof_void_p+set}" = set; then :
78581 $as_echo_n "(cached) " >&6
78582 else
78583 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
78585 else
78586 if test "$ac_cv_type_void_p" = yes; then
78587 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78588 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78589 { as_fn_set_status 77
78590 as_fn_error "cannot compute sizeof (void *)
78591 See \`config.log' for more details." "$LINENO" 5; }; }
78592 else
78593 ac_cv_sizeof_void_p=0
78598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
78599 $as_echo "$ac_cv_sizeof_void_p" >&6; }
78603 cat >>confdefs.h <<_ACEOF
78604 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
78605 _ACEOF
78608 esac
78610 # Lacking an uint64_t? Test size of long
78611 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
78612 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
78613 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78614 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78615 # This bug is HP SR number 8606223364.
78616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
78617 $as_echo_n "checking size of long... " >&6; }
78618 if test "${ac_cv_sizeof_long+set}" = set; then :
78619 $as_echo_n "(cached) " >&6
78620 else
78621 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
78623 else
78624 if test "$ac_cv_type_long" = yes; then
78625 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78626 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78627 { as_fn_set_status 77
78628 as_fn_error "cannot compute sizeof (long)
78629 See \`config.log' for more details." "$LINENO" 5; }; }
78630 else
78631 ac_cv_sizeof_long=0
78636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
78637 $as_echo "$ac_cv_sizeof_long" >&6; }
78641 cat >>confdefs.h <<_ACEOF
78642 #define SIZEOF_LONG $ac_cv_sizeof_long
78643 _ACEOF
78646 esac
78648 if test $acx_cv_header_stdint = stddef.h; then
78649 # Lacking a good header? Test size of everything and deduce all types.
78650 # The cast to long int works around a bug in the HP C Compiler
78651 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78652 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78653 # This bug is HP SR number 8606223364.
78654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
78655 $as_echo_n "checking size of int... " >&6; }
78656 if test "${ac_cv_sizeof_int+set}" = set; then :
78657 $as_echo_n "(cached) " >&6
78658 else
78659 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
78661 else
78662 if test "$ac_cv_type_int" = yes; then
78663 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78664 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78665 { as_fn_set_status 77
78666 as_fn_error "cannot compute sizeof (int)
78667 See \`config.log' for more details." "$LINENO" 5; }; }
78668 else
78669 ac_cv_sizeof_int=0
78674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
78675 $as_echo "$ac_cv_sizeof_int" >&6; }
78679 cat >>confdefs.h <<_ACEOF
78680 #define SIZEOF_INT $ac_cv_sizeof_int
78681 _ACEOF
78684 # The cast to long int works around a bug in the HP C Compiler
78685 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78686 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78687 # This bug is HP SR number 8606223364.
78688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
78689 $as_echo_n "checking size of short... " >&6; }
78690 if test "${ac_cv_sizeof_short+set}" = set; then :
78691 $as_echo_n "(cached) " >&6
78692 else
78693 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
78695 else
78696 if test "$ac_cv_type_short" = yes; then
78697 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78698 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78699 { as_fn_set_status 77
78700 as_fn_error "cannot compute sizeof (short)
78701 See \`config.log' for more details." "$LINENO" 5; }; }
78702 else
78703 ac_cv_sizeof_short=0
78708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
78709 $as_echo "$ac_cv_sizeof_short" >&6; }
78713 cat >>confdefs.h <<_ACEOF
78714 #define SIZEOF_SHORT $ac_cv_sizeof_short
78715 _ACEOF
78718 # The cast to long int works around a bug in the HP C Compiler
78719 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78720 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78721 # This bug is HP SR number 8606223364.
78722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
78723 $as_echo_n "checking size of char... " >&6; }
78724 if test "${ac_cv_sizeof_char+set}" = set; then :
78725 $as_echo_n "(cached) " >&6
78726 else
78727 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
78729 else
78730 if test "$ac_cv_type_char" = yes; then
78731 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78732 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78733 { as_fn_set_status 77
78734 as_fn_error "cannot compute sizeof (char)
78735 See \`config.log' for more details." "$LINENO" 5; }; }
78736 else
78737 ac_cv_sizeof_char=0
78742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
78743 $as_echo "$ac_cv_sizeof_char" >&6; }
78747 cat >>confdefs.h <<_ACEOF
78748 #define SIZEOF_CHAR $ac_cv_sizeof_char
78749 _ACEOF
78753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
78754 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
78755 case "$ac_cv_sizeof_char" in
78756 1) acx_cv_type_int8_t=char ;;
78757 *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
78758 esac
78759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
78760 $as_echo "$acx_cv_type_int8_t" >&6; }
78762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
78763 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
78764 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
78765 2:*) acx_cv_type_int16_t=int ;;
78766 *:2) acx_cv_type_int16_t=short ;;
78767 *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
78768 esac
78769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
78770 $as_echo "$acx_cv_type_int16_t" >&6; }
78772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
78773 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
78774 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
78775 4:*) acx_cv_type_int32_t=int ;;
78776 *:4) acx_cv_type_int32_t=long ;;
78777 *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
78778 esac
78779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
78780 $as_echo "$acx_cv_type_int32_t" >&6; }
78783 # These tests are here to make the output prettier
78785 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
78786 case "$ac_cv_sizeof_long" in
78787 8) acx_cv_type_int64_t=long ;;
78788 esac
78789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
78790 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
78791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
78792 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
78795 # Now we can use the above types
78797 if test "$ac_cv_type_uintptr_t" != yes; then
78798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
78799 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
78800 case $ac_cv_sizeof_void_p in
78801 2) acx_cv_type_intptr_t=int16_t ;;
78802 4) acx_cv_type_intptr_t=int32_t ;;
78803 8) acx_cv_type_intptr_t=int64_t ;;
78804 *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
78805 esac
78806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
78807 $as_echo "$acx_cv_type_intptr_t" >&6; }
78810 # ----------------- done all checks, emit header -------------
78811 ac_config_commands="$ac_config_commands include/gstdint.h"
78817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
78818 $as_echo_n "checking for GNU c++filt... " >&6; }
78819 if test "${ac_cv_path_CXXFILT+set}" = set; then :
78820 $as_echo_n "(cached) " >&6
78821 else
78822 if test -z "$CXXFILT"; then
78823 ac_path_CXXFILT_found=false
78824 # Loop through the user's path and test for each of PROGNAME-LIST
78825 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78826 for as_dir in $PATH
78828 IFS=$as_save_IFS
78829 test -z "$as_dir" && as_dir=.
78830 for ac_prog in c++filt gc++filt; do
78831 for ac_exec_ext in '' $ac_executable_extensions; do
78832 ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
78833 { test -f "$ac_path_CXXFILT" && $as_test_x "$ac_path_CXXFILT"; } || continue
78834 # Check for GNU $ac_path_CXXFILT
78835 case `"$ac_path_CXXFILT" --version 2>&1` in
78836 *GNU*)
78837 ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
78838 esac
78840 $ac_path_CXXFILT_found && break 3
78841 done
78842 done
78843 done
78844 IFS=$as_save_IFS
78845 if test -z "$ac_cv_path_CXXFILT"; then
78848 else
78849 ac_cv_path_CXXFILT=$CXXFILT
78853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
78854 $as_echo "$ac_cv_path_CXXFILT" >&6; }
78855 CXXFILT=$ac_cv_path_CXXFILT
78859 # Check whether --enable-symvers was given.
78860 if test "${enable_symvers+set}" = set; then :
78861 enableval=$enable_symvers;
78862 case "$enableval" in
78863 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
78864 *) as_fn_error "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
78865 esac
78867 else
78868 enable_symvers=yes
78873 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
78874 # don't know enough about $LD to do tricks...
78876 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
78877 # with extern "C++" in version scripts.
78880 # Turn a 'yes' into a suitable default.
78881 if test x$enable_symvers = xyes ; then
78882 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
78883 enable_symvers=no
78884 else
78885 if test $with_gnu_ld = yes ; then
78886 case ${target_os} in
78887 hpux*)
78888 enable_symvers=no ;;
78890 enable_symvers=gnu ;;
78891 esac
78892 else
78893 case ${target_os} in
78894 darwin*)
78895 enable_symvers=darwin ;;
78896 # Sun symbol versioning exists since Solaris 2.5.
78897 solaris2.[5-9]* | solaris2.1[0-9]*)
78898 # make_sunver.pl needs GNU c++filt to support extern "C++" in
78899 # version scripts, so disable symbol versioning if none can be
78900 # found.
78901 if test -z "$ac_cv_path_CXXFILT"; then
78902 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
78903 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
78904 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could be found." >&5
78905 $as_echo "$as_me: WARNING: === no GNU c++filt could be found." >&2;}
78906 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
78907 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
78908 enable_symvers=no
78909 else
78910 enable_symvers=sun
78914 enable_symvers=no ;;
78915 esac
78920 # Check to see if 'darwin' or 'darwin-export' can win.
78921 if test x$enable_symvers = xdarwin-export ; then
78922 enable_symvers=darwin
78925 # Check if 'sun' was requested on non-Solaris 2 platforms.
78926 if test x$enable_symvers = xsun ; then
78927 case ${target_os} in
78928 solaris2*)
78929 # All fine.
78932 # Unlikely to work.
78933 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
78934 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
78935 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
78936 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
78937 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
78938 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
78939 enable_symvers=no
78941 esac
78944 # Check to see if 'gnu' can win.
78945 if test $enable_symvers = gnu ||
78946 test $enable_symvers = gnu-versioned-namespace ||
78947 test $enable_symvers = sun; then
78948 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
78949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
78950 $as_echo_n "checking for shared libgcc... " >&6; }
78951 ac_save_CFLAGS="$CFLAGS"
78952 CFLAGS=' -lgcc_s'
78953 if test x$gcc_no_link = xyes; then
78954 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78957 /* end confdefs.h. */
78960 main ()
78962 return 0;
78964 return 0;
78966 _ACEOF
78967 if ac_fn_c_try_link "$LINENO"; then :
78968 glibcxx_shared_libgcc=yes
78969 else
78970 glibcxx_shared_libgcc=no
78972 rm -f core conftest.err conftest.$ac_objext \
78973 conftest$ac_exeext conftest.$ac_ext
78974 CFLAGS="$ac_save_CFLAGS"
78975 if test $glibcxx_shared_libgcc = no; then
78976 cat > conftest.c <<EOF
78977 int main (void) { return 0; }
78979 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
78980 -shared -shared-libgcc -o conftest.so \
78981 conftest.c -v 2>&1 >/dev/null \
78982 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
78983 rm -f conftest.c conftest.so
78984 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
78985 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
78986 if test x$gcc_no_link = xyes; then
78987 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78990 /* end confdefs.h. */
78993 main ()
78995 return 0;
78997 return 0;
78999 _ACEOF
79000 if ac_fn_c_try_link "$LINENO"; then :
79001 glibcxx_shared_libgcc=yes
79003 rm -f core conftest.err conftest.$ac_objext \
79004 conftest$ac_exeext conftest.$ac_ext
79005 CFLAGS="$ac_save_CFLAGS"
79008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
79009 $as_echo "$glibcxx_shared_libgcc" >&6; }
79011 # For GNU ld, we need at least this version. The format is described in
79012 # GLIBCXX_CHECK_LINKER_FEATURES above.
79013 glibcxx_min_gnu_ld_version=21400
79015 # If no shared libgcc, can't win.
79016 if test $glibcxx_shared_libgcc != yes; then
79017 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
79018 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
79019 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
79020 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
79021 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79022 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79023 enable_symvers=no
79024 elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
79025 : All interesting versions of Sun ld support sun style symbol versioning.
79026 elif test $with_gnu_ld != yes ; then
79027 # just fail for now
79028 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
79029 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
79030 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
79031 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
79032 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79033 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79034 enable_symvers=no
79035 elif test $glibcxx_ld_is_gold = yes ; then
79036 : All versions of gold support symbol versioning.
79037 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
79038 # The right tools, the right setup, but too old. Fallbacks?
79039 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
79040 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
79041 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
79042 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
79043 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
79044 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
79045 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
79046 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
79047 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79048 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79049 enable_symvers=no
79053 # For libtool versioning info, format is CURRENT:REVISION:AGE
79054 libtool_VERSION=6:22:0
79056 # Everything parsed; figure out what files and settings to use.
79057 case $enable_symvers in
79059 SYMVER_FILE=config/abi/pre/none.ver
79061 gnu)
79062 SYMVER_FILE=config/abi/pre/gnu.ver
79064 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
79067 gnu-versioned-namespace)
79068 libtool_VERSION=7:0:0
79069 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
79071 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
79074 darwin)
79075 SYMVER_FILE=config/abi/pre/gnu.ver
79077 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
79080 sun)
79081 SYMVER_FILE=config/abi/pre/gnu.ver
79083 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
79086 esac
79088 if test x$enable_symvers != xno ; then
79090 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
79094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
79095 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
79096 if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then :
79097 $as_echo_n "(cached) " >&6
79098 else
79100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79101 /* end confdefs.h. */
79102 void foo (void); __asm (".symver foo, bar@SYMVER");
79104 main ()
79108 return 0;
79110 _ACEOF
79111 if ac_fn_c_try_compile "$LINENO"; then :
79112 glibcxx_cv_have_as_symver_directive=yes
79113 else
79114 glibcxx_cv_have_as_symver_directive=no
79116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
79119 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
79120 if test $glibcxx_cv_have_as_symver_directive = yes; then
79122 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
79133 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
79134 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
79136 if test $enable_symvers != no ; then
79137 case ${target_os} in
79138 # The Solaris 2 runtime linker doesn't support the GNU extension of
79139 # binding the same symbol to different versions
79140 solaris2*)
79142 # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
79145 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
79148 esac
79151 # Now, set up compatibility support, if any.
79152 # In addition, need this to deal with std::size_t mangling in
79153 # src/compatibility.cc. In a perfect world, could use
79154 # typeid(std::size_t).name()[0] to do direct substitution.
79155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
79156 $as_echo_n "checking for size_t as unsigned int... " >&6; }
79157 ac_save_CFLAGS="$CFLAGS"
79158 CFLAGS="-Werror"
79159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79160 /* end confdefs.h. */
79163 main ()
79165 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
79167 return 0;
79169 _ACEOF
79170 if ac_fn_c_try_compile "$LINENO"; then :
79171 glibcxx_size_t_is_i=yes
79172 else
79173 glibcxx_size_t_is_i=no
79175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79176 CFLAGS=$ac_save_CFLAGS
79177 if test "$glibcxx_size_t_is_i" = yes; then
79179 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
79182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
79183 $as_echo "$glibcxx_size_t_is_i" >&6; }
79185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
79186 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
79187 ac_save_CFLAGS="$CFLAGS"
79188 CFLAGS="-Werror"
79189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79190 /* end confdefs.h. */
79193 main ()
79195 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
79197 return 0;
79199 _ACEOF
79200 if ac_fn_c_try_compile "$LINENO"; then :
79201 glibcxx_ptrdiff_t_is_i=yes
79202 else
79203 glibcxx_ptrdiff_t_is_i=no
79205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79206 CFLAGS=$ac_save_CFLAGS
79207 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
79209 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
79212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
79213 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
79218 # Check whether --enable-libstdcxx-visibility was given.
79219 if test "${enable_libstdcxx_visibility+set}" = set; then :
79220 enableval=$enable_libstdcxx_visibility;
79221 case "$enableval" in
79222 yes|no) ;;
79223 *) as_fn_error "Argument to enable/disable libstdcxx-visibility must be yes or no" "$LINENO" 5 ;;
79224 esac
79226 else
79227 enable_libstdcxx_visibility=yes
79232 if test x$enable_libstdcxx_visibility = xyes ; then
79233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
79234 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
79235 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then :
79236 $as_echo_n "(cached) " >&6
79237 else
79239 save_CFLAGS="$CFLAGS"
79240 CFLAGS="$CFLAGS -Werror"
79241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79242 /* end confdefs.h. */
79243 void __attribute__((visibility("hidden"))) foo(void) { }
79245 main ()
79249 return 0;
79251 _ACEOF
79252 if ac_fn_c_try_compile "$LINENO"; then :
79253 glibcxx_cv_have_attribute_visibility=yes
79254 else
79255 glibcxx_cv_have_attribute_visibility=no
79257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79258 CFLAGS="$save_CFLAGS"
79260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
79261 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
79262 if test $glibcxx_cv_have_attribute_visibility = no; then
79263 enable_libstdcxx_visibility=no
79268 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_libstdcxx_visibility" >&5
79269 $as_echo "$as_me: visibility supported: $enable_libstdcxx_visibility" >&6;}
79273 # Check whether --enable-libstdcxx-dual-abi was given.
79274 if test "${enable_libstdcxx_dual_abi+set}" = set; then :
79275 enableval=$enable_libstdcxx_dual_abi;
79276 case "$enableval" in
79277 yes|no) ;;
79278 *) as_fn_error "Argument to enable/disable libstdcxx-dual-abi must be yes or no" "$LINENO" 5 ;;
79279 esac
79281 else
79282 enable_libstdcxx_dual_abi=yes
79286 if test x$enable_symvers = xgnu-versioned-namespace; then
79287 # gnu-versioned-namespace is incompatible with the dual ABI.
79288 enable_libstdcxx_dual_abi="no"
79290 if test x"$enable_libstdcxx_dual_abi" != xyes; then
79291 { $as_echo "$as_me:${as_lineno-$LINENO}: dual ABI is disabled" >&5
79292 $as_echo "$as_me: dual ABI is disabled" >&6;}
79293 default_libstdcxx_abi="gcc4-compatible"
79298 if test x$enable_libstdcxx_dual_abi = xyes; then
79299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default std::string ABI to use" >&5
79300 $as_echo_n "checking for default std::string ABI to use... " >&6; }
79302 # Check whether --with-default-libstdcxx-abi was given.
79303 if test "${with_default_libstdcxx_abi+set}" = set; then :
79304 withval=$with_default_libstdcxx_abi; case "$withval" in
79305 gcc4-compatible) default_libstdcxx_abi="gcc4-compatible" ;;
79306 new|cxx11) default_libstdcxx_abi="new" ;;
79307 c++*|gnu++*) as_fn_error "Supported arguments for --with-default-libstdcxx-abi have changed, use \"new\" or \"gcc4-compatible\"" "$LINENO" 5 ;;
79308 *) as_fn_error "Invalid argument for --with-default-libstdcxx-abi" "$LINENO" 5 ;;
79309 esac
79311 else
79312 default_libstdcxx_abi="new"
79315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${default_libstdcxx_abi}" >&5
79316 $as_echo "${default_libstdcxx_abi}" >&6; }
79318 if test $default_libstdcxx_abi = "new"; then
79319 glibcxx_cxx11_abi=1
79320 glibcxx_cxx98_abi=0
79321 else
79322 glibcxx_cxx11_abi=0
79323 glibcxx_cxx98_abi=1
79329 ac_ldbl_compat=no
79330 case "$target" in
79331 powerpc*-*-linux* | \
79332 sparc*-*-linux* | \
79333 s390*-*-linux* | \
79334 alpha*-*-linux*)
79335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79336 /* end confdefs.h. */
79339 main ()
79342 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
79343 #error no need for long double compatibility
79344 #endif
79347 return 0;
79349 _ACEOF
79350 if ac_fn_c_try_compile "$LINENO"; then :
79351 ac_ldbl_compat=yes
79352 else
79353 ac_ldbl_compat=no
79355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79356 if test "$ac_ldbl_compat" = yes; then
79358 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
79360 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
79362 esac
79365 # Check if assembler supports disabling hardware capability support.
79367 test -z "$HWCAP_FLAGS" && HWCAP_FLAGS=''
79369 # Restrict the test to Solaris, other assemblers (e.g. AIX as) have -nH
79370 # with a different meaning.
79371 case ${target_os} in
79372 solaris2*)
79373 ac_save_CFLAGS="$CFLAGS"
79374 CFLAGS="$CFLAGS -Wa,-nH"
79376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for as that supports -Wa,-nH" >&5
79377 $as_echo_n "checking for as that supports -Wa,-nH... " >&6; }
79378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79379 /* end confdefs.h. */
79382 main ()
79384 return 0;
79386 return 0;
79388 _ACEOF
79389 if ac_fn_c_try_compile "$LINENO"; then :
79390 ac_hwcap_flags=yes
79391 else
79392 ac_hwcap_flags=no
79394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79395 if test "$ac_hwcap_flags" = "yes"; then
79396 HWCAP_FLAGS="-Wa,-nH $HWCAP_FLAGS"
79398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_flags" >&5
79399 $as_echo "$ac_hwcap_flags" >&6; }
79401 CFLAGS="$ac_save_CFLAGS"
79403 esac
79408 # Check if assembler supports rdrand opcode.
79410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdrand support in assembler" >&5
79411 $as_echo_n "checking for rdrand support in assembler... " >&6; }
79412 if test "${ac_cv_x86_rdrand+set}" = set; then :
79413 $as_echo_n "(cached) " >&6
79414 else
79416 ac_cv_x86_rdrand=no
79417 case "$target" in
79418 i?86-*-* | \
79419 x86_64-*-*)
79420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79421 /* end confdefs.h. */
79424 main ()
79426 asm("rdrand %eax");
79428 return 0;
79430 _ACEOF
79431 if ac_fn_c_try_compile "$LINENO"; then :
79432 ac_cv_x86_rdrand=yes
79433 else
79434 ac_cv_x86_rdrand=no
79436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79437 esac
79441 if test $ac_cv_x86_rdrand = yes; then
79443 $as_echo "#define _GLIBCXX_X86_RDRAND 1" >>confdefs.h
79446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdrand" >&5
79447 $as_echo "$ac_cv_x86_rdrand" >&6; }
79450 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
79452 if $GLIBCXX_IS_NATIVE ; then
79453 # Do checks for resource limit functions.
79455 setrlimit_have_headers=yes
79456 for ac_header in unistd.h sys/time.h sys/resource.h
79457 do :
79458 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
79459 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
79460 eval as_val=\$$as_ac_Header
79461 if test "x$as_val" = x""yes; then :
79462 cat >>confdefs.h <<_ACEOF
79463 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
79464 _ACEOF
79466 else
79467 setrlimit_have_headers=no
79470 done
79472 # If don't have the headers, then we can't run the tests now, and we
79473 # won't be seeing any of these during testsuite compilation.
79474 if test $setrlimit_have_headers = yes; then
79475 # Can't do these in a loop, else the resulting syntax is wrong.
79477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
79478 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
79479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79480 /* end confdefs.h. */
79481 #include <unistd.h>
79482 #include <sys/time.h>
79483 #include <sys/resource.h>
79486 main ()
79488 int f = RLIMIT_DATA ;
79490 return 0;
79492 _ACEOF
79493 if ac_fn_c_try_compile "$LINENO"; then :
79494 glibcxx_mresult=1
79495 else
79496 glibcxx_mresult=0
79498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79500 cat >>confdefs.h <<_ACEOF
79501 #define HAVE_LIMIT_DATA $glibcxx_mresult
79502 _ACEOF
79504 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79506 $as_echo "$res" >&6; }
79509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
79510 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
79511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79512 /* end confdefs.h. */
79513 #include <unistd.h>
79514 #include <sys/time.h>
79515 #include <sys/resource.h>
79518 main ()
79520 int f = RLIMIT_RSS ;
79522 return 0;
79524 _ACEOF
79525 if ac_fn_c_try_compile "$LINENO"; then :
79526 glibcxx_mresult=1
79527 else
79528 glibcxx_mresult=0
79530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79532 cat >>confdefs.h <<_ACEOF
79533 #define HAVE_LIMIT_RSS $glibcxx_mresult
79534 _ACEOF
79536 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79538 $as_echo "$res" >&6; }
79541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
79542 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
79543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79544 /* end confdefs.h. */
79545 #include <unistd.h>
79546 #include <sys/time.h>
79547 #include <sys/resource.h>
79550 main ()
79552 int f = RLIMIT_VMEM ;
79554 return 0;
79556 _ACEOF
79557 if ac_fn_c_try_compile "$LINENO"; then :
79558 glibcxx_mresult=1
79559 else
79560 glibcxx_mresult=0
79562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79564 cat >>confdefs.h <<_ACEOF
79565 #define HAVE_LIMIT_VMEM $glibcxx_mresult
79566 _ACEOF
79568 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79570 $as_echo "$res" >&6; }
79573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
79574 $as_echo_n "checking for RLIMIT_AS... " >&6; }
79575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79576 /* end confdefs.h. */
79577 #include <unistd.h>
79578 #include <sys/time.h>
79579 #include <sys/resource.h>
79582 main ()
79584 int f = RLIMIT_AS ;
79586 return 0;
79588 _ACEOF
79589 if ac_fn_c_try_compile "$LINENO"; then :
79590 glibcxx_mresult=1
79591 else
79592 glibcxx_mresult=0
79594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79596 cat >>confdefs.h <<_ACEOF
79597 #define HAVE_LIMIT_AS $glibcxx_mresult
79598 _ACEOF
79600 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79602 $as_echo "$res" >&6; }
79605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
79606 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
79607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79608 /* end confdefs.h. */
79609 #include <unistd.h>
79610 #include <sys/time.h>
79611 #include <sys/resource.h>
79614 main ()
79616 int f = RLIMIT_FSIZE ;
79618 return 0;
79620 _ACEOF
79621 if ac_fn_c_try_compile "$LINENO"; then :
79622 glibcxx_mresult=1
79623 else
79624 glibcxx_mresult=0
79626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79628 cat >>confdefs.h <<_ACEOF
79629 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
79630 _ACEOF
79632 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79634 $as_echo "$res" >&6; }
79637 # Check for rlimit, setrlimit.
79638 if test "${glibcxx_cv_setrlimit+set}" = set; then :
79639 $as_echo_n "(cached) " >&6
79640 else
79642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79643 /* end confdefs.h. */
79644 #include <unistd.h>
79645 #include <sys/time.h>
79646 #include <sys/resource.h>
79649 main ()
79651 struct rlimit r;
79652 setrlimit(0, &r);
79654 return 0;
79656 _ACEOF
79657 if ac_fn_c_try_compile "$LINENO"; then :
79658 glibcxx_cv_setrlimit=yes
79659 else
79660 glibcxx_cv_setrlimit=no
79662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
79669 $as_echo_n "checking for testsuite resource limits support... " >&6; }
79670 if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
79671 ac_res_limits=yes
79673 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
79675 else
79676 ac_res_limits=no
79678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
79679 $as_echo "$ac_res_limits" >&6; }
79682 # Look for setenv, so that extended locale tests can be performed.
79684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
79685 $as_echo_n "checking for setenv declaration... " >&6; }
79686 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
79687 if test "${glibcxx_cv_func_setenv_use+set}" = set; then :
79688 $as_echo_n "(cached) " >&6
79689 else
79692 ac_ext=cpp
79693 ac_cpp='$CXXCPP $CPPFLAGS'
79694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79699 /* end confdefs.h. */
79700 #include <stdlib.h>
79702 main ()
79704 setenv(0, 0, 0);
79706 return 0;
79708 _ACEOF
79709 if ac_fn_cxx_try_compile "$LINENO"; then :
79710 glibcxx_cv_func_setenv_use=yes
79711 else
79712 glibcxx_cv_func_setenv_use=no
79714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79715 ac_ext=c
79716 ac_cpp='$CPP $CPPFLAGS'
79717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
79726 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
79727 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
79728 for ac_func in setenv
79729 do :
79730 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
79731 if test "x$ac_cv_func_setenv" = x""yes; then :
79732 cat >>confdefs.h <<_ACEOF
79733 #define HAVE_SETENV 1
79734 _ACEOF
79737 done
79743 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
79744 test $enable_symvers != no; then
79745 case "$host" in
79746 *-*-cygwin*)
79747 enable_abi_check=no ;;
79749 enable_abi_check=yes ;;
79750 esac
79751 else
79752 # Only build this as native, since automake does not understand
79753 # CXX_FOR_BUILD.
79754 enable_abi_check=no
79757 # Export file names for ABI checking.
79758 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
79760 baseline_subdir_switch="$abi_baseline_subdir_switch"
79764 # For gthread support. Depends on GLIBCXX_ENABLE_SYMVERS.
79766 # Check whether --enable-libstdcxx-threads was given.
79767 if test "${enable_libstdcxx_threads+set}" = set; then :
79768 enableval=$enable_libstdcxx_threads;
79769 case "$enableval" in
79770 yes|no) ;;
79771 *) as_fn_error "Argument to enable/disable libstdcxx-threads must be yes or no" "$LINENO" 5 ;;
79772 esac
79774 else
79775 enable_libstdcxx_threads=auto
79780 if test x$enable_libstdcxx_threads = xauto ||
79781 test x$enable_libstdcxx_threads = xyes; then
79784 ac_ext=cpp
79785 ac_cpp='$CXXCPP $CPPFLAGS'
79786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79791 ac_save_CXXFLAGS="$CXXFLAGS"
79792 CXXFLAGS="$CXXFLAGS -fno-exceptions \
79793 -I${toplevel_srcdir}/libgcc -I${toplevel_builddir}/libgcc"
79795 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
79796 case $target_thread_file in
79797 posix)
79798 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
79799 esac
79801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it can be safely assumed that mutex_timedlock is available" >&5
79802 $as_echo_n "checking whether it can be safely assumed that mutex_timedlock is available... " >&6; }
79804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79805 /* end confdefs.h. */
79806 #include <unistd.h>
79808 main ()
79811 // In case of POSIX threads check _POSIX_TIMEOUTS.
79812 #if (defined(_PTHREADS) \
79813 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
79814 #error
79815 #endif
79818 return 0;
79820 _ACEOF
79821 if ac_fn_cxx_try_compile "$LINENO"; then :
79822 ac_gthread_use_mutex_timedlock=1
79823 else
79824 ac_gthread_use_mutex_timedlock=0
79826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79829 cat >>confdefs.h <<_ACEOF
79830 #define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
79831 _ACEOF
79834 if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
79835 else res_mutex_timedlock=no ; fi
79836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
79837 $as_echo "$res_mutex_timedlock" >&6; }
79839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
79840 $as_echo_n "checking for gthreads library... " >&6; }
79842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79843 /* end confdefs.h. */
79844 #include "gthr.h"
79846 main ()
79849 #ifndef __GTHREADS_CXX0X
79850 #error
79851 #endif
79854 return 0;
79856 _ACEOF
79857 if ac_fn_cxx_try_compile "$LINENO"; then :
79858 ac_has_gthreads=yes
79859 else
79860 ac_has_gthreads=no
79862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79863 else
79864 ac_has_gthreads=no
79867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
79868 $as_echo "$ac_has_gthreads" >&6; }
79870 if test x"$ac_has_gthreads" = x"yes"; then
79872 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
79875 # Also check for pthread_rwlock_t for std::shared_timed_mutex in C++14
79876 ac_fn_cxx_check_type "$LINENO" "pthread_rwlock_t" "ac_cv_type_pthread_rwlock_t" "#include \"gthr.h\"
79878 if test "x$ac_cv_type_pthread_rwlock_t" = x""yes; then :
79880 $as_echo "#define _GLIBCXX_USE_PTHREAD_RWLOCK_T 1" >>confdefs.h
79886 CXXFLAGS="$ac_save_CXXFLAGS"
79887 ac_ext=c
79888 ac_cpp='$CPP $CPPFLAGS'
79889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79895 # For Filesystem TS.
79896 for ac_header in fcntl.h dirent.h sys/statvfs.h utime.h
79897 do :
79898 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
79899 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
79900 eval as_val=\$$as_ac_Header
79901 if test "x$as_val" = x""yes; then :
79902 cat >>confdefs.h <<_ACEOF
79903 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
79904 _ACEOF
79908 done
79911 # Check whether --enable-libstdcxx-filesystem-ts was given.
79912 if test "${enable_libstdcxx_filesystem_ts+set}" = set; then :
79913 enableval=$enable_libstdcxx_filesystem_ts;
79914 case "$enableval" in
79915 yes|no|auto) ;;
79916 *) as_fn_error "Unknown argument to enable/disable libstdcxx-filesystem-ts" "$LINENO" 5 ;;
79917 esac
79919 else
79920 enable_libstdcxx_filesystem_ts=auto
79925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Filesystem TS support" >&5
79926 $as_echo_n "checking whether to build Filesystem TS support... " >&6; }
79927 if test x"$ac_cv_header_dirent_h" != x"yes"; then
79928 enable_libstdcxx_filesystem_ts=no
79930 if test x"$enable_libstdcxx_filesystem_ts" = x"auto"; then
79931 case "${target_os}" in
79932 freebsd*|netbsd*|openbsd*|dragonfly*|darwin*)
79933 enable_libstdcxx_filesystem_ts=yes
79935 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
79936 enable_libstdcxx_filesystem_ts=yes
79938 solaris*)
79939 enable_libstdcxx_filesystem_ts=yes
79942 enable_libstdcxx_filesystem_ts=no
79944 esac
79946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_filesystem_ts" >&5
79947 $as_echo "$enable_libstdcxx_filesystem_ts" >&6; }
79951 ac_ext=cpp
79952 ac_cpp='$CXXCPP $CPPFLAGS'
79953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79957 ac_save_CXXFLAGS="$CXXFLAGS"
79958 CXXFLAGS="$CXXFLAGS -fno-exceptions"
79959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct dirent.d_type" >&5
79960 $as_echo_n "checking for struct dirent.d_type... " >&6; }
79961 if test "${glibcxx_cv_dirent_d_type+set}" = set; then :
79962 $as_echo_n "(cached) " >&6
79963 else
79964 if test x$gcc_no_link = xyes; then
79965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79966 /* end confdefs.h. */
79967 #include <dirent.h>
79969 main ()
79972 struct dirent d;
79973 if (sizeof d.d_type) return 0;
79976 return 0;
79978 _ACEOF
79979 if ac_fn_cxx_try_compile "$LINENO"; then :
79980 glibcxx_cv_dirent_d_type=yes
79981 else
79982 glibcxx_cv_dirent_d_type=no
79984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79985 else
79986 if test x$gcc_no_link = xyes; then
79987 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
79989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79990 /* end confdefs.h. */
79991 #include <dirent.h>
79993 main ()
79996 struct dirent d;
79997 if (sizeof d.d_type) return 0;
80000 return 0;
80002 _ACEOF
80003 if ac_fn_cxx_try_link "$LINENO"; then :
80004 glibcxx_cv_dirent_d_type=yes
80005 else
80006 glibcxx_cv_dirent_d_type=no
80008 rm -f core conftest.err conftest.$ac_objext \
80009 conftest$ac_exeext conftest.$ac_ext
80014 if test $glibcxx_cv_dirent_d_type = yes; then
80016 $as_echo "#define HAVE_STRUCT_DIRENT_D_TYPE 1" >>confdefs.h
80019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_dirent_d_type" >&5
80020 $as_echo "$glibcxx_cv_dirent_d_type" >&6; }
80021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realpath" >&5
80022 $as_echo_n "checking for realpath... " >&6; }
80023 if test "${glibcxx_cv_realpath+set}" = set; then :
80024 $as_echo_n "(cached) " >&6
80025 else
80026 if test x$gcc_no_link = xyes; then
80027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80028 /* end confdefs.h. */
80030 #include <stdlib.h>
80031 #include <unistd.h>
80034 main ()
80037 #if _XOPEN_VERSION < 500
80038 #error
80039 #elif _XOPEN_VERSION >= 700 || defined(PATH_MAX)
80040 char *tmp = realpath((const char*)NULL, (char*)NULL);
80041 #else
80042 #error
80043 #endif
80046 return 0;
80048 _ACEOF
80049 if ac_fn_cxx_try_compile "$LINENO"; then :
80050 glibcxx_cv_realpath=yes
80051 else
80052 glibcxx_cv_realpath=no
80054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80055 else
80056 if test x$gcc_no_link = xyes; then
80057 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80060 /* end confdefs.h. */
80062 #include <stdlib.h>
80063 #include <unistd.h>
80066 main ()
80069 #if _XOPEN_VERSION < 500
80070 #error
80071 #elif _XOPEN_VERSION >= 700 || defined(PATH_MAX)
80072 char *tmp = realpath((const char*)NULL, (char*)NULL);
80073 #else
80074 #error
80075 #endif
80078 return 0;
80080 _ACEOF
80081 if ac_fn_cxx_try_link "$LINENO"; then :
80082 glibcxx_cv_realpath=yes
80083 else
80084 glibcxx_cv_realpath=no
80086 rm -f core conftest.err conftest.$ac_objext \
80087 conftest$ac_exeext conftest.$ac_ext
80092 if test $glibcxx_cv_realpath = yes; then
80094 $as_echo "#define _GLIBCXX_USE_REALPATH 1" >>confdefs.h
80097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_realpath" >&5
80098 $as_echo "$glibcxx_cv_realpath" >&6; }
80099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utimensat" >&5
80100 $as_echo_n "checking for utimensat... " >&6; }
80101 if test "${glibcxx_cv_utimensat+set}" = set; then :
80102 $as_echo_n "(cached) " >&6
80103 else
80104 if test x$gcc_no_link = xyes; then
80105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80106 /* end confdefs.h. */
80108 #include <fcntl.h>
80109 #include <sys/stat.h>
80112 main ()
80115 struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
80116 int i = utimensat(AT_FDCWD, "path", ts, 0);
80119 return 0;
80121 _ACEOF
80122 if ac_fn_cxx_try_compile "$LINENO"; then :
80123 glibcxx_cv_utimensat=yes
80124 else
80125 glibcxx_cv_utimensat=no
80127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80128 else
80129 if test x$gcc_no_link = xyes; then
80130 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80133 /* end confdefs.h. */
80135 #include <fcntl.h>
80136 #include <sys/stat.h>
80139 main ()
80142 struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
80143 int i = utimensat(AT_FDCWD, "path", ts, 0);
80146 return 0;
80148 _ACEOF
80149 if ac_fn_cxx_try_link "$LINENO"; then :
80150 glibcxx_cv_utimensat=yes
80151 else
80152 glibcxx_cv_utimensat=no
80154 rm -f core conftest.err conftest.$ac_objext \
80155 conftest$ac_exeext conftest.$ac_ext
80160 if test $glibcxx_cv_utimensat = yes; then
80162 $as_echo "#define _GLIBCXX_USE_UTIMENSAT 1" >>confdefs.h
80165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_utimensat" >&5
80166 $as_echo "$glibcxx_cv_utimensat" >&6; }
80167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct stat.st_mtim.tv_nsec" >&5
80168 $as_echo_n "checking for struct stat.st_mtim.tv_nsec... " >&6; }
80169 if test "${glibcxx_cv_st_mtim+set}" = set; then :
80170 $as_echo_n "(cached) " >&6
80171 else
80172 if test x$gcc_no_link = xyes; then
80173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80174 /* end confdefs.h. */
80175 #include <sys/stat.h>
80177 main ()
80180 struct stat st;
80181 return st.st_mtim.tv_nsec;
80184 return 0;
80186 _ACEOF
80187 if ac_fn_cxx_try_compile "$LINENO"; then :
80188 glibcxx_cv_st_mtim=yes
80189 else
80190 glibcxx_cv_st_mtim=no
80192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80193 else
80194 if test x$gcc_no_link = xyes; then
80195 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80198 /* end confdefs.h. */
80199 #include <sys/stat.h>
80201 main ()
80204 struct stat st;
80205 return st.st_mtim.tv_nsec;
80208 return 0;
80210 _ACEOF
80211 if ac_fn_cxx_try_link "$LINENO"; then :
80212 glibcxx_cv_st_mtim=yes
80213 else
80214 glibcxx_cv_st_mtim=no
80216 rm -f core conftest.err conftest.$ac_objext \
80217 conftest$ac_exeext conftest.$ac_ext
80222 if test $glibcxx_cv_st_mtim = yes; then
80224 $as_echo "#define _GLIBCXX_USE_ST_MTIM 1" >>confdefs.h
80227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_st_mtim" >&5
80228 $as_echo "$glibcxx_cv_st_mtim" >&6; }
80229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmod" >&5
80230 $as_echo_n "checking for fchmod... " >&6; }
80231 if test "${glibcxx_cv_fchmod+set}" = set; then :
80232 $as_echo_n "(cached) " >&6
80233 else
80234 if test x$gcc_no_link = xyes; then
80235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80236 /* end confdefs.h. */
80237 #include <sys/stat.h>
80239 main ()
80241 fchmod(1, S_IWUSR);
80243 return 0;
80245 _ACEOF
80246 if ac_fn_cxx_try_compile "$LINENO"; then :
80247 glibcxx_cv_fchmod=yes
80248 else
80249 glibcxx_cv_fchmod=no
80251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80252 else
80253 if test x$gcc_no_link = xyes; then
80254 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80257 /* end confdefs.h. */
80258 #include <sys/stat.h>
80260 main ()
80262 fchmod(1, S_IWUSR);
80264 return 0;
80266 _ACEOF
80267 if ac_fn_cxx_try_link "$LINENO"; then :
80268 glibcxx_cv_fchmod=yes
80269 else
80270 glibcxx_cv_fchmod=no
80272 rm -f core conftest.err conftest.$ac_objext \
80273 conftest$ac_exeext conftest.$ac_ext
80278 if test $glibcxx_cv_fchmod = yes; then
80280 $as_echo "#define _GLIBCXX_USE_FCHMOD 1" >>confdefs.h
80283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmod" >&5
80284 $as_echo "$glibcxx_cv_fchmod" >&6; }
80285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmodat" >&5
80286 $as_echo_n "checking for fchmodat... " >&6; }
80287 if test "${glibcxx_cv_fchmodat+set}" = set; then :
80288 $as_echo_n "(cached) " >&6
80289 else
80290 if test x$gcc_no_link = xyes; then
80291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80292 /* end confdefs.h. */
80294 #include <fcntl.h>
80295 #include <sys/stat.h>
80298 main ()
80300 fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
80302 return 0;
80304 _ACEOF
80305 if ac_fn_cxx_try_compile "$LINENO"; then :
80306 glibcxx_cv_fchmodat=yes
80307 else
80308 glibcxx_cv_fchmodat=no
80310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80311 else
80312 if test x$gcc_no_link = xyes; then
80313 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80316 /* end confdefs.h. */
80318 #include <fcntl.h>
80319 #include <sys/stat.h>
80322 main ()
80324 fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
80326 return 0;
80328 _ACEOF
80329 if ac_fn_cxx_try_link "$LINENO"; then :
80330 glibcxx_cv_fchmodat=yes
80331 else
80332 glibcxx_cv_fchmodat=no
80334 rm -f core conftest.err conftest.$ac_objext \
80335 conftest$ac_exeext conftest.$ac_ext
80340 if test $glibcxx_cv_fchmodat = yes; then
80342 $as_echo "#define _GLIBCXX_USE_FCHMODAT 1" >>confdefs.h
80345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmodat" >&5
80346 $as_echo "$glibcxx_cv_fchmodat" >&6; }
80347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sendfile that can copy files" >&5
80348 $as_echo_n "checking for sendfile that can copy files... " >&6; }
80349 if test "${glibcxx_cv_sendfile+set}" = set; then :
80350 $as_echo_n "(cached) " >&6
80351 else
80352 case "${target_os}" in
80353 gnu* | linux* | solaris*)
80354 if test x$gcc_no_link = xyes; then
80355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80356 /* end confdefs.h. */
80357 #include <sys/sendfile.h>
80359 main ()
80361 sendfile(1, 2, (off_t*)NULL, sizeof 1);
80363 return 0;
80365 _ACEOF
80366 if ac_fn_cxx_try_compile "$LINENO"; then :
80367 glibcxx_cv_sendfile=yes
80368 else
80369 glibcxx_cv_sendfile=no
80371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80372 else
80373 if test x$gcc_no_link = xyes; then
80374 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80377 /* end confdefs.h. */
80378 #include <sys/sendfile.h>
80380 main ()
80382 sendfile(1, 2, (off_t*)NULL, sizeof 1);
80384 return 0;
80386 _ACEOF
80387 if ac_fn_cxx_try_link "$LINENO"; then :
80388 glibcxx_cv_sendfile=yes
80389 else
80390 glibcxx_cv_sendfile=no
80392 rm -f core conftest.err conftest.$ac_objext \
80393 conftest$ac_exeext conftest.$ac_ext
80397 glibcxx_cv_sendfile=no
80399 esac
80403 if test $glibcxx_cv_sendfile = yes; then
80405 $as_echo "#define _GLIBCXX_USE_SENDFILE 1" >>confdefs.h
80408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sendfile" >&5
80409 $as_echo "$glibcxx_cv_sendfile" >&6; }
80410 CXXFLAGS="$ac_save_CXXFLAGS"
80411 ac_ext=c
80412 ac_cpp='$CPP $CPPFLAGS'
80413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80419 # For Transactional Memory TS
80421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how size_t is mangled" >&5
80422 $as_echo_n "checking how size_t is mangled... " >&6; }
80423 if test "${glibcxx_cv_size_t_mangling+set}" = set; then :
80424 $as_echo_n "(cached) " >&6
80425 else
80427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80428 /* end confdefs.h. */
80431 main ()
80433 extern __SIZE_TYPE__ x; extern unsigned long x;
80435 return 0;
80437 _ACEOF
80438 if ac_fn_c_try_compile "$LINENO"; then :
80439 glibcxx_cv_size_t_mangling=m
80440 else
80442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80443 /* end confdefs.h. */
80446 main ()
80448 extern __SIZE_TYPE__ x; extern unsigned int x;
80450 return 0;
80452 _ACEOF
80453 if ac_fn_c_try_compile "$LINENO"; then :
80454 glibcxx_cv_size_t_mangling=j
80455 else
80457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80458 /* end confdefs.h. */
80461 main ()
80463 extern __SIZE_TYPE__ x; extern unsigned long long x;
80465 return 0;
80467 _ACEOF
80468 if ac_fn_c_try_compile "$LINENO"; then :
80469 glibcxx_cv_size_t_mangling=y
80470 else
80472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80473 /* end confdefs.h. */
80476 main ()
80478 extern __SIZE_TYPE__ x; extern unsigned short x;
80480 return 0;
80482 _ACEOF
80483 if ac_fn_c_try_compile "$LINENO"; then :
80484 glibcxx_cv_size_t_mangling=t
80485 else
80486 glibcxx_cv_size_t_mangling=x
80488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_size_t_mangling" >&5
80501 $as_echo "$glibcxx_cv_size_t_mangling" >&6; }
80502 if test $glibcxx_cv_size_t_mangling = x; then
80503 as_fn_error "Unknown underlying type for size_t" "$LINENO" 5
80506 cat >>confdefs.h <<_ACEOF
80507 #define _GLIBCXX_MANGLE_SIZE_T $glibcxx_cv_size_t_mangling
80508 _ACEOF
80512 # Define documentation rules conditionally.
80514 # See if makeinfo has been installed and is modern enough
80515 # that we can use it.
80517 # Extract the first word of "makeinfo", so it can be a program name with args.
80518 set dummy makeinfo; ac_word=$2
80519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80520 $as_echo_n "checking for $ac_word... " >&6; }
80521 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
80522 $as_echo_n "(cached) " >&6
80523 else
80524 if test -n "$MAKEINFO"; then
80525 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
80526 else
80527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80528 for as_dir in $PATH
80530 IFS=$as_save_IFS
80531 test -z "$as_dir" && as_dir=.
80532 for ac_exec_ext in '' $ac_executable_extensions; do
80533 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80534 ac_cv_prog_MAKEINFO="makeinfo"
80535 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80536 break 2
80538 done
80539 done
80540 IFS=$as_save_IFS
80544 MAKEINFO=$ac_cv_prog_MAKEINFO
80545 if test -n "$MAKEINFO"; then
80546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
80547 $as_echo "$MAKEINFO" >&6; }
80548 else
80549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80550 $as_echo "no" >&6; }
80554 if test -n "$MAKEINFO"; then
80555 # Found it, now check the version.
80556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
80557 $as_echo_n "checking for modern makeinfo... " >&6; }
80558 if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then :
80559 $as_echo_n "(cached) " >&6
80560 else
80561 ac_prog_version=`eval $MAKEINFO --version 2>&1 |
80562 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
80564 case $ac_prog_version in
80565 '') gcc_cv_prog_makeinfo_modern=no;;
80566 4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*) gcc_cv_prog_makeinfo_modern=yes;;
80567 *) gcc_cv_prog_makeinfo_modern=no;;
80568 esac
80571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
80572 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
80573 else
80574 gcc_cv_prog_makeinfo_modern=no
80576 if test $gcc_cv_prog_makeinfo_modern = no; then
80577 MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
80580 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
80581 BUILD_INFO_TRUE=
80582 BUILD_INFO_FALSE='#'
80583 else
80584 BUILD_INFO_TRUE='#'
80585 BUILD_INFO_FALSE=
80589 # Check for doxygen
80590 # Extract the first word of "doxygen", so it can be a program name with args.
80591 set dummy doxygen; ac_word=$2
80592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80593 $as_echo_n "checking for $ac_word... " >&6; }
80594 if test "${ac_cv_prog_DOXYGEN+set}" = set; then :
80595 $as_echo_n "(cached) " >&6
80596 else
80597 if test -n "$DOXYGEN"; then
80598 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
80599 else
80600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80601 for as_dir in $PATH
80603 IFS=$as_save_IFS
80604 test -z "$as_dir" && as_dir=.
80605 for ac_exec_ext in '' $ac_executable_extensions; do
80606 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80607 ac_cv_prog_DOXYGEN="yes"
80608 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80609 break 2
80611 done
80612 done
80613 IFS=$as_save_IFS
80615 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
80618 DOXYGEN=$ac_cv_prog_DOXYGEN
80619 if test -n "$DOXYGEN"; then
80620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
80621 $as_echo "$DOXYGEN" >&6; }
80622 else
80623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80624 $as_echo "no" >&6; }
80628 # Extract the first word of "dot", so it can be a program name with args.
80629 set dummy dot; ac_word=$2
80630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80631 $as_echo_n "checking for $ac_word... " >&6; }
80632 if test "${ac_cv_prog_DOT+set}" = set; then :
80633 $as_echo_n "(cached) " >&6
80634 else
80635 if test -n "$DOT"; then
80636 ac_cv_prog_DOT="$DOT" # Let the user override the test.
80637 else
80638 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80639 for as_dir in $PATH
80641 IFS=$as_save_IFS
80642 test -z "$as_dir" && as_dir=.
80643 for ac_exec_ext in '' $ac_executable_extensions; do
80644 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80645 ac_cv_prog_DOT="yes"
80646 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80647 break 2
80649 done
80650 done
80651 IFS=$as_save_IFS
80653 test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
80656 DOT=$ac_cv_prog_DOT
80657 if test -n "$DOT"; then
80658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
80659 $as_echo "$DOT" >&6; }
80660 else
80661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80662 $as_echo "no" >&6; }
80667 # Check for docbook
80668 # Extract the first word of "xsltproc", so it can be a program name with args.
80669 set dummy xsltproc; ac_word=$2
80670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80671 $as_echo_n "checking for $ac_word... " >&6; }
80672 if test "${ac_cv_prog_XSLTPROC+set}" = set; then :
80673 $as_echo_n "(cached) " >&6
80674 else
80675 if test -n "$XSLTPROC"; then
80676 ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
80677 else
80678 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80679 for as_dir in $PATH
80681 IFS=$as_save_IFS
80682 test -z "$as_dir" && as_dir=.
80683 for ac_exec_ext in '' $ac_executable_extensions; do
80684 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80685 ac_cv_prog_XSLTPROC="yes"
80686 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80687 break 2
80689 done
80690 done
80691 IFS=$as_save_IFS
80693 test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
80696 XSLTPROC=$ac_cv_prog_XSLTPROC
80697 if test -n "$XSLTPROC"; then
80698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
80699 $as_echo "$XSLTPROC" >&6; }
80700 else
80701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80702 $as_echo "no" >&6; }
80706 # Extract the first word of "xmllint", so it can be a program name with args.
80707 set dummy xmllint; ac_word=$2
80708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80709 $as_echo_n "checking for $ac_word... " >&6; }
80710 if test "${ac_cv_prog_XMLLINT+set}" = set; then :
80711 $as_echo_n "(cached) " >&6
80712 else
80713 if test -n "$XMLLINT"; then
80714 ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
80715 else
80716 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80717 for as_dir in $PATH
80719 IFS=$as_save_IFS
80720 test -z "$as_dir" && as_dir=.
80721 for ac_exec_ext in '' $ac_executable_extensions; do
80722 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80723 ac_cv_prog_XMLLINT="yes"
80724 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80725 break 2
80727 done
80728 done
80729 IFS=$as_save_IFS
80731 test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
80734 XMLLINT=$ac_cv_prog_XMLLINT
80735 if test -n "$XMLLINT"; then
80736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
80737 $as_echo "$XMLLINT" >&6; }
80738 else
80739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80740 $as_echo "no" >&6; }
80746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docbook stylesheets for documentation creation" >&5
80747 $as_echo_n "checking for docbook stylesheets for documentation creation... " >&6; }
80748 glibcxx_stylesheets=no
80749 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
80750 glibcxx_stylesheets=yes
80752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
80753 $as_echo "$glibcxx_stylesheets" >&6; }
80755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
80756 $as_echo_n "checking for local stylesheet directory... " >&6; }
80757 glibcxx_local_stylesheets=no
80758 if test x"$glibcxx_stylesheets" = x"yes"; then
80759 if test -d /usr/share/sgml/docbook/xsl-ns-stylesheets; then
80760 glibcxx_local_stylesheets=yes
80761 XSL_STYLE_DIR=/usr/share/sgml/docbook/xsl-ns-stylesheets
80763 if test -d /usr/share/xml/docbook/stylesheet/docbook-xsl-ns; then
80764 glibcxx_local_stylesheets=yes
80765 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/docbook-xsl-ns
80767 if test -d /usr/share/xml/docbook/stylesheet/nwalsh5/current; then
80768 glibcxx_local_stylesheets=yes
80769 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/nwalsh5/current
80772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
80773 $as_echo "$glibcxx_local_stylesheets" >&6; }
80775 if test x"$glibcxx_local_stylesheets" = x"yes"; then
80777 { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
80778 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
80779 else
80780 glibcxx_stylesheets=no
80783 # Check for epub3 dependencies.
80784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epub3 stylesheets for documentation creation" >&5
80785 $as_echo_n "checking for epub3 stylesheets for documentation creation... " >&6; }
80786 glibcxx_epub_stylesheets=no
80787 if test x"$glibcxx_local_stylesheets" = x"yes"; then
80788 if test -f "$XSL_STYLE_DIR/epub3/chunk.xsl"; then
80789 glibcxx_epub_stylesheets=yes
80792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_epub_stylesheets" >&5
80793 $as_echo "$glibcxx_epub_stylesheets" >&6; }
80794 if test x"$glibcxx_epub_stylesheets" = x"yes"; then
80795 BUILD_EPUB_TRUE=
80796 BUILD_EPUB_FALSE='#'
80797 else
80798 BUILD_EPUB_TRUE='#'
80799 BUILD_EPUB_FALSE=
80805 # Check for xml/html dependencies.
80806 if test $ac_cv_prog_DOXYGEN = "yes" &&
80807 test $ac_cv_prog_DOT = "yes" &&
80808 test $ac_cv_prog_XSLTPROC = "yes" &&
80809 test $ac_cv_prog_XMLLINT = "yes" &&
80810 test $glibcxx_stylesheets = "yes"; then
80811 BUILD_XML_TRUE=
80812 BUILD_XML_FALSE='#'
80813 else
80814 BUILD_XML_TRUE='#'
80815 BUILD_XML_FALSE=
80819 if test $ac_cv_prog_DOXYGEN = "yes" &&
80820 test $ac_cv_prog_DOT = "yes" &&
80821 test $ac_cv_prog_XSLTPROC = "yes" &&
80822 test $ac_cv_prog_XMLLINT = "yes" &&
80823 test $glibcxx_stylesheets = "yes"; then
80824 BUILD_HTML_TRUE=
80825 BUILD_HTML_FALSE='#'
80826 else
80827 BUILD_HTML_TRUE='#'
80828 BUILD_HTML_FALSE=
80832 # Check for man dependencies.
80833 if test $ac_cv_prog_DOXYGEN = "yes" &&
80834 test $ac_cv_prog_DOT = "yes"; then
80835 BUILD_MAN_TRUE=
80836 BUILD_MAN_FALSE='#'
80837 else
80838 BUILD_MAN_TRUE='#'
80839 BUILD_MAN_FALSE=
80843 # Check for pdf dependencies.
80844 # Extract the first word of "dblatex", so it can be a program name with args.
80845 set dummy dblatex; ac_word=$2
80846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80847 $as_echo_n "checking for $ac_word... " >&6; }
80848 if test "${ac_cv_prog_DBLATEX+set}" = set; then :
80849 $as_echo_n "(cached) " >&6
80850 else
80851 if test -n "$DBLATEX"; then
80852 ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
80853 else
80854 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80855 for as_dir in $PATH
80857 IFS=$as_save_IFS
80858 test -z "$as_dir" && as_dir=.
80859 for ac_exec_ext in '' $ac_executable_extensions; do
80860 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80861 ac_cv_prog_DBLATEX="yes"
80862 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80863 break 2
80865 done
80866 done
80867 IFS=$as_save_IFS
80869 test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
80872 DBLATEX=$ac_cv_prog_DBLATEX
80873 if test -n "$DBLATEX"; then
80874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
80875 $as_echo "$DBLATEX" >&6; }
80876 else
80877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80878 $as_echo "no" >&6; }
80882 # Extract the first word of "pdflatex", so it can be a program name with args.
80883 set dummy pdflatex; ac_word=$2
80884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80885 $as_echo_n "checking for $ac_word... " >&6; }
80886 if test "${ac_cv_prog_PDFLATEX+set}" = set; then :
80887 $as_echo_n "(cached) " >&6
80888 else
80889 if test -n "$PDFLATEX"; then
80890 ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
80891 else
80892 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80893 for as_dir in $PATH
80895 IFS=$as_save_IFS
80896 test -z "$as_dir" && as_dir=.
80897 for ac_exec_ext in '' $ac_executable_extensions; do
80898 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80899 ac_cv_prog_PDFLATEX="yes"
80900 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80901 break 2
80903 done
80904 done
80905 IFS=$as_save_IFS
80907 test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
80910 PDFLATEX=$ac_cv_prog_PDFLATEX
80911 if test -n "$PDFLATEX"; then
80912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
80913 $as_echo "$PDFLATEX" >&6; }
80914 else
80915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80916 $as_echo "no" >&6; }
80920 if test $ac_cv_prog_DBLATEX = "yes" &&
80921 test $ac_cv_prog_PDFLATEX = "yes"; then
80922 BUILD_PDF_TRUE=
80923 BUILD_PDF_FALSE='#'
80924 else
80925 BUILD_PDF_TRUE='#'
80926 BUILD_PDF_FALSE=
80931 # Propagate the target-specific source directories through the build chain.
80932 ATOMICITY_SRCDIR=config/${atomicity_dir}
80933 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
80934 ATOMIC_FLAGS=${atomic_flags}
80935 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
80936 OS_INC_SRCDIR=config/${os_include_dir}
80937 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
80938 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
80939 CPU_OPT_EXT_RANDOM=config/${cpu_opt_ext_random}
80940 CPU_OPT_BITS_RANDOM=config/${cpu_opt_bits_random}
80952 # Determine cross-compile flags and AM_CONDITIONALs.
80953 #AC_SUBST(GLIBCXX_IS_NATIVE)
80954 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
80955 if test $is_hosted = yes; then
80956 GLIBCXX_HOSTED_TRUE=
80957 GLIBCXX_HOSTED_FALSE='#'
80958 else
80959 GLIBCXX_HOSTED_TRUE='#'
80960 GLIBCXX_HOSTED_FALSE=
80964 if test $enable_libstdcxx_pch = yes; then
80965 GLIBCXX_BUILD_PCH_TRUE=
80966 GLIBCXX_BUILD_PCH_FALSE='#'
80967 else
80968 GLIBCXX_BUILD_PCH_TRUE='#'
80969 GLIBCXX_BUILD_PCH_FALSE=
80973 if test $enable_libstdcxx_allocator_flag = new; then
80974 ENABLE_ALLOCATOR_NEW_TRUE=
80975 ENABLE_ALLOCATOR_NEW_FALSE='#'
80976 else
80977 ENABLE_ALLOCATOR_NEW_TRUE='#'
80978 ENABLE_ALLOCATOR_NEW_FALSE=
80982 if test $enable_cheaders = c; then
80983 GLIBCXX_C_HEADERS_C_TRUE=
80984 GLIBCXX_C_HEADERS_C_FALSE='#'
80985 else
80986 GLIBCXX_C_HEADERS_C_TRUE='#'
80987 GLIBCXX_C_HEADERS_C_FALSE=
80991 if test $enable_cheaders = c_std; then
80992 GLIBCXX_C_HEADERS_C_STD_TRUE=
80993 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
80994 else
80995 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
80996 GLIBCXX_C_HEADERS_C_STD_FALSE=
81000 if test $enable_cheaders = c_global; then
81001 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
81002 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
81003 else
81004 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
81005 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
81009 if test $c_compatibility = yes; then
81010 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
81011 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
81012 else
81013 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
81014 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
81018 if test $enable_libstdcxx_debug = yes; then
81019 GLIBCXX_BUILD_DEBUG_TRUE=
81020 GLIBCXX_BUILD_DEBUG_FALSE='#'
81021 else
81022 GLIBCXX_BUILD_DEBUG_TRUE='#'
81023 GLIBCXX_BUILD_DEBUG_FALSE=
81027 if test $enable_extern_template = yes; then
81028 ENABLE_EXTERN_TEMPLATE_TRUE=
81029 ENABLE_EXTERN_TEMPLATE_FALSE='#'
81030 else
81031 ENABLE_EXTERN_TEMPLATE_TRUE='#'
81032 ENABLE_EXTERN_TEMPLATE_FALSE=
81036 if test $python_mod_dir != no; then
81037 ENABLE_PYTHONDIR_TRUE=
81038 ENABLE_PYTHONDIR_FALSE='#'
81039 else
81040 ENABLE_PYTHONDIR_TRUE='#'
81041 ENABLE_PYTHONDIR_FALSE=
81045 if test $enable_werror = yes; then
81046 ENABLE_WERROR_TRUE=
81047 ENABLE_WERROR_FALSE='#'
81048 else
81049 ENABLE_WERROR_TRUE='#'
81050 ENABLE_WERROR_FALSE=
81054 if test $enable_vtable_verify = yes; then
81055 ENABLE_VTABLE_VERIFY_TRUE=
81056 ENABLE_VTABLE_VERIFY_FALSE='#'
81057 else
81058 ENABLE_VTABLE_VERIFY_TRUE='#'
81059 ENABLE_VTABLE_VERIFY_FALSE=
81063 if test $enable_symvers != no; then
81064 ENABLE_SYMVERS_TRUE=
81065 ENABLE_SYMVERS_FALSE='#'
81066 else
81067 ENABLE_SYMVERS_TRUE='#'
81068 ENABLE_SYMVERS_FALSE=
81072 if test $enable_symvers = gnu; then
81073 ENABLE_SYMVERS_GNU_TRUE=
81074 ENABLE_SYMVERS_GNU_FALSE='#'
81075 else
81076 ENABLE_SYMVERS_GNU_TRUE='#'
81077 ENABLE_SYMVERS_GNU_FALSE=
81081 if test $enable_symvers = gnu-versioned-namespace; then
81082 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
81083 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
81084 else
81085 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
81086 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
81090 if test $enable_symvers = darwin; then
81091 ENABLE_SYMVERS_DARWIN_TRUE=
81092 ENABLE_SYMVERS_DARWIN_FALSE='#'
81093 else
81094 ENABLE_SYMVERS_DARWIN_TRUE='#'
81095 ENABLE_SYMVERS_DARWIN_FALSE=
81099 if test $enable_symvers = sun; then
81100 ENABLE_SYMVERS_SUN_TRUE=
81101 ENABLE_SYMVERS_SUN_FALSE='#'
81102 else
81103 ENABLE_SYMVERS_SUN_TRUE='#'
81104 ENABLE_SYMVERS_SUN_FALSE=
81108 if test $enable_libstdcxx_visibility = yes; then
81109 ENABLE_VISIBILITY_TRUE=
81110 ENABLE_VISIBILITY_FALSE='#'
81111 else
81112 ENABLE_VISIBILITY_TRUE='#'
81113 ENABLE_VISIBILITY_FALSE=
81117 if test $enable_libstdcxx_dual_abi = yes; then
81118 ENABLE_DUAL_ABI_TRUE=
81119 ENABLE_DUAL_ABI_FALSE='#'
81120 else
81121 ENABLE_DUAL_ABI_TRUE='#'
81122 ENABLE_DUAL_ABI_FALSE=
81126 if test $glibcxx_cxx11_abi = 1; then
81127 ENABLE_CXX11_ABI_TRUE=
81128 ENABLE_CXX11_ABI_FALSE='#'
81129 else
81130 ENABLE_CXX11_ABI_TRUE='#'
81131 ENABLE_CXX11_ABI_FALSE=
81135 if test $ac_ldbl_compat = yes; then
81136 GLIBCXX_LDBL_COMPAT_TRUE=
81137 GLIBCXX_LDBL_COMPAT_FALSE='#'
81138 else
81139 GLIBCXX_LDBL_COMPAT_TRUE='#'
81140 GLIBCXX_LDBL_COMPAT_FALSE=
81144 if test $enable_libstdcxx_filesystem_ts = yes; then
81145 ENABLE_FILESYSTEM_TS_TRUE=
81146 ENABLE_FILESYSTEM_TS_FALSE='#'
81147 else
81148 ENABLE_FILESYSTEM_TS_TRUE='#'
81149 ENABLE_FILESYSTEM_TS_FALSE=
81155 cat >confcache <<\_ACEOF
81156 # This file is a shell script that caches the results of configure
81157 # tests run on this system so they can be shared between configure
81158 # scripts and configure runs, see configure's option --config-cache.
81159 # It is not useful on other systems. If it contains results you don't
81160 # want to keep, you may remove or edit it.
81162 # config.status only pays attention to the cache file if you give it
81163 # the --recheck option to rerun configure.
81165 # `ac_cv_env_foo' variables (set or unset) will be overridden when
81166 # loading this file, other *unset* `ac_cv_foo' will be assigned the
81167 # following values.
81169 _ACEOF
81171 # The following way of writing the cache mishandles newlines in values,
81172 # but we know of no workaround that is simple, portable, and efficient.
81173 # So, we kill variables containing newlines.
81174 # Ultrix sh set writes to stderr and can't be redirected directly,
81175 # and sets the high bit in the cache file unless we assign to the vars.
81177 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
81178 eval ac_val=\$$ac_var
81179 case $ac_val in #(
81180 *${as_nl}*)
81181 case $ac_var in #(
81182 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
81183 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
81184 esac
81185 case $ac_var in #(
81186 _ | IFS | as_nl) ;; #(
81187 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
81188 *) { eval $ac_var=; unset $ac_var;} ;;
81189 esac ;;
81190 esac
81191 done
81193 (set) 2>&1 |
81194 case $as_nl`(ac_space=' '; set) 2>&1` in #(
81195 *${as_nl}ac_space=\ *)
81196 # `set' does not quote correctly, so add quotes: double-quote
81197 # substitution turns \\\\ into \\, and sed turns \\ into \.
81198 sed -n \
81199 "s/'/'\\\\''/g;
81200 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
81201 ;; #(
81203 # `set' quotes correctly as required by POSIX, so do not add quotes.
81204 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
81206 esac |
81207 sort
81209 sed '
81210 /^ac_cv_env_/b end
81211 t clear
81212 :clear
81213 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
81214 t end
81215 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
81216 :end' >>confcache
81217 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
81218 if test -w "$cache_file"; then
81219 test "x$cache_file" != "x/dev/null" &&
81220 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
81221 $as_echo "$as_me: updating cache $cache_file" >&6;}
81222 cat confcache >$cache_file
81223 else
81224 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
81225 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
81228 rm -f confcache
81230 if test ${multilib} = yes; then
81231 multilib_arg="--enable-multilib"
81232 else
81233 multilib_arg=
81236 # Export all the install information.
81238 glibcxx_toolexecdir=no
81239 glibcxx_toolexeclibdir=no
81240 glibcxx_prefixdir=$prefix
81242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
81243 $as_echo_n "checking for gxx-include-dir... " >&6; }
81245 # Check whether --with-gxx-include-dir was given.
81246 if test "${with_gxx_include_dir+set}" = set; then :
81247 withval=$with_gxx_include_dir; case "$withval" in
81248 yes) as_fn_error "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
81249 no) gxx_include_dir=no ;;
81250 *) gxx_include_dir=$withval ;;
81251 esac
81252 else
81253 gxx_include_dir=no
81256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
81257 $as_echo "$gxx_include_dir" >&6; }
81259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
81260 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
81261 # Check whether --enable-version-specific-runtime-libs was given.
81262 if test "${enable_version_specific_runtime_libs+set}" = set; then :
81263 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
81264 yes) version_specific_libs=yes ;;
81265 no) version_specific_libs=no ;;
81266 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
81267 esac
81268 else
81269 version_specific_libs=no
81272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
81273 $as_echo "$version_specific_libs" >&6; }
81275 # Default case for install directory for include files.
81276 if test $version_specific_libs = no && test $gxx_include_dir = no; then
81277 gxx_include_dir='include/c++/${gcc_version}'
81278 if test -n "$with_cross_host" &&
81279 test x"$with_cross_host" != x"no"; then
81280 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
81281 else
81282 gxx_include_dir='${prefix}/'"$gxx_include_dir"
81286 # Version-specific runtime libs processing.
81287 if test $version_specific_libs = yes; then
81288 # Need the gcc compiler version to know where to install libraries
81289 # and header files if --enable-version-specific-runtime-libs option
81290 # is selected. FIXME: these variables are misnamed, there are
81291 # no executables installed in _toolexecdir or _toolexeclibdir.
81292 if test x"$gxx_include_dir" = x"no"; then
81293 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
81295 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
81296 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
81299 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
81300 # Install a library built with a cross compiler in tooldir, not libdir.
81301 if test x"$glibcxx_toolexecdir" = x"no"; then
81302 if test -n "$with_cross_host" &&
81303 test x"$with_cross_host" != x"no"; then
81304 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
81305 glibcxx_toolexeclibdir='${toolexecdir}/lib'
81306 else
81307 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
81308 glibcxx_toolexeclibdir='${libdir}'
81310 multi_os_directory=`$CXX -print-multi-os-directory`
81311 case $multi_os_directory in
81312 .) ;; # Avoid trailing /.
81313 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
81314 esac
81317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
81318 $as_echo_n "checking for install location... " >&6; }
81319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
81320 $as_echo "$gxx_include_dir" >&6; }
81328 # Export all the include and flag information to Makefiles.
81330 # Used for every C++ compile we perform.
81331 GLIBCXX_INCLUDES="\
81332 -I$glibcxx_builddir/include/$host_alias \
81333 -I$glibcxx_builddir/include \
81334 -I$glibcxx_srcdir/libsupc++"
81336 # For Canadian crosses, pick this up too.
81337 if test $CANADIAN = yes; then
81338 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
81341 # Stuff in the actual top level. Currently only used by libsupc++ to
81342 # get unwind* headers from the libgcc dir.
81343 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
81344 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc'
81346 # Now, export this to all the little Makefiles....
81351 # Optimization flags that are probably a good idea for thrill-seekers. Just
81352 # uncomment the lines below and make, everything else is ready to go...
81353 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
81354 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
81357 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi'
81361 ac_config_files="$ac_config_files Makefile"
81363 ac_config_files="$ac_config_files scripts/testsuite_flags"
81365 ac_config_files="$ac_config_files scripts/extract_symvers"
81367 ac_config_files="$ac_config_files doc/xsl/customization.xsl"
81370 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
81371 # that multilib installs will end up installed in the correct place.
81372 # The testsuite needs it for multilib-aware ABI baseline files.
81373 # To work around this not being passed down from config-ml.in ->
81374 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
81375 # append it here. Only modify Makefiles that have just been created.
81377 # Also, get rid of this simulated-VPATH thing that automake does.
81378 ac_config_files="$ac_config_files include/Makefile libsupc++/Makefile src/Makefile src/c++98/Makefile src/c++11/Makefile src/filesystem/Makefile doc/Makefile po/Makefile testsuite/Makefile python/Makefile"
81381 ac_config_commands="$ac_config_commands generate-headers"
81384 cat >confcache <<\_ACEOF
81385 # This file is a shell script that caches the results of configure
81386 # tests run on this system so they can be shared between configure
81387 # scripts and configure runs, see configure's option --config-cache.
81388 # It is not useful on other systems. If it contains results you don't
81389 # want to keep, you may remove or edit it.
81391 # config.status only pays attention to the cache file if you give it
81392 # the --recheck option to rerun configure.
81394 # `ac_cv_env_foo' variables (set or unset) will be overridden when
81395 # loading this file, other *unset* `ac_cv_foo' will be assigned the
81396 # following values.
81398 _ACEOF
81400 # The following way of writing the cache mishandles newlines in values,
81401 # but we know of no workaround that is simple, portable, and efficient.
81402 # So, we kill variables containing newlines.
81403 # Ultrix sh set writes to stderr and can't be redirected directly,
81404 # and sets the high bit in the cache file unless we assign to the vars.
81406 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
81407 eval ac_val=\$$ac_var
81408 case $ac_val in #(
81409 *${as_nl}*)
81410 case $ac_var in #(
81411 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
81412 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
81413 esac
81414 case $ac_var in #(
81415 _ | IFS | as_nl) ;; #(
81416 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
81417 *) { eval $ac_var=; unset $ac_var;} ;;
81418 esac ;;
81419 esac
81420 done
81422 (set) 2>&1 |
81423 case $as_nl`(ac_space=' '; set) 2>&1` in #(
81424 *${as_nl}ac_space=\ *)
81425 # `set' does not quote correctly, so add quotes: double-quote
81426 # substitution turns \\\\ into \\, and sed turns \\ into \.
81427 sed -n \
81428 "s/'/'\\\\''/g;
81429 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
81430 ;; #(
81432 # `set' quotes correctly as required by POSIX, so do not add quotes.
81433 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
81435 esac |
81436 sort
81438 sed '
81439 /^ac_cv_env_/b end
81440 t clear
81441 :clear
81442 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
81443 t end
81444 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
81445 :end' >>confcache
81446 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
81447 if test -w "$cache_file"; then
81448 test "x$cache_file" != "x/dev/null" &&
81449 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
81450 $as_echo "$as_me: updating cache $cache_file" >&6;}
81451 cat confcache >$cache_file
81452 else
81453 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
81454 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
81457 rm -f confcache
81459 test "x$prefix" = xNONE && prefix=$ac_default_prefix
81460 # Let make expand exec_prefix.
81461 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
81463 DEFS=-DHAVE_CONFIG_H
81465 ac_libobjs=
81466 ac_ltlibobjs=
81467 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
81468 # 1. Remove the extension, and $U if already installed.
81469 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
81470 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
81471 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
81472 # will be set to the directory where LIBOBJS objects are built.
81473 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
81474 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
81475 done
81476 LIBOBJS=$ac_libobjs
81478 LTLIBOBJS=$ac_ltlibobjs
81481 if test -n "$EXEEXT"; then
81482 am__EXEEXT_TRUE=
81483 am__EXEEXT_FALSE='#'
81484 else
81485 am__EXEEXT_TRUE='#'
81486 am__EXEEXT_FALSE=
81489 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
81490 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
81491 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81493 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
81494 as_fn_error "conditional \"GLIBCXX_HOSTED\" was never defined.
81495 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81497 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
81498 as_fn_error "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
81499 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81501 if test -z "${ENABLE_ALLOCATOR_NEW_TRUE}" && test -z "${ENABLE_ALLOCATOR_NEW_FALSE}"; then
81502 as_fn_error "conditional \"ENABLE_ALLOCATOR_NEW\" was never defined.
81503 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81505 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
81506 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
81507 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81509 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
81510 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
81511 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81513 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
81514 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
81515 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81517 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
81518 as_fn_error "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
81519 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81521 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
81522 as_fn_error "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
81523 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81525 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
81526 as_fn_error "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
81527 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81529 if test -z "${ENABLE_PYTHONDIR_TRUE}" && test -z "${ENABLE_PYTHONDIR_FALSE}"; then
81530 as_fn_error "conditional \"ENABLE_PYTHONDIR\" was never defined.
81531 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81533 if test -z "${ENABLE_WERROR_TRUE}" && test -z "${ENABLE_WERROR_FALSE}"; then
81534 as_fn_error "conditional \"ENABLE_WERROR\" was never defined.
81535 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81537 if test -z "${VTV_CYGMIN_TRUE}" && test -z "${VTV_CYGMIN_FALSE}"; then
81538 as_fn_error "conditional \"VTV_CYGMIN\" was never defined.
81539 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81541 if test -z "${ENABLE_VTABLE_VERIFY_TRUE}" && test -z "${ENABLE_VTABLE_VERIFY_FALSE}"; then
81542 as_fn_error "conditional \"ENABLE_VTABLE_VERIFY\" was never defined.
81543 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81545 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
81546 as_fn_error "conditional \"ENABLE_SYMVERS\" was never defined.
81547 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81549 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
81550 as_fn_error "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
81551 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81553 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
81554 as_fn_error "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
81555 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81557 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
81558 as_fn_error "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
81559 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81561 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
81562 as_fn_error "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
81563 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81565 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
81566 as_fn_error "conditional \"ENABLE_VISIBILITY\" was never defined.
81567 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81569 if test -z "${ENABLE_DUAL_ABI_TRUE}" && test -z "${ENABLE_DUAL_ABI_FALSE}"; then
81570 as_fn_error "conditional \"ENABLE_DUAL_ABI\" was never defined.
81571 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81573 if test -z "${ENABLE_CXX11_ABI_TRUE}" && test -z "${ENABLE_CXX11_ABI_FALSE}"; then
81574 as_fn_error "conditional \"ENABLE_CXX11_ABI\" was never defined.
81575 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81577 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
81578 as_fn_error "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
81579 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81581 if test -z "${ENABLE_FILESYSTEM_TS_TRUE}" && test -z "${ENABLE_FILESYSTEM_TS_FALSE}"; then
81582 as_fn_error "conditional \"ENABLE_FILESYSTEM_TS\" was never defined.
81583 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81585 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
81586 as_fn_error "conditional \"BUILD_INFO\" was never defined.
81587 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81589 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
81590 as_fn_error "conditional \"BUILD_EPUB\" was never defined.
81591 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81593 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
81594 as_fn_error "conditional \"BUILD_XML\" was never defined.
81595 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81597 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
81598 as_fn_error "conditional \"BUILD_HTML\" was never defined.
81599 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81601 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
81602 as_fn_error "conditional \"BUILD_MAN\" was never defined.
81603 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81605 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
81606 as_fn_error "conditional \"BUILD_PDF\" was never defined.
81607 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81610 : ${CONFIG_STATUS=./config.status}
81611 ac_write_fail=0
81612 ac_clean_files_save=$ac_clean_files
81613 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
81614 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
81615 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
81616 as_write_fail=0
81617 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
81618 #! $SHELL
81619 # Generated by $as_me.
81620 # Run this file to recreate the current configuration.
81621 # Compiler output produced by configure, useful for debugging
81622 # configure, is in config.log if it exists.
81624 debug=false
81625 ac_cs_recheck=false
81626 ac_cs_silent=false
81628 SHELL=\${CONFIG_SHELL-$SHELL}
81629 export SHELL
81630 _ASEOF
81631 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
81632 ## -------------------- ##
81633 ## M4sh Initialization. ##
81634 ## -------------------- ##
81636 # Be more Bourne compatible
81637 DUALCASE=1; export DUALCASE # for MKS sh
81638 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
81639 emulate sh
81640 NULLCMD=:
81641 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
81642 # is contrary to our usage. Disable this feature.
81643 alias -g '${1+"$@"}'='"$@"'
81644 setopt NO_GLOB_SUBST
81645 else
81646 case `(set -o) 2>/dev/null` in #(
81647 *posix*) :
81648 set -o posix ;; #(
81649 *) :
81651 esac
81655 as_nl='
81657 export as_nl
81658 # Printing a long string crashes Solaris 7 /usr/bin/printf.
81659 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
81660 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
81661 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
81662 # Prefer a ksh shell builtin over an external printf program on Solaris,
81663 # but without wasting forks for bash or zsh.
81664 if test -z "$BASH_VERSION$ZSH_VERSION" \
81665 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
81666 as_echo='print -r --'
81667 as_echo_n='print -rn --'
81668 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
81669 as_echo='printf %s\n'
81670 as_echo_n='printf %s'
81671 else
81672 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
81673 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
81674 as_echo_n='/usr/ucb/echo -n'
81675 else
81676 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
81677 as_echo_n_body='eval
81678 arg=$1;
81679 case $arg in #(
81680 *"$as_nl"*)
81681 expr "X$arg" : "X\\(.*\\)$as_nl";
81682 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
81683 esac;
81684 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
81686 export as_echo_n_body
81687 as_echo_n='sh -c $as_echo_n_body as_echo'
81689 export as_echo_body
81690 as_echo='sh -c $as_echo_body as_echo'
81693 # The user is always right.
81694 if test "${PATH_SEPARATOR+set}" != set; then
81695 PATH_SEPARATOR=:
81696 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
81697 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81698 PATH_SEPARATOR=';'
81703 # IFS
81704 # We need space, tab and new line, in precisely that order. Quoting is
81705 # there to prevent editors from complaining about space-tab.
81706 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
81707 # splitting by setting IFS to empty value.)
81708 IFS=" "" $as_nl"
81710 # Find who we are. Look in the path if we contain no directory separator.
81711 case $0 in #((
81712 *[\\/]* ) as_myself=$0 ;;
81713 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
81714 for as_dir in $PATH
81716 IFS=$as_save_IFS
81717 test -z "$as_dir" && as_dir=.
81718 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
81719 done
81720 IFS=$as_save_IFS
81723 esac
81724 # We did not find ourselves, most probably we were run as `sh COMMAND'
81725 # in which case we are not to be found in the path.
81726 if test "x$as_myself" = x; then
81727 as_myself=$0
81729 if test ! -f "$as_myself"; then
81730 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
81731 exit 1
81734 # Unset variables that we do not need and which cause bugs (e.g. in
81735 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
81736 # suppresses any "Segmentation fault" message there. '((' could
81737 # trigger a bug in pdksh 5.2.14.
81738 for as_var in BASH_ENV ENV MAIL MAILPATH
81739 do eval test x\${$as_var+set} = xset \
81740 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
81741 done
81742 PS1='$ '
81743 PS2='> '
81744 PS4='+ '
81746 # NLS nuisances.
81747 LC_ALL=C
81748 export LC_ALL
81749 LANGUAGE=C
81750 export LANGUAGE
81752 # CDPATH.
81753 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
81756 # as_fn_error ERROR [LINENO LOG_FD]
81757 # ---------------------------------
81758 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
81759 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
81760 # script with status $?, using 1 if that was 0.
81761 as_fn_error ()
81763 as_status=$?; test $as_status -eq 0 && as_status=1
81764 if test "$3"; then
81765 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
81766 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
81768 $as_echo "$as_me: error: $1" >&2
81769 as_fn_exit $as_status
81770 } # as_fn_error
81773 # as_fn_set_status STATUS
81774 # -----------------------
81775 # Set $? to STATUS, without forking.
81776 as_fn_set_status ()
81778 return $1
81779 } # as_fn_set_status
81781 # as_fn_exit STATUS
81782 # -----------------
81783 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
81784 as_fn_exit ()
81786 set +e
81787 as_fn_set_status $1
81788 exit $1
81789 } # as_fn_exit
81791 # as_fn_unset VAR
81792 # ---------------
81793 # Portably unset VAR.
81794 as_fn_unset ()
81796 { eval $1=; unset $1;}
81798 as_unset=as_fn_unset
81799 # as_fn_append VAR VALUE
81800 # ----------------------
81801 # Append the text in VALUE to the end of the definition contained in VAR. Take
81802 # advantage of any shell optimizations that allow amortized linear growth over
81803 # repeated appends, instead of the typical quadratic growth present in naive
81804 # implementations.
81805 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
81806 eval 'as_fn_append ()
81808 eval $1+=\$2
81810 else
81811 as_fn_append ()
81813 eval $1=\$$1\$2
81815 fi # as_fn_append
81817 # as_fn_arith ARG...
81818 # ------------------
81819 # Perform arithmetic evaluation on the ARGs, and store the result in the
81820 # global $as_val. Take advantage of shells that can avoid forks. The arguments
81821 # must be portable across $(()) and expr.
81822 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
81823 eval 'as_fn_arith ()
81825 as_val=$(( $* ))
81827 else
81828 as_fn_arith ()
81830 as_val=`expr "$@" || test $? -eq 1`
81832 fi # as_fn_arith
81835 if expr a : '\(a\)' >/dev/null 2>&1 &&
81836 test "X`expr 00001 : '.*\(...\)'`" = X001; then
81837 as_expr=expr
81838 else
81839 as_expr=false
81842 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
81843 as_basename=basename
81844 else
81845 as_basename=false
81848 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
81849 as_dirname=dirname
81850 else
81851 as_dirname=false
81854 as_me=`$as_basename -- "$0" ||
81855 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
81856 X"$0" : 'X\(//\)$' \| \
81857 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
81858 $as_echo X/"$0" |
81859 sed '/^.*\/\([^/][^/]*\)\/*$/{
81860 s//\1/
81863 /^X\/\(\/\/\)$/{
81864 s//\1/
81867 /^X\/\(\/\).*/{
81868 s//\1/
81871 s/.*/./; q'`
81873 # Avoid depending upon Character Ranges.
81874 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81875 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
81876 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
81877 as_cr_digits='0123456789'
81878 as_cr_alnum=$as_cr_Letters$as_cr_digits
81880 ECHO_C= ECHO_N= ECHO_T=
81881 case `echo -n x` in #(((((
81882 -n*)
81883 case `echo 'xy\c'` in
81884 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
81885 xy) ECHO_C='\c';;
81886 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
81887 ECHO_T=' ';;
81888 esac;;
81890 ECHO_N='-n';;
81891 esac
81893 rm -f conf$$ conf$$.exe conf$$.file
81894 if test -d conf$$.dir; then
81895 rm -f conf$$.dir/conf$$.file
81896 else
81897 rm -f conf$$.dir
81898 mkdir conf$$.dir 2>/dev/null
81900 if (echo >conf$$.file) 2>/dev/null; then
81901 if ln -s conf$$.file conf$$ 2>/dev/null; then
81902 as_ln_s='ln -s'
81903 # ... but there are two gotchas:
81904 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
81905 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
81906 # In both cases, we have to default to `cp -p'.
81907 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
81908 as_ln_s='cp -p'
81909 elif ln conf$$.file conf$$ 2>/dev/null; then
81910 as_ln_s=ln
81911 else
81912 as_ln_s='cp -p'
81914 else
81915 as_ln_s='cp -p'
81917 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
81918 rmdir conf$$.dir 2>/dev/null
81921 # as_fn_mkdir_p
81922 # -------------
81923 # Create "$as_dir" as a directory, including parents if necessary.
81924 as_fn_mkdir_p ()
81927 case $as_dir in #(
81928 -*) as_dir=./$as_dir;;
81929 esac
81930 test -d "$as_dir" || eval $as_mkdir_p || {
81931 as_dirs=
81932 while :; do
81933 case $as_dir in #(
81934 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
81935 *) as_qdir=$as_dir;;
81936 esac
81937 as_dirs="'$as_qdir' $as_dirs"
81938 as_dir=`$as_dirname -- "$as_dir" ||
81939 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
81940 X"$as_dir" : 'X\(//\)[^/]' \| \
81941 X"$as_dir" : 'X\(//\)$' \| \
81942 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
81943 $as_echo X"$as_dir" |
81944 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
81945 s//\1/
81948 /^X\(\/\/\)[^/].*/{
81949 s//\1/
81952 /^X\(\/\/\)$/{
81953 s//\1/
81956 /^X\(\/\).*/{
81957 s//\1/
81960 s/.*/./; q'`
81961 test -d "$as_dir" && break
81962 done
81963 test -z "$as_dirs" || eval "mkdir $as_dirs"
81964 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
81967 } # as_fn_mkdir_p
81968 if mkdir -p . 2>/dev/null; then
81969 as_mkdir_p='mkdir -p "$as_dir"'
81970 else
81971 test -d ./-p && rmdir ./-p
81972 as_mkdir_p=false
81975 if test -x / >/dev/null 2>&1; then
81976 as_test_x='test -x'
81977 else
81978 if ls -dL / >/dev/null 2>&1; then
81979 as_ls_L_option=L
81980 else
81981 as_ls_L_option=
81983 as_test_x='
81984 eval sh -c '\''
81985 if test -d "$1"; then
81986 test -d "$1/.";
81987 else
81988 case $1 in #(
81989 -*)set "./$1";;
81990 esac;
81991 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
81992 ???[sx]*):;;*)false;;esac;fi
81993 '\'' sh
81996 as_executable_p=$as_test_x
81998 # Sed expression to map a string onto a valid CPP name.
81999 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
82001 # Sed expression to map a string onto a valid variable name.
82002 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
82005 exec 6>&1
82006 ## ----------------------------------- ##
82007 ## Main body of $CONFIG_STATUS script. ##
82008 ## ----------------------------------- ##
82009 _ASEOF
82010 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
82012 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82013 # Save the log message, to keep $0 and so on meaningful, and to
82014 # report actual input values of CONFIG_FILES etc. instead of their
82015 # values after options handling.
82016 ac_log="
82017 This file was extended by package-unused $as_me version-unused, which was
82018 generated by GNU Autoconf 2.64. Invocation command line was
82020 CONFIG_FILES = $CONFIG_FILES
82021 CONFIG_HEADERS = $CONFIG_HEADERS
82022 CONFIG_LINKS = $CONFIG_LINKS
82023 CONFIG_COMMANDS = $CONFIG_COMMANDS
82024 $ $0 $@
82026 on `(hostname || uname -n) 2>/dev/null | sed 1q`
82029 _ACEOF
82031 case $ac_config_files in *"
82032 "*) set x $ac_config_files; shift; ac_config_files=$*;;
82033 esac
82035 case $ac_config_headers in *"
82036 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
82037 esac
82040 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82041 # Files that config.status was made for.
82042 config_files="$ac_config_files"
82043 config_headers="$ac_config_headers"
82044 config_commands="$ac_config_commands"
82046 _ACEOF
82048 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82049 ac_cs_usage="\
82050 \`$as_me' instantiates files and other configuration actions
82051 from templates according to the current configuration. Unless the files
82052 and actions are specified as TAGs, all are instantiated by default.
82054 Usage: $0 [OPTION]... [TAG]...
82056 -h, --help print this help, then exit
82057 -V, --version print version number and configuration settings, then exit
82058 -q, --quiet, --silent
82059 do not print progress messages
82060 -d, --debug don't remove temporary files
82061 --recheck update $as_me by reconfiguring in the same conditions
82062 --file=FILE[:TEMPLATE]
82063 instantiate the configuration file FILE
82064 --header=FILE[:TEMPLATE]
82065 instantiate the configuration header FILE
82067 Configuration files:
82068 $config_files
82070 Configuration headers:
82071 $config_headers
82073 Configuration commands:
82074 $config_commands
82076 Report bugs to the package provider."
82078 _ACEOF
82079 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82080 ac_cs_version="\\
82081 package-unused config.status version-unused
82082 configured by $0, generated by GNU Autoconf 2.64,
82083 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
82085 Copyright (C) 2009 Free Software Foundation, Inc.
82086 This config.status script is free software; the Free Software Foundation
82087 gives unlimited permission to copy, distribute and modify it."
82089 ac_pwd='$ac_pwd'
82090 srcdir='$srcdir'
82091 INSTALL='$INSTALL'
82092 MKDIR_P='$MKDIR_P'
82093 AWK='$AWK'
82094 test -n "\$AWK" || AWK=awk
82095 _ACEOF
82097 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82098 # The default lists apply if the user does not specify any file.
82099 ac_need_defaults=:
82100 while test $# != 0
82102 case $1 in
82103 --*=*)
82104 ac_option=`expr "X$1" : 'X\([^=]*\)='`
82105 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
82106 ac_shift=:
82109 ac_option=$1
82110 ac_optarg=$2
82111 ac_shift=shift
82113 esac
82115 case $ac_option in
82116 # Handling of the options.
82117 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
82118 ac_cs_recheck=: ;;
82119 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
82120 $as_echo "$ac_cs_version"; exit ;;
82121 --debug | --debu | --deb | --de | --d | -d )
82122 debug=: ;;
82123 --file | --fil | --fi | --f )
82124 $ac_shift
82125 case $ac_optarg in
82126 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
82127 esac
82128 as_fn_append CONFIG_FILES " '$ac_optarg'"
82129 ac_need_defaults=false;;
82130 --header | --heade | --head | --hea )
82131 $ac_shift
82132 case $ac_optarg in
82133 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
82134 esac
82135 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
82136 ac_need_defaults=false;;
82137 --he | --h)
82138 # Conflict between --help and --header
82139 as_fn_error "ambiguous option: \`$1'
82140 Try \`$0 --help' for more information.";;
82141 --help | --hel | -h )
82142 $as_echo "$ac_cs_usage"; exit ;;
82143 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
82144 | -silent | --silent | --silen | --sile | --sil | --si | --s)
82145 ac_cs_silent=: ;;
82147 # This is an error.
82148 -*) as_fn_error "unrecognized option: \`$1'
82149 Try \`$0 --help' for more information." ;;
82151 *) as_fn_append ac_config_targets " $1"
82152 ac_need_defaults=false ;;
82154 esac
82155 shift
82156 done
82158 ac_configure_extra_args=
82160 if $ac_cs_silent; then
82161 exec 6>/dev/null
82162 ac_configure_extra_args="$ac_configure_extra_args --silent"
82165 _ACEOF
82166 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82167 if \$ac_cs_recheck; then
82168 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
82169 shift
82170 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
82171 CONFIG_SHELL='$SHELL'
82172 export CONFIG_SHELL
82173 exec "\$@"
82176 _ACEOF
82177 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82178 exec 5>>config.log
82180 echo
82181 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
82182 ## Running $as_me. ##
82183 _ASBOX
82184 $as_echo "$ac_log"
82185 } >&5
82187 _ACEOF
82188 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82190 # INIT-COMMANDS
82193 srcdir="$srcdir"
82194 host="$host"
82195 target="$target"
82196 with_multisubdir="$with_multisubdir"
82197 with_multisrctop="$with_multisrctop"
82198 with_target_subdir="$with_target_subdir"
82199 ac_configure_args="${multilib_arg} ${ac_configure_args}"
82200 multi_basedir="$multi_basedir"
82201 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
82202 CC="$CC"
82203 CXX="$CXX"
82204 GFORTRAN="$GFORTRAN"
82205 GCJ="$GCJ"
82208 # The HP-UX ksh and POSIX shell print the target directory to stdout
82209 # if CDPATH is set.
82210 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
82212 sed_quote_subst='$sed_quote_subst'
82213 double_quote_subst='$double_quote_subst'
82214 delay_variable_subst='$delay_variable_subst'
82215 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
82216 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
82217 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
82218 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
82219 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
82220 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
82221 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
82222 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
82223 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
82224 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
82225 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
82226 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
82227 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
82228 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
82229 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
82230 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
82231 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
82232 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
82233 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
82234 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
82235 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
82236 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
82237 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
82238 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
82239 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
82240 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
82241 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
82242 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
82243 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
82244 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
82245 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
82246 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
82247 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
82248 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
82249 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
82250 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
82251 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
82252 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
82253 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
82254 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
82255 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
82256 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
82257 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
82258 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
82259 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
82260 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
82261 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
82262 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
82263 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"`'
82264 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
82265 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
82266 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
82267 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
82268 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
82269 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
82270 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
82271 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
82272 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
82273 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
82274 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
82275 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
82276 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
82277 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
82278 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
82279 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
82280 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
82281 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
82282 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
82283 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
82284 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
82285 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
82286 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
82287 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
82288 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
82289 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
82290 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
82291 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
82292 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
82293 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
82294 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
82295 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
82296 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
82297 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
82298 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
82299 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
82300 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
82301 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
82302 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
82303 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
82304 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
82305 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
82306 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
82307 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
82308 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
82309 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
82310 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
82311 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
82312 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
82313 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
82314 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
82315 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
82316 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
82317 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
82318 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
82319 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
82320 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
82321 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
82322 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
82323 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
82324 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
82325 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
82326 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
82327 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
82328 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
82329 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
82330 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
82331 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
82332 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
82333 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
82334 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
82335 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
82336 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
82337 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
82338 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
82339 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
82340 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
82341 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
82342 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
82343 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82344 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82345 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
82346 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
82347 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
82348 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
82349 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
82350 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
82351 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
82352 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
82353 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
82354 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
82355 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
82356 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
82357 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82358 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82359 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82360 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82361 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82362 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82363 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
82364 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
82365 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
82366 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
82367 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
82368 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
82369 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
82370 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
82371 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
82372 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
82373 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
82374 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
82375 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
82376 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
82377 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
82378 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82379 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
82380 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
82381 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82382 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
82383 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
82384 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
82385 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
82386 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
82387 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
82388 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
82389 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
82391 LTCC='$LTCC'
82392 LTCFLAGS='$LTCFLAGS'
82393 compiler='$compiler_DEFAULT'
82395 # A function that is used when there is no print builtin or printf.
82396 func_fallback_echo ()
82398 eval 'cat <<_LTECHO_EOF
82400 _LTECHO_EOF'
82403 # Quote evaled strings.
82404 for var in SHELL \
82405 ECHO \
82406 SED \
82407 GREP \
82408 EGREP \
82409 FGREP \
82410 LD \
82411 NM \
82412 LN_S \
82413 lt_SP2NL \
82414 lt_NL2SP \
82415 reload_flag \
82416 OBJDUMP \
82417 deplibs_check_method \
82418 file_magic_cmd \
82419 AR \
82420 AR_FLAGS \
82421 STRIP \
82422 RANLIB \
82423 CC \
82424 CFLAGS \
82425 compiler \
82426 lt_cv_sys_global_symbol_pipe \
82427 lt_cv_sys_global_symbol_to_cdecl \
82428 lt_cv_sys_global_symbol_to_c_name_address \
82429 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
82430 lt_prog_compiler_no_builtin_flag \
82431 lt_prog_compiler_wl \
82432 lt_prog_compiler_pic \
82433 lt_prog_compiler_static \
82434 lt_cv_prog_compiler_c_o \
82435 need_locks \
82436 DSYMUTIL \
82437 NMEDIT \
82438 LIPO \
82439 OTOOL \
82440 OTOOL64 \
82441 shrext_cmds \
82442 export_dynamic_flag_spec \
82443 whole_archive_flag_spec \
82444 compiler_needs_object \
82445 with_gnu_ld \
82446 allow_undefined_flag \
82447 no_undefined_flag \
82448 hardcode_libdir_flag_spec \
82449 hardcode_libdir_flag_spec_ld \
82450 hardcode_libdir_separator \
82451 fix_srcfile_path \
82452 exclude_expsyms \
82453 include_expsyms \
82454 file_list_spec \
82455 variables_saved_for_relink \
82456 libname_spec \
82457 library_names_spec \
82458 soname_spec \
82459 install_override_mode \
82460 finish_eval \
82461 old_striplib \
82462 striplib \
82463 compiler_lib_search_dirs \
82464 predep_objects \
82465 postdep_objects \
82466 predeps \
82467 postdeps \
82468 compiler_lib_search_path \
82469 LD_CXX \
82470 reload_flag_CXX \
82471 compiler_CXX \
82472 lt_prog_compiler_no_builtin_flag_CXX \
82473 lt_prog_compiler_wl_CXX \
82474 lt_prog_compiler_pic_CXX \
82475 lt_prog_compiler_static_CXX \
82476 lt_cv_prog_compiler_c_o_CXX \
82477 export_dynamic_flag_spec_CXX \
82478 whole_archive_flag_spec_CXX \
82479 compiler_needs_object_CXX \
82480 with_gnu_ld_CXX \
82481 allow_undefined_flag_CXX \
82482 no_undefined_flag_CXX \
82483 hardcode_libdir_flag_spec_CXX \
82484 hardcode_libdir_flag_spec_ld_CXX \
82485 hardcode_libdir_separator_CXX \
82486 fix_srcfile_path_CXX \
82487 exclude_expsyms_CXX \
82488 include_expsyms_CXX \
82489 file_list_spec_CXX \
82490 compiler_lib_search_dirs_CXX \
82491 predep_objects_CXX \
82492 postdep_objects_CXX \
82493 predeps_CXX \
82494 postdeps_CXX \
82495 compiler_lib_search_path_CXX; do
82496 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
82497 *[\\\\\\\`\\"\\\$]*)
82498 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
82501 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
82503 esac
82504 done
82506 # Double-quote double-evaled strings.
82507 for var in reload_cmds \
82508 old_postinstall_cmds \
82509 old_postuninstall_cmds \
82510 old_archive_cmds \
82511 extract_expsyms_cmds \
82512 old_archive_from_new_cmds \
82513 old_archive_from_expsyms_cmds \
82514 archive_cmds \
82515 archive_expsym_cmds \
82516 module_cmds \
82517 module_expsym_cmds \
82518 export_symbols_cmds \
82519 prelink_cmds \
82520 postinstall_cmds \
82521 postuninstall_cmds \
82522 finish_cmds \
82523 sys_lib_search_path_spec \
82524 sys_lib_dlsearch_path_spec \
82525 reload_cmds_CXX \
82526 old_archive_cmds_CXX \
82527 old_archive_from_new_cmds_CXX \
82528 old_archive_from_expsyms_cmds_CXX \
82529 archive_cmds_CXX \
82530 archive_expsym_cmds_CXX \
82531 module_cmds_CXX \
82532 module_expsym_cmds_CXX \
82533 export_symbols_cmds_CXX \
82534 prelink_cmds_CXX; do
82535 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
82536 *[\\\\\\\`\\"\\\$]*)
82537 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
82540 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
82542 esac
82543 done
82545 ac_aux_dir='$ac_aux_dir'
82546 xsi_shell='$xsi_shell'
82547 lt_shell_append='$lt_shell_append'
82549 # See if we are running on zsh, and set the options which allow our
82550 # commands through without removal of \ escapes INIT.
82551 if test -n "\${ZSH_VERSION+set}" ; then
82552 setopt NO_GLOB_SUBST
82556 PACKAGE='$PACKAGE'
82557 VERSION='$VERSION'
82558 TIMESTAMP='$TIMESTAMP'
82559 RM='$RM'
82560 ofile='$ofile'
82567 GCC="$GCC"
82568 CC="$CC"
82569 acx_cv_header_stdint="$acx_cv_header_stdint"
82570 acx_cv_type_int8_t="$acx_cv_type_int8_t"
82571 acx_cv_type_int16_t="$acx_cv_type_int16_t"
82572 acx_cv_type_int32_t="$acx_cv_type_int32_t"
82573 acx_cv_type_int64_t="$acx_cv_type_int64_t"
82574 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
82575 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
82576 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
82577 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
82578 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
82579 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
82580 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
82581 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
82582 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
82585 _ACEOF
82587 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82589 # Handling of arguments.
82590 for ac_config_target in $ac_config_targets
82592 case $ac_config_target in
82593 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
82594 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
82595 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
82596 "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
82597 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
82598 "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
82599 "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
82600 "doc/xsl/customization.xsl") CONFIG_FILES="$CONFIG_FILES doc/xsl/customization.xsl" ;;
82601 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
82602 "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
82603 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
82604 "src/c++98/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++98/Makefile" ;;
82605 "src/c++11/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++11/Makefile" ;;
82606 "src/filesystem/Makefile") CONFIG_FILES="$CONFIG_FILES src/filesystem/Makefile" ;;
82607 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
82608 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
82609 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
82610 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
82611 "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
82613 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
82614 esac
82615 done
82618 # If the user did not use the arguments to specify the items to instantiate,
82619 # then the envvar interface is used. Set only those that are not.
82620 # We use the long form for the default assignment because of an extremely
82621 # bizarre bug on SunOS 4.1.3.
82622 if $ac_need_defaults; then
82623 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
82624 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
82625 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
82628 # Have a temporary directory for convenience. Make it in the build tree
82629 # simply because there is no reason against having it here, and in addition,
82630 # creating and moving files from /tmp can sometimes cause problems.
82631 # Hook for its removal unless debugging.
82632 # Note that there is a small window in which the directory will not be cleaned:
82633 # after its creation but before its name has been assigned to `$tmp'.
82634 $debug ||
82636 tmp=
82637 trap 'exit_status=$?
82638 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
82640 trap 'as_fn_exit 1' 1 2 13 15
82642 # Create a (secure) tmp directory for tmp files.
82645 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
82646 test -n "$tmp" && test -d "$tmp"
82647 } ||
82649 tmp=./conf$$-$RANDOM
82650 (umask 077 && mkdir "$tmp")
82651 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
82653 # Set up the scripts for CONFIG_FILES section.
82654 # No need to generate them if there are no CONFIG_FILES.
82655 # This happens for instance with `./config.status config.h'.
82656 if test -n "$CONFIG_FILES"; then
82659 ac_cr=`echo X | tr X '\015'`
82660 # On cygwin, bash can eat \r inside `` if the user requested igncr.
82661 # But we know of no other shell where ac_cr would be empty at this
82662 # point, so we can use a bashism as a fallback.
82663 if test "x$ac_cr" = x; then
82664 eval ac_cr=\$\'\\r\'
82666 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
82667 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
82668 ac_cs_awk_cr='\r'
82669 else
82670 ac_cs_awk_cr=$ac_cr
82673 echo 'BEGIN {' >"$tmp/subs1.awk" &&
82674 _ACEOF
82678 echo "cat >conf$$subs.awk <<_ACEOF" &&
82679 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
82680 echo "_ACEOF"
82681 } >conf$$subs.sh ||
82682 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
82683 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
82684 ac_delim='%!_!# '
82685 for ac_last_try in false false false false false :; do
82686 . ./conf$$subs.sh ||
82687 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
82689 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
82690 if test $ac_delim_n = $ac_delim_num; then
82691 break
82692 elif $ac_last_try; then
82693 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
82694 else
82695 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
82697 done
82698 rm -f conf$$subs.sh
82700 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82701 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
82702 _ACEOF
82703 sed -n '
82705 s/^/S["/; s/!.*/"]=/
82708 s/^[^!]*!//
82709 :repl
82710 t repl
82711 s/'"$ac_delim"'$//
82712 t delim
82715 s/\(.\{148\}\).*/\1/
82716 t more1
82717 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
82720 b repl
82721 :more1
82722 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
82725 s/.\{148\}//
82726 t nl
82727 :delim
82729 s/\(.\{148\}\).*/\1/
82730 t more2
82731 s/["\\]/\\&/g; s/^/"/; s/$/"/
82734 :more2
82735 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
82738 s/.\{148\}//
82739 t delim
82740 ' <conf$$subs.awk | sed '
82741 /^[^""]/{
82743 s/\n//
82745 ' >>$CONFIG_STATUS || ac_write_fail=1
82746 rm -f conf$$subs.awk
82747 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82748 _ACAWK
82749 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
82750 for (key in S) S_is_set[key] = 1
82751 FS = "\a"
82755 line = $ 0
82756 nfields = split(line, field, "@")
82757 substed = 0
82758 len = length(field[1])
82759 for (i = 2; i < nfields; i++) {
82760 key = field[i]
82761 keylen = length(key)
82762 if (S_is_set[key]) {
82763 value = S[key]
82764 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
82765 len += length(value) + length(field[++i])
82766 substed = 1
82767 } else
82768 len += 1 + keylen
82771 print line
82774 _ACAWK
82775 _ACEOF
82776 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82777 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
82778 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
82779 else
82781 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
82782 || as_fn_error "could not setup config files machinery" "$LINENO" 5
82783 _ACEOF
82785 # VPATH may cause trouble with some makes, so we remove $(srcdir),
82786 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
82787 # trailing colons and then remove the whole line if VPATH becomes empty
82788 # (actually we leave an empty line to preserve line numbers).
82789 if test "x$srcdir" = x.; then
82790 ac_vpsub='/^[ ]*VPATH[ ]*=/{
82791 s/:*\$(srcdir):*/:/
82792 s/:*\${srcdir}:*/:/
82793 s/:*@srcdir@:*/:/
82794 s/^\([^=]*=[ ]*\):*/\1/
82795 s/:*$//
82796 s/^[^=]*=[ ]*$//
82800 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82801 fi # test -n "$CONFIG_FILES"
82803 # Set up the scripts for CONFIG_HEADERS section.
82804 # No need to generate them if there are no CONFIG_HEADERS.
82805 # This happens for instance with `./config.status Makefile'.
82806 if test -n "$CONFIG_HEADERS"; then
82807 cat >"$tmp/defines.awk" <<\_ACAWK ||
82808 BEGIN {
82809 _ACEOF
82811 # Transform confdefs.h into an awk script `defines.awk', embedded as
82812 # here-document in config.status, that substitutes the proper values into
82813 # config.h.in to produce config.h.
82815 # Create a delimiter string that does not exist in confdefs.h, to ease
82816 # handling of long lines.
82817 ac_delim='%!_!# '
82818 for ac_last_try in false false :; do
82819 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
82820 if test -z "$ac_t"; then
82821 break
82822 elif $ac_last_try; then
82823 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
82824 else
82825 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
82827 done
82829 # For the awk script, D is an array of macro values keyed by name,
82830 # likewise P contains macro parameters if any. Preserve backslash
82831 # newline sequences.
82833 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
82834 sed -n '
82835 s/.\{148\}/&'"$ac_delim"'/g
82836 t rset
82837 :rset
82838 s/^[ ]*#[ ]*define[ ][ ]*/ /
82839 t def
82841 :def
82842 s/\\$//
82843 t bsnl
82844 s/["\\]/\\&/g
82845 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
82846 D["\1"]=" \3"/p
82847 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
82849 :bsnl
82850 s/["\\]/\\&/g
82851 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
82852 D["\1"]=" \3\\\\\\n"\\/p
82853 t cont
82854 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
82855 t cont
82857 :cont
82859 s/.\{148\}/&'"$ac_delim"'/g
82860 t clear
82861 :clear
82862 s/\\$//
82863 t bsnlc
82864 s/["\\]/\\&/g; s/^/"/; s/$/"/p
82866 :bsnlc
82867 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
82868 b cont
82869 ' <confdefs.h | sed '
82870 s/'"$ac_delim"'/"\\\
82871 "/g' >>$CONFIG_STATUS || ac_write_fail=1
82873 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82874 for (key in D) D_is_set[key] = 1
82875 FS = "\a"
82877 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
82878 line = \$ 0
82879 split(line, arg, " ")
82880 if (arg[1] == "#") {
82881 defundef = arg[2]
82882 mac1 = arg[3]
82883 } else {
82884 defundef = substr(arg[1], 2)
82885 mac1 = arg[2]
82887 split(mac1, mac2, "(") #)
82888 macro = mac2[1]
82889 prefix = substr(line, 1, index(line, defundef) - 1)
82890 if (D_is_set[macro]) {
82891 # Preserve the white space surrounding the "#".
82892 print prefix "define", macro P[macro] D[macro]
82893 next
82894 } else {
82895 # Replace #undef with comments. This is necessary, for example,
82896 # in the case of _POSIX_SOURCE, which is predefined and required
82897 # on some systems where configure will not decide to define it.
82898 if (defundef == "undef") {
82899 print "/*", prefix defundef, macro, "*/"
82900 next
82904 { print }
82905 _ACAWK
82906 _ACEOF
82907 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82908 as_fn_error "could not setup config headers machinery" "$LINENO" 5
82909 fi # test -n "$CONFIG_HEADERS"
82912 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
82913 shift
82914 for ac_tag
82916 case $ac_tag in
82917 :[FHLC]) ac_mode=$ac_tag; continue;;
82918 esac
82919 case $ac_mode$ac_tag in
82920 :[FHL]*:*);;
82921 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
82922 :[FH]-) ac_tag=-:-;;
82923 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
82924 esac
82925 ac_save_IFS=$IFS
82926 IFS=:
82927 set x $ac_tag
82928 IFS=$ac_save_IFS
82929 shift
82930 ac_file=$1
82931 shift
82933 case $ac_mode in
82934 :L) ac_source=$1;;
82935 :[FH])
82936 ac_file_inputs=
82937 for ac_f
82939 case $ac_f in
82940 -) ac_f="$tmp/stdin";;
82941 *) # Look for the file first in the build tree, then in the source tree
82942 # (if the path is not absolute). The absolute path cannot be DOS-style,
82943 # because $ac_f cannot contain `:'.
82944 test -f "$ac_f" ||
82945 case $ac_f in
82946 [\\/$]*) false;;
82947 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
82948 esac ||
82949 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
82950 esac
82951 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
82952 as_fn_append ac_file_inputs " '$ac_f'"
82953 done
82955 # Let's still pretend it is `configure' which instantiates (i.e., don't
82956 # use $as_me), people would be surprised to read:
82957 # /* config.h. Generated by config.status. */
82958 configure_input='Generated from '`
82959 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
82960 `' by configure.'
82961 if test x"$ac_file" != x-; then
82962 configure_input="$ac_file. $configure_input"
82963 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
82964 $as_echo "$as_me: creating $ac_file" >&6;}
82966 # Neutralize special characters interpreted by sed in replacement strings.
82967 case $configure_input in #(
82968 *\&* | *\|* | *\\* )
82969 ac_sed_conf_input=`$as_echo "$configure_input" |
82970 sed 's/[\\\\&|]/\\\\&/g'`;; #(
82971 *) ac_sed_conf_input=$configure_input;;
82972 esac
82974 case $ac_tag in
82975 *:-:* | *:-) cat >"$tmp/stdin" \
82976 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
82977 esac
82979 esac
82981 ac_dir=`$as_dirname -- "$ac_file" ||
82982 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
82983 X"$ac_file" : 'X\(//\)[^/]' \| \
82984 X"$ac_file" : 'X\(//\)$' \| \
82985 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
82986 $as_echo X"$ac_file" |
82987 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
82988 s//\1/
82991 /^X\(\/\/\)[^/].*/{
82992 s//\1/
82995 /^X\(\/\/\)$/{
82996 s//\1/
82999 /^X\(\/\).*/{
83000 s//\1/
83003 s/.*/./; q'`
83004 as_dir="$ac_dir"; as_fn_mkdir_p
83005 ac_builddir=.
83007 case "$ac_dir" in
83008 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
83010 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
83011 # A ".." for each directory in $ac_dir_suffix.
83012 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
83013 case $ac_top_builddir_sub in
83014 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
83015 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
83016 esac ;;
83017 esac
83018 ac_abs_top_builddir=$ac_pwd
83019 ac_abs_builddir=$ac_pwd$ac_dir_suffix
83020 # for backward compatibility:
83021 ac_top_builddir=$ac_top_build_prefix
83023 case $srcdir in
83024 .) # We are building in place.
83025 ac_srcdir=.
83026 ac_top_srcdir=$ac_top_builddir_sub
83027 ac_abs_top_srcdir=$ac_pwd ;;
83028 [\\/]* | ?:[\\/]* ) # Absolute name.
83029 ac_srcdir=$srcdir$ac_dir_suffix;
83030 ac_top_srcdir=$srcdir
83031 ac_abs_top_srcdir=$srcdir ;;
83032 *) # Relative name.
83033 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
83034 ac_top_srcdir=$ac_top_build_prefix$srcdir
83035 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
83036 esac
83037 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
83040 case $ac_mode in
83043 # CONFIG_FILE
83046 case $INSTALL in
83047 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
83048 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
83049 esac
83050 ac_MKDIR_P=$MKDIR_P
83051 case $MKDIR_P in
83052 [\\/$]* | ?:[\\/]* ) ;;
83053 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
83054 esac
83055 _ACEOF
83057 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83058 # If the template does not know about datarootdir, expand it.
83059 # FIXME: This hack should be removed a few years after 2.60.
83060 ac_datarootdir_hack=; ac_datarootdir_seen=
83061 ac_sed_dataroot='
83062 /datarootdir/ {
83066 /@datadir@/p
83067 /@docdir@/p
83068 /@infodir@/p
83069 /@localedir@/p
83070 /@mandir@/p'
83071 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
83072 *datarootdir*) ac_datarootdir_seen=yes;;
83073 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
83074 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
83075 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
83076 _ACEOF
83077 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
83078 ac_datarootdir_hack='
83079 s&@datadir@&$datadir&g
83080 s&@docdir@&$docdir&g
83081 s&@infodir@&$infodir&g
83082 s&@localedir@&$localedir&g
83083 s&@mandir@&$mandir&g
83084 s&\\\${datarootdir}&$datarootdir&g' ;;
83085 esac
83086 _ACEOF
83088 # Neutralize VPATH when `$srcdir' = `.'.
83089 # Shell code in configure.ac might set extrasub.
83090 # FIXME: do we really want to maintain this feature?
83091 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
83092 ac_sed_extra="$ac_vpsub
83093 $extrasub
83094 _ACEOF
83095 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83097 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
83098 s|@configure_input@|$ac_sed_conf_input|;t t
83099 s&@top_builddir@&$ac_top_builddir_sub&;t t
83100 s&@top_build_prefix@&$ac_top_build_prefix&;t t
83101 s&@srcdir@&$ac_srcdir&;t t
83102 s&@abs_srcdir@&$ac_abs_srcdir&;t t
83103 s&@top_srcdir@&$ac_top_srcdir&;t t
83104 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
83105 s&@builddir@&$ac_builddir&;t t
83106 s&@abs_builddir@&$ac_abs_builddir&;t t
83107 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
83108 s&@INSTALL@&$ac_INSTALL&;t t
83109 s&@MKDIR_P@&$ac_MKDIR_P&;t t
83110 $ac_datarootdir_hack
83112 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
83113 || as_fn_error "could not create $ac_file" "$LINENO" 5
83115 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
83116 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
83117 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
83118 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
83119 which seems to be undefined. Please make sure it is defined." >&5
83120 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
83121 which seems to be undefined. Please make sure it is defined." >&2;}
83123 rm -f "$tmp/stdin"
83124 case $ac_file in
83125 -) cat "$tmp/out" && rm -f "$tmp/out";;
83126 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
83127 esac \
83128 || as_fn_error "could not create $ac_file" "$LINENO" 5
83132 # CONFIG_HEADER
83134 if test x"$ac_file" != x-; then
83136 $as_echo "/* $configure_input */" \
83137 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
83138 } >"$tmp/config.h" \
83139 || as_fn_error "could not create $ac_file" "$LINENO" 5
83140 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
83141 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
83142 $as_echo "$as_me: $ac_file is unchanged" >&6;}
83143 else
83144 rm -f "$ac_file"
83145 mv "$tmp/config.h" "$ac_file" \
83146 || as_fn_error "could not create $ac_file" "$LINENO" 5
83148 else
83149 $as_echo "/* $configure_input */" \
83150 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
83151 || as_fn_error "could not create -" "$LINENO" 5
83153 # Compute "$ac_file"'s index in $config_headers.
83154 _am_arg="$ac_file"
83155 _am_stamp_count=1
83156 for _am_header in $config_headers :; do
83157 case $_am_header in
83158 $_am_arg | $_am_arg:* )
83159 break ;;
83161 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
83162 esac
83163 done
83164 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
83165 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
83166 X"$_am_arg" : 'X\(//\)[^/]' \| \
83167 X"$_am_arg" : 'X\(//\)$' \| \
83168 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
83169 $as_echo X"$_am_arg" |
83170 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
83171 s//\1/
83174 /^X\(\/\/\)[^/].*/{
83175 s//\1/
83178 /^X\(\/\/\)$/{
83179 s//\1/
83182 /^X\(\/\).*/{
83183 s//\1/
83186 s/.*/./; q'`/stamp-h$_am_stamp_count
83189 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
83190 $as_echo "$as_me: executing $ac_file commands" >&6;}
83192 esac
83195 case $ac_file$ac_mode in
83196 "default-1":C)
83197 # Only add multilib support code if we just rebuilt the top-level
83198 # Makefile.
83199 case " $CONFIG_FILES " in
83200 *" Makefile "*)
83201 ac_file=Makefile . ${multi_basedir}/config-ml.in
83203 esac ;;
83204 "libtool":C)
83206 # See if we are running on zsh, and set the options which allow our
83207 # commands through without removal of \ escapes.
83208 if test -n "${ZSH_VERSION+set}" ; then
83209 setopt NO_GLOB_SUBST
83212 cfgfile="${ofile}T"
83213 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
83214 $RM "$cfgfile"
83216 cat <<_LT_EOF >> "$cfgfile"
83217 #! $SHELL
83219 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
83220 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
83221 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
83222 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
83224 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
83225 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
83226 # Written by Gordon Matzigkeit, 1996
83228 # This file is part of GNU Libtool.
83230 # GNU Libtool is free software; you can redistribute it and/or
83231 # modify it under the terms of the GNU General Public License as
83232 # published by the Free Software Foundation; either version 2 of
83233 # the License, or (at your option) any later version.
83235 # As a special exception to the GNU General Public License,
83236 # if you distribute this file as part of a program or library that
83237 # is built using GNU Libtool, you may include this file under the
83238 # same distribution terms that you use for the rest of that program.
83240 # GNU Libtool is distributed in the hope that it will be useful,
83241 # but WITHOUT ANY WARRANTY; without even the implied warranty of
83242 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
83243 # GNU General Public License for more details.
83245 # You should have received a copy of the GNU General Public License
83246 # along with GNU Libtool; see the file COPYING. If not, a copy
83247 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
83248 # obtained by writing to the Free Software Foundation, Inc.,
83249 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
83252 # The names of the tagged configurations supported by this script.
83253 available_tags="CXX "
83255 # ### BEGIN LIBTOOL CONFIG
83257 # Which release of libtool.m4 was used?
83258 macro_version=$macro_version
83259 macro_revision=$macro_revision
83261 # Whether or not to build shared libraries.
83262 build_libtool_libs=$enable_shared
83264 # Whether or not to build static libraries.
83265 build_old_libs=$enable_static
83267 # What type of objects to build.
83268 pic_mode=$pic_mode
83270 # Whether or not to optimize for fast installation.
83271 fast_install=$enable_fast_install
83273 # Shell to use when invoking shell scripts.
83274 SHELL=$lt_SHELL
83276 # An echo program that protects backslashes.
83277 ECHO=$lt_ECHO
83279 # The host system.
83280 host_alias=$host_alias
83281 host=$host
83282 host_os=$host_os
83284 # The build system.
83285 build_alias=$build_alias
83286 build=$build
83287 build_os=$build_os
83289 # A sed program that does not truncate output.
83290 SED=$lt_SED
83292 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
83293 Xsed="\$SED -e 1s/^X//"
83295 # A grep program that handles long lines.
83296 GREP=$lt_GREP
83298 # An ERE matcher.
83299 EGREP=$lt_EGREP
83301 # A literal string matcher.
83302 FGREP=$lt_FGREP
83304 # A BSD- or MS-compatible name lister.
83305 NM=$lt_NM
83307 # Whether we need soft or hard links.
83308 LN_S=$lt_LN_S
83310 # What is the maximum length of a command?
83311 max_cmd_len=$max_cmd_len
83313 # Object file suffix (normally "o").
83314 objext=$ac_objext
83316 # Executable file suffix (normally "").
83317 exeext=$exeext
83319 # whether the shell understands "unset".
83320 lt_unset=$lt_unset
83322 # turn spaces into newlines.
83323 SP2NL=$lt_lt_SP2NL
83325 # turn newlines into spaces.
83326 NL2SP=$lt_lt_NL2SP
83328 # An object symbol dumper.
83329 OBJDUMP=$lt_OBJDUMP
83331 # Method to check whether dependent libraries are shared objects.
83332 deplibs_check_method=$lt_deplibs_check_method
83334 # Command to use when deplibs_check_method == "file_magic".
83335 file_magic_cmd=$lt_file_magic_cmd
83337 # The archiver.
83338 AR=$lt_AR
83339 AR_FLAGS=$lt_AR_FLAGS
83341 # A symbol stripping program.
83342 STRIP=$lt_STRIP
83344 # Commands used to install an old-style archive.
83345 RANLIB=$lt_RANLIB
83346 old_postinstall_cmds=$lt_old_postinstall_cmds
83347 old_postuninstall_cmds=$lt_old_postuninstall_cmds
83349 # Whether to use a lock for old archive extraction.
83350 lock_old_archive_extraction=$lock_old_archive_extraction
83352 # A C compiler.
83353 LTCC=$lt_CC
83355 # LTCC compiler flags.
83356 LTCFLAGS=$lt_CFLAGS
83358 # Take the output of nm and produce a listing of raw symbols and C names.
83359 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
83361 # Transform the output of nm in a proper C declaration.
83362 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
83364 # Transform the output of nm in a C name address pair.
83365 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
83367 # Transform the output of nm in a C name address pair when lib prefix is needed.
83368 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
83370 # The name of the directory that contains temporary libtool files.
83371 objdir=$objdir
83373 # Used to examine libraries when file_magic_cmd begins with "file".
83374 MAGIC_CMD=$MAGIC_CMD
83376 # Must we lock files when doing compilation?
83377 need_locks=$lt_need_locks
83379 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
83380 DSYMUTIL=$lt_DSYMUTIL
83382 # Tool to change global to local symbols on Mac OS X.
83383 NMEDIT=$lt_NMEDIT
83385 # Tool to manipulate fat objects and archives on Mac OS X.
83386 LIPO=$lt_LIPO
83388 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
83389 OTOOL=$lt_OTOOL
83391 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
83392 OTOOL64=$lt_OTOOL64
83394 # Old archive suffix (normally "a").
83395 libext=$libext
83397 # Shared library suffix (normally ".so").
83398 shrext_cmds=$lt_shrext_cmds
83400 # The commands to extract the exported symbol list from a shared archive.
83401 extract_expsyms_cmds=$lt_extract_expsyms_cmds
83403 # Variables whose values should be saved in libtool wrapper scripts and
83404 # restored at link time.
83405 variables_saved_for_relink=$lt_variables_saved_for_relink
83407 # Do we need the "lib" prefix for modules?
83408 need_lib_prefix=$need_lib_prefix
83410 # Do we need a version for libraries?
83411 need_version=$need_version
83413 # Library versioning type.
83414 version_type=$version_type
83416 # Shared library runtime path variable.
83417 runpath_var=$runpath_var
83419 # Shared library path variable.
83420 shlibpath_var=$shlibpath_var
83422 # Is shlibpath searched before the hard-coded library search path?
83423 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
83425 # Format of library name prefix.
83426 libname_spec=$lt_libname_spec
83428 # List of archive names. First name is the real one, the rest are links.
83429 # The last name is the one that the linker finds with -lNAME
83430 library_names_spec=$lt_library_names_spec
83432 # The coded name of the library, if different from the real name.
83433 soname_spec=$lt_soname_spec
83435 # Permission mode override for installation of shared libraries.
83436 install_override_mode=$lt_install_override_mode
83438 # Command to use after installation of a shared archive.
83439 postinstall_cmds=$lt_postinstall_cmds
83441 # Command to use after uninstallation of a shared archive.
83442 postuninstall_cmds=$lt_postuninstall_cmds
83444 # Commands used to finish a libtool library installation in a directory.
83445 finish_cmds=$lt_finish_cmds
83447 # As "finish_cmds", except a single script fragment to be evaled but
83448 # not shown.
83449 finish_eval=$lt_finish_eval
83451 # Whether we should hardcode library paths into libraries.
83452 hardcode_into_libs=$hardcode_into_libs
83454 # Compile-time system search path for libraries.
83455 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
83457 # Run-time system search path for libraries.
83458 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
83460 # Whether dlopen is supported.
83461 dlopen_support=$enable_dlopen
83463 # Whether dlopen of programs is supported.
83464 dlopen_self=$enable_dlopen_self
83466 # Whether dlopen of statically linked programs is supported.
83467 dlopen_self_static=$enable_dlopen_self_static
83469 # Commands to strip libraries.
83470 old_striplib=$lt_old_striplib
83471 striplib=$lt_striplib
83474 # The linker used to build libraries.
83475 LD=$lt_LD
83477 # How to create reloadable object files.
83478 reload_flag=$lt_reload_flag
83479 reload_cmds=$lt_reload_cmds
83481 # Commands used to build an old-style archive.
83482 old_archive_cmds=$lt_old_archive_cmds
83484 # A language specific compiler.
83485 CC=$lt_compiler
83487 # Is the compiler the GNU compiler?
83488 with_gcc=$GCC
83490 # Compiler flag to turn off builtin functions.
83491 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
83493 # How to pass a linker flag through the compiler.
83494 wl=$lt_lt_prog_compiler_wl
83496 # Additional compiler flags for building library objects.
83497 pic_flag=$lt_lt_prog_compiler_pic
83499 # Compiler flag to prevent dynamic linking.
83500 link_static_flag=$lt_lt_prog_compiler_static
83502 # Does compiler simultaneously support -c and -o options?
83503 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
83505 # Whether or not to add -lc for building shared libraries.
83506 build_libtool_need_lc=$archive_cmds_need_lc
83508 # Whether or not to disallow shared libs when runtime libs are static.
83509 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
83511 # Compiler flag to allow reflexive dlopens.
83512 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
83514 # Compiler flag to generate shared objects directly from archives.
83515 whole_archive_flag_spec=$lt_whole_archive_flag_spec
83517 # Whether the compiler copes with passing no objects directly.
83518 compiler_needs_object=$lt_compiler_needs_object
83520 # Create an old-style archive from a shared archive.
83521 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
83523 # Create a temporary old-style archive to link instead of a shared archive.
83524 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
83526 # Commands used to build a shared archive.
83527 archive_cmds=$lt_archive_cmds
83528 archive_expsym_cmds=$lt_archive_expsym_cmds
83530 # Commands used to build a loadable module if different from building
83531 # a shared archive.
83532 module_cmds=$lt_module_cmds
83533 module_expsym_cmds=$lt_module_expsym_cmds
83535 # Whether we are building with GNU ld or not.
83536 with_gnu_ld=$lt_with_gnu_ld
83538 # Flag that allows shared libraries with undefined symbols to be built.
83539 allow_undefined_flag=$lt_allow_undefined_flag
83541 # Flag that enforces no undefined symbols.
83542 no_undefined_flag=$lt_no_undefined_flag
83544 # Flag to hardcode \$libdir into a binary during linking.
83545 # This must work even if \$libdir does not exist
83546 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
83548 # If ld is used when linking, flag to hardcode \$libdir into a binary
83549 # during linking. This must work even if \$libdir does not exist.
83550 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
83552 # Whether we need a single "-rpath" flag with a separated argument.
83553 hardcode_libdir_separator=$lt_hardcode_libdir_separator
83555 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
83556 # DIR into the resulting binary.
83557 hardcode_direct=$hardcode_direct
83559 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
83560 # DIR into the resulting binary and the resulting library dependency is
83561 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
83562 # library is relocated.
83563 hardcode_direct_absolute=$hardcode_direct_absolute
83565 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
83566 # into the resulting binary.
83567 hardcode_minus_L=$hardcode_minus_L
83569 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
83570 # into the resulting binary.
83571 hardcode_shlibpath_var=$hardcode_shlibpath_var
83573 # Set to "yes" if building a shared library automatically hardcodes DIR
83574 # into the library and all subsequent libraries and executables linked
83575 # against it.
83576 hardcode_automatic=$hardcode_automatic
83578 # Set to yes if linker adds runtime paths of dependent libraries
83579 # to runtime path list.
83580 inherit_rpath=$inherit_rpath
83582 # Whether libtool must link a program against all its dependency libraries.
83583 link_all_deplibs=$link_all_deplibs
83585 # Fix the shell variable \$srcfile for the compiler.
83586 fix_srcfile_path=$lt_fix_srcfile_path
83588 # Set to "yes" if exported symbols are required.
83589 always_export_symbols=$always_export_symbols
83591 # The commands to list exported symbols.
83592 export_symbols_cmds=$lt_export_symbols_cmds
83594 # Symbols that should not be listed in the preloaded symbols.
83595 exclude_expsyms=$lt_exclude_expsyms
83597 # Symbols that must always be exported.
83598 include_expsyms=$lt_include_expsyms
83600 # Commands necessary for linking programs (against libraries) with templates.
83601 prelink_cmds=$lt_prelink_cmds
83603 # Specify filename containing input files.
83604 file_list_spec=$lt_file_list_spec
83606 # How to hardcode a shared library path into an executable.
83607 hardcode_action=$hardcode_action
83609 # The directories searched by this compiler when creating a shared library.
83610 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
83612 # Dependencies to place before and after the objects being linked to
83613 # create a shared library.
83614 predep_objects=$lt_predep_objects
83615 postdep_objects=$lt_postdep_objects
83616 predeps=$lt_predeps
83617 postdeps=$lt_postdeps
83619 # The library search path used internally by the compiler when linking
83620 # a shared library.
83621 compiler_lib_search_path=$lt_compiler_lib_search_path
83623 # ### END LIBTOOL CONFIG
83625 _LT_EOF
83627 case $host_os in
83628 aix3*)
83629 cat <<\_LT_EOF >> "$cfgfile"
83630 # AIX sometimes has problems with the GCC collect2 program. For some
83631 # reason, if we set the COLLECT_NAMES environment variable, the problems
83632 # vanish in a puff of smoke.
83633 if test "X${COLLECT_NAMES+set}" != Xset; then
83634 COLLECT_NAMES=
83635 export COLLECT_NAMES
83637 _LT_EOF
83639 esac
83642 ltmain="$ac_aux_dir/ltmain.sh"
83645 # We use sed instead of cat because bash on DJGPP gets confused if
83646 # if finds mixed CR/LF and LF-only lines. Since sed operates in
83647 # text mode, it properly converts lines to CR/LF. This bash problem
83648 # is reportedly fixed, but why not run on old versions too?
83649 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
83650 || (rm -f "$cfgfile"; exit 1)
83652 case $xsi_shell in
83653 yes)
83654 cat << \_LT_EOF >> "$cfgfile"
83656 # func_dirname file append nondir_replacement
83657 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
83658 # otherwise set result to NONDIR_REPLACEMENT.
83659 func_dirname ()
83661 case ${1} in
83662 */*) func_dirname_result="${1%/*}${2}" ;;
83663 * ) func_dirname_result="${3}" ;;
83664 esac
83667 # func_basename file
83668 func_basename ()
83670 func_basename_result="${1##*/}"
83673 # func_dirname_and_basename file append nondir_replacement
83674 # perform func_basename and func_dirname in a single function
83675 # call:
83676 # dirname: Compute the dirname of FILE. If nonempty,
83677 # add APPEND to the result, otherwise set result
83678 # to NONDIR_REPLACEMENT.
83679 # value returned in "$func_dirname_result"
83680 # basename: Compute filename of FILE.
83681 # value retuned in "$func_basename_result"
83682 # Implementation must be kept synchronized with func_dirname
83683 # and func_basename. For efficiency, we do not delegate to
83684 # those functions but instead duplicate the functionality here.
83685 func_dirname_and_basename ()
83687 case ${1} in
83688 */*) func_dirname_result="${1%/*}${2}" ;;
83689 * ) func_dirname_result="${3}" ;;
83690 esac
83691 func_basename_result="${1##*/}"
83694 # func_stripname prefix suffix name
83695 # strip PREFIX and SUFFIX off of NAME.
83696 # PREFIX and SUFFIX must not contain globbing or regex special
83697 # characters, hashes, percent signs, but SUFFIX may contain a leading
83698 # dot (in which case that matches only a dot).
83699 func_stripname ()
83701 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
83702 # positional parameters, so assign one to ordinary parameter first.
83703 func_stripname_result=${3}
83704 func_stripname_result=${func_stripname_result#"${1}"}
83705 func_stripname_result=${func_stripname_result%"${2}"}
83708 # func_opt_split
83709 func_opt_split ()
83711 func_opt_split_opt=${1%%=*}
83712 func_opt_split_arg=${1#*=}
83715 # func_lo2o object
83716 func_lo2o ()
83718 case ${1} in
83719 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
83720 *) func_lo2o_result=${1} ;;
83721 esac
83724 # func_xform libobj-or-source
83725 func_xform ()
83727 func_xform_result=${1%.*}.lo
83730 # func_arith arithmetic-term...
83731 func_arith ()
83733 func_arith_result=$(( $* ))
83736 # func_len string
83737 # STRING may not start with a hyphen.
83738 func_len ()
83740 func_len_result=${#1}
83743 _LT_EOF
83745 *) # Bourne compatible functions.
83746 cat << \_LT_EOF >> "$cfgfile"
83748 # func_dirname file append nondir_replacement
83749 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
83750 # otherwise set result to NONDIR_REPLACEMENT.
83751 func_dirname ()
83753 # Extract subdirectory from the argument.
83754 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
83755 if test "X$func_dirname_result" = "X${1}"; then
83756 func_dirname_result="${3}"
83757 else
83758 func_dirname_result="$func_dirname_result${2}"
83762 # func_basename file
83763 func_basename ()
83765 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
83769 # func_stripname prefix suffix name
83770 # strip PREFIX and SUFFIX off of NAME.
83771 # PREFIX and SUFFIX must not contain globbing or regex special
83772 # characters, hashes, percent signs, but SUFFIX may contain a leading
83773 # dot (in which case that matches only a dot).
83774 # func_strip_suffix prefix name
83775 func_stripname ()
83777 case ${2} in
83778 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
83779 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
83780 esac
83783 # sed scripts:
83784 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
83785 my_sed_long_arg='1s/^-[^=]*=//'
83787 # func_opt_split
83788 func_opt_split ()
83790 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
83791 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
83794 # func_lo2o object
83795 func_lo2o ()
83797 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
83800 # func_xform libobj-or-source
83801 func_xform ()
83803 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
83806 # func_arith arithmetic-term...
83807 func_arith ()
83809 func_arith_result=`expr "$@"`
83812 # func_len string
83813 # STRING may not start with a hyphen.
83814 func_len ()
83816 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
83819 _LT_EOF
83820 esac
83822 case $lt_shell_append in
83823 yes)
83824 cat << \_LT_EOF >> "$cfgfile"
83826 # func_append var value
83827 # Append VALUE to the end of shell variable VAR.
83828 func_append ()
83830 eval "$1+=\$2"
83832 _LT_EOF
83835 cat << \_LT_EOF >> "$cfgfile"
83837 # func_append var value
83838 # Append VALUE to the end of shell variable VAR.
83839 func_append ()
83841 eval "$1=\$$1\$2"
83844 _LT_EOF
83846 esac
83849 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
83850 || (rm -f "$cfgfile"; exit 1)
83852 mv -f "$cfgfile" "$ofile" ||
83853 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
83854 chmod +x "$ofile"
83857 cat <<_LT_EOF >> "$ofile"
83859 # ### BEGIN LIBTOOL TAG CONFIG: CXX
83861 # The linker used to build libraries.
83862 LD=$lt_LD_CXX
83864 # How to create reloadable object files.
83865 reload_flag=$lt_reload_flag_CXX
83866 reload_cmds=$lt_reload_cmds_CXX
83868 # Commands used to build an old-style archive.
83869 old_archive_cmds=$lt_old_archive_cmds_CXX
83871 # A language specific compiler.
83872 CC=$lt_compiler_CXX
83874 # Is the compiler the GNU compiler?
83875 with_gcc=$GCC_CXX
83877 # Compiler flag to turn off builtin functions.
83878 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
83880 # How to pass a linker flag through the compiler.
83881 wl=$lt_lt_prog_compiler_wl_CXX
83883 # Additional compiler flags for building library objects.
83884 pic_flag=$lt_lt_prog_compiler_pic_CXX
83886 # Compiler flag to prevent dynamic linking.
83887 link_static_flag=$lt_lt_prog_compiler_static_CXX
83889 # Does compiler simultaneously support -c and -o options?
83890 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
83892 # Whether or not to add -lc for building shared libraries.
83893 build_libtool_need_lc=$archive_cmds_need_lc_CXX
83895 # Whether or not to disallow shared libs when runtime libs are static.
83896 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
83898 # Compiler flag to allow reflexive dlopens.
83899 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
83901 # Compiler flag to generate shared objects directly from archives.
83902 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
83904 # Whether the compiler copes with passing no objects directly.
83905 compiler_needs_object=$lt_compiler_needs_object_CXX
83907 # Create an old-style archive from a shared archive.
83908 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
83910 # Create a temporary old-style archive to link instead of a shared archive.
83911 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
83913 # Commands used to build a shared archive.
83914 archive_cmds=$lt_archive_cmds_CXX
83915 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
83917 # Commands used to build a loadable module if different from building
83918 # a shared archive.
83919 module_cmds=$lt_module_cmds_CXX
83920 module_expsym_cmds=$lt_module_expsym_cmds_CXX
83922 # Whether we are building with GNU ld or not.
83923 with_gnu_ld=$lt_with_gnu_ld_CXX
83925 # Flag that allows shared libraries with undefined symbols to be built.
83926 allow_undefined_flag=$lt_allow_undefined_flag_CXX
83928 # Flag that enforces no undefined symbols.
83929 no_undefined_flag=$lt_no_undefined_flag_CXX
83931 # Flag to hardcode \$libdir into a binary during linking.
83932 # This must work even if \$libdir does not exist
83933 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
83935 # If ld is used when linking, flag to hardcode \$libdir into a binary
83936 # during linking. This must work even if \$libdir does not exist.
83937 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
83939 # Whether we need a single "-rpath" flag with a separated argument.
83940 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
83942 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
83943 # DIR into the resulting binary.
83944 hardcode_direct=$hardcode_direct_CXX
83946 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
83947 # DIR into the resulting binary and the resulting library dependency is
83948 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
83949 # library is relocated.
83950 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
83952 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
83953 # into the resulting binary.
83954 hardcode_minus_L=$hardcode_minus_L_CXX
83956 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
83957 # into the resulting binary.
83958 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
83960 # Set to "yes" if building a shared library automatically hardcodes DIR
83961 # into the library and all subsequent libraries and executables linked
83962 # against it.
83963 hardcode_automatic=$hardcode_automatic_CXX
83965 # Set to yes if linker adds runtime paths of dependent libraries
83966 # to runtime path list.
83967 inherit_rpath=$inherit_rpath_CXX
83969 # Whether libtool must link a program against all its dependency libraries.
83970 link_all_deplibs=$link_all_deplibs_CXX
83972 # Fix the shell variable \$srcfile for the compiler.
83973 fix_srcfile_path=$lt_fix_srcfile_path_CXX
83975 # Set to "yes" if exported symbols are required.
83976 always_export_symbols=$always_export_symbols_CXX
83978 # The commands to list exported symbols.
83979 export_symbols_cmds=$lt_export_symbols_cmds_CXX
83981 # Symbols that should not be listed in the preloaded symbols.
83982 exclude_expsyms=$lt_exclude_expsyms_CXX
83984 # Symbols that must always be exported.
83985 include_expsyms=$lt_include_expsyms_CXX
83987 # Commands necessary for linking programs (against libraries) with templates.
83988 prelink_cmds=$lt_prelink_cmds_CXX
83990 # Specify filename containing input files.
83991 file_list_spec=$lt_file_list_spec_CXX
83993 # How to hardcode a shared library path into an executable.
83994 hardcode_action=$hardcode_action_CXX
83996 # The directories searched by this compiler when creating a shared library.
83997 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
83999 # Dependencies to place before and after the objects being linked to
84000 # create a shared library.
84001 predep_objects=$lt_predep_objects_CXX
84002 postdep_objects=$lt_postdep_objects_CXX
84003 predeps=$lt_predeps_CXX
84004 postdeps=$lt_postdeps_CXX
84006 # The library search path used internally by the compiler when linking
84007 # a shared library.
84008 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
84010 # ### END LIBTOOL TAG CONFIG: CXX
84011 _LT_EOF
84014 "include/gstdint.h":C)
84015 if test "$GCC" = yes; then
84016 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
84017 else
84018 echo "/* generated for $CC */" > tmp-stdint.h
84021 sed 's/^ *//' >> tmp-stdint.h <<EOF
84023 #ifndef GCC_GENERATED_STDINT_H
84024 #define GCC_GENERATED_STDINT_H 1
84026 #include <sys/types.h>
84029 if test "$acx_cv_header_stdint" != stdint.h; then
84030 echo "#include <stddef.h>" >> tmp-stdint.h
84032 if test "$acx_cv_header_stdint" != stddef.h; then
84033 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
84036 sed 's/^ *//' >> tmp-stdint.h <<EOF
84037 /* glibc uses these symbols as guards to prevent redefinitions. */
84038 #ifdef __int8_t_defined
84039 #define _INT8_T
84040 #define _INT16_T
84041 #define _INT32_T
84042 #endif
84043 #ifdef __uint32_t_defined
84044 #define _UINT32_T
84045 #endif
84049 # ----------------- done header, emit basic int types -------------
84050 if test "$acx_cv_header_stdint" = stddef.h; then
84051 sed 's/^ *//' >> tmp-stdint.h <<EOF
84053 #ifndef _UINT8_T
84054 #define _UINT8_T
84055 #ifndef __uint8_t_defined
84056 #define __uint8_t_defined
84057 #ifndef uint8_t
84058 typedef unsigned $acx_cv_type_int8_t uint8_t;
84059 #endif
84060 #endif
84061 #endif
84063 #ifndef _UINT16_T
84064 #define _UINT16_T
84065 #ifndef __uint16_t_defined
84066 #define __uint16_t_defined
84067 #ifndef uint16_t
84068 typedef unsigned $acx_cv_type_int16_t uint16_t;
84069 #endif
84070 #endif
84071 #endif
84073 #ifndef _UINT32_T
84074 #define _UINT32_T
84075 #ifndef __uint32_t_defined
84076 #define __uint32_t_defined
84077 #ifndef uint32_t
84078 typedef unsigned $acx_cv_type_int32_t uint32_t;
84079 #endif
84080 #endif
84081 #endif
84083 #ifndef _INT8_T
84084 #define _INT8_T
84085 #ifndef __int8_t_defined
84086 #define __int8_t_defined
84087 #ifndef int8_t
84088 typedef $acx_cv_type_int8_t int8_t;
84089 #endif
84090 #endif
84091 #endif
84093 #ifndef _INT16_T
84094 #define _INT16_T
84095 #ifndef __int16_t_defined
84096 #define __int16_t_defined
84097 #ifndef int16_t
84098 typedef $acx_cv_type_int16_t int16_t;
84099 #endif
84100 #endif
84101 #endif
84103 #ifndef _INT32_T
84104 #define _INT32_T
84105 #ifndef __int32_t_defined
84106 #define __int32_t_defined
84107 #ifndef int32_t
84108 typedef $acx_cv_type_int32_t int32_t;
84109 #endif
84110 #endif
84111 #endif
84113 elif test "$ac_cv_type_u_int32_t" = yes; then
84114 sed 's/^ *//' >> tmp-stdint.h <<EOF
84116 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
84117 #ifndef _INT8_T
84118 #define _INT8_T
84119 #endif
84120 #ifndef _INT16_T
84121 #define _INT16_T
84122 #endif
84123 #ifndef _INT32_T
84124 #define _INT32_T
84125 #endif
84127 #ifndef _UINT8_T
84128 #define _UINT8_T
84129 #ifndef __uint8_t_defined
84130 #define __uint8_t_defined
84131 #ifndef uint8_t
84132 typedef u_int8_t uint8_t;
84133 #endif
84134 #endif
84135 #endif
84137 #ifndef _UINT16_T
84138 #define _UINT16_T
84139 #ifndef __uint16_t_defined
84140 #define __uint16_t_defined
84141 #ifndef uint16_t
84142 typedef u_int16_t uint16_t;
84143 #endif
84144 #endif
84145 #endif
84147 #ifndef _UINT32_T
84148 #define _UINT32_T
84149 #ifndef __uint32_t_defined
84150 #define __uint32_t_defined
84151 #ifndef uint32_t
84152 typedef u_int32_t uint32_t;
84153 #endif
84154 #endif
84155 #endif
84157 else
84158 sed 's/^ *//' >> tmp-stdint.h <<EOF
84160 /* Some systems have guard macros to prevent redefinitions, define them. */
84161 #ifndef _INT8_T
84162 #define _INT8_T
84163 #endif
84164 #ifndef _INT16_T
84165 #define _INT16_T
84166 #endif
84167 #ifndef _INT32_T
84168 #define _INT32_T
84169 #endif
84170 #ifndef _UINT8_T
84171 #define _UINT8_T
84172 #endif
84173 #ifndef _UINT16_T
84174 #define _UINT16_T
84175 #endif
84176 #ifndef _UINT32_T
84177 #define _UINT32_T
84178 #endif
84182 # ------------- done basic int types, emit int64_t types ------------
84183 if test "$ac_cv_type_uint64_t" = yes; then
84184 sed 's/^ *//' >> tmp-stdint.h <<EOF
84186 /* system headers have good uint64_t and int64_t */
84187 #ifndef _INT64_T
84188 #define _INT64_T
84189 #endif
84190 #ifndef _UINT64_T
84191 #define _UINT64_T
84192 #endif
84194 elif test "$ac_cv_type_u_int64_t" = yes; then
84195 sed 's/^ *//' >> tmp-stdint.h <<EOF
84197 /* system headers have an u_int64_t (and int64_t) */
84198 #ifndef _INT64_T
84199 #define _INT64_T
84200 #endif
84201 #ifndef _UINT64_T
84202 #define _UINT64_T
84203 #ifndef __uint64_t_defined
84204 #define __uint64_t_defined
84205 #ifndef uint64_t
84206 typedef u_int64_t uint64_t;
84207 #endif
84208 #endif
84209 #endif
84211 elif test -n "$acx_cv_type_int64_t"; then
84212 sed 's/^ *//' >> tmp-stdint.h <<EOF
84214 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
84215 #ifndef _INT64_T
84216 #define _INT64_T
84217 #ifndef int64_t
84218 typedef $acx_cv_type_int64_t int64_t;
84219 #endif
84220 #endif
84221 #ifndef _UINT64_T
84222 #define _UINT64_T
84223 #ifndef __uint64_t_defined
84224 #define __uint64_t_defined
84225 #ifndef uint64_t
84226 typedef unsigned $acx_cv_type_int64_t uint64_t;
84227 #endif
84228 #endif
84229 #endif
84231 else
84232 sed 's/^ *//' >> tmp-stdint.h <<EOF
84234 /* some common heuristics for int64_t, using compiler-specific tests */
84235 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
84236 #ifndef _INT64_T
84237 #define _INT64_T
84238 #ifndef __int64_t_defined
84239 #ifndef int64_t
84240 typedef long long int64_t;
84241 #endif
84242 #endif
84243 #endif
84244 #ifndef _UINT64_T
84245 #define _UINT64_T
84246 #ifndef uint64_t
84247 typedef unsigned long long uint64_t;
84248 #endif
84249 #endif
84251 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
84252 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
84253 does not implement __extension__. But that compiler doesn't define
84254 __GNUC_MINOR__. */
84255 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
84256 # define __extension__
84257 # endif
84259 # ifndef _INT64_T
84260 # define _INT64_T
84261 # ifndef int64_t
84262 __extension__ typedef long long int64_t;
84263 # endif
84264 # endif
84265 # ifndef _UINT64_T
84266 # define _UINT64_T
84267 # ifndef uint64_t
84268 __extension__ typedef unsigned long long uint64_t;
84269 # endif
84270 # endif
84272 #elif !defined __STRICT_ANSI__
84273 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
84275 # ifndef _INT64_T
84276 # define _INT64_T
84277 # ifndef int64_t
84278 typedef __int64 int64_t;
84279 # endif
84280 # endif
84281 # ifndef _UINT64_T
84282 # define _UINT64_T
84283 # ifndef uint64_t
84284 typedef unsigned __int64 uint64_t;
84285 # endif
84286 # endif
84287 # endif /* compiler */
84289 #endif /* ANSI version */
84293 # ------------- done int64_t types, emit intptr types ------------
84294 if test "$ac_cv_type_uintptr_t" != yes; then
84295 sed 's/^ *//' >> tmp-stdint.h <<EOF
84297 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
84298 #ifndef __uintptr_t_defined
84299 #ifndef uintptr_t
84300 typedef u$acx_cv_type_intptr_t uintptr_t;
84301 #endif
84302 #endif
84303 #ifndef __intptr_t_defined
84304 #ifndef intptr_t
84305 typedef $acx_cv_type_intptr_t intptr_t;
84306 #endif
84307 #endif
84311 # ------------- done intptr types, emit int_least types ------------
84312 if test "$ac_cv_type_int_least32_t" != yes; then
84313 sed 's/^ *//' >> tmp-stdint.h <<EOF
84315 /* Define int_least types */
84316 typedef int8_t int_least8_t;
84317 typedef int16_t int_least16_t;
84318 typedef int32_t int_least32_t;
84319 #ifdef _INT64_T
84320 typedef int64_t int_least64_t;
84321 #endif
84323 typedef uint8_t uint_least8_t;
84324 typedef uint16_t uint_least16_t;
84325 typedef uint32_t uint_least32_t;
84326 #ifdef _UINT64_T
84327 typedef uint64_t uint_least64_t;
84328 #endif
84332 # ------------- done intptr types, emit int_fast types ------------
84333 if test "$ac_cv_type_int_fast32_t" != yes; then
84334 sed 's/^ *//' >> tmp-stdint.h <<EOF
84336 /* Define int_fast types. short is often slow */
84337 typedef int8_t int_fast8_t;
84338 typedef int int_fast16_t;
84339 typedef int32_t int_fast32_t;
84340 #ifdef _INT64_T
84341 typedef int64_t int_fast64_t;
84342 #endif
84344 typedef uint8_t uint_fast8_t;
84345 typedef unsigned int uint_fast16_t;
84346 typedef uint32_t uint_fast32_t;
84347 #ifdef _UINT64_T
84348 typedef uint64_t uint_fast64_t;
84349 #endif
84353 if test "$ac_cv_type_uintmax_t" != yes; then
84354 sed 's/^ *//' >> tmp-stdint.h <<EOF
84356 /* Define intmax based on what we found */
84357 #ifndef intmax_t
84358 #ifdef _INT64_T
84359 typedef int64_t intmax_t;
84360 #else
84361 typedef long intmax_t;
84362 #endif
84363 #endif
84364 #ifndef uintmax_t
84365 #ifdef _UINT64_T
84366 typedef uint64_t uintmax_t;
84367 #else
84368 typedef unsigned long uintmax_t;
84369 #endif
84370 #endif
84374 sed 's/^ *//' >> tmp-stdint.h <<EOF
84376 #endif /* GCC_GENERATED_STDINT_H */
84379 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
84380 rm -f tmp-stdint.h
84381 else
84382 mv -f tmp-stdint.h include/gstdint.h
84386 "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
84387 "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
84388 "include/Makefile":F) cat > vpsed$$ << \_EOF
84389 s!`test -f '$<' || echo '$(srcdir)/'`!!
84390 _EOF
84391 sed -f vpsed$$ $ac_file > tmp$$
84392 mv tmp$$ $ac_file
84393 rm vpsed$$
84394 echo 'MULTISUBDIR =' >> $ac_file
84395 ml_norecursion=yes
84396 . ${multi_basedir}/config-ml.in
84397 { ml_norecursion=; unset ml_norecursion;}
84399 "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
84400 s!`test -f '$<' || echo '$(srcdir)/'`!!
84401 _EOF
84402 sed -f vpsed$$ $ac_file > tmp$$
84403 mv tmp$$ $ac_file
84404 rm vpsed$$
84405 echo 'MULTISUBDIR =' >> $ac_file
84406 ml_norecursion=yes
84407 . ${multi_basedir}/config-ml.in
84408 { ml_norecursion=; unset ml_norecursion;}
84410 "src/Makefile":F) cat > vpsed$$ << \_EOF
84411 s!`test -f '$<' || echo '$(srcdir)/'`!!
84412 _EOF
84413 sed -f vpsed$$ $ac_file > tmp$$
84414 mv tmp$$ $ac_file
84415 rm vpsed$$
84416 echo 'MULTISUBDIR =' >> $ac_file
84417 ml_norecursion=yes
84418 . ${multi_basedir}/config-ml.in
84419 { ml_norecursion=; unset ml_norecursion;}
84421 "src/c++98/Makefile":F) cat > vpsed$$ << \_EOF
84422 s!`test -f '$<' || echo '$(srcdir)/'`!!
84423 _EOF
84424 sed -f vpsed$$ $ac_file > tmp$$
84425 mv tmp$$ $ac_file
84426 rm vpsed$$
84427 echo 'MULTISUBDIR =' >> $ac_file
84428 ml_norecursion=yes
84429 . ${multi_basedir}/config-ml.in
84430 { ml_norecursion=; unset ml_norecursion;}
84432 "src/c++11/Makefile":F) cat > vpsed$$ << \_EOF
84433 s!`test -f '$<' || echo '$(srcdir)/'`!!
84434 _EOF
84435 sed -f vpsed$$ $ac_file > tmp$$
84436 mv tmp$$ $ac_file
84437 rm vpsed$$
84438 echo 'MULTISUBDIR =' >> $ac_file
84439 ml_norecursion=yes
84440 . ${multi_basedir}/config-ml.in
84441 { ml_norecursion=; unset ml_norecursion;}
84443 "src/filesystem/Makefile":F) cat > vpsed$$ << \_EOF
84444 s!`test -f '$<' || echo '$(srcdir)/'`!!
84445 _EOF
84446 sed -f vpsed$$ $ac_file > tmp$$
84447 mv tmp$$ $ac_file
84448 rm vpsed$$
84449 echo 'MULTISUBDIR =' >> $ac_file
84450 ml_norecursion=yes
84451 . ${multi_basedir}/config-ml.in
84452 { ml_norecursion=; unset ml_norecursion;}
84454 "doc/Makefile":F) cat > vpsed$$ << \_EOF
84455 s!`test -f '$<' || echo '$(srcdir)/'`!!
84456 _EOF
84457 sed -f vpsed$$ $ac_file > tmp$$
84458 mv tmp$$ $ac_file
84459 rm vpsed$$
84460 echo 'MULTISUBDIR =' >> $ac_file
84461 ml_norecursion=yes
84462 . ${multi_basedir}/config-ml.in
84463 { ml_norecursion=; unset ml_norecursion;}
84465 "po/Makefile":F) cat > vpsed$$ << \_EOF
84466 s!`test -f '$<' || echo '$(srcdir)/'`!!
84467 _EOF
84468 sed -f vpsed$$ $ac_file > tmp$$
84469 mv tmp$$ $ac_file
84470 rm vpsed$$
84471 echo 'MULTISUBDIR =' >> $ac_file
84472 ml_norecursion=yes
84473 . ${multi_basedir}/config-ml.in
84474 { ml_norecursion=; unset ml_norecursion;}
84476 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
84477 s!`test -f '$<' || echo '$(srcdir)/'`!!
84478 _EOF
84479 sed -f vpsed$$ $ac_file > tmp$$
84480 mv tmp$$ $ac_file
84481 rm vpsed$$
84482 echo 'MULTISUBDIR =' >> $ac_file
84483 ml_norecursion=yes
84484 . ${multi_basedir}/config-ml.in
84485 { ml_norecursion=; unset ml_norecursion;}
84487 "python/Makefile":F) cat > vpsed$$ << \_EOF
84488 s!`test -f '$<' || echo '$(srcdir)/'`!!
84489 _EOF
84490 sed -f vpsed$$ $ac_file > tmp$$
84491 mv tmp$$ $ac_file
84492 rm vpsed$$
84493 echo 'MULTISUBDIR =' >> $ac_file
84494 ml_norecursion=yes
84495 . ${multi_basedir}/config-ml.in
84496 { ml_norecursion=; unset ml_norecursion;}
84498 "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
84500 esac
84501 done # for ac_tag
84504 as_fn_exit 0
84505 _ACEOF
84506 ac_clean_files=$ac_clean_files_save
84508 test $ac_write_fail = 0 ||
84509 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
84512 # configure is writing to config.log, and then calls config.status.
84513 # config.status does its own redirection, appending to config.log.
84514 # Unfortunately, on DOS this fails, as config.log is still kept open
84515 # by configure, so config.status won't be able to write to it; its
84516 # output is simply discarded. So we exec the FD to /dev/null,
84517 # effectively closing config.log, so it can be properly (re)opened and
84518 # appended to by config.status. When coming back to configure, we
84519 # need to make the FD available again.
84520 if test "$no_create" != yes; then
84521 ac_cs_success=:
84522 ac_config_status_args=
84523 test "$silent" = yes &&
84524 ac_config_status_args="$ac_config_status_args --quiet"
84525 exec 5>/dev/null
84526 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
84527 exec 5>>config.log
84528 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
84529 # would make configure fail if this is the last instruction.
84530 $ac_cs_success || as_fn_exit $?
84532 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
84533 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
84534 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}